/* Colophon demo settings panel (demo site only). Own classes, prefix cdp-. */
.cdp { position: fixed; right: 16px; bottom: 16px; z-index: 10000; font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #f2f2f4; }
.cdp *, .cdp *::before, .cdp *::after { box-sizing: border-box; }
.cdp-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #3a3a40; border-radius: 8px; background: #17171a; color: #f2f2f4; cursor: pointer; }
.cdp-btn:hover { background: #222226; }
.cdp-btn:focus-visible, .cdp-panel :focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px #17171a; }
.cdp-panel { position: absolute; right: 0; bottom: 52px; width: min(280px, calc(100vw - 32px)); padding: 16px; border: 1px solid #3a3a40; border-radius: 8px; background: #17171a; }
.cdp-panel[hidden] { display: none; }
.cdp-title { margin: 0 0 12px; font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #a8a8b0; }
.cdp-row { padding: 12px 0; border-top: 1px solid #2c2c31; }
.cdp-row-inline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cdp-label { display: block; margin-bottom: 8px; font-weight: 500; }
.cdp-row-inline .cdp-label { margin: 0; }
.cdp-colors { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cdp-picker { width: 44px; height: 32px; padding: 0; border: 1px solid #3a3a40; border-radius: 6px; background: none; cursor: pointer; }
.cdp-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.cdp-sw { width: 24px; height: 24px; padding: 0; border: 2px solid #17171a; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 1px #5a5a62; }
.cdp-sw[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff; }
.cdp-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: none; }
.cdp-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.cdp-track { position: absolute; inset: 0; border-radius: 12px; background: #3a3a40; transition: background .15s; }
.cdp-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.cdp-switch input:checked + .cdp-track { background: #2f8f5b; }
.cdp-switch input:checked + .cdp-track::after { transform: translateX(20px); }
.cdp-switch input:focus-visible + .cdp-track { outline: 2px solid #fff; outline-offset: 2px; }
.cdp-reset { margin: 4px 0 0; padding: 4px 0; border: 0; background: none; color: #c4c4cc; font: inherit; text-decoration: underline; cursor: pointer; }
.cdp-reset:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .cdp-track, .cdp-track::after { transition: none; } }
