/* KORA public events site (phases 1 and 2). Light, plain, readable on a phone first. */
:root {
  --bg: #f6f6f4; --card: #ffffff; --ink: #15171c; --muted: #5b6270; --line: #e3e4e0;
  --accent: #0f766e; --accent-soft: #e6f4f2; --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--font); }
a { color: var(--accent); }
img { max-width: 100%; display: block; }

.top { padding: 18px 16px; border-bottom: 1px solid var(--line); background: var(--card); }
/* v3.151.0: the brand, and a link back to the studio's main website on the right */
.top-in { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; max-width: 1040px; margin: 0 auto; }
.top-home { color: var(--muted); font-size: 15px; text-decoration: none; white-space: nowrap; }
.top-home:hover { color: var(--accent); text-decoration: underline; }
.brand { display: block; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand span { color: var(--accent); font-weight: 700; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 28px 16px 56px; }
.foot { max-width: 1040px; margin: 0 auto; padding: 24px 16px 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }

.page-title { margin: 0 0 20px; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; }
.empty { color: var(--muted); }

/* the listing: one column on a phone, then two, then three */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .cards { grid-template-columns: 1fr 1fr 1fr; } }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
          overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.card a:hover, .card a:focus-visible { box-shadow: 0 10px 28px rgba(20, 24, 40, .10); transform: translateY(-1px); }
.card-pic { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--accent-soft); }
.card-pic.blank { display: block; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.card-title { font-size: 20px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.when { color: var(--accent); font-weight: 700; font-size: 15px; }
.where, .summary { color: var(--muted); font-size: 15px; }
.more { margin-top: auto; padding-top: 10px; color: var(--accent); font-weight: 700; font-size: 15px; }

/* v3.99.3 (Brian: "add a border to the content and the outside is falling snow like the kiosk"): the sponsor's page and
   the guests' own pages (body.is-card) sit in a white card on a wide screen; for a winter event (words.wintry) snow falls
   around it (static/snow.js, the kiosk's flakes on a canvas behind the page; only while the card shows). */
#snow { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: none; }
body.is-card .top, body.is-card .wrap, body.is-card .foot { position: relative; z-index: 1; }
@media screen and (min-width: 760px) {
  body.is-card .wrap { max-width: 760px; margin: 36px auto; padding: 36px 48px 44px; background: var(--card); border: 1px solid #e5e7eb;
                       border-radius: 28px; box-shadow: 0 30px 80px rgba(20, 24, 40, .14); }
  body.is-card .foot { border-top: 0; text-align: center; }
  body.is-snow { background: #eef2f6; }
}

/* an event's page */
.back { margin: 0 0 14px; font-size: 15px; }
.back a { text-decoration: none; }
.event { max-width: 720px; }
.hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; background: var(--accent-soft); }
.event h1 { margin: 2px 0 10px; font-size: 34px; line-height: 1.12; letter-spacing: -.02em; }
.event .when { margin: 0; font-size: 16px; }
.event .where { margin: 0 0 18px; color: var(--ink); }
.map { display: inline-block; margin-top: 4px; font-size: 15px; font-weight: 600; }
.note { padding: 12px 14px; border-radius: 10px; background: #fff7ed; color: #9a3412; font-weight: 600; }
.about p { margin: 0 0 14px; }
.days, .book { margin-top: 26px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.days h2, .book h2 { margin: 0 0 10px; font-size: 19px; }
.days ul { list-style: none; margin: 0; padding: 0; }
.days li { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.days li:first-child { border-top: 0; padding-top: 0; }
.days li span { color: var(--muted); }
.days li small { flex-basis: 100%; color: var(--muted); font-size: 14px; }
.book p { margin: 0; color: var(--muted); }
.error { max-width: 560px; }
.error h1 { margin: 0 0 8px; font-size: 28px; }

/* booking (phase 2): the times as chips, the guest's details, the spam check */
.book .book-lead { margin: 0 0 18px; color: var(--muted); }
.book-form fieldset { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.book-form legend { padding: 0; margin: 0 0 10px; font-weight: 800; font-size: 17px; }
.slot-day { margin: 0 0 14px; }
.slot-day h3 { margin: 0 0 8px; font-size: 15px; color: var(--muted); font-weight: 700; }
.slot-none { margin: 0; color: var(--muted); font-size: 15px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { position: relative; display: block; cursor: pointer; }
.slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 6px 4px;
        border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); text-align: center; line-height: 1.2; }
.chip b { font-size: 15px; }
.chip small { color: var(--muted); font-size: 12px; }
.slot:hover .chip { border-color: var(--accent); }
.slot input:checked + .chip { border-color: var(--accent); background: var(--accent); color: #fff; }
.slot input:checked + .chip small { color: #e6f4f2; }
.slot input:focus-visible + .chip { outline: 2px solid var(--accent); outline-offset: 2px; }
.slot.is-full, .slot.is-closed, .slot.is-mine { cursor: default; }
.slot.is-full .chip, .slot.is-closed .chip { background: #f1f1ee; color: #9aa0aa; border-style: dashed; }
.slot.is-full:hover .chip, .slot.is-closed:hover .chip { border-color: var(--line); }
.slot.is-mine .chip, .slot.is-mine:hover .chip { border-color: var(--accent); background: var(--accent-soft); }
.details { display: grid; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field span { font-weight: 700; font-size: 15px; }
.field small { color: var(--muted); font-size: 13px; }
.field input { width: 100%; padding: 12px; font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 1.5px solid var(--line);
               border-left: 6px solid #5eead4; border-radius: 10px; }
.field.is-pet input { border-left-color: #f59e0b; }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: #dc2626; }
.field .field-error, .book .field-error { color: #b91c1c; font-weight: 600; font-size: 14px; margin: 0 0 8px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.consent input { flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.form-error, .book .form-error { padding: 12px 14px; border-radius: 10px; background: #fef2f2; color: #991b1b; font-weight: 600; margin: 0 0 14px; }
.cf-turnstile { margin: 4px 0 14px; min-height: 65px; }
.book-submit { display: inline-block; padding: 13px 22px; border: 0; border-radius: 10px; background: var(--accent); color: #fff;
               font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; }
.book-submit:hover { filter: brightness(1.08); }
.book-submit.is-danger { background: #b91c1c; }
.book-small, .book .book-small { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

/* a guest's own booking (/r/…) */
.done { padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); color: #134e4a; margin: 0 0 18px; }
.done.is-off { background: #fff7ed; color: #9a3412; }
.facts { margin: 14px 0 0; padding: 4px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.facts div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts small { color: var(--muted); }
.cancel-link { margin: 18px 0 0; }
.cancel-link a { color: #b91c1c; font-weight: 600; }
.cancel-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }
.privacy h2 { margin: 22px 0 6px; font-size: 19px; }
.privacy p { margin: 0 0 10px; }
/* staff answers (v3.71.0, templates/staff.html) */
.staff-form { margin: 18px 0 8px; }
.staff-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.staff-buttons .book-submit { min-width: 160px; font-size: 17px; }
.book-submit.is-quiet { opacity: .55; }
.staff-dates { display: grid; gap: 8px; margin: 6px 0 4px; }
.staff-date { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: 17px; }
.staff-date input { width: 20px; height: 20px; accent-color: var(--accent); }
.staff-ask .small { color: var(--muted); font-size: 14px; margin-top: 16px; }
/* quote details (v3.72.0, templates/quote.html): one question at a time (quote.js; quote-nojs.css shows them all) */
.q { max-width: 560px; margin: 0 auto; }
.q-for { margin: 0 0 10px; color: var(--accent); font-weight: 700; font-size: 15px; }
.q-progress { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.q-bar { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.q-bar i { display: block; height: 100%; width: 20%; background: var(--accent); border-radius: 99px; transition: width .25s; }
.q-step { display: none; }
.q-step.is-on { display: grid; gap: 14px; }
.q-step h1 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; outline: none; }
.q-hi { margin: 0; color: var(--muted); }
.q-sub { margin: -6px 0 0; color: var(--muted); font-size: 15px; }
.q-ask { margin: 6px 0 0; font-weight: 700; font-size: 15px; }
.q-ask small { font-weight: 400; color: var(--muted); }
.q-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.q-chips.is-big { display: grid; grid-template-columns: repeat(3, 1fr); }
.q-chips.is-stacked { flex-direction: column; }
.q-chip { position: relative; cursor: pointer; }
.q-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q-chip span { display: flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 12px;
               background: var(--card); font-size: 17px; font-weight: 600; text-align: center; }
.q-chips.is-small .q-chip span { min-height: 40px; padding: 7px 12px; font-size: 15px; font-weight: 600; }
.q-date .q-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 480px) { .q-date .q-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.q-date .q-chip span { padding: 7px 4px; font-size: 15px; line-height: 1.2; }
.q-step > *, .q-date > *, .quote-row > * { min-width: 0; }
.q .field input { min-width: 0; }
.q-chips.is-big .q-chip span { min-height: 58px; font-size: 20px; }
.q-chips.is-stacked .q-chip span { text-align: left; align-items: flex-start; }
.q-chip span small { color: var(--muted); font-weight: 400; font-size: 14px; }
.q-chip:hover span { border-color: var(--accent); }
.q-chip input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.q-chip input:checked + span small { color: #e6f4f2; }
.q-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.q-chip.is-unsure span { font-weight: 500; color: var(--muted); border-style: dashed; }
.q-chip.is-unsure input:checked + span { color: #fff; border-style: solid; }
.q-chips.is-big .q-chip.is-unsure { grid-column: span 2; }
.q-date { display: grid; gap: 8px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.q-date.is-extra, .q-other[hidden], .q-elsewhere[hidden], .q-room[hidden], .quote-file[hidden], .q-card[hidden], .q-alert[hidden], .q-link[hidden] { display: none; }
.q-or { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.q-more summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 15px; }
.q-more[open] summary { margin-bottom: 8px; }
.q-link { justify-self: start; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.q-card { padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.q-card p { margin: 0 0 8px; }
.q-who { display: grid; gap: 12px; }
.q-who.is-folded { display: none; }
.q-elsewhere, .q-room { display: grid; gap: 12px; }
.q-hidden-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.q-nav { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 8px; }
.q-nav .book-submit { flex: 1; max-width: 320px; margin-left: auto; }
.q-back { padding: 12px 6px; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; }
.q-done { padding: 22px; background: var(--accent-soft); border-radius: var(--radius); color: #134e4a; }
.q-done h1 { margin: 0 0 6px; font-size: 28px; }
.q-done p { margin: 0 0 8px; }
.q-small { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.q .field select, .q .field textarea { width: 100%; padding: 12px; font: inherit; font-size: 17px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-left: 6px solid #5eead4; border-radius: 10px; }
.q .field textarea { resize: vertical; line-height: 1.4; }
.q .field input[type="date"], .q .field input[type="time"] { min-height: 48px; }
.quote-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.quote-file { display: grid; gap: 6px; padding: 2px 0 6px 14px; }
.quote-file small { color: var(--muted); font-size: 13px; }
/* The sponsor's page (v3.78.0, portal.html): the list of what the event still needs, then the form's questions. */
.p-home { display: grid; gap: 14px; }
.p-home[hidden] { display: none; }
.p-home h1 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.p-progress { width: 100%; height: 8px; accent-color: var(--accent); }
/* v3.102.0: the booking confirmed, or what's left (the agreement signed, the deposit paid), above the event's details */
.p-booking { display: grid; gap: 10px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }   /* v3.102.1: calm, not a warning */
.p-booking.is-booked { gap: 2px; padding: 0 2px; background: none; border: 0; }      /* 2026-11-17: confirmed is a quiet line, not a second card */
.p-booking-h { margin: 0; font-family: var(--serif, inherit); font-size: 22px; line-height: 1.25; font-weight: 500; }
.p-booking.is-booked .p-booking-h { font-family: inherit; font-size: 16px; font-weight: 700; color: var(--accent); }
.p-booking-balance { margin: 0; font-size: 14px; color: var(--muted); }
.p-booking-steps { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-weight: 600; }
.p-booking-steps li { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; align-items: center; }
.p-booking-steps li::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--muted); border-radius: 50%; }   /* 2026-11-17: a ring, filled once done */
.p-booking-steps li.is-done { color: var(--muted); }
.p-booking-steps li.is-done::before { border-color: var(--accent); background: var(--accent); }
.p-details-h { margin: 10px 0 0; font-size: 18px; }
.p-items { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.p-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 14px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); }
.p-mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.p-item.is-missing .p-mark { background: none; border: 1.5px solid var(--line); }   /* 2026-11-17: an empty ring (no dashes) */
.p-what { display: grid; gap: 2px; min-width: 0; }
.p-what small { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.p-finish { justify-self: stretch; text-align: center; }
.q-progress[hidden] { display: none; }
.q-nav [hidden] { display: none; }
/* The interest poll (v3.81.0, poll.html) and its place on the sponsor's page. */
.poll-picture { width: 100%; max-height: 260px; object-fit: cover; border-radius: var(--radius); margin: 0 0 14px; }
.poll-h { margin: 0 0 6px; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.poll-form { display: grid; gap: 18px; margin-top: 16px; }
.poll-q { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.poll-q legend { margin: 0 0 8px; padding: 0; font-weight: 700; font-size: 16px; }
.poll-q legend small, .p-poll small { color: var(--muted); font-weight: 400; }
.poll-pets { display: grid; gap: 18px; }
.poll-pets[hidden] { display: none; }
.poll-private { margin: 0; }
.poll-send { justify-self: stretch; text-align: center; }
.p-poll { display: grid; gap: 12px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.p-poll h2 { margin: 0; font-size: 22px; }
.p-share { display: grid; gap: 8px; }
.p-share input, .p-share textarea { font-size: 14px; }
.p-qr { display: flex; gap: 14px; align-items: center; font-size: 14px; color: var(--muted); }
.p-qr img { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.p-tally { display: grid; gap: 4px; margin: 0; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.p-tally div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; font-size: 15px; }
.p-tally dt { color: var(--muted); }
.p-tally dd { margin: 0; }
.p-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
/* What a sponsor sends besides the questions (v3.82.0, portal.html): their guests' names, a list, the add-ons. */
.p-more { display: grid; gap: 10px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.p-more h2 { margin: 0; font-size: 22px; }
.p-more h2 small { color: var(--muted); font-weight: 400; font-size: 15px; }
.p-way { padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.p-names, .p-file, .p-addons { display: grid; gap: 8px; margin-top: 10px; }
.p-name-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 6px; }
.p-name-row input[type="email"] { grid-column: 1 / -1; }
@media (min-width: 560px) { .p-name-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.4fr); } .p-name-row input[type="email"] { grid-column: auto; } }
.p-name-row input { min-width: 0; font-size: 15px; padding: 9px 10px; }
.p-later { margin: 0; }
/* v3.98.0: the sponsor's page is the checklist; what's optional is in a menu beside it (a ☰ on a phone), each a panel
   shown by :target (portal.html, portal.js). v3.99.2 (Brian: the side list "pushes it off center"): the ☰ More menu on
   every width, the page one centred column. */
.p-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.p-top .q-for { margin: 0; min-width: 0; }
.p-main, .p-col { display: grid; gap: 14px; }
.p-extra { display: none; }
.p-extra:target, .p-extra.is-open, .p-extra:has(:target) { display: grid; }   /* :has(:target): a link to one item (#ask-venue) opens its panel */
.p-col:has(.p-extra:target) > .p-main, .p-col:has(.p-extra.is-open) > .p-main, .p-col:has(.p-extra :target) > .p-main { display: none; }
.p-extra.p-more, .p-extra.p-poll, .p-extra.p-write { margin-top: 0; padding-top: 0; border-top: 0; scroll-margin-top: 16px; }
.p-back { justify-self: start; font-size: 15px; text-decoration: none; }
.p-poll h2 small { font-size: 15px; }
/* 2026-11-17: a line for each part of the page (its name, where it's at, an arrow), where ☰ More was; the optional
   ones open under More for your event, the same lines */
.p-parts { display: grid; margin-top: 6px; }
.p-menu { display: grid; margin: 0; padding: 0; list-style: none; }
.p-menu a { display: flex; align-items: baseline; gap: 4px 16px; flex-wrap: wrap; padding: 14px 2px; border-top: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 16px; }
.p-menu a b { font-weight: 600; }
.p-menu small { margin-left: auto; color: var(--muted); font-size: 14px; text-align: right; }
.p-menu small::after { content: "›"; margin-left: 10px; color: var(--accent); font-size: 17px; }
.p-menu a:hover b, .p-menu a:focus-visible b { color: var(--accent); }
.p-burger { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-burger summary { display: flex; align-items: baseline; padding: 14px 2px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--muted); }
.p-burger summary::-webkit-details-marker { display: none; }
.p-burger summary::after { content: "+"; margin-left: auto; color: var(--accent); font-size: 18px; font-weight: 400; }
.p-burger[open] summary::after { content: "–"; }
.p-burger[open] summary { color: var(--ink); }
/* v3.99.0: the guests' invitations and the event's pictures, two more panels of the menu */
.p-links { margin: 0; font-size: 15px; }
.p-invites { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.p-inv { display: grid; gap: 6px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.p-inv-who { display: grid; gap: 2px; }
.p-inv-who small { color: var(--muted); font-size: 13px; }
.p-inv.is-signed_up .p-inv-who small, .p-inv.is-booked .p-inv-who small { color: var(--ok, #1d7a3a); font-weight: 600; }
.p-inv.is-failed .p-inv-who small { color: var(--bad, #b3261e); }
/* v3.101.0: one line a guest (Send, Edit); Edit opens under it across the line; over ten guests, Find and the filters */
.p-inv { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 14px; }
.p-inv[hidden], .p-inv-tools[hidden] { display: none; }
.p-inv-send { margin: 0; }
.p-inv-edit[open] { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid var(--line); }
.p-inv-edit > summary { list-style: none; text-align: right; }
.p-inv-edit > summary::-webkit-details-marker { display: none; }
.p-inv-edit .p-open, .p-inv-edit[open] .p-shut { display: none; }
.p-inv-edit[open] .p-open { display: inline; }
.p-inv-edit[open] > summary { font-weight: 600; color: var(--muted); }
.p-inv-form { display: grid; gap: 10px; margin-top: 4px; }
.p-inv-form label { display: grid; gap: 3px; min-width: 0; }
.p-inv-form label small { color: var(--muted); font-size: 13px; }
.p-inv-form .p-name-row label:last-child { grid-column: 1 / -1; }
.p-inv-form .book-submit { justify-self: start; padding: 10px 18px; }
.p-inv-drop { margin: 12px 0 2px; }
.p-inv-drop .q-link { color: var(--bad, #b3261e); font-weight: 600; }
.p-inv-tools { display: grid; gap: 8px; }
.p-inv-find { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.p-inv-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.p-inv-filter { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.p-inv-filter small { color: var(--muted); font-weight: 400; }
.p-inv-filter[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.p-inv-filter[aria-pressed="true"] small { color: #e6f4f2; }
.p-inv-more { justify-self: center; }
.p-add-h { margin: 6px 0 0; font-size: 17px; }
.p-ways { display: grid; gap: 12px; }
.p-way-box { display: grid; gap: 8px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.p-way-h { margin: 0; font-weight: 700; }
.p-way-h b { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 6px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; }
.p-add > summary { font-weight: 700; }
.p-change textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; resize: vertical; }
.p-or { display: flex; align-items: center; gap: 12px; margin: -2px 0; color: var(--muted); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.p-or::before, .p-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.p-add .p-ways { margin-top: 10px; }
.p-note { margin: 0; padding: 10px 12px; background: var(--card); border-left: 3px solid var(--accent); border-radius: 6px; font-size: 15px; }
.p-graphics { display: grid; gap: 14px; align-items: start; }
.p-graphics figure { margin: 0; display: grid; gap: 6px; }
.p-graphics img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.p-graphics figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.inv-lead { font-size: 17px; }
.inv-preview { border-left: 3px solid var(--accent); padding-left: 10px; }
@media (min-width: 640px) { .p-graphics { grid-template-columns: 1fr 1fr; } .p-inv-form .p-name-row label:last-child { grid-column: auto; } }
/* v3.90.0: what every guest asks (event.html) */
.good-to-know { margin: 0 0 22px; }
.good-to-know dl { margin: 0; display: grid; gap: 4px 14px; grid-template-columns: max-content 1fr; }
.good-to-know dt { font-weight: 600; }
.good-to-know dd { margin: 0; color: var(--muted); }
@media (max-width: 520px) { .good-to-know dl { grid-template-columns: 1fr; } .good-to-know dd { margin-bottom: 8px; } }
/* v3.106.0: Your documents (portal.html docs_body): one line each with Open and Download, the email's answer under an
   agreement that waits, the e-transfer details under an invoice that's due; kept after the event (.p-docs-kept) */
.p-docs-h { margin: 6px 0 0; font-size: 16px; }
.p-docs { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.p-doc { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 14px; padding: 10px 12px; background: var(--card);
         border: 1px solid var(--line); border-radius: 10px; }
.p-doc-what { display: grid; gap: 2px; min-width: 0; }
.p-doc-what small { color: var(--muted); font-size: 13px; }
.p-doc.is-agreed .p-doc-what small, .p-doc.is-paid .p-doc-what small, .p-doc.is-accepted .p-doc-what small { color: var(--ok, #1d7a3a); font-weight: 600; }
.p-doc.is-replaced, .p-doc.is-cancelled { opacity: .72; }
.p-doc-do { display: flex; gap: 14px; align-items: center; white-space: nowrap; }
.p-doc-do .p-doc-pay { padding: 8px 16px; font-size: 15px; }   /* v3.133.0: Pay by card, Square's own page */
.p-doc-do small { color: var(--muted); font-size: 13px; }
.p-doc-link { color: var(--accent); font-weight: 700; font-size: 15px; text-decoration: none; }
.p-doc-link:hover { text-decoration: underline; }
.p-doc-answer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); }
.p-doc-answer .book-submit { padding: 10px 20px; text-decoration: none; }
.p-doc-answer small { flex-basis: 100%; margin: 0; }
/* v3.110.0: signing on the page: their name as it's written, then I agree turns green */
.p-sign { display: grid; gap: 8px; justify-items: start; }
.p-sign-label { font-size: 15px; }
.p-sign-name { font-size: 17px; white-space: nowrap; }
.p-sign-input { width: 100%; max-width: 360px; padding: 11px 12px; font: inherit; font-size: 17px; color: var(--ink); background: #fff;
                border: 1.5px solid var(--line); border-radius: 10px; }
.p-sign-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.p-sign-input[aria-invalid="true"] { border-color: #dc2626; }
.p-sign .field-error { color: #b91c1c; font-weight: 600; font-size: 14px; margin: 0; }
.p-sign-do { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.p-sign-go:disabled { background: #9ca3af; cursor: not-allowed; filter: none; }
.p-sign-go.is-ready { background: #15803d; }
.p-signed p { margin: 0; color: var(--ok, #1d7a3a); font-weight: 600; }
/* v3.117.0: an updated agreement says what's new; the invitations' launch day on Invite your guests */
.p-doc-new { grid-column: 1 / -1; margin: 0; padding: 8px 10px; background: var(--accent-soft); border-radius: 8px; font-size: 14px; }
.p-launch { display: grid; gap: 8px; margin: 4px 0 12px; padding: 12px 14px; background: var(--accent-soft); border-radius: 10px; }
.p-launch p { margin: 0; }
.p-launch.is-out { background: var(--card); border: 1px solid var(--line); }
.p-launch-form { display: grid; gap: 8px; justify-items: start; margin-top: 8px; }
.p-launch-form input[type="date"] { padding: 10px 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; }
.p-launch-form input[aria-invalid="true"] { border-color: #dc2626; }
.p-launch-form .field-error { color: #b91c1c; font-weight: 600; font-size: 14px; margin: 0; }
.p-pay { display: grid; gap: 4px; padding: 12px 14px; background: var(--accent-soft); border-radius: 10px; }
.p-pay p { margin: 0; }
.p-pay-h { font-weight: 800; }
.p-docs-kept { display: grid; gap: 10px; margin: 18px 0; }
/* v3.166.0: the posters to print, under the pictures in Your event graphics */
.p-posters { display: grid; gap: 10px; margin-top: 22px; }
.p-docs-kept h2 { margin: 0; font-size: 22px; }
.p-booking-steps a { color: inherit; text-decoration-color: var(--accent); }
@media (max-width: 520px) { .p-doc { grid-template-columns: minmax(0, 1fr); } }

/* v3.172.0: Pixel, the help chat (templates/_chat.html, static/chat.js): a button at the bottom right, its panel above it;
   on a phone the panel takes the screen's width. */
.chat-btn { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px;
            border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: 700 16px/1 var(--font); cursor: pointer;
            box-shadow: 0 10px 28px rgba(15, 118, 110, .32); }
.chat-btn:hover { background: #0b5f59; }
.chat-btn:focus-visible, .chat-x:focus-visible, .chat-send:focus-visible, .chat-link:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: #a7f3d0; box-shadow: 0 0 0 3px rgba(167, 243, 208, .35); }
.chat.is-open .chat-btn { display: none; }
.chat-panel { position: fixed; right: 16px; bottom: 16px; z-index: 41; width: min(380px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 32px));
              display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
              box-shadow: 0 24px 64px rgba(20, 24, 40, .22); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 12px 10px 16px; background: var(--accent); color: #fff; }
.chat-head h2 { margin: 0; font-size: 16px; line-height: 1.25; }
.chat-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.chat-x:hover { background: rgba(255, 255, 255, .16); }
.chat-privacy { margin: 0; padding: 8px 16px; background: var(--accent-soft); color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.chat-log { list-style: none; margin: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; flex: 1; min-height: 120px; }
.chat-log li { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-log .is-pixel { align-self: flex-start; background: #f1f2ef; border-bottom-left-radius: 4px; }
.chat-log .is-you { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.chat-log .is-you a { color: #fff; }
.chat-log .is-note { align-self: center; max-width: 100%; background: transparent; color: var(--muted); font-size: 13px; text-align: center; padding: 2px 6px; }
.chat-log .is-typing { color: var(--muted); letter-spacing: .2em; }
.chat-ts:empty { display: none; }
.chat-ts { padding: 0 14px 8px; }
.chat-say { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.chat-say textarea, .chat-f input, .chat-f textarea { width: 100%; min-width: 0; padding: 9px 11px; border: 1px solid #cfd2cc; border-radius: 10px;
                                                     font: 15px/1.4 var(--font); color: var(--ink); background: #fff; resize: none; }
.chat-say textarea:focus, .chat-f input:focus, .chat-f textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.chat-send { flex: none; padding: 10px 14px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font: 700 15px/1 var(--font); cursor: pointer; }
.chat-send[disabled] { opacity: .55; cursor: default; }
.chat-leave { display: flex; flex-direction: column; gap: 8px; padding: 10px 14px 14px; border-top: 1px solid var(--line); }
.chat-leave[hidden], .chat-say[hidden], .chat-handoff[hidden] { display: none; }
/* v3.175.0 (H2): on a sponsor's page the question goes to the page's Write to Evelyn; a line in the page's slot opens Pixel */
.chat-handoff { display: flex; flex-direction: column; gap: 8px; padding: 10px 14px 14px; border-top: 1px solid var(--line); }
.p-pixel-line { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.p-pixel-line button { font: inherit; }
.chat-leave-why { margin: 0; font-size: 14px; color: var(--muted); }
.chat-f { display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-weight: 700; color: var(--muted); }
.chat-f[hidden] { display: none; }
.chat-f small { font-weight: 400; }
.chat-err { margin: 0; color: #b42318; font-size: 13.5px; }
.chat-err:empty { display: none; }
.chat-acts { display: flex; align-items: center; gap: 14px; }
.chat-link { border: 0; background: none; padding: 4px 0; color: var(--muted); font: 14px var(--font); text-decoration: underline; cursor: pointer; }
.chat-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 480px) {
  .chat-panel { right: 8px; left: 8px; bottom: 8px; width: auto; max-height: calc(100vh - 16px); }
  .chat-btn { right: 12px; bottom: 12px; }
}


/* v3.173.0 (part 2 of BUILD-SPECS/spec-evelyn-keeps-it-moving.md): the sponsor page's front — Your event, a locked item,
   Write to Evelyn, When you'll know (its countdown and month calendar went on 2026-11-17, below). */
/* 2026-11-17 (Brian: "it doesn't feel professional"): the front. Who it's for and the event's name; its facts in the
   emails' milk-tea card; the next step (the booking box, or .p-next) with the one filled button; the plan to event day,
   a dated line a step with who does it (in place of the countdown and the month calendar). */
.p-for { margin: 0 0 -8px; color: var(--muted); font-size: 14px; }
.p-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; margin: 0; padding: 14px 18px; background: var(--accent-soft);
  border: 1px solid var(--tint-line, var(--line)); border-radius: 12px; }
.p-facts dt { color: var(--tint-ink, var(--muted)); font-size: 13px; }
.p-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.p-facts dd small { display: block; color: var(--tint-ink, var(--muted)); font-size: 14px; font-weight: 400; }
.p-next { display: grid; gap: 8px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.p-next-k { margin: 0; color: var(--accent); font-size: 14px; font-weight: 700; }
.p-next-h { margin: 0; font-family: var(--serif, inherit); font-size: 22px; line-height: 1.25; font-weight: 500; }
.p-next-sub { margin: 0; color: var(--muted); font-size: 15px; }
.p-next .book-submit, .p-booking .book-submit { justify-self: start; margin-top: 6px; padding: 11px 22px; font-size: 16px; font-weight: 700; text-decoration: none; }
.p-booking-steps a { color: inherit; }
.p-plan { display: grid; gap: 4px; margin-top: 10px; }
.p-plan h2 { margin: 0; font-size: 20px; }
.p-steps { margin: 0; padding: 0; list-style: none; }
.p-step { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 12px 2px; border-top: 1px solid var(--line); }
.p-step:first-child { border-top: 0; }
.p-step-day { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-step-what small { display: block; color: var(--muted); font-size: 14px; }
.p-step.is-now .p-step-day { color: var(--accent); font-weight: 700; }
.p-step.is-now .p-step-what { font-weight: 600; }
.p-step.is-now .p-step-what small { font-weight: 400; }
.p-step.is-done .p-step-what { color: var(--muted); }
.p-who { padding: 2px 10px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.p-who.is-you { background: var(--accent-soft); color: var(--tint-ink, var(--ink)); }
.p-who.is-us { border-color: var(--tint-line, var(--line)); color: var(--accent); }
.p-who.is-done { padding-right: 0; color: var(--muted); }
.p-event { display: grid; gap: 10px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.p-event h2 { margin: 0; font-size: 1.1rem; }
.p-event-list { margin: 0; display: grid; gap: 8px; }
.p-event-list div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 10px; }
.p-event-list dt { color: var(--muted); }
.p-event-list dd { margin: 0; }
.p-item.is-locked .p-ask-change { font-size: .85rem; white-space: nowrap; }
.p-write { gap: 10px; }                              /* 2026-11-17: a panel (.p-extra shows it), not the foot of the front */
.p-write h2 { margin: 0; font-size: 22px; }
.p-write-form { display: grid; gap: 10px; }
.p-write-topic { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.p-call { display: grid; gap: 8px; }
.q-know .q-know-day { max-width: 220px; }
@media (max-width: 480px) {
  .p-event-list div { grid-template-columns: 1fr; gap: 2px; }
  .p-facts { grid-template-columns: 1fr 1fr; }
  .p-facts div:first-child { grid-column: 1 / -1; }
  .p-step { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 10px; }
  .p-who.is-us { white-space: normal; text-align: center; }
}

/* 2026-11-17 (Brian: "stronger branding"): the sponsor's page in the website's Studio look (base.html, look="studio"; the
   emails' colours, house_mail.STUDIO): cream paper, warm ink, the brown accent, the milk-tea tint, the serif for the
   wordmark and the headings. Only this page: every other page of the events site keeps its own colours. */
body.is-studio { --bg: #faf6f0; --card: #ffffff; --ink: #2b2520; --muted: #6b6158; --line: #e4dacd; --accent: #8c5638; --accent-soft: #ecdcc8;
  --tint-line: #dcc5a8; --tint-ink: #5e4a3a; --serif: Georgia, "Times New Roman", Times, serif; }
body.is-studio .brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 21px; font-weight: 400; letter-spacing: .2px; }
.brand-mark { display: inline-block; flex: none; width: 13px; height: 18px; border: 2px solid var(--accent); border-radius: 13px 13px 2px 2px; }
.top-tag { color: var(--muted); font-size: 14px; white-space: nowrap; }
body.is-studio .top-in { align-items: center; }
body.is-studio .p h1, body.is-studio .p h2, body.is-studio .q-step h1 { font-family: var(--serif); font-weight: 500; letter-spacing: 0; }
body.is-studio .p-home h1 { font-size: 34px; line-height: 1.15; }
body.is-studio .book-submit { border-radius: 999px; }
body.is-studio .done, body.is-studio .q-done { color: var(--tint-ink); }
body.is-studio .field input, body.is-studio .q .field select, body.is-studio .q .field textarea { border-left-color: var(--tint-line); }   /* the fields' teal edge, in milk tea */
@media screen and (min-width: 760px) {
  body.is-studio.is-card .wrap { border-color: var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(74, 52, 34, .10); }
  body.is-studio.is-snow { background: #f1e8dc; }      /* a shade under the cream, so the snow still shows */
}

/* v3.235.0: the crew's own page (/crew/<token>, crew.html) and Email me my link (/crew) */
.crew h1 { margin: 0 0 6px; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; }
.crew-lede { color: var(--muted); margin: 0 0 22px; }
.crew-sec { margin: 0 0 28px; }
.crew-sec h2 { font-size: 21px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.crew-count { display: inline-block; min-width: 26px; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 14px; text-align: center; }
.crew-empty { color: var(--muted); margin: 0; }
.crew-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 14px; }
.crew-card h3 { margin: 2px 0 0; font-size: 20px; }
.crew-card .facts { border: 0; padding: 0; margin-top: 8px; }
.crew-ask.is-answered { border-color: var(--accent-soft); }
.crew-said { margin: 14px 0 4px; }
/* v3.341.0: Where, the address a line each and Google's map of it; the email's button tapped */
.crew-place { display: block; }
.crew-map { display: block; width: 100%; height: 220px; margin: 10px 0 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--accent-soft); }
.crew-map-link { font-size: 14px; }
.crew-saying { margin: 14px 0 0; padding: 10px 14px; background: var(--accent-soft); border-radius: 10px; }
.book-submit.is-picked { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--ink); }
/* v3.341.0 (Brian, 2026-11-15: "can we make the crew page match the layout as the email"): an ask reads as its email
   does: When, then Where, each a bold heading over its lines with a space after; the map the card's width under the
   address, its link a small line under it; then Can you make it? and the two buttons */
.crew-ask .facts div { display: block; padding: 0 0 14px; border-top: 0; }
.crew-ask .facts dt { color: var(--ink); font-size: 17px; font-weight: 700; }
.crew-ask .crew-map { height: auto; aspect-ratio: 56 / 26; margin: 8px 0 4px; }
.crew-ask .crew-map-link { color: var(--muted); font-size: 13px; }
.crew-ask .staff-form > p { margin: 4px 0 0; }
.crew-change summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.crew-event summary { cursor: pointer; list-style: none; display: grid; gap: 2px; }
.crew-event summary::-webkit-details-marker { display: none; }
.crew-event summary b { font-size: 19px; }
.crew-booked { color: #134e4a; font-size: 15px; }
.crew-foot { color: var(--muted); font-size: 15px; margin-top: 8px; }
.crew-notes { white-space: pre-line; }
.item-list { margin: 2px 0 6px; padding-left: 1.25em; }   /* v3.361.0: a brief's list (what to bring, one a line) */
.item-list li { margin: 2px 0; }   /* v3.236.0 (S2): the brief, the files, the crew */
.crew-files { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.crew-files h3 { font-size: 16px; margin: 0 0 6px; }
.crew-files ul { margin: 0; padding-left: 18px; }
.crew-files li { margin: 4px 0; }
.crew-dim { color: var(--muted); font-size: 14px; }
.crew-msg { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 10px; }   /* v3.238.0 (S3) */
.crew-msg.is-new { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.crew-msg.is-theirs { background: transparent; border-style: dashed; margin-left: 24px; }
.crew-msg-head { margin: 0 0 4px; font-size: 15px; }
.crew-msg-text p { margin: 0 0 6px; }
.crew-msg-text p:last-child { margin-bottom: 0; }
.crew-new { display: inline-block; padding: 0 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; vertical-align: 1px; }
.crew-write { display: grid; gap: 8px; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.crew-write h3 { font-size: 17px; margin: 0; }
.crew-write p { margin: 0; }
.crew-write label { font-weight: 600; }
.crew-write textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; width: 100%; box-sizing: border-box; resize: vertical; }
.crew-write .book-submit { justify-self: start; }
.crew-link-form { display: grid; gap: 10px; max-width: 420px; }
.crew-link-form input[type=email] { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.crew-link-form .book-submit { justify-self: start; }
.crew-month { margin: 0 0 14px; }   /* v3.240.0 (S4): Your calendar, Your details, a change on its own screen */
.crew-month h3 { font-size: 16px; margin: 0 0 6px; }
.crew-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; max-width: 420px; }
.crew-dow { font-size: 12px; color: var(--muted); text-align: center; }
.crew-day { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 8px; font-size: 15px; text-decoration: none;
  color: var(--ink, inherit); background: var(--card); border: 1px solid var(--line); }
a.crew-day:hover, a.crew-day:focus-visible { border-color: var(--accent); }
.crew-day.is-out { background: transparent; border-color: transparent; }
.crew-day.is-past { color: var(--muted); background: transparent; }
.crew-day.is-booked { background: #ccfbf1; border-color: #5eead4; color: #134e4a; font-weight: 700; }
.crew-day.is-off { background: #fee2e2; border-color: #fca5a5; color: #7f1d1d; text-decoration: line-through; }
.crew-day.is-free { background: #dbeafe; border-color: #93c5fd; color: #1e3a8a; }
.crew-day.is-today { box-shadow: 0 0 0 2px var(--accent) inset; }
.crew-more summary { cursor: pointer; color: var(--accent); font-weight: 600; margin: 0 0 10px; }
.crew-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crew-key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line); vertical-align: -2px; }
.crew-key.is-booked { background: #ccfbf1; border-color: #5eead4; }
.crew-key.is-off { background: #fee2e2; border-color: #fca5a5; }
.crew-key.is-free { background: #dbeafe; border-color: #93c5fd; margin-left: 6px; }
.crew-key.is-off { margin-left: 6px; }
.crew-details dd a { font-weight: 600; }
.crew-card .crew-details { margin-top: 0; }
/* v3.241.0 (S5a): I'm here / Done for the day on today's event card */
.crew-checkin { margin: 10px 0 4px; padding: 12px 14px; border-radius: var(--radius); background: var(--accent-soft); }
.crew-checkin p { margin: 0 0 8px; }
.crew-checkin .done { padding: 0; background: none; margin-bottom: 8px; }
.crew-checkin .note { margin-bottom: 8px; }
.crew-checkin-form { margin: 0 0 8px; }
.crew-sheet-form { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin: 6px 0 0; }   /* v3.362.0: Your timesheet */
.crew-sheet-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.crew-sheet-form input[type="time"] { min-width: 8.5em; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: inherit; }
.crew-sheet .done, .crew-sheet .note { margin: 4px 0 6px; }
.crew-checkin-form .book-submit { width: 100%; }
.crew-checkin .crew-hint { margin: 0; font-size: 14px; }
.crew-details div:first-child { padding-top: 2px; }
/* v3.244.0 (S5b): Your hours and pay */
.crew-pay-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin: 0; }
.crew-pay-state { font-size: 14px; font-weight: 600; color: var(--muted); }
.crew-pay-state.is-paid { color: var(--ok, #1d7a3a); }
.crew-card .crew-pay-days { margin-top: 6px; }
.crew-pay-sum { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.crew-back { margin: 0 0 10px; }
.crew-one h1 { font-size: 24px; margin: 0 0 6px; }
.crew-one-form { display: grid; gap: 12px; max-width: 460px; margin-top: 12px; }
.crew-one-form .field { display: grid; gap: 4px; }
.crew-one-form .field input, .crew-one-form .field select { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; width: 100%; box-sizing: border-box; }
.crew-one-form .quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 380px) { .crew-one-form .quote-row { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .crew-card { padding: 14px; } .crew-card .facts div { grid-template-columns: 1fr; gap: 2px; } .crew-msg.is-theirs { margin-left: 12px; } }
/* v3.253.0: the crew page in two layers. The front page (what needs them now, then Write to us) and, behind ☰ Menu, the
   rest: each a view of its own on the same page, shown when the address points at it (#menu, #schedule, #event-…). The
   :has() rules hide the front page while a view is up; crew.js sets .has-view / .is-on where :has() isn't there (kept as
   separate rules, so a browser that can't read :has() still reads these). */
.crew-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
.crew-head h1 { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.crew-menu-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--card); color: inherit; font-weight: 700; text-decoration: none; }
.crew-menu-btn:hover, .crew-menu-btn:focus-visible { border-color: var(--accent); }
.crew-menu-btn span { font-size: 20px; line-height: 1; }
.crew-tip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 14px; padding: 12px 14px; border-radius: var(--radius);
  background: var(--accent-soft); font-size: 15px; }
.crew-tip[hidden] { display: none; }
.crew-tip span { flex: 1 1 220px; }
.crew-tip-ok { font: inherit; font-weight: 700; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; cursor: pointer; }
.crew-front .crew-lede { margin-bottom: 18px; }
.crew-today { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
h2.crew-today-title { font-size: 20px; margin: 2px 0 0; display: block; }
.crew-more-link { margin: 10px 0 0; font-weight: 600; }
.crew-calm { margin: 0 0 24px; padding: 14px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.crew-front .crew-write { margin-top: 8px; }
.crew-front .crew-write h2 { font-size: 21px; margin: 0; }
.crew-view { display: none; }
.crew-view:target { display: block; }
.crew-view:has(:target) { display: block; }
.crew-view.is-on { display: block; }
.crew:has(.crew-view:target) .crew-front { display: none; }
.crew:has(.crew-view :target) .crew-front { display: none; }
.crew.has-view .crew-front { display: none; }
.crew-viewbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 6px; }
.crew-viewbar a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; }
.crew-view > h2 { font-size: 24px; margin: 0 0 12px; }
.crew-menu { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.crew-menu a { display: grid; gap: 4px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  color: inherit; text-decoration: none; }
.crew-menu a:hover, .crew-menu a:focus-visible { border-color: var(--accent); }
.crew-menu a b { font-size: 18px; display: flex; align-items: center; gap: 8px; }
.crew-menu-why { color: var(--muted); font-size: 14px; }
.crew-event .crew-booked { margin: 2px 0 0; }
/* v3.279.0 (spec-handbook.md H5a): ☰ › The Handbook. Each entry a card; a check question's answers are big tap rows
   (the site shuffles them each time), and a wrong answer shows the line again, highlighted. */
.crew-hb-area { margin: 22px 0 8px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.crew-hb.is-read { border-color: var(--accent-soft); }
.crew-hb-rule { font-size: 18px; margin: 8px 0; }
.crew-hb-rule mark { background: #fef3c7; color: #78350f; padding: 2px 4px; border-radius: 4px; }
.crew-hb-steps { margin: 8px 0; padding-left: 22px; }
.crew-hb-steps li { margin: 4px 0; }
.crew-hb-answers { display: grid; gap: 8px; margin: 8px 0 4px; }
.crew-hb-answer { display: block; width: 100%; min-height: 44px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card);
  color: inherit; font: inherit; font-size: 17px; text-align: left; cursor: pointer; }
.crew-hb-answer:hover, .crew-hb-answer:focus-visible { border-color: var(--accent); }
