.vpm-direct-proforma-modal,
.vpm-issue-proforma-panel {
	max-width: min(880px, calc(100vw - 24px));
}

.vpm-direct-proforma-form,
.vpm-direct-proforma-modal,
.vpm-direct-translation-modal {
	overscroll-behavior: contain;
}

#vpm-direct-proforma-form.vpm-wizard,
.vpm-direct-translation-modal.vpm-wizard {
	align-items: center !important;
	justify-content: center !important;
	min-height: 100dvh;
	padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)) !important;
}

.vpm-direct-proforma-modal,
.vpm-direct-translation-panel {
	max-height: calc(100dvh - max(24px, env(safe-area-inset-top)) - max(24px, env(safe-area-inset-bottom))) !important;
	overflow: auto !important;
	-webkit-overflow-scrolling: touch;
}

.vpm-direct-proforma-line__pane {
	min-height: 148px;
	display: flex;
	align-items: center;
}

.vpm-direct-proforma-line__pane[hidden] {
	display: none !important;
}

.vpm-direct-proforma-line__pane .vpm-field {
	width: 100%;
}

.vpm-direct-proforma-modal .vpm-btn,
.vpm-direct-translation-panel .vpm-btn,
.vpm-issue-proforma-panel .vpm-btn {
	border-radius: 4px !important;
	font-size: 0.78rem !important;
	font-weight: 700;
	line-height: 1.1;
	min-height: 32px !important;
	padding: 6px 12px !important;
}

.vpm-direct-proforma-steps {
	display: flex;
	gap: 8px;
	margin: 0 0 18px;
}

.vpm-direct-proforma-steps span {
	background: rgba(15, 23, 42, 0.12);
	border-radius: 999px;
	display: block;
	flex: 1;
	height: 6px;
	overflow: hidden;
}

.vpm-direct-proforma-steps span.is-active {
	background: linear-gradient(90deg, #111827 0%, #c9a227 100%);
}

.vpm-direct-proforma-step h3 {
	margin: 0 0 12px;
}

.vpm-direct-create-box {
	border: 1px solid rgba(148, 163, 184, 0.32);
	border-radius: 8px;
	background: rgba(248, 250, 252, 0.86);
	padding: 10px;
}

.vpm-direct-create-box > summary {
	cursor: pointer;
	font-weight: 800;
}

.vpm-direct-radio-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
}

.vpm-direct-radio-row .vpm-radio {
	border: 1px solid rgba(148, 163, 184, 0.38);
	border-radius: 6px;
	padding: 8px 10px;
}

.vpm-direct-translation-panel {
	max-width: min(720px, calc(100vw - 24px));
}

:root {
	--vpm-bg: #ffffff;
	--vpm-bg-soft: #ffffff;
	--vpm-surface: #ffffff;
	--vpm-text: #000000;
	--vpm-text-soft: #000000;
	--vpm-muted: #374151;
	--vpm-border: #e5e7eb;
	--vpm-accent: #2a76b8;
	--vpm-accent-soft: #e8f2fb;
	--vpm-brand-blue: #2072B9;
	--vpm-danger-orange: #E94F1D;
	--vpm-manager-gold: #CA9E67;
	--vpm-neutral-black: #000000;
	--vpm-gray-50: #F9FAFB;
	--vpm-gray-100: #F3F4F6;
	--vpm-gray-200: #E5E7EB;
	--vpm-gray-300: #D1D5DB;
	--vpm-gray-500: #6B7280;
	--vpm-gray-700: #374151;
	--vpm-nav-active-bg: #e8f2fb;
	--vpm-nav-active-border: #2a76b8;
	--vpm-brand-blue: #2072B9;
	--vpm-brand-red: #d94a33;
	--vpm-brand-brick: #b8925f;
	--vpm-brand-gray: #5a5a5a;
	--vpm-status-exceptional: var(--vpm-brand-blue);
	--vpm-status-ahead: #3d8b5a;
	--vpm-status-warning: var(--vpm-brand-brick);
	--vpm-status-critical: var(--vpm-brand-red);
	--vpm-danger: var(--vpm-brand-red);
	/* Moderate corner radius — not sharp, not overly pill-shaped. */
	--vpm-radius: 8px;
	--vpm-radius-sm: 6px;
	--vpm-radius-ui: 2px;
	--vpm-border-strong: #111111;
	--vpm-shadow: 0 1px 2px rgba(17, 24, 39, 0.05), 0 4px 16px rgba(17, 24, 39, 0.04);
	--vpm-sidebar-w: 248px;
	--vpm-tabbar-h: 68px;
	--vpm-topbar-h: 60px;
	--vpm-safe-top: env(safe-area-inset-top, 0px);
	--vpm-safe-bottom: env(safe-area-inset-bottom, 0px);
	--vpm-sticky-head-h: 0px;
	--vpm-update-banner-h: 52px;
	--vpm-font-latin: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
	--vpm-font-rtl: "IRANSansWeb FaNum", "IRANSansWebFaNum", "IRANSansWeb(FaNum)", Tahoma, Arial, sans-serif;
	--vpm-font: var(--vpm-font-latin);
	--vpm-text-xs: 0.625rem;
	--vpm-text-sm: 0.75rem;
	--vpm-text-md: 0.875rem;
	--vpm-text-lg: 1rem;
	--vpm-title-sm: 0.95rem;
	--vpm-title-md: 1.08rem;
	--vpm-title-lg: 1.35rem;
	--vpm-btn-h-sm: 40px;
	--vpm-btn-h-md: 48px;
	--vpm-btn-radius: 14px;
	--vpm-btn-primary-shadow: 0 6px 16px rgba(32, 114, 185, 0.18);
	--vpm-btn-manager-shadow: 0 6px 16px rgba(202, 158, 103, 0.18);
	--vpm-btn-fab-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

body.vpm-portal-page {
	font-family: var(--vpm-font);
	font-size: var(--vpm-text-md);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.vpm-app.vpm-rtl {
	--vpm-font: var(--vpm-font-rtl);
}

.vpm-app.vpm-rtl,
.vpm-app.vpm-rtl * {
	font-family: var(--vpm-font-rtl) !important;
}

.vpm-shell,
.vpm-app {
	min-height: 100dvh;
	min-height: 100svh;
	background: var(--vpm-bg);
	color: var(--vpm-text);
	font-family: var(--vpm-font);
	font-size: inherit;
	line-height: inherit;
	-webkit-font-smoothing: antialiased;
}

body.vpm-portal-page .vpm-shell {
	position: relative;
	z-index: 9990;
	padding-top: var(--vpm-safe-top);
}

.vpm-app {
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
	min-height: 100svh;
	max-width: 480px;
	margin: 0 auto;
	padding-bottom: calc(var(--vpm-tabbar-h) + var(--vpm-safe-bottom));
}

.vpm-app.vpm-ltr {
	direction: ltr;
	text-align: left;
}

.vpm-app.vpm-rtl {
	direction: ltr;
	text-align: left;
}

.vpm-main__content,
.vpm-panel-card,
.vpm-dash-section,
.vpm-section,
.vpm-panel {
	text-align: inherit;
}

.vpm-app h1,
.vpm-app h2,
.vpm-app h3,
.vpm-app .vpm-ui-subtitle,
.vpm-app .vpm-panel-title,
.vpm-app .vpm-crm-heading {
	font-family: var(--vpm-font);
	font-weight: 900;
	letter-spacing: -0.01em;
	color: var(--vpm-text);
}

.vpm-app h1 {
	font-size: var(--vpm-title-lg);
	line-height: 1.25;
}

.vpm-app h2,
.vpm-app .vpm-panel-title {
	font-size: var(--vpm-title-md);
	line-height: 1.3;
}

.vpm-app h3,
.vpm-app .vpm-ui-subtitle {
	font-size: var(--vpm-title-sm);
	line-height: 1.35;
}

.vpm-ui-caption,
.vpm-muted,
.vpm-ui-eyebrow {
	font-size: var(--vpm-text-sm);
	line-height: 1.45;
}

.vpm-btn,
button.vpm-btn,
.vpm-btn--soft,
.vpm-btn--ghost {
	min-height: var(--vpm-btn-h-md);
	border-radius: var(--vpm-btn-radius);
	font-family: var(--vpm-font);
	font-size: var(--vpm-text-sm);
	font-weight: 850;
	letter-spacing: 0;
	box-shadow: none !important;
}

.vpm-btn:not(.vpm-btn--ghost):not(.vpm-btn--soft) {
	background: #111111 !important;
	border-color: #111111 !important;
	color: #ffffff !important;
}

.vpm-btn--soft,
.vpm-btn--ghost {
	background: #ffffff !important;
	border: 1px solid #111111 !important;
	color: #111111 !important;
}

.vpm-btn--sm {
	min-height: var(--vpm-btn-h-sm);
	font-size: var(--vpm-text-xs);
}

.vpm-sidebar {
	display: none;
}

.vpm-main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	background: #ffffff;
}

.vpm-dash-sticky-head {
	position: sticky;
	top: 0;
	left: auto;
	transform: none;
	width: 100%;
	z-index: 12040;
	background: var(--vpm-surface);
	box-shadow: 0 1px 0 var(--vpm-border);
	direction: ltr;
}

.vpm-dash-sticky-head .vpm-topbar {
	position: static;
	border-bottom: none;
}

.vpm-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: var(--vpm-topbar-h);
	padding: 10px 16px;
	background: var(--vpm-surface);
	border-bottom: 1px solid var(--vpm-border);
	/* Logo always left, language switcher always right — regardless of page RTL/LTR. */
	direction: ltr;
	flex-direction: row;
}

