/* Scoped additions: existing Studio panels retain their styles and positions. */
.beat-studio .sample-lab{scroll-margin-top:24px}
.beat-studio .sample-lab [hidden]{display:none!important}
.beat-studio #open-sample-lab{width:100%;margin:0 0 20px;text-align:left}
.beat-studio #sample-drop{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px dashed #656565;border-radius:6px;padding:22px;background:#101e19;margin:0 0 20px}
.beat-studio #sample-drop.drag-over{border-color:#a5f326;background:#304b28}
.beat-studio #sample-drop strong{font-size:16px;color:#fafafa}
.beat-studio #sample-drop p{font-size:14px;line-height:1.6;color:#aaa;margin:8px 0 0;max-width:570px}
.beat-studio .sample-lab button{min-height:40px;font-size:14px}
.beat-studio .sample-lab label{font-size:14px;display:flex;flex-direction:column;gap:8px;min-width:0}
.beat-studio .sample-lab input:not([type=checkbox]),.beat-studio .sample-lab select{width:100%;min-width:0;font-size:14px}
.beat-studio .sample-top{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin-bottom:18px}
.beat-studio .sample-top label{flex:1 1 200px}
.beat-studio #sample-wave{display:block;width:100%;height:160px;border:1px solid #304637;border-radius:5px}
.beat-studio .sample-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0}
.beat-studio .sample-settings output{font-size:14px;font-variant-numeric:tabular-nums;color:#ddd}
.beat-studio .sample-lab .sample-check{flex-direction:row;align-items:center;gap:10px}
.beat-studio .sample-check input{width:18px;height:18px;flex-shrink:0}
.beat-studio .sample-lab .help{font-size:14px;line-height:1.65}
@media(max-width:750px){.beat-studio #sample-drop{align-items:stretch;flex-direction:column}.beat-studio .sample-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.beat-studio .sample-lab .panel-head{flex-wrap:wrap;gap:16px}.beat-studio .sample-lab .panel-head>label{width:100%}}
@media(max-width:420px){.beat-studio .sample-settings{grid-template-columns:1fr}.beat-studio .sample-top button{flex:1 1 140px}}
