/* VE TicketApp — VESTART brand + iOS glass */

:root {
	/* VESTART palette (vestart.gr) */
	--ve-black: #000000;
	--ve-white: #ffffff;
	--ve-accent: #dfff00;
	--ve-accent-dim: #c8e600;
	--ve-warm: #c9a882;
	--ve-warm-deep: #a07850;
	--ve-danger-soft: #fce8e8;
	--ve-danger: #c44545;
	--ve-danger-deep: #a83838;
	--ve-cream: #f0ebe4;
	--ve-cream-deep: #e4ddd4;

	--ve-separator: rgba(0, 0, 0, 0.08);
	--ve-fill: rgba(0, 0, 0, 0.04);
	--ve-fill-2: rgba(0, 0, 0, 0.06);

	--ve-glass-bg: rgba(255, 255, 255, 0.52);
	--ve-glass-bg-elevated: rgba(255, 255, 255, 0.68);
	--ve-glass-border: rgba(255, 255, 255, 0.75);
	--ve-glass-blur: blur(40px) saturate(160%);

	--ve-text: #111111;
	--ve-text-secondary: rgba(0, 0, 0, 0.5);
	--ve-text-tertiary: rgba(0, 0, 0, 0.32);

	--ve-font-display: 'League Spartan', -apple-system, sans-serif;
	--ve-font-body: 'Poppins', -apple-system, sans-serif;

	--ve-radius-lg: 20px;
	--ve-radius-md: 14px;
	--ve-radius-sm: 10px;
	--ve-radius-pill: 980px;

	--ve-shadow-glass:
		0 1px 0 rgba(255, 255, 255, 0.9) inset,
		0 4px 24px rgba(0, 0, 0, 0.06),
		0 1px 3px rgba(0, 0, 0, 0.04);

	--ve-safe-top: env(safe-area-inset-top, 0px);
	--ve-safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body.ve-body {
	margin: 0;
	font-family: var(--ve-font-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--ve-text);
	background: var(--ve-cream);
	min-height: 100vh;
	overflow-x: hidden;
}

/* Warm mesh — terracotta tones from vestart.gr hero */
.ve-bg-mesh {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	background: var(--ve-cream);
}

.ve-bg-mesh::before,
.ve-bg-mesh::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
}

.ve-bg-mesh::before {
	width: 65vmax;
	height: 65vmax;
	top: -18%;
	right: -12%;
	background: radial-gradient(circle, rgba(201, 168, 130, 0.55) 0%, transparent 68%);
	animation: ve-drift-a 30s ease-in-out infinite alternate;
}

.ve-bg-mesh::after {
	width: 55vmax;
	height: 55vmax;
	bottom: -8%;
	left: -10%;
	background: radial-gradient(circle, rgba(160, 120, 80, 0.35) 0%, transparent 70%);
	animation: ve-drift-b 26s ease-in-out infinite alternate;
}

.ve-bg-mesh__blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
}

.ve-bg-mesh__blob--1 {
	width: 40vmax;
	height: 40vmax;
	top: 35%;
	left: 20%;
	background: radial-gradient(circle, rgba(223, 255, 0, 0.12) 0%, transparent 70%);
	animation: ve-drift-c 22s ease-in-out infinite alternate;
}

.ve-bg-mesh__blob--2 {
	width: 30vmax;
	height: 30vmax;
	top: 8%;
	left: 55%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
	animation: ve-drift-b 18s ease-in-out infinite alternate-reverse;
}

.ve-bg-mesh__blob--3 {
	width: 25vmax;
	height: 25vmax;
	bottom: 20%;
	right: 25%;
	background: radial-gradient(circle, rgba(0, 0, 0, 0.04) 0%, transparent 70%);
}

@keyframes ve-drift-a {
	from { transform: translate(0, 0) scale(1); }
	to   { transform: translate(-4%, 6%) scale(1.06); }
}

@keyframes ve-drift-b {
	from { transform: translate(0, 0); }
	to   { transform: translate(5%, -4%); }
}

@keyframes ve-drift-c {
	from { transform: translate(0, 0); }
	to   { transform: translate(-3%, 5%); }
}

.ve-app {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* ── Header ── */
.ve-header {
	position: sticky;
	top: 0;
	z-index: 100;
	padding: calc(14px + var(--ve-safe-top)) 20px 14px;
	background: rgba(240, 235, 228, 0.72);
	backdrop-filter: var(--ve-glass-blur);
	-webkit-backdrop-filter: var(--ve-glass-blur);
	border-bottom: 0.5px solid var(--ve-separator);
}

.ve-header__inner {
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ve-header__start {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ve-menu-toggle {
	display: none;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0.5px solid var(--ve-separator);
	border-radius: var(--ve-radius-sm);
	background: var(--ve-glass-bg);
	backdrop-filter: var(--ve-glass-blur);
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.ve-menu-toggle span {
	display: block;
	width: 18px;
	height: 1.5px;
	background: var(--ve-black);
	border-radius: 1px;
	transition: transform 0.2s, opacity 0.2s;
}

body.ve-sidebar-open .ve-menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.ve-sidebar-open .ve-menu-toggle span:nth-child(2) { opacity: 0; }
body.ve-sidebar-open .ve-menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── App layout + sidebar ── */
.ve-layout {
	display: flex;
	flex: 1;
	max-width: 1320px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
	gap: 24px;
	align-items: flex-start;
}

.ve-sidebar {
	width: 240px;
	flex-shrink: 0;
	position: sticky;
	top: calc(72px + var(--ve-safe-top));
	background: var(--ve-glass-bg);
	backdrop-filter: var(--ve-glass-blur);
	-webkit-backdrop-filter: var(--ve-glass-blur);
	border: 0.5px solid var(--ve-glass-border);
	border-radius: var(--ve-radius-lg);
	box-shadow: var(--ve-shadow-glass);
	padding: 16px 12px;
	display: flex;
	flex-direction: column;
	min-height: 320px;
}

.ve-sidebar__nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}

.ve-sidebar__link {
	display: block;
	padding: 12px 14px;
	border-radius: var(--ve-radius-sm);
	text-decoration: none;
	color: var(--ve-text-secondary);
	font-family: var(--ve-font-display);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	transition: background 0.15s, color 0.15s;
}

.ve-sidebar__link:hover {
	background: var(--ve-fill);
	color: var(--ve-black);
}

.ve-sidebar__link.is-active {
	background: var(--ve-black);
	color: var(--ve-white);
}

.ve-sidebar__footer {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 0.5px solid var(--ve-separator);
}

.ve-sidebar__user {
	display: block;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 8px;
	color: var(--ve-text);
}

.ve-sidebar__logout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: var(--ve-radius-sm);
	font-family: var(--ve-font-display);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-decoration: none;
	background: rgba(196, 69, 69, 0.3);
	color: var(--ve-black);
	/* border: 1.5px solid rgba(196, 69, 69, 0.3); */
	transition: background 0.15s, color 0.15s, border-color 0.15s;
	width: 100%;
}

.ve-sidebar__logout:hover {
	background: rgba(196, 69, 69, 0.18);
	color: var(--ve-danger-deep);
	border-color: rgba(196, 69, 69, 0.45);
}

.ve-sidebar-backdrop {
	display: none;
}

.ve-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

body.ve-body--app .ve-main {
	padding-left: 0;
	padding-right: 0;
}

.ve-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ve-black);
}

