/* Layout/controls use the existing semantic variables; never filter the logo. */
.color-profile-open>:not(.color-profile-page){display:none!important}.cl-settings-open #settingsMenu{display:none!important}.color-profile-page{min-width:0}.color-profile-page form{max-width:32rem}.color-profile-page select{max-width:100%;min-width:0}button,select,input,textarea{border-color:var(--muted)}button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline-color:var(--accent)}
.color-profile-previews{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.5rem;margin-top:1rem}.color-profile-preview{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;padding:.4rem;border:1px solid var(--line);border-radius:.4rem;min-width:0}.color-profile-preview strong{flex:1 1 8rem;font-size:.9rem}.color-profile-preview span{padding:.15rem .5rem;border:2px solid;border-radius:.3rem;font-size:.85rem}

/* Native dropdown popups need an explicit foreground/background pair in every palette. */
select,select option,select optgroup{background-color:var(--surface);color:var(--text)}select option:checked{background-color:var(--soft);color:var(--text)}
@media(forced-colors:active){select,select option,select optgroup{background:Canvas;color:CanvasText}#planSearchResults [aria-selected=true]{background:Highlight;color:HighlightText}}
