:root {
  color-scheme: dark;
  font-family:
    Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
  --bg: #080909;
  --bg-soft: #0d0e0e;
  --panel: #131312;
  --panel-2: #191917;
  --panel-3: #22211e;
  --line: #302e29;
  --line-soft: #24221e;
  --text: #f5f1e9;
  --muted: #aaa49a;
  --muted-2: #777269;
  --purple: #ef682b;
  --purple-dark: #9e3e17;
  --purple-soft: #ffd0a4;
  --cyan: #35d8e6;
  --green: #61d995;
  --amber: #efb95b;
  --red: #f36e82;
  --blue: #70a8f5;
  --radius: 16px;
  --radius-small: 10px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

a {
  color: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #0d0d10;
  color: var(--text);
  padding: 12px 13px;
  outline: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(239, 104, 43, 0.14);
}

input:disabled {
  color: var(--muted);
  background: #141419;
}

textarea {
  resize: vertical;
}

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #c7c2ca;
  font-size: 13px;
  font-weight: 600;
}

label small,
.form-stack small,
.form-grid small {
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.45;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
strong,
b {
  letter-spacing: -0.02em;
}

.boot,
.fatal {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  text-align: center;
}

.boot p,
.fatal p {
  color: var(--muted);
}

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

.brand-mark {
  position: relative;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(239, 104, 43, 0.8);
  background:
    linear-gradient(145deg, rgba(239, 104, 43, 0.25), transparent 54%),
    #111210;
  clip-path: polygon(18% 0, 82% 0, 100% 22%, 86% 86%, 50% 100%, 14% 86%, 0 22%);
  color: #fff8ec;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(239, 104, 43, 0.16));
}

.brand-mark i {
  position: absolute;
  right: 4px;
  top: 3px;
  color: var(--cyan);
  font-family: Inter, sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.brand-name {
  color: white;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.brand-name b {
  color: var(--purple);
  font-weight: 900;
}

.eyebrow {
  display: inline-block;
  color: #e5a36e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.primary,
.secondary,
.ghost,
.small-button,
.danger-button,
.text-button,
.icon-button {
  border: 0;
  color: var(--text);
  transition:
    transform 120ms ease,
    background 120ms ease,
    border-color 120ms ease;
}

.primary:active,
.secondary:active,
.ghost:active,
.small-button:active,
.danger-button:active {
  transform: translateY(1px);
}

.primary {
  border-radius: var(--radius-small);
  background: var(--purple);
  padding: 12px 17px;
  color: #fff;
  font-weight: 750;
}

.primary:hover {
  background: #bb59e7;
}

.secondary {
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--panel-2);
  padding: 11px 16px;
  font-weight: 650;
}

.secondary:hover {
  border-color: #4c4853;
  background: var(--panel-3);
}

.ghost {
  border: 1px solid #464149;
  border-radius: 999px;
  background: transparent;
  padding: 9px 17px;
}

.small-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #212027;
  padding: 8px 10px;
  color: #eeeaf0;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.small-button:hover {
  border-color: #56515d;
}

.danger-button {
  border: 1px solid rgba(243, 110, 130, 0.35);
  border-radius: var(--radius-small);
  background: rgba(243, 110, 130, 0.11);
  padding: 11px 15px;
  color: #ff9aaa;
  font-weight: 700;
}

.text-button {
  background: none;
  padding: 6px 0;
  color: var(--purple-soft);
  font-weight: 650;
}

.icon-button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
}

.icon-button:hover {
  background: var(--panel-3);
  color: white;
}

.wide {
  width: 100%;
  text-align: center;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-grid .full,
.full {
  grid-column: 1 / -1;
}

.compact-grid {
  gap: 11px;
}

.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 450;
  line-height: 1.45;
}

.check input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--purple);
}

.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.setup-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
  align-items: stretch;
}

.setup-intro {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  padding: 8vw;
  background:
    linear-gradient(120deg, rgba(77, 24, 98, 0.23), transparent 48%),
    #0a090c;
}

.setup-intro .brand {
  position: absolute;
  top: 42px;
}

.setup-intro h1 {
  max-width: 750px;
  margin: 13px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.5vw, 82px);
  font-weight: 400;
  line-height: 0.98;
}

.setup-intro > p {
  max-width: 630px;
  color: #aaa4af;
  font-size: 18px;
  line-height: 1.7;
}

.setup-points {
  display: grid;
  max-width: 700px;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.setup-points span {
  padding-top: 14px;
  border-top: 1px solid #38323d;
  color: #c7c1cc;
  font-size: 13px;
  line-height: 1.5;
}

.setup-points i {
  display: block;
  margin-bottom: 12px;
  color: #b663d9;
  font-size: 11px;
  font-style: normal;
}

.auth-card {
  align-self: center;
  width: min(480px, calc(100% - 64px));
  margin: 32px auto;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.auth-card h2 {
  margin: 8px 0;
  font-size: 30px;
}

.auth-card > p {
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.55;
}

.public-page {
  min-height: 100vh;
  background: #09090b;
}

.public-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(7, 8, 8, 0.84);
  backdrop-filter: blur(22px) saturate(1.15);
}

.public-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.public-actions a {
  color: #bcb7c1;
  font-size: 13px;
  text-decoration: none;
}

.public-actions a:hover {
  color: var(--text);
}

.header-login {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 11px 16px;
  color: var(--text);
  font-size: 12px;
}

.header-login span {
  color: var(--purple-soft);
}

.public-hero {
  display: grid;
  min-height: 760px;
  grid-template-columns: 1fr 0.86fr;
  align-items: center;
  gap: 6vw;
  padding: 84px max(7vw, 32px) 96px;
  background:
    linear-gradient(90deg, rgba(8, 9, 9, 0.98) 0%, rgba(8, 9, 9, 0.86) 43%, rgba(8, 9, 9, 0.3) 76%, rgba(8, 9, 9, 0.12) 100%),
    linear-gradient(180deg, rgba(8, 9, 9, 0.08) 70%, #080909 100%),
    url("/tulumbra-plus-hero.webp") center right / cover no-repeat;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.public-hero h1 {
  max-width: 760px;
  margin: 16px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(62px, 7.2vw, 112px);
  font-weight: 400;
  line-height: 0.9;
}

.public-hero p {
  max-width: 620px;
  color: #b6b0ba;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 34px;
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e6e0d8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.hero-secondary span {
  color: var(--purple-soft);
}

.public-pass,
.digital-pass {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 25px;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 3px
    ),
    linear-gradient(
      116deg,
      #575b60 0%,
      #292c30 16%,
      #101214 42%,
      #404449 63%,
      #17191c 82%,
      #666a6e 100%
    );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.44) inset,
    0 -1px 0 rgba(0, 0, 0, 0.65) inset,
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 42px 90px rgba(0, 0, 0, 0.62),
    0 12px 28px rgba(0, 0, 0, 0.5);
}

.public-pass {
  aspect-ratio: 1.586;
  padding: 34px 36px;
  transform: perspective(1100px) rotateY(-3deg) rotateZ(1.2deg) translateY(-4px);
  transform-origin: center;
}

.public-pass::before,
.digital-pass::before {
  position: absolute;
  z-index: 0;
  inset: -75% -35%;
  background: linear-gradient(
    104deg,
    transparent 38%,
    rgba(255, 255, 255, 0.015) 43%,
    rgba(255, 255, 255, 0.22) 49%,
    rgba(175, 224, 237, 0.055) 53%,
    transparent 60%
  );
  content: "";
  transform: rotate(-5deg);
  pointer-events: none;
}

.public-pass::after,
.digital-pass::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(109, 226, 240, 0.08), transparent 24%),
    radial-gradient(circle at 9% 92%, rgba(255, 126, 91, 0.055), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.025));
  content: "";
  pointer-events: none;
}

