/* ============================================================
   Color Converter & Picker - page-specific styles
   Shared tool styles live in dev-tools.css (.seo-table / status /
   buttons) and main.css (.geo-direct-answer base).
   This file only holds the blocks unique to this page:
   preset swatches / inline code in the GEO block.

   The shared blocks below (preset swatches / inline code) are kept
   identical to qr-tool.css, json-tool.css, base64-tool.css and
   calculators.css - when changing one, sync the others.
   ============================================================ */

/* ---- Preset swatches (same style as the scenario buttons in qr-tool.css) ---- */
.quick-scenarios {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: -4px 0 16px;
}

.quick-scenarios-label {
    margin-right: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.scenario-btn {
    padding: 7px 14px;
    border: 1.5px solid #1a73e8;
    border-radius: 999px;
    background: #fff;
    color: #1a73e8;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.scenario-btn:hover,
.scenario-btn:focus-visible {
    background: #1a73e8;
    color: #fff;
    outline: none;
}

/* A small color chip inside the preset button */
.scenario-btn .swatch-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    margin-right: 7px;
    vertical-align: -1px;
    border: 1px solid rgba(0,0,0,.18);
}

/* ---- Inline code in the direct-answer block / FAQ / SEO copy ---- */
.geo-direct-answer code,
.faq-list code,
.seo-content code {
    padding: 1px 5px;
    border-radius: 4px;
    background: #eef3fb;
    color: #0b4ea2;
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 0.92em;
    word-break: break-word;
}

/* Short snippets in the GEO block never wrap mid-token */
.geo-direct-answer code {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .scenario-btn {
        padding: 6px 11px;
        font-size: 12px;
    }
}
