/* ═══════════════════════════════════════════════════════════════
   Chord Charts Library — Main Stylesheet
   Aesthetic: editorial jazz club • dark • warm amber accents
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Design Tokens ─────────────────────────────────────────── */
:root {
  --c-bg:         #0e0d0b;
  --c-surface:    #161411;
  --c-surface-2:  #1e1b17;
  --c-border:     #2c2720;
  --c-border-2:   #3a3228;

  --c-text:       #e8dfc8;
  --c-text-muted: #7a6e5e;
  --c-text-dim:   #4a4238;

  --c-accent:     #e8952a;        /* warm amber */
  --c-accent-dim: #a36718;
  --c-accent-glow:#e8952a33;

  --c-irealb:     #2a6ee8;        /* irealb:// scheme */
  --c-irealbook:  #2ab86e;        /* irealbook:// scheme */

  --c-tag-groove: #8b3de8;
  --c-tag-style:  #e83d6e;

  --font-display: 'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    12px;
  --radius-pill:  999px;

  --shadow-sm:    0 1px 3px rgba(0,0,0,.5);
  --shadow-md:    0 4px 16px rgba(0,0,0,.6);
  --shadow-glow:  0 0 20px var(--c-accent-glow);

  --transition:   160ms ease;
  --page-width:   1400px;
  --nav-h:        58px;
}

/* ── 2. Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  background: var(--c-bg);
  color: var(--c-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: opacity var(--transition);
}
a:hover { opacity: .75; }

button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── 3. Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--c-surface); }
::-webkit-scrollbar-thumb { background: var(--c-border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-accent-dim); }

/* ── 4. Navbar ────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar__icon {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
}

.navbar__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0;
  color: #f0e6cf;
  white-space: nowrap;
}

.navbar__version {
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .06em;
  white-space: nowrap;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-size: 15px;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.nav-btn:hover {
  color: var(--c-text);
  background: var(--c-border);
  border-color: var(--c-border-2);
  opacity: 1;
}

.nav-btn--coffee:hover {
  color: var(--c-accent);
  border-color: var(--c-accent-dim);
  box-shadow: var(--shadow-glow);
}

/* ── 5. Main layout ───────────────────────────────────────────── */
.main-content {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ── 6. Hero ──────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-border);
}

.hero__summary {
  width: 100%;
}

.hero__summary::after {
  content: "";
  display: block;
  clear: both;
}

.hero__text {
  min-width: 0;
}

.hero__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--c-text);
  margin-bottom: 12px;
}

/* Accent on first word */
.hero__heading::first-line {
  color: var(--c-text);
}

.hero__description {
  color: var(--c-text-muted);
  font-size: 13px;
  max-width: none;
  line-height: 1.7;
}

.hero__description strong { color: var(--c-text); font-weight: 500; }

.hero__stats {
  float: right;
  margin: 0 0 10px 24px;
}

.data-loading {
  display: none;
  align-items: center;
  gap: 12px;
  margin: 4px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--c-border-2);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(232, 149, 42, 0.10), rgba(22, 20, 17, 0.92));
  color: var(--c-text);
  box-shadow: var(--shadow-sm);
}

.data-loading:not([hidden]) {
  display: inline-flex;
}

.data-loading__spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(232, 223, 200, 0.18);
  border-top-color: var(--c-accent);
  animation: data-loading-spin 900ms linear infinite;
  flex: 0 0 auto;
}

.data-loading__label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

@keyframes data-loading-spin {
  to { transform: rotate(360deg); }
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border-2);
  border-radius: var(--radius-md);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.stat-badge i { color: var(--c-accent); font-size: 14px; }

.stat-badge__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-accent);
  min-width: 40px;
  text-align: right;
}

.stat-badge__label {
  font-size: 11px;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.top-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.top-stat {
  min-width: 0;
  padding: 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
}

.top-stat__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--c-text-muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.top-stat__heading {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.top-stat__heading i {
  color: var(--c-accent);
  font-size: 11px;
}

.top-stat__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-accent);
  background: var(--c-surface-2);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.top-stat__toggle:hover {
  border-color: var(--c-accent-dim);
  background: var(--c-border);
}

.top-stat__toggle i {
  font-size: 10px;
}

.top-stat__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.top-stat-row {
  display: grid;
  grid-template-columns: 18px minmax(86px, 1fr) minmax(54px, .8fr) 48px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 24px;
  padding: 3px 5px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--c-text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: left;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.top-stat-row:hover,
.top-stat-row.active {
  background: var(--c-surface-2);
  color: var(--c-text);
}

.top-stat-row--style:hover,
.top-stat-row--style.active {
  border-color: rgba(232, 61, 110, .35);
}

.top-stat-row--groove:hover,
.top-stat-row--groove.active {
  border-color: rgba(139, 61, 232, .35);
}

.top-stat-row__rank {
  color: var(--c-text-dim);
  font-size: 9px;
  text-align: right;
}

.top-stat-row__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-stat-row__bar {
  position: relative;
  height: 5px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--c-border);
}

.top-stat-row__bar span {
  display: block;
  height: 100%;
  min-width: 2px;
  border-radius: inherit;
}

.top-stat-row--style .top-stat-row__bar span { background: var(--c-tag-style); }
.top-stat-row--groove .top-stat-row__bar span { background: var(--c-tag-groove); }

.top-stat-row__count {
  color: var(--c-text-dim);
  font-size: 9px;
  text-align: right;
}

/* ── 7. Filter Panel ──────────────────────────────────────────── */
.filter-panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.filter-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.filter-panel__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-reset {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text-dim);
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: .05em;
  transition: all var(--transition);
}

