/* ═══════════════════════════════════════════════════════════════════════════
 * Clients (VX) — the vendor's client list for invitation-only pages.
 *
 * Token names and preset blocks are the other dashboard widgets' (class-subscribers.css,
 * class-packs.css): a site themed once looks themed everywhere. The base block is the «Minimal»
 * preset; the four others follow it — without them, picking a preset would silently do nothing.
 *
 * Sizes are px and line-heights unitless: the site's body line-height is a fixed px length that
 * would otherwise inflate every line (see vendor-bookings.css). Every native button is scoped
 * under the root, which beats the Elementor kit's `button` rule.
 * ═══════════════════════════════════════════════════════════════════════════ */

.vxb-clients [v-cloak],
.vxb-clients[v-cloak] { display: none; }

/* ── Base variables = the "Minimal" preset. Elementor's controls override these. ── */
.vxb-clients {
	--vxb-text: #1f2937;
	--vxb-muted: #6b7280;
	--vxb-border: #e5e7eb;
	--vxb-bg-soft: #f9fafb;
	--vxb-bg: #ffffff;
	--vxb-accent: var( --ts-accent-1, #1f7a54 );
	--vxb-on-accent: #ffffff;
	--vxb-radius: 12px;

	/* Status colours: requests wait on the vendor (amber), invitations wait on the member (blue),
	   clients are in (green), remove / decline (red). */
	--vxb-pending: #b45309;
	--vxb-invited: #2f6fd0;
	--vxb-completed: #1e7e45;
	--vxb-canceled: #b42318;

	color: var( --vxb-text );
	font-size: var(--sp-fs-s);
	line-height: 1.45;

	/* The layout keys off the WIDGET's width: a dashboard column is narrow on a wide screen. */
	container-type: inline-size;
}

.vxb-preset-soft .vxb-clients {
	--vxb-accent: #1d9e75; --vxb-bg: #fbfaf7; --vxb-bg-soft: #f3efe8;
	--vxb-text: #33302a; --vxb-muted: #8c8579; --vxb-border: #ece6db; --vxb-radius: 16px;
}
.vxb-preset-bold .vxb-clients {
	--vxb-accent: #534ab7; --vxb-bg: #ffffff; --vxb-bg-soft: #f1f0fb;
	--vxb-text: #1c1830; --vxb-muted: #6f6a86; --vxb-border: #e2e0f0; --vxb-radius: 18px;
}
.vxb-preset-midnight .vxb-clients {
	--vxb-accent: #8f86e6; --vxb-on-accent: #14121f; --vxb-bg: #1b1d24; --vxb-bg-soft: #23262f;
	--vxb-text: #eef0f5; --vxb-muted: #9aa1b1; --vxb-border: #313542;
	--vxb-completed: #5dcaa5; --vxb-pending: #efaf52; --vxb-canceled: #e86a6a; --vxb-invited: #85b7eb; --vxb-radius: 12px;
}
.vxb-preset-activity-rush .vxb-clients {
	--vxb-accent: #c0fa1e; --vxb-on-accent: #121416; --vxb-bg: #1c1e22; --vxb-bg-soft: #25272d;
	--vxb-text: #fafafa; --vxb-muted: #a1a4aa; --vxb-border: #30333a;
	--vxb-completed: #5dcaa5; --vxb-pending: #efaf52; --vxb-canceled: #f0616a; --vxb-invited: #85b7eb; --vxb-radius: 12px;
}

/* Doubled root class = (0,2,0): beats the kit's bare-element rules, loses to the components below. */
.vxb-clients.vxb-clients :where( button, input, select, textarea ) {
	font-family: inherit;
	font-size: var(--sp-fs-s);
	line-height: 1.45;
	letter-spacing: normal;
	text-transform: none;
}

.vxb-clients p,
.vxb-cl-sheetwrap p { margin: 0; }

.vxb-clients .sr-only,
.vxb-cl-sheetwrap .sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect( 0 0 0 0 ); white-space: nowrap; border: 0;
}