.public-pass > :not(.pass-frame),
.digital-pass > :not(.pass-frame) {
  position: relative;
  z-index: 2;
}

.pass-frame {
  position: absolute;
  z-index: 1;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 21px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.24) inset,
    0 0 34px rgba(0, 0, 0, 0.13) inset;
  pointer-events: none;
}

.pass-frame::before,
.pass-frame::after {
  position: absolute;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, #69e9f1, #9c91ff 48%, #ff916d);
  content: "";
  opacity: 0.75;
}

.pass-frame::before {
  left: 28px;
  top: -1px;
}

.pass-frame::after {
  right: 28px;
  bottom: -1px;
}

.pass-top,
.pass-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #dfe1e3;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.metal-monogram {
  display: inline-flex;
  align-items: flex-start;
  color: #f5f6f7;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.08em;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.7);
}

.metal-monogram span,
.metal-wordmark span {
  background: linear-gradient(110deg, #79eff4 0%, #a99cf8 48%, #ff9a74 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.metal-monogram.compact {
  font-size: 21px;
}

.metal-edition {
  color: rgba(239, 241, 242, 0.72);
  font-size: 8px;
  letter-spacing: 0.24em;
}

.pass-center {
  display: grid;
  height: calc(100% - 46px);
  place-items: center;
  align-content: center;
}

.pass-center small {
  margin: 9px 0 0;
  padding: 0;
  border: 0;
  color: rgba(235, 237, 238, 0.61);
  font-size: 8px;
  letter-spacing: 0.3em;
}

.pass-center strong {
  color: #f5f6f7;
}

.metal-card-center {
  justify-items: start;
}

.pass-center .metal-wordmark {
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 540;
  letter-spacing: 0.075em;
  line-height: 1;
  text-shadow:
    0 1px 1px rgba(0, 0, 0, 0.82),
    0 -1px 0 rgba(255, 255, 255, 0.11);
}

.pass-bottom {
  color: rgba(237, 239, 240, 0.68);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.22em;
}

.venues-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.venue-sign {
  min-height: 270px;
  padding: 50px max(7vw, 32px);
}

.venue-sign + .venue-sign {
  border-left: 1px solid var(--line);
}

.venue-sign > span {
  color: var(--muted-2);
  font-size: 11px;
}

.venue-sign h2 {
  margin: 33px 0 10px;
  font-family: Georgia, serif;
  font-size: clamp(46px, 6vw, 80px);
  font-weight: 400;
  letter-spacing: 0.12em;
}

.venue-sign p {
  color: var(--muted);
}

.tulum-sign {
  background:
    linear-gradient(110deg, rgba(53, 216, 230, 0.09), transparent 60%),
    linear-gradient(20deg, rgba(239, 104, 43, 0.08), transparent 55%);
}

.epoca-sign {
  background: linear-gradient(110deg, rgba(200, 184, 159, 0.12), transparent 64%);
}

.plans-section,
.events-section {
  padding: 110px max(7vw, 32px);
}

.events-section {
  padding-bottom: 30px;
}

.section-title {
  max-width: 680px;
  margin-bottom: 45px;
}

.section-title h2 {
  margin: 10px 0;
  font-family: Georgia, serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
}

.section-title p {
  color: var(--muted);
  line-height: 1.7;
}

.public-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1060px;
}