.ve-logo__mark {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: var(--ve-black);
	color: var(--ve-white);
	font-family: var(--ve-font-display);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	letter-spacing: -0.04em;
}

.ve-logo__text {
	font-family: var(--ve-font-display);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ve-header__nav {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ve-header__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--ve-black);
	color: var(--ve-white);
	font-family: var(--ve-font-display);
	font-size: 13px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* ── Layout ── */
.ve-main {
	flex: 1;
	padding: 12px 20px calc(32px + var(--ve-safe-bottom));
}

.ve-container {
	max-width: 100%;
	margin: 0 auto;
}

.ve-container--wide {
	max-width: 100%;
}

.ve-container--narrow {
	max-width: 440px;
}

.ve-hero--compact {
	margin-bottom: 24px;
}

/* ── Hero / large title ── */
.ve-hero {
	margin-bottom: 28px;
	padding-top: 8px;
}

.ve-hero__eyebrow {
	font-family: var(--ve-font-display);
	font-size: 12px;
	font-weight: 500;
	color: var(--ve-text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin: 0 0 6px;
}

.ve-hero__title {
	font-family: var(--ve-font-display);
	font-size: clamp(32px, 8vw, 42px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0 0 8px;
	color: var(--ve-black);
}

.ve-hero__subtitle {
	font-size: 14px;
	font-weight: 400;
	color: var(--ve-text-secondary);
	margin: 0;
	letter-spacing: 0.01em;
}

.ve-hero__actions {
	margin-top: 16px;
}

/* ── Glass surfaces ── */
.ve-glass,
.ve-card {
	background: var(--ve-glass-bg);
	backdrop-filter: var(--ve-glass-blur);
	-webkit-backdrop-filter: var(--ve-glass-blur);
	border: 0.5px solid var(--ve-glass-border);
	border-radius: var(--ve-radius-lg);
	box-shadow: var(--ve-shadow-glass);
}

.ve-card { padding: 20px; }
.ve-card--empty {
	text-align: center;
	padding: 32px 20px;
	color: var(--ve-text-secondary);
	font-size: 14px;
}

.ve-card + .ve-card { margin-top: 20px; }

/* ── Grouped list (iOS) ── */
.ve-section { margin-bottom: 28px; }

.ve-section__header {
	font-family: var(--ve-font-display);
	font-size: 11px;
	font-weight: 600;
	color: var(--ve-text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	padding: 0 4px 8px;
}

.ve-group__body {
	background: var(--ve-glass-bg);
	backdrop-filter: var(--ve-glass-blur);
	-webkit-backdrop-filter: var(--ve-glass-blur);
	border: 0.5px solid var(--ve-glass-border);
	border-radius: var(--ve-radius-md);
	box-shadow: var(--ve-shadow-glass);
	overflow: hidden;
}

.ve-group__row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	text-decoration: none;
	color: inherit;
	position: relative;
	transition: background 0.15s;
}

.ve-group__row:not(:last-child)::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 16px;
	right: 0;
	height: 0.5px;
	background: var(--ve-separator);
}

.ve-group__row:active { background: var(--ve-fill); }

.ve-group__row-content { flex: 1; min-width: 0; }

.ve-group__row-title {
	display: block;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ve-group__row-subtitle {
	display: block;
	font-size: 12px;
	color: var(--ve-text-secondary);
	margin-top: 3px;
}

.ve-group__row-accessory {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.ve-chevron {
	width: 7px;
	height: 12px;
	opacity: 0.25;
	flex-shrink: 0;
	color: var(--ve-black);
}

/* ── Stats widgets ── */
.ve-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: 12px;
	margin-bottom: 28px;
}

.ve-stat {
	background: var(--ve-glass-bg-elevated);
	backdrop-filter: var(--ve-glass-blur);
	-webkit-backdrop-filter: var(--ve-glass-blur);
	border: 0.5px solid var(--ve-glass-border);
	border-radius: var(--ve-radius-md);
	padding: 18px 16px;
	box-shadow: var(--ve-shadow-glass);
}

.ve-stat__value {
	font-family: var(--ve-font-display);
	font-size: 36px;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--ve-black);
}

.ve-stat__label {
	font-family: var(--ve-font-display);
	font-size: 10px;
	font-weight: 600;
	color: var(--ve-text-secondary);
	margin-top: 8px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.ve-stat--accent .ve-stat__value { color: var(--ve-warm-deep); }
.ve-stat--lime .ve-stat__value {
	color: var(--ve-black);
	background: var(--ve-accent);
	display: inline-block;
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 30px;
}

/* ── Info grid ── */
.ve-info-grid { margin-bottom: 28px; }

.ve-info-grid .ve-group__row-title {
	font-size: 11px;
	font-family: var(--ve-font-display);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--ve-text-secondary);
}

.ve-info-grid .ve-group__row-subtitle {
	font-size: 15px;
	font-weight: 500;
	color: var(--ve-text);
}

/* ── Badges ── */
.ve-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: var(--ve-radius-pill);
	font-family: var(--ve-font-display);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.ve-badge--open     { background: rgba(0, 0, 0, 0.08); color: var(--ve-black); }
.ve-badge--progress { background: var(--ve-accent); color: var(--ve-black); }
.ve-badge--waiting  { background: var(--ve-fill-2); color: var(--ve-text-secondary); }
.ve-badge--resolved { background: rgba(0, 0, 0, 0.85); color: var(--ve-white); }
.ve-badge--closed   { background: var(--ve-fill); color: var(--ve-text-tertiary); }
.ve-badge--low      { background: var(--ve-fill); color: var(--ve-text-secondary); }
.ve-badge--normal   { background: rgba(0, 0, 0, 0.08); color: var(--ve-black); }
.ve-badge--high     { background: var(--ve-warm); color: var(--ve-black); }
.ve-badge--urgent   { background: var(--ve-black); color: var(--ve-accent); }
.ve-badge--default  { background: var(--ve-fill); color: var(--ve-text-secondary); }

.ve-entry-closed-flag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px 5px 8px;
	border-radius: var(--ve-radius-pill);
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.78));
	color: var(--ve-accent);
	border: 0.5px solid rgba(223, 255, 0, 0.35);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.08) inset,
		0 2px 8px rgba(0, 0, 0, 0.12);
	font-family: var(--ve-font-display);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
	flex-shrink: 0;
}