/* Outline icons: Voxel repaints any svg (`:where(svg)`, `.ts-btn svg`), so all three are forced. */
.vxb-clients .vxb-cl-i,
.vxb-cl-sheetwrap .vxb-cl-i,
.vxb-clients .vxb-cl-chev {
	flex: 0 0 auto;
	fill: none !important;
	stroke: currentColor !important;
	color: inherit !important;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ── Buttons: palette defaults; the Buttons section overrides them ──
 * Voxel's commons.css gives every `.ts-btn` `width:100%; height:44px; white-space:nowrap`. Left
 * alone, the header button pushes the title into a one-letter column and «Copy» / «Cancel»
 * cover the row they sit in, so all three are reset here; the grids stretch their own buttons. */
.vxb-clients .ts-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	min-width: 0;
	height: auto;
	min-height: 40px;
	white-space: normal;
	margin: 0;
	padding: 9px 14px;
	box-sizing: border-box;
	border-radius: 10px;
	font-size: var(--sp-fs-s);
	font-weight: var(--sp-fw-bold);
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
}
.vxb-clients .ts-btn-2 {
	background: var( --vxb-accent );
	border: 1px solid var( --vxb-accent );
	color: var( --vxb-on-accent );
}
.vxb-clients .ts-btn-1 {
	background: var( --vxb-bg );
	border: 1px solid var( --vxb-border );
	color: var( --vxb-text );
}
.vxb-clients .ts-btn-1:hover { background: var( --vxb-bg-soft ); }
.vxb-clients .ts-btn[disabled] { opacity: .55; cursor: default; }
.vxb-clients .ts-btn.vxb-cl-danger {
	border-color: color-mix( in srgb, var( --vxb-canceled ) 45%, var( --vxb-border ) );
	color: var( --vxb-canceled );
}
.vxb-clients .ts-btn.vxb-cl-danger.is-solid {
	background: var( --vxb-canceled );
	border-color: var( --vxb-canceled );
	color: #ffffff;
}
.vxb-clients .ts-btn.vxb-cl-small { min-height: 34px; padding: 6px 12px; font-size: var(--sp-fs-sm); flex: 0 0 auto; white-space: nowrap; }

/* ── Header ── */
.vxb-clients .vxb-cl-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}
.vxb-clients .vxb-cl-head-tx { min-width: 0; }
.vxb-clients .vxb-cl-head h2 {
	margin: 0 !important;
	font-size: var(--sp-fs-m) !important; /* as the other dashboard widgets' titles (class-subscribers.css) */
	font-weight: var(--sp-fw-bold);
	line-height: 1.25 !important;
	color: var( --vxb-text ) !important;
}
.vxb-clients .vxb-cl-sub { margin-top: 4px; font-size: var(--sp-fs-sm); color: var( --vxb-muted ); overflow-wrap: anywhere; }

.vxb-clients .vxb-cl-note { padding: 14px 0; color: var( --vxb-muted ); font-size: var(--sp-fs-s); }
.vxb-clients .vxb-cl-note.is-bad { color: var( --vxb-canceled ); }
.vxb-clients .vxb-cl-notice {
	margin-bottom: 14px;
	padding: 12px 14px;
	border: 1px dashed var( --vxb-border );
	border-radius: var( --vxb-radius );
	background: var( --vxb-bg-soft );
	color: var( --vxb-text );
	font-size: var(--sp-fs-sm);
}

/* ── Invitation link ── */
.vxb-clients .vxb-cl-link {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 14px;
	padding: 14px;
	border: 1px solid var( --vxb-border );
	border-radius: var( --vxb-radius );
	background: var( --vxb-cl-link-bg, var( --vxb-bg ) );
}
.vxb-clients .vxb-cl-link-h { display: flex; align-items: center; gap: 8px; }
.vxb-clients .vxb-cl-link-h .vxb-cl-i { color: var( --vxb-accent ) !important; }
.vxb-clients .vxb-cl-link-h p { font-size: var(--sp-fs-s); font-weight: var(--sp-fw-bold); color: var( --vxb-text ); }
.vxb-clients .vxb-cl-link-p { font-size: var(--sp-fs-sm); color: var( --vxb-muted ); }

.vxb-clients .vxb-cl-page { display: flex; align-items: center; gap: 8px; font-size: var(--sp-fs-sm); color: var( --vxb-muted ); }
.vxb-clients .vxb-cl-sel {
	flex: 1 1 auto;
	min-width: 0;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var( --vxb-border );
	border-radius: 8px;
	background: var( --vxb-bg );
	color: var( --vxb-text );
}