.public-plan {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.public-plan h3 {
  margin: 14px 0 8px;
  font-size: 28px;
}

.public-plan p {
  min-height: 50px;
  color: var(--muted);
  line-height: 1.55;
}

.plan-status {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.public-plan > strong {
  display: block;
  margin: 22px 0;
  font-size: 36px;
}

.public-plan > strong small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.public-plan ul,
.benefit-list {
  flex: 1;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.public-plan li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.public-plan li i {
  color: var(--green);
  font-style: normal;
}

.public-plan li span,
.public-plan li small {
  display: block;
}

.public-plan li small {
  margin-top: 3px;
  color: var(--muted-2);
}

.empty-public,
.empty-state {
  padding: 45px;
  border: 1px dashed #39363e;
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.empty-public strong,
.empty-state strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.public-events {
  border-top: 1px solid var(--line);
}

.public-event {
  display: grid;
  grid-template-columns: 105px 1fr 200px;
  align-items: center;
  gap: 30px;
  min-height: 190px;
  padding: 30px 28px;
  border-bottom: 1px solid var(--line);
}

.event-date {
  display: grid;
  width: 78px;
  height: 84px;
  place-items: center;
  align-content: center;
  border: 1px solid #413b45;
  border-radius: 12px;
}

.event-date strong {
  font-family: Georgia, serif;
  font-size: 33px;
  font-weight: 400;
}

.event-date span {
  color: var(--purple-soft);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.event-date.compact {
  width: 62px;
  height: 66px;
}

.event-date.compact strong {
  font-size: 26px;
}

.event-info h3 {
  margin: 7px 0;
  font-size: 25px;
}

.event-info p {
  margin-bottom: 0;
  color: var(--muted);
}

.event-sale {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.event-sale small {
  color: var(--muted);
}

.event-sale > strong {
  font-size: 24px;
}

.public-footer {
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 45px max(7vw, 32px);
  border-top: 1px solid var(--line);
}

.public-footer p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.ticket-event-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.ticket-event-summary div strong,
.ticket-event-summary div small {
  display: block;
}

.ticket-event-summary div small {
  margin-top: 5px;
  color: var(--muted);
}

.ticket-type-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket-type-selector > label {
  display: grid;
  grid-template-columns: 1fr auto 72px;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111114;
}

.ticket-type-selector strong,
.ticket-type-selector small {
  display: block;
}

.ticket-type-selector small {
  margin-top: 4px;
}

.invoice-details {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.invoice-details summary {
  cursor: pointer;
  color: #c7c2ca;
  font-size: 13px;
  font-weight: 650;
}

.invoice-details .form-grid {
  margin-top: 15px;
}

.order-confirmation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 0 28px;
  text-align: center;
}

.order-confirmation .result-icon {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin-bottom: 5px;
  border-radius: 50%;
  background: rgba(97, 217, 149, 0.12);
  color: var(--green);
  font-size: 34px;
}

.order-confirmation h3 {
  margin: 4px 0;
  font-size: 24px;
}

.order-confirmation p {
  color: var(--muted);
}

.order-confirmation > strong {
  font-size: 25px;
}

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

.ticket-wallet article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #131316;
}

.ticket-wallet article > div {
  padding: 8px;
}

.ticket-wallet article span,
.ticket-wallet article strong {
  display: block;
}

.ticket-wallet article img {
  display: block;
  width: 100%;
}

.app-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 255px minmax(0, 1fr);
}

.sidebar-scrim,
.mobile-bottom-nav {
  display: none;
}

.sidebar {
  position: fixed;
  z-index: 10;
  inset: 0 auto 0 0;
  display: flex;
  width: 255px;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #0c0c0f;
}

.sidebar-brand {
  padding: 24px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.group-label {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 12px;
}

.group-label small {
  margin-bottom: 6px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.group-label strong {
  font-size: 14px;
}

.group-label span {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 11px;
}

.group-label span i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(97, 217, 149, 0.7);
}

.side-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  padding: 10px 11px 20px;
}

.side-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 10px 11px;
  color: #97939d;
  font-size: 13px;
  text-align: left;
}

.side-nav button i {
  display: grid;
  width: 21px;
  place-items: center;
  color: #77727e;
  font-size: 16px;
  font-style: normal;
}

.side-nav button i svg,
.mobile-bottom-nav i svg,
.member-quick-actions i svg,
.public-mobile-dock i svg,
.showcase-features i svg,
.ticket-highlight-icon svg,
.expand-pass-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.side-nav button b {
  margin-left: auto;
  color: transparent;
  font-size: 17px;
  font-weight: 400;
}

.side-nav button:hover {
  background: #151519;
  color: #ded9e1;
}

.side-nav button.active {
  background: linear-gradient(90deg, rgba(239, 104, 43, 0.14), rgba(53, 216, 230, 0.025));
  color: #f4eee8;
}

.side-nav button.active i {
  color: #ff8a56;
}

.side-nav button.active b {
  color: #8f8880;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border-top: 1px solid var(--line);
}

.sidebar-user > div {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.sidebar-user strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-user small {
  color: var(--muted-2);
  font-size: 9px;
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #67307d;
  border-radius: 50%;
  background: #25112e;
  color: #e1b5f0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.avatar.large {
  width: 46px;
  height: 46px;
  font-size: 16px;
}

.app-main {
  grid-column: 2;
  min-width: 0;
}

.mobile-header {
  display: none;
}

.view {
  width: min(1520px, 100%);
  margin: 0 auto;
  padding: 40px 4vw 80px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.page-head h1 {
  margin: 7px 0;
  font-size: clamp(31px, 3.5vw, 45px);
  font-weight: 720;
}

.page-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.panel-title,
.builder-head,
.section-inline-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.panel-title {
  margin-bottom: 18px;
}

.panel-title h2,
.builder-head h3,
.section-inline-title h2 {
  margin: 4px 0 0;
}

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

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 17px;
}

.metric-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 150px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.metric-card::after {
  position: absolute;
  width: 70px;
  height: 3px;
  content: "";
  right: 18px;
  top: 18px;
  background: var(--purple);
}

.metric-card.accent-2::after {
  background: var(--green);
}

.metric-card.accent-3::after {
  background: var(--amber);
}

.metric-card > span {
  color: var(--muted);
  font-size: 12px;
}

.metric-card > strong {
  margin: 20px 0 8px;
  font-size: clamp(29px, 3vw, 40px);
}

.metric-card > small {
  margin-top: auto;
  color: var(--muted-2);
}

.dashboard-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.venue-performance {
  display: flex;
  flex-direction: column;
}

.venue-performance article {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 0;
  border-top: 1px solid var(--line-soft);
}

.venue-index {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid #493550;
  border-radius: 10px;
  color: #d795ee;
  font-family: Georgia, serif;
  font-size: 19px;
}

.venue-performance article > div:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.venue-performance span,
.venue-performance small {
  color: var(--muted);
  font-size: 12px;
}

.venue-number {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.venue-number strong {
  font-size: 21px;
}

.activity-list {
  display: flex;
  flex-direction: column;
}

.activity-list article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 61px;
  border-top: 1px solid var(--line-soft);
}

.activity-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(239, 104, 43, 0.12);
}

.activity-list article > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.activity-list strong {
  font-size: 13px;
}

.activity-list small {
  color: var(--muted);
  font-size: 11px;
}

.activity-entity {
  color: var(--muted-2);
  font-size: 10px;
  text-transform: uppercase;
}

.onboarding-panel {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 40px;
  margin-top: 17px;
  padding: 28px;
  border: 1px solid #44304d;
  border-radius: var(--radius);
  background: #161119;
}

.onboarding-panel h2 {
  margin-top: 7px;
}

.onboarding-panel ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onboarding-panel li {
  display: flex;
  gap: 12px;
}

.onboarding-panel li > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #5c3d68;
  border-radius: 50%;
  color: #d992ef;
  font-size: 11px;
}

.onboarding-panel li div {
  display: flex;
  flex-direction: column;
}

.onboarding-panel small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.table-panel {
  padding: 0;
  overflow: hidden;
}

.table-panel > .panel-title {
  padding: 22px 22px 0;
}

.table-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.table-tools > span {
  color: var(--muted);
  font-size: 12px;
}

.search {
  position: relative;
  width: min(420px, 100%);
}

.search span {
  position: absolute;
  z-index: 1;
  left: 12px;
  top: 8px;
  color: var(--muted);
  font-size: 20px;
}

.search input {
  padding-left: 37px;
}

.data-table {
  width: 100%;
}

.table-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.72fr 0.8fr 0.65fr;
  align-items: center;
  gap: 15px;
  min-height: 72px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
}

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

.table-row > div {
  min-width: 0;
}

.table-row strong,
.table-row small,
.table-row span {
  display: block;
}

.table-row strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
}

.table-row small {
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
}

