/* ============================================================
   TXU Events: Event staff app
   Phone first; the registration desk takes over at >= 1024px.
   Every rule is scoped to .txs-app (the app root, and every
   overlay appended to <body>, which also carries .txs-sheet).
   Two-class selectors on purpose: they beat theme or plugin
   element rules such as input[type="search"] without !important.
   ============================================================ */

/* ---------- Page ---------- */

body.txs-body {
	margin: 0;
	background: #061127;
	min-height: 100vh;
}

html.txs-locked,
html.txs-locked body {
	overflow: hidden;
}

/* ---------- Tokens ---------- */

.txs-app {
	--txs-night: #061127;
	--txs-panel: #0c1d3c;
	--txs-panel-2: #0f2447;
	--txs-panel-3: #0a1a36;
	--txs-tabbar: #081631;
	--txs-line: rgba(232, 199, 125, .18);
	--txs-line-mid: rgba(232, 199, 125, .3);
	--txs-line-strong: rgba(232, 199, 125, .45);
	--txs-field-line: rgba(232, 199, 125, .24);
	--txs-gold: #d4ac57;
	--txs-gold-hover: #dfba68;
	--txs-gold-soft: #e8c77d;
	--txs-gold-ink: #1b1405;
	--txs-fg: #f4efe4;
	--txs-fg-2: #c9d3e3;
	--txs-muted: #a9b8d1;
	--txs-faint: #7f8fab;
	--txs-ok: #3ddc97;
	--txs-ok-soft: #8ff0c4;
	--txs-admit-bg: #052a22;
	--txs-admit: #7ef0c1;
	--txs-already-bg: #2a1f06;
	--txs-already: #f5c35a;
	--txs-invalid-bg: #2c0b10;
	--txs-invalid: #ff8f84;
	--txs-paper: #f6f2ea;
	--txs-card: #ffffff;
	--txs-ink: #0a1d3b;
	--txs-ink-2: #3b4659;
	--txs-ink-3: #5b6475;
	--txs-rule: #e5e0d6;
	--txs-rule-soft: #efe8da;
	--txs-desk-gold: #c9a14a;
	--txs-text: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--txs-num: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--txs-safe-t: env(safe-area-inset-top, 0px);
	--txs-safe-b: env(safe-area-inset-bottom, 0px);
	--txs-focus: #e8c77d;

	box-sizing: border-box;
	color: var(--txs-fg);
	font-family: var(--txs-text);
	font-size: 16px;
	font-variant-numeric: lining-nums;
	line-height: 1.4;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-tap-highlight-color: transparent;
	color-scheme: dark;
}

.txs-app *,
.txs-app *::before,
.txs-app *::after {
	box-sizing: border-box;
}

/* ---------- Resets inside the app ---------- */

.txs-app h1,
.txs-app h2,
.txs-app h3,
.txs-app p,
.txs-app dl,
.txs-app dd,
.txs-app figure {
	margin: 0;
	padding: 0;
	font-family: inherit;
	color: inherit;
	letter-spacing: normal;
	text-transform: none;
	font-size: inherit;
	line-height: inherit;
}

.txs-app ul,
.txs-app ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.txs-app a {
	color: var(--txs-gold-soft);
	text-decoration: none;
}

.txs-app a:hover {
	color: #f6dc9f;
}

.txs-app button,
.txs-app input,
.txs-app select,
.txs-app textarea {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	letter-spacing: normal;
	text-transform: none;
	margin: 0;
}

.txs-app button {
	cursor: pointer;
}

.txs-app svg {
	display: inline-block;
	flex-shrink: 0;
	vertical-align: middle;
}

.txs-app [hidden] {
	display: none !important;
}

.txs-app :focus {
	outline: none;
}

.txs-app :focus-visible {
	outline: 3px solid var(--txs-focus);
	outline-offset: 2px;
}

.txs-app .txs-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.txs-app .txs-num {
	font-family: var(--txs-num);
	font-variant-numeric: lining-nums tabular-nums;
}

/* ---------- Animations ---------- */

@keyframes txsSweep {
	0% { top: 17%; opacity: 0; }
	12% { opacity: 1; }
	88% { opacity: 1; }
	100% { top: 82%; opacity: 0; }
}

@keyframes txsBlink {
	0%, 100% { opacity: 1; }
	50% { opacity: .35; }
}

@keyframes txsTurn {
	to { transform: rotate(360deg); }
}

@keyframes txsPop {
	0% { transform: scale(.6); opacity: 0; }
	70% { transform: scale(1.06); opacity: 1; }
	100% { transform: scale(1); }
}

@keyframes txsSpin {
	to { transform: rotate(360deg); }
}

@keyframes txsCount {
	from { stroke-dashoffset: 0; }
	to { stroke-dashoffset: 69.1; }
}

@keyframes txsRise {
	from { transform: translateY(14px); opacity: 0; }
	to { transform: none; opacity: 1; }
}

/* ---------- Root + screens ---------- */

.txs-app.txs-root {
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--txs-night);
}

.txs-app .txs-screen {
	position: relative;
	width: 100%;
	max-width: 480px;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0 auto;
	padding: calc(var(--txs-safe-t) + 28px) 20px calc(var(--txs-safe-b) + 32px);
}

.txs-app .txs-screen.has-tabs {
	padding-bottom: calc(var(--txs-safe-b) + 116px);
}

.txs-app .txs-boot {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: var(--txs-muted);
	font-size: 15px;
}

/* ---------- Common bits ---------- */

.txs-app .txs-kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--txs-gold-soft);
}

.txs-app .txs-lead {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--txs-muted);
}

.txs-app .txs-link {
	font-weight: 700;
	padding: 12px 0;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.txs-app .txs-linkbtn {
	min-height: 44px;
	background: none;
	border: 0;
	padding: 4px 2px;
	color: var(--txs-gold-soft);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.txs-app .txs-spinner {
	display: inline-block;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2.5px solid rgba(232, 199, 125, .25);
	border-top-color: var(--txs-gold-soft);
	animation: txsSpin .8s linear infinite;
}

.txs-app .txs-spinner--sm {
	width: 14px;
	height: 14px;
	border-width: 2px;
}

.txs-app .txs-dot {
	display: inline-block;
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.txs-app .txs-dot--ok {
	background: var(--txs-ok);
}

.txs-app .txs-dot--off {
	border: 1.5px solid #8a93a3;
	background: transparent;
}

.txs-app .txs-tone--ok { color: var(--txs-ok-soft); }
.txs-app .txs-tone--warn { color: var(--txs-already); }
.txs-app .txs-tone--bad { color: #ffa59b; }
.txs-app .txs-tone--muted { color: var(--txs-muted); }

/* ---------- Buttons ---------- */

.txs-app .txs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 20px;
	border-radius: 16px;
	border: 1px solid transparent;
	background: none;
	color: var(--txs-fg);
	font-family: var(--txs-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .01em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}

.txs-app .txs-btn:active {
	transform: scale(.98);
}

.txs-app .txs-btn[disabled] {
	opacity: .55;
	cursor: not-allowed;
	transform: none;
}

.txs-app .txs-btn--gold {
	background: var(--txs-gold);
	color: var(--txs-gold-ink);
}

.txs-app .txs-btn--gold:hover {
	background: var(--txs-gold-hover);
	color: var(--txs-gold-ink);
}

.txs-app .txs-btn--ghost {
	border-color: var(--txs-line-strong);
	color: var(--txs-fg);
	font-size: 15px;
	font-weight: 600;
}

.txs-app .txs-btn--ghost:hover {
	border-color: var(--txs-gold-soft);
	color: var(--txs-fg);
}

.txs-app .txs-btn--navy {
	background: var(--txs-ink);
	color: #ffffff;
	min-height: 44px;
	border-radius: 10px;
	font-size: 14px;
}

.txs-app .txs-btn--block {
	width: 100%;
}

.txs-app .txs-btn--grow {
	flex: 1 1 auto;
}

.txs-app .txs-btn--sm {
	min-height: 44px;
	padding: 0 16px;
	border-radius: 12px;
	font-size: 14px;
}

.txs-app .txs-iconbtn {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid rgba(232, 199, 125, .28);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--txs-fg);
	background: none;
}

.txs-app .txs-iconbtn:hover {
	color: var(--txs-fg);
	border-color: var(--txs-gold-soft);
}

/* ---------- Fields ---------- */

.txs-app .txs-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.txs-app .txs-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.txs-app .txs-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--txs-fg-2);
}

.txs-app .txs-input {
	display: block;
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border-radius: 14px;
	border: 1px solid var(--txs-field-line);
	background: var(--txs-panel);
	color: var(--txs-fg);
	font-family: var(--txs-text);
	font-size: 16px;
	line-height: normal;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .15s ease;
}

.txs-app .txs-input::placeholder {
	color: var(--txs-faint);
	opacity: 1;
}

.txs-app .txs-input:focus {
	border-color: var(--txs-gold);
}

.txs-app .txs-input[aria-invalid="true"] {
	border-color: var(--txs-invalid);
}

.txs-app .txs-input--code {
	font-family: var(--txs-num);
	letter-spacing: .06em;
	text-transform: uppercase;
}

.txs-app .txs-field__help {
	font-size: 13px;
	color: var(--txs-muted);
	line-height: 1.45;
}

.txs-app .txs-field__error {
	font-size: 13px;
	font-weight: 600;
	color: #ffb6ae;
	min-height: 1px;
}

.txs-app .txs-field__error:empty {
	display: none;
}

.txs-app .txs-search {
	position: relative;
}

.txs-app .txs-search > .txs-ico {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--txs-muted);
	pointer-events: none;
}

