/* Ported from the Next.js app's cycleSwitcher.module.css. */
.cycle-switcher__switcher {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

/* 36px tall inside a 44px row pitch: the pills sit close, the gap keeps the targets apart. */
.cycle-switcher__pill {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 36px;
	padding: 0 var(--space-4);
	border: var(--border-1) solid var(--border-default);
	border-radius: var(--radius-full);
	background: var(--background-surface);
	color: var(--text-primary);
	font-size: var(--font-size-sm);
	font-weight: var(--font-weight-medium);
	text-decoration: none;
}

.cycle-switcher__pill:hover {
	border-color: var(--border-strong);
}

.cycle-switcher__pill:focus-visible {
	outline: var(--border-2) solid var(--border-focus);
	outline-offset: 2px;
}

.cycle-switcher__pill[data-active] {
	background: var(--interactive-primary-bg);
	border-color: var(--interactive-primary-bg);
	color: var(--interactive-primary-fg);
}

.cycle-switcher__current {
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-regular);
	color: var(--text-tertiary);
}

.cycle-switcher__pill[data-active] .cycle-switcher__current {
	color: inherit;
	opacity: 0.8;
}