.vpm-rtl .vpm-dash-sticky-head,
.vpm-rtl .vpm-topbar,
.vpm-rtl .vpm-topbar__lead,
.vpm-rtl .vpm-topbar__actions,
.vpm-rtl .vpm-form-langs,
.vpm-rtl .vpm-dash-hero-row,
.vpm-rtl .vpm-dash-user-panel,
.vpm-rtl .vpm-tabbar--mobile,
.vpm-rtl .vpm-field-card,
.vpm-rtl .vpm-field-card__content,
.vpm-rtl .vpm-field-card__actions {
	direction: ltr;
}

.vpm-topbar__lead {
	flex: 0 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	text-align: left;
	margin-right: auto;
}

.vpm-topbar__brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.vpm-topbar__logo {
	display: block;
	max-height: 36px;
	max-width: 148px;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: left center;
}

.vpm-topbar__logo-fallback {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: var(--vpm-radius-ui);
	background: var(--vpm-accent, #2072b9);
	color: #fff;
	font-weight: 800;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
}

.vpm-topbar__user-name {
	margin: 0;
	font-size: inherit;
	font-weight: 700;
	line-height: 1.25;
	color: var(--vpm-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-family: var(--vpm-font);
}

.vpm-topbar__title {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--vpm-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
}

.vpm-topbar__title--tab {
	margin-top: 2px;
}

.vpm-topbar__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	margin-left: auto;
	margin-right: 0;
}

.vpm-topbar--shell .vpm-topbar__extra {
	display: none !important;
}

.vpm-topbar--shell .vpm-topbar__lead {
	flex: 1 1 auto;
	margin-right: auto;
}

.vpm-panel[data-panel="home"] > .vpm-dash-hero-row {
	margin: 0 0 12px;
}

.vpm-topbar__utilities {
	align-items: center;
	display: flex;
	flex-direction: row;
	gap: 6px;
}

.vpm-topbar__icon-btn {
	appearance: none;
	background: transparent;
	border: 0;
	color: #111111;
	cursor: pointer;
	line-height: 0;
	padding: 0;
}

.vpm-topbar__icon-btn:focus-visible {
	outline: 2px solid #111111;
	outline-offset: 2px;
}

.vpm-topbar__icon-frame {
	align-items: center;
	display: grid;
	height: 26px;
	justify-content: center;
	overflow: hidden;
	place-items: center;
	width: 36px;
}

.vpm-topbar__icon-frame svg {
	display: block;
	height: 17px;
	width: 24px;
}

.vpm-topbar__lang-wrap {
	position: relative;
}

.vpm-topbar__lang-popover {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.1);
	inset-inline-end: 0;
	min-width: 88px;
	padding: 6px;
	position: absolute;
	top: calc(100% + 6px);
	z-index: 12050;
}

.vpm-topbar__lang-popover .vpm-form-langs {
	flex-direction: column;
	gap: 4px;
}

.vpm-topbar__lang-popover .vpm-lang-item {
	background: transparent;
	border: 0;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 800;
	height: 30px;
	justify-content: center;
	min-width: 0;
	padding: 0 10px;
	width: 100%;
}

.vpm-topbar__lang-popover .vpm-lang-item.is-active {
	background: #111111;
	color: #ffffff;
}

.vpm-form-langs {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: nowrap;
	direction: ltr;
}

.vpm-lang-item {
	min-width: 30px;
	height: 28px;
	padding: 0 8px;
	font-size: 10px;
	font-weight: 700;
	text-decoration: none;
	color: var(--vpm-text);
	border: 1px solid var(--vpm-border-strong, #111);
	border-radius: var(--vpm-radius-ui);
	background: var(--vpm-surface);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.vpm-lang-item:hover,
.vpm-lang-item:focus-visible {
	color: var(--vpm-text);
	border-color: var(--vpm-border-strong, #111);
	background: var(--vpm-bg-soft);
}

.vpm-lang-item.is-active,
.vpm-lang-item.is-active:hover,
.vpm-lang-item.is-active:focus-visible {
	background: #111111;
	color: #ffffff;
	border-color: #111111;
}

.vpm-notify-btn--desktop {
	display: none !important;
}

.vpm-notify-btn--sidebar {
	display: none;
}

@media (max-width: 959px) {
	.vpm-topbar__title--tab {
		display: none;
	}

	.vpm-topbar {
		justify-content: space-between;
		min-height: 48px;
		padding: 8px 12px;
	}
}

.vpm-main__content {
	flex: 1;
	padding: 16px;
	padding-top: 12px;
	background: #ffffff;
}

.vpm-panel {
	display: none;
}

.vpm-panel-card {
	background: var(--vpm-surface);
	border: 1px solid var(--vpm-border);
	border-radius: var(--vpm-radius);
	padding: 20px;
	box-shadow: var(--vpm-shadow);
}

.vpm-panel--active {
	display: block;
}

.vpm-panel-title {
	margin: 0 0 16px;
	font-size: 1.125rem;
	font-weight: 600;
}

.vpm-action-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 20px;
}

.vpm-action-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 18px 16px;
	border: 1px solid #000;
	border-radius: var(--vpm-radius);
	background: #000;
	color: #fff;
	box-shadow: var(--vpm-shadow);
	cursor: pointer;
	text-align: start;
	font-family: inherit;
}

.vpm-action-card--call,
.vpm-action-card--visit {
	background: #000;
	border-color: #000;
	color: #fff;
}

.vpm-action-card:active,
.vpm-action-card:focus-visible {
	border-color: #1a1a1a;
	background: #1a1a1a;
	outline: none;
}

.vpm-action-card__icon {
	font-size: 1.5rem;
	line-height: 1;
}

.vpm-action-card__label {
	font-weight: 600;
	font-size: inherit;
	color: #fff;
}

.vpm-collapse {
	background: var(--vpm-surface);
	border: 1px solid var(--vpm-border);
	border-radius: var(--vpm-radius);
	margin-bottom: 16px;
	box-shadow: var(--vpm-shadow);
}

.vpm-collapse summary {
	padding: 14px 16px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.vpm-collapse summary::-webkit-details-marker {
	display: none;
}

.vpm-collapse[open] summary {
	border-bottom: 1px solid var(--vpm-border);
}

.vpm-collapse .vpm-kpi-section {
	padding: 0 12px 12px;
}

.vpm-kpi-section h4 {
	margin: 12px 0 8px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--vpm-muted);
}

.vpm-kpi-row {
	padding: 10px 0;
	border-bottom: 1px solid var(--vpm-border);
}

.vpm-kpi-row:last-child {
	border-bottom: 0;
}

.vpm-kpi-row__label {
	font-size: 0.875rem;
	font-weight: 500;
}

.vpm-kpi-row__nums {
	font-size: 0.8rem;
	color: var(--vpm-muted);
	margin-top: 2px;
}

.vpm-kpi-bar {
	height: 4px;
	background: var(--vpm-border);
	border-radius: 999px;
	margin-top: 6px;
	overflow: hidden;
}

.vpm-kpi-bar span {
	display: block;
	height: 100%;
	background: var(--vpm-accent);
}

.vpm-section h3,
.vpm-plan-head h2 {
	margin: 0 0 4px;
	font-size: 1rem;
	font-weight: 600;
}

.vpm-plan-page {
	display: grid;
	gap: 16px;
}

.vpm-plan-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding: 14px;
	border: 1px solid #111111;
	border-radius: var(--vpm-radius);
	background: linear-gradient(135deg, rgba(32, 114, 185, 0.08), rgba(255, 255, 255, 0.96));
}

.vpm-plan-head h2 {
	font-size: 1.15rem;
	font-weight: 900;
}

.vpm-plan-head__date {
	margin: 0;
	padding: 6px 10px;
	border: 1px solid rgba(17, 17, 17, 0.14);
	border-radius: 999px;
	background: #fff;
	font-size: 0.78rem;
	font-weight: 800;
	white-space: nowrap;
}

.vpm-list-item {
	background: var(--vpm-surface);
	border: 1px solid var(--vpm-border);
	border-radius: var(--vpm-radius-sm);
	padding: 12px 14px;
	margin-bottom: 8px;
	width: 100%;
	text-align: inherit;
	color: inherit;
	font: inherit;
}

button.vpm-list-item {
	cursor: pointer;
}

button.vpm-list-item:hover,
button.vpm-list-item:focus-visible,
.vpm-list-item--active {
	border-color: var(--vpm-primary);
	box-shadow: 0 0 0 2px rgba(32, 114, 185, 0.12);
	outline: none;
}

.vpm-list-item__title {
	font-weight: 600;
	font-size: 0.9rem;
}

.vpm-list-item__meta {
	font-size: 0.8rem;
	color: var(--vpm-muted);
}

.vpm-plan-hint {
	font-size: 0.85rem;
	margin: 0 0 16px;
}

.vpm-plan-list {
	display: grid;
	gap: 12px;
}

.vpm-plan-board {
	display: grid;
	gap: 12px;
}