.txs-app .txs-input--search {
	height: 48px;
	padding-left: 44px;
}

.txs-app .txs-input--search::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

.txs-app .txs-check {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	font-size: 14px;
	color: var(--txs-fg-2);
	cursor: pointer;
}

.txs-app .txs-check input {
	width: 20px;
	height: 20px;
	margin: 0;
	flex-shrink: 0;
	accent-color: var(--txs-gold);
}

/* ---------- Notices + gates + empty states ---------- */

.txs-app .txs-notice {
	margin-top: 18px;
	padding: 12px 14px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.45;
	font-weight: 600;
}

.txs-app .txs-notice--error {
	background: rgba(255, 143, 132, .12);
	border: 1px solid rgba(255, 143, 132, .4);
	color: #ffd6d0;
}

.txs-app .txs-notice--warn {
	background: rgba(245, 195, 90, .1);
	border: 1px solid rgba(245, 195, 90, .4);
	color: #f3e6c6;
}

.txs-app .txs-gatecard {
	margin-top: 24px;
	padding: 22px 20px;
	border-radius: 20px;
	background: var(--txs-panel);
	border: 1px solid var(--txs-line);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
}

.txs-app .txs-gatecard__icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(232, 199, 125, .12);
	color: var(--txs-gold-soft);
}

.txs-app .txs-gatecard__text {
	font-size: 16px;
	line-height: 1.5;
	font-weight: 600;
}

.txs-app .txs-gatecard__actions {
	display: flex;
	gap: 10px;
}

.txs-app .txs-empty {
	margin-top: 22px;
	padding: 22px 20px;
	border-radius: 20px;
	border: 1px dashed var(--txs-line-mid);
	text-align: center;
}

.txs-app .txs-empty__title {
	display: block;
	font-size: 16px;
	font-weight: 700;
}

.txs-app .txs-empty__text {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--txs-muted);
}

/* ============================================================
   1. Sign in
   ============================================================ */

.txs-app .txs-signin {
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
	padding: var(--txs-safe-t) 0 calc(var(--txs-safe-b) + 36px);
}

.txs-app .txs-stub-wrap {
	position: relative;
	height: 214px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0 30px 16px;
}

.txs-app .txs-stub {
	position: relative;
	width: 100%;
	max-width: 330px;
	height: 128px;
	display: flex;
	overflow: hidden;
	border-radius: 18px;
	background: var(--txs-panel);
	border: 1.5px solid rgba(232, 199, 125, .55);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
	transform: rotate(-4deg);
}

.txs-app .txs-stub__main {
	flex: 1 1 auto;
	min-width: 0;
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.txs-app .txs-stub__kicker {
	font-family: var(--txs-num);
	font-size: 10px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--txs-muted);
}

.txs-app .txs-stub__word {
	font-size: 50px;
	line-height: .95;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--txs-gold-soft);
}

.txs-app .txs-stub__tag {
	font-size: 12px;
	color: var(--txs-fg-2);
}

.txs-app .txs-stub__perf {
	width: 0;
	margin: 12px 0;
	border-left: 2px dashed rgba(232, 199, 125, .45);
}

.txs-app .txs-stub__side {
	width: 78px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.txs-app .txs-stub__side span {
	writing-mode: vertical-rl;
	font-family: var(--txs-num);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .34em;
	text-transform: uppercase;
	color: var(--txs-gold-soft);
}

.txs-app .txs-stub__notch {
	position: absolute;
	right: 67px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--txs-night);
	border: 1.5px solid rgba(232, 199, 125, .55);
}

.txs-app .txs-stub__notch--top {
	top: -12px;
}

.txs-app .txs-stub__notch--bottom {
	bottom: -12px;
}

.txs-app .txs-signin__body {
	padding: 10px 24px 0;
}

.txs-app .txs-signin__title {
	margin-top: 8px;
	font-size: 34px;
	line-height: 1.15;
	font-weight: 300;
}

.txs-app .txs-signin__title strong {
	font-weight: 800;
	color: var(--txs-gold-soft);
}

.txs-app .txs-signin .txs-form {
	margin-top: 22px;
}

.txs-app .txs-pass {
	position: relative;
}

.txs-app .txs-pass .txs-input {
	padding-right: 56px;
}

.txs-app .txs-pass__toggle {
	position: absolute;
	right: 4px;
	top: 4px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 12px;
	background: none;
	color: var(--txs-muted);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.txs-app .txs-pass__toggle:hover {
	color: var(--txs-fg);
}

.txs-app .txs-or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--txs-faint);
}

.txs-app .txs-or span {
	flex: 1 1 auto;
	height: 1px;
	background: rgba(255, 255, 255, .1);
}

.txs-app .txs-doorpass .txs-btn .txs-ico {
	color: var(--txs-gold-soft);
}

.txs-app .txs-help {
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--txs-muted);
	text-align: center;
}

/* Not staff */

.txs-app .txs-gate {
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
	padding: calc(var(--txs-safe-t) + 72px) 24px calc(var(--txs-safe-b) + 36px);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.txs-app .txs-gate__icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid rgba(255, 143, 132, .6);
	color: var(--txs-invalid);
	background: rgba(255, 143, 132, .1);
	margin-bottom: 6px;
}

.txs-app .txs-gate__title {
	font-size: 30px;
	line-height: 1.15;
	font-weight: 800;
}

.txs-app .txs-gate .txs-lead {
	margin: 0 0 10px;
}

.txs-app .txs-gate .txs-lead strong {
	color: var(--txs-fg);
}

/* ============================================================
   2. My events
   ============================================================ */

.txs-app .txs-hello {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.txs-app .txs-hello__text {
	flex: 1 1 auto;
	min-width: 0;
}

.txs-app .txs-hello__title {
	font-size: 30px;
	line-height: 1.15;
	font-weight: 300;
}

.txs-app .txs-hello__greet {
	color: var(--txs-gold-soft);
}

.txs-app .txs-hello__title strong {
	font-weight: 800;
}

.txs-app .txs-hello__sub {
	margin-top: 8px;
	font-size: 15px;
	color: var(--txs-muted);
}

.txs-app .txs-avatar {
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1.5px solid var(--txs-gold);
	background: var(--txs-panel);
	color: var(--txs-gold-soft);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.txs-app .txs-live {
	position: relative;
	margin-top: 22px;
	overflow: hidden;
	border-radius: 24px;
	background: var(--txs-panel);
	border: 1px solid var(--txs-line-mid);
	box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}

.txs-app .txs-live__top {
	padding: 20px 20px 0;
}

.txs-app .txs-live__status {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.txs-app .txs-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1.2;
}

.txs-app .txs-pill--live {
	background: var(--txs-gold);
	color: var(--txs-gold-ink);
}

.txs-app .txs-pill--sm {
	padding: 4px 9px;
}

.txs-app .txs-pill__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--txs-gold-ink);
	animation: txsBlink 1.8s ease-in-out infinite;
}

