:root {
  color-scheme: light;
  --paper: #faf9f7;
  --surface: #fffefa;
  --soft: #f0efec;
  --selected: #e9e7e3;
  --ink: #242321;
  --secondary: #575653;
  --muted: #686762;
  --rule: #dfddda;
  --accent: #292928;
  --on-accent: #fff;
  --track-0: #80688e;
  --track-1: #9b7551;
  --track-2: #60738b;
  --track-3: #916564;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --step: 16px;
  --sidebar: 164px;
  --footer: 70px;
  --space: 24px;
  --row-h: 57px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1b1b1c;
  --surface: #202021;
  --soft: #29292b;
  --selected: #353537;
  --ink: #f3f2ef;
  --secondary: #cfcdc8;
  --muted: #b3b1ab;
  --rule: #3c3b3d;
  --accent: #eae8e4;
  --on-accent: #202022;
  --track-0: #c1a7d1;
  --track-1: #d4ac82;
  --track-2: #9cb4cf;
  --track-3: #ce9f9b;
}
:root[data-accent="clay"] {
  --accent: #944d3d;
  --on-accent: #fff;
}
:root[data-accent="blue"] {
  --accent: #3d5b82;
  --on-accent: #fff;
}
:root[data-theme="dark"][data-accent="clay"] {
  --accent: #dfac9f;
  --on-accent: #352421;
}
:root[data-theme="dark"][data-accent="blue"] {
  --accent: #a8bed9;
  --on-accent: #1b2a3b;
}
:root[data-size="large"] {
  --step: 19px;
}
:root[data-density="compact"] {
  --space: 17px;
  --row-h: 45px;
}
* {
  box-sizing: border-box;
}
html {
  font-size: var(--step);
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  background: none;
  cursor: pointer;
}
button:disabled {
  opacity: 0.38;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
a {
  color: var(--secondary);
  text-underline-offset: 3px;
}
.icon {
  height: 18px;
  width: 18px;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4vw, 3.55rem);
  line-height: 1.09;
  letter-spacing: -0.055em;
  font-weight: 400;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 0.86rem;
  font-weight: 550;
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  background: var(--paper);
  z-index: 100;
  padding: 8px 12px;
}
.skip:focus {
  top: 8px;
}
.sidebar {
  width: var(--sidebar);
  position: fixed;
  inset: 0 auto var(--footer) 0;
  padding: 22px 13px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--rule);
  background: var(--paper);
  z-index: 5;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 8px 47px;
}
.wordmark b {
  font-size: 1.24rem;
  letter-spacing: -0.06em;
  font-weight: 600;
}
.wordmark svg {
  height: 23px;
  width: 23px;
}
.sidebar nav {
  display: grid;
  gap: 4px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 7px 11px;
  font-size: 0.86rem;
  text-align: left;
  border-radius: 6px;
  color: var(--secondary);
}
.nav-item svg {
  width: 17px;
  height: 17px;
}
.nav-item.current {
  color: var(--ink);
  background: var(--selected);
  font-weight: 550;
}
.nav-item:hover,
.icon-btn:hover,
.btn.text:hover {
  background: var(--soft);
}
.utility-nav {
  margin-top: auto;
}
.shell {
  margin-left: var(--sidebar);
  padding-bottom: calc(var(--footer) + 24px);
}
.topbar {
  min-height: 63px;
  padding: 0 clamp(20px, 3.7vw, 65px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  font-size: 0.82rem;
}
.topbar > div,
.actions,
.subheading,
.page-heading,
.editor-header,
.transport-controls,
.inline-form {
  display: flex;
  align-items: center;
}
.topbar > div,
.actions {
  gap: 8px;
}
.save-state {
  font-size: 0.73rem;
  color: var(--muted);
}
.icon-btn {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  color: var(--secondary);
}
.icon-btn[aria-pressed="true"] {
  background: var(--selected);
  color: var(--ink);
}
.icon-btn .icon {
  width: 16px;
  height: 16px;
}
.page {
  max-width: 1580px;
  margin: 0 auto;
  padding: clamp(22px, 3.4vw, 48px) clamp(20px, 3.7vw, 65px);
}
.page-heading {
  justify-content: space-between;
  gap: var(--space);
}
.page-heading h1 {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2em;
}
.page-heading h1 .icon-btn {
  vertical-align: middle;
}
.page-heading h1 .icon {
  width: 14px;
  height: 14px;
}
.page-heading .actions {
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 13px;
  min-height: 36px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 520;
  text-decoration: none;
}
.btn svg {
  width: 15px;
  height: 15px;
}
.btn.primary,
.btn.dark,
.create-btn,
.play {
  background: var(--accent);
  color: var(--on-accent);
}
.btn.primary:hover,
.btn.dark:hover,
.create-btn:hover,
.play:hover {
  opacity: 0.88;
}
.btn.secondary:hover {
  background: var(--selected);
}
.btn.text {
  background: transparent;
  color: var(--secondary);
  padding-inline: 8px;
}
.btn.danger {
  color: #a8443d;
}
.project-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 30px;
  color: var(--muted);
  font-size: 0.81rem;
}
.project-meta > span + span::before {
  content: "·";
  margin-right: 10px;
}
.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(245px, 28%);
  gap: clamp(24px, 3.3vw, 55px);
}
.score,
.composer,
.track-lane {
  min-width: 0;
}
.composer {
  border-left: 1px solid var(--rule);
  padding-left: clamp(18px, 2vw, 32px);
}
.subheading,
.editor-header {
  justify-content: space-between;
  gap: 10px;
}
.subheading {
  margin-bottom: 13px;
}
.tab-list {
  display: flex;
  align-items: stretch;
  gap: 23px;
}
.tab-list button {
  padding: 12px 0;
  font-size: 0.83rem;
  color: var(--muted);
  border-radius: 0;
  border-bottom: 2px solid transparent;
}
.tab-list button.selected {
  color: var(--ink);
  border-bottom-color: var(--accent);
  font-weight: 600;
}
.editor-header {
  border-bottom: 1px solid var(--rule);
}
.composer > .tab-list {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  gap: 18px;
}
.field {
  margin-bottom: 15px;
  min-width: 0;
}
.field label,
.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 0.78rem;
  font-weight: 530;
}
.field output,
.muted,
.footnote,
.engine-caption {
  color: var(--muted);
}
.field output {
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
input[type="text"],
input[type="search"],
input[type="number"],
input[type="url"],
input[type="password"],
textarea,
select {
  width: 100%;
  border: 0;
  border-radius: 5px;
  background: var(--soft);
  padding: 9px 10px;
  font-size: 0.83rem;
}
textarea {
  resize: vertical;
  line-height: 1.52;
  min-height: 86px;
}
textarea::placeholder,
input::placeholder {
  color: var(--muted);
}
input[type="range"] {
  width: 100%;
  height: 4px;
  accent-color: var(--accent);
  cursor: pointer;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--accent);
}
.fields-pair,
.fields-three {
  display: grid;
  gap: 11px;
}
.fields-pair {
  grid-template-columns: 1fr 1fr;
}
.fields-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.with-unit {
  position: relative;
}
.with-unit input {
  padding-right: 44px;
}
.with-unit span {
  position: absolute;
  inset: 10px 13px auto auto;
  font-size: 0.65rem;
  color: var(--muted);
  pointer-events: none;
}
.advanced {
  margin: 12px 0;
}
.advanced summary {
  color: var(--secondary);
  font-size: 0.78rem;
  cursor: pointer;
}
.advanced[open] summary {
  margin-bottom: 12px;
}
.create-btn {
  width: 100%;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 550;
}
.engine-caption {
  margin-top: 8px;
  text-align: center;
  font-size: 0.68rem;
}
.score-ruler,
.score-sections,
.score-row {
  display: grid;
  grid-template-columns: minmax(92px, 18.5%) minmax(0, 1fr);
}
.score-ruler,
.score-sections {
  font-size: 0.72rem;
  color: var(--muted);
}
.score-ruler {
  padding: 20px 0 8px;
}
.score-ruler > div {
  display: flex;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
}
.score-ruler small {
  font-size: 0.65rem;
}
.score-sections {
  align-items: center;
  margin-bottom: 9px;
}
.score-sections > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--soft);
}
.score-sections button {
  padding: 5px 2px;
  color: var(--secondary);
  font-size: 0.69rem;
}
.score-sections button.selected {
  box-shadow: inset 0 -2px var(--accent);
  color: var(--ink);
}
.score-row {
  align-items: center;
  min-height: var(--row-h);
  border-bottom: 1px solid var(--rule);
}
.track-name {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 0;
  text-align: left;
  font-size: 0.8rem;
}
.track-name:hover span:last-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.track-name small {
  display: block;
  margin-top: 2px;
  font-size: 0.62rem;
  color: var(--muted);
}
.track-mark {
  display: inline-block;
  width: 3px;
  height: 23px;
  flex-shrink: 0;
  background: var(--track);
  border-radius: 1px;
}
.track-lane {
  position: relative;
  background: color-mix(in srgb, var(--track) 9%, var(--paper));
}
.track-lane canvas {
  display: block;
  width: 100%;
  height: calc(var(--row-h) - 13px);
}
.track-lane.muted {
  opacity: 0.38;
}
.playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--playhead, 0%);
  width: 1px;
  background: var(--ink);
  opacity: 0.5;
  pointer-events: none;
}
.score-footer,
.project-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 13px 0;
}
.score-footer .btn {
  font-size: 0.73rem;
  padding-inline: 6px;
}
.project-tools {
  margin-top: var(--space);
  border-block: 1px solid var(--rule);
}
.project-tools .btn {
  font-size: 0.75rem;
}
.presets {
  margin-top: var(--space);
}
.presets h3 {
  margin-bottom: 6px;
}
.presets button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  text-align: left;
  color: var(--secondary);
  font-size: 0.8rem;
}
.presets button:hover,
.project-link:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.presets small {
  color: var(--muted);
  font-size: 0.68rem;
}
.mix-header,
.mix-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 64px;
  align-items: center;
  gap: 15px;
}
.mix-header {
  padding: 17px 0 6px;
  color: var(--muted);
  font-size: 0.7rem;
}
.mix-row {
  min-height: var(--row-h);
  border-bottom: 1px solid var(--rule);
}
.mix-row strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.79rem;
  font-weight: 550;
}
.mix-row label span {
  display: block;
  margin-bottom: 2px;
  font-size: 0.66rem;
  color: var(--muted);
}
.monitors {
  display: flex;
  gap: 3px;
}
.monitors button {
  width: 25px;
  min-height: 25px;
  background: var(--soft);
  font-size: 0.68rem;
  border-radius: 4px;
}
.monitors button.selected {
  background: var(--accent);
  color: var(--on-accent);
}
.master {
  margin-top: var(--space);
}
.master h3 {
  margin-bottom: 15px;
}
.master .field label {
  font-size: 0.72rem;
}
.versions {
  padding: 14px 0;
}
.versions .muted {
  margin: 12px 0 20px;
  font-size: 0.85rem;
}
.version-row,
.pron-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
}
.version-row strong,
.project-link strong {
  font-size: 0.85rem;
  font-weight: 530;
}
.version-row small,
.project-link small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 3px;
}
.versions > .btn {
  margin-top: 13px;
}
.transport {
  position: fixed;
  inset: auto 0 0;
  height: var(--footer);
  display: grid;
  grid-template-columns: minmax(145px, 22%) auto 1fr 105px;
  gap: var(--space);
  align-items: center;
  padding: 0 25px;
  border-top: 1px solid var(--rule);
  background: var(--surface);
  z-index: 10;
}
.now-playing {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.now-playing > span {
  min-width: 0;
}
.now-playing strong {
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 0.81rem;
  font-weight: 550;
}
.now-playing small {
  display: block;
  font-size: 0.67rem;
  color: var(--muted);
}
.transport-controls {
  gap: 3px;
}
.play {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.play svg {
  width: 15px;
  height: 15px;
}
.scrubber,
.volume {
  display: flex;
  align-items: center;
  gap: 10px;
}
.scrubber span {
  font:
    0.7rem ui-monospace,
    monospace;
  color: var(--muted);
}
.volume svg {
  width: 15px;
  height: 15px;
  color: var(--secondary);
}
.library-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 360px;
  margin: 25px 0;
  padding-left: 10px;
  background: var(--soft);
  border-radius: 5px;
}
.library-search svg {
  width: 16px;
  color: var(--muted);
}
.list-row,
.list-head {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(140px, 1fr) 16% 18% 34px;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.76rem;
  color: var(--secondary);
}
.list-head {
  color: var(--muted);
  font-size: 0.7rem;
}
.project-link {
  text-align: left;
  padding: 0;
  color: var(--ink);
}
.footnote {
  font-size: 0.76rem;
  line-height: 1.6;
  margin: 12px 0;
}
.writing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 30%);
  gap: clamp(24px, 4vw, 65px);
}
.lyrics-input {
  min-height: 390px;
  padding: 13px 0;
  color: var(--ink);
  background: transparent;
  font-size: 1.05rem;
  line-height: 1.9;
  border-radius: 0;
  border-block: 1px solid var(--rule);
}
.writing-tools h2:not(:first-child) {
  margin-top: 24px;
}
.check-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  margin-top: 12px;
}
.inline-form {
  gap: 8px;
  margin-top: 10px;
}
.rhyme-results {
  font-size: 0.8rem;
  line-height: 1.8;
  margin-top: 8px;
}
.rhyme-results .chip {
  margin-right: 10px;
  color: var(--secondary);
}
.settings-content,
.help-text {
  max-width: 800px;
  margin-top: 27px;
}
.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space);
  padding: var(--space) 0;
  border-top: 1px solid var(--rule);
}
.setting-row > div {
  flex: 1;
  min-width: 0;
}
.setting-row p,
.help-text p {
  color: var(--secondary);
  font-size: 0.87rem;
  line-height: 1.7;
  margin: 7px 0 12px;
}
.setting-row a,
.state-text {
  font-size: 0.78rem;
}
.setting-row .field {
  max-width: 460px;
}
.help-text h2 {
  margin: 23px 0 7px;
}
.shortcuts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 24px;
  font-size: 0.84rem;
}
.shortcuts dd {
  color: var(--muted);
  margin: 0;
}
.progress-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--soft);
  padding: 10px 13px;
  margin: 15px 0;
  font-size: 0.83rem;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--footer) + 12px);
  transform: translate(-50%, 8px);
  background: var(--ink);
  color: var(--paper);
  padding: 9px 14px;
  border-radius: 6px;
  max-width: min(500px, 88vw);
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  font-size: 0.83rem;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  width: min(510px, calc(100vw - 26px));
  max-height: 88dvh;
  border: 0;
  border-radius: 10px;
  padding: 22px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 10px 55px #0003;
}
dialog::backdrop {
  background: #14141466;
}
.modal-head,
.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.modal-head {
  margin-bottom: 17px;
}
.modal-footer {
  justify-content: flex-end;
  margin-top: 18px;
}
.modal-content p {
  font-size: 0.84rem;
  color: var(--secondary);
  line-height: 1.65;
  margin: 10px 0;
}
.export-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
  text-align: left;
}
.export-option:hover {
  color: var(--accent);
}
.export-option strong {
  font-size: 0.87rem;
  font-weight: 550;
}
.export-option small {
  display: block;
  font-size: 0.73rem;
  color: var(--muted);
}
.choice-group {
  border: 0;
  padding: 0;
  margin: 17px 0;
}
.choice-group legend {
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: var(--secondary);
}
.choice-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.choice-line label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 9px;
  border-radius: 5px;
  font-size: 0.8rem;
}
.choice-line label:has(input:checked) {
  background: var(--soft);
}
.choice-line input {
  margin: 0;
}
.note-grid {
  display: block;
  width: 100%;
  height: 162px;
  background: var(--soft);
  cursor: crosshair;
  touch-action: manipulation;
}
.note-tools {
  margin: 14px 0;
}
.note-tools select {
  margin-bottom: 12px;
}
.note-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0;
  font-size: 0.8rem;
}
.note-edit-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}
.note-edit-fields .field label {
  font-size: 0.72rem;
}
@media (max-width: 1090px) {
  :root {
    --sidebar: 65px;
  }
  .sidebar {
    padding: 21px 7px;
  }
  .wordmark {
    justify-content: center;
    margin: 0 0 48px;
  }
  .wordmark b,
  .nav-item span {
    display: none;
  }
  .nav-item {
    justify-content: center;
  }
  .studio-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 25px;
  }
  .composer {
    padding-left: 19px;
  }
  .page {
    padding-inline: 25px;
  }
}
@media (max-width: 800px) {
  .studio-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .composer {
    grid-row: 1;
    border-left: 0;
    border-bottom: 1px solid var(--rule);
    padding: 0 0 20px;
  }
  .composer textarea {
    min-height: 69px;
  }
  .composer .field {
    margin-bottom: 11px;
  }
  .page-heading {
    flex-wrap: wrap;
    gap: 10px;
  }
  .project-meta {
    margin-bottom: 18px;
  }
  .transport {
    grid-template-columns: minmax(135px, 24%) auto 1fr;
    padding: 0 15px;
    gap: 12px;
  }
  .volume {
    display: none;
  }
  .writing-layout {
    grid-template-columns: 1fr;
  }
  .lyrics-input {
    min-height: 260px;
  }
  .writing-tools {
    border-top: 1px solid var(--rule);
    padding-top: var(--space);
  }
}
@media (max-width: 520px) {
  :root {
    --sidebar: 46px;
    --footer: 62px;
  }
  .sidebar {
    padding: 18px 4px;
  }
  .wordmark {
    margin-bottom: 31px;
  }
  .wordmark svg {
    width: 20px;
  }
  .nav-item {
    min-height: 39px;
    padding: 5px;
  }
  .topbar {
    padding: 0 14px;
    min-height: 51px;
  }
  .topbar > div {
    gap: 4px;
  }
  .save-state {
    font-size: 0.62rem;
  }
  .page {
    padding: 21px 15px;
  }
  h1 {
    font-size: 2.2rem;
  }
  .page-heading .btn,
  .score-footer .btn {
    min-height: 32px;
  }
  .page-heading .actions {
    gap: 1px;
  }
  .project-meta {
    gap: 6px;
    font-size: 0.68rem;
  }
  .project-meta > span + span::before {
    margin-right: 6px;
  }
  .score-ruler,
  .score-sections,
  .score-row {
    grid-template-columns: 77px minmax(0, 1fr);
  }
  .track-name {
    font-size: 0.7rem;
    gap: 5px;
  }
  .score-sections button {
    font-size: 0.61rem;
  }
  .tab-list {
    gap: 13px;
  }
  .tab-list button {
    font-size: 0.75rem;
  }
  .editor-header .actions {
    gap: 0;
  }
  .editor-header .icon-btn {
    width: 23px;
  }
  .score-footer,
  .project-tools {
    gap: 4px;
  }
  .score-footer .actions,
  .project-tools .actions {
    flex-wrap: wrap;
    gap: 3px;
  }
  .mix-row,
  .mix-header {
    grid-template-columns: minmax(64px, 1fr) minmax(42px, 0.8fr) minmax(
        42px,
        0.8fr
      ) 48px;
    gap: 7px;
  }
  .monitors button {
    width: 21px;
    padding: 2px;
  }
  .mix-row strong {
    font-size: 0.67rem;
  }
  .master .fields-three {
    gap: 7px;
  }
  .transport {
    grid-template-columns: 1fr auto;
    padding: 0 13px;
  }
  .now-playing {
    gap: 8px;
  }
  .scrubber {
    position: absolute;
    inset: -4px 0 auto;
  }
  .scrubber input {
    margin: 0;
  }
  .scrubber span {
    display: none;
  }
  .transport-controls .icon-btn {
    width: 27px;
  }
  .list-row,
  .list-head {
    grid-template-columns: minmax(110px, 1fr) 44px 28px;
    gap: 6px;
  }
  .list-row > span:nth-child(3),
  .list-head > span:nth-child(3) {
    display: none;
  }
  .setting-row {
    flex-direction: column;
    gap: 5px;
  }
  .note-edit-fields {
    grid-template-columns: 1fr 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
.presets .subheading {
  margin-bottom: 2px;
}
.presets .subheading .btn {
  width: auto;
  padding: 5px 7px;
  min-height: 28px;
  font-size: 0.72rem;
  gap: 4px;
}
@media (max-width: 520px) {
  .page-heading .actions { max-width: 100%; flex-wrap: wrap; }
}
