/* The notation paper follows the approved cream reference. */
:root{--notation-paper:#fffdf5;--notation-ink:#08204a;--school-loading-background:#192d3a}
html,body,#app{background-color:var(--school-loading-background)!important}
#app .loading-screen,#app .app-shell,#app .note-lab-host{background:var(--school-loading-background)!important}
#app :is(.note-lab,.encyclopedia-app){--calm-paper:var(--notation-paper)}
html body #app :is(.notation-card,.notation-surface,.quiz-staff,.reference-staff,.theory-score,.reading-stage,.reading407-stage,.symbol-score407,.fixed404-rhythm-score,.piano-notation-readout>article){background:var(--notation-paper)!important;color:var(--notation-ink)}
html body #app .note-lab .notation-answers>button{background:var(--notation-paper)!important;color:var(--notation-ink)}
html body #app .notation-answers .notation-surface,
html body #app .reading407-pair figure>svg,
html body #app .rhythm407-panel [data-score],
html body #app .rhythm-score{background:var(--notation-paper)!important;color:var(--notation-ink)}
html body #app :is(.reference-staff,.quiz-staff,.theory-score,.reading-stage,.reading407-stage) > svg{background:var(--notation-paper)!important;color:var(--notation-ink)}
html body #app .note-lab .reading407-stage .reading407-count{color:var(--notation-ink)}
/* Keep correctness visible through borders; do not recolour the staff paper. */
html body #app .note-lab .notation-answers>button.is-correct{border-color:#388359;box-shadow:0 0 0 2px #388359}
html body #app .note-lab .notation-answers>button.is-wrong{border-color:#ac524d;box-shadow:0 0 0 2px #ac524d}
/* Trophy navigation has the same geometry as the adjacent counters. */
#app .note-lab .lab-score{align-items:stretch;gap:8px}
#app .note-lab .lab-score>:is(span,a.lab-trophy-link){display:grid;place-items:center;align-content:center;gap:3px;min-width:70px;min-height:48px;padding:6px 10px;border:1px solid #78929a;border-radius:12px;background:#243e4b;color:#e6e5dc;text-decoration:none;box-sizing:border-box;font-family:'Segoe UI',Verdana,Arial,sans-serif}
#app .note-lab .lab-score>:is(span,a.lab-trophy-link)>b{display:block;color:#e5cc95;font-size:22px;line-height:1.1}
#app .note-lab .lab-score>:is(span,a.lab-trophy-link)>small{display:block;color:#c0cdd0;font-size:11px;line-height:1.3;white-space:nowrap}
#app .note-lab .lab-score>a.lab-trophy-link:hover{background:#345663;border-color:#b9cec9}
#app .note-lab .lab-score>a.lab-trophy-link:focus-visible{outline:3px solid #e5cc95;outline-offset:3px}
@media(max-width:600px){#app .note-lab .lab-score>:is(span,a.lab-trophy-link){min-width:48px;padding:5px;min-height:44px}#app .note-lab .lab-score>:is(span,a.lab-trophy-link)>b{font-size:18px}#app .note-lab .lab-score>:is(span,a.lab-trophy-link)>small{font-size:9px}}