.txs-app .txs-live__since {
	font-size: 13px;
	color: var(--txs-muted);
}

.txs-app .txs-live__title {
	margin-top: 14px;
	font-size: 26px;
	line-height: 1.15;
	font-weight: 800;
}

.txs-app .txs-meta {
	margin-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	color: var(--txs-fg-2);
}

.txs-app .txs-meta__line {
	display: flex;
	align-items: center;
	gap: 8px;
}

.txs-app .txs-meta__line .txs-ico {
	color: var(--txs-gold-soft);
}

/* Ticket-stub perforation across a dark card */
.txs-app .txs-perf {
	position: relative;
	margin-top: 18px;
	height: 0;
	border-top: 2px dashed rgba(232, 199, 125, .28);
}

.txs-app .txs-perf::before,
.txs-app .txs-perf::after {
	content: '';
	position: absolute;
	top: -13px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--txs-night);
}

.txs-app .txs-perf::before {
	left: -12px;
}

.txs-app .txs-perf::after {
	right: -12px;
}

.txs-app .txs-live__stats {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px 0;
}

.txs-app .txs-ring {
	position: relative;
	width: 84px;
	height: 84px;
	flex-shrink: 0;
}

.txs-app .txs-ring__track {
	stroke: rgba(255, 255, 255, .09);
}

.txs-app .txs-ring__fill {
	stroke: var(--txs-gold);
	transition: stroke-dasharray .5s ease;
}

.txs-app .txs-ring__pct {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--txs-num);
	font-size: 18px;
	font-weight: 800;
	font-variant-numeric: lining-nums tabular-nums;
}

.txs-app .txs-live__nums {
	flex: 1 1 auto;
	min-width: 0;
}

.txs-app .txs-live__count {
	font-family: var(--txs-num);
	font-size: 24px;
	font-variant-numeric: lining-nums tabular-nums;
}

.txs-app .txs-live__count strong {
	font-weight: 800;
}

.txs-app .txs-live__count span {
	font-size: 15px;
	color: var(--txs-muted);
}

.txs-app .txs-live__left {
	margin-top: 2px;
	font-size: 13px;
	color: var(--txs-muted);
}

.txs-app .txs-chips-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

.txs-app .txs-chip {
	padding: 4px 9px;
	border-radius: 999px;
	background: rgba(232, 199, 125, .12);
	color: #f0d9a2;
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: lining-nums tabular-nums;
}

.txs-app .txs-live__actions {
	display: flex;
	gap: 10px;
	padding: 18px 20px 20px;
}

.txs-app .txs-live__actions .txs-btn {
	padding: 0 14px;
	white-space: nowrap;
}

.txs-app .txs-live__att {
	min-width: 112px;
}

.txs-app .txs-section-title {
	margin: 26px 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--txs-muted);
}

.txs-app .txs-rows {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.txs-app .txs-rowcard {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border-radius: 20px;
	background: var(--txs-panel-3);
	border: 1px solid rgba(255, 255, 255, .07);
}

.txs-app .txs-rowcard--done {
	background: transparent;
}

.txs-app .txs-datebox {
	width: 56px;
	height: 62px;
	flex-shrink: 0;
	border-radius: 14px;
	border: 1px solid rgba(232, 199, 125, .35);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.txs-app .txs-datebox__m {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--txs-gold-soft);
}

.txs-app .txs-datebox__d {
	font-family: var(--txs-num);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.1;
	font-variant-numeric: lining-nums tabular-nums;
}

.txs-app .txs-datebox--muted {
	border-color: transparent;
	background: rgba(255, 255, 255, .04);
	color: var(--txs-muted);
}

.txs-app .txs-datebox--muted .txs-datebox__m {
	color: var(--txs-muted);
}

.txs-app .txs-rowcard__main {
	flex: 1 1 auto;
	min-width: 0;
}

.txs-app .txs-rowcard__title {
	font-size: 16px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.txs-app .txs-rowcard--done .txs-rowcard__title {
	color: var(--txs-fg-2);
}

.txs-app .txs-rowcard__sub {
	margin-top: 3px;
	font-size: 13px;
	color: var(--txs-muted);
}

.txs-app .txs-lockline {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	font-size: 12px;
	color: var(--txs-gold-soft);
	line-height: 1.35;
}

.txs-app .txs-live__actions .txs-lockline {
	margin-top: 0;
	font-size: 14px;
}

.txs-app .txs-rowcard__link {
	flex-shrink: 0;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	padding: 0 4px;
	font-size: 14px;
	font-weight: 700;
}

.txs-app .txs-foot {
	margin-top: 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	color: var(--txs-muted);
}

/* ============================================================
   3. Scanner
   ============================================================ */

.txs-app .txs-scan__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.txs-app .txs-scan__titles {
	flex: 1 1 auto;
	min-width: 0;
}

.txs-app .txs-scan__event {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--txs-gold-soft);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.txs-app .txs-doorbtn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	max-width: 100%;
	min-height: 44px;
	margin: -8px 0 -10px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--txs-muted);
	font-size: 14px;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
}

.txs-app .txs-doorbtn:hover {
	color: var(--txs-fg);
}

.txs-app .txs-doorbtn .txs-ico {
	margin-left: 4px;
	color: var(--txs-gold-soft);
}

.txs-app .txs-doorbtn__door {
	color: var(--txs-fg-2);
	font-weight: 600;
	text-decoration: underline dotted rgba(232, 199, 125, .6);
	text-underline-offset: 3px;
}

.txs-app .txs-sync {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex-shrink: 0;
	padding: 7px 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	background: rgba(61, 220, 151, .12);
	color: var(--txs-ok-soft);
}

.txs-app .txs-sync__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--txs-ok);
	animation: txsBlink 2.4s ease-in-out infinite;
}

.txs-app .txs-sync--busy {
	background: rgba(232, 199, 125, .12);
	color: var(--txs-gold-soft);
}

.txs-app .txs-sync--busy .txs-sync__dot {
	background: var(--txs-gold-soft);
	animation-duration: .9s;
}

.txs-app .txs-sync--offline,
.txs-app .txs-sync--error {
	background: rgba(255, 143, 132, .14);
	color: #ffb6ae;
}

.txs-app .txs-sync--offline .txs-sync__dot,
.txs-app .txs-sync--error .txs-sync__dot {
	background: var(--txs-invalid);
	animation: none;
}

.txs-app .txs-count {
	padding-top: 22px;
}

