.results {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    min-height: 200px;
    overflow: auto;
}

.highlight {
    background: #fff3cd;
    padding: 2px 4px;
    border-radius: 4px;
}

.palette {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.swatch {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.color-box {
    height: 80px;
    width: 100%;
}

.color-box[role="button"] {
    cursor: pointer;
}

.color-box:focus {
    outline: 3px solid rgba(0,120,255,0.15);
}

.swatch-footer {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Consolas,Monaco,Menlo,"Courier New",monospace;
    font-size: 12px;
}

.copy-btn {
    background: #eef3ff;
    border: none;
    border-radius: 6px;
    padding: 6px 8px;
    cursor: pointer;
}

.qr-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border: 1px dashed var(--border);
    border-radius: 8px;
    background: #fbfcfe;
}

canvas {
    max-width: 100%;
    height: auto;
}

.preview {
    min-height: 360px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    overflow: auto;
}