.btn-reset:hover {
  border-color: var(--c-accent-dim);
  color: var(--c-accent);
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px;
}

@media (max-width: 900px) {
  .filter-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .filter-grid { grid-template-columns: 1fr; }
  .top-stat-row {
    grid-template-columns: 18px minmax(0, 1fr) 48px;
  }
  .top-stat-row__bar {
    display: none;
  }
}

.filter-field__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-text-muted);
  margin-bottom: 6px;
}

.filter-field__label i {
  color: var(--c-accent);
  font-size: 11px;
  letter-spacing: 0;
}

/* Text input */
.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-text-dim);
  font-size: 12px;
  pointer-events: none;
}

.filter-input {
  width: 100%;
  padding: 8px 10px 8px 30px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-family: var(--font-mono);
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.filter-input::placeholder { color: var(--c-text-dim); }

.filter-input:focus {
  border-color: var(--c-accent-dim);
  box-shadow: 0 0 0 2px var(--c-accent-glow);
}

/* Tag input wrapper */
.tag-input-wrapper {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px;
  min-height: 36px;
  padding: 4px 8px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: text;
}

.tag-input-wrapper:focus-within {
  border-color: var(--c-accent-dim);
  box-shadow: 0 0 0 2px var(--c-accent-glow);
}

.tag-input__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.tag-input__field {
  flex: 1;
  min-width: 80px;
  border: none;
  background: transparent;
  color: var(--c-text);
  font-family: var(--font-mono);
  font-size: 13px;
  outline: none;
  padding: 2px 0;
}

.tag-input__field::placeholder { color: var(--c-text-dim); }

/* Filter tags */
.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}

.filter-tag--composer {
  background: rgba(232, 149, 42, .15);
  color: var(--c-accent);
  border: 1px solid rgba(232, 149, 42, .3);
}

.filter-tag--groove {
  background: rgba(139, 61, 232, .15);
  color: #b57aff;
  border: 1px solid rgba(139, 61, 232, .3);
}

.filter-tag--style {
  background: rgba(232, 61, 110, .15);
  color: #ff6b95;
  border: 1px solid rgba(232, 61, 110, .3);
}

.filter-tag__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  font-size: 9px;
  cursor: pointer;
  transition: background var(--transition);
}

.filter-tag__remove:hover { background: rgba(255,255,255,.25); }

/* Autocomplete suggestions */
.suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border-2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  display: none;
}

.suggestions.open { display: block; }

.suggestions__item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  transition: background var(--transition), color var(--transition);
}

.suggestions__item:last-child { border-bottom: none; }

.suggestions__item:hover,
.suggestions__item.active {
  background: var(--c-accent-glow);
  color: var(--c-accent);
}

/* ── 8. Results section ───────────────────────────────────────── */
.results-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.results-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.results-count {
  font-size: 11px;
  color: var(--c-text-dim);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ── 9. Table ─────────────────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
}

.charts-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 12px;
}

/* Header */
.charts-table thead th {
  padding: 10px 14px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface-2);
  white-space: nowrap;
  user-select: none;
}

.charts-table thead th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.charts-table thead th:last-child  { border-radius: 0 var(--radius-lg) 0 0; }

.charts-table th.sortable {
  cursor: pointer;
  transition: color var(--transition);
}

.charts-table th.sortable:hover { color: var(--c-accent); }
.charts-table th.sortable:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; }

.charts-table th.sort-asc  { color: var(--c-accent); }
.charts-table th.sort-desc { color: var(--c-accent); }

.sort-icon::after { content: ' ⇅'; opacity: .35; font-size: 9px; }
.sort-asc  .sort-icon::after { content: ' ↑'; opacity: 1; }
.sort-desc .sort-icon::after { content: ' ↓'; opacity: 1; }

/* Body rows */
.charts-table tbody tr {
  border-bottom: 1px solid var(--c-border);
  transition: background var(--transition);
}