.txs-app .txs-count__row {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.txs-app .txs-count__num {
	font-family: var(--txs-num);
	font-size: 52px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -.03em;
	font-variant-numeric: lining-nums tabular-nums;
}

.txs-app .txs-count__of {
	font-size: 16px;
	color: var(--txs-fg-2);
}

.txs-app .txs-count__togo {
	margin-left: auto;
	font-size: 13px;
	color: var(--txs-muted);
	font-variant-numeric: lining-nums tabular-nums;
	white-space: nowrap;
}

.txs-app .txs-bar {
	margin-top: 12px;
	height: 6px;
	border-radius: 3px;
	background: rgba(255, 255, 255, .08);
	overflow: hidden;
}

.txs-app .txs-bar__fill {
	width: 0;
	height: 100%;
	border-radius: 3px;
	background: var(--txs-gold);
	transition: width .4s ease;
}

/* Viewfinder */
.txs-app .txs-vf {
	--txs-vf: min(300px, 78vw);
	position: relative;
	width: var(--txs-vf);
	height: var(--txs-vf);
	margin: 22px auto 0;
	border-radius: 30px;
	overflow: hidden;
	background: radial-gradient(90% 75% at 42% 38%, #34435c 0%, #172033 52%, #0a0f19 100%);
	box-shadow: 0 0 0 1px rgba(232, 199, 125, .16), 0 24px 60px rgba(0, 0, 0, .45);
}

.txs-app .txs-vf__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity .3s ease;
	background: transparent;
}

.txs-app .txs-vf[data-state="running"] .txs-vf__video {
	opacity: 1;
}

.txs-app .txs-vf__shade {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(70% 70% at 50% 50%, rgba(6, 17, 39, 0) 55%, rgba(6, 17, 39, .65) 100%);
}

.txs-app .txs-vf__corner {
	position: absolute;
	width: 40px;
	height: 40px;
	border: 0 solid var(--txs-gold-soft);
	pointer-events: none;
}

.txs-app .txs-vf__corner--tl { left: 15%; top: 15%; border-left-width: 4px; border-top-width: 4px; border-top-left-radius: 16px; }
.txs-app .txs-vf__corner--tr { right: 15%; top: 15%; border-right-width: 4px; border-top-width: 4px; border-top-right-radius: 16px; }
.txs-app .txs-vf__corner--bl { left: 15%; bottom: 15%; border-left-width: 4px; border-bottom-width: 4px; border-bottom-left-radius: 16px; }
.txs-app .txs-vf__corner--br { right: 15%; bottom: 15%; border-right-width: 4px; border-bottom-width: 4px; border-bottom-right-radius: 16px; }

.txs-app .txs-vf__sweep {
	position: absolute;
	left: 19%;
	right: 19%;
	top: 17%;
	height: 2px;
	border-radius: 1px;
	background: #f6dc9f;
	box-shadow: 0 0 16px 3px rgba(232, 199, 125, .55);
	opacity: 0;
	pointer-events: none;
}

.txs-app .txs-vf[data-state="running"] .txs-vf__sweep {
	animation: txsSweep 2.6s ease-in-out infinite;
}

.txs-app .txs-vf.is-busy .txs-vf__sweep {
	animation: none;
	opacity: 0;
}

.txs-app .txs-vf__msg {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 22px;
	text-align: center;
	background: rgba(6, 17, 39, .82);
}

.txs-app .txs-vf[data-state="running"] .txs-vf__msg,
.txs-app .txs-vf__msg:empty {
	display: none;
}

.txs-app .txs-vf__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.txs-app .txs-vf__detail {
	font-size: 13px;
	line-height: 1.45;
	color: var(--txs-fg-2);
}

.txs-app .txs-vf__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 4px;
}

.txs-app .txs-vf__busy {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(6, 17, 39, .85);
	color: var(--txs-fg);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.txs-app .txs-vf__busy:empty {
	display: none;
}

.txs-app .txs-hint {
	margin-top: 18px;
	text-align: center;
}

.txs-app .txs-hint__title {
	font-size: 22px;
	font-weight: 300;
}

.txs-app .txs-hint__title strong {
	font-weight: 800;
}

.txs-app .txs-hint__sub {
	margin-top: 4px;
	font-size: 14px;
	color: var(--txs-muted);
}

.txs-app .txs-tools {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-top: 18px;
}

.txs-app .txs-tool {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	min-width: 64px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--txs-fg);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.txs-app .txs-tool:hover {
	color: var(--txs-fg);
}

.txs-app .txs-tool__ring {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--txs-panel-2);
	border: 1px solid rgba(232, 199, 125, .22);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--txs-gold-soft);
	transition: background-color .15s ease, border-color .15s ease;
}

.txs-app .txs-tool:hover .txs-tool__ring {
	border-color: var(--txs-gold-soft);
}

.txs-app .txs-tool[aria-pressed="true"] .txs-tool__ring {
	background: var(--txs-gold);
	border-color: var(--txs-gold);
	color: var(--txs-gold-ink);
}

.txs-app .txs-lastbar {
	margin-top: 22px;
	min-height: 58px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 6px 8px 14px;
	border-radius: 16px;
	background: var(--txs-panel);
	border: 1px solid rgba(232, 199, 125, .14);
	animation: txsRise .25s ease both;
}

.txs-app .txs-lastbar__icon {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(61, 220, 151, .16);
	color: var(--txs-admit);
}

.txs-app .txs-lastbar__icon--warn {
	background: rgba(245, 195, 90, .16);
	color: var(--txs-already);
}

.txs-app .txs-lastbar__icon--bad {
	background: rgba(255, 143, 132, .16);
	color: var(--txs-invalid);
}

.txs-app .txs-lastbar__icon--muted {
	background: rgba(255, 255, 255, .08);
	color: var(--txs-muted);
}

.txs-app .txs-lastbar__main {
	flex: 1 1 auto;
	min-width: 0;
}

