/* Theme switching affects presentation only; no filters or colour inversion. */
html[data-theme=dark]{color-scheme:dark;background:#111213}
html[data-theme=light]{color-scheme:light;background:#f3f5f4}
.theme-picker{display:inline-flex!important;align-items:center;gap:7px;margin:0!important;flex-shrink:0;font-size:11px;color:var(--muted,#a6abad)}
.theme-picker>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body .theme-picker select{width:auto!important;min-width:140px;max-width:156px;height:34px!important;min-height:34px!important;padding:4px 8px!important;margin:0!important;border:1px solid var(--line,#373b3e);border-radius:8px;background:var(--panel,#1a1c1e);color:var(--ink,#eceeed);font:500 12px 'Chakra Petch',sans-serif;cursor:pointer;box-shadow:none}
.site-actions{gap:12px}
.news-article nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
html[data-theme=light] body{--ink:#223537;--text:#223537;--muted:#56696b;--paper:#f3f5f4;--bg:#f3f5f4;--panel:#fff;--panel-2:#edf2f1;--line:#cbd7d5;--cyan:#176c76;--cyan-2:#11545c;--accent:#176c76;--blue:#3b5ec2;--orange:#a84d20;--shadow:0 8px 28px #183f4510;--inset:none;background:var(--paper);color:var(--ink);color-scheme:light}
html[data-theme=light] body :is(.site-nav,.top,header:not(.compact-head),.sidebar){background:var(--theme-nav);border-color:var(--line);box-shadow:none}
html[data-theme=light] body :is(.site-brand,.brand,.site-account,.console-brand){color:var(--ink)}
html[data-theme=light] body :is(.site-brand,.brand) span{color:var(--cyan)}
html[data-theme=light] body .site-nav .site-links a{color:var(--muted)}
html[data-theme=light] body .site-nav .site-links a:is(:hover,[aria-current=page]){background:var(--theme-selected);color:var(--cyan-2)}
html[data-theme=light] body :is(.site-account,.site-nav #logout){color:var(--ink)}
html[data-theme=light] body :is(a,.breadcrumbs a,summary,footer a){color:var(--cyan)}
html[data-theme=light] body :is(.hero,.about-hero){background:transparent}
html[data-theme=light] body :is(.card,.panel,.preset,.eq-card,.chart-card,.eq-workbench,.connection-bar,.personal-source-setup,.professional-response,.reference-deck,.observation-workbench,.proposal-review,.advanced-console,.personal-save-bar,.setup-console,.apply-bar,.audition-panel,.hardware-difference,.export,.trust,.personal-tuning,.table-wrap,.device-panel,.about-principle,.review-card,.intro-grid>article,.grid>article,.detail-layout section,#eq-community-share,.v3-direction,.v3-guided-panel,.eq-edit-tools,.metric,.device-library-card){background:var(--panel);border-color:var(--line);box-shadow:none;color:var(--ink)}
html[data-theme=light] body :is(.device-status,.observation-group,.band,.eq-toolbar,.band-value,.selectors,.device-profile-help,.target-mode,.save-row,th,.news-format-bar){background:var(--panel-2);border-color:var(--line);color:var(--ink)}
html[data-theme=light] body :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea,.news-rich-editor){background:#fff;color:var(--ink);border-color:var(--theme-border);box-shadow:none}
html[data-theme=light] body :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
html[data-theme=light] body :is(.eyebrow,.device-kicker,.workbench-label,.note,.meta,.lede,.nav-note,.connection-title small,.source-setup-copy p:not(.eyebrow),.source-curve-status,.source-curve-status small,.response-disclosure,.chart-instruction,.curve-label,.style-intent p,.style-strength label,.style-strength>div,.v2-method,.evidence-content,.evidence-features span,.product-evidence summary span,.selectors label,.connection-controls label,.style-intent label,.hall-rating span,.hall-rating-label,.hall-rating-note,.edit-actions strong,.eq-edit-tools p,label,.rich-article figcaption){color:var(--muted)}
html[data-theme=light] body :is(.v2-device-settings summary,.v2-loop summary,.v2-method summary){color:var(--ink)}
html[data-theme=light] body :is(.button,.button-link,button.primary,.primary,.actions>button,.device-actions>button,.card>button,.community-share-actions button,.custom-eq-dialog button){background:var(--cyan);border-color:var(--cyan);color:#fff;box-shadow:none;text-shadow:none}
html[data-theme=light] body :is(.button,.button-link,.primary):hover{background:var(--cyan-2);color:#fff}
html[data-theme=light] body :is(.outline,.secondary,.tiny,.gain-step,.eq-edit-tools button,.community-share-actions a,.track-load-row label,.connection-title .device-library-entry .outline,.custom-eq-dialog button.outline){background:transparent;color:var(--cyan-2);border-color:var(--theme-border);box-shadow:none;text-shadow:none}
html[data-theme=light] body :is(.outline,.secondary,.tiny,.gain-step,.eq-edit-tools button,.community-share-actions a):hover{background:var(--theme-selected);border-color:var(--cyan);color:var(--cyan)}
html[data-theme=light] body :is(.deck-number,.observation-choice,.legend-item,.share-tools a,.share-tools button,#tabs button){background:var(--panel-2);color:var(--muted);border-color:var(--line);box-shadow:none}
html[data-theme=light] body :is(.legend-item.is-on,.target-mode.is-selected,.observation-choice[aria-pressed=true],.observation-choice[aria-checked=true],#tabs button.active){background:var(--theme-selected);color:var(--cyan-2);border-color:var(--cyan)}
html[data-theme=light] body :is(.frequency-region,.frequency-region b){color:var(--ink)}
html[data-theme=light] body .frequency-region small{color:var(--muted)}
html[data-theme=light] body .frequency-region.is-active{background:var(--theme-selected);box-shadow:inset 0 2px 0 var(--cyan)}
html[data-theme=light] body .frequency-region.is-active small{color:var(--cyan-2)}
html[data-theme=light] body :is(.personal-region-hint,#eq-message,.community-share-note,.editor-preview,.rich-article blockquote){background:var(--theme-selected);color:var(--cyan-2);border-color:var(--cyan)}
html[data-theme=light] body :is(.grid,.grid-line){stroke:#d3dddc}
html[data-theme=light] body .axis{fill:#52696d}
html[data-theme=light] body :is(.source-line,.source-reference-line){stroke:#5a7077}
html[data-theme=light] body :is(.eq-line,.eq-reference-line){stroke:#a84d20}
html[data-theme=light] body :is(.target-line,.target-reference-line){stroke:#3b5ec2}
html[data-theme=light] body .band-handle{fill:#176c76;stroke:#fff;filter:none}
html[data-theme=light] body .band-handle-label{fill:#17565e;stroke:#fff}
html[data-theme=light] body .region-highlight{fill:#176c7610}
html[data-theme=light] body .region-boundary{stroke:#176c76}
html[data-theme=light] body .region-label{fill:#17565e}
html[data-theme=light] body :is(#eq-response,#model-response){background:#f6f9f8}
html[data-theme=light] body :is(#eq-response,#model-response) text{fill:#52696d}
html[data-theme=light] body :is(#eq-response,#model-response) line{stroke:#d3dddc}
html[data-theme=light] body :is(dialog,.custom-eq-dialog,.device-library-dialog,.news-input-dialog){background:#fff;color:var(--ink);border-color:var(--theme-border);box-shadow:0 20px 80px #173b4033}
html[data-theme=light] body dialog::backdrop{background:#183d4566}
html[data-theme=light] body :is(.custom-eq-dialog,.device-library-dialog) :is(input,textarea){background:#fff;color:var(--ink);border-color:var(--theme-border)}
html[data-theme=light] body footer{background:var(--paper);border-color:var(--line);color:var(--muted)}
html[data-theme=light] body :is(#countryResults,.table-select){background:#fff;color:var(--ink);border-color:var(--line)}
html[data-theme=light] body .country-option:is(:hover,.active){background:var(--theme-selected);color:var(--ink)}
html[data-theme=light] body :is(#preview-eq,#pl-preview,.live-dac-sync){background:var(--panel-2);border-color:var(--theme-border);color:var(--muted)}
html[data-theme=light] body :is(#preview-eq,#pl-preview,.live-dac-sync)[aria-checked=true]{background:var(--theme-selected);color:var(--cyan-2);border-color:var(--cyan)}
html[data-theme=light] body .band .band-enable{background:var(--theme-selected);color:var(--cyan-2);border-color:var(--cyan)}
html[data-theme=light] body .band .band-enable[aria-checked=false]{background:var(--panel-2);color:var(--muted);border-color:var(--theme-border)}
html[data-theme=light] body :is(.gain-input,.edit-tone output,.recipe-result,.news-search-preview strong){color:var(--cyan)}
html[data-theme=light] body .recipe-card{background:var(--theme-nav);border-color:var(--line);color:var(--ink)}
html[data-theme=light] body .recipe-card[aria-pressed=true]{background:var(--theme-selected);border-color:var(--cyan)}
html[data-theme=light] body .preset:hover{background:var(--panel-2);border-color:var(--cyan)}
html[data-theme=light] body .preset footer{background:transparent}
html[data-theme=light] body .hall-rating{color:var(--ink)}
html[data-theme=light] body .hall-rating .rating-icon,html[data-theme=light] body .hall-rating svg path{fill:#936218;stroke:#936218}
html[data-theme=light] body .hall-stars button.is-filled{color:#936218}
html[data-theme=light] body .hall-stars .is-filled svg{fill:#936218}
html[data-theme=light] body .sidebar nav button[aria-current=page]{background:var(--theme-selected);color:var(--cyan-2);border-color:var(--theme-border)}
html[data-theme=light] body.admin-console button:not(.primary){background:var(--panel-2);color:var(--cyan-2);border-color:var(--theme-border)}
html[data-theme=light] body :is(.badge,.hall-rating-picker){border-color:var(--line);color:var(--muted)}
html[data-theme=light] body :is(.danger,.error,#feedback.error){color:#a33526}
html[data-theme=light] body :is(.news-studio input:read-only,.news-studio textarea:read-only){background:var(--panel-2);color:var(--muted)}
html[data-theme=light] body :is(a,button,input,select,summary,textarea):focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
@media(max-width:850px){body .theme-picker select{min-width:126px;max-width:144px;font-size:11px}.site-actions{gap:8px}}
html[data-theme=light] body{--danger:#a33526;--mint:#18674e}
html[data-theme=light] body .site-brand sup{color:var(--muted)}
html[data-theme=light] body .apply-bar p:not(.eyebrow){color:var(--muted)}

/* Palette roles: all light variants retain neutral white plot surfaces. */
html[data-theme=light] body{--theme-nav:#f8faf9;--theme-selected:#deedeb;--theme-border:#9aafac}
html[data-theme=light][data-palette=blue] body{--ink:#202f47;--text:#202f47;--muted:#52657e;--paper:#edf3fb;--bg:#edf3fb;--panel-2:#e7eef8;--line:#c4d2e5;--cyan:#245bab;--cyan-2:#17427f;--accent:#245bab;--theme-nav:#f6f9ff;--theme-selected:#dbe8fc;--theme-border:#8da6c7}
html[data-theme=light][data-palette=sand] body{--ink:#3d3025;--text:#3d3025;--muted:#70604e;--paper:#f6f0e6;--bg:#f6f0e6;--panel-2:#f1e8d9;--line:#d9cbb6;--cyan:#825921;--cyan-2:#624119;--accent:#825921;--theme-nav:#fcf8f1;--theme-selected:#eddfc6;--theme-border:#b4a184}
html[data-theme=light][data-palette=violet] body{--ink:#342b49;--text:#342b49;--muted:#695b7b;--paper:#f3effa;--bg:#f3effa;--panel-2:#ece5f5;--line:#d5c9e5;--cyan:#6b449a;--cyan-2:#503174;--accent:#6b449a;--theme-nav:#faf7ff;--theme-selected:#e6d9f5;--theme-border:#aa94c2}

html[data-theme=light] body .professional-response .chart-instruction span:last-child{color:var(--cyan-2)}

/* Selector groups are layout containers, not coloured panels. */
html body.aeqdb-theme .selectors{background:transparent;box-shadow:none}
html body.aeqdb-theme .hardware-difference h2{color:var(--ink)}
html body.aeqdb-theme .hardware-difference p:not(.eyebrow){color:var(--muted)}
html body.aeqdb-theme .hardware-difference a{color:var(--cyan)}
html body.aeqdb-theme .hardware-difference a:hover{color:var(--cyan-2);text-decoration:underline}
html body.aeqdb-theme .device-console{background:var(--panel);color:var(--ink);border-color:var(--line)}
html body.aeqdb-theme .device-console>summary{background:transparent;color:var(--ink)}
html body.aeqdb-theme .device-console>summary::before{color:var(--cyan)}
html body.aeqdb-theme .device-console :is(.device-console-latest,.device-console-body p,.device-console-feedback,time){color:var(--muted)}
html body.aeqdb-theme .device-console :is(.device-console-body,.device-console-log li){border-color:var(--line)}
html body.aeqdb-theme .device-console button{background:var(--panel-2);color:var(--ink);border-color:var(--line);box-shadow:none}
html body.aeqdb-theme .device-console button:hover{border-color:var(--cyan);color:var(--cyan)}
html body.aeqdb-theme .device-console :focus-visible{outline-color:var(--cyan)}
html body.aeqdb-theme .device-console[data-state=error] .device-console-latest,
html body.aeqdb-theme .device-console-log [data-state=error]{color:var(--danger,#f0a49c)}
html body.aeqdb-theme .device-console[data-state=warning] .device-console-latest,
html body.aeqdb-theme .device-console-log [data-state=warning]{color:#e1c38d}
html[data-theme=light] body.aeqdb-theme .device-console[data-state=warning] .device-console-latest,
html[data-theme=light] body.aeqdb-theme .device-console-log [data-state=warning]{color:#805719}
html[data-theme=light][data-palette=rose] body{--ink:#452c37;--text:#452c37;--muted:#775865;--paper:#fcf0f4;--bg:#fcf0f4;--panel-2:#f8e5ed;--line:#e6c5d2;--cyan:#a23061;--cyan-2:#7f2149;--accent:#a23061;--theme-nav:#fff8fa;--theme-selected:#f5d9e5;--theme-border:#bb8a9e}
html[data-theme=light][data-palette=mint] body{--ink:#203c32;--text:#203c32;--muted:#456252;--paper:#edf8f1;--bg:#edf8f1;--panel-2:#e2f1e8;--line:#bdd7c7;--cyan:#236c4d;--cyan-2:#185237;--accent:#236c4d;--theme-nav:#f7fcf9;--theme-selected:#d1e9dc;--theme-border:#83ad95}
/* Plum noir uses dark surfaces and light accents; graph colour meanings remain unchanged. */
html[data-theme=dark][data-palette=plum]{background:#1a1320}
html[data-theme=dark][data-palette=plum] body{--ink:#f3eaf4;--text:#f3eaf4;--muted:#c4b2ca;--paper:#1a1320;--bg:#1a1320;--panel:#281f30;--panel-2:#35283e;--line:#54415f;--cyan:#eca3d1;--cyan-2:#ffd1ec;--accent:#eca3d1;--danger:#ffb4ae;--theme-nav:#211827;--theme-selected:#4b3153;--theme-border:#80668f;background:var(--paper);color:var(--ink)}
html[data-palette=plum] body :is(.site-nav,.top,header:not(.compact-head),.sidebar){background:var(--theme-nav);border-color:var(--line)}
html[data-palette=plum] body :is(.site-brand,.brand,.site-account,.site-links a){color:var(--ink)}
html[data-palette=plum] body .site-links a[aria-current=page]{background:var(--theme-selected);color:var(--cyan)}
html[data-palette=plum] body :is(.card,.panel,.preset,.eq-card,.chart-card,.eq-workbench,.connection-bar,.personal-source-setup,.professional-response,.reference-deck,.observation-workbench,.proposal-review,.advanced-console,.personal-save-bar,.setup-console,.apply-bar,.audition-panel,.hardware-difference,.export,.trust,.personal-tuning,.table-wrap,.device-panel,.review-card,.detail-layout section,.v3-direction,.v3-guided-panel,.eq-edit-tools,.metric,.device-library-card,dialog){background:var(--panel);color:var(--ink);border-color:var(--line);box-shadow:none}
html[data-palette=plum] body :is(.device-status,.observation-group,.band,.eq-toolbar,.band-value,.target-mode,.save-row,th,.news-format-bar,.recipe-card,.legend-item,.deck-number,.share-tools a,.share-tools button){background:var(--panel-2);color:var(--ink);border-color:var(--line);box-shadow:none}
html[data-palette=plum] body :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea,.news-rich-editor){background:var(--paper);color:var(--ink);border-color:var(--theme-border);box-shadow:none}
html[data-palette=plum] body :is(.button,.button-link,button.primary,.primary,.custom-eq-dialog button){background:var(--cyan);border-color:var(--cyan);color:#29162a;box-shadow:none}
html[data-palette=plum] body :is(.outline,.secondary,.tiny,.gain-step,.eq-edit-tools button,.custom-eq-dialog button.outline){background:var(--panel-2);color:var(--ink);border-color:var(--theme-border);box-shadow:none}
html[data-palette=plum] body :is(.recipe-card[aria-pressed=true],.target-mode.is-selected,.observation-choice[aria-checked=true],.legend-item.is-on,.frequency-region.is-active){background:var(--theme-selected);color:var(--ink);border-color:var(--cyan)}
html[data-palette=plum] body :is(#preview-eq,#pl-preview,.live-dac-sync){background:var(--paper);color:var(--muted);border-color:var(--theme-border)}
html[data-palette=plum] body :is(#preview-eq,#pl-preview,.live-dac-sync)[aria-checked=true]{background:var(--theme-selected);color:var(--cyan);border-color:var(--cyan)}
html[data-palette=plum] body .band .band-enable{background:var(--theme-selected);color:var(--cyan);border-color:var(--theme-border)}
html[data-palette=plum] body .band .band-enable[aria-checked=false]{background:var(--paper);color:var(--muted)}
html[data-palette=plum] body .professional-response .chart-instruction span:last-child{color:var(--cyan)}
html[data-palette=plum] body footer{background:var(--paper);color:var(--muted);border-color:var(--line)}
html[data-palette=plum] body :focus-visible{outline-color:var(--cyan)}

/* Shared audition and hardware help: use palette roles, not legacy blue literals. */
html body.aeqdb-theme .device-profile-help{background:var(--panel-2);color:var(--ink);border-color:var(--line)}
html body.aeqdb-theme :is(.audition-panel p:not(.eyebrow),.reference-deck>p,.audition-file-name,.vertical-control>span,.band-index,.band-field,.band-field small){color:var(--muted)}
html body.aeqdb-theme .audition-status{color:var(--muted)!important}
html body.aeqdb-theme :is(.audition-file,.track-load-row label){background:var(--panel-2);color:var(--ink);border-color:var(--theme-border,var(--line));box-shadow:none}
html body.aeqdb-theme :is(.audition-file,.track-load-row label):hover{background:var(--theme-selected,var(--panel));color:var(--ink);border-color:var(--cyan)}
html body.aeqdb-theme .audition-file:focus-within{outline:2px solid var(--cyan);outline-offset:3px}
html body.aeqdb-theme :is(.audition-panel,.reference-deck) h3{color:var(--ink)}
html body.aeqdb-theme audio{accent-color:var(--cyan);color-scheme:inherit}
html body.aeqdb-theme .device-status[data-state=ok]{color:var(--ink)}
html body.aeqdb-theme .device-status[data-state=busy]{color:#e1c38d}
html body.aeqdb-theme .device-status[data-state=error]{color:var(--danger,#ffaaa5)}
html[data-theme=light] body.aeqdb-theme .device-status[data-state=busy]{color:#805719}
/* Legacy shared button rules include ID selectors; scope explicit overrides to Plum. */
html[data-palette=plum] body.aeqdb-theme :is(#save-eq,#pl-save,.apply-actions .button,.button.dark){background:var(--cyan)!important;color:#29162a!important;border-color:var(--cyan);box-shadow:none}
html[data-palette=plum] body.aeqdb-theme .apply-bar p:not(.eyebrow){color:var(--muted)}
html[data-palette=plum] body.aeqdb-theme footer .share-tools :is(a,button){background:var(--panel-2)!important;color:var(--ink)!important;border-color:var(--line)}
html[data-palette=plum] body.aeqdb-theme footer .share-tools :is(a,button):hover{background:var(--theme-selected)!important;border-color:var(--cyan)}

/* Plum noir: one semantic text/link/button hierarchy, including legacy page styles. */
html[data-palette=plum] body.aeqdb-theme :is(h1,h2,h3,h4,h5,h6){color:var(--ink)}
html[data-palette=plum] body.aeqdb-theme :is(p,li,dd,td){color:var(--ink)}
html[data-palette=plum] body.aeqdb-theme :is(label,small,.eyebrow,.note,.meta,.lede,.nav-note,.device-kicker,.workbench-label,.selection-readout,.connection-title small,.source-setup-copy p:not(.eyebrow),.source-curve-status,.source-curve-status small,.response-disclosure,.chart-instruction,.curve-label,.style-intent p,.style-strength label,.style-strength>div,.v2-method p,.evidence-content,.evidence-features span,.product-evidence summary span,.selectors label,.connection-controls label,.style-intent label,.hall-rating span,.hall-rating-label,.hall-rating-note,.edit-actions strong,.eq-edit-tools p,.rich-article figcaption,.reference-deck>p,.observation-heading>p,.observation-footer p,.proposal-review p:not(.eyebrow),.personal-save-bar p,.compact-head>p,.v2-heading>p,.device-profile-help,.audition-panel p:not(.eyebrow),.audition-file-name,.protocol-notes dd,.protocol-heading>p,.about-page .lede){color:var(--muted)}
html[data-palette=plum] body.aeqdb-theme a:not(.button):not(.button-link):not(.outline):not(.site-brand):not(.brand):not(.site-account){color:var(--cyan);text-decoration-color:currentColor}
html[data-palette=plum] body.aeqdb-theme a:not(.button):not(.button-link):not(.outline):not(.site-brand):not(.brand):not(.site-account):is(:hover,:focus-visible){color:var(--cyan-2)}
html[data-palette=plum] body.aeqdb-theme .site-nav .site-links a{color:var(--muted);background:transparent}
html[data-palette=plum] body.aeqdb-theme .site-nav .site-links a:is(:hover,[aria-current=page]){color:var(--cyan);background:var(--theme-selected)}
html[data-palette=plum] body.aeqdb-theme :is(button,.button,.button-link){text-shadow:none;box-shadow:none}
html[data-palette=plum] body.aeqdb-theme :is(.button,.button-link,button.primary,.primary,.actions>button,.device-actions>button,.card>button){background:var(--cyan);border-color:var(--cyan);color:#29162a}
html[data-palette=plum] body.aeqdb-theme :is(.outline,.secondary,.tiny,.gain-step,.eq-edit-tools button,.custom-eq-dialog button.outline){background:var(--panel-2);color:var(--ink);border-color:var(--theme-border);box-shadow:none}
html[data-palette=plum] body.aeqdb-theme :is(.outline,.secondary,.tiny,.gain-step,.eq-edit-tools button):hover:not(:disabled){background:var(--theme-selected);color:var(--cyan-2);border-color:var(--cyan)}
html[data-palette=plum] body.aeqdb-theme :is(.button,.button-link,button.primary):hover:not(:disabled){filter:brightness(1.06)}
html[data-palette=plum] body.aeqdb-theme :is(.button,.button-link,.outline,button) :is(b,strong,span){color:inherit}
html[data-palette=plum] body.aeqdb-theme :is(.observation-choice,.frequency-region,.recipe-card,.target-mode,.advanced-console summary,.product-evidence summary,.v3-guided-panel>summary){color:var(--ink);border-color:var(--line)}
html[data-palette=plum] body.aeqdb-theme :is(.recipe-card small,.target-mode small,.advanced-console summary small,.v3-guided-panel>summary small,.frequency-region small,.observation-choice b,.observation-group header small){color:var(--muted)}
html[data-palette=plum] body.aeqdb-theme :is(.observation-choice,.recipe-card,.target-mode):hover{background:var(--theme-selected);border-color:var(--cyan)}
html[data-palette=plum] body.aeqdb-theme :is(.observation-choice[aria-checked=true],.recipe-card[aria-pressed=true],.target-mode.is-selected,.frequency-region.is-active){background:var(--theme-selected);color:var(--cyan-2);border-color:var(--cyan)}
html[data-palette=plum] body.aeqdb-theme :is(.advanced-console summary b,.protocol-heading h2,.observation-group header span,.track-title,.member-library [role=status]){color:var(--ink)}
html[data-palette=plum] body.aeqdb-theme :is(.recipe-result,.professional-response .chart-instruction span:last-child,.selection-readout){color:var(--cyan)}
html[data-palette=plum] body.aeqdb-theme :is(.audition-status,.device-status[data-state=ok]){color:var(--muted)!important}
html[data-palette=plum] body.aeqdb-theme .device-status[data-state=error]{color:var(--danger)}
html[data-palette=plum] body.aeqdb-theme .device-status[data-state=busy]{color:#e1c38d}

html[data-palette=plum] body.aeqdb-theme :is(.share-label,.passage-controls span,.listening-pass-actions span){color:var(--muted)}
html[data-palette=plum] body.aeqdb-theme :is(summary,.eq-edit-tools output){color:var(--cyan)}
html[data-palette=plum] body.aeqdb-theme .observation-choice{background:var(--panel-2)}
html[data-palette=plum] body.aeqdb-theme .observation-choice:is(:hover,[aria-checked=true]){background:var(--theme-selected);border-color:var(--cyan)}
html[data-palette=plum] body.aeqdb-theme #eq-message{color:var(--ink)}
html[data-palette=plum] body.aeqdb-theme #eq-compatibility{color:var(--muted)}
html[data-palette=plum] body.aeqdb-theme #eq-compatibility[data-match=false]{color:#e1c38d}

html[data-theme=dark]:not([data-palette=plum]) body{--on-accent:#102224;--theme-border:#657276;--theme-selected:#283b3e;--warning-text:#e1c38d}
html[data-theme=light] body{--on-accent:#fff;--warning-text:#805719}
/* Other palettes use the same semantic roles as Plum, with their own contrast-safe accents. */
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(h1,h2,h3,h4,h5,h6){color:var(--ink)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(p,li,dd,td){color:var(--ink)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(label,small,.eyebrow,.note,.meta,.lede,.nav-note,.device-kicker,.workbench-label,.selection-readout,.connection-title small,.source-setup-copy p:not(.eyebrow),.source-curve-status,.source-curve-status small,.response-disclosure,.chart-instruction,.curve-label,.style-intent p,.style-strength label,.style-strength>div,.v2-method p,.evidence-content,.evidence-features span,.product-evidence summary span,.selectors label,.connection-controls label,.style-intent label,.hall-rating span,.hall-rating-label,.hall-rating-note,.edit-actions strong,.eq-edit-tools p,.rich-article figcaption,.reference-deck>p,.observation-heading>p,.observation-footer p,.proposal-review p:not(.eyebrow),.personal-save-bar p,.compact-head>p,.v2-heading>p,.device-profile-help,.audition-panel p:not(.eyebrow),.audition-file-name,.protocol-notes dd,.protocol-heading>p,.about-page .lede){color:var(--muted)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme a:not(.button):not(.button-link):not(.outline):not(.site-brand):not(.brand):not(.site-account){color:var(--cyan);text-decoration-color:currentColor}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme a:not(.button):not(.button-link):not(.outline):not(.site-brand):not(.brand):not(.site-account):is(:hover,:focus-visible){color:var(--cyan-2)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme .site-nav .site-links a{color:var(--muted);background:transparent}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme .site-nav .site-links a:is(:hover,[aria-current=page]){color:var(--cyan);background:var(--theme-selected)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(button,.button,.button-link){text-shadow:none;box-shadow:none}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.button,.button-link,button.primary,.primary,.actions>button,.device-actions>button,.card>button){background:var(--cyan);border-color:var(--cyan);color:var(--on-accent)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.outline,.secondary,.tiny,.gain-step,.eq-edit-tools button,.custom-eq-dialog button.outline){background:var(--panel-2);color:var(--ink);border-color:var(--theme-border);box-shadow:none}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.outline,.secondary,.tiny,.gain-step,.eq-edit-tools button):hover:not(:disabled){background:var(--theme-selected);color:var(--cyan-2);border-color:var(--cyan)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.button,.button-link,button.primary):hover:not(:disabled){filter:brightness(1.06)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.button,.button-link,.outline,button) :is(b,strong,span){color:inherit}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.observation-choice,.frequency-region,.recipe-card,.target-mode,.advanced-console summary,.product-evidence summary,.v3-guided-panel>summary){color:var(--ink);border-color:var(--line)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.recipe-card small,.target-mode small,.advanced-console summary small,.v3-guided-panel>summary small,.frequency-region small,.observation-choice b,.observation-group header small){color:var(--muted)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.observation-choice,.recipe-card,.target-mode):hover{background:var(--theme-selected);border-color:var(--cyan)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.observation-choice[aria-checked=true],.recipe-card[aria-pressed=true],.target-mode.is-selected,.frequency-region.is-active){background:var(--theme-selected);color:var(--cyan-2);border-color:var(--cyan)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.advanced-console summary b,.protocol-heading h2,.observation-group header span,.track-title,.member-library [role=status]){color:var(--ink)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.recipe-result,.professional-response .chart-instruction span:last-child,.selection-readout){color:var(--cyan)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.audition-status,.device-status[data-state=ok]){color:var(--muted)!important}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme .device-status[data-state=error]{color:var(--danger)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme .device-status[data-state=busy]{color:var(--warning-text)}

html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.share-label,.passage-controls span,.listening-pass-actions span){color:var(--muted)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(summary,.eq-edit-tools output){color:var(--cyan)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme .observation-choice{background:var(--panel-2)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme .observation-choice:is(:hover,[aria-checked=true]){background:var(--theme-selected);border-color:var(--cyan)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme #eq-message{color:var(--ink)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme #eq-compatibility{color:var(--muted)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme #eq-compatibility[data-match=false]{color:var(--warning-text)}

html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(#save-eq,#pl-save,.apply-actions .button,.button.dark){background:var(--cyan)!important;color:var(--on-accent)!important;border-color:var(--cyan);box-shadow:none}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.recipe-card,.observation-group,.deck-number,.legend-item){background:var(--panel-2);border-color:var(--line);color:var(--ink)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.recipe-card[aria-pressed=true],.legend-item.is-on){background:var(--theme-selected);border-color:var(--cyan);color:var(--cyan-2)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.band-enable,#preview-eq,#pl-preview,.live-dac-sync){background:var(--panel-2);border-color:var(--theme-border);color:var(--muted)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme :is(.band-enable,#preview-eq,#pl-preview,.live-dac-sync)[aria-checked=true]{background:var(--theme-selected);border-color:var(--cyan);color:var(--cyan)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme footer .share-tools :is(a,button){background:var(--panel-2)!important;color:var(--ink)!important;border-color:var(--line)}
html[data-theme]:not([data-palette=plum]) body.aeqdb-theme footer .share-tools :is(a,button):hover{background:var(--theme-selected)!important;border-color:var(--cyan)}
html[data-theme] body.aeqdb-theme .site-account{color:var(--ink)}
html[data-theme] body.aeqdb-theme .band-value{color:var(--ink)}
