/* The web host page. The same palette as the web guest pages (g/lib.php). */
:root { --paper:#F5F4F0; --ink:#1B1A17; --muted:#6E675C; --accent:#EF634D; --accent-dark:#D4513C; --line:#E7E3D8; --ok:#2E7D4F; --bad:#B3321F; }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; min-height:100vh; padding:16px 16px 48px; background:var(--paper); color:var(--ink); font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; }
.wrap { max-width:680px; margin:0 auto; }
.top { display:flex; align-items:center; gap:12px; margin:0 0 16px; }
.brand { font-weight:800; color:var(--ink); text-decoration:none; margin-right:auto; }
.who { color:var(--muted); font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.card { background:#fff; border:1px solid var(--line); border-radius:20px; padding:24px 20px; margin:0 0 16px; }
.eyebrow { margin:0 0 6px; font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); font-weight:700; }
h1 { margin:0 0 8px; font-size:28px; line-height:1.15; }
h2 { margin:0 0 12px; font-size:19px; }
h2.section { margin:28px 4px 12px; font-size:15px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
p { margin:0 0 14px; color:var(--muted); }
.big { margin:0 0 4px; font-size:30px; line-height:1.1; font-weight:800; color:var(--ink); }
label.field { display:block; margin:14px 0 6px; font-weight:700; }
.opt { font-weight:400; color:var(--muted); }
input[type=text], input[type=email], select { width:100%; padding:13px 14px; font:inherit; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:14px; }
input[type=file] { width:100%; padding:10px 0; font:inherit; }
input:focus, select:focus { outline:2px solid var(--accent); outline-offset:1px; }
.check { display:flex; gap:10px; align-items:flex-start; margin:14px 0 0; font-size:15px; }
.check input { margin-top:4px; }
.btn { display:block; width:100%; min-height:52px; padding:13px 18px; margin:14px 0 0; border:1px solid transparent; border-radius:14px; font:inherit; font-weight:700; text-align:center; text-decoration:none; cursor:pointer; }
.btn + .btn { margin-top:10px; }
.btn-primary { background:var(--accent); color:#fff; }
.btn-primary:hover { background:var(--accent-dark); }
.btn-quiet { background:var(--paper); color:var(--ink); border-color:var(--line); }
.btn[disabled] { opacity:.55; cursor:default; }
.link { border:0; background:none; padding:6px 0; font:inherit; color:var(--muted); text-decoration:underline; cursor:pointer; }
.note { font-size:14px; }
.notice { padding:12px 14px; border-radius:14px; background:#fff; border:1px solid var(--line); color:var(--ink); }
.error { color:var(--bad); font-weight:600; }
.list { display:grid; gap:12px; }
.event { display:grid; grid-template-columns:96px 1fr; gap:14px; background:#fff; border:1px solid var(--line); border-radius:18px; padding:12px; }
.event img { width:96px; height:96px; object-fit:cover; border-radius:12px; background:var(--line); }
.event h3 { margin:2px 0 4px; font-size:17px; overflow-wrap:anywhere; }
.event p { margin:0 0 8px; font-size:14px; }
.actions { display:flex; flex-wrap:wrap; gap:8px; grid-column:1 / -1; }
.actions .btn { width:auto; min-height:40px; margin:0; padding:8px 14px; font-size:14px; }
.actions select { width:auto; padding:8px 10px; font-size:14px; }
.foot { margin:28px 0 0; font-size:13px; text-align:center; }
.foot a { color:var(--muted); }
dialog { max-width:360px; width:calc(100% - 32px); border:1px solid var(--line); border-radius:20px; padding:22px; color:var(--ink); }
dialog::backdrop { background:rgba(27,26,23,.45); }
dialog img { display:block; margin:0 auto 12px; width:240px; height:240px; image-rendering:pixelated; }
.btn-apple { background:#000; color:#fff; }
.or { margin:14px 0 0; text-align:center; font-size:14px; }
.seat-card { margin:14px 0 0; padding:14px; border:1px solid var(--line); border-radius:14px; background:var(--paper); }
.seat-title { margin:0 0 4px; font-weight:700; color:var(--ink); }
.controls { margin:18px 0 0; padding:12px 14px; border:1px solid var(--line); border-radius:14px; }
.controls summary { cursor:pointer; font-weight:700; }
.controls[open] summary { margin-bottom:4px; }
dialog.wide { max-width:640px; max-height:calc(100vh - 32px); overflow-y:auto; }
.grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(88px, 1fr)); gap:8px; margin:8px 0 0; }
.pick { position:relative; padding:0; border:3px solid transparent; border-radius:12px; background:var(--line); cursor:pointer; aspect-ratio:1; overflow:hidden; }
.pick img { display:block; width:100%; height:100%; object-fit:cover; margin:0; image-rendering:auto; }
.pick[aria-pressed="true"] { border-color:var(--accent); }
.pick[aria-pressed="true"]::after { content:"\2713"; position:absolute; top:4px; right:4px; width:22px; height:22px; border-radius:11px; background:var(--accent); color:#fff; font-size:14px; line-height:22px; text-align:center; }
.order p { margin:0 0 4px; }
@media (prefers-color-scheme: dark) {
  :root { --paper:#141311; --ink:#F2EFE8; --muted:#A79F92; --line:#2E2B26; }
  .card, .event, .notice, input[type=text], input[type=email], select, dialog { background:#1D1B18; }
  dialog img { background:#fff; }
  .btn-apple { background:#fff; color:#000; }
  .seat-card { background:#141311; }
}
