.option-row {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 90px;
    padding: 22px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}

.option-label {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.option-range-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.option-range {
    --fill: 50%;
    flex: 1;
    min-width: 0;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, var(--accent) var(--fill), var(--bg-tertiary) var(--fill));
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.option-range:disabled {
    opacity: 0.35;
    cursor: default;
}

.option-range::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text-primary);
    border: 4px solid var(--accent);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.option-range::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-primary);
    border: 4px solid var(--accent);
    cursor: pointer;
}

.option-range:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.option-range-value {
    min-width: 3ch;
    font-size: 20px;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    cursor: pointer;
}

.switch-label {
    font-size: 16px;
    color: var(--text-secondary);
}

.switch-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.switch-note {
    font-size: 13px;
    color: var(--text-muted);
}

.switch {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 28px;
    border-radius: var(--radius-pill);
    background: var(--bg-tertiary);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color var(--transition-base);
}

.switch::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text-primary);
    transition: transform var(--transition-base);
}

.switch:checked {
    background: var(--accent);
}

.switch:checked::after {
    transform: translateX(20px);
}

.switch:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