.ve-entry-closed-flag__icon {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.ve-entry-closed-flag--inline {
	display: none;
}

.ve-group__row--closed-agreement .ve-group__row-title {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

@media (max-width: 640px) {
	.ve-group__row-accessory .ve-entry-closed-flag {
		display: none;
	}

	.ve-entry-closed-flag--inline {
		display: inline-flex;
		padding: 3px 8px 3px 6px;
		font-size: 9px;
	}

	.ve-entry-closed-flag--inline .ve-entry-closed-flag__icon {
		width: 12px;
		height: 12px;
	}
}

/* ── Buttons (VESTART: black fill + outline) ── */
.ve-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 14px 24px;
	border-radius: var(--ve-radius-sm);
	font-family: var(--ve-font-display);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	cursor: pointer;
	border: 1.5px solid transparent;
	text-decoration: none;
	transition: opacity 0.15s, transform 0.1s, background 0.15s;
	-webkit-appearance: none;
	appearance: none;
}

.ve-btn:active { transform: scale(0.98); opacity: 0.88; }

.ve-btn--primary {
	background: var(--ve-black);
	color: var(--ve-white);
	border-color: var(--ve-black);
}

.ve-btn--primary:hover { background: #222; }

.ve-btn--outline {
	background: transparent;
	color: var(--ve-black);
	border-color: var(--ve-black);
}

.ve-btn--outline:hover { background: rgba(0, 0, 0, 0.04); }

.ve-btn--ghost {
	background: var(--ve-fill);
	color: var(--ve-black);
	border-color: transparent;
}

.ve-btn--ghost:hover { background: var(--ve-fill-2); }

.ve-btn--sm {
	padding: 8px 16px;
	font-size: 11px;
}

.ve-btn--block { width: 100%; }

/* ── Button loading / disabled state (prevents double-submit) ── */
.ve-btn:disabled,
.ve-btn[aria-disabled="true"] {
	opacity: 0.65;
	cursor: not-allowed;
}

.ve-btn.is-loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
}

.ve-btn.is-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	animation: ve-btn-spin 0.6s linear infinite;
}

.ve-btn--outline.is-loading::after,
.ve-btn--ghost.is-loading::after {
	border-color: rgba(0, 0, 0, 0.2);
	border-top-color: var(--ve-black);
}

@keyframes ve-btn-spin {
	to { transform: rotate(360deg); }
}

/* ── Forms ── */
.ve-form-stack { margin-bottom: 16px; }

.ve-form-stack .ve-group__body {
	background: var(--ve-glass-bg-elevated);
}

.ve-field {
	display: flex;
	flex-direction: column;
	padding: 12px 16px;
	gap: 4px;
}

.ve-field:not(:last-child) {
	border-bottom: 0.5px solid var(--ve-separator);
}

.ve-field label {
	font-family: var(--ve-font-display);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--ve-text-secondary);
}

.ve-input {
	width: 100%;
	padding: 0;
	background: transparent;
	border: none;
	color: var(--ve-text);
	font-family: var(--ve-font-body);
	font-size: 15px;
	font-weight: 400;
	outline: none;
}

.ve-input::placeholder { color: var(--ve-text-tertiary); }

.ve-checkbox-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 16px;
	font-size: 14px;
	color: var(--ve-text);
}

.ve-checkbox-row input {
	width: 18px;
	height: 18px;
	accent-color: var(--ve-black);
}

.ve-alert {
	padding: 12px 16px;
	border-radius: var(--ve-radius-sm);
	font-size: 14px;
	margin-bottom: 16px;
}

.ve-alert--error {
	background: rgba(0, 0, 0, 0.06);
	border: 1.5px solid var(--ve-black);
	color: var(--ve-black);
}

.ve-alert--success {
	background: rgba(223, 255, 0, 0.25);
	border: 1.5px solid var(--ve-accent-dim);
	color: var(--ve-black);
}

/* ── Ticket meta form ── */
.ve-ticket-meta-form { margin-bottom: 28px; }

.ve-ticket-meta-form__actions {
	margin-top: 16px;
}

