/* GAUCHO · enquiry, one question at a time (Dec 2026)
   A dark room, a small cinema screen of the plating, and glass answers
   standing on their own beneath it. Loads after docket.css. */

body.e-page { background: var(--carbon); color: var(--harina); overflow-x: clip; min-height: 100vh; min-height: 100dvh; }
.e-page ::selection { background: var(--arena); color: var(--tierra); }

/* ---------- Header: badge, progress, close ---------- */
.e-page .e-head { position: sticky; top: 0; z-index: 10; border: 0; background: rgb(23 23 23 / .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding-top: env(safe-area-inset-top, 0px); }
.e-page .e-head__in { display: flex; align-items: center; gap: 18px; height: 60px; max-width: 760px; margin: 0 auto; padding: 0 20px; }
.e-page .e-brand { display: grid; place-items: center; min-width: 44px; min-height: 44px; color: var(--harina); }
.e-page .e-brand .badge { width: 30px; height: auto; color: var(--harina); }
.e-progress { flex: 1; height: 2px; border-radius: 2px; background: rgb(229 227 223 / .14); overflow: hidden; }
.e-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--arena); transition: width .45s cubic-bezier(0.23, 1, 0.32, 1); }
.e-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--harina);
  border: 1px solid rgb(255 255 255 / .18); background: rgb(255 255 255 / .06); transition: background-color .2s ease, border-color .2s ease; }
.e-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.e-close:focus-visible, .e-brand:focus-visible { outline: 2px solid var(--arena); outline-offset: 2px; }

/* ---------- Stage ---------- */
.e-stage { max-width: 640px; margin: 0 auto; padding: 12px 20px calc(40px + env(safe-area-inset-bottom, 0px)); }

/* The cinema screen: 2.39:1, the plating on a loop, the room's light falling off below */
.screen { position: relative; margin: 0 0 6px; aspect-ratio: 2.39 / 1; border-radius: 14px; overflow: hidden; background: #0E0E0E; isolation: isolate;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .07), 0 28px 70px -30px rgb(0 0 0 / .95), 0 18px 60px -40px rgb(215 197 147 / .35); }
.screen__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 140% at 50% 50%, rgb(0 0 0 / 0) 55%, rgb(0 0 0 / .45) 100%); }

/* ---------- Question ---------- */
.q-flow { margin: 0; }
.q-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: 14px 0 6px; }
.q-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px 0 0; border: 0; background: none; cursor: pointer;
  font: 400 14px/1 var(--font-text); color: rgb(229 227 223 / .7); transition: color .2s ease; }
.q-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.q-back:focus-visible { outline: 2px solid var(--arena); outline-offset: 2px; border-radius: 8px; }
.q-count { margin-left: auto; font: 400 12px/1 var(--font-text); letter-spacing: .08em; color: rgb(229 227 223 / .5); font-variant-numeric: tabular-nums; }

.q-step { outline: none; }
.q-h { margin: 4px 0 0; font-family: "TAY Bartender", Georgia, serif; font-weight: 400; font-synthesis: none; text-transform: none;
  font-size: clamp(24px, 3.2vw, 32px); line-height: 1.15; letter-spacing: .03em; color: var(--harina); text-wrap: balance; }
.q-sub { margin: 10px 0 0; font: 400 15px/1.5 var(--font-text); color: rgb(229 227 223 / .62); max-width: 44ch; }
.q-body { margin-top: 22px; display: grid; gap: 18px; }

/* ---------- Glass answers ---------- */
.g-opts { display: grid; gap: 10px; }
.g-opts--occ { grid-template-columns: minmax(0, 1fr); }
.g-opts--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-opts--wrap { display: flex; flex-wrap: wrap; }
.g-opt {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 56px; padding: 12px 52px 12px 18px;
  text-align: left; cursor: pointer; color: #fff; border-radius: 16px; border: 1px solid rgb(255 255 255 / .16);
  background: linear-gradient(180deg, rgb(255 255 255 / .09) 0%, rgb(255 255 255 / .03) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12);
  -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3);
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .12s ease; }
.g-opt:active { transform: scale(.98); }
.g-opt__t { font: 700 16px/1.3 var(--font-text); letter-spacing: 0; }
.g-opt__s { font: 400 13.5px/1.4 var(--font-text); color: rgb(229 227 223 / .6); }
.g-opt__tick { position: absolute; right: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .35); transition: background-color .2s ease, border-color .2s ease; }
.g-opt__tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px; border: solid var(--tierra); border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(.6); opacity: 0; transition: opacity .2s ease, transform .25s cubic-bezier(0.23, 1, 0.32, 1); }
.g-opt[aria-checked="true"], .g-opt[aria-pressed="true"] {
  border-color: rgb(236 222 180 / .75);
  background: linear-gradient(180deg, rgb(215 197 147 / .24) 0%, rgb(215 197 147 / .12) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 10px 26px -18px rgb(215 197 147 / .6); }
.g-opt[aria-checked="true"] .g-opt__tick, .g-opt[aria-pressed="true"] .g-opt__tick { background: var(--arena); border-color: var(--arena); }
.g-opt[aria-checked="true"] .g-opt__tick::after, .g-opt[aria-pressed="true"] .g-opt__tick::after { opacity: 1; transform: rotate(45deg) scale(1); }
.g-opt:focus-visible { outline: 2px solid var(--arena); outline-offset: 2px; }
/* Chips (multi picks): compact capsules, tick on the left */
.g-opts--wrap .g-opt, .g-opts--row .g-opt { min-height: 50px; padding: 0 18px 0 44px; border-radius: 999px; }
.g-opts--wrap .g-opt__tick, .g-opts--row .g-opt__tick { left: 14px; right: auto; width: 20px; height: 20px; margin-top: -10px; }
.g-opts--wrap .g-opt__tick::after, .g-opts--row .g-opt__tick::after { left: 6.5px; top: 3.5px; }
.g-opts--wrap .g-opt__t, .g-opts--row .g-opt__t { font-size: 15px; }

/* ---------- Fields ---------- */
.g-field { display: grid; gap: 8px; }
.g-field[hidden] { display: none; }
.g-field label { font: 400 13px/1.3 var(--font-text); color: rgb(229 227 223 / .7); }
.g-field label span { color: rgb(229 227 223 / .42); margin-left: 4px; }
.g-input { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; font: 400 16px/1.4 var(--font-text); color: #fff;
  background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .18); color-scheme: dark;
  transition: border-color .2s ease, background-color .2s ease; }
