.instrument-visualizer{background:#f8f9fa;border-radius:12px 12px 0 0;bottom:0;box-shadow:0 -4px 12px rgba(0,0,0,.15);left:0;max-height:250px;overflow:visible;padding:50px 15px 15px;position:fixed;right:0;transition:transform .3s ease,opacity .3s ease;width:100%;z-index:9999}.instrument-visualizer.collapsed,.instrument-visualizer:not(.floating-overlay):not(.compact-mode):not(.instrument-visualizer-piano){opacity:0;pointer-events:none;transform:translateY(100%)}.instrument-visualizer[data-size=small]{max-height:160px;padding:10px}.instrument-visualizer[data-size=small] .piano-keyboard{max-height:140px}.instrument-visualizer[data-size=medium]{max-height:250px}.instrument-visualizer[data-size=large]{max-height:350px;padding:20px}.instrument-visualizer[data-size=large] .piano-keyboard{max-height:320px}.instrument-visualizer[data-size=xlarge]{max-height:450px;padding:25px}.instrument-visualizer[data-size=xlarge] .piano-keyboard{max-height:420px}.instrument-visualizer[data-position=sidebar]{bottom:auto;margin-left:0;max-width:400px;position:relative}.instrument-visualizer-piano .piano-keyboard{display:block;height:auto;margin:0 auto;max-width:100%;user-select:none}.instrument-visualizer-piano .piano-keyboard .piano-key{cursor:default}.instrument-visualizer-piano .piano-keyboard .piano-key[style*="cursor: pointer"]:active{transform:translateY(2px)}.instrument-visualizer-piano .piano-keyboard .white-key{stroke:#ccc;stroke-width:1}.instrument-visualizer-piano .piano-keyboard .white-key:hover{stroke:#999;stroke-width:2}.instrument-visualizer-piano .piano-keyboard .black-key{stroke:#000;stroke-width:1}.instrument-visualizer-piano .piano-keyboard .black-key:hover{stroke:#333;stroke-width:1.5}.instrument-visualizer-piano .piano-keyboard .key-label{fill:#999;font-size:10px;pointer-events:none;user-select:none}.instrument-visualizer-piano .piano-keyboard .octave-markers text{fill:#666;font-size:12px;font-weight:700;user-select:none}.instrument-controls{align-items:center;background:#fff;border-radius:8px;box-shadow:0 1px 4px rgba(0,0,0,.1);display:flex;gap:15px;margin-bottom:15px;padding:10px 15px}.instrument-controls .control-group{align-items:center;display:flex;gap:8px}.instrument-controls .control-group label{color:#495057;font-size:.9rem;font-weight:500;margin:0}.instrument-controls .control-group button{background:#fff;border:1px solid #ced4da;border-radius:6px;color:#495057;cursor:pointer;font-size:.875rem;padding:6px 12px;transition:all .2s ease}.instrument-controls .control-group button:hover{background:#f8f9fa;border-color:#adb5bd}.instrument-controls .control-group button.active{background:#007abc;border-color:#007abc;color:#fff}.instrument-controls .control-group button.active:hover{background:#0056b3;border-color:#0056b3}.instrument-controls .control-group button i{margin-right:4px}.instrument-controls .control-group select{background:#fff;border:1px solid #ced4da;border-radius:6px;color:#495057;cursor:pointer;font-size:.875rem;padding:6px 10px;transition:border-color .2s ease}.instrument-controls .control-group select:hover{border-color:#adb5bd}.instrument-controls .control-group select:focus{border-color:#007abc;box-shadow:0 0 0 .2rem rgba(0,122,188,.25);outline:none}@media (max-width:768px){.instrument-controls{align-items:stretch;flex-direction:column}.instrument-controls .control-group{justify-content:space-between}}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.instrument-visualizer{animation:slideDown .3s ease}.instrument-visualizer-guitar{bottom:0!important;left:0!important;position:fixed!important;right:0!important}.instrument-visualizer-guitar svg{display:block;height:auto;margin:0 auto;max-width:100%}.instrument-visualizer-violin{align-items:center!important;border-radius:12px 12px 0 0!important;bottom:0!important;box-shadow:0 -4px 12px rgba(0,0,0,.15)!important;display:flex!important;justify-content:center!important;left:0!important;max-height:300px!important;max-width:100%!important;padding:50px 15px 15px!important;position:fixed!important;right:0!important;top:auto!important;transform:none!important;width:100%!important;z-index:99!important}.instrument-visualizer-violin svg{display:block;margin:0 auto}.instrument-visualizer-violin .finger-position .finger-dot{transition:opacity .1s ease}.instrument-visualizer-violin .finger-position .finger-text{pointer-events:none;transition:opacity .1s ease;user-select:none}.instrument-visualizer-violin .bow-direction-indicator{transition:opacity .3s ease}.instrument-visualizer-violin .bow-direction-indicator text{user-select:none}.instrument-visualizer-saxophone svg{display:block;margin:0 auto}.instrument-visualizer-saxophone .key-pad{cursor:default;transition:fill .15s ease-out,filter .15s ease-out}.instrument-visualizer-saxophone .key-group:hover .key-pad{stroke:#666;stroke-width:2.5}.coming-soon-message{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:200px;padding:30px;text-align:center}.coming-soon-message i{color:#666;font-size:3rem;margin-bottom:15px;opacity:.6}.coming-soon-message h3{color:#333;font-size:1.5rem;margin-bottom:10px}.coming-soon-message p{color:#666;font-size:1rem;margin:0;opacity:.8}.instrument-peek-button{align-items:center;background:#007abc;border:none;border-radius:25px;bottom:10px;box-shadow:0 4px 12px rgba(0,122,188,.3);color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;left:50%;padding:10px 20px;position:fixed;transform:translateX(-50%) translateY(0);transition:transform .3s ease,opacity .3s ease,box-shadow .3s ease;z-index:98}.instrument-peek-button.hidden{opacity:0;pointer-events:none;transform:translateX(-50%) translateY(100px)}.instrument-peek-button i{font-size:18px}.instrument-peek-button:hover{box-shadow:0 6px 20px rgba(0,122,188,.5);transform:translateX(-50%) translateY(-2px)}.instrument-peek-button:active{transform:translateX(-50%) translateY(0)}@media (prefers-contrast:high){.instrument-visualizer .piano-key{stroke-width:2!important}.instrument-visualizer .white-key{stroke:#000!important}.instrument-visualizer .black-key{stroke:#fff!important}}@media (prefers-reduced-motion:reduce){.instrument-visualizer .piano-key{transition:none!important}.instrument-visualizer{animation:none!important}}.instrument-visualizer-piano.floating-overlay{background:linear-gradient(135deg,#007abc,#005a8c)!important;border-radius:16px!important;bottom:20px!important;box-shadow:0 8px 32px rgba(0,122,188,.3),0 0 0 1px hsla(0,0%,100%,.1)!important;cursor:move;left:auto!important;max-width:none!important;padding:40px 12px 12px!important;position:fixed!important;right:20px!important;top:auto!important;user-select:none;width:auto!important;z-index:9999!important}.instrument-visualizer-piano.floating-overlay:before{background:hsla(0,0%,100%,.05);border-radius:16px 16px 0 0;content:"";cursor:move;height:32px;left:0;position:absolute;right:0;top:0}.instrument-visualizer-piano.floating-overlay[data-size=small]{max-height:none!important}.instrument-visualizer-piano.floating-overlay[data-size=small] .piano-keyboard{height:80px!important;width:400px!important}.instrument-visualizer-piano.floating-overlay[data-size=medium]{max-height:none!important}.instrument-visualizer-piano.floating-overlay[data-size=medium] .piano-keyboard{height:110px!important;width:550px!important}.instrument-visualizer-piano.floating-overlay[data-size=large]{max-height:none!important}.instrument-visualizer-piano.floating-overlay[data-size=large] .piano-keyboard{height:140px!important;width:720px!important}.instrument-visualizer-piano.floating-overlay[data-size=xlarge]{max-height:none!important}.instrument-visualizer-piano.floating-overlay[data-size=xlarge] .piano-keyboard{height:180px!important;width:900px!important}.instrument-visualizer-piano.floating-overlay .piano-keyboard{display:block!important;margin:0!important}.instrument-visualizer-piano.floating-overlay.collapsed{opacity:0!important;pointer-events:none!important;transform:scale(.9)!important}@media (max-width:768px){.instrument-visualizer-piano.floating-overlay{border-radius:12px 12px 0 0!important;bottom:0!important;left:0!important;max-width:100%!important;padding:40px 10px 10px!important;right:0!important;top:auto!important;width:100%!important}.instrument-visualizer-piano.floating-overlay .piano-keyboard{height:auto!important;max-height:100px!important;width:100%!important}}.floating-visualizer-controls{align-items:center;display:flex;justify-content:space-between;left:12px;position:absolute;right:12px;top:6px;z-index:10}.floating-visualizer-controls .size-toggle-group{background:hsla(0,0%,100%,.1);border-radius:8px;display:flex;gap:4px;padding:4px}.floating-visualizer-controls .size-btn{background:transparent;border:none;border-radius:6px;color:hsla(0,0%,100%,.6);cursor:pointer;font-size:11px;font-weight:600;height:24px;transition:all .2s;width:28px}.floating-visualizer-controls .size-btn:hover{background:hsla(0,0%,100%,.15);color:#fff}.floating-visualizer-controls .size-btn.active{background:hsla(0,0%,100%,.25);color:#fff}.floating-visualizer-controls .floating-close-btn{align-items:center;background:rgba(220,53,69,.8);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;height:28px;justify-content:center;transition:all .2s;width:28px}.floating-visualizer-controls .floating-close-btn:hover{background:#dc3545;transform:scale(1.1)}.instrument-visualizer-cello.compact-mode,.instrument-visualizer-clarinet.compact-mode,.instrument-visualizer-flute.compact-mode,.instrument-visualizer-guitar.compact-mode,.instrument-visualizer-saxophone.compact-mode,.instrument-visualizer-trumpet.compact-mode,.instrument-visualizer-viola.compact-mode,.instrument-visualizer-violin.compact-mode{background:linear-gradient(135deg,#007abc,#005a8c)!important;border-radius:16px!important;bottom:20px!important;box-shadow:0 8px 32px rgba(0,122,188,.3),0 0 0 1px hsla(0,0%,100%,.1)!important;cursor:move!important;left:auto!important;max-width:95vw!important;padding:45px 20px 15px!important;position:fixed!important;right:20px!important;transform:none!important;width:auto!important;z-index:9999!important}.instrument-visualizer-cello.compact-mode svg,.instrument-visualizer-clarinet.compact-mode svg,.instrument-visualizer-flute.compact-mode svg,.instrument-visualizer-guitar.compact-mode svg,.instrument-visualizer-saxophone.compact-mode svg,.instrument-visualizer-trumpet.compact-mode svg,.instrument-visualizer-viola.compact-mode svg,.instrument-visualizer-violin.compact-mode svg{display:block!important;margin:0 auto!important}.instrument-visualizer-cello.compact-mode.collapsed,.instrument-visualizer-clarinet.compact-mode.collapsed,.instrument-visualizer-flute.compact-mode.collapsed,.instrument-visualizer-guitar.compact-mode.collapsed,.instrument-visualizer-saxophone.compact-mode.collapsed,.instrument-visualizer-trumpet.compact-mode.collapsed,.instrument-visualizer-viola.compact-mode.collapsed,.instrument-visualizer-violin.compact-mode.collapsed{opacity:0!important;pointer-events:none!important;transform:translateY(100%)!important}@media (max-width:768px){.instrument-visualizer-cello.compact-mode,.instrument-visualizer-clarinet.compact-mode,.instrument-visualizer-flute.compact-mode,.instrument-visualizer-guitar.compact-mode,.instrument-visualizer-saxophone.compact-mode,.instrument-visualizer-trumpet.compact-mode,.instrument-visualizer-viola.compact-mode,.instrument-visualizer-violin.compact-mode{border-radius:12px 12px 0 0!important;bottom:0!important;left:0!important;max-width:100%!important;padding:40px 15px 10px!important;right:0!important;width:100%!important}}.instrument-visualizer-guitar.compact-mode{align-items:center!important;display:flex!important;justify-content:center!important;overflow:visible!important}.instrument-visualizer-guitar.compact-mode svg{display:block!important;margin:0 auto!important}.instrument-visualizer-guitar.compact-mode[data-size=small]{max-width:95vw!important;width:350px!important}.instrument-visualizer-guitar.compact-mode[data-size=small] svg{height:auto!important;width:100%!important}.instrument-visualizer-guitar.compact-mode:not([data-size]),.instrument-visualizer-guitar.compact-mode[data-size=medium]{max-width:95vw!important;width:550px!important}.instrument-visualizer-guitar.compact-mode:not([data-size]) svg,.instrument-visualizer-guitar.compact-mode[data-size=medium] svg{height:auto!important;width:100%!important}.instrument-visualizer-guitar.compact-mode[data-size=large]{max-width:95vw!important;width:750px!important}.instrument-visualizer-guitar.compact-mode[data-size=large] svg{height:auto!important;width:100%!important}.instrument-visualizer-violin.compact-mode{align-items:center!important;display:flex!important;justify-content:center!important}.instrument-visualizer-violin.compact-mode svg{display:block!important;height:auto!important;margin:0 auto!important;width:auto!important}.instrument-visualizer-violin.compact-mode[data-size=small] svg{max-height:200px!important;max-width:320px!important}.instrument-visualizer-violin.compact-mode:not([data-size]) svg,.instrument-visualizer-violin.compact-mode[data-size=medium] svg{max-height:260px!important;max-width:420px!important}.instrument-visualizer-violin.compact-mode[data-size=large] svg{max-height:320px!important;max-width:520px!important}.instrument-visualizer-viola.compact-mode{align-items:center!important;display:flex!important;justify-content:center!important}.instrument-visualizer-viola.compact-mode svg{display:block!important;height:auto!important;margin:0 auto!important;width:auto!important}.instrument-visualizer-viola.compact-mode[data-size=small] svg{max-height:200px!important;max-width:320px!important}.instrument-visualizer-viola.compact-mode:not([data-size]) svg,.instrument-visualizer-viola.compact-mode[data-size=medium] svg{max-height:260px!important;max-width:420px!important}.instrument-visualizer-viola.compact-mode[data-size=large] svg{max-height:320px!important;max-width:520px!important}.instrument-visualizer-cello.compact-mode{align-items:center!important;display:flex!important;justify-content:center!important}.instrument-visualizer-cello.compact-mode svg{display:block!important;height:auto!important;margin:0 auto!important;width:auto!important}.instrument-visualizer-cello.compact-mode[data-size=small] svg{max-height:220px!important;max-width:340px!important}.instrument-visualizer-cello.compact-mode:not([data-size]) svg,.instrument-visualizer-cello.compact-mode[data-size=medium] svg{max-height:280px!important;max-width:440px!important}.instrument-visualizer-cello.compact-mode[data-size=large] svg{max-height:340px!important;max-width:540px!important}.instrument-visualizer-saxophone.compact-mode{align-items:center!important;background:linear-gradient(135deg,#007abc,#005a8c)!important;border-radius:16px!important;bottom:20px!important;box-shadow:0 8px 32px rgba(0,122,188,.3),0 0 0 1px hsla(0,0%,100%,.1)!important;cursor:move!important;display:flex!important;justify-content:center!important;left:auto!important;overflow:hidden!important;position:fixed!important;right:20px!important;top:auto!important;transform:none!important;z-index:9999!important}.instrument-visualizer-saxophone.compact-mode[data-size=small]{height:620px!important;padding:150px 20px 125px!important;width:160px!important}.instrument-visualizer-saxophone.compact-mode[data-size=small] svg{height:120px!important;width:70px!important}.instrument-visualizer-saxophone.compact-mode:not([data-size]),.instrument-visualizer-saxophone.compact-mode[data-size=medium]{height:720px!important;padding:155px 25px 130px!important;width:190px!important}.instrument-visualizer-saxophone.compact-mode:not([data-size]) svg,.instrument-visualizer-saxophone.compact-mode[data-size=medium] svg{height:180px!important;width:85px!important}.instrument-visualizer-saxophone.compact-mode[data-size=large]{height:820px!important;padding:160px 30px 135px!important;width:220px!important}.instrument-visualizer-saxophone.compact-mode[data-size=large] svg{height:240px!important;width:100px!important}.instrument-visualizer-saxophone.compact-mode svg{background:#fff!important;border-radius:8px!important;box-sizing:content-box!important;display:block!important;padding:8px!important}@media (max-width:768px){.instrument-visualizer-saxophone.compact-mode{border-radius:16px!important;bottom:10px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important}.instrument-visualizer-saxophone.compact-mode,.instrument-visualizer-saxophone.compact-mode:not([data-size]),.instrument-visualizer-saxophone.compact-mode[data-size=large],.instrument-visualizer-saxophone.compact-mode[data-size=medium],.instrument-visualizer-saxophone.compact-mode[data-size=small]{height:500px!important;padding:100px 15px 70px!important;width:150px!important}.instrument-visualizer-saxophone.compact-mode svg,.instrument-visualizer-saxophone.compact-mode:not([data-size]) svg,.instrument-visualizer-saxophone.compact-mode[data-size=large] svg,.instrument-visualizer-saxophone.compact-mode[data-size=medium] svg,.instrument-visualizer-saxophone.compact-mode[data-size=small] svg{height:100px!important;width:65px!important}}.instrument-visualizer-trumpet.compact-mode{align-items:center!important;display:flex!important;justify-content:center!important}.instrument-visualizer-trumpet.compact-mode svg{display:block!important;height:auto!important;margin:0 auto!important;width:100%!important}.instrument-visualizer-trumpet.compact-mode[data-size=small]{max-width:95vw!important;width:400px!important}.instrument-visualizer-trumpet.compact-mode[data-size=small] svg{max-height:110px!important;max-width:360px!important}.instrument-visualizer-trumpet.compact-mode:not([data-size]),.instrument-visualizer-trumpet.compact-mode[data-size=medium]{max-width:95vw!important;width:500px!important}.instrument-visualizer-trumpet.compact-mode:not([data-size]) svg,.instrument-visualizer-trumpet.compact-mode[data-size=medium] svg{max-height:140px!important;max-width:460px!important}.instrument-visualizer-trumpet.compact-mode[data-size=large]{max-width:95vw!important;width:650px!important}.instrument-visualizer-trumpet.compact-mode[data-size=large] svg{max-height:180px!important;max-width:600px!important}body.instrument-visualizer-visible.visualizer-compact,body.instrument-visualizer-visible.visualizer-floating{padding-bottom:0!important}body.instrument-visualizer-visible:not(.visualizer-floating):not(.visualizer-compact){padding-bottom:400px}body.instrument-visualizer-visible:not(.visualizer-floating):not(.visualizer-compact).visualizer-small{padding-bottom:280px}body.instrument-visualizer-visible:not(.visualizer-floating):not(.visualizer-compact).visualizer-large{padding-bottom:500px}@media (max-width:576px){.instrument-visualizer{border-radius:8px 8px 0 0;padding:10px}.instrument-visualizer[data-size=small]{max-height:140px;padding:5px}.instrument-visualizer[data-size=large]{max-height:280px;padding:15px}.instrument-visualizer-piano .piano-keyboard .key-label{font-size:8px}.instrument-visualizer-piano .piano-keyboard .octave-markers text{font-size:10px}body.instrument-visualizer-visible{padding-bottom:280px}body.instrument-visualizer-visible.visualizer-small{padding-bottom:240px}body.instrument-visualizer-visible.visualizer-large{padding-bottom:400px}}@media print{.instrument-controls,.instrument-visualizer{display:none}}.measure-indicator{align-items:center;border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,.2);color:#fff;cursor:pointer;display:flex;font-size:10px;height:20px;justify-content:center;opacity:.5;pointer-events:auto;position:absolute;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease;width:20px;z-index:100}@media (max-width:768px){.measure-indicator{font-size:8px;height:16px;width:16px}}.measure-indicator:hover{box-shadow:0 4px 12px rgba(0,0,0,.3);opacity:1;transform:scale(1.2)}.measure-indicator-comment{background:#667eea}.measure-indicator-annotation{background:#1dd1a1}.measure-indicator.has-pending{animation:pulse 2s infinite}#sheetMusicContainer{overflow:hidden;position:relative}@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(240,147,251,.7)}70%{box-shadow:0 0 0 10px rgba(240,147,251,0)}to{box-shadow:0 0 0 0 rgba(240,147,251,0)}}.measure-action-menu{background:#fff;border-radius:12px;box-shadow:0 10px 40px rgba(0,0,0,.2);left:50%;min-width:280px;overflow:hidden;padding:0;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:100000}.measure-action-menu-header{align-items:center;background:linear-gradient(135deg,#667eea,#f093fb);color:#fff;display:flex;justify-content:space-between;padding:16px 20px}.measure-action-menu-header span{font-size:1.1rem;font-weight:600}.measure-action-menu-header .close-menu{background:none;border:none;color:#fff;cursor:pointer;font-size:1.5rem;opacity:.8;transition:opacity .2s}.measure-action-menu-header .close-menu:hover{opacity:1}.measure-action-menu-existing,.measure-action-menu-options{display:flex;flex-direction:column;gap:8px;padding:12px}.measure-action-menu-existing{background:#f8f9fa;border-top:1px solid #eee}.measure-action-menu .action-btn{align-items:center;background:#f0f2f5;border:none;border-radius:8px;color:#333;cursor:pointer;display:flex;font-size:.95rem;gap:12px;padding:12px 16px;transition:all .2s}.measure-action-menu .action-btn i{color:#667eea;text-align:center;width:20px}.measure-action-menu .action-btn:hover{background:#667eea;color:#fff}.measure-action-menu .action-btn:hover i{color:#fff}.measure-action-menu .action-btn.add-comment-btn i{color:#667eea}.measure-action-menu .action-btn.add-annotation-btn i{color:#1dd1a1}.comments-panel{background:#fff;box-shadow:-4px 0 20px rgba(0,0,0,.1);display:flex;flex-direction:column;height:100vh;max-width:100vw;overscroll-behavior:contain;position:fixed;right:-400px;top:0;touch-action:pan-y;transition:right .3s ease;width:400px;z-index:9999}.comments-panel.open{right:0}.comments-panel .panel-header{align-items:center;background:linear-gradient(135deg,#667eea,#f093fb);color:#fff;display:flex;flex-shrink:0;justify-content:space-between;padding:20px;touch-action:none}.comments-panel .panel-header h5{font-size:1.2rem;font-weight:600;margin:0}.comments-panel .panel-header .close-panel{background:none;border:none;color:#fff;cursor:pointer;font-size:1.5rem;opacity:.8;transition:opacity .2s}.comments-panel .panel-header .close-panel:hover{opacity:1}.comments-panel .panel-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px;-webkit-overflow-scrolling:touch}.comments-panel .panel-footer{background:#fff;border-top:1px solid #eee;flex-shrink:0;padding:16px 20px;touch-action:none}@media (max-width:768px){.comments-panel .panel-footer{padding-bottom:50px}}.comments-panel .panel-footer .panel-actions{border-top:none;display:flex;gap:12px;padding:0}.comments-panel .panel-footer .panel-actions .btn{flex:1}.comments-panel .panel-subtitle{border-bottom:1px solid #eee;color:#666;font-size:.9rem;margin-bottom:16px;padding-bottom:12px}.comments-panel .panel-actions{border-top:1px solid #eee;display:flex;gap:12px;padding:16px 20px}.comments-panel .panel-actions .btn{flex:1}.comments-list{display:flex;flex-direction:column;gap:16px}.comment-item{background:#f8f9fa;border-radius:12px;padding:16px;transition:all .2s}.comment-item.resolved{background:#e8f5e9;opacity:.7}.comment-item.resolved .comment-content{text-decoration:line-through}.comment-item .comment-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;margin-bottom:12px}.comment-item .comment-author{align-items:center;display:flex;gap:8px}.comment-item .comment-author .author-avatar,.comment-item .comment-author img{border-radius:50%;height:32px;object-fit:cover;width:32px}.comment-item .comment-author .author-avatar{align-items:center;background:#667eea;color:#fff;display:flex;font-weight:600;justify-content:center}.comment-item .comment-author .author-name{color:#333;font-weight:600}.comment-item .comment-author .author-role{background:#e0e0e0;border-radius:12px;color:#666;font-size:.75rem;padding:2px 8px}.comment-item .comment-author .author-role.badge-teacher{background:#667eea;color:#fff}.comment-item .comment-meta{align-items:center;color:#888;display:flex;font-size:.85rem;gap:12px}.comment-item .comment-meta .comment-type i{margin-right:4px}.comment-item .comment-measure{color:#667eea;font-size:.85rem;margin-bottom:8px}.comment-item .comment-measure i{margin-right:4px}.comment-item .comment-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.comment-item .comment-tags .tag{background:rgba(240,147,251,.2);border-radius:12px;color:#e231f7;font-size:.75rem;font-weight:500;padding:3px 10px}.comment-item .comment-tags .tag:contains("rhythm"),.comment-item .comment-tags .tag[data-tag=rhythm]{background:rgba(231,76,60,.15);color:#c0392b}.comment-item .comment-tags .tag:contains("pitch"),.comment-item .comment-tags .tag[data-tag=pitch]{background:rgba(52,152,219,.15);color:#2980b9}.comment-item .comment-tags .tag:contains("dynamics"),.comment-item .comment-tags .tag[data-tag=dynamics]{background:rgba(155,89,182,.15);color:#8e44ad}.comment-item .comment-tags .tag:contains("technique"),.comment-item .comment-tags .tag[data-tag=technique]{background:rgba(243,156,18,.15);color:#d68910}.comment-item .comment-tags .tag:contains("articulation"),.comment-item .comment-tags .tag[data-tag=articulation]{background:rgba(26,188,156,.15);color:#16a085}.comment-item .comment-tags .tag:contains("tempo"),.comment-item .comment-tags .tag[data-tag=tempo]{background:rgba(230,126,34,.15);color:#d35400}.comment-item .comment-content{color:#333;line-height:1.5;white-space:pre-wrap}.comment-item .comment-actions{display:flex;gap:8px;margin-top:12px}.comment-item .comment-actions .btn-sm{background:#e0e0e0;border:none;border-radius:6px;color:#666;cursor:pointer;font-size:.8rem;padding:4px 12px;transition:all .2s}.comment-item .comment-actions .btn-sm:hover{background:#667eea;color:#fff}.comment-item .comment-actions .btn-sm.btn-success{background:#4caf50;color:#fff}.comment-item .comment-replies{border-left:2px solid #e0e0e0;display:flex;flex-direction:column;gap:12px;margin-top:16px;padding-left:20px}.comment-item .comment-replies .comment-item{background:#fff;padding:12px}.annotations-list{display:flex;flex-direction:column;gap:12px}.annotation-item{background:#fff;border-left:4px solid #1dd1a1;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.05);padding:16px;transition:all .2s}.annotation-item:hover{box-shadow:0 4px 12px rgba(0,0,0,.1)}.annotation-item .annotation-header{align-items:center;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;margin-bottom:10px}.annotation-item .annotation-type{align-items:center;border-radius:12px;color:#fff;display:inline-flex;font-size:.8rem;gap:6px;padding:4px 10px}.annotation-item .annotation-measure{color:#888;font-size:.85rem}.annotation-item .annotation-measure i{margin-right:4px}.annotation-item .annotation-content{color:#333;line-height:1.5;white-space:pre-wrap}.annotation-item .annotation-actions{display:flex;gap:8px;margin-top:12px}.annotation-item .annotation-actions .btn-sm{background:#e0e0e0;border:none;border-radius:6px;color:#666;cursor:pointer;font-size:.8rem;padding:4px 12px;transition:all .2s}.annotation-item .annotation-actions .btn-sm:hover{background:#333;color:#fff}.annotation-item .annotation-actions .btn-sm.btn-danger:hover{background:#ff6b6b}.empty-state{color:#888;padding:40px 20px;text-align:center}.empty-state i{font-size:3rem;margin-bottom:16px;opacity:.5}.empty-state p{margin:0}.comments-modal{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:100001}.comments-modal .modal-backdrop{backdrop-filter:blur(2px);background:rgba(0,0,0,.5);height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.comments-modal .modal-dialog{animation:modalSlideIn .3s ease;background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.3);max-height:90vh;max-width:500px;overflow:hidden;position:relative;width:90%;z-index:2}.comments-modal .modal-header{align-items:center;background:linear-gradient(135deg,#667eea,#f093fb);color:#fff;display:flex;justify-content:space-between;padding:20px 24px}.comments-modal .modal-header h5{font-size:1.2rem;font-weight:600;margin:0}.comments-modal .modal-header .close-modal{background:none;border:none;color:#fff;cursor:pointer;font-size:1.5rem;opacity:.8;transition:opacity .2s}.comments-modal .modal-header .close-modal:hover{opacity:1}.comments-modal .modal-body{max-height:calc(90vh - 70px);overflow-y:auto;padding:24px}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.annotation-form .form-group,.comment-form .form-group{margin-bottom:20px}.annotation-form .form-group label,.comment-form .form-group label{color:#333;display:block;font-weight:600;margin-bottom:8px}.annotation-form .form-control,.comment-form .form-control{border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;padding:12px 16px;transition:border-color .2s;width:100%}.annotation-form .form-control:focus,.comment-form .form-control:focus{border-color:#667eea;outline:none}.annotation-form textarea.form-control,.comment-form textarea.form-control{min-height:100px;resize:vertical}.annotation-form select.form-control,.comment-form select.form-control{appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%23666' d='M6 8 1 3h10z'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:36px}.annotation-form .form-control-color,.comment-form .form-control-color{border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;height:40px;padding:4px;width:60px}.annotation-form .form-actions,.comment-form .form-actions{border-top:1px solid #eee;display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:20px}.annotation-type-selector{display:grid;gap:10px;grid-template-columns:repeat(2,1fr)}.annotation-type-option{align-items:center;border:2px solid #e0e0e0;border-radius:10px;cursor:pointer;display:flex;gap:10px;padding:12px;transition:all .2s}.annotation-type-option input{display:none}.annotation-type-option .type-badge{align-items:center;border-radius:8px;color:#fff;display:flex;height:32px;justify-content:center;width:32px}.annotation-type-option .type-label{color:#333;font-size:.9rem}.annotation-type-option:hover{border-color:#bbb}.annotation-type-option.selected{background:rgba(102,126,234,.05);border-color:#667eea}.tag-checkboxes{display:flex;flex-wrap:wrap;gap:8px}.tag-checkbox{align-items:center;cursor:pointer;display:flex;gap:6px}.tag-checkbox input{display:none}.tag-checkbox input:checked+.tag-label{background:#667eea;color:#fff}.tag-checkbox .tag-label{background:#e0e0e0;border-radius:16px;color:#666;font-size:.85rem;padding:6px 12px;transition:all .2s}.btn{border:none;border-radius:8px;cursor:pointer;font-size:.95rem;font-weight:600;padding:10px 20px;transition:all .2s}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover{background:#3958e4}.btn-secondary{background:#e0e0e0;color:#333}.btn-secondary:hover{background:#d0d0d0}.btn-danger{background:#ff6b6b;color:#fff}.btn-danger:hover{background:#ff3838}.btn i{margin-right:6px}.toast{align-items:center;border-radius:8px;bottom:20px;box-shadow:0 4px 12px rgba(0,0,0,.15);color:#fff;display:flex;gap:8px;padding:12px 20px;position:fixed;right:20px;z-index:100002}.toast-success{background:#1dd1a1}.toast-error{background:#ff6b6b}@keyframes slideIn{0%{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}@keyframes slideOut{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(20px)}}@media (max-width:768px){.comments-panel{right:-100%;width:100%}.annotation-type-selector{grid-template-columns:1fr}.measure-action-menu{left:5%;transform:translateY(-50%);width:90%}}.mobile-comments-fab{align-items:center;background:linear-gradient(135deg,#667eea,#f093fb);border:none;border-radius:50%;bottom:100px;box-shadow:0 2px 8px rgba(102,126,234,.4);color:#fff;cursor:pointer;display:flex;height:36px;justify-content:center;position:fixed;right:8px;transition:transform .2s ease,box-shadow .2s ease;width:36px;z-index:9999}.mobile-comments-fab i{font-size:14px}.mobile-comments-fab:active,.mobile-comments-fab:hover{box-shadow:0 4px 12px rgba(102,126,234,.5);transform:scale(1.1)}.mobile-comments-fab .comments-badge{align-items:center;background:#ff6b6b;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.2);color:#fff;display:flex;font-size:9px;font-weight:600;height:16px;justify-content:center;min-width:16px;padding:0 4px;position:absolute;right:-4px;top:-4px}@media (min-width:769px){.mobile-comments-fab{bottom:20px;height:48px;opacity:.8;width:48px}.mobile-comments-fab:hover{opacity:1}.mobile-comments-fab i{font-size:18px}}.mobile-comments-sheet{bottom:0;left:0;pointer-events:none;position:fixed;right:0;top:0;z-index:100000}.mobile-comments-sheet.open{pointer-events:auto}.mobile-comments-sheet.open .sheet-overlay{opacity:1}.mobile-comments-sheet.open .sheet-content{transform:translateY(0)}.mobile-comments-sheet .sheet-overlay{background:rgba(0,0,0,.5);inset:0;opacity:0;position:absolute;transition:opacity .3s ease}.mobile-comments-sheet .sheet-content{background:#fff;border-radius:16px 16px 0 0;bottom:0;display:flex;flex-direction:column;left:0;max-height:80vh;overflow:hidden;overscroll-behavior:contain;position:absolute;right:0;touch-action:pan-y;transform:translateY(100%);transition:transform .3s ease}.mobile-comments-sheet .sheet-header{align-items:center;background:linear-gradient(135deg,#667eea,#f093fb);color:#fff;display:flex;flex-shrink:0;justify-content:space-between;padding:16px 20px;touch-action:none}.mobile-comments-sheet .sheet-header h3{align-items:center;display:flex;font-size:1.1rem;gap:10px;margin:0}.mobile-comments-sheet .sheet-header .sheet-close{background:none;border:none;color:#fff;cursor:pointer;font-size:28px;line-height:1;opacity:.8;padding:0}.mobile-comments-sheet .sheet-header .sheet-close:hover{opacity:1}.mobile-comments-sheet .sheet-tabs{background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex}.mobile-comments-sheet .sheet-tab{background:none;border:none;border-bottom:2px solid transparent;color:#6c757d;cursor:pointer;flex:1;font-size:.9rem;padding:12px 16px;transition:all .2s ease}.mobile-comments-sheet .sheet-tab.active{border-bottom-color:#667eea;color:#667eea;font-weight:500}.mobile-comments-sheet .sheet-body{flex:1;max-height:60vh;overflow-y:auto;overscroll-behavior:contain;padding:0;-webkit-overflow-scrolling:touch}.mobile-comments-sheet .sheet-tab-content{display:none;padding:16px}.mobile-comments-sheet .sheet-tab-content.active{display:block}.mobile-comments-sheet .empty-state{color:#6c757d;padding:40px 20px;text-align:center}.mobile-comments-sheet .empty-state i{font-size:48px;margin-bottom:16px;opacity:.3}.mobile-comments-sheet .empty-state p{margin:0 0 8px}.mobile-comments-sheet .empty-state .hint{font-size:.85rem;opacity:.7}.mobile-comments-sheet .measure-list{display:flex;flex-direction:column;gap:8px}.mobile-comments-sheet .measure-list-item{align-items:center;background:#f8f9fa;border-radius:8px;cursor:pointer;display:flex;padding:12px 16px;transition:background .2s ease}.mobile-comments-sheet .measure-list-item:active,.mobile-comments-sheet .measure-list-item:hover{background:#e9ecef}.mobile-comments-sheet .measure-list-item .measure-number{flex:1;font-weight:500}.mobile-comments-sheet .measure-list-item .measure-badges{display:flex;gap:6px;margin-right:12px}.mobile-comments-sheet .measure-list-item .item-badge{align-items:center;border-radius:12px;color:#fff;display:inline-flex;font-size:.75rem;gap:4px;padding:2px 8px}.mobile-comments-sheet .measure-list-item .item-badge.comment-badge{background:#667eea}.mobile-comments-sheet .measure-list-item .item-badge.note-badge{padding:4px 6px}.mobile-comments-sheet .measure-list-item>i{color:#adb5bd;font-size:12px}.mobile-comments-sheet .all-comments-list{display:flex;flex-direction:column;gap:12px}.mobile-comments-sheet .comment-list-item{background:#f8f9fa;border-radius:8px;cursor:pointer;padding:12px;transition:background .2s ease}.mobile-comments-sheet .comment-list-item:active,.mobile-comments-sheet .comment-list-item:hover{background:#e9ecef}.mobile-comments-sheet .comment-list-item .comment-item-header{align-items:center;display:flex;font-size:.8rem;gap:8px;margin-bottom:8px}.mobile-comments-sheet .comment-list-item .comment-item-header .comment-measure{background:#667eea;border-radius:4px;color:#fff;font-weight:600;padding:2px 8px}.mobile-comments-sheet .comment-list-item .comment-item-header .comment-author{color:#495057;font-weight:500}.mobile-comments-sheet .comment-list-item .comment-item-header .comment-time{color:#adb5bd;margin-left:auto}.mobile-comments-sheet .comment-list-item .comment-item-content{color:#495057;display:-webkit-box;font-size:.9rem;-webkit-line-clamp:2;line-height:1.4;-webkit-box-orient:vertical;overflow:hidden}.mobile-comments-sheet .comment-list-item .comment-replies-count{align-items:center;color:#6c757d;display:flex;font-size:.8rem;gap:4px;margin-top:8px}.mobile-comments-sheet .comment-list-item .comment-replies-count i{font-size:10px}.mobile-comments-sheet .add-comment-form{display:flex;flex-direction:column;gap:16px}.mobile-comments-sheet .add-comment-form label{font-weight:500;margin-bottom:4px}.mobile-comments-sheet .add-comment-form select{background:#fff;border:1px solid #dee2e6;border-radius:8px;font-size:1rem;padding:12px;width:100%}.mobile-comments-sheet .add-comment-form .form-actions{display:flex;gap:12px}.mobile-comments-sheet .add-comment-form .form-actions .btn{align-items:center;border-radius:8px;cursor:pointer;display:flex;flex:1;font-weight:500;gap:8px;justify-content:center;padding:12px 16px;transition:all .2s ease}.mobile-comments-sheet .add-comment-form .form-actions .btn-primary{background:#667eea;border:none;color:#fff}.mobile-comments-sheet .add-comment-form .form-actions .btn-primary:hover{background:#3958e4}.mobile-comments-sheet .add-comment-form .form-actions .btn-secondary{background:#fff;border:1px solid #dee2e6;color:#495057}.mobile-comments-sheet .add-comment-form .form-actions .btn-secondary:hover{background:#f8f9fa}@keyframes metronome-glow-downbeat{0%{background-color:transparent;box-shadow:0 0 0 rgba(139,69,19,0)}50%{background-color:rgba(139,69,19,.3);box-shadow:0 0 20px rgba(139,69,19,.8),0 0 30px rgba(139,69,19,.6)}to{background-color:transparent;box-shadow:0 0 0 rgba(139,69,19,0)}}@keyframes metronome-glow-beat{0%{background-color:transparent;box-shadow:0 0 0 rgba(0,123,255,0)}50%{background-color:rgba(0,123,255,.3);box-shadow:0 0 20px rgba(0,123,255,.8),0 0 30px rgba(0,123,255,.6)}to{background-color:transparent;box-shadow:0 0 0 rgba(0,123,255,0)}}.metronome-downbeat-glow{animation:metronome-glow-downbeat .4s ease-out}.metronome-beat-glow{animation:metronome-glow-beat .4s ease-out}.sheet-music-section{background:#fff;border:1px solid #ddd;border-radius:4px;flex:1;overflow:auto;padding:1rem;position:relative}#loadingIndicator{color:#666;font-size:1.2rem;left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}.controls-panel{background:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;margin-top:1rem;padding:1rem}.control-groups-container{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem}.measure-display-inline,.time-display-inline{align-items:center;background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;display:flex;padding:.4rem .75rem;white-space:nowrap}@media (max-width:576px){.measure-display-inline,.time-display-inline{font-size:.85rem;padding:.3rem .5rem}}.control-groups-container>.btn{border-radius:6px;font-weight:500;padding:.5rem 1rem}@media (max-width:768px){.control-groups-container>.btn .btn-text{display:none}}@media (max-width:576px){.control-groups-container>.btn{padding:.5rem .75rem}}.control-group-wrapper{position:relative}.control-group-wrapper.feature-locked .control-group-btn{cursor:not-allowed;opacity:.6}.control-group-btn{align-items:center;background:#fff;border:1px solid #dee2e6;border-radius:6px;color:#495057;cursor:pointer;display:flex;font-size:.875rem;font-weight:500;gap:.25rem;padding:.4rem .75rem;transition:all .2s ease;white-space:nowrap}.control-group-btn.btn-primary{background:#007bff;border-color:#007bff;color:#fff}.control-group-btn.btn-primary:hover:not(:disabled){background:#0056b3;border-color:#0056b3}.control-group-btn.btn-success{background:#28a745;border-color:#28a745;color:#fff}.control-group-btn.btn-success:hover:not(:disabled){background:#1e7e34;border-color:#1e7e34}.control-group-btn.btn-outline-secondary{background:#fff;border-color:#dee2e6;color:#495057}.control-group-btn.btn-outline-secondary:hover:not(:disabled){background:#f8f9fa;border-color:#adb5bd}.control-group-btn:disabled{cursor:not-allowed;opacity:.6}.control-group-btn.active,.control-group-btn[aria-expanded=true]{background:#f8f9fa;box-shadow:0 2px 4px rgba(0,0,0,.1)}.control-group-btn.active .dropdown-arrow,.control-group-btn[aria-expanded=true] .dropdown-arrow{transform:rotate(180deg)}@media (max-width:768px){.control-group-btn .btn-text{display:none}}.control-group-btn .dropdown-arrow{font-size:.7rem;opacity:.7;transition:transform .2s ease}@media (max-width:768px){.control-group-btn .dropdown-arrow{display:none}}.control-group-btn .lock-icon-inline{font-size:.7rem;opacity:.7}.control-group-btn .badge{font-size:.7rem;font-weight:600;padding:.15rem .4rem}.control-dropdown{animation:dropdownSlideIn .2s ease;background:#fff;border:1px solid #dee2e6;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.15);display:none;left:0;max-width:300px;min-width:220px;position:absolute;top:calc(100% + 4px);z-index:1000}.control-dropdown.show{display:block}.control-dropdown.dropdown-right{left:auto;right:0}@keyframes dropdownSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.control-dropdown-content{padding:.75rem}.control-dropdown-content .form-label{color:#6c757d;font-size:.75rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.control-dropdown-content .btn{font-size:.875rem}.control-dropdown-content small{font-size:.75rem}.hands-mode-buttons .btn{align-items:center;border-radius:6px!important;display:flex;justify-content:flex-start;margin-bottom:.25rem;padding:.5rem .75rem;text-align:left}.hands-mode-buttons .btn:last-child{margin-bottom:0}.hands-mode-buttons .btn.active{background-color:#e9ecef;border-color:#007bff;color:#007bff;font-weight:600}.hands-mode-buttons .btn small{font-size:.7rem;opacity:.7}.tempo-trainer-section .form-check-input:checked{background-color:#6f42c1;border-color:#6f42c1}.tempo-trainer-section .tempo-trainer-status{background:#f8f9fa;border-radius:4px;padding:.5rem;text-align:center}.tempo-trainer-section .tempo-trainer-status i{color:#6f42c1}.metronome-subdivision-buttons .btn{font-size:.9rem;padding:.4rem .6rem}.metronome-subdivision-buttons .btn-check:checked+.btn-outline-secondary,.metronome-subdivision-buttons .btn.btn-check:checked+.metronome-subdivision-buttons .btn{background-color:#007bff;border-color:#007bff;color:#fff}.control-group{margin-bottom:1rem}.control-group:last-child{margin-bottom:0}.control-group label{display:block;font-size:.9rem;font-weight:600;margin-bottom:.5rem}.playback-controls{align-items:center;display:flex;gap:.5rem}.playback-controls button{background:#007bff;border:1px solid #007bff;border-radius:4px;color:#fff;cursor:pointer;font-size:1rem;padding:.5rem 1rem}.playback-controls button:hover:not(:disabled){background:#0056b3}.playback-controls button:disabled{cursor:not-allowed;opacity:.5}.playback-controls button.btn-secondary{background:#6c757d;border-color:#6c757d}.playback-controls button.btn-secondary:hover:not(:disabled){background:#545b62}.tempo-controls,.transpose-controls,.volume-controls{align-items:center;display:flex;gap:1rem}.tempo-controls input[type=range],.transpose-controls input[type=range],.volume-controls input[type=range]{flex:1;max-width:300px}.tempo-controls .value-display,.transpose-controls .value-display,.volume-controls .value-display{font-size:1rem;font-weight:600;min-width:50px}.tempo-controls button,.transpose-controls button,.volume-controls button{background:#6c757d;border:1px solid #6c757d;border-radius:4px;color:#fff;cursor:pointer;padding:.25rem .75rem}.tempo-controls button:hover,.transpose-controls button:hover,.volume-controls button:hover{background:#545b62}.loop-controls{align-items:center;display:flex;gap:1rem}.loop-controls input[type=number]{border:1px solid #ced4da;border-radius:4px;padding:.375rem .75rem;width:80px}.loop-controls input[type=number]:disabled{background:#e9ecef}.loop-controls label{display:inline-block;font-weight:400;margin:0 .5rem 0 0}.progress-bar{background:#e9ecef;border-radius:4px;cursor:pointer;height:8px;overflow:hidden;position:relative;width:100%}.progress-bar .progress-fill{background:#007bff;border-radius:4px;height:100%;transition:width .1s linear}.time-display{color:#6c757d;font-size:.85rem;margin-top:.25rem}.session-info,.time-display{display:flex;justify-content:space-between}.session-info{align-items:center;background:#fff;border:1px solid #dee2e6;border-radius:4px;margin-bottom:1rem;padding:.75rem}.session-info .info-item{display:flex;flex-direction:column}.session-info .info-item label{color:#6c757d;font-size:.75rem;margin-bottom:.25rem;text-transform:uppercase}.session-info .info-item .value{font-size:1.1rem;font-weight:600}.save-status{border-radius:4px;font-size:.85rem;padding:.5rem 1rem;text-align:center}.save-status.saving{background:#fff3cd;color:#856404}.save-status.saved{background:#d4edda;color:#155724}.save-status.error{background:#f8d7da;color:#721c24}.zoom-controls{align-items:center;display:flex;gap:.5rem}.zoom-controls button{background:#6c757d;border:1px solid #6c757d;border-radius:4px;color:#fff;cursor:pointer;padding:.25rem .75rem}.zoom-controls button:hover{background:#545b62}.zoom-controls .zoom-value{font-weight:600;min-width:50px;text-align:center}.help-modal{background:rgba(0,0,0,.5);display:none;height:100%;left:0;position:fixed;top:0;width:100%;z-index:1000}.help-modal .modal-content{background:#fff;border-radius:8px;margin:10% auto;max-width:600px;padding:2rem;position:relative}.help-modal .modal-content .close{color:#aaa;cursor:pointer;font-size:2rem;position:absolute;right:1rem;top:1rem}.help-modal .modal-content .close:hover{color:#000}.help-modal .modal-content h3{margin-bottom:1rem;margin-top:0}.help-modal .modal-content .shortcuts-list{list-style:none;padding:0}.help-modal .modal-content .shortcuts-list li{border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;padding:.5rem 0}.help-modal .modal-content .shortcuts-list li:last-child{border-bottom:none}.help-modal .modal-content .shortcuts-list li kbd{background:#f8f9fa;border:1px solid #ced4da;border-radius:3px;font-family:monospace;font-size:.9rem;padding:.2rem .5rem}.muted{background:#dc3545!important;border-color:#dc3545!important}.muted:hover{background:#c82333!important}.pitch-feedback-body{background:#f8f9fa;border-radius:0 0 16px 16px;display:flex;flex-direction:column;gap:6px;padding:10px 14px}.pf-line{align-items:center;display:flex;font-size:.82rem;gap:8px;min-height:22px}.pf-status-line{border-radius:6px;font-weight:600;padding:3px 8px;transition:background .15s}.pf-status-line.waiting{background:#e7f1ff;color:#004085}.pf-status-line.correct{background:#d4edda;color:#155724}.pf-status-line.wrong-note{background:#f8d7da;color:#721c24}.pf-status-line.out-of-tune{background:#fff3cd;color:#856404}.pf-status-line.completed{background:#d1ecf1;color:#0c5460}.pf-status-line.error{background:#f8d7da;color:#721c24}.pf-status-line.idle{background:#e9ecef;color:#495057}.pf-status-line .pf-icon{font-size:1rem}.pf-notes-line .pf-label{color:#6c757d;font-size:.7rem;font-weight:600}.pf-notes-line .pf-note{font-size:1.15rem;font-weight:700;min-width:36px;text-align:center}.pf-notes-line .pf-detected,.pf-notes-line .pf-expected{color:#333}.pf-notes-line .pf-detected.correct{color:#28a745}.pf-notes-line .pf-detected.out-of-tune{color:#d4a017}.pf-notes-line .pf-detected.wrong-note{color:#dc3545}.pf-notes-line .pf-separator{color:#ccc;font-size:.8rem}.pf-meter-line .pf-meter-track{background:linear-gradient(90deg,#dc3545 0,#ffc107 15%,#28a745 30%,#28a745 70%,#ffc107 85%,#dc3545);border-radius:4px;flex:1;height:7px;min-width:80px;position:relative}.pf-meter-line .pf-meter-track .pf-meter-center{background:#333;bottom:0;left:50%;position:absolute;top:0;width:2px}.pf-meter-line .pf-meter-track .pf-meter-needle{background:#333;border-radius:2px;height:13px;position:absolute;top:-3px;transform:translateX(-50%);transition:left .08s ease;width:4px}.pf-meter-line .pf-cents{font-size:.75rem;font-weight:600;min-width:38px;text-align:right}.pf-meter-line .pf-cents.correct{color:#28a745}.pf-meter-line .pf-cents.out-of-tune{color:#d4a017}.pf-meter-line .pf-cents.wrong-note{color:#dc3545}.pf-hold-line .pf-hold-track{background:#e9ecef;border-radius:3px;flex:1;height:5px;min-width:60px;overflow:hidden}.pf-hold-line .pf-hold-track .pf-hold-fill{background:#667eea;border-radius:3px;height:100%;transition:width .08s linear}.pf-hold-line .pf-hold-text{color:#6c757d;font-size:.7rem;font-weight:500;min-width:55px;text-align:right}@media (max-width:768px){.practice-container{padding:.5rem}.controls-panel{padding:.75rem}.session-info{flex-wrap:wrap}.session-info .info-item{flex:1 1 45%;margin-bottom:.5rem}.tempo-controls,.volume-controls{flex-wrap:wrap}.tempo-controls input[type=range],.volume-controls input[type=range]{flex:1 1 100%}.pf-line{font-size:.78rem}.pf-notes-line .pf-note{font-size:1rem;min-width:30px}.pf-meter-line .pf-meter-track{min-width:60px}#loopDropdown{display:none!important}}.plan-step-item{align-items:center;border-radius:6px;display:flex;gap:.75rem;padding:.75rem;position:relative;transition:all .2s ease}.plan-step-item.clickable{cursor:pointer}.plan-step-item.clickable:hover{background-color:rgba(0,123,255,.05)}.plan-step-item.clickable:hover .jump-to-step-btn{opacity:1}.plan-step-item.current{background-color:rgba(0,123,255,.1);border-left:3px solid #007bff}.plan-step-item.completed{opacity:.7}.jump-to-step-btn{font-size:.75rem;margin-left:auto;opacity:.6;padding:.25rem .5rem;transition:all .2s ease;white-space:nowrap}.jump-to-step-btn:hover{opacity:1;transform:translateX(2px)}.jump-to-step-btn i{font-size:.875rem}.plan-step-status{align-items:center;display:flex;font-size:1.2rem;justify-content:center;min-width:24px}.plan-step-info{flex:1}.plan-step-name{font-size:.9rem;margin-bottom:.25rem}.plan-step-details{color:#6c757d;font-size:.8rem}