.bmps-profile-completion-widget {
	--bmps-pcw-bg: #ffffff;
	--bmps-pcw-hover: #f6f6f6;
	--bmps-pcw-text: #17251b;
	--bmps-pcw-muted: #52665a;
	--bmps-pcw-border: #d5ddd6;
	--bmps-pcw-green: #328947;
	--bmps-pcw-green-dark: #246d35;
	--bmps-pcw-green-soft: #e9f5ec;
	padding: 0 !important;
	overflow: hidden;
	background: var(--bmps-pcw-bg) !important;
}

.bmps-profile-completion-widget .widget-title {
	display: none;
}

.bmps-pcw {
	width: 100%;
	overflow: hidden;
	border: 0;
	border-radius: inherit;
	background: var(--bmps-pcw-bg);
	box-shadow: none;
	color: var(--bmps-pcw-text);
	box-sizing: border-box;
}

.bmps-pcw *,
.bmps-pcw *::before,
.bmps-pcw *::after {
	box-sizing: border-box;
}

.bmps-pcw-title {
	margin: 0 !important;
	padding: 17px 16px 15px;
	border-bottom: 1px solid var(--bmps-pcw-border);
	color: var(--bmps-pcw-text) !important;
	font-size: 21px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
}

.bmps-pcw-summary {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
	padding: 18px 16px 10px;
}

.bmps-pcw-avatar {
	width: 70px !important;
	height: 70px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	object-fit: cover;
}

.bmps-pcw-percentage {
	display: block;
	color: #050505;
	font-size: 36px;
	font-weight: 400;
	letter-spacing: -2px;
	line-height: 0.95;
}

.bmps-pcw-percentage span {
	font-size: 0.78em;
	letter-spacing: -1px;
}

.bmps-pcw-complete-label {
	display: block;
	margin-top: 5px;
	color: var(--bmps-pcw-text);
	font-size: 15px;
	line-height: 1.2;
}

.bmps-pcw-progress {
	height: 7px;
	margin: 10px 16px 20px;
	overflow: hidden;
	border-radius: 999px;
	background: #e1e6e2;
}

.bmps-pcw-progress > span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #43cb73 0%, #3cc8d0 36%, #5b4ae6 70%, #ee2757 100%);
	transition: width 220ms ease;
}

.bmps-pcw-groups {
	padding: 0 16px 14px;
}

.bmps-pcw-row {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	align-items: center;
	gap: 9px;
	min-height: 50px;
	padding: 7px 0;
	border-bottom: 1px solid var(--bmps-pcw-border);
	border-radius: 5px;
	color: var(--bmps-pcw-text) !important;
	text-decoration: none !important;
}

.bmps-pcw-row:hover,
.bmps-pcw-row:focus-visible {
	background: var(--bmps-pcw-hover) !important;
	box-shadow: 0 0 0 5px var(--bmps-pcw-hover);
	color: var(--bmps-pcw-text) !important;
}

.bmps-pcw-row:focus-visible,
.bmps-pcw-missing a:focus-visible,
.bmps-pcw-action:focus-visible {
	outline: 2px solid var(--bmps-pcw-green);
	outline-offset: 2px;
}

.bmps-pcw-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 2px solid #9ba9a0;
	border-radius: 50%;
	background: #ffffff;
	color: #718078;
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
}

.bmps-pcw-status.is-complete {
	border-color: var(--bmps-pcw-green);
	background: var(--bmps-pcw-green);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.42);
	color: #ffffff;
	font-size: 16px;
}

.bmps-pcw-row-label {
	min-width: 0;
	overflow: visible;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.25;
	text-overflow: clip;
	white-space: normal;
	overflow-wrap: anywhere;
}

.bmps-pcw-count {
	min-width: 44px;
	padding: 3px 8px;
	border: 2px solid var(--bmps-pcw-green);
	border-radius: 999px;
	background: var(--bmps-pcw-green);
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
}

.bmps-pcw-row:not(.is-complete) .bmps-pcw-count {
	background: var(--bmps-pcw-green-soft);
	color: var(--bmps-pcw-green-dark);
}

.bmps-pcw-total {
	margin: -2px 16px 16px !important;
	color: var(--bmps-pcw-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

.bmps-pcw-missing {
	display: grid;
	gap: 2px;
	margin: 3px 0 8px 37px !important;
	padding: 0 !important;
	list-style: none !important;
}

.bmps-pcw-missing li {
	margin: 0 !important;
	padding: 0 !important;
}

.bmps-pcw-missing a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 6px 8px;
	border-radius: 5px;
	color: var(--bmps-pcw-muted) !important;
	font-size: 13px;
	text-decoration: none !important;
}

.bmps-pcw-missing a:hover,
.bmps-pcw-missing a:focus-visible {
	background: var(--bmps-pcw-hover) !important;
}

.bmps-pcw-missing strong {
	color: var(--bmps-pcw-green-dark);
}

.bmps-pcw-more {
	padding: 4px 8px !important;
	color: var(--bmps-pcw-muted);
	font-size: 12px;
}

.bmps-pcw-action {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin: 0 16px 16px;
	padding: 9px 16px;
	border-radius: 7px;
	background: var(--bmps-pcw-green) !important;
	color: #ffffff !important;
	font-weight: 800;
	text-align: center;
	text-decoration: none !important;
}

.bmps-pcw-action:hover {
	background: var(--bmps-pcw-green-dark) !important;
	color: #ffffff !important;
}

.bmps-pcw-empty {
	padding: 22px 16px;
	color: var(--bmps-pcw-muted);
}

.bmps-pcw-empty p {
	margin: 0;
}

html.dark-mode .bmps-profile-completion-widget,
body.dark-mode .bmps-profile-completion-widget,
body.bb-dark-mode .bmps-profile-completion-widget,
body[data-theme="dark"] .bmps-profile-completion-widget {
	--bmps-pcw-bg: #1f2421;
	--bmps-pcw-hover: #2a312c;
	--bmps-pcw-text: #f1f5f2;
	--bmps-pcw-muted: #b6c1b9;
	--bmps-pcw-border: #3c4740;
	--bmps-pcw-green: #4ca762;
	--bmps-pcw-green-dark: #67c17c;
	--bmps-pcw-green-soft: #263d2c;
}

html.dark-mode .bmps-pcw-percentage,
body.dark-mode .bmps-pcw-percentage,
body.bb-dark-mode .bmps-pcw-percentage,
body[data-theme="dark"] .bmps-pcw-percentage {
	color: #ffffff;
}

html.dark-mode .bmps-pcw-status:not(.is-complete),
body.dark-mode .bmps-pcw-status:not(.is-complete),
body.bb-dark-mode .bmps-pcw-status:not(.is-complete),
body[data-theme="dark"] .bmps-pcw-status:not(.is-complete) {
	background: #252b27;
	color: #c1cbc3;
}

@media (prefers-reduced-motion: reduce) {
	.bmps-pcw-progress > span {
		transition: none;
	}
}

@media (max-width: 320px) {
	.bmps-pcw-title {
		font-size: 19px !important;
	}

	.bmps-pcw-avatar {
		width: 62px !important;
		height: 62px !important;
	}

	.bmps-pcw-percentage {
		font-size: 32px;
	}
}
