@font-face { font-family: "Brand Heading"; src: url("/brand/heading.woff2?v=dwST2Ey7dT") format("woff2"); font-display: swap; }
:root {
  color-scheme: dark;
  --ground: #0f0f0f;
  --surface: #1d1d1d;
  --raised: #272727;
  --well: #141414;
  --line: #2a2a2a;
  --line-strong: #3d3d3d;
  --text: #f2f2f2;
  --soft: #cdcdcd;
  --muted: #979797;
  --accent: #c59d5f;
  --on-accent: #0f0f0f;
  --brand: #6b6b6b;
  --ok: #8fc79a;
  --bad: #ec8f7d;
  --paper: #f4f4f4;
  --ink: #161616;
  --foil-light: var(--accent);
  --foil-dark: var(--accent);
  --sheet: rgb(255 255 255 / 0.06);
  /* A panel's hairline edge: the fill alone is too close to the page to read as a panel. */
  --edge: inset 0 0 0 1px rgb(255 255 255 / 0.07);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --heading: var(--serif);
  --heading-weight: 600;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", sans-serif;
  --tabs: 62px;
  --gutter: 20px;
}

/* Without color-mix the foil is the flat accent, rather than nothing at all. */
@supports (color: color-mix(in srgb, red, blue)) {
  :root {
    --foil-light: color-mix(in srgb, var(--accent) 50%, #fff);
    --foil-dark: color-mix(in srgb, var(--accent) 60%, #000);
    --button-top: color-mix(in srgb, var(--accent) 86%, #fff);
  }
}

* { box-sizing: border-box; }

::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ground); touch-action: pan-x pan-y; }
html.scrolled { overscroll-behavior-y: none; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font: 16px/1.5 var(--sans);
  color: var(--text);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--heading); font-weight: var(--heading-weight); margin: 0; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: 2.3rem; line-height: 1.1; }
h2 { font-size: 1.3rem; line-height: 1.25; }
h3 { font-size: 1.15rem; line-height: 1.3; }
p { margin: 0; }

/* Shell */

.logo { display: inline-flex; }
.logo img { display: block; height: 40px; width: auto; }
.signin .logo { display: flex; width: fit-content; margin: 0 auto 28px; }
.signin .logo img { height: 112px; }

main {
  max-width: 600px;
  margin: 0 auto;
  padding: 18px max(var(--gutter), env(safe-area-inset-right)) calc(var(--tabs) + env(safe-area-inset-bottom) + 40px) max(var(--gutter), env(safe-area-inset-left));
}
.signed-in main { padding-top: calc(env(safe-area-inset-top) + 22px); }
.signed-out main { padding-bottom: calc(env(safe-area-inset-bottom) + 40px); }

