.pg-vk-wrap h1 {
	margin-bottom: 0.75rem;
}

.pg-vk-admin__intro {
	max-width: 920px;
	color: #50575e;
}

.pg-vk-admin__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 12px;
	margin: 1rem 0 1.5rem;
}

.pg-vk-card {
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 8px;
	padding: 14px 16px;
}

.pg-vk-card strong {
	display: block;
	font-size: 1.6rem;
	line-height: 1.2;
}

.pg-vk-card span {
	color: #646970;
	font-size: 0.9rem;
}

.pg-vk-card--ok {
	border-color: #9ec5ab;
	background: #f6fbf7;
}

.pg-vk-card--warn {
	border-color: #e0c27a;
	background: #fffaf0;
}

.pg-vk-card--muted {
	border-color: #c3c4c7;
	background: #f6f7f7;
}

.pg-vk-panel {
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 8px;
	padding: 16px 18px;
	margin-bottom: 16px;
	max-width: 960px;
}

.pg-vk-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: end;
	margin-bottom: 16px;
}

.pg-vk-filters label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-weight: 600;
}

.pg-vk-table td,
.pg-vk-table th {
	vertical-align: top;
}

.pg-vk-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 12px;
	background: #eef2f6;
}

.pg-vk-badge--status-kallbekraftad {
	background: #e7f5ea;
	color: #1e4620;
}

.pg-vk-badge--status-osaker {
	background: #fff4ce;
	color: #6f4e00;
}

.pg-vk-badge--status-saknar_kalla {
	background: #f0f0f1;
	color: #50575e;
}

.pg-vk-row--review {
	background: #fffdf5;
}

.pg-vk-row--excluded {
	background: #f8f8f9;
	color: #50575e;
}

.pg-vk-rules {
	list-style: disc;
	padding-left: 1.25rem;
}

.pg-vk-test-match {
	max-width: 1100px;
	margin-top: 1rem;
}

.pg-vk-test-match__panel {
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 8px;
	padding: 18px 20px;
	margin-bottom: 16px;
}

.pg-vk-test-match__title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
}

.pg-vk-test-match__intro {
	margin: 0 0 1rem;
	color: #50575e;
	max-width: 720px;
}

.pg-vk-test-match__progress {
	margin-bottom: 1rem;
}

.pg-vk-test-match__progress-text {
	display: block;
	margin-bottom: 0.35rem;
	color: #646970;
	font-size: 0.875rem;
	font-weight: 600;
}

.pg-vk-test-match__progress-bar {
	height: 6px;
	border-radius: 999px;
	background: #f0f0f1;
	overflow: hidden;
}

.pg-vk-test-match__progress-fill {
	display: block;
	height: 100%;
	background: #2271b1;
	transition: width 0.2s ease;
}

.pg-vk-test-match__category {
	margin: 0 0 0.35rem;
	color: #646970;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.pg-vk-test-match__question {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	line-height: 1.4;
}

.pg-vk-test-match__meta {
	margin: 0 0 1rem;
	color: #646970;
	font-size: 0.875rem;
}

.pg-vk-test-match__options {
	display: grid;
	gap: 8px;
	margin-bottom: 1rem;
}

.pg-vk-test-match__option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background: #fafafa;
	cursor: pointer;
}

.pg-vk-test-match__option:has(input:checked) {
	border-color: #2271b1;
	background: #f0f6fc;
}

.pg-vk-test-match__option-label {
	line-height: 1.4;
}