.vpm-plan-overview {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.vpm-plan-overview__stat,
.vpm-plan-next {
	border: 1px solid #111111;
	border-radius: var(--vpm-radius-sm);
	background: #fff;
	padding: 10px;
}

.vpm-plan-overview__num {
	display: block;
	color: var(--vpm-accent);
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1;
}

.vpm-plan-overview__label,
.vpm-plan-next__label {
	display: block;
	margin-top: 4px;
	color: var(--vpm-muted);
	font-size: 0.68rem;
	font-weight: 800;
}

.vpm-plan-next {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: rgba(32, 114, 185, 0.06);
	border-color: rgba(32, 114, 185, 0.28);
}

.vpm-plan-next__title {
	font-size: 0.82rem;
	font-weight: 900;
	color: var(--vpm-text);
	text-align: end;
}

.vpm-plan-timeline {
	display: grid;
	gap: 8px;
}

.vpm-plan-card {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 10px;
	border: 1px solid #111111;
	border-radius: var(--vpm-radius);
	background: #fff;
	padding: 10px;
	cursor: pointer;
	transition: background 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.vpm-plan-card:hover,
.vpm-plan-card:focus-within {
	background: rgba(32, 114, 185, 0.045);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.vpm-plan-card--locked {
	border-color: rgba(32, 114, 185, 0.42);
	background: rgba(32, 114, 185, 0.035);
}

.vpm-plan-card__rail {
	display: flex;
	justify-content: center;
}

.vpm-plan-card__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: var(--vpm-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 900;
}

.vpm-plan-card__main {
	min-width: 0;
}

.vpm-plan-card__top,
.vpm-plan-card__meta,
.vpm-plan-card__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.vpm-plan-card__time,
.vpm-plan-card__type,
.vpm-plan-card__source {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border-radius: 999px;
	padding: 4px 7px;
	font-size: 0.62rem;
	font-weight: 900;
}

.vpm-plan-card__time {
	background: #111111;
	color: #ffffff;
}

.vpm-plan-card__type {
	background: rgba(32, 114, 185, 0.1);
	color: var(--vpm-accent);
}

.vpm-plan-card__source {
	background: #f3f4f6;
	color: var(--vpm-muted);
}

.vpm-plan-card__title {
	margin: 8px 0 5px;
	font-size: 0.92rem;
	font-weight: 900;
	line-height: 1.45;
	color: var(--vpm-text);
}

.vpm-plan-card__meta {
	color: var(--vpm-muted);
	font-size: 0.72rem;
	font-weight: 700;
}

.vpm-plan-card__actions {
	justify-content: flex-end;
	margin-top: 10px;
}

.vpm-plan-card__btn {
	border: 1px solid rgba(17, 17, 17, 0.18);
	border-radius: 999px;
	background: #fff;
	padding: 7px 10px;
	color: var(--vpm-text);
	font-size: 0.68rem;
	font-weight: 900;
	cursor: pointer;
}

.vpm-plan-card__btn--primary {
	border-color: var(--vpm-accent);
	background: var(--vpm-accent);
	color: #fff;
}

.vpm-plan-card__btn--danger {
	color: var(--vpm-danger);
}

.vpm-plan-card__locked-note {
	color: var(--vpm-muted);
	font-size: 0.64rem;
	font-weight: 800;
}

.vpm-plan-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: var(--vpm-surface);
	border: 1px solid var(--vpm-border);
	border-radius: var(--vpm-radius-sm);
	padding: 12px 14px;
	margin-bottom: 8px;
}

.vpm-plan-item--locked {
	border-color: #bfdbfe;
	background: var(--vpm-accent-soft);
}

.vpm-plan-item__time {
	min-width: 44px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--vpm-accent);
}

.vpm-plan-item__body {
	flex: 1;
}

.vpm-plan-item__title {
	font-weight: 600;
	font-size: 0.9rem;
}

.vpm-plan-item__meta {
	font-size: 0.78rem;
	color: var(--vpm-muted);
}

.vpm-plan-item__badge {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 600;
	color: var(--vpm-accent);
	background: #dbeafe;
	padding: 2px 6px;
	border-radius: 4px;
	margin-top: 6px;
}

.vpm-plan-item__remove {
	background: transparent;
	border: 0;
	color: var(--vpm-danger);
	font-size: 1.25rem;
	cursor: pointer;
}

.vpm-plan-add {
	background: var(--vpm-surface);
	border: 1px solid #111111;
	border-radius: var(--vpm-radius);
	padding: 14px;
	margin-top: 4px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.vpm-plan-add__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.vpm-plan-add__head h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 900;
}

.vpm-plan-add__head p {
	max-width: 340px;
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.6;
}

.vpm-plan-add__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.vpm-plan-add__wide {
	grid-column: 1 / -1;
}

.vpm-plan-add__submit {
	width: 100%;
	margin-top: 12px;
}

@media (max-width: 640px) {
	.vpm-plan-head,
	.vpm-plan-add__head,
	.vpm-plan-next {
		flex-direction: column;
		align-items: stretch;
	}

	.vpm-plan-head__date,
	.vpm-plan-next__title {
		text-align: start;
	}

	.vpm-plan-overview,
	.vpm-plan-add__grid {
		grid-template-columns: 1fr;
	}

	.vpm-plan-card {
		grid-template-columns: 28px minmax(0, 1fr);
		padding: 9px;
	}

	.vpm-plan-card__actions {
		justify-content: flex-start;
	}
}

.vpm-field-row {
	display: flex;
	gap: 12px;
}

.vpm-field--half {
	flex: 1;
}

.vpm-tabbar--5 {
	grid-template-columns: repeat(5, 1fr);
}

.vpm-tabbar--6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.vpm-tabbar--7 {
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.vpm-tabbar--6 .vpm-tab,
.vpm-tabbar--7 .vpm-tab {
	font-size: 0.64rem;
	padding: 4px 1px;
}

.vpm-tabbar--6 .vpm-tab__icon,
.vpm-tabbar--7 .vpm-tab__icon {
	width: 20px;
	height: 20px;
	background-size: 16px 16px;
}

.vpm-tab__label--truncate {
	max-width: 52px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vpm-tab--utility {
	position: relative;
	text-decoration: none;
	color: var(--vpm-muted);
}

.vpm-tabbar-logout {
	cursor: pointer;
}

.vpm-tab--utility.vpm-tab--active {
	background: transparent;
	color: var(--vpm-muted);
}

.vpm-tab__icon--notify {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23111827' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 17h5l-1.4-1.4A2 2 0 0118 14.2V11a6 6 0 10-12 0v3.2c0 .5-.2 1-.6 1.4L4 17h5m6 0a3 3 0 11-6 0'/%3E%3C/svg%3E");
}

.vpm-tab__icon--logout {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23111827' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 16l4-4m0 0l-4-4m4 4H9m4 4v1a2 2 0 01-2 2H6a2 2 0 01-2-2V7a2 2 0 012-2h5a2 2 0 012 2v1'/%3E%3C/svg%3E");
}

.vpm-tab--utility .vpm-notify-badge {
	top: 0;
	right: 2px;
}

.vpm-request-line {
	border: 1px solid var(--vpm-border);
	border-radius: var(--vpm-radius-sm);
	padding: 12px;
	margin-bottom: 10px;
	background: var(--vpm-surface);
}

.vpm-quote-option {
	border-left: 3px solid var(--vpm-accent);
	padding: 8px 10px;
	margin: 8px 0;
	background: var(--vpm-bg-soft);
	font-size: 0.875rem;
}

.vpm-inbox-badge {
	display: inline-block;
	min-width: 18px;
	padding: 2px 6px;
	border-radius: 999px;
	background: var(--vpm-danger);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	margin-inline-start: 4px;
}

.vpm-tabbar--mobile {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
	max-width: none;
	transform: none;
	bottom: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 8px 6px calc(10px + var(--vpm-safe-bottom));
	background: rgba(255, 255, 255, 0.98);
	border-top: 1px solid var(--vpm-border);
	z-index: 99999;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 -4px 24px rgba(17, 24, 39, 0.06);
	box-sizing: border-box;
}

.vpm-tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 6px 4px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--vpm-text);
	font-size: 0.62rem;
	font-family: inherit;
	cursor: pointer;
	text-align: center;
}

.vpm-tab__label {
	line-height: 1.2;
	font-weight: 500;
}

.vpm-tab__icon {
	width: 22px;
	height: 22px;
	display: block;
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px 18px;
	opacity: 1;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 18px 18px;
	mask-size: 18px 18px;
}

.vpm-tab__icon--home { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 10.5L12 3l9 7.5V21a1 1 0 01-1 1h-5v-7H9v7H4a1 1 0 01-1-1v-10.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 10.5L12 3l9 7.5V21a1 1 0 01-1 1h-5v-7H9v7H4a1 1 0 01-1-1v-10.5z'/%3E%3C/svg%3E"); }
.vpm-tab__icon--plan { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7V3m8 4V3M4 11h16M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7V3m8 4V3M4 11h16M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E"); }
.vpm-tab__icon--log { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.vpm-tab__icon--customers { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 20h5v-2a4 4 0 00-4-4h-1M9 20H4v-2a4 4 0 014-4h1m4-4a4 4 0 11-8 0 4 4 0 018 0zm6 4a4 4 0 00-4-4H9a4 4 0 00-4 4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 20h5v-2a4 4 0 00-4-4h-1M9 20H4v-2a4 4 0 014-4h1m4-4a4 4 0 11-8 0 4 4 0 018 0zm6 4a4 4 0 00-4-4H9a4 4 0 00-4 4'/%3E%3C/svg%3E"); }
.vpm-tab__icon--inbox { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M20 13V7a2 2 0 00-2-2H6a2 2 0 00-2 2v6m16 0v4a2 2 0 01-2 2H6a2 2 0 01-2-2v-4m16 0H4l2-4h12l2 4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M20 13V7a2 2 0 00-2-2H6a2 2 0 00-2 2v6m16 0v4a2 2 0 01-2 2H6a2 2 0 01-2-2v-4m16 0H4l2-4h12l2 4z'/%3E%3C/svg%3E"); }
.vpm-tab__icon--reports { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 19v-6a2 2 0 012-2h2a2 2 0 012 2v6M9 19H7a2 2 0 01-2-2V9a2 2 0 012-2h2m4 12h2a2 2 0 002-2V5a2 2 0 00-2-2h-2m-4 0V3a2 2 0 012-2h2a2 2 0 012 2v2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 19v-6a2 2 0 012-2h2a2 2 0 012 2v6M9 19H7a2 2 0 01-2-2V9a2 2 0 012-2h2m4 12h2a2 2 0 002-2V5a2 2 0 00-2-2h-2m-4 0V3a2 2 0 012-2h2a2 2 0 012 2v2'/%3E%3C/svg%3E"); }
.vpm-tab__icon--globe { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 21a9 9 0 100-18 9 9 0 000 18z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.6 9h16.8M3.6 15h16.8M12 3c2.2 2.4 3.4 5.6 3.4 9s-1.2 6.6-3.4 9c-2.2-2.4-3.4-5.6-3.4-9s1.2-6.6 3.4-9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 21a9 9 0 100-18 9 9 0 000 18z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.6 9h16.8M3.6 15h16.8M12 3c2.2 2.4 3.4 5.6 3.4 9s-1.2 6.6-3.4 9c-2.2-2.4-3.4-5.6-3.4-9s1.2-6.6 3.4-9z'/%3E%3C/svg%3E"); }
.vpm-tab__icon--notify { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 17h5l-1.4-1.4A2 2 0 0118 14.2V11a6 6 0 10-12 0v3.2c0 .5-.2 1-.6 1.4L4 17h5m6 0a3 3 0 11-6 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000000' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 17h5l-1.4-1.4A2 2 0 0118 14.2V11a6 6 0 10-12 0v3.2c0 .5-.2 1-.6 1.4L4 17h5m6 0a3 3 0 11-6 0'/%3E%3C/svg%3E"); }

.vpm-tabbar--mobile .vpm-tab__icon {
	background-color: #111111 !important;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 19px 19px;
	mask-size: 19px 19px;
}

.vpm-tabbar--mobile .vpm-tab__icon--home { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 10.5L12 3l9 7.5V21a1 1 0 01-1 1h-5v-7H9v7H4a1 1 0 01-1-1V10.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 10.5L12 3l9 7.5V21a1 1 0 01-1 1h-5v-7H9v7H4a1 1 0 01-1-1V10.5z'/%3E%3C/svg%3E"); }
.vpm-tabbar--mobile .vpm-tab__icon--customers { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 11a4 4 0 100-8 4 4 0 000 8zm0 2c-3.3 0-6 1.7-6 4v2h12v-2c0-2.3-2.7-4-6-4zm8-1a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm0 2c-.6 0-1.2.1-1.8.2 1.1.8 1.8 1.8 1.8 2.8v2h5v-2c0-2-2.2-3-5-3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 11a4 4 0 100-8 4 4 0 000 8zm0 2c-3.3 0-6 1.7-6 4v2h12v-2c0-2.3-2.7-4-6-4zm8-1a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm0 2c-.6 0-1.2.1-1.8.2 1.1.8 1.8 1.8 1.8 2.8v2h5v-2c0-2-2.2-3-5-3z'/%3E%3C/svg%3E"); }
.vpm-tabbar--mobile .vpm-tab__icon--log { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 4h2v7h7v2h-7v7h-2v-7H4v-2h7V4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 4h2v7h7v2h-7v7h-2v-7H4v-2h7V4z'/%3E%3C/svg%3E"); }
.vpm-tabbar--mobile .vpm-tab__icon--plan { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5c0-1.1-.9-2-2-2zM9.8 17.2L6.6 14l1.4-1.4 1.8 1.8 5.2-5.2 1.4 1.4-6.6 6.6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5c0-1.1-.9-2-2-2zM9.8 17.2L6.6 14l1.4-1.4 1.8 1.8 5.2-5.2 1.4 1.4-6.6 6.6z'/%3E%3C/svg%3E"); }
.vpm-tabbar--mobile .vpm-tab__icon--menu { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h7v7H4V4zm9 0h7v7h-7V4zM4 13h7v7H4v-7zm9 0h7v7h-7v-7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h7v7H4V4zm9 0h7v7h-7V4zM4 13h7v7H4v-7zm9 0h7v7h-7v-7z'/%3E%3C/svg%3E"); }

.vpm-tab--active {
	color: var(--vpm-text);
}

.vpm-tab--active .vpm-tab__icon {
	opacity: 1;
}

.vpm-tabbar--mobile .vpm-tab--active {
	background: transparent;
}

.vpm-tabbar--mobile .vpm-tab--active .vpm-tab__icon {
	background-color: var(--vpm-tabbar-active, #2072b9) !important;
}

.vpm-tabbar--mobile .vpm-tab--accent.vpm-tab--active .vpm-tab__icon {
	background-color: var(--vpm-tabbar-active, #2072b9) !important;
}

.vpm-field {
	display: block;
	margin-bottom: 12px;
}

.vpm-field span {
	display: block;
	margin-bottom: 6px;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--vpm-text-soft);
}

.vpm-field input,
.vpm-field textarea,
.vpm-field select {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 12px;
	border: 1px solid var(--vpm-border);
	border-radius: var(--vpm-radius-sm);
	background: var(--vpm-bg-soft);
	font-family: inherit;
	font-size: 0.95rem;
}

.vpm-type-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.vpm-type-btn {
	padding: 14px;
	border: 1px solid var(--vpm-border);
	border-radius: var(--vpm-radius-sm);
	background: var(--vpm-surface);
	font-weight: 600;
	cursor: pointer;
}

.vpm-type-btn--active {
	border-color: #000;
	background: #000;
	color: #fff;
}

.vpm-steps {
	display: flex;
	gap: 6px;
	margin-bottom: 16px;
}

.vpm-step {
	flex: 1;
	height: 4px;
	border-radius: 999px;
	background: var(--vpm-border);
}

.vpm-step--active {
	background: var(--vpm-accent);
}

.vpm-step-pane {
	display: none;
}

.vpm-step-pane--active {
	display: block;
}

.vpm-wizard-actions {
	display: flex;
	gap: 10px;
	margin-top: 16px;
	margin-bottom: calc(var(--vpm-tabbar-h) + var(--vpm-safe-bottom));
}

#vpm-crm-form-view .vpm-btn,
#vpm-crm-detail-view .vpm-btn,
.vpm-plan-add .vpm-btn {
	margin-bottom: calc(var(--vpm-tabbar-h) + var(--vpm-safe-bottom));
}

.vpm-btn {
	flex: 1;
	padding: 13px 18px;
	border: 1px solid #000;
	border-radius: var(--vpm-radius-sm);
	background: #000;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
}

.vpm-btn:hover,
.vpm-btn:focus-visible {
	background: #1a1a1a;
	border-color: #1a1a1a;
	color: #fff;
}

.vpm-btn--ghost {
	background: #fff;
	border: 1px solid #000;
	color: #000;
	flex: 0 0 auto;
}

.vpm-btn--ghost:hover,
.vpm-btn--ghost:focus-visible {
	background: #f5f5f5;
	color: #000;
}

.vpm-btn--soft {
	background: #000;
	color: #fff;
	border-color: #000;
	width: 100%;
}

.vpm-btn--soft:hover,
.vpm-btn--soft:focus-visible {
	background: #1a1a1a;
	color: #fff;
}

/* VisionPars ERP button design system v1.0 */
.vpm-app .vpm-btn,
.vpm-app button.vpm-btn,
#vpm-pwa-install-banner .vpm-btn {
	width: auto;
	flex: 0 0 auto;
	min-height: var(--vpm-btn-h-md) !important;
	padding: 0 18px !important;
	border: 1px solid var(--vpm-brand-blue) !important;
	border-radius: var(--vpm-btn-radius) !important;
	background: var(--vpm-brand-blue) !important;
	color: #ffffff !important;
	font-family: var(--vpm-font) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	box-shadow: 0 6px 16px rgba(32, 114, 185, 0.18) !important;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
	touch-action: manipulation;
}

.vpm-app .vpm-btn:hover:not(:disabled),
.vpm-app .vpm-btn:focus-visible:not(:disabled),
#vpm-pwa-install-banner .vpm-btn:hover:not(:disabled),
#vpm-pwa-install-banner .vpm-btn:focus-visible:not(:disabled) {
	background: #1d67a7 !important;
	border-color: #1d67a7 !important;
	box-shadow: 0 8px 20px rgba(32, 114, 185, 0.24) !important;
	transform: translateY(-1px);
}

.vpm-app .vpm-btn:active:not(:disabled),
#vpm-pwa-install-banner .vpm-btn:active:not(:disabled) {
	background: #1e68a9 !important;
	transform: translateY(0);
}

.vpm-app .vpm-btn:disabled,
.vpm-app .vpm-btn[disabled],
#vpm-pwa-install-banner .vpm-btn:disabled {
	background: var(--vpm-gray-200) !important;
	border-color: var(--vpm-gray-200) !important;
	color: var(--vpm-gray-500) !important;
	box-shadow: none !important;
	cursor: not-allowed;
	transform: none !important;
}

.vpm-app .vpm-btn--ghost,
.vpm-app .vpm-btn--soft,
#vpm-pwa-install-banner .vpm-btn--soft {
	background: #ffffff !important;
	border-color: var(--vpm-gray-300) !important;
	color: var(--vpm-neutral-black) !important;
	box-shadow: none !important;
}

.vpm-app .vpm-btn--ghost:hover:not(:disabled),
.vpm-app .vpm-btn--soft:hover:not(:disabled),
.vpm-app .vpm-btn--ghost:focus-visible:not(:disabled),
.vpm-app .vpm-btn--soft:focus-visible:not(:disabled),
#vpm-pwa-install-banner .vpm-btn--soft:hover:not(:disabled) {
	background: var(--vpm-gray-50) !important;
	border-color: var(--vpm-gray-300) !important;
	color: var(--vpm-neutral-black) !important;
	box-shadow: none !important;
}

.vpm-app .vpm-btn--danger,
.vpm-app .vpm-btn[data-intent="danger"] {
	background: var(--vpm-danger-orange) !important;
	border-color: var(--vpm-danger-orange) !important;
	color: #ffffff !important;
	box-shadow: none !important;
}

.vpm-app .vpm-btn--danger:hover:not(:disabled),
.vpm-app .vpm-btn[data-intent="danger"]:hover:not(:disabled) {
	background: #d4471a !important;
	border-color: #d4471a !important;
}

.vpm-app .vpm-btn--manager,
.vpm-app .vpm-btn[data-intent="manager"] {
	background: var(--vpm-manager-gold) !important;
	border-color: var(--vpm-manager-gold) !important;
	color: #ffffff !important;
	box-shadow: 0 6px 16px rgba(202, 158, 103, 0.2) !important;
}

.vpm-app .vpm-btn--manager:hover:not(:disabled),
.vpm-app .vpm-btn[data-intent="manager"]:hover:not(:disabled) {
	background: #b98f5c !important;
	border-color: #b98f5c !important;
	box-shadow: 0 8px 20px rgba(202, 158, 103, 0.26) !important;
}

.vpm-app .vpm-btn--status,
.vpm-app .vpm-btn[data-intent="status"] {
	min-height: 40px !important;
	padding: 0 20px !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	border-color: var(--vpm-brand-blue) !important;
	color: var(--vpm-brand-blue) !important;
	box-shadow: none !important;
}

.vpm-app .vpm-btn--status:hover:not(:disabled),
.vpm-app .vpm-btn[data-intent="status"]:hover:not(:disabled) {
	background: rgba(32, 114, 185, 0.08) !important;
	color: var(--vpm-brand-blue) !important;
}

.vpm-app .vpm-btn--status[aria-pressed="true"],
.vpm-app .vpm-btn[data-intent="status"][aria-pressed="true"] {
	background: var(--vpm-brand-blue) !important;
	color: #ffffff !important;
}

.vpm-app .vpm-btn--sm {
	min-height: 40px !important;
	padding: 0 14px !important;
	font-size: 0.875rem !important;
}

.vpm-wizard__nav {
	gap: 12px;
}

.vpm-wizard__nav .vpm-btn:not(.vpm-btn--sm) {
	flex: 1 1 0;
}

.vpm-wizard__nav .vpm-btn,
.vpm-field-head .vpm-btn,
.vpm-sample-step-nav .vpm-btn,
.vpm-notify-head .vpm-btn {
	width: auto !important;
}

.vpm-field-head .vpm-btn,
.vpm-sample-step-nav .vpm-btn,
.vpm-notify-head .vpm-btn {
	flex: 0 0 auto;
}

.vpm-plan-add__submit,
.vpm-crm-customer-form-actions .vpm-btn,
#vpm-shipment-submit,
#vpm-call-form .vpm-btn[type="submit"] {
	width: 100% !important;
}

@media (min-width: 960px) {
	.vpm-app .vpm-btn,
	.vpm-app button.vpm-btn,
	#vpm-pwa-install-banner .vpm-btn {
		min-height: 44px !important;
	}
}

.vpm-feedback {
	margin-top: 12px;
	padding: 12px;
	border-radius: var(--vpm-radius-sm);
	background: var(--vpm-bg-soft);
	color: var(--vpm-text);
	border: 1px solid var(--vpm-border);
}

.vpm-feedback--error {
	background: #fff;
	border-color: var(--vpm-accent);
	color: var(--vpm-text);
}

.vpm-muted {
	color: var(--vpm-muted);
	font-size: 0.875rem;
}

.vpm-empty {
	text-align: center;
	padding: 24px;
	color: var(--vpm-muted);
}

.vpm-rtl .vpm-sidebar,
.vpm-rtl .vpm-plan-item {
	direction: ltr;
}

.vpm-ltr .vpm-crm-card,
.vpm-ltr .vpm-search-item {
	text-align: left;
}

.vpm-rtl .vpm-crm-card,
.vpm-rtl .vpm-search-item {
	text-align: left;
}

.vpm-rtl .vpm-crm-card__title,
.vpm-rtl .vpm-crm-card__meta,
.vpm-rtl .vpm-plan-item__title,
.vpm-rtl .vpm-plan-item__meta,
.vpm-rtl .vpm-topbar__title {
	unicode-bidi: plaintext;
}
.vpm-crm-toolbar {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
}

.vpm-field--search input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--vpm-border);
	border-radius: var(--vpm-radius-sm);
	background: var(--vpm-surface);
	font-family: inherit;
}

.vpm-crm-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vpm-crm-card {
	display: block;
	width: 100%;
	text-align: start;
	padding: 14px 16px;
	border: 1px solid var(--vpm-border);
	border-radius: var(--vpm-radius-sm);
	background: var(--vpm-surface);
	cursor: pointer;
	font-family: inherit;
	box-shadow: var(--vpm-shadow);
}

.vpm-crm-card__title {
	font-weight: 600;
	color: var(--vpm-text);
}

.vpm-crm-card__meta {
	font-size: 0.8125rem;
	color: var(--vpm-muted);
	margin-top: 2px;
}

.vpm-crm-heading {
	margin: 8px 0 4px;
	font-size: 1.25rem;
	font-weight: 700;
}

.vpm-crm-subhead {
	margin: 20px 0 10px;
	font-size: 1rem;
	font-weight: 600;
}

.vpm-crm-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 16px 0 8px;
}

.vpm-crm-section-head h3 {
	margin: 0;
	font-size: 1rem;
}

.vpm-btn--sm {
	flex: 0 0 auto;
	width: auto;
	padding: 8px 12px;
	font-size: 0.8125rem;
}

.vpm-back-link {
	display: inline-block;
	margin-bottom: 8px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--vpm-accent);
	font-family: inherit;
	font-size: 0.875rem;
	cursor: pointer;
}

.vpm-crm-info {
	margin: 4px 0;
	font-size: 0.875rem;
}

.vpm-settings-fold {
	margin-top: 24px;
}

.vpm-search-results {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 8px;
	max-height: 220px;
	overflow-y: auto;
}

.vpm-search-item {
	display: block;
	width: 100%;
	text-align: start;
	padding: 10px 12px;
	border: 1px solid var(--vpm-border);
	border-radius: var(--vpm-radius-sm);
	background: var(--vpm-surface);
	cursor: pointer;
	font-family: inherit;
}

.vpm-search-item__title {
	font-weight: 600;
	font-size: 0.9375rem;
}

.vpm-search-item__meta {
	font-size: 0.8125rem;
	color: var(--vpm-muted);
}

.vpm-selected-chip {
	margin-top: 10px;
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--vpm-accent-soft);
	color: var(--vpm-accent);
	font-size: 0.875rem;
	font-weight: 500;
}

.vpm-timeline-item {
	padding: 12px 0;
	border-bottom: 1px solid var(--vpm-border);
}

.vpm-timeline-item__title {
	font-weight: 600;
}

.vpm-timeline-item__meta {
	font-size: 0.8125rem;
	color: var(--vpm-muted);
}

.vpm-timeline-item__body {
	font-size: 0.875rem;
	margin-top: 4px;
	color: var(--vpm-text-soft);
}

.vpm-notify-btn {
	position: relative;
	border: 1px solid var(--vpm-border);
	background: var(--vpm-surface);
	border-radius: var(--vpm-radius-sm);
	width: 40px;
	height: 40px;
	padding: 0;
	cursor: pointer;
	display: grid;
	place-items: center;
}

.vpm-notify-btn__icon {
	width: 18px;
	height: 18px;
	display: block;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23111827' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 17h5l-1.4-1.4A2 2 0 0118 14.2V11a6 6 0 10-12 0v3.2c0 .5-.2 1-.6 1.4L4 17h5m6 0a3 3 0 11-6 0'/%3E%3C/svg%3E") center/contain no-repeat;
}

.vpm-notify-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 16px;
	height: 16px;
	padding: 0 3px;
	border-radius: 999px;
	background: var(--vpm-danger);
	color: #fff;
	font-size: 0.625rem;
	line-height: 16px;
	text-align: center;
	font-weight: 700;
}

.vpm-notify-panel {
	position: fixed;
	z-index: 100001;
	background: var(--vpm-surface);
	border: 1px solid var(--vpm-border);
	border-radius: var(--vpm-radius);
	padding: 12px;
	max-height: min(320px, 50vh);
	overflow-y: auto;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	left: 12px;
	right: 12px;
	bottom: calc(var(--vpm-tabbar-h) + var(--vpm-safe-bottom) + 8px);
}

.vpm-tabbar__lang-wrap {
	position: relative;
	display: flex;
	align-items: stretch;
	justify-content: center;
}

.vpm-tabbar__lang-wrap--sidebar {
	display: none;
}

.vpm-tabbar__lang-popover {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	min-width: 120px;
	padding: 8px;
	background: var(--vpm-surface);
	border: 1px solid var(--vpm-border);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	z-index: 100002;
}

.vpm-tabbar__lang-popover .vpm-form-langs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin: 0;
}