.table-head-row {
  min-height: 44px;
  background: #101013;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.person-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}

.person-cell > div {
  min-width: 0;
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.status-badge {
  display: inline-flex !important;
  width: max-content;
  align-items: center;
  border-radius: 999px;
  background: rgba(159, 155, 166, 0.13);
  padding: 5px 8px;
  color: #beb9c3;
  font-size: 9px !important;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-badge.active,
.status-badge.paid,
.status-badge.published,
.status-badge.ready {
  background: rgba(97, 217, 149, 0.12);
  color: var(--green);
}

.status-badge.pending,
.status-badge.accepted,
.status-badge.preparing,
.status-badge.draft {
  background: rgba(239, 185, 91, 0.12);
  color: var(--amber);
}

.status-badge.cancelled,
.status-badge.disabled,
.status-badge.blocked,
.status-badge.refunded,
.status-badge.expired {
  background: rgba(243, 110, 130, 0.12);
  color: var(--red);
}

.status-badge.archived,
.status-badge.finished,
.status-badge.closed {
  background: rgba(159, 155, 166, 0.1);
  color: var(--muted);
}

.table-empty {
  margin: 22px;
}

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

.plan-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.plan-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-card h2 {
  margin: 23px 0 8px;
  font-size: 26px;
}

.plan-card > p {
  min-height: 44px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.plan-price {
  margin: 13px 0 4px;
  font-size: 31px;
}

.plan-price small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.tax-note {
  color: var(--muted-2);
  font-size: 10px;
}

.plan-venues {
  display: flex;
  gap: 6px;
  margin: 14px 0;
}

.plan-venues span {
  border: 1px solid #3e3942;
  border-radius: 999px;
  padding: 4px 7px;
  color: #bbb5bf;
  font-size: 9px;
}

.benefit-list {
  margin-top: 8px;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
}

.benefit-list li i {
  color: var(--green);
  font-style: normal;
}

.benefit-list li div {
  display: flex;
  flex-direction: column;
}

.benefit-list li strong {
  font-size: 12px;
}

.benefit-list li small {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 10px;
}

.full-panel {
  grid-column: 1 / -1;
}

.selection-summary,
.member-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #101013;
}

.selection-summary {
  justify-content: space-between;
}

.selection-summary strong {
  font-size: 22px;
}

.member-summary > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.member-summary small {
  color: var(--muted);
}

.information-box,
.legal-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px;
  border: 1px solid #3d3441;
  border-radius: 10px;
  background: #17131a;
}

.information-box strong,
.legal-note strong {
  font-size: 12px;
}

.information-box span,
.legal-note p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.danger-info {
  border-color: rgba(243, 110, 130, 0.3);
  background: rgba(243, 110, 130, 0.07);
}

.benefit-builder {
  margin-top: 5px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.benefit-editor {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #101013;
}

.benefit-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.benefit-editor-head strong {
  font-size: 12px;
}

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

.venue-form {
  position: relative;
  overflow: hidden;
}

.venue-form::before {
  position: absolute;
  width: 160px;
  height: 3px;
  content: "";
  left: 0;
  top: 0;
  background: #50845e;
}

.venue-theme-2::before {
  background: #a44c9c;
}

.venue-form-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.venue-form-title > .status-badge {
  margin-left: auto;
}

.venue-form-title h2 {
  margin: 3px 0 0;
}

.venue-monogram {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #435348;
  border-radius: 11px;
  font-family: Georgia, serif;
  font-size: 20px;
}

.venue-form > button {
  margin-top: 18px;
}

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

.product-admin-card {
  display: grid;
  grid-template-columns: 45px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
}

.product-admin-card.unavailable {
  opacity: 0.58;
}

.product-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid #4b3654;
  border-radius: 11px;
  color: #d47bf4;
  font-size: 20px;
}

.product-details {
  min-width: 0;
}

.product-details h3 {
  margin: 5px 0;
  font-size: 16px;
}

.product-details p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-price {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 3px;
}

.product-price strong {
  font-size: 18px;
}

.product-price small {
  color: var(--muted);
  font-size: 9px;
}

.product-admin-card > button {
  grid-column: 3;
}

.operative-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
}

.scanner-panel > label {
  margin-bottom: 14px;
}

.secure-label {
  border: 1px solid #35493c;
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
}

.camera-box {
  position: relative;
  overflow: hidden;
  display: grid;
  aspect-ratio: 1.35;
  place-items: center;
  border: 1px dashed #504655;
  border-radius: 13px;
  background: #09090b;
}

.camera-box video {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-box.camera-active video {
  display: block;
}

.camera-box.camera-active .camera-placeholder {
  display: none;
}

.camera-placeholder {
  max-width: 260px;
  color: var(--muted);
  text-align: center;
}

.camera-placeholder i {
  display: block;
  margin-bottom: 10px;
  color: #c267e6;
  font-size: 62px;
  font-style: normal;
}

.camera-placeholder strong {
  display: block;
  color: white;
}

.camera-placeholder p {
  margin: 7px 0 0;
  font-size: 11px;
  line-height: 1.5;
}

.scan-frame {
  position: absolute;
  z-index: 2;
  inset: 17%;
  pointer-events: none;
}

.scan-frame span {
  position: absolute;
  width: 35px;
  height: 35px;
  border-color: #dc86f8;
}

.scan-frame span:nth-child(1) {
  left: 0;
  top: 0;
  border-left: 2px solid;
  border-top: 2px solid;
}

.scan-frame span:nth-child(2) {
  right: 0;
  top: 0;
  border-right: 2px solid;
  border-top: 2px solid;
}

.scan-frame span:nth-child(3) {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.scan-frame span:nth-child(4) {
  right: 0;
  bottom: 0;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.scanner-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 12px;
}

.member-lookup {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.member-lookup > span {
  color: var(--muted);
  font-size: 10px;
}

.member-lookup > div {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.access-result {
  min-height: 560px;
}

.result-empty {
  display: grid;
  height: 100%;
  min-height: 400px;
  place-items: center;
  align-content: center;
  color: var(--muted);
  text-align: center;
}

.result-empty i {
  color: #544f58;
  font-size: 74px;
  font-style: normal;
}

.result-empty strong {
  margin-top: 15px;
  color: #d0cad3;
}

.result-empty p {
  font-size: 12px;
}

.access-result.allowed {
  border-color: rgba(97, 217, 149, 0.4);
}

.access-result.denied {
  border-color: rgba(243, 110, 130, 0.4);
}

.access-status {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.access-status .result-icon {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(97, 217, 149, 0.12);
  color: var(--green);
  font-size: 33px;
}

.denied .access-status .result-icon {
  background: rgba(243, 110, 130, 0.11);
  color: var(--red);
}

.access-status h2 {
  margin: 3px 0;
  font-size: 25px;
}

.access-status p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.access-member {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #101013;
}

.access-member > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.access-member small,
.access-member > span:last-child {
  color: var(--muted);
  font-size: 10px;
}

.available-benefits {
  margin-top: 22px;
}

.available-benefits article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.available-benefits article > div:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.available-benefits small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.benefit-type {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #4b3455;
  border-radius: 10px;
  color: #cf77ed;
  font-size: 18px;
}

.muted {
  color: var(--muted);
  font-size: 12px;
}

.orders-section,
.ticketing-section {
  margin-top: 28px;
}

.section-inline-title {
  margin-bottom: 14px;
}

.section-inline-title > span {
  color: var(--muted);
  font-size: 11px;
}

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

.order-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.order-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--purple-soft);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.order-meta small {
  color: var(--muted-2);
}

.order-card h3 {
  margin: 13px 0 9px;
  font-size: 16px;
}

.order-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  color: var(--muted);
  font-size: 11px;
}

.order-note {
  margin: 10px 0;
  padding: 8px;
  border-radius: 6px;
  background: #222027;
  color: var(--muted);
  font-size: 10px;
}

.order-total {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.order-status {
  margin-top: 10px;
  padding: 8px;
  font-size: 11px;
}

.order-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(230px, 1fr));
  gap: 11px;
  overflow-x: auto;
}

.order-board.history {
  grid-template-columns: repeat(6, minmax(220px, 1fr));
}

.order-column {
  min-width: 0;
}

.order-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  padding: 0 3px;
}

.order-column-head strong {
  font-size: 12px;
}

.order-column-head span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--panel-3);
  color: var(--muted);
  font-size: 9px;
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.column-empty {
  padding: 30px 15px;
  border: 1px dashed var(--line);
  border-radius: 11px;
  color: var(--muted-2);
  font-size: 11px;
  text-align: center;
}

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

.ticketing-metrics article {
  display: flex;
  min-height: 110px;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.ticketing-metrics span {
  color: var(--muted);
  font-size: 11px;
}

.ticketing-metrics strong {
  font-size: 27px;
}

.admin-events {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 28px;
}

.admin-event-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
}

.admin-event-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.admin-event-main h3 {
  margin: 5px 0;
  font-size: 18px;
}

.admin-event-main p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
}