.txs-app .txs-lastbar__name {
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.txs-app .txs-lastbar__status {
	font-weight: 400;
	color: var(--txs-muted);
}

.txs-app .txs-lastbar__sub {
	margin-top: 2px;
	font-size: 12px;
	color: var(--txs-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.txs-app .txs-lastbar__link {
	flex-shrink: 0;
	min-height: 44px;
	padding: 0 10px;
	border: 0;
	background: none;
	color: var(--txs-gold-soft);
	font-size: 13px;
	font-weight: 700;
}

/* Bottom tabs */
.txs-app .txs-tabs {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	padding: 8px 18px calc(var(--txs-safe-b) + 12px);
	background: var(--txs-tabbar);
	border-top: 1px solid rgba(232, 199, 125, .14);
}

.txs-app .txs-tabs__inner {
	max-width: 480px;
	margin: 0 auto;
	display: flex;
	justify-content: space-around;
}

.txs-app .txs-tab {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 72px;
	min-height: 56px;
	padding-top: 6px;
	color: var(--txs-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-decoration: none;
	border-radius: 12px;
}

.txs-app .txs-tab:hover {
	color: var(--txs-fg);
}

.txs-app .txs-tab.is-active {
	color: var(--txs-gold-soft);
	font-weight: 700;
}

/* Short phones: tighten the scanner so the last scan stays above the tabs */
@media (max-height: 700px) {
	.txs-app .txs-vf {
		--txs-vf: min(240px, 70vw);
		margin-top: 16px;
	}
	.txs-app .txs-count {
		padding-top: 14px;
	}
	.txs-app .txs-count__num {
		font-size: 42px;
	}
	.txs-app .txs-hint {
		margin-top: 12px;
	}
	.txs-app .txs-hint__title {
		font-size: 19px;
	}
	.txs-app .txs-tools {
		margin-top: 12px;
	}
}

/* ============================================================
   Overlays on <body> (.txs-sheet)
   ============================================================ */

.txs-app.txs-sheet {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

/* ---- Result: admit / already / not valid / undone ---- */

.txs-app.txs-result {
	--txs-r-bg: var(--txs-night);
	--txs-r-fg: var(--txs-fg);
	--txs-r-sub: var(--txs-muted);
	--txs-r-accent: var(--txs-gold-soft);
	--txs-r-on: var(--txs-gold-ink);
	--txs-r-line: rgba(232, 199, 125, .3);
	--txs-r-line-strong: rgba(232, 199, 125, .45);
	--txs-r-soft: rgba(232, 199, 125, .14);
	--txs-focus: var(--txs-r-accent);
	display: flex;
	flex-direction: column;
	background: var(--txs-r-bg);
	color: var(--txs-r-fg);
}

.txs-app.txs-result--admit {
	--txs-r-bg: var(--txs-admit-bg);
	--txs-r-fg: #f2fbf7;
	--txs-r-sub: #a7d3c4;
	--txs-r-accent: var(--txs-admit);
	--txs-r-on: #04211a;
	--txs-r-line: rgba(126, 240, 193, .3);
	--txs-r-line-strong: rgba(126, 240, 193, .3);
	--txs-r-soft: rgba(126, 240, 193, .14);
}

.txs-app.txs-result--already {
	--txs-r-bg: var(--txs-already-bg);
	--txs-r-fg: #fbf6ea;
	--txs-r-sub: #dccaa0;
	--txs-r-accent: var(--txs-already);
	--txs-r-on: #2a1f06;
	--txs-r-line: rgba(245, 195, 90, .35);
	--txs-r-line-strong: rgba(245, 195, 90, .45);
	--txs-r-soft: rgba(245, 195, 90, .14);
}

.txs-app.txs-result--invalid {
	--txs-r-bg: var(--txs-invalid-bg);
	--txs-r-fg: #fff4f2;
	--txs-r-sub: #e8bdb7;
	--txs-r-accent: var(--txs-invalid);
	--txs-r-on: #2c0b10;
	--txs-r-line: rgba(255, 143, 132, .35);
	--txs-r-line-strong: rgba(255, 143, 132, .45);
	--txs-r-soft: rgba(255, 143, 132, .14);
}

.txs-app .txs-result__scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: calc(var(--txs-safe-t) + 20px) 20px 18px;
}

.txs-app .txs-result__inner {
	max-width: 480px;
	margin: 0 auto;
}

.txs-app .txs-result__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.txs-app .txs-result__close {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid var(--txs-r-line);
	background: none;
	color: var(--txs-r-fg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.txs-app .txs-result__where {
	flex: 1 1 auto;
	min-width: 0;
	text-align: center;
	font-size: 13px;
	color: var(--txs-r-sub);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.txs-app .txs-result__spacer {
	width: 44px;
	flex-shrink: 0;
}

.txs-app .txs-result__badge {
	position: relative;
	width: 118px;
	height: 118px;
	margin: 30px auto 0;
}

.txs-app .txs-result__badge--ring {
	width: 152px;
	height: 152px;
	margin-top: 20px;
}

.txs-app .txs-result__orbit {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px dashed var(--txs-r-line);
	animation: txsTurn 24s linear infinite;
}

.txs-app .txs-result__disc {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 3px solid var(--txs-r-accent);
	background: var(--txs-r-soft);
	color: var(--txs-r-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: txsPop 420ms cubic-bezier(.2, .9, .3, 1.2) both;
}

.txs-app .txs-result__badge--ring .txs-result__disc {
	inset: 17px;
}

.txs-app .txs-result__text {
	margin-top: 10px;
	text-align: center;
}

.txs-app .txs-result__word {
	font-size: 62px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -.02em;
	overflow-wrap: anywhere;
}

.txs-app.txs-result--already .txs-result__word {
	font-size: 50px;
}

.txs-app .txs-result__word--md {
	font-size: 44px;
	line-height: 1.05;
}

.txs-app .txs-result__word--sm,
.txs-app.txs-result--already .txs-result__word--sm {
	font-size: 38px;
	line-height: 1.08;
}

.txs-app .txs-result__sub {
	margin-top: 10px;
	font-size: 16px;
	font-weight: 600;
	color: var(--txs-r-accent);
	line-height: 1.4;
}

/* The paper ticket stub */
.txs-app .txs-ticket {
	position: relative;
	overflow: hidden;
	margin-top: 22px;
	border-radius: 20px;
	background: #faf7f2;
	color: var(--txs-ink);
	box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}

.txs-app .txs-ticket--soft {
	background: #f1ebe4;
	box-shadow: none;
}

.txs-app .txs-ticket__head {
	padding: 18px 20px 16px;
}

.txs-app .txs-ticket__namerow {
	display: flex;
	align-items: center;
	gap: 10px;
}

.txs-app .txs-ticket__name {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 25px;
	line-height: 1.15;
	font-weight: 800;
	overflow-wrap: anywhere;
	padding-right: 4px;
}

.txs-app .txs-badge-member {
	flex-shrink: 0;
	padding: 5px 9px;
	border-radius: 999px;
	background: #f5ecd6;
	color: #6f5114;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.txs-app .txs-ticket__sub {
	margin-top: 4px;
	font-size: 15px;
	color: var(--txs-ink-2);
}

.txs-app .txs-ticket__contact {
	margin-top: 6px;
	font-size: 13px;
	color: var(--txs-ink-3);
	overflow-wrap: anywhere;
}

.txs-app .txs-ticket__pill {
	display: inline-block;
	padding: 4px 9px;
	border-radius: 999px;
	background: #fde0dc;
	color: #8f1d14;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.txs-app .txs-ticket__event {
	font-size: 21px;
	line-height: 1.2;
	font-weight: 800;
	overflow-wrap: anywhere;
}

.txs-app .txs-ticket--soft .txs-ticket__sub {
	font-size: 14px;
	margin-top: 3px;
}

.txs-app .txs-ticket__perf {
	position: relative;
	height: 0;
	border-top: 2px dashed rgba(10, 29, 59, .18);
}

.txs-app .txs-ticket__perf::before,
.txs-app .txs-ticket__perf::after {
	content: '';
	position: absolute;
	top: -12px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--txs-r-bg);
}

.txs-app .txs-ticket__perf::before {
	left: -11px;
}

.txs-app .txs-ticket__perf::after {
	right: -11px;
}

.txs-app .txs-ticket__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	padding: 14px 20px 18px;
}

.txs-app .txs-ticket__grid dt {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--txs-ink-3);
}

.txs-app .txs-ticket__grid dd {
	margin-top: 3px;
	font-size: 15px;
	font-weight: 700;
	font-variant-numeric: lining-nums tabular-nums;
}

.txs-app .txs-ticket__grid dd.txs-num {
	font-size: 14px;
	font-weight: 600;
}

.txs-app .txs-ticket__who {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px 16px;
}

.txs-app .txs-ticket__who > div:first-child {
	flex: 1 1 auto;
	min-width: 0;
}

.txs-app .txs-ticket__whoname {
	font-size: 16px;
	font-weight: 700;
}

.txs-app .txs-ticket__tail {
	font-size: 13px;
	font-weight: 600;
	color: var(--txs-ink-2);
}

.txs-app .txs-stamp {
	position: absolute;
	right: 16px;
	top: 18px;
	z-index: 1;
	transform: rotate(-10deg);
	padding: 6px 10px;
	border: 3px solid #a86a0c;
	border-radius: 8px;
	background: rgba(245, 195, 90, .14);
	color: #a86a0c;
	font-family: var(--txs-num);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	pointer-events: none;
}

.txs-app.txs-result--already .txs-ticket__name {
	padding-right: 120px;
}

.txs-app .txs-callout {
	display: flex;
	gap: 12px;
	margin-top: 18px;
	padding: 16px;
	border-radius: 16px;
	background: rgba(245, 195, 90, .09);
	border: 1px solid rgba(245, 195, 90, .32);
}

.txs-app .txs-callout .txs-ico {
	color: var(--txs-r-accent);
	margin-top: 1px;
}

.txs-app .txs-callout p {
	font-size: 14px;
	line-height: 1.5;
	color: #f3e6c6;
}

.txs-app .txs-party {
	margin-top: 18px;
}

.txs-app .txs-party__title,
.txs-app .txs-reasons__title {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--txs-r-sub);
}

.txs-app .txs-party__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	min-height: 56px;
	padding: 6px 0;
	border-bottom: 1px solid var(--txs-r-soft);
}

.txs-app .txs-party__row:last-child {
	border-bottom: 0;
}

.txs-app .txs-party__name {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 15px;
	font-weight: 600;
}

.txs-app .txs-party__muted {
	font-weight: 400;
	color: var(--txs-r-sub);
}

.txs-app .txs-party__in {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--txs-r-accent);
}

.txs-app .txs-party__btn {
	min-height: 44px;
	padding: 0 16px;
	border-radius: 12px;
	border: 1.5px solid var(--txs-r-accent);
	background: none;
	color: var(--txs-r-accent);
	font-size: 14px;
	font-weight: 700;
}

.txs-app .txs-party__btn[disabled] {
	opacity: .6;
}

.txs-app .txs-party__error {
	flex-basis: 100%;
	font-size: 13px;
	font-weight: 600;
	color: #ffd6d0;
}

.txs-app .txs-reasons {
	margin-top: 20px;
}

.txs-app .txs-reasons__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.txs-app .txs-reasons__chip {
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 143, 132, .32);
	color: #ffd6d0;
	font-size: 13px;
}

.txs-app .txs-scanned {
	margin-top: 22px;
	padding: 14px 16px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--txs-r-soft);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.txs-app .txs-scanned__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--txs-r-sub);
}