.vpm-tab--utility {
	position: relative;
}

.vpm-tab--utility .vpm-notify-badge {
	top: 2px;
	right: 50%;
	transform: translateX(12px);
}

.vpm-tabbar--8 {
	grid-template-columns: repeat(8, minmax(0, 1fr));
}

.vpm-tabbar--8 .vpm-tab__label {
	font-size: 0.54rem;
}

.vpm-sidebar__utilities {
	display: none;
	gap: 8px;
	margin-bottom: 12px;
	align-items: center;
}

.vpm-sidebar__utility {
	flex-shrink: 0;
}

/* Desktop sidebar layout (SQUIRE-inspired) */
@media (min-width: 960px) {
	.vpm-app {
		flex-direction: row;
		max-width: none;
		margin: 0;
		padding-bottom: 0;
		min-height: 100vh;
	}

	.vpm-sidebar {
		display: flex;
		flex-direction: column;
		flex-shrink: 0;
		width: var(--vpm-sidebar-w);
		min-height: 100vh;
		position: sticky;
		top: 0;
		align-self: flex-start;
		background: var(--vpm-surface);
		border-inline-end: 1px solid var(--vpm-border);
		padding: 24px 0 20px;
	}

	.vpm-sidebar__brand {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 0 20px 28px;
	}

	.vpm-sidebar__mark {
		display: grid;
		place-items: center;
		width: 36px;
		height: 36px;
		border-radius: 10px;
		background: var(--vpm-accent);
		color: #fff;
		font-size: 0.72rem;
		font-weight: 800;
		letter-spacing: 0.04em;
	}

	.vpm-sidebar__brand-text {
		font-size: 0.95rem;
		font-weight: 800;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--vpm-text);
		line-height: 1.2;
	}

	.vpm-sidebar__nav {
		display: flex;
		flex-direction: column;
		gap: 2px;
		padding: 0 12px;
		flex: 1;
	}

	.vpm-sidebar__nav .vpm-tab {
		flex-direction: row;
		justify-content: flex-start;
		gap: 12px;
		width: 100%;
		padding: 11px 12px;
		border-radius: 8px;
		font-size: 0.875rem;
		color: var(--vpm-text-soft);
		border-inline-start: 3px solid transparent;
	}

	.vpm-sidebar__nav .vpm-tab__icon {
		width: 20px;
		height: 20px;
		flex-shrink: 0;
	}

	.vpm-sidebar__nav .vpm-tab--active {
		background: var(--vpm-nav-active-bg);
		color: var(--vpm-text);
		border-inline-start-color: var(--vpm-nav-active-border);
		font-weight: 600;
	}

	.vpm-sidebar__nav .vpm-tab--accent .vpm-tab__icon {
		background-color: var(--vpm-accent);
		border-radius: 50%;
		background-size: 12px 12px;
		opacity: 1;
	}

	.vpm-sidebar__footer {
		padding: 16px 20px 0;
		border-top: 1px solid var(--vpm-border);
		margin-top: auto;
	}

	.vpm-sidebar__user {
		display: flex;
		align-items: center;
		gap: 10px;
		margin-bottom: 12px;
	}

	.vpm-sidebar__avatar {
		width: 36px;
		height: 36px;
		border-radius: var(--vpm-radius-ui);
		background: var(--vpm-bg-soft);
		color: var(--vpm-text);
		font-weight: 700;
		font-size: 0.875rem;
		display: grid;
		place-items: center;
		flex-shrink: 0;
		overflow: hidden;
	}

	.vpm-sidebar__avatar-img,
	.vpm-sidebar__avatar img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
		border-radius: inherit;
	}

	.vpm-sidebar__avatar .vpm-user-avatar--initials {
		width: 100%;
		height: 100%;
		display: grid;
		place-items: center;
	}

	.vpm-sidebar__user-name {
		display: block;
		font-size: 0.875rem;
		font-weight: 600;
		color: var(--vpm-text);
		line-height: 1.3;
		font-family: var(--vpm-font);
	}

	.vpm-sidebar__user-greet {
		display: block;
		font-size: 0.75rem;
		color: var(--vpm-muted);
	}

	.vpm-sidebar__logout {
		display: block;
		font-size: 0.68rem;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: var(--vpm-muted);
		text-decoration: none;
		padding: 4px 0 8px;
	}

	.vpm-sidebar__logout:hover,
	.vpm-sidebar__logout:focus {
		color: var(--vpm-text);
	}

	.vpm-tabbar--mobile {
		display: none;
	}

	.vpm-main {
		flex: 1;
		min-height: 100vh;
	}

	.vpm-main__content {
		padding: 24px 28px 32px;
		padding-top: 16px;
		max-width: 1280px;
	}

	.vpm-dash-sticky-head {
		left: auto;
		right: auto;
		width: auto;
		transform: none;
	}

	.vpm-topbar {
		padding: 18px 28px;
	}

	.vpm-notify-btn--desktop {
		display: none !important;
	}

	.vpm-notify-btn--mobile {
		display: flex;
	}

	.vpm-notify-btn--sidebar {
		display: grid;
	}

	.vpm-sidebar__utilities {
		display: flex;
	}

	.vpm-tabbar__lang-wrap:not(.vpm-tabbar__lang-wrap--sidebar) {
		display: none;
	}

	.vpm-tabbar__lang-wrap--sidebar {
		display: flex;
	}

	.vpm-notify-panel {
		left: auto;
		right: 28px;
		bottom: 28px;
		top: auto;
		width: min(360px, calc(100vw - 56px));
	}

	.vpm-topbar__title--tab {
		font-size: 0.8125rem;
	}
}