.ve-field--select {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.ve-field--select label {
	flex-shrink: 0;
	margin: 0;
}

.ve-select {
	flex: 1;
	min-width: 0;
	max-width: 220px;
	padding: 8px 32px 8px 12px;
	background: var(--ve-white);
	border: 1px solid var(--ve-separator);
	border-radius: var(--ve-radius-sm);
	color: var(--ve-text);
	font-family: var(--ve-font-body);
	font-size: 14px;
	font-weight: 500;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23000' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	cursor: pointer;
	outline: none;
}

.ve-select:focus {
	border-color: var(--ve-black);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

@media (max-width: 480px) {
	.ve-field--select {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.ve-select {
		max-width: none;
		width: 100%;
	}
}

/* ── PWA Install landing ── */
.ve-install {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding: 32px 0;
}

.ve-install__brand {
	text-align: center;
	margin-bottom: 28px;
}

.ve-install__icon {
	display: block;
	width: 88px;
	height: 88px;
	border-radius: 22px;
	margin: 0 auto 18px;
	object-fit: cover;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.ve-install__icon--text {
	background: var(--ve-black);
	color: var(--ve-white);
	font-family: var(--ve-font-display);
	font-size: 46px;
	font-weight: 700;
	line-height: 88px;
	letter-spacing: -0.04em;
}

.ve-install__title {
	font-family: var(--ve-font-display);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0 0 6px;
	color: var(--ve-black);
}

.ve-install__subtitle {
	font-size: 14px;
	color: var(--ve-text-secondary);
	margin: 0;
}

.ve-install__card {
	width: 100%;
	padding: 20px;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ve-install__choices {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ve-install__btn {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 16px 18px;
	border: 1px solid var(--ve-separator);
	border-radius: 16px;
	background: var(--ve-white);
	cursor: pointer;
	text-align: left;
	transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.ve-install__btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	border-color: var(--ve-black);
}

.ve-install__btn--suggested {
	border-color: var(--ve-black);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ve-install__btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 12px;
	background: var(--ve-black);
	color: var(--ve-white);
}

.ve-install__btn-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ve-install__btn-text strong {
	font-size: 16px;
	color: var(--ve-black);
}

.ve-install__btn-text small {
	font-size: 12px;
	color: var(--ve-text-secondary);
}

.ve-install__steps-title {
	font-family: var(--ve-font-display);
	font-weight: 600;
	font-size: 15px;
	margin: 0 0 12px;
	color: var(--ve-black);
}

.ve-install__steps-list {
	margin: 0 0 16px;
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ve-text);
}

.ve-install__inline-icon {
	display: inline-flex;
	vertical-align: middle;
	margin: 0 2px;
	color: var(--ve-black);
}

.ve-install__hint {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ve-text-secondary);
	padding: 12px 14px;
	background: var(--ve-surface-2, #faf8f5);
	border-radius: 12px;
}

.ve-install__standalone {
	display: flex;
	flex-direction: column;
	gap: 14px;
	text-align: center;
	font-size: 15px;
	color: var(--ve-text);
}

.ve-install__footer {
	margin-top: 22px;
	font-size: 13px;
}

.ve-install__footer a {
	color: var(--ve-text-secondary);
	text-decoration: none;
	font-family: var(--ve-font-display);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ve-install__footer a:hover {
	color: var(--ve-black);
}

/* ── Login ── */
.ve-body--login .ve-app {
	min-height: 100dvh;
}

.ve-body--login .ve-main {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
}

.ve-body--login .ve-container--narrow {
	width: 100%;
}

.ve-login {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: calc(100dvh - 90px);
	padding: 24px 0;
}

.ve-body--login .ve-login {
	min-height: auto;
	width: 100%;
	padding: 40px 0;
}

.ve-login__brand {
	text-align: center;
	margin-bottom: 40px;
}

.ve-login__icon {
	width: 80px;
	height: 80px;
	border-radius: 20px;
	background: var(--ve-black);
	color: var(--ve-white);
	font-family: var(--ve-font-display);
	font-size: 44px;
	font-weight: 700;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
	letter-spacing: -0.04em;
}

.ve-login__title {
	font-family: var(--ve-font-display);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin: 0 0 6px;
	color: var(--ve-black);
}

.ve-login__subtitle {
	font-family: var(--ve-font-display);
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--ve-text-secondary);
	margin: 0;
}

.ve-login__form { width: 100%; }

.ve-login__footer {
	text-align: center;
	margin-top: 28px;
	font-size: 12px;
}

.ve-login__footer a {
	color: var(--ve-text-secondary);
	text-decoration: none;
	font-family: var(--ve-font-display);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ve-login__footer a:hover { color: var(--ve-black); }

/* ── Admin rows ── */
.ve-admin-row .ve-group__row-accessory {
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

/* ── Ticket detail ── */
.ve-detail-meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	color: var(--ve-text-secondary);
	margin-bottom: 20px;
	font-family: var(--ve-font-display);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ve-ticket-content {
	font-size: 15px;
	line-height: 1.6;
	color: var(--ve-text);
}

.ve-ticket-content p { margin: 0 0 1em; }
.ve-ticket-content p:last-child { margin-bottom: 0; }

.ve-back-link { margin-top: 24px; }

.ve-ticket-item__badges { display: flex; gap: 6px; flex-wrap: wrap; }

/* ── Footer ── */
.ve-footer {
	padding: 20px;
	text-align: center;
	color: var(--ve-text-tertiary);
	font-family: var(--ve-font-display);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* ── Legacy ── */
.ve-section-title {
	font-family: var(--ve-font-display);
	font-size: 11px;
	font-weight: 600;
	color: var(--ve-text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin: 0 0 8px;
	padding: 0 4px;
}

.ve-ticket-list { list-style: none; padding: 0; margin: 0; }

.ve-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.ve-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.ve-table th {
	text-align: left;
	padding: 10px 16px;
	font-family: var(--ve-font-display);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--ve-text-secondary);
	border-bottom: 0.5px solid var(--ve-separator);
}

.ve-table td {
	padding: 12px 16px;
	border-bottom: 0.5px solid var(--ve-separator);
}

.ve-table tr:last-child td { border-bottom: none; }
.ve-table tr:active td { background: var(--ve-fill); }

.ve-table a {
	color: var(--ve-black);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ── Customer management ── */
.ve-customers-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ve-customer-card {
	background: var(--ve-glass-bg);
	backdrop-filter: var(--ve-glass-blur);
	-webkit-backdrop-filter: var(--ve-glass-blur);
	border: 0.5px solid var(--ve-glass-border);
	border-radius: var(--ve-radius-md);
	box-shadow: var(--ve-shadow-glass);
	overflow: hidden;
}

.ve-customer-card.is-open {
	border-color: rgba(0, 0, 0, 0.15);
}

.ve-customer-card__summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px;
}

.ve-customer-card__name {
	font-family: var(--ve-font-display);
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 6px;
	letter-spacing: -0.02em;
}

.ve-customer-card__meta {
	font-size: 13px;
	color: var(--ve-text-secondary);
	margin: 0 0 4px;
}

.ve-customer-card__link {
	font-size: 12px;
	color: var(--ve-black);
	word-break: break-all;
}

.ve-customer-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex-shrink: 0;
}

.ve-customer-card__edit {
	padding: 0 18px 18px;
	border-top: 0.5px solid var(--ve-separator);
}

.ve-customer-form__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
}

.ve-field--full { grid-column: 1 / -1; }

.ve-input--boxed {
	padding: 10px 12px !important;
	background: var(--ve-white) !important;
	border: 1px solid var(--ve-separator) !important;
	border-radius: var(--ve-radius-sm) !important;
}

.ve-select--full {
	max-width: none;
	width: 100%;
}

.ve-textarea {
	width: 100%;
	padding: 10px 12px;
	background: var(--ve-white);
	border: 1px solid var(--ve-separator);
	border-radius: var(--ve-radius-sm);
	font-family: var(--ve-font-body);
	font-size: 14px;
	resize: vertical;
	min-height: 80px;
}

.ve-customer-form__actions {
	margin-top: 14px;
}

.ve-customer-resend-mail {
	margin-top: 10px;
}

.ve-customer-form .ve-field {
	border-bottom: 0.5px solid var(--ve-separator);
}

.ve-new-ticket-form { margin-bottom: 32px; }

.ve-new-ticket-toggle-wrap {
	margin-bottom: 20px;
}

.ve-new-ticket-toggle {
	width: 100%;
	justify-content: space-between;
}

.ve-new-ticket-toggle__icon {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.25s ease;
	margin-top: -3px;
}

.ve-new-ticket-toggle[aria-expanded="true"] .ve-new-ticket-toggle__icon {
	transform: rotate(-135deg);
	margin-top: 3px;
}

.ve-slide-panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s ease;
	margin-bottom: 0;
}

.ve-slide-panel.is-open {
	grid-template-rows: 1fr;
	margin-bottom: 28px;
}

.ve-slide-panel__inner {
	overflow: hidden;
	min-height: 0;
}

.ve-afm-row {
	display: flex;
	gap: 10px;
	align-items: stretch;
	width: 100%;
}

.ve-afm-row .ve-input {
	flex: 1;
}

.ve-afm-row .ve-btn {
	flex-shrink: 0;
	align-self: center;
}

.ve-field--afm {
	flex-direction: column;
	align-items: stretch;
}

.js-afm-status.is-error {
	color: #b00020;
}

.js-afm-status:not(.is-error):not([hidden]) {
	color: var(--ve-text-secondary);
}

.js-afm-status a {
	color: var(--ve-text);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
	.ve-menu-toggle { display: flex; }

	.ve-layout {
		padding: 0 16px;
		gap: 0;
	}

	.ve-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(280px, 85vw);
		z-index: 200;
		border-radius: 0;
		padding-top: calc(72px + var(--ve-safe-top));
		transform: translateX(-100%);
		transition: transform 0.28s ease, visibility 0.28s;
		min-height: 100dvh;
		visibility: hidden;
		pointer-events: none;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	body.ve-sidebar-open .ve-sidebar {
		transform: translateX(0);
		visibility: visible;
		pointer-events: auto;
		backdrop-filter: var(--ve-glass-blur);
		-webkit-backdrop-filter: var(--ve-glass-blur);
	}

	.ve-sidebar-backdrop {
		display: none;
		position: fixed;
		inset: 0;
		z-index: 150;
		background: rgba(0, 0, 0, 0.4);
	}

	body.ve-sidebar-open .ve-sidebar-backdrop:not([hidden]) {
		display: block;
	}

	.ve-customer-form__grid {
		grid-template-columns: 1fr;
	}

	.ve-customer-card__summary {
		flex-direction: column;
	}
}

@media (max-width: 640px) {
	.ve-main { padding-left: 16px; padding-right: 16px; }
	body.ve-body--app .ve-main { padding-left: 0; padding-right: 0; }
	.ve-header { padding-left: 16px; padding-right: 16px; }
	.ve-stats { grid-template-columns: repeat(2, 1fr); }
	.ve-admin-row .ve-group__row { align-items: flex-start; }
}

@media (min-width: 768px) {
	.ve-main { padding-top: 20px; }
}

/* ── Conversation ── */
.ve-conversation { margin-bottom: 28px; }

.ve-conversation__thread {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 24px;
}

.ve-message {
	background: var(--ve-glass-bg);
	backdrop-filter: var(--ve-glass-blur);
	-webkit-backdrop-filter: var(--ve-glass-blur);
	border: 0.5px solid var(--ve-glass-border);
	border-radius: var(--ve-radius-md);
	padding: 16px;
	box-shadow: var(--ve-shadow-glass);
}

/* Θ΄ */

/* .ve-message--customer {
	border-left: 3px solid var(--ve-accent);
} */

.ve-message__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.ve-message__author {
	font-family: var(--ve-font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ve-message__role {
	font-family: var(--ve-font-display);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: var(--ve-radius-pill);
	background: var(--ve-black);
	color: var(--ve-white);
}

.ve-message--customer .ve-message__role {
	background: var(--ve-accent);
	color: var(--ve-black);
}

.ve-message__time {
	margin-left: auto;
	font-size: 11px;
	color: var(--ve-text-secondary);
	font-family: var(--ve-font-display);
	letter-spacing: 0.04em;
}

.ve-message__body { font-size: 15px; }

.ve-message__attachments {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.ve-message__attachment {
	display: block;
	border-radius: var(--ve-radius-sm);
	overflow: hidden;
	border: 0.5px solid var(--ve-separator);
	max-width: 160px;
}

.ve-message__attachment img {
	display: block;
	width: 100%;
	height: auto;
}

.ve-conversation__reply { margin-top: 8px; }

.ve-reply-form__editor {
	padding: 0;
	overflow: hidden;
}

.ve-reply-form__editor .wp-editor-wrap {
	border: none;
}

.ve-reply-form__editor .wp-editor-container {
	border: none;
}

.ve-reply-form__editor .mce-toolbar-grp,
.ve-reply-form__editor .quicktags-toolbar {
	background: var(--ve-cream-deep) !important;
	border-bottom: 0.5px solid var(--ve-separator) !important;
}

.ve-reply-form__editor .wp-editor-area {
	border: none !important;
	font-family: var(--ve-font-body) !important;
	font-size: 15px !important;
	padding: 12px 16px !important;
	min-height: 160px;
}

.ve-reply-form__upload { margin-top: 12px; }

.ve-field--file {
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
}

.ve-file-input {
	font-family: var(--ve-font-body);
	font-size: 13px;
}

.ve-field__hint {
	margin: 0;
	font-size: 12px;
	color: var(--ve-text-secondary);
}

.ve-reply-form__actions { margin-top: 16px; }

.ve-ticket-summary { margin-bottom: 24px; }

.ve-ticket-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--ve-radius-sm);
}

.ve-ticket-content a { color: var(--ve-black); }

/* ── Ticket billing & quote FAB ── */
.ve-ticket-billing { margin-bottom: 24px; }

.ve-ticket-billing__card {
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ve-ticket-billing__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.ve-ticket-billing__label {
	font-size: 13px;
	color: var(--ve-text-secondary);
}

.ve-ticket-billing__value {
	font-size: 15px;
	font-weight: 600;
}

.ve-ticket-billing__payment {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 6px;
	border-top: 0.5px solid var(--ve-separator);
}

.ve-ticket-billing__link-row {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.ve-ticket-billing__link-input {
	flex: 1;
	min-width: 0;
	font-size: 12px !important;
}

.ve-ticket-billing__paid-note {
	margin: 0;
	font-size: 13px;
	color: var(--ve-text-secondary);
}

.ve-ticket-billing__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 6px;
	border-top: 0.5px solid var(--ve-separator);
}

.ve-quote-detail {
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ve-quote-detail__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.ve-quote-detail__label {
	font-size: 13px;
	color: var(--ve-text-secondary);
}

.ve-quote-detail__intro {
	margin: 0 0  4px;
	font-size: 14px;
	color: var(--ve-text-secondary);
	line-height: 1.5;
}

.ve-ticket-quote-fab {
	position: fixed;
	right: 20px;
	bottom: calc(20px + var(--ve-safe-bottom));
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 18px;
	border: none;
	border-radius: var(--ve-radius-pill);
	background: var(--ve-black);
	color: var(--ve-white);
	font-family: var(--ve-font-display);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	cursor: pointer;
	box-shadow:
		0 4px 20px rgba(0, 0, 0, 0.18),
		0 1px 0 rgba(255, 255, 255, 0.08) inset;
	transition: transform 0.15s, opacity 0.15s, background 0.15s;
	max-width: calc(100vw - 40px);
}

.ve-ticket-quote-fab:hover {
	background: #222;
}

.ve-ticket-quote-fab:active {
	transform: scale(0.97);
	opacity: 0.9;
}

.ve-ticket-asana-fab {
	position: fixed;
	right: 20px;
	bottom: calc(20px + var(--ve-safe-bottom));
	z-index: 91;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 18px;
	border: none;
	border-radius: var(--ve-radius-pill);
	background: var(--ve-white);
	color: var(--ve-black);
	font-family: var(--ve-font-display);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	cursor: pointer;
	box-shadow:
		0 4px 20px rgba(0, 0, 0, 0.14),
		0 0 0 1px rgba(0, 0, 0, 0.08);
	transition: transform 0.15s, opacity 0.15s, background 0.15s;
	max-width: calc(100vw - 40px);
}

.ve-ticket-asana-fab:hover {
	background: #f7f7f7;
}

.ve-ticket-asana-fab:active {
	transform: scale(0.97);
	opacity: 0.9;
}

.ve-ticket-asana-fab--stacked {
	bottom: calc(76px + var(--ve-safe-bottom));
}

.ve-asana-assignees {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 280px;
	overflow: auto;
	padding: 4px 2px;
}

.ve-asana-assignee {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 12px 14px;
	border-radius: var(--ve-radius-md);
	background: rgba(255, 255, 255, 0.65);
	border: 1px solid rgba(0, 0, 0, 0.06);
	cursor: pointer;
}

.ve-asana-assignee input {
	margin: 0;
}

.ve-asana-assignee__name {
	font-size: 14px;
	font-weight: 600;
	color: var(--ve-black);
}

.ve-asana-assignee__email {
	font-size: 12px;
	color: var(--ve-text-muted);
}

.ve-field__hint--error {
	color: #b42318;
}

.ve-settings-card__intro {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ve-text-muted);
}

.ve-settings-card__intro a {
	color: var(--ve-black);
}

.ve-settings-form__inline {
	display: flex;
	gap: 10px;
	align-items: center;
}

.ve-settings-form__inline .ve-select {
	flex: 1;
}

.ve-settings-form__actions {
	margin-top: 20px;
}

.ve-settings-card__status {
	margin: 20px 0 0;
	padding-top: 16px;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	font-size: 13px;
	color: var(--ve-text-muted);
}

.ve-settings-card__status--ok {
	color: #1a7f37;
}

.ve-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.ve-modal[hidden] {
	display: none;
}

.ve-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.ve-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 440px;
	background: var(--ve-glass-bg-elevated);
	backdrop-filter: var(--ve-glass-blur);
	-webkit-backdrop-filter: var(--ve-glass-blur);
	border: 0.5px solid var(--ve-glass-border);
	border-radius: var(--ve-radius-lg);
	box-shadow: var(--ve-shadow-glass);
	overflow: hidden;
}

.ve-modal__dialog--wide {
	max-width: 860px;
}

.ve-entry-agreement-preview__select {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
}

.ve-entry-agreement-preview__select-label {
	font-size: 13px;
	color: var(--ve-text-secondary);
}

.ve-entry-agreement-preview__status {
	font-size: 13px;
	color: var(--ve-text-secondary);
	margin-bottom: 10px;
}

.ve-entry-agreement-preview__content {
	max-height: min(60vh, 520px);
	overflow: auto;
	padding: 16px;
	background: rgba(255, 255, 255, 0.55);
	border: 0.5px solid var(--ve-separator);
	border-radius: var(--ve-radius-md);
	font-size: 14px;
	line-height: 1.55;
}

.ve-entry-agreement-preview__content p {
	margin: 0 0 0.75em;
}

.ve-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
	border-bottom: 0.5px solid var(--ve-separator);
}

.ve-modal__title {
	margin: 0;
	font-family: var(--ve-font-display);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.ve-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 50%;
	background: var(--ve-fill);
	color: var(--ve-text);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.ve-modal__body {
	padding: 20px;
}

.ve-modal__intro {
	margin: 0 0 16px;
	font-size: 14px;
	color: var(--ve-text-secondary);
	line-height: 1.5;
}

.ve-modal__footer {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding: 16px 20px;
	border-top: 0.5px solid var(--ve-separator);
}

body.ve-modal-open {
	overflow: hidden;
}

@media (max-width: 600px) {
	.ve-ticket-quote-fab {
		right: 14px;
		bottom: calc(14px + var(--ve-safe-bottom));
		padding: 12px 16px;
		font-size: 10px;
	}

	.ve-ticket-asana-fab {
		right: 14px;
		bottom: calc(14px + var(--ve-safe-bottom));
		padding: 12px 16px;
		font-size: 10px;
	}

	.ve-ticket-asana-fab--stacked {
		bottom: calc(68px + var(--ve-safe-bottom));
	}

	.ve-settings-form__inline {
		flex-direction: column;
		align-items: stretch;
	}

	.ve-ticket-billing__link-row {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ve-bg-mesh::before,
	.ve-bg-mesh::after,
	.ve-bg-mesh__blob { animation: none; }
}

/* ── Email template editor ── */
.ve-email-templates--edit .ve-email-templates__split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.ve-email-templates__placeholders-section {
	margin-bottom: 4px;
}

.ve-email-templates__placeholders-section .ve-section__header {
	margin-bottom: 10px;
}

.ve-email-templates__footer-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
}

.ve-email-templates__placeholders {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ve-email-templates__tag {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	padding: 8px 10px;
	border: 0.5px solid var(--ve-separator);
	border-radius: var(--ve-radius-sm);
	background: var(--ve-white);
	cursor: pointer;
	text-align: left;
}

.ve-email-templates__tag code {
	font-size: 12px;
	color: var(--ve-black);
}

.ve-email-templates__code {
	width: 100%;
	min-height: 520px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 12px;
	line-height: 1.5;
	padding: 12px;
	border: 1px solid var(--ve-separator);
	border-radius: var(--ve-radius-sm);
	background: var(--ve-white);
	resize: vertical;
}

.ve-email-templates__plain {
	margin-top: 12px;
}

.ve-email-templates__plain summary {
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
}

.ve-email-templates__actions {
	margin-top: 16px;
}

.ve-email-templates__reset {
	margin-top: 12px;
}

.ve-email-templates__preview-card {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ve-email-templates__preview-subject {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-bottom: 12px;
	border-bottom: 0.5px solid var(--ve-separator);
}

.ve-email-templates__preview-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ve-text-secondary);
}

.ve-email-templates__preview-open {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 220px;
	padding: 24px;
	border: 1.5px dashed rgba(0, 0, 0, 0.18);
	border-radius: var(--ve-radius-md);
	background: #f0ebe4;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.ve-email-templates__preview-open:hover {
	background: rgba(223, 255, 0, 0.18);
	border-color: rgba(0, 0, 0, 0.35);
}

.ve-email-templates__preview-open:active {
	transform: scale(0.99);
}

.ve-email-templates__preview-open-title {
	font-family: var(--ve-font-display);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ve-black);
}

.ve-email-templates__preview-open-hint {
	font-size: 12px;
	color: var(--ve-text-secondary);
	text-align: center;
	line-height: 1.5;
}

.ve-email-templates .CodeMirror {
	min-height: 520px;
	border: 1px solid var(--ve-separator);
	border-radius: var(--ve-radius-sm);
	font-size: 12px;
}

@media (max-width: 1100px) {
	.ve-email-templates--edit .ve-email-templates__split {
		grid-template-columns: 1fr;
	}
}

/* ── Influencer form presets ── */
.ve-preset-builder__toolbar {
	margin: 20px 0 16px;
}

.ve-preset-builder__toolbar-label {
	display: block;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ve-text-muted);
}

.ve-preset-builder__type-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ve-preset-builder__fields {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 20px;
}

.ve-preset-field {
	padding: 16px;
	border-radius: var(--ve-radius-md);
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.ve-preset-field__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.ve-preset-field__check {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0;
	font-size: 13px;
}

.ve-preset-builder__actions,
.ve-preset-builder__share {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.ve-preset-builder__share {
	flex-direction: column;
	padding-top: 16px;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ve-preset-row {
	flex-wrap: wrap;
	gap: 12px;
}

.ve-preset-row__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-left: auto;
}

.ve-public-form__title {
	margin: 0 0 20px;
	font-family: var(--ve-font-display);
	font-size: 22px;
	font-weight: 700;
	color: var(--ve-black);
}

.ve-repeater-field__rows {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 10px;
}

.ve-repeater-field__row {
	display: flex;
	gap: 8px;
	align-items: center;
}

.ve-repeater-field__row .ve-input {
	flex: 1;
}

.ve-entry-detail__field + .ve-entry-detail__field {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ve-entry-detail__label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ve-text-muted);
	margin-bottom: 6px;
}

.ve-entry-detail__value {
	font-size: 15px;
	line-height: 1.6;
	color: var(--ve-black);
}

.ve-entry-detail__list {
	margin: 0;
	padding-left: 18px;
}

.ve-entry-detail__meta {
	margin-bottom: 16px;
	font-size: 14px;
	color: var(--ve-text-secondary);
}

.ve-date-range {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.ve-date-range__label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ve-text-muted);
}

.ve-input--file {
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 720px) {
	.ve-date-range {
		grid-template-columns: 1fr;
	}
}

.ve-entry-detail__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.ve-agreement-template-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ve-agreement-template-option {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.72);
	cursor: pointer;
}

.ve-agreement-template-option input {
	margin-top: 4px;
}

.ve-agreement-template-option__content {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.ve-agreement-template-option__title {
	font-weight: 600;
	color: var(--ve-text-primary);
}

.ve-agreement-template-option__meta {
	font-size: 13px;
	color: var(--ve-text-secondary);
}

.ve-inline-form {
	display: inline;
}

.ve-group__row-link {
	flex: 1;
	min-width: 0;
	text-decoration: none;
	color: inherit;
}

.ve-entry-row__open {
	padding: 8px 10px;
	min-width: 36px;
}

.ve-btn--danger {
	color: var(--ve-danger);
}

.ve-btn--danger:hover {
	background: var(--ve-danger-soft);
	color: var(--ve-danger-deep);
}

@media (max-width: 720px) {
	.ve-preset-row__actions {
		width: 100%;
		margin-left: 0;
	}
}

.ve-hidden {
	display: none !important;
}

.ve-container--fluid {
	max-width: none;
	width: 100%;
}

.ve-agreement-builder-page {
	padding-bottom: 32px;
}

.ve-agreement-builder-page__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	margin-bottom: 18px;
	border-radius: 18px;
}

.ve-agreement-builder-page__title {
	margin: 4px 0 0;
	font-size: 24px;
}

.ve-agreement-builder-page__subtitle {
	margin: 6px 0 0;
	color: var(--ve-text-secondary);
	font-size: 14px;
}

.ve-agreement-builder-page__toolbar-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px;
}

.ve-agreement-builder-page__team {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 220px;
}

.ve-agreement-builder-page__team-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--ve-text-muted);
}