.vxb-clients .vxb-cl-url {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 5px 5px 5px 12px;
	border-radius: 10px;
	background: var( --vxb-cl-url-bg, var( --vxb-bg-soft ) );
}
.vxb-clients .vxb-cl-url-t {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: var(--sp-fs-sm);
	font-weight: var(--sp-fw-semibold);
	color: var( --vxb-text );
}
.vxb-clients .vxb-cl-copy { flex: 0 0 auto; min-height: 34px; padding: 6px 12px; font-size: var(--sp-fs-sm); white-space: nowrap; }

.vxb-clients .vxb-cl-share { display: grid; grid-template-columns: repeat( 3, minmax( 0, 1fr ) ); gap: 8px; }
.vxb-clients .vxb-cl-share.is-one { grid-template-columns: minmax( 0, 1fr ); }
.vxb-clients .vxb-cl-share .ts-btn { min-height: 36px; padding: 6px 8px; font-size: var(--sp-fs-sm); }

.vxb-clients .vxb-cl-confirm {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 11px;
	border: 1px solid var( --vxb-border );
	border-radius: 10px;
	background: var( --vxb-bg-soft );
}
.vxb-clients .vxb-cl-confirm p { font-size: var(--sp-fs-sm); color: var( --vxb-text ); }
.vxb-clients .vxb-cl-confirm.is-bad {
	border-color: color-mix( in srgb, var( --vxb-canceled ) 40%, var( --vxb-border ) );
	background: color-mix( in srgb, var( --vxb-canceled ) 8%, var( --vxb-bg ) );
}
.vxb-clients .vxb-cl-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vxb-clients .vxb-cl-row2 .ts-btn { min-height: 36px; padding: 7px 10px; font-size: var(--sp-fs-sm); }

/* ── Past customers not on the list ── */
.vxb-clients .vxb-cl-import {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 14px;
	padding: 12px 14px;
	border: 1px solid color-mix( in srgb, var( --vxb-completed ) 35%, var( --vxb-border ) );
	border-radius: var( --vxb-radius );
	background: color-mix( in srgb, var( --vxb-completed ) 7%, var( --vxb-bg ) );
}
.vxb-clients .vxb-cl-import p { flex: 1 1 220px; font-size: var(--sp-fs-sm); color: var( --vxb-text ); }

/* ── Filters ── */
.vxb-clients .vxb-cl-filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.vxb-clients .vxb-cl-chips {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px;
}
.vxb-clients .vxb-cl-chips::-webkit-scrollbar { display: none; }
.vxb-clients .vxb-cl-chip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	min-height: 0;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var( --vxb-border );
	border-radius: 999px;
	background: transparent;
	color: var( --vxb-text );
	font-size: var(--sp-fs-sm);
	font-weight: var(--sp-fw-bold);
	cursor: pointer;
	box-shadow: none;
}
.vxb-clients .vxb-cl-chipn { font-variant-numeric: tabular-nums; font-weight: var(--sp-fw-semibold); color: var( --vxb-muted ); }
.vxb-clients .vxb-cl-chip.hot::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var( --vxb-pending );
}
.vxb-clients .vxb-cl-chip.on {
	background: var( --vxb-cl-chip-on, var( --vxb-text ) );
	border-color: var( --vxb-cl-chip-on, var( --vxb-text ) );
	color: var( --vxb-bg );
}
.vxb-clients .vxb-cl-chip.on .vxb-cl-chipn { color: inherit; opacity: .7; }

/* Page filter (several private pages) beside the search; stacked in a narrow column. */
.vxb-clients .vxb-cl-tools { display: flex; flex-direction: column; gap: 8px; }
.vxb-clients .vxb-cl-tools > .vxb-cl-search { flex: 1 1 auto; min-width: 0; }
.vxb-clients .vxb-cl-pagef {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-size: var(--sp-fs-sm);
	color: var( --vxb-muted );
}
.vxb-clients .vxb-cl-pagef-k { flex: 0 0 auto; font-weight: var(--sp-fw-semibold); }
.vxb-clients .vxb-cl-pagef .vxb-cl-sel { height: 42px; border-radius: 10px; background: var( --vxb-cl-field-bg, var( --vxb-bg-soft ) ); }
@container ( min-width: 561px ) {
	.vxb-clients .vxb-cl-tools.has-page { flex-direction: row; align-items: center; }
	.vxb-clients .vxb-cl-tools.has-page .vxb-cl-pagef { flex: 0 1 300px; }
}

