/* The ticket system's screens: the staff scanner and desk (.tx-scan), the self check-in kiosk (.tx-kiosk), the print
   station (.tx-station), and the pass on guests' phones (.tp-*). Sans only (Jost), dark slate with gold, big targets. */
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("../fonts/jost-400.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("../fonts/jost-500.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-display: swap; src: url("../fonts/jost-600.woff2") format("woff2"); }
/* Nov 15: the printed tickets use 700 and 800 (800 is the 700 file, so no faux bold) */
@font-face { font-family: "Jost"; font-weight: 700 900; font-display: swap; src: url("../fonts/jost-700.woff2") format("woff2"); }

.tx { --bg: #1B1F2A; --panel: #252B39; --line: #3A4152; --ink: #EEF1F6; --mute: #AEB8C9; --gold: #F2D27A; --ok: #1F9D55; --warn: #D99A1E; --bad: #C8362E;
    margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink); font: 400 17px/1.45 Jost, system-ui, sans-serif; -webkit-tap-highlight-color: transparent; }
.tx * { box-sizing: border-box; }
.tx [hidden], .tp [hidden] { display: none !important; }
.tx button, .tx input, .tx select { font: inherit; }
.tx .btn { min-height: 48px; padding: 10px 18px; border-radius: 12px; border: 1px solid #4A5368; background: #2F3647; color: var(--ink); font-weight: 500; cursor: pointer; }
.tx .btn.go { background: var(--gold); border-color: var(--gold); color: #161A23; }
.tx .btn.big { min-height: 64px; font-size: 1.15rem; border-radius: 16px; }
.tx .btn:disabled { opacity: .5; }
.tx input[type=text], .tx input[type=email], .tx input:not([type]) { min-height: 50px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #11141C; color: var(--ink); font-size: 16px; width: 100%; }
.tx label.f { display: grid; gap: 6px; color: var(--mute); font-size: .92rem; }
.tx .muted { color: var(--mute); }

/* ---------- staff scanner and desk ---------- */
.tx-top { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 12px; padding: max(10px, env(safe-area-inset-top)) 14px 10px; background: #12151D; border-bottom: 1px solid var(--line); }
.tx-ev { margin-right: auto; font-weight: 500; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-dev { min-height: 40px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--mute); }
.tx-modes { display: flex; gap: 8px; padding: 10px 14px; overflow-x: auto; background: #161A23; border-bottom: 1px solid var(--line); }
.tx-modes button { flex: none; min-height: 48px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #222736; color: var(--mute); font-weight: 500; }
.tx-modes button[aria-pressed=true] { background: var(--gold); border-color: var(--gold); color: #161A23; }
.tx-scan main { padding: 14px; display: grid; gap: 14px; max-width: 760px; margin: 0 auto; padding-bottom: 90px; }
.tx-cam { position: relative; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 4 / 3; }
/* the bar screen with a handheld scanner: no camera, a big ready sign; locked: no station buttons (hold the corner) */
.tx-ready { display: grid; gap: 10px; justify-items: center; align-content: center; text-align: center; min-height: 52vh; padding: 28px 18px; border-radius: 22px; border: 2px dashed color-mix(in srgb, var(--gold) 55%, transparent); background: #161A23; }
.tx-ready .ic { font-size: clamp(4rem, 14vh, 7rem); line-height: 1; }
.tx-ready h2 { margin: 0; font-size: clamp(1.9rem, 5vh, 3rem); font-weight: 600; }
.tx-ready p { margin: 0; font-size: clamp(1.15rem, 2.6vh, 1.5rem); color: var(--mute); }
.tx-ready .pulse { width: 16px; height: 16px; border-radius: 50%; background: #2BC46E; box-shadow: 0 0 0 0 rgba(43, 196, 110, .6); animation: tx-pulse 1.6s infinite; }
@keyframes tx-pulse { to { box-shadow: 0 0 0 22px rgba(43, 196, 110, 0); } }
.tx-locked .tx-modes, .tx-locked #dev { display: none; }
.tx-locked { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.tx-corner { position: fixed; top: 0; right: 0; width: 80px; height: 80px; z-index: 30; }
.tx-cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tx-cam.mirror video { transform: scaleX(-1); }
.tx-frame { position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 18px; box-shadow: 0 0 0 200vmax rgba(0, 0, 0, .35); outline: 3px solid rgba(242, 210, 122, .9); }
.tx-frame::after { content: ''; position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: rgba(242, 210, 122, .8); animation: tx-sweep 2.2s ease-in-out infinite; }
@keyframes tx-sweep { 0%, 100% { transform: translateY(-38%); } 50% { transform: translateY(38%); } }
.tx-hint { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px; text-align: center; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); font-weight: 500; }
.tx-manual { display: flex; gap: 8px; }
.tx-stats { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 10px 14px max(10px, env(safe-area-inset-bottom)); background: #12151D; border-top: 1px solid var(--line); color: var(--mute); font-size: .95rem; }
.tx-stats b { color: var(--ink); font-weight: 600; }
.tx-tabs { display: flex; gap: 6px; }
.tx-tabs button { flex: 1; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #222736; color: var(--mute); font-weight: 500; }
.tx-tabs button[aria-pressed=true] { background: #EEF1F6; color: #161A23; }
.tx-list { display: grid; gap: 10px; }
.tx-party { padding: 12px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 8px; }
.tx-party h3 { margin: 0; font-weight: 500; font-size: 1.05rem; display: flex; gap: 8px; align-items: center; }
.tx-party .chip { font-size: .78rem; padding: 2px 8px; border-radius: 999px; background: #3A3320; color: var(--gold); }
.tx-person { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 2px; }
.tx-person input { width: 24px; height: 24px; accent-color: var(--gold); }
.tx-person .in { margin-left: auto; color: #7FD6A0; font-size: .9rem; }
.tx-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.tx-step { display: flex; align-items: center; gap: 12px; }
.tx-step button { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line); background: #2F3647; color: var(--ink); font-size: 1.5rem; }
.tx-step b { min-width: 2ch; text-align: center; font-size: 1.4rem; }

.tx-result { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 24px; text-align: center; color: #fff; animation: tx-pop .18s ease-out; }
.tx-result.ok { background: radial-gradient(circle at 50% 35%, #2BC46E, #127A3E); }
.tx-result.warn { background: radial-gradient(circle at 50% 35%, #F0B23A, #A86E0E); color: #1B1405; }
.tx-result.bad { background: radial-gradient(circle at 50% 35%, #E5534A, #8E1E18); }
@keyframes tx-pop { from { transform: scale(.96); opacity: .4; } }
.tx-result .in { display: grid; gap: 10px; max-width: 640px; }
.tx-result .ic { font-size: 5rem; line-height: 1; }
.tx-result .tt { font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 600; line-height: 1.05; }
.tx-result .nm { font-size: clamp(1.6rem, 6vw, 2.6rem); font-weight: 500; }
.tx-result .sb { font-size: 1.2rem; opacity: .92; }
.tx-result .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.tx-result .btn { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .45); color: inherit; }
.tx-result .btn.go { background: #fff; color: #161A23; border-color: #fff; }
.tx-result .party { display: grid; gap: 6px; justify-items: center; margin-top: 6px; }
.tx-sheet { position: fixed; inset: 0; z-index: 12; display: grid; align-items: end; background: rgba(0, 0, 0, .55); }
.tx-sheet .card { background: var(--panel); border-radius: 22px 22px 0 0; padding: 20px 18px max(20px, env(safe-area-inset-bottom)); display: grid; gap: 14px; max-width: 640px; width: 100%; margin: 0 auto; }
.tx-sheet h3 { margin: 0; font-weight: 500; font-size: 1.2rem; }
.tx-qr { justify-self: center; padding: 14px; background: #fff; border-radius: 16px; }
.tx-qr canvas, .tx-qr img { display: block; }
.tx-toast { position: fixed; left: 50%; bottom: 90px; z-index: 14; transform: translateX(-50%); padding: 12px 18px; border-radius: 14px; background: #EEF1F6; color: #161A23; font-weight: 500; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); max-width: 90vw; text-align: center; }

/* ---------- the self check-in kiosk (iPad) ----------
   Nov 10 (Michael: "Kiosk needs some better theming"): dressed like the party's invitation. invite.css gives the body the
   look's colour-paper palette ([data-look][data-paper="color"]: --iv-bg, --iv-ink, --iv-soft, --iv-line, --iv-accent, the
   title's --t1..--t5 and the crest's --f1..--f5); the title is in the card's lettering, "Welcome To" in its script. The
   backdrop moves (kiosk-fx.js) and the party's crest turns slowly behind everything. Nothing on it can be selected,
   zoomed or long-pressed; staff hold the top right corner for their menu. */
/* the page itself is dark, so the body (fixed to the screen, so nothing rubber-bands) paints its own look */
html.k-root { height: 100%; background: #05070D; overscroll-behavior: none; }
.tx-kiosk { --k-deep: #0A1730; position: fixed; inset: 0; overflow: hidden; background: #0D1D3B; background: var(--iv-bg, #0D1D3B); color: var(--iv-ink, #EEF4FB);
    -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; overscroll-behavior: none; }
.tx-kiosk[data-look="holiday"] { --k-deep: #0B2216; } .tx-kiosk[data-look="newyear"] { --k-deep: #0C0B16; } .tx-kiosk[data-look="gala"] { --k-deep: #000; }
.tx-kiosk[data-look="diwali"] { --k-deep: #1A0A21; } .tx-kiosk[data-look="halloween"] { --k-deep: #0E0814; } .tx-kiosk[data-look="birthday"] { --k-deep: #180C28; }
.tx-kiosk[data-look="garden"] { --k-deep: #13241C; } .tx-kiosk[data-look="party"] { --k-deep: #120C24; } .tx-kiosk[data-look="event"] { --k-deep: #101216; }
/* Nov 10 (Michael: "Needs a bit more color in the buttons for kicks"): two bright colours per look for the big choices and
   the main buttons (the first choice in one, the second in the other) */
.tx-kiosk { --k-c1: #2F7BEA; --k-c2: #22A9C9; }
.tx-kiosk[data-look="holiday"] { --k-c1: #C8283E; --k-c2: #1E8C55; } .tx-kiosk[data-look="newyear"] { --k-c1: #C99A2E; --k-c2: #7B4FD6; }
.tx-kiosk[data-look="gala"] { --k-c1: #C49A3E; --k-c2: #8E6A2A; } .tx-kiosk[data-look="diwali"] { --k-c1: #D92F7A; --k-c2: #EA7F12; }
.tx-kiosk[data-look="halloween"] { --k-c1: #EA6F12; --k-c2: #7A3FC4; } .tx-kiosk[data-look="birthday"] { --k-c1: #E5508F; --k-c2: #8B5CF6; }
.tx-kiosk[data-look="garden"] { --k-c1: #D25F74; --k-c2: #3F9163; } .tx-kiosk[data-look="party"] { --k-c1: #7C5CFF; --k-c2: #E8458F; }
.tx-kiosk[data-look="event"] { --k-c1: #B8955A; --k-c2: #5B6573; }
/* <gen:kiosk> */
.tx-kiosk[data-look="valentines"] { --k-deep: #220812; --k-c1: #E2366B; --k-c2: #A8124A; }
.tx-kiosk[data-look="stpatricks"] { --k-deep: #05140C; --k-c1: #23A45B; --k-c2: #C9A23A; }
.tx-kiosk[data-look="mardigras"] { --k-deep: #12081D; --k-c1: #7B3FC4; --k-c2: #2FA866; }
.tx-kiosk[data-look="lunar"] { --k-deep: #220505; --k-c1: #D7262E; --k-c2: #E8A82A; }
.tx-kiosk[data-look="easter"] { --k-deep: #18152A; --k-c1: #C77DD6; --k-c2: #3FB58A; }
.tx-kiosk[data-look="fiesta"] { --k-deep: #150A10; --k-c1: #E8418F; --k-c2: #F28C28; }
.tx-kiosk[data-look="july4"] { --k-deep: #060E22; --k-c1: #D7263D; --k-c2: #2F5BD6; }
.tx-kiosk[data-look="summer"] { --k-deep: #052229; --k-c1: #F28C28; --k-c2: #1FA3B5; }
.tx-kiosk[data-look="fall"] { --k-deep: #190C05; --k-c1: #D2691E; --k-c2: #8B3A1A; }
.tx-kiosk[data-look="thanksgiving"] { --k-deep: #160E06; --k-c1: #C8782A; --k-c2: #7A4A1E; }
.tx-kiosk[data-look="hanukkah"] { --k-deep: #060E29; --k-c1: #2F6BD6; --k-c2: #8FB4E6; }
.tx-kiosk[data-look="kwanzaa"] { --k-deep: #100805; --k-c1: #C8102E; --k-c2: #1E8C55; }
.tx-kiosk[data-look="red"] { --k-deep: #1D060A; --k-c1: #D7263D; --k-c2: #8E1426; }
.tx-kiosk[data-look="orange"] { --k-deep: #220E05; --k-c1: #F2700F; --k-c2: #B84A0A; }
.tx-kiosk[data-look="yellow"] { --k-deep: #18160E; --k-c1: #E8B923; --k-c2: #A87F12; }
.tx-kiosk[data-look="green"] { --k-deep: #051C15; --k-c1: #1E9E6A; --k-c2: #0F6B47; }
.tx-kiosk[data-look="teal"] { --k-deep: #051B22; --k-c1: #14A3A8; --k-c2: #0B6E78; }
.tx-kiosk[data-look="blue"] { --k-deep: #060E29; --k-c1: #2F5BD6; --k-c2: #1A3A9A; }
.tx-kiosk[data-look="purple"] { --k-deep: #120823; --k-c1: #7B4FD6; --k-c2: #4E2A9A; }
.tx-kiosk[data-look="pink"] { --k-deep: #220B18; --k-c1: #E8559A; --k-c2: #A8306A; }
.tx-kiosk[data-look="black"] { --k-deep: #040404; --k-c1: #8E949C; --k-c2: #4A4E55; }
.tx-kiosk[data-look="silver"] { --k-deep: #15171B; --k-c1: #9AA3AE; --k-c2: #5E6773; }
.tx-kiosk[data-look="gold"] { --k-deep: #151005; --k-c1: #C9A23A; --k-c2: #8A6A1E; }
.tx-kiosk[data-look="brown"] { --k-deep: #18100B; --k-c1: #A0673E; --k-c2: #6B4226; }
.tx-kiosk[data-look="signature"] { --k-deep: #09060D; --k-c1: #F2700F; --k-c2: #7A3FC4; }
.tx-kiosk[data-look="wedding"] { --k-deep: #161518; --k-c1: #C9A86A; --k-c2: #8E8A94; }
.tx-kiosk[data-look="anniversary"] { --k-deep: #150C10; --k-c1: #B8865A; --k-c2: #8A4A5E; }
.tx-kiosk[data-look="babyshower"] { --k-deep: #121A2E; --k-c1: #7FB8F0; --k-c2: #F09AC0; }
.tx-kiosk[data-look="bridal"] { --k-deep: #1B1016; --k-c1: #E58FAE; --k-c2: #B8865A; }
.tx-kiosk[data-look="graduation"] { --k-deep: #080C18; --k-c1: #C9A23A; --k-c2: #3A4A7A; }
.tx-kiosk[data-look="retirement"] { --k-deep: #180E1A; --k-c1: #E8873A; --k-c2: #9A4A6A; }
.tx-kiosk[data-look="business"] { --k-deep: #0A0E13; --k-c1: #3A78B8; --k-c2: #5E6E80; }
.tx-kiosk[data-look="fundraiser"] { --k-deep: #0B1010; --k-c1: #2FA89A; --k-c2: #C9A23A; }
.tx-kiosk[data-look="gameday"] { --k-deep: #06100D; --k-c1: #2E9E58; --k-c2: #C8541E; }
.tx-kiosk[data-look="reunion"] { --k-deep: #10150E; --k-c1: #7A9A5A; --k-c2: #B8865A; }
.tx-kiosk[data-look="quince"] { --k-deep: #18081B; --k-c1: #D04AA8; --k-c2: #C9A23A; }
.tx-kiosk[data-look="mitzvah"] { --k-deep: #061026; --k-c1: #3A6BD6; --k-c2: #C9A23A; }
/* </gen:kiosk> */
/* the host's own accent from the invitation */
.tx-kiosk[data-accent="gold"] { --iv-accent: #F2D27A; --iv-line: rgba(242, 210, 122, .55); } .tx-kiosk[data-accent="silver"] { --iv-accent: #E4EAF2; --iv-line: rgba(228, 234, 242, .5); }
.tx-kiosk[data-accent="ice"] { --iv-accent: #A9D8FF; --iv-line: rgba(169, 216, 255, .5); } .tx-kiosk[data-accent="rose"] { --iv-accent: #F6B9C8; --iv-line: rgba(246, 185, 200, .5); }
.tx-kiosk[data-accent="emerald"] { --iv-accent: #94E0BC; --iv-line: rgba(148, 224, 188, .5); } .tx-kiosk[data-accent="violet"] { --iv-accent: #CDBBFF; --iv-line: rgba(205, 187, 255, .5); }
.tx-kiosk[data-accent="ruby"] { --iv-accent: #FF9AA8; --iv-line: rgba(255, 154, 168, .5); }
.tx-kiosk::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background: radial-gradient(ellipse 70% 55% at 50% 30%, color-mix(in srgb, var(--iv-accent) 16%, transparent), transparent 70%), radial-gradient(ellipse at 50% 120%, rgba(0, 0, 0, .55), transparent 60%); }
/* a fine double frame, like the invitation's hairline border */
.tx-kiosk::after { content: ""; position: fixed; inset: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    z-index: 0; pointer-events: none; border: 1px solid color-mix(in srgb, var(--iv-line) 70%, transparent); border-radius: 24px; outline: 1px solid color-mix(in srgb, var(--iv-line) 30%, transparent); outline-offset: -7px; }
.tx-kiosk input, .tx-kiosk textarea { -webkit-user-select: text; user-select: text; }
.tx-kiosk img, .tx-kiosk svg { -webkit-user-drag: none; }
.k-fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.k-ghost { position: fixed; left: 50%; top: 50%; width: 125vmax; height: 125vmax; margin: -62.5vmax 0 0 -62.5vmax; opacity: .028; pointer-events: none; z-index: 0; animation: k-spin 300s linear infinite; }
.k-ghost svg { width: 100%; height: 100%; }
@keyframes k-spin { to { transform: rotate(360deg); } }
.k-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.k-defs .f1 { stop-color: var(--f1); } .k-defs .f2 { stop-color: var(--f2); } .k-defs .f3 { stop-color: var(--f3); } .k-defs .f4 { stop-color: var(--f4); } .k-defs .f5 { stop-color: var(--f5); }

.tx-k { position: relative; z-index: 1; height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; display: grid; place-items: center; padding: max(9vh, 64px) 5vw max(11vh, 84px); }
.tx-k .scr { width: min(900px, 100%); display: grid; gap: 2.6vh; justify-items: center; text-align: center; animation: tx-pop .3s ease-out; }
.tx-k h1 { margin: 0; font-weight: 300; font-size: clamp(2.2rem, 6.4vh, 4.2rem); line-height: 1.1; letter-spacing: .01em; color: var(--iv-ink); text-wrap: balance; }
.tx-k h2 { margin: 0; font-weight: 400; font-size: clamp(1.9rem, 5vh, 3rem); line-height: 1.15; color: var(--iv-ink); text-wrap: balance; }
.tx-k .lead { font-size: clamp(1.3rem, 3vh, 1.75rem); color: color-mix(in srgb, var(--iv-ink) 82%, var(--iv-soft)); margin: 0; text-wrap: balance; line-height: 1.35; }
.tx-k .grad { background-image: linear-gradient(170deg, var(--t1), var(--t2) 30%, var(--t3) 52%, var(--t4) 76%, var(--t5)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* the welcome screen: crest, "Welcome To" in the card's script, the party's name in its lettering */
.k-home { gap: 1.6vh !important; }
.tx-k:has(.k-home) { padding-top: max(4vh, 24px); padding-bottom: max(4vh, 24px); }
.k-crest { position: relative; width: min(24vh, 32vw, 240px); aspect-ratio: 1; display: grid; place-items: center; margin-bottom: .6vh; }
.k-crest::before { content: ""; position: absolute; inset: -32%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--iv-accent) 30%, transparent), transparent 66%); animation: k-breathe 6s ease-in-out infinite; }
.k-crest > * { position: relative; width: 100%; height: auto; }
.k-crest img { max-height: 100%; object-fit: contain; }
.k-crest .iv-lines > * { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: k-draw 2.8s cubic-bezier(.45, .05, .2, 1) forwards; }
.k-crest .iv-dots { opacity: 0; animation: k-fade 1s 1.8s ease-out forwards; }
.k-crest.small { width: min(7.5vh, 64px); margin: 0; } .k-crest.small::before { inset: -45%; }
@keyframes k-draw { to { stroke-dashoffset: 0; } }
@keyframes k-fade { to { opacity: 1; } }
@keyframes k-breathe { 50% { opacity: .55; transform: scale(.92); } }
.k-welcome { margin: 0 0 -1.4vh; font: 400 clamp(2rem, 6.4vh, 3.8rem)/1.1 "Pinyon Script", cursive; color: var(--iv-accent); padding: 0 .2em; }
.tx-kiosk[data-script="vibes"] .k-welcome { font-family: "Great Vibes", cursive; } .tx-kiosk[data-script="parisienne"] .k-welcome { font-family: "Parisienne", cursive; font-size: clamp(1.7rem, 5.4vh, 3.2rem); }
.tx-kiosk[data-script="alex"] .k-welcome { font-family: "Alex Brush", cursive; } .tx-kiosk[data-script="dancing"] .k-welcome { font-family: "Dancing Script", cursive; font-weight: 600; font-size: clamp(1.6rem, 5vh, 3rem); }
.tx-kiosk[data-script="satisfy"] .k-welcome { font-family: "Satisfy", cursive; font-size: clamp(1.6rem, 5vh, 3rem); }
.tx-kiosk:is([data-script="none"], [data-script="italic"], [data-script="vintage"], [data-script="raleway"], [data-script="deco"], [data-script="boldsans"]) .k-welcome { font: 500 clamp(1rem, 2.4vh, 1.3rem)/1.2 Jost, sans-serif; letter-spacing: .3em; margin-bottom: 0; }
.tx-kiosk[data-script="italic"] .k-welcome { font-style: italic; font-weight: 400; letter-spacing: .1em; } .tx-kiosk[data-script="vintage"] .k-welcome { font-family: "Josefin Sans", Jost, sans-serif; font-weight: 600; }
.tx-kiosk[data-script="raleway"] .k-welcome { font-family: "Raleway", Jost, sans-serif; font-style: italic; letter-spacing: .08em; } .tx-kiosk[data-script="deco"] .k-welcome { font-family: "Poiret One", Jost, sans-serif; }
.tx-kiosk[data-script="boldsans"] .k-welcome { font-family: Rubik, sans-serif; font-weight: 700; }
.k-title { margin: 0; max-width: 92vw; font: 200 clamp(2.4rem, 10.5vh, 6.6rem)/1.06 Jost, sans-serif; letter-spacing: .015em; text-wrap: balance; padding: 0 .06em .08em; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .35)); }
.tx-kiosk[data-lettering="script"] .k-title { font-family: "Pinyon Script", cursive; font-weight: 400; font-size: clamp(2.8rem, 11vh, 7rem); letter-spacing: 0; padding: .05em .14em .14em; }
.tx-kiosk[data-lettering="flowing"] .k-title { font-family: "Great Vibes", cursive; font-weight: 400; font-size: clamp(3rem, 12vh, 7.6rem); letter-spacing: 0; padding: .06em .16em .16em; }
.tx-kiosk[data-lettering="deco"] .k-title { font-family: "Poiret One", Jost, sans-serif; font-weight: 400; letter-spacing: .06em; }
.tx-kiosk[data-lettering="bold"] .k-title { font-family: Rubik, sans-serif; font-weight: 800; font-size: clamp(2.2rem, 8.4vh, 5.4rem); letter-spacing: -.005em; }
.k-rule { display: flex; align-items: center; justify-content: center; gap: 18px; margin: .4vh 0 1.4vh; color: var(--iv-soft); letter-spacing: .14em; font-size: clamp(.95rem, 2vh, 1.15rem); font-weight: 500; }
.k-rule::before, .k-rule::after { content: ""; width: min(11vw, 120px); height: 1px; background: linear-gradient(90deg, transparent, var(--iv-line)); }
.k-rule::after { transform: scaleX(-1); }

/* the big choices: glass cards with the look's line, a slow sheen across them */
.tx-k .choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 2.2vh 2.4vw; width: min(860px, 100%); }
.tx-k .choice { position: relative; overflow: hidden; display: grid; gap: 1.2vh; justify-items: center; padding: 3.4vh 2vw 3.2vh; border-radius: 30px; border: 1px solid var(--iv-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 24px 60px rgba(0, 0, 0, .35);
    color: var(--iv-ink); font-size: clamp(1.3rem, 3vh, 1.8rem); font-weight: 500; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.tx-k .choice::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .14) 50%, transparent 62%); transform: translateX(-110%); animation: k-sheen 8s ease-in-out infinite; }
.tx-k .choice + .choice::after { animation-delay: 4s; }
.tx-k .choice:active { transform: scale(.975); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 0 3px color-mix(in srgb, var(--iv-accent) 60%, transparent), 0 16px 40px rgba(0, 0, 0, .35); }
.tx-k .choice.still { cursor: default; }
.tx-k .choice { --c: var(--k-c1); border-color: color-mix(in srgb, var(--c) 65%, #FFFFFF);
    background: radial-gradient(ellipse 90% 70% at 50% 0%, color-mix(in srgb, var(--c) 55%, #FFFFFF 8%), transparent 75%), linear-gradient(165deg, color-mix(in srgb, var(--c) 72%, transparent), color-mix(in srgb, var(--c) 34%, transparent));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -18px 40px rgba(0, 0, 0, .18), 0 22px 54px color-mix(in srgb, var(--c) 40%, transparent); color: #FFFFFF; text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }
.tx-k .choice + .choice { --c: var(--k-c2); }
.tx-k .choice small { color: rgba(255, 255, 255, .86) !important; }
.tx-k .choice .k-ic .ln { stroke: #FFFFFF; } .tx-k .choice .k-ic .fl { fill: #FFFFFF; }
.tx-k .choice .k-ic { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.tx-k .choice .e { font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; }
.tx-k .choice small { font-size: clamp(1.1rem, 2.4vh, 1.35rem); color: var(--iv-soft); font-weight: 400; text-wrap: balance; line-height: 1.3; }
@keyframes k-sheen { 0%, 62% { transform: translateX(-110%); } 82%, 100% { transform: translateX(110%); } }
.k-ic { width: clamp(64px, 11vh, 100px); height: auto; overflow: visible; }
.k-ic .ln { fill: none; stroke: url(#kg); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.k-ic .fl { fill: url(#kg); }
.k-big { width: clamp(96px, 16vh, 150px); }
.k-big .ln { stroke-width: 1.6; stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: k-draw 1.1s cubic-bezier(.5, 0, .2, 1) forwards; }
.k-big .ln + .ln { animation-delay: .45s; }
.tx-k .linkish { background: none; border: 0; color: var(--iv-accent); font-size: clamp(1.1rem, 2.4vh, 1.3rem); text-decoration: underline; text-underline-offset: .2em; min-height: 52px; padding: 0 16px; cursor: pointer; }

/* buttons, fields and lists in the look */
.tx.tx-kiosk .btn { border: 1px solid var(--iv-line); background: rgba(255, 255, 255, .08); color: var(--iv-ink); border-radius: 18px; }
.tx.tx-kiosk .btn.go { border-color: color-mix(in srgb, var(--k-c1) 60%, #FFFFFF); background: linear-gradient(135deg, var(--k-c1), var(--k-c2)); color: #FFFFFF; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 32px color-mix(in srgb, var(--k-c1) 40%, transparent); }
.tx.tx-kiosk .btn:active { transform: scale(.97); }
.tx-k .btn.big { min-width: 220px; min-height: 70px; font-size: clamp(1.15rem, 2.6vh, 1.4rem); }
.tx.tx-kiosk .tx-k input { min-height: 66px; font-size: 1.35rem; border-radius: 18px; padding: 12px 20px; background: rgba(0, 0, 0, .3); border: 1px solid var(--iv-line); color: var(--iv-ink); }
.tx.tx-kiosk .tx-k input::placeholder { color: color-mix(in srgb, var(--iv-soft) 75%, transparent); }
.tx.tx-kiosk .tx-k input:focus { outline: none; border-color: var(--iv-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--iv-accent) 25%, transparent); }
.tx-k .cam { position: relative; width: min(560px, 80vw, 62vh); aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #000; border: 1px solid var(--iv-line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.tx-k .cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.tx-k .cam::before { content: ""; position: absolute; inset: 14%; z-index: 1; pointer-events: none; --c: var(--iv-accent);
    background: linear-gradient(var(--c), var(--c)) 0 0 / 34px 4px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 4px 34px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 34px 4px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 4px 34px no-repeat,
        linear-gradient(var(--c), var(--c)) 0 100% / 34px 4px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 4px 34px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 34px 4px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 4px 34px no-repeat; }
.tx-k .cam::after { content: ""; position: absolute; left: 14%; right: 14%; top: 14%; height: 3px; z-index: 1; border-radius: 3px; background: var(--iv-accent); box-shadow: 0 0 16px var(--iv-accent); opacity: .8; animation: k-scanline 2.4s ease-in-out infinite alternate; }
@keyframes k-scanline { to { top: 86%; } }
.tx-k .names { display: grid; gap: 12px; width: min(720px, 100%); max-height: 44vh; overflow: auto; }
.tx-k .name { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 78px; padding: 12px 24px; border-radius: 22px; border: 1px solid var(--iv-line); background: rgba(255, 255, 255, .08); color: var(--iv-ink); font-size: 1.45rem; text-align: left; cursor: pointer; }
.tx-k .name:active { background: rgba(255, 255, 255, .16); }
.tx-k .name small { color: var(--iv-soft); font-size: 1.15rem; }
.tx-k .who { display: grid; gap: 10px; width: min(580px, 100%); }
.tx-k .who label { display: flex; align-items: center; gap: 16px; min-height: 68px; padding: 10px 22px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--iv-line) 60%, transparent); background: rgba(255, 255, 255, .08); font-size: 1.35rem; text-align: left; }
.tx-k .who input { width: 30px; height: 30px; accent-color: var(--iv-accent); }
.tx-k .who .done { margin-left: auto; color: #8FE0AE; font-size: 1.15rem; }
.tx-k .form { display: grid; gap: 14px; width: min(620px, 100%); text-align: left; }
.tx-k .form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tx-k .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tx-k .qrbig { padding: 18px; background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--iv-line), 0 20px 50px rgba(0, 0, 0, .4); }
.tx-k .qrname { font-size: 1.3rem; font-weight: 500; }
.tx-k .tx-step button { border-color: var(--iv-line); background: rgba(255, 255, 255, .08); color: var(--iv-ink); }
.tx-k .back { position: fixed; left: max(22px, env(safe-area-inset-left)); top: max(20px, env(safe-area-inset-top)); z-index: 3; min-height: 56px; font-size: 1.15rem; padding: 10px 20px; }
/* the three steps along the bottom */
.k-progress { position: fixed; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 2; display: flex; gap: clamp(14px, 3vw, 34px); margin: 0; padding: 10px 20px; list-style: none; border-radius: 999px; background: rgba(0, 0, 0, .28); border: 1px solid color-mix(in srgb, var(--iv-line) 60%, transparent); pointer-events: none; }
.k-progress li { display: flex; align-items: center; gap: 8px; font-size: clamp(1rem, 2.1vh, 1.2rem); color: var(--iv-soft); white-space: nowrap; }
.k-progress b { display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%; border: 1.5px solid var(--iv-line); font-weight: 600; font-size: .9em; }
.k-progress li.now { color: var(--iv-ink); font-weight: 600; } .k-progress li.now b { background: linear-gradient(135deg, var(--k-c1), var(--k-c2)); border-color: transparent; color: #fff; }
.k-progress li.done b { background: rgba(143, 224, 174, .2); border-color: #8FE0AE; color: #8FE0AE; }
.k-mark { position: fixed; left: 50%; top: max(14px, env(safe-area-inset-top)); transform: translateX(-50%); z-index: 2; pointer-events: none; }
.tx-kiosk .tx-toast { background: var(--iv-ink); color: var(--k-deep); }

/* the staff corner: hold for three seconds (a ring fills) */
.k-staff { position: fixed; top: 0; right: 0; z-index: 30; width: 96px; height: 96px; display: grid; place-items: center; touch-action: none; }
.k-staff svg { width: 46px; height: 46px; opacity: 0; transform: rotate(-90deg); transition: opacity .2s; }
.k-staff circle { fill: rgba(0, 0, 0, .35); stroke: var(--iv-accent); stroke-width: 3; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.k-staff.hold svg { opacity: 1; }
.k-staff.hold circle { animation: k-draw 2.9s linear forwards; }
.k-over { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; background: rgba(4, 6, 12, .74); }
.k-panel { width: min(540px, 100%); max-height: 94vh; overflow: auto; display: grid; gap: 16px; padding: 28px 26px; border-radius: 28px; text-align: center; color: var(--iv-ink);
    background: linear-gradient(180deg, color-mix(in srgb, var(--k-deep) 70%, #2A3246), var(--k-deep)); border: 1px solid var(--iv-line); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: tx-pop .2s ease-out; }
.k-panel h2 { margin: 0; font-weight: 500; font-size: 1.7rem; }
.k-panel p { margin: 0; color: var(--iv-soft); }
.k-dots { display: flex; justify-content: center; gap: 14px; min-height: 22px; }
.k-dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--iv-line); }
.k-dots i.on { background: var(--iv-accent); border-color: var(--iv-accent); }
.k-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.k-pad button { min-height: 74px; border-radius: 20px; border: 1px solid var(--iv-line); background: rgba(255, 255, 255, .07); color: var(--iv-ink); font: 500 1.7rem Jost, sans-serif; cursor: pointer; }
.k-pad button:active { background: rgba(255, 255, 255, .18); }
.k-shake { animation: k-shake .4s; }
@keyframes k-shake { 20%, 60% { transform: translateX(-12px); } 40%, 80% { transform: translateX(12px); } }
.k-menu { display: grid; gap: 10px; text-align: left; }
.k-menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 10px 20px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--iv-line) 70%, transparent); background: rgba(255, 255, 255, .06); color: var(--iv-ink); font: 500 1.15rem Jost, sans-serif; text-align: left; cursor: pointer; }
.k-menu button small { display: block; color: var(--iv-soft); font-weight: 400; font-size: .9rem; }
.k-menu .pill { flex: none; padding: 4px 12px; border-radius: 999px; font-size: .9rem; background: rgba(255, 255, 255, .1); color: var(--iv-soft); }
.k-menu .pill.on { background: var(--iv-accent); color: var(--k-deep); }
.k-steps { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; text-align: left; color: var(--iv-ink); line-height: 1.4; }
.k-note { font-size: .92rem; }

/* ---------- the print station ---------- */
.tx-station main { max-width: 760px; margin: 0 auto; padding: 24px 18px; display: grid; gap: 16px; }
/* the print station as a check-in point (a scanner and the laptop's screen facing the guests) */
.tx-station .ci { display: grid; place-items: center; min-height: 62vh; padding: 28px 22px; border-radius: 24px; text-align: center; background: #161A23; border: 2px dashed color-mix(in srgb, var(--gold) 60%, transparent); }
.tx-station .ci.ok { background: radial-gradient(circle at 50% 30%, #2BC46E, #127A3E); border-color: transparent; color: #fff; }
.tx-station .ci.warn { background: radial-gradient(circle at 50% 30%, #F0B23A, #A86E0E); border-color: transparent; color: #1B1405; }
.tx-station .ci.bad { background: radial-gradient(circle at 50% 30%, #E5534A, #8E1E18); border-color: transparent; color: #fff; }
.tx-station .ci-in { display: grid; gap: 14px; justify-items: center; max-width: 680px; animation: tx-pop .2s ease-out; }
.tx-station .ci-ic { font-size: clamp(4rem, 12vh, 6.5rem); line-height: 1; }
.tx-station .ci h1 { margin: 0; font-size: clamp(2rem, 5.4vh, 3.2rem); line-height: 1.12; font-weight: 600; }
.tx-station .ci p { margin: 0; font-size: clamp(1.25rem, 3vh, 1.7rem); line-height: 1.35; opacity: .95; }
.tx-station { overflow-anchor: none; }
.tx-station.ci-mode main { max-width: 980px; }
.tx-station.ci-mode .ci { min-height: calc(100vh - 120px); }
.tx-station.ci-mode:not(.ci-settings) main > .pn { display: none; }
.tx-station .ci-gear { justify-self: center; }
.tx-station .ci-dot { width: 16px; height: 16px; border-radius: 50%; background: #2BC46E; animation: tx-pulse 1.6s infinite; }
.tx-station .pn { padding: 16px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; }
.tx-station .state { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; font-weight: 500; }
.tx-station .dot { width: 14px; height: 14px; border-radius: 50%; background: #7FD6A0; box-shadow: 0 0 0 6px rgba(127, 214, 160, .2); }
.tx-station .dot.off { background: var(--bad); box-shadow: 0 0 0 6px rgba(200, 54, 46, .2); }
.tx-station code { background: #11141C; padding: 2px 6px; border-radius: 6px; color: var(--gold); word-break: break-all; }
.tx-station ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--mute); }

/* printing: only the tickets */
#tx-print { display: none; }
@media print {
    body.tx-printing > *:not(#tx-print) { display: none !important; }
    body.tx-printing #tx-print { display: block !important; }
    /* Nov 13: white paper only (the page's dark sky and its glows stay on screen) */
    html, html.k-root, body.tx-printing { background: #fff !important; min-height: 0 !important; height: auto !important; overflow: visible !important; }
    body.tx-printing::before, body.tx-printing::after { display: none !important; }
}

/* ---------- the pass on guests' phones ---------- */
.tp { display: grid; gap: 16px; }
.tp-head { text-align: center; display: grid; gap: 2px; }
.tp-head h2 { margin: 0; font-size: 1.35rem; }
.tp-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.tp-card { position: relative; display: grid; gap: 12px; justify-items: center; padding: 18px 16px 16px; border-radius: 22px; background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 92%, #fff), var(--panel)); border: 1px solid color-mix(in srgb, var(--gold, #F2D27A) 45%, transparent); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.tp-card::before, .tp-card::after { content: ''; position: absolute; top: 58%; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); }
.tp-card::before { left: -11px; } .tp-card::after { right: -11px; }
.tp-name { font-size: 1.4rem; font-weight: 700; text-align: center; line-height: 1.15; }
.tp-in { font-size: .9rem; color: #7FD6A0; font-weight: 600; }
.tp-qr { position: relative; padding: 14px; background: #fff; border-radius: 18px; }
.tp-qr canvas, .tp-qr img { display: block; width: min(64vw, 260px) !important; height: min(64vw, 260px) !important; }
/* Nov 10: the Event Ticket before check-in, then a swipe of big tickets, one QR each */
.tp-tk { display: grid; gap: 8px; justify-items: center; text-align: center; width: 100%; padding: 14px 12px 16px; border-radius: 18px; border: 1.5px dashed color-mix(in srgb, var(--gold, #F2D27A) 70%, transparent); background: color-mix(in srgb, var(--gold, #F2D27A) 8%, transparent); }
.tp-ty { font-size: 1.3rem; font-weight: 700; line-height: 1.15; }
.tp-of { font-size: 1rem; color: var(--muted); font-weight: 600; margin-top: -4px; }
.tp-code { font-size: 1rem; letter-spacing: .18em; color: var(--muted); font-variant-numeric: tabular-nums; }
.tp-show { font-size: 1rem; color: var(--muted); }
.tp-swipe { display: flex; gap: 12px; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.tp-swipe::-webkit-scrollbar { display: none; }
.tp-swipe > .tp-tk { flex: 0 0 100%; scroll-snap-align: center; }
.tp-tk.used { filter: grayscale(1); opacity: .8; border-style: solid; border-color: #3a3a44; }
/* each kind its own look: the Event Ticket an ivory and gold admission ticket, Drink Tickets bar blue with a cocktail
   glass, a diet ticket (Vegetarian Dish) green with a leaf, anything else violet; a ticket's notches at the band */
.tp-tk[class*="k-"] { position: relative; padding: 0 0 16px; border: 0; overflow: hidden; color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
.tp-tk[class*="k-"]::before, .tp-tk[class*="k-"]::after { content: ''; position: absolute; top: 64px; width: 20px; height: 20px; border-radius: 50%; background: var(--panel, #1B1F2A); }
.tp-tk[class*="k-"]::before { left: -10px; } .tp-tk[class*="k-"]::after { right: -10px; }
.tp-band { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 18px 12px; text-align: left; border-bottom: 2px dashed rgba(255, 255, 255, .45); }
.tp-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .18); }
.tp-ic svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tp-bt { display: grid; gap: 2px; min-width: 0; }
.tp-bt .tp-ty { font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; }
.tp-bt small { font-size: 1rem; font-weight: 600; opacity: .9; }
.tp-tk[class*="k-"] .tp-qr { margin-top: 4px; }
.tp-tk[class*="k-"] .tp-code, .tp-tk[class*="k-"] .tp-show { color: inherit; opacity: .92; }
.tp-tk[class*="k-"] .tp-show { font-weight: 600; padding: 0 14px; }
.tp-tk.k-entry { color: #3A2A05; background: linear-gradient(160deg, #FFF8E2, #F6DE95 55%, #E9C56A); }
.tp-tk.k-entry .tp-band { border-bottom-color: rgba(58, 42, 5, .45); }
.tp-tk.k-entry .tp-ic { background: rgba(58, 42, 5, .1); }
.tp-tk.k-entry .tp-bt small { letter-spacing: .3em; text-transform: uppercase; font-size: .85rem; }
.tp-evt { display: grid; gap: 2px; font-size: 1.2rem; font-weight: 700; padding: 4px 14px 0; }
.tp-evt small { font-size: .95rem; font-weight: 500; opacity: .85; }
.tp-tk.k-drink { background: linear-gradient(160deg, #1B4F9C, #1F8FB8 60%, #26B5C9); }
.tp-tk.k-veg { background: linear-gradient(160deg, #1F6B3A, #2F9A52 60%, #6CC25C); }
.tp-tk.k-other { background: linear-gradient(160deg, #4B33A8, #7A5CE0); }
.tp-tk[class*="k-"].used { background: #2A2D36; color: #C9D1DD; }
.tp-usedmark { display: grid; place-items: center; align-content: center; gap: 4px; width: min(64vw, 260px); aspect-ratio: 1; margin: 14px; border-radius: 14px; background: #0A0A0D; color: #9AA3B2; }
.tp-usedmark b { font-size: 2rem; letter-spacing: .08em; text-transform: uppercase; color: #C9D1DD; }
.tp-dots { display: flex; justify-content: center; gap: 8px; }
.tp-dots i { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--muted) 40%, transparent); transition: transform .2s, background .2s; }
.tp-dots i.on { background: var(--gold, #F2D27A); transform: scale(1.3); }
.tp-left { font-size: 1rem; font-weight: 600; color: var(--muted); text-align: center; }
.tp-arrive { display: grid; gap: 4px; width: 100%; padding: 12px 14px; border-radius: 14px; text-align: center; background: color-mix(in srgb, #2BC46E 18%, transparent); border: 1.5px solid #2BC46E; }
.tp-arrive b { font-size: 1.25rem; font-weight: 800; }
.tp-arrive span { font-size: 1rem; line-height: 1.35; opacity: .92; }
.tp-lock { display: grid; gap: 4px; justify-items: center; text-align: center; width: 100%; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--muted) 12%, transparent); color: var(--muted); font-size: 1rem; }
.tp-lock-ic { font-size: 1.5rem; letter-spacing: .1em; filter: grayscale(.6); }
.tp-yay { text-align: center; padding: 12px 14px; border-radius: 14px; font-weight: 700; font-size: 1.1rem; color: #1B1405; background: linear-gradient(135deg, #F2D27A, #FFE9A8); animation: tx-pop .35s ease-out; }
.tp-live { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; }
.tp-live i { width: 34px; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--muted) 30%, transparent); overflow: hidden; position: relative; }
.tp-live i::after { content: ''; position: absolute; inset: 0; background: #7FD6A0; transform-origin: left; transform: scaleX(var(--p, 1)); }
.tp-types { display: grid; gap: 10px; width: 100%; }
.tp-type { display: grid; gap: 6px; }
.tp-type h4 { margin: 0; font-size: .95rem; display: flex; justify-content: space-between; color: var(--muted); font-weight: 600; }
.tp-stubs { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-stub { display: grid; place-items: center; min-width: 64px; height: 56px; padding: 0 10px; border-radius: 12px; background: color-mix(in srgb, var(--gold, #F2D27A) 22%, var(--panel)); border: 1px dashed color-mix(in srgb, var(--gold, #F2D27A) 70%, transparent); font-size: 1.5rem; line-height: 1; }
.tp-stub small { font-size: .7rem; color: var(--muted); }
.tp-stub.used { background: #0A0A0D; border-style: solid; border-color: #0A0A0D; filter: grayscale(1); opacity: .9; }
.tp-stub.used span { opacity: .25; }
.tp-stub.used small { color: #9AA3B2; }
.tp-send, .tp-print { width: 100%; }
.tp-note { text-align: center; color: var(--muted); font-size: .85rem; margin: 0; }
.tp-sent { text-align: center; color: var(--muted); font-size: .92rem; }

/* the phone's bottom bar makes room for Tickets */
/* (the bottom bar makes a column for each button showing: app.css .ph-nav) */

/* Nov 11 (Michael: "Some of these are really basic very bad looking pages ... it's a bar kiosk but it could be better
   looking"): the staff scanner, the station screens (Door, Bar...) and the desk in the party's invitation look, like the
   kiosk, but scrolling like a page */
html.k-root.k-scroll { height: auto; min-height: 100%; }
.tx-scan.tx-kiosk { position: relative; inset: auto; min-height: 100dvh; overflow: visible; -webkit-user-select: auto; user-select: auto; touch-action: auto; overscroll-behavior: auto; }
.tx-scan.tx-kiosk::after { display: none; }
.tx-scan.tx-kiosk main, .tx-scan.tx-kiosk .tx-modes { position: relative; z-index: 1; }
.tx-scan.tx-kiosk .grad { background-image: linear-gradient(170deg, var(--t1), var(--t2) 30%, var(--t3) 52%, var(--t4) 76%, var(--t5)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.tx-scan.tx-kiosk .tx-top { z-index: 4; background: color-mix(in srgb, var(--k-deep) 78%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--iv-line) 60%, transparent); }
.tx-scan.tx-kiosk .tx-ev { display: flex; align-items: center; gap: 10px; font: 400 1.35rem/1.1 Jost, sans-serif; letter-spacing: .03em; }
.tx-scan.tx-kiosk[data-lettering="script"] .tx-ev .grad { font: 400 1.9rem/1.1 "Pinyon Script", cursive; padding: 0 .1em .08em; }
.tx-crest { flex: none; width: 40px; height: 40px; display: grid; place-items: center; }
.tx-crest svg, .tx-crest img { width: 100%; height: 100%; object-fit: contain; }
.tx-scan.tx-kiosk .tx-dev { flex: none; white-space: nowrap; color: var(--iv-ink); border-color: color-mix(in srgb, var(--iv-line) 70%, transparent); background: rgba(255, 255, 255, .06); }
.tx-scan.tx-kiosk .tx-ev { min-width: 0; } .tx-scan.tx-kiosk .tx-ev .grad { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .tx-scan.tx-kiosk .tx-ev { font-size: 1.1rem; } .tx-scan.tx-kiosk[data-lettering="script"] .tx-ev .grad { font-size: 1.5rem; } .tx-crest { width: 32px; height: 32px; } .tx-scan.tx-kiosk .tx-dev { min-height: 36px; padding: 4px 10px; font-size: .85rem; } }
.tx-scan.tx-kiosk .tx-modes { background: transparent; border-bottom: 0; padding-top: 14px; }
.tx-scan.tx-kiosk .tx-modes button, .tx-scan.tx-kiosk .tx-tabs button { background: rgba(255, 255, 255, .07); border: 1px solid color-mix(in srgb, var(--iv-line) 55%, transparent); color: var(--iv-ink); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tx-scan.tx-kiosk .tx-modes button[aria-pressed=true], .tx-scan.tx-kiosk .tx-tabs button[aria-pressed=true] { background: linear-gradient(135deg, var(--k-c1), var(--k-c2)); border-color: transparent; color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--k-c1) 40%, transparent); }
.tx-scan.tx-kiosk .tx-cam { border: 2px solid color-mix(in srgb, var(--iv-accent) 70%, transparent); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.tx-scan.tx-kiosk .tx-frame { outline-color: var(--iv-accent); }
.tx-scan.tx-kiosk input:not([type=checkbox]):not([type=radio]) { background: color-mix(in srgb, var(--k-deep) 80%, rgba(255, 255, 255, .08)); border: 1px solid color-mix(in srgb, var(--iv-line) 70%, transparent); color: var(--iv-ink); }
.tx-scan.tx-kiosk input::placeholder { color: color-mix(in srgb, var(--iv-ink) 55%, transparent); }
.tx-scan.tx-kiosk .tx-party { background: color-mix(in srgb, var(--k-deep) 72%, rgba(255, 255, 255, .06)); border-color: color-mix(in srgb, var(--iv-line) 50%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tx-scan.tx-kiosk .tx-stats { background: color-mix(in srgb, var(--k-deep) 80%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid color-mix(in srgb, var(--iv-line) 50%, transparent); color: color-mix(in srgb, var(--iv-ink) 75%, transparent); }
.tx-scan.tx-kiosk .tx-stats b { color: var(--iv-ink); }
.tx-scan.tx-kiosk .muted { color: color-mix(in srgb, var(--iv-ink) 65%, transparent); }
/* the station screen's waiting card: the station in the party's lettering, big, with a slow glow */
.tx-scan.tx-kiosk .tx-ready { position: relative; border: 0; background: color-mix(in srgb, var(--k-deep) 45%, rgba(255, 255, 255, .05)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 70px rgba(0, 0, 0, .45); min-height: 62vh; }
.tx-scan.tx-kiosk .tx-ready::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
    background: linear-gradient(135deg, var(--k-c1), transparent 40%, transparent 60%, var(--k-c2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tx-scan.tx-kiosk .tx-ready .ic { filter: drop-shadow(0 8px 30px color-mix(in srgb, var(--iv-accent) 50%, transparent)); animation: k-breathe 6s ease-in-out infinite; }
.tx-ready .tx-st { margin: 0; font: 400 clamp(3rem, 13vh, 7.5rem)/1 Jost, sans-serif; letter-spacing: .02em; padding: 0 .06em .08em; }
.tx-scan.tx-kiosk[data-lettering="script"] .tx-ready .tx-st { font: 400 clamp(3.6rem, 15vh, 8.5rem)/1.05 "Pinyon Script", cursive; padding: .05em .16em .14em; }
.tx-ready .tx-do { margin: 0; font: 500 clamp(1.5rem, 4vh, 2.3rem)/1.15 Jost, sans-serif; color: var(--iv-ink); }
.tx-scan.tx-kiosk .tx-result.ok { background: radial-gradient(circle at 50% 35%, #2BC46E, #0F6B36); }
.tx-scan.tx-kiosk .tx-result .tt { font-family: Jost, sans-serif; font-weight: 500; }

/* Nov 12 (Michael: "Big fonts a bit thin"): the station name and the party's name in the bar went from Jost 200 and 300 to 400.
   Nov 12 (Michael: "Could the print station have a better screen too. In line with all others"): the print station in
   the party's look, like the door and bar screens: a big status card, counts, glass buttons, what printed here with
   Reprint, and its sheets (settings with paper tiles, Print With No Dialog) */
.tx-station.tx-kiosk main { max-width: 860px; padding: 18px 16px 40px; gap: 16px; }
.tx-station.tx-kiosk .ps-hero { min-height: 44vh; gap: 12px; transition: box-shadow .3s; }
.tx-station.tx-kiosk .ps-hero .tx-do { max-width: 36rem; }
.ps-state { display: inline-flex; align-items: center; justify-content: center; gap: 12px; }
.ps-sub { margin: 0; max-width: 36rem; font-size: clamp(1rem, 2.2vh, 1.2rem); line-height: 1.45; color: color-mix(in srgb, var(--iv-ink) 72%, transparent); }
.ps-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #2BC46E; box-shadow: 0 0 0 0 rgba(43, 196, 110, .6); animation: tx-pulse 1.6s infinite; }
.ps-hero[data-state="paused"] .ps-dot { background: #F0B23A; animation: none; }
.ps-hero[data-state="off"] .ps-dot, .ps-hero[data-state="old"] .ps-dot { background: #E5534A; animation: none; }
.ps-hero[data-state="printing"] { box-shadow: 0 0 0 2px var(--k-c1), 0 0 60px color-mix(in srgb, var(--k-c1) 45%, transparent), 0 24px 70px rgba(0, 0, 0, .45); }
.tx-station.tx-kiosk .ps-hero[data-state="printing"] .ic { animation: ps-print .9s ease-in-out infinite; }
@keyframes ps-print { 50% { transform: translateY(-8px) scale(1.05); } }
.ps-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ps-chip, .ps-log { border-radius: 18px; background: color-mix(in srgb, var(--k-deep) 55%, rgba(255, 255, 255, .06)); border: 1px solid color-mix(in srgb, var(--iv-line) 50%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ps-chip { display: grid; gap: 2px; padding: 12px 14px; text-align: center; min-width: 0; }
.ps-chip b { font: 500 1.3rem/1.2 Jost, sans-serif; color: var(--iv-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-chip small { font-size: .8rem; letter-spacing: .04em; color: color-mix(in srgb, var(--iv-ink) 62%, transparent); }
.ps-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tx-station.tx-kiosk .btn { background: rgba(255, 255, 255, .07); border: 1px solid color-mix(in srgb, var(--iv-line) 60%, transparent); color: var(--iv-ink); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tx-station.tx-kiosk .btn:hover { border-color: var(--iv-accent); }
.tx-station.tx-kiosk .btn.go { background: linear-gradient(135deg, var(--k-c1), var(--k-c2)); border-color: transparent; color: #fff; box-shadow: 0 8px 22px color-mix(in srgb, var(--k-c1) 40%, transparent); }
.tx-station.tx-kiosk .btn.big { font: 500 1.08rem Jost, sans-serif; }
.ps-log { display: grid; gap: 6px; padding: 16px 18px; }
.ps-log h2 { margin: 0 0 4px; font: 500 1.15rem Jost, sans-serif; color: var(--iv-ink); }
.ps-rows { display: grid; }
.ps-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.ps-row + .ps-row { border-top: 1px solid color-mix(in srgb, var(--iv-line) 40%, transparent); }
.ps-time { flex: none; min-width: 4.6em; font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--iv-ink) 62%, transparent); }
.ps-what { flex: 1; min-width: 0; overflow-wrap: anywhere; color: var(--iv-ink); }
.tx-station.tx-kiosk .ps-row .btn { min-height: 44px; padding: 6px 14px; }
.ps-none { margin: 0; }
/* the sheets, in the party's colours */
.tx-station.tx-kiosk .tx-sheet .card { max-height: 92dvh; overflow: auto; color: var(--iv-ink); background: color-mix(in srgb, var(--k-deep) 94%, #fff 5%); border: 1px solid color-mix(in srgb, var(--iv-line) 55%, transparent); border-bottom: 0; box-shadow: 0 -20px 60px rgba(0, 0, 0, .5); }
.tx-station.tx-kiosk .tx-sheet h3 { font: 500 1.35rem Jost, sans-serif; }
/* Nov 13 (Michael: "the modals are on bottom of page instead of middle"): on a laptop, an iPad, anything wider than a
   phone, the sheets (print station, door, bar and desk screens) sit in the middle as a card; phones keep them along the bottom */
@media (min-width: 640px) {
    .tx-sheet { align-items: center; justify-items: center; padding: 24px; }
    .tx-sheet .card { border-radius: 22px; max-height: calc(100dvh - 48px); overflow: auto; padding-bottom: 20px; animation: tx-pop .18s ease-out; }
    .tx-station.tx-kiosk .tx-sheet .card { max-height: calc(100dvh - 48px); border-bottom: 1px solid color-mix(in srgb, var(--iv-line) 55%, transparent); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
}
.tx-station.tx-kiosk label.f, .tx-station.tx-kiosk .f > span { color: color-mix(in srgb, var(--iv-ink) 70%, transparent); }
.tx-station .f { display: grid; gap: 6px; }
.ps-papers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ps-paper { position: relative; cursor: pointer; }
.ps-paper input, .ps-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ps-paper span { display: grid; justify-items: center; gap: 2px; padding: 12px 8px; border-radius: 14px; text-align: center; border: 2px solid color-mix(in srgb, var(--iv-line) 50%, transparent); background: rgba(255, 255, 255, .05); transition: border-color .12s, background .12s; }
.ps-paper i { font-style: normal; font-size: 1.6rem; }
.ps-paper b { font-weight: 600; font-size: .95rem; color: var(--iv-ink); }
.ps-paper small { font-size: .78rem; color: color-mix(in srgb, var(--iv-ink) 62%, transparent); }
.ps-paper input:checked + span { border-color: var(--iv-accent); background: color-mix(in srgb, var(--iv-accent) 16%, transparent); }
.ps-paper input:focus-visible + span, .ps-switch input:focus-visible + .ps-sw { outline: 2px solid var(--iv-accent); outline-offset: 2px; }
.ps-switch { display: flex; align-items: flex-start; gap: 12px; position: relative; cursor: pointer; }
.ps-switch > span:last-child { display: grid; gap: 2px; }
.ps-switch b { color: var(--iv-ink); font-weight: 600; }
.ps-switch small { color: color-mix(in srgb, var(--iv-ink) 65%, transparent); line-height: 1.4; }
.ps-sw { position: relative; flex: none; width: 50px; height: 30px; margin-top: 2px; border-radius: 99px; background: rgba(255, 255, 255, .16); transition: background .15s; }
.ps-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .15s; }
.ps-switch input:checked + .ps-sw { background: #2BC46E; }
.ps-switch input:checked + .ps-sw::after { transform: translateX(20px); }
.ps-steps { margin: 0; padding-left: 1.4em; display: grid; gap: 14px; line-height: 1.45; color: color-mix(in srgb, var(--iv-ink) 80%, transparent); }
.ps-steps li::marker { color: var(--iv-accent); font-weight: 700; }
.ps-steps li > .btn { display: block; margin-top: 8px; }
/* Nov 13: the Test Guest's code, and what prints (white paper on gray) */
.ps-test { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.ps-tq { display: grid; justify-items: center; gap: 8px; }
.ps-tq b { color: var(--iv-ink); font-weight: 600; }
.ps-qr { padding: 10px; border-radius: 14px; background: #fff; line-height: 0; }
.ps-qr canvas, .ps-qr img { display: block; width: 200px !important; height: 200px !important; }
.ps-tw { display: grid; gap: 8px; }
.ps-tw p { margin: 0; line-height: 1.45; }
.ps-warn { margin: 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, #F0B23A 18%, transparent); color: #F7D58A; font-weight: 600; }
.ps-pv { display: grid; gap: 6px; }
.ps-pv > span { font-weight: 600; color: var(--iv-ink); }
.ps-pv small { font-weight: 500; color: color-mix(in srgb, var(--iv-ink) 62%, transparent); }
.ps-prev { display: block; width: 100%; height: min(52vh, 460px); border: 0; border-radius: 14px; background: #3A3D46; }
@media (max-width: 560px) {
    .ps-test { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
    .ps-qr canvas, .ps-qr img { width: 180px !important; height: 180px !important; }
}
.ps-steps li > .ps-code { margin-top: 8px; }
.ps-steps b { color: var(--iv-ink); }
.ps-code { display: block; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .35); color: var(--gold); font: 13px/1.45 ui-monospace, Menlo, Consolas, monospace; word-break: break-all; -webkit-user-select: all; user-select: all; }
/* check-in mode, in the same glass */
.tx-station.tx-kiosk .ci { position: relative; border: 0; background: color-mix(in srgb, var(--k-deep) 45%, rgba(255, 255, 255, .05)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 70px rgba(0, 0, 0, .45); color: var(--iv-ink); }
.tx-station.tx-kiosk .ci.ok { background: radial-gradient(circle at 50% 30%, #2BC46E, #127A3E); color: #fff; }
.tx-station.tx-kiosk .ci.warn { background: radial-gradient(circle at 50% 30%, #F0B23A, #A86E0E); color: #1B1405; }
.tx-station.tx-kiosk .ci.bad { background: radial-gradient(circle at 50% 30%, #E5534A, #8E1E18); color: #fff; }
.tx-station.tx-kiosk .ci h1 { font-family: Jost, sans-serif; font-weight: 500; }
.tx-station.ci-mode:not(.ci-settings) main > :not(.ci):not(.ci-gear) { display: none; }
@media (max-width: 560px) {
    .tx-station.tx-kiosk main { padding: 12px 12px 32px; gap: 12px; }
    .tx-station.tx-kiosk .ps-hero { min-height: 0; padding: 22px 14px; }
    .tx-station.tx-kiosk .ps-hero .ic { font-size: 3.6rem; }
    .tx-station.tx-kiosk .tx-ready .tx-st { font-size: clamp(2.4rem, 12vw, 3.6rem); }
    .tx-station.tx-kiosk[data-lettering="script"] .tx-ready .tx-st { font-size: clamp(2.8rem, 14vw, 4.2rem); }
    .tx-station.tx-kiosk .tx-ready .tx-do { font-size: 1.45rem; }
    .ps-acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ps-acts #pause { grid-column: 1 / -1; }
    .ps-chips { gap: 8px; }
    .ps-chip { padding: 10px 6px; }
    .ps-chip b { font-size: 1.05rem; }
    .ps-papers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ps-row { flex-wrap: wrap; gap: 4px 12px; }
    .ps-what { flex-basis: calc(100% - 6em); }
}
/* Nov 15: Ask On Screen at a check-in print station: Print Your Tickets? Yes or No Thanks */
.tx-station .ci .ci-q { margin-top: 6px; font-size: clamp(1.5rem, 3.6vh, 2.1rem); font-weight: 600; opacity: 1; }
.tx-station .ci-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 4px; }
.tx-station .ci-btns button { min-height: 72px; padding: 14px 28px; border-radius: 18px; font: inherit; font-size: clamp(1.15rem, 2.8vh, 1.5rem); font-weight: 600; cursor: pointer; }
.tx-station .ci-yes { background: #fff; color: #127A3E; border: 0; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); }
.tx-station .ci-no { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .8); }
.tx-station .ci-btns button:disabled { opacity: .6; cursor: default; }
.ps-steps .ps-pm { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--iv-line) 60%, transparent); background: rgba(255, 255, 255, .06); color: var(--iv-ink); font: inherit; }

/* Nov 15: the on-screen keyboard (html.tx-kb, set by TX's fitKeyboard): the page keeps to the part of the screen still showing
   instead of sliding up under the keyboard, and everything on it shrinks to fit there (Michael: "I still wanted the Bar
   container in viewportal. Stop taking things away"): nothing is hidden, sizes follow the visible height (--vvh) */
html.tx-kb, html.tx-kb body { overflow: hidden; }
html.tx-kb body.tx-kiosk { position: fixed; left: 0; right: 0; top: var(--vvt, 0px); bottom: auto; height: var(--vvh, 100%); min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
/* the kiosk: the screen's content from the top, the step dots kept at the foot of what's showing */
html.tx-kb .tx-k { --kbm: clamp(30px, calc(var(--vvh, 100vh) * .085), 56px); place-items: start center; padding-top: calc(var(--kbm) + 18px); padding-bottom: 64px; }
html.tx-kb .tx-k .scr { gap: clamp(8px, calc(var(--vvh, 100vh) * .025), 14px); }
html.tx-kb .tx-k .k-big, html.tx-kb .tx-k .k-ic { width: clamp(40px, calc(var(--vvh, 100vh) * .12), 64px); }
html.tx-kb .k-progress { position: absolute; bottom: 10px; }
/* Nov 15 (Michael: "On find my name the type name similarly the card container shouldn't disappear above right?"): the top
   snowflake, Start Over and the staff corner were fixed to the top of the whole screen, so when the iPad slid the page up for
   the keyboard they went off the top, and the snowflake sat on the heading. They follow the part that's showing now, the
   snowflake shrinks with it, and the heading starts under it. Find My Name keeps its heading, box, name cards, Not On The
   List? and the step dots in view: the name cards shrink and their list scrolls inside what's left. */
html.tx-kb .k-mark { top: calc(var(--vvt, 0px) + 8px); }
html.tx-kb .k-crest.small { width: clamp(30px, calc(var(--vvh, 100vh) * .085), 56px); }
html.tx-kb .tx-k .back { top: calc(var(--vvt, 0px) + 8px); min-height: 44px; padding: 6px 16px; font-size: 1rem; }
html.tx-kb .k-staff { top: var(--vvt, 0px); }
html.tx-kb .tx-k h1 { font-size: clamp(1.6rem, calc(var(--vvh, 100vh) * .085), 4.2rem); }
html.tx-kb .tx-k h2 { font-size: clamp(1.4rem, calc(var(--vvh, 100vh) * .075), 3rem); }
html.tx-kb .tx-k .lead { font-size: clamp(1rem, calc(var(--vvh, 100vh) * .045), 1.75rem); }
html.tx-kb .tx.tx-kiosk .tx-k input { min-height: clamp(46px, calc(var(--vvh, 100vh) * .12), 66px); }
html.tx-kb .tx-k .names { gap: 8px; max-height: max(64px, calc(var(--vvh, 100vh) - var(--kmk, var(--kbm)) - 340px)); }
html.tx-kb .tx-k .name { min-height: clamp(54px, calc(var(--vvh, 100vh) * .13), 78px); padding: 6px 20px; font-size: clamp(1.15rem, calc(var(--vvh, 100vh) * .045), 1.45rem); }
html.tx-kb .tx-k .linkish { min-height: 40px; }
/* the bar and door scanner: the station card, the code box, the camera switch and the counts, all smaller */
html.tx-kb .tx-scan main { gap: 8px; padding-top: 8px; padding-bottom: 8px; }
html.tx-kb .tx-scan .tx-ready { min-height: 0; gap: calc(var(--vvh, 100vh) * .008); padding: calc(var(--vvh, 100vh) * .02) 18px calc(var(--vvh, 100vh) * .035); }
html.tx-kb .tx-scan .tx-ready .ic { font-size: clamp(1.4rem, calc(var(--vvh, 100vh) * .08), 4rem); }
html.tx-kb .tx-scan .tx-ready .tx-st { font-size: clamp(1.8rem, calc(var(--vvh, 100vh) * .11), 5rem); }
html.tx-kb .tx-scan[data-lettering="script"] .tx-ready .tx-st { font-size: clamp(2rem, calc(var(--vvh, 100vh) * .12), 5.5rem); }
html.tx-kb .tx-scan .tx-ready .tx-do, html.tx-kb .tx-scan .tx-ready h2 { font-size: clamp(1rem, calc(var(--vvh, 100vh) * .045), 1.6rem); }
html.tx-kb .tx-scan .tx-ready p { font-size: clamp(.8rem, calc(var(--vvh, 100vh) * .032), 1.2rem); }
html.tx-kb .tx-scan .tx-ready .pulse { width: 12px; height: 12px; }
html.tx-kb .tx-scan .tx-cam { max-height: calc(var(--vvh, 100vh) * .42); }
html.tx-kb .tx-scan .tx-stats { position: sticky; padding-top: 8px; padding-bottom: 8px; }

/* Nov 15: the scanner's camera / handheld switch, under the code box (shown on a locked bar screen too) */
.tx-scan .tx-camtog { display: block; margin: 14px auto 0; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--iv-line, #3A4152); background: rgba(255, 255, 255, .06); color: var(--iv-ink, #EEF1F6); font: inherit; font-size: 1rem; cursor: pointer; }
.tx-scan .tx-camtog:hover { background: rgba(255, 255, 255, .12); }
html.tx-kb .tx-scan .tx-camtog { margin-top: 6px; min-height: 40px; padding: 6px 18px; font-size: .9rem; }

/* Nov 15 (Michael: "Verbiage could be better in successful drink ticket. Remember you have whole screen should be easy to
   see from far away"): the scanner's result fills the screen with type sized to it: a big icon, Serve One Drink, the name,
   and how many they have left */
.tx-scan .tx-result .in { max-width: min(1200px, 94vw); gap: clamp(8px, 1.6vh, 18px); }
.tx-scan .tx-result .ic { font-size: clamp(4.5rem, 20vh, 13rem); }
.tx-scan .tx-result .tt { font-size: clamp(2.6rem, min(12vh, 9vw), 8rem); font-weight: 700; line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.tx-scan .tx-result .nm { font-size: clamp(2rem, min(8vh, 6.5vw), 5.2rem); font-weight: 600; line-height: 1.05; }
.tx-scan .tx-result .sb { font-size: clamp(1.4rem, min(4.6vh, 4vw), 2.8rem); font-weight: 500; opacity: .95; }
.tx-scan .tx-result .acts { margin-top: clamp(10px, 2vh, 24px); }
.tx-scan .tx-result .btn.big { min-height: clamp(56px, 8vh, 84px); font-size: clamp(1.1rem, 2.6vh, 1.6rem); padding: 0 clamp(20px, 3vw, 40px); }
.tx-scan.tx-kiosk .tx-result .tt { font-weight: 600; }
/* Nov 18 (Michael: "Guest name at top of screen on large letters ... first name being most important"; "A guest name bubble above
   their name"; "The white in green is a bit hard to see maybe it needs shadows in font"): the name leads under a Guest Name tag,
   the first name biggest; white type gets a soft dark shadow and the green is a little deeper, so it reads from across the bar */
.tx-result.ok, .tx-result.bad { text-shadow: 0 2px 4px rgba(0, 0, 0, .38), 0 0 22px rgba(0, 0, 0, .28); }
.tx-result.ok, .tx-scan.tx-kiosk .tx-result.ok { background: radial-gradient(circle at 50% 35%, #1FA55A, #0A5A2D); }
.tx-result .btn, .tx-result .who-tag { text-shadow: none; }
.tx-result .who { display: grid; justify-items: center; gap: clamp(4px, 1vh, 10px); margin-bottom: clamp(2px, 1vh, 12px); }
.tx-result .who-tag { display: inline-block; padding: .28em 1em; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 2px solid rgba(255, 255, 255, .6); font-size: 1rem; font-weight: 600; letter-spacing: .03em; line-height: 1.2; }
.tx-result.warn .who-tag { background: rgba(255, 255, 255, .42); border-color: rgba(27, 20, 5, .5); }
.tx-result .nm1 { font-size: clamp(2.8rem, 11vw, 5rem); font-weight: 800; line-height: .95; letter-spacing: -.01em; overflow-wrap: anywhere; }
.tx-result .nm2 { font-size: clamp(1.4rem, 5vw, 2.2rem); font-weight: 600; line-height: 1.05; opacity: .96; overflow-wrap: anywhere; }
.tx-scan .tx-result .who-tag { font-size: clamp(1rem, min(2.6vh, 2.4vw), 1.5rem); }
.tx-scan .tx-result .nm1 { font-size: clamp(3.2rem, min(17vh, 14vw), 11rem); }
.tx-scan .tx-result .nm2 { font-size: clamp(1.6rem, min(6.5vh, 6vw), 4.2rem); }
.tx-scan .tx-result.has-who .ic { font-size: clamp(2.6rem, 10vh, 7rem); }
.tx-scan .tx-result.has-who .tt { font-size: clamp(2.2rem, min(9vh, 8vw), 6rem); }
.tx-result .hold-bar { position: fixed; left: 0; right: 0; bottom: 0; height: 7px; background: rgba(255, 255, 255, .6); transform-origin: left; animation: tx-hold linear forwards; }
.tx-result.warn .hold-bar { background: rgba(27, 20, 5, .45); }
@keyframes tx-hold { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .tx-result .hold-bar { display: none; } }

/* Nov 15 (Michael: "On desk check in the find a guest should bring up keyboard. Even with scanner connected same"): the device
   pages' own keyboard (TX's osk), for an iPad whose scanner keeps iOS's keyboard away. Big glass keys in the party's look,
   docked along the bottom; the page fits above it (html.tx-kb with --vvh, like iOS's keyboard). */
.tx-osk { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px max(10px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--k-deep, #10141f) 90%, #000); border-top: 1px solid color-mix(in srgb, var(--iv-line, #3A4152) 60%, transparent); box-shadow: 0 -18px 50px rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); touch-action: none; -webkit-user-select: none; user-select: none; animation: osk-up .18s ease-out; }
@keyframes osk-up { from { transform: translateY(40px); opacity: 0; } }
.osk-in { display: grid; gap: clamp(6px, 1vh, 10px); max-width: 1100px; margin: 0 auto; }
.osk-r { display: flex; justify-content: center; gap: clamp(5px, .8vw, 9px); }
.osk-k { flex: 1 1 0; min-width: 0; max-width: 104px; height: clamp(48px, 7.4vh, 72px); border-radius: 12px; border: 1px solid color-mix(in srgb, var(--iv-line, #3A4152) 60%, transparent); background: rgba(255, 255, 255, .11); color: var(--iv-ink, #EEF1F6); font: 500 clamp(1.25rem, 3vh, 1.7rem)/1 Jost, system-ui, sans-serif; cursor: pointer; padding: 0; transition: background .08s, transform .08s; }
.osk-k.down { background: rgba(255, 255, 255, .28); transform: scale(.96); }
.osk-wide { flex-grow: 1.5; max-width: 150px; font-size: clamp(1.05rem, 2.4vh, 1.35rem); background: rgba(255, 255, 255, .06); }
.osk-k.on { background: var(--iv-ink, #EEF1F6); color: #111; }
.osk-space { flex-grow: 5; max-width: 520px; font-size: clamp(1rem, 2.2vh, 1.2rem); color: color-mix(in srgb, var(--iv-ink, #EEF1F6) 70%, transparent); }
.osk-go { flex-grow: 1.8; max-width: 170px; border-color: transparent; background: linear-gradient(135deg, var(--k-c1, #3b82f6), var(--k-c2, #06b6d4)); color: #fff; font-weight: 600; font-size: clamp(1.1rem, 2.6vh, 1.45rem); }
.osk-hide { flex-grow: .9; max-width: 90px; background: rgba(255, 255, 255, .04); }
@media (max-width: 560px) { .osk-k { height: 46px; border-radius: 9px; font-size: 1.15rem; } .osk-r { gap: 4px; } .osk-wide { font-size: .95rem; } }

/* Nov 15 (Michael: "On desk check in the find a guest should bring up keyboard ... Walk-in isn't working properly. It could be
   further down page as well like the other beautiful self serve kiosk. Go over all these pages again"): the desk in the middle
   of the screen like the kiosk, in big type: a heading on each pane, big boxes, big name cards and buttons */
.tx-scan.tx-desk main { max-width: 920px; min-height: calc(100dvh - 190px); align-content: center; padding-top: clamp(16px, 3vh, 36px); padding-bottom: 110px; }
.tx-desk .tx-tabs { gap: 12px; }
.tx-desk .tx-tabs button { min-height: clamp(58px, 8vh, 78px); font-size: clamp(1.1rem, 2.5vh, 1.45rem); border-radius: 18px; }
.d-pane { display: grid; gap: clamp(12px, 2.2vh, 22px); margin-top: clamp(16px, 3.4vh, 34px); }
.d-pane[hidden] { display: none; }
.d-h { margin: 0; text-align: center; font: 400 clamp(2rem, 5.6vh, 3.4rem)/1.12 Jost, sans-serif; color: var(--iv-ink, var(--ink)); text-wrap: balance; }
.d-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tx-desk .d-pane input:not([type=checkbox]):not([type=radio]) { min-height: clamp(60px, 8.6vh, 78px); padding: 12px 22px; border-radius: 18px; font-size: clamp(1.2rem, 2.9vh, 1.65rem); }
.tx-desk .d-pane label.f { gap: 8px; font-size: clamp(1rem, 2.3vh, 1.25rem); color: color-mix(in srgb, var(--iv-ink, var(--ink)) 78%, transparent); }
.d-tip { margin: 6px 0 0; text-align: center; font-size: clamp(1.05rem, 2.5vh, 1.35rem); }
.d-link { padding: 0; border: 0; background: none; color: var(--iv-accent, var(--gold)); font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.tx-desk .tx-list { gap: 14px; }
.tx-desk .tx-party { padding: clamp(16px, 2.4vh, 24px) clamp(18px, 2.4vw, 28px); border-radius: 22px; gap: 10px; }
.tx-desk .tx-party h3 { font-size: clamp(1.35rem, 3.2vh, 1.9rem); font-weight: 500; }
.tx-desk .tx-party .chip { font-size: clamp(.85rem, 1.8vh, 1rem); padding: 3px 10px; }
.tx-desk .tx-person { min-height: clamp(52px, 7vh, 64px); gap: 16px; font-size: clamp(1.15rem, 2.7vh, 1.5rem); }
.tx-desk .tx-person input { width: 30px; height: 30px; }
.tx-desk .tx-person .in { font-size: clamp(1rem, 2.2vh, 1.2rem); }
.tx-desk .tx-party .tx-acts { gap: 12px; margin-top: 4px; }
.tx-desk .tx-party .tx-acts .btn { min-height: clamp(54px, 7.6vh, 68px); padding: 10px 24px; border-radius: 16px; font-size: clamp(1.05rem, 2.4vh, 1.35rem); }
.d-diets { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.tx-desk .d-diets label.f { display: flex; align-items: center; gap: 12px; font-size: clamp(1.1rem, 2.6vh, 1.4rem); color: var(--iv-ink, var(--ink)) !important; }
.tx-desk .d-diets input { width: 28px !important; height: 28px !important; }
.d-step { justify-content: center; gap: 16px; }
.d-step span { font-size: clamp(1.1rem, 2.6vh, 1.4rem); color: color-mix(in srgb, var(--iv-ink, var(--ink)) 80%, transparent); }
.tx-desk .d-step button { width: clamp(56px, 7.6vh, 70px); height: clamp(56px, 7.6vh, 70px); border-radius: 18px; font-size: 1.8rem; background: rgba(255, 255, 255, .08); border-color: color-mix(in srgb, var(--iv-line, var(--line)) 70%, transparent); }
.tx-desk .d-step b { min-width: 2ch; font-size: clamp(1.6rem, 4vh, 2.2rem); }
.tx-desk .d-pane .btn.big { min-height: clamp(64px, 9vh, 84px); font-size: clamp(1.2rem, 2.8vh, 1.55rem); border-radius: 20px; }
.tx-desk .tx-sheet h3 { font-size: clamp(1.35rem, 3vh, 1.8rem); }
.tx-desk .tx-sheet .tx-acts .btn { min-height: 60px; font-size: 1.15rem; padding: 10px 22px; }
/* with a keyboard up: from the top, everything sized to what's showing (nothing hidden) */
html.tx-kb .tx-scan.tx-desk main { min-height: 0; align-content: start; padding-top: 8px; }
html.tx-kb .tx-desk .tx-tabs button { min-height: clamp(42px, calc(var(--vvh, 100vh) * .1), 64px); }
html.tx-kb .d-pane { margin-top: 10px; gap: 10px; }
html.tx-kb .d-h { font-size: clamp(1.3rem, calc(var(--vvh, 100vh) * .07), 2.6rem); }
html.tx-kb .tx-desk .d-pane input:not([type=checkbox]):not([type=radio]) { min-height: clamp(46px, calc(var(--vvh, 100vh) * .12), 70px); }
html.tx-kb .tx-desk .tx-party .tx-acts .btn { min-height: 48px; }
@media (max-width: 560px) { .d-two { grid-template-columns: 1fr; } .tx-scan.tx-desk main { min-height: 0; align-content: start; } }
/* the door's camera never pushes its switch under the counts */
.tx-scan .tx-cam { max-height: calc(100dvh - 330px); width: 100%; margin: 0 auto; }

/* Nov 15 (Michael: "bigger font in the print station fill screen? All kiosk font should be big enough to read. You got all
   this space to make it beautiful"): the print station's check-in fills the screen in big type (the welcome, Scan Your Event
   QR Code, the answers and buttons all sized to the screen), its own screen reads bigger, and the kiosk's boxes, name cards
   and buttons grow with the screen too */
.tx-station.ci-mode main { max-width: min(1500px, 96vw); padding-top: 14px; padding-bottom: 16px; gap: 12px; }
.tx-station.ci-mode .ci { min-height: calc(100dvh - 150px); padding: clamp(28px, 5vh, 64px) clamp(22px, 4vw, 70px); border-radius: 30px; }
.tx-station.ci-mode .ci-in { max-width: min(1240px, 92vw); gap: clamp(12px, 2.6vh, 28px); }
.tx-station.ci-mode .ci-ic { font-size: clamp(5rem, 17vh, 11rem); }
.tx-station .ci-hi { margin: 0; font: 400 clamp(2rem, 6vh, 3.8rem)/1.1 Jost, sans-serif !important; opacity: .92; }
.tx-station.tx-kiosk[data-lettering="script"] .ci-hi { font: 400 clamp(2.8rem, 8.5vh, 5.2rem)/1.15 "Pinyon Script", cursive !important; padding: 0 .15em .08em; }
.tx-station.ci-mode .ci h1 { font-size: clamp(2.6rem, min(9.5vh, 6.6vw), 6.4rem); line-height: 1.05; letter-spacing: .005em; text-wrap: balance; }
.tx-station.tx-kiosk .ci:not(.ok):not(.warn):not(.bad) h1 { background-image: linear-gradient(170deg, var(--t1), var(--t2) 30%, var(--t3) 52%, var(--t4) 76%, var(--t5)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
.tx-station.ci-mode .ci p { font-size: clamp(1.4rem, min(4vh, 2.9vw), 2.5rem); line-height: 1.32; max-width: 30em; text-wrap: balance; }
.tx-station.ci-mode .ci .ci-q { font-size: clamp(2rem, min(5.8vh, 4.2vw), 3.6rem); margin-top: 4px; }
.tx-station .ci .ci-list { font-weight: 600; opacity: .95; }
.tx-station.ci-mode .ci-btns { gap: clamp(14px, 2vw, 26px); }
.tx-station.ci-mode .ci-btns button { min-height: clamp(78px, 12vh, 116px); padding: 16px clamp(26px, 3vw, 44px); border-radius: 24px; font-size: clamp(1.35rem, 3.6vh, 2.1rem); }
.tx-station.ci-mode .ci-dot { width: 22px; height: 22px; }
.tx-station.ci-mode .ci-gear { min-height: 48px; font-size: 1.05rem; }
/* the station's own screen, a size up */
.tx-station.tx-kiosk .ps-chip { padding: 14px 16px; }
.tx-station.tx-kiosk .ps-chip b { font-size: clamp(1.3rem, 3vh, 1.75rem); }
.tx-station.tx-kiosk .ps-chip small { font-size: clamp(.82rem, 1.8vh, 1rem); }
.tx-station.tx-kiosk .ps-sub { font-size: clamp(1.05rem, 2.5vh, 1.4rem); }
.tx-station.tx-kiosk .ps-acts .btn { min-height: clamp(56px, 7.4vh, 70px); font-size: clamp(1rem, 2.2vh, 1.2rem); }
.tx-station.tx-kiosk .ps-log h2 { font-size: clamp(1.15rem, 2.6vh, 1.45rem); }
.tx-station.tx-kiosk .ps-row { font-size: clamp(1rem, 2.2vh, 1.2rem); }
/* the kiosk (and the walk-up page): boxes, name cards, choices and buttons grow with the screen */
.tx.tx-kiosk .tx-k input { min-height: clamp(66px, 9vh, 86px); font-size: clamp(1.35rem, 3vh, 1.8rem); padding: 12px 22px; }
.tx-k .form { width: min(760px, 100%); gap: clamp(14px, 2vh, 20px); }
.tx-k .names { width: min(820px, 100%); }
.tx-k .name { min-height: clamp(78px, 10.5vh, 100px); font-size: clamp(1.45rem, 3.3vh, 2rem); padding: 12px 28px; }
.tx-k .name small { font-size: clamp(1.1rem, 2.4vh, 1.4rem); }
.tx-k .who { width: min(680px, 100%); }
.tx-k .who label { min-height: clamp(68px, 9vh, 88px); font-size: clamp(1.35rem, 3vh, 1.8rem); }
.tx-k .who input { width: 34px; height: 34px; }
.tx-k .btn.big { min-height: clamp(70px, 9.6vh, 92px); font-size: clamp(1.2rem, 3vh, 1.75rem); padding: 0 34px; }
.tx-k .tx-step button { width: clamp(56px, 7.6vh, 72px); height: clamp(56px, 7.6vh, 72px); font-size: 1.9rem; border-radius: 18px; }
.tx-k .tx-step b { font-size: clamp(1.6rem, 4vh, 2.3rem); }
.tx-k .linkish { font-size: clamp(1.15rem, 2.7vh, 1.55rem); }
/* with the page's own keyboard up on the desk: the top rows tighten and the counts stay at the end, never over a name card */
html.tx-kb .tx-scan .tx-top { padding-top: 6px; padding-bottom: 6px; }
html.tx-kb .tx-scan .tx-modes { padding-top: 6px; padding-bottom: 6px; }
html.tx-kb .tx-scan .tx-modes button { min-height: 40px; padding: 4px 14px; }
html.tx-kb .tx-scan.tx-desk .tx-stats { position: static; }
html.tx-kb .tx-desk .tx-party { padding: 12px 18px; gap: 6px; }
html.tx-kb .tx-desk .tx-person { min-height: 44px; }
/* the kiosk's name cards line up with its box */
.tx-k .names { width: min(760px, 100%); }
.osk-k { height: clamp(46px, 6.6vh, 68px); }
html.tx-kb .tx-desk .d-pane label.f { font-size: .95rem; gap: 4px; }
html.tx-kb .tx-desk .d-step button { width: 46px; height: 46px; font-size: 1.4rem; }
html.tx-kb .tx-desk .d-pane .btn.big { min-height: clamp(48px, calc(var(--vvh, 100vh) * .11), 70px); }
/* with a keyboard up, the kiosk's step dots follow the screen's content instead of floating over its last button */
html.tx-kb .k-progress { position: static; margin-top: 4px; }

/* Nov 15 (Offline Mode): the pill at the top that says this device is working from its own copy, and what's waiting to send */
.tx-off { position: fixed; top: max(8px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 24px); padding: 8px 18px; border-radius: 999px; font: 500 clamp(.9rem, 1.9vh, 1.1rem)/1.2 Jost, system-ui, sans-serif; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); pointer-events: none; white-space: nowrap; animation: tx-pop .2s ease-out; }
.tx-off b { font-weight: 700; }
.tx-off span { overflow: hidden; text-overflow: ellipsis; opacity: .95; }
.tx-off.down { background: linear-gradient(135deg, #B4471F, #7E2412); }
.tx-off.wait { background: linear-gradient(135deg, #8A6A12, #5E470A); }
.tx-off.back { background: linear-gradient(135deg, #1F9D55, #0F6B36); }
/* the print station's walk-up button (offline) and its form */
.tx-station .ci-walk { margin-top: 6px; min-height: clamp(64px, 9vh, 90px); padding: 12px clamp(24px, 3vw, 40px); border-radius: 22px; border: 2px solid color-mix(in srgb, var(--iv-accent, #F2D27A) 70%, transparent); background: rgba(255, 255, 255, .08); color: var(--iv-ink, #fff); font: 600 clamp(1.2rem, 3vh, 1.7rem) Jost, sans-serif; cursor: pointer; }
.w-form { display: grid; gap: 14px; }
.w-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.w-form input:not([type=checkbox]) { min-height: 60px; font-size: 1.2rem; border-radius: 16px; }
.w-step { justify-content: center; }
.w-step span { font-size: 1.1rem; }
.w-step button { width: 56px; height: 56px; font-size: 1.6rem; border-radius: 16px; }
.w-step b { font-size: 1.6rem; }
@media (max-width: 560px) { .w-two { grid-template-columns: 1fr; } }

/* Nov 15 (Michael: "the scan button doesn't bring up camera allow or offer to use front camera instead of back"): a big Tap To
   Start The Camera in the camera box until this device has let the camera in, and the back / front switch beside the
   handheld switch */
.tx-camgo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; min-height: 72px; padding: 14px 30px; border-radius: 20px; border: 0; background: linear-gradient(135deg, var(--k-c1, #3b82f6), var(--k-c2, #06b6d4)); color: #fff; font: 600 clamp(1.15rem, 2.8vh, 1.5rem) Jost, sans-serif; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); cursor: pointer; white-space: nowrap; }
.tx-camrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.tx-camrow .tx-camtog { margin: 0; }
html.tx-kb .tx-camrow { margin-top: 6px; }
.tx-cam video.mirror { transform: scaleX(-1); }
.tx-k .cam.back video { transform: none; }
/* no double-tap zoom wait on an iPad: a tap on a button, choice or box answers at once */
.tx button, .tx a, .tx input, .tx label, .tx select, .tx [data-act], .tx [data-go], .tx .choice, .tx .name, .tx-osk { touch-action: manipulation; }

/* Nov 15 (Michael: "I could use both the camera or scanner at same time too ... Should be smart enough to know where the inputs
   coming from"): the scan screen is the station's card and the camera together, side by side on a wide screen, the card above
   the camera on a tall one; with no camera here, the card on its own (.solo) */
.sv { display: grid; gap: 14px; }
.sv-main { display: grid; gap: clamp(12px, 1.8vw, 22px); }
.tx-scan.tx-kiosk .sv:not(.solo) .tx-ready { min-height: 0; padding: clamp(18px, 3vh, 34px) 18px; gap: clamp(6px, 1.2vh, 12px); }
.sv:not(.solo) .tx-ready .ic { font-size: clamp(2.8rem, 9vh, 5.5rem); }
.sv:not(.solo) .tx-ready .tx-st { font-size: clamp(2.6rem, 9vh, 5.6rem); }
.tx-scan.tx-kiosk[data-lettering="script"] .sv:not(.solo) .tx-ready .tx-st { font-size: clamp(3rem, 10vh, 6.4rem); }
.sv:not(.solo) .tx-ready .tx-do { font-size: clamp(1.4rem, 3.6vh, 2.1rem); }
.sv-how { max-width: 22em; text-wrap: balance; }
.tx-scan .sv .tx-cam { margin: 0; }
.tx-manual input { min-height: clamp(52px, 7vh, 64px); font-size: clamp(1.05rem, 2.4vh, 1.3rem); }
.tx-manual .btn { min-height: clamp(52px, 7vh, 64px); min-width: 110px; font-size: clamp(1.05rem, 2.4vh, 1.3rem); }
@media (min-width: 820px) and (min-aspect-ratio: 5/4) {
    .tx-scan:not(.tx-desk) main { max-width: min(1400px, 96vw); }
    .sv:not(.solo) .sv-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: stretch; }
}
.tx-camgo[hidden] { display: none !important; }
/* Nov 15 (Michael's iPad photo: "Type your name lost the logo on top and wizard is steps are off"): with a keyboard up the step
   dots kept the full-screen centering shift, so they sat off the left edge; now they're centered under the content, the content
   doesn't spread down the screen, and the crest at the top stays a good size */
html.tx-kb .tx-k { align-content: start; }
html.tx-kb .k-progress { position: static; transform: none; justify-self: center; margin: clamp(8px, 2vh, 18px) auto 0; }
html.tx-kb .tx-k { --kbm: clamp(44px, calc(var(--vvh, 100vh) * .09), 64px); }
html.tx-kb .k-crest.small { width: clamp(44px, calc(var(--vvh, 100vh) * .09), 64px); }
/* the desk's tabs stay on top on its Scan tab too */
.tx-scan.tx-desk main > #v-desk { order: -1; }
.tx-scan.tx-desk #v-desk .d-pane[hidden] + .d-pane[hidden] { display: none; }
.sv:not(.solo) .tx-ready .ic { font-size: clamp(2.4rem, min(9vh, 12vw), 5.5rem); }
.sv:not(.solo) .tx-ready .tx-st { font-size: clamp(2.2rem, min(9vh, 11vw), 5.6rem); }
/* the card and the camera share what's left of the screen between the top rows and the code box: side by side on a wide
   screen, the card above the camera on a tall one (the camera takes the rest), smaller with a keyboard up */
.tx-scan { --svx: 300px; }
.tx-scan.tx-locked { --svx: 236px; }
.tx-scan.tx-desk { --svx: 392px; }
.sv:not(.solo) .sv-main { height: max(420px, calc(100dvh - var(--svx))); grid-template-rows: auto minmax(160px, 1fr); }
.tx-scan .sv:not(.solo) .tx-cam { aspect-ratio: auto; width: 100%; height: 100%; max-height: none; min-height: 0; }
.tx-scan.tx-kiosk .sv:not(.solo) .tx-ready { min-height: 0; }
@media (min-width: 820px) and (min-aspect-ratio: 5/4) {
    .sv:not(.solo) .sv-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-rows: minmax(0, 1fr); }
    .tx-scan.tx-kiosk .sv:not(.solo) .tx-ready { height: 100%; }
}
html.tx-kb .sv:not(.solo) .sv-main { height: max(220px, calc(var(--vvh, 100vh) * .6)); }
@media (max-width: 560px) {
    .tx-scan { --svx: 320px; } .tx-scan.tx-locked { --svx: 250px; } .tx-scan.tx-desk { --svx: 420px; }
    .tx-scan.tx-kiosk .sv:not(.solo) .tx-ready { padding: 14px 12px; gap: 4px; }
    .sv:not(.solo) .tx-ready .ic { font-size: 2.6rem; } .sv:not(.solo) .tx-ready .tx-st { font-size: 2.6rem; } .sv:not(.solo) .tx-ready .tx-do { font-size: 1.3rem; }
}

/* Nov 15 (Michael's phone screenshot: "I shouldn't have the QR code cut off on guest view"): the pass fits the phone. The ticket
   comes first, the party's name and date sit tighter, and the QR is sized to the screen's height (never past 260 px or 64% of
   the width), so the whole code shows above the bottom bar; the how-to sits under the ticket */
.tp { gap: 10px; }
/* (the Tip Jar's sheet also has a .tp-head, laid out in a row: the pass's own stays a centered stack) */
.tp > .tp-head { display: grid; gap: 1px; padding: 0; text-align: center; justify-items: center; }
.tp > .tp-head h2 { margin: 0; font-size: 1.12rem; line-height: 1.2; font-weight: 800; }
.tp > .tp-head p { margin: 0; font-size: .85rem; }
.tp-card { gap: 10px; padding: 12px 12px 14px; }
.tp-name { font-size: 1.2rem; }
.tp-band { padding: 9px 16px 8px; }
.tp-ic { width: 40px; height: 40px; border-radius: 12px; }
.tp-ic svg { width: 27px; height: 27px; }
.tp-bt .tp-ty { font-size: 1.15rem; }
.tp-bt small { font-size: .85rem; }
.tp-tk[class*="k-"]::before, .tp-tk[class*="k-"]::after { top: 47px; }
.tp-evt { font-size: 1.02rem; padding-top: 2px; }
.tp-evt small { font-size: .85rem; }
.tp-tk { gap: 6px; }
.tp-tk[class*="k-"] { padding-bottom: 12px; }
.tp-qr { padding: 10px; border-radius: 16px; }
.tp-qr canvas, .tp-qr img { width: var(--tpq, min(64vw, 260px)) !important; height: var(--tpq, min(64vw, 260px)) !important; }
.tp-usedmark { width: var(--tpq, min(64vw, 260px)); }
.tp-code { font-size: .9rem; }
.tp-show { font-size: .95rem; }
.tp-arrive { padding: 10px 12px; }
.tp-arrive b { font-size: 1.05rem; }
.tp-arrive span { font-size: .92rem; }

/* Nov 15 (Michael: "The check in desk still not working with buttons freezing and cursor not in correct spots"): the desk, door,
   bar and print station pages scroll like a normal page and are never pinned while a keyboard is up (pinning them made Safari
   draw the cursor in the wrong place and put taps off their buttons); with the page's own keyboard up, the page just gets room
   at the bottom to scroll the box above it */
html.tx-kb.k-scroll, html.tx-kb.k-scroll body { overflow: visible; }
html.tx-kb body.tx-scan.tx-kiosk { position: relative; top: auto; bottom: auto; height: auto; min-height: 100dvh; overflow: visible; }
/* with the page's own keyboard up (the iPad's stays down, so nothing slides) the page keeps to the part above it and scrolls
   inside that */
html.tx-oskon.k-scroll { overflow: hidden; }
html.tx-oskon body.tx-scan.tx-kiosk { position: fixed; left: 0; right: 0; top: 0; bottom: auto; height: var(--vvh, 100%); min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* Nov 15 (Michael's iPad photo, Safari with its bars showing: "In non full screen mode the scale field and stuff shouldn't get
   cutoff in landscape mode on any of the kiosk. You can make camera box smaller to make sure everything fits in view port no
   matter what. Check over all"): the door, bar and desk page is exactly as tall as what's showing (100dvh, which follows
   Safari's bars), a column of the top, the station buttons, the page and the counts. The scan view fills the page: the card and
   the camera share what's left above the code box, and the camera is what gives way (down to a small strip), so the code box
   and the counts are always in view. (Not the print station, which scrolls.) */
body.tx-scan.tx-kiosk:not(.tx-station) { display: flex; flex-direction: column; height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
body.tx-scan.tx-kiosk:not(.tx-station) > .tx-top, body.tx-scan.tx-kiosk:not(.tx-station) > .tx-modes { flex: none; position: relative; }
body.tx-scan.tx-kiosk:not(.tx-station) > .tx-stats { flex: none; position: static; }
body.tx-scan.tx-kiosk:not(.tx-station) > main { flex: 1 1 auto; min-height: 0; width: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 12px; padding-bottom: 12px; align-content: normal; }
body.tx-scan.tx-kiosk:not(.tx-station) > main > #v-desk { flex: none; margin: auto 0; }
body.tx-scan.tx-kiosk:not(.tx-station) > main > #v-scan:not([hidden]) ~ #v-desk, body.tx-scan.tx-kiosk:not(.tx-station).tx-desk > main > #v-desk:has(~ #v-scan:not([hidden])) { margin: 0; }
body.tx-scan.tx-kiosk:not(.tx-station) > main > #v-scan:not([hidden]) { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
body.tx-scan.tx-kiosk:not(.tx-station) #v-scan .sv-main { flex: 1 1 auto; min-height: 0; height: auto; grid-template-rows: auto minmax(90px, 1fr); }
body.tx-scan.tx-kiosk:not(.tx-station) #v-scan.solo .sv-main { grid-template-rows: minmax(0, 1fr); }
body.tx-scan.tx-kiosk:not(.tx-station) #v-scan .tx-ready { min-height: 0; height: auto; overflow: hidden; }
body.tx-scan.tx-kiosk:not(.tx-station) #v-scan.solo .tx-ready { height: 100%; }
body.tx-scan.tx-kiosk:not(.tx-station) #v-scan .tx-cam { height: 100%; min-height: 90px; max-height: none; aspect-ratio: auto; }
body.tx-scan.tx-kiosk:not(.tx-station) #v-scan .tx-manual { flex: none; }
@media (min-width: 820px) and (min-aspect-ratio: 5/4) {
    body.tx-scan.tx-kiosk:not(.tx-station) #v-scan:not(.solo) .sv-main { grid-template-rows: minmax(0, 1fr); }
    body.tx-scan.tx-kiosk:not(.tx-station) #v-scan:not(.solo) .tx-ready { height: 100%; }
}
/* the card's words shrink with a short screen, so nothing in it is cut */
body.tx-scan.tx-kiosk:not(.tx-station) #v-scan .tx-ready .ic { font-size: clamp(2rem, 8vh, 5.5rem); }
body.tx-scan.tx-kiosk:not(.tx-station) #v-scan .tx-ready .tx-st { font-size: clamp(2rem, min(9vh, 11vw), 5.6rem); }
body.tx-scan.tx-kiosk:not(.tx-station) #v-scan .tx-ready .tx-do { font-size: clamp(1.1rem, 3.4vh, 2.1rem); }
body.tx-scan.tx-kiosk:not(.tx-station) #v-scan .tx-ready p { font-size: clamp(.9rem, 2.3vh, 1.4rem); }
body.tx-scan.tx-kiosk:not(.tx-station) #v-scan.solo .tx-ready .ic { font-size: clamp(3rem, 14vh, 7rem); }
body.tx-scan.tx-kiosk:not(.tx-station) #v-scan.solo .tx-ready .tx-st { font-size: clamp(3rem, 13vh, 7.5rem); }
body.tx-scan.tx-kiosk:not(.tx-station).tx-desk > main { min-height: 0; padding-bottom: 12px; }

/* Nov 15 (Michael: "Need a clear icon in fields when typing too. Like who's checking in"): an × at the end of a box with
   something in it, on every device page */
.tx-clr { position: relative; display: block; min-width: 0; }
.tx-clr > input { width: 100%; }
.tx-clr.has > input { padding-right: 54px !important; } /* Nov 15: room for the × only once something's typed, so "First Name" isn't cut on a phone */
.tx-clr-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; display: none; place-items: center; background: rgba(255, 255, 255, .16); color: var(--iv-ink, #EEF1F6); font: 600 1.35rem/1 Jost, system-ui, sans-serif; cursor: pointer; padding: 0; }
.tx-clr.has > .tx-clr-x { display: grid; }
.tx-clr-x:active { background: rgba(255, 255, 255, .3); }
.tx-manual > .tx-clr { flex: 1; }
.tx-k .form > .tx-clr, .tx-k .two > .tx-clr { width: 100%; }

/* Nov 15 (Michael: "Start over button should stay same size and be within the gold frame. In type your name please make the logo
   snowflake much bigger. Where is rest of it"): the crest at the top of every kiosk screen past the welcome is much bigger, and
   drawn whole at once (it used to draw itself in again on each screen, so it looked unfinished); the page starts under it. Start
   Over keeps its size with a keyboard up, and it and the crest sit inside the gold frame's corner */
.tx-k { --kmk: clamp(84px, 14vh, 150px); }
.tx-k.has-mark { padding-top: calc(var(--kmk) + max(46px, env(safe-area-inset-top) + 36px)); }
.k-mark { top: max(28px, env(safe-area-inset-top) + 18px); }
.k-mark .k-crest.small { width: var(--kmk); }
.k-mark .k-crest.small::before { inset: -30%; }
.k-mark .k-crest .iv-lines > * { animation: none; stroke-dashoffset: 0; }
.k-mark .k-crest .iv-dots { animation: none; opacity: 1; }
.tx-k .back { left: max(32px, env(safe-area-inset-left) + 22px); top: max(32px, env(safe-area-inset-top) + 22px); }
html.tx-kb .tx-k { --kmk: clamp(56px, calc(var(--vvh, 100vh) * .15), 110px); }
html.tx-kb .tx-k.has-mark { padding-top: calc(var(--kmk) + 40px); }
html.tx-kb .k-mark { top: calc(var(--vvt, 0px) + 22px); }
html.tx-kb .k-crest.small { width: var(--kmk); }
html.tx-kb .tx-k .back { top: calc(var(--vvt, 0px) + 32px); min-height: 56px; padding: 10px 20px; font-size: 1.15rem; }

/* Nov 15 (Michael: "the walkin in check in kiosk has no scan ability link"): right under Walk-In's heading (so the
   keyboard never covers it), a guest who did RSVP can hop to scanning their ticket or finding their name; Find My Name
   offers the scan the same way. A countertop scanner already reads on every screen. */
.tx-k .k-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 4px; margin-top: -.6vh; }
.tx-k .k-alt span { color: color-mix(in srgb, var(--iv-ink) 82%, var(--iv-soft)); font-size: clamp(1.1rem, 2.6vh, 1.45rem); }
.tx-k .k-alt .linkish { padding: 0 10px; }
html.tx-kb .tx-k .k-alt { margin-top: -4px; }
html.tx-kb .tx-k .k-alt span { font-size: clamp(1rem, calc(var(--vvh, 100vh) * .04), 1.3rem); }
html.tx-kb .tx-k .k-alt .linkish { min-height: 36px; font-size: clamp(1rem, calc(var(--vvh, 100vh) * .04), 1.3rem); }

/* Nov 15: iPad Safari's own full-screen ✕ sits in the top left corner; Start Over steps right of it (TX's fsMark) */
html.tx-fs .tx-k .back { left: max(92px, env(safe-area-inset-left) + 82px); }

/* Nov 15: a print station offline and down to its last few spare walk-up tickets */
.tx-off.down.low { background: linear-gradient(135deg, #C8102E, #7A0718); animation: tx-off-low 1.6s ease-in-out infinite; }
@keyframes tx-off-low { 50% { box-shadow: 0 0 0 6px rgba(200, 16, 46, .28), 0 10px 30px rgba(0, 0, 0, .35); } }
@media (prefers-reduced-motion: reduce) { .tx-off.down.low { animation: none; } }

/* Nov 15: the don't-drink question's note under it */
.tx-k .lead.k-nd { font-size: clamp(1.05rem, 2.4vh, 1.35rem); margin-top: -1.4vh; opacity: .85; }
html.tx-kb .tx-k .lead.k-nd { margin-top: -6px; }
.tx-person .chip.nd { margin-left: 6px; white-space: nowrap; }

/* Nov 15: the print station's check-in screen shows the party's crest (drawn in the look's foil) above Welcome */
.ci .ci-crest { width: clamp(90px, 17vh, 170px); line-height: 0; margin: 0 auto 4px; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--iv-accent) 35%, transparent)); }
.ci .ci-crest svg, .ci .ci-crest img { width: 100%; height: auto; display: block; }
.ci .ci-crest .iv-crest-svg { overflow: visible; }

/* Nov 15 (Michael's iPad photo, the walk-up page in landscape: "Check Me In" ran off the bottom): the walk-up page's welcome and
   its form sit side by side on a wide screen, everything sized by the screen's height, and nothing scrolls */
.tx-walkup .wu-crest { width: clamp(56px, 10vh, 84px); }
.tx-walkup .wu-title { font-size: clamp(2.2rem, min(11vw, 8vh), 3.4rem); }
.tx-walkup .wu, .tx-walkup .wu-head, .tx-walkup .wu-form { display: grid; gap: clamp(10px, 2vh, 18px); justify-items: center; }
.tx-walkup .wu-form { width: 100%; }
.tx-walkup .wu-form .form { width: min(620px, 100%); }
.tx-walkup .wu-alt { margin-top: 0; }
.tx-walkup .wu-scan .cam { width: min(460px, 86vw, 46vh); }
@media (orientation: landscape) and (min-width: 820px) {
    .tx-walkup .tx-k { place-items: center; }
    .tx-walkup .scr.wu { width: min(1180px, 100%); grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; column-gap: clamp(28px, 5vw, 72px); }
    .tx-walkup .wu-title { font-size: clamp(2.2rem, min(5.4vw, 9vh), 4rem); text-wrap: balance; }
    .tx-walkup .wu-crest { width: clamp(64px, 14vh, 120px); }
    .tx-walkup .wu-form .form { width: 100%; }
    .tx-walkup .wu-form .who label { min-height: clamp(52px, 8vh, 72px); }
    .tx-walkup .wu-form .who { width: 100%; }
    .tx-walkup .wu-scan .cam { width: min(100%, 64vh); }
}

/* Nov 15: the kiosk's Walk-In with the keyboard up, landscape: the diet ticks sit beside Check In so it stays above the keys */
@media (orientation: landscape) {
    html.tx-kb .tx-k #kw:has(> .who, > .row) { grid-template-columns: minmax(0, 1fr) minmax(190px, 34%); align-items: stretch; column-gap: 12px; }
    html.tx-kb .tx-k #kw:has(> .who, > .row) > :not(.who):not(.row):not(.btn) { grid-column: 1 / -1; }
    html.tx-kb .tx-k #kw:has(> .who, > .row) > :is(.who, .row) { grid-column: 1; }
    html.tx-kb .tx-k #kw:has(> .who, > .row) > .btn.go { grid-column: 2; grid-row: 3 / span 2; min-height: 0; }
    html.tx-kb .tx-k .who { width: 100%; }
    html.tx-kb .tx-k .who label { min-height: clamp(44px, calc(var(--vvh, 100vh) * .11), 64px); padding: 4px 16px; font-size: clamp(1.05rem, calc(var(--vvh, 100vh) * .04), 1.35rem); }
    html.tx-kb .tx-k .who input { width: 26px; height: 26px; }
    /* the desk's Add A Walk-In: names and email side by side, the diet ticks beside the button */
    html.tx-kb .tx-desk #d-walk:not([hidden]) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 14px; align-items: end; }
    html.tx-kb .tx-desk #d-walk > :is(.d-h) { grid-column: 1 / -1; }
    html.tx-kb .tx-desk #d-walk > .d-two { grid-column: 1; }
    html.tx-kb .tx-desk #d-walk > label.f { grid-column: 2; }
    html.tx-kb .tx-desk #d-walk > :is(.d-diets, .d-step) { grid-column: 1; }
    html.tx-kb .tx-desk #d-walk > .btn.go { grid-column: 2; }
    html.tx-kb .tx-desk #d-walk > .d-diets:empty { display: none; }
    html.tx-kb .tx-desk #d-walk:has(> .d-diets:empty) > .btn.go { grid-column: 1 / -1; }
}

/* Nov 15 (Michael: "I could have to scroll in landscape on a kiosk"): the desk's guest list scrolls in its own box under the
   search, so the tabs and the box to type in never move */
body.tx-scan.tx-kiosk:not(.tx-station) > main > #v-desk:has(#d-find:not([hidden]) #found > .tx-party) { flex: 1 1 auto; min-height: 0; margin: 0; display: flex; flex-direction: column; }
body.tx-scan.tx-kiosk:not(.tx-station) > main > #v-desk:has(#d-find:not([hidden]) #found > .tx-party) > #d-find { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
body.tx-scan.tx-kiosk:not(.tx-station) > main > #v-desk:has(#d-find:not([hidden]) #found > .tx-party) #found { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; align-content: start; padding-bottom: 4px; }
/* the walk-up page has no steps along the bottom and no crest up top to make room for */
.tx-walkup .tx-k { padding: max(4vh, 24px) 5vw max(5vh, 28px); }
/* a short screen with the keyboard up: the crest and the gaps give a little more */
html.tx-kb .tx-k { --kmk: clamp(40px, calc(var(--vvh, 100vh) * .13), 110px); }
html.tx-kb .tx-k.has-mark { padding-top: calc(var(--kmk) + 30px); }
html.tx-kb .tx-k .scr { gap: clamp(6px, calc(var(--vvh, 100vh) * .02), 14px); }