.ve-agreement-builder {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 18px;
	align-items: start;
}

.ve-agreement-builder__preview-wrap {
	display: flex;
	flex-direction: column;
	min-height: 0;
	position: sticky;
	top: 16px;
	align-self: start;
	max-height: calc(100vh - 120px);
}

.ve-agreement-builder__sidebar {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.ve-agreement-builder__preview-head,
.ve-agreement-builder__sidebar-head {
	padding: 16px 18px 0;
}

.ve-agreement-builder__preview-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ve-agreement-builder__preview-status {
	font-size: 12px;
	color: var(--ve-text-secondary);
}

.ve-agreement-builder__sidebar-head p {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--ve-text-secondary);
	line-height: 1.5;
}

.ve-agreement-builder__team {
	padding: 14px 18px 0;
	border-bottom: 1px solid var(--ve-border);
	margin-bottom: 4px;
}

.ve-agreement-builder__team-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ve-agreement-builder__team-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--ve-text);
}

.ve-agreement-row__team {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 10px;
}

.ve-agreement-row__team-label,
.ve-agreement-row__team-static {
	font-size: 12px;
	color: var(--ve-text-muted);
}

.ve-agreement-row .ve-select--sm {
	max-width: 280px;
}

.ve-agreement-builder__preview {
	flex: 1;
	margin: 14px 18px 18px;
	padding: 28px 32px;
	overflow: auto;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 14px;
	min-height: 520px;
}

