body.chord-building-page {
  min-height: 100vh;
  padding: 0;
  --chord-lab-active: #8f4cc7;
  --chord-lab-active-border: #d8a4ff;
  --chord-lab-panel: rgba(16, 31, 61, 0.9);
  --chord-lab-panel-text: #f5f8ff;
  --chord-lab-muted-text: #dce7f6;
}

.chord-lab-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.chord-lab-hero {
  margin-top: 18px;
}

body.chord-building-page .songs-hero-kicker,
body.chord-building-page .songs-hero-subtitle {
  color: var(--chord-lab-muted-text);
}

body.chord-building-page .songs-hero-title {
  color: var(--chord-lab-panel-text);
}

body.chord-building-page .songs-hero-accent {
  color: var(--gold, #f0c45b);
}

.chord-lab-shell {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  margin: 20px 0 42px;
}

.chord-lab-intro-card {
  grid-column: 1 / -1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--chord-lab-panel);
  box-shadow: 0 18px 36px rgba(4, 10, 24, 0.18);
  backdrop-filter: blur(16px);
  padding: 20px;
  border-radius: 20px;
}

.intro-card-header h2 {
  color: var(--chord-lab-panel-text);
  font-size: 1.25rem;
  margin: 4px 0 10px;
  font-weight: 800;
}

.intro-card-body {
  color: var(--chord-lab-muted-text);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 16px;
}

.intro-card-body strong {
  color: var(--chord-lab-panel-text);
  font-weight: 800;
}

