@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#414e42;background:#f7f5eb;color-scheme:light;--muted:#929b87;--accent:#bc6c4c;--sage:#edefdf}*{box-sizing:border-box}body{margin:0;display:flex;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer;border:0;background:transparent;color:inherit;border-radius:12px;padding:10px 14px}button:hover{background:#e7e8dc}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:5px}aside{width:23%;max-width:320px;min-width:220px;background:#edeeDF;border-right:1px solid #e3e4d8;padding:30px 25px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{font-size:31px;font-weight:700;letter-spacing:-1.3px;color:#414e42;text-decoration:none;display:flex;align-items:center;gap:12px;white-space:nowrap}.brand-wave{font-size:28px;color:var(--accent);letter-spacing:-5px}.primary{background:#e4e6d7;padding:17px;margin-top:43px;font-size:18px;font-weight:500}nav{margin-top:38px;overflow:auto}nav button{width:100%;text-align:left;display:flex;align-items:center;gap:15px;padding:20px;font-size:17px;font-weight:600;margin-bottom:9px;overflow-wrap:anywhere}nav button:before{content:'≋';color:var(--muted);font-size:24px}nav button.selected{background:#fcfcf8;border-radius:17px}footer{margin-top:auto;font-size:11px;color:#737f6b;line-height:1.7;padding-top:25px}.import{margin-top:20px}.import button{font-size:17px;padding:0;text-align:left}main{flex:1;min-width:0;position:relative;padding:30px 4vw 22px;display:flex;flex-direction:column;min-height:100vh}header{display:flex;align-items:center;gap:20px}#title{font-family:Georgia,serif;font-weight:600;font-size:clamp(28px,3vw,42px);color:#414e42;border:0;background:transparent;width:100%;min-width:0;padding:0}#export{padding:8px;flex-shrink:0}#export svg{width:26px;height:29px}.studio{padding-top:70px}.transport{display:flex;justify-content:center;align-items:center;gap:clamp(35px,6vw,85px);min-height:190px}#play{font-size:0;border-radius:50%;width:76px;height:76px;background:#eeeee3;display:grid;place-items:center}#play:after{content:'▶';font-size:30px;margin-left:4px}.record{width:148px;height:148px;border-radius:50%;background:var(--accent);color:white;font-size:0;box-shadow:0 0 0 20px #f3e9dd;position:relative;flex-shrink:0}.record:after{content:'';display:block;width:57px;height:64px;position:absolute;inset:0;margin:auto;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 64' fill='none' stroke='white' stroke-width='4' stroke-linecap='round'%3E%3Crect x='16' y='3' width='16' height='35' rx='8' fill='white' stroke='none'/%3E%3Cpath d='M7 27v5a17 17 0 0 0 34 0v-5M24 49v12M13 61h22'/%3E%3C/svg%3E")}.record:hover{background:#aa5d40}.record.active{background:#984a36;animation:pulse 1.3s infinite}.record.active:after{background:none;background-color:white;width:35px;height:35px;border-radius:6px}@keyframes pulse{50%{box-shadow:0 0 0 25px #ecd7c7}}.toggle{position:relative;display:grid;place-items:center;cursor:pointer;width:76px;height:76px;border-radius:50%;background:#edeee3;color:#7e8875;font-size:36px}.toggle:has(input:checked){background:#f3e6d9;color:var(--accent)}.toggle input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.toggle:focus-within{outline:2px solid var(--accent);outline-offset:4px}.record-hint{text-align:center;font-size:20px;font-weight:600;margin:35px 0 20px}.status-row{display:flex;justify-content:center;align-items:center;gap:14px;min-height:40px;color:#78846d}#status{font-size:14px;max-width:580px;text-align:center;line-height:1.6}#stop{font-size:12px;white-space:nowrap;color:#68745e}.overview{margin-top:30px;margin-bottom:30px}#overview{width:100%;height:80px;display:block}.timeline{display:flex;align-items:center;justify-content:space-between;border-top:7px solid #d7d9ce;padding-top:17px;color:#7c8771;font-family:monospace;font-size:13px}.timeline>span:nth-child(2){font-family:'DM Sans';font-size:12px;color:#737e69}.layer{background:#fdfdf9;border-radius:18px;padding:20px 23px;margin-bottom:14px}.layer-top{display:flex;align-items:center;gap:14px}.layer-top:before{content:'≋';font-size:25px;color:var(--accent)}.layer-name{background:none;border:0;color:#414e42;font-size:17px;min-width:70px;width:40%}.layer-top button{padding:6px 9px;font-weight:600;color:#73806a}.layer-top .on{background:#e8ecda;color:#414e42}.layer-top input[type=range]{margin-left:auto;width:130px;accent-color:#8e9880}.layer canvas{width:100%;height:45px;display:block;margin:15px 0 8px;opacity:.75}.trim{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;color:#69765e}.trim input{width:70px}.trim button{padding:6px 9px;background:#f0f1e7;font-size:11px}.bottom-bar{margin-top:auto;padding-top:55px;display:flex;justify-content:space-between;align-items:flex-end;color:#75816b;gap:20px}.bottom-bar>button,summary{font-size:17px}.options{max-width:75%}summary{cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}.settings{display:flex;flex-wrap:wrap;gap:15px;align-items:center;padding:22px 0;font-size:13px}input[type=number],select{background:#fcfcf7;border:1px solid #d8dccd;border-radius:7px;padding:7px;color:#414e42}input[type=number]{width:65px}input[type=checkbox]{accent-color:var(--accent)}.settings button{background:#e9ecdf}.note{font-size:11px;color:#6d7864;line-height:1.6;margin:0}.spark{background:#eeeee0;border:1px solid #daddce;padding:20px 50px 20px 22px;border-radius:14px;position:relative;margin-top:20px}.spark[hidden]{display:none}.spark h2{font-family:Georgia,serif;font-weight:400;font-size:21px;line-height:1.5;margin:0}.spark button{position:absolute;right:8px;top:8px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1500px){.studio{padding-top:100px}.transport{min-height:240px}.record{width:190px;height:190px;box-shadow:0 0 0 26px #f3e9dd}.record-hint{margin-top:40px}.overview{margin-top:45px}}@media(max-width:850px){aside{min-width:190px;width:25%;padding:25px 15px}.brand{font-size:25px}.primary{font-size:15px}nav button{padding:16px;font-size:14px}main{padding:25px}.transport{gap:30px}.record{width:125px;height:125px}.toggle,#play{width:60px;height:60px}.record-hint{font-size:17px}.layer-top{gap:7px}.layer-top input[type=range]{width:85px}.timeline>span:nth-child(2){display:none}}@media(max-width:580px){body{display:block}aside{position:static;height:auto;width:100%;max-width:none;border-right:0;padding:18px;display:grid;grid-template-columns:1fr auto;gap:15px}.brand{font-size:27px}.primary{margin:0;padding:10px 16px}nav{grid-column:1/-1;display:flex;gap:8px;margin:0}nav button{width:auto;white-space:nowrap;padding:12px;margin:0}.import{margin:0;grid-column:2;grid-row:3}.import button{font-size:13px}footer{margin:0;padding:0;font-size:9px;grid-row:3}main{min-height:75vh;padding:24px 18px}#title{font-size:30px}.studio{padding-top:45px}.transport{gap:30px;min-height:150px}.record{width:115px;height:115px;box-shadow:0 0 0 14px #f3e9dd}.toggle,#play{width:53px;height:53px}.record:after{width:43px;height:49px}.record-hint{margin-top:25px;font-size:16px}.status-row{gap:4px}#status{font-size:12px}#stop{font-size:10px;padding:8px}.overview{margin-top:18px}.layer{padding:15px}.layer-name{font-size:14px;width:30%}.layer-top{gap:3px}.layer-top:before{font-size:20px}.layer-top input[type=range]{width:65px}.layer-top button{padding:6px}.trim{gap:5px}.trim input{width:54px}.bottom-bar{padding-top:35px}.options{max-width:65%}.bottom-bar>button,summary{font-size:14px}}
.brand-wave{width:23px;height:28px;flex-shrink:0}.layer-edit{margin-top:8px}.layer-edit summary{font:11px 'DM Sans',sans-serif;color:#7a8570;width:max-content;padding:4px 0}.layer-edit[open]{margin-top:15px}.layer-top button[title=Mute]{order:3}.layer-top button[title=Solo]{order:4}.layer-top button[title='Delete layer']{order:5}.layer-top input[type=range]{order:2}.layer-name{flex:1}.overview{margin-bottom:25px}

#deleteDialog{width:min(420px,calc(100% - 40px));border:1px solid #e3e4d8;border-radius:24px;background:#f7f5eb;color:#414e42;padding:32px;box-shadow:0 24px 90px #26302226}#deleteDialog::backdrop{background:#303c3059;backdrop-filter:blur(5px)}.dialog-eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;color:#8a947e}#deleteDialog h2{font-family:Georgia,serif;font-size:29px;font-weight:400;margin:15px 0 12px}#deleteDialog p{font-size:14px;line-height:1.7;color:#77826d;margin:0 0 27px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}.dialog-actions button{font-size:13px;padding:12px 17px;background:#e9ecdf}.dialog-actions .delete-confirm{background:#bc6c4c;color:#fff}.dialog-actions .delete-confirm:hover{background:#a85c40}