.page-title { margin: 4px 0 24px; }
.lede { color: var(--muted); margin: -12px 0 24px; max-width: 34em; }
.back { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; margin: -10px 0 0 -6px; padding-right: 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.back:hover { color: var(--text); }
.back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

* + section { margin-top: 38px; }
.section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.section-head h2 { flex: 1; display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.section-head h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-head a { font-size: 0.95rem; font-weight: 600; text-decoration: none; }
.section-head a:hover { text-decoration: underline; }
/* Lines a headless column up with its neighbour's first item, beside it on desktop. */
.section-spacer { display: none; }

/* Tabs */

.tabs {
  position: fixed;
  z-index: 10;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  background: rgb(15 15 15 / 0.92);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.tabs a {
  position: relative;
  height: var(--tabs);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tabs a[aria-current="page"] { color: var(--accent); }
.tabs a[aria-current="page"]::before { content: ""; position: absolute; top: -1px; left: calc(50% - 16px); width: 32px; height: 2px; border-radius: 0 0 2px 2px; background: var(--accent); }
.tabs a:focus-visible { outline-offset: -6px; }

@media (min-width: 900px) {
  .tabs {
    position: static;
    display: flex;
    gap: 4px;
    max-width: 960px;
    margin: 0 auto;
    padding: calc(env(safe-area-inset-top) + 28px) var(--gutter) 0;
    background: none;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .tabs a[aria-current="page"] { background: var(--sheet); }
  .tabs a[aria-current="page"]::before { display: none; }
  .tabs a { height: auto; flex-direction: row; gap: 8px; padding: 10px 16px; border-radius: 12px; font-size: 0.95rem; }
  .tabs svg { width: 20px; height: 20px; }
  .tabs a:focus-visible { outline-offset: 3px; }
  main { max-width: 960px; padding-top: 30px; padding-bottom: 64px; }
  .signed-in main { padding-top: 30px; }
  .columns { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .columns > * + * { margin-top: 0; }
  .section-spacer { display: flex; visibility: hidden; }
  .settings { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* The membership card, the one ornamented thing: a foil edge, an engraved corner, and a
   sheen that crosses it once when the app opens. */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 218px;
  padding: 24px 24px 22px;
  border-radius: 22px;
  border: 1px solid transparent;
  background:
    radial-gradient(130% 150% at 100% 0, transparent 22%, #1a1a1a 70%) padding-box,
    repeating-radial-gradient(circle at 100% 0, rgb(255 255 255 / 0.055) 0 1px, transparent 1px 9px) padding-box,
    linear-gradient(#272727, #272727) padding-box,
    linear-gradient(140deg, var(--foil-light), var(--accent) 26%, var(--foil-dark) 52%, var(--accent) 76%, var(--foil-light)) border-box;
  box-shadow: 0 22px 44px -22px #000;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 0.07);
  pointer-events: none;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / 0.1) 49%, rgb(255 255 255 / 0.03) 55%, transparent 62%) no-repeat;
  background-size: 260% 100%;
  background-position: 160% 0;
  animation: sheen 1.5s 0.45s cubic-bezier(0.3, 0, 0.2, 1) both;
  pointer-events: none;
}
.settled .card::after { display: none; }
@keyframes sheen { to { background-position: -60% 0; } }
.card-top { display: flex; align-items: flex-start; min-height: 62px; margin-bottom: 26px; }
.card-top .logo img { height: 62px; }
.card-site { font-family: var(--heading); font-weight: var(--heading-weight); color: var(--accent); font-size: 1.15rem; line-height: 1.3; }
.card-name { margin-top: auto; font-size: 2rem; line-height: 1.12; overflow-wrap: anywhere; }
.card-name.card-email { font-family: var(--sans); font-size: 1.3rem; font-weight: 650; line-height: 1.3; }
.card-status {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 14px;
  padding: 6px 13px 6px 11px;
  border-radius: 99px;
  background: var(--sheet);
  font-size: 0.92rem;
  font-weight: 600;
}
.card-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.card-status.active::before { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
.card-status.inactive::before { background: var(--muted); }
.card-status.held::before { background: var(--bad); }
.card-box { color: var(--muted); font-size: 0.92rem; margin-top: 10px; }
.card-note { color: var(--soft); margin-top: 14px; max-width: 32em; }
.card .actions { margin-top: 18px; }

/* Notices */

.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--edge);
  margin-top: 14px;
}
.notice svg.inline { display: inline; width: 18px; height: 18px; margin: 0; vertical-align: -3px; }
.notice > svg { flex: none; width: 24px; height: 24px; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.notice > div { flex: 1; min-width: 0; }
.notice + form { margin-top: 16px; }
.notice strong { display: block; font-weight: 650; }
.notice p { color: var(--muted); }
.notice.error > svg { stroke: var(--bad); }
.flash { margin: 0 0 18px; box-shadow: inset 3px 0 0 var(--accent), var(--edge); border-radius: 6px 18px 18px 6px; }
.flash.error { box-shadow: inset 3px 0 0 var(--bad), var(--edge); }

/* Visits */

.visit-summary { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.visit-count { display: flex; align-items: center; gap: 14px; }
.visit-count .value { font-family: var(--heading); font-weight: var(--heading-weight); font-size: 3.4rem; line-height: 0.9; font-variant-numeric: lining-nums; }
.visit-count .label { color: var(--muted); font-size: 0.9rem; line-height: 1.35; max-width: 8.5em; }
.visit-last { display: grid; flex: none; text-align: right; }
.visit-last .label { color: var(--muted); font-size: 0.9rem; line-height: 1.35; }
.visit-last .value { font-weight: 600; font-size: 0.95rem; line-height: 1.35; }
.visit-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: 3px; height: 36px; margin-top: 20px; }
.visit-strip i { height: 5px; border-radius: 2px; background: var(--line-strong); }
.visit-strip i.on { height: 100%; border-radius: 3px; background: linear-gradient(var(--foil-light), var(--accent) 70%); }
.visit-axis { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 0.8rem; }

/* Lists */

.list { list-style: none; margin: 0; padding: 0 16px; border-radius: 18px; background: var(--surface); box-shadow: var(--edge); }
.list > li + li { border-top: 1px solid var(--line); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 14px 0; color: inherit; text-decoration: none; min-height: 68px; }
a.row:hover .row-title { color: var(--accent); }
.row-main { flex: 1 1 6.5em; min-width: 0; }
.row-title { font-weight: 600; overflow-wrap: anywhere; }
.row-sub { color: var(--muted); font-size: 0.9rem; }
.row-end { display: flex; align-items: center; gap: 12px; flex: none; margin-left: auto; }
.chevron { width: 18px; height: 18px; flex: none; margin-right: -4px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.state { display: inline-block; font-size: 0.8rem; font-weight: 650; padding: 4px 10px; border-radius: 99px; background: var(--raised); color: var(--muted); white-space: nowrap; }
.state.good { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.state.wait { color: var(--accent); background: var(--sheet); }
.state.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 13%, transparent); }

/* Posts */

.post { padding: 20px 0; border-bottom: 1px solid var(--line); }
.post:first-child { padding-top: 2px; }
.post:last-child { border-bottom: 0; padding-bottom: 0; }
.post-when { color: var(--muted); font-size: 0.88rem; margin-bottom: 3px; }
.post.event .post-when { color: var(--accent); font-weight: 600; }
.post-body { margin-top: 8px; color: var(--soft); max-width: 36em; }
.post-body p + p { margin-top: 0.7em; }
.posts.compact .post-body { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.button.tickets { margin-top: 14px; min-height: 44px; padding: 0 16px; font-size: 0.92rem; background: none; box-shadow: none; border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); color: var(--accent); }
.button.tickets:hover { background: var(--sheet); filter: none; }
.button.tickets svg { width: 16px; height: 16px; }
.event-date { display: flex; gap: 16px; align-items: flex-start; }
.event-date > div:last-child { flex: 1; min-width: 0; }
.date-tile { flex: none; width: 54px; margin-top: 2px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-align: center; overflow: hidden; }
.date-tile .m { display: block; padding: 4px 0 3px; background: var(--raised); color: var(--accent); font-size: 0.74rem; font-weight: 700; line-height: 1.2; }
.date-tile .d { display: block; padding: 7px 0 6px; font-family: var(--heading); font-weight: var(--heading-weight); font-size: 1.55rem; line-height: 1; font-variant-numeric: lining-nums; }

/* Forms */

form { margin: 0; }
.stack { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span { font-weight: 600; font-size: 0.9rem; color: var(--soft); }
.hint { color: var(--muted); font-size: 0.9rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

input, select {
  font: inherit;
  font-size: 1.05rem;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: var(--well);
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
}
input:focus, select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.code-input { font-size: 1.9rem; letter-spacing: 0.4em; text-align: center; font-variant-numeric: tabular-nums; padding-left: calc(14px + 0.4em); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: linear-gradient(var(--button-top, var(--accent)), var(--accent) 60%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28);
  color: var(--on-accent);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: filter 120ms ease, transform 120ms ease;
}
.button svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { filter: brightness(1.07); }
.button:active { transform: scale(0.985); }
.button.block { width: 100%; }
.button.quiet { background: var(--raised); box-shadow: none; color: var(--text); border-color: var(--line-strong); }
.button.quiet:hover { border-color: var(--muted); filter: none; }
.button.danger { background: none; box-shadow: none; color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
.button[disabled] { opacity: 0.5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Plans */

.plans { display: grid; gap: 12px; }
.agree { margin-bottom: 18px; padding: 18px; border-radius: 18px; background: var(--surface); box-shadow: var(--edge); }
.agree.quiet { margin: 22px 0 0; padding: 0; background: none; box-shadow: none; }
.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.check input[type="checkbox"] {
  flex: none;
  width: 24px;
  min-height: 0;
  height: 24px;
  padding: 0;
  margin: 1px 0 0;
  border-radius: 7px;
  border: 1.5px solid var(--muted);
  background: transparent;
  display: grid;
  place-content: center;
  cursor: pointer;
}
.check input[type="checkbox"]::after { content: ""; width: 12px; height: 7px; border: solid var(--on-accent); border-width: 0 0 2.5px 2.5px; transform: translateY(-2px) rotate(-45deg); opacity: 0; }
.check input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.check input[type="checkbox"]:checked::after { opacity: 1; }
.check input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.terms { margin-top: 14px; padding-left: 38px; }
.agree.quiet .terms { margin: 0; padding: 0; }
.terms summary { color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.terms-text { margin-top: 14px; max-height: 50vh; overflow-y: auto; padding-right: 8px; color: var(--soft); max-width: 40em; }
.terms-text p { margin: 0 0 12px; }
.plans-note { margin-top: 16px; }
.plan {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 16px;
  padding: 18px 18px 18px 20px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: var(--surface) padding-box;
  box-shadow: var(--edge);
}
.plan.current {
  box-shadow: none;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(140deg, var(--foil-light), var(--accent) 30%, var(--foil-dark) 60%, var(--accent)) border-box;
}
.plan.desk .plan-price strong { font-size: 1.35rem; }
.plan-name, .plan-price { grid-column: 1; }
.plan-name { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.plan-price { font-variant-numeric: lining-nums; }
.plan-price strong { font-family: var(--heading); font-size: 1.9rem; line-height: 1.15; font-weight: var(--heading-weight); }
.plan-price span { color: var(--muted); }
.plan-extra { grid-column: 1; align-self: start; margin: 6px 0 0; color: var(--muted); font-size: 0.85rem; line-height: 1.4; }
.plan .button, .plan .state { grid-row: 1 / span 2; grid-column: 2; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } .plan { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; padding: 22px; } .plan .button, .plan .state { grid-row: 4; grid-column: auto; margin-top: 16px; justify-self: start; align-self: end; } }

/* Guest passes */

.offer { padding: 20px; border-radius: 20px; background: var(--surface); box-shadow: var(--edge); }
.offer-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.offer-price { font-family: var(--heading); font-weight: var(--heading-weight); font-size: 1.5rem; font-variant-numeric: lining-nums; }
.offer-used { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.offer > form, .offer > .notice, .offer > .empty { margin-top: 20px; }
.offer > .notice { background: var(--raised); box-shadow: none; }
.offer > .empty { padding: 0; }
.pips { display: flex; gap: 5px; flex: none; }
.pips i { width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.pips i.used { background: var(--accent); box-shadow: none; }

/* A pass is a ticket in two parts, torn along a perforation: the code above, the visit
   below. The notches are cut out of each part, so whatever is behind shows through. */

.ticket { --stock: var(--paper); --notch: 11px; max-width: 380px; margin: 0 auto; color: var(--ink); text-align: center; }
.ticket-main, .ticket-window { background: var(--stock); padding: 0 24px; }
.ticket-main {
  padding-top: 26px;
  padding-bottom: 24px;
  border-radius: 22px 22px 0 0;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 100%, #0000 97%, #000) 0 0 / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 100%, #0000 97%, #000) 100% 0 / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--notch) at 0 100%, #0000 97%, #000) 0 0 / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 100%, #0000 97%, #000) 100% 0 / 51% 100% no-repeat;
}
.ticket-window {
  position: relative;
  margin: 0;
  padding-top: 20px;
  padding-bottom: 22px;
  border-radius: 0 0 22px 22px;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 0, #0000 97%, #000) 0 0 / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 0, #0000 97%, #000) 100% 0 / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--notch) at 0 0, #0000 97%, #000) 0 0 / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 0, #0000 97%, #000) 100% 0 / 51% 100% no-repeat;
}
.ticket-window::before { content: ""; position: absolute; inset: 0 calc(var(--notch) + 8px) auto; border-top: 2px dashed color-mix(in srgb, var(--stock) 78%, #000); }
.ticket-site { font-family: var(--heading); font-weight: var(--heading-weight); color: var(--brand); }
.ticket-guest { font-family: var(--heading); font-weight: var(--heading-weight); font-size: 1.7rem; line-height: 1.2; margin: 4px 0 18px; overflow-wrap: anywhere; }
.ticket img { display: block; width: 100%; max-width: 264px; height: auto; margin: 0 auto; image-rendering: pixelated; border-radius: 6px; background: #fff; }
.ticket-times { display: grid; gap: 2px; }
.ticket-times .label { color: #5e5e5e; font-size: 0.9rem; }
.ticket-times .value { font-weight: 650; }
.ticket-note { margin-top: 12px; color: #5e5e5e; font-size: 0.9rem; }
.ticket.stub { --stock: var(--raised); color: var(--text); }
.stub .ticket-main { padding-top: 30px; padding-bottom: 26px; }
.stub .ticket-window::before { border-top-color: var(--line-strong); }
.stub-state { font-family: var(--heading); font-weight: var(--heading-weight); font-size: 1.6rem; line-height: 1.2; }
.stub-state.wait { color: var(--accent); }
.stub-state.bad { color: var(--bad); }
.stub-detail { margin: 10px auto 0; max-width: 28em; color: var(--soft); }
.stub-facts { display: grid; grid-template-columns: 1fr auto; gap: 16px; text-align: left; }
.stub-facts dt { color: var(--muted); font-size: 0.9rem; }
.stub-facts dd { margin: 0; font-weight: 650; }
.stub-facts div:last-child { text-align: right; }
.spinner { width: 18px; height: 18px; flex: none; border: 2px solid color-mix(in srgb, currentColor 30%, transparent); border-top-color: currentColor; border-radius: 50%; animation: spin .8s linear infinite; }
.stub-spinner { display: block; width: 22px; height: 22px; margin: 0 auto 14px; color: var(--accent); }
.pass-actions { max-width: 380px; margin: 20px auto 0; }
.share-status { text-align: center; color: var(--muted); min-height: 1.5em; margin-top: 10px; }

/* Profile */

.settings { display: grid; gap: 12px; }
.settings > * + * { margin-top: 0; }
.panel form.stack { margin-top: 18px; }
.panel { padding: 20px; border-radius: 20px; background: var(--surface); box-shadow: var(--edge); }
.panel h2 { font-size: 1.2rem; margin-bottom: 6px; }
.panel > p { color: var(--muted); }
.panel .actions { margin-top: 16px; }

.install { margin-top: 14px; padding: 16px; border-radius: 14px; background: var(--raised); }
.install ol { margin: 10px 0 0; padding-left: 1.3em; display: grid; gap: 6px; }
.install svg { width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Documents */

.document { max-width: 40em; padding-top: 4vh; }
.document h1 { margin: 14px 0 10px; }
.document .lede { margin: 0 0 28px; }
.document h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.document p, .document ul { margin: 0 0 14px; color: var(--soft); }
.document ul { padding-left: 1.2em; }
.document li + li { margin-top: 8px; }
.document a { overflow-wrap: anywhere; }
.legal { margin-top: 28px; text-align: center; font-size: 0.9rem; }
.legal a { color: var(--muted); }
/* The tick box sits in the notice's icon column, so the agreement reads in the same column as the text above it. */
.face-consent { margin: 14px 0 0 -38px; }
.face-consent .check span { color: var(--text); }
.face-consent .hint { margin: 10px 0 14px 38px; }
.face-consent .button { margin-left: 38px; }

/* Sign in */

.signin { max-width: 420px; margin: 0 auto; padding-top: 8vh; }
.signin-mark { display: block; width: 56px; height: 56px; margin: 0 auto 26px; }
.signin h1 { font-size: 2.2rem; margin-bottom: 10px; text-align: center; }
.signin .lede { margin: 0 0 28px; text-align: center; }
.signin form + p, .signin .after { margin-top: 22px; color: var(--muted); }
.signin .resend { margin-top: 26px; display: grid; justify-items: center; gap: 2px; font-size: 0.95rem; color: var(--muted); }
.signin .resend p { margin: 0 0 4px; }
.signin .resend a, .text-button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.text-button { padding: 0; border: 0; background: none; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.text-button:hover { text-decoration-thickness: 2px; }
.text-button[disabled] { color: var(--muted); text-decoration: none; cursor: default; font-variant-numeric: tabular-nums; }
.text-button .spinner { width: 14px; height: 14px; }
form[aria-busy] .button { cursor: progress; }

.empty { color: var(--muted); padding: 6px 0 18px; }
.loading { width: 28px; height: 28px; margin: 18vh auto 0; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; opacity: 0; animation: appear .2s .35s forwards, spin .8s linear infinite; }
@keyframes appear { to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .loading { opacity: 1; }
  .card::after { display: none; }
}

@media (forced-colors: active) {
  .card, .notice, .panel, .plan, .offer, .list, .agree, .tabs, .ticket-main, .ticket-window { border: 1px solid CanvasText; }
  .visit-strip i { background: GrayText; }
  .visit-strip i.on { background: Highlight; }
}

:root { --accent: #c59d5f; --on-accent: #0f0f0f; --heading: "Brand Heading", var(--serif); --heading-weight: 400; }
