.notesAction{margin-left:auto;max-width:100%;font-size:13px;white-space:normal}.notesConfirm{width:min(460px,92vw);background:#142134;color:#f3f7fc;border:1px solid #77ead060;border-radius:16px;padding:24px}.notesConfirm::backdrop{background:#000a}.notesConfirm p{line-height:1.7}.notesConfirm>div{display:flex;justify-content:flex-end;gap:12px}.notesConfirm button{padding:12px 20px;border:1px solid #77ead060;border-radius:9px;background:#1a3542;color:#f3f7fc;cursor:pointer}#notesNotice{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);z-index:2000;max-width:92vw;padding:12px 18px;border:1px solid #77ead080;border-radius:12px;background:#142134;color:#f3f7fc;box-shadow:0 6px 20px #0006;pointer-events:none}#notesNotice.error{border-color:#ff8798}#notesNotice:empty{display:none}.notesReplay #difficultyResult,.notesReplay #weaknessResult,.notesReplay .resultVisuals,.notesReplay .resultInsightRow,.notesReplay #resultAnalysis,.notesReplay #weaknessPanel,.notesReplay #weaknessAnalysis,.notesReplay #analysisTab,.notesReplay #analysisReview,.notesReplay #weaknessReview,.notesReplay #typeReview,.notesReplay #difficultyCard,.notesReplay #speedResult,.notesReplay #paceResult,.notesReplay #part6Difficulty,.notesReplay #part6Weakness{display:none!important}@media(max-width:600px){.notesAction{flex:0 0 100%;width:100%;margin:8px 0 0}.reviewhead{flex-wrap:wrap}}
.notesReplay #difficultyPanel,.notesReplay #weaknessDashboard{display:none!important}.notesReplayCounts{font-size:16px;line-height:1.7}.notesReturn{display:inline-block;margin:20px 0;color:#77ead0;padding:12px 18px;border:1px solid #77ead040;border-radius:10px;text-decoration:none}

.notesAction{display:block;width:fit-content}.reviewhead>.notesAction{flex-shrink:0}@media(max-width:600px){.notesAction{width:100%}}

body:has(#noteTitle)>header{padding-left:clamp(24px,3vw,42px)}.retryPopup{box-sizing:border-box;width:min(470px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #77ead060;border-radius:22px;background:linear-gradient(145deg,#1b2d43,#101c2c);color:#f3f7fc;padding:26px}.retryPopup::backdrop{background:#000b}.retryPopup h2{margin:0 0 22px;font-size:23px}.retryPopup output{display:block;text-align:center;font-size:40px;font-weight:800;margin:18px 0}.retryPopup input[type=range]{width:100%;accent-color:#77ead0}.retryPopup .noteToolbar{display:flex;gap:12px;margin-top:22px}.retryPopup button{flex:1;padding:13px 10px;background:#1a3542;color:#f3f7fc;border:1px solid #77ead060;border-radius:10px}.retryPopup .primary{background:#77ead0;color:#0c222a}.retryPopup button:disabled{opacity:.45}.retryPopup p:empty{display:none}#audioSetupStatus:empty{display:none}

.renameField{display:block;margin:14px 0}.renameField>span{display:block;overflow-wrap:anywhere;font-size:13px;color:#a5b4c9;margin-bottom:5px}.renameField input{box-sizing:border-box;width:100%;background:#0e1827;color:#f3f7fc;border:1px solid #77ead060;border-radius:9px;padding:12px;font:inherit}.notePlaybackName{font-weight:700;font-size:17px;overflow-wrap:anywhere;margin:0 0 10px}#listActions{flex-wrap:wrap;gap:10px}

.retryKind{display:grid;grid-template-columns:1fr auto;gap:8px;margin:16px 0}.retryKind output{font-size:18px;margin:0}.retryKind input{grid-column:1/-1}.retryPopup:has(#retryKinds:not([hidden]))>output{font-size:30px}

.bulkNotesSlot{min-width:0;display:flex;flex:1;flex-direction:column;gap:10px}.bulkNotesSlot>button{width:100%;min-width:0}.filters:has(.bulkNotesSlot){align-items:start}#bulkWrongNotes{white-space:normal;overflow-wrap:break-word;line-height:1.4}

.notebookHeader .notebookBrand{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.notebookHeader .notebookBrand .official-mark{margin:0!important;flex-shrink:0}.notebookHeader .notebookTitle{display:block;min-width:0;white-space:normal;overflow-wrap:break-word;word-break:keep-all;font-size:21px;line-height:1.45;font-weight:700;letter-spacing:-.35px}.notebookHeader+main{padding-top:22px}@media(max-width:700px){.notebookHeader .notebookBrand{gap:10px}.notebookHeader .notebookTitle{font-size:17px}.notebookHeader+main{padding-top:16px}}@media(max-width:360px){.notebookHeader .notebookTitle{font-size:15px}}

/* Notebook metadata controls, scoped to notebook elements. */
.retryModes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;flex-basis:100%}.retryModes button{width:100%;min-width:0}
.questionImportant{margin:0 0 12px}.questionImportant[aria-pressed="true"]{border-color:#e6c653;background:#4b3c17;color:#ffef9a}
#listActions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.pageSizeLabel select{background:#172b42;color:#eff7ff;border:1px solid #3a5069;border-radius:12px;padding:13px 12px;font:inherit;max-width:100%}
.notePages{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:20px 0}.notePages button{min-width:40px;padding:10px}.notePages .active{background:#5dd9c1;color:#09202e;border-color:#72ead1}
@media(max-width:600px){.retryModes{gap:8px}.retryModes button{font-size:13px;padding:12px 8px}.notePages{gap:5px}.notePages button{min-width:36px;padding:8px}#listActions button,.pageSizeLabel select{font-size:12px;padding:12px 10px}}

.noteQuestion.importantQuestion{border-left:3px solid #d8b64a;padding-left:12px;background:rgba(215,176,60,.06)}

.noteStar{color:#ffd34f;display:inline-block;flex-shrink:0}.noteRowHeader{display:grid;grid-template-columns:auto minmax(0,1fr) 26px;gap:12px;align-items:center}.itemStar{justify-self:center;font-size:25px;line-height:1}.itemStar[hidden]{display:none}.deleteSizeGroup{display:contents}#importantOnly[aria-pressed="true"]{border-color:#ffd34f;color:#ffdf71}
@media(max-width:600px){.retryModes{grid-template-columns:1fr}.retryModes button{font-size:14px}.deleteSizeGroup{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.deleteSizeGroup .pageSizeLabel{margin:0;flex:0 0 auto}.noteRowHeader{gap:8px;grid-template-columns:auto minmax(0,1fr) 24px}.openNote{min-width:0;overflow-wrap:anywhere}}

/* Notebook view modes: identical three-column controls, including narrow mobile screens. */
#noteModes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#noteModes>button[data-view]{min-width:0;white-space:normal;overflow-wrap:anywhere;height:100%;line-height:1.35;padding:12px 8px}
#noteModes .retryModes{grid-column:1/-1}
.typesGroup>h2{font-size:18px;color:var(--mint,#74d7cb);margin:22px 0 10px;overflow-wrap:anywhere}
@media(max-width:600px){#noteModes>button[data-view]{font-size:13px;padding:10px 5px;min-height:56px}}

.noteStats{display:inline-flex;align-items:baseline;gap:5px;padding:9px 15px;background:linear-gradient(135deg,#1a3048,#112238);border:1px solid #426279;border-radius:12px;color:#edf6ff;line-height:1.3;font-size:16px}
.noteStats strong{font-size:22px;font-weight:800;color:#8ce7d5}
.pageSizeLabel{position:relative;display:inline-flex;align-items:center;min-width:0}
.pageSizeLabel select{appearance:none;-webkit-appearance:none;padding-right:34px!important;line-height:1.35;box-sizing:border-box;min-height:44px}
.pageSizeLabel::after{content:"";position:absolute;right:13px;top:50%;width:7px;height:7px;border-right:2px solid #dbe9f7;border-bottom:2px solid #dbe9f7;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.notebookGroup{margin:12px 0;background:transparent;border:0;min-width:0}
.notebookGroup>summary{font-size:17px;font-weight:700;color:#8ce7d5;padding:13px 15px;border:1px solid #34536d;border-radius:12px;background:#15283d;overflow-wrap:anywhere;cursor:pointer}
.notebookGroup .groupItems{min-width:0;scroll-margin-top:90px}
.notebookGroup .groupPages{margin:12px 0 22px}
@media(max-width:600px){.noteStats{font-size:15px;padding:8px 12px}.noteStats strong{font-size:21px}.notebookGroup>summary{font-size:15px}}

.pageSizeText{display:none}
@media(max-width:600px){
#listActions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:72px;gap:8px;align-items:stretch}
#listActions .deleteSizeGroup{display:contents}
#listActions>button,#listActions .deleteSizeGroup>button,#listActions .pageSizeLabel{box-sizing:border-box;width:100%;height:72px;min-width:0;margin:0;line-height:1.35;font-size:12px;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;padding:8px 5px;border-radius:12px}
#listActions .pageSizeLabel{position:relative;display:flex;align-items:center;justify-content:center;border:1px solid #3a5069;background:#172b42;color:#eff7ff}
#listActions .pageSizeLabel .pageSizeText{display:block;text-align:center;max-width:100%;box-sizing:border-box;padding-right:12px;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
#listActions .pageSizeLabel select{position:absolute;inset:0;width:100%;height:100%;padding:0!important;margin:0;opacity:0;cursor:pointer}
#listActions .pageSizeLabel::after{right:8px;width:5px;height:5px}
#listActions .pageSizeLabel:focus-within{outline:2px solid #8ce7d5;outline-offset:2px}
}
