:root {
  --bg: #f4f2ee;
  --card: #ffffff;
  --ink: #1a1a1a;
  --muted: #5f5f5f;
  --line: #e2ded6;
  --accent: #1a1a1a;
  --ok: #1e6b3a;
  --warn: #8a5a00;
  --err: #a1162b;
  --focus: #2a5bd7;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 Arial, Helvetica, sans-serif; }
.wrap { max-width: 640px; margin: 0 auto; padding: 16px; }
header.brand { padding: 20px 16px 8px; max-width: 640px; margin: 0 auto; font-family: Georgia, 'Times New Roman', serif; font-size: 22px; letter-spacing: 1px; }
header.brand img { height: 36px; width: auto; display: block; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 20px; margin: 12px 0; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: normal; font-size: 26px; line-height: 1.25; margin: 4px 0 12px; }
h2 { font-size: 18px; margin: 18px 0 8px; }
.muted { color: var(--muted); }
.invite-img { display: block; width: 100%; height: auto; border-radius: 4px; margin: 4px 0 16px; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 12px 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }
.seats { font-weight: bold; margin: 12px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 4px; }
button, .btn { appearance: none; font: inherit; font-size: 17px; padding: 13px 20px; border-radius: 5px; border: 1px solid var(--accent); cursor: pointer; text-decoration: none; display: inline-block; text-align: center; min-height: 48px; }
button.primary, .btn.primary { background: var(--accent); color: #fff; }
button.secondary, .btn.secondary { background: #fff; color: var(--ink); }
button.selected { outline: 3px solid var(--focus); outline-offset: 2px; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
label { display: block; margin: 10px 0 4px; }
input[type=text], input[type=search], input[type=password], input[type=tel] { font: inherit; width: 100%; padding: 12px; border: 1px solid #bdb7ab; border-radius: 5px; background: #fff; }
fieldset { border: 0; padding: 0; margin: 16px 0 0; }
legend { font-weight: bold; padding: 0; margin-bottom: 6px; }
.radios { display: flex; gap: 10px; flex-wrap: wrap; }
.radios label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; min-height: 48px; }
.notice { padding: 12px 14px; border-radius: 5px; margin: 12px 0; }
.notice.ok { background: #e7f4ec; color: var(--ok); }
.notice.warn { background: #fff4dc; color: var(--warn); }
.notice.err { background: #fbe9ec; color: var(--err); }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
footer { max-width: 640px; margin: 0 auto; padding: 8px 16px 32px; font-size: 13px; color: var(--muted); }
footer a { color: var(--muted); }
.qr { display: flex; justify-content: center; margin: 12px 0; }
.qr img, .qr svg { width: 240px; height: 240px; image-rendering: pixelated; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.list { list-style: none; padding: 0; margin: 8px 0; }
.list li button { width: 100%; text-align: left; background: #fff; color: var(--ink); border-color: var(--line); margin: 4px 0; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 13px; background: #eee; }
.badge.ok { background: #e7f4ec; color: var(--ok); }
.badge.err { background: #fbe9ec; color: var(--err); }
video { width: 100%; border-radius: 6px; background: #000; }
@media (max-width: 420px) {
  h1 { font-size: 22px; }
  .actions button, .actions .btn { flex: 1 1 100%; }
  dl.facts { grid-template-columns: 1fr; gap: 0; }
  dl.facts dd { margin-bottom: 8px; }
}
header.brand a { color: inherit; text-decoration: none; }
select { font: inherit; width: 100%; padding: 11px 12px; border: 1px solid #bdb7ab; border-radius: 5px; background: #fff; color: var(--ink); min-height: 48px; }
