.cme-wrap {
	--cme-brand: #909b8b;
	--cme-brand-dark: #003f32;
	--cme-brand-warm: #b49980;
	--cme-heading: #76513c;
	--cme-border: #e5e7e5;
	--cme-muted: #66706a;
	--cme-surface: #fff;
	--cme-soft: #f7f8f7;
	--cme-text: #2f332f;
	max-width: 1440px;
}

.cme-wrap h1 {
	margin-bottom: 14px;
}

.cme-wrap h2 {
	font-size: 18px;
	line-height: 1.35;
	margin: 0 0 14px;
}

.cme-wrap h3 {
	font-size: 16px;
	margin: 24px 0 10px;
}

.cme-wrap .cme-grid {
	align-items: start;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	margin-top: 16px;
}

.cme-panel {
	background: var(--cme-surface);
	border: 1px solid var(--cme-border);
	border-radius: 6px;
	margin: 16px 0;
	padding: 18px;
}

.cme-panel h2 {
	margin-top: 0;
}

.cme-panel__heading {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.cme-network-summary {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cme-network-summary span,
.cme-network-tooltip span {
	display: block;
	font-size: 12px;
	color: var(--cme-muted);
}

.cme-network-summary strong {
	display: block;
	font-size: 15px;
	margin-top: 5px;
}

.cme-network-tree {
	overflow: visible;
	padding: 6px 8px 12px;
}

.cme-network-tree ul {
	border-left: 1px solid #c9d3cb;
	list-style: none;
	margin: 0 0 0 12px;
	padding-left: 24px;
}

.cme-network-tree > ul {
	border-left: 0;
	margin-left: 0;
	padding-left: 0;
}

.cme-network-node {
	margin: 10px 0;
	position: relative;
}

.cme-network-node::before {
	border-top: 1px solid #c9d3cb;
	content: '';
	height: 1px;
	left: -24px;
	position: absolute;
	top: 17px;
	width: 20px;
}

.cme-network-tree > ul > .cme-network-node::before {
	display: none;
}

.cme-network-node summary {
	cursor: pointer;
	display: inline-block;
}

.cme-network-member {
	background: #f6f9f7;
	border: 1px solid var(--cme-border);
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: 5px;
	padding: 7px 10px;
	position: relative;
}

.cme-network-member:focus,
.cme-network-member:hover {
	border-color: var(--cme-brand);
	outline: none;
}

.cme-network-tooltip {
	background: #26352d;
	border-radius: 5px;
	box-shadow: 0 5px 18px rgba(0, 0, 0, .18);
	color: #fff;
	display: none;
	left: 0;
	min-width: 230px;
	padding: 10px 12px;
	position: absolute;
	bottom: calc(100% + 7px);
	z-index: 10;
}

.cme-network-tooltip strong { display: block; margin-bottom: 4px; }
.cme-network-tooltip span { color: #dbe5dd; }
.cme-network-member:hover .cme-network-tooltip,
.cme-network-member:focus .cme-network-tooltip { display: block; }

@media (max-width: 782px) {
	.cme-network-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cme-panel__heading { align-items: stretch; flex-direction: column; }
}

.cme-search-form,
.cme-inline-form {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 16px 0;
}

.cme-search-form label,
.cme-inline-form label {
	display: grid;
	font-weight: 600;
	gap: 4px;
}

.cme-inline-form .cme-wide {
	min-width: min(420px, 100%);
}

.cme-inline-form input[type="text"],
.cme-search-form input[type="text"] {
	min-width: 280px;
}

.cme-bonus-decision {
	max-width: 260px;
}

.cme-bonus-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 170px;
}

.cme-bonus-actions .cme-inline-form {
	align-items: center;
	gap: 6px;
	margin: 0;
}

.cme-bonus-actions .cme-inline-form input[type="text"] {
	min-width: 130px;
	width: 130px;
}

.cme-user-finder {
	margin-top: 12px;
}

.cme-user-browser .cme-muted {
	color: var(--cme-muted);
	display: inline-block;
	margin-left: 6px;
}

.cme-wrap .widefat {
	border-color: var(--cme-border);
	border-radius: 6px;
	overflow: hidden;
}

.cme-wrap .widefat th,
.cme-wrap .widefat td {
	padding: 10px 12px;
	vertical-align: middle;
}

.cme-wrap .widefat thead th {
	background: var(--cme-soft);
	font-weight: 600;
}

.cme-settings-table {
	margin-bottom: 22px;
}

.cme-user-browser td,
.cme-user-browser th {
	vertical-align: middle;
}

.cme-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cme-settings-table input[type="number"] {
	max-width: 120px;
}

.cme-wrap input[type="text"],
.cme-wrap input[type="number"],
.cme-wrap input[type="date"],
.cme-wrap select {
	border-radius: 4px;
	min-height: 34px;
}

.cme-wrap textarea {
	width: 100%;
}

.cme-warehouse-form {
	display: grid;
	gap: 12px;
	max-width: 680px;
}

.cme-warehouse-form label {
	display: grid;
	font-weight: 600;
	gap: 4px;
}

.cme-request-items {
	display: grid;
	gap: 8px;
}

.cme-request-item {
	align-items: end;
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1fr) 120px auto;
}

.cme-request-item__remove {
	margin-bottom: 8px;
}

.cme-warehouse-modal {
	border: 0;
	border-radius: 8px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
	max-width: min(720px, calc(100vw - 32px));
	padding: 24px;
	width: 100%;
}

.cme-warehouse-modal::backdrop {
	background: rgba(0, 0, 0, 0.42);
}

.cme-warehouse-modal__header {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 16px;
}

.cme-warehouse-modal__header h3 {
	margin: 0;
}

.cme-warehouse-modal__close {
	font-size: 24px;
	line-height: 1;
	text-decoration: none;
}

.cme-snackbar {
	border-radius: 6px;
	bottom: 24px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
	color: #fff;
	font-weight: 600;
	left: 50%;
	max-width: min(520px, calc(100vw - 32px));
	padding: 12px 16px;
	position: fixed;
	text-align: center;
	transform: translateX(-50%);
	transition: opacity 180ms ease, transform 180ms ease;
	z-index: 99999;
}

.cme-snackbar--success {
	background: #00a32a;
}

.cme-snackbar--error {
	background: #dc3545;
}

.cme-snackbar--hide {
	opacity: 0;
	pointer-events: none;
	transform: translateX(-50%) translateY(12px);
}

.cme-warehouse-actions {
	align-items: center;
	gap: 8px;
	margin: 0;
}

.cme-request-actions-dialog {
	max-width: min(760px, calc(100vw - 32px));
}

.cme-request-actions-dialog[open] {
	left: 50%;
	margin: 0;
	position: fixed;
	top: 50%;
	transform: translate(-50%, -50%);
}

.cme-request-actions-dialog__panel {
	display: block;
}

.cme-request-actions-dialog .cme-warehouse-actions {
	margin: 0;
}

.cme-request-actions-dialog select,
.cme-request-actions-dialog input[type="text"] {
	min-height: 32px;
	min-width: 0;
}

.cme-request-actions-dialog select {
	flex: 0 1 170px;
}

.cme-request-actions-dialog input[type="text"] {
	flex: 1 1 280px;
}

.cme-request-actions-dialog .button {
	white-space: nowrap;
}

.cme-checkout-warehouse {
	border: 1px solid #dcdcde;
	border-radius: 4px;
	margin: 0 0 24px;
	padding: 16px;
}

.cme-checkout-warehouse label,
.woocommerce-checkout .cme-checkout-warehouse .form-row .woocommerce-input-wrapper label.radio {
	align-items: center;
	display: inline-flex !important;
	gap: 8px;
	margin-top: 10px;
}

.woocommerce-checkout .cme-checkout-warehouse .form-row .woocommerce-input-wrapper {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.woocommerce-checkout .cme-checkout-warehouse .form-row .woocommerce-input-wrapper label.radio {
	margin: 0 !important;
	width: auto;
}

.cme-checkout-warehouse label input[type="radio"],
.woocommerce-checkout .cme-checkout-warehouse .form-row input[type="radio"] {
	display: inline-block !important;
	flex: 0 0 auto;
	margin: 0 !important;
	position: static;
	width: auto !important;
}

.cme-audit-table {
	table-layout: fixed;
}

.cme-audit-table td,
.cme-audit-table th {
	overflow-wrap: anywhere;
	vertical-align: top;
}

.cme-audit-table th:nth-child(1) {
	width: 92px;
}

.cme-audit-table th:nth-child(2) {
	width: 180px;
}

.cme-audit-table th:nth-child(3),
.cme-audit-table th:nth-child(4),
.cme-audit-table th:nth-child(5) {
	width: 120px;
}

.cme-table-scroll {
	overflow-x: auto;
}

.cme-wrap .page-numbers {
	display: inline-block;
	margin: 12px 4px 0 0;
	padding: 4px 8px;
	text-decoration: none;
}

.cme-wrap .page-numbers.current {
	background: #2271b1;
	border-radius: 4px;
	color: #fff;
}

.cme-stat-grid,
.cme-progress-grid,
.cme-chart-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	margin: 16px 0;
}

.cme-chart-grid {
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.cme-report-filter {
	margin-bottom: 24px;
}

.cme-report-filter__top {
	align-items: flex-end;
	display: flex;
	gap: 18px;
	justify-content: space-between;
}

.cme-report-tabs {
	margin: 0 0 22px;
}

.cme-report-filter__form {
	align-items: flex-end;
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 12px;
}

.cme-report-filter__form label {
	color: var(--cme-muted);
	display: grid;
	font-size: 12px;
	font-weight: 700;
	gap: 5px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.cme-report-filter__form select,
.cme-report-filter__form input[type="date"] {
	min-width: 170px;
}

.cme-location-sales-filter__statuses {
	color: var(--cme-muted);
	display: grid;
	font-size: 12px;
	font-weight: 700;
	gap: 5px;
	letter-spacing: 0.04em;
	min-width: 185px;
	position: relative;
	text-transform: uppercase;
}

.cme-location-sales-status-menu summary {
	align-items: center;
	background: #fff;
	border: 1px solid var(--cme-border);
	border-radius: 6px;
	color: var(--cme-text);
	cursor: pointer;
	display: flex;
	font-size: 14px;
	font-weight: 600;
	gap: 10px;
	justify-content: space-between;
	letter-spacing: 0;
	list-style: none;
	min-height: 38px;
	padding: 8px 10px;
	text-transform: none;
}

.cme-location-sales-status-menu summary::-webkit-details-marker {
	display: none;
}

.cme-location-sales-status-menu summary .dashicons {
	color: var(--cme-muted);
	font-size: 16px;
	height: 16px;
	width: 16px;
}

.cme-location-sales-status-menu[open] summary {
	border-color: var(--cme-brand);
	box-shadow: 0 0 0 1px var(--cme-brand);
}

.cme-location-sales-status-menu__options {
	background: #fff;
	border: 1px solid var(--cme-border);
	border-radius: 7px;
	box-shadow: 0 8px 20px rgba(30, 45, 34, 0.14);
	display: grid;
	left: 0;
	max-height: 230px;
	overflow-y: auto;
	padding: 5px;
	position: absolute;
	top: calc(100% + 7px);
	width: 100%;
	z-index: 12;
}

.cme-report-filter__form label.cme-location-sales-status-menu__option {
	align-items: center;
	color: var(--cme-text);
	display: flex;
	font-size: 13px;
	font-weight: 500;
	gap: 8px;
	letter-spacing: 0;
	padding: 7px 8px;
	text-transform: none;
}

.cme-report-filter__form label.cme-location-sales-status-menu__option:hover {
	background: var(--cme-soft);
	border-radius: 4px;
}

.cme-location-sales-status-menu__option input {
	margin: 0;
}

.cme-report-export-menu {
	align-self: flex-end;
	display: inline-block;
	flex: 0 0 auto;
	position: relative;
}

.cme-report-export-menu > .button {
	align-items: center;
	cursor: pointer;
	display: inline-flex;
	gap: 7px;
	list-style: none;
	min-height: 38px;
}

.cme-report-export-menu > .button .dashicons {
	font-size: 16px;
	height: 16px;
	width: 16px;
}

.cme-report-export-menu.is-open > .button {
	border-color: var(--cme-brand);
	box-shadow: 0 0 0 1px var(--cme-brand);
}

.cme-report-export-menu__items {
	background: #fff;
	border: 1px solid var(--cme-border);
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(30, 45, 34, 0.14);
	display: grid;
	min-width: 230px;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 10;
}

.cme-report-filter__top > .cme-report-export-menu > .cme-report-export-menu__items {
	bottom: auto;
	right: 0;
	top: calc(100% + 8px);
}

.cme-report-export-menu__items[hidden] {
	display: none;
}

.cme-report-export-menu__items a {
	border-bottom: 1px solid var(--cme-border);
	color: var(--cme-text);
	font-size: 13px;
	font-weight: 600;
	padding: 11px 13px;
	text-decoration: none;
}

.cme-report-export-menu__items a:last-child {
	border-bottom: 0;
}

.cme-report-export-menu__items a:hover,
.cme-report-export-menu__items a:focus {
	background: var(--cme-soft);
	color: var(--cme-brand-dark);
}

.cme-report-filter__form .button {
	margin-bottom: 1px;
}

.cme-report-section-title {
	margin: 26px 0 8px;
}

.cme-report-kpis {
	margin-bottom: 20px;
}

.cme-wrap.cme-enhanced .cme-report-kpis .cme-stat strong {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.cme-stat,
.cme-progress-card {
	background: var(--cme-surface);
	border: 1px solid var(--cme-border);
	border-radius: 6px;
	padding: 14px;
}

.cme-stat span {
	color: var(--cme-muted);
	display: block;
	font-size: 12px;
	text-transform: uppercase;
}

.cme-stat strong {
	display: block;
	font-size: 28px;
	line-height: 1.2;
	margin-top: 4px;
}

.cme-stat .cme-stat-date {
	font-size: 18px;
	line-height: 1.35;
}

.cme-stat small {
	color: var(--cme-muted);
	display: block;
	margin-top: 6px;
}

.cme-progress-panel {
	margin-top: 20px;
}

.cme-progress-card h4 {
	margin: 0 0 8px;
}

.cme-progress-card p {
	margin: 8px 0 0;
}

.cme-progress-bar {
	background: #e6e6e6;
	border-radius: 999px;
	height: 10px;
	overflow: hidden;
}

.cme-progress-bar span {
	background: #2271b1;
	display: block;
	height: 100%;
}

.cme-chart-bars {
	display: grid;
	gap: 10px;
}

.cme-chart-row {
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(110px, 1fr) minmax(120px, 2fr) auto;
	align-items: center;
}

.cme-chart-label {
	overflow-wrap: anywhere;
}

.cme-chart-track {
	background: #e6e6e6;
	border-radius: 999px;
	height: 12px;
	overflow: hidden;
}

.cme-chart-track span {
	background: #2271b1;
	display: block;
	height: 100%;
}

.cme-column-chart {
	min-height: 255px;
	overflow-x: auto;
}

.cme-column-chart__plot {
	align-items: end;
	display: grid;
	gap: 12px;
	min-height: 240px;
	padding: 12px 4px 0;
}

.cme-column-chart__item {
	align-items: center;
	display: grid;
	grid-template-rows: auto 148px auto;
	min-width: 44px;
	text-align: center;
}

.cme-column-chart__item strong {
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	margin-bottom: 7px;
	white-space: nowrap;
}

.cme-column-chart__track {
	align-items: end;
	background: repeating-linear-gradient(to top, #edf0ed 0, #edf0ed 1px, transparent 1px, transparent 37px);
	display: flex;
	height: 148px;
}

.cme-column-chart__track span {
	background: var(--cme-brand);
	border-radius: 4px 4px 0 0;
	display: block;
	width: 100%;
}

.cme-column-chart__item small,
.cme-line-chart__labels small {
	color: var(--cme-muted);
	display: block;
	font-size: 10px;
	margin-top: 8px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cme-line-chart {
	min-height: 255px;
	overflow-x: auto;
}

.cme-line-chart svg {
	display: block;
	height: 180px;
	min-width: 560px;
	width: 100%;
}

.cme-line-chart line {
	stroke: #e4e9e4;
	stroke-width: 1;
}

.cme-line-chart polyline {
	fill: none;
	stroke: var(--cme-brand);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 3;
}

.cme-line-chart circle {
	fill: #fff;
	stroke: var(--cme-brand);
	stroke-width: 3;
}

.cme-line-chart__labels {
	display: grid;
	gap: 8px;
	min-width: 560px;
	padding: 0 4px;
}

.cme-line-chart__labels span {
	overflow: hidden;
	text-align: center;
}

.cme-line-chart__labels strong {
	display: block;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.cme-wrap .description {
	color: var(--cme-muted);
	max-width: 760px;
}

.cme-wrap .notice.inline {
	margin: 12px 0 16px;
}

@media (max-width: 782px) {
	.cme-search-form,
	.cme-inline-form,
	.cme-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.cme-inline-form input[type="text"],
	.cme-search-form input[type="text"],
	.cme-wrap select {
		min-width: 0;
		width: 100%;
	}

	.cme-report-filter__form {
		align-items: stretch;
		display: grid;
		grid-template-columns: 1fr;
	}

	.cme-report-filter__top {
		align-items: stretch;
		flex-direction: column;
	}

	.cme-report-export-menu {
		align-self: flex-start;
	}

	.cme-report-filter__form select,
	.cme-report-filter__form input[type="date"] {
		max-width: none;
		width: 100%;
	}

	.cme-request-item {
		grid-template-columns: 1fr;
	}

	.cme-request-item__remove {
		justify-self: start;
	}

	.cme-chart-row {
		grid-template-columns: 1fr;
	}
}

/* Chevin White Canvas admin system. */
body:has(.cme-wrap) #wpcontent {
	background: #fff;
}

#toplevel_page_cme-dashboard > .wp-submenu,
#toplevel_page_cme-dashboard > .wp-menu-arrow {
	display: none !important;
}

.cme-wrap.cme-enhanced {
	background: #fff;
	box-sizing: border-box;
	color: var(--cme-text);
	margin: 0 0 0 -20px;
	max-width: none;
	min-height: calc(100vh - 32px);
	padding: 32px clamp(24px, 3.4vw, 52px) 56px;
	position: relative;
}

.cme-workspace-nav {
	background: #fff;
	border: 1px solid var(--cme-border);
	border-radius: 9px;
	margin: 0 0 30px;
	overflow: hidden;
}

.cme-workspace-nav__items {
	display: grid;
	grid-template-columns: repeat(7, minmax(112px, 1fr));
	overflow-x: auto;
}

.cme-wrap.cme-enhanced .cme-workspace-nav__link {
	align-items: center;
	border-right: 1px solid var(--cme-border);
	color: #59615b;
	display: flex;
	font-size: 13px;
	font-weight: 600;
	gap: 8px;
	justify-content: center;
	min-height: 66px;
	padding: 12px 14px;
	position: relative;
	text-decoration: none;
	white-space: nowrap;
}

.cme-wrap.cme-enhanced .cme-workspace-nav__link:last-child {
	border-right: 0;
}

.cme-wrap.cme-enhanced .cme-workspace-nav__link:hover {
	background: var(--cme-soft);
	color: var(--cme-brand-dark);
}

.cme-wrap.cme-enhanced .cme-workspace-nav__link.is-current {
	background: #fff;
	color: var(--cme-brand-dark);
}

.cme-wrap.cme-enhanced .cme-workspace-nav__link.is-current::after {
	background: var(--cme-brand);
	bottom: 0;
	content: "";
	height: 3px;
	left: 14px;
	position: absolute;
	right: 14px;
}

.cme-workspace-nav__link .dashicons {
	color: currentColor;
	font-size: 18px;
	height: 18px;
	width: 18px;
}

.cme-wrap.cme-enhanced *,
.cme-wrap.cme-enhanced *::before,
.cme-wrap.cme-enhanced *::after {
	box-sizing: border-box;
}

.cme-page-heading {
	align-items: flex-start;
	border-bottom: 1px solid var(--cme-border);
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin: 0 0 28px;
	padding: 0 0 24px;
}

.cme-page-heading__brand {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	min-width: 0;
}

.cme-brand-mark {
	border-radius: 4px;
	display: block;
	flex: 0 0 52px;
	height: 52px;
	object-fit: cover;
	width: 52px;
}

.cme-breadcrumb {
	color: var(--cme-brand-dark);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	margin: 0 0 5px;
}

.cme-wrap.cme-enhanced .cme-page-heading h1 {
	color: var(--cme-heading);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(28px, 2.25vw, 38px);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.08;
	margin: 0;
	padding: 0;
}

.cme-page-subtitle {
	color: var(--cme-muted);
	font-size: 14px;
	line-height: 1.5;
	margin: 7px 0 0;
	max-width: 700px;
}

.cme-page-heading__actions {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
	margin: 13px 0 0;
}

.cme-wrap.cme-enhanced h2 {
	color: var(--cme-text);
	font-size: 18px;
	font-weight: 650;
	letter-spacing: -0.01em;
}

.cme-wrap.cme-enhanced h3 {
	color: var(--cme-text);
	font-size: 16px;
	font-weight: 650;
}

.cme-wrap.cme-enhanced a {
	color: var(--cme-brand-dark);
}

.cme-wrap.cme-enhanced a:hover {
	color: #002d24;
}

.cme-wrap.cme-enhanced :where(a, button, input, select, textarea):focus-visible {
	border-color: var(--cme-brand-dark) !important;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--cme-brand-dark) !important;
	outline: 0;
}

.cme-wrap.cme-enhanced .button {
	align-items: center;
	background: #fff;
	border: 1px solid var(--cme-brand-warm);
	border-radius: 6px;
	box-shadow: none;
	color: #684b38;
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	justify-content: center;
	line-height: 1.2;
	min-height: 38px;
	padding: 8px 14px;
	transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.cme-wrap.cme-enhanced .button:hover {
	background: #fbf8f5;
	border-color: #987a60;
	color: #4f3728;
}

.cme-wrap.cme-enhanced .button:active {
	transform: translateY(1px);
}

.cme-wrap.cme-enhanced .button.button-primary {
	background: var(--cme-brand-dark);
	border-color: var(--cme-brand-dark);
	color: #fff;
	text-shadow: none;
}

.cme-wrap.cme-enhanced .button.button-primary:hover,
.cme-wrap.cme-enhanced .button.button-primary:focus {
	background: #002f26;
	border-color: #002f26;
	color: #fff;
}

.cme-wrap.cme-enhanced .button.button-small {
	min-height: 32px;
	padding: 5px 11px;
}

.cme-wrap.cme-enhanced .button-link,
.cme-wrap.cme-enhanced .button-link-delete {
	background: transparent;
	border-color: transparent;
	min-height: auto;
	padding: 4px;
}

.cme-wrap.cme-enhanced .button-link-delete {
	color: #a6322f;
}

.cme-wrap.cme-enhanced :where(input[type="text"], input[type="number"], input[type="date"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], select, textarea) {
	background: #fff;
	border: 1px solid #cfd3cf;
	border-radius: 6px;
	box-shadow: none;
	color: var(--cme-text);
	font-size: 14px;
	line-height: 1.3;
	min-height: 40px;
	padding: 8px 11px;
}

.cme-wrap.cme-enhanced :where(input, select, textarea):hover {
	border-color: var(--cme-brand);
}

.cme-wrap.cme-enhanced :where(input, select, textarea):focus {
	border-color: var(--cme-brand-dark);
	box-shadow: 0 0 0 1px var(--cme-brand-dark);
	outline: 0;
}

.cme-wrap.cme-enhanced input[type="checkbox"],
.cme-wrap.cme-enhanced input[type="radio"] {
	border-color: #b9c0ba;
	box-shadow: none;
}

.cme-wrap.cme-enhanced input[type="checkbox"]:checked,
.cme-wrap.cme-enhanced input[type="radio"]:checked {
	background: var(--cme-brand-dark);
	border-color: var(--cme-brand-dark);
}

.cme-wrap.cme-enhanced input[type="checkbox"]:checked::before {
	filter: brightness(0) invert(1);
}

.cme-wrap.cme-enhanced .cme-panel {
	background: #fff;
	border: 1px solid var(--cme-border);
	border-radius: 8px;
	box-shadow: none;
	margin: 20px 0;
	padding: 22px;
}

.cme-panel-heading {
	align-items: flex-start;
	display: flex;
	justify-content: space-between;
	margin-bottom: 14px;
}

.cme-panel-heading h2 {
	margin-bottom: 4px !important;
}

.cme-panel-heading p {
	margin: 0;
}

.cme-wrap.cme-enhanced .cme-user-finder {
	border-color: var(--cme-border);
	margin-top: 0;
}

.cme-wrap.cme-enhanced .cme-search-form {
	align-items: flex-end;
	background: #fff;
	gap: 12px;
	margin: 0;
}

.cme-wrap.cme-enhanced .cme-search-form label,
.cme-wrap.cme-enhanced .cme-inline-form label,
.cme-wrap.cme-enhanced .cme-warehouse-form label {
	color: #454b46;
	font-size: 12px;
	font-weight: 650;
	letter-spacing: 0.015em;
}

.cme-wrap.cme-enhanced .nav-tab-wrapper {
	align-items: center;
	background: #fff;
	border-bottom: 1px solid var(--cme-border);
	display: flex;
	gap: 28px;
	margin: 0 0 28px;
	padding: 0;
}

.cme-wrap.cme-enhanced .nav-tab {
	background: transparent;
	border: 0;
	color: #59615b;
	font-size: 14px;
	font-weight: 600;
	margin: 0;
	padding: 13px 2px 12px;
	position: relative;
}

.cme-wrap.cme-enhanced .nav-tab:hover {
	background: transparent;
	color: var(--cme-brand-dark);
}

.cme-wrap.cme-enhanced .nav-tab-active {
	color: var(--cme-text);
}

.cme-wrap.cme-enhanced .nav-tab-active::after {
	background: var(--cme-brand);
	bottom: -1px;
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	right: 0;
}

.cme-wrap.cme-enhanced .cme-table-scroll {
	background: #fff;
	border: 1px solid var(--cme-border);
	border-radius: 8px;
	overflow: auto;
}

.cme-wrap.cme-enhanced .cme-panel > .cme-table-scroll {
	border-left: 0;
	border-radius: 0;
	border-right: 0;
	margin: 18px -22px 0;
}

.cme-wrap.cme-enhanced .cme-maintenance-attention-table {
	height: clamp(320px, 48vh, 560px);
}

.cme-wrap.cme-enhanced .cme-maintenance-attention-table thead th {
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 1;
}

.cme-wrap.cme-enhanced .cme-location-sales-table {
	height: clamp(360px, 56vh, 640px);
}

.cme-wrap.cme-enhanced .cme-location-sales-table thead th {
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 1;
}

.cme-wrap.cme-enhanced .cme-pagination {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
}

.cme-wrap.cme-enhanced .cme-pagination .page-numbers {
	margin: 0;
}

.cme-stock-panel {
	overflow: hidden;
}

.cme-wrap.cme-enhanced .cme-stock-panel > .cme-table-scroll {
	border: 0;
	border-radius: 0;
	height: clamp(460px, calc(100vh - 350px), 760px);
	margin: 12px -22px -22px;
}

.cme-stock-panel .cme-stock-table thead th {
	background: var(--cme-soft);
}

.cme-stock-panel .cme-stock-table tbody td {
	border-bottom-color: #edf0ed;
}

.cme-wrap.cme-enhanced table.widefat {
	background: #fff;
	border: 0;
	border-collapse: separate;
	border-radius: 0;
	border-spacing: 0;
	box-shadow: none;
	margin: 0;
	overflow: visible;
	width: 100%;
}

.cme-wrap.cme-enhanced table.widefat thead th {
	background: #fff;
	border-bottom: 1px solid #cfd3cf;
	color: #4d544e;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 13px 14px;
	text-transform: none;
	white-space: nowrap;
}

.cme-wrap.cme-enhanced table.widefat tbody td,
.cme-wrap.cme-enhanced table.widefat tbody th {
	background: #fff;
	border-bottom: 1px solid var(--cme-border);
	color: var(--cme-text);
	font-size: 13px;
	padding: 13px 14px;
}

.cme-wrap.cme-enhanced table.widefat.striped > tbody > :nth-child(odd) {
	background: #fff;
}

.cme-wrap.cme-enhanced table.widefat tbody tr:hover > td,
.cme-wrap.cme-enhanced table.widefat tbody tr:hover > th {
	background: var(--cme-soft);
}

.cme-wrap.cme-enhanced table.widefat tbody tr:last-child > td,
.cme-wrap.cme-enhanced table.widefat tbody tr:last-child > th {
	border-bottom: 0;
}

.cme-status {
	border: 1px solid transparent;
	border-radius: 999px;
	display: inline-flex;
	font-size: 12px;
	font-weight: 650;
	line-height: 1;
	padding: 5px 8px;
	white-space: nowrap;
}

.cme-status--success {
	background: #e6f2e8;
	color: #1f653c;
}

.cme-status--warning {
	background: #fff0d2;
	color: #815817;
}

.cme-status--info {
	background: #e8f1f6;
	color: #285f78;
}

.cme-status--danger {
	background: #fae6e5;
	color: #963a36;
}

.cme-status--neutral {
	background: #eef0ee;
	color: #59615b;
}

.cme-wrap.cme-enhanced .cme-stat-grid {
	gap: 0;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	margin: 0;
}

.cme-wrap.cme-enhanced .cme-stat {
	background: #fff;
	border: 0;
	border-bottom: 1px solid var(--cme-border);
	border-radius: 0;
	border-right: 1px solid var(--cme-border);
	min-height: 118px;
	padding: 18px 20px;
}

.cme-wrap.cme-enhanced .cme-stat:nth-child(3n),
.cme-wrap.cme-enhanced .cme-stat:last-child {
	border-right: 0;
}

.cme-wrap.cme-enhanced .cme-report-kpis .cme-stat:nth-child(3n):not(:last-child) {
	border-right: 1px solid var(--cme-border);
}

.cme-wrap.cme-enhanced .cme-stat span {
	color: var(--cme-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.055em;
}

.cme-wrap.cme-enhanced .cme-stat strong {
	color: var(--cme-brand-dark);
	font-size: 30px;
	font-weight: 650;
	letter-spacing: -0.025em;
}

.cme-wrap.cme-enhanced .cme-progress-card {
	background: #fff;
	border-color: var(--cme-border);
	border-radius: 8px;
}

.cme-wrap.cme-enhanced .cme-progress-bar,
.cme-wrap.cme-enhanced .cme-chart-track {
	background: #edf0ed;
}

.cme-wrap.cme-enhanced .cme-progress-bar span,
.cme-wrap.cme-enhanced .cme-chart-track span {
	background: var(--cme-brand);
}

.cme-wrap.cme-enhanced .page-numbers {
	background: #fff;
	border: 1px solid var(--cme-border);
	border-radius: 6px;
	color: var(--cme-text);
	font-weight: 600;
	margin: 16px 4px 0 0;
	min-width: 36px;
	padding: 8px 11px;
	text-align: center;
}

.cme-wrap.cme-enhanced .page-numbers.current {
	background: #fff;
	border-color: var(--cme-brand);
	box-shadow: inset 0 0 0 1px var(--cme-brand);
	color: var(--cme-brand-dark);
}

.cme-request-actions-dialog,
.cme-request-actions-dialog[open] {
	background: #fff;
	border: 0;
	border-left: 1px solid #d9ddd9;
	border-radius: 0;
	bottom: 0;
	box-shadow: -14px 0 36px rgba(32, 43, 36, 0.12);
	height: calc(100vh - 32px);
	left: auto;
	margin: 0;
	max-height: none;
	max-width: min(400px, calc(100vw - 160px));
	overflow: auto;
	padding: 28px;
	position: fixed;
	right: 0;
	top: 32px;
	transform: none;
	width: min(400px, calc(100vw - 160px));
}

.cme-request-actions-dialog::backdrop {
	background: rgba(35, 43, 38, 0.08);
}

.cme-request-actions-dialog .cme-warehouse-modal__header {
	border-bottom: 1px solid var(--cme-border);
	margin-bottom: 22px;
	padding-bottom: 18px;
}

.cme-request-actions-dialog .cme-warehouse-modal__header h3 {
	font-size: 22px;
	margin: 6px 0 0;
}

.cme-request-actions-dialog .cme-warehouse-modal__header p {
	margin: 6px 0 0;
}

.cme-request-dialog__eyebrow {
	line-height: 1;
}

.cme-request-detail {
	border-bottom: 1px solid var(--cme-border);
	margin-bottom: 20px;
	padding-bottom: 18px;
}

.cme-request-detail h4 {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.045em;
	margin: 0 0 9px;
	text-transform: uppercase;
}

.cme-request-detail p {
	line-height: 1.5;
	margin: 6px 0 0;
}

.cme-request-actions-dialog .cme-warehouse-modal__close {
	color: var(--cme-text);
	font-size: 0;
}

.cme-request-actions-dialog .cme-warehouse-modal__close::before {
	content: "\f335";
	font: normal 24px/1 dashicons;
}

.cme-request-actions-dialog .cme-warehouse-actions {
	align-items: stretch;
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr;
}

.cme-request-actions-dialog .cme-warehouse-actions select,
.cme-request-actions-dialog .cme-warehouse-actions input[type="text"] {
	max-width: none;
	width: 100%;
}

.cme-member-dialog,
.cme-member-dialog[open] {
	background: #fff;
	border: 0;
	border-radius: 10px;
	box-shadow: 0 20px 70px rgba(28, 36, 31, 0.24);
	color: var(--cme-text);
	margin: auto;
	max-height: min(90vh, 920px);
	max-width: min(960px, calc(100vw - 64px));
	overflow: hidden;
	padding: 0;
	width: 100%;
}

.cme-member-dialog::backdrop {
	background: rgba(27, 35, 30, 0.34);
	backdrop-filter: blur(2px);
}

.cme-member-dialog__header {
	align-items: flex-start;
	background: #fff;
	border-bottom: 1px solid var(--cme-border);
	display: flex;
	justify-content: space-between;
	padding: 22px 26px 18px;
	position: sticky;
	top: 0;
	z-index: 2;
}

.cme-member-dialog__header h2 {
	color: var(--cme-heading) !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px !important;
	font-weight: 500 !important;
	margin: 3px 0 0 !important;
}

.cme-member-dialog__title-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
}

.cme-member-dialog__title-row h2 {
	margin: 3px 0 0 !important;
}

.cme-member-dialog__badges {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 4px;
}

.cme-member-dialog__eyebrow {
	color: var(--cme-brand-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin: 0;
	text-transform: uppercase;
}

.cme-wrap.cme-enhanced .cme-member-dialog__close {
	align-items: center;
	border-radius: 50%;
	color: var(--cme-text);
	display: inline-flex;
	height: 36px;
	justify-content: center;
	padding: 0;
	text-decoration: none;
	width: 36px;
}

.cme-wrap.cme-enhanced .cme-member-dialog__close:hover {
	background: var(--cme-soft);
}

.cme-member-dialog__body {
	max-height: calc(min(90vh, 920px) - 86px);
	overflow: auto;
	padding: 8px 26px 28px;
}

.cme-member-dialog .form-table {
	margin-top: 8px;
	width: 100%;
}

.cme-member-dialog .form-table tbody {
	display: grid;
	gap: 0 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cme-member-dialog .form-table tr {
	background: #fff;
	border: 0;
	border-bottom: 1px solid var(--cme-border);
	border-radius: 0;
	 display: grid;
	gap: 4px;
	grid-template-columns: minmax(0, 1fr);
	padding: 14px 4px;
}

.cme-member-dialog .form-table th,
.cme-member-dialog .form-table td {
	border: 0;
	display: block;
	line-height: 1.45;
	margin: 0;
	padding: 0;
	text-align: left;
	vertical-align: top;
}

.cme-member-dialog .form-table th {
	color: var(--cme-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.cme-member-dialog .form-table td {
	font-size: 14px;
	font-weight: 500;
	overflow-wrap: anywhere;
}

.cme-member-dialog__header h2 {
	font-family: inherit;
	font-size: 24px;
	line-height: 1.3;
}

.cme-member-dialog__body > .form-table {
	background: #fff;
	border-radius: 12px;
	padding: 12px 20px;
}

.cme-member-status-card {
	grid-column: 1 / -1;
}

.cme-member-status-card__heading {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.cme-member-status-card__heading h4 {
	margin: 0;
}

.cme-member-status-card__message {
	color: var(--cme-muted);
	margin: 8px 0 14px !important;
}

.cme-member-status-card__metrics {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}

.cme-member-status-card__metrics div {
	border-left: 2px solid var(--cme-border);
	padding-left: 10px;
}

.cme-member-status-card__metrics dt {
	color: var(--cme-muted);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.cme-member-status-card__metrics dd {
	margin: 3px 0 0;
}

.cme-member-dialog .cme-inline-form {
	background: var(--cme-soft);
	border: 1px solid var(--cme-border);
	border-radius: 8px;
	padding: 16px;
}

.cme-member-edit {
	border: 1px solid var(--cme-border);
	border-radius: 8px;
	margin: 18px 0;
	padding: 14px 16px;
}

.cme-member-edit summary {
	cursor: pointer;
	font-weight: 600;
}

.cme-member-edit form {
	margin-top: 16px;
}

.cme-member-edit__fields {
	display: grid;
	gap: 14px 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cme-member-edit__fields label {
	display: grid;
	font-weight: 600;
	gap: 5px;
}

.cme-member-edit__fields input,
.cme-member-edit__fields select {
	max-width: 100%;
	width: 100%;
}

.cme-member-edit__error,
.cme-member-edit__field-error {
	color: #b32d2e;
	font-size: 12px;
	font-weight: 500;
}

.cme-member-edit__fields [aria-invalid="true"] {
	border-color: #b32d2e;
}

@media (max-width: 700px) {
	.cme-member-edit__fields { grid-template-columns: 1fr; }
}

.cme-member-referrals {
	border-top: 1px solid var(--cme-border);
	margin: 22px 0;
	padding-top: 18px;
}

.cme-member-referrals__heading {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	justify-content: space-between;
	margin-bottom: 10px;
}

.cme-member-referrals__heading h3,
.cme-member-referrals__heading p {
	margin: 0;
}

.cme-member-referrals__heading p {
	color: var(--cme-muted);
}

.cme-member-referrals .widefat {
	border-color: var(--cme-border);
}

@media (max-width: 760px) {
	.cme-member-dialog .form-table tbody,
	.cme-member-status-card__metrics {
		grid-template-columns: 1fr;
	}

	.cme-member-dialog .form-table tr {
		grid-template-columns: 1fr;
	}
}

.cme-settings-section-nav {
	background: #fff;
	border: 1px solid var(--cme-border);
	border-radius: 9px;
	overflow: hidden;
	position: sticky;
	top: 52px;
	width: 100%;
}

.cme-settings-layout {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: 220px minmax(0, 1fr);
}

.cme-settings-layout__content {
	min-width: 0;
}

.cme-settings-section-nav__heading {
	background: var(--cme-soft);
	border-bottom: 1px solid var(--cme-border);
	display: grid;
	gap: 4px;
	padding: 18px 20px;
}

.cme-settings-section-nav__heading strong {
	color: var(--cme-heading);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	font-weight: 500;
}

.cme-settings-section-nav__heading span {
	color: var(--cme-muted);
	font-size: 12px;
}

.cme-settings-section-nav__items {
	display: grid;
}

.cme-settings-section-nav__items button,
.cme-settings-section-nav__link {
	background: #fff;
	border: 0;
	border-bottom: 1px solid var(--cme-border);
	color: #59615b;
	cursor: pointer;
	display: block;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 13px 18px 13px 22px;
	position: relative;
	text-align: left;
	text-decoration: none;
}

.cme-settings-section-nav__items button:hover,
.cme-settings-section-nav__link:hover {
	background: var(--cme-soft);
	color: var(--cme-brand-dark);
}

.cme-settings-section-nav__items button.is-current,
.cme-settings-section-nav__link.is-current {
	color: var(--cme-brand-dark);
}

.cme-settings-section-nav__items button.is-current::after,
.cme-settings-section-nav__link.is-current::after {
	background: var(--cme-brand);
	bottom: 8px;
	content: "";
	left: 0;
	position: absolute;
	top: 8px;
	width: 3px;
}

.cme-settings-managed .cme-panel[hidden] {
	display: none;
}

.cme-settings-managed .cme-panel.is-active {
	margin-top: 0;
}

.cme-settings-managed .cme-settings-layout__content > form > p:last-child {
	background: rgba(255, 255, 255, 0.94);
	border-top: 1px solid var(--cme-border);
	bottom: 0;
	margin: 0;
	padding: 14px 22px;
	position: sticky;
	z-index: 5;
}

.cme-settings-reference-grid {
	margin-top: 22px !important;
}

.cme-settings-subsection {
	background: var(--cme-soft);
	border: 1px solid var(--cme-border);
	border-radius: 7px;
	padding: 16px;
}

.cme-settings-subsection h3 {
	color: var(--cme-heading);
	font-size: 15px;
	margin: 0 0 12px;
}

.cme-wrap.cme-enhanced .select2-container {
	max-width: 760px;
	width: 100% !important;
}

.cme-wrap.cme-enhanced .select2-container--default .select2-selection--multiple {
	border: 1px solid #cfd4cf;
	border-radius: 6px;
	min-height: 44px;
	padding: 5px 8px;
}

.cme-wrap.cme-enhanced .select2-container--default.select2-container--focus .select2-selection--multiple {
	border-color: var(--cme-brand-dark);
	box-shadow: 0 0 0 1px var(--cme-brand-dark);
}

.cme-wrap.cme-enhanced .select2-container--default .select2-selection--multiple .select2-selection__rendered {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.cme-wrap.cme-enhanced .select2-container--default .select2-selection--multiple .select2-selection__choice {
	background: #eef1ee;
	border: 1px solid #cbd2cc;
	border-radius: 5px;
	color: var(--cme-text);
	line-height: 1.35;
	margin: 0;
	padding: 5px 9px 5px 25px;
	position: relative;
}

.cme-wrap.cme-enhanced .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	border: 0;
	color: var(--cme-muted);
	left: 7px;
	line-height: 1;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.cme-wrap.cme-enhanced .select2-container--default .select2-search--inline {
	float: none;
	margin: 0;
}

.cme-wrap.cme-enhanced .select2-container--default .select2-search--inline .select2-search__field {
	border: 0 !important;
	box-shadow: none !important;
	height: 30px;
	margin: 0;
	min-width: 160px;
}

.cme-bonus-threshold-table .button-link-delete {
	min-height: 34px;
	padding: 0 10px;
}

.cme-info-note {
	align-items: flex-start;
	background: #f3f6f3;
	border-left: 3px solid var(--cme-brand);
	border-radius: 6px;
	color: var(--cme-text);
	display: flex;
	gap: 12px;
	margin: 0 0 20px;
	max-width: 920px;
	padding: 14px 16px;
}

.cme-info-note > .dashicons {
	color: var(--cme-brand-dark);
	flex: 0 0 20px;
	margin-top: 1px;
}

.cme-info-note strong {
	color: var(--cme-heading);
	display: block;
	font-size: 14px;
}

.cme-info-note p {
	line-height: 1.55;
	margin: 5px 0 3px;
}

.cme-info-note small {
	color: var(--cme-muted);
}

.cme-wrap.cme-enhanced [data-cme-add-bonus-row] {
	align-items: center;
	display: inline-flex;
	gap: 5px;
}

.cme-migration-settings-managed .cme-settings-layout__content > .cme-panel:first-of-type {
	margin-top: 0;
}

.cme-toast-region {
	bottom: 24px;
	display: grid;
	gap: 10px;
	max-width: min(420px, calc(100vw - 32px));
	position: fixed;
	right: 24px;
	z-index: 100100;
}

.cme-toast {
	align-items: flex-start;
	background: #f2f8f3;
	border: 1px solid #a9c4ad;
	border-left: 4px solid #287a46;
	border-radius: 7px;
	box-shadow: 0 12px 32px rgba(22, 41, 29, 0.14);
	color: #214b2f;
	display: flex;
	font-size: 14px;
	font-weight: 600;
	gap: 10px;
	line-height: 1.4;
	opacity: 1;
	padding: 14px 16px;
	transform: translateY(0);
	transition: opacity 180ms ease, transform 180ms ease;
}

.cme-toast--error {
	background: #fff5f4;
	border-color: #db9d99;
	border-left-color: #a6322f;
	color: #7f2926;
}

.cme-toast--leaving {
	opacity: 0;
	transform: translateY(10px);
}

.cme-admin-loading .cme-wrap {
	cursor: progress;
}

.cme-admin-loading::after {
	animation: cme-loading-bar 1100ms ease-in-out infinite;
	background: var(--cme-brand, #909b8b);
	content: "";
	height: 3px;
	left: 160px;
	position: fixed;
	top: 32px;
	transform-origin: left;
	width: calc(100vw - 160px);
	z-index: 100101;
}

@keyframes cme-loading-bar {
	0% {
		opacity: 0.45;
		transform: scaleX(0.06);
	}
	50% {
		opacity: 1;
		transform: scaleX(0.68);
	}
	100% {
		opacity: 0.2;
		transform: scaleX(1);
	}
}

#adminmenu #toplevel_page_cme-dashboard.wp-has-current-submenu > a.wp-has-current-submenu,
#adminmenu #toplevel_page_cme-dashboard > a.current {
	background: #909b8b;
	color: #fff;
}

#adminmenu #toplevel_page_cme-dashboard .wp-submenu a.current {
	background: rgba(144, 155, 139, 0.22);
	color: #fff;
	font-weight: 600;
}

#adminmenu #toplevel_page_cme-dashboard .wp-menu-image img {
	border-radius: 3px;
	height: 20px;
	object-fit: cover;
	padding: 6px 0 0;
	width: 20px;
}

@media (max-width: 960px) {
	.cme-workspace-nav__items {
		grid-template-columns: repeat(7, minmax(128px, 1fr));
	}

	.cme-wrap.cme-enhanced {
		padding-left: 24px;
		padding-right: 24px;
	}

	.cme-page-heading {
		align-items: stretch;
		flex-direction: column;
	}

	.cme-page-heading__actions {
		margin-top: 0;
	}

	.cme-wrap.cme-enhanced .cme-stat {
		border-right: 0;
	}

	.cme-settings-section-nav {
		position: static;
		width: auto;
	}

	.cme-settings-layout {
		grid-template-columns: 1fr;
	}

	.cme-settings-section-nav__heading {
		border-bottom: 1px solid var(--cme-border);
	}

	.cme-settings-section-nav__items {
		display: flex;
		overflow-x: auto;
	}

	.cme-settings-section-nav__items button,
	.cme-settings-section-nav__link {
		border-bottom: 0;
		border-right: 1px solid var(--cme-border);
		min-width: 150px;
		padding: 14px 18px;
		text-align: center;
	}

	.cme-settings-section-nav__items button.is-current::after,
	.cme-settings-section-nav__link.is-current::after {
		bottom: 0;
		height: 3px;
		left: 16px;
		right: 16px;
		top: auto;
		width: auto;
	}

}

@media (max-width: 782px) {
	.cme-wrap.cme-enhanced {
		margin-left: -10px;
		min-height: calc(100vh - 46px);
		padding: 22px 16px 44px;
	}

	.cme-brand-mark {
		flex-basis: 44px;
		height: 44px;
		width: 44px;
	}

	.cme-wrap.cme-enhanced .nav-tab-wrapper {
		gap: 20px;
		overflow-x: auto;
	}

	.cme-wrap.cme-enhanced .nav-tab {
		flex: 0 0 auto;
	}

	.cme-workspace-nav {
		border-left: 0;
		border-radius: 0;
		border-right: 0;
		margin-left: -16px;
		margin-right: -16px;
	}

	.cme-wrap.cme-enhanced .cme-workspace-nav__link {
		min-height: 58px;
		padding: 10px 13px;
	}

	.cme-wrap.cme-enhanced .cme-stock-panel > .cme-table-scroll {
		height: clamp(420px, calc(100vh - 300px), 680px);
	}

	.cme-request-actions-dialog,
	.cme-request-actions-dialog[open] {
		height: calc(100vh - 46px);
		left: 0;
		max-width: 100vw;
		right: auto;
		top: 46px;
		width: 100vw;
	}

	.cme-member-dialog,
	.cme-member-dialog[open] {
		border-radius: 0;
		height: calc(100vh - 46px);
		max-height: calc(100vh - 46px);
		max-width: 100vw;
		width: 100vw;
	}

	.cme-member-dialog__header {
		padding: 18px 18px 15px;
	}

	.cme-member-dialog__body {
		max-height: calc(100vh - 128px);
		padding: 6px 18px 24px;
	}

	.cme-toast-region {
		bottom: 16px;
		left: 16px;
		right: 16px;
	}

	.cme-admin-loading::after {
		left: 0;
		top: 46px;
		width: 100vw;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cme-wrap.cme-enhanced *,
	.cme-toast,
	.cme-admin-loading::after {
		animation: none !important;
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