.pg-vk-test-match__nav {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.pg-vk-test-match__coverage--low {
	color: #9a6700;
	font-weight: 600;
}

.pg-vk-test-match__category-empty {
	color: #a7aaad;
}

.pg-vk-test-match__debug-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.pg-vk-test-match__debug-row--counted {
	background: #f6fbf7;
}

.pg-vk-test-match__debug-row--review {
	background: #fffdf5;
}

.pg-vk-test-match__debug-row--ignored {
	background: #f8f8f9;
	color: #50575e;
}

.pg-vk-test-match__debug-table td,
.pg-vk-test-match__debug-table th,
.pg-vk-test-match__ranking-table td,
.pg-vk-test-match__ranking-table th,
.pg-vk-test-match__category-table td,
.pg-vk-test-match__category-table th {
	vertical-align: top;
}

.pg-vk-test-match__panel--calculating {
	text-align: center;
	padding: 28px 20px 32px;
}

.pg-vk-test-match__calc-text {
	margin: 0 0 1.25rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: #1d2327;
	min-height: 1.5em;
}

.pg-vk-test-match__calc-bars {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 8px;
	min-height: 72px;
	margin-bottom: 1rem;
}

.pg-vk-test-match__calc-bar {
	width: 14px;
	border-radius: 6px 6px 2px 2px;
	animation: pg-vk-test-bar-pulse 1.1s ease-in-out infinite;
	transform-origin: bottom;
}

.pg-vk-test-match__calc-loader {
	width: 42px;
	height: 42px;
	margin: 0 auto;
	border: 3px solid #dcdcde;
	border-top-color: #2271b1;
	border-radius: 50%;
	animation: pg-vk-test-spin 0.9s linear infinite;
}

@keyframes pg-vk-test-bar-pulse {
	0%,
	100% {
		transform: scaleY(0.45);
		opacity: 0.55;
	}
	50% {
		transform: scaleY(1);
		opacity: 1;
	}
}

@keyframes pg-vk-test-spin {
	to {
		transform: rotate(360deg);
	}
}

.pg-vk-test-match__hero {
	margin-bottom: 1.25rem;
	padding: 18px 20px;
	border-radius: 10px;
	border: 1px solid #ccd0d4;
	background: linear-gradient(135deg, #f6f7f7 0%, #fff 100%);
}

.pg-vk-test-match__hero-kicker {
	margin: 0 0 0.35rem;
	color: #646970;
	font-size: 0.9rem;
}

.pg-vk-test-match__hero-party {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.pg-vk-test-match__hero-logo {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.pg-vk-test-match__hero-name {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.2;
}

.pg-vk-test-match__hero-percent {
	margin: 0.35rem 0 0;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}

.pg-vk-test-match__hero-meta {
	margin: 0.5rem 0 0;
	color: #50575e;
}

.pg-vk-test-match__top3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
	margin-bottom: 1.25rem;
}

.pg-vk-test-match__top3-card {
	padding: 12px 14px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
}

.pg-vk-test-match__top3-rank {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	color: #646970;
	text-transform: uppercase;
}

.pg-vk-test-match__top3-name {
	display: block;
	margin-top: 0.25rem;
	font-weight: 700;
}

.pg-vk-test-match__top3-percent {
	display: block;
	margin-top: 0.15rem;
	font-size: 1.25rem;
	font-weight: 700;
}

.pg-vk-test-match__user-categories {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 8px;
	margin-bottom: 1.25rem;
}

.pg-vk-test-match__user-category {
	padding: 10px 12px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	background: #fafafa;
}

.pg-vk-test-match__products {
	margin: 1.5rem 0 1rem;
	padding: 16px 18px;
	border: 1px dashed #c3c4c7;
	border-radius: 10px;
	background: #fcfcfc;
}

.pg-vk-test-match__products-title {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
}

.pg-vk-test-match__products-intro,
.pg-vk-test-match__products-note {
	margin: 0 0 0.75rem;
	color: #646970;
}

.pg-vk-test-match__product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.pg-vk-test-match__product-card {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 10px;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

.pg-vk-test-match__product-visual {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 300px;
	height: 340px;
	padding: 12px 10px;
	border-radius: 8px 8px 0 0;
	background: #f0f0f1;
	overflow: hidden;
}

.pg-vk-test-match__product-visual img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 320px;
	object-fit: contain;
	object-position: center;
}

.pg-vk-test-match__product-mug {
	width: 72px;
	height: 88px;
	border-radius: 10px 10px 14px 14px;
	border: 2px solid rgba(0, 0, 0, 0.08);
	box-shadow: inset 0 -12px 0 rgba(0, 0, 0, 0.06);
}

.pg-vk-test-match__product-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 10px 4px 4px;
}

.pg-vk-test-match__product-name {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.35;
	color: #646970;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pg-vk-test-match__product-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	width: 100%;
}

.pg-vk-test-match__product-btn {
	align-self: stretch;
	width: 100%;
	min-height: 34px;
	padding: 0.35rem 0.65rem;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-wrap: balance;
}

.pg-vk-test-match__product-more {
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.3;
	color: #2271b1;
	text-decoration: none;
	text-wrap: balance;
}

.pg-vk-test-match__product-more:hover,
.pg-vk-test-match__product-more:focus {
	color: #135e96;
	text-decoration: underline;
}

.pg-vk-test-match__tumbler-section {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid #dcdcde;
}

.pg-vk-test-match__tumbler-title {
	margin: 0 0 0.85rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	text-wrap: balance;
}

.pg-vk-test-match__product-card--tumbler {
	width: 100%;
	max-width: none;
}

.pg-vk-test-match__product-card--tumbler .pg-vk-test-match__product-visual {
	min-height: 280px;
	height: 320px;
}

.pg-vk-test-match__product-card--tumbler .pg-vk-test-match__product-visual img {
	max-height: 300px;
}

@media (max-width: 640px) {
	.pg-vk-test-match__product-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.pg-vk-test-match__product-visual {
		min-height: 230px;
		height: 260px;
		padding: 10px 8px;
	}

	.pg-vk-test-match__product-visual img {
		max-width: 100%;
		max-height: 250px;
	}

	.pg-vk-test-match__product-card--tumbler .pg-vk-test-match__product-visual {
		min-height: 230px;
		height: 260px;
	}

	.pg-vk-test-match__product-card--tumbler .pg-vk-test-match__product-visual img {
		max-height: 250px;
	}
}

.pg-vk-test-match__privacy {
	margin-top: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid #e0e0e0;
}
