
.nbm-intro{max-width:760px;margin:0 0 16px}
.nbm-board{position:relative;padding:24px}
.nbm-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;pointer-events:none}
.nbm-copy[hidden]{display:none}
.nbm-copy button,.nbm-copy input{pointer-events:auto}
.nbm-copy strong{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:200;font-size:clamp(34px,9vw,56px);line-height:1.1}
.nbm-copy strong small{font-size:.4em;font-weight:400;color:var(--muted)}
.nbm-digits{
  max-width:100%;overflow-wrap:anywhere;font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  font-weight:200;font-size:clamp(40px,10vw,72px);line-height:1.2;letter-spacing:.12em;padding-left:.12em;
}
.nbm-level{font-size:14px;font-weight:500;color:var(--muted);letter-spacing:.02em}
.nbm-level b{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:400}
.nbm-entry{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:4px;pointer-events:auto}
.nbm-entry input{
  width:min(320px,72vw);min-height:56px;padding:0 12px;background:var(--bg);color:var(--text);
  border:1px solid var(--line);border-radius:12px;font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:clamp(22px,6vw,30px);font-weight:400;letter-spacing:.18em;text-align:center;
}
.nbm-entry input:focus{outline:2px solid var(--accent);outline-offset:2px;border-color:transparent}
.nbm-entry .btn{min-width:110px}
.nbm-note{max-width:460px}
.nbm-rating{font-size:16px;font-weight:600;color:var(--text)}
.nbm-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
.nbm-kpis small{font-size:.55em;font-weight:400;color:var(--muted)}
.nbm-result{padding:14px 18px;margin:12px 0 14px}
.nbm-summary{font-weight:600;color:var(--text);margin:0}
.nbm-summary b{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:400}
.nbm-result b{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:400}
.nbm-result .result-actions{margin-top:10px}
.nbm-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;text-align:left}
.nbm-head h2{margin:0}
.nbm-history{width:100%;border-collapse:collapse;margin-top:8px;font-size:14px}
.nbm-history th,.nbm-history td{padding:8px 6px;border:0;border-bottom:1px solid var(--line);text-align:left;background:transparent}
.nbm-history th{font-size:11px;color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-weight:600}
.nbm-history td:first-child,.nbm-history td:nth-child(2),.nbm-history td:last-child{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:400}
.nbm-history td:last-child,.nbm-history th:last-child{text-align:right}
.nbm-history .rating-word{color:var(--muted);font-weight:600}
.nbm-timing{margin:10px 0 0;font-size:14px}
.nbm-timing th,.nbm-timing td{padding:7px 10px}
.nbm-timing td:last-child{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;text-align:right}
.nbm-refs{font-size:14px;color:var(--muted)}
.nbm-refs a{color:var(--muted)}
.nbm-refs a:hover{color:var(--accent)}
.nbm-share-canvas{position:absolute;left:-9999px;top:-9999px}
.nbm-board[data-state="study"],.nbm-board[data-state="recall"]{cursor:default}
.nbm-scale .you[hidden]{display:none}
@media(max-width:640px){
  .nbm-board{padding:18px}
  .nbm-entry input{width:min(280px,78vw)}
  .nbm-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .nbm-kpis .v{font-size:18px}
}