.vxb-clients .vxb-cl-search,
.vxb-cl-sheetwrap .vxb-cl-search {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 12px;
	box-sizing: border-box;
	border: 1px solid var( --vxb-border );
	border-radius: 10px;
	background: var( --vxb-cl-field-bg, var( --vxb-bg-soft ) );
	color: var( --vxb-muted );
}
.vxb-clients .vxb-cl-search:focus-within,
.vxb-cl-sheetwrap .vxb-cl-search:focus-within { border-color: var( --vxb-accent ); }
.vxb-clients .vxb-cl-in,
.vxb-cl-sheetwrap .vxb-cl-in {
	flex: 1 1 auto;
	min-width: 0;
	height: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var( --vxb-text ) !important;
	font-size: var(--sp-fs-s) !important;
	outline: none;
}
.vxb-clients .vxb-cl-in::placeholder,
.vxb-cl-sheetwrap .vxb-cl-in::placeholder { color: var( --vxb-muted ); opacity: .85; }

/* ── Sections and lists ── */
.vxb-clients .vxb-cl-sec { margin-top: 16px; }
.vxb-clients .vxb-cl-sec-t,
.vxb-cl-sheetwrap .vxb-cl-sec-t {
	margin: 0 0 8px;
	font-size: var(--sp-fs-2xs);
	font-weight: var(--sp-fw-bold);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var( --vxb-muted );
}
.vxb-clients .vxb-cl-sec-t span { font-weight: var(--sp-fw-semibold); letter-spacing: 0; }
.vxb-clients .vxb-cl-sec.is-req .vxb-cl-sec-t { color: var( --vxb-pending ); }
.vxb-clients .vxb-cl-sec.is-inv .vxb-cl-sec-t { color: var( --vxb-invited ); }
.vxb-clients .vxb-cl-sec.is-cli .vxb-cl-sec-t { color: var( --vxb-completed ); }
.vxb-clients .vxb-cl-sec.is-rem .vxb-cl-sec-t { color: var( --vxb-muted ); }
.vxb-clients .vxb-cl-sec.is-rem .vxb-cl-name { color: var( --vxb-muted ); }

.vxb-clients .vxb-cl-list,
.vxb-cl-sheetwrap .vxb-cl-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var( --vxb-border );
	border-radius: var( --vxb-radius );
	background: var( --vxb-cl-list-bg, var( --vxb-bg ) );
	overflow: hidden;
}
.vxb-clients .vxb-cl-row {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
}
.vxb-clients .vxb-cl-row + .vxb-cl-row,
.vxb-cl-sheetwrap .vxb-cl-list li + li { border-top: 1px solid var( --vxb-border ); }
.vxb-clients .vxb-cl-row.is-inline { flex-direction: row; align-items: center; justify-content: space-between; }

.vxb-clients .vxb-cl-who { display: flex; align-items: center; gap: 11px; min-width: 0; }
.vxb-clients .vxb-cl-toggle { cursor: pointer; border-radius: 8px; outline: none; }
.vxb-clients .vxb-cl-toggle:focus-visible { box-shadow: 0 0 0 2px var( --vxb-accent ); }
.vxb-clients .vxb-cl-tx { flex: 1 1 auto; min-width: 0; }

