.notebook-explore { min-width: 0; padding: 1rem; border: 1px solid var(--music-border); border-radius: var(--music-radius); background: var(--music-surface); }
.notebook-explore[hidden], .notebook-explore [hidden] { display: none !important; }
.notebook-explore h2, .notebook-explore h3, .notebook-explore p { margin: 0 0 .75rem; overflow-wrap: anywhere; }
.notebook-explore h2 { font-size: 1.15rem; }
.notebook-explore h3 { font-size: 1rem; }
.notebook-explore .notebook-explore-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.notebook-explore .notebook-explore-header h2 { margin: 0; }
.notebook-explore .notebook-explore-actions, .notebook-explore .notebook-explore-controls { display: flex; align-items: end; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.notebook-explore .notebook-explore-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; flex: 1 1 10rem; }
.notebook-explore .notebook-explore-field select { width: 100%; }
.notebook-explore .notebook-explore-hint { font-size: .875rem; color: var(--music-muted); }
.notebook-explore .notebook-explore-error { color: var(--music-error); }
.notebook-explore .notebook-explore-error:empty, .notebook-explore .notebook-explore-hint:empty { display: none; }
.notebook-explore .notebook-explore-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.notebook-explore details { border-top: 1px solid var(--music-border); padding: .75rem 0; }
.notebook-explore summary { cursor: pointer; padding: .25rem 0; overflow-wrap: anywhere; }
.notebook-explore details[open] > summary { margin-bottom: .75rem; }
.notebook-explore .notebook-explore-chords, .notebook-explore .notebook-explore-voicings { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.notebook-explore .notebook-explore-voicings > li { display: flex; flex-direction: column; gap: .25rem; margin-bottom: .5rem; }
.notebook-explore .notebook-explore-preview { min-width: 0; border: 1px solid var(--music-border); border-radius: var(--music-radius); padding: .75rem; }
.notebook-explore .notebook-explore-preview > h3 { font-size: 1.25rem; }
.notebook-explore-fingerings { border-top: 1px solid var(--music-border); padding-top: .75rem; }
.notebook-explore-fingerings h4 { font-size: 1rem; margin: 0 0 .75rem; }
.notebook-explore .notebook-explore-actions:empty { display: none; }
.notebook-explore .notebook-explore-shape { width: 100%; table-layout: fixed; border-collapse: collapse; margin: .75rem 0; font-size: .8rem; }
.notebook-explore .notebook-explore-shape caption { text-align: left; margin-bottom: .5rem; }
.notebook-explore .notebook-explore-shape th, .notebook-explore .notebook-explore-shape td { padding: .35rem .1rem; text-align: center; border-bottom: 1px solid var(--music-border); overflow-wrap: anywhere; }
.notebook-explore .notebook-explore-matches { list-style: none; padding: 0; margin: 0; }
.notebook-explore .notebook-explore-candidate, .notebook-explore .notebook-explore-evidence { padding: .75rem; margin-bottom: .75rem; border: 1px solid var(--music-border); border-radius: var(--music-radius); }
.notebook-explore .notebook-explore-outliers { margin: 0 0 .75rem; padding-left: 1.25rem; font-size: .875rem; }
@media (max-width: 799px) {
  .notebook-explore { padding: .75rem; }
  .notebook-explore .notebook-explore-columns { grid-template-columns: minmax(0, 1fr); }
  .notebook-explore .notebook-explore-actions > button { max-width: 100%; white-space: normal; }
}
