/*
  Cha Cha Cha ticket site.
  Palette: green, black and white only. Type: Outfit, a soft geometric sans; Tinos (Times) only on the pass panel, as on the print.
  Soft corners, filled surfaces instead of outlines.
*/
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Tinos";
  src: url("../fonts/tinos-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Tinos";
  src: url("../fonts/tinos-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --black: #0b0c0b;
  --ink: #111312;
  --muted: #5d6862;
  --green: #17703a;
  --green-dark: #0d4423;
  --green-deep: #082a16;
  --tint: #f0f5f1;
  --tint-2: #e1ece4;
  --hair: rgba(17, 19, 18, 0.08);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Tinos", "Times New Roman", Times, serif;
  --wrap: 72rem;
  --r-lg: 11px;
  --r: 7px;
  --r-sm: 5px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.05rem/1.6 var(--font); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid rgba(23, 112, 58, 0.45); outline-offset: 2px; border-radius: var(--r-sm); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 38rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.label { font-size: 0.9rem; color: var(--muted); }

/* ---------- Show page ---------- */
/* First screen: the banner fills it, the date and venue bar sits at the bottom. */
.opening { min-height: 100vh; min-height: min(100svh, calc(56.25vw + 13rem)); display: flex; flex-direction: column; background: var(--black); }
.hero-image { flex: 1; display: grid; align-items: center; background: var(--black); }
.hero-art { width: 100%; height: auto; aspect-ratio: 1672 / 941; max-height: calc(100svh - 11rem); object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, #000 74%, rgba(0,0,0,.92) 78%, rgba(0,0,0,.72) 83%, rgba(0,0,0,.45) 88%, rgba(0,0,0,.2) 94%, transparent); mask-image: linear-gradient(180deg, #000 74%, rgba(0,0,0,.92) 78%, rgba(0,0,0,.72) 83%, rgba(0,0,0,.45) 88%, rgba(0,0,0,.2) 94%, transparent); }
@media (max-width: 52rem) {
  .opening { min-height: 0; }
  .hero-art { max-height: none; aspect-ratio: 4 / 3; }
}

.info { background: var(--black); color: var(--white); padding: 0 0 2.2rem; overflow-x: clip; }
/* The green bar runs edge to edge and fades into the black above and below. */
.info-card {
  position: relative; isolation: isolate;
  display: grid; gap: 1.2rem 2rem; align-items: center;
  grid-template-columns: 1fr;
  padding: 2.6rem 0;
}
.info-card::before {
  content: ""; position: absolute; z-index: -1; top: -3rem; bottom: -0.5rem; left: calc(50% - 50vw); right: calc(50% - 50vw);
  background: linear-gradient(180deg, rgba(8, 42, 22, 0.000) 0.0%, rgba(8, 42, 22, 0.043) 3.8%, rgba(8, 42, 22, 0.156) 7.5%, rgba(8, 42, 22, 0.316) 11.2%, rgba(8, 42, 22, 0.500) 15.0%, rgba(8, 42, 22, 0.684) 18.8%, rgba(8, 42, 22, 0.844) 22.5%, rgba(8, 42, 22, 0.957) 26.2%, rgba(8, 42, 22, 1.000) 30.0%, rgba(8, 42, 22, 1.000) 70.0%, rgba(8, 42, 22, 0.957) 73.8%, rgba(8, 42, 22, 0.844) 77.5%, rgba(8, 42, 22, 0.684) 81.2%, rgba(8, 42, 22, 0.500) 85.0%, rgba(8, 42, 22, 0.316) 88.8%, rgba(8, 42, 22, 0.156) 92.5%, rgba(8, 42, 22, 0.043) 96.2%, rgba(8, 42, 22, 0.000) 100.0%);
}
@media (min-width: 52rem) { .info-card { grid-template-columns: 1fr 1.2fr auto; padding: 2.8rem 0; } }
.info-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-item svg { flex: none; width: 1.5rem; height: 1.5rem; margin-top: 0.15rem; color: #7fd19b; }
.info-item strong { display: block; font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
.info-item span { display: block; color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.info .credit { text-align: center; margin: 0.2rem 0 0; color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; }

.hero-plain { background: var(--black); color: var(--white); padding: clamp(3.5rem, 12vw, 8rem) 0; }
.title-big { font-size: clamp(3.2rem, 13vw, 8rem); font-weight: 700; letter-spacing: -0.03em; line-height: 0.95; margin: 0; }
.hero-plain .hero-sub { font-size: clamp(1.2rem, 3.5vw, 1.8rem); font-weight: 500; color: #7fd19b; margin: 0.8rem 0 1.6rem; }
.hero-plain .lede { color: rgba(255, 255, 255, 0.72); }

.section { padding: clamp(2.8rem, 7vw, 5rem) 0; }
.section.green { background: var(--green-deep); color: var(--white); }
.section-title { font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; }
.section-sub { color: var(--muted); margin: 0.4rem 0 1.8rem; }
.poster-section { padding-bottom: 0; }
/* Phones: the ticket form comes first, the poster after it. */
.show-main { display: flex; flex-direction: column; }
@media (max-width: 52rem) {
  .show-main .poster-section { order: 2; padding: 0 0 clamp(2.8rem, 7vw, 5rem); }
  .show-main .about img { max-width: 24rem; }
}
.about { display: grid; gap: 2.5rem; grid-template-columns: 1fr; justify-items: center; }
.about.has-copy { justify-items: start; }
.about .copy { max-width: 36rem; font-size: 1.12rem; line-height: 1.7; white-space: pre-line; }
.about img { width: 100%; max-width: 34rem; border-radius: var(--r-lg); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.45); }
@media (min-width: 52rem) { .about.has-poster.has-copy { grid-template-columns: 1.2fr 1fr; align-items: start; } }

/* ---------- Ticket picker ---------- */
.buy { display: grid; gap: 1.5rem; }
@media (min-width: 58rem) { .buy { grid-template-columns: 1.35fr 1fr; gap: 2rem; align-items: start; } }
.types { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.type {
  display: grid; grid-template-columns: 1fr auto; gap: 0.9rem 1rem; align-items: center;
  background: var(--tint); border-radius: var(--r-lg); padding: 1.2rem 1.3rem;
}
.type-name { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.type-note { color: var(--muted); font-size: 0.95rem; }
.type-price { font-size: 1.5rem; font-weight: 700; text-align: right; }
.type-left { display: inline-block; margin-top: 0.4rem; padding: 0.15rem 0.6rem; border-radius: var(--r-sm); background: var(--black); color: var(--white); font-size: 0.78rem; font-weight: 500; }
.type.soldout { opacity: 0.55; }
.type.soldout .type-price { text-decoration: line-through; }

.stepper { display: inline-flex; align-items: center; gap: 0.4rem; }
.stepper button {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0;
  background: var(--white); color: var(--ink); font: 500 1.4rem/1 var(--font); cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.stepper button:hover:not(:disabled) { background: var(--green); color: var(--white); }
.stepper button:disabled { color: rgba(17, 19, 18, 0.25); cursor: default; }
.stepper input[type="number"] {
  width: 2.6rem; padding: 0; border: 0; background: transparent; box-shadow: none;
  text-align: center; font: 600 1.25rem var(--font); color: var(--ink);
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.panel { background: var(--tint); border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 1.8rem); }
.panel-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; }
.field { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.field label { font-size: 0.92rem; font-weight: 500; }
.field .hint { color: var(--muted); font-size: 0.85rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"],
input[type="datetime-local"], input[type="search"], input[type="file"], select, textarea {
  width: 100%; font: 400 1rem/1.3 var(--font); color: var(--ink);
  background: var(--white); border: 0; border-radius: var(--r);
  padding: 0.85rem 1rem;
  box-shadow: inset 0 0 0 1px var(--hair);
}
body.admin input:not([type="checkbox"]), body.admin select, body.admin textarea { background: var(--tint); box-shadow: none; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(23, 112, 58, 0.3); }
textarea { min-height: 7rem; resize: vertical; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 1.2rem 0 1rem; }
.total span { color: var(--muted); }
.total strong { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 1rem/1 var(--font);
  padding: 1rem 1.5rem; border: 0; border-radius: var(--r);
  background: var(--green); color: var(--white);
  cursor: pointer; text-decoration: none;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--green-dark); }
.btn[disabled], .btn[disabled]:hover { background: var(--tint-2); color: var(--muted); cursor: not-allowed; }
.btn.wide { width: 100%; }
.btn.quiet { background: var(--tint); color: var(--ink); }
.btn.quiet:hover { background: var(--tint-2); }
.info .btn { background: var(--white); color: var(--black); }
.info .btn:hover { background: #d7ebdd; }
.btn.danger { background: var(--black); }
.btn.small { font-size: 0.85rem; padding: 0.55rem 0.85rem; border-radius: var(--r-sm); }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
@media (max-width: 34rem) { .actions:not(nav) .btn:not(.small), .info .btn { flex: 1 1 100%; width: 100%; } }

/* Errors keep a red tone so a failed payment is never mistaken for success. */
.notice { border-radius: var(--r); background: var(--tint); padding: 0.9rem 1.1rem; margin-bottom: 1.2rem; }
.notice.ok { background: #dcefe2; }
.notice.warn { background: #f1f2ef; }
.notice.error { background: #fbe9e7; color: #7a1d12; }

details summary { cursor: pointer; font-weight: 500; }

/* ---------- Order, ticket and sign-in pages ---------- */
.simple-head { background: var(--black); color: var(--white); margin-bottom: clamp(2rem, 6vw, 3.2rem); }
.simple-head .wrap { padding: 1.1rem 0; }
.simple-head a { text-decoration: none; }
.wordmark { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.14em; text-transform: uppercase; }
.page-title { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.7rem; }
.lede { font-size: 1.1rem; max-width: 36rem; color: var(--muted); }

.summary { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.5rem 0 1rem; background: var(--tint); border-radius: var(--r-lg); overflow: hidden; }
.summary td { padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--hair); }
.summary td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.summary tr:last-child td { border-bottom: 0; font-size: 1.25rem; font-weight: 700; background: var(--tint-2); }
.summary tr:last-child td strong { font-weight: inherit; }

.spinner { width: 2.2rem; height: 2.2rem; flex: none; border: 4px solid var(--tint-2); border-top-color: var(--green); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- The ticket: a digital copy of the printed "Native Pass" ---------- */
.stubs { display: grid; gap: 1.5rem; margin: 2rem 0; }
.pass { container: ticket / inline-size; position: relative; }
.pass-row {
  display: grid;
  grid-template-columns: 776fr 913fr 750fr;
  /* Row height follows the print proportions. */
  --h: calc(100cqw * 579 / 2439);
  height: var(--h);
  grid-template-rows: minmax(0, 1fr);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.35);
}
.pass-row > * { min-width: 0; }
.pass-panel {
  container-type: inline-size;
  position: relative; height: 100%;
  background: #22422a url("../images/ticket-pass.webp") center / cover no-repeat;
  color: #fff; font-family: var(--serif); text-align: center;
}
.pass-panel > div { position: absolute; left: 4%; right: 4%; transform: translateY(-50%); line-height: 1; }
.pass-box {
  top: 43.4%; left: 25.7% !important; right: 26% !important; height: 11.2%;
  display: grid; place-items: center;
  background: #fff; color: #111; border-radius: 0.4cqw;
  font-size: 3.9cqw; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden;
}
.pass-venue { top: 58%; font-weight: 700; white-space: nowrap; letter-spacing: 0.01em; }
.pass-date { top: 68.7%; font-size: 4.5cqw; }
.pass-price { top: 81.6%; font-size: 10cqw; font-weight: 700; }
.pass-price.comp { font-size: 6.4cqw; text-transform: uppercase; letter-spacing: 0.04em; }
.pass-art { width: 100%; height: 100%; object-fit: cover; }

/* The flag-raising photo carries the QR code. */
.pass-gate {
  container-type: size;
  position: relative; display: grid; align-content: center; justify-items: center; gap: 1.8cqh;
  padding: 3cqh 4cqw; color: #fff; text-align: center;
  background: #000 url("../images/ticket-gate.webp") center / cover no-repeat;
}
.pass-gate::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.75)); }
.pass-gate::after { content: ""; position: absolute; left: 0; top: 6%; bottom: 6%; border-left: 2px dashed rgba(255, 255, 255, 0.35); }
.pass-gate > * { position: relative; }
.pass-qr { width: min(66cqh, 80cqw); aspect-ratio: 1; background: #fff; border-radius: 1.5cqh; padding: 2.6cqh; }
.pass-qr svg, .pass-qr img { width: 100%; height: 100%; }
.pass-code { font: 600 max(0.85rem, 7.5cqh)/1 var(--font); letter-spacing: 0.08em; white-space: nowrap; }
.pass-meta { font-size: max(0.68rem, 4.6cqh); line-height: 1.2; color: rgba(255, 255, 255, 0.78); }
/* Used and cancelled tickets: the stamp sits over the QR, so the ticket number, venue and date stay readable. */
.pass-gate > .pass-stamp {
  position: absolute; z-index: 2; top: 40%; left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  padding: 1.8cqw 3.6cqw; border-radius: 1cqw;
  border: 0.9cqw solid currentColor; color: var(--green); background: rgba(255, 255, 255, 0.94);
  font: 700 9cqw/1 var(--serif); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.6);
}
.pass.dead .pass-gate > .pass-stamp { color: var(--black); }
.pass.used .pass-qr { opacity: 0.4; }
.pass.dead .pass-qr { opacity: 0.15; }
.pass.dead .pass-art, .pass.dead .pass-gate { filter: grayscale(1) brightness(0.65); }

/* Narrower screens: drop the artwork, keep pass and QR side by side. */
@container ticket (max-width: 46rem) {
  .pass-row { grid-template-columns: 776fr 750fr; --h: calc(100cqw * 579 / 1526); }
  .pass-art { display: none; }
}
/* Phone: stack. Artwork, then the pass, then the QR on the photo. */
@container ticket (max-width: 30rem) {
  .pass-row { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .pass-art { display: block; height: auto; aspect-ratio: 913 / 579; order: 1; }
  .pass-panel { order: 2; height: auto; aspect-ratio: 776 / 579; }
  .pass-gate { order: 3; aspect-ratio: 750 / 760; }
  .pass-gate::after { left: 6%; right: 6%; top: 0; bottom: auto; border-left: 0; border-top: 2px dashed rgba(255, 255, 255, 0.35); }
  .pass-qr { width: min(62cqh, 72cqw); }
}

.site-foot { margin-top: clamp(3rem, 8vw, 5rem); padding: 1.6rem 0 2.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; font-size: 0.88rem; color: var(--muted); }

@media print {
  body { background: #fff; }
  .no-print, .site-foot, .simple-head { display: none !important; }
  .pass { break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pass-row { box-shadow: none; }
}

/* ---------- Door scanner: built for a phone in a dim foyer ---------- */
body.door { background: #07130b; color: var(--white); min-height: 100vh; }
.door-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 1rem; }
.door-top form { margin: 0; }
.door-show { font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
.door-count { font-weight: 700; font-size: 1.7rem; white-space: nowrap; }
.door-count small { font-weight: 400; font-size: 0.8rem; opacity: 0.7; display: block; text-align: right; }
.door-main { width: min(100% - 2rem, 32rem); margin: 0.5rem auto 0; padding-bottom: 3rem; display: grid; gap: 1rem; }
.viewfinder { position: relative; aspect-ratio: 1; background: #000; border-radius: var(--r-lg); overflow: hidden; }
.viewfinder video { width: 100%; height: 100%; object-fit: cover; }
.viewfinder .frame { position: absolute; inset: 14%; border: 3px solid rgba(255, 255, 255, 0.85); border-radius: 9px; pointer-events: none; }
.viewfinder .cam-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem; }
.verdict { position: absolute; inset: 0; display: none; align-content: center; justify-items: center; text-align: center; padding: 1.2rem; gap: 0.4rem; cursor: pointer; }
.verdict.show { display: grid; }
.verdict h2 { font-size: 2.6rem; font-weight: 700; }
.verdict p { margin: 0; font-size: 1.15rem; font-weight: 500; }
.verdict .who { font-size: 1.5rem; }
/* Door verdicts keep amber and red: staff must tell "already used" and "invalid" apart at a glance. */
.verdict.ok { background: var(--green); color: #fff; }
.verdict.duplicate { background: #e0a000; color: #111; }
.verdict.bad { background: #c3271a; color: #fff; }
body.door input[type="text"], body.door input[type="search"], body.door select { background: #12241a; color: #fff; box-shadow: none; }
body.door .btn.quiet { background: #12241a; color: #fff; }
body.door .btn.quiet:hover { background: #1c3527; }
.door-row { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; }
.door-label { font-weight: 500; font-size: 0.92rem; margin-bottom: 0.35rem; display: block; color: rgba(255, 255, 255, 0.75); }
.found { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.found li { background: #12241a; border-radius: var(--r); padding: 0.75rem 0.9rem; display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; align-items: center; }
.found .in { color: #9fdcb3; font-size: 0.9rem; }

/* ---------- Admin ---------- */
body.admin { background: var(--white); font-size: 0.97rem; }
.admin-nav { background: var(--black); color: var(--white); }
.admin-nav .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.4rem; padding: 0.7rem 0; }
.admin-nav a { color: rgba(255, 255, 255, 0.8); text-decoration: none; padding: 0.4rem 0.8rem; border-radius: var(--r-sm); }
.admin-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.admin-nav a.on { background: var(--green); color: #fff; }
.admin-nav .brand { font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-right: 0.8rem; }
.admin-nav form { margin: 0 0 0 auto; display: flex; gap: 0.6rem; align-items: center; }
.admin-nav button.link { background: none; border: 0; color: #fff; font: inherit; cursor: pointer; text-decoration: underline; }
.admin-nav select { width: auto; padding: 0.35rem 0.6rem; font-size: 0.9rem; }
.admin-main { padding: 2rem 0 4rem; }
.admin-main h1 { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.2rem; }
.admin-main h2 { font-size: 1.25rem; font-weight: 600; margin: 2.2rem 0 0.9rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.8rem; }
.tile { background: var(--tint); border-radius: var(--r-lg); padding: 1.1rem 1.2rem; }
.tile b { display: block; font-size: 1.8rem; font-weight: 700; line-height: 1.15; }
.tile span { color: var(--muted); font-size: 0.88rem; }
.table-scroll { overflow-x: auto; background: var(--white); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--hair); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
table.data th, table.data td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--hair); vertical-align: top; }
table.data th { background: var(--tint); font-weight: 600; font-size: 0.85rem; white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.num, table.data th.num { text-align: right; white-space: nowrap; }
.tag { display: inline-block; padding: 0.15rem 0.6rem; font-size: 0.78rem; font-weight: 500; border-radius: var(--r-sm); background: var(--tint-2); color: var(--ink); }
.tag.paid, .tag.in { background: var(--green); color: #fff; }
.tag.pending { background: var(--tint-2); }
.tag.failed, .tag.expired, .tag.refunded, .tag.cancelled { background: var(--black); color: #fff; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.checklist li::before { content: "Not yet: "; font-weight: 600; }
.checklist li.done::before { content: "Done: "; color: var(--green); }
.grid-2 { display: grid; gap: 0 1.2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.inline-form { display: inline; }
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.filters input, .filters select { width: auto; flex: 1 1 12rem; }
.check { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; margin-bottom: 1rem; }
.check input { width: 1.2rem; height: 1.2rem; accent-color: var(--green); }
nav[role="navigation"] { margin-top: 1rem; }

/* Ticket preview (admin) */
.preview-phones { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1.2rem; align-items: start; }
.preview-phones figure { margin: 0; }
.preview-phones figcaption { margin-top: 0.6rem; font-size: 0.88rem; color: var(--muted); }
.preview-email { display: block; width: 100%; max-width: 40rem; height: 1500px; border: 0; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--hair); }

[hidden] { display: none !important; }
