:root{font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;color:#223c37;background:#f6f5ef;font-synthesis:none;--ink:#223c37;--muted:#64736d;--green:#175c4e;--pale:#e7eee4;--line:#e0e4da;--cream:#fffef9}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select,input[type=checkbox],input[type=range]{cursor:pointer}button{color:inherit}button:disabled{cursor:default;opacity:.5}button{border:0}a{color:inherit}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #227cba;outline-offset:3px}button,input,select{accent-color:var(--green)}[hidden]{display:none!important}.skip-link{position:fixed;top:-60px;left:16px;padding:12px;background:white;z-index:99}.skip-link:focus{top:10px}.topbar{height:82px;padding:0 max(28px,calc((100vw - 1380px)/2));display:flex;align-items:center;gap:50px;background:#fffef9c9;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:21px;font-weight:750;letter-spacing:-.7px;white-space:nowrap}.brand-sub{font-size:9px;display:block;letter-spacing:3.1px;margin-top:2px;font-weight:650;color:var(--muted)}.breadcrumb{font-size:12px;display:flex;gap:17px;align-items:center;color:var(--muted)}.breadcrumb strong{font-weight:550;color:var(--ink)}.breadcrumb-dot{color:#b1b8a9}.topbar>.quiet-button{margin-left:auto}.quiet-button,.small-button{border:1px solid var(--line);background:transparent;border-radius:8px;min-height:42px;padding:9px 14px;font-size:12px;font-weight:650}.quiet-button:hover,.small-button:hover{background:#edf0e7}.quiet-button[aria-pressed=true]{color:#114e42;background:#e4eee4;border-color:#adcbba}.shell{max-width:1380px;padding:34px 28px 22px;margin:auto}.intro{display:flex;justify-content:space-between;align-items:center;margin:0 0 32px;gap:18px}.eyebrow{margin:0 0 12px;font-size:10px;font-weight:750;letter-spacing:1.7px;color:#60766a}h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(28px,2.65vw,41px);font-weight:400;letter-spacing:-1.3px;line-height:1.16;margin:0}h1 em{font-weight:400;color:var(--green)}.intro-copy{font-size:13px;color:var(--muted);margin:12px 0 0;line-height:1.5}.local-badge{display:flex;align-items:center;gap:7px;font-size:11px;color:#647365;white-space:nowrap}.status-dot{width:7px;height:7px;border-radius:50%;background:#819e63;display:inline-block;flex-shrink:0}.version{font-family:Georgia,serif;font-size:31px;font-style:italic;color:#b4bba7;border-left:1px solid #d7ddce;padding-left:15px;margin-left:12px}.workspace{display:grid;grid-template-columns:235px minmax(0,1fr);gap:26px;align-items:start}.lesson-rail{padding:10px 0 0}.rail-label{font-size:10px;font-weight:750;letter-spacing:1.45px;display:flex;justify-content:space-between;color:#6b7a6e;margin:0 0 18px}.rail-label span+span{font-weight:500;letter-spacing:1px;color:#8a9587}.field-label{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}select{background:var(--cream);border:1px solid #d7ded1;border-radius:7px;min-height:40px;color:var(--ink);padding:8px 24px 8px 10px;font-size:12px;width:100%}.lesson-summary{display:flex;gap:10px;align-items:flex-start;margin-top:12px}.lesson-summary p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.small-icon{height:27px;min-width:27px;background:#e9eadb;border-radius:50%;display:grid;place-items:center;font-size:18px;color:#647247}.rail-divider{height:1px;background:var(--line);margin:27px 0}.teaching-path{display:flex;flex-direction:column;gap:8px}.path-step{display:flex;text-align:left;align-items:center;gap:11px;padding:13px 10px;background:transparent;border:1px solid transparent;border-radius:9px;min-height:67px}.path-step:hover{background:#eeefe6}.path-step.selected{background:#e8eddf;border-color:#d8e0ca}.step-number{background:#ebede3;color:#6a7860;min-width:27px;height:27px;border-radius:50%;display:grid;place-items:center;font-size:12px}.selected .step-number{background:var(--green);color:#fff}.path-step strong{font-size:12px;display:block;font-weight:650}.path-step small{font-size:10px;display:block;line-height:1.5;margin-top:5px;color:#6f7c6e}.teacher-note{padding:20px 15px 16px;border:1px solid #e4e1c7;border-radius:10px;background:#f0eddf;margin-top:28px}.teacher-note .eyebrow{font-size:9px;letter-spacing:1.3px;color:#83774b}.teacher-note p{font-family:Georgia,serif;font-size:14px;line-height:1.6;margin:10px 0 0;color:#716b4f}.studio{min-width:0;border:1px solid #e0e4d9;border-radius:17px;background:var(--cream);padding:23px 28px 15px;box-shadow:0 5px 30px #30452d06}.studio-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7eade;padding-bottom:18px}.mode-switch{display:flex;background:#f0f1e9;padding:4px;border:1px solid #e5e8db;border-radius:9px;gap:4px}.mode-switch button{border-radius:6px;padding:9px 24px;font-size:12px;background:transparent;min-height:37px;color:#657463}.mode-switch button[aria-pressed=true]{background:var(--green);color:white;box-shadow:0 2px 4px #233a2620}.lesson-meta{font-size:9px;letter-spacing:1.15px;font-weight:600;color:#7a8476}.lesson-meta span{margin:0 9px;color:#acb19e}.lesson-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0 19px}.lesson-heading .eyebrow{font-size:9px;margin-bottom:9px}.lesson-heading h2{font-family:Georgia,serif;font-size:27px;line-height:1.2;letter-spacing:-.4px;font-weight:400;margin:0}.lesson-heading p:not(.eyebrow){font-size:12px;line-height:1.5;color:var(--muted);margin:10px 0 0;max-width:530px}.note-orbit{min-width:77px;height:77px;border:1px solid #dfe6d6;border-radius:50%;background:#eff3e8;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px}.note-orbit>span{font-size:25px;font-family:Georgia,serif;color:#345d43}.note-orbit small{font-size:9px;color:#708468}.sequence{display:flex;gap:9px;padding-bottom:22px;overflow-x:auto}.sequence-step{flex:1;min-width:58px;padding:13px 6px 10px;border:1px solid #e3e6da;background:#f4f5ee;border-radius:9px;text-align:center;position:relative;transition:background .1s,border-color .1s}.sequence-step .step-count{display:block;font-size:9px;color:#8a9481;margin-bottom:8px}.sequence-step strong{font-family:Georgia,serif;font-size:23px;font-weight:400;display:block}.sequence-step small{display:block;margin-top:5px;font-size:10px;color:#7c8973;min-height:13px}.sequence-step.active{background:#e0efe5;border-color:#689777;box-shadow:inset 0 -3px #4c7f65}.sequence-step.done .step-count{color:#175c4e}.sequence-step.done{background:#edf3e8}.sequence-step.target{border:2px dashed #5c8a68;padding:12px 5px 9px}.transport{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-bottom:22px;border-bottom:1px solid #e7eade}.primary-button{background:var(--green);color:white;padding:12px 17px;min-height:44px;border-radius:8px;font-size:12px;font-weight:650;display:flex;align-items:center;gap:10px}.primary-button:hover{background:#0e493e}.stop-button{padding:11px 12px;min-height:44px;background:#f1f0e8;border:1px solid #e0e2d6;border-radius:8px;font-size:12px}.stop-button:hover{background:#e8e5d7}.stop-button span{font-size:10px;margin-right:6px}.transport .quiet-button{padding:9px 11px}.loop-control{display:flex;gap:5px;align-items:center;font-size:11px;color:#63745f;padding:6px}.loop-control input{width:16px;height:16px}.tempo-control{margin-left:auto;min-width:114px;width:120px}.tempo-control label{display:flex;gap:5px;font-size:10px;align-items:center}.tempo-control output{margin-left:auto;font-size:13px;font-weight:700;color:#285743}.tempo-control label>span{font-size:9px;color:#8a9482}.tempo-control input{height:16px;width:100%;display:block;margin:5px 0 0}.instrument{padding-top:21px;outline-offset:5px}.instrument-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px}.instrument h3{font-size:13px;font-weight:650;margin:0 0 5px}.instrument-top p{font-size:10px;color:#7b8673;margin:0}.instrument-top p span{padding:0 5px}.small-button{font-size:10px;min-height:35px;padding:7px 10px}.keyboard-frame{background:#24453e;border-radius:10px;padding:13px 9px 8px;box-shadow:inset 0 3px 6px #142c3626}.piano{height:173px;display:flex;position:relative;isolation:isolate}.piano-key{padding:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;position:relative;user-select:none;-webkit-user-select:none;touch-action:none;gap:6px}.piano-key.white{height:100%;flex:1;min-width:0;background:linear-gradient(#fffefb,#f5f2e9);border:1px solid #c4c6b9;border-bottom:5px solid #d4d4c7;border-radius:0 0 5px 5px;margin-right:1px;padding-bottom:14px;color:#4f5d4c}.piano-key.black{position:absolute;top:0;z-index:2;height:61%;background:linear-gradient(100deg,#2e3937,#172825);border:1px solid #0d2420;border-bottom:5px solid #0d211d;border-radius:0 0 5px 5px;color:#d0d7c9;padding-bottom:11px;box-shadow:1px 3px 2px #14251d3b}.key-primary{font-size:11px;font-weight:650;line-height:1.2;white-space:nowrap}.key-secondary{font-size:9px;color:#8a9683;line-height:1;white-space:nowrap}.black .key-primary{font-size:9px;font-weight:550}.black .key-secondary{font-size:8px;color:#97aba3}.white.is-active{background:#b5d9c1;border-color:#518b6d;border-bottom-color:#497d60}.black.is-active{background:#45795e;border-bottom-color:#29543e;color:white}.piano-key.is-target::before{content:"";position:absolute;bottom:55px;width:7px;height:7px;border:2px solid #428267;border-radius:50%;background:#c4e8d0}.black.is-target::before{bottom:48px;border-color:#cbe9d3}.piano-key:focus-visible{z-index:4;outline-offset:-4px}.keyboard-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:12px 0 19px}.octave-control{display:flex;align-items:center;gap:9px}.octave-control button{width:32px;height:32px;background:#f1f3e9;border:1px solid #e0e5d6;border-radius:6px;font-size:16px;color:#61755b}.octave-control span{font-size:10px;min-width:42px;text-align:center}.keyboard-help{font-size:9px;color:#89957f}.keyboard-help kbd{font:inherit;background:#eff1e8;padding:2px 4px;border:1px solid #dfe3d4;border-radius:3px;color:#5c7253}.mobile-help{display:none}.settings-row{display:flex;gap:15px;align-items:flex-end;border-top:1px solid #e7eade;padding-top:17px}.settings-row>label{font-size:10px;color:#718068;display:flex;flex-direction:column;gap:7px;min-width:112px}.settings-row select{min-height:36px;background:#f8f9f1;border-color:#e0e4d6;font-size:11px}.settings-row .volume-control{min-width:95px;max-width:115px;flex:1}.volume-control input{min-height:36px;margin:0;width:100%}.sound-button{margin-left:auto;display:flex;align-items:center;gap:8px;min-height:37px;border:1px solid #cfdcc9;border-radius:7px;color:#376545;background:#edf3e7;font-size:10px;padding:8px 13px;white-space:nowrap}.sound-button.ready .status-dot{background:#338056}.studio-status{font-size:10px;line-height:1.5;color:#7a8771;min-height:15px;margin:13px 0 0}.studio-status.error{color:#a04032}.practice-panel{background:#ecf3e9;border:1px solid #d3e2cc;border-radius:9px;display:flex;gap:12px;justify-content:space-between;padding:16px;margin:18px 0 0;align-items:center}.practice-panel .eyebrow{font-size:9px}.practice-panel p{font-size:12px;line-height:1.5;margin:7px 0 0;max-width:430px}.practice-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;max-width:220px}.practice-actions>span{font-size:11px;font-weight:700;width:100%;text-align:right}.practice-actions .quiet-button{font-size:10px;padding:6px 9px;min-height:32px}.note-pads{display:grid;grid-template-columns:repeat(auto-fit,minmax(64px,1fr));gap:7px;min-height:173px}.note-pad{min-height:68px;background:#fffef4;border-radius:6px;color:#294a40;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:2px solid transparent;touch-action:none}.note-pad.black{background:#375950;color:#f2f6e9}.note-pad.is-active{background:#b5d9c1;color:#183d2f}.note-pad.is-target{border:2px dashed #b6d06c}.page-footer{display:flex;justify-content:space-between;gap:20px;margin-top:23px;color:#7b8575;font-size:10px;line-height:1.6}.page-footer strong{font-weight:550;color:#586b50}.scope-note{margin-top:13px;font-size:10px;line-height:1.65;color:#7b8575;max-width:880px}.scope-note summary{cursor:pointer}.scope-note p{margin:7px 0}.no-script{padding:16px;color:#a04032}body.classroom .intro,body.classroom .lesson-rail,body.classroom .page-footer,body.classroom .scope-note,body.classroom .breadcrumb{display:none}body.classroom .workspace{grid-template-columns:1fr}body.classroom .shell{max-width:1300px;padding-top:22px}body.classroom .piano{height:245px}body.classroom .key-primary{font-size:17px}body.classroom .black .key-primary{font-size:13px}body.classroom .key-secondary{font-size:12px}body.classroom .lesson-heading h2{font-size:34px}body.classroom .studio-status{font-size:13px}body.classroom .phase-description{font-size:16px}
@media(min-width:1500px){.studio{padding:26px 34px 19px}.piano{height:195px}.lesson-heading{padding-top:28px}.intro{margin-bottom:40px}.shell{padding-top:40px}}
@media(max-width:1100px){.workspace{grid-template-columns:204px minmax(0,1fr);gap:18px}.studio{padding:20px}.topbar{gap:30px}.shell{padding:26px 20px 20px}.local-badge{display:none}.transport{gap:7px}.tempo-control{width:105px;min-width:90px}.settings-row{gap:9px}.settings-row>label{min-width:96px}.key-primary{font-size:10px}.black .key-primary{font-size:8px}.keyboard-help{max-width:220px;text-align:right;line-height:1.7}.lesson-meta{font-size:8px}.mode-switch button{padding:9px 20px}}
@media(max-width:850px){.workspace{grid-template-columns:1fr}.lesson-rail{display:grid;grid-template-columns:1fr 2fr;gap:8px 20px;padding:0}.lesson-rail>.rail-label:first-child{grid-column:1;margin-bottom:0}.lesson-rail>.field-label{grid-column:1;margin:0}.lesson-rail>select{grid-column:1}.lesson-rail>.lesson-summary,.rail-divider,.teacher-note,.lesson-rail>p.rail-label{display:none}.teaching-path{grid-column:2;grid-row:1/4;display:grid;grid-template-columns:1fr 1fr;gap:5px}.path-step{min-height:45px;padding:7px;gap:7px}.path-step small{display:none}.path-step strong{font-size:11px}.step-number{min-width:23px;height:23px;font-size:10px}.intro{margin-bottom:23px}.studio{margin-top:5px}.topbar{height:70px;padding:0 22px}.breadcrumb{font-size:11px}.settings-row .volume-control{max-width:none}.note-pad{min-height:60px}.piano{height:190px}}
@media(max-width:600px){.topbar{padding:0 16px;height:68px}.brand{font-size:19px;gap:9px}.brand img{width:34px;height:34px}.breadcrumb{display:none}.topbar>.quiet-button{font-size:10px;padding:7px 10px;min-height:38px}.shell{padding:23px 12px 18px}.intro{padding:0 4px;display:block;margin-bottom:25px}.intro .eyebrow{font-size:8px;letter-spacing:1.45px;margin-bottom:10px}h1{font-size:29px;max-width:310px;letter-spacing:-.8px}h1 em{white-space:nowrap}.intro-copy{font-size:11px;max-width:310px;line-height:1.7}.lesson-rail{grid-template-columns:1fr;gap:5px;padding:0 4px}.lesson-rail>.rail-label:first-child{font-size:9px}.lesson-rail>.field-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(100%)}.lesson-rail>select{margin:6px 0 7px;min-height:43px}.teaching-path{display:flex;flex-direction:row;grid-column:1;grid-row:auto;gap:5px;justify-content:space-between}.path-step{flex:1;padding:8px 3px;gap:5px;min-height:51px;flex-direction:column}.path-step strong{font-size:9px;white-space:nowrap}.step-number{width:23px;height:23px}.studio{padding:15px 12px 12px;border-radius:13px}.studio-top{padding-bottom:14px}.mode-switch button{padding:8px 18px;min-height:36px}.lesson-meta{font-size:7px;letter-spacing:.5px}.lesson-meta span{margin:0 3px}.lesson-heading{padding:20px 2px 16px;gap:10px}.lesson-heading h2{font-size:24px}.lesson-heading .eyebrow{font-size:8px}.lesson-heading p:not(.eyebrow){font-size:11px;margin-top:7px}.note-orbit{min-width:58px;height:58px}.note-orbit>span{font-size:22px}.note-orbit small{font-size:8px}.sequence{gap:6px;padding-bottom:17px}.sequence-step{min-width:49px;padding:10px 5px 8px}.sequence-step strong{font-size:20px}.sequence-step .step-count{font-size:8px;margin-bottom:5px}.sequence-step small{font-size:9px}.sequence-step.target{padding:9px 4px 7px}.transport{display:grid;grid-template-columns:1fr auto auto;gap:8px;padding-bottom:17px}.primary-button{justify-content:center;padding:10px 12px;font-size:11px}.stop-button{font-size:11px;padding:10px}.transport .quiet-button{font-size:10px;padding:8px}.loop-control{grid-column:1;font-size:11px;min-height:32px}.tempo-control{grid-column:2/4;width:100%;min-width:0}.instrument{padding-top:17px}.instrument-top{gap:8px}.instrument-top p{font-size:9px;max-width:190px;line-height:1.6}.small-button{font-size:9px;padding:7px;min-height:38px}.keyboard-frame{padding:12px 6px 7px;border-radius:8px}.piano{height:180px}.key-primary{font-size:12px}.key-secondary{font-size:10px}.black .key-primary{font-size:9px}.black .key-secondary{font-size:8px}.piano-key.white{padding-bottom:13px}.keyboard-footer{margin:9px 0 16px}.keyboard-help{font-size:0;max-width:150px}.keyboard-help kbd{display:none}.mobile-help{display:inline;font-size:10px}.octave-control button{width:38px;height:38px}.settings-row{display:grid;grid-template-columns:1fr 1fr;gap:13px 15px}.settings-row>label{font-size:10px}.settings-row select{min-height:41px;font-size:12px}.settings-row .volume-control{max-width:none;width:100%;min-width:0}.sound-button{margin-left:0;justify-content:center;min-height:40px;font-size:11px}.studio-status{font-size:10px;margin-top:12px;min-height:28px}.practice-panel{display:block;padding:12px}.practice-panel p{font-size:11px}.practice-actions{max-width:none;justify-content:flex-start;margin-top:10px}.practice-actions>span{width:auto;text-align:left;margin-right:auto}.practice-actions .quiet-button{min-height:40px}.page-footer{display:block;padding:0 4px;font-size:9px;margin-top:20px}.page-footer span{display:block;margin-bottom:6px}.scope-note{padding:0 4px;font-size:9px}.note-pads{grid-template-columns:repeat(4,1fr)}body.classroom .shell{padding:12px 8px}body.classroom .piano{height:200px}body.classroom .lesson-heading h2{font-size:25px}body.classroom .key-primary{font-size:13px}body.classroom .black .key-primary{font-size:9px}body.classroom .key-secondary{font-size:10px}body.classroom .studio-status{font-size:11px}}
@media(min-width:851px) and (max-height:850px){.topbar{height:64px}.shell{padding-top:20px}.intro{margin-bottom:20px}.intro .eyebrow{margin-bottom:7px;font-size:9px}h1{font-size:32px}.intro-copy{font-size:12px;margin-top:7px}.studio{padding:17px 23px 13px}.studio-top{padding-bottom:12px}.lesson-heading{padding:16px 0 14px}.lesson-heading h2{font-size:25px}.lesson-heading p:not(.eyebrow){margin-top:6px;font-size:11px}.note-orbit{min-width:62px;height:62px}.sequence{padding-bottom:15px}.sequence-step{padding:8px 6px}.sequence-step .step-count{margin-bottom:4px}.sequence-step strong{font-size:21px}.sequence-step small{margin-top:4px}.transport{padding-bottom:15px}.instrument{padding-top:15px}.instrument-top{margin-bottom:12px}.piano{height:150px}.settings-row{padding-top:12px}.keyboard-footer{margin-bottom:12px}.teacher-note{margin-top:18px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media(forced-colors:active){.piano-key{border:1px solid ButtonText!important}.piano-key.is-target{outline:3px dashed Highlight}.piano-key.is-active,.sequence-step.active{outline:4px solid Highlight}.path-step.selected{outline:2px solid Highlight}}
