:root {
  --navy: #08111f;
  --navy-2: #0e1a30;
  --navy-3: #16243f;
  --ink: #07101c;
  --gold: #e4b45a;
  --gold-2: #f3d48a;
  --gold-deep: #b8852e;
  --cream: #f7f0e4;
  --cream-dim: rgba(247, 240, 228, 0.72);
  --line: rgba(228, 180, 90, 0.18);
  --glass: rgba(14, 26, 48, 0.72);
  --free: #3ad6a0;
  --free-dim: rgba(58, 214, 160, 0.18);
  --busy: #d25d6c;
  --busy-dim: rgba(210, 93, 108, 0.2);
  --mine: #e4b45a;
  --blocked: #6d7694;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --font: "Outfit", sans-serif;
  --display: "Fraunces", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(228, 180, 90, 0.16), transparent 50%),
    radial-gradient(900px 500px at 110% 10%, rgba(58, 214, 160, 0.08), transparent 45%),
    linear-gradient(180deg, #060c16 0%, var(--navy) 40%, #0a1528 100%);
  letter-spacing: 0.01em;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(228,180,90,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228,180,90,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  z-index: 0;
}

.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 8px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold-2), var(--gold-deep));
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(228, 180, 90, 0.28);
}
.brand__mark svg { width: 26px; height: 26px; }
.brand__name { font-size: 1.05rem; letter-spacing: 0.16em; text-transform: uppercase; }
.brand__name small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  font-weight: 500;
}
.nav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(228, 180, 90, 0.28);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn--danger {
  background: linear-gradient(180deg, #e88994, #c24757);
  color: white;
}
.btn--soft {
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn--sm { padding: 8px 14px; font-size: 0.8rem; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.home-intro {
  padding: 18px 0 4px;
}
.home-intro h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}
.rule-banner--intro {
  max-width: 62ch;
  margin: 0 0 8px;
  font-size: 1.02rem;
}
.wrap--home { min-height: calc(100vh - 40px); }
.page-head h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }

.footer-admin {
  position: fixed;
  right: 16px;
  bottom: 12px;
  z-index: 2;
}
.footer-admin a {
  color: rgba(247, 240, 228, 0.22);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: lowercase;
}
.footer-admin a:hover { color: rgba(247, 240, 228, 0.5); }
.kicker {
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 560; margin: 0; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-2);
  font-weight: 450;
}
.lead {
  color: var(--cream-dim);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 52ch;
  margin: 18px 0 28px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.stat {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  min-width: 0;
}
.stat b { display: block; font-size: 1.25rem; color: var(--gold-2); }
.stat span { color: var(--cream-dim); font-size: 0.8rem; }

.hero-card {
  position: relative;
  border-radius: 36px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(228,180,90,0.12), transparent 40%),
    rgba(10, 18, 34, 0.85);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -50px;
  background: radial-gradient(circle, rgba(228,180,90,0.35), transparent 70%);
}
.mini-bus { transform: scale(0.92); transform-origin: top center; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 18px 0 22px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.muted { color: var(--cream-dim); }

.trip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  padding: 18px 0 80px;
}
.trip {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.trip:hover { transform: translateY(-4px); border-color: rgba(228,180,90,0.4); }
.trip__route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.45rem;
}
.dotline {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
  opacity: 0.55;
  margin: 0 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  align-self: flex-start;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
  background: rgba(228,180,90,0.12);
  color: var(--gold-2);
  border: 1px solid var(--line);
}
.chip--ok { background: var(--free-dim); color: var(--free); }
.chip--warn { background: var(--busy-dim); color: #f0a0a8; }
.trip__meta { color: var(--cream-dim); font-size: 0.92rem; display: grid; gap: 6px; }
.progress {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--free));
}

.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 10px 0 50px;
}
.how article {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.how b { color: var(--gold); display: block; margin-bottom: 8px; letter-spacing: 0.14em; font-size: 0.75rem; }

.page-head {
  padding: 18px 0 8px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  flex-wrap: wrap;
}
.page-head h1 { font-size: clamp(1.8rem, 3vw, 3rem); }

.layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  align-items: start;
  padding-bottom: 80px;
}
.layout > aside {
  position: sticky;
  top: 18px;
}