.ticket-type-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.ticket-type-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #101013;
}

.ticket-type-stats span,
.ticket-type-stats small {
  color: var(--muted);
  font-size: 9px;
}

.ticket-type-stats strong {
  font-size: 16px;
}

.admin-event-card > select {
  grid-column: 1 / -1;
  padding: 8px;
  font-size: 11px;
}

.ticket-orders-table .table-row {
  grid-template-columns: 1.15fr 1.2fr 0.5fr 0.65fr 0.65fr 0.8fr;
}

.invoices-table .table-row {
  grid-template-columns: 0.85fr 0.8fr 0.85fr 0.65fr 0.65fr 0.72fr 0.65fr;
}

.invoice-metrics .small-metric {
  max-width: 170px;
  color: var(--amber);
  font-size: 15px;
  line-height: 1.25;
}

.compliance-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(239, 185, 91, 0.3);
  border-radius: 12px;
  background: rgba(239, 185, 91, 0.06);
}

.compliance-note strong {
  font-size: 13px;
}

.compliance-note p {
  max-width: 950px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.compliance-note > span {
  border: 1px solid rgba(239, 185, 91, 0.35);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--amber);
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.team-table .table-row {
  grid-template-columns: 1.3fr 0.9fr 0.8fr 0.65fr 0.6fr;
}

.settings-form {
  max-width: 850px;
}

.account-grid {
  align-items: start;
}

.full-span {
  grid-column: 1 / -1;
}

.membership-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.membership-settings h2 {
  margin: 6px 0;
}

.membership-settings p {
  margin: 0;
  color: var(--muted);
}

.member-documents {
  display: flex;
  flex-direction: column;
}

.member-documents article {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.member-documents article > div {
  display: flex;
  flex-direction: column;
}

.member-documents small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.member-page {
  max-width: 1280px;
  margin: auto;
}

.member-welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 27px;
}

.member-welcome h1 {
  margin: 7px 0;
  font-family: Georgia, serif;
  font-size: clamp(40px, 5vw, 63px);
  font-weight: 400;
}

.member-welcome p {
  max-width: 680px;
  color: var(--muted);
}

.member-main-grid {
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  gap: 24px;
}

.digital-pass {
  min-height: 450px;
  padding: 30px;
}

.digital-pass.inactive {
  filter: grayscale(0.7);
  opacity: 0.75;
}

.digital-pass-body {
  display: grid;
  min-height: 345px;
  grid-template-columns: 1fr 190px;
  align-items: center;
  gap: 30px;
}

.digital-pass-body h2 {
  margin: 8px 0;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 34px;
  font-weight: 540;
  letter-spacing: -0.04em;
}

.digital-pass-body p {
  color: rgba(236, 238, 239, 0.66);
}

.digital-pass-body > div:first-child > strong {
  display: inline-block;
  margin-top: 25px;
  color: #dfe2e4;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.qr-live {
  position: relative;
  z-index: 1;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.32),
    0 15px 32px rgba(0, 0, 0, 0.35);
}

.qr-live img {
  display: block;
  width: 100%;
}

.qr-loading,
.qr-locked {
  color: #333;
  font-size: 11px;
  text-align: center;
}

.qr-locked {
  font-size: 50px;
}

.member-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0 12px;
}

.member-section-title h2 {
  margin: 4px 0 0;
  font-size: 22px;
}

.member-section-title > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--panel-3);
  color: var(--muted);
  font-size: 11px;
}

.member-benefits {
  display: flex;
  flex-direction: column;
}

.member-benefits > article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line-soft);
}

.member-benefits > article > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.member-benefits p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 11px;
}

.member-benefits small {
  color: var(--muted-2);
  font-size: 10px;
}

.benefit-value {
  color: var(--purple-soft);
  font-weight: 750;
}

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

