/* ============================================================
   DIRECTION 3a — "HOUSE LIGHTS"  (the committed merge)
   Show floor stays dark: Laminate's night-violet seller + fan
   surfaces with paper only where money changes hands. Then you
   open /admin and the house lights come up — 2b's warm paper
   ledger printed in hot-pink ink. Same pink, same mono numerals,
   same paper card on both sides, so it reads as one product
   in two lighting states, not two products.
   PAID = the ORIGINAL Laminate pass flip, untouched.
   ------------------------------------------------------------
   TOKENS
   front bg  #0e0d13 · surf #18161f/#221f2b · line #2d2939/#3e3850
   paper     #f8f4ea (money surfaces) · admin bg #f3eee4
   pink      #ff4fa0 on dark · #a81f68 printed on paper
   cyan      #59d0ff info · paid #3ddc84 / #158a4e on paper
   type      900 condensed caps display · ui-monospace data
   radius    dark 14/999 · paper 3px
   motion    springs 250–450ms cubic-bezier(.3,1.4,.4,1)
   ============================================================ */

:root {
  --bg: #0e0d13;
  --paper: #f8f4ea;
  --surface: #18161f;
  --surface-2: #221f2b;
  --line: #2d2939;
  --line-2: #3e3850;
  --text: #f5f3fa;
  --muted: #9d97ad;
  --faint: #676177;
  --ink: #1d1824;
  --paid: #3ddc84;
  --paid-dim: rgba(61, 220, 132, .12);
  --danger: #ff5d6b;
  --warn: #ffb020;
  --pink: #ff4fa0;
  --pink-deep: #a81f68;
  --cyan: #59d0ff;
  --held: #b48bff;        /* spoken for: pre-ordered at a later show */
  --held-ink: #5b34a8;    /* the same, on paper */
  --r-lg: 14px;
  --r-md: 10px;
  --r-sm: 3px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --holo: linear-gradient(100deg, #ff4fa0, #ffb020 30%, #3ddc84 55%, #59d0ff 80%, #b48bff);
  --spring: cubic-bezier(.3, 1.4, .4, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
/* Everything tappable: no double-tap-to-zoom and no 300ms tap delay, while
   pinch and scroll keep working. Fast taps on the register's + / − were being
   read by iOS as a double-tap and the whole page zoomed in mid-sale. */
html, body, a, button, [role="button"], input, select, textarea, label, summary,
.btn, .tab, .chip, .sizechip, .qtybtn, .tile, .tile-tap, .discchip, .laneopt,
.pendchip, .cartfab, .dropitem, .showchip { touch-action: manipulation; }
/* crew screens (register, scan, hand-off, orders, labels, admin): the
   viewport is pinned by base.html, and the page never rubber-bands */
html.kiosk, body.kiosk { overscroll-behavior: none; }
html { height: 100%; }
body {
  font-family: var(--font);
  /* the corner glows are viewport furniture, not wallpaper: pin them and
     never tile (tall pages showed the repeat seam) */
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 550px at 85% -10%, rgba(255,79,160,.08), transparent 60%),
    radial-gradient(900px 500px at 5% 110%, rgba(89,208,255,.06), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  min-height: 100%;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
/* hover is a pointer thing. iPadOS plays the first tap as a hover when a
   :hover rule exists, so a link can take two taps before it goes; gating it
   on a real hovering pointer keeps taps on the tab bar single. */
@media (hover: hover) { a:hover { color: var(--pink); } }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; }

.testbanner {
  background: repeating-linear-gradient(-45deg, #4a3c0a, #4a3c0a 14px, #3a310e 14px, #3a310e 28px);
  color: var(--warn);
  text-align: center;
  font-family: var(--mono);
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  padding: 6px 8px; border-bottom: 1px solid #5f4d0e;
}

/* ---- top bar ---- */
.topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  border-bottom: 2px solid var(--line-2);
  position: sticky; top: 0; background: rgba(14,13,19,.92);
  backdrop-filter: blur(12px); z-index: 40;
}
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--holo); opacity: .55; }
.wordmark { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.wordmark .mk {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--pink); color: #21020f;
  display: grid; place-items: center; font-weight: 900; font-size: 12px;
}
.wordmark b { font-weight: 900; text-transform: uppercase; letter-spacing: .04em; font-stretch: 90%; }
.wordmark span { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-stretch: 90%; }
.topbar .grow { flex: 1; }
.tourchip {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  border: 2px solid var(--pink); border-radius: 999px; padding: 6px 14px;
  color: var(--text); white-space: nowrap; max-width: 30vw; overflow: hidden;
  text-overflow: ellipsis; cursor: pointer; list-style: none; user-select: none;
}
.tourchip::-webkit-details-marker { display: none; }
summary.showchip { cursor: pointer; list-style: none; user-select: none; display: inline-block; }
summary.showchip::-webkit-details-marker { display: none; }
body.page-admin .tourchip { border-radius: 2px; color: #221a20; background: #faf6ee; box-shadow: 3px 3px 0 rgba(224,51,143,.3); border-width: 1.5px; }

/* tour dropdown */
details.drop { position: relative; }
.dropmenu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 90;
  min-width: 240px; display: flex; flex-direction: column; padding: 6px;
  background: var(--surface); border: 2px solid var(--line-2); border-radius: var(--r-md);
  box-shadow: 0 18px 44px rgba(0,0,0,.5);
  /* the topbar is sticky, so a menu taller than the screen (iPad) can't be
     reached by scrolling the page — the menu itself has to scroll */
  max-height: calc(100dvh - 96px); overflow-y: auto;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.dropitem {
  padding: 10px 12px; border-radius: 7px; font-family: var(--mono);
  font-size: 12.5px; font-weight: 700; color: var(--muted);
  display: flex; justify-content: space-between; gap: 14px;
}
.dropitem:hover { background: var(--surface-2); color: var(--text); }
.dropitem.on { color: var(--text); background: var(--surface-2); font-weight: 900; }
.dropsep { height: 1px; margin: 6px 4px; background: var(--line-2); }
.dropitem.manage { color: var(--faint); font-weight: 600; }
body.page-admin .dropmenu { background: #faf6ee; border: 1.5px solid #221a20; border-radius: 2px; box-shadow: 5px 5px 0 rgba(224,51,143,.3); }
body.page-admin .dropitem { color: #71636e; border-radius: 2px; }
body.page-admin .dropitem:hover { background: #f0e9db; color: #221a20; }
body.page-admin .dropitem.on { color: #221a20; background: #f0e9db; font-weight: 900; }
body.page-admin .dropsep { background: #c8bda6; }
/* the venue name at the top of a show room is the run's picker: it reads as
   the title, and only the caret says it opens */
summary.venuepick-name { cursor: pointer; list-style: none; user-select: none; font-size: 16px; letter-spacing: .02em; }
summary.venuepick-name::-webkit-details-marker { display: none; }
details.venuepick .dropmenu { min-width: 340px; }
details.venuepick .dropitem > span:last-child { white-space: nowrap; }
.showchip {
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--muted);
  border: 2px solid var(--line-2); border-radius: 999px; padding: 6px 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw;
}
.showchip b { color: var(--cyan); }
.tabs { display: flex; gap: 6px; }
.tab {
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .08em; font-stretch: 90%;
  color: var(--muted); min-height: 38px; display: inline-flex; align-items: center;
}
.tab.active { background: var(--pink); color: #21020f; }
/* a tab tap answers at once: the page behind dims while the next one loads */
body.leaving > :not(.topbar):not(.testbanner) { opacity: .4; pointer-events: none; transition: opacity .12s; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 900; font-size: 16px;
  text-transform: uppercase; letter-spacing: .06em; font-stretch: 92%;
  padding: 14px 22px; min-height: 52px;
  border: 2px solid var(--line-2); color: var(--text); background: var(--surface-2);
  transition: transform .18s var(--spring), opacity .15s;
  user-select: none;
}
.btn:active { transform: scale(.95); }
.btn-primary { background: var(--pink); color: #21020f; border-color: var(--pink); box-shadow: 0 4px 24px rgba(255,79,160,.35); }
/* the global a:hover paints link text pink — on a pink button the words
   dissolve into the ground. Anchor-buttons keep their own ink and flash
   with brightness instead. */
a.btn:hover { color: var(--text); }
a.btn-primary:hover { color: #21020f; filter: brightness(1.08); }
a.btn-paid:hover { color: #06220f; filter: brightness(1.08); }
a.btn-danger:hover { color: var(--danger); }
.btn-paid { background: var(--paid); color: #06220f; border-color: var(--paid); }
.btn-danger { background: transparent; color: var(--danger); border-color: #4a2630; }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; }
.btn-xl { min-height: 64px; font-size: 19px; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 12px; }
.btn[disabled] { opacity: .4; pointer-events: none; }

/* ---- sell console: dark tiles, clipboard cart ---- */
.console { display: flex; height: calc(100dvh - 61px); }
body.has-testbanner .console { height: calc(100dvh - 89px); }
.gridwrap { flex: 1; overflow-y: auto; padding: 16px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 12px; }
/* a support act's block: one full-width rule + name above their tiles */
.tilesec { grid-column: 1 / -1; margin-top: 14px; padding-top: 12px; border-top: 2px solid var(--line-2);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tilesec span { color: var(--text); }
.tilesec:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.tile {
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg);
  padding: 13px 13px 12px; display: flex; flex-direction: column; gap: 8px;
  position: relative; overflow: hidden;
}
.tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--cyan); opacity: .9; }
.tile:nth-child(7)::before, .tile:nth-child(8)::before { background: var(--warn); }
.tile:nth-child(9)::before, .tile:nth-child(10)::before { background: #b48bff; }
.tile .cat { display: none; }
.cat-soft { background: var(--cyan); } .cat-music { background: var(--warn); } .cat-other { background: #b48bff; }
.tile .thumb { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); display: block; margin-top: 3px; }
/* real photos sit on white so transparent PNGs pop; the lettered fallbacks
   keep their category gradients (their classes set the background) */
.tile img.thumb { background: #fff; }
.thumb-fallback { display: grid; place-items: center; }
.thumb-fallback span { font-size: 36px; font-weight: 900; letter-spacing: .04em; color: rgba(245,243,250,.85); font-stretch: 90%; }
.cat-soft-bg { background: linear-gradient(135deg, #143246, #0e2231); }
.cat-music-bg { background: linear-gradient(135deg, #46300f, #31220e); }
.cat-other-bg { background: linear-gradient(135deg, #2f2046, #201631); }
.tile h3 { font-size: 15px; font-weight: 800; line-height: 1.2; min-height: 2.4em; text-transform: uppercase; letter-spacing: .01em; font-stretch: 92%; }
.tile .price { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--cyan); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.sizechip {
  min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px;
  background: var(--surface-2); border: 2px solid var(--line-2);
  font-size: 14px; font-weight: 900; display: grid; place-items: center;
  transition: transform .18s var(--spring);
}
.sizechip:active { background: var(--pink); border-color: var(--pink); color: #21020f; transform: scale(.92); }
.sizechip.oos { opacity: .25; text-decoration: line-through; pointer-events: none; }
.sizechip.low { border-color: var(--warn); color: var(--warn); }

/* cart rail: paper clipboard — money is paper */
.cartrail {
  width: 344px; border-left: 2px solid var(--line-2); display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  --text: #1d1824; --muted: #6e6579; --faint: #9891a3; --line: #e3dbc9; --line-2: #d0c7b3;
  position: relative;
}
.cartrail header {
  padding: 16px 16px 8px; font-size: 13px; font-weight: 900; letter-spacing: .2em;
  color: var(--ink); text-transform: uppercase; font-stretch: 90%; text-align: center;
  border-bottom: 2px solid var(--ink); margin: 0 14px;
}
.cartlines { flex: 1; overflow-y: auto; padding: 0 16px; }
.cartline { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px dashed #e3dbc9; }
.cartline .nm { flex: 1; font-size: 13.5px; font-weight: 900; text-transform: uppercase; font-stretch: 92%; }
.cartline .nm small { display: block; font-family: var(--mono); color: #6e6579; font-weight: 500; font-size: 11px; }
.qtybtn {
  width: 36px; height: 36px; border-radius: 999px; background: var(--paper);
  border: 2px solid var(--ink); font-size: 16px; font-weight: 900; display: grid; place-items: center;
  transition: transform .18s var(--spring);
}
.qtybtn:active { background: var(--ink); color: var(--paper); transform: scale(.88); }
.cartline .amt { font-family: var(--mono); font-weight: 700; font-size: 13.5px; min-width: 52px; text-align: right; font-variant-numeric: tabular-nums; }
.carttotal {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 4px 16px 0; padding: 12px 0 6px; border-top: 3px solid var(--ink);
  font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: #6e6579;
}
.carttotal b { font-family: var(--mono); font-size: 32px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.cartactions { padding: 10px 14px 16px; display: flex; flex-direction: column; gap: 9px; position: relative; }
.cartactions .btn { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.cartactions .btn-primary { background: var(--pink); color: #21020f; border-color: var(--pink); box-shadow: 3px 3px 0 rgba(29,24,36,.3); }
.cartactions .btn-ghost { border-style: dashed; border-color: #d0c7b3; color: #6e6579; }
/* Cart management belongs on the cart, not in the stack where money happens. */
.clearx {
  position: absolute; right: 14px; top: 12px; width: 30px; height: 30px;
  border-radius: 999px; background: none; border: 0; color: #9891a3;
  font-size: 22px; line-height: 1; display: grid; place-items: center;
}
.clearx:active { background: var(--ink); color: var(--paper); }
.lanehint { text-align: center; font-size: 12px; color: #6e6579; margin: -4px 0 2px; }
.lanemore {
  list-style: none; text-align: center; font-size: 12.5px; font-weight: 700;
  color: #6e6579; padding: 6px; text-decoration: underline; text-underline-offset: 3px;
}
.lanemore::-webkit-details-marker { display: none; }
/* anchor to the whole action stack, not the link: the menu opens over the
   empty cart space instead of covering the Cash button mid-sale */
details.lanedrop { position: static; }
.lanedrop .dropmenu {
  background: #faf6ee; border: 2px solid var(--ink); border-radius: var(--r-md);
  box-shadow: 4px 4px 0 rgba(29,24,36,.25);
  left: 14px; right: 14px; bottom: calc(100% - 4px); top: auto;
}
.lanedrop .dropitem { color: #1d1824; width: 100%; text-align: left; font-weight: 700; }
.lanedrop .dropitem:hover { background: #f0e9db; color: #1d1824; }
.cart-empty { color: #9891a3; text-align: center; padding: 40px 20px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }

.discchips { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 16px 0; }
.discchip { border: 2px dashed #d0c7b3; border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 900; color: #6e6579; text-transform: uppercase; }
.discchip.on { border-style: solid; border-color: var(--pink); color: #c2247d; }

@media (max-width: 760px) {
  .console { flex-direction: column; }
  .cartrail { width: 100%; border-left: 0; border-top: 2px solid var(--line-2); max-height: 46dvh; }
}

/* ---- handoff: the pass on the table (no lanyard) ---- */
.handoff {
  min-height: calc(100dvh - 61px); display: flex; align-items: center; justify-content: center;
  gap: 52px; padding: 24px; flex-wrap: wrap;
  perspective: 1200px;
}
.qrcard {
  background: var(--paper); border-radius: 22px; padding: 30px;
  width: min(78vw, 400px); aspect-ratio: .82; display: grid; place-items: center;
  position: relative;
  border: 3px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 2px var(--line-2);
  transition: transform .45s var(--spring);
}
.qrcard::before { /* punch slot */
  content: ""; position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 10px; border-radius: 999px;
  background: var(--bg); box-shadow: inset 0 1px 2px rgba(0,0,0,.6);
}
.qrcard::after {
  content: "OFFICIAL · SCAN TO PAY · OFFICIAL · SCAN TO PAY";
  position: absolute; left: 0; right: 0; bottom: 0; height: 34px;
  border-radius: 0 0 18px 18px;
  background: var(--holo); opacity: .9;
  color: rgba(20,2,16,.75); font-size: 10.5px; font-weight: 900; letter-spacing: .18em;
  display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden;
}
.qrcard img { width: 82%; margin-top: 8px; }
body.is-paid .qrcard { transform: rotateY(88deg); }

/* Keyed entry: same paper pass, but a form instead of a QR. Fallback lane —
   reads as deliberate, not as the default way to take money. */
.qrcard.keyed {
  /* the base .qrcard centres a lone QR; a form needs its rows stretched full
     width instead, or Stripe's min-width:100% iframe collapses to a sliver */
  aspect-ratio: auto; display: flex; flex-direction: column; align-items: stretch;
  width: min(90vw, 430px); padding: 34px 26px 56px;
}
.qrcard.keyed::after { content: "MANUAL ENTRY · CARD NOT PRESENT · MANUAL ENTRY"; }
.keyed-head {
  color: #1d1824; font-weight: 900; font-size: 15px; letter-spacing: .12em;
  text-transform: uppercase; font-stretch: 90%; text-align: center; margin-bottom: 16px;
}
.cardel {
  width: 100%; background: #fff; border: 2px solid var(--line-2); border-radius: var(--r-md);
  padding: 15px 14px; box-shadow: inset 0 2px 4px rgba(29,24,36,.07);
}
.keyed-err { color: #c2244a; font-size: 13.5px; font-weight: 700; min-height: 19px; padding: 6px 2px 0; }
.qrcard.keyed .btn { margin-top: 6px; box-shadow: 3px 3px 0 rgba(29,24,36,.3); }
.keyed-note { color: #6e6579; font-size: 12.5px; text-align: center; margin-top: 12px; }

.lanyard { display: none; }
/* the way out while the fan is still paying: a pink button in the top bar,
   not a grey tab. It was the one control on the screen a seller could miss,
   and the one they reach for on every QR sale (2026-09-29). The brand mark
   sets the bar's height, so the button can be a real tap target without
   growing it. margin-left keeps it top right at every width: the narrow
   breakpoints hide .grow, and the button slid over beside the logo. */
.topbar .btn-next {
  min-height: 42px; padding: 8px 24px; font-size: 14.5px; white-space: nowrap;
  letter-spacing: .08em;
}
.topbar .btn-next.going { filter: brightness(1.12); transform: scale(.97); }
body.page-handoff .topbar > a { margin-left: auto; }
.handoff .side { max-width: 380px; display: flex; flex-direction: column; gap: 18px; }
.waiting { display: flex; align-items: center; gap: 10px; color: var(--warn); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; font-stretch: 90%; }
.dot { width: 12px; height: 12px; border-radius: 999px; background: var(--warn); animation: pulse 1.2s var(--spring) infinite; }
@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }
.handoff-total { font-family: var(--mono); font-size: 50px; font-weight: 700; font-variant-numeric: tabular-nums; }
.handoff-items { color: var(--muted); font-size: 15px; font-weight: 600; line-height: 1.7; }
.bigcode { font-family: var(--mono); font-size: 46px; font-weight: 700; letter-spacing: .3em; padding: 10px 0 6px; color: var(--cyan); }

/* ---- PAID: the ORIGINAL pass flip (1b, untouched) ----
   t=0       QR pass swings away (rotateY→88°, 450ms spring)
   t=120ms   green floods outward from the card (circle 0→150%, 380ms)
   t=380ms   PAID slaps on at −5°, sticker-style (scale 1.4→1 spring)
   t=520ms   code + items pop up (translateY 14px→0, spring)
   t>1s      flash sways ±0.6° on a 3s loop  */
.paidflash {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paid); color: #06220f;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: 28px;
}
.paidflash.show {
  display: flex;
  clip-path: circle(150% at 35% 50%);
  animation: flood .38s .12s ease-out backwards, sway 3s 1s ease-in-out infinite;
}
@keyframes flood { from { clip-path: circle(0 at 35% 50%); } to { clip-path: circle(150% at 35% 50%); } }
@keyframes sway { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(.6deg); } 70% { transform: rotate(-.5deg); } }
.paidflash .fx { position: absolute; inset: auto 0 0 0; height: 46px; pointer-events: none; background: var(--holo); opacity: .85; }
.paidflash .check { font-size: 64px; line-height: 1; animation: slap .28s .38s var(--spring) backwards; }
.paidflash h1 {
  font-size: 128px; font-weight: 900; letter-spacing: -.01em; line-height: .9;
  text-transform: uppercase; font-stretch: 88%;
  transform: rotate(-5deg);
  animation: slap .28s .38s var(--spring) backwards;
}
@keyframes slap { from { transform: scale(1.4) rotate(-5deg); opacity: 0; } to { transform: scale(1) rotate(-5deg); opacity: 1; } }
.paidflash .ordcode { font-family: var(--mono); font-size: 30px; letter-spacing: .34em; font-weight: 700; animation: rise .3s .52s var(--spring) backwards; }
.paidflash .items { font-size: 17px; font-weight: 700; opacity: .85; animation: rise .3s .58s var(--spring) backwards; }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.paidflash .btn { background: #06220f; color: var(--paid); border-color: #06220f; min-width: 280px; animation: rise .3s .66s var(--spring) backwards; }

/* ---- fan sheet: paper stub in the dark ---- */
.sheet { max-width: 440px; margin: 0 auto; padding: 26px 20px 40px; display: flex; flex-direction: column; gap: 18px; min-height: 100dvh; }
.sheet .brand { text-align: center; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .18em; }
.sheet .brand b { display: block; color: var(--text); font-size: 22px; font-weight: 900; font-stretch: 90%; margin: 3px 0 2px; }
.panel {
  background: var(--paper); color: var(--ink);
  --text: #1d1824; --muted: #6e6579; --faint: #9891a3; --line: #e3dbc9; --line-2: #d0c7b3;
  border: 0; border-radius: 10px; padding: 26px 18px 24px;
  position: relative;
  box-shadow: 0 10px 34px rgba(0,0,0,.5);
}
.panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 7px; border-radius: 10px 10px 0 0; background: var(--holo); }

.lines .line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #e3dbc9; font-size: 13.5px; font-weight: 900; text-transform: uppercase; font-stretch: 94%; }
.lines .line:last-child { border-bottom: 0; }
.lines .line .q { color: #6e6579; font-family: var(--mono); font-weight: 500; }
.lines .line span:last-child { font-family: var(--mono); font-weight: 700; }
.totalrow { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 3px solid var(--ink); margin-top: 6px; }
.totalrow span { color: #6e6579; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.totalrow b { font-family: var(--mono); font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; }
.trust { text-align: center; color: var(--faint); font-size: 12.5px; font-weight: 600; line-height: 1.6; }
.paybadges { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.paybadge { border: 2px solid var(--line-2); border-radius: 999px; padding: 4px 11px; font-size: 11.5px; font-weight: 900; color: var(--muted); }

/* ---- ADMIN: HOUSE LIGHTS UP — 2b's paper ledger, hot-pink ink ---- */
body.page-admin {
  font-family: var(--mono);
  font-size: 15px;
  background: #f3eee4;
  color: #221a20;
  --bg: #f3eee4; --surface: #faf6ee; --surface-2: #f0e9db;
  --line: #e0d8c6; --line-2: #c8bda6;
  --text: #221a20; --muted: #71636e; --faint: #9c8f9a;
  --paid: #158a4e; --warn: #a86f00; --danger: #c0392b;
}
body.page-admin .topbar { background: rgba(243,238,228,.95); border-bottom: 1px dashed var(--line-2); }
body.page-admin .topbar::after { display: none; }
body.page-admin .wordmark .mk { background: var(--pink); color: #2b0418; }
body.page-admin .wordmark b, body.page-admin .wordmark span { font-stretch: 100%; letter-spacing: .1em; font-size: 13px; }
body.page-admin .showchip { border-style: dashed; border-radius: 2px; }
body.page-admin .tab { color: #9c8f9a; font-family: var(--mono); font-stretch: 100%; letter-spacing: .12em; font-weight: 700; font-size: 12px; border-radius: 999px; }
body.page-admin .tab.active { background: var(--pink); color: #2b0418; }
body.page-admin .btn { background: #faf6ee; border: 1px solid #221a20; color: #221a20; border-radius: 2px; font-family: var(--mono); font-stretch: 100%; letter-spacing: .1em; font-weight: 700; font-size: 13px; box-shadow: none; }
body.page-admin .btn-primary { background: #221a20; color: #faf6ee; box-shadow: 4px 4px 0 var(--pink); }
body.page-admin .btn-paid { background: #158a4e; color: #f2fff7; border-color: #158a4e; }
body.page-admin .btn-ghost { background: transparent; border-style: dashed; border-color: var(--line-2); color: #71636e; }
body.page-admin .testbanner {
  background: repeating-linear-gradient(-45deg, #ffd45e, #ffd45e 14px, #f0b820 14px, #f0b820 28px);
  color: #4a3500; border-bottom: 1px solid #d9a71e;
}

/* short pages lose the scrollbar and every centred layout jumps ~15px on
   room changes — reserve the gutter so all pages share one exact width */
html { scrollbar-gutter: stable; }
label.field { display: flex; flex-direction: column; gap: 5px; }
label.field > span { font-size: 10.5px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); }
label.field .pinput { min-height: 36px; }
.adminwrap { max-width: 1440px; margin: 0 auto; padding: 24px 28px 80px; display: flex; flex-direction: column; gap: 22px; }
.adminwrap h1 { font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.adminwrap h2 {
  font-size: 11.5px; font-weight: 700; color: var(--pink-deep);
  text-transform: uppercase; letter-spacing: .26em;
  border-bottom: 2px solid #221a20; padding-bottom: 7px;
}
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th { text-align: left; color: #9c8f9a; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; padding: 8px 10px; border-bottom: 2px solid #221a20; }
table.data td { padding: 9px 10px; border-bottom: 1px dashed var(--line); }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data input { width: 64px; background: #fff; border: 1.5px solid #221a20; border-radius: 2px; color: #221a20; padding: 5px 8px; text-align: right; font-family: var(--mono); }
.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat {
  background: var(--paper); border: 0; border-radius: 2px; padding: 13px 15px 16px;
  position: relative; box-shadow: 3px 3px 0 rgba(224,51,143,.3);
}
.stat .k { color: #71636e; font-size: 10px; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; }
.stat .v { font-size: 24px; font-weight: 700; margin-top: 3px; font-variant-numeric: tabular-nums; }
.pinput { background: #fff; border: 1.5px solid #221a20; border-radius: 2px; color: #221a20; padding: 10px 12px; font-size: 13.5px; min-height: 42px; font-family: var(--mono); }
select.pinput { appearance: auto; }
.chip {
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 2px; padding: 3px 8px;
  background: transparent; color: var(--pink-deep);
  border: 1.5px solid var(--pink-deep); transform: rotate(-2deg); display: inline-block;
}
.subnav { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 18px 0; max-width: 1080px; margin: 0 auto; }
.subchip { border: 1px dashed var(--line-2); border-radius: 999px; padding: 6px 14px; font-size: 11px; font-weight: 700; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #71636e; }
.subchip.on { background: #221a20; color: #faf6ee; border-color: #221a20; border-style: solid; }

svg.chart rect.bar { rx: 1px; }
svg.chart-gross rect.bar { fill: var(--pink-deep); }
svg.chart-perhead rect.bar { fill: #158a4e; }
svg.chart text.val { fill: #71636e; font-family: var(--mono); }
svg.chart text.lbl { fill: #9c8f9a; font-family: var(--mono); letter-spacing: .06em; }
svg.chart { display: block; margin-top: 14px; }   /* air between the h2 rule and the bars */
/* side-by-side charts share a baseline (punch #31): panels stretch to the
   taller one and each chart sits at its panel's foot */
.chartpair { display: flex; gap: 28px; flex-wrap: wrap; }
.chartpanel { flex: 1; min-width: 320px; display: flex; flex-direction: column; }
.chartpanel .chartfoot { margin-top: auto; }
/* a share beside its money: quiet, never louder than the figure */
.mixtable td.mixpct { color: var(--faint); font-size: 12.5px; width: 4.5em; }
svg.chart rect.bar { transition: filter .15s ease, opacity .15s ease; cursor: default; }
svg.chart:hover rect.bar { opacity: .55; }
svg.chart rect.bar:hover { opacity: 1; filter: brightness(1.15) saturate(1.1); }
.charttip {
  position: fixed; z-index: 60; pointer-events: none;
  background: #17161d; border: 1px solid var(--pink-deep, #e0559f);
  border-radius: 10px; padding: 7px 12px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  font-size: 12.5px; color: var(--muted); line-height: 1.45;
  opacity: 0; transform: translateY(4px);
  transition: opacity .12s ease, transform .12s ease;
}
.charttip.on { opacity: 1; transform: translateY(0); }
.charttip b { display: block; color: #f5f3fa; font-family: var(--mono); font-size: 15px; }
.charttip span { color: #b6afc0; }
/* the stacked bar's split: Apparel $x (61%) · Music $y (25%) · … */
.charttip em { display: block; font-style: normal; color: #8f97a1;
  font-size: 11.5px; margin-top: 3px; max-width: 260px; }

/* ---- BOARD: glanceable lanes + age escalation ----
   Age states (real impl: JS re-classes cards on each 2s poll):
   fresh < 2m — default · 2–5m .age-warn — amber edge + bold age
   ≥ 5m .age-hot — pink edge, pulsing glow, the card ASKS to be dealt with */
.boardwrap { padding: 16px; }
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
@media (max-width: 900px) { .lanes { grid-template-columns: 1fr; } }
.lane h2 {
  font-size: 12.5px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; font-stretch: 90%;
  color: var(--faint); padding: 4px 2px 10px; display: flex; gap: 8px; align-items: center;
}
.lane h2 .n { background: var(--surface-2); border-radius: 999px; padding: 1px 10px; font-family: var(--mono); font-size: 12px; color: var(--cyan); }
.ordercard {
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg);
  padding: 13px 14px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 8px;
  transition: border-color .3s, box-shadow .3s;
}
.ordercard.age-warn { border-color: #6b5410; }
.ordercard.age-warn .agegap { color: var(--warn); font-weight: 700; }
.ordercard.age-hot { border-color: var(--pink); animation: hotglow 1.6s ease-in-out infinite; }
.ordercard.age-hot .agegap { color: var(--pink); font-weight: 900; font-size: 14px; }
@keyframes hotglow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,79,160,0); }
  50% { box-shadow: 0 0 22px 2px rgba(255,79,160,.35); }
}
.ordercard.attention { border-color: var(--danger); }
.ordercard .row1 { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.ordercard .code { font-family: var(--mono); font-weight: 700; font-size: 18px; letter-spacing: .18em; }
/* a state chip a save writes into is always in the markup, blank when it
   has nothing to say — otherwise there is no element to patch */
.chip:empty { display: none; }
/* the view-only login: the stamp beside the wordmark, and every control that
   would change something, greyed (base.html sweeps them) */
.viewchip { margin-left: -4px; white-space: nowrap; }
@media (max-width: 520px) { .viewchip { font-size: 8px; letter-spacing: .06em; padding: 2px 5px; margin-left: -8px; } }
.viewoff, .viewoff:hover { opacity: .38; cursor: not-allowed !important; filter: grayscale(1); }
a.viewoff { pointer-events: none; }
body.viewonly .titletext { cursor: default; border-bottom-color: transparent !important; }
/* a report figure that is an estimate, not the settled number: a quiet
   mono tag after the amount, never a loud chip — most rows are actuals */
.est { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--faint); text-decoration: none; }
.chip-presale { color: #cfb3ff; background: rgba(180,139,255,.14); border: 0; }
.chip-self { color: var(--cyan); background: rgba(89,208,255,.12); border: 0; }
.chip-cash { color: var(--warn); background: rgba(255,176,32,.12); border: 0; }
.chip-alert { color: var(--danger); background: rgba(255,93,107,.14); border: 0; }
.ordercard .chip { border-radius: 999px; padding: 3px 10px; font-size: 10.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; transform: none; }
.ordercard .agegap { margin-left: auto; color: var(--faint); font-family: var(--mono); font-size: 12.5px; }
/* the refund is an afterthought by design: a tiny corner glyph, only
   readable as red once you're already pointing at it */
.refundmini { background: none; border: 0; padding: 0 2px; cursor: pointer;
  color: var(--faint); font-size: 13px; line-height: 1; opacity: .55; }
.refundmini:hover { color: var(--danger); opacity: 1; }
.ordercard .who { color: var(--text); font-weight: 900; font-size: 14px; text-transform: uppercase; font-stretch: 92%; }
.ordercard .its { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.ordercard .amt { font-family: var(--mono); font-weight: 700; color: var(--text); }
.ordercard .act { margin-top: 2px; min-height: 48px; font-size: 14px; }
.lane .empty { color: var(--faint); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 14px 4px; }

/* ---- SCAN: the door check ---- */
.scanwrap { max-width: 520px; margin: 0 auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.viewfinder {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: #060509; aspect-ratio: 1; border: 2px solid var(--line-2);
}
.viewfinder video { width: 100%; height: 100%; object-fit: cover; }
.viewfinder::after { /* corner brackets */
  content: ""; position: absolute; inset: 14%;
  background:
    linear-gradient(var(--pink), var(--pink)) top left / 34px 3px,
    linear-gradient(var(--pink), var(--pink)) top left / 3px 34px,
    linear-gradient(var(--pink), var(--pink)) top right / 34px 3px,
    linear-gradient(var(--pink), var(--pink)) top right / 3px 34px,
    linear-gradient(var(--pink), var(--pink)) bottom left / 34px 3px,
    linear-gradient(var(--pink), var(--pink)) bottom left / 3px 34px,
    linear-gradient(var(--pink), var(--pink)) bottom right / 34px 3px,
    linear-gradient(var(--pink), var(--pink)) bottom right / 3px 34px;
  background-repeat: no-repeat;
  pointer-events: none;
}
.viewfinder .camhint {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--faint); font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
}
.scanresult { border-radius: var(--r-lg); padding: 18px; display: none; }
.scanresult.ok {
  display: block; background: var(--paper); color: var(--ink);
  --text: #1d1824; --muted: #6e6579;
  border: 0; position: relative;
  box-shadow: 0 6px 24px rgba(0,0,0,.45);
}
.scanresult.bad { display: block; background: rgba(255,93,107,.08); border: 2px solid var(--danger); }
.scanresult h3 { font-size: 22px; font-weight: 900; text-transform: uppercase; font-stretch: 90%; }
.scanresult.ok h3 { color: #158a4e; } .scanresult.bad h3 { color: var(--danger); }
.manual { display: flex; gap: 8px; }
.manual[hidden], .manualopen[hidden] { display: none; }
.manualopen { border-style: dashed; color: var(--muted); }
.manual input {
  flex: 1; background: var(--surface); border: 2px solid var(--line-2); border-radius: var(--r-md);
  color: var(--text); padding: 13px 14px; font-family: var(--mono); letter-spacing: .3em;
  text-transform: uppercase; font-size: 18px; min-width: 0;
}
.manual input:focus { outline: none; border-color: var(--pink); }

/* ---- HOW IT WORKS: the pitch, on paper stubs ---- */
.steps { display: grid; gap: 14px; max-width: 560px; margin: 0 auto; width: 100%; }
.step {
  display: flex; gap: 16px; align-items: flex-start; text-align: left;
  background: var(--paper); color: var(--ink);
  --text: #1d1824; --muted: #6e6579;
  border-radius: 3px; padding: 16px 16px 18px;
  position: relative;
  box-shadow: 0 4px 0 rgba(0,0,0,.4);
}
.step .num {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--pink); color: #21020f; border: 0;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 19px; font-weight: 700; flex-shrink: 0;
}
.step p { color: #6e6579; font-size: 15px; line-height: 1.6; }
.step b { color: var(--ink); display: block; margin-bottom: 2px; font-size: 16.5px; font-weight: 900; text-transform: uppercase; font-stretch: 92%; }

@media print {
  body, body.page-admin { background: #fff !important; color: #111 !important; }
  .topbar, .testbanner, .noprint, .subnav { display: none !important; }
  /* pop-ups never print: some printers snapshot the page after window.print()
     returns, catching the "Bagged & on the shelf?" confirm over the labels */
  .mtmodal, .mtmodal-backdrop { display: none !important; }
  .stat { box-shadow: none; border: 1px solid #ccc !important; background: #fff !important; }
  .stat::after { display: none; }
  table.data td { border-bottom: 1px dashed #ccc; color: #111; }
  table.data th { border-color: #111; color: #555; }
  .adminwrap h2 { border-color: #111; color: #8c1a57; }
  .stat .v, h1, b { color: #111 !important; }
  .stat .k, p { color: #444 !important; }
}

/* ============================================================
   COVERAGE EXTENSION — surfaces that weren't in the mock set,
   dressed in the same House Lights vocabulary.
   ============================================================ */

/* order page: PAID hero + paper pickup pass */
.paidhero { text-align: center; padding: 22px 0 4px; }
.paidhero .check {
  width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 999px;
  background: var(--paid-dim); color: var(--paid); display: grid; place-items: center;
  font-size: 44px; border: 2px solid var(--paid);
}
.paidhero h1 { font-size: 34px; font-weight: 900; letter-spacing: -.01em; text-transform: uppercase; font-stretch: 90%; }
.paidhero .ordcode { font-family: var(--mono); font-size: 24px; letter-spacing: .3em; color: var(--cyan); margin-top: 6px; font-weight: 700; }
.pickupqr {
  background: var(--paper); border-radius: 12px; padding: 24px 18px 18px;
  width: 250px; margin: 0 auto; position: relative;
  box-shadow: 0 10px 34px rgba(0,0,0,.5);
}
.pickupqr::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 7px; border-radius: 12px 12px 0 0; background: var(--holo); }
.pickupqr img { width: 100%; display: block; }
.hint { text-align: center; color: var(--muted); font-size: 15px; font-weight: 600; line-height: 1.6; }

/* info notices (dev checkout, shop banner, email status) */
.notice {
  border: 2px dashed var(--line-2); border-radius: var(--r-md);
  background: var(--surface); color: var(--muted);
  padding: 13px 16px; font-size: 14px; font-weight: 600;
}
.notice b { color: var(--text); }
body.page-admin .notice { background: var(--paper); border-color: var(--line-2); color: #71636e; border-radius: 2px; }

/* fan shop */
.shophead { max-width: 980px; margin: 0 auto; padding: 30px 20px 6px; }
.shophead .kicker { color: var(--muted); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.shophead h1 { font-size: 32px; font-weight: 900; letter-spacing: -.01em; text-transform: uppercase; font-stretch: 88%; line-height: 1.05; margin-top: 6px; }
.shopgrid { max-width: 980px; margin: 0 auto; padding: 18px 20px 150px; }
.shopgrid + .notice, .shophead + .notice { max-width: 940px; margin: 12px auto 0; }
.cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(14,13,19,.92); backdrop-filter: blur(14px); border-top: 2px solid var(--line-2);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.cartbar::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--holo); opacity: .55; }
.cartbar .inner { max-width: 980px; margin: 0 auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cartbar .sum { flex: 1 1 auto; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cartbar .sum b { display: block; font-family: var(--mono); font-size: 24px; color: var(--text); font-weight: 700; letter-spacing: 0; }
.cartbar input {
  background: var(--surface); border: 2px solid var(--line-2); border-radius: var(--r-md);
  color: var(--text); padding: 12px; font-size: 15px;
  flex: 1 1 150px; width: auto; min-width: 0; max-width: 100%;
}
.cartbar .btn { flex: 0 1 auto; min-width: 0; }
@media (max-width: 520px) {
  .cartbar .sum { flex: 1 1 100%; display: flex; align-items: baseline; gap: 10px; }
  .cartbar .btn { flex: 1 1 auto; }
}
.cartbar input:focus { outline: none; border-color: var(--pink); }

/* login / landing */
.center { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 24px; text-align: center; }
.pinbox {
  width: 250px; text-align: center; font-size: 28px; letter-spacing: .4em; font-family: var(--mono);
  background: var(--surface); border: 2px solid var(--line-2); border-radius: var(--r-md);
  color: var(--text); padding: 14px;
}
.pinbox:focus { outline: none; border-color: var(--pink); }
/* Keep the full sign-in hint readable without shrinking a typed PIN. */
.page-login .pinbox::placeholder { font-size: 16px; letter-spacing: normal; }
.err { color: var(--danger); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }

/* discount chips inside the dark seller rail keep paper-ink colors (rail is paper) */
.tile .cat { display: none; }

/* seller-rail discount label inherits paper ink (already scoped) */

/* Seller guide: same paper sheet as the fan page, tuned for reading speed. */
.guide-h {
  font-size: 15px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
  font-stretch: 90%; color: var(--cyan); margin: 26px 0 10px; padding: 0 4px;
}
.guide-p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0 0 12px; }
.guide-p b { color: var(--text); }
.page-guide .panel .guide-p:last-child { margin-bottom: 0; }
/* The guide, rewritten 2026-09-23 after a seller gave up on it: one idea
   per line, numbered steps you can follow with a fan waiting, and the
   merch lead's material folded away at the bottom. */
.sheet.guide { max-width: 640px; gap: 16px; }
.guide .panel { padding: 22px 20px 20px; }
.gjump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.gjump a { padding: 8px 14px; border: 2px solid var(--line-2); border-radius: 999px;
  color: var(--text); font-size: 13.5px; font-weight: 800; text-decoration: none; }
.gjump a:active { background: var(--pink); border-color: var(--pink); color: #21020f; }
.guide .grule { text-align: center; font-size: 18px; line-height: 1.45; color: var(--text); }
.gsec { scroll-margin-top: 90px; }
.gsec h2 { font-size: 21px; font-weight: 900; color: var(--text); margin: 0; }
.gwhere { color: var(--faint); font-size: 13.5px; font-weight: 700; margin: 2px 0 16px; }
ol.gsteps { list-style: none; counter-reset: gstep; margin: 0; padding: 0; display: grid; gap: 14px; }
ol.gsteps li { counter-increment: gstep; position: relative; padding-left: 44px; min-height: 30px;
  font-size: 16.5px; line-height: 1.5; color: var(--text); }
ol.gsteps li::before { content: counter(gstep); position: absolute; left: 0; top: -1px;
  width: 30px; height: 30px; border-radius: 999px; background: var(--pink); color: #21020f;
  font: 700 15px/30px var(--mono); text-align: center; }
ul.gtips { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line-2);
  display: grid; gap: 10px; }
ul.gtips li { position: relative; padding-left: 18px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
ul.gtips li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px;
  border-radius: 999px; background: var(--pink); }
.guide b { color: var(--text); font-weight: 800; }
.gp { color: var(--muted); font-size: 15.5px; line-height: 1.55; margin: 0 0 12px; }
.gp:last-child { margin-bottom: 0; }
.gq { margin: 0 0 16px; }
.gq:last-child { margin-bottom: 0; }
.gq > b { display: block; font-size: 16.5px; margin-bottom: 2px; }
.gq p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
details.glead > summary { cursor: pointer; font-size: 17px; font-weight: 900; color: var(--text);
  list-style: none; }
details.glead > summary::-webkit-details-marker { display: none; }
details.glead > summary::after { content: " ▸"; color: var(--faint); }
details.glead[open] > summary::after { content: " ▾"; }
details.glead h3 { font-size: 15px; font-weight: 900; color: var(--text); margin: 20px 0 6px; }

/* Sign out: present on every surface, prominent on none. */
.tab-out { opacity: .45; font-size: 15px; padding-left: 10px; padding-right: 10px; }
.tab-out:hover { opacity: 1; color: var(--danger); background: none; }

/* The two functional inventory levels, stated as the arithmetic that links
   them: ACTUAL − PRE-SOLD = NET. Counting a shelf against NET is the classic
   merch-table mistake — the tub looks right and the till is short. Showing
   the operators keeps the third number from reading as decoration. */
.invlevels { display: grid; gap: 12px; grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch; }
.invlevels .stat { display: flex; flex-direction: column; }
.invlevels .stat .v { font-size: 34px; line-height: 1.05; letter-spacing: -.01em; }
.invlevels .stat .n { color: #71636e; font-size: 11.5px; line-height: 1.4;
  margin-top: 8px; font-family: var(--font); letter-spacing: 0; }
/* the operators carry the whole meaning of the section — they are ink, the
   same weight as the numbers, not grey punctuation between three tiles */
.invlevels .ilop { align-self: center; font-size: 26px; font-weight: 900;
  color: #221a20; padding: 0 2px; }
/* pre-sold wears the app's warn amber — same meaning as Reserved on the
   per-show sheet, so the crew learns one colour for "paid but still here" —
   and a tinted card, because this is the correction, not a third total */
.invlevels .il-presold { background: #fdf3e0; box-shadow: 3px 3px 0 rgba(168,111,0,.3); }
.invlevels .il-presold .k, .invlevels .il-presold .n { color: #7a5a12; }
.invlevels .il-presold .v { color: var(--warn); }
.invlevels .il-net .v { color: #158a4e; }
.invlevels .il-net.il-dry .v { color: var(--danger); }
/* nothing pre-sold: the two levels agree, so say so instead of showing a
   proud zero and two identical numbers */
.invlevels.agreed { grid-template-columns: minmax(0, 260px) 1fr; }
.invlevels.agreed .ilop, .invlevels.agreed .il-net { display: none; }
.invlevels.agreed .ilagree { align-self: center; color: #71636e; font-size: 13px;
  font-family: var(--font); }
.invlevels.agreed .ilagree b { color: #221a20; }
/* where the wedge is owed — the actionable half of the panel, so it gets a
   callout band rather than a grey run-on under the cards */
.ilowed { margin-top: -10px; color: #5f5344; font-size: 12.5px; line-height: 1.55;
  font-family: var(--font); background: #fdf3e0; border-left: 3px solid var(--warn);
  padding: 10px 14px; }
.ilowed a { color: #8a5a00; text-decoration: underline; text-underline-offset: 2px;
  font-weight: 700; }
.ilowed .ilshow { white-space: nowrap; }
.ilowed b { color: #221a20; }
@media (max-width: 860px) {
  /* stacked, the equation must not cost three screens of scrolling before
     the grid — smaller numerals, tighter cards, operators as slim separators */
  .invlevels { grid-template-columns: 1fr; gap: 2px; }
  .invlevels .stat { padding: 11px 13px 13px; }
  .invlevels .stat .v { font-size: 27px; }
  .invlevels .stat .n { font-size: 11px; margin-top: 5px; }
  .invlevels .ilop { justify-self: start; font-size: 19px; line-height: 1;
    padding: 3px 0 3px 15px; }
  .invlevels.agreed { grid-template-columns: 1fr; }
}

/* Actual | Pre-sold | Net are one idea in three columns, on both the tour
   grid and the per-show sheet — a faint paper wash groups them so the eye
   doesn't read Net as just another tally next to Comps. */
table.data td.lvl { background: rgba(250,246,238,.75); }
table.data th.lvl { background: rgba(250,246,238,.9); }

/* Inventory grids, atVenu-anatomy: category bands, product cards with art,
   size pills per variant row. One flat table so arrow-keys glide through. */
.invgrid .catrow td {
  background: none; border: 0; padding: 26px 4px 6px;
  font-size: 12.5px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase;
  color: #a81f68; font-stretch: 90%;
}
.invgrid .prodrow td {
  border-bottom: 2px solid #221a20; padding: 10px 4px 8px;
  font-size: 15px; font-stretch: 92%;
}
.invgrid .invthumb {
  width: 46px; height: 46px; object-fit: cover; border-radius: 6px;
  border: 1.5px solid #221a20; vertical-align: middle; margin-right: 10px;
  background: #fff;
}
.invgrid .invthumb-fb {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px; color: #21020f;
  width: 46px; height: 46px;
}
.invgrid .cat-soft-bg { background: var(--cyan); }
.invgrid .cat-music-bg { background: var(--warn); }
.invgrid .cat-other-bg { background: #b48bff; }
.invgrid .prodprice { color: #71636e; font-family: var(--mono); font-size: 13px; margin-left: 10px; }
.invgrid .varrow td { border-bottom: 1px dashed #d9d0bd; }
.invgrid .szcell { padding-left: 60px; }
.invgrid .szpill {
  display: inline-block; min-width: 40px; text-align: center; padding: 3px 10px;
  border: 1.5px solid #221a20; border-radius: 999px; font-size: 12px; font-weight: 900;
  background: #faf6ee;
}
/* per-product subtotal: a sized item's own bottom line, quieter than the
   whole-trailer sumrow but heavier than the size rows it closes */
.invgrid .prodtotal td {
  border-top: 1.5px solid #221a20; border-bottom: 0;
  background: #f1e9da; font-weight: 800; font-size: 12.5px;
  padding-top: 7px; padding-bottom: 7px;
}
.invgrid .prodtotal td:first-child {
  padding-left: 60px; font-weight: 700; color: #5c5464;
  font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
}
/* a row's share of the cart discounts, under its gross (punch #29): quiet,
   on its own line so the money column stays aligned */
.invgrid .discnote {
  display: block; margin-top: 1px; color: var(--faint);
  font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.tablenote { color: var(--muted); font-size: 12.5px; max-width: 72ch; margin-top: 8px; }
.invgrid .sumrow td {
  border-top: 3px solid #221a20; border-bottom: 0; font-weight: 900; padding-top: 10px;
  font-size: 13.5px;
}

/* Admin nav: work tabs stay out front, configuration hides in a menu. */
.navsep { width: 1px; align-self: stretch; margin: 4px 8px; background: var(--line-2); opacity: .7; }
.tab-floor { opacity: .62; }
.dropmenu-right { left: auto; right: 0; }
body.page-admin .tabs > details.drop > summary.tab { list-style: none; cursor: pointer; }
body.page-admin .tabs > details.drop > summary.tab::-webkit-details-marker { display: none; }

/* Venue type-ahead */
.vsuggest {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
  background: #faf6ee; border: 2px solid #221a20; border-radius: var(--r-md);
  box-shadow: 5px 5px 0 rgba(29,24,36,.25); max-height: 260px; overflow-y: auto;
}
.vitem {
  display: block; width: 100%; text-align: left; padding: 10px 12px;
  background: none; border: 0; border-bottom: 1px dashed #d9d0bd; cursor: pointer;
}
.vitem:last-child { border-bottom: 0; }
.vitem:hover { background: #f0e9db; }
.vitem b { display: block; font-size: 14px; color: #221a20; }
.vitem span { font-size: 12px; color: #71636e; }

.chip-todo { color: #a81f68; border-color: #a81f68; font-weight: 900; }
/* show status stamps on the tour dashboard (Dave, 2026-09-20): a glance
   says where the money is. Live = green (ringing now), upcoming = amber
   (on the way), settled = a cool locked blue; "needs settling" keeps the
   bold pink outline, the one stamp that asks for a hand. */
.chip-live { color: #1d7a45; border-color: #1d7a45; background: rgba(29,122,69,.08); }
.chip-upcoming { color: #9a5b00; border-color: #c98a1a; background: rgba(201,138,26,.10); }
.chip-settled { color: #2b5d8a; border-color: #2b5d8a; background: rgba(43,93,138,.08); font-weight: 700; }

/* --- Admin nav ------------------------------------------------------------
   One ☰ menu at every width (Dave's call: cleaner than a tab row that only
   fits on wide screens anyway). Wide tables scroll inside themselves rather
   than pushing the whole page sideways. */
.navmenu { display: block; }
.menubtn { list-style: none; cursor: pointer; white-space: nowrap; }
.menubtn::-webkit-details-marker { display: none; }

@media (max-width: 860px) {
  body.page-admin .topbar { padding: 10px 14px; gap: 10px; }
  body.page-admin .tourchip { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* a table wider than the phone scrolls on its own axis */
  body.page-admin table.data { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  body.page-admin .adminwrap { padding: 18px 14px 72px; }
  body.page-admin .subnav { overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }

  /* count grids stay usable: the item column sticks while numbers scroll */
  .invgrid .szcell { padding-left: 18px; }
  .invgrid .invthumb { width: 34px; height: 34px; }
}

@media (max-width: 520px) {
  body.page-admin .wordmark span { display: none; }
  body.page-admin table.data { font-size: 12.5px; }
}

/* Add-venue row: six columns on a laptop, stacked pairs on a phone. */
.venueform { display: grid; gap: 8px; align-items: center;
             grid-template-columns: 2fr 1.5fr 2fr 90px 70px auto; }
@media (max-width: 860px) {
  .venueform { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .venueform > *:nth-child(3) { grid-column: 1 / -1; }
  .venueform > button { grid-column: 1 / -1; }
}

/* Seller surfaces on a phone: the tab row wraps instead of running off, and
   dropdowns (show picker, tour picker) stay inside the viewport. */
@media (max-width: 860px) {
  .topbar .tabs { flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; }
  .dropmenu { max-width: min(88vw, 320px); }
  details.drop { position: static; }
  details.drop .dropmenu { left: auto; right: 8px; }
  /* the venue picker sits inside the page, not the topbar: static here would
     hang its menu off the viewport's frame, a whole screen below the name
     (punch #22). It anchors to itself and opens under the name. */
  details.venuepick { position: relative; }
  details.venuepick .dropmenu { left: 0; right: auto; max-width: calc(100vw - 28px); min-width: 0; width: max-content; }
  body.page-sell .cartrail, body.page-board .cartrail { --dm-anchor: 0; }
}
@media (max-width: 520px) {
  .topbar .tab { padding: 6px 11px; font-size: 12.5px; }
  .topbar .showchip, .topbar .tourchip { max-width: 60vw; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap; }
}

/* The top bar itself wraps on a phone — wordmark and show picker on one line,
   tabs on the next — so a long venue name can never push the row sideways. */
@media (max-width: 860px) {
  .topbar { flex-wrap: wrap; padding: 10px 14px; gap: 10px; }
  /* seller surfaces carry a real tab row — it drops to its own line. The
     desktop spacer is removed entirely here: left to itself it swallows row
     one and pushes the show picker down a line on its own. */
  .topbar .grow { display: none; }
  .topbar .showchip, .topbar .tourchip { max-width: 62vw; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap; }
  .topbar .tabs { width: 100%; justify-content: flex-start; row-gap: 6px; }
  .topbar .wordmark span { display: none; }
  /* admin collapses to a single ☰, so it stays on the top line hard-right and
     the tour picker keeps the left corner to itself */
  body.page-admin .topbar { flex-wrap: nowrap; }
  body.page-admin .topbar .grow { flex: 1; flex-basis: auto; height: auto; }
  body.page-admin .topbar .navmenu { margin-left: auto; flex: none; }
}

/* Fan self-service on the order page */
.swaprow { padding: 10px 0; border-top: 1px dashed var(--line); }
.swapname { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.swapsizes { display: flex; gap: 8px; flex-wrap: wrap; }
.swapsizes .szpill {
  min-width: 46px; padding: 9px 14px; border-radius: 999px; font-size: 13px;
  /* self-contained: the order page is the dark fan theme, but these rules
     live in the shared sheet where the vars resolve light */
  font-weight: 800; background: #2a2733; color: #f0ece4;
  border: 2px solid #555062;
}
.swapsizes .szpill.on { border-color: var(--paid); color: var(--paid); }
.swapsizes .szpill.gone { opacity: .38; text-decoration: line-through; }
.swapmsg { min-height: 20px; font-size: 13.5px; font-weight: 700; margin-top: 10px; }
.swapmsg.ok { color: var(--paid); }
.swapmsg.bad { color: var(--danger); }

/* Pickup labels: 4x6 thermal stock. The CARDS are plain black-on-white —
   thermal printers have no colour and dither greys into mud — but on screen
   they sit on the app's own dark canvas like the print preview they are;
   only @media print turns the whole page white. */
.page-labels { background: var(--bg); color: var(--text); }
.labelbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line-2);
  font: 600 14px/1.4 var(--font); color: var(--text);
}
.label {
  width: 4in; height: 6in; box-sizing: border-box; padding: 0.3in;
  border: 0; margin: 20px auto; background: #fff; color: #000;
  border-radius: 3px; box-shadow: 0 3px 18px rgba(0, 0, 0, .5);
  display: flex; flex-direction: column; page-break-after: always;
}
.label-name {
  font: 900 44px/1.02 var(--font); letter-spacing: -.02em; word-break: break-word;
}
.label-code {
  font: 700 30px/1 var(--mono); letter-spacing: .22em; margin-top: 10px;
  padding-bottom: 12px; border-bottom: 3px solid #000;
}
.label-items { font: 600 17px/1.5 var(--font); margin-top: 14px; flex: 1; }
.label-foot {
  display: flex; justify-content: space-between; font: 700 12px/1.3 var(--font);
  border-top: 1px solid #000; padding-top: 8px;
}
@media print {
  @page { size: 4in 6in; margin: 0; }
  .labelbar, .testbanner { display: none !important; }
  body.page-labels { background: #fff; }
  .label { border: 0; margin: 0; width: 4in; height: 6in;
           border-radius: 0; box-shadow: none; }
}

/* The fan shop was one narrow column and ~13 screens tall on a phone, so the
   poster and the vinyl were effectively invisible. Two up halves the scroll. */
@media (max-width: 640px) {
  .page-shop .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .page-shop .tile h3 { font-size: 13.5px; }
  .page-shop .tile .price { font-size: 14px; }
  .page-shop .sizechip { padding: 7px 10px; font-size: 12px; }
}

/* Destructive actions live folded away, off the page people visit daily. */
.dangerzone { margin-top: 36px; border-top: 1px dashed var(--line-2); padding-top: 14px; }
.dangerzone > summary {
  cursor: pointer; font-size: 13px; color: var(--faint); list-style: none;
}
.dangerzone > summary::-webkit-details-marker { display: none; }
.dangerzone > summary:hover { color: var(--danger); }
.dangerbody { margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.6; max-width: 620px; }
.dangerbody p { margin-bottom: 10px; }

/* The shortage flag has to POP while bagging — hard red on the white card.
   Screen-only; the printed label never shows the button. */
.label-nofill { margin-top: 8px; }
.label-nofill button {
  width: 100%; background: none; cursor: pointer;
  border: 2.5px solid #b3261e; border-radius: 10px; padding: 10px 14px;
  font: 800 14px/1.2 var(--font); color: #b3261e; letter-spacing: .02em;
}
.label-nofill button:hover { background: #b3261e; color: #fff; }
.pickmiss { margin-right: 8px; vertical-align: 1px; }
.pickmiss input {
  width: 17px; height: 17px; accent-color: #b3261e; cursor: pointer;
  vertical-align: -3px;
}
/* a line flagged short prints struck-through with an OWED tag — the shelf
   copy must say what is NOT in the bag */
.label-short { text-decoration: line-through; opacity: .55; }
.owedtag { font: 900 13px/1.2 var(--font); color: #b3261e; margin-left: 6px; }
@media print { .label-nofill { display: none; } }

/* "We don't have this size."  A DASHED outline, never filled, never the
   accent colour — it must not read as something you can buy. Tapping it takes
   an email for the post-tour print run; it never adds to a cart. */
.sizechip.want, .swapsizes .szpill.gone {
  background: none !important;
  border-style: dashed !important;
  border-color: var(--faint) !important;
  color: var(--faint) !important;
  text-decoration: none !important;
  position: relative;
}
.sizechip.want::after, .swapsizes .szpill.gone::after {
  content: "＋"; font-size: 11px; margin-left: 5px; opacity: .85;
}
.sizechip.want:active, .swapsizes .szpill.gone:active { transform: scale(.94); }
body.page-admin .sizechip.want { border-color: #9891a3 !important; color: #71636e !important; }

.notice-warn { border-color: var(--warn); }
body.page-admin .notice-warn { border-color: #b8860b; background: #fdf6e3; }
.notice-held { border-color: var(--held); }
body.page-admin .notice-held { border-color: var(--held-ink); border-left-width: 4px; background: #f6f1fd; }
.risktable { margin-top: 10px; }
.risktable td.riskshort { color: var(--danger); font-weight: 700; }

/* --- Public portal ------------------------------------------------------- */
.portalwrap { max-width: 640px; margin: 0 auto; padding: 48px 20px 60px; }
.portalhead { text-align: center; margin-bottom: 34px; }
.portalhead .kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); font-weight: 800; }
.portalhead h1 { font-size: 34px; font-weight: 900; margin: 8px 0 12px; letter-spacing: -.02em; }
.portalsub { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 440px; margin: 0 auto; }
.tourlist { display: flex; flex-direction: column; gap: 12px; }
.tourcard {
  display: block; background: var(--surface); border: 2px solid var(--line-2);
  border-radius: var(--r-lg); padding: 20px 22px; text-decoration: none;
  transition: transform .15s var(--spring), border-color .15s;
}
.tourcard:hover { border-color: var(--pink); transform: translateY(-2px); }
.tourcard-name { font-size: 20px; font-weight: 800; color: var(--text); }
.tourcard-dates { color: var(--muted); font-size: 14px; margin-top: 4px; }
.tourcard-go { color: var(--pink); font-weight: 700; font-size: 14px; margin-top: 12px; }
.portalfoot { text-align: center; color: var(--faint); font-size: 13px; margin-top: 32px; line-height: 1.7; }
.portalfoot a { color: var(--cyan); }

/* checkout sheet on the tour store */
.sheetover {
  position: fixed; inset: 0; background: rgba(6,5,10,.72); z-index: 60;
  display: none; align-items: flex-end; justify-content: center; padding: 0;
}
.sheetover.open { display: flex; }
.sheetcard {
  background: var(--surface); border-top: 3px solid var(--pink);
  border-radius: 18px 18px 0 0; width: min(560px, 100%);
  max-height: 92dvh; overflow-y: auto; overflow-x: hidden;
  padding: 22px 22px 30px; position: relative;
  display: flex; flex-direction: column; gap: 14px;
}
/* Long "Venue · City · Date" options stretch a select past its container —
   min-width:0 lets it shrink, and the flex children need it too. */
.sheetcard > * { min-width: 0; max-width: 100%; }
/* The card scrolls rather than squeezing: a flex column capped by max-height
   shrinks its children, and the checkout error used to shrink under the Pay
   button until its last lines were unreadable (2026-09-26, Jammin' Java). */
.sheetcard > * { flex-shrink: 0; }
.sheetcard .pinput, .sheetcard select, .sheetcard input {
  width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box;
}
.sheetcard .field { min-width: 0; }
@media (min-width: 620px) { .sheetover { align-items: center; } .sheetcard { border-radius: 18px; border: 3px solid var(--pink); } }
.sheetcard h2 { font-size: 22px; font-weight: 800; }
.sheetx { position: absolute; right: 14px; top: 12px; background: none; border: 0; color: var(--muted); font-size: 26px; line-height: 1; }
.ticketnudge {
  background: var(--surface-2); border: 1.5px dashed var(--warn); border-radius: var(--r-md);
  padding: 14px 16px;
}
.ticketnudge b { color: var(--text); font-size: 15px; }
.ticketnudge p { color: var(--muted); font-size: 13.5px; margin: 4px 0 10px; line-height: 1.5; }

/* Accepted payment marks on the last screen before Stripe */
.paymarks { margin-top: 12px; text-align: center; }
.paylabel { font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
            color: var(--faint); font-weight: 800; }
.payrow { display: flex; gap: 8px; justify-content: center; align-items: center;
          flex-wrap: wrap; margin: 8px 0 10px; }
.paymark {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: #111; border-radius: 6px; padding: 6px 10px;
  min-height: 30px; box-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.paycards { font: 800 11px/1 var(--font); letter-spacing: .04em; }

/* --- band brand ------------------------------------------------------------
   The band mark carries the band's name, so pages that show it drop the
   text kicker. Swap the files in /static/brand/ to rebrand (a settings
   upload can come later). */
.bandmark { display: block; margin: 0 auto 14px; width: min(230px, 56vw); height: auto; }
.bandmark-sm { width: 140px; margin-bottom: 8px; }
.mklogo { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; display: block; }
.wordmark .mklogo { margin-right: 2px; }

/* "How this works" — fans haven't bought merch this way before, so the
   walk-through borrows the guide's volume: loud kicker, numbered steps. */
.howstrip {
  max-width: 880px; margin: 4px auto 10px; padding: 16px 18px 13px;
  border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface);
}
.howkick {
  font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan, #7bdcf0); margin-bottom: 10px; text-align: center;
}
.howsteps { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.howstep {
  display: flex; gap: 10px; align-items: flex-start; flex: 1 1 220px;
  min-width: 200px; max-width: 270px; font-size: 13.5px; color: var(--muted);
  line-height: 1.5;
}
.howstep > b {
  flex: none; width: 26px; height: 26px; border-radius: 999px;
  background: var(--pink, #ff4fa0); color: #21020f; display: flex;
  align-items: center; justify-content: center; font-size: 14px; font-weight: 900;
}
.howstep span b { color: var(--text); }
.hownote {
  text-align: center; color: var(--faint); font-size: 12px; margin-top: 10px;
  border-top: 1px dashed var(--line); padding-top: 9px;
}

/* Transparent product PNGs sit on white cards so the goods pop on the dark
   canvas — same trick as the label preview. */
img.thumb, img.invthumb { background: #fff; }

/* menu section headers */
.drophead {
  padding: 8px 12px 3px; font-size: 10.5px; font-weight: 900;
  letter-spacing: .18em; text-transform: uppercase; color: var(--faint);
}
body.page-admin .drophead { color: #a99b88; }

/* The show-floor doors get a touch more voltage than the ledger pages. */
.dropitem.floor { color: var(--pink); font-weight: 900; letter-spacing: .03em; }
.dropitem.floor:hover { background: rgba(255, 79, 160, .12); color: var(--pink); }
.dropitem.floor span { opacity: .55; }
body.page-admin .dropitem.floor { color: var(--pink-deep, #a81f68); }
body.page-admin .dropitem.floor:hover { background: rgba(168, 31, 104, .09); color: var(--pink-deep, #a81f68); }

/* --- brand sizing across widths -------------------------------------------
   Desktop earns a bigger mark; phones drop the wordmark text so the top bar
   breathes; the public portal splashes properly. */
.mklogo { width: 34px; height: 34px; }
@media (min-width: 861px) {
  .mklogo { width: 40px; height: 40px; border-radius: 9px; }
  .wordmark { font-size: 16px; }
}
@media (max-width: 700px) {
  .wordmark b, .wordmark span { display: none; }  /* the bird IS the wordmark */
  .topbar { gap: 10px; padding: 10px 12px; }
  .showchip { max-width: 34vw; }
}
/* the square bird badge: white tile on the dark canvas, so it gets real
   corners and a lift — sized as a mark, not a banner */
.bandmark { width: min(230px, 52vw); margin-bottom: 20px; border-radius: 22px;
            box-shadow: 0 6px 30px rgba(0, 0, 0, .45); }
.bandmark-sm { width: min(150px, 38vw); margin-bottom: 12px; border-radius: 16px; }

/* --- boutique polish -------------------------------------------------------
   Micro-motion only: menus breathe in, the add-product modal springs open,
   primary buttons carry a quiet sheen. Everything sits behind the reduced-
   motion preference — subtle or absent, never busy. */
.adminmodal {
  margin: auto;  /* the global margin reset kills <dialog>'s own centering */
  border: 0; border-radius: 6px; padding: 20px 22px; max-width: 720px;
  width: calc(100vw - 40px); background: #faf6ee; color: #221a20;
  box-shadow: 6px 6px 0 rgba(224, 51, 143, .3), 0 24px 70px rgba(0, 0, 0, .35);
}
.adminmodal::backdrop { background: rgba(14, 13, 19, .55); }
body:not(.page-admin) .adminmodal {
  background: var(--surface); color: var(--text);
  border: 2px solid var(--line-2); border-radius: var(--r-lg);
}

@media (prefers-reduced-motion: no-preference) {
  .dropmenu { animation: menuin .18s var(--spring); }
  @keyframes menuin {
    from { opacity: 0; transform: translateY(-6px); }
  }
  .adminmodal[open] { animation: modalin .26s var(--spring); }
  .adminmodal[open]::backdrop { animation: fadein .2s ease; }
  @keyframes modalin {
    from { opacity: 0; transform: scale(.96) translateY(8px); }
  }
  @keyframes fadein { from { opacity: 0; } }

  /* quiet sheen across primary buttons on hover */
  .btn-primary { position: relative; overflow: hidden; }
  .btn-primary::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 42%,
                rgba(255, 255, 255, .38) 50%, transparent 58%);
    transform: translateX(-130%);
  }
  .btn-primary:hover::after { transition: transform .65s ease; transform: translateX(130%); }
  .btn { transition: transform .18s var(--spring), box-shadow .2s ease, opacity .15s; }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: scale(.95); }

  /* product tiles lift a hair under the finger/cursor */
  .tile { transition: transform .18s var(--spring), box-shadow .2s ease; }
  .tile:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
  body.page-admin .tile:hover { box-shadow: 0 8px 22px rgba(34, 26, 32, .18); }

  .subchip { transition: background .15s ease, color .15s ease, border-color .15s ease; }
  .sizechip { transition: transform .15s var(--spring), background .15s ease, color .15s ease; }
  .sizechip:active { transform: scale(.9); }
  .pinput { transition: border-color .18s ease, box-shadow .18s ease; }
}

/* menu items cascade in — a few ms apart, barely-there */
@media (prefers-reduced-motion: no-preference) {
  .navmenu[open] .dropitem, .navmenu[open] .drophead {
    animation: itemin .22s var(--spring) backwards;
  }
  @keyframes itemin { from { opacity: 0; transform: translateX(6px); } }
  .navmenu[open] .dropmenu > *:nth-child(1) { animation-delay: .01s; }
  .navmenu[open] .dropmenu > *:nth-child(2) { animation-delay: .02s; }
  .navmenu[open] .dropmenu > *:nth-child(3) { animation-delay: .03s; }
  .navmenu[open] .dropmenu > *:nth-child(4) { animation-delay: .04s; }
  .navmenu[open] .dropmenu > *:nth-child(5) { animation-delay: .05s; }
  .navmenu[open] .dropmenu > *:nth-child(6) { animation-delay: .06s; }
  .navmenu[open] .dropmenu > *:nth-child(7) { animation-delay: .07s; }
  .navmenu[open] .dropmenu > *:nth-child(8) { animation-delay: .08s; }
  .navmenu[open] .dropmenu > *:nth-child(9) { animation-delay: .09s; }
  .navmenu[open] .dropmenu > *:nth-child(n+10) { animation-delay: .1s; }
}

/* ============================================================
   FAN PORTAL — implemented from the Claude Design handoff.
   Everything above the product grid; the grid and checkout bar
   below keep their existing treatment.
   ============================================================ */
.fp-hairline { height: 3px; background: var(--holo); }
.fp-hero {
  padding: 42px 26px 34px; display: flex; flex-direction: column;
  align-items: center; text-align: center; color: var(--text);
  max-width: 560px; margin: 0 auto;
}
.fp-mark { width: 190px; display: block; }
.fp-kicker {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; color: var(--cyan);
  margin-top: 18px;
}
.fp-h1 {
  font-size: 35px; font-weight: 900; text-transform: uppercase;
  font-stretch: 92%; line-height: 1.02; margin: 10px 0 0; letter-spacing: .005em;
}
.fp-sub {
  font-size: 15px; line-height: 1.55; color: var(--muted); margin: 12px 0 0;
  max-width: 308px; text-wrap: pretty;
}
.fp-steps { display: flex; align-items: center; gap: 5px; margin-top: 22px; }
.fp-stepchip {
  white-space: nowrap; display: inline-flex; align-items: center; gap: 5px;
  border: 2px solid var(--line); border-radius: 999px; padding: 5px 9px;
  font-size: 9.5px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase;
}
.fp-stepchip b { color: var(--pink); font-family: var(--mono); font-weight: 700; }
.fp-steparrow { color: var(--faint); font-size: 10px; }

/* the paper ticket: holo strip up top */
.fp-ticket {
  width: 100%; margin-top: 28px; position: relative; background: var(--paper);
  color: var(--ink); border-radius: 12px; padding: 24px 20px 22px;
  text-align: left; box-shadow: 0 10px 34px rgba(0, 0, 0, .5);
}
.fp-ticket-holo {
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  border-radius: 12px 12px 0 0; background: var(--holo);
}
.fp-ticket-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase;
}
.fp-ticket-now { color: var(--pink-deep); }
.fp-ticket-cur { color: #9891a3; }
.fp-ticket-name {
  font-size: 25px; font-weight: 900; text-transform: uppercase;
  font-stretch: 92%; line-height: 1.05; margin-top: 9px;
}
.fp-ticket-note { font-family: var(--mono); font-size: 12px; color: #6e6579; margin-top: 6px; }
.fp-ticket-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; min-height: 52px; border-radius: 999px; background: var(--pink);
  color: #21020f; font-size: 15px; font-weight: 900; letter-spacing: .06em;
  text-transform: uppercase; font-stretch: 92%; box-shadow: 3px 3px 0 rgba(29, 24, 36, .3);
}
.fp-ticket-btn:hover { color: #21020f; filter: brightness(1.05); }
.fp-paychips { display: flex; gap: 8px; margin-top: 32px; }
.fp-paychips span {
  border: 2px solid var(--line-2); border-radius: 999px; padding: 4px 12px;
  font-size: 11px; font-weight: 900; color: var(--muted); text-transform: uppercase;
}
.fp-trust { font-size: 12px; line-height: 1.6; color: var(--faint); margin: 12px 0 0; font-weight: 600; }

/* --- tour store header ------------------------------------- */
.fp-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.fp-back {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; color: var(--muted); text-transform: uppercase;
}
.fp-official {
  background: rgba(89, 208, 255, .1); color: var(--cyan); border-radius: 999px;
  padding: 5px 12px; font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
.fp-storehead {
  padding: 30px 24px 0; display: flex; flex-direction: column;
  align-items: center; text-align: center; color: var(--text);
}
.fp-mark-store { width: 118px; margin: 0; }
.fp-h1-store { font-size: 30px; line-height: 1.05; margin-top: 8px; }
.fp-sub-store { font-size: 13.5px; margin-top: 9px; max-width: none; }
.fp-storehead .fp-kicker { font-size: 10.5px; letter-spacing: .26em; margin-top: 14px; }

/* HOW THIS WORKS — one ticket on phones */
.fp-how { margin: 22px 20px 0; }
.fp-how-ticket {
  position: relative; background: var(--paper); color: var(--ink);
  border-radius: 10px; padding: 20px 18px 8px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .5); max-width: 560px; margin: 0 auto;
}
.fp-how-ticket .fp-ticket-holo { border-radius: 10px 10px 0 0; }
.fp-how-head {
  text-align: center; font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: .24em; color: var(--pink-deep); text-transform: uppercase;
  border-bottom: 2px solid var(--ink); padding-bottom: 9px;
}
.fp-how-row {
  display: flex; gap: 13px; align-items: flex-start; padding: 13px 0;
  border-bottom: 1px dashed #e3dbc9;
}
.fp-how-row:last-child { border-bottom: 0; }
.fp-hownum {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 999px;
  background: var(--pink); color: #21020f; display: grid; place-items: center;
  font-family: var(--mono); font-size: 14px; font-weight: 700;
}
.fp-how-row p { font-size: 13px; line-height: 1.5; color: #6e6579; margin: 2px 0 0; text-align: left; }
.fp-how-row p b {
  display: block; color: var(--ink); font-size: 14px; font-weight: 900;
  text-transform: uppercase; font-stretch: 92%; margin-bottom: 1px;
}

/* desktop: bigger hero, HOW THIS WORKS becomes three paper cards */
@media (min-width: 861px) {
  .fp-storehead { padding-top: 46px; }
  .fp-mark-store { width: 140px; }
  .fp-storehead .fp-kicker { font-size: 11.5px; letter-spacing: .28em; margin-top: 16px; }
  .fp-h1-store { font-size: 54px; line-height: 1; margin-top: 10px; }
  .fp-sub-store { font-size: 15px; margin-top: 12px; }
  .fp-topbar { padding: 14px 30px; }
  .fp-how { max-width: 1000px; margin: 36px auto 0; padding: 0 40px; }
  .fp-how-ticket {
    background: none; box-shadow: none; padding: 0; max-width: none; border-radius: 0;
  }
  .fp-how-ticket::after { display: none; }
  .fp-how-ticket .fp-ticket-holo, .fp-how-head { display: none; }
  .fp-how-rows { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
  .fp-how-row {
    position: relative; background: var(--paper); color: var(--ink);
    border-radius: 3px; padding: 17px 16px 18px; border-bottom: 0;
    gap: 14px; box-shadow: 0 4px 0 rgba(0, 0, 0, .4);
  }
  .fp-hownum { width: 40px; height: 40px; font-size: 17px; }
  .fp-how-row p { font-size: 13.5px; line-height: 1.55; margin: 0; }
  .fp-how-row p b { font-size: 15px; margin-bottom: 2px; }
}

/* Add to Apple Wallet: black pill per Apple's marks guidance */
.walletbtn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  background: #000; color: #fff; border: 1px solid #3e3850;
  border-radius: 10px; padding: 10px 18px; font-size: 14px; font-weight: 700;
}
.walletbtn:hover { color: #fff; border-color: #6b6580; }

/* Buttons sitting ON PAPER (fan order page): the dark pill inherits the
   paper's ink --text and vanishes. On paper, secondary buttons are ink
   outlines; primary stays pink. */
.page-order .panel .btn:not(.btn-primary):not(.btn-paid):not(.btn-danger) {
  background: transparent; color: var(--ink); border-color: #c9c0ab;
}
.page-order .panel .btn:not(.btn-primary):hover { border-color: var(--ink); color: var(--ink); }

/* the ± pop-up's condensed trailer: scrollable, thumbnails, one qty box per
   size. Cream-card colors are hard-coded like the rest of the modal. */
.adjscroll { max-height: 46vh; overflow-y: auto; border: 1px solid #d6d0c6;
  border-radius: 10px; padding: 4px 10px; background: #faf7f0; }
.adjprod { padding: 8px 0 10px; border-bottom: 1px dashed #ddd6c9; }
.adjprod:last-child { border-bottom: 0; }
.adjhead { display: flex; align-items: center; gap: 8px; color: #1d1824;
  font-size: 13.5px; margin-bottom: 6px; }
.adjhead .invthumb { width: 30px; height: 30px; object-fit: cover;
  border-radius: 6px; flex: none; display: inline-flex; align-items: center;
  justify-content: center; font-size: 11px; font-weight: 800; color: #fff; }
.adjsizes { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.adjsize { display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: #5f5870; }
.adjsize i { font-style: normal; color: #a39b8d; font-size: 11px; }
.adjsize input { width: 52px; text-align: right; padding: 5px 7px;
  border: 1px solid #c9c2b4; border-radius: 7px; background: #fff;
  color: #1d1824; font: 600 13px var(--mono); }
.adjsize input:focus { border-color: #e0559f; outline: none; }

/* "+ New Product to Tour" pop-up (punch #33): the ± pop-up's bones, one
   row per catalogue product. Ticking a row opens its size boxes. */
.addprod { display: block; cursor: pointer; }
.addprod .adjhead { margin-bottom: 0; }
.addprod .adjhead input[type=checkbox] { width: 18px; height: 18px; flex: none;
  accent-color: #e0559f; margin: 0; }
.addprod .adjsizes { margin: 8px 0 0 26px; }
.addprod .adjsizes[hidden] { display: none; }
.addprod .addnone { font-size: 12px; color: #a39b8d; margin: 6px 0 0 26px; }
.addprod .addhint { flex-basis: 100%; font-style: normal; font-size: 11px;
  color: #a39b8d; letter-spacing: .02em; }
.addprod.on .adjhead b { color: #b8327a; }
#addpop .addcount { font-size: 12.5px; color: #5f5870; margin-right: auto; }

/* Discounts & bundles: "Copy from another tour…" — one quiet line */
.dealcopy { display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  margin: 4px 0 6px; }
.dealcopy select { max-width: 100%; min-width: 0; flex: 0 1 320px; }
.dealcopy-note { color: var(--faint); font-size: 12px; flex: 1 1 220px; }
.deallist { margin-top: 14px; border-top: 1px solid var(--line-2); }
.dealrow { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
  padding: 10px 0; border-bottom: 1px dashed var(--line-2); }
.dealedit { display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  flex: 1 1 380px; min-width: 0; }
.dealedit .dealname { flex: 1 1 180px; min-width: 0; text-align: left; }
.dealacts { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.dealacts .btn:not(.btn-ghost) { min-width: 92px; }   /* Enable = Disable width */

/* register-order arrows on the inventory grid */
.sortarrows { display: inline-flex; gap: 2px; }
.sortarrows button {
  background: none; border: 1px solid var(--line-2); color: var(--muted);
  border-radius: 6px; font-size: 10px; padding: 2px 7px; cursor: pointer;
}
.sortarrows button:hover { color: var(--text); border-color: var(--muted); }

/* branded in-app confirm — replaces the OS dialog for the big moments */
.mtmodal-backdrop { position: fixed; inset: 0; z-index: 90;
  background: rgba(10,9,14,.55); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .18s ease; }
.mtmodal-backdrop.on { opacity: 1; }
.mtmodal { position: fixed; z-index: 91; left: 50%; top: 42%;
  transform: translate(-50%,-50%) scale(.96); width: min(440px, calc(100vw - 40px));
  /* self-contained colors: this card must read on the cream admin AND the
     dark register, so nothing inherits from the page's own theme */
  background: #f3eee4; color: #1d1824; border: 1px solid #d6d0c6;
  border-radius: 16px; padding: 22px 24px 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
  opacity: 0; transition: opacity .18s ease, transform .22s cubic-bezier(.2,.9,.3,1.2); }
.mtmodal h3 { color: #1d1824; }
.mtmodal p { color: #5f5870; }
.mtmodal .btn { background: transparent; color: #1d1824; border: 1.5px solid #b9b2a4; }
.mtmodal .btn-ghost { color: #6b6478; border-color: #cfc9bd; }
.mtmodal .btn-paid { background: #197a4e; border-color: #197a4e; color: #fff; }
.mtmodal .btn-danger { background: #b3261e; border-color: #b3261e; color: #fff; }
.mtmodal.on { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.mtmodal .mk { width: 34px; height: 34px; border-radius: 9px; display: flex;
  align-items: center; justify-content: center; font-weight: 900; font-size: 14px;
  color: #fff; background: var(--pink-deep, #e0559f); margin-bottom: 12px; }
.mtmodal h3 { font-size: 16px; font-weight: 800; letter-spacing: .02em; margin: 0 0 6px; }
.mtmodal p { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 0 0 16px; }
.mtmodal .row { display: flex; gap: 10px; justify-content: flex-end; }


/* the tour product picker: layout lives here so the filter can hide pills
   without eating their flex */
#prodpick label { display: flex; gap: 7px; align-items: center; font-size: 13.5px;
  color: var(--muted); border: 1px dashed var(--line-2); border-radius: 2px;
  padding: 8px 12px; }
#prodpick label.off { display: none; }

/* ============================================================
   HELP — the fan support layer (/help)
   Same two lighting states as everything else: the page is the
   dark front-of-house, and the two surfaces where a fan actually
   gets something DONE — their order, and the assistant — are
   paper, because in this language paper is where things become
   real. The FAQ stays dark: it's reading, not doing.
   ============================================================ */
.helpwrap { max-width: 640px; margin: 0 auto; padding: 30px 18px 60px;
  display: flex; flex-direction: column; gap: 20px; }
.helphead { text-align: center; }
.helphead .kicker { color: var(--muted); font-family: var(--mono); font-size: 12px;
  font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.helphead h1 { font-size: 34px; font-weight: 900; text-transform: uppercase;
  font-stretch: 88%; letter-spacing: -.01em; line-height: 1.04; margin-top: 7px; }
.helphead p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 9px; }

/* the fan's own order, as a paper stub — proof we know who they are */
.helporder { background: var(--paper); color: var(--ink);
  --muted: #6e6579; --line: #e3dbc9;
  border-radius: 3px; padding: 15px 16px; box-shadow: 0 4px 0 rgba(0,0,0,.4); }
.helporder .oc { display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; border-bottom: 1px dashed #e3dbc9; padding-bottom: 9px; }
.helporder .oc b { font-family: var(--mono); font-size: 19px; font-weight: 700;
  letter-spacing: .12em; }
.helporder .oc span { font-size: 11px; font-weight: 900; letter-spacing: .14em;
  text-transform: uppercase; color: #6e6579; }
.helporder ul { list-style: none; margin: 9px 0 0; }
.helporder li { font-size: 14px; font-weight: 700; color: var(--ink); padding: 3px 0; }
.helporder li em { font-style: normal; color: #6e6579; font-weight: 500; }
.helporder .where { margin-top: 8px; font-size: 12.5px; color: #6e6579; line-height: 1.5; }

/* the assistant — the hero surface */
.assistant { background: var(--paper); color: var(--ink);
  --text: #1d1824; --muted: #6e6579; --line: #e3dbc9; --line-2: #d0c7b3;
  border-radius: 10px; padding: 0 0 14px; position: relative; overflow: hidden;
  box-shadow: 0 10px 34px rgba(0,0,0,.5); }
.assistant::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 7px;
  background: var(--holo); }
.assistant .ahead { padding: 20px 18px 10px; border-bottom: 1px dashed #e3dbc9; }
.assistant .ahead b { display: block; font-size: 17px; font-weight: 900;
  text-transform: uppercase; font-stretch: 92%; }
.assistant .ahead p { color: #6e6579; font-size: 13.5px; line-height: 1.55; margin-top: 4px; }
.assistant .ahead .live { display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #158a4e; }
.assistant .ahead .live i { width: 7px; height: 7px; border-radius: 999px;
  background: #158a4e; font-style: normal; }
.assistant .ahead .live.off { color: #9891a3; }
.assistant .ahead .live.off i { background: #c3bcae; }

.chatlog { padding: 14px 16px 4px; display: flex; flex-direction: column; gap: 10px;
  max-height: 46vh; overflow-y: auto; }
.chatlog:empty { display: none; }
.bub { max-width: 88%; padding: 10px 13px; border-radius: 12px; font-size: 14.5px;
  line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.bub-fan { align-self: flex-end; background: var(--pink-deep); color: #fff5fa;
  border-bottom-right-radius: 3px; font-weight: 600; }
.bub-bot { align-self: flex-start; background: #fffdf7; border: 1px solid #e3dbc9;
  color: var(--ink); border-bottom-left-radius: 3px; }
.bub-bot.did { border-color: #158a4e; box-shadow: inset 3px 0 0 #158a4e; }
.bub-typing { color: #9891a3; font-style: italic; }

.qchips { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 16px 4px; }
.qchip { border: 1px solid #ded5c2; border-radius: 999px; background: #fffdf7;
  color: #6e6579; font-size: 13px; font-weight: 700; padding: 7px 13px;
  transition: transform .15s var(--spring), border-color .15s, color .15s; }
.qchip:hover { border-color: var(--pink-deep); color: var(--pink-deep); }
.qchip:active { transform: scale(.95); }

.askrow { display: flex; gap: 8px; padding: 12px 16px 2px; align-items: flex-end; }
/* a placeholder that wraps used to be clipped by the one-line min-height */
.askrow textarea::placeholder { white-space: nowrap; text-overflow: ellipsis; }
.askrow textarea { flex: 1; min-width: 0; resize: none; border: 2px solid #d0c7b3;
  border-radius: 10px; background: #fffdf7; color: var(--ink); padding: 11px 13px;
  font: 500 15px/1.45 var(--font); min-height: 46px; max-height: 130px; }
.askrow textarea:focus { outline: none; border-color: var(--pink-deep); }
.askrow button { flex-shrink: 0; min-height: 46px; padding: 0 18px; border-radius: 999px;
  background: var(--pink-deep); color: #fff5fa; font-weight: 900; font-size: 14px;
  text-transform: uppercase; letter-spacing: .06em;
  transition: transform .15s var(--spring), opacity .15s; }
.askrow button:active { transform: scale(.95); }
.askrow button[disabled] { opacity: .35; pointer-events: none; }
.assistant .scope { padding: 8px 18px 0; font-size: 12px; line-height: 1.55;
  color: #9891a3; }

/* reaching a person */
.human { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 17px; }
.human.hot { border: 2px solid var(--pink); }
/* quiet until the assistant says a person is needed — then it takes the stage */
.human.hot #csend { background: var(--pink); color: #21020f; border-color: var(--pink);
  box-shadow: 0 4px 24px rgba(255,79,160,.35); }
.human b { display: block; font-size: 15.5px; font-weight: 900; text-transform: uppercase;
  font-stretch: 92%; }
.human p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 5px; }
.human .mail { display: inline-block; margin-top: 9px; font-family: var(--mono);
  font-size: 14px; font-weight: 700; color: var(--cyan); word-break: break-all; }
.human .fields { display: grid; gap: 8px; margin-top: 13px; }
.human input, .human textarea { width: 100%; border: 2px solid var(--line-2);
  border-radius: var(--r-md); background: var(--surface-2); color: var(--text);
  padding: 11px 13px; font: 500 15px/1.45 var(--font); }
.human textarea { min-height: 88px; resize: vertical; }
.human input:focus, .human textarea:focus { outline: none; border-color: var(--pink); }
.human .said { color: var(--paid); font-size: 14px; font-weight: 700; margin-top: 10px;
  line-height: 1.55; }

/* the FAQ — reading, so it stays in the dark */
.faqhead { display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.faqhead h2 { white-space: nowrap; }
.faqhead h2 { font-size: 13px; font-weight: 900; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); font-family: var(--mono); }
#faqfilter { flex: 1; max-width: 240px; border: 2px solid var(--line);
  border-radius: 999px; background: var(--surface); color: var(--text);
  padding: 8px 15px; font: 600 13.5px/1 var(--font); }
#faqfilter:focus { outline: none; border-color: var(--pink); }
.faqsec { margin-top: 16px; }
.faqsec > h3 { font-size: 11.5px; font-weight: 900; letter-spacing: .18em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 7px; }
.faqsec.hide, .qa.hide { display: none; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 13px 30px 13px 0;
  font-size: 15.5px; font-weight: 700; line-height: 1.45; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 12px;
  font-family: var(--mono); font-size: 19px; font-weight: 400; color: var(--faint);
  transition: transform .2s var(--spring), color .15s; }
.qa[open] summary::after { content: "+"; transform: rotate(45deg); color: var(--pink); }
.qa summary:hover { color: var(--pink); }
.qa p { color: var(--muted); font-size: 14.5px; line-height: 1.7; padding: 0 4px 15px 0; }
.qa .qalink { display: inline-block; color: var(--pink); font-weight: 800;
  text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.qa .qalink:hover { filter: brightness(1.15); }
.faqnone { color: var(--faint); font-size: 14px; padding: 18px 0; text-align: center; }

@media (max-width: 460px) {
  .helphead h1 { font-size: 27px; }
  #faqfilter { max-width: none; }
  .qchip { font-size: 12.5px; padding: 6px 11px; }
  .chatlog { max-height: 52vh; }
  .bub { max-width: 94%; }
}

/* Status chips were drawn for the dark front-of-house; under the admin's
   house lights the same colours wash out on paper. Same meanings, printed. */
body.page-admin .chip-self { color: #0f5f80; background: rgba(15,95,128,.10); }
body.page-admin .chip-alert { color: #a4202c; background: rgba(164,32,44,.10); }
body.page-admin .chip-cash { color: #8a5200; background: rgba(138,82,0,.12); }
body.page-admin .chip-presale { color: #5c3aa0; background: rgba(92,58,160,.10); }

/* the help line carried on every fan surface (_fanhelp.html) */
.fanhelp { margin-top: 4px; }
.fanhelp a { color: var(--muted); text-decoration: underline;
  text-underline-offset: 2px; font-weight: 700; }
.fanhelp a:hover { color: var(--pink); }

/* /find — the order code is now optional, and tucked away so the common case
   (I lost the email, so I don't have the code) is a single field */
.findcode { border: 0; }
/* a quiet aside, not a second call to action next to the pink button */
.findcode summary { list-style: none; cursor: pointer; color: var(--faint);
  font-size: 13px; font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px; padding: 2px 0; text-align: center; }
.findcode summary::-webkit-details-marker { display: none; }
.findcode summary:hover { color: var(--pink); }

/* ---- Exchange tab: three taps and a green button ---- */
.xwrap { max-width: 760px; margin: 0 auto; padding: 20px; display: flex; flex-direction: column; gap: 22px; }
.xhead h2 { font-size: 22px; font-weight: 900; text-transform: uppercase; font-stretch: 90%; margin-bottom: 4px; }
.xlabel { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 900; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.xlabel .num { width: 26px; height: 26px; border-radius: 999px; background: var(--surface-2); border: 2px solid var(--line-2);
  display: grid; place-items: center; font-size: 13px; letter-spacing: 0; color: var(--text); }
.xtiles { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
a.xtile { color: inherit; text-decoration: none; }
a.xtile h3 { min-height: 0; font-size: 13.5px; }
.xtile.on { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,79,160,.35); }
a.sizechip { color: inherit; text-decoration: none; }
.sizechip.on { background: var(--pink); border-color: var(--pink); color: #21020f; }
.xconfirm { display: flex; flex-direction: column; gap: 10px; }
.xconfirm .btn-paid { min-height: 64px; font-size: 20px; }
.xlog .xrow { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.xlog .xrow .when { font-family: var(--mono); color: var(--faint); font-size: 12px; min-width: 64px; }
.xlog .xrow .what { flex: 1; }
.xlog .xrow .who { color: var(--muted); font-size: 12.5px; }
.xlog form { margin: 0; }

/* the swap on a scanned order: a labelled control, not a bare menu */
.swap { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; vertical-align: middle; }
/* it sits on the cream result card, so it dresses like paper, not the console */
.swap span { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6e6579; }
.swap select { min-height: 36px; border-radius: 999px; padding: 0 12px; background: #fff;
  color: #1d1824; border: 2px solid #1d1824; font-weight: 800; font-size: 13.5px; }

/* Team: On tour, one checkbox per live tour */
.crewbox { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px;
  line-height: 1.35; cursor: pointer; padding: 3px 0; max-width: 190px; }
.crewbox input { margin-top: 2px; flex: none; }
