.study-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(15rem,1fr);align-items:start;gap:1rem}
.study-layout:not(:has(raco-study-media)){grid-template-columns:1fr}
raco-study-score,raco-study-media{display:block;min-width:0}
raco-study-media label,raco-study-score label{display:grid;gap:.3rem;font-weight:650}
raco-study-media select,raco-study-score select{width:100%;max-width:100%;min-height:40px;font:inherit}
raco-study-media iframe,raco-study-media audio,raco-study-score iframe{display:block;width:100%;border:0;margin:.35rem 0}
raco-study-media iframe{aspect-ratio:16/9;height:auto;background:#111}
raco-study-score iframe{height:65vh}
raco-study-media details a{display:block;margin:.5rem 0}
raco-study-media .audio-tempo{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
raco-study-media .audio-tempo input{min-width:60px;width:85px}
@media(max-width:720px){.study-layout{grid-template-columns:minmax(0,1fr);gap:.35rem}.study-layout raco-study-media{grid-row:1}.study-layout raco-study-media iframe{max-height:25dvh}}
raco-study-score canvas{width:100%;height:auto;display:block}
raco-study-score [data-pdf]{overflow:auto;max-height:68dvh}
.study-pages{display:flex;gap:.75rem;justify-content:center;align-items:center;position:sticky;top:0;background:var(--surface,#fffefa);z-index:1}
.study-pages button{min-height:40px}
@media(max-width:720px){raco-study-score [data-pdf]{max-height:48dvh}}
.practice-score raco-study-media iframe{min-height:0;height:auto}