.intro-intervals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.intro-interval-item {
  background: rgba(7, 16, 35, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  border-radius: 12px;
}

.interval-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.interval-tag.tone-root { background: rgba(240, 196, 91, 0.2); color: #f0c45b; }
.interval-tag.tone-third { background: rgba(42, 157, 181, 0.2); color: #2a9db5; }
.interval-tag.tone-fifth { background: rgba(106, 166, 255, 0.2); color: #6aa6ff; }
.interval-tag.tone-seventh { background: rgba(89, 216, 155, 0.2); color: #59d89b; }

.intro-interval-item p {
  color: #dce7f6;
  font-size: 0.82rem;
  line-height: 1.35;
  margin: 0;
}

.chord-lab-controls,
.chord-lab-stage,
.formula-card,
.change-card,
.fretboard-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--chord-lab-panel);
  box-shadow: 0 18px 36px rgba(4, 10, 24, 0.18);
  backdrop-filter: blur(16px);
}

.chord-lab-controls {
  position: sticky;
  top: 18px;
  align-self: start;
  display: grid;
  gap: 16px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 18px;
  border-radius: 18px;
}

.chord-lab-stage {
  align-self: start;
  display: grid;
  gap: 16px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 18px;
  border-radius: 22px;
}

.chord-lab-field,
.chord-lab-quality,
.chord-lab-fret-view {
  display: grid;
  gap: 8px;
  min-width: 0;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.chord-lab-field span,
.chord-lab-quality legend,
.chord-lab-fret-view legend,
.chord-lab-eyebrow {
  color: var(--gold, #f0c45b);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chord-lab-field select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(10, 22, 46, 0.92);
  color: #f5f8ff;
  -webkit-text-fill-color: #f5f8ff;
  caret-color: #f5f8ff;
  font: inherit;
  font-weight: 750;
}

.chord-lab-field select option {
  background: #fff;
  color: #16213a;
}

.chord-lab-quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.chord-lab-quality-panel,
.chord-lab-advanced-groups {
  display: grid;
  gap: 12px;
}

.chord-lab-quality-group {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.chord-lab-quality-group.is-common {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.chord-lab-group-heading {
  display: grid;
  gap: 2px;
}

.chord-lab-group-heading strong {
  color: #f4f8ff;
  font-size: 0.84rem;
  line-height: 1.2;
}

.chord-lab-group-heading span,
.chord-lab-advanced summary small {
  color: var(--chord-lab-muted-text);
  font-size: 0.72rem;
  line-height: 1.35;
}

.chord-lab-advanced {
  min-width: 0;
}

.chord-lab-advanced summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(216, 164, 255, 0.26);
  border-radius: 10px;
  background: rgba(7, 16, 35, 0.34);
  color: #f4f8ff;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
}

.chord-lab-advanced summary span,
.chord-lab-advanced summary small {
  min-width: 0;
}

.chord-lab-advanced summary small {
  grid-column: 1;
}

.chord-lab-advanced summary::after {
  content: "+";
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--gold, #f0c45b);
  font-size: 1rem;
}

.chord-lab-advanced summary::marker {
  content: "";
}

.chord-lab-advanced[open] summary {
  margin-bottom: 12px;
  border-color: rgba(216, 164, 255, 0.42);
}

.chord-lab-advanced[open] summary::after {
  content: "-";
}

.chord-lab-view-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.chord-lab-mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.build-actions {
  display: flex;
  justify-content: flex-start;
  margin: 10px 0 0;
}

.build-actions[hidden],
.build-result[hidden] {
  display: none;
}

.chord-lab-play-btn,
.chord-lab-mode-btn,
.chord-lab-clear-btn,
.identify-build-btn {
  width: auto;
}

.chord-lab-quality-btn,
.chord-lab-view-btn,
.chord-lab-mode-btn,
.chord-lab-clear-btn,
.identify-build-btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: #22365f;
  color: #f4f8ff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.chord-lab-quality-btn:hover,
.chord-lab-quality-btn:focus-visible,
.chord-lab-view-btn:hover,
.chord-lab-view-btn:focus-visible,
.chord-lab-mode-btn:hover,
.chord-lab-mode-btn:focus-visible,
.chord-lab-clear-btn:hover,
.chord-lab-clear-btn:focus-visible,
.identify-build-btn:hover,
.identify-build-btn:focus-visible {
  border-color: rgba(216, 164, 255, 0.82);
}

.chord-lab-quality-btn.is-active,
.chord-lab-view-btn.is-active,
.chord-lab-mode-btn.is-active {
  border-color: var(--chord-lab-active-border);
  background: var(--chord-lab-active);
  color: #fff;
}

.chord-lab-mode-btn,
.chord-lab-clear-btn,
.identify-build-btn {
  flex: 0 1 auto;
  width: auto;
  min-height: 32px;
  padding: 0 12px;
}

.chord-lab-clear-btn {
  margin-left: auto;
  background: rgba(7, 16, 35, 0.44);
}

.identify-build-btn {
  min-height: 36px;
  border-color: rgba(42, 157, 181, 0.62);
  background: #2a9db5;
  color: #061b28;
}

.identify-build-btn:disabled {
  background: #5f6d83;
  color: #dce7f6;
  cursor: not-allowed;
  opacity: 0.72;
}

.chord-lab-summary,
.formula-card-heading,
.fretboard-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.chord-lab-summary h2 {
  margin: 4px 0 0;
  color: var(--chord-lab-panel-text);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
}

.chord-context-bridge {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin-top: 12px;
}

.chord-context-bridge p {
  margin: 0;
  color: var(--chord-lab-muted-text);
  font-size: 0.95rem;
  line-height: 1.45;
}

.chord-lab-play-btn {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #2a9db5;
  color: #061b28;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.chord-lab-play-btn:hover,
.chord-lab-play-btn:focus-visible {
  filter: brightness(1.08);
}

.scale-studio-return {
  display: block;
  width: fit-content;
  margin-top: 6px;
  color: var(--brand-teal, #5BC4E5);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.scale-studio-return::after {
  content: " \2192";
  text-decoration: none;
}

.scale-studio-return:hover,
.scale-studio-return:focus-visible {
  color: #8fe5f6;
}

.chord-lab-play-btn:disabled {
  background: #5f6d83;
  color: #dce7f6;
  cursor: not-allowed;
  opacity: 0.72;
  filter: none;
}

.chord-lab-play-btn:disabled:hover,
.chord-lab-play-btn:disabled:focus-visible {
  filter: none;
}

.formula-card,
.change-card,
.fretboard-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 16px;
  border-radius: 16px;
}

.formula-card-heading span,
.formula-card-heading strong {
  color: #eef5ff;
  font-size: 0.92rem;
}

.formula-card-heading strong {
  color: var(--gold, #f0c45b);
}

.formula-card-heading .chord-lab-play-btn {
  min-height: 36px;
  padding: 0 14px;
}

.note-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.note-badge {
  width: auto;
  min-height: 0;
  display: grid;
  gap: 2px;
  min-width: 74px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(7, 16, 35, 0.58);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.note-badge b {
  font-size: 1.24rem;
  line-height: 1;
}

.note-badge span {
  color: rgba(238, 245, 255, 0.92);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voicing-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.voicing-detail {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: rgba(7, 16, 35, 0.38);
}

.voicing-detail span {
  display: block;
  margin-bottom: 3px;
  color: var(--chord-lab-muted-text);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voicing-detail strong {
  display: block;
  overflow-wrap: anywhere;
  color: #f6f9ff;
  font-size: 0.88rem;
  line-height: 1.25;
}

.note-badge[data-role="root"],
.tone-root {
  --tone-color: #f0c45b;
}

.note-badge[data-role="third"],
.note-badge[data-role="sus"],
.tone-third {
  --tone-color: #2a9db5;
}

.note-badge[data-role="fifth"],
.tone-fifth {
  --tone-color: #6aa6ff;
}

.note-badge[data-role="seventh"],
.tone-seventh {
  --tone-color: #59d89b;
}

.note-badge[data-role="added"],
.tone-added {
  --tone-color: #c084fc;
}

.note-badge[data-role="build"] {
  --tone-color: #9fb0c8;
}

.note-badge {
  border-color: color-mix(in srgb, var(--tone-color, #f0c45b) 62%, transparent);
  box-shadow: inset 4px 0 0 var(--tone-color, #f0c45b);
}

.build-empty-note {
  color: var(--chord-lab-muted-text);
  font-size: 0.9rem;
}

.build-result {
  display: grid;
  gap: 4px;
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid rgba(216, 164, 255, 0.28);
  border-radius: 12px;
  background: rgba(7, 16, 35, 0.34);
  color: var(--chord-lab-muted-text);
}

.build-result strong {
  color: #f4f8ff;
  font-size: 1rem;
}

.build-result span {
  font-size: 0.88rem;
  line-height: 1.45;
}

.chord-lab-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.4fr);
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}

.change-card h3,
.fretboard-card h3 {
  margin: 4px 0 8px;
  color: var(--chord-lab-panel-text);
  font-size: 1.2rem;
}

.change-card p,
.shape-hint,
.shape-disclaimer,
.chord-lab-sound {
  margin: 0;
  color: var(--chord-lab-muted-text);
  line-height: 1.55;
}

.shape-disclaimer {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(220, 231, 246, 0.82);
  font-size: 0.86rem;
}

.chord-lab-sound {
  margin-top: 12px;
}

.chord-lab-sound strong {
  color: #f4f8ff;
}

.definition-bridge {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  line-height: 1.45;
}

.definition-bridge a {
  color: var(--gold, #f0c45b);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.definition-bridge a:hover {
  color: #fff0b8;
}

.tone-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 12px;
  color: var(--chord-lab-muted-text);
  font-size: 0.76rem;
  font-weight: 750;
}

.tone-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.tone-chip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tone-color, #f0c45b);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone-color, #f0c45b) 24%, transparent);
}

.chord-lab-fretboard {
  display: grid;
  grid-template-columns: 48px repeat(var(--fret-count, 6), minmax(50px, 1fr));
  gap: 0;
  margin: 12px 0 10px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 26, 52, 0.96), rgba(8, 18, 38, 0.96));
}

.fret-header-cell,
.fret-cell,
.string-label-cell {
  min-height: 46px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(171, 190, 216, 0.26);
  border-bottom: 1px solid rgba(171, 190, 216, 0.2);
  color: #aebed3;
  font-size: 0.75rem;
  font-weight: 800;
}

.fret-cell,
.string-label-cell {
  position: relative;
  border-bottom: 0;
}

.fret-cell::before,
.string-label-cell::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: rgba(171, 190, 216, 0.32);
  pointer-events: none;
}

.fret-header-cell {
  min-height: 28px;
  background: #263b61;
  color: #f3f7ff;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.string-label-cell {
  position: sticky;
  left: 0;
  z-index: 1;
  background: rgba(7, 15, 32, 0.96);
  color: var(--gold, #f0c45b);
}

.fret-cell.is-open {
  background: rgba(240, 196, 91, 0.05);
}

/* Nut: thicker line between open strings and fret 1 (Open-5 window only). */
.chord-lab-fretboard.has-nut .fret-header-cell.is-nut,
.chord-lab-fretboard.has-nut .fret-cell.is-open {
  border-right: 5px solid rgba(236, 224, 196, 0.92);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.18);
}

.fret-note {
  position: relative;
  z-index: 1;
  width: 36px;
  min-width: 36px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tone-color, #f0c45b);
  color: #071225;
  font-size: 0.68rem;
  font-weight: 950;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone-color, #f0c45b) 24%, transparent);
  cursor: pointer;
}

.fret-note.is-muted {
  background: transparent;
  color: #91a2bd;
  box-shadow: none;
}

.build-fret-pick {
  position: relative;
  z-index: 1;
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 1px solid rgba(171, 190, 216, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: #071225;
  font-size: 0.72rem;
  font-weight: 950;
  cursor: pointer;
}

.build-fret-pick:hover,
.build-fret-pick:focus-visible {
  border-color: rgba(216, 164, 255, 0.82);
  background: rgba(216, 164, 255, 0.18);
}

.build-fret-pick.is-selected {
  border-color: #fff;
  background: var(--chord-lab-active);
  color: #fff;
  box-shadow:
    0 0 0 4px rgba(216, 164, 255, 0.24),
    0 0 14px rgba(216, 164, 255, 0.42);
}

.build-fret-pick.has-role {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  background: var(--tone-color, #f0c45b);
  color: #071225;
  display: grid;
  gap: 0;
  place-items: center;
}

.build-fret-pick.has-role span,
.build-fret-pick.has-role small {
  display: block;
  line-height: 1;
}

.build-fret-pick.has-role small {
  font-size: 0.52rem;
  font-weight: 950;
}

.fret-note.is-playing-shape-tone {
  transform: scale(1.12);
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow:
    0 0 0 5px rgba(240, 196, 91, 0.36),
    0 0 18px rgba(240, 196, 91, 0.68);
  z-index: 2;
}

.chord-lab-fretboard.is-playing-shape .fret-note:not(.is-playing-shape-tone) {
  opacity: 0.42;
}

:root[data-theme='light'] body.chord-building-page .chord-lab-controls,
:root[data-theme='light'] body.chord-building-page .chord-lab-stage,
:root[data-theme='light'] body.chord-building-page .chord-lab-intro-card,
:root[data-theme='light'] body.chord-building-page .formula-card,
:root[data-theme='light'] body.chord-building-page .change-card,
:root[data-theme='light'] body.chord-building-page .fretboard-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(16, 31, 61, 0.92);
  box-shadow: 0 18px 34px rgba(18, 31, 58, 0.18);
}

:root[data-theme='light'] body.chord-building-page .songs-hero-title,
:root[data-theme='light'] body.chord-building-page .chord-lab-summary h2,
:root[data-theme='light'] body.chord-building-page .change-card h3,
:root[data-theme='light'] body.chord-building-page .fretboard-card h3 {
  color: var(--chord-lab-panel-text);
}

:root[data-theme='light'] body.chord-building-page .songs-hero-kicker,
:root[data-theme='light'] body.chord-building-page .songs-hero-subtitle,
:root[data-theme='light'] body.chord-building-page .change-card p,
:root[data-theme='light'] body.chord-building-page .shape-hint,
:root[data-theme='light'] body.chord-building-page .shape-disclaimer,
:root[data-theme='light'] body.chord-building-page .chord-lab-sound,
:root[data-theme='light'] body.chord-building-page .definition-bridge,
:root[data-theme='light'] body.chord-building-page .tone-legend,
:root[data-theme='light'] body.chord-building-page .formula-card-heading span,
:root[data-theme='light'] body.chord-building-page .chord-lab-group-heading span,
:root[data-theme='light'] body.chord-building-page .chord-lab-advanced summary small {
  color: var(--chord-lab-muted-text);
}

:root[data-theme='light'] body.chord-building-page .chord-lab-field select {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(10, 22, 46, 0.92);
  color: #f5f8ff;
  -webkit-text-fill-color: #f5f8ff;
}

:root[data-theme='light'] body.chord-building-page .chord-lab-quality-btn,
:root[data-theme='light'] body.chord-building-page .chord-lab-view-btn,
:root[data-theme='light'] body.chord-building-page .chord-lab-mode-btn,
:root[data-theme='light'] body.chord-building-page .chord-lab-clear-btn,
:root[data-theme='light'] body.chord-building-page .identify-build-btn,
:root[data-theme='light'] body.chord-building-page .note-badge,
:root[data-theme='light'] body.chord-building-page .voicing-detail {
  background: #22365f;
  color: #f4f8ff;
}

:root[data-theme='light'] body.chord-building-page .identify-build-btn {
  background: #2a9db5;
  color: #061b28;
}

:root[data-theme='light'] body.chord-building-page .identify-build-btn:disabled {
  background: #5f6d83;
  color: #dce7f6;
}

:root[data-theme='light'] body.chord-building-page .chord-lab-quality-btn.is-active,
:root[data-theme='light'] body.chord-building-page .chord-lab-view-btn.is-active,
:root[data-theme='light'] body.chord-building-page .chord-lab-mode-btn.is-active {
  border-color: var(--chord-lab-active-border);
  background: var(--chord-lab-active);
  color: #fff;
}

@media (max-width: 860px) {
  .chord-lab-shell,
  .chord-lab-grid {
    grid-template-columns: 1fr;
  }

  .chord-lab-controls {
    position: static;
  }

  .chord-lab-summary,
  .fretboard-card-head {
    display: grid;
  }

  .tone-legend {
    justify-content: flex-start;
  }

  .voicing-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .chord-lab-wrap {
    width: min(calc(100% - 20px), 1180px);
  }

  .chord-lab-stage,
  .chord-lab-controls,
  .chord-lab-intro-card {
    padding: 14px;
  }

  .intro-intervals-grid {
    grid-template-columns: 1fr;
  }

  .chord-lab-quality-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .voicing-details {
    grid-template-columns: 1fr;
  }
}
