.toggle {
    display: grid;
    padding: var(--space-1);
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--radius-md);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-1);
    background: var(--color-surface-muted);
}

.toggle__button {
    display: flex;
    min-height: var(--tap-target);
    padding: var(--space-2) var(--space-3);
    border: var(--border-width) solid transparent;
    border-radius: var(--radius-md);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--color-surface);
    color: var(--color-text);
    cursor: pointer;
}

.toggle__button--active {
    background: var(--color-action);
    color: var(--color-action-text);
}

.toggle__label {
    font-weight: var(--weight-bold);
}

.toggle__count {
    font-size: var(--text-xs);
}

@media (min-width: 48rem) {
    .toggle--mobile-only {
        display: none;
    }
}
