.ml-root{min-width:0}.ml-tabs{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:12px;border-bottom:1px solid var(--border)}.ml-tabs button{font-size:12px;padding:11px 15px;gap:0}.ml-tabs button.active{background:#235f53;color:white;border-color:#235f53}.ml-status{font-size:13px;margin:12px 0;color:#426750;min-height:23px;overflow-wrap:anywhere}.ml-status.error{color:#a13c2c}.ml-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ml-card{display:block;text-align:left;background:#fff;color:#183632;border:1px solid var(--border);padding:25px;border-radius:14px;min-width:0}.ml-card:hover{border-color:#8cad97;filter:none;background:#fafcf8}.ml-card-icon{display:block;width:42px;height:42px;background:#edf3eb;border-radius:12px;text-align:center;padding-top:4px;font-size:26px;color:#507e63;margin-bottom:18px}.ml-card h3{font-size:19px}.ml-card p{font-size:13px;font-weight:400;color:var(--muted);line-height:1.8}.ml-card small{font-size:12px;color:#235f53}.ml-panel{min-width:0}.ml-panel>h2{margin-bottom:22px}.ml-field{display:block;min-width:0;line-height:1.7;margin-bottom:17px}.ml-field input,.ml-field select,.ml-field textarea{display:block;width:100%;margin-top:7px;min-width:0}.ml-field small{display:block;margin-top:8px;font-size:11px;font-weight:400;color:var(--muted)}.ml-field textarea{font:inherit;font-weight:400;line-height:1.8;border:1px solid #cad8cf;border-radius:8px;padding:12px;color:#203c31;resize:vertical;background:white}.ml-field textarea:focus{outline:3px solid #91bdab;outline-offset:3px}.ml-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ml-root button:focus-visible,.ml-root textarea:focus-visible{outline:3px solid #91bdab;outline-offset:3px}.ml-root .toolbar{align-items:center}.ml-root .toolbar button{white-space:normal;gap:5px}.ml-root .toolbar select{max-width:100%}.ml-score,.ml-form-chart{overflow-x:auto;border:1px solid #e2e9e1;border-radius:10px;margin-top:22px;background:#fff;max-width:100%;overscroll-behavior-x:contain}.ml-score svg,.ml-form-chart svg{display:block;max-width:none}.ml-note-highlight{fill:transparent}.ml-score .current .ml-note-highlight{fill:#d4e9d19c}.ml-score .current ellipse{stroke:#186b44;stroke-width:3}.ml-stats{font-size:13px;padding:12px 15px;background:#edf4e8;border-radius:8px}.ml-question{font-size:21px;font-weight:600;margin:24px 0 18px}.ml-answers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ml-answers button{font-size:13px;padding:13px 8px;gap:0}.ml-answers button.correct{background:#d9eddb;color:#204a2e;border-color:#77a77c;opacity:1}.ml-answers button.incorrect{background:#f6e4dd;color:#8b3925;opacity:1}.ml-feedback{font-size:14px;margin:18px 0;min-height:24px;overflow-wrap:anywhere}.ml-result{margin-top:22px;overflow-wrap:anywhere}.ml-result p{font-size:13px;white-space:pre-wrap}.ml-chord-result{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--border)}.ml-chord-result strong{font-size:19px}.ml-chord-result span{font-size:13px;color:var(--muted)}.ml-chord-result button{margin-left:auto;font-size:12px}.ml-keyboard-scroll{overflow-x:auto;max-width:100%;margin-top:23px;padding:4px 4px 12px;overscroll-behavior-x:contain}.ml-keyboard{display:flex;position:relative;height:155px}.ml-keyboard button{display:flex;align-items:end;justify-content:center;min-height:0;min-width:0;gap:0;font-size:10px;font-weight:400;padding:0 0 12px;touch-action:manipulation;user-select:none}.ml-white{background:#fff;color:#3a5147;border:1px solid #b5c8bc!important;border-radius:0 0 6px 6px;width:42px;flex:0 0 42px;height:150px}.ml-black{position:absolute;top:0;background:#254236;color:#e2eee5;border-radius:0 0 4px 4px;width:26px;height:96px;z-index:1;box-shadow:0 3px 3px #172e2322}.ml-keyboard button:active{background:#8bb29a}.ml-practice-readout{margin-top:23px;padding:17px;background:#edf4e8;border-radius:9px;font-size:15px;line-height:1.8}.ml-section-row{display:grid;grid-template-columns:1fr .7fr .7fr 1fr 1.8fr auto;gap:10px;border-bottom:1px solid var(--border);padding:10px 0;align-items:end}.ml-section-row button{margin-bottom:17px;font-size:12px;padding:12px}.ml-section-row .ml-field{font-size:11px}.ml-section-row input{padding:10px;font-weight:400}
@media(min-width:1500px){.ml-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1000px){.ml-section-row{grid-template-columns:repeat(3,minmax(0,1fr))}.ml-section-row .ml-field:nth-child(5){grid-column:span 2}}@media(max-width:720px){.ml-cards{grid-template-columns:1fr}.ml-card{padding:22px}.ml-tabs{flex-wrap:nowrap;overflow-x:auto;padding:3px 3px 14px;overscroll-behavior-x:contain}.ml-tabs button{flex-shrink:0;white-space:nowrap}.ml-settings{gap:8px}.ml-field input,.ml-field select,.ml-field textarea{font-size:16px;padding:10px}.ml-answers{grid-template-columns:repeat(2,minmax(0,1fr))}.ml-root .toolbar button{flex:1 1 130px}.ml-section-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ml-section-row .ml-field:nth-child(5){grid-column:span 2}.ml-section-row button{margin-bottom:12px}.ml-practice-readout{font-size:14px}.ml-form-chart svg{width:850px;height:auto}.ml-panel .muted{line-height:1.8}}
.recovered-cards{margin-top:24px}.recovered-viewer{margin:24px 0}.recovered-viewer .section-title{margin-top:24px}.recovered-frame{display:block;width:100%;height:950px;border:1px solid var(--border);border-radius:12px;margin-top:16px;background:white}.recovered-viewer>button{font-size:12px}.recovered-viewer .button{font-size:12px}.recovered-cards .ml-card h3{font-size:18px}@media(max-width:720px){.recovered-frame{height:1050px}.recovered-viewer .section-title{gap:10px}.recovered-viewer .section-title h2{font-size:18px}}

.studio-tool-frame{display:block;width:100%;height:calc(100dvh - 190px);min-height:650px;border:1px solid #dbe6df;border-radius:12px;background:#fff}.sidebar nav{min-height:0;overflow-y:auto}@media(max-width:760px){.studio-tool-frame{height:calc(100dvh - 160px);min-height:650px}.sidebar nav{overflow-y:hidden}}

.ml-standalone>.page-heading,.ml-standalone>.ml-tabs{display:none}.ml-standalone .ml-body{margin-top:16px}