.g-input::placeholder { color: rgb(229 227 223 / .38); }
.g-input:focus { outline: none; border-color: var(--arena); background: rgb(255 255 255 / .09); }
.g-input[aria-invalid="true"]:not(:focus) { border-color: #E39B86; }
textarea.g-input { min-height: 140px; resize: vertical; }

/* ---------- Footer: one main action per step ---------- */
.g-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 28px; }
.g-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px;
  font-family: "TAY Bartender", Georgia, serif; font-weight: 400; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; color: #fff; border: 1px solid rgb(255 255 255 / .3);
  background: linear-gradient(180deg, rgb(255 255 255 / .1) 0%, rgb(255 255 255 / .03) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18);
  transition: background-color .2s ease, border-color .2s ease, opacity .2s ease, transform .12s ease; }
.g-btn--main { border-color: rgb(255 255 255 / .75);
  background: linear-gradient(180deg, rgb(255 255 255 / .16) 0%, rgb(255 255 255 / .05) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .38), 0 12px 30px -18px rgb(0 0 0 / .8); }
.g-btn:active { transform: scale(.98); }
.g-btn[disabled] { opacity: .35; cursor: not-allowed; box-shadow: none; }
.g-btn:focus-visible, .g-skip:focus-visible { outline: 2px solid var(--arena); outline-offset: 3px; }
.g-btn span { transition: transform .2s ease; }
.g-skip { min-height: 54px; padding: 0 18px; border: 0; background: none; cursor: pointer; font: 400 15px/1 var(--font-text); color: rgb(229 227 223 / .65); }
.g-hint { margin: 12px 0 0; text-align: right; font: 400 14px/1.4 var(--font-text); color: rgb(229 227 223 / .55); }
.g-hint.is-warn { color: #E9AE9C; }

/* ---------- Review: the docket, every line editable ---------- */
.e-docket-mini { margin-top: 10px; }
.e-docket-mini .docket { transform: rotate(-0.6deg); padding: 20px 20px calc(18px + var(--scallop)); filter: drop-shadow(0 20px 30px rgb(0 0 0 / .5)); }
.docket__no { margin-left: auto; font: 400 12px/1 var(--font-text); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.d-rows { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 2px solid var(--tierra); }
.d-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; width: 100%; min-height: 44px; padding: 10px 6px;
  margin: 0; border: 0; border-bottom: 1px dashed var(--line-strong); background: none; text-align: left; cursor: pointer; color: var(--tierra); border-radius: 6px; }
.d-rows li:last-child .d-row { border-bottom: 0; }
.d-row__l { font-family: "TAY Bartender", Georgia, serif; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.d-row__v { font: 400 14px/1.4 var(--font-text); overflow-wrap: anywhere; }
.d-row__v em { color: var(--ink-soft); }
.d-row__e { font: 700 12px/1 var(--font-text); color: var(--fuego); }
.d-row:focus-visible { outline: 2px solid var(--fuego); outline-offset: 1px; }

/* ---------- Thanks ---------- */
.e-page .thanks { text-align: center; padding: 34px 0 10px; outline: none; }
.e-page .thanks .badge { width: 72px; margin: 0 auto 20px; color: var(--arena); }
.e-page .thanks h2 { font-family: "TAY Bartender", Georgia, serif; font-weight: 400; font-size: clamp(24px, 3vw, 32px); color: var(--harina); margin: 0 0 12px; letter-spacing: .03em; }
.e-page .thanks p { color: rgb(229 227 223 / .7); margin: 0 auto 6px; max-width: 40ch; }
.thanks__ctas { display: grid; gap: 10px; margin-top: 26px; }

/* ---------- Hover, only where a pointer hovers ---------- */
@media (hover: hover) and (pointer: fine) {
  .g-opt:hover { border-color: rgb(255 255 255 / .34); background-color: rgb(255 255 255 / .04); }
  .g-btn:not([disabled]):hover { border-color: #fff; background-color: rgb(255 255 255 / .08); }
  .g-btn--main:not([disabled]):hover span { transform: translateX(3px); }
  .e-close:hover { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .34); }
  .q-back:hover, .g-skip:hover { color: var(--harina); }
  .d-row:hover { background: rgb(215 197 147 / .2); }
}

/* ---------- Wider screens ---------- */
@media (min-width: 640px) {
  .e-stage { padding-top: 28px; }
  .g-opts--occ { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-opts--occ .g-opt { min-height: 76px; }
  .g-opts--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .g-opts--row:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-opts--row:has(> :only-child) { grid-template-columns: max-content; }
  .thanks__ctas { grid-template-columns: max-content max-content; justify-content: center; }
}
/* Phones: the main action spans the width, Skip sits beside it */
@media (max-width: 639px) {
  .g-foot .g-btn--main { flex: 1; }
  .g-opts--row:has(> :nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr); }
  .g-opts--row:has(> :only-child) { grid-template-columns: max-content; }
  .g-hint { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .e-progress span, .g-opt, .g-opt__tick, .g-opt__tick::after, .g-btn, .g-btn span { transition: none; }
  .g-opt:active, .g-btn:active { transform: none; }
}

/* Service area: a quiet line, not a field */
.g-note { margin: 2px 0 0; font: 400 13px/1.4 var(--font-text); color: rgb(229 227 223 / .45); }

/* Experiences: the default on its own row, the rest in an even grid */
.g-opts--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-opts--grid > :first-child { grid-column: 1 / -1; }
.g-opts--grid .g-opt { min-height: 50px; padding: 0 14px 0 44px; border-radius: 999px; }
.g-opts--grid .g-opt__tick { left: 14px; right: auto; width: 20px; height: 20px; margin-top: -10px; }
.g-opts--grid .g-opt__tick::after { left: 6.5px; top: 3.5px; }
.g-opts--grid .g-opt__t { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 640px) { .g-opts--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 380px) { .g-opts--grid .g-opt__t { font-size: 14px; } .g-opts--grid .g-opt { padding-right: 10px; } }

/* Reply step: first + last side by side */
.g-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* Urgent: a quiet tick, not an alarm */
.g-urgent { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0 0; cursor: pointer;
  font: 400 14px/1.45 var(--font-text); color: rgb(229 227 223 / .72); -webkit-tap-highlight-color: transparent; }
.g-urgent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.g-urgent__box { flex: none; position: relative; width: 20px; height: 20px; margin-top: 0; border-radius: 6px; border: 1px solid rgb(255 255 255 / .3);
  transition: background-color .2s ease, border-color .2s ease; }
.g-urgent__box::after { content: ""; position: absolute; left: 6.5px; top: 2.5px; width: 5px; height: 10px; border: solid var(--tierra); border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(.6); opacity: 0; transition: opacity .2s ease, transform .25s cubic-bezier(0.23, 1, 0.32, 1); }
.g-urgent input:checked + .g-urgent__box { background: var(--arena); border-color: var(--arena); }
.g-urgent input:checked + .g-urgent__box::after { opacity: 1; transform: rotate(45deg) scale(1); }
.g-urgent input:focus-visible + .g-urgent__box { outline: 2px solid var(--arena); outline-offset: 2px; }
.g-urgent__s { color: rgb(229 227 223 / .45); }

/* Docket timer: a KDS ticket clock */
.d-timer { margin-left: auto; padding: 5px 9px; border-radius: 6px; background: var(--tierra); color: var(--paper);
  font: 700 12px/1 var(--font-text); letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.d-timer.is-late { background: var(--fuego); }
@media (prefers-reduced-motion: reduce) { .g-urgent__box, .g-urgent__box::after { transition: none; } }

/* =========================================================
   The docket = the kitchen's docket (KDS, preorder/web kitchen.css .dk)
   White ticket, 1px ink border, timer band (black when late), name as
   the hero, dashed tear, items in bold caps, red only for dietaries and
   allergy, one action bar. Urgent = the kitchen's "next up" border.
   ========================================================= */
.kd-wrap { --kd-ink: #0A0A0A; --kd-paper: #FFFFFF; --kd-muted: #6B6B6B; --kd-tear: #C4C4C4; --kd-red: #C62828;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--kd-ink); margin-top: 8px; }
.kd { display: flex; flex-direction: column; overflow: hidden; background: var(--kd-paper); border: 1px solid var(--kd-ink); border-radius: 8px;
  box-shadow: 0 22px 50px -24px rgb(0 0 0 / .9); }
.kd-wrap.is-urgent .kd { border-width: 3px; }
.kd-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--kd-muted); }
.kd-mono, .kd-timer, .kd-no, .kd-qty { font-variant-numeric: tabular-nums; }

.kd-band { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 16px; background: var(--kd-paper); color: var(--kd-ink);
  border-bottom: 1px solid var(--kd-ink); transition: background-color .3s ease, color .3s ease; }
.kd-band.inv { background: var(--kd-ink); color: var(--kd-paper); }
.kd-band.inv .kd-label { color: rgb(255 255 255 / .65); }
.kd-t { display: flex; flex-direction: column; gap: 2px; }
.kd-timer { font-size: 28px; font-weight: 800; line-height: 1; }
.kd-no { font-size: 14px; font-weight: 700; opacity: .8; }

.kd-who { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; width: 100%; padding: 14px 16px 12px; margin: 0;
  border: 0; border-bottom: 2px dashed var(--kd-tear); background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.kd-who__l { min-width: 0; display: block; }
.kd-name { display: block; margin-top: 2px; font-size: 24px; font-weight: 900; line-height: 1.1; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kd-name.is-empty { color: #BDBDBD; }
.kd-pick { flex-shrink: 0; text-align: right; }
.kd-pick .kd-mono { display: block; font-size: 15px; font-weight: 700; margin-top: 2px; }

.kd-lines { list-style: none; margin: 0; padding: 8px 8px 6px; display: flex; flex-direction: column; }
.kd-line { display: flex; width: 100%; min-height: 40px; align-items: center; padding: 6px 8px; margin: 0; border: 0; border-radius: 6px; background: none;
  text-align: left; cursor: pointer; color: inherit; font: 800 16px/1.25 "Inter", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .01em; }
.kd-qty { display: inline-block; min-width: 54px; flex-shrink: 0; }
.kd-item { min-width: 0; overflow-wrap: anywhere; }
.kd-mod { display: flex; align-items: center; gap: 6px; padding: 0 8px 6px 62px; font-size: 14px; font-weight: 800; text-transform: uppercase; }
.kd-mod svg, .kd-allergy svg { flex-shrink: 0; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.kd-mod svg { padding: 2px; border-radius: 50%; background: var(--kd-red); color: #fff; stroke-width: 3.5; box-sizing: content-box; width: 11px; height: 11px; }
.kd-note { display: block; width: calc(100% - 16px); margin: 0 8px 10px; padding: 6px 8px; border: 0; border-radius: 6px; background: none; text-align: left; cursor: pointer;
  font: 500 14px/1.45 "Inter", system-ui, sans-serif; color: var(--kd-muted); }
.kd-allergy { display: flex; gap: 8px; align-items: center; width: calc(100% - 24px); margin: 0 12px 12px; padding: 10px 12px; border: 0; border-radius: 6px; cursor: pointer;
  background: var(--kd-red); color: #fff; text-align: left; font: 900 14px/1.3 "Inter", system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.kd-allergy svg { stroke-width: 2.4; width: 17px; height: 17px; }

.kd-act { height: 56px; margin: 0; border: 0; border-top: 1px solid var(--kd-ink); background: var(--kd-ink); color: var(--kd-paper); cursor: pointer;
  font: 800 17px/1 "Inter", system-ui, sans-serif; }
.kd-act:active:not([disabled]) { filter: invert(1); }
.kd-act[disabled] { background: var(--kd-paper); color: #A3A3A3; cursor: not-allowed; }
.kd-line:focus-visible, .kd-who:focus-visible, .kd-note:focus-visible, .kd-allergy:focus-visible { outline: 3px solid var(--kd-ink); outline-offset: -2px; }
.kd-act:focus-visible { outline: 3px solid var(--arena); outline-offset: 2px; }
.kd-tip { margin: 10px 0 0; text-align: center; font: 400 13px/1.4 var(--font-text); color: rgb(229 227 223 / .45); }
@media (hover: hover) and (pointer: fine) {
  .kd-line:hover, .kd-note:hover, .kd-who:hover { background: #F2F2F2; }
}
@media (prefers-reduced-motion: reduce) { .kd-band { transition: none; } .kd-act:active { filter: none; } }

/* =========================================================
   Calendar: Monday-first, glass on the dark step, ink on the docket.
   Replaces the native date box (iOS gave it its own width and it ran
   off the screen).
   ========================================================= */
.cal { width: 100%; min-width: 0; padding: 14px; border-radius: 18px; border: 1px solid rgb(255 255 255 / .16);
  background: linear-gradient(180deg, rgb(255 255 255 / .07) 0%, rgb(255 255 255 / .02) 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal__m { font: 700 16px/1 var(--font-text); color: #fff; }
.cal__nav { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .18); background: rgb(255 255 255 / .05);
  color: #fff; cursor: pointer; transition: background-color .2s ease, opacity .2s ease; }
.cal__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cal__nav[disabled] { opacity: .25; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dow span { text-align: center; font: 700 11px/1 var(--font-text); letter-spacing: .08em; color: rgb(229 227 223 / .45); padding: 6px 0; }
.cal__d { aspect-ratio: 1; min-height: 40px; border: 1px solid transparent; border-radius: 50%; background: none; cursor: pointer; color: #fff;
  font: 500 15px/1 var(--font-text); font-variant-numeric: tabular-nums; transition: background-color .15s ease, border-color .15s ease, color .15s ease; -webkit-tap-highlight-color: transparent; }
.cal__d.is-today { border-color: rgb(255 255 255 / .35); }
.cal__d[disabled] { color: rgb(229 227 223 / .22); cursor: default; }
.cal__d[aria-pressed="true"] { background: var(--arena); border-color: var(--arena); color: var(--tierra); font-weight: 700; }
.cal__d:focus-visible, .cal__nav:focus-visible { outline: 2px solid var(--arena); outline-offset: 1px; }
.g-date-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.g-date-sum { margin: 0; font: 400 14px/1.4 var(--font-text); color: rgb(229 227 223 / .7); }
.g-opt--chip { min-height: 46px; padding: 0 18px 0 44px; border-radius: 999px; }
.g-opt--chip .g-opt__tick { left: 14px; right: auto; width: 20px; height: 20px; margin-top: -10px; }
.g-opt--chip .g-opt__tick::after { left: 6.5px; top: 3.5px; }
.g-opt--chip .g-opt__t { font-size: 15px; }
@media (hover: hover) and (pointer: fine) {
  .cal__d:not([disabled]):not([aria-pressed="true"]):hover { background: rgb(255 255 255 / .1); }
  .cal__nav:not([disabled]):hover { background: rgb(255 255 255 / .12); }
}

/* Calendar inside the docket: ink on paper */
.kd .cal { padding: 10px 0 4px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.kd .cal__m { color: var(--kd-ink); font-family: "Inter", system-ui, sans-serif; font-weight: 800; }
.kd .cal__nav { border-color: #D4D4D4; background: #fff; color: var(--kd-ink); }
.kd .cal__dow span { color: var(--kd-muted); }
.kd .cal__d { color: var(--kd-ink); font-family: "Inter", system-ui, sans-serif; font-weight: 600; }
.kd .cal__d.is-today { border-color: #BDBDBD; }
.kd .cal__d[disabled] { color: #D0D0D0; }
.kd .cal__d[aria-pressed="true"] { background: var(--kd-ink); border-color: var(--kd-ink); color: #fff; }
.kd .cal__d:focus-visible, .kd .cal__nav:focus-visible { outline-color: var(--kd-ink); }
@media (hover: hover) and (pointer: fine) { .kd .cal__d:not([disabled]):not([aria-pressed="true"]):hover { background: #F2F2F2; } }

/* =========================================================
   Docket rev 2: event type is the item, details under it,
   Edit on every line opens right on the ticket.
   ========================================================= */
.kd-who { cursor: default; }
.kd-pick { display: flex; flex-direction: column; align-items: flex-end; }
.kd-pad { padding: 0 16px 8px; border-bottom: 2px dashed var(--kd-tear); }
.kd-lines { padding: 6px 0 4px; }
.kd-main .kd-line { cursor: default; min-height: 48px; padding: 8px 16px 2px; font-size: 18px; justify-content: space-between; gap: 12px; }
.kd-main .kd-item { font-weight: 900; }
.kd-sub { padding: 0 16px 0 30px; }
.kd-subline { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; border-top: 1px solid #EFEFEF; }
.kd-sub:first-of-type .kd-subline { border-top: 0; }
.kd-subt { font: 800 14.5px/1.3 "Inter", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .01em; min-width: 0; overflow-wrap: anywhere; }
.kd-subt.is-quote { font-weight: 500; text-transform: none; color: var(--kd-muted); letter-spacing: 0; }
.kd-sub.is-muted .kd-subt { color: #A3A3A3; font-weight: 600; text-transform: none; }
.kd-sub .kd-mod { padding: 0 0 8px; }
.kd-edit { flex-shrink: 0; min-height: 36px; min-width: 44px; padding: 0 2px 0 8px; border: 0; background: none; cursor: pointer;
  font: 700 13px/1 "Inter", system-ui, sans-serif; color: var(--kd-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #BDBDBD; }
.kd-edit[aria-expanded="true"] { text-decoration-color: var(--kd-ink); }
.kd-pick .kd-edit { min-height: 30px; padding: 0; margin-top: 2px; }
.kd-edit:focus-visible, .kd-chip:focus-visible { outline: 3px solid var(--kd-ink); outline-offset: 1px; border-radius: 6px; }

.kd-ed { padding: 4px 0 12px; }
.kd-main .kd-ed { padding: 4px 16px 12px; }
.kd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kd-chip { min-height: 40px; padding: 0 14px; border: 1px solid #D4D4D4; border-radius: 999px; background: #fff; cursor: pointer; color: var(--kd-ink);
  font: 700 13.5px/1 "Inter", system-ui, sans-serif; transition: background-color .15s ease, border-color .15s ease, color .15s ease; -webkit-tap-highlight-color: transparent; }
.kd-chip[aria-checked="true"], .kd-chip[aria-pressed="true"] { background: var(--kd-ink); border-color: var(--kd-ink); color: #fff; }
.kd-in { display: grid; gap: 6px; margin-top: 10px; font: 600 12px/1.3 "Inter", system-ui, sans-serif; color: var(--kd-muted); }
.kd-in input, .kd-in textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #D4D4D4; border-radius: 6px; background: #fff; color: var(--kd-ink);
  font: 500 16px/1.4 "Inter", system-ui, sans-serif; resize: vertical; }
.kd-in input:focus, .kd-in textarea:focus { outline: none; border-color: var(--kd-ink); }
@media (hover: hover) and (pointer: fine) { .kd-chip:not([aria-checked="true"]):not([aria-pressed="true"]):hover { border-color: var(--kd-ink); } .kd-edit:hover { text-decoration-color: var(--kd-ink); } }

/* Urgent: the ticket turns red */
.kd-wrap.is-urgent .kd { border-width: 3px; border-color: var(--kd-red); }
.kd-wrap.is-urgent .kd-band, .kd-wrap.is-urgent .kd-band.inv { background: var(--kd-red); color: #fff; border-bottom-color: var(--kd-red); }
.kd-wrap.is-urgent .kd-band .kd-label { color: rgb(255 255 255 / .8); }
.kd-wrap.is-urgent .kd-act:not([disabled]) { background: var(--kd-red); border-top-color: var(--kd-red); }
.kd .kd-band, .kd { transition: background-color .25s ease, border-color .25s ease, color .25s ease; }

/* Never wider than the screen */
.q-step, .q-body, .g-field, .g-row > *, .kd-wrap, .kd { min-width: 0; max-width: 100%; }
@media (prefers-reduced-motion: reduce) { .cal__d, .kd-chip, .kd, .kd .kd-band { transition: none; } }

/* =========================================================
   Occasion screen rev 2 (fits a phone without scrolling)
   Discuss an idea on top with its own box, then compact tiles.
   Corporate = gold Bestseller, Restaurant or venue = violet Specialty.
   ========================================================= */
.occ-idea { display: grid; gap: 8px; }
.occ-idea__t { font: 700 16px/1.2 var(--font-text); color: #fff; }
.occ-idea__box { position: relative; }
.occ-idea__in { min-height: 64px; height: 64px; padding: 12px 56px 12px 16px; resize: none; font-size: 16px; line-height: 1.35; }
.occ-idea.is-on .occ-idea__in { border-color: rgb(236 222 180 / .75); background: rgb(215 197 147 / .1); }
.occ-idea__go { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .75); background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; box-shadow: inset 0 1px 0 rgb(255 255 255 / .35); }
.occ-idea__go[hidden] { display: none; }
.occ-idea__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.occ-idea__go:focus-visible { outline: 2px solid var(--arena); outline-offset: 2px; }

.g-opts--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.g-opts--tiles > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.g-tile { min-height: 60px; padding: 10px 36px 10px 14px; gap: 6px; justify-content: center; align-items: flex-start; border-radius: 14px; }
.g-tile .g-opt__t { font-size: 15px; line-height: 1.25; }
.g-tile .g-opt__tick { top: 12px; right: 12px; margin-top: 0; width: 18px; height: 18px; }
.g-tile .g-opt__tick::after { left: 5.5px; top: 2.5px; width: 4px; height: 9px; }

/* Shiny tags */
.occ-tag { position: relative; overflow: hidden; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px;
  font: 800 10px/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; isolation: isolate; }
.occ-tag--gold { color: #3A2A08; background: linear-gradient(135deg, #B8892E 0%, #E9C977 38%, #F8E3A6 52%, #D9AE52 72%, #A87A22 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), 0 0 14px -4px rgb(233 201 119 / .7); }
.occ-tag--violet { color: #fff; background: linear-gradient(135deg, #4A2C8A 0%, #7D5CC8 38%, #B9A0F2 52%, #6A49B4 72%, #3E2477 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), 0 0 14px -4px rgb(157 128 230 / .75); text-shadow: 0 1px 2px rgb(0 0 0 / .3); }
.occ-tag::after { content: ""; position: absolute; inset: -2px auto -2px 0; width: 60%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgb(255 255 255 / .75) 50%, transparent 100%);
  transform: translateX(-120%) skewX(-18deg); animation: tag-shine 3.4s cubic-bezier(0.77, 0, 0.175, 1) infinite; }
.occ-tag--violet::after { animation-delay: 1.1s; }
@keyframes tag-shine { 0% { transform: translateX(-120%) skewX(-18deg); } 45%, 100% { transform: translateX(260%) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) { .occ-tag::after { animation: none; opacity: 0; } }

/* Phones: everything on the first screen fits without scrolling */
@media (max-width: 639px) {
  .e-stage { padding-top: 4px; }
  .e-page .e-head__in { height: 54px; }
  .q-top { margin: 8px 0 0; min-height: 36px; }
  .q-h { font-size: 23px; }
  .q-body { margin-top: 14px; gap: 14px; }
  .q-step[data-type="occasion"] .q-body { gap: 12px; }
}
@media (min-width: 640px) {
  .g-opts--tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-opts--tiles > :last-child:nth-child(odd) { grid-column: auto; }
  .g-tile { min-height: 72px; }
}

/* Docket: host name taps to edit, note is a field you just type in */
.kd-name { padding: 0; margin: 2px 0 0; border: 0; background: none; cursor: pointer; color: inherit; font-family: "Inter", system-ui, sans-serif; text-align: left; max-width: 100%;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s ease; }
.kd-name[aria-expanded="true"], .kd-name.is-empty { text-decoration-color: #BDBDBD; }
.kd-name:focus-visible { outline: 3px solid var(--kd-ink); outline-offset: 2px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { .kd-name:hover { text-decoration-color: var(--kd-ink); } }
.kd-in-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kd-in-row .kd-in { margin-top: 10px; }
.kd-sub--note { padding-top: 2px; padding-bottom: 6px; }
.kd-note-in { display: block; width: 100%; min-height: 40px; padding: 10px 0; margin: 0; border: 0; border-top: 1px solid #EFEFEF; background: none; resize: none; overflow: hidden;
  font: 500 15px/1.4 "Inter", system-ui, sans-serif; color: var(--kd-ink); }
.kd-note-in::placeholder { color: #A3A3A3; font-weight: 600; }
.kd-note-in:focus { outline: none; border-top-color: var(--kd-ink); }
.occ-idea textarea.occ-idea__in { min-height: 64px; height: 64px; }
/* First screen has no Back: the count tucks into a slim line */
.q-top:has(.q-back[hidden]) { min-height: 0; margin: 10px 0 2px; }
@media (max-width: 639px) { .screen { aspect-ratio: 2.6 / 1; } }

/* =========================================================
   Bestseller / Specialty: the whole cell is outlined, a light
   travels round the edge. Label sits inside as plain coloured caps.
   ========================================================= */
@property --edge { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.g-tile--gold, .g-tile--violet { border-color: transparent; }
.g-tile--gold::before, .g-tile--violet::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: edge-run 4.5s linear infinite; }
.g-tile--gold::before { background: conic-gradient(from var(--edge), #9C7024, #E9C977 18%, #FFF4CF 25%, #E9C977 32%, #9C7024 50%, #C99A3E 75%, #9C7024); }
.g-tile--violet::before { background: conic-gradient(from var(--edge), #4A2C8A, #9D80E6 18%, #EDE4FF 25%, #9D80E6 32%, #4A2C8A 50%, #7A5AC4 75%, #4A2C8A); }
.g-tile--gold { box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 0 26px -12px rgb(233 201 119 / .55); }
.g-tile--violet { box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 0 26px -12px rgb(157 128 230 / .6); }
@keyframes edge-run { to { --edge: 360deg; } }
.g-tile .occ-tag { height: auto; padding: 0; background: none; box-shadow: none; overflow: visible; font-size: 10.5px; letter-spacing: .14em; }
.g-tile .occ-tag::after { display: none; }
.g-tile .occ-tag--gold { color: #E9C977; }
.g-tile .occ-tag--violet { color: #B9A0F2; text-shadow: none; }
@media (prefers-reduced-motion: reduce) { .g-tile--gold::before, .g-tile--violet::before { animation: none; } }

/* =========================================================
   What to expect: bottom sheet on phones, centred card on desktop
   ========================================================= */
.x-sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 88dvh; margin: 0; padding: 0; border: 0; border-radius: 24px 24px 0 0;
  background: #1F1F1F; color: var(--harina); overflow: auto; box-shadow: 0 -20px 60px -20px rgb(0 0 0 / .8); }
.x-sheet::backdrop { background: rgb(0 0 0 / .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.x-sheet--gold { box-shadow: 0 -1px 0 rgb(233 201 119 / .7), 0 -20px 60px -20px rgb(0 0 0 / .8); }
.x-sheet--violet { box-shadow: 0 -1px 0 rgb(157 128 230 / .8), 0 -20px 60px -20px rgb(0 0 0 / .8); }
.x-sheet__in { display: grid; gap: 10px; justify-items: start; padding: 12px 22px calc(18px + env(safe-area-inset-bottom, 0px)); }
.x-grab { justify-self: center; width: 40px; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .22); margin-bottom: 8px; }
.x-title { margin: 2px 0 0; font-family: "TAY Bartender", Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.15; letter-spacing: .03em; color: #fff; text-transform: none; }
.x-line { margin: 0; font: 400 15px/1.5 var(--font-text); color: rgb(229 227 223 / .72); }
.x-k { margin: 10px 0 0; font: 700 11px/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: rgb(229 227 223 / .5); }
.x-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; }
.x-list li { display: flex; gap: 12px; align-items: flex-start; font: 400 15.5px/1.45 var(--font-text); color: #fff; }
.x-list svg { flex: none; width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 50%; background: rgb(215 197 147 / .18); fill: none; stroke: var(--arena); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; box-sizing: border-box; }
.x-sheet--violet .x-list svg { background: rgb(157 128 230 / .2); stroke: #C7B3FA; }
.x-foot { display: flex; justify-content: flex-end; align-items: center; gap: 8px; width: 100%; margin-top: 14px; }
.x-foot .g-btn--main { flex: 1; }
@media (min-width: 640px) {
  .x-sheet { inset: 0; margin: auto; width: min(460px, calc(100% - 40px)); height: fit-content; border-radius: 20px; }
  .x-sheet__in { padding: 26px 28px 24px; }
  .x-grab { display: none; }
  .x-foot .g-btn--main { flex: none; }
}

/* =========================================================
   Reply step: the docket is the form
   ========================================================= */
.kd-contact { display: grid; gap: 2px; padding: 14px 16px 14px; border-bottom: 2px dashed var(--kd-tear); }
.kd-contact .kd-in { margin-top: 8px; }
.kd-contact .kd-in-row { gap: 10px; }
@media (max-width: 420px) { .kd-in-row--contact { grid-template-columns: minmax(0, 1fr); } }
.kd-urgent { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 10px; padding: 0 12px; border: 1px solid #D4D4D4; border-radius: 6px;
  cursor: pointer; font-family: "Inter", system-ui, sans-serif; -webkit-tap-highlight-color: transparent; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.kd-urgent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kd-urgent__box { position: relative; flex: none; width: 20px; height: 20px; border: 1.5px solid var(--kd-ink); border-radius: 4px; }
.kd-urgent__box::after { content: ""; position: absolute; left: 5.5px; top: 1.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; }
.kd-urgent__t { font-weight: 900; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.kd-urgent__s { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--kd-muted); }
.kd-urgent input:checked ~ .kd-urgent__box { background: #fff; border-color: #fff; }
.kd-urgent input:checked ~ .kd-urgent__box::after { opacity: 1; border-color: var(--kd-red); }
.kd-urgent:has(input:checked) { background: var(--kd-red); border-color: var(--kd-red); color: #fff; }
.kd-urgent:has(input:checked) .kd-urgent__s { color: rgb(255 255 255 / .85); }
.kd-urgent input:focus-visible ~ .kd-urgent__box { outline: 3px solid var(--kd-ink); outline-offset: 2px; }
.kd-contact .kd-in input[aria-invalid="true"]:not(:focus) { border-color: var(--kd-red); }
.q-step[data-type="you"] .q-body { margin-top: 16px; }

/* =========================================================
   Occasion tiles rev 3: a quiet tray opens out of the tile.
   One highlight only: Corporate, a violet outline + "Popular" badge.
   ========================================================= */
.g-tw { position: relative; min-width: 0; display: flex; flex-direction: column; border-radius: 14px;
  border: 1px solid rgb(255 255 255 / .16); background: linear-gradient(180deg, rgb(255 255 255 / .09) 0%, rgb(255 255 255 / .03) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12); transition: border-color .2s ease, background-color .2s ease; }
.g-tw > .g-tile { border: 0; background: none; box-shadow: none; flex: 1; width: 100%; padding-right: 40px; }
.g-tw.is-open { grid-column: 1 / -1; border-color: rgb(255 255 255 / .34); background-color: rgb(255 255 255 / .03); }
.g-tw.is-picked { border-color: rgb(236 222 180 / .75); }
.g-tile__chev { position: absolute; right: 14px; top: 18px; width: 8px; height: 8px; border: solid rgb(255 255 255 / .55); border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg); transition: transform .25s cubic-bezier(0.23, 1, 0.32, 1); }
.g-tw.is-open .g-tile__chev { transform: translateY(3px) rotate(-135deg); }

/* The tray: three short lines and Select. Opens with the accordion grid trick. */
.g-tray { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s cubic-bezier(0.23, 1, 0.32, 1); }
.g-tw.is-open .g-tray { grid-template-rows: 1fr; }
.g-tray__in { overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 14px; }
.g-tw.is-open .g-tray__in { padding-bottom: 12px; }
.g-tray__pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-width: 0; }
.g-tray__pts li { position: relative; padding-left: 14px; font: 400 13.5px/1.4 var(--font-text); color: rgb(229 227 223 / .72); }
.g-tray__pts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--arena); opacity: .8; }
.g-tray__go { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .7); cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgb(255 255 255 / .16) 0%, rgb(255 255 255 / .05) 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35);
  font-family: "TAY Bartender", Georgia, serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.g-tray__go:focus-visible { outline: 2px solid var(--arena); outline-offset: 2px; }

/* Popular: violet outline with a slow light round the edge, a small badge */
.g-tw--pop { border-color: transparent; box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 0 22px -12px rgb(157 128 230 / .6); }
.g-tw--pop::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--edge), #4A2C8A, #9D80E6 18%, #E4DAFF 25%, #9D80E6 32%, #4A2C8A 50%, #7A5AC4 75%, #4A2C8A);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: edge-run 6s linear infinite; }
.pop-badge { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 999px; margin-top: 2px;
  background: rgb(157 128 230 / .18); border: 1px solid rgb(157 128 230 / .45); color: #CDBDF8;
  font: 600 10.5px/1 var(--font-text); letter-spacing: .02em; }
@media (hover: hover) and (pointer: fine) { .g-tw:not(.is-open):hover { border-color: rgb(255 255 255 / .3); } .g-tw--pop:hover { border-color: transparent; } }
@media (prefers-reduced-motion: reduce) { .g-tray, .g-tile__chev { transition: none; } .g-tw--pop::before { animation: none; } }
/* The tray drops out of the tile in place: no reshuffle, the neighbour stays put */
.g-opts--tiles { align-items: start; }
.g-tw.is-open { grid-column: auto; }
.g-opts--tiles > .g-tw:last-child:nth-child(odd) { grid-column: 1 / -1; }
.g-tray__in { flex-direction: column; align-items: stretch; gap: 10px; }
.g-tray__go { align-self: stretch; }
.g-tw > .g-tile { min-height: 60px; }

/* =========================================================
   Round 9: settle it down
   ========================================================= */
/* Tray: plain lines, a small Select */
.g-tray__pts li { padding-left: 0; }
.g-tray__pts li::before { display: none; }
.g-tray__go { align-self: flex-start; min-height: 36px; padding: 0 14px; font-size: 11px; letter-spacing: .12em; }
/* Popular: a quiet word, no pill */
.pop-badge { height: auto; padding: 0; margin-top: 0; border: 0; background: none; color: #CDBDF8; opacity: .5;
  font: 600 11px/1.2 var(--font-text); letter-spacing: .04em; }
/* Restaurant or venue project: same size as the rest */
.g-opts--tiles > .g-tw:last-child:nth-child(odd) { grid-column: auto; }

/* Chef's choice: the same violet light round the edge, with a star */
.g-opt[data-chef] { border-color: transparent; }
.g-opt[data-chef]::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--edge), #4A2C8A, #9D80E6 18%, #E4DAFF 25%, #9D80E6 32%, #4A2C8A 50%, #7A5AC4 75%, #4A2C8A);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: edge-run 6s linear infinite; }
.g-opt[data-chef] .g-opt__t::after { content: " ★"; color: #CDBDF8; font-size: .9em; }
@media (prefers-reduced-motion: reduce) { .g-opt[data-chef]::before { animation: none; } }

/* Calendar runs: start and end filled, the days between joined by a band */
.cal__grid { gap: 4px 0; }
.cal__d.is-mid { border-radius: 0; background: rgb(215 197 147 / .2); color: #fff; font-weight: 600; }
.cal__d.is-a, .cal__d.is-b { background: var(--arena); border-color: var(--arena); color: var(--tierra); font-weight: 700; }
.kd .cal__d.is-mid { background: #EDEDED; color: var(--kd-ink); }
.kd .cal__d.is-a, .kd .cal__d.is-b { background: var(--kd-ink); border-color: var(--kd-ink); color: #fff; }

/* Required fields */
.req { margin-left: 3px; color: var(--kd-red); font-weight: 800; }
.cal__d.is-mid, .kd .cal__d.is-mid { border-color: transparent; }

/* Tray: the chevron steps aside once open; Select is a round arrow */
.g-tw.is-open .g-tile__chev { opacity: 0; }
.g-tile__chev { transition: transform .25s cubic-bezier(0.23, 1, 0.32, 1), opacity .15s ease; }
.g-tray__in { flex-direction: row; align-items: flex-end; justify-content: space-between; }
.g-tray__go { display: grid; place-items: center; flex: none; align-self: flex-end; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
.g-tray__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g-tray__in { flex-direction: column; align-items: stretch; gap: 6px; }
.g-tray__go { align-self: flex-end; width: 40px; height: 40px; min-height: 40px; margin-top: -2px; }

/* No chevrons: the tile simply opens */
.g-tile__chev { display: none; }
.g-tw > .g-tile { padding-right: 14px; }
/* The tray lines are the selling points: bright, a touch heavier */
.g-tray__pts li { color: rgb(255 255 255 / .92); font-weight: 500; font-size: 14px; }

/* Date step: "Not sure yet" is a plain tick box with text, so Continue is the
   only button in the action spot */
.g-date-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
.g-opt.g-check, .g-opt.g-check[aria-pressed="true"] { display: inline-flex; flex-direction: row; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px 0 0;
  margin-left: -2px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 6px; }
.g-check .g-opt__tick { position: relative; left: auto; right: auto; top: auto; margin: 0; flex: none; width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid rgb(255 255 255 / .45); }
.g-check .g-opt__tick::after { left: 6.5px; top: 2.5px; }
.g-check .g-opt__t { font: 500 15px/1.3 var(--font-text); color: rgb(229 227 223 / .85); }
.g-check[aria-pressed="true"] .g-opt__t { color: #fff; }
.g-opt.g-check:active { transform: none; }
@media (hover: hover) and (pointer: fine) { .g-opt.g-check:hover { background: none; } .g-check:hover .g-opt__tick { border-color: rgb(255 255 255 / .8); } }
