/* Sunday Charts — All styles */
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: system-ui, sans-serif; background: #f5f0eb; color: #3a3535; padding: 0.2rem 1.2rem 1.2rem; font-size: 14px; }
  h1 { font-size: 1.1rem; color: #6b5b7b; margin: 0; padding-bottom: 4px; margin-right: 0.2rem; }
  #save-status { font-size: 0.65rem; color: #aaa; transition: color 0.3s; min-width: 3.2rem; text-align: right; }
  #save-status.saving { color: #d4915e; }
  #save-status.saved { color: #7ba888; }
  .subtitle { font-size: 0.75rem; color: #998e8e; margin-bottom: 0.8rem; line-height: 1.6; display: none; }
  .row { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.6rem; }
  button, input[type="file"] { font: inherit; padding: 0.3rem 0.6rem; border: 1px solid #cbc0b8; border-radius: 4px; background: #e8e0d8; color: #4a4040; cursor: pointer; font-size: 13px; }
  button:hover { background: #d9cfc5; }
  button:disabled { opacity: 0.4; cursor: default; }
  button.active { background: #c5ddc9; border-color: #7ba888; }
  select { font: inherit; padding: 0.3rem 0.5rem; background: #e8e0d8; color: #4a4040; border: 1px solid #cbc0b8; border-radius: 4px; min-width: 180px; }

  #audio-bar { border: 2px dashed #c5b8ae; border-radius: 6px; padding: 0.4rem 0.8rem; text-align: center; font-size: 0.85rem; color: #7a6e6e; display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 36px; margin-bottom: 0; }
  #audio-bar p { margin: 0; }
  #audio-bar.dragover { border-color: #8faec4; background: #f0f6fa; }
  #audio-bar.loaded { border-color: #7ba888; border-style: solid; background: #f0f7f2; }
  #audio-bar .audio-bar-name { color: #3a3535; font-weight: 500; }
  #audio-bar #btn-change-audio { font-size: 11px; padding: 2px 8px; }
  #audio-bar #file-input { display: none; }

  #waveform-container { position: relative; height: 110px; background: #e0d8d0; border-radius: 4px; margin-bottom: 0.3rem; cursor: pointer; overflow: hidden; }
  canvas { width: 100%; height: 100%; display: block; }
  .time-row { display: flex; align-items: center; justify-content: center; gap: 1rem; }
  #time-display { font-size: 1.5rem; font-variant-numeric: tabular-nums; color: #4a4040; }
  #speed-display { font-size: 0.85rem; color: #c47a4a; font-weight: bold; }

  /* Chord display */
  #chord-display { text-align: center; margin: 0.6rem 0; }
  #chord-section { font-size: 0.85rem; color: #8a7a9a; font-style: italic; }
  #chord-prev { font-size: 1rem; color: #b0a5a5; }
  #chord-current { font-size: 2.8rem; font-weight: bold; color: #6a9b78; margin: 0.2rem 0; cursor: pointer; user-select: none; transition: text-shadow 0.1s; }
  #chord-current:hover { text-shadow: 0 0 12px rgba(106,155,120,0.4); }
  #chord-current.unassigned { color: #c47a4a; }
  #chord-lyric { font-size: 1.05rem; color: #7a6e6e; font-style: italic; }
  #chord-next { font-size: 0.8rem; color: #998e8e; }
  #chord-progress { font-size: 0.8rem; color: #b0a5a5; margin-top: 0.3rem; }
  #chord-ref { font-size: 0.75rem; color: #b0a5a5; margin-top: 0.1rem; }

  /* Chord palette */
  #chord-panel { margin: 0.6rem 0; }
  #palette-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.3rem; font-size: 0.8rem; }
  #palette-key-label { color: #8a7a9a; font-weight: bold; }
  #palette-grid { width: 100%; border-collapse: separate; border-spacing: 3px; background: linear-gradient(145deg, #ede7df 0%, #e6ddd4 100%); border-radius: 8px; padding: 6px; box-shadow: inset 0 1px 3px rgba(0,0,0,0.05); }
  #palette-grid th { font-size: 0.7rem; color: #7a6a6a; text-align: center; padding: 2px 0; font-weight: 600; letter-spacing: 0.02em; }
  #palette-grid td { text-align: center; padding: 0; }
  .pal-cell { display: block; padding: 4px 2px; font-size: 11px; border-radius: 5px; cursor: pointer; background: #f7f2ed; border: 1px solid #ddd5cc; color: #5a4e4e; user-select: none; white-space: nowrap; transition: all 0.15s ease; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
  .pal-cell:hover { background: #eee6dc; border-color: #a0bdd0; transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,0.08); }
  .pal-cell:active { transform: scale(0.92); box-shadow: inset 0 1px 3px rgba(0,0,0,0.12); transition: transform 0.06s ease; }
  /* Triads — prominent chord buttons */
  .pal-cell.triad { font-weight: bold; font-size: 14px; padding: 7px 2px; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.06); }
  /* Major triads (warm green) */
  .pal-cell.triad.pal-maj { background: linear-gradient(to bottom, #e2f0e0, #d6ead0); border-color: #8aba90; color: #2d5a35; }
  .pal-cell.triad.pal-maj:hover { background: linear-gradient(to bottom, #d5e8d2, #c6dcc2); box-shadow: 0 3px 10px rgba(90,154,104,0.2); }
  /* Minor triads (soft lavender) */
  .pal-cell.triad.pal-min { background: linear-gradient(to bottom, #e4dff0, #dbd4ec); border-color: #a498c4; color: #3d3560; }
  .pal-cell.triad.pal-min:hover { background: linear-gradient(to bottom, #d8d2ea, #ccc4e0); box-shadow: 0 3px 10px rgba(120,110,170,0.2); }
  /* Diminished triads (warm amber) */
  .pal-cell.triad.pal-dim { background: linear-gradient(to bottom, #f0e6d8, #eadcc4); border-color: #c4a878; color: #5a4828; }
  .pal-cell.triad.pal-dim:hover { background: linear-gradient(to bottom, #e8dcc8, #ddd0b8); box-shadow: 0 3px 10px rgba(180,150,90,0.2); }
  /* Augmented triads (soft rose) */
  .pal-cell.triad.pal-aug { background: linear-gradient(to bottom, #f0e0e0, #ead4d4); border-color: #c4908a; color: #5a3030; }
  .pal-cell.triad.pal-aug:hover { background: linear-gradient(to bottom, #e8d4d4, #ddc8c8); box-shadow: 0 3px 10px rgba(170,110,110,0.2); }
  /* Extension cells — lighter tints of parent quality */
  .pal-cell.pal-maj-ext { background: #edf5ec; border-color: #b8d4b8; color: #4a6a4e; }
  .pal-cell.pal-maj-ext:hover { background: #e0eedf; }
  .pal-cell.pal-min-ext { background: #eeeaf5; border-color: #c4b8d4; color: #4a4060; }
  .pal-cell.pal-min-ext:hover { background: #e4dff0; }
  .pal-cell.pal-dim-ext { background: #f5f0e5; border-color: #d4c4a8; color: #5a5038; }
  .pal-cell.pal-dim-ext:hover { background: #eee8da; }
  /* Sus chords — neutral warmth, italic */
  .pal-cell.pal-sus { background: #f2ede8; border-color: #d0c8be; color: #6a5e5e; font-style: italic; }
  .pal-cell.pal-sus:hover { background: #e8e2da; }
  /* Active chord — glowing ring */
  .pal-cell.active { background: #b0d8b4 !important; border-color: #4a9a58 !important; box-shadow: 0 0 0 2px rgba(74,154,88,0.2), 0 0 12px rgba(74,154,88,0.15) !important; transform: scale(1.02); }
  /* Assign pop animation */
  @keyframes pal-pop { 0% { transform: scale(0.88); } 50% { transform: scale(1.06); } 100% { transform: scale(1); } }
  .pal-cell.assign-pop { animation: pal-pop 0.25s ease-out; }
  /* Preview flash */
  .pal-cell.preview-flash { background: #c4dcea !important; border-color: #6a9abc !important; box-shadow: 0 0 8px rgba(106,154,188,0.3); }

  /* Assign mode — palette visual change */
  #palette-grid.assign-mode { box-shadow: inset 0 0 0 2px #c47a4a, inset 0 1px 3px rgba(0,0,0,0.05); }
  .assign-indicator { display: none; font-size: 10px; color: #c47a4a; font-weight: 600; }
  .assign-mode-on .assign-indicator { display: inline; }
  .pal-cell.empty { visibility: hidden; cursor: default; }
  /* Section separator */
  .pal-sep td { height: 8px; border-top: 1px solid transparent; }
  .pal-sep-label { font-size: 0.62rem; color: #8a7a7a; text-align: left; padding: 3px 6px !important; font-weight: 500; letter-spacing: 0.03em; background: linear-gradient(90deg, rgba(140,120,140,0.08), transparent 60%); border-radius: 3px; }

  /* Piano visualization */
  #piano-container { background: #ebe4dc; border-radius: 6px; padding: 4px 6px; margin-top: 4px; position: relative; }
  #piano-canvas { width: 100%; height: 80px; display: block; cursor: default; }
  #piano-ranges { position: relative; height: 14px; margin-top: 2px; }
  .range-bar { position: absolute; height: 10px; top: 2px; border-radius: 4px; cursor: grab; border: 2px dotted; z-index: 5; min-width: 20px; }
  .range-bar:hover { filter: brightness(1.2); }
  .range-bar:active { cursor: grabbing; }
  #range-lh { border-color: #b48bc8; background: rgba(180,139,200,0.2); }
  #range-rh { border-color: #d4915e; background: rgba(212,145,94,0.2); }

  /* Context menu */
  #chord-context-menu { position: fixed; display: none; background: #f5f0eb; border: 1px solid #c5b8ae; border-radius: 6px; padding: 6px; z-index: 1000; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
  #chord-context-menu .ctx-title { font-size: 11px; color: #8a7a9a; text-align: center; padding: 2px 0 4px; border-bottom: 1px solid #d8cfc5; margin-bottom: 4px; }
  #chord-context-menu .ctx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }

  /* Lyrics word context menu */
  #lyrics-context-menu { position: fixed; display: none; background: #faf7f3; border: 1px solid #c5b8ae; border-radius: 6px; padding: 4px 0; z-index: 1001; box-shadow: 0 4px 16px rgba(0,0,0,0.18); min-width: 180px; }
  #lyrics-context-menu .lcm-item { display: flex; align-items: center; gap: 8px; padding: 6px 14px; font-size: 12px; color: #4a4040; cursor: pointer; white-space: nowrap; border: none; background: none; width: 100%; text-align: left; font-family: inherit; }
  #lyrics-context-menu .lcm-item:hover { background: #ebe4dc; }
  #lyrics-context-menu .lcm-item.disabled { color: #b0a8a0; cursor: default; }
  #lyrics-context-menu .lcm-item.disabled:hover { background: none; }
  #lyrics-context-menu .lcm-item.destructive { color: #c07070; }
  #lyrics-context-menu .lcm-item.destructive:hover { background: #f0e0e0; }
  #lyrics-context-menu .lcm-sep { height: 1px; background: #d8cfc5; margin: 3px 8px; }
  #lyrics-context-menu .lcm-icon { width: 16px; text-align: center; font-size: 13px; flex-shrink: 0; }
  .ctx-custom { padding: 2px 0 4px; }
  .ctx-custom-input { width: 100%; box-sizing: border-box; padding: 4px 6px; font-size: 12px; border: 1px solid #c5b8ae; border-radius: 3px; background: #fff; color: #4a4040; font-family: inherit; }
  .ctx-custom-input:focus { outline: none; border-color: #8faec4; }
  .ctx-item { padding: 5px 8px; font-size: 12px; border-radius: 3px; cursor: pointer; text-align: center; background: #ebe4dc; border: 1px solid #d0c5bb; color: #4a4040; white-space: nowrap; }
  .ctx-item:hover { background: #d9cfc5; border-color: #8faec4; }
  .ctx-slash { font-size: 10px; padding: 3px 5px; background: #e5dfd8; color: #6a6060; }

  .stats { display: flex; gap: 1.5rem; justify-content: center; font-size: 0.8rem; color: #998e8e; margin: 0.3rem 0; }
  #onset-list { max-height: 200px; overflow-y: auto; background: #ebe4dc; border-radius: 4px; padding: 0.4rem; margin-top: 0.5rem; font-size: 0.75rem; font-family: 'Consolas', monospace; }
  .tap-helper-text { font-size: 0.75rem; color: #998e8e; margin: 0.4rem 0 0.6rem; line-height: 1.4; }
  #onset-tools-details { margin-top: 0.4rem; }
  #onset-tools-details > summary { font-size: 0.8rem; color: #6b5b7b; cursor: pointer; padding: 0.3rem 0; user-select: none; list-style: none; }
  #onset-tools-details > summary::-webkit-details-marker { display: none; }
  #onset-tools-details > summary::before { content: '\25b6'; display: inline-block; margin-right: 0.4rem; font-size: 0.65rem; transition: transform 0.15s; }
  #onset-tools-details[open] > summary::before { transform: rotate(90deg); }
  #onset-tools-details > .onset-tools-body { padding-top: 0.4rem; }
  .onset-item { display: flex; gap: 0.8rem; align-items: center; padding: 0.15rem 0.3rem; border-bottom: 1px solid #d8cfc5; transition: background 0.15s; }
  .onset-item:hover { background: #e2d8ce; }
  .onset-item.active { background: #d0e4d2; border-left: 3px solid #7ba888; }
  .onset-item.selected { background: #d8d0e4; border-left: 3px solid #9a85b0; }
  .onset-item .chord-label { color: #5a8a65; font-weight: bold; min-width: 44px; cursor: pointer; }
  .onset-item .chord-label:hover { text-shadow: 0 0 4px rgba(90,138,101,0.4); }
  .onset-item .chord-label.unassigned { color: #c47a4a; }
  .onset-item .section-label { color: #8a7a9a; min-width: 70px; font-size: 0.7rem; cursor: pointer; }
  .onset-item .section-label:hover { text-decoration: underline; }
  .onset-item .time-label { cursor: pointer; }
  .onset-item .time-label:hover { color: #6a8aaa; }
  .onset-item .delete { color: #c07070; cursor: pointer; opacity: 0.5; margin-left: auto; }
  .onset-item .delete:hover { opacity: 1; }

  #export-area { margin-top: 0.6rem; }
  textarea { width: 100%; height: 90px; font-family: 'Consolas', monospace; font-size: 0.7rem; background: #ebe4dc; color: #4a4040; border: 1px solid #cbc0b8; border-radius: 4px; padding: 0.4rem; resize: vertical; }
  .key-badge { display: inline-block; background: #e8e0d8; padding: 1px 5px; border-radius: 3px; font-size: 11px; font-family: monospace; border: 1px solid #cbc0b8; color: #5a4e4e; }

  /* Lyrics panel */
  #lyrics-panel { padding: 0.3rem; }
  #lyrics-input { height: 120px; }
  #lyrics-words { padding: 0.5rem; background: #f5f0eb; border-radius: 4px; line-height: 1.4; min-height: 40px; font-size: 0.85rem; user-select: none; -webkit-user-select: none; }
  .lyrics-section { display: block; color: #8a7a9a; font-weight: bold; font-size: 0.8rem; margin: 0.4rem 0 0.1rem; border-left: 3px solid #8a7a9a; padding-left: 6px; background: rgba(138,122,154,0.08); border-radius: 0 3px 3px 0; cursor: context-menu; }
  .lyrics-section[data-section-type="verse"]   { border-left-color: #5a8a65; color: #5a8a65; background: rgba(90,138,101,0.08); }
  .lyrics-section[data-section-type="chorus"]  { border-left-color: #c47a4a; color: #c47a4a; background: rgba(196,122,74,0.08); }
  .lyrics-section[data-section-type="bridge"]  { border-left-color: #6a8aaa; color: #6a8aaa; background: rgba(106,138,170,0.08); }
  .lyrics-section[data-section-type="intro"]   { border-left-color: #9a85b0; color: #9a85b0; background: rgba(154,133,176,0.08); }
  .lyrics-section[data-section-type="outro"]   { border-left-color: #9a85b0; color: #9a85b0; background: rgba(154,133,176,0.08); }
  .lyrics-section[data-section-type="prechorus"]{ border-left-color: #b08a60; color: #b08a60; background: rgba(176,138,96,0.08); }
  .lyrics-section[data-section-type="hook"]    { border-left-color: #c47a4a; color: #c47a4a; background: rgba(196,122,74,0.08); }
  .lyrics-section[data-section-type="tag"]     { border-left-color: #b08a60; color: #b08a60; background: rgba(176,138,96,0.08); }
  .lyrics-section[data-chorus-role="canonical"]::after { content: " \00b7  1st"; font-size: 0.7em; font-weight: normal; opacity: 0.6; }
  .lyrics-section[data-chorus-role="repeat"] { opacity: 0.72; }
  .lyrics-section[data-chorus-role="repeat"]::after { content: " \00b7  repeat"; font-size: 0.7em; font-weight: normal; opacity: 0.6; }
  #lyrics-context-menu .lcm-info { display: flex; align-items: center; gap: 8px; padding: 5px 14px; font-size: 11px; color: #8a7a6a; white-space: nowrap; font-style: italic; }
  .lyrics-word { display: inline-block; padding: 0.15em 2px 0.15em; cursor: pointer; border-radius: 3px; position: relative; margin: 1.1em 1px 0; transition: color 0.2s ease, background 0.3s ease, box-shadow 0.3s ease; }
  .lyrics-word:hover { background: #e2d8ce; }
  .lyrics-word.has-chord { border-bottom: 2px solid #7ba888; }
  .lyrics-word.selected { background: #d8d0e4; border-bottom: 2px solid #9a85b0; }
  /* Karaoke: progressive left-to-right fill driven by --kp custom property */
  .lyrics-word.karaoke-active { background: linear-gradient(to right, rgba(106,180,120,0.38) calc(var(--kp,0) * 1%), rgba(106,180,120,0.06) calc(var(--kp,0) * 1%)); color: #2d5a35; box-shadow: 0 1px 6px rgba(106,155,120,0.15); transition: none; }
  .lyrics-word.karaoke-active .word-chord { color: #2d5a35; }
  .lyrics-word.karaoke-active.selected { background: linear-gradient(to right, rgba(120,90,154,0.3) calc(var(--kp,0) * 1%), rgba(120,90,154,0.06) calc(var(--kp,0) * 1%)); color: #3d3560; }
  @keyframes karaoke-sung-fade {
    0%   { color: #2d5a35; background: rgba(106,180,120,0.38); box-shadow: 0 1px 6px rgba(106,155,120,0.15); }
    20%  { color: #6a9b78; background: rgba(106,180,120,0.13); box-shadow: none; }
    100% { color: inherit; background: transparent; box-shadow: none; }
  }
  .lyrics-word.karaoke-sung { animation: karaoke-sung-fade 1.5s ease-out forwards; }
  .lyrics-word.karaoke-sung .word-chord { animation: karaoke-sung-fade 1.5s ease-out forwards; }
  .lyrics-word.selected .word-chord { color: #7b5b9a; }
  .lyrics-word .word-chords { position: absolute; top: -1.0em; left: 0; display: flex; gap: 3px; pointer-events: none; }
  .lyrics-word .word-chords.multi { left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; }
  .lyrics-word .word-chords.multi .word-chord { text-align: center; }
  .lyrics-word .word-chord { font-size: 0.65rem; color: #5a8a65; font-weight: bold; white-space: nowrap; }
  .lyrics-gap { display: inline-block; width: 6px; cursor: pointer; border-radius: 2px; position: relative; margin: 1.1em 0 0; vertical-align: top; min-height: 1.2em; }
  .lyrics-gap:hover { background: #d8e8dc; }
  .lyrics-gap.has-chord { width: auto; min-width: 10px; padding: 0 2px; border-bottom: 2px solid #7ba888; z-index: 1; }
  .lyrics-gap .word-chord { position: absolute; top: -1.0em; left: 0; font-size: 0.65rem; color: #5a8a65; font-weight: bold; white-space: nowrap; pointer-events: none; display: inline; }
  /* Multi-chord zones (Shift+hover) */
  .lyrics-word.zone-mode { padding: 0; min-width: 3em; }
  .lyrics-word.zone-mode .word-zone { display: inline-block; width: 33.33%; padding: 0.15em 2px; text-align: center; box-sizing: border-box; cursor: pointer; position: relative; vertical-align: top; }
  .lyrics-word.zone-mode .word-zone:not(:last-child) { border-right: 1px dashed #c5b8ae; }
  .lyrics-word.zone-mode .word-zone:hover { background: #e2d8ce; }
  .lyrics-word.zone-mode .word-zone .word-chord { position: absolute; top: -1.0em; left: 50%; transform: translateX(-50%); font-size: 0.65rem; color: #5a8a65; font-weight: bold; white-space: nowrap; pointer-events: none; }
  .lyrics-word.zone-mode .word-text { display: block; font-size: 0.7em; color: #8a7a9a; text-align: center; pointer-events: none; }
  .lyrics-blank { display: block; height: 0.5rem; }
  .time-line { display: block; position: relative; overflow: visible; }
  .grid-pipe { color: #555; font-size: 0.85rem; }
  .grid-chord { font-weight: bold; color: #9a85b0; font-size: 0.95rem; }
  #lyrics-edit-status { font-size: 0.7rem; color: #8a7a9a; padding: 0.15rem 0.5rem; min-height: 1.2em; transition: color 0.2s, background 0.3s, border-color 0.3s; }
  #lyrics-edit-status .chord-name { font-weight: bold; color: #7b5b9a; }
  #lyrics-edit-status .hint { color: #b0a5a5; }
  .status-hint-secondary { font-size: 0.6rem; color: #9a9090; margin-top: 2px; }
  /* Place-mode visual states */
  #lyrics-words.place-mode .lyrics-word { cursor: crosshair; }
  #lyrics-words.place-mode .lyrics-word:hover { background: #d8e8dc; }
  #lyrics-words.place-mode .lyrics-gap { cursor: crosshair; }
  #lyrics-edit-status.place-mode-status { border-left: 3px solid #7ba888; background: rgba(123,168,136,0.08); padding-left: 0.5rem; }
  @keyframes status-attention-pulse {
    0% { box-shadow: 0 0 0 0 rgba(123,168,136,0.5); }
    50% { box-shadow: 0 0 8px 2px rgba(123,168,136,0.35); }
    100% { box-shadow: 0 0 0 0 rgba(123,168,136,0); }
  }
  #lyrics-edit-status.status-attention { animation: status-attention-pulse 2s ease-out; }
  /* Inline chord picker */
  #word-chord-picker { position: fixed; display: none; background: #faf7f3; border: 1px solid #c5b8ae; border-radius: 6px; padding: 6px; z-index: 1000; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
  #word-chord-picker input { font: inherit; font-size: 12px; width: 80px; padding: 3px 6px; border: 1px solid #cbc0b8; border-radius: 3px; background: #f5f0eb; color: #4a4040; }
  #word-chord-picker .picker-recent { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; max-width: 200px; }
  #word-chord-picker .picker-btn { padding: 3px 7px; font-size: 11px; border-radius: 3px; cursor: pointer; background: #ebe4dc; border: 1px solid #d0c5bb; color: #4a4040; white-space: nowrap; }
  #word-chord-picker .picker-btn:hover { background: #d9cfc5; border-color: #8faec4; }
  #chord-chart-output { background: #fff; color: #3a3535; padding: 0.6rem; border-radius: 4px; font-family: 'Courier New', Consolas, monospace; font-size: 12px; white-space: pre; overflow-x: auto; overflow-y: auto; max-height: 15vh; line-height: 1.5; margin-top: 0.4rem; }
  #chord-chart-output.chordpro-rendered { white-space: normal; font-family: system-ui, sans-serif; font-size: 13px; line-height: 1.4; max-height: 15vh; }
  #chord-chart-output.chordpro-rendered .paragraph { margin-bottom: 0.8em; }
  #chord-chart-output.chordpro-rendered .row { display: flex; flex-wrap: nowrap; }
  #chord-chart-output.chordpro-rendered .chord { font-weight: bold; color: #6b5b7b; font-size: 12px; padding-right: 2px; }
  #chord-chart-output.chordpro-rendered .lyrics { font-size: 13px; }
  #chord-chart-output.chordpro-rendered .chord:after, #chord-chart-output.chordpro-rendered .lyrics:after { content: '\200b'; }
  #chord-chart-output.chordpro-rendered .label { color: #998e8e; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
  #chord-chart-output.chordpro-rendered .literal .contents { font-family: 'Courier New', Consolas, monospace; font-size: 12px; color: #6b5b7b; font-weight: bold; }
  #chord-chart-output.chordpro-rendered .comment { color: #998e8e; font-style: italic; font-size: 11px; }
  #chordpro-editor { width: 100%; min-height: 200px; max-height: 20vh; background: #fff; color: #3a3535; padding: 0.6rem; border-radius: 4px; font-family: 'Courier New', Consolas, monospace; font-size: 12px; line-height: 1.5; margin-top: 0.4rem; resize: vertical; border: 2px solid #8faec4; overflow-y: auto; }

  /* Chord chart import */
  #chord-chart-import { display: none; font-size: 0.72rem; padding: 0.2rem 0; }
  #chord-chart-import a { color: #6b5b7b; cursor: pointer; text-decoration: underline; }
  #chord-chart-import a:hover { color: #4a3a5a; }

  /* Help modal */
  #help-overlay { position: fixed; inset: 0; background: rgba(60,50,50,0.5); z-index: 2000; display: none; align-items: center; justify-content: center; }
  #help-overlay.open { display: flex; }
  #help-modal { background: #faf7f3; border: 1px solid #c5b8ae; border-radius: 10px; max-width: 680px; width: 95%; max-height: 90vh; overflow-y: auto; padding: 1.5rem 2rem; color: #4a4040; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
  #help-modal h2 { color: #6b5b7b; font-size: 1.2rem; margin: 0 0 1rem; }
  #help-modal h3 { color: #5a8a65; font-size: 0.95rem; margin: 1rem 0 0.3rem; }
  #help-modal p { font-size: 0.82rem; line-height: 1.5; color: #5a4e4e; margin: 0 0 0.4rem; }
  #help-modal .help-kbd { background: #e8e0d8; padding: 1px 6px; border-radius: 3px; font-family: monospace; font-size: 0.8rem; border: 1px solid #cbc0b8; color: #4a4040; }
  #help-modal .help-step { color: #c47a4a; font-weight: bold; }
  #help-modal .help-section { border-top: 1px solid #e0d8d0; padding-top: 0.6rem; margin-top: 0.8rem; }
  #help-modal .close-help { float: right; background: none; border: none; color: #998e8e; font-size: 1.3rem; cursor: pointer; padding: 0 0.3rem; }
  #help-modal .close-help:hover { color: #4a4040; }
  #btn-help { background: none; border: 1px solid #cbc0b8; color: #8a7a9a; font-size: 0.85rem; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; margin-right: 0.2rem; }
  #btn-help:hover { background: #e2d8ce; border-color: #8a7a9a; }

  /* Overwrite confirmation dialog */
  #overwrite-overlay { position: fixed; inset: 0; background: rgba(60,50,50,0.5); z-index: 2500; display: none; align-items: center; justify-content: center; }
  #overwrite-overlay.open { display: flex; }
  #overwrite-dialog { background: #faf7f3; border: 1px solid #c5b8ae; border-radius: 10px; max-width: 420px; width: 90%; padding: 1.5rem 2rem; color: #4a4040; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
  #overwrite-dialog h3 { color: #c47a4a; font-size: 1rem; margin: 0 0 0.8rem; }
  #overwrite-dialog p { font-size: 0.85rem; line-height: 1.5; color: #5a4e4e; margin: 0 0 1rem; }
  #overwrite-dialog .overwrite-btns { display: flex; gap: 0.5rem; justify-content: flex-end; flex-wrap: wrap; }
  #overwrite-dialog .overwrite-btns button { padding: 0.4rem 1rem; border-radius: 6px; font-size: 0.82rem; cursor: pointer; border: 1px solid #c5b8ae; }
  #overwrite-dialog .btn-overwrite-export { background: #e8e0d8; color: #4a4040; }
  #overwrite-dialog .btn-overwrite-export:hover { background: #d8cfc5; }
  #overwrite-dialog .btn-overwrite-cancel { background: #faf7f3; color: #4a4040; }
  #overwrite-dialog .btn-overwrite-cancel:hover { background: #f0ebe5; }
  #overwrite-dialog .btn-overwrite-confirm { background: #c47a4a; color: #fff; border-color: #c47a4a; }
  #overwrite-dialog .btn-overwrite-confirm:hover { background: #b06a3a; }

  /* Shortcuts overlay */
  #btn-shortcuts-help { background: none; border: 1px solid #cbc0b8; color: #8a7a9a; font-size: 0.7rem; height: 22px; border-radius: 4px; display: flex; align-items: center; justify-content: center; padding: 0 6px; cursor: pointer; margin-right: 0.2rem; gap: 3px; white-space: nowrap; }
  #btn-shortcuts-help:hover { background: #e2d8ce; border-color: #8a7a9a; }
  #shortcuts-overlay { position: fixed; inset: 0; background: rgba(60,50,50,0.45); z-index: 2000; display: none; align-items: center; justify-content: center; }
  #shortcuts-overlay.open { display: flex; }
  #shortcuts-modal { background: #faf7f3; border: 1px solid #c5b8ae; border-radius: 10px; max-width: 580px; width: 95%; max-height: 85vh; overflow-y: auto; padding: 1.2rem 1.5rem; color: #4a4040; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
  #shortcuts-modal .sc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
  #shortcuts-modal .sc-header h2 { color: #6b5b7b; font-size: 1.1rem; margin: 0; }
  #shortcuts-modal .sc-close { background: none; border: none; color: #998e8e; font-size: 1.3rem; cursor: pointer; padding: 0 0.3rem; }
  #shortcuts-modal .sc-close:hover { color: #4a4040; }
  #shortcuts-modal .sc-hint { font-size: 0.7rem; color: #b0a5a5; margin-bottom: 0.8rem; }
  .sc-group { margin-bottom: 0.8rem; }
  .sc-group h3 { font-size: 0.85rem; font-weight: 700; margin: 0 0 0.3rem; padding-bottom: 0.2rem; border-bottom: 1px solid #e0d8d0; }
  .sc-group.sc-playback h3 { color: #5a8a65; }
  .sc-group.sc-tap h3 { color: #c47a4a; }
  .sc-group.sc-chart h3 { color: #6b5b7b; }
  .sc-group.sc-navigation h3 { color: #6a8aaa; }
  .sc-group.sc-chords h3 { color: #8a7a6a; }
  .sc-group.sc-inactive { opacity: 0.4; }
  .sc-row { display: flex; align-items: baseline; padding: 2px 0; font-size: 0.8rem; }
  .sc-row .sc-keys { min-width: 130px; flex-shrink: 0; }
  .sc-row .sc-desc { color: #5a4e4e; }
  .sc-kbd { display: inline-block; background: #e8e0d8; padding: 1px 6px; border-radius: 3px; font-family: monospace; font-size: 0.78rem; border: 1px solid #cbc0b8; color: #4a4040; margin-right: 2px; }
  .sc-tab-indicator { display: inline-block; font-size: 0.65rem; padding: 1px 5px; border-radius: 3px; margin-left: 6px; font-weight: 600; }
  .sc-tab-indicator.active-tab { background: #c5ddc9; color: #3a6a40; }
  .sc-tab-indicator.inactive-tab { background: #e8e0d8; color: #998e8e; }

  /* Top row: logo + help buttons + audio bar inline */
  .top-row { display: flex; align-items: flex-end; gap: 6px; margin: 0; padding: 0; }
  .top-row h1 { margin: 0; padding: 0; line-height: 1; flex-shrink: 0; }
  .top-row #audio-bar { flex: 1; min-width: 0; margin-bottom: 0; }

  /* Song/key controls pushed right in tab bar */
  .tab-bar-controls { display: flex; gap: 0.4rem; align-items: center; margin-left: auto; flex-wrap: nowrap; min-width: 0; }
  .tab-bar-controls label { font-size: 12px; color: #7a6e6e; white-space: nowrap; }
  .tab-bar-controls select { font-size: 12px; padding: 2px 4px; min-width: auto; }
  .tab-bar-controls button { font-size: 11px; padding: 2px 6px; }
  #song-select { max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
  #song-select option { font-size: 14px; }

  /* Tab system */
  .tab-bar { display: flex; gap: 2px; margin-top: 2px; margin-bottom: 2px; border-bottom: 2px solid #d0c5bb; align-items: center; }
  .tab-btn { padding: 0.4rem 1rem; border: 1px solid #d0c5bb; border-bottom: none; border-radius: 6px 6px 0 0; background: #e8e0d8; color: #7a6e6e; cursor: pointer; font: inherit; font-size: 13px; font-weight: bold; white-space: nowrap; }
  .tab-btn:hover { background: #d9cfc5; }
  .tab-btn.active { background: #f5f0eb; color: #6b5b7b; border-color: #d0c5bb; position: relative; top: 2px; border-bottom: 2px solid #f5f0eb; }

  /* Toggle switch */
  .toggle { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-size: 11px; color: #7a6e6e; user-select: none; }
  .toggle input { display: none; }
  .toggle .sw { width: 26px; height: 14px; background: #cbc0b8; border-radius: 7px; position: relative; transition: background 0.2s; flex-shrink: 0; }
  .toggle .sw::after { content: ''; position: absolute; width: 10px; height: 10px; background: #fff; border-radius: 50%; top: 2px; left: 2px; transition: transform 0.2s; }
  .toggle input:checked + .sw { background: #7ba888; }
  .toggle input:checked + .sw::after { transform: translateX(12px); }

  /* Volume dropdown */
  #vol-dropdown { position: relative; }
  #vol-dropdown summary { font-size: 12px; color: #4a4040; cursor: pointer; list-style: none; padding: 3px 8px; border: 1px solid #cbc0b8; border-radius: 4px; background: #e8e0d8; }
  #vol-dropdown summary::-webkit-details-marker { display: none; }
  #vol-dropdown summary:hover { background: #d9cfc5; }
  .vol-panel { position: absolute; right: 0; top: 100%; margin-top: 2px; background: #f5f0eb; border: 1px solid #cbc0b8; border-radius: 4px; padding: 6px 8px; z-index: 20; box-shadow: 0 2px 8px rgba(0,0,0,0.1); width: 140px; }
  .vol-row { display: flex; align-items: center; gap: 4px; font-size: 10px; color: #7a6e6e; margin: 2px 0; }
  .vol-row label { min-width: 34px; }
  .vol-row input[type="range"] { flex: 1; height: 5px; accent-color: #7ba888; min-width: 0; }
  .vol-row span { min-width: 26px; text-align: right; font-size: 9px; color: #998e8e; }
  .tab-content { display: none; }
  .tab-content.active { display: block; }

  /* Mini audio bar for chart tab */
  #mini-audio-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.25rem 0.6rem; background: #ebe4dc; border-radius: 4px; margin-top: 2px; font-size: 0.8rem; }
  #mini-audio-bar button { font-size: 12px; padding: 2px 8px; }
  #mini-seekbar { flex: 1; height: 6px; cursor: pointer; accent-color: #7ba888; min-width: 80px; }
  #mini-duration { font-size: 0.7rem; color: #998e8e; font-variant-numeric: tabular-nums; }
  #mini-time { font-variant-numeric: tabular-nums; color: #4a4040; min-width: 70px; }
  #mini-speed { font-size: 0.75rem; color: #c47a4a; font-weight: bold; }

  /* Mini audio bar for tap tab */
  #tap-mini-audio-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.25rem 0.6rem; background: #ebe4dc; border-radius: 4px; margin-bottom: 0.3rem; font-size: 0.8rem; }
  #tap-mini-audio-bar button { font-size: 12px; padding: 2px 8px; }
  #tap-mini-time { font-variant-numeric: tabular-nums; color: #4a4040; min-width: 70px; }
  #tap-mini-speed { font-size: 0.75rem; color: #c47a4a; font-weight: bold; }

  /* Chart tab layout */
  #tab-chart.active { display: flex; flex-direction: column; height: calc(100vh - 100px); }
  #chart-top-bar { flex-shrink: 0; }
  #chart-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
  #chart-left { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
  #chart-left #chart-scroll { flex: 1; overflow-y: auto; min-height: 0; }
  #chart-left-buttons { flex-shrink: 0; }
  #chart-right { flex-shrink: 0; overflow: hidden; max-height: 0; opacity: 0; padding: 0 0.8rem; background: linear-gradient(to bottom, #ece6df, #f5f0eb); border-radius: 0 0 8px 8px; transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease, padding 0.3s ease; }
  #chart-right.expanded { max-height: 280px; opacity: 1; padding: 0.6rem 0.8rem; border-top: 1px solid #d0c5bb; overflow-y: auto; }
  #chart-right details { margin-bottom: 0.5rem; }
  #chart-right details summary { font-size: 0.8rem; color: #6a5e5e; cursor: pointer; padding: 0.25rem 0; font-weight: 500; }
  #chart-right details summary:hover { color: #4a4040; }
  #chart-right textarea { height: 80px; width: 100%; font: inherit; font-size: 0.8rem; border: 1px solid #cbc0b8; border-radius: 4px; padding: 0.4rem; resize: vertical; }
  #btn-toggle-right { font: inherit; padding: 0.3rem 0.7rem; border: 1px solid #b5a99a; border-radius: 4px; background: #e0d8cf; color: #5a4e4e; cursor: pointer; font-size: 12px; transition: background 0.15s, border-color 0.15s; display: inline-flex; align-items: center; gap: 4px; }
  #btn-toggle-right:hover { background: #d4cbc0; border-color: #9a8e80; }
  #btn-toggle-right.active { background: #d0c5bb; border-color: #8a7e70; }
  #btn-toggle-right .chevron { display: inline-block; font-size: 8px; transition: transform 0.3s ease; }
  #btn-toggle-right.active .chevron { transform: rotate(180deg); }

  /* Compact palette+piano when inside chart tab */
  #chart-palette-slot #chord-panel { margin: 0 0 0.2rem 0; }
  #chart-palette-slot #palette-header { margin-bottom: 0.1rem; font-size: 0.72rem; }
  #chart-palette-slot #palette-grid { border-spacing: 2px; padding: 3px; }
  #chart-palette-slot #palette-grid th { font-size: 0.58rem; padding: 0; }
  #chart-palette-slot .pal-cell { padding: 2px 1px; font-size: 10px; }
  #chart-palette-slot .pal-cell.triad { padding: 3px 1px; font-size: 11px; }
  #chart-palette-slot .pal-sep td { height: 4px; }
  #chart-palette-slot .pal-sep-label { font-size: 0.55rem; padding: 1px 4px !important; }
  #chart-palette-slot #piano-container { padding: 2px 4px; margin-top: 2px; }
  #chart-palette-slot #piano-canvas { height: 48px; }
  #chart-palette-slot #piano-ranges { height: 10px; margin-top: 1px; }
  #chart-palette-slot .range-bar { height: 8px; top: 1px; }
  #chart-palette-slot .toggle { font-size: 10px; }
  #chart-palette-slot .toggle .sw { width: 22px; height: 12px; }
  #chart-palette-slot .toggle .sw::after { width: 8px; height: 8px; }
  #chart-palette-slot .toggle input:checked + .sw::after { transform: translateX(10px); }
  #chart-palette-slot #vol-dropdown summary { font-size: 10px; padding: 0 4px; }

  #api-indicator { transition: background 0.3s; }
  #api-indicator.online { background: #7ba888; }
  #api-indicator.offline { background: #c07070; }
  #btn-auto-generate { background: #c5ddc9; border-color: #7ba888; font-weight: bold; }
  #btn-auto-generate:hover { background: #b0d0b4; }
  #btn-auto-generate:disabled { background: #e8e0d8; border-color: #cbc0b8; font-weight: normal; }

  /* Gear dropdown: hidden on desktop */
  #palette-gear { display: none; }

  /* Long-press extension popover */
  #lp-popover { position: fixed; display: none; z-index: 1001; background: #f5f0eb; border: 1px solid #c5b8ae; border-radius: 8px; padding: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
  #lp-popover .lp-title { font-size: 11px; color: #8a7a9a; text-align: center; margin-bottom: 6px; border-bottom: 1px solid #d8cfc5; padding-bottom: 4px; }
  #lp-popover .lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
  #lp-popover .lp-item { padding: 8px 6px; font-size: 13px; border-radius: 5px; cursor: pointer; text-align: center; background: #ebe4dc; border: 1px solid #d0c5bb; color: #4a4040; min-height: 36px; display: flex; align-items: center; justify-content: center; }
  #lp-popover .lp-item:active { background: #d9cfc5; border-color: #8faec4; }

  /* Mobile TAP button — hidden on desktop */
  #btn-mobile-tap { display: none; }
  @keyframes tap-flash { 0% { background: #7ba888; } 100% { background: #c5ddc9; } }
  .tap-flash { animation: tap-flash 0.12s ease-out; }

  /* ── Mobile responsive ── */
  @media (max-width: 600px) {
    * { touch-action: manipulation; }
    #waveform-container { touch-action: none; }
    body { padding: 0.2rem 0.5rem 0.5rem; }

    /* Toolbar: controls wrap to second line */
    .app-toolbar { flex-wrap: wrap; }
    .app-toolbar-controls { width: 100%; margin-left: 0; margin-top: 4px; }
    #btn-shortcuts-help { display: none; }
    #song-select { max-width: calc(100vw - 160px); }
    select { min-width: auto; }

    /* Tab bar: full-width tabs */
    .tab-btn { flex: 1; padding: 0.4rem 0.5rem; font-size: 12px; }

    /* Audio bar */
    #audio-bar { flex-wrap: wrap; padding: 0.3rem 0.5rem; }
    #audio-bar p .mobile-hide { display: none; }

    /* Mini audio bars: wrap controls */
    #mini-audio-bar { flex-wrap: wrap; gap: 0.3rem; padding: 0.2rem 0.4rem; }
    #mini-seekbar { width: 100%; order: 10; }
    #tap-mini-audio-bar { flex-wrap: wrap; gap: 0.3rem; padding: 0.2rem 0.4rem; }

    /* Chart tab height for mobile address bar */
    #tab-chart.active { height: calc(100dvh - 100px); }

    /* Touch targets */
    button, input[type="file"] { min-height: 36px; font-size: 12px; }
    select { padding: 0.4rem 0.5rem; }
    .lyrics-word { padding: 0.3em 4px; margin: 1.2em 2px 0; }

    /* Chord display: slightly smaller */
    #chord-current { font-size: 2.2rem; }

    /* Palette: hide non-triad rows, enlarge triads */
    #palette-grid tr[data-row-type="ext"],
    #palette-grid .pal-sep { display: none; }
    .pal-cell.triad { font-size: 16px !important; padding: 10px 4px !important; }

    /* Hide piano on mobile */
    #piano-container { display: none; }

    /* Hide desktop palette header controls on mobile */
    .mobile-gear-hide { display: none !important; }

    /* Gear dropdown visible on mobile */
    #palette-gear { display: inline-block; position: relative; }
    #palette-gear summary { font-size: 14px; cursor: pointer; list-style: none; padding: 4px 8px; border: 1px solid #cbc0b8; border-radius: 4px; background: #e8e0d8; }
    #palette-gear summary::-webkit-details-marker { display: none; }
    .gear-panel { position: absolute; right: 0; top: 100%; margin-top: 2px; background: #f5f0eb; border: 1px solid #cbc0b8; border-radius: 6px; padding: 8px; z-index: 20; box-shadow: 0 2px 8px rgba(0,0,0,0.1); width: 200px; display: flex; flex-direction: column; gap: 6px; }
    .gear-row { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #7a6e6e; }
    .gear-row select { font-size: 11px; min-width: 60px; }

    /* Mobile TAP button */
    #btn-mobile-tap { display: block; width: 100%; padding: 16px; font-size: 20px; font-weight: bold; background: #c5ddc9; border: 2px solid #7ba888; border-radius: 8px; color: #2d5a35; margin: 0.3rem 0; -webkit-user-select: none; user-select: none; }
    #btn-mobile-tap:active { background: #a0c8a4; transform: scale(0.97); }
    #btn-mobile-tap:disabled { background: #e8e0d8; border-color: #cbc0b8; color: #998e8e; }

    /* Hide keyboard shortcut hints on mobile */
    #tab-tap .subtitle { display: none; }

    /* Prevent text selection / callout on long-press context menu targets */
    .lyrics-word, .lyrics-section, .lyrics-gap, .onset-item .chord-label {
      -webkit-user-select: none;
      user-select: none;
      -webkit-touch-callout: none;
    }

    /* Onset list: mobile touch targets */
    .onset-item { min-height: 44px; padding: 0.4rem 0.5rem; }
    .onset-item .chord-label,
    .onset-item .time-label,
    .onset-item .section-label { min-height: 44px; display: inline-flex; align-items: center; }
    .onset-item .delete { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

    /* Onset list: active-state visual feedback */
    .onset-item .chord-label:active { background: rgba(90,138,101,0.15); border-radius: 3px; }
    .onset-item .time-label:active { background: rgba(106,138,170,0.15); border-radius: 3px; }
    .onset-item .section-label:active { background: rgba(138,122,154,0.15); border-radius: 3px; }
    .onset-item .delete:active { background: rgba(192,112,112,0.15); border-radius: 3px; }
  }

  /* Landscape on mobile */
  @media (max-height: 500px) and (max-width: 900px) {
    #waveform-container { height: 60px; }
    #chord-current { font-size: 1.6rem; }
    #chord-display { margin: 0.2rem 0; }
    body { padding: 0.1rem 0.5rem 0.3rem; }
  }

  /* =====================================================================
     LC-005 T-17 — Confidence heatmap
     - Per-word ASR confidence paints a thin underline under the lyric word.
     - Per-chord ACE confidence paints a thin bar under the chord label.
     - Colors are set inline via CSS custom properties (--asr-hm-color /
       --chord-hm-color) because confidence_to_color() emits a continuous
       gradient (~380 distinct hex values). Enumerating each hex as a CSS
       attribute selector wouldn't scale; CSS attr(color) is Level-5 spec
       with near-zero browser support as of 2026.
     - body.heatmap-off suppresses both in one place for clean toggle.
     - Responsive: lane uses inline padding rather than a separate stacked
       row so mobile layout is untouched.
     ===================================================================== */
  .lyrics-word[style*="--asr-hm-color"] {
    border-bottom: 2px solid var(--asr-hm-color);
    padding-bottom: 1px;
  }
  .word-chord[style*="--chord-hm-color"]::after {
    content: '';
    display: block;
    height: 2px;
    border-radius: 1px;
    margin-top: 1px;
    background: var(--chord-hm-color);
  }

  body.heatmap-off .lyrics-word[style*="--asr-hm-color"] {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
  body.heatmap-off .word-chord[style*="--chord-hm-color"]::after {
    content: none !important;
    background: transparent !important;
  }

  /* Toggle button itself (rendered by ui.js) */
  #heatmap-toggle {
    font-size: 0.75rem;
    padding: 2px 8px;
    margin-left: 6px;
    background: #f4efe8;
    border: 1px solid #b5a898;
    border-radius: 3px;
    cursor: pointer;
    color: #5a4e42;
  }
  #heatmap-toggle[aria-pressed="true"] {
    background: #c4d8c4;
    border-color: #7ba888;
    color: #2d5a35;
  }
