#beginner-book-tool { --bb-ink: #163d32; --bb-border: #cbded5; --bb-paper: #f5fbf8; color: var(--bb-ink); }
#tool-nav { flex-wrap: wrap; }
.bb-songs, .bb-note-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .8rem; }
.bb-songs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
#beginner-book-tool button { border: 1px solid var(--bb-border); border-radius: .65rem; background: white; color: var(--bb-ink); font: inherit; font-weight: 650; padding: .65rem .8rem; min-height: 44px; cursor: pointer; }
#beginner-book-tool button:hover:not(:disabled) { border-color: #4c9278; background: #e8f5ef; }
#beginner-book-tool button:disabled { opacity: .45; cursor: default; }
.bb-songs button { text-align: left; min-height: 6rem; }
.bb-songs .eyebrow { display: block; margin-bottom: .4rem; }
.bb-complete::after { content: " ✓"; }
.bb-frame { background: var(--bb-paper); border: 1px solid var(--bb-border); border-radius: 1rem; padding: clamp(.75rem, 2vw, 1.5rem); min-width: 0; }
.bb-toolbar, .bb-steps { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.bb-toolbar { justify-content: space-between; }
.bb-frame h1 { margin: .65rem 0; }
.bb-progress { display: flex; gap: .65rem; align-items: center; }
.bb-progress progress { flex: 1; min-width: 0; accent-color: #287356; }
.bb-steps { margin: .65rem 0; }
#beginner-book-tool [aria-current="step"], #beginner-book-tool .bb-primary { background: #225d48; color: white; }
#beginner-book-tool .bb-primary:hover, #beginner-book-tool [aria-current="step"]:hover { background: #184635; }
.bb-content { min-width: 0; }
.bb-content h4 { margin: .7rem 0 .25rem; }
.bb-score, .bb-rhythm { min-width: 0; margin: .5rem 0; background: white; border-radius: .55rem; overflow: hidden; }
.bb-score svg { display: block; max-width: 100%; }
.bb-note { border: 1px solid var(--bb-border); background: white; border-radius: .65rem; min-width: 0; text-align: center; padding: .8rem .65rem; }
.bb-note .fingering-diagram { max-width: 17rem; height: 8rem; margin-inline: auto; }
.bb-focus-mode { overflow: hidden; }
.bb-frame.bb-fullscreen { position: fixed; inset: 0; z-index: 1000; border: 0; border-radius: 0; overflow: auto; overscroll-behavior: contain; }
.bb-fullscreen .bb-navigation { position: sticky; bottom: -.75rem; padding: .5rem 0; background: var(--bb-paper); }
@media (max-width: 520px) {
  .bb-steps button { flex: 1 1 8rem; }
}

.bb-note .bb-score { width: min(100%, 8rem); margin-inline: auto; }
.bb-content select { min-height: 44px; padding: .4rem .6rem; font: inherit; }
#bb-book, #bb-instrument { min-height: 44px; padding: .4rem .6rem; font: inherit; max-width: 100%; }