.panel {
  background: rgba(8, 16, 30, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(16px);
}
.panel h3 { margin-bottom: 8px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 4px; }
.legend span { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--cream-dim); }
.swatch {
  width: 16px; height: 16px; border-radius: 5px; display: inline-block; border: 1px solid rgba(255,255,255,0.15);
}
.swatch.livre { background: var(--free); }
.swatch.ocupada { background: var(--busy); }
.swatch.reservada { background: var(--mine); }
.swatch.bloqueada { background: var(--blocked); }
.swatch.sua { box-shadow: 0 0 0 3px rgba(228,180,90,0.35); background: var(--mine); }

.input-codigo {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.map-mode {
  display: flex;
  gap: 8px;
  margin: 12px 0 8px;
}
.map-mode__btn {
  flex: 1;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--cream);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
  cursor: pointer;
}
.map-mode__btn.is-on {
  background: linear-gradient(180deg, #f3d48a, #e4b45a);
  color: var(--ink);
  border-color: #e4b45a;
}

.form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 0.8rem; color: var(--cream-dim); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--cream);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { min-height: 90px; resize: vertical; }
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--cream);
}
.check input { width: 18px; height: 18px; accent-color: var(--gold); }

.note {
  padding: 14px;
  border-radius: 16px;
  background: rgba(228,180,90,0.08);
  border: 1px solid var(--line);
  color: var(--cream-dim);
  font-size: 0.9rem;
  line-height: 1.55;
}

.rule-banner {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(228,180,90,0.35);
  background: linear-gradient(90deg, rgba(228,180,90,0.16), rgba(255,255,255,0.03));
  line-height: 1.55;
  color: var(--cream);
}
.rule-banner strong { color: var(--gold-2); }
.rule-banner--edit textarea {
  margin-top: 10px;
  min-height: 120px;
  background: rgba(0,0,0,0.28);
  color: var(--cream);
  border: 1px solid rgba(228,180,90,0.35);
  line-height: 1.55;
}
.rule-banner__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  justify-content: space-between;
}
.rule-banner--edit .nav { margin-top: 12px; }

.client-link-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin: -6px 0 22px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px dashed rgba(228,180,90,0.35);
  background: rgba(255,255,255,0.03);
}
.client-link-bar p { margin: 6px 0 10px; }
.client-link-bar code {
  display: block;
  word-break: break-all;
  color: var(--gold-2);
  font-size: 0.82rem;
}

.field-pay { display: grid; gap: 6px; }
.field-label { font-size: 0.8rem; color: var(--cream-dim); }
.pay-picks { display: grid; gap: 8px; }
.pay-pick {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--cream);
  border-radius: 14px;
  padding: 11px 14px;
  text-align: left;
  font-weight: 600;
  box-shadow: inset 4px 0 0 rgba(255,255,255,0.12);
}
.pay-pick--sinal { box-shadow: inset 4px 0 0 #e4b45a; }
.pay-pick--integral { box-shadow: inset 4px 0 0 #3ad6a0; }
.pay-pick--nenhum { box-shadow: inset 4px 0 0 #d25d6c; }
.pay-pick--sinal.is-on {
  background: linear-gradient(180deg, #f3d48a, #e4b45a);
  color: var(--ink);
  border-color: #e4b45a;
  box-shadow: 0 8px 20px rgba(228,180,90,0.28);
}
.pay-pick--integral.is-on {
  background: #3ad6a0;
  color: #062016;
  border-color: #3ad6a0;
  box-shadow: 0 8px 20px rgba(58,214,160,0.28);
}
.pay-pick--nenhum.is-on {
  background: #d25d6c;
  color: #fff;
  border-color: #d25d6c;
  box-shadow: 0 8px 20px rgba(210,93,108,0.28);
}

.trip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.btn--copy {
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  border: 1px solid var(--line);
}
.note--lock { background: var(--busy-dim); border-color: rgba(210,93,108,0.3); }
.note--ok { background: var(--free-dim); border-color: rgba(58,214,160,0.28); }

.ticket {
  border-radius: 22px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(228,180,90,0.16), rgba(255,255,255,0.03));
  border: 1px dashed rgba(228,180,90,0.4);
}
.wa-preview {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 10px 0 14px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.28);
  color: var(--cream);
  font-size: 0.88rem;
  line-height: 1.55;
  font-family: inherit;
}

.list { display: grid; gap: 8px; max-height: 420px; overflow: auto; }
.person {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid transparent;
}
.person:hover { border-color: var(--line); }
.person.is-on { border-color: rgba(228,180,90,0.7); background: rgba(228,180,90,0.08); }
.person small { color: var(--cream-dim); display: block; }

.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--gold); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: min(440px, 100%);
  padding: 32px;
  border-radius: 32px;
  background: rgba(10,18,34,0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hint { font-size: 0.8rem; color: var(--cream-dim); margin-top: 14px; }

.dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
  padding-bottom: 70px;
}
.kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.kpi div {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.kpi b { font-size: 1.5rem; color: var(--gold-2); display: block; }

.dash-top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.dash-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  max-width: 100%;
}
.dash-nav__link {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream-dim);
  white-space: nowrap;
}
.dash-nav__link.is-on {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--ink);
}
.dash-user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-user span { color: var(--cream-dim); font-size: 0.88rem; }

