/* note reading trainer */
#note-reading .nr-board { display: flex; gap: 12px; align-items: stretch; margin-top: 12px; }
#note-reading .nr-staff { flex: 1 1 auto; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 6px 8px; display: flex; align-items: center; justify-content: center; }
#note-reading .nr-svg { display: block; width: 100%; max-width: 440px; max-height: 300px; height: auto; }
#note-reading .nr-line, #note-reading .nr-ledger { stroke: var(--ink); stroke-width: 1; }
#note-reading .nr-clef { stroke: var(--ink); }
#note-reading .nr-ink { fill: var(--ink); }
#note-reading .nr-head { fill: var(--ink); }
#note-reading .nr-stem { stroke: var(--ink); stroke-width: 1.2; }
#note-reading .nr-acc-v { stroke: var(--ink); stroke-width: 1.1; fill: none; }
#note-reading .nr-acc-h { stroke: var(--ink); stroke-width: 2.2; fill: none; }
#note-reading .nr-acc-f { stroke: var(--ink); stroke-width: 1.4; fill: none; }
#note-reading .nr-right .nr-head { fill: var(--ok); } #note-reading .nr-right .nr-stem { stroke: var(--ok); }
#note-reading .nr-wrong .nr-head { fill: var(--bad); } #note-reading .nr-wrong .nr-stem { stroke: var(--bad); }
#note-reading .nr-name { fill: var(--ink); font: 600 11px var(--sans); }
#note-reading .nr-side { display: grid; grid-template-columns: 1fr; gap: 6px; flex: 0 0 110px; }
#note-reading .nr-stat { display: flex; flex-direction: column; justify-content: center; background: var(--strong); border-radius: 12px; padding: 4px 10px; }
#note-reading .nr-stat b { color: var(--ink); font-size: 18px; font-variant-numeric: tabular-nums; line-height: 1.2; }
#note-reading .nr-fb { text-align: center; font-weight: 600; color: var(--ink); min-height: 1.6em; margin: 8px 0 4px; }
#note-reading .nr-fb.ok { color: var(--ok); } #note-reading .nr-fb.bad { color: var(--bad); }
#note-reading .nr-result { margin: 4px 0 8px; }
#note-reading .nr-answers { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 560px; margin: 0 auto; }
#note-reading .nr-answers.nr-with-acc { grid-template-columns: repeat(14, minmax(0, 1fr)); grid-template-rows: 48px 52px; gap: 6px 4px; }
#note-reading .nr-key { min-height: 52px; border-radius: 12px; font: 600 18px/1.1 var(--sans); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; min-width: 0; }
#note-reading .nr-key small { font-size: 11px; font-weight: 500; opacity: .75; }
#note-reading .nr-key.wht { background: var(--card); color: var(--ink); border: 1px solid var(--line-strong); }
#note-reading .nr-key.blk { background: #1c1917; color: #fff; border: 1px solid #0c0a09; min-height: 48px; }
#note-reading .nr-with-acc .nr-key.blk { grid-row: 1; margin: 0 2px; } #note-reading .nr-with-acc .nr-key.wht { grid-row: 2; }
#note-reading .nr-key:not([disabled]):hover { border-color: var(--ink); }
#note-reading .nr-key[disabled] { cursor: default; opacity: .8; }
#note-reading .nr-key.ok { background: var(--ok); color: #fff; border-color: var(--ok); opacity: 1; }
#note-reading .nr-key.bad { background: var(--bad); color: #fff; border-color: var(--bad); opacity: 1; }
#note-reading .nr-piano .kb { margin-top: 10px; }
#note-reading .nr-mic { margin-top: 10px; }
#note-reading .nr-privacy { margin: 6px 0; }
#note-reading .nr-actions { margin-top: 12px; }
#note-reading .nr-settings { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
#note-reading .nr-settings summary { cursor: pointer; color: var(--ink); font-weight: 500; min-height: 36px; display: flex; align-items: center; }
#note-reading .nr-settings .row { margin-top: 8px; }
#note-reading .nr-keys { margin: 10px 0 0; }
#note-reading-heat .nr-h { margin: 0; font-size: 22px; }
#note-reading-heat .nr-heat { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; margin-top: 10px; }
#note-reading-heat .nr-cell { border-radius: 10px; padding: 6px 4px; text-align: center; border: 1px solid var(--line); background: var(--card); font-size: 12px; color: var(--body); }
#note-reading-heat .nr-cell b { display: block; color: var(--ink); font-size: 14px; }
#note-reading-heat .nr-cell i { font-style: normal; font-size: 10px; color: var(--muted); margin-left: 2px; }
#note-reading-heat .nr-cell.nr-good { border-color: var(--ok); box-shadow: inset 0 -4px 0 var(--ok); }
#note-reading-heat .nr-cell.nr-mid { border-color: var(--warn); box-shadow: inset 0 -4px 0 var(--warn); }
#note-reading-heat .nr-cell.nr-low { border-color: var(--bad); box-shadow: inset 0 -4px 0 var(--bad); }
@media (max-width: 560px) {
  #note-reading .nr-board { flex-direction: column; gap: 8px; }
  #note-reading .nr-side { grid-template-columns: repeat(4, 1fr); flex: none; }
  #note-reading .nr-stat { padding: 4px 6px; }
  #note-reading .nr-stat b { font-size: 16px; }
  #note-reading .nr-key { font-size: 16px; }
  #note-reading .nr-with-acc .nr-key.blk { margin: 0 1px; }
}
