.krex-compare__format-browser {
	margin-top: 18px;
	padding: 16px;
	border: 1px solid var(--kc-line);
	background: var(--kc-cream);
}

.krex-compare__format-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 11px;
}

.krex-compare__format-head strong {
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .02em;
}

.krex-compare__format-clear {
	min-height: 44px;
	padding: 7px 4px;
	border: 0;
	background: transparent;
	color: var(--kc-red);
	font: 800 12px/1.2 Inter, Arial, sans-serif;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.krex-compare__format-clear[hidden] {
	display: none;
}

.krex-compare__format-chips {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.krex-compare__format-chip {
	min-height: 46px;
	padding: 9px 12px;
	border: 1px solid rgba(25, 24, 22, .24);
	border-radius: 4px;
	background: #fff;
	color: var(--kc-ink);
	font: 850 12px/1.25 Inter, Arial, sans-serif;
	cursor: pointer;
}

.krex-compare__format-chip:hover {
	border-color: var(--kc-ink);
}

.krex-compare__format-chip[aria-pressed="true"] {
	border-color: var(--kc-ink);
	box-shadow: inset 0 -3px 0 var(--kc-red);
	background: var(--kc-ink);
	color: #fff;
}

.krex-compare__format-chip:focus-visible,
.krex-compare__format-clear:focus-visible {
	outline: 3px solid #c95b4e;
	outline-offset: 3px;
}

@media (max-width: 680px) {
	.krex-compare__format-browser {
		padding: 13px;
	}

	.krex-compare__format-chips {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