.back-link {
  display: inline-block;
  color: var(--gold-2);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.dash-trips {
  display: grid;
  gap: 12px;
  padding-bottom: 80px;
}
.dash-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  background: rgba(8, 16, 30, 0.75);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 6px;
}
.dash-card__body {
  display: grid;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 18px;
}
.dash-card__body:hover { background: rgba(255,255,255,0.05); }
.dash-card__body a { color: inherit; text-decoration: none; }
.dash-card__body a:hover { color: var(--gold-2); }
.dash-card__meta a {
  color: var(--gold-2);
  font-weight: 600;
}
.dash-card__body strong {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 560;
}
.dash-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 6px;
  color: var(--cream-dim);
  font-size: 0.82rem;
}
.dash-card__del {
  background: transparent;
  border: 0;
  color: #f0a0a8;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
}
.dash-card__del:hover { color: #ffd0d4; }

.dash-fold { margin-bottom: 22px; }
.dash-fold summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--gold-2);
  list-style: none;
}
.dash-fold summary::-webkit-details-marker { display: none; }
.dash-fold summary::after {
  content: " ▾";
  color: var(--cream-dim);
  font-weight: 500;
}
.dash-fold textarea { margin-top: 12px; min-height: 110px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.modal--form {
  width: min(520px, 100%);
  max-height: 90vh;
  overflow: auto;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  background: #122038;
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}
.toast.show { transform: none; opacity: 1; }

.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(4,8,16,0.72);
  display: none;
  place-items: center;
  z-index: 40;
  padding: 20px;
}
.modal-bg.open { display: grid; }
.modal {
  width: min(460px, 100%);
  background: #101b31;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}

.bus-stage {
  overflow: visible;
  padding: 8px 16px 18px;
}
.bus {
  width: min(360px, 100%);
  margin: 0 auto;
  background: linear-gradient(180deg, #1b2c4c 0%, #101b31 12%, #0c1528 100%);
  border: 3px solid rgba(228,180,90,0.4);
  border-radius: 86px 86px 28px 28px;
  padding: 14px 12px 16px;
  box-shadow:
    inset 0 0 0 5px rgba(8,14,26,0.75),
    0 30px 70px rgba(0,0,0,0.4);
  position: relative;
}
.bus::before, .bus::after {
  content: "";
  position: absolute;
  top: 110px;
  width: 8px;
  height: 64px;
  background: linear-gradient(#8ad7ee, #4aa0c2);
  border-radius: 6px;
  box-shadow: 0 84px 0 #4aa0c2, 0 168px 0 #4aa0c2, 0 252px 0 #4aa0c2;
  opacity: 0.8;
}
.bus::before { left: -7px; }
.bus::after { right: -7px; }

.bus-front {
  height: 28px;
  margin: 0 28px 10px;
  border-radius: 0 0 40px 40px;
  background: linear-gradient(#79c7e4, #3e8fb3);
  position: relative;
}
.bus-wheel {
  position: absolute;
  left: 10px;
  top: 8px;
  width: 18px;
  height: 18px;
  border: 3px solid #0c1528;
  border-radius: 50%;
  background: radial-gradient(circle, #e4b45a 30%, transparent 32%);
}

.rows { display: grid; gap: 7px; }
.row {
  display: grid;
  grid-template-columns: 1fr 22px 1fr;
  align-items: center;
}
.row--stairs { min-height: 38px; }
.row--fundo .amenity { justify-self: stretch; }
.aisle {
  display: block;
  height: 100%;
  border-left: 1px dashed rgba(247,240,228,0.12);
  margin: 0 auto;
}

.pair {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(0,0,0,0.22);
  width: fit-content;
  justify-self: center;
}

.seat {
  width: 46px;
  height: 40px;
  border: 0;
  padding: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #2a3348;
  transition: transform .15s ease, filter .15s ease;
}
.seat__code {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
.seat:not(.is-empty):hover { transform: translateY(-2px); }
.seat.livre {
  background: #3ad6a0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.seat.ocupada { background: #d25d6c; cursor: default; }
.seat.reservada { background: #e4b45a; cursor: default; }
.seat.bloqueada { background: #6d7694; cursor: default; }
.seat.sua { outline: 2px solid #fff4d2; box-shadow: 0 0 0 3px rgba(228,180,90,0.35); }
.seat.is-empty {
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  width: 46px;
}
.seat.selectable { cursor: pointer; }
.seat:not(.selectable) { cursor: default; }

.amenity {
  height: 40px;
  min-width: 96px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--gold-2);
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(228,180,90,0.28);
  justify-self: center;
}
.amenity svg { width: 22px; height: 22px; }
.amenity.stairs { min-width: 96px; height: 36px; }
.amenity.wc span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.empty {
  padding: 40px 16px;
  text-align: center;
  color: var(--cream-dim);
}

.footer {
  padding: 18px 0 36px;
  color: var(--cream-dim);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}

.code-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.18em;
  background: rgba(228,180,90,0.12);
  padding: 6px 10px;
  border-radius: 10px;
  color: var(--gold-2);
}

.pass-card {
  width: min(420px, 100%);
  margin: 18px auto 22px;
  text-align: center;
  padding: 22px 18px 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(228,180,90,0.18), rgba(8,16,30,0.9));
  border: 1px solid rgba(228,180,90,0.4);
  box-shadow: var(--shadow);
}
.pass-card__kicker {
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.pass-date {
  margin: 10px auto 14px;
  padding: 12px 14px;
  max-width: 280px;
  border-radius: 16px;
  background: rgba(228,180,90,0.16);
  border: 1px solid rgba(228,180,90,0.5);
}
.pass-date strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.7rem, 6vw, 2.3rem);
  color: var(--gold-2);
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.pass-date span {
  display: block;
  margin-top: 6px;
  color: var(--cream);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
}
.pass-date small {
  display: block;
  margin-top: 4px;
  color: var(--cream-dim);
  font-size: 0.82rem;
}
.pass-seat {
  font-family: var(--display);
  font-size: clamp(3.4rem, 12vw, 5rem);
  color: var(--gold-2);
  line-height: 1;
  margin: 8px 0 4px;
}
.pass-seat--empty { font-size: 2.4rem; opacity: 0.45; }
.pass-seat--multi { font-size: clamp(2.2rem, 8vw, 3.4rem); letter-spacing: 0.02em; }
.pass-code {
  display: inline-block;
  margin: 12px 0 4px;
  padding: 12px 18px;
  border: 1px dashed rgba(228,180,90,0.55);
  border-radius: 14px;
  background: rgba(0,0,0,0.28);
  color: var(--gold-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  user-select: all;
}
.pass-qr {
  display: block;
  width: 200px;
  height: 200px;
  margin: 16px auto 8px;
  background: #fff;
  padding: 10px;
  border-radius: 16px;
}
.pass-card--check h1 {
  font-size: 1.8rem;
  margin: 4px 0 8px;
}

@media (max-width: 920px) {
  .hero, .layout, .dash-grid, .how, .hero-stats, .form-row { grid-template-columns: 1fr; }
  .kpi { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .layout > aside { position: static; }
  .dash-card { grid-template-columns: 1fr; }
  .dash-user { margin-left: 0; width: 100%; justify-content: space-between; }
}