.txs-app .txs-scanned__value {
	font-size: 14px;
	overflow-wrap: anywhere;
}

.txs-app .txs-result__actions {
	flex-shrink: 0;
	padding: 12px 20px calc(var(--txs-safe-b) + 22px);
	background: var(--txs-r-bg);
}

.txs-app .txs-result__actions-inner {
	max-width: 480px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 10px;
}

.txs-app .txs-result__secondary {
	min-height: 58px;
	padding: 0 18px;
	border-radius: 18px;
	border: 1px solid var(--txs-r-line-strong);
	background: none;
	color: var(--txs-r-fg);
	font-size: 15px;
	font-weight: 600;
}

.txs-app .txs-result__secondary[disabled] {
	opacity: .6;
}

.txs-app .txs-result__primary {
	flex: 1 1 auto;
	min-height: 58px;
	padding: 0 18px;
	border-radius: 18px;
	border: 0;
	background: var(--txs-r-accent);
	color: var(--txs-r-on);
	font-size: 17px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.txs-app.txs-result :focus-visible {
	outline-color: #ffffff;
}

.txs-app .txs-countdown {
	position: relative;
	width: 26px;
	height: 26px;
	flex-shrink: 0;
}

.txs-app .txs-countdown svg {
	display: block;
}

.txs-app .txs-countdown__track {
	stroke: rgba(4, 33, 26, .2);
}

.txs-app .txs-countdown__arc {
	stroke: currentColor;
	stroke-dashoffset: 0;
	animation: txsCount 3s linear forwards;
}

.txs-app .txs-countdown__num {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--txs-num);
	font-size: 12px;
	font-weight: 800;
}

/* ---- Bottom sheets / dialogs ---- */

.txs-app.txs-modal {
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.txs-app .txs-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 8, 20, .72);
	opacity: 0;
	transition: opacity .2s ease;
}

.txs-app.txs-modal.is-open .txs-modal__backdrop {
	opacity: 1;
}

.txs-app .txs-modal__panel {
	position: relative;
	width: 100%;
	max-width: 520px;
	max-height: 92vh;
	overflow-y: auto;
	padding: 24px 20px calc(var(--txs-safe-b) + 22px);
	border-radius: 24px 24px 0 0;
	background: var(--txs-panel);
	border: 1px solid var(--txs-line);
	border-bottom: 0;
	box-shadow: 0 -20px 60px rgba(0, 0, 0, .5);
	transform: translateY(18px);
	opacity: 0;
	transition: transform .22s ease, opacity .22s ease;
}

.txs-app.txs-modal.is-open .txs-modal__panel {
	transform: none;
	opacity: 1;
}

.txs-app .txs-modal__title {
	font-size: 21px;
	line-height: 1.25;
	font-weight: 800;
}

.txs-app .txs-modal__text {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--txs-muted);
}

.txs-app .txs-modal__panel > .txs-form,
.txs-app .txs-modal__panel > div {
	margin-top: 18px;
}

.txs-app .txs-modal__actions {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

.txs-app .txs-account__who {
	display: flex;
	align-items: center;
	gap: 14px;
}

.txs-app .txs-avatar--static {
	cursor: default;
}

.txs-app .txs-account__name {
	font-size: 17px;
	font-weight: 700;
}

.txs-app .txs-account__role {
	font-size: 13px;
	color: var(--txs-muted);
}

.txs-app .txs-feedlist__item {
	display: flex;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.txs-app .txs-feedlist__item:last-child {
	border-bottom: 0;
}

.txs-app .txs-feedlist__time {
	width: 40px;
	flex-shrink: 0;
	padding-top: 2px;
	font-family: var(--txs-num);
	font-size: 12px;
	color: var(--txs-muted);
	font-variant-numeric: lining-nums tabular-nums;
}

.txs-app .txs-feedlist__main {
	flex: 1 1 auto;
	min-width: 0;
}

.txs-app .txs-feedlist__name {
	font-size: 14px;
	font-weight: 600;
}

.txs-app .txs-feedlist__line {
	margin-top: 2px;
	font-size: 12px;
}

@media (min-width: 600px) {
	.txs-app.txs-modal {
		align-items: center;
		padding: 24px;
	}
	.txs-app .txs-modal__panel {
		border-radius: 24px;
		border-bottom: 1px solid var(--txs-line);
		padding-bottom: 24px;
	}
}

/* ---- Door pass camera (sign-in screen) ---- */

.txs-app.txs-passcam {
	background: var(--txs-night);
	overflow-y: auto;
}

.txs-app .txs-passcam__inner {
	max-width: 440px;
	margin: 0 auto;
	padding: calc(var(--txs-safe-t) + 32px) 24px calc(var(--txs-safe-b) + 28px);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.txs-app .txs-passcam__title {
	font-size: 28px;
	line-height: 1.2;
	font-weight: 800;
}

.txs-app .txs-passcam .txs-vf {
	margin-top: 8px;
}

.txs-app .txs-passcam__hint {
	min-height: 42px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--txs-fg-2);
	text-align: center;
}

/* ---- Toasts + offline banner ---- */

.txs-app.txs-toasts {
	position: fixed;
	left: 0;
	right: 0;
	bottom: calc(var(--txs-safe-b) + 100px);
	z-index: 100001;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 0 16px;
	pointer-events: none;
}

.txs-app .txs-toast {
	max-width: 440px;
	width: 100%;
	padding: 12px 16px;
	border-radius: 14px;
	background: var(--txs-panel-2);
	border: 1px solid var(--txs-line);
	border-left-width: 4px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .2s ease, transform .2s ease;
	pointer-events: auto;
}

.txs-app .txs-toast.is-in {
	opacity: 1;
	transform: none;
}

.txs-app .txs-toast--ok { border-left-color: var(--txs-admit); }
.txs-app .txs-toast--warn { border-left-color: var(--txs-already); }
.txs-app .txs-toast--error { border-left-color: var(--txs-invalid); }
.txs-app .txs-toast--info { border-left-color: var(--txs-gold-soft); }

.txs-app.txs-banner {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100002;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: calc(var(--txs-safe-t) + 8px) 16px 8px;
	background: #5a1720;
	color: #ffe3df;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
}

/* ============================================================
   7. Attendees (phone)
   ============================================================ */

.txs-app .txs-att__titlerow {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-top: 4px;
}

.txs-app .txs-att__title {
	flex: 1 1 auto;
	font-size: 30px;
	line-height: 1.15;
	font-weight: 800;
}

.txs-app .txs-att__counts {
	font-size: 14px;
	color: var(--txs-fg-2);
	font-variant-numeric: lining-nums tabular-nums;
	white-space: nowrap;
}

.txs-app .txs-att__counts strong {
	color: var(--txs-fg);
	font-weight: 800;
}

.txs-app .txs-att__search {
	margin-top: 18px;
}

.txs-app .txs-chips {
	display: flex;
	gap: 8px;
	margin: 14px -20px 0;
	padding: 0 20px 4px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.txs-app .txs-chips::-webkit-scrollbar {
	display: none;
}

.txs-app .txs-chipbtn {
	flex-shrink: 0;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--txs-line-mid);
	background: none;
	color: var(--txs-fg);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	font-variant-numeric: lining-nums tabular-nums;
}

.txs-app .txs-chipbtn[aria-pressed="true"] {
	background: var(--txs-gold);
	border-color: var(--txs-gold);
	color: var(--txs-gold-ink);
	font-weight: 700;
}

.txs-app .txs-list {
	margin-top: 14px;
}

.txs-app .txs-list__group {
	padding: 14px 0 6px;
	border-bottom: 1px solid var(--txs-line);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .14em;
	color: var(--txs-gold-soft);
}

.txs-app .txs-list__group:first-child {
	padding-top: 6px;
}

.txs-app .txs-person {
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.txs-app .txs-person__row {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	width: 100%;
	padding: 8px 0;
}

.txs-app .txs-person__row--btn {
	border: 0;
	background: none;
	color: inherit;
	text-align: left;
	border-radius: 12px;
}

.txs-app .txs-person__avatar {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .06);
	color: var(--txs-fg-2);
	font-size: 14px;
	font-weight: 700;
}

.txs-app .txs-person.is-in .txs-person__avatar {
	background: rgba(212, 172, 87, .16);
	color: var(--txs-gold-soft);
}

.txs-app .txs-person__main {
	flex: 1 1 auto;
	min-width: 0;
}

.txs-app .txs-person__name {
	font-size: 15px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.txs-app .txs-tag {
	margin-left: 6px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--txs-gold-soft);
	vertical-align: 2px;
}

.txs-app .txs-person__sub {
	margin-top: 2px;
	font-size: 13px;
	color: var(--txs-muted);
}

.txs-app .txs-person__in {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--txs-admit);
	font-variant-numeric: lining-nums tabular-nums;
}

.txs-app .txs-person__btn {
	flex-shrink: 0;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 12px;
	border: 1.5px solid var(--txs-gold);
	background: none;
	color: var(--txs-gold-soft);
	font-size: 14px;
	font-weight: 700;
}

.txs-app .txs-person__btn:hover {
	background: rgba(212, 172, 87, .12);
}

.txs-app .txs-person__btn[disabled] {
	opacity: .6;
}

.txs-app .txs-person__detail {
	padding: 0 0 14px 52px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--txs-fg-2);
}

