/* Scoped styles; use the existing study component palette in both themes. */
#audio-library .study-media {margin:1rem 0 1.5rem;}
#audio-library h2 {margin-top:0;}
#audio-library .al-now {font-weight:700;overflow-wrap:anywhere;margin-bottom:.6rem;}
#audio-library audio {display:block;width:100%;max-width:100%;margin:.5rem 0; color-scheme:light dark;}
#audio-library .al-actions {display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;}
#audio-library .al-resume {margin-top:.7rem;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left;}
#audio-library .al-filters {display:grid;grid-template-columns:1fr;gap:.35rem;margin-bottom:.8rem;}
#audio-library .al-filters label {font-size:.85rem;font-weight:600;}
#audio-library .al-filters .study-control {width:100%;min-width:0;box-sizing:border-box;margin-bottom:.3rem;}
#audio-library .al-list {list-style:none;padding:0;margin:.7rem 0 0;}
#audio-library .al-item {display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;padding:.65rem 0;border-top:1px solid rgba(128,128,128,.35);min-width:0;}
#audio-library .al-item > :first-child {flex:1 1 12rem;min-width:0;overflow-wrap:anywhere;}
#audio-library .al-item small {display:block;font-size:.75rem;opacity:.8;}
#audio-library .al-item[aria-current="true"] {border-left:3px solid currentColor;padding-left:.6rem;}
#audio-library .al-item .study-control {flex-shrink:0;}
#audio-library .al-count,#audio-library .al-note {font-size:.8rem;}
#audio-library .al-count {margin:0;}
@media(max-width:480px){#audio-library .al-item > :first-child {flex-basis:100%;}}