.ve-agreement-builder__preview .ve-empty,
.ve-agreement-builder__preview .ve-alert {
	margin: 0;
}

.ve-agreement-builder__mapping {
	flex: 1;
	padding: 14px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ve-agreement-mapping-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.ve-agreement-mapping-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.ve-agreement-mapping-row__label {
	font-size: 13px;
	font-weight: 600;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	color: var(--ve-text-primary);
}

@media (max-width: 1080px) {
	.ve-agreement-builder {
		grid-template-columns: 1fr;
	}

	.ve-agreement-builder__preview-wrap {
		position: static;
		max-height: none;
	}

	.ve-agreement-builder__preview {
		min-height: 420px;
	}
}

@media (max-width: 720px) {
	.ve-agreement-builder-page__toolbar {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* List browser — search, per-page, pagination */
.ve-list-browser {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ve-list-browser.is-loading .ve-list-browser__results {
	opacity: 0.55;
	pointer-events: none;
}

.ve-list-browser__toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px 16px;
	align-items: end;
}

.ve-list-browser__label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--ve-text-muted);
}

.ve-list-browser__search {
	width: 100%;
	min-height: 72px;
	padding: 12px 14px;
	border: 1px solid var(--ve-border);
	border-radius: var(--ve-radius-md);
	background: var(--ve-surface);
	color: var(--ve-text);
	font: inherit;
	resize: vertical;
	background-color: white;
    color: black;
}

.ve-list-browser__search:focus {
	outline: none;
	border-color: var(--ve-accent);
	box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.18);
}

.ve-list-browser__per-page {
	min-width: 88px;
	padding: 10px 12px;
	border: 1px solid var(--ve-border);
	border-radius: var(--ve-radius-md);
	background: var(--ve-surface);
	color: var(--ve-text);
	font: inherit;
}

.ve-list-browser__status {
	font-size: 0.875rem;
	color: var(--ve-text-muted);
}

.ve-list-browser__status.is-error {
	color: #dc2626;
}

.ve-list-browser__pagination-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ve-list-browser__summary {
	margin: 0;
	font-size: 0.875rem;
	color: var(--ve-text-muted);
}

.ve-list-browser__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.ve-list-browser__ellipsis {
	padding: 0 4px;
	color: var(--ve-text-muted);
}

@media (max-width: 720px) {
	.ve-list-browser__toolbar {
		grid-template-columns: 1fr;
	}
}
