:root{--bg:#f1f0e9;--ink:#292b27;--muted:#85877c;--lime:#d5ef79;--line:#dedfd4;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}.shell{display:flex;min-height:100vh}aside{width:220px;background:#20221f;color:#f4f3e9;padding:30px 20px 20px;display:flex;flex-direction:column;flex-shrink:0}.logo{font-size:19px;letter-spacing:2px;font-weight:800;color:inherit;text-decoration:none;white-space:nowrap}.logo small{font-size:8px;letter-spacing:1px;color:#a5a89d}.logomark{color:var(--lime);font-size:26px;vertical-align:-3px;margin-right:6px}.side-heading{font-size:9px;letter-spacing:1.4px;color:#777b70;margin:74px 10px 15px}.side-heading span{float:right}nav{display:grid;gap:5px}.nav{width:100%;background:none;border:0;border-radius:5px;color:#a2a69c;text-align:left;padding:14px 12px;font-size:12px}.nav span{display:inline-block;font-size:17px;width:31px}.nav b{float:right;font-size:9px;font-weight:400;color:#777c70}.nav.active,.nav:hover{background:#d7ee82;color:#252c20}.nav.active b{color:#6b7854}.side-bottom{margin-top:auto;border:1px solid #4a4e43;padding:18px 15px;color:#d3ef80}.sound-icon{font-size:27px}.side-bottom p{font-size:13px;line-height:1.4;letter-spacing:.7px;font-weight:bold;margin:20px 0 8px}.side-bottom small{color:#9b9f93;font-size:10px;line-height:1.4}.side-foot{border-top:1px solid #45483f;margin-top:26px;padding-top:18px;color:#787d70;font-size:8px;letter-spacing:.7px}.side-foot span{float:right;color:#bddf76}main{min-width:0;flex:1}header{height:72px;padding:0 5%;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.1px;color:#9a9c92}header strong{color:#565b50}header i{padding:0 12px;color:#c6c8bd;font-style:normal}header>div{display:flex;align-items:center;gap:25px}.status{font-size:9px;color:#6f7e61}.status i,.pill i{display:inline-block;width:6px;height:6px;background:#9bbf5b;border-radius:50%;padding:0;margin-right:7px}.header-button{border:1px solid #dadcd0;background:transparent;border-radius:50%;width:34px;height:34px;color:#606b56}.workspace{max-width:1440px;margin:auto;padding:45px 5% 20px}.page{display:none}.page.active{display:block}.page-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px}.page-title.compact{margin-bottom:45px}.eyebrow,.section-line,.card-number,.metro-label{font-size:9px;font-weight:bold;letter-spacing:1.5px;color:#858a7b}.eyebrow span{color:#97b953}.eyebrow i{font-style:normal;color:#c1c5b8;padding:0 7px}h1{font:normal clamp(48px,5.4vw,76px)/1.05 Georgia,serif;letter-spacing:-3px;margin:17px 0 13px}h1 em{font-weight:normal;color:#839b65}.page-title p{font-size:13px;color:#96998f;margin:0}.title-art{width:150px;height:120px;position:relative;color:#81986b}.art-ring{font-size:95px;line-height:1;text-align:center;transform:rotate(-15deg)}.title-art span{position:absolute;right:0;bottom:0;background:var(--bg);font-size:8px;letter-spacing:1px;line-height:1.4;font-weight:bold}.section-line{display:flex;justify-content:space-between;border-bottom:1px solid #d9dcd0;padding:0 0 12px;margin-bottom:15px}.section-line span:last-child{color:#acafa4;font-weight:normal}.studio-card,.card{background:#fbfbf6;border:1px solid #e2e4da;border-radius:8px;padding:26px}.studio-top,.instrument-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.pill{display:inline-block;border:1px solid #e0e5d5;border-radius:20px;padding:7px 10px;font-size:8px;letter-spacing:1px;color:#7d8f68;font-weight:bold}h2{font:normal 27px Georgia,serif;letter-spacing:-.5px;margin:14px 0 6px}h2 span{font:15px Arial;color:#a0b68b}.studio-top p,.instrument-top p{font-size:11px;color:#a1a499}.transport{display:flex;align-items:flex-end;gap:14px}.bpm-control label,.controls label,.metro-options label{display:block;font-size:9px;color:#9c9f94;letter-spacing:1px;font-weight:bold}.bpm-control label span{float:right}.bpm-control div{display:flex;align-items:center;margin-top:9px;border:1px solid #e1e4d9;border-radius:5px;height:42px}.bpm-control button{border:0;background:none;color:#a0a698;width:28px}.bpm-control input{width:42px;border:0;background:none;text-align:center;font-weight:bold;color:#3e493c;appearance:textfield}.bpm-control input::-webkit-inner-spin-button{appearance:none}.play{height:42px;background:#2e3d2e;color:#fff;border:0;border-radius:5px;padding:0 22px;font-size:10px;letter-spacing:.8px;font-weight:bold;white-space:nowrap}.play span{margin-left:12px}.grid-scroll{overflow-x:auto;margin-top:28px}.sequencer{min-width:650px}.step-numbers{display:grid;grid-template-columns:112px repeat(16,1fr);gap:6px;margin-bottom:9px}.step-numbers span{text-align:center;font-size:9px;color:#b4b8aa}.track{display:grid;grid-template-columns:112px repeat(16,1fr);gap:6px;align-items:center;margin:7px 0}.track-name{font-size:11px;font-weight:bold}.track-name small{display:block;font-size:9px;color:#afb2a8;font-weight:normal;margin-top:3px}.step{height:35px;border:0;border-radius:4px;background:#eff0e9;position:relative}.step:nth-child(4n+2){background:#e7e9df}.step.on{background:#aeca83}.step.current:after{content:'';position:absolute;inset:2px;border:2px solid #435c37;border-radius:3px}.studio-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #eeefe8;padding-top:18px;margin-top:22px}.legend{display:flex;gap:16px;font-size:8px;letter-spacing:.7px;color:#a6aa9d}.legend i{display:inline-block;width:8px;height:8px;border-radius:2px;background:#aeca83;margin-right:5px}.legend span+span i{background:transparent;border:1px solid #435c37}.studio-actions{display:flex;gap:10px;align-items:center}.studio-actions label{font-size:8px;letter-spacing:.8px;color:#a2a69b}.studio-actions select,.controls select,.metro-options select{border:1px solid #e1e4d9;background:#fbfbf6;padding:9px;border-radius:4px;color:#50594b;font-size:10px}.ghost{background:transparent;border:1px solid #dfe3d7;border-radius:4px;padding:10px 12px;font-size:9px;letter-spacing:.6px;font-weight:bold;color:#75836b;white-space:nowrap}.bottom-grid{display:grid;grid-template-columns:1fr 1fr .55fr;gap:15px;margin-top:16px}.info-card{min-height:185px;padding:22px;position:relative;overflow:hidden}.peach{background:#ead8ca}.dark{background:#404e3e;color:#f5f4e8}.card-number{color:#9f8f7e}.dark .card-number{color:#a5b69a}.info-card h3,.tips h3{font:normal 21px/1.15 Georgia,serif;margin:17px 0 10px}.info-card p{font-size:11px;line-height:1.5;max-width:240px;color:#8c8277}.dark p{color:#c3cdbb}.link{border:0;border-bottom:1px solid currentColor;background:none;padding:0 0 5px;font-size:9px;letter-spacing:.7px;font-weight:bold;color:inherit;position:relative;z-index:1}.decor{position:absolute;right:15px;bottom:-20px;font-size:110px;opacity:.15}.side-note{background:#e4e9d9;padding:20px;color:#718c61}.side-note>span{font-size:32px}.side-note p{font-size:11px;font-weight:bold;line-height:1.4;letter-spacing:.5px;margin-top:27px}.side-note small{font-size:10px;line-height:1.5}.controls{display:flex;gap:15px}.controls select,.metro-options select{display:block;margin-top:9px;min-width:90px}.piano-wrap{overflow-x:auto;padding-top:35px}.piano{height:200px;position:relative;display:flex;min-width:560px;max-width:850px;margin:auto}.key{position:relative;flex:1;border:1px solid #d8dbd0;background:#f7f7f1;border-radius:0 0 5px 5px;color:#9a9d93;display:flex;align-items:flex-end;justify-content:center;padding-bottom:15px;font-size:10px}.key.black{position:absolute;z-index:1;width:8%;height:62%;background:#30372f;border:0;color:#c4cbbd;transform:translateX(-50%)}.key.pressed{background:#c4e489;color:#324329}.piano-footer{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#a5aa9d;margin-top:24px}.tips{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:18px}.tips article{background:#e8ebdf;padding:24px;min-height:150px}.tips span,.guide-grid article>span{font-size:9px;letter-spacing:1px;color:#8b9a7c;font-weight:bold}.tips p,.guide-grid p{font-size:12px;line-height:1.7;color:#8b9185}.metro{max-width:650px;margin:auto;text-align:center;padding:45px}.metro #metro-display{font:normal 90px Georgia,serif;margin:20px 0}.metro #metro-display small{font:bold 11px Arial;letter-spacing:2px;color:#a6ae9e}.metro input[type=range]{width:100%;accent-color:#87a76c}.range-labels{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#a9afa3}.metro-buttons{display:flex;justify-content:center;gap:10px;margin:30px}.metro-buttons>button:not(.play){width:42px;background:none;border:1px solid #dce1d5;border-radius:4px;font-size:20px;color:#819276}.metro-options{display:flex;justify-content:center;align-items:end;gap:20px}.beat-dots{display:flex;justify-content:center;gap:10px;margin-top:35px}.beat-dots span{width:9px;height:9px;border-radius:50%;background:#dce2d5}.beat-dots span.lit{background:#83a564}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.guide-grid article{background:#fbfbf6;border:1px solid #e2e4da;border-radius:6px;padding:30px;min-height:245px}.guide-grid h2{font-size:30px}.guide-grid p{max-width:490px}.guide-grid .link{color:#758c65;margin-top:8px}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:40px;padding:20px 0;font-size:9px;letter-spacing:.9px;color:#aaaFA3}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #66834d;outline-offset:2px}@media(max-width:850px){aside{width:68px;padding:25px 10px}.logo{font-size:0}.logomark{font-size:26px}.logo small,.side-heading,.side-bottom,.side-foot,.nav b{display:none}nav{margin-top:60px}.nav{font-size:0;text-align:center}.nav span{font-size:20px;width:auto}.bottom-grid{grid-template-columns:1fr 1fr}.side-note{display:none}}@media(max-width:620px){aside{width:52px;padding:20px 5px}.workspace{padding:30px 16px}.title-art{display:none}.page-title h1{font-size:43px}.studio-card,.card{padding:18px}.studio-top,.instrument-top{display:block}.transport{margin-top:20px}.studio-bottom{align-items:flex-start;flex-direction:column}.studio-actions{flex-wrap:wrap}.bottom-grid,.tips,.guide-grid{grid-template-columns:1fr}.info-card{min-height:170px}.section-line span:last-child{display:none}.status{display:none}header{height:60px}.metro{padding:25px 18px}.metro #metro-display{font-size:68px}.controls{margin-top:22px}footer span:last-child{display:none}}
/* Shared workspace and readable controls */
.theme-button{border:1px solid #d6dacd;background:transparent;border-radius:5px;padding:9px 12px;color:#55634d;font-size:11px;letter-spacing:.5px;font-weight:bold}.work-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,1fr);gap:15px;margin:15px 0}.work-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.work-label{font-size:11px;letter-spacing:1px;color:#7c8c70;font-weight:bold}.work-heading p,.session-card>p{font-size:13px;color:#777e72}.melody-scroll{overflow-x:auto}.melody-grid{min-width:510px;margin-top:18px}.melody-row{display:grid;grid-template-columns:36px repeat(16,1fr);gap:5px;align-items:center;margin:5px 0}.melody-row>span{font-size:11px;color:#737e6d}.melody-numbers span{text-align:center;font-size:10px}.melody-step{height:22px;border:0;border-radius:3px;background:#eff0e9;position:relative}.melody-step:nth-child(4n+2){background:#e4e9df}.melody-step.on{background:#d4a589}.melody-step.current:after{content:'';position:absolute;inset:1px;border:2px solid #596d4e;border-radius:2px}.melody-bottom{display:flex;justify-content:space-between;gap:8px;margin-top:18px;font-size:10px;letter-spacing:.7px;color:#858d80}.session-card h2{margin-top:17px}.click-control{display:flex;gap:10px;align-items:flex-start;border-top:1px solid #e5e8dd;border-bottom:1px solid #e5e8dd;padding:18px 0;margin:20px 0;font-size:13px;font-weight:bold}.click-control input{accent-color:#789b5d;width:17px;height:17px}.click-control small{display:block;color:#899384;font-size:11px;font-weight:normal;margin-top:6px}.session-hint{display:flex;gap:12px;font-size:23px;color:#93ac7c;margin-bottom:22px}.session-hint span{font-size:12px;line-height:1.6;color:#7a8376}.session-card .link{color:#718b62}#workspace-keys .instrument{margin-top:15px}#workspace-keys .piano{height:145px}#workspace-keys .piano-wrap{padding-top:22px}
.side-heading,.side-foot,header,.eyebrow,.section-line,.card-number,.metro-label,.studio-actions label,.pill,.legend,.piano-footer,footer,.tips span,.guide-grid article>span,.metro-options label,.bpm-control label,.controls label,.range-labels,.metro #metro-display small,.info-card .link,.link,.ghost{font-size:11px}.logo small,.nav b,.step-numbers span,.track-name small,.melody-numbers span{font-size:10px}.studio-top p,.instrument-top p,.info-card p,.side-bottom small,.side-note small,.tips p,.guide-grid p{font-size:12px}.studio-actions select,.controls select,.metro-options select{font-size:12px}.page-title p{font-size:14px}.step-numbers span,.melody-numbers span{color:#7b8276}.side-foot{color:#adb3a5}.section-line span:last-child,.piano-footer,footer{color:#777f72}
html[data-theme="dark"]{color-scheme:dark;--bg:#181c1b;--ink:#edf0e8;--muted:#b6beb0;--line:#3a433b}html[data-theme="dark"] body{background:var(--bg)}html[data-theme="dark"] aside{background:#111513}html[data-theme="dark"] .studio-card,html[data-theme="dark"] .card,html[data-theme="dark"] .guide-grid article{background:#252c28;border-color:#3b463c}html[data-theme="dark"] .studio-actions select,html[data-theme="dark"] .controls select,html[data-theme="dark"] .metro-options select{background:#303b31;border-color:#526151;color:#eff4e8}html[data-theme="dark"] .theme-button,html[data-theme="dark"] .header-button,html[data-theme="dark"] .ghost,html[data-theme="dark"] .bpm-control div,html[data-theme="dark"] .pill{border-color:#536154;color:#d4e5c4}html[data-theme="dark"] .bpm-control input,html[data-theme="dark"] .bpm-control button{color:#e4eadf}html[data-theme="dark"] .step,html[data-theme="dark"] .melody-step{background:#414b42}html[data-theme="dark"] .step:nth-child(4n+2),html[data-theme="dark"] .melody-step:nth-child(4n+2){background:#4c574b}html[data-theme="dark"] .step.on{background:#a8ca78}html[data-theme="dark"] .melody-step.on{background:#dda985}html[data-theme="dark"] .step.current:after,html[data-theme="dark"] .melody-step.current:after{border-color:#f0f8df}html[data-theme="dark"] .peach{background:#664d40;color:#fff3e9}html[data-theme="dark"] .peach p,html[data-theme="dark"] .peach .card-number{color:#efcfbc}html[data-theme="dark"] .dark{background:#3a4b3b}html[data-theme="dark"] .side-note,html[data-theme="dark"] .tips article{background:#303d31;color:#d5e9c2}html[data-theme="dark"] .tips p{color:#c2cebf}html[data-theme="dark"] .key{background:#e9ebe1;color:#465242}html[data-theme="dark"] .key.black{background:#101511;color:#d9e3d4}html[data-theme="dark"] .key.pressed{background:#b7db80;color:#24351e}html[data-theme="dark"] .section-line,html[data-theme="dark"] .studio-bottom,html[data-theme="dark"] .click-control,html[data-theme="dark"] footer{border-color:#414d42}html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .section-line,html[data-theme="dark"] .work-label,html[data-theme="dark"] .section-line span:last-child,html[data-theme="dark"] footer,html[data-theme="dark"] .piano-footer,html[data-theme="dark"] .studio-top p,html[data-theme="dark"] .instrument-top p,html[data-theme="dark"] .page-title p,html[data-theme="dark"] .guide-grid p,html[data-theme="dark"] .work-heading p,html[data-theme="dark"] .session-card>p,html[data-theme="dark"] .session-hint span,html[data-theme="dark"] .melody-row>span,html[data-theme="dark"] .step-numbers span,html[data-theme="dark"] .track-name small,html[data-theme="dark"] .melody-bottom,html[data-theme="dark"] .legend,html[data-theme="dark"] header,html[data-theme="dark"] header strong{color:#c0cbb9}html[data-theme="dark"] .title-art span{background:var(--bg)}html[data-theme="dark"] h1 em{color:#b4d397}html[data-theme="dark"] .play{background:#bddf8a;color:#172215}html[data-theme="dark"] .click-control small{color:#b1bfae}html[data-theme="dark"] .session-card .link{color:#c5dfa9}
@media(max-width:850px){.work-grid{grid-template-columns:1fr}.session-card{order:2}.melody-card{order:1}}@media(max-width:620px){.theme-button{padding:8px;font-size:10px}header>div{gap:8px}.melody-bottom span:last-child{display:none}.work-heading{flex-wrap:wrap}#workspace-keys .piano{height:145px}}
