/* Phase 2BK: readable sound preferences in both Classic and Glass themes. */
#prismSoundPanel{color:#193d50}
#prismSoundPanel h3{color:#123a4a!important;margin:0 0 8px}
#prismSoundPanel .prismSoundDescription{font-size:13px;color:#406278;margin:0 0 12px}
#prismSoundPanel .prismSoundRow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0;font-weight:650;color:#163e52}
#prismSoundPanel .prismSoundRow input{width:18px;height:18px;accent-color:#087d8f;flex:none;margin:0}
#prismSoundPanel .prismSoundTestBtn{color:#fff;background:linear-gradient(112deg,#006a88,#383fa4);border:1px solid #0c6596;border-radius:9px;padding:9px 16px;min-height:38px;font:inherit;font-weight:700;cursor:pointer}
#prismSoundPanel .prismSoundTestBtn:focus-visible{outline:3px solid #ffbb45;outline-offset:3px}
#prismSoundStatus{font-size:12px;color:#365b70;margin:9px 0 0;max-width:66ch}

#prismSoundPanel .prismSoundControls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px}
#prismSoundPanel #prismVoiceTest{background:linear-gradient(112deg,#176f57,#08658c);border-color:#117461}

/* Phase 2BM — small, accessible top-bar audio activation indicator.
 * Scoped to one element: no changes to the approved Glass visual language. */
#prismAudioUnlock{
 display:inline-flex;align-items:center;justify-content:center;gap:5px;
 border:1px solid #a6bdd0;border-radius:999px;padding:7px 11px;
 background:#f3f8fd;color:#174158;white-space:nowrap;
 font:inherit;font-size:11px;font-weight:800;line-height:1.25;
 min-height:34px;max-width:176px;cursor:pointer;flex-shrink:0;
 box-shadow:0 1px 4px rgba(9,30,54,.12);
}
#prismAudioUnlock .prismAudioIcon{font-size:16px;line-height:1}
#prismAudioUnlock.is-locked{background:#fff3db;border-color:#dcad57;color:#633906}
#prismAudioUnlock.is-ready{background:#e3f7ef;border-color:#83c3a3;color:#14543c}
#prismAudioUnlock.is-muted{background:#e7edf2;border-color:#acb9c5;color:#3d5265}
#prismAudioUnlock.is-unsupported{background:#e7edf2;color:#677381;cursor:not-allowed}
#prismAudioUnlock:focus-visible{outline:3px solid #ffd257;outline-offset:3px}
html[data-prism-theme="glass"] #prismAudioUnlock,
body.prismGlass #prismAudioUnlock,
.prismGlass #prismAudioUnlock{box-shadow:inset 0 1px 0 rgba(255,255,255,.44),0 1px 8px rgba(0,0,0,.2)}
html[data-prism-theme="glass"] #prismAudioUnlock.is-locked,
.prismGlass #prismAudioUnlock.is-locked{background:linear-gradient(135deg,#5e381a,#51395f);color:#fff8de;border-color:#e8b86b}
html[data-prism-theme="glass"] #prismAudioUnlock.is-ready,
.prismGlass #prismAudioUnlock.is-ready{background:linear-gradient(135deg,#0d4e50,#31517e);color:#e8fff8;border-color:#65d6bb}
html[data-prism-theme="glass"] #prismAudioUnlock.is-muted,
.prismGlass #prismAudioUnlock.is-muted{background:#35465c;color:#e8edf5;border-color:#7e8da8}
@media(max-width:1100px){#prismAudioUnlock{padding:6px 9px;max-width:134px;font-size:10px}}
@media(max-width:680px){#prismAudioUnlock{min-height:34px;padding:6px 8px;max-width:120px}}

/* Actual PRISM theme class used by the Classic | Glass switch. */
html.prismThemeGlass #prismAudioUnlock{box-shadow:inset 0 1px 0 rgba(255,255,255,.44),0 1px 8px rgba(0,0,0,.2)}
html.prismThemeGlass #prismAudioUnlock.is-locked{background:linear-gradient(135deg,#5e381a,#51395f);color:#fff8de;border-color:#e8b86b}
html.prismThemeGlass #prismAudioUnlock.is-ready{background:linear-gradient(135deg,#0d4e50,#31517e);color:#e8fff8;border-color:#65d6bb}
html.prismThemeGlass #prismAudioUnlock.is-muted{background:#35465c;color:#e8edf5;border-color:#7e8da8}
