/* A venue's booking page (expansion 2026-10-04): /venues/{slug}. What's on as a four week grid, then the two forms. */
.vb { max-width: 760px; margin: 0 auto; padding: 2.6rem clamp(1rem, 4vw, 2rem) 2rem; }
.vb-head { margin-bottom: 2rem; }
.vb-head h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin: 0 0 .5rem; overflow-wrap: anywhere; }
.vb-where { display: flex; flex-wrap: wrap; gap: .2rem 1rem; color: var(--ink-2); margin: 0 0 1.2rem; font-size: .95rem; }
.vb-where a { color: var(--ink); font-weight: 600; }

.vb-cal { margin-bottom: 2.4rem; }
.vb-cal-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 1rem; margin-bottom: .7rem; }
.vb-cal-head h2 { margin: 0; font-size: 1.4rem; }
.vb-cal-head p { margin: 0; }
.vb-grid { display: flex; flex-direction: column; gap: 4px; }
.vb-dow, .vb-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.vb-dow span { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: .2rem 0; }
.vb-day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .25rem; min-height: 54px;
  padding: .45rem .1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none;
  transition: border-color .15s var(--ease), background .15s var(--ease); }
.vb-day b { font-family: var(--font); font-size: .95rem; font-weight: 600; line-height: 1; }
.vb-day .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin: 0 1px; }
.vb-day .dot.open { background: var(--accent); }
.vb-day .dot + .dot { margin-top: -.1rem; }
a.vb-day:hover { border-color: var(--ink); }
.vb-day.is-today { border-color: var(--ink); }
.vb-day.is-today b::after { content: ""; display: block; width: 14px; height: 2px; background: var(--accent); margin: 3px auto 0; border-radius: 2px; }
.vb-day.has-open { background: var(--accent-soft); }
.vb-day.is-picked { background: var(--ink); border-color: var(--ink); color: #fff; }
.vb-day.is-picked .dot { background: #fff; }
.vb-day.is-picked .dot.open { background: var(--accent-2); }
.vb-day.is-off { background: transparent; border-color: transparent; color: var(--ink-3); opacity: .55; }
.vb-key { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .5rem; margin: .7rem 0 1.4rem; }
.vb-key .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.vb-key .dot.open { background: var(--accent); margin-left: .6rem; }

.vb-agenda { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.vb-agenda h3 { margin: 0 0 .45rem; font-family: var(--font); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.vb-item { display: flex; align-items: baseline; gap: .8rem; padding: .8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .45rem; }
.vb-time { flex: 0 0 4.2rem; font-weight: 600; color: var(--ink-2); font-size: .9rem; }
.vb-what { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.vb-what a, .vb-what b { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.vb-open { flex-shrink: 0; color: var(--accent); font-size: .82rem; font-weight: 700; }

.vb-book { scroll-margin-top: 80px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 4vw, 1.8rem); box-shadow: var(--shadow-sm); }
.vb-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--paper-2); border-radius: 999px; margin-bottom: 1.4rem; }
.vb-tabs button { appearance: none; border: 0; background: transparent; color: var(--ink-2); font: 600 .95rem var(--font); padding: .7rem .5rem; border-radius: 999px; cursor: pointer; }
.vb-tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.vb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.vb-pick { border: 0; margin: 0 0 1.1rem; padding: 0; min-width: 0; }
.vb-pick legend { font-weight: 600; font-size: .9rem; margin-bottom: .5rem; padding: 0; }
.vb-pick label { display: inline-flex; align-items: center; gap: .45rem; margin: 0 .4rem .45rem 0; padding: .55rem .85rem; border: 1px solid var(--line);
  border-radius: 999px; font-size: .9rem; cursor: pointer; background: var(--paper); }
.vb-pick label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.vb-pick input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.vb-pick label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.vb-dj { border: 1px dashed var(--accent); border-radius: var(--radius-sm); margin: 0 0 1.1rem; padding: 1rem 1rem .1rem; background: var(--accent-soft); min-width: 0; }
.vb-dj > legend { font-weight: 700; font-size: .9rem; padding: 0 .4rem; color: var(--accent); }
.vb-dj .vb-pick label { background: #fff; }
.vb-form .btn { width: 100%; justify-content: center; }
.vb-note { margin: .7rem 0 0; text-align: center; }
.vb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vb-foot { text-align: center; margin: 2rem 0 0; }
.vb-form[hidden], .vb-dj[hidden] { display: none; }

@media (max-width: 560px) {
  .vb { padding-top: 1.6rem; }
  .vb-row { grid-template-columns: 1fr; }
  .vb-day { min-height: 46px; padding: .35rem 0; }
  .vb-day b { font-size: .85rem; }
  .vb-day .dot { width: 6px; height: 6px; }
  .vb-time { flex-basis: 3.6rem; }
  .vb-head .cta-row .btn { flex: 1 1 auto; justify-content: center; }
}

/* the venue's side: /venue/requests */
.vr-h { font-size: 1.1rem; margin: 1.6rem 0 .7rem; }
.vr-list { display: flex; flex-direction: column; gap: .8rem; margin: 0 0 2rem; }
.vr-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; scroll-margin-top: 80px; }
.vr-card.is-overdue { border-color: var(--danger); }
.vr-top { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin-bottom: .5rem; }
.vr-top h3 { margin: 0; font-size: 1.15rem; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.vr-tag { background: var(--accent-soft); color: var(--accent); }
.vr-clock { font-size: .82rem; font-weight: 700; color: var(--ok); }
.vr-card.is-overdue .vr-clock { color: var(--danger); }
.vr-facts { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; margin: 0 0 .8rem; font-size: .92rem; }
.vr-facts dt { color: var(--ink-3); }
.vr-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.vr-msg { white-space: pre-line; background: var(--paper); border-radius: var(--radius-sm); padding: .7rem .9rem; margin: 0 0 .8rem; font-size: .92rem; }
.vr-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.vr-actions form { margin: 0; }
.vr-empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.4rem; text-align: center; color: var(--ink-2); }

/* RSVP for a night: a link on each agenda day, and the short form under the calendar */
.vb-agenda-head { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.vb-rsvp-link { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.vb-rsvp-link:hover, .vb-rsvp-link:focus-visible { text-decoration: underline; }
.vb-rsvp { margin-bottom: 2.4rem; }
.vb-rsvp h2 { margin: 0 0 .9rem; font-size: 1.4rem; }
.vb-rsvp-form select { width: 100%; }
.vb-rsvp-form .btn { width: 100%; justify-content: center; margin-top: .4rem; }

/* The door list (/venue/rsvps) */
.vd-list { list-style: none; margin: 0 0 1.6rem; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.vd-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; padding: .7rem 1rem; border-top: 1px solid var(--line); }
.vd-list li:first-child { border-top: 0; }
.vd-list a { margin-left: auto; overflow-wrap: anywhere; }

/* Book a party in three steps (2026-10-31). Without JavaScript the steps stack; with it, one shows at a time. */
.vb-day .dot.held, .vb-key .dot.held { background: transparent; box-shadow: inset 0 0 0 2px var(--ink-2); }
.vb-key .dot.held { margin-left: .6rem; }
.vb-day.is-picked .dot.held { box-shadow: inset 0 0 0 2px #fff; }
.vb-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 1.2rem; padding: 0; counter-reset: vbs; }
.vb-steps li { counter-increment: vbs; font-size: .82rem; font-weight: 600; color: var(--ink-3); padding-top: .5rem; border-top: 3px solid var(--line); }
.vb-steps li::before { content: counter(vbs) " "; }
.vb-steps li.on { color: var(--ink); border-top-color: var(--accent); }
.vb-steps li.done { color: var(--ink-2); border-top-color: var(--ink); }
.vb-step { border: 0; margin: 0 0 1.2rem; padding: 0; min-width: 0; }
.vb-step > legend { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin: 0 0 .8rem; padding: 0; }
.vb-form.is-stepped .vb-step { display: none; margin: 0; }
.vb-form.is-stepped .vb-step.is-on { display: block; }
.vb-step-nav, .vb-send { display: flex; gap: .6rem; margin-top: .4rem; }
.vb-step-nav[hidden] { display: none; }
.vb-step-nav .btn, .vb-send .btn { width: auto; flex: 1 1 auto; }
.vb-step-nav .btn-ghost, .vb-send .btn-ghost { flex: 0 0 auto; }
.vb-recap { margin: -.3rem 0 1rem; color: var(--ink-2); }
.vb-sent .vb-receipt { display: block; margin-top: .35rem; font-weight: 400; }

/* the venue's side: one tap replies, and the booking link to hand out */
.vr-replies { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .6rem; }
.vr-next { margin: 0 0 .7rem; font-size: .92rem; }
.vr-link { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; margin: 0 0 1.2rem; }
.vr-link code { font-size: .9rem; overflow-wrap: anywhere; min-width: 0; flex: 1 1 14rem; }

/* the sample venue (/venue/demo): a plain band that says so, then the venue's card and Book it */
.vb-sample { margin: 0 0 1.2rem; padding: .75rem 1rem; border-left: 3px solid var(--accent); background: var(--accent-soft); color: var(--ink); font-size: .95rem; }
.vb-demo .vb-head h1 { font-family: var(--font-display); }
.vb-demo .lede { color: var(--ink-2); max-width: 40rem; }
.vb-demo-book { margin: 0 0 2rem; }
.vb-demo-book .btn { width: 100%; justify-content: center; }
.vb-demo-next { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; }

/* the venue's own logo next to its name, when it set one on its profile */
.vb-title { display: flex; align-items: center; gap: .9rem; }
.vb-title h1 { min-width: 0; overflow-wrap: anywhere; }
.vb-logo { flex: none; width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; background: var(--paper-2); }
