*{box-sizing:border-box}body{margin:0;background:#f7f7f7;color:#232323;font:16px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:grid;grid-template-columns:238px 1fr;min-height:100vh}aside{background:#202020;color:#f9f9f9;padding:29px 16px;display:flex;flex-direction:column;gap:10px}.brand{display:flex;align-items:center;gap:12px;font-size:25px;letter-spacing:-1.3px;font-weight:730;margin:0 8px 38px}.logo{background:#b9b9b9;color:#2c2c2c;border-radius:10px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;gap:2px}.logo i{background:currentColor;width:3px;border-radius:3px;height:10px}.logo i:nth-child(2){height:20px}.logo i:nth-child(3){height:27px}.logo i:nth-child(4){height:16px}.libhead,th{font-size:12px;font-weight:650;letter-spacing:1.4px;color:#747474}.libhead{display:flex;justify-content:space-between;padding:0 10px;color:#b0b0b0}.libhead span{letter-spacing:0}button,select,input{font:inherit}button,select{cursor:pointer}button{background:white;color:inherit;border:1px solid #dedede;border-radius:8px;padding:7px 12px}button:hover{filter:brightness(.96)}button:disabled{opacity:.45;cursor:default}nav button{display:flex;align-items:center;text-align:left;gap:11px;width:100%;border:none;background:transparent;color:#cecece;margin:4px 0;padding:12px 10px;font-weight:600}nav button.active{background:#3e3e3e;color:white}.fileicon{font-size:21px;width:32px;height:36px;border:1px solid #676767;border-radius:6px;display:grid;place-items:center;color:#c7c7c7}nav button span:last-child{min-width:0;overflow-wrap:anywhere}nav small{display:block;font-size:12px;font-weight:400;color:#b4b4b4;margin-top:4px}.import{background:transparent;color:#e2e2e2;border:1px dashed #626262;margin-top:10px;padding:11px}.local{font-size:12px;color:#adadad;margin-top:auto;padding:40px 8px 0}main{width:100%;min-width:0;max-width:1600px;margin:auto;padding:27px clamp(16px,3vw,55px) 36px}.crumb{font-size:13px;color:#727272}.crumb b{padding:0 9px;color:#bbbbbb}.heading,.panelhead,.transport,.looprow,.group,.pager,h2,.speed{display:flex;align-items:center}.heading,.panelhead{justify-content:space-between}.heading{margin:21px 0 22px}h1{font-size:clamp(32px,3vw,49px);letter-spacing:-1.9px;line-height:1.08;margin:0;overflow-wrap:anywhere}p{color:#727272;font-size:14px;margin:9px 0 0}.stamp{color:#6f6f6f;background:#e8e8e8;border-radius:14px;padding:6px 14px;font-size:31px;transform:rotate(-5deg)}.panel{background:white;border:1px solid #dedede;border-radius:14px;overflow:hidden;margin-bottom:18px;box-shadow:0 2px 6px #261b3c05}.panelhead{padding:15px 20px;border-bottom:1px solid #e8e8e8}h2{font-size:19px;letter-spacing:-.6px;gap:9px;margin:0}.symbol{color:#656565}.pager,.group{gap:8px}.pager{font-size:13px;color:#606060}.pager button{font-size:20px;padding:0 9px}.group button,.looprow button{font-size:13px}.mixscroll,#scorewrap{overflow-x:auto}#score{display:block;width:100%;min-width:590px;cursor:crosshair}.transport{gap:12px;padding:14px 18px;border-top:1px solid #e8e8e8;background:#fcfcfc}#play{background:#5c5c5c;color:white;border:0;min-width:91px;font-weight:600;padding:10px}#home{font-size:13px;padding:8px}.clock{font:13px ui-monospace,monospace;white-space:nowrap}.speed{gap:7px;font-size:13px;color:#646464}select{background:#fff;border:1px solid #dadada;border-radius:6px;padding:6px;color:#343434}.looprow{gap:12px;padding:9px 18px;border-top:1px solid #e8e8e8;font-size:13px;color:#626262}.looprow input{width:51px;border:1px solid #dddddd;border-radius:5px;padding:4px}.looprow small{margin-left:auto;font-size:12px}.on,button[aria-pressed=true]{background:#e5e5e5;color:#4a4a4a;border-color:#a8a8a8}input[type=range],input[type=checkbox]{accent-color:#0a84ff}#seek{flex:1;min-width:35px}table{border-collapse:collapse;width:100%;white-space:nowrap}thead{background:#fafafa}th,td{text-align:left;padding:9px 12px}th{font-size:11px}td{border-top:1px solid #ededed;font-size:14px}td:first-child,th:first-child{width:30px;padding-right:0}td select{width:130px}td input[type=range]{width:clamp(55px,7vw,130px);vertical-align:middle}td output{display:inline-block;width:38px;text-align:right;color:#747474;font-size:12px}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:8px}td button{padding:4px 9px;margin-right:4px;font-size:13px;font-weight:650}#status{font-size:14px;color:#4f4f4f}

.piano .panelhead label{display:flex;align-items:center;gap:7px;font-size:13px;color:#626262}
.pianoscroll{overflow-x:auto;margin:14px 14px 0}
#keys{display:flex;position:relative;min-width:480px;padding-top:2px;isolation:isolate}
#keys button{touch-action:none;user-select:none;-webkit-user-select:none;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px;padding:0 0 6px;border-radius:0 0 5px 5px}
#keys .white{flex:1;min-width:0;height:100px;background:linear-gradient(white,#fafafa);box-shadow:inset 0 -3px #e6e6e6;border:1px solid #bababa}
#keys .black{position:absolute;top:2px;width:4.25%;transform:translateX(-50%);height:64px;background:linear-gradient(#3f3f3f,#262626);border:1px solid #242424;color:white;z-index:1}
#keys button.held{background:#64a8ff;box-shadow:inset 0 -3px #0a84ff}#keys .black.held{background:#0a64d0}
#keys strong{font-size:13px}#keys small{font-size:11px;opacity:.78}.pianohint{margin:10px 15px 14px;font-size:13px}.piano :focus-visible{outline:2px solid #0a84ff;outline-offset:-3px}
#keys button.sounding{background:var(--parts);color:#121212;box-shadow:inset 0 -4px #0002}
#keys button.held{outline:3px solid #0a84ff;outline-offset:-3px}
