:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#172520;color:#f2f1e7}*{box-sizing:border-box}body{margin:0;height:100vh;height:100dvh;display:flex;flex-direction:column}header,footer{padding:.85rem clamp(1rem,4vw,3rem)}h1{margin:0;font:500 clamp(1.45rem,3vw,2.2rem)/1.2 Georgia,serif}main{flex:1;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto}#stage{min-width:0;background:#d7d5c9}canvas{display:block;width:100%;height:100%}footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem 1rem}#status{color:#c1cdbf;font-size:.85rem}button{font:inherit;padding:.4rem .75rem;border:1px solid #81978a;border-radius:.35rem;background:#263e33;color:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:default}header{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:2px solid #bca579}#status{font-variant-numeric:tabular-nums}footer{display:block;background:#1c3027;border-top:2px solid #bca579}fieldset{border:0;padding:0;margin:auto;min-width:0;max-width:76rem}.library{display:grid;grid-template-columns:minmax(12rem,2fr) minmax(10rem,1.3fr) minmax(5rem,.55fr) minmax(8rem,.75fr);gap:1rem;align-items:start}label{display:grid;gap:.3rem;font-size:.8rem;color:#dbd4bd}select{width:100%;padding:.45rem;background:#263e33;color:#fff;border:1px solid #718276;border-radius:.3rem;font:1rem system-ui}details{font-size:.85rem;line-height:1.4;padding-top:.3rem}summary{cursor:pointer;color:#eee0bb}.transport{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin-top:.8rem;padding-top:.7rem;border-top:1px solid #476052}#scrub{flex:1;min-width:5rem;accent-color:#e4cc91}#time{font-size:.8rem;font-variant-numeric:tabular-nums;min-width:7rem;text-align:right}:focus-visible{outline:2px solid #ffe1a1;outline-offset:2px}@media(max-width:820px){.library{grid-template-columns:1fr 1fr;gap:.55rem}details{align-self:center}footer{padding:.65rem 1rem}}main{grid-template-rows:minmax(14rem,1fr) auto}header{justify-content:flex-start}#perform{margin-left:auto}#perform[aria-pressed=true]{border-color:#d5bf84;color:#f6df9e}body.performing .library{display:none}.count-strip,.live-tools{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem 1rem}#clock,#bpm{font-variant-numeric:tabular-nums}#beat-lamps{display:inline-flex;gap:.28rem}#beat-lamps i{width:.55rem;height:.55rem;border-radius:50%;background:#50685b}#beat-lamps i:nth-child(5){margin-left:.25rem}#beat-lamps .on{background:#f6d491}#cue{color:#e9d5a8;font-size:.87rem}#pads{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.55rem;margin:.65rem 0}#pads button{display:flex;align-items:center;gap:.6rem;text-align:left;padding:.65rem;font-weight:600}#pads kbd{color:#e7cd8b;border:1px solid #7e896e;padding:.1rem .35rem;border-radius:.2rem}#pads .active{border-bottom:3px solid #8dd8b5}#pads .queued{border-color:#f3cf83;box-shadow:0 0 .8rem #dcb96666;background:#4a4931}.live-tools label{display:flex;align-items:center;gap:.4rem}#tempo{accent-color:#e4cc91;width:7rem}#stage-tools div{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.4rem}@media(max-width:620px){#pads{grid-template-columns:1fr 1fr}#pads button:last-child{grid-column:1 / -1}header{flex-wrap:wrap}}#stage{min-height:0;background:#344f50}:focus-visible{outline:3px solid #ffdc8a;outline-offset:3px;box-shadow:0 0 0 3px #13271e}#status{overflow-wrap:anywhere}@media(max-width:620px){header{gap:.35rem .65rem;padding-block:.55rem}#status{flex-basis:100%}.library{grid-template-columns:repeat(2,minmax(0,1fr))}.library label:first-child{grid-column:1 / -1}.transport{display:grid;grid-template-columns:1fr auto;gap:.4rem}.transport [role=group]{grid-column:1}#time{grid-column:2;grid-row:1}#scrub{grid-row:2;grid-column:1 / -1;width:100%;margin-inline:0}#time{min-width:auto}}#model-progress{width:5rem;height:.4rem;accent-color:#e4cc91}
