:root{--shell-bg: #081019;--shell-bg-elevated: rgba(11, 16, 24, .9);--shell-bg-panel: #121924;--shell-border-soft: rgba(135, 154, 177, .18);--shell-border-strong: rgba(152, 178, 208, .32);--shell-text: #edf3fb;--shell-text-muted: #98a9bd;--shell-accent: #6dafff}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;min-height:100vh;background:radial-gradient(circle at top center,rgba(49,94,168,.18),transparent 32%),linear-gradient(180deg,#081019,#101722 20%,#171e28);color:#e0e0e0;line-height:1.6}.app-container{min-height:100vh}.app-header{position:sticky;top:0;z-index:100;border-bottom:1px solid var(--shell-border-soft);background:linear-gradient(180deg,#101823f5,#090d14eb);box-shadow:0 16px 38px #0003;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}body.nc-study-focus .app-header{display:none}.nc-study-focus-restore{display:none;position:fixed;top:12px;left:12px;z-index:200;padding:6px 14px;border:1px solid rgba(77,163,255,.5);border-radius:999px;background:#0a1017d9;color:#b9d7f8;font-size:.82rem;font-weight:700;line-height:1;letter-spacing:.01em;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 4px 16px #0000004d;transition:background .2s,border-color .2s,color .2s,opacity .2s}.nc-study-focus-restore:hover{background:#18222ef2;border-color:#6dafff;color:#f0f6fb}body.nc-study-focus .nc-study-focus-restore{display:inline-flex;align-items:center;justify-content:center}.app-header-inner{max-width:1200px;margin:0 auto;padding:12px 20px;display:flex;justify-content:flex-start;align-items:center;gap:16px}.app-brand{flex:0 0 auto;min-width:0}.header-playback-slot{display:inline-flex;align-items:center;flex:0 0 auto}.app-wordmark{font-size:1.05rem;font-weight:500;letter-spacing:.08em;color:var(--shell-text)}.app-header-session-summary{display:flex;align-items:center;gap:12px;min-width:0;flex:1 1 560px;padding:7px 8px 7px 12px;border:1px solid var(--shell-border-soft);border-radius:18px;background:#ffffff08}.app-header-session-summary-copy{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 auto}.app-header-session-summary-label{flex:0 0 auto;color:#c9d6e4;font-size:.78rem;font-weight:700;letter-spacing:.01em}.app-header-session-summary-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--shell-text-muted);font-size:.84rem;line-height:1.35}.app-header-session-summary-state{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.55rem;align-items:center;margin-left:auto}.header-action{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border:1px solid var(--shell-border-soft);background:#ffffff05;color:#d5dfeb;border-radius:999px;cursor:pointer;font-size:.8rem;font-weight:600;letter-spacing:.02em;transition:background-color .2s,border-color .2s,color .2s,transform .2s,box-shadow .2s}.header-action:hover{background:#6dafff14;border-color:var(--shell-border-strong);color:var(--shell-text);transform:translateY(-1px)}.header-action:focus-visible{outline:none;border-color:var(--shell-accent);box-shadow:0 0 0 3px #6dafff1f}.import-btn{-webkit-user-select:none;user-select:none}.app-main-shell{max-width:1200px;margin:0 auto;padding:18px 20px 28px}.top-nav{display:flex;gap:10px;margin-bottom:20px}.range-toggle-controls{display:inline-flex;align-items:center;gap:12px;background:#2a2a2a;border:1px solid #333;border-radius:8px;padding:10px 16px;margin-bottom:20px}.range-toggle-label{font-weight:600;color:#4caf50}.nav-btn{flex:1;padding:15px;background:#2a2a2a;color:#e0e0e0;border:2px solid #333;border-radius:8px;cursor:pointer;font-size:1.1rem;font-weight:600;transition:all .2s}.nav-btn:hover{background:#333;border-color:#4caf50}.nav-btn.active{background:#4caf50;color:#fff;border-color:#4caf50}.study-tabs{display:flex;gap:10px;margin-bottom:20px}.practice-controls{display:none}.practice-controls-phrase{flex:1 1 360px;min-width:0}.practice-controls-range{flex:0 0 auto}.practice-controls-sidecar{display:flex;flex-direction:column;align-items:flex-start;gap:12px;flex:0 0 auto}.practice-controls-finish{display:flex;align-items:center}.header-actions .practice-controls-finish .practice-finish-btn{min-height:34px;font-size:.85rem;padding:0 14px}.header-actions .study-setup-toggle{min-height:34px;font-size:.82rem;padding:0 12px}.practice-finish-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 18px;border:1px solid #4c6884;border-radius:999px;background:#101720eb;color:#edf3fb;cursor:pointer;font-size:.92rem;font-weight:700;line-height:1;transition:background .2s,border-color .2s,color .2s,transform .2s,box-shadow .2s}.practice-finish-btn:hover:not(:disabled){background:#142130fa;border-color:#71b5ff;color:#f7fbff;transform:translateY(-1px);box-shadow:0 10px 18px #0c28463d}.practice-finish-btn:focus-visible{outline:none;border-color:#86c5ff;box-shadow:0 0 0 3px #6dafff29}.practice-finish-btn:disabled{cursor:wait;opacity:.7;transform:none;box-shadow:none}.range-unavailable-note{max-width:360px;padding:10px 14px;border-left:2px solid #4d9cff;border-radius:0 8px 8px 0;background:#4d9cff14;color:#b6c8da;font-size:.88rem;font-style:italic;line-height:1.4}.tab-btn{flex:1;padding:12px;background:#2a2a2a;color:#e0e0e0;border:1px solid #444;border-radius:5px;cursor:pointer;font-size:1rem;transition:all .2s}.tab-btn:hover{background:#333}.tab-btn.active{background:#2196f3;color:#fff;border-color:#2196f3}.phrase-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px;padding:15px;background:#2a2a2a;border-radius:8px}.phrase-controls-nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap}#prev-phrase,#next-phrase{display:none}.phrase-controls button{padding:10px 20px;background:#4caf50;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:1rem}.phrase-playback-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:58px;min-height:32px;padding:6px 12px;border:1px solid #4da3ff;border-radius:999px;background:#228be629;color:#f7fbff;cursor:pointer;font-size:.82rem;font-weight:700;line-height:1;letter-spacing:0;box-shadow:inset 0 1px #ffffff0f,0 6px 14px #2691ff1f}.phrase-controls button:disabled,.phrase-playback-toggle:disabled{cursor:not-allowed;opacity:.5}.phrase-controls button:not(:disabled):hover{background:#45a049}.phrase-playback-toggle:not(:disabled):hover{background:#121c27f2;border-color:#4c6884;color:#f0f6fb;transform:translateY(-1px)}.phrase-playback-toggle.is-playing{background:#228be633;border-color:#4da3ff;color:#f7fbff;box-shadow:inset 0 1px #ffffff14,0 8px 18px #2691ff29}.phrase-playback-toggle.is-playing:not(:disabled):hover{background:#228be647;border-color:#65b2ff}.phrase-indicator{font-size:1.1rem;font-weight:600;color:#4caf50}.practice-controls .phrase-controls,.practice-controls .range-toggle-controls{margin-bottom:0}.study-pdf-reference-shell{display:grid;gap:12px;margin-bottom:18px}.study-pdf-reference-toggle{display:flex;flex-wrap:wrap;gap:10px}.study-reference-toggle-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border:1px solid #314152;border-radius:999px;background:#101720;color:#d7e1eb;font-size:.92rem;font-weight:700;cursor:pointer;transition:background .2s,border-color .2s,color .2s,transform .2s,box-shadow .2s}.study-reference-toggle-btn:hover{background:#152130;border-color:#4b6580;color:#f2f7fb;transform:translateY(-1px)}.study-reference-toggle-btn.active,.study-reference-toggle-btn[aria-pressed=true]{background:linear-gradient(135deg,#1266c3,#2791ff);border-color:#56abff;color:#f7fbff;box-shadow:0 10px 22px #1466c347}.study-reference-stage{display:grid;gap:16px;margin-bottom:20px}.study-pdf-reference-panel{display:flex;align-items:stretch;min-height:240px}.study-pdf-reference-card{width:min(100%,720px);padding:24px;border:1px solid #263241;border-radius:18px;background:linear-gradient(180deg,#1a212bf5,#0f141bfa);box-shadow:inset 0 1px #ffffff08,0 14px 32px #0000003d}.study-pdf-reference-title{margin:0 0 10px;color:#edf3fb;font-size:1.15rem;line-height:1.25}.study-pdf-reference-description,.study-pdf-reference-status{margin:0;font-size:.94rem;line-height:1.55}.study-pdf-reference-description{color:#93a7bd}.study-pdf-reference-status{margin-top:16px;color:#d7e1eb}.study-pdf-reference-status--error{color:#ffb4b4}.study-pdf-reference-open-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin-top:18px;padding:0 18px;border:1px solid #3d6ea3;border-radius:999px;background:linear-gradient(135deg,#1266c342,#2791ff61);color:#f7fbff;font-size:.95rem;font-weight:700;text-decoration:none;transition:background .2s,border-color .2s,color .2s,transform .2s,box-shadow .2s}.study-pdf-reference-open-link:hover{background:linear-gradient(135deg,#1266c35c,#2791ff80);border-color:#69b1ff;transform:translateY(-1px);box-shadow:0 12px 24px #1266c33d}.study-pdf-reference-open-link:focus-visible{outline:none;border-color:#86c5ff;box-shadow:0 0 0 3px #6dafff29}.study-setup-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin:0 0 10px}.study-setup-toggle,.study-setup-summary-edit{padding:7px 12px;border-radius:999px;border:1px solid #314152;background:#111821d1;color:#aab9c9;font-size:.82rem;font-weight:600;letter-spacing:.01em;cursor:pointer;transition:background .2s,border-color .2s,color .2s,transform .2s}.study-setup-toggle:hover,.study-setup-summary-edit:hover{background:#18222ef0;border-color:#47617c;color:#eef5fb;transform:translateY(-1px)}@keyframes study-collapse-pulse{0%,to{box-shadow:0 0 0 0 transparent;border-color:#314152}50%{box-shadow:0 0 0 4px #6dafff2e;border-color:#6dafff}}button[data-study-setup-action=collapse]{animation:study-collapse-pulse 2s ease-in-out 3}@media(prefers-reduced-motion:reduce){button[data-study-setup-action=collapse]{animation:none}}.study-setup-summary-edit--inline{margin-left:auto;flex:0 0 auto}.study-setup-shell{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.95fr);gap:18px;margin:0 0 20px;align-items:start}.study-setup-column{display:grid;gap:14px;min-width:0}.study-setup-panel{padding:18px;border-radius:18px;border:1px solid #263241;background:linear-gradient(180deg,#1a212bf5,#0f141bfa);box-shadow:inset 0 1px #ffffff08,0 14px 32px #0000003d}.study-setup-panel--input{min-height:100%}.study-setup-panel--import{padding:15px 16px;border-color:#5d71888c;background:linear-gradient(180deg,#141c25f0,#0d1219f5);box-shadow:inset 0 1px #ffffff05,0 10px 22px #0000002e}.study-setup-heading{margin-bottom:14px}.study-setup-label{display:block;font-size:.95rem;font-weight:700;color:#f3f7fb}.study-setup-support{margin:6px 0 0;font-size:.9rem;color:#93a7bd;line-height:1.45}.study-setup-import{display:grid;gap:10px}.study-setup-import-copy{display:grid;gap:4px}.study-setup-import-label{font-size:.88rem;font-weight:700;color:#eef5fb}.study-setup-import-support{margin:0;font-size:.85rem;line-height:1.4;color:#9aaec2}.study-setup-import-current{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline;margin:0;color:#d6e0ea;font-size:.84rem;line-height:1.4}.study-setup-import-current-label{color:#93a7bd}.study-setup-import-current-name{color:#f4f8fc;font-weight:700}.study-setup-import-btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 13px;border:1px solid #314152;border-radius:999px;background:#ffffff08;color:#d8e2ec;font-size:.82rem;font-weight:600;letter-spacing:.01em;cursor:pointer;transition:background .2s,border-color .2s,color .2s,transform .2s}.study-setup-import-btn:hover{background:#2791ff14;border-color:#4f6f92;color:#f3f8fd;transform:translateY(-1px)}.study-setup-select{width:100%;padding:12px 14px;background:#0d131a;color:#f2f7fb;border:1px solid #344557;border-radius:12px;font-size:.98rem;cursor:pointer;box-shadow:inset 0 1px #ffffff08}.study-setup-select:focus{outline:none;border-color:#4d9cff;box-shadow:0 0 0 3px #4d9cff29}.study-setup-select--hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.study-tabs--setup{margin-bottom:0}.study-tabs--setup .tab-btn{border-radius:12px;border-color:#314152;background:#101720;color:#d7e1eb;font-weight:600}.study-tabs--setup .tab-btn:hover{background:#152130;border-color:#45607d}.study-tabs--setup .tab-btn.active{background:linear-gradient(135deg,#1266c3,#2791ff);border-color:#56abff;box-shadow:0 10px 20px #1466c342}.staff-mode-segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.view-mode-segmented{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.view-mode-option{padding:12px 14px;border-radius:12px;border:1px solid #314152;background:#101720;color:#d7e1eb;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s}.view-mode-option:hover{background:#152130;border-color:#4b6580;transform:translateY(-1px)}.view-mode-option.active,.view-mode-option[aria-pressed=true]{background:linear-gradient(135deg,#1266c3,#2791ff);border-color:#56abff;color:#f7fbff;box-shadow:0 10px 22px #1466c347}.staff-mode-option{padding:12px 14px;border-radius:12px;border:1px solid #314152;background:#101720;color:#d7e1eb;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s}.staff-mode-option:hover{background:#152130;border-color:#4b6580;transform:translateY(-1px)}.staff-mode-option.active,.staff-mode-option[aria-pressed=true]{background:linear-gradient(135deg,#0f7a5d,#18a47c);border-color:#2acb9c;color:#f6fffb;box-shadow:0 10px 22px #0f7a5d47}.input-source-switcher{display:grid;gap:12px;margin:10px 0 16px;padding:16px 18px;border-radius:16px;border:1px solid #253345;background:linear-gradient(180deg,#181f29f5,#0e131afa);box-shadow:inset 0 1px #ffffff08,0 14px 32px #0003}.input-source-switcher--setup{margin:0;padding:0;border:0;background:transparent;box-shadow:none}.input-source-options{display:flex;flex-wrap:wrap;gap:10px}.input-source-option{position:relative}.input-source-option input{position:absolute;opacity:0;pointer-events:none}.input-source-option span{display:inline-flex;align-items:center;justify-content:center;min-width:104px;padding:11px 16px;border-radius:999px;border:1px solid #314152;background:#101720;color:#d7e1eb;font-weight:600;transition:background .2s,border-color .2s,color .2s,transform .2s,box-shadow .2s}.input-source-option:hover span{background:#152130;border-color:#4b6580;color:#f2f7fb;transform:translateY(-1px)}.input-source-option input:checked+span{background:linear-gradient(135deg,#0f7a5d,#18a47c);border-color:#2acb9c;color:#f6fffb;box-shadow:0 10px 22px #0f7a5d47}.study-setup-quickbar{display:grid;gap:8px;min-width:0;flex:1 1 auto}.study-setup-quickbar-top-row{display:flex;align-items:center;gap:8px;min-width:0;width:100%}.study-setup-quickbar-song-wrap{position:relative;display:inline-flex;min-width:120px;max-width:260px;flex:0 1 260px}.study-setup-quickbar-song-wrap:after{content:"▾";position:absolute;right:10px;top:50%;color:#b9d7f8;font-size:.72rem;line-height:1;pointer-events:none;transform:translateY(-50%)}.study-setup-quickbar-song{width:100%;min-width:0;padding:6px 28px 6px 10px;border:1px solid rgba(77,163,255,.58);border-radius:999px;background:#228be61a;-moz-appearance:none;-webkit-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#dbeaff;font-size:.84rem;font-weight:700;line-height:1.35;box-shadow:inset 0 1px #ffffff0d,0 4px 12px #2691ff14;cursor:pointer}.study-setup-quickbar-song:hover{background:#228be62e;border-color:#6dafffc2;color:#f7fbff}.study-setup-quickbar-song:focus{outline:none;border-color:#6dafff;box-shadow:0 0 0 3px #4d9cff2e,inset 0 1px #ffffff0f,0 4px 12px #2691ff14}.study-setup-quickbar-options,.study-setup-quickbar-group{display:flex;align-items:center;flex-wrap:wrap}.study-setup-quickbar-options{gap:6px;min-width:0;width:100%}.study-setup-quickbar-group{gap:4px}.study-setup-quick-chip,.study-setup-quick-radio.input-source-option span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:0;width:auto;min-height:32px;padding:6px 10px;border:1px solid #2c3d50;border-radius:999px;background:#0a1017bd;color:#91a6ba;font-size:.82rem;font-weight:700;line-height:1;letter-spacing:0;box-shadow:none}.study-setup-quick-chip{cursor:pointer}.study-setup-quick-chip--icon{width:38px;padding:0}.study-setup-quick-chip:hover,.study-setup-quick-radio.input-source-option:hover span{background:#121c27f2;border-color:#4c6884;color:#f0f6fb;transform:translateY(-1px)}.study-setup-quick-chip.active,.study-setup-quick-chip[aria-pressed=true],.study-setup-quick-radio.input-source-option input:checked+span{background:#228be633;border-color:#4da3ff;color:#f7fbff;box-shadow:inset 0 1px #ffffff14,0 8px 18px #2691ff29}.study-setup-hand-icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}.study-setup-hand-icon--left{transform:scaleX(-1)}.study-setup-hand-icon-pair{display:inline-flex;align-items:center;gap:0}.study-setup-hand-icon-pair .study-setup-hand-icon{width:17px;height:17px}.input-source-status{margin:0;font-size:.9rem;color:#93a7bd;line-height:1.45}@media(max-width:900px){.app-header-inner{align-items:center;flex-wrap:wrap;gap:6px;padding:8px 16px}.app-header-session-summary{width:100%;border-radius:14px;flex:1 1 100%;order:3;padding:6px 8px}.study-setup-quickbar{width:100%;gap:6px}.header-actions{flex:0 1 auto;justify-content:flex-end;margin-left:auto;width:auto}.study-setup-shell{grid-template-columns:1fr}.study-setup-toolbar{justify-content:flex-start}}@media(max-width:640px){.app-header-inner{padding:10px 16px}.app-main-shell{padding:16px 16px 24px}.header-actions{gap:.45rem}.header-action{flex:1 1 calc(33.333% - .45rem);min-width:96px}.study-tabs--setup,.study-pdf-reference-toggle{flex-direction:column}.study-reference-toggle-btn,.study-pdf-reference-open-link{width:100%}.staff-mode-segmented,.view-mode-segmented{grid-template-columns:1fr}.input-source-options{flex-direction:column}.input-source-option span{width:100%}.app-header-session-summary{align-items:flex-start;flex-wrap:wrap}.study-setup-quickbar-song-wrap{flex:1 1 100%;max-width:100%}.study-setup-quickbar-options{width:100%}.app-header-session-summary-copy{flex-wrap:wrap}.app-header-session-summary-text{white-space:normal}.study-setup-summary-edit:not(.study-setup-summary-edit--inline){margin-left:0}}.score-view{background:#2a2a2a;padding:20px;border-radius:8px;margin-bottom:20px}.score-view h3{margin-bottom:15px;color:#4caf50}.phrase{margin-bottom:20px;padding:15px;border-radius:5px;border:2px solid #444}.phrase.active{border-color:#4caf50;background:#1f3a1f}.phrase.inactive{opacity:.5}.phrase-header{font-weight:600;margin-bottom:10px;color:#4caf50}.phrase-events{display:flex;gap:10px;flex-wrap:wrap}.event{padding:10px 15px;background:#333;border-radius:5px;border:2px solid #444;min-width:80px;text-align:center;transition:all .2s}.event .note-name{display:block;font-size:1.2rem;font-weight:600}.event .midi-number{display:block;font-size:.8rem;color:#999}.event.green{background:#4caf50;border-color:#4caf50;color:#fff}.event.blue{background:#2196f3;border-color:#2196f3;color:#fff}.event.red{background:#f44336;border-color:#f44336;color:#fff}.instructions{background:#2a2a2a;padding:15px;border-radius:8px;border-left:4px solid #4CAF50}.instructions p{margin:0}.tolerance-selector{margin-bottom:20px;padding:15px;background:#2a2a2a;border-radius:8px;display:flex;align-items:center;gap:15px}.tolerance-selector label{font-weight:600;color:#4caf50}.tolerance-selector select{flex:1;padding:10px;background:#333;color:#e0e0e0;border:1px solid #444;border-radius:5px;font-size:1rem;cursor:pointer}.tolerance-selector select:focus{outline:none;border-color:#4caf50}.demo-input-adapter{background:#2a2a2a;padding:20px;border-radius:8px;margin-bottom:20px;border:2px solid #4CAF50}.demo-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.demo-header h3{color:#4caf50;margin:0}.auto-play-btn{padding:8px 16px;background:#2196f3;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:.9rem;font-weight:600}.auto-play-btn:hover{background:#1976d2}.piano-keyboard{display:flex;gap:8px;margin-bottom:15px;justify-content:center}.piano-key{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:15px 10px;background:#fff;color:#000;border:2px solid #333;border-radius:5px;cursor:pointer;min-width:60px;transition:all .1s;-webkit-user-select:none;user-select:none}.piano-key:hover{background:#f0f0f0;transform:translateY(-2px)}.piano-key:active,.piano-key.active{background:#4caf50;color:#fff;transform:translateY(0);border-color:#4caf50}.piano-key .note-name{font-size:1.2rem;font-weight:700;margin-bottom:5px}.piano-key .key-hint{font-size:.8rem;color:#666;background:#e0e0e0;padding:2px 6px;border-radius:3px}.piano-key.active .key-hint{background:#45a049;color:#fff}.piano-key.feedback-green{background:#4caf50!important;color:#fff!important;border-color:#45a049!important}.piano-key.feedback-blue{background:#2196f3!important;color:#fff!important;border-color:#1976d2!important}.piano-key.feedback-red{background:#f44336!important;color:#fff!important;border-color:#d32f2f!important}.piano-key.feedback-target{border:3px solid #FFD700!important;box-shadow:0 0 10px #ffd70080;animation:pulse-target 1s infinite}@keyframes pulse-target{0%,to{box-shadow:0 0 10px #ffd70080}50%{box-shadow:0 0 20px #ffd700cc}}.piano-key.feedback-green .key-hint,.piano-key.feedback-blue .key-hint,.piano-key.feedback-red .key-hint{background:#ffffff4d;color:#fff}.keyboard-mapping{text-align:center;color:#999;font-size:.9rem}.debug-panel{position:fixed;top:20px;right:20px;width:350px;max-height:80vh;overflow-y:auto;background:#1a1a1a;border:2px solid #4CAF50;border-radius:8px;padding:15px;box-shadow:0 4px 20px #00000080;z-index:1000}.debug-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.debug-header h3{color:#4caf50;margin:0}.export-btn{padding:6px 12px;background:#ff9800;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:.85rem;font-weight:600}.export-btn:hover{background:#f57c00}.debug-section{margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #333}.debug-section:last-child{border-bottom:none}.debug-section h4{color:#2196f3;margin-bottom:10px;font-size:.9rem}.debug-item{display:flex;justify-content:space-between;margin-bottom:8px;font-size:.85rem}.debug-item .label{color:#999}.debug-item .value{color:#e0e0e0;font-weight:600}.toggle{position:relative;display:inline-block;width:42px;height:22px}.toggle input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#444;transition:.2s;border-radius:999px}.toggle-slider:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:3px;background-color:#fff;transition:.2s;border-radius:50%}.toggle input:checked+.toggle-slider{background-color:#4caf50}.toggle input:checked+.toggle-slider:before{transform:translate(20px)}.phrase-state-clean{color:#4caf50!important}.phrase-state-stumbled{color:#2196f3!important}.event-log{max-height:200px;overflow-y:auto}.log-entry{padding:8px;margin-bottom:5px;background:#2a2a2a;border-radius:4px;font-size:.8rem}.event-type{display:inline-block;padding:2px 6px;background:#4caf50;color:#fff;border-radius:3px;font-size:.7rem;margin-right:8px;font-weight:600}.event-reason{color:#ccc}.status-ok{color:#4caf50!important;font-weight:600}.status-error{color:#f44336!important;font-weight:600}.paint-log{max-height:250px;overflow-y:auto;margin-top:8px;background:#1a1a1a;border-radius:4px;padding:8px}.paint-entry{display:flex;justify-content:space-between;align-items:center;padding:6px 8px;margin-bottom:4px;background:#2a2a2a;border-radius:3px;font-size:.75rem}.paint-entry:last-child{margin-bottom:0}.paint-id{color:#e0e0e0;font-family:Monaco,Courier New,monospace;font-size:.7rem;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.paint-status{display:inline-block;padding:2px 8px;border-radius:3px;font-size:.65rem;font-weight:700;text-transform:uppercase;white-space:nowrap;margin-left:8px}.paint-status.found{background:#4caf50;color:#fff}.paint-status.not-found{background:#f44336;color:#fff}#score-container{position:relative}#score-container[data-panorama-single-line=true]{width:max-content;min-width:100%}.range-selection-overlay{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.flow-traveling-marker-overlay{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:5}.nc-note-name-overlay{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:6}.nc-note-name-label{position:absolute;transform:translate(-50%,-100%);font-size:12px;font-weight:800;line-height:1;color:#000;background:#ffffffd9;padding:1px 4px;border-radius:3px;white-space:nowrap;pointer-events:none;-webkit-user-select:none;user-select:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.flow-traveling-marker-notehead{position:absolute;display:none;background:#000;border-radius:52% 48% 54% 46%/58% 42%;transform:rotate(-20deg);transform-origin:center;pointer-events:none}.range-highlight{position:absolute;background:#2196f340;border:2px solid rgba(33,150,243,.55);border-radius:4px}.range-anchor{position:absolute;background:#ffc10740;border:2px solid rgba(255,193,7,.7);border-radius:4px}.range-indicator{position:absolute;top:12px;left:12px;padding:8px 12px;border-radius:8px;background:#1a1a1ad9;border:1px solid rgba(76,175,80,.6);color:#fff;font-size:.85rem;display:none;z-index:4}.range-indicator.active{display:block}.range-indicator-title{font-weight:700;color:#4caf50}.range-indicator-detail{margin-top:4px;color:#e0e0e0}.experience-content{min-height:400px}.start-test-btn{padding:15px 30px;background:#4caf50;color:#fff;border:none;border-radius:8px;font-size:1.2rem;cursor:pointer;margin-top:20px}.start-test-btn:hover{background:#45a049}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#1a1a1a}::-webkit-scrollbar-thumb{background:#4caf50;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#45a049}#osmdCanvas,#score-container{background-color:#fff!important;filter:none!important}.nc-note-green,.nc-note-green *{fill:#4caf50!important;stroke:#4caf50!important}.nc-note-green path{fill:#4caf50!important;stroke:#4caf50!important}.nc-note-blue,.nc-note-blue *{fill:#2196f3!important;stroke:#2196f3!important}.nc-note-blue path{fill:#2196f3!important;stroke:#2196f3!important}.nc-note-red,.nc-note-red *{fill:#f44336!important;stroke:#f44336!important}.nc-note-red path{fill:#f44336!important;stroke:#f44336!important}.test-trigger{background:linear-gradient(135deg,#667eea,#764ba2);padding:20px;border-radius:8px;margin-bottom:20px;border:2px solid #764ba2}.test-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.test-header h3{color:#fff;margin:0;font-size:1.2rem}.auto-sequence-btn{padding:10px 20px;background:#4caf50;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .2s}.auto-sequence-btn:hover:not(:disabled){background:#45a049;transform:translateY(-2px)}.auto-sequence-btn:disabled{background:#777;cursor:not-allowed;opacity:.6}.test-buttons{display:flex;gap:10px;margin-bottom:15px;flex-wrap:wrap;justify-content:center}.test-note-btn{padding:15px 20px;background:#fff;color:#667eea;border:2px solid #667eea;border-radius:8px;cursor:pointer;font-size:1.1rem;font-weight:700;min-width:70px;transition:all .15s}.test-note-btn:hover{background:#f0f0f0;transform:translateY(-2px);box-shadow:0 4px 8px #0003}.test-note-btn:active,.test-note-btn.active{background:#667eea;color:#fff;transform:translateY(0);box-shadow:0 2px 4px #0000004d}.test-info{text-align:center;color:#ffffffe6;font-size:.9rem;font-style:italic}.diag-panel{background:#2a2a2a;padding:20px;border-radius:8px;margin-bottom:20px;border:2px solid #9C27B0}.diag-panel h3{color:#9c27b0;margin-bottom:20px;font-size:1.3rem}.diag-controls{display:flex;gap:15px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.diag-controls label{display:flex;align-items:center;gap:10px;color:#e0e0e0;font-weight:600}.diag-controls select{padding:8px 12px;background:#333;color:#e0e0e0;border:1px solid #444;border-radius:5px;font-size:.95rem;cursor:pointer}.diag-controls select:focus{outline:none;border-color:#9c27b0}.diag-btn-primary{padding:10px 20px;background:#9c27b0;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .2s}.diag-btn-primary:hover:not(:disabled){background:#7b1fa2;transform:translateY(-2px)}.diag-btn-secondary{padding:10px 20px;background:#ff9800;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .2s}.diag-btn-secondary:hover:not(:disabled){background:#f57c00}.diag-btn-secondary:disabled{background:#555;cursor:not-allowed;opacity:.5}.diag-results{min-height:200px}.diag-placeholder{text-align:center;color:#999;padding:40px;font-style:italic}.diag-loading{text-align:center;color:#9c27b0;padding:40px;font-size:1.1rem;animation:pulse 1.5s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.diag-error{background:#3a1a1a;border:2px solid #f44336;border-radius:8px;padding:20px;color:#f44336}.diag-error pre{background:#2a2a2a;padding:10px;border-radius:4px;overflow-x:auto;margin-top:10px;color:#f55}.diag-report{background:#1a1a1a;border-radius:8px;padding:20px}.diag-report-pass{border:2px solid #4CAF50}.diag-report-fail{border:2px solid #f44336}.diag-summary{margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #333}.diag-summary h4{color:#e0e0e0;margin-bottom:10px}.diag-score-id{color:#999;font-size:.9rem}.diag-score-id code{background:#2a2a2a;padding:3px 8px;border-radius:3px;color:#9c27b0;font-weight:600}.diag-invariants{margin-bottom:20px}.diag-invariants h5{color:#2196f3;margin-bottom:15px;font-size:1rem}.diag-table{width:100%;border-collapse:collapse;background:#2a2a2a;border-radius:5px;overflow:hidden}.diag-table thead{background:#333}.diag-table th{padding:12px;text-align:left;color:#9c27b0;font-weight:600;font-size:.9rem}.diag-table td{padding:12px;border-top:1px solid #333;font-size:.85rem}.diag-table td code{background:#1a1a1a;padding:2px 6px;border-radius:3px;font-size:.8rem;color:#e0e0e0}.diag-pass{background:#4caf501a}.diag-fail{background:#f443361a}.diag-details{margin-top:20px}.diag-details summary{cursor:pointer;padding:10px;background:#333;border-radius:5px;color:#2196f3;font-weight:600;-webkit-user-select:none;user-select:none}.diag-details summary:hover{background:#3a3a3a}.diag-metrics{padding:15px;background:#2a2a2a;border-radius:5px;margin-top:10px;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px}.diag-metric-section{background:#1a1a1a;padding:15px;border-radius:5px}.diag-metric-section h6{color:#9c27b0;margin-bottom:10px;font-size:.9rem}.diag-metric-section pre{background:#2a2a2a;padding:10px;border-radius:4px;overflow-x:auto;font-size:.75rem;color:#e0e0e0;max-height:200px;overflow-y:auto}.diag-failed{margin-top:20px;padding:15px;background:#f443361a;border:1px solid #f44336;border-radius:5px}.diag-failed h6{color:#f44336;margin-bottom:10px}.diag-failed ul{list-style:none;padding-left:20px}.diag-failed li{color:#f55;margin-bottom:5px}.diag-failed code{background:#2a2a2a;padding:3px 8px;border-radius:3px;font-weight:600}.info-trigger{position:fixed;right:20px;bottom:20px;z-index:900;padding:8px 12px;background:#2a2a2af2;color:#e0e0e0;border:1px solid #555;border-radius:6px;cursor:pointer;font-size:.85rem}.info-trigger:hover{background:#3a3a3afa}.info-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;background:#0009;display:flex;align-items:center;justify-content:center;padding:16px}.info-modal{max-width:640px;width:100%;background:#1f1f1f;color:#e0e0e0;border:1px solid #4a4a4a;border-radius:8px;padding:20px}.info-modal h2{margin-bottom:12px;color:#4caf50}.info-modal p{margin-bottom:16px}.info-modal button{padding:8px 14px;background:#4caf50;color:#fff;border:none;border-radius:4px;cursor:pointer}.info-modal button:hover{background:#45a049}.midi-modal{max-width:520px}.midi-modal-copy{color:#c0d0de}.midi-device-list{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}.midi-device-option{display:grid;grid-template-columns:18px 1fr;gap:12px;align-items:start;padding:12px 14px;border:1px solid #344557;border-radius:10px;background:#0b121aeb;cursor:pointer}.midi-device-option input{margin:4px 0 0}.midi-device-option-name{display:block;font-weight:700;color:#f2f7fb}.midi-device-option-meta{display:block;margin-top:4px;font-size:.85rem;color:#8fa4b9}.midi-device-empty{margin:0;padding:14px;border:1px dashed #425364;border-radius:10px;background:#0b121ab3;color:#c0d0de}.midi-modal-status{margin:0 0 16px;min-height:1.4em;color:#9dd1ff}.midi-modal-actions{display:flex;justify-content:flex-end;gap:10px}.info-modal .midi-modal-secondary{background:transparent;border:1px solid #52677c;color:#d7e1eb}.info-modal .midi-modal-secondary:hover{background:#52677c33}.midi-test-modal{text-align:center}.midi-test-selected-device{margin:0 0 12px;color:#cfe7ff;font-weight:600}.midi-test-blinker-shell{display:flex;justify-content:center;margin:4px 0 16px}.midi-test-blinker{width:64px;height:64px;border-radius:50%;border:2px solid rgba(114,137,159,.7);background:radial-gradient(circle at 35% 35%,#ffffff2e,#fff0 48%),radial-gradient(circle at center,#25394ff5,#090f16fa);box-shadow:inset 0 0 18px #00000061;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease,background .12s ease}.midi-test-blinker.is-active{transform:scale(1.08);border-color:#66f5be;background:radial-gradient(circle at 35% 35%,#ffffff94,#fff0 44%),radial-gradient(circle at center,#6fffc7f5,#199c75f2);box-shadow:0 0 0 8px #66f5be1f,0 0 28px #66f5be73}.audio-test-modal{max-width:640px}.practice-feedback-modal-overlay{z-index:1120}.practice-feedback-modal{max-width:460px}.practice-feedback-modal--success h2{color:#7df0bf}.practice-feedback-modal--warning h2{color:#ffd36d}.practice-feedback-modal--neutral h2{color:#9dd1ff}.practice-feedback-modal--error h2{color:#ffb4b4}.practice-feedback-modal-copy{display:grid;gap:10px}.practice-feedback-modal-line{margin:0;color:#d8e7f5}.practice-feedback-modal-line--support{color:#9fb0c2}.practice-feedback-habit{display:grid;gap:6px;margin-top:2px}.practice-feedback-habit-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.practice-feedback-habit-cell{text-align:center}.practice-feedback-habit-weekday{color:#9fb0c2;font-size:.82rem;font-weight:600}.practice-feedback-habit-dot{color:#d8e7f5;font-size:1.05rem;line-height:1}.practice-feedback-modal-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:20px}.practice-feedback-modal-secondary{background:transparent;border:1px solid #52677c;color:#d7e1eb}.practice-feedback-modal-secondary:hover{background:#52677c33}.audio-test-copy,.audio-test-range{color:#d8e7f5}.audio-test-range strong{color:#7df0bf}.audio-test-keyboard-shell{margin:18px 0 14px;padding:16px 14px 18px;border:1px solid #314657;border-radius:16px;background:radial-gradient(circle at top,rgba(90,165,255,.12),transparent 45%),linear-gradient(180deg,#0a1017fa,#0f151efa)}.audio-test-keyboard{position:relative;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;align-items:end;min-height:172px;padding-top:10px}.audio-test-white-key{min-height:136px;border:1px solid #8fa4b9;border-radius:0 0 14px 14px;background:linear-gradient(180deg,#fefefe,#dfe8f0);color:#163047;display:flex;align-items:flex-end;justify-content:center;padding:10px 6px 12px;text-align:center;box-shadow:inset 0 -8px 18px #7b92a82e}.audio-test-white-key--target{background:linear-gradient(180deg,#fff,#eef8ff);border-color:#67aef7}.audio-test-white-key.is-completed{background:linear-gradient(180deg,#b5ffe0,#6ce0ad);border-color:#2acb9c;color:#08281d;box-shadow:inset 0 -8px 18px #2acb9c2e,0 0 0 3px #2acb9c2e}.audio-test-white-key-label{font-weight:700}.audio-test-black-key{position:absolute;top:0;width:10.8%;max-width:48px;height:92px;border:1px solid #0f1720;border-radius:0 0 10px 10px;background:linear-gradient(180deg,#3a4d60,#111a24);box-shadow:0 8px 18px #00000052,inset 0 -6px 10px #00000059;z-index:2}.audio-test-black-key--c-sharp{left:9.8%}.audio-test-black-key--d-sharp{left:24.3%}.audio-test-black-key--f-sharp{left:52.9%}.audio-test-black-key--g-sharp{left:67.2%}.audio-test-black-key--a-sharp{left:81.6%}.audio-test-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.audio-test-target{padding:12px 14px;border:1px solid #3a4f63;border-radius:14px;background:#0b121ad1}.audio-test-target.is-completed{border-color:#2acb9c;background:#104d3a59;box-shadow:0 0 0 3px #2acb9c1f}.audio-test-target-label{display:block;color:#f4f8fc;font-weight:700}.audio-test-target-state{display:block;margin-top:4px;color:#9dd1ff;font-size:.86rem}.audio-test-target.is-completed .audio-test-target-state{color:#7df0bf}.audio-test-status{margin:0 0 16px;min-height:1.4em;color:#cfe7ff}.audio-test-status.is-error{color:#ff9f9f}@media(max-width:640px){.audio-test-keyboard{min-height:154px}.audio-test-white-key{min-height:120px;font-size:.86rem}.audio-test-black-key{height:78px}}.repertoire-screen{max-width:680px;margin:40px auto}.repertoire-header h2{font-size:1.6rem;font-weight:600;color:var(--shell-text);margin-bottom:24px}.repertoire-loading{color:var(--shell-text-muted);font-size:1rem;text-align:center;padding:40px 0}.repertoire-error{padding:12px 16px;border-radius:8px;background:#ff50501a;border:1px solid rgba(255,80,80,.25);color:#f8a0a0;font-size:.9rem;margin-bottom:20px;text-align:center}.repertoire-import-section{display:flex;flex-direction:column;align-items:center;text-align:center;gap:0;max-width:420px;margin:0 auto 24px;padding:32px 24px 28px;border-radius:18px;background:linear-gradient(180deg,#1a212bf5,#0f141bfa);border:1px solid var(--shell-border-soft);box-shadow:inset 0 1px #ffffff08,0 14px 32px #0000003d}.repertoire-import-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin-bottom:16px;border-radius:50%;background:#6dafff1a;color:var(--shell-accent)}.repertoire-import-title{font-size:1.2rem;font-weight:700;color:var(--shell-text);margin-bottom:6px}.repertoire-import-subtitle{font-size:.92rem;color:var(--shell-text-muted);margin-bottom:24px;line-height:1.45}.repertoire-import-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 32px;border:none;border-radius:999px;background:linear-gradient(135deg,#1266c3,#2791ff);color:#f7fbff;font-size:1rem;font-weight:700;letter-spacing:.01em;cursor:pointer;transition:background .2s,transform .2s,box-shadow .2s;box-shadow:0 10px 22px #1466c347}.repertoire-import-btn:hover{background:linear-gradient(135deg,#1a78d6,#3da0ff);transform:translateY(-1px);box-shadow:0 14px 28px #1466c35c}.repertoire-import-btn:focus-visible{outline:none;box-shadow:0 0 0 3px #6dafff29,0 10px 22px #1466c347}.repertoire-import-file-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.repertoire-import-divider{display:flex;align-items:center;gap:12px;width:100%;margin:20px 0 16px}.repertoire-import-divider-line{flex:1;height:1px;background:var(--shell-border-soft)}.repertoire-import-divider-text{flex:0 0 auto;color:var(--shell-text-muted);font-size:.82rem;font-weight:500}.repertoire-import-pdf-link{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:36px;padding:0 16px;border:none;border-radius:999px;background:transparent;color:var(--shell-text-muted);font-size:.88rem;font-weight:600;text-decoration:none;cursor:pointer;transition:color .2s,background .2s}.repertoire-import-pdf-link:hover{color:var(--shell-text);background:#ffffff0a}.repertoire-import-pdf-link:focus-visible{outline:none;box-shadow:0 0 0 3px #6dafff1f}.repertoire-empty{text-align:center;padding:40px 20px;color:var(--shell-text-muted);font-size:1rem;line-height:1.7}.repertoire-song-list{margin-bottom:32px}.repertoire-song-list-title{font-size:1.1rem;font-weight:600;color:var(--shell-text);margin-bottom:12px}.repertoire-card{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;margin-bottom:8px;border-radius:10px;background:#ffffff0a;border:1px solid var(--shell-border-soft);transition:border-color .2s}.repertoire-card:hover{border-color:var(--shell-border-strong)}.repertoire-card--imported{border-color:#f0c0602e}.repertoire-card-info{display:flex;flex-direction:column;gap:4px;min-width:0}.repertoire-card-title{font-size:1rem;font-weight:600;color:var(--shell-text)}.repertoire-card-composer{font-size:.82rem;color:var(--shell-text-muted)}.repertoire-card-source{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;padding:2px 8px;border-radius:4px;display:inline-block;width:fit-content}.repertoire-card-source.source-catalog{background:#6dafff1f;color:#6dafff}.repertoire-card-source.source-imported{background:#ffc8641f;color:#f0c060}.repertoire-card-progress{font-size:.78rem;color:var(--shell-text-muted)}.repertoire-card-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;flex:0 0 auto}.repertoire-card-pdf-status{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:2px}.repertoire-card-pdf-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;background:#6dafff14;border:1px solid rgba(109,175,255,.18);color:#bfd8f8;font-size:.74rem;font-weight:600;letter-spacing:.01em}.repertoire-card-pdf-filename{font-size:.78rem;color:var(--shell-text-muted);word-break:break-word}.repertoire-card-btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 16px;border:1px solid var(--shell-border-soft);border-radius:999px;cursor:pointer;font-size:.82rem;font-weight:600;letter-spacing:.02em;transition:background-color .2s,border-color .2s,color .2s}.repertoire-card-btn--study{background:#6dafff1a;color:#6dafff;border-color:#6dafff4d}.repertoire-card-btn--study:hover{background:#6dafff33;border-color:#6dafff}.repertoire-card-btn--archive{background:transparent;color:var(--shell-text-muted);border-color:var(--shell-border-soft);font-size:.75rem}.repertoire-card-btn--archive:hover{background:#ff505014;border-color:#ff50504d;color:#ff6b6b}.repertoire-card-btn--pdf{background:transparent;color:var(--shell-text-muted);border-color:#6dafff33}.repertoire-card-btn--pdf:hover{background:#6dafff0f;border-color:#6dafff5c;color:var(--shell-text)}.repertoire-catalog-section{margin-top:8px;padding-top:24px;border-top:1px solid var(--shell-border-soft)}.repertoire-catalog-title{font-size:1.1rem;font-weight:600;color:var(--shell-text);margin-bottom:12px}.repertoire-catalog-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-radius:8px;transition:background .15s}.repertoire-catalog-item:hover{background:#ffffff08}.repertoire-catalog-item-label{font-size:.92rem;color:var(--shell-text)}.repertoire-catalog-add-btn{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 14px;border:1px solid var(--shell-border-soft);border-radius:999px;background:#ffffff0a;color:var(--shell-text);cursor:pointer;font-size:.78rem;font-weight:600;white-space:nowrap;transition:background-color .2s,border-color .2s}.repertoire-catalog-add-btn:hover{background:#6dafff1a;border-color:var(--shell-border-strong);color:#6dafff}.repertoire-catalog-added{font-size:.78rem;color:#6dafff;font-weight:600;white-space:nowrap}.repertoire-progress{margin-top:6px}.repertoire-progress-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px}.repertoire-progress-status{font-size:.78rem;font-weight:600;color:var(--shell-text-muted)}.repertoire-progress-percent{font-size:.78rem;font-weight:700;color:var(--shell-text);font-variant-numeric:tabular-nums}.repertoire-progress-track{width:100%;height:6px;border-radius:999px;background:#ffffff14;overflow:hidden}.repertoire-progress-fill{width:var(--progress, 0%);height:100%;border-radius:999px;background:linear-gradient(90deg,#4da3ff,#7bbaff);box-shadow:0 0 6px #4da3ff73,0 0 14px #4da3ff2e;transition:width .6s ease}.plant-widget{display:flex;flex-direction:column;gap:8px;padding:16px 18px;margin-bottom:20px;border-radius:12px;background:#50b4640f;border:1px solid rgba(80,180,100,.18);max-width:320px}.plant-widget-header{display:flex;align-items:center;gap:6px}.plant-widget-title{font-size:.85rem;font-weight:700;color:#8cd4a0;letter-spacing:.03em}.plant-widget-body{display:flex;align-items:center;gap:14px}.plant-widget-visual{flex:0 0 auto}.plant-widget-pot{position:relative;width:48px;height:56px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}.plant-widget-plant{width:4px;height:4px;image-rendering:pixelated;margin-bottom:2px}.plant-widget-plant--stage-0{width:6px;height:6px;background:#6a994e;border-radius:50%;margin-bottom:4px}.plant-widget-plant--stage-1{width:4px;height:4px;background:transparent;box-shadow:0 -8px #6a994e,2px -12px #a7c957,-2px -12px #a7c957;animation:plantIdleStage1 2s steps(2,end) infinite}.plant-widget-plant--stage-2{width:4px;height:4px;background:transparent;box-shadow:0 -4px #6a994e,0 -8px #6a994e,2px -12px #a7c957,-2px -12px #a7c957,0 -16px #a7c957;animation:plantIdleStage2 2.4s steps(2,end) infinite}.plant-widget-plant--stage-3{width:4px;height:4px;background:transparent;box-shadow:0 -4px #6a994e,0 -8px #6a994e,2px -8px #6a994e,-2px -8px #6a994e,2px -12px #a7c957,-2px -12px #a7c957,0 -14px #a7c957,4px -12px #a7c957,-4px -12px #a7c957;animation:plantIdleStage3 2.8s steps(2,end) infinite}.plant-widget-plant--stage-4{width:4px;height:4px;background:transparent;box-shadow:0 -4px #6a994e,0 -8px #6a994e,2px -8px #6a994e,-2px -8px #6a994e,2px -12px #a7c957,-2px -12px #a7c957,0 -14px #a7c957,4px -12px #a7c957,-4px -12px #a7c957,0 -18px #f4a261,3px -18px #e76f51,-3px -18px #e76f51;animation:plantIdleStage4 3s steps(2,end) infinite}.plant-widget-plant--stage-5{width:4px;height:4px;background:transparent;box-shadow:0 -4px #6a994e,0 -8px #6a994e,2px -8px #6a994e,-2px -8px #6a994e,2px -12px #a7c957,-2px -12px #a7c957,0 -14px #a7c957,4px -12px #a7c957,-4px -12px #a7c957,0 -18px #f4a261,3px -18px #e76f51,-3px -18px #e76f51,0 -22px #e9c46a,4px -20px #e9c46a,-4px -20px #e9c46a;animation:plantIdleStage5 3.2s steps(2,end) infinite}.plant-widget-soil{width:32px;height:6px;background:#5c4033;border-radius:2px;box-shadow:0 2px #4a3328,0 4px #3d2b21}.plant-widget-info{display:flex;flex-direction:column;gap:2px;min-width:0}.plant-widget-description{font-size:.78rem;color:var(--shell-text-muted);line-height:1.35}.plant-widget-sessions{font-size:.82rem;font-weight:600;color:var(--shell-text);font-variant-numeric:tabular-nums}.plant-widget-stage-label{font-size:.78rem;font-weight:700;color:#8cd4a0;letter-spacing:.02em}@keyframes plantIdleStage1{0%{transform:translateY(0)}to{transform:translateY(-1px)}}@keyframes plantIdleStage2{0%{transform:translateY(0)}to{transform:translateY(-1px)}}@keyframes plantIdleStage3{0%{transform:translateY(0)}to{transform:translateY(-1px)}}@keyframes plantIdleStage4{0%{transform:translateY(0)}to{transform:translateY(-1px)}}@keyframes plantIdleStage5{0%{transform:translateY(0)}to{transform:translateY(-1px)}}@media(prefers-reduced-motion:reduce){.repertoire-progress-fill{transition:none}.plant-widget-plant--stage-1,.plant-widget-plant--stage-2,.plant-widget-plant--stage-3,.plant-widget-plant--stage-4,.plant-widget-plant--stage-5{animation:none}}@media(max-width:720px){.repertoire-import-section{padding:28px 20px 24px}.repertoire-card,.repertoire-catalog-item{flex-direction:column;align-items:stretch}.repertoire-card-actions{justify-content:stretch}.repertoire-import-btn,.repertoire-import-pdf-link,.repertoire-card-btn,.repertoire-catalog-add-btn{width:100%}}.study-header-identity{display:flex;min-width:0;margin-left:auto}.study-header-identity .student-nickname-widget{min-width:0;flex-wrap:nowrap;gap:8px;padding:6px 12px 6px 8px;margin-bottom:0;border-radius:999px;background:#ffffff05}.study-header-identity .student-nickname-greeting{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem}.study-header-identity .student-nickname-action{font-size:.78rem;padding:2px 8px;white-space:nowrap}.student-nickname-widget{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 14px;margin-bottom:12px;border:1px solid var(--shell-border-soft);border-radius:10px;background:#ffffff08}.student-nickname-saved{gap:8px}.student-nickname-chip--editable{cursor:pointer}.student-nickname-greeting{color:var(--shell-text);font-size:.92rem;font-weight:500}.student-nickname-label{color:var(--shell-text-muted);font-size:.85rem;font-weight:500;width:100%}.student-nickname-input-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%}.student-nickname-input{flex:1 1 180px;min-width:0;padding:8px 12px;border:1px solid var(--shell-border-soft);border-radius:8px;background:#00000040;color:var(--shell-text);font-size:.88rem;outline:none;transition:border-color .2s}.student-nickname-input:focus{border-color:var(--shell-accent)}.student-nickname-action{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border:1px solid var(--shell-border-soft);border-radius:999px;background:#ffffff0a;color:var(--shell-text-muted);cursor:pointer;font-size:.8rem;font-weight:600;transition:background-color .2s,border-color .2s,color .2s}.student-avatar-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:28px;height:28px;border-radius:50%;overflow:hidden;background:#ffffff0f}.student-avatar-badge .student-avatar-img{display:block;width:24px;height:24px;object-fit:cover}.student-nickname-avatar-section{width:100%;margin-top:12px;padding-top:12px;border-top:1px solid var(--shell-border-soft)}.student-nickname-avatar-section .student-nickname-label{margin-bottom:8px}.student-avatar-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;width:100%}.student-avatar-option{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;border:2px solid var(--shell-border-soft);border-radius:10px;background:#ffffff08;cursor:pointer;transition:border-color .2s,background-color .2s;-webkit-user-select:none;user-select:none}.student-avatar-option:hover{border-color:var(--shell-accent);background:#6dafff0f}.student-avatar-option--selected{border-color:var(--shell-accent);background:#6dafff1f}.student-avatar-option input[type=radio]{position:absolute;opacity:0;width:0;height:0;pointer-events:none}.student-avatar-option-visual{display:flex;align-items:center;justify-content:center;width:40px;height:40px}.student-avatar-option-visual img{display:block;width:40px;height:40px;object-fit:cover;border-radius:50%}.student-avatar-option-label{font-size:.72rem;color:var(--shell-text-muted);text-align:center;line-height:1.2;white-space:nowrap}.study-header-identity .student-avatar-badge{width:38px;height:38px}.study-header-identity .student-avatar-badge .student-avatar-img{width:34px;height:34px}.student-nickname-action:hover{background:#6dafff14;border-color:var(--shell-border-strong);color:var(--shell-text)}.student-nickname-action--save{background:#6dafff1f;border-color:var(--shell-accent);color:var(--shell-accent)}.student-nickname-action--save:hover{background:#6dafff38;color:#fff}
