/* Shared tuning presentation only. No DSP state, capability or transport changes. */
html[data-theme] body.aeqdb-theme .edit-actions button.is-stored{border-color:var(--cyan);color:var(--cyan)}
html[data-theme] body.aeqdb-theme .edit-actions button.is-current{background:var(--cyan)!important;border-color:var(--cyan)!important;color:var(--paper)!important}
html[data-theme] body.aeqdb-theme .tuning-action-help{font-size:13px;line-height:1.6;color:var(--muted);margin:10px 0 0;max-width:70ch}
html[data-theme] body.aeqdb-theme .optional-player{margin:20px 0;border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:16px 20px}
html[data-theme] body.aeqdb-theme .optional-player>summary{cursor:pointer;color:var(--ink);font-size:16px;font-weight:600;line-height:1.5}
html[data-theme] body.aeqdb-theme .optional-player .audition-panel{margin:16px 0 0;padding:0;border:0;box-shadow:none;background:transparent}
html[data-theme] body.aeqdb-theme .optional-player>summary:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}
html[data-theme] body.aeqdb-theme :is(.eq-workbench,.peq-visual-editor){--tune-radius:14px;--tune-control:42px;color:var(--ink);}
html[data-theme] body.aeqdb-theme :is(.eq-toolbar,.peq-controls-heading){box-sizing:border-box;width:100%;min-width:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;background:var(--panel-2);color:var(--ink);border-bottom:1px solid var(--line);padding:20px 22px;}
html[data-theme] body.aeqdb-theme .peq-controls-heading{border:1px solid var(--line);border-radius:var(--tune-radius);margin:18px 0 12px;}
html[data-theme] body.aeqdb-theme :is(.eq-toolbar,.peq-controls-heading)>div:first-child{flex:1 1 280px;min-width:0;}
html[data-theme] body.aeqdb-theme :is(.eq-toolbar,.peq-controls-heading) .workbench-label{display:block;font-size:12px;letter-spacing:.13em;color:var(--muted);font-weight:600;}
html[data-theme] body.aeqdb-theme :is(.eq-toolbar,.peq-controls-heading) :is(p,h3){font-size:14px;line-height:1.6;margin:7px 0 0;color:var(--muted);max-width:70ch;}
html[data-theme] body.aeqdb-theme :is(.workbench-actions,.peq-control-actions){display:flex;flex:0 1 auto;flex-wrap:wrap;align-items:center;gap:10px;min-width:0;}
html[data-theme] body.aeqdb-theme :is(.workbench-actions,.peq-control-actions) button{min-height:44px;border-radius:10px;padding:10px 16px;font-size:14px;line-height:1.4;box-shadow:none;white-space:normal;}
html[data-theme] body.aeqdb-theme :is(.workbench-actions,.peq-control-actions) :is(.outline,.secondary){background:var(--panel);color:var(--ink);border:1px solid var(--line);}
html[data-theme] body.aeqdb-theme :is(.live-sync-control,.peq-live-toggle){display:inline-flex;align-items:center;gap:10px;flex:0 0 auto;color:var(--muted);font-size:14px;white-space:nowrap;}
html[data-theme] body.aeqdb-theme :is(#preview-eq,#pl-preview,#eq-live-sync){width:70px;height:44px;min-width:70px;min-height:44px;flex:0 0 auto;border:1px solid var(--cyan);border-radius:999px;padding:8px 16px;background:var(--panel-2);color:var(--cyan);font-size:14px;font-weight:600;box-shadow:none;}
html[data-theme] body.aeqdb-theme :is(#preview-eq,#pl-preview,#eq-live-sync)[aria-checked=true]{background:var(--cyan);color:var(--paper);}
html[data-theme] body.aeqdb-theme :is(.eq-workbench .band,.peq-visual-editor .peq-fader){background:var(--panel-2);border:1px solid var(--line);border-radius:var(--tune-radius);box-shadow:none;color:var(--ink);}
html[data-theme] body.aeqdb-theme :is(.eq-workbench .band,.peq-visual-editor .peq-fader):focus-within{border-color:var(--cyan);}
html[data-theme] body.aeqdb-theme .eq-workbench :is(.band-value,.gain-input,.band-filter),html[data-theme] body.aeqdb-theme .peq-fader input[type=number]{min-height:var(--tune-control);background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:8px;box-shadow:none;}
html[data-theme] body.aeqdb-theme .eq-workbench :is(.band-field,.band-field small,.band-index),html[data-theme] body.aeqdb-theme .peq-visual-editor :is(.peq-field,.peq-unit,.peq-fixed-meta,.peq-band-index){color:var(--muted);}
html[data-theme] body.aeqdb-theme .eq-workbench .gain-step,html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-gain-step{padding:0;min-width:0;min-height:var(--tune-control);border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);font-family:inherit;font-size:18px;font-weight:600;box-shadow:none;}
html[data-theme] body.aeqdb-theme .eq-workbench .gain-step:hover,html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-gain-step:hover{border-color:var(--cyan);color:var(--cyan);}
html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-faders{display:grid;grid-template-columns:repeat(var(--eq-band-count,10),minmax(142px,1fr));gap:12px;overflow-x:auto;padding-bottom:12px;}
html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-fader{position:relative;padding:22px 12px 14px;gap:9px;}
html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-band-index{position:absolute;top:7px;right:10px;font-size:10px;}
html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-field,html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-unit{align-self:flex-start;font-size:11px;text-transform:uppercase;letter-spacing:.04em;}
html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-fader label{display:flex;justify-content:center;align-items:center;min-height:42px;width:100%;border:1px solid var(--line);border-radius:8px;background:var(--panel);font-size:18px;}
html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-fixed-meta{font-size:11px;align-self:flex-start;margin-bottom:4px;}
html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-gain-entry{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;gap:4px;width:100%;}
html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-fader input[type=number]{font-size:16px;appearance:textfield;}
html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-fader input[type=number]::-webkit-inner-spin-button{appearance:none;}
html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-fader input[type=range]{height:222px;margin:12px 0;accent-color:var(--cyan);}
html[data-theme] body.aeqdb-theme :is(.eq-workbench,.peq-visual-editor) :is(button,input,select):focus-visible{outline:2px solid var(--cyan);outline-offset:3px;}
html[data-theme] body.aeqdb-theme :is(.eq-workbench,.peq-visual-editor) button:disabled{opacity:.45;cursor:not-allowed;}
@media(max-width:680px){
 html[data-theme] body.aeqdb-theme :is(.eq-toolbar,.peq-controls-heading){padding:16px;gap:14px;align-items:flex-start;}
 html[data-theme] body.aeqdb-theme :is(.eq-toolbar,.peq-controls-heading)>div:first-child{flex-basis:100%;}
 html[data-theme] body.aeqdb-theme :is(.workbench-actions,.peq-control-actions){width:100%;flex:1 1 100%;gap:10px;}
 html[data-theme] body.aeqdb-theme :is(.workbench-actions,.peq-control-actions)>button{flex:1 1 140px;}
 html[data-theme] body.aeqdb-theme :is(.workbench-actions,.peq-control-actions)>:is(.live-sync-control,.peq-live-toggle){flex:1 1 100%;justify-content:space-between;}
 html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-faders{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-fader{padding:22px 10px 12px;}
 html[data-theme] body.aeqdb-theme .peq-visual-editor .peq-fader input[type=range]{writing-mode:horizontal-tb;direction:ltr;width:100%;height:32px;margin:8px 0;}
}

/* Compact homepage player; retain native controls and existing file handlers. */
html[data-theme] body.home-refined .optional-player .audition-panel{grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}
html[data-theme] body.home-refined .optional-player .audition-controls{min-width:0;grid-template-columns:auto minmax(0,1fr);gap:10px 12px}
html[data-theme] body.home-refined .optional-player .audition-file{min-height:44px;font-size:14px}
html[data-theme] body.home-refined .optional-player .audition-panel p{font-size:14px}
html[data-theme] body.home-refined .optional-player audio{width:100%;min-width:0;height:44px}
@media(max-width:480px){html[data-theme] body.home-refined .optional-player .audition-controls{grid-template-columns:minmax(0,1fr)}html[data-theme] body.home-refined .optional-player .audition-file{width:100%;box-sizing:border-box}}