.vpm-notify-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.vpm-notify-item {
	padding: 8px 0;
	border-bottom: 1px solid var(--vpm-border);
}

.vpm-notify-item--unread .vpm-notify-item__title {
	font-weight: 700;
}

.vpm-report-card,
.vpm-report-row {
	padding: 10px 12px;
	border: 1px solid var(--vpm-border);
	border-radius: var(--vpm-radius-sm);
	margin-bottom: 8px;
}

.vpm-report-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.vpm-phase-alerts {
	margin: 12px 0;
}

.vpm-alert {
	padding: 10px 12px;
	border-radius: var(--vpm-radius-sm);
	margin-bottom: 6px;
	font-size: 0.875rem;
	border: 1px solid var(--vpm-border);
}

.vpm-alert--critical,
.vpm-alert--high {
	font-weight: 600;
}

.vpm-tags-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vpm-tag-check {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.875rem;
}

.vpm-pwa-install {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.vpm-pwa-install-banner {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(72px + env(safe-area-inset-bottom));
	background: #111;
	color: #fff;
	border-radius: 10px;
	padding: 12px;
	z-index: 99999;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.vpm-pwa-install-banner__text {
	margin: 0 0 10px;
	font-size: 0.65rem;
	line-height: 1.45;
}

.vpm-pwa-install-banner__actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}

.vpm-pwa-install-banner .vpm-btn--soft {
	background: transparent;
	color: #fff;
	border-color: #666;
}

.vpm-live-map {
	margin-top: 20px;
}

.vpm-map-canvas {
	height: 220px;
	border-radius: var(--vpm-radius-sm);
	border: 1px solid var(--vpm-border);
	margin-bottom: 12px;
	overflow: hidden;
	background: var(--vpm-bg-soft);
}

.vpm-live-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.vpm-visit-gps {
	margin-top: 8px;
}

.vpm-wc-results {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 4px;
}

/* Activity picker modal — same pattern as VP Product Form wizards */
body.vpm-modal-open {
	overflow: hidden;
}

.vpm-wizard {
	position: fixed;
	inset: 0;
	z-index: 100100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	padding-bottom: calc(16px + var(--vpm-tabbar-h) + var(--vpm-safe-bottom));
}

.vpm-wizard[hidden] {
	display: none !important;
}

.vpm-wizard__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.vpm-wizard__panel {
	position: relative;
	z-index: 1;
	width: min(520px, 100%);
	max-height: min(85dvh, 720px);
	overflow: auto;
	background: var(--vpm-surface);
	border: 1px solid var(--vpm-border);
	border-radius: var(--vpm-radius);
	padding: 20px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
	font-family: inherit;
	margin: auto;
}

.vpm-wizard__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--vpm-text);
}

