/* color scheme picker — lives in the settings overlay. mirrors the
   settings-opt look (bg1 chips, green = active) but as a wrapping grid of
   preview swatches. */

.color-schemes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
}

.scheme-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 10px 8px;
    background: var(--bg1);
    border: 1px solid var(--bg2);
    border-radius: 8px;
    color: var(--fg-dim);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
.scheme-btn[data-on="true"] {
    color: var(--fg);
    border-color: var(--green);
}

/* preview tile: bg pane with a row of accent dots */
.scheme-preview {
    display: flex;
    align-items: center;
    gap: 3px;
    width: 100%;
    padding: 7px 6px;
    border-radius: 6px;
    border: 1px solid var(--bg3);
}
.scheme-dot {
    flex: 1 1 0;
    height: 12px;
    border-radius: 3px;
    min-width: 0;
}

.scheme-name {
    line-height: 1.2;
    text-align: center;
    word-break: break-word;
}
