/* Only the account theme picker; panel, widget and typography defaults stay native. */
.riq-theme-picker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
    gap: 0.75rem;
}

.riq-theme-choice {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    background: white;
    cursor: pointer;
}

.riq-theme-choice:has(input:checked) {
    border-color: var(--primary-600);
    box-shadow: 0 0 0 1px var(--primary-600);
}

.riq-theme-choice-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.riq-theme-choice-description {
    color: var(--gray-600);
}

.riq-theme-swatches {
    display: flex;
    gap: 0.375rem;
}

.riq-theme-swatches > span {
    flex: 1;
    height: 1.5rem;
    border-radius: 0.25rem;
}

.dark .riq-theme-choice {
    border-color: var(--gray-700);
    background: var(--gray-900);
}

.dark .riq-theme-choice:has(input:checked) {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 1px var(--primary-400);
}

.dark .riq-theme-choice-description {
    color: var(--gray-300);
}