.vpm-wizard__panel-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.vpm-wizard__panel-head .vpm-wizard__title {
	flex: 1;
	min-width: 0;
}

.vpm-wizard__close {
	border: 0;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: var(--vpm-text);
	padding: 0 4px;
}

.vpm-wizard__body {
	margin-bottom: 16px;
}

.vpm-wizard__nav {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.vpm-wizard__nav .vpm-btn--ghost {
	flex: 0 0 auto;
}

.vpm-wizard__nav .vpm-btn:not(.vpm-btn--ghost) {
	flex: 0 0 auto;
	min-width: 120px;
}

.vpm-person-title-radio {
	align-items: center;
	background: var(--vpm-bg-soft, #f8fafc);
	border: 1px solid var(--vpm-border, #e5e7eb);
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 10px 12px;
}

.vpm-person-title-radio > span {
	color: var(--vpm-text-soft, #6b7280);
	font-size: 0.72rem;
	font-weight: 800;
	margin-inline-end: auto;
}

.vpm-person-title-radio label {
	align-items: center;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 800;
	gap: 5px;
	margin: 0;
}

.vpm-datetime-seq {
	display: grid;
	gap: 8px;
}

.vpm-datetime-seq__date,
.vpm-datetime-seq__time {
	width: 100%;
}

.vpm-datetime-seq__hint {
	color: var(--vpm-text-soft, #6b7280);
	font-size: 0.72rem;
	font-weight: 700;
}

.vpm-modal-picker__toolbar {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.vpm-modal-picker__toolbar .vpm-btn--soft {
	width: auto;
	flex: 0 0 auto;
	padding: 10px 14px;
	font-size: 0.875rem;
}

.vpm-modal-selected {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	margin-bottom: 12px;
	border-radius: var(--vpm-radius-sm);
	background: var(--vpm-bg-soft);
	border: 1px solid var(--vpm-border);
	font-size: 0.875rem;
}

.vpm-modal-selected__change {
	border: 0;
	background: none;
	padding: 0;
	color: var(--vpm-status-exceptional);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	flex-shrink: 0;
}

.vpm-modal-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: min(42vh, 360px);
	overflow: auto;
}

.vpm-modal-list .vpm-search-item {
	width: 100%;
	text-align: inherit;
}

.vpm-modal-hint {
	margin: 0 0 12px;
	font-size: 0.8125rem;
	color: var(--vpm-muted);
	line-height: 1.45;
}

@media (max-width: 640px) {
	.vpm-wizard {
		padding: 16px;
		padding-bottom: calc(16px + var(--vpm-tabbar-h) + var(--vpm-safe-bottom));
		align-items: center;
		justify-content: center;
	}

	.vpm-wizard__panel {
		width: min(480px, 100%);
		max-height: calc(100dvh - var(--vpm-tabbar-h) - var(--vpm-safe-bottom) - 32px);
		border-radius: var(--vpm-radius);
		padding: 16px;
	}
}

@media (min-width: 960px) {
	.vpm-wizard {
		padding-bottom: 16px;
	}
}

/* Address, phone rows, project contacts */
.vpm-address-fields {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 8px;
}

.vpm-field-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.vpm-field-head > span {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--vpm-text);
}

.vpm-phones-field,
.vpm-contacts-field {
	margin-bottom: 12px;
}

.vpm-phone-rows {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vpm-phone-row {
	display: grid;
	grid-template-columns: minmax(110px, 140px) 1fr auto;
	gap: 8px;
	align-items: end;
}

.vpm-field--phone-code,
.vpm-field--phone-num {
	margin: 0;
}

.vpm-phone-remove {
	align-self: end;
	min-width: 36px;
	padding: 8px;
	line-height: 1;
}

.vpm-contact-card {
	border: 1px solid var(--vpm-border, #e5e7eb);
	border-radius: var(--vpm-radius, 10px);
	padding: 12px;
	margin-bottom: 10px;
	background: var(--vpm-surface, #fff);
}

.vpm-contact-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
}

.vpm-name-i18n {
	margin: 8px 0 12px;
}

.vpm-name-i18n > summary {
	cursor: pointer;
	list-style: none;
	display: inline-block;
}

.vpm-name-i18n > summary::-webkit-details-marker {
	display: none;
}

.vpm-name-i18n__body {
	margin-top: 10px;
	padding: 10px 12px;
	border: 1px dashed var(--vpm-border, #e5e7eb);
	border-radius: var(--vpm-radius, 10px);
	background: var(--vpm-soft, #f8fafc);
}

.vpm-name-i18n__en {
	margin: 0 0 10px;
	font-size: 0.92rem;
	color: var(--vpm-muted, #64748b);
}

.vpm-crm-contacts {
	margin: 12px 0 16px;
}

.vpm-crm-contact-row {
	padding: 8px 0;
	border-bottom: 1px solid var(--vpm-border, #e5e7eb);
}

.vpm-crm-contact-row:last-child {
	border-bottom: 0;
}

.vpm-feedback--ok {
	color: #166534;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	padding: 10px 12px;
	border-radius: var(--vpm-radius, 10px);
	margin-bottom: 12px;
}

@media (max-width: 480px) {
	.vpm-phone-row {
		grid-template-columns: 1fr;
	}
}

.vpm-project-pick-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	width: 100%;
	text-align: inherit;
	padding: 14px 16px;
	border: 1px solid var(--vpm-border, #e5e7eb);
	border-radius: var(--vpm-radius, 10px);
	background: var(--vpm-surface, #fff);
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vpm-project-pick-card:hover {
	border-color: var(--vpm-accent, #111827);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.vpm-project-pick-card__title {
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--vpm-text, #111827);
}

.vpm-project-pick-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.vpm-badge--pipeline {
	background: #eff6ff;
	color: #1d4ed8;
}

.vpm-badge--phase {
	background: #f0fdf4;
	color: #166534;
}

.vpm-radio-card {
	display: block;
	padding: 12px 14px;
	border: 1px solid var(--vpm-border, #e5e7eb);
	border-radius: var(--vpm-radius, 10px);
	margin-bottom: 8px;
	cursor: pointer;
}

.vpm-radio-card:has(input:checked) {
	border-color: var(--vpm-accent, #111827);
	background: var(--vpm-accent-soft, #f3f4f6);
}

.vpm-wizard__panel--wide {
	max-width: min(640px, 100%);
}

.vpm-sample-line {
	border: 1px solid var(--vpm-border, #e5e7eb);
	border-radius: var(--vpm-radius, 10px);
	padding: 12px;
	margin-bottom: 12px;
	background: var(--vpm-bg-soft, #f9fafb);
}

.vpm-sample-line__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.vpm-sample-step-nav {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	padding: 8px;
	border: 1px solid var(--vpm-border, #e5e7eb);
	border-radius: var(--vpm-radius-sm, 8px);
	background: #ffffff;
}

.vpm-sample-step-nav__label {
	min-width: 0;
	text-align: center;
	font-size: var(--vpm-text-sm, 0.75rem);
	font-weight: 800;
	color: #111111;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vpm-sample-step[hidden] {
	display: none !important;
}

.vpm-sample-line__notes {
	margin-top: 12px;
}

/* VisionPars ERP Button Design System v1.0 */
.vpm-app .vpm-btn,
body.vpm-portal-page .vpm-btn {
	min-height: var(--vpm-btn-h-md, 48px);
	padding: 0 18px;
	border-radius: var(--vpm-btn-radius, 14px);
	border: 1px solid var(--vpm-brand-blue, #2072B9);
	background: var(--vpm-brand-blue, #2072B9);
	color: #ffffff;
	box-shadow: var(--vpm-btn-primary-shadow, 0 6px 16px rgba(32, 114, 185, 0.18));
	font-family: var(--vpm-font);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
	-webkit-tap-highlight-color: transparent;
}

.vpm-app .vpm-btn:hover:not(:disabled),
body.vpm-portal-page .vpm-btn:hover:not(:disabled),
.vpm-app .vpm-btn:focus-visible:not(:disabled),
body.vpm-portal-page .vpm-btn:focus-visible:not(:disabled) {
	background: #1d67a7;
	border-color: #1d67a7;
	box-shadow: 0 8px 20px rgba(32, 114, 185, 0.22);
	outline: none;
}

.vpm-app .vpm-btn:active:not(:disabled),
body.vpm-portal-page .vpm-btn:active:not(:disabled) {
	background: #1b629f;
	border-color: #1b629f;
	transform: translateY(1px);
}

.vpm-app .vpm-btn:disabled,
body.vpm-portal-page .vpm-btn:disabled,
.vpm-app .vpm-btn[aria-disabled="true"],
body.vpm-portal-page .vpm-btn[aria-disabled="true"] {
	background: var(--vpm-gray-200, #E5E7EB) !important;
	border-color: var(--vpm-gray-200, #E5E7EB) !important;
	color: var(--vpm-gray-500, #6B7280) !important;
	box-shadow: none !important;
	cursor: not-allowed;
	opacity: 1;
}

.vpm-app .vpm-btn--ghost,
.vpm-app .vpm-btn--soft,
.vpm-app .vpm-wizard__cancel,
.vpm-app #vpm-wizard-back,
.vpm-app #vpm-activity-modal-back,
.vpm-app #vpm-sample-lines-modal-cancel,
.vpm-app #vpm-perf-modal-cancel,
.vpm-app #vpm-incomplete-modal-cancel,
.vpm-app #vpm-map-modal-cancel,
.vpm-app #vpm-pwa-install-dismiss,
body.vpm-portal-page .vpm-btn--ghost,
body.vpm-portal-page .vpm-btn--soft {
	background: #ffffff;
	border-color: var(--vpm-gray-300, #D1D5DB);
	color: var(--vpm-neutral-black, #000000);
	box-shadow: none;
}

.vpm-app .vpm-btn--ghost:hover:not(:disabled),
.vpm-app .vpm-btn--soft:hover:not(:disabled),
.vpm-app .vpm-wizard__cancel:hover:not(:disabled),
.vpm-app #vpm-wizard-back:hover:not(:disabled),
.vpm-app #vpm-activity-modal-back:hover:not(:disabled),
body.vpm-portal-page .vpm-btn--ghost:hover:not(:disabled),
body.vpm-portal-page .vpm-btn--soft:hover:not(:disabled) {
	background: var(--vpm-gray-50, #F9FAFB);
	border-color: var(--vpm-gray-300, #D1D5DB);
	color: var(--vpm-neutral-black, #000000);
	box-shadow: none;
}

.vpm-app .vpm-btn--sm,
body.vpm-portal-page .vpm-btn--sm {
	min-height: var(--vpm-btn-h-sm, 40px);
	padding: 0 14px;
	font-size: 0.875rem;
	border-radius: 12px;
}

@media (min-width: 960px) {
	.vpm-app .vpm-btn,
	body.vpm-portal-page .vpm-btn {
		min-height: 44px;
		width: auto;
	}
}

@media (max-width: 640px) {
	.vpm-app .vpm-wizard__nav .vpm-btn,
	.vpm-app .vpm-plan-add__submit,
	.vpm-app #vpm-shipment-submit,
	.vpm-app #vpm-pwa-install-accept,
	.vpm-app #vpm-pwa-install-dismiss {
		width: 100%;
	}
}

.vpm-app #vpm-return-request,
.vpm-app #vpm-publish-quotes,
.vpm-app #vpm-supervisor-proforma,
.vpm-app #vpm-send-proforma,
.vpm-app #vpm-issue-proforma,
.vpm-app [data-operation-add-plan] {
	background: var(--vpm-manager-gold, #CA9E67);
	border-color: var(--vpm-manager-gold, #CA9E67);
	color: #ffffff;
	box-shadow: var(--vpm-btn-manager-shadow, 0 6px 16px rgba(202, 158, 103, 0.18));
}

.vpm-app #vpm-return-request:hover:not(:disabled),
.vpm-app #vpm-publish-quotes:hover:not(:disabled),
.vpm-app #vpm-supervisor-proforma:hover:not(:disabled),
.vpm-app #vpm-send-proforma:hover:not(:disabled),
.vpm-app #vpm-issue-proforma:hover:not(:disabled),
.vpm-app [data-operation-add-plan]:hover:not(:disabled) {
	background: #b98f5d;
	border-color: #b98f5d;
	box-shadow: 0 8px 20px rgba(202, 158, 103, 0.22);
}

.vpm-app .vpm-sample-line-remove,
.vpm-app .vpm-sample-photo-rm,
.vpm-app .vpm-phone-remove,
.vpm-app .vpm-contact-remove,
.vpm-app .vpm-erp-shipment__delete,
.vpm-app [data-shipment-status="cancelled"] {
	background: var(--vpm-danger-orange, #E94F1D) !important;
	border-color: var(--vpm-danger-orange, #E94F1D) !important;
	color: #ffffff !important;
	box-shadow: none;
}

.vpm-app .vpm-sample-photo-rm {
	min-height: 26px;
	width: 26px;
	height: 26px;
	padding: 0;
	border-radius: 999px;
	font-size: 1rem;
}

.vpm-app #vpm-download-proforma,
.vpm-app #vpm-preview-proforma,
.vpm-app [data-operation-copy] {
	background: #ffffff;
	border-color: var(--vpm-gray-300, #D1D5DB);
	color: var(--vpm-neutral-black, #000000);
	box-shadow: none;
}

.vpm-app #vpm-mark-presented,
.vpm-app [data-shipment-status="in_transit"],
.vpm-app [data-shipment-status="delivered"],
.vpm-app .vpm-erp-filter-tab {
	min-height: 40px;
	padding: 0 20px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid var(--vpm-brand-blue, #2072B9);
	color: var(--vpm-brand-blue, #2072B9);
	box-shadow: none;
	font-size: 0.875rem;
	font-weight: 600;
}

.vpm-app .vpm-erp-filter-tab--active {
	background: var(--vpm-brand-blue, #2072B9);
	border-color: var(--vpm-brand-blue, #2072B9);
	color: #ffffff;
}

.vpm-sample-photo-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.vpm-sample-photo-thumb {
	position: relative;
	width: 72px;
	height: 72px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--vpm-border, #e5e7eb);
}

.vpm-sample-photo-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vpm-sample-photo-rm {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 22px;
	height: 22px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	cursor: pointer;
	line-height: 1;
}

.vpm-auto-datetime {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 14px;
	margin-bottom: 12px;
	border-radius: var(--vpm-radius, 10px);
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
}

.vpm-auto-datetime__label {
	font-size: 0.75rem;
	color: var(--vpm-muted);
}

.vpm-auto-datetime__value {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--vpm-text);
}

.vpm-auto-datetime__hint {
	font-size: 0.75rem;
	color: #166534;
}

.vpm-datetime-input--calendar {
	width: 100%;
	cursor: pointer;
}

.vpm-search-select__wrap {
	position: relative;
}

.vpm-search-select__input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--vpm-border, #e5e7eb);
	border-radius: var(--vpm-radius-sm, 8px);
	font: inherit;
	background: #fff;
}

.vpm-search-select.is-disabled .vpm-search-select__input {
	background: var(--vpm-bg-soft, #f9fafb);
	color: var(--vpm-muted);
}

.vpm-search-select__dropdown {
	position: absolute;
	z-index: 40;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	max-height: 220px;
	overflow: auto;
	background: #fff;
	border: 1px solid var(--vpm-border, #e5e7eb);
	border-radius: var(--vpm-radius-sm, 8px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.vpm-search-select__option {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	background: transparent;
	text-align: inherit;
	font: inherit;
	cursor: pointer;
}

.vpm-search-select__option:hover {
	background: var(--vpm-bg-soft, #f3f4f6);
}

.vpm-search-select__empty {
	padding: 12px;
	font-size: 0.8125rem;
	color: var(--vpm-muted);
}

.vpm-sample-line__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin-bottom: 12px;
}

@media (min-width: 520px) {
	.vpm-sample-line__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.vpm-sample-line__num {
	font-weight: 600;
	font-size: 0.9375rem;
}

.vpm-sample-delivery {
	margin-bottom: 12px;
}

.vpm-sample-delivery__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.vpm-pill-check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border: 1px solid var(--vpm-border, #e5e7eb);
	border-radius: 999px;
	font-size: 0.8125rem;
	cursor: pointer;
	background: #fff;
}

.vpm-pill-check:has(input:checked) {
	border-color: #000;
	background: #f3f4f6;
	font-weight: 600;
}

.vpm-btn--block {
	width: 100%;
	margin-top: 8px;
}

.vpm-sample-modal-intro {
	margin-bottom: 14px;
}

.vpm-wizard__panel--wide {
	max-width: min(640px, 100%);
}

.vpm-update-banner {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100110;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	padding: 10px 16px;
	padding-top: max(10px, env(safe-area-inset-top, 0px));
	background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
	color: #fff;
	box-shadow: 0 4px 16px rgba(30, 58, 138, 0.35);
	text-align: center;
}

.vpm-update-banner[hidden] {
	display: none !important;
}

.vpm-update-banner__text {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	flex: 1 1 200px;
	max-width: 640px;
}

.vpm-update-banner__btn {
	flex-shrink: 0;
	background: #fff !important;
	color: #1e40af !important;
	border: 0 !important;
	font-weight: 700;
}

.vpm-update-banner__btn:hover,
.vpm-update-banner__btn:focus {
	background: #eff6ff !important;
}

.vpm-update-banner__busy {
	margin: 0;
	width: 100%;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #fde68a;
}

body.vpm-has-update-banner.vpm-portal-page .vpm-shell {
	padding-top: calc(var(--vpm-safe-top) + var(--vpm-update-banner-h));
}

/* Real-time inbox toast */
.vpm-inbox-toast-stack {
	position: fixed;
	top: calc(var(--vpm-safe-top, 0px) + 12px);
	left: 50%;
	transform: translateX(-50%);
	z-index: 10050;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: min(420px, calc(100vw - 24px));
	pointer-events: none;
}

body.vpm-has-update-banner .vpm-inbox-toast-stack {
	top: calc(var(--vpm-safe-top, 0px) + var(--vpm-update-banner-h, 52px) + 8px);
}

.vpm-inbox-toast {
	pointer-events: auto;
	background: #111;
	color: #fff;
	border-radius: 14px;
	padding: 14px 16px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
	border: 1px solid rgba(201, 162, 39, .35);
	animation: vpmToastIn .35s ease;
}

.vpm-inbox-toast__title {
	font-size: 14px;
	font-weight: 800;
	margin: 0 0 4px;
	color: #c9a227;
}

.vpm-inbox-toast__body {
	font-size: 12px;
	line-height: 1.5;
	margin: 0 0 10px;
	color: #e5e7eb;
}

.vpm-inbox-toast__actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}

.vpm-inbox-toast__btn {
	border: 0;
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.vpm-inbox-toast__btn--primary {
	background: #c9a227;
	color: #111;
}

.vpm-inbox-toast__btn--ghost {
	background: transparent;
	color: #d1d5db;
	border: 1px solid #4b5563;
}

@keyframes vpmToastIn {
	from { opacity: 0; transform: translateY(-12px); }
	to { opacity: 1; transform: translateY(0); }
}