.charts-table tbody tr:last-child { border-bottom: none; }
.charts-table tbody tr:hover { background: var(--c-surface-2); }

.charts-table tbody td {
  padding: 9px 14px;
  vertical-align: middle;
  color: var(--c-text);
}

/* Column widths */
.col-title    { min-width: 180px; }
.col-composer { min-width: 140px; }
.col-groove   { min-width: 120px; }
.col-style    { min-width: 120px; }
.col-key      { width: 60px; text-align: center; }
.col-bpm      { width: 64px; text-align: center; }
.col-open     { width: 70px; text-align: center; }
.col-view     { width: 60px; text-align: center; }

.charts-table th.col-view,
.charts-table td.col-view {
  position: sticky;
  left: 0;
  z-index: 3;
  min-width: 60px;
  background: var(--c-surface);
  box-shadow: 1px 0 0 var(--c-border);
}

.charts-table th.col-view {
  z-index: 5;
  background: var(--c-surface-2);
}

.charts-table tbody tr:hover td.col-view {
  background: var(--c-surface-2);
}

/* Clickable cell content */
.cell-link {
  cursor: pointer;
  color: var(--c-text);
  transition: color var(--transition);
  background: none;
  border: none;
  font: inherit;
  text-align: left;
  padding: 0;
}

.cell-link:hover { color: var(--c-accent); }

/* Inline tags (groove / style) */
.inline-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-family: var(--font-mono);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition);
  border: none;
  font-weight: 500;
}

.inline-tag:hover { opacity: .75; }

.inline-tag--groove {
  background: rgba(139, 61, 232, .18);
  color: #b57aff;
  border: 1px solid rgba(139, 61, 232, .3);
}

.inline-tag--style {
  background: rgba(232, 61, 110, .18);
  color: #ff6b95;
  border: 1px solid rgba(232, 61, 110, .3);
}

/* Key badge */
.key-badge {
  display: inline-block;
  padding: 2px 6px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border-2);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--c-text-muted);
}

/* BPM badge */
.bpm-value {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-text-muted);
}

/* Open / scheme tag */
.scheme-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 500;
  font-family: var(--font-mono);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
}

.scheme-tag:hover { opacity: .8; }

.scheme-tag--irealb {
  background: rgba(42, 110, 232, .18);
  color: #6da0ff;
  border-color: rgba(42, 110, 232, .35);
}

.scheme-tag--irealbook {
  background: rgba(42, 184, 110, .18);
  color: #5cd99a;
  border-color: rgba(42, 184, 110, .35);
}

/* Eye icon */
.view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text-dim);
  font-size: 12px;
  transition: color var(--transition), border-color var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.view-btn:hover {
  color: var(--c-accent);
  border-color: var(--c-accent-dim);
  opacity: 1;
}

/* Loading state */
.row--loading td { text-align: center; padding: 48px; }

.loader {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.loader span {
  width: 6px;
  height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
  animation: bounce 1s infinite;
}

.loader span:nth-child(2) { animation-delay: .15s; }
.loader span:nth-child(3) { animation-delay: .30s; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50%       { transform: translateY(-6px); opacity: 1; }
}

/* Empty state */
.row--empty td {
  text-align: center;
  padding: 64px;
  color: var(--c-text-dim);
  font-size: 13px;
}

/* ── 10. Pagination ───────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  transition: all var(--transition);
}

.page-btn:hover { border-color: var(--c-accent-dim); color: var(--c-accent); }

.page-btn.active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #0e0d0b;
  font-weight: 600;
}

.page-btn:disabled {
  opacity: .3;
  cursor: default;
}

/* ── 11. Footer ───────────────────────────────────────────────── */
.site-footer {
  text-align: center;
  padding: 24px 16px;
  color: var(--c-text-dim);
  font-size: 11px;
  border-top: 1px solid var(--c-border);
}

.site-footer a { color: var(--c-text-muted); }
.site-footer a:hover { color: var(--c-accent); opacity: 1; }

/* ── 12. Animations / entry ───────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.charts-table tbody tr {
  animation: fadeIn .2s ease both;
}

/* Stagger via JS-set style */

/* ── 13. MusicXML column ──────────────────────────────────────── */
.col-musicxml { width: 80px; text-align: center; }

.musicxml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 10px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border-2);
  background: var(--c-surface-2);
  color: var(--c-text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.musicxml-btn:hover {
  border-color: var(--c-accent-dim);
  color: var(--c-accent);
  background: var(--c-surface);
}

.musicxml-btn:disabled {
  opacity: .3;
  cursor: default;
}

.musicxml-btn--loading {
  color: var(--c-text-dim);
  cursor: wait;
}

.musicxml-btn i { font-size: 11px; }