.txs-app .txs-person__contact {
	color: var(--txs-muted);
	overflow-wrap: anywhere;
}

.txs-app .txs-list__status {
	padding: 18px 0 4px;
	font-size: 13px;
	color: var(--txs-muted);
	text-align: center;
}

.txs-app .txs-list__status:empty {
	display: none;
}

.txs-app .txs-more {
	margin-top: 14px;
}

/* ============================================================
   8. Registration desk (>= 1024px, attendees route)
   ============================================================ */

.txs-app.txs-root.is-desk {
	--txs-focus: #bd8b3d;
	background: var(--txs-paper);
	color: var(--txs-ink);
	color-scheme: light;
}

.txs-app .txs-desk {
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100dvh;
	min-height: 640px;
}

.txs-app .txs-desk__bar {
	height: 64px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 0 24px;
	background: var(--txs-ink);
	color: var(--txs-fg);
	--txs-focus: #e8c77d;
}

.txs-app .txs-desk__mark {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1.5px solid var(--txs-gold);
	color: var(--txs-gold-soft);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .04em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.txs-app .txs-desk__app {
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}

.txs-app .txs-desk__selectwrap {
	position: relative;
	min-width: 0;
	max-width: 360px;
}

.txs-app .txs-desk__selectwrap .txs-ico {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--txs-fg);
}

.txs-app .txs-desk__select {
	width: 100%;
	height: 40px;
	padding: 0 36px 0 14px;
	border-radius: 10px;
	border: 0;
	background: rgba(255, 255, 255, .08);
	color: var(--txs-fg);
	font-size: 14px;
	font-weight: 600;
	-webkit-appearance: none;
	appearance: none;
	text-overflow: ellipsis;
	cursor: pointer;
}

.txs-app .txs-desk__select option {
	background: #ffffff;
	color: var(--txs-ink);
}

.txs-app .txs-desk__spacer {
	flex: 1 1 auto;
}

.txs-app .txs-desk__label {
	font-size: 13px;
	color: var(--txs-muted);
	white-space: nowrap;
}

.txs-app .txs-desk__scan {
	height: 40px;
	padding: 0 16px;
	border-radius: 10px;
	background: var(--txs-gold);
	color: var(--txs-gold-ink);
	font-size: 14px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.txs-app .txs-desk__scan:hover {
	background: var(--txs-gold-hover);
	color: var(--txs-gold-ink);
}

.txs-app .txs-desk__avatar {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 0;
	background: #bd8b3d;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	padding: 0;
}

.txs-app .txs-desk__grid {
	flex: 1 1 auto;
	min-height: 0;
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr) 290px;
	gap: 20px;
	padding: 22px 24px 24px;
}

.txs-app .txs-desk__col {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 0;
}

.txs-app .txs-card {
	background: var(--txs-card);
	border: 1px solid var(--txs-rule);
	border-radius: 18px;
	padding: 18px 20px;
	color: var(--txs-ink);
}

.txs-app .txs-card__kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--txs-ink-3);
}

.txs-app .txs-card__title {
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 700;
}

.txs-app .txs-card__empty {
	font-size: 13px;
	color: var(--txs-ink-3);
}

.txs-app .txs-hero {
	padding: 20px;
}

.txs-app .txs-hero__nums {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-top: 6px;
}

.txs-app .txs-hero__num {
	font-family: var(--txs-num);
	font-size: 60px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -.03em;
	font-variant-numeric: lining-nums tabular-nums;
}

.txs-app .txs-hero__total {
	font-family: var(--txs-num);
	font-size: 20px;
	color: var(--txs-ink-3);
	font-variant-numeric: lining-nums tabular-nums;
}

.txs-app .txs-bar--desk {
	margin-top: 14px;
	height: 8px;
	border-radius: 4px;
	background: var(--txs-rule-soft);
}

.txs-app .txs-bar--desk .txs-bar__fill {
	background: var(--txs-desk-gold);
	border-radius: 4px;
}

.txs-app .txs-hero__text {
	margin-top: 8px;
	font-size: 13px;
	color: var(--txs-ink-3);
}

.txs-app .txs-tbars {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.txs-app .txs-tbar__row {
	display: flex;
	gap: 8px;
	font-size: 13px;
}

.txs-app .txs-tbar__name {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.txs-app .txs-tbar__nums {
	color: var(--txs-ink-2);
	font-variant-numeric: lining-nums tabular-nums;
	white-space: nowrap;
}

.txs-app .txs-tbar__track {
	margin-top: 5px;
	height: 6px;
	border-radius: 3px;
	background: var(--txs-rule-soft);
	overflow: hidden;
}

.txs-app .txs-tbar__fill {
	height: 100%;
	border-radius: 3px;
	background: var(--txs-desk-gold);
	transition: width .4s ease;
}

.txs-app .txs-arrivals {
	flex: 1 1 auto;
	min-height: 200px;
	display: flex;
	flex-direction: column;
}

.txs-app .txs-arrivals__chart {
	flex: 1 1 auto;
	min-height: 110px;
	display: flex;
	align-items: flex-end;
	gap: 10px;
	margin-top: 20px;
	padding: 0 4px;
	border-bottom: 1px solid var(--txs-rule);
}

.txs-app .txs-arrivals__chart > .txs-card__empty {
	align-self: center;
	margin: auto;
}

.txs-app .txs-arrivals__bar {
	position: relative;
	flex: 1 1 0;
	min-width: 6px;
	border-radius: 4px 4px 0 0;
	background: var(--txs-desk-gold);
	transition: height .4s ease;
}

.txs-app .txs-arrivals__bar.is-current {
	background: #e2cf9f;
}

.txs-app .txs-arrivals__peak {
	position: absolute;
	left: -10px;
	right: -10px;
	top: -19px;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	color: var(--txs-ink);
	font-variant-numeric: lining-nums tabular-nums;
}

.txs-app .txs-arrivals__axis {
	display: flex;
	gap: 10px;
	padding: 6px 4px 0;
	font-size: 11px;
	color: var(--txs-ink-3);
	font-variant-numeric: lining-nums tabular-nums;
}

.txs-app .txs-arrivals__axis span {
	flex: 1 1 0;
	min-width: 6px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: clip;
}

/* Centre table */
.txs-app .txs-desk__table {
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding: 0;
	overflow: hidden;
}

.txs-app .txs-desk__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
	padding: 18px 20px 14px;
}

.txs-app .txs-desk__find {
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.txs-app .txs-desk__findlabel {
	font-size: 12px;
	font-weight: 700;
	color: var(--txs-ink-2);
}

.txs-app .txs-search--desk > .txs-ico {
	left: 13px;
	color: var(--txs-ink-3);
}

.txs-app .txs-desk__input {
	width: 100%;
	height: 42px;
	padding: 0 14px 0 38px;
	border-radius: 10px;
	border: 1px solid #d8d1c2;
	background: #fbf9f5;
	color: var(--txs-ink);
	font-size: 14px;
	-webkit-appearance: none;
	appearance: none;
}

.txs-app .txs-desk__input::placeholder {
	color: #7a8294;
	opacity: 1;
}

.txs-app .txs-desk__input:focus {
	border-color: var(--txs-desk-gold);
}

.txs-app .txs-seg {
	display: flex;
	height: 42px;
	border-radius: 10px;
	border: 1px solid #d8d1c2;
	overflow: hidden;
}

.txs-app .txs-seg__btn {
	padding: 0 14px;
	border: 0;
	border-left: 1px solid #d8d1c2;
	background: #ffffff;
	color: var(--txs-ink);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	font-variant-numeric: lining-nums tabular-nums;
}

.txs-app .txs-seg__btn:first-child {
	border-left: 0;
}

.txs-app .txs-seg__btn[aria-pressed="true"] {
	background: var(--txs-ink);
	color: #ffffff;
	font-weight: 700;
}

.txs-app .txs-seg__btn:focus-visible {
	outline-offset: -3px;
}

.txs-app .txs-desk__tselect {
	height: 42px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid #d8d1c2;
	background: #ffffff;
	color: var(--txs-ink);
	font-size: 13px;
	font-weight: 600;
}

.txs-app .txs-desk__scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
}

.txs-app .txs-table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 14px;
	color: var(--txs-ink);
	background: none;
	margin: 0;
}

