/* A compact, self-contained workspace. Reading pages retain natural document flow. */
:root{--ink:#26342a;--muted:#7c8976;--bg:#f5f7f0;--green:#4e6d3d;--line:#dce4d2;--pale:#eaf0e0;--radius:10px}body{font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}button,input,select,textarea{font-family:inherit}aside:not(.dictionary-rail){width:184px;padding:26px 17px}.brand{font-size:19px;gap:10px}.brand small{font-size:8px}nav a{padding:10px 11px;font-size:12px;gap:10px}.side-label{margin-top:34px}.shell{margin-left:184px}header{height:64px;padding:0 24px;gap:14px;position:sticky;top:0;background:var(--bg);z-index:10}header>.tag{display:none}header>.header-tools{padding:0;margin:0;gap:13px;flex-shrink:0}header>#breadcrumb{margin-right:auto;white-space:nowrap;font-size:10px}.header-resume{position:static;inset:auto;width:auto;max-width:245px;min-width:145px;box-shadow:none;margin:0;padding:5px 10px;gap:8px;border-radius:7px;flex-shrink:1}.header-resume .resume-icon{width:25px;height:25px;font-size:17px}.header-resume small{font-size:8px}.header-resume strong{font-size:10px}.header-resume>span:last-child{font-size:12px}.floating-launcher.header-lab-launcher,.floating-launcher.header-lab-launcher[aria-expanded=true]{display:inline-flex;position:static;inset:auto;padding:7px 11px;font-size:10px;box-shadow:none;white-space:nowrap;margin:0;min-width:0;flex-shrink:0;transform:none}.floating-launcher.header-lab-launcher span{display:none}.btn{border-radius:7px;line-height:1.5}.btn.small{padding:6px 11px;font-size:11px}.btn.secondary{background:#fff;border-color:#d6dfcb}.segmented{display:inline-flex;border:1px solid var(--line);background:#f0f4e8;padding:3px;border-radius:8px;gap:3px;flex-shrink:0}.segmented button{border:0;background:transparent;color:#748066;font-size:11px;padding:5px 12px;border-radius:5px;white-space:nowrap}.segmented button.active{background:#fff;color:#3e5c2e;box-shadow:0 1px 5px #2a3d2020}.quiet{color:var(--muted);font-size:10px;line-height:1.65}body.tool-mode{height:100dvh;overflow:hidden}body.tool-mode .shell{height:100dvh;display:flex;flex-direction:column;min-height:0}body.tool-mode header{flex:0 0 64px}body.tool-mode footer{display:none}main.tool-page{width:100%;max-width:none;flex:1;min-height:0;display:flex;flex-direction:column;padding:14px 24px 18px;gap:10px;overflow:hidden;margin:0}.tool-page>[hidden]{display:none!important}.tool-page .card{box-shadow:none;border-radius:10px;padding:14px}.tool-page .hint{font-size:10px;line-height:1.6}.workspace-modebar{margin:0!important;gap:6px;display:flex;align-items:center;flex-shrink:0}.workspace-modebar button{padding:7px 13px;font-size:11px;border-radius:7px}.workspace-title{display:flex;align-items:baseline;gap:12px;margin-right:auto}.workspace-title strong{font-size:18px}.workspace-title span{font-size:10px;color:var(--muted)}.lab-workspace{display:grid;grid-template-columns:142px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);flex:1;min-height:0;gap:10px;overflow:hidden}.workspace-toolbar{grid-column:1/-1;display:flex;align-items:center;gap:14px;justify-content:space-between;flex-wrap:wrap;min-height:36px}.toolbar-fields{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.toolbar-fields label,.instrument-tabs label{display:flex;gap:6px;align-items:center;font-size:10px;white-space:nowrap}.toolbar-fields select,.instrument-tabs select{width:auto;max-width:145px;margin:0;padding:5px 8px;font-size:10px}.dictionary-rail{position:static!important;inset:auto!important;width:auto!important;min-width:0;min-height:0;padding:12px!important;background:#eef3e5;border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;gap:8px;z-index:auto}.rail-title{font-size:11px;font-weight:600;display:flex;justify-content:space-between}.rail-title span{font-size:10px;color:var(--muted)}.dictionary-rail input{margin:0;padding:6px 8px;font-size:10px;background:#f9fbf5;min-width:0}.rail-list{overflow-y:auto;min-height:0;display:flex;flex-direction:column;gap:3px}.rail-chord{border:1px solid transparent;background:transparent;padding:7px 8px;border-radius:6px;text-align:left;font-size:12px;color:#3d5133}.rail-chord small{display:block;font-size:8px;color:#7e8d73;line-height:1.5}.rail-chord.active{background:#fff;border-color:#cad9b6;box-shadow:0 2px 5px #263b1810}.rail-chord[hidden]{display:none}.lab-stage{min-width:0;min-height:0;background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px;display:flex;flex-direction:column;gap:10px;overflow:auto}.lab-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-shrink:0}.lab-summary h1{font:37px Georgia,serif;margin:0;line-height:1.25;overflow-wrap:anywhere}.lab-summary .eyebrow{font-size:8px;margin:0 0 4px}.compact-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.lab-formula{display:flex;gap:7px;flex-wrap:wrap;min-height:34px;flex-shrink:0;max-height:74px;overflow:auto}.lab-formula>span{display:inline-flex;align-items:baseline;gap:7px;border:1px solid #e1e8d6;background:#f5f8ee;padding:4px 10px;border-radius:6px}.lab-formula b{font-size:15px;font-weight:500}.lab-formula small{font-size:9px}.instrument-tabs{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-shrink:0}.instrument-tabs .segmented{padding:2px}.instrument-tabs .segmented button{padding:3px 10px;font-size:10px}.lab-instrument{min-height:104px;flex:1;max-height:230px;overflow:hidden;display:flex;align-items:stretch}.lab-instrument>svg{height:100%;max-height:210px!important}.piano-scroll{width:100%;overflow-x:auto;overflow-y:hidden;border:1px solid #b9c8a8;border-radius:7px;background:white;min-height:100px;padding-bottom:5px}.piano-track{height:100%;min-height:99px;position:relative;background:white}.piano-key{position:absolute;top:0;width:32px;height:100%;min-height:95px;background:#fff;border:0;border-right:1px solid #d0dac5;border-bottom:1px solid #d0dac5;border-radius:0 0 4px 4px;display:flex;align-items:flex-end;justify-content:center;font-size:9px;color:#7c8a71;padding:0 0 9px}.piano-key.black{z-index:2;width:20px;height:61%;min-height:55px;background:#2b3a28;color:#cfddc0;font-size:7px;padding-bottom:6px;box-shadow:0 3px 3px #10240a20}.piano-key.chosen{background:#dceba8;box-shadow:inset 0 -4px #7e9c52;color:#304622}.piano-key.black.chosen{background:#779b4d;color:white}.lab-detail{border-top:1px solid var(--line);padding-top:8px;flex-shrink:0}.detail-tabs{display:flex;gap:15px}.detail-tabs button{font-size:10px;padding:3px 0;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted)}.detail-tabs button.active{color:var(--green);border-color:#83a15b}.detail-copy{max-height:74px;overflow:auto}.detail-copy p{font-size:11px;line-height:1.8;margin:8px 0 0}.lab-candidates{display:flex;gap:5px;flex-wrap:nowrap;overflow:auto;flex-shrink:0;min-height:24px}.lab-candidates .chip{white-space:nowrap}.chord-check{display:grid;grid-template-columns:160px minmax(0,1fr) auto;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:8px;flex-shrink:0}.chord-check label{font-size:9px}.chord-check input{padding:6px 8px;margin-top:3px;font-size:11px}.check-result{font-size:10px;margin:0;color:#75846b;line-height:1.7}.check-result[data-status=correct]{color:#527832}.check-result[data-status=different]{color:#a27443}.composer-workspace{display:grid;grid-template-rows:minmax(205px,.95fr) minmax(195px,1fr);gap:10px;min-height:0;flex:1}.compact-editor{min-height:0;display:flex;flex-direction:column;overflow:hidden;gap:7px}.compact-editor>.topline h2{font-size:12px;margin:0}.compact-editor>.topline .chip{font-size:8px}.workspace-help{display:none}.compact-draft{min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) 205px;grid-template-rows:minmax(90px,1fr) 22px;gap:7px 12px}.compact-draft .free-piano-scroll{grid-column:1;grid-row:1;margin:0;min-height:88px;height:100%;border-color:#bfccaf}.compact-draft .free-piano-track{height:100%;min-height:88px}.compact-draft .free-key{height:100%;min-height:87px;font-size:9px}.compact-draft .free-key.black{height:60%;min-height:53px;font-size:8px}.compact-draft .selected-notes{grid-column:1;grid-row:2;margin:0;gap:3px;overflow:auto;flex-wrap:nowrap;min-height:0}.compact-draft .selected-notes .chip{font-size:9px;padding:1px 6px;white-space:nowrap}.compact-draft .recognition{grid-column:2;grid-row:1/3;padding:10px 12px;overflow:auto;border:1px solid #dce6ce;background:#eef4e4;border-radius:8px}.compact-draft .recognition .eyebrow{font-size:8px;margin-bottom:4px}.compact-draft .recognized-name{font-size:27px;margin:4px 0 7px}.compact-draft .recognition .flex{gap:4px}.compact-draft .candidate{font-size:12px;padding:4px 7px;border-radius:5px}.compact-draft .candidate small{font-size:7px}.compact-draft .recognition .hint{font-size:8px;margin-top:7px}.editor-action-row{margin-top:0!important;gap:7px;flex-shrink:0}.editor-action-row .btn{font-size:10px;padding:6px 10px}.editor-action-row #freeSaveStatus{margin-left:auto;font-size:8px}.editor-action-row #commitTarget{font-size:9px}.compact-editor>.editor-action-row:last-child{border-top:1px solid var(--line);padding-top:7px}.compact-timeline{min-height:0;display:flex;flex-direction:column;gap:8px;overflow:hidden;margin:0!important}.compact-timeline>.topline h2{font-size:12px;margin:0}.compact-timeline .topline>.chip{font-size:8px}.timeline-toolbar{display:flex;gap:12px;align-items:flex-end;justify-content:space-between;flex-shrink:0;flex-wrap:wrap}.timeline-toolbar .composer-controls{display:flex;gap:8px;flex-shrink:0}.timeline-toolbar label{font-size:8px}.timeline-toolbar input,.timeline-toolbar select{width:68px;margin-top:2px;padding:4px 6px;font-size:10px}.timeline-toolbar label:nth-child(2) select{width:56px}.timeline-toolbar label:nth-child(3) select{width:85px}.timeline-toolbar .transport-row{margin:0!important;gap:5px}.transport-row .btn{padding:5px 8px;font-size:9px}.transport-row label{font-size:9px}.transport-row label select{width:82px!important;margin:0!important;padding:4px!important;font-size:9px}.horizontal-timeline{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;flex:1;min-height:90px;padding:3px 2px 7px;scroll-behavior:smooth}.horizontal-timeline .free-bar{margin:0;display:flex;flex-direction:column;gap:5px;flex:0 0 auto;min-width:108px;width:calc(var(--steps)*94px + 10px);height:100%}.horizontal-timeline .bar-number{width:100%;height:23px;min-height:23px;border-radius:5px;flex-direction:row;gap:5px;font-size:14px}.horizontal-timeline .bar-number small{font-size:8px}.horizontal-timeline .bar-steps{flex:1;gap:5px;min-height:0}.horizontal-timeline .timeline-cell{min-height:57px;height:100%;padding:7px 8px;border-radius:6px;display:flex;flex-direction:column;justify-content:center;gap:2px}.horizontal-timeline .timeline-cell strong{font-size:17px;line-height:1.3;margin:0}.horizontal-timeline .timeline-cell small{font-size:7px}.horizontal-timeline .timeline-cell span{font-size:7px;line-height:1.4}.timeline-more{padding:0;margin:0;border:0;flex-shrink:0;font-size:10px;max-height:75px;overflow:auto}.timeline-more summary{font-size:10px}.timeline-more .flex{margin-top:5px!important;gap:5px}.timeline-more button{font-size:9px;padding:3px 7px}.guided-workspace{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:10px;min-height:0;flex:1}.guided-main{display:flex;flex-direction:column;min-width:0;min-height:0;gap:9px}.guided-main>.tabs{margin:0;flex-wrap:nowrap;overflow:auto;gap:4px;flex-shrink:0}.guided-main>.tabs button{font-size:9px;padding:5px 9px;white-space:nowrap}.guided-controls{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:10px}.guided-controls .slots{margin:5px 0;gap:7px;flex:1;align-items:stretch;min-height:100px}.guided-controls .slot{padding:12px 8px;min-width:0}.guided-controls .slot strong{font-size:21px;margin:10px 0}.guided-controls .slot select{padding:6px 3px;font-size:10px}.guided-controls .slot small{font-size:8px}.guided-controls .slot .chip{font-size:8px}.guided-controls .controls{display:flex;gap:10px;margin:0;flex-wrap:wrap}.guided-controls .controls label{flex:1;min-width:90px;font-size:9px}.guided-controls .controls input,.guided-controls .controls select{font-size:10px;margin-top:3px;padding:6px}.guided-controls>.flex{gap:5px}.guided-controls>.flex button{padding:6px 9px;font-size:9px}.guided-controls .callout{font-size:10px;padding:10px 12px;margin:0;line-height:1.8;max-height:85px;overflow:auto}.guided-analysis{display:flex;flex-direction:column;gap:8px;min-height:0;margin:0!important;overflow:auto}.guided-analysis>.card{padding:13px}.guided-analysis h3{font-size:12px;margin-bottom:8px}.guided-analysis .table{font-size:10px}.guided-analysis .table td,.guided-analysis .table th{padding:9px 4px}.guided-analysis p{font-size:10px}.guided-analysis details{font-size:10px;padding-top:8px;margin-top:8px}.guided-tips{background:#edf3e4;border:1px solid var(--line);padding:8px 10px!important;margin:0!important;border-radius:8px}.guided-tips summary{font-size:10px}.guided-tips>.card{border:0;background:transparent;padding:8px 0;margin:0}.workspace-dialog{width:min(900px,calc(100vw - 30px));max-height:calc(100dvh - 30px);padding:22px;border:1px solid #b9cba6;border-radius:12px;color:var(--ink);background:var(--bg);overflow:auto}.workspace-dialog::backdrop{background:#1c2c1a66;backdrop-filter:blur(3px)}.workspace-dialog>.topline{margin-bottom:14px}.workspace-dialog h2{font-size:18px;margin:0}.project-dialog-body .card{border:0;background:transparent;padding:0}.project-dialog-body textarea{min-height:220px}.window-lab{transition:opacity .16s,box-shadow .18s;animation:lab-appear .18s ease-out;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;min-width:min(380px,calc(100vw - 16px))!important;min-height:min(340px,calc(100dvh - 16px))!important;border-color:#9fb784!important;box-shadow:0 15px 60px #253a2540!important;border-radius:11px!important}.window-lab .floating-head{height:42px;min-height:42px;padding:8px 12px;gap:9px}.window-lab .floating-head strong{font-size:11px;white-space:nowrap}.window-actions{display:flex;align-items:center;gap:4px}.window-actions button{border:1px solid #cedabc;border-radius:5px;background:#f7faef;color:#577242;padding:3px 7px;font-size:9px;white-space:nowrap}.window-actions #labWindowZoom{min-width:38px;font-variant-numeric:tabular-nums}.window-divider{width:1px;height:15px;background:#c8d6b6;margin:0 4px}.window-lab .resize-hint{font-size:8px;padding:2px 14px;min-height:18px}.window-lab.full{resize:none!important}.embedded,.embedded.tool-mode{height:100dvh;overflow:hidden}.embedded .shell{margin:0!important;height:100dvh;display:block!important;overflow:hidden}.embedded #app.tool-page{padding:10px;margin:0;display:flex;flex:none;height:100dvh;max-width:none;width:100%;transform-origin:top left;overflow:hidden;gap:0}.embedded .lab-workspace{grid-template-columns:115px minmax(0,1fr);gap:8px}.embedded .lab-stage{padding:12px;gap:8px}.embedded .workspace-toolbar{gap:8px;flex-wrap:wrap}.embedded .toolbar-fields{gap:7px}.embedded .toolbar-fields select{padding:3px 4px;font-size:9px}.embedded .toolbar-fields label{font-size:8px;gap:3px}.embedded .segmented button{font-size:9px;padding:4px 8px}.embedded .lab-summary h1{font-size:29px}.embedded .compact-actions .btn{font-size:9px;padding:5px 7px}.embedded .lab-formula>span{padding:3px 7px;gap:5px}.embedded .lab-formula b{font-size:13px}.embedded .lab-formula{min-height:26px;max-height:50px}.embedded .lab-instrument{min-height:80px}.embedded .piano-scroll{min-height:80px}.embedded .piano-track{min-height:78px}.embedded .piano-key{min-height:77px}.embedded .piano-key.black{min-height:45px}.embedded .detail-copy{max-height:52px}.embedded .detail-copy p{font-size:9px;margin:5px 0}.embedded .chord-check{grid-template-columns:120px 1fr;gap:7px;padding-top:6px}.embedded .chord-check>.btn{grid-column:2;justify-self:end}.embedded .dictionary-rail{padding:8px!important}.embedded .rail-chord{padding:5px}.embedded .rail-chord small{font-size:7px}.embedded .rail-chord b{font-size:11px}.embedded .check-result{font-size:9px}.bridge-card{background:#edf3e4;border-left:3px solid #8eac69;padding:18px 22px;margin:16px 0;border-radius:0 8px 8px 0}.bridge-card h3{font-size:13px;margin:0 0 9px;color:#4b653b}.bridge-card p{font-size:12px!important;line-height:1.95!important;margin:8px 0!important}.learning-chain{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.learning-chain span{font-size:10px;border:1px solid #d4e0c3;border-radius:5px;background:#f8fbf1;padding:3px 7px}.interval-table{font-size:11px}.interval-table td{padding:6px 8px}.random-ear{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:12px;flex:1;min-height:0}.random-ear>.card{overflow:auto;min-height:0}.random-ear .earhero{min-height:92px;margin:12px 0}.random-ear .listen{width:65px;height:65px;font-size:20px;border-width:7px}.random-ear .quizoptions{gap:7px;margin:12px 0}.random-ear .quizoptions button{padding:11px 13px;font-size:12px}.random-ear h2{font-size:18px;margin:10px 0}.random-ear .feedback{font-size:11px;padding:12px}.random-ear p{font-size:11px}.ear-modebar{margin:0!important;gap:6px;flex-shrink:0;flex-wrap:wrap}.ear-modebar button{font-size:11px;padding:7px 12px;border-radius:7px}.migration-banner{border:1px solid #c4d4ad;background:#edf4e1;border-radius:10px;padding:18px;margin:16px 0}.migration-banner p{font-size:12px}.transfer-status{font-size:12px;line-height:1.9}.onboarding-fields{display:flex;gap:8px;flex-wrap:wrap}.onboarding-fields button{font-size:12px}footer{padding-bottom:25px}button:disabled{cursor:default;opacity:.6}button{transition:background .12s,color .12s,border-color .12s,box-shadow .12s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #91ae68;outline-offset:2px}*{scrollbar-width:thin;scrollbar-color:#bccbad transparent}@keyframes lab-appear{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:1100px){header{padding:0 18px;gap:9px}.header-resume{max-width:200px;min-width:125px}.header-resume strong{font-size:9px}header>#breadcrumb{font-size:9px}.header-tools .textbtn{font-size:10px}.workspace-title span{display:none}.guided-workspace{grid-template-columns:minmax(0,1fr) 235px}.timeline-toolbar{gap:6px}.timeline-toolbar .composer-controls{gap:5px}.compact-draft{grid-template-columns:minmax(0,1fr) 175px}.lab-summary h1{font-size:32px}.chord-check{grid-template-columns:140px 1fr}.chord-check>.btn{grid-column:2;justify-self:end}.composer-workspace{grid-template-rows:minmax(190px,1fr) minmax(215px,1fr)}}
@media(max-width:800px){aside:not(.dictionary-rail){width:155px;padding:22px 12px}.brand{font-size:16px}.brand>b{width:32px;height:36px;font-size:30px}.brand small{font-size:6px}nav a{font-size:10px;gap:6px;padding:10px 8px}.shell{margin-left:155px}header>#breadcrumb{display:none}main.tool-page{padding:10px 14px}.header-resume{margin-right:auto;max-width:215px}.lab-workspace{grid-template-columns:115px minmax(0,1fr)}.lab-stage{padding:12px}.workspace-toolbar{gap:8px}.toolbar-fields{gap:7px}.toolbar-fields select{padding:4px;font-size:9px}.lab-summary{gap:8px}.lab-summary h1{font-size:29px}.compact-actions .btn{font-size:9px;padding:5px 7px}.guided-workspace{grid-template-columns:minmax(0,1fr) 200px}.guided-controls .slots{grid-template-columns:1fr 1fr;min-height:180px}.guided-controls .slot{padding:8px}.guided-controls .slot strong{margin:4px 0;font-size:18px}.guided-analysis .table{font-size:9px}.timeline-toolbar{align-items:flex-start}.random-ear{grid-template-columns:1fr 200px}}
@media(max-width:700px){aside:not(.dictionary-rail){position:sticky;top:0;width:100%;height:57px;padding:5px 12px;display:block;background:#fff}.brand{display:none}.side-label,.side-bottom{display:none}nav{height:45px;margin:0;align-items:center;display:flex;gap:2px;justify-content:space-around}nav a{font-size:10px;white-space:nowrap;padding:7px 8px;gap:0}nav a b,nav a em{display:none}.shell{margin:0}.tool-mode>aside{flex:0 0 57px}body.tool-mode{display:flex;flex-direction:column}.tool-mode .shell{height:auto;flex:1;min-height:0}header{height:50px;min-height:50px;padding:0 12px;gap:7px}body.tool-mode header{flex:0 0 50px}.header-resume{min-width:100px;max-width:180px;padding:4px 6px;gap:6px}.header-resume .resume-icon{width:21px;height:21px;font-size:15px}.header-resume small{font-size:7px}.header-resume strong{font-size:8px}.header-resume>span:last-child{display:none}.header-lab-launcher,.floating-launcher.header-lab-launcher{font-size:9px;padding:6px 8px}.header-tools{gap:8px!important}.header-tools a{font-size:9px!important}header>.header-tools a:first-child{display:none}main.tool-page{padding:8px 10px;gap:7px}.workspace-title strong{font-size:14px}.workspace-modebar{gap:4px}.workspace-modebar button{font-size:9px;padding:6px 9px}.workspace-modebar .btn{margin-left:auto}.workspace-toolbar{gap:6px;min-height:34px}.toolbar-fields{gap:5px}.toolbar-fields label{font-size:8px}.toolbar-fields select{max-width:100px;padding:4px}.workspace-toolbar .segmented button{font-size:9px;padding:4px 8px}.lab-workspace{grid-template-columns:84px minmax(0,1fr);gap:7px}.dictionary-rail{padding:7px!important;gap:6px}.dictionary-rail input{font-size:8px;padding:5px}.rail-title{font-size:9px}.rail-title span{font-size:8px}.rail-chord{padding:5px 4px;font-size:10px}.rail-chord small{font-size:7px}.lab-stage{padding:9px;gap:7px}.lab-summary h1{font-size:27px}.lab-summary .eyebrow{display:none}.lab-summary .quiet{font-size:8px}.compact-actions{gap:3px}.compact-actions .btn{padding:5px 6px;font-size:8px}.lab-formula{gap:4px;min-height:27px}.lab-formula>span{padding:3px 6px;gap:4px}.lab-formula b{font-size:12px}.lab-formula small{font-size:8px}.instrument-tabs .segmented button{font-size:9px;padding:3px 7px}.instrument-tabs label{font-size:8px}.instrument-tabs select{font-size:9px;padding:4px}.instrument-tabs .textbtn{font-size:9px}.lab-instrument{min-height:95px;max-height:none}.detail-copy{max-height:88px}.detail-copy p{font-size:10px}.detail-tabs{gap:12px}.detail-tabs button{font-size:9px}.chord-check{grid-template-columns:1fr;gap:6px}.chord-check>.btn{grid-column:1}.chord-check label{display:flex;gap:6px;align-items:center;white-space:nowrap;font-size:8px}.chord-check input{margin:0;min-width:0}.check-result{font-size:9px}.lab-candidates .chip{font-size:8px}.composer-workspace{grid-template-rows:minmax(200px,1fr) minmax(215px,1.05fr);gap:7px}.tool-page .card{padding:10px}.compact-editor{gap:6px}.compact-editor>.topline .chip{display:none}.compact-draft{grid-template-columns:minmax(0,1fr) 115px;gap:6px;grid-template-rows:minmax(79px,1fr) 21px}.compact-draft .free-piano-scroll{min-height:79px}.compact-draft .free-piano-track{min-height:78px}.compact-draft .free-key{min-height:77px}.compact-draft .free-key.black{min-height:48px}.compact-draft .recognition{padding:7px}.compact-draft .recognition .eyebrow{font-size:6px;letter-spacing:0}.compact-draft .recognized-name{font-size:23px}.compact-draft .candidate{font-size:10px;padding:3px 5px}.compact-draft .candidate small{font-size:6px}.compact-draft .recognition .hint{font-size:7px;line-height:1.5}.editor-action-row{gap:4px;flex-wrap:nowrap}.editor-action-row .btn{padding:5px 7px;font-size:8px;white-space:nowrap}.editor-action-row .textbtn{font-size:8px}.editor-action-row #commitTarget{font-size:8px}.editor-action-row #freeSaveStatus{display:none}.compact-timeline{gap:6px}.timeline-toolbar .composer-controls{width:100%;justify-content:space-between;gap:5px}.timeline-toolbar input,.timeline-toolbar select{width:55px;font-size:9px}.timeline-toolbar .transport-row{flex-wrap:nowrap;width:100%;gap:4px}.transport-row .btn{font-size:8px;padding:5px 7px;white-space:nowrap}.transport-row label{font-size:8px}.transport-row label select{width:72px!important;font-size:8px}.transport-row label.flex{gap:3px}.horizontal-timeline{min-height:65px}.horizontal-timeline .free-bar{min-width:100px}.horizontal-timeline .timeline-cell{min-height:45px;padding:5px}.horizontal-timeline .timeline-cell strong{font-size:15px}.horizontal-timeline .timeline-cell span{font-size:6px}.horizontal-timeline .bar-number{height:19px;min-height:19px;font-size:12px}.timeline-more{max-height:55px}.timeline-more summary{font-size:9px}.timeline-more .flex{flex-wrap:nowrap;overflow:auto}.timeline-more button{white-space:nowrap;font-size:8px}.guided-workspace{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(100px,.45fr);gap:7px}.guided-controls .slots{grid-template-columns:repeat(4,minmax(0,1fr));min-height:83px;gap:4px}.guided-controls .slot{padding:7px 5px}.guided-controls .slot strong{font-size:16px}.guided-controls .slot small{font-size:7px}.guided-controls .slot select{font-size:8px;padding:4px 2px}.guided-controls .slot .chip{font-size:7px;padding:1px 4px}.guided-controls .controls{gap:6px}.guided-controls .controls label{font-size:8px}.guided-controls .controls input,.guided-controls .controls select{font-size:9px;padding:4px}.guided-controls>.flex button{font-size:8px;padding:5px 6px}.guided-controls .callout{font-size:9px;padding:7px;max-height:62px}.guided-analysis{flex-direction:row;overflow:auto}.guided-analysis>.card{flex:1;min-width:240px;padding:8px}.guided-analysis .table td,.guided-analysis .table th{padding:5px 4px}.guided-analysis h3{font-size:10px;margin:0}.guided-tips{flex:0 0 120px;margin:0}.guided-analysis .table{font-size:8px}.random-ear{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:8px}.random-ear>.card:last-child{max-height:120px}.ear-modebar button{font-size:9px;padding:6px 8px}.window-lab .floating-head{padding:7px 8px}.window-lab .floating-head strong{font-size:9px}.window-actions{gap:3px}.window-actions button{font-size:8px;padding:3px 5px}.window-divider{margin:0 2px}.window-lab .resize-hint{font-size:7px}.embedded #app.tool-page{padding:8px}.embedded .lab-workspace{grid-template-columns:90px minmax(0,1fr)}.embedded .chord-check{grid-template-columns:1fr}.embedded .chord-check>.btn{grid-column:1}.embedded .dictionary-rail{padding:6px!important}.embedded .lab-stage{padding:9px}.embedded .toolbar-fields .quiet{font-size:8px}.embedded .lab-summary h1{font-size:25px}.embedded .compact-actions .btn{font-size:8px;padding:4px 6px}}
@media(max-height:650px) and (min-width:701px){header,body.tool-mode header{height:52px;flex-basis:52px;min-height:52px}.tool-page{padding-top:8px!important;padding-bottom:8px!important}.workspace-modebar button{padding:5px 10px}.composer-workspace{grid-template-rows:minmax(175px,1fr) minmax(160px,1fr);gap:7px}.compact-editor{gap:5px}.compact-editor>.topline{display:none}.compact-draft{grid-template-rows:minmax(67px,1fr) 18px;gap:5px 10px}.compact-draft .free-piano-scroll,.compact-draft .free-piano-track,.compact-draft .free-key{min-height:66px}.compact-draft .free-key.black{min-height:39px}.compact-draft .recognition{padding:7px 9px}.compact-draft .recognized-name{font-size:24px;margin:2px 0 5px}.compact-draft .recognition .hint{display:none}.compact-draft .selected-notes .chip{font-size:8px}.editor-action-row .btn{font-size:9px;padding:4px 8px}.compact-timeline{gap:5px}.compact-timeline>.topline{display:none}.timeline-toolbar .transport-row{gap:4px}.horizontal-timeline{min-height:61px}.horizontal-timeline .timeline-cell{min-height:41px}.horizontal-timeline .timeline-cell strong{font-size:15px}.horizontal-timeline .bar-number{height:18px;min-height:18px;font-size:11px}.lab-stage{padding:12px;gap:7px}.lab-summary h1{font-size:31px}.lab-instrument{min-height:75px}.piano-scroll,.piano-track,.piano-key{min-height:74px}.piano-key.black{min-height:43px}.detail-copy{max-height:52px}.detail-copy p{font-size:10px;margin-top:5px}.lab-formula>span{padding:3px 8px}.chord-check{grid-template-columns:145px 1fr auto}.chord-check>.btn{grid-column:auto}.guided-controls .slot{padding:9px}.guided-controls .slots{min-height:80px}.guided-controls .slot strong{margin:4px 0;font-size:20px}.guided-controls .callout{max-height:65px}.guided-analysis .table td,.guided-analysis .table th{padding:7px 3px}}
.graded-ear-page>.eyebrow,.graded-ear-page>h1,.graded-ear-page>p{display:none}.graded-ear-page>.tabs:not(.ear-modebar){margin:0;flex-wrap:nowrap;overflow:auto;flex-shrink:0}.graded-ear-page>.tabs:not(.ear-modebar) button{font-size:10px;padding:6px 10px;white-space:nowrap}.graded-ear-page>.grid2{flex:1;min-height:0;gap:12px;grid-template-columns:minmax(0,1fr) 250px}.graded-ear-page>.grid2>.card{overflow:auto;min-height:0}.graded-ear-page .earhero{min-height:95px;margin:12px 0}.graded-ear-page .listen{width:68px;height:68px;font-size:21px;border-width:7px}.graded-ear-page h2{font-size:19px;margin:12px 0}.graded-ear-page p{font-size:11px}.graded-ear-page h3{font-size:12px}.graded-ear-page .lesson-row{padding:10px 0}.graded-ear-page .num{width:30px;height:32px;font-size:13px}.graded-ear-page .quizoptions{gap:7px;margin:12px 0}.graded-ear-page .quizoptions button{padding:11px 12px;font-size:12px}.graded-ear-page .feedback{font-size:11px;padding:12px}.graded-ear-page .callout{font-size:10px;line-height:1.8;padding:12px}.migration-header{white-space:nowrap;font-size:10px!important}@media(max-width:700px){.graded-ear-page>.grid2{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}.graded-ear-page>.grid2>.card:last-child{max-height:115px}.graded-ear-page>.tabs:not(.ear-modebar) button{font-size:9px;padding:5px 8px}.migration-header{display:none}.random-ear .quizoptions button{font-size:10px}.random-ear h2{font-size:16px}.random-ear p{font-size:10px}.random-ear .earhero{min-height:78px}}
.embedded aside.dictionary-rail{display:flex!important}
/* Independent floating controls retain the earlier navigation model. */
header{gap:14px}header>#breadcrumb{display:block;margin-right:auto}.header-tools{margin-left:auto!important}.resume-learning.legacy-resume{position:fixed;inset:auto auto 16px 202px;z-index:19;width:auto;min-width:112px;max-width:190px;display:flex;gap:9px;align-items:center;padding:10px 15px;border:1px solid #b9cda3;border-radius:24px;background:#fff;color:var(--green);box-shadow:0 4px 20px #2a3c2518;margin:0;font-size:11px}.legacy-resume>span{display:inline!important;font-size:11px;white-space:nowrap}.floating-launcher.legacy-lab-launcher{position:fixed;inset:auto 20px 16px auto;z-index:20;display:inline-flex;gap:8px;align-items:center;padding:10px 15px;border-radius:24px;font-size:11px;box-shadow:0 4px 20px #2a3c2520;transform:none;white-space:nowrap}.legacy-lab-launcher>span{display:inline!important;font-size:11px}.legacy-lab-launcher[aria-expanded=true]{display:none!important}body.tool-mode main.tool-page{padding-bottom:67px}.icon-action{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;min-width:30px;min-height:28px;padding:5px 8px!important;line-height:1;flex-shrink:0}.icon-action svg{width:16px;height:16px;flex-shrink:0}.icon-action>span{font-size:8px;letter-spacing:.4px}.field-glyph{display:inline-flex;align-items:center;justify-content:center;color:#7e936b;flex-shrink:0}.field-glyph svg{width:14px;height:14px}.toolbar-fields label,.composer-controls label{gap:5px}.composer-controls label{display:flex;align-items:center}.timeline-toolbar .composer-controls{gap:12px}.timeline-toolbar .composer-controls select,.timeline-toolbar .composer-controls input{margin-top:0}.workspace-modebar button,.workspace-toolbar .segmented button{display:inline-flex;align-items:center;gap:6px}.workspace-modebar button svg,.workspace-toolbar .segmented button svg{width:14px;height:14px}.workspace-title span,.recognition .hint,.toolbar-fields>.quiet{display:none!important}.editor-action-row{gap:7px}.editor-action-row #commitTarget{font-variant-numeric:tabular-nums;font-size:10px;color:#819173}.editor-action-row #freeSaveStatus{display:none}.compact-editor>.topline .chip{display:none}.timeline-more summary{font-weight:700;letter-spacing:3px;font-size:16px;line-height:1;padding:3px 4px;list-style:none;cursor:pointer}.timeline-more summary::-webkit-details-marker{display:none}.timeline-more[open] summary{color:#4e6d3d}.lab-summary .compact-actions{gap:5px}.detail-tabs button{font-size:10px}.window-actions .icon-action{min-width:25px;min-height:24px;padding:4px!important}.window-actions .icon-action svg{width:13px;height:13px}.window-actions #labWindowZoom{font-size:9px}.window-lab .resize-hint{display:none}.window-lab{min-height:min(320px,calc(100dvh - 16px))!important}.embedded #app.tool-page{padding-bottom:8px!important}.embedded .workspace-toolbar .segmented button svg{width:12px;height:12px}.embedded .icon-action{min-width:25px;min-height:24px;padding:4px 6px!important}.embedded .icon-action svg{width:13px;height:13px}.compact-draft .recognition .eyebrow{font-size:7px;letter-spacing:.4px}.workspace-help{display:none}.transport-row label.flex{gap:4px}.check-result{font-size:10px}.lab-stage>.quiet{display:none}footer{padding-bottom:80px}@media(max-width:800px){.resume-learning.legacy-resume{left:173px}.timeline-toolbar .composer-controls{gap:8px}}@media(max-width:700px){header>#breadcrumb{display:block;font-size:10px}header{justify-content:space-between}.header-tools{gap:10px!important}.header-tools a:first-child{display:inline!important}.resume-learning.legacy-resume{inset:auto auto 12px 12px;min-width:100px;max-width:160px;padding:9px 13px;font-size:10px}.legacy-resume>span{font-size:10px}.floating-launcher.legacy-lab-launcher{inset:auto 12px 12px auto;padding:9px 13px;font-size:10px}.legacy-lab-launcher>span{font-size:10px}.legacy-lab-launcher[aria-expanded=true]{display:none!important}body.tool-mode main.tool-page{padding-bottom:60px}.composer-workspace{grid-template-rows:minmax(177px,1fr) minmax(177px,1fr)}.compact-draft{grid-template-rows:minmax(69px,1fr) 20px}.compact-draft .free-piano-scroll,.compact-draft .free-piano-track,.compact-draft .free-key{min-height:68px}.compact-draft .free-key.black{min-height:41px}.timeline-toolbar .composer-controls{gap:6px;justify-content:space-between}.timeline-toolbar .composer-controls select,.timeline-toolbar .composer-controls input{width:48px;font-size:9px}.timeline-toolbar .composer-controls label:nth-child(2) select{width:39px}.timeline-toolbar .composer-controls label:nth-child(3) select{width:65px}.timeline-toolbar .composer-controls label{gap:3px}.field-glyph svg{width:12px;height:12px}.icon-action{min-height:25px;min-width:27px;padding:4px 6px!important}.icon-action svg{width:14px;height:14px}.transport-row .icon-action{min-width:26px;padding:4px!important}.transport-row select{width:65px!important}.editor-action-row .icon-action{min-height:25px}.workspace-toolbar .segmented button{gap:4px}.workspace-toolbar .segmented button svg{width:12px;height:12px}.detail-tabs button{font-size:9px}.embedded #app.tool-page{padding-bottom:8px!important}.window-actions .icon-action{min-width:22px!important;padding:3px!important}.window-actions .window-divider{margin:0 1px}.window-lab .floating-head{height:37px;min-height:37px}.window-lab .floating-head strong{font-size:9px}.window-actions #labWindowZoom{min-width:33px}.compact-timeline>.topline .chip{display:none}}