.vxb-clients .vxb-cl-av,
.vxb-cl-sheetwrap .vxb-cl-av {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var( --vxb-cl-avatar, 38px );
	height: var( --vxb-cl-avatar, 38px );
	border-radius: 50%;
	background: color-mix( in srgb, var( --vxb-cl-av-c, var( --vxb-accent ) ) 20%, var( --vxb-bg ) );
	color: var( --vxb-cl-av-c, var( --vxb-accent ) );
	font-size: var(--sp-fs-xs);
	font-weight: var(--sp-fw-bold);
}
.vxb-clients .vxb-cl-name,
.vxb-cl-sheetwrap .vxb-cl-name {
	font-size: var(--sp-fs-s);
	font-weight: var(--sp-fw-bold);
	line-height: 1.3;
	color: var( --vxb-text );
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.vxb-clients .vxb-cl-meta {
	margin-top: 1px;
	font-size: var(--sp-fs-xs);
	color: var( --vxb-muted );
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.vxb-clients .vxb-cl-chev { color: var( --vxb-muted ) !important; transition: transform .2s ease; }
.vxb-clients .vxb-cl-row.open .vxb-cl-chev { transform: rotate( 180deg ); }

.vxb-clients .vxb-cl-det {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 12px;
	border-radius: 10px;
	background: var( --vxb-cl-detail-bg, var( --vxb-bg-soft ) );
}
.vxb-clients .vxb-cl-det dl { display: grid; gap: 7px; margin: 0; }
.vxb-clients .vxb-cl-det dl div { display: flex; justify-content: space-between; gap: 12px; font-size: var(--sp-fs-sm); }
.vxb-clients .vxb-cl-det dt { color: var( --vxb-muted ); }
.vxb-clients .vxb-cl-det dd { margin: 0; font-weight: var(--sp-fw-semibold); text-align: right; color: var( --vxb-text ); }

/* ── «Invite clients»: in the header on a wide column, pinned to the bottom on a narrow one ── */
.vxb-clients .vxb-cl-invite-top { flex: 0 0 auto; white-space: nowrap; }
.vxb-clients .vxb-cl-bar { display: none; }

@container ( max-width: 560px ) {
	.vxb-clients .vxb-cl-invite-top { display: none; }
	.vxb-clients .vxb-cl-bar {
		display: block;
		position: sticky;
		bottom: calc( 12px + env( safe-area-inset-bottom, 0px ) );
		z-index: 5;
		margin-top: 16px;
	}
	.vxb-clients .vxb-cl-bar .ts-btn {
		width: 100%;
		min-height: 48px;
		font-size: var(--sp-fs-s);
		box-shadow: 0 10px 24px rgba( 0, 0, 0, .28 );
	}
}

/* ── The invite window (teleported to <body>; palette arrives inline) ── */
.vxb-cl-sheetwrap {
	position: fixed;
	inset: 0;
	z-index: 100020;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
	background: rgba( 8, 9, 11, .58 );
	color: var( --vxb-text, #1f2937 );
	font-size: var(--sp-fs-s);
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.vxb-cl-sheetwrap .vxb-cl-sheet {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: 460px;
	max-height: calc( 100vh - 32px );
	box-sizing: border-box;
	padding: 18px;
	border-radius: var( --vxb-radius, 14px );
	background: var( --vxb-cl-sheet-bg, var( --vxb-bg, #ffffff ) );
	box-shadow: 0 24px 60px rgba( 0, 0, 0, .35 );
}
.vxb-cl-sheetwrap .vxb-cl-grab { display: none; }
.vxb-cl-sheetwrap .vxb-cl-sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vxb-cl-sheetwrap .vxb-cl-sheet-t { font-size: var(--sp-fs-m); font-weight: var(--sp-fw-bold); line-height: 1.3; color: var( --vxb-text, #1f2937 ); }
.vxb-cl-sheetwrap .vxb-cl-x {
	width: 34px;
	height: 34px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var( --vxb-muted, #6b7280 );
	font-size: var(--sp-fs-l);
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}
.vxb-cl-sheetwrap .vxb-cl-x:hover { background: color-mix( in srgb, var( --vxb-text, #1f2937 ) 8%, transparent ); }
.vxb-cl-sheetwrap .vxb-cl-sheet-b {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 0;
	overflow-y: auto;
	margin: 0 -4px;
	padding: 0 4px;
}
.vxb-cl-sheetwrap .vxb-cl-note { padding: 10px 0; color: var( --vxb-muted, #6b7280 ); font-size: var(--sp-fs-sm); }
.vxb-cl-sheetwrap .vxb-cl-hint { font-size: var(--sp-fs-xs); color: var( --vxb-muted, #6b7280 ); }

.vxb-cl-sheetwrap .vxb-cl-pick {
	position: relative;
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 10px 12px;
	cursor: pointer;
}
.vxb-cl-sheetwrap .vxb-cl-pick input {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	pointer-events: none;
}
.vxb-cl-sheetwrap .vxb-cl-box {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	border: 1.5px solid var( --vxb-muted, #6b7280 );
	border-radius: 6px;
}
.vxb-cl-sheetwrap .vxb-cl-pick input:checked + .vxb-cl-box {
	background: var( --vxb-accent, #1f7a54 );
	border-color: var( --vxb-accent, #1f7a54 );
}
.vxb-cl-sheetwrap .vxb-cl-pick input:checked + .vxb-cl-box::after {
	content: "";
	width: 10px;
	height: 6px;
	border-left: 2.5px solid var( --vxb-on-accent, #ffffff );
	border-bottom: 2.5px solid var( --vxb-on-accent, #ffffff );
	transform: translateY( -1px ) rotate( -45deg );
}
.vxb-cl-sheetwrap .vxb-cl-pick input:focus-visible + .vxb-cl-box { outline: 2px solid var( --vxb-accent, #1f7a54 ); outline-offset: 2px; }
.vxb-cl-sheetwrap .vxb-cl-pick .vxb-cl-name { flex: 1 1 auto; min-width: 0; }

.vxb-cl-sheetwrap .vxb-cl-send {
	flex: 0 0 auto;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid var( --vxb-accent, #1f7a54 );
	border-radius: 10px;
	background: var( --vxb-accent, #1f7a54 );
	color: var( --vxb-on-accent, #ffffff );
	font-family: inherit;
	font-size: var(--sp-fs-s);
	font-weight: var(--sp-fw-bold);
	line-height: 1.25;
	cursor: pointer;
	box-shadow: none;
}
.vxb-cl-sheetwrap .vxb-cl-send[disabled] { opacity: .45; cursor: default; }
.vxb-cl-sheetwrap .vxb-cl-send:focus-visible,
.vxb-cl-sheetwrap .vxb-cl-x:focus-visible { outline: 2px solid var( --vxb-accent, #1f7a54 ); outline-offset: 2px; }

@media ( max-width: 640px ) {
	.vxb-cl-sheetwrap { align-items: flex-end; padding: 0; }
	.vxb-cl-sheetwrap .vxb-cl-sheet {
		max-width: none;
		max-height: 88vh;
		border-radius: 20px 20px 0 0;
		padding: 10px 16px calc( 16px + env( safe-area-inset-bottom, 0px ) );
	}
	.vxb-cl-sheetwrap .vxb-cl-grab {
		display: block;
		align-self: center;
		width: 40px;
		height: 4px;
		border-radius: 2px;
		background: color-mix( in srgb, var( --vxb-text, #1f2937 ) 20%, transparent );
	}
}

.vxb-cl-sheet-enter-active,
.vxb-cl-sheet-leave-active { transition: opacity .2s ease; }
.vxb-cl-sheet-enter-active .vxb-cl-sheet,
.vxb-cl-sheet-leave-active .vxb-cl-sheet { transition: transform .26s cubic-bezier( .2, .8, .2, 1 ); }
.vxb-cl-sheet-enter-from,
.vxb-cl-sheet-leave-to { opacity: 0; }
.vxb-cl-sheet-enter-from .vxb-cl-sheet,
.vxb-cl-sheet-leave-to .vxb-cl-sheet { transform: translateY( 24px ); }

/* ── The message after an action ── */
.vxb-cl-toast {
	position: fixed;
	left: 50%;
	bottom: calc( 20px + env( safe-area-inset-bottom, 0px ) );
	z-index: 100030;
	width: max-content;
	max-width: calc( 100vw - 32px );
	box-sizing: border-box;
	transform: translateX( -50% );
	padding: 12px 16px;
	border-radius: 12px;
	background: var( --vxb-cl-toast-bg, var( --vxb-text, #1f2937 ) );
	color: var( --vxb-cl-toast-text, var( --vxb-bg, #ffffff ) );
	font-size: var(--sp-fs-s);
	font-weight: var(--sp-fw-semibold);
	line-height: 1.4;
	box-shadow: 0 12px 30px rgba( 0, 0, 0, .3 );
}
.vxb-cl-toast-enter-active,
.vxb-cl-toast-leave-active { transition: opacity .2s ease, transform .2s ease; }
.vxb-cl-toast-enter-from,
.vxb-cl-toast-leave-to { opacity: 0; transform: translate( -50%, 8px ); }

@media ( prefers-reduced-motion: reduce ) {
	.vxb-clients .vxb-cl-chev,
	.vxb-cl-sheet-enter-active,
	.vxb-cl-sheet-leave-active,
	.vxb-cl-sheet-enter-active .vxb-cl-sheet,
	.vxb-cl-sheet-leave-active .vxb-cl-sheet,
	.vxb-cl-toast-enter-active,
	.vxb-cl-toast-leave-active { transition: none; }
}