.txs-app .txs-table th {
	position: sticky;
	top: 0;
	z-index: 1;
	padding: 10px 10px;
	background: #faf7f1;
	color: var(--txs-ink-3);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-align: left;
	border: 0;
	white-space: nowrap;
}

.txs-app .txs-table th:first-child,
.txs-app .txs-table td:first-child {
	padding-left: 20px;
}

.txs-app .txs-table th:last-child,
.txs-app .txs-table td:last-child {
	padding-right: 20px;
}

.txs-app .txs-table td {
	height: 50px;
	padding: 6px 10px;
	border: 0;
	border-top: 1px solid var(--txs-rule-soft);
	vertical-align: middle;
	background: none;
}

.txs-app .txs-table tbody tr:hover td {
	background: #fdf8ec;
}

.txs-app .txs-table__name {
	font-weight: 600;
}

.txs-app .txs-table__contact {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 400;
	color: var(--txs-ink-3);
	overflow-wrap: anywhere;
}

.txs-app .txs-table__muted {
	color: var(--txs-ink-2);
}

.txs-app .txs-table__order {
	white-space: nowrap;
}

.txs-app .txs-table__faint {
	color: var(--txs-ink-3);
}

.txs-app .txs-table .txs-table__status {
	text-align: right;
}

.txs-app .txs-table__statusin {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
}

.txs-app .txs-table__in {
	color: #0f6b4f;
	font-weight: 600;
	font-variant-numeric: lining-nums tabular-nums;
	line-height: 1.3;
}

.txs-app .txs-table__undo {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 8px;
	background: none;
	color: #8a6a1f;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
}

.txs-app .txs-table__undo:hover {
	border-color: #e2cf9f;
	background: #fbf3df;
}

.txs-app .txs-table__checkin {
	min-height: 36px;
	padding: 0 14px;
	border-radius: 8px;
	border: 1.5px solid var(--txs-desk-gold);
	background: #ffffff;
	color: #6f5114;
	font-size: 13px;
	font-weight: 700;
}

.txs-app .txs-table__checkin:hover {
	background: #fbf3df;
}

.txs-app .txs-table__checkin[disabled],
.txs-app .txs-table__undo[disabled] {
	opacity: .6;
}

.txs-app .txs-flag {
	margin-left: 6px;
	padding: 3px 8px;
	border-radius: 999px;
	background: #fdf1d6;
	color: #7a4f06;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.txs-app .txs-table__empty,
.txs-app .txs-table__gate {
	padding: 32px 20px;
	text-align: center;
	color: var(--txs-ink-3);
}

.txs-app .txs-table__gate .txs-gatecard {
	margin: 0 auto;
	max-width: 420px;
	background: #fbf9f5;
	border-color: var(--txs-rule);
	color: var(--txs-ink);
}

.txs-app .txs-table__gate .txs-gatecard__icon {
	background: #f5ecd6;
	color: #6f5114;
}

.txs-app .txs-desk__foot {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 20px;
	border-top: 1px solid var(--txs-rule-soft);
	font-size: 13px;
	color: var(--txs-ink-3);
}

.txs-app .txs-desk__foottext {
	flex: 1 1 auto;
}

.txs-app.is-desk .txs-linkbtn {
	color: #8a6a1f;
}

.txs-app .txs-desk__more {
	min-height: 36px;
	padding: 0 14px;
	border-radius: 8px;
	border: 1px solid var(--txs-ink);
	background: #ffffff;
	color: var(--txs-ink);
	font-size: 13px;
	font-weight: 700;
}

/* Right column: live feed + doors */
.txs-app .txs-dfeed {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	padding: 18px 20px;
	border-radius: 18px;
	background: var(--txs-ink);
	color: var(--txs-fg);
	--txs-focus: #e8c77d;
}

.txs-app .txs-dfeed__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
}

.txs-app .txs-dfeed__list {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	margin-top: 12px;
}

.txs-app .txs-dfeed__item {
	display: flex;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	animation: txsRise .25s ease both;
}

.txs-app .txs-dfeed__item:last-child {
	border-bottom: 0;
}

.txs-app .txs-dfeed__time {
	width: 36px;
	flex-shrink: 0;
	padding-top: 2px;
	font-family: var(--txs-num);
	font-size: 12px;
	color: var(--txs-muted);
	font-variant-numeric: lining-nums tabular-nums;
}

.txs-app .txs-dfeed__main {
	flex: 1 1 auto;
	min-width: 0;
}

.txs-app .txs-dfeed__name {
	font-size: 14px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.txs-app .txs-dfeed__line {
	margin-top: 2px;
	font-size: 12px;
}

.txs-app .txs-dfeed__empty {
	padding: 10px 0;
	font-size: 13px;
	color: var(--txs-muted);
}

.txs-app .txs-door {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid var(--txs-rule-soft);
}

.txs-app .txs-door:last-child {
	border-bottom: 0;
}

.txs-app .txs-door .txs-dot--ok {
	background: #1f9d6c;
}

.txs-app .txs-door__main {
	flex: 1 1 auto;
	min-width: 0;
}

.txs-app .txs-door__name {
	font-size: 14px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.txs-app .txs-door__sub {
	font-size: 12px;
	color: var(--txs-ink-3);
}

.txs-app .txs-door__count {
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: lining-nums tabular-nums;
}

@media (max-width: 1239px) {
	.txs-app .txs-desk__grid {
		grid-template-columns: 240px minmax(0, 1fr) 240px;
		gap: 16px;
		padding: 18px;
	}
	.txs-app .txs-desk__label {
		display: none;
	}
	.txs-app .txs-hero__num {
		font-size: 52px;
	}
	.txs-app .txs-table td,
	.txs-app .txs-table th {
		padding-left: 8px;
		padding-right: 8px;
	}
}

/* Touch screens at desk width (tablets): full-size targets */
@media (pointer: coarse) {
	.txs-app .txs-table__checkin,
	.txs-app .txs-desk__more {
		min-height: 44px;
	}
	.txs-app .txs-table__undo {
		width: 44px;
		height: 44px;
	}
	.txs-app .txs-seg,
	.txs-app .txs-desk__input,
	.txs-app .txs-desk__tselect {
		height: 44px;
	}
}

/* Wide screens outside the desk: keep phone screens centred and roomy */
@media (min-width: 768px) {
	.txs-app .txs-screen {
		padding-top: calc(var(--txs-safe-t) + 48px);
	}
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.txs-app *,
	.txs-app *::before,
	.txs-app *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
	.txs-app .txs-vf[data-state="running"] .txs-vf__sweep {
		opacity: .8;
		top: 50%;
	}
}