.member-venues article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.member-venues article > span {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.member-venues h3 {
  margin: 40px 0 8px;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.member-venues p,
.member-venues small {
  color: #aaa4ae;
  font-size: 11px;
}

.tulum-card {
  background: linear-gradient(150deg, rgba(40, 93, 52, 0.28), transparent 65%);
}

.epoca-card {
  background: linear-gradient(150deg, rgba(111, 42, 112, 0.27), transparent 65%);
}

.member-orders-panel,
.member-order-history {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.member-orders-panel .member-section-title,
.member-order-history .member-section-title {
  margin-top: 0;
}

.member-products {
  margin: 13px 0;
}

.member-products article {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.member-products article > div:first-child {
  display: flex;
  flex-direction: column;
}

.member-products article > div:first-child > span {
  color: var(--purple-soft);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.member-products article small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.product-order {
  display: flex;
  align-items: center;
  gap: 9px;
}

.product-order input {
  width: 58px;
  padding: 8px;
}

.member-orders-panel > label {
  margin: 12px 0;
}

.member-order-history > article {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}

.member-order-history > article > div {
  display: flex;
  flex-direction: column;
}

.member-order-history small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  overflow-y: auto;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.modal {
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid #343039;
  border-radius: 18px;
  background: #121215;
  box-shadow: var(--shadow);
}

.modal.medium {
  width: min(650px, 100%);
}

.modal.large {
  width: min(900px, 100%);
}

.modal-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 18, 21, 0.94);
  backdrop-filter: blur(12px);
}

.modal-head h2 {
  margin: 4px 0 0;
  font-size: 22px;
}

.modal-body {
  padding: 22px;
}

#toast-root {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  display: flex;
  width: min(380px, calc(100vw - 40px));
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 13px 15px;
  border: 1px solid rgba(97, 217, 149, 0.4);
  border-radius: 10px;
  background: #142019;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  color: #b9f1cf;
  font-size: 12px;
}

.toast.error {
  border-color: rgba(243, 110, 130, 0.42);
  background: #241318;
  color: #ffc1ca;
}

.loading {
  display: grid;
  min-height: 60vh;
  place-items: center;
  align-content: center;
  color: var(--muted);
}

.loading span {
  width: 28px;
  height: 28px;
  border: 2px solid #37323b;
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading p {
  margin-top: 12px;
  font-size: 12px;
}

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

.error-state {
  margin: 80px auto;
  max-width: 500px;
  padding: 35px;
  border: 1px solid rgba(243, 110, 130, 0.35);
  border-radius: var(--radius);
  background: rgba(243, 110, 130, 0.06);
  text-align: center;
}

.error-state p {
  color: var(--muted);
}

/* Premium public experience */
.hero-kicker,
.hero-proof,
.product-status,
.plan-card-top,
.venue-sign > div,
.showcase-note,
.member-live-status,
.expanded-pass-status {
  display: flex;
  align-items: center;
}

.hero-kicker {
  gap: 9px;
  color: #d9aa8d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-kicker i,
.product-status i,
.member-live-status i,
.expanded-pass-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(97, 217, 149, 0.7);
}

.hero-proof {
  gap: 0;
  margin-top: 42px;
}

.hero-proof > span {
  display: flex;
  min-width: 112px;
  flex-direction: column;
  gap: 3px;
  padding-right: 25px;
}

.hero-proof > span + span {
  padding-left: 25px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-proof strong {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}

.hero-proof small {
  color: #858077;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-product {
  position: relative;
  width: min(580px, 100%);
  justify-self: end;
}

.hero-product-label {
  display: block;
  margin: 0 0 15px 20px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.product-status {
  position: absolute;
  right: -14px;
  bottom: -27px;
  gap: 8px;
  min-width: 174px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(12, 14, 14, 0.88);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(15px);
}

.product-status span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 750;
}

.product-status small {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 8px;
}

.experience-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0b0c0c;
}

.experience-rail article {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 142px;
  padding: 36px max(3vw, 24px);
}

.experience-rail article + article {
  border-left: 1px solid var(--line);
}

.experience-rail article > span {
  color: var(--purple-soft);
  font-family: Georgia, serif;
  font-size: 20px;
}

.experience-rail article div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.experience-rail strong {
  font-size: 14px;
}

.experience-rail small {
  max-width: 290px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.section-title-row {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.section-title-row > p {
  max-width: 430px;
  margin: 0 0 8px;
}

.public-events {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 0;
}

.public-event {
  position: relative;
  overflow: hidden;
  grid-template-columns: 82px 1fr;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    linear-gradient(125deg, rgba(53, 216, 230, 0.07), transparent 48%),
    #111212;
}

.public-event::after {
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(53, 216, 230, 0.055);
  content: "";
  filter: blur(2px);
}

.public-event.event-theme-2 {
  background:
    linear-gradient(125deg, rgba(239, 104, 43, 0.085), transparent 50%),
    #121110;
}

.public-event.event-theme-2::after {
  background: rgba(239, 104, 43, 0.06);
}

.public-event .event-date,
.public-event .event-info,
.public-event .event-sale {
  position: relative;
  z-index: 1;
}

.event-qr-note {
  display: block;
  margin-top: 15px;
  color: #7e7971;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-event .event-sale {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.public-event .event-sale small {
  align-self: start;
}

.public-event .event-sale > strong {
  grid-column: 1;
}

.public-event .event-sale > button {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.venues-section {
  padding-top: 80px;
}

.venues-section > .section-title {
  padding: 0 max(7vw, 32px);
}

.venues-section .venues-strip {
  border-bottom: 0;
}

.venues-section .venue-sign {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 42px;
  padding-bottom: 42px;
}

.venue-sign > div {
  justify-content: space-between;
}

.venue-sign > div small {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.venue-sign b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #a8a199;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.venue-sign b i {
  color: var(--purple-soft);
  font-size: 17px;
  font-style: normal;
}

.plan-card-top {
  justify-content: space-between;
}

.plan-index {
  color: #625d56;
  font-family: Georgia, serif;
  font-size: 18px;
}

.public-plan.featured {
  border-color: rgba(239, 104, 43, 0.45);
  background:
    radial-gradient(circle at 90% 10%, rgba(239, 104, 43, 0.11), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.02), transparent 50%),
    var(--panel);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.24);
}

.public-plan .plan-copy {
  min-height: 128px;
}

.public-plan.featured .plan-status {
  color: var(--purple-soft);
}

.public-showcase {
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  align-items: center;
  gap: 8vw;
  overflow: hidden;
  padding: 110px max(9vw, 36px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 75% 47%, rgba(53, 216, 230, 0.09), transparent 22%),
    radial-gradient(circle at 72% 58%, rgba(239, 104, 43, 0.08), transparent 35%),
    #0a0b0b;
}

.showcase-copy h2 {
  margin: 15px 0 22px;
  font-family: Georgia, serif;
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 400;
  line-height: 0.96;
}

.showcase-copy > p {
  max-width: 540px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.showcase-features {
  max-width: 560px;
  margin-top: 38px;
}

.showcase-features article {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid var(--line-soft);
}

.showcase-features i {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--purple-soft);
}

.showcase-features article > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.showcase-features small {
  color: var(--muted);
  font-size: 11px;
}

.phone-stage {
  position: relative;
  display: grid;
  min-height: 540px;
  place-items: center;
}

.phone-stage::before {
  position: absolute;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.012), 0 0 0 140px rgba(255, 255, 255, 0.008);
  content: "";
}

.phone-shell {
  position: relative;
  z-index: 1;
  width: 280px;
  min-height: 560px;
  overflow: hidden;
  border: 7px solid #303336;
  border-radius: 42px;
  background: #080909;
  box-shadow: 0 45px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.22);
  transform: rotate(3deg);
}

.phone-top {
  display: flex;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-soft);
}

.phone-top > span {
  width: 48px;
  height: 15px;
  border-radius: 999px;
  background: #020202;
}

.phone-top small {
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.phone-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.phone-screen {
  padding: 31px 18px;
}

.phone-screen h3 {
  margin: 8px 0 24px;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

.mini-pass {
  position: relative;
  display: flex;
  aspect-ratio: 1 / 1.25;
  overflow: hidden;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 22px;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 3px), linear-gradient(130deg,#555b5f,#111315 42%,#3d4144 68%,#17191b);
  box-shadow: 0 22px 45px rgba(0,0,0,.45);
}

.mini-pass > span {
  font-size: 17px;
  font-weight: 750;
}

.mini-pass > span span,
.mini-pass > strong span {
  color: var(--purple-soft);
}

.mini-pass > small {
  position: absolute;
  top: 23px;
  right: 20px;
  font-size: 6px;
  letter-spacing: .18em;
}

.mini-pass > strong {
  margin: auto 0 8px;
  font-size: 22px;
  letter-spacing: .06em;
}

.mini-pass > i {
  color: #c7c9ca;
  font-size: 7px;
  font-style: normal;
  letter-spacing: .18em;
}

.mini-pass > b {
  position: absolute;
  right: 19px;
  bottom: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 30px;
}

.phone-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 12px;
}

.phone-actions span {
  display: flex;
  min-height: 63px;
  flex-direction: column;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  color: var(--muted-2);
  font-size: 7px;
  text-transform: uppercase;
}

.phone-actions b {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 15px;
}

.phone-home {
  width: 75px;
  height: 4px;
  margin: 1px auto 12px;
  border-radius: 999px;
  background: #7d7d7d;
}

.showcase-note {
  position: absolute;
  z-index: 2;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 11px;
  background: rgba(13,14,14,.86);
  box-shadow: 0 18px 40px rgba(0,0,0,.42);
  backdrop-filter: blur(14px);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.showcase-note i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.note-one {
  top: 110px;
  right: 5%;
}

.note-two {
  bottom: 105px;
  left: 3%;
}

.final-cta {
  padding: 120px max(7vw, 32px);
  border-top: 1px solid var(--line);
  background: radial-gradient(circle at 50% 120%, rgba(239,104,43,.13), transparent 38%), #090909;
  text-align: center;
}

.final-cta h2 {
  margin: 15px 0 12px;
  font-family: Georgia, serif;
  font-size: clamp(52px, 7vw, 95px);
  font-weight: 400;
  line-height: 1;
}

.final-cta p {
  margin-bottom: 30px;
  color: var(--muted);
}

.final-cta > div {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.public-footer {
  justify-content: space-between;
  padding-top: 55px;
  padding-bottom: 55px;
}

.public-footer > div:first-child p {
  margin-top: 12px;
  text-align: left;
}

.public-footer > small {
  color: var(--muted-2);
  font-size: 10px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.footer-links a {
  color: var(--muted);
  font-size: 11px;
  text-decoration: none;
}

.public-mobile-dock {
  display: none;
}

/* Premium member experience */
.member-live-status {
  gap: 8px;
  border: 1px solid rgba(97,217,149,.25);
  border-radius: 999px;
  background: rgba(97,217,149,.07);
  padding: 9px 12px;
  color: #83e7aa;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.member-live-status.pending,
.member-live-status.past_due {
  border-color: rgba(239,185,91,.28);
  background: rgba(239,185,91,.07);
  color: var(--amber);
}

.member-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: -5px 0 24px;
}

.member-quick-actions button {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255,255,255,.025), transparent), var(--panel);
  padding: 14px;
  color: var(--text);
  text-align: left;
}

.member-quick-actions button > i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(239,104,43,.2);
  border-radius: 11px;
  background: rgba(239,104,43,.07);
  color: #ef8d64;
}

.member-quick-actions button > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.member-quick-actions strong {
  font-size: 12px;
}

.member-quick-actions small {
  color: var(--muted-2);
  font-size: 9px;
}

.member-ticket-highlight {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid rgba(53,216,230,.18);
  border-radius: 15px;
  background: linear-gradient(115deg, rgba(53,216,230,.07), transparent 45%), var(--panel);
}

.member-ticket-highlight > div h2 {
  margin: 5px 0 16px;
  font-size: 18px;
}

.member-ticket-highlight article {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.ticket-highlight-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 10px;
  background: rgba(53,216,230,.08);
  color: var(--cyan);
}

.member-ticket-highlight article > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.member-ticket-highlight article small {
  color: var(--muted);
  font-size: 9px;
}

.member-anchor-section,
.member-anchor-target {
  scroll-margin-top: 88px;
}

.member-anchor-target {
  height: 1px;
}

.qr-live {
  cursor: zoom-in;
}

.expand-pass-button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 11px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #101111;
  padding: 13px 15px;
  color: #d9d5cf;
  font-size: 11px;
  font-weight: 700;
}

.expand-pass-button svg {
  color: var(--purple-soft);
}

.expand-pass-button b {
  margin-left: auto;
  color: var(--muted);
}

.expanded-member-pass {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.expanded-pass-status {
  gap: 8px;
  margin-bottom: 17px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.expanded-member-pass img {
  width: min(330px, 88vw);
  border: 12px solid white;
  border-radius: 18px;
  background: white;
  box-shadow: 0 22px 50px rgba(0,0,0,.45);
}

.expanded-member-pass > strong {
  margin-top: 20px;
  font-size: 20px;
}

.expanded-member-pass > small {
  margin-top: 5px;
  color: var(--muted);
}

.expanded-member-pass p {
  max-width: 370px;
  margin: 17px 0 2px;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .public-plans,
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .table-row {
    grid-template-columns: 1.3fr 0.9fr 0.65fr 0.75fr 0.7fr;
  }
}

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

  .setup-intro {
    min-height: auto;
    padding: 120px 7vw 70px;
  }

  .setup-intro .brand {
    top: 32px;
  }

  .auth-card {
    margin: 50px auto;
  }

  .public-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  .public-pass {
    width: min(600px, 100%);
    justify-self: center;
  }

  .hero-product {
    width: min(600px, 100%);
    justify-self: center;
  }

  .public-showcase {
    grid-template-columns: 1fr;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    z-index: 30;
    transform: translateX(-100%);
    transition: transform 180ms ease;
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: 30px 0 80px rgba(0, 0, 0, 0.55);
  }

  .app-main {
    grid-column: auto;
  }

  .mobile-header {
    position: sticky;
    z-index: 8;
    top: 0;
    display: flex;
    height: 65px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(9, 9, 11, 0.92);
    backdrop-filter: blur(14px);
  }

  .mobile-header > div {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-header > div > span {
    color: var(--muted-2);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .sidebar-scrim {
    position: fixed;
    z-index: 25;
    inset: 0;
    display: block;
    border: 0;
    background: rgba(0,0,0,.66);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .sidebar-scrim.open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 20;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    overflow: hidden;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: rgba(15,16,16,.9);
    box-shadow: 0 18px 50px rgba(0,0,0,.55);
    backdrop-filter: blur(22px) saturate(1.15);
  }

  .mobile-bottom-nav button {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    padding: 8px 3px 7px;
    color: #7f7b75;
  }

  .mobile-bottom-nav button.active {
    background: linear-gradient(145deg, rgba(239,104,43,.14), rgba(255,255,255,.025));
    color: #f3eee8;
  }

  .mobile-bottom-nav button.active i {
    color: #ff8a56;
  }

  .mobile-bottom-nav i {
    display: grid;
    place-items: center;
  }

  .mobile-bottom-nav i svg {
    width: 18px;
    height: 18px;
  }

  .mobile-bottom-nav span {
    overflow: hidden;
    max-width: 100%;
    font-size: 8px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #toast-root {
    bottom: 92px;
  }

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

  .dashboard-grid,
  .operative-layout,
  .member-main-grid {
    grid-template-columns: 1fr;
  }

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

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

  .data-table {
    overflow-x: auto;
  }

  .table-row {
    min-width: 880px;
  }

  .ticket-orders-table .table-row {
    min-width: 1050px;
  }

  .invoices-table .table-row {
    min-width: 1050px;
  }
}

@media (max-width: 700px) {
  .public-header {
    height: 64px;
    padding: 0 18px;
  }

  .public-actions a {
    display: none;
  }

  .header-login {
    gap: 8px;
    padding: 9px 12px;
    font-size: 10px;
  }

  .public-hero {
    min-height: 0;
    padding: 72px 20px 80px;
    background:
      linear-gradient(180deg, rgba(8,9,9,.78) 0%, rgba(8,9,9,.92) 48%, #080909 100%),
      url("/tulumbra-plus-hero.webp") 68% center / cover no-repeat;
  }

  .public-hero h1 {
    max-width: 355px;
    margin-top: 13px;
    font-size: clamp(48px, 14vw, 61px);
    line-height: .93;
  }

  .public-hero p {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-actions {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
    margin-top: 27px;
  }

  .hero-proof {
    width: 100%;
    justify-content: space-between;
    margin-top: 35px;
  }

  .hero-proof > span {
    min-width: 0;
    flex: 1;
    padding-right: 12px;
  }

  .hero-proof > span + span {
    padding-left: 13px;
  }

  .hero-proof strong {
    font-size: 20px;
  }

  .hero-proof small {
    font-size: 7px;
  }

  .public-pass {
    padding: 21px 22px;
    transform: none;
  }

  .hero-product {
    margin-top: 25px;
  }

  .hero-product-label {
    margin-left: 4px;
  }

  .product-status {
    right: 8px;
    bottom: -34px;
  }

  .experience-rail {
    grid-template-columns: 1fr;
  }

  .experience-rail article {
    min-height: 0;
    padding: 25px 22px;
  }

  .experience-rail article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .venues-strip {
    grid-template-columns: 1fr;
  }

  .venue-sign + .venue-sign {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .venue-sign {
    padding: 40px 24px;
  }

  .venues-section {
    padding-top: 68px;
  }

  .venues-section > .section-title {
    padding: 0 22px;
  }

  .venues-section .venue-sign {
    min-height: 310px;
  }

  .plans-section,
  .events-section {
    padding: 75px 20px;
  }

  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .section-title h2 {
    font-size: 43px;
    line-height: 1;
  }

  .public-events {
    grid-template-columns: 1fr;
  }

  .public-plans {
    grid-template-columns: 1fr;
  }

  .public-event {
    min-height: 0;
    grid-template-columns: 68px 1fr;
    gap: 14px;
    padding: 22px 18px;
  }

  .event-sale {
    grid-column: 1 / -1;
    align-items: stretch;
    padding-left: 0;
  }

  .public-event .event-sale > button {
    padding-right: 12px;
    padding-left: 12px;
  }

  .public-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 44px 22px 120px;
  }

  .public-footer p {
    text-align: left;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .public-showcase {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 78px 22px 90px;
  }

  .showcase-copy h2 {
    font-size: 54px;
  }

  .showcase-copy > p {
    font-size: 14px;
  }

  .phone-stage {
    min-height: 590px;
  }

  .phone-stage::before {
    width: 330px;
    height: 330px;
  }

  .phone-shell {
    transform: scale(.9) rotate(2deg);
  }

  .note-one {
    top: 95px;
    right: 0;
  }

  .note-two {
    bottom: 95px;
    left: 0;
  }

  .final-cta {
    padding: 90px 22px;
  }

  .final-cta h2 {
    font-size: 56px;
  }

  .final-cta > div {
    align-items: stretch;
    flex-direction: column;
  }

  .public-mobile-dock {
    position: fixed;
    z-index: 40;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 6px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: rgba(15,16,16,.9);
    box-shadow: 0 18px 50px rgba(0,0,0,.58);
    backdrop-filter: blur(22px) saturate(1.15);
  }

  .public-mobile-dock a,
  .public-mobile-dock button {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    padding: 8px 4px;
    color: #aaa49b;
    font-size: 8px;
    font-weight: 700;
    text-decoration: none;
  }

  .public-mobile-dock a:first-child {
    background: linear-gradient(145deg, rgba(239,104,43,.17), rgba(255,255,255,.025));
    color: #f6eee7;
  }

  .public-mobile-dock i {
    color: #ff8a56;
  }

  .setup-points,
  .form-grid,
  .content-grid,
  .venue-settings-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .auth-card {
    width: calc(100% - 32px);
    padding: 25px;
  }

  .view {
    padding: 28px 16px 106px;
  }

  .page-head {
    align-items: stretch;
    flex-direction: column;
  }

  .page-head .primary {
    width: 100%;
  }

  .head-actions {
    flex-direction: column;
  }

  .metric-grid,
  .ticketing-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .metric-card {
    min-height: 130px;
  }

  .onboarding-panel {
    grid-template-columns: 1fr;
  }

  .onboarding-panel ol {
    grid-template-columns: 1fr;
  }

  .compact-order-grid {
    grid-template-columns: 1fr;
  }

  .ticket-type-stats {
    grid-template-columns: 1fr 1fr;
  }

  .member-venues {
    grid-template-columns: 1fr;
  }

  .digital-pass {
    min-height: 0;
    padding: 21px;
  }

  .digital-pass-body {
    min-height: 240px;
    grid-template-columns: minmax(0, 1fr) 126px;
    gap: 13px;
    padding: 22px 0;
  }

  .digital-pass-body h2 {
    font-size: 24px;
    line-height: 1.05;
  }

  .digital-pass-body p {
    margin: 8px 0;
    font-size: 11px;
  }

  .digital-pass-body > div:first-child > strong {
    margin-top: 14px;
    font-size: 9px;
  }

  .qr-live {
    width: 126px;
    border-width: 6px;
    border-radius: 13px;
  }

  .member-welcome,
  .membership-settings,
  .compliance-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .member-welcome {
    margin-bottom: 20px;
  }

  .member-welcome h1 {
    font-size: 43px;
    line-height: .98;
  }

  .member-welcome p {
    margin: 5px 0 0;
    font-size: 13px;
    line-height: 1.55;
  }

  .member-quick-actions {
    gap: 7px;
  }

  .member-quick-actions button {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 11px;
  }

  .member-quick-actions button > i {
    width: 33px;
    height: 33px;
  }

  .member-quick-actions small {
    display: none;
  }

  .member-ticket-highlight article {
    grid-template-columns: auto 1fr auto;
  }

  .member-ticket-highlight article > .status-badge {
    display: none;
  }

  .member-ticket-highlight article > button {
    grid-column: 2 / -1;
  }

  .member-section-title {
    scroll-margin-top: 78px;
  }

  .scanner-actions {
    grid-template-columns: 1fr;
  }

  .ticket-wallet {
    grid-template-columns: 1fr;
  }

  .ticket-type-selector > label {
    grid-template-columns: 1fr 72px;
  }

  .ticket-type-selector > label > span {
    grid-column: 1;
  }

  .ticket-type-selector > label > input {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .modal,
  .modal.medium,
  .modal.large {
    width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
  }
}

@media (max-width: 430px) {
  .brand-name {
    font-size: 14px;
  }

  .metric-grid,
  .ticketing-metrics {
    grid-template-columns: 1fr;
  }

  .member-documents article {
    grid-template-columns: 1fr auto;
  }

  .member-documents article a,
  .member-documents article button {
    grid-column: 1 / -1;
  }

  .digital-pass-body {
    grid-template-columns: minmax(0, 1fr) 112px;
  }

  .qr-live {
    width: 112px;
  }

  .pass-bottom {
    font-size: 6px;
    letter-spacing: .12em;
  }
}
