@font-face {
  font-family: Inter;
  src: url('./inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #161814;
  --surface: #20231d;
  --raised: #2a2e26;
  --edge: #454a3e;
  --soft: #353a30;
  --ink: #eeeee5;
  --muted: #c0c4b6;
  --dim: #a7ad9c;
  --lime: #d3f86c;
  --green: #89d8a6;
  --amber: #f1c777;
  --violet: #b6c797;
  --error: #ffab9f;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-color: #4a5053 var(--bg);
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
main:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
button:disabled:focus {
  outline: 0;
}
.skip {
  position: fixed;
  z-index: 12;
  top: 5px;
  left: 5px;
  padding: 10px 16px;
  background: var(--lime);
  color: #151a09;
  transform: translateY(-140%);
}
.skip:focus {
  transform: none;
}
svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: none;
}
#sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 216px;
  display: flex;
  flex-direction: column;
  background: #121510;
  border-right: 1px solid var(--edge);
  z-index: 5;
  padding: 27px 16px 18px;
  overflow-y: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 8px 38px;
  font-size: 25px;
  letter-spacing: -1.7px;
  font-weight: 560;
  line-height: 1;
}
.brand strong {
  font-weight: 790;
}
.brandmark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #202710;
  background: var(--lime);
}
.brandmark svg {
  width: 25px;
  height: 25px;
  stroke-width: 3;
}
.nav-label {
  font: 10px/1.2 var(--mono);
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin: 0 11px 9px;
}
.nav-label:not(:first-child) {
  margin-top: 30px;
}
.navlink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  margin: 2px 0;
  color: var(--muted);
  font-weight: 520;
}
.navlink svg {
  color: #aeb5a2;
}
.navlink:hover {
  background: var(--raised);
  color: var(--ink);
}
.navlink[aria-current='page'] {
  color: #1c2115;
  background: var(--lime);
}
.navlink[aria-current='page'] svg {
  color: currentColor;
}
.sidefoot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 8px 0;
  border-top: 1px solid var(--edge);
  font-size: 12px;
  color: var(--muted);
}
.sidefoot i,
.dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  display: inline-block;
  background: var(--green);
}
.workspace {
  margin-left: 216px;
  min-width: 0;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(20px, 3.5vw, 56px);
  height: 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--edge);
}
.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--dim);
  font-size: 13px;
}
.crumb b {
  font-weight: 400;
  color: #59615f;
}
.crumb strong {
  font-weight: 500;
  color: var(--ink);
}
.global-search {
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px 5px 10px;
  max-width: 295px;
  min-width: 0;
  color: var(--dim);
}
.global-search svg {
  width: 16px;
  height: 16px;
}
.global-search input {
  padding: 2px;
  border: 0;
  outline: none;
  background: none;
  min-width: 20px;
  width: 160px;
  font-size: 12px;
}
.global-search:focus-within {
  border-color: var(--lime);
}
kbd {
  font: 10px var(--mono);
  color: var(--dim);
  border: 1px solid var(--edge);
  border-radius: 3px;
  padding: 2px 4px;
  white-space: nowrap;
}
main {
  max-width: 1620px;
  margin: auto;
  padding: 34px clamp(20px, 3.5vw, 56px) 64px;
  outline-offset: -3px !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(32px, 3.7vw, 62px);
  letter-spacing: -0.065em;
  font-weight: 640;
  line-height: 1.07;
}
h2 {
  font-size: clamp(18px, 1.5vw, 23px);
  letter-spacing: -0.035em;
  font-weight: 600;
  line-height: 1.25;
}
h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.sub {
  color: var(--muted);
  margin-top: 8px;
  max-width: 65ch;
}
.muted,
.note {
  color: var(--muted);
}
.note {
  font-size: 12px;
}
.mono,
.numeric {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.mobile {
  display: none !important;
}
.page-head,
.panel-head,
.spread,
.inline,
.actions,
.tags {
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-head,
.panel-head,
.spread {
  justify-content: space-between;
}
.page-head {
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.page-head .actions {
  padding-top: 4px;
}
.actions,
.tags,
.wrap {
  flex-wrap: wrap;
}
.btn,
.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--edge);
  border-radius: 6px;
  background: var(--raised);
  color: var(--ink);
  font-size: 13px;
  font-weight: 550;
  padding: 8px 12px;
  line-height: 1.35;
  min-height: 36px;
}
.btn svg {
  width: 15px;
  height: 15px;
}
.btn:hover,
.iconbtn:hover {
  background: #363d2e;
}
.btn.primary {
  color: #1b2409;
  background: var(--lime);
  border-color: var(--lime);
}
.btn.primary:hover {
  background: #e1ff92;
}
.btn.ghost,
.iconbtn {
  background: transparent;
}
.iconbtn {
  width: 34px;
  height: 34px;
  padding: 5px;
}
.btn.link {
  background: none;
  border: 0;
  color: var(--lime);
  padding: 3px 0;
}
.btn.small {
  min-height: 29px;
  padding: 4px 8px;
  font-size: 12px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 10px;
  margin-bottom: 18px;
}
.metric {
  padding: 20px clamp(12px, 1.7vw, 26px);
  min-width: 0;
  border: 0;
  border-right: 1px solid var(--edge);
  text-align: left;
  background: transparent;
  color: inherit;
  border-radius: 0;
}
.metric:last-child {
  border-right: 0;
}
.metric:hover {
  background: var(--raised);
}
.metric-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.metric-label svg {
  width: 16px;
  height: 16px;
  color: var(--dim);
}
.metric-value {
  display: block;
  font-family: var(--mono);
  font-weight: 450;
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.075em;
  margin-top: 12px;
}
.metric small {
  color: var(--dim);
  font-size: 11px;
}
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr);
  gap: 16px;
  margin: 16px 0;
}
.panel {
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--surface);
  padding: 20px;
  min-width: 0;
}
.panel + .panel.full,
.block {
  margin-top: 16px;
}
.panel-head {
  align-items: flex-start;
  margin-bottom: 18px;
}
.panel-head .note {
  margin-top: 4px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 11px/1.4 var(--mono);
  padding: 3px 7px;
  background: var(--raised);
  border: 1px solid var(--edge);
  border-radius: 4px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.tag.good {
  color: var(--green);
  background: #1b3025;
  border-color: #304437;
}
.tag.warn {
  color: var(--amber);
  background: #30291e;
  border-color: #493a23;
}
.tag.purple {
  color: #cbbcff;
  background: #292436;
  border-color: #40364e;
}
.chart {
  display: flex;
  gap: clamp(1px, 0.34vw, 7px);
  height: 130px;
  align-items: stretch;
  border-bottom: 1px solid #586050;
  background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), #292e2c calc(25% - 1px) 25%);
}
.chart button {
  position: relative;
  padding: 0;
  border: 0;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: end;
  background: transparent;
}
.chart button span {
  display: block;
  width: 100%;
  background: #839845;
  min-height: 1px;
  border-radius: 2px 2px 0 0;
}
.chart button.peak span {
  background: var(--lime);
}
.chart button:hover span,
.chart button:focus-visible span {
  background: #ecffaa;
}
.axis {
  display: flex;
  justify-content: space-between;
  font: 10px var(--mono);
  color: var(--dim);
  padding-top: 7px;
}
.chart-footer {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.chart-footer b {
  color: var(--ink);
  font-weight: 600;
}
.genre-row {
  margin: 10px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--ink);
  padding: 0;
  font-size: 12px;
}
.genre-row:hover .genre-name {
  text-decoration: underline;
}
.genre-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.genre-rule {
  display: block;
  grid-column: 1/-1;
  height: 4px;
  background: var(--soft);
  border-radius: 2px;
}
.genre-rule i {
  display: block;
  height: 100%;
  background: var(--violet);
  border-radius: 2px;
}
.genre-row .numeric {
  color: var(--muted);
}
.level {
  height: 6px;
  border-radius: 9px;
  background: var(--soft);
  overflow: hidden;
}
.level span {
  display: block;
  background: var(--lime);
  height: 100%;
}
.fieldbar {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.field label,
.field > span {
  font-size: 12px;
  color: var(--muted);
}
input,
select {
  padding: 8px 10px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid #515749;
  min-width: 0;
  max-width: 100%;
  border-radius: 5px;
  line-height: 1.35;
}
input::placeholder {
  color: #a3aa99;
}
.fieldbar input,
.fieldbar select {
  height: 37px;
}
.fieldbar .grow {
  flex: 1 1 175px;
}
.fieldbar .narrow {
  width: 86px;
}
.field select {
  max-width: 220px;
}
.tablebox {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.tablebox:focus-visible {
  outline: 2px solid var(--lime);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--soft);
  text-align: left;
}
td {
  vertical-align: middle;
}
th {
  font: 500 10px/1.35 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  background: var(--raised);
}
th:first-child,
td:first-child {
  padding-left: 0;
}
th:last-child,
td:last-child {
  padding-right: 1px;
}
tbody tr:last-child > td {
  border-bottom: none;
}
tbody tr:hover {
  background: #293024;
}
.track-title {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink);
  text-align: left;
  font-weight: 615;
  font-size: 14px;
  line-height: 1.4;
}
.track-title:hover {
  color: var(--lime);
}
.artist {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.nowrap {
  white-space: nowrap;
}
.track-cell {
  min-width: 140px;
}
.compact th,
.compact td {
  padding-top: 6px;
  padding-bottom: 6px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--edge);
  padding-top: 13px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}
.pagination .actions {
  gap: 5px;
}
.empty,
.loading,
.notice {
  padding: 18px;
  border-radius: 7px;
  border: 1px solid var(--edge);
  color: var(--muted);
}
.empty {
  padding: 28px 18px;
  text-align: center;
}
.empty h3 {
  color: var(--ink);
  margin-bottom: 4px;
}
.empty .btn {
  margin-top: 12px;
}
.loading {
  max-width: 580px;
}
.notice {
  background: #22271e;
  color: #d5decd;
  margin: 12px 0;
}
.notice.bad {
  background: #332422;
  color: #ffbdb1;
}
.split {
  display: grid;
  grid-template-columns: minmax(200px, 0.72fr) minmax(0, 1.65fr);
  gap: 16px;
}
.listbox {
  max-height: 60vh;
  overflow: auto;
  scrollbar-gutter: stable;
  margin-top: 10px;
}
.listitem {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 9px 8px;
  border: 0;
  border-bottom: 1px solid var(--soft);
  background: none;
  color: var(--ink);
  font-size: 12px;
}
.listitem[aria-pressed='true'] {
  background: #29301f;
  color: var(--lime);
}
.listitem:hover {
  background: var(--raised);
}
.listitem span {
  overflow-wrap: anywhere;
}
.listitem small {
  font: 11px var(--mono);
  color: var(--dim);
}
.upload {
  display: block;
  padding: 22px;
  border: 1px dashed #616b61;
  border-radius: 7px;
  background: #1d231c;
}
.upload input {
  width: 100%;
  margin-top: 10px;
  display: block;
  background: var(--bg);
}
.upload.drag {
  outline: 2px solid var(--lime);
}
.subsection {
  border-top: 1px solid var(--edge);
  padding-top: 14px;
  margin-top: 14px;
}
.audit-list,
.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.audit-list > li,
.detail-list > li {
  padding: 10px 0;
  border-bottom: 1px solid var(--soft);
}
.audit-list > li:last-child,
.detail-list > li:last-child {
  border: 0;
}
.audit-list li small {
  display: block;
  margin-top: 3px;
  color: var(--dim);
}
.meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 15px 0;
}
.meta dt {
  font: 11px var(--mono);
  color: var(--dim);
  margin-bottom: 3px;
}
.meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.group {
  margin: 9px 0;
  border: 1px solid var(--edge);
  border-radius: 6px;
  padding: 9px 12px;
}
.group summary {
  cursor: pointer;
}
.group .detail-list {
  margin-top: 6px;
}
details summary {
  cursor: pointer;
}
a.outbound {
  color: var(--lime);
  text-decoration: underline;
}
dialog {
  max-width: min(620px, calc(100vw - 24px));
  width: 600px;
  max-height: 88dvh;
  overflow: auto;
  padding: 24px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid #535b5d;
}
dialog::backdrop {
  background: #060809bb;
}
dialog h2 {
  font-size: 24px;
}
#toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: min(440px, calc(100vw - 36px));
  padding: 12px 16px;
  border-radius: 7px;
  background: #e0e8d7;
  color: #161b13;
  box-shadow: 0 4px 22px #0007;
  z-index: 20;
}
#toast[data-error='true'] {
  background: #ffc9bb;
  color: #401609;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1450px) {
  .chart {
    height: 165px;
  }
}
@media (max-width: 1080px) {
  #sidebar {
    width: 182px;
    padding: 22px 12px;
  }
  .workspace {
    margin-left: 182px;
  }
  .brand {
    font-size: 23px;
  }
  .grid-2 {
    grid-template-columns: minmax(0, 1.3fr) minmax(200px, 1fr);
  }
  .panel {
    padding: 15px;
  }
  .metric {
    padding: 15px 13px;
  }
  .crumb span,
  .crumb b {
    display: none;
  }
  .topbar {
    gap: 10px;
  }
}
@media (max-width: 800px) {
  .mobile {
    display: inline-flex !important;
  }
  #sidebar {
    transform: translateX(-110%);
    width: 224px;
    transition: transform 0.15s ease-out;
  }
  body.nav-open #sidebar {
    transform: translateX(0);
  }
  #backdrop {
    position: fixed;
    inset: 0;
    background: #06090ac9;
    z-index: 4;
    border: 0;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 54px;
  }
  .grid-2 {
    grid-template-columns: minmax(0, 1.3fr) minmax(220px, 1fr);
  }
  main {
    padding-top: 24px;
  }
}
@media (max-width: 630px) {
  .topbar {
    padding: 0 12px;
  }
  .global-search {
    max-width: 165px;
  }
  .global-search input {
    width: 118px;
  }
  .global-search kbd {
    display: none;
  }
  .crumb {
    font-size: 12px;
  }
  .grid-2,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric:nth-child(2) {
    border-right: 0;
  }
  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--edge);
  }
  .metric-value {
    margin-top: 6px;
  }
  .metric {
    padding: 12px 14px;
  }
  .page-head {
    margin-bottom: 16px;
  }
  .page-head .actions {
    padding-top: 0;
  }
  .grid-2 {
    gap: 12px;
  }
  .chart {
    height: 115px;
  }
  .listbox {
    max-height: 235px;
  }
  .fieldbar {
    gap: 8px;
  }
  .fieldbar .field:not(.narrow) {
    flex: 1 1 130px;
  }
  .fieldbar .field select {
    max-width: 100%;
  }
  .meta {
    grid-template-columns: 1fr 1fr;
  }
  main {
    padding: 21px 13px 40px;
  }
  td,
  th {
    padding: 10px 7px;
  }
  .chart-footer {
    flex-wrap: wrap;
    gap: 3px 10px;
  }
  .topbar .iconbtn {
    border: 0;
  }
  .btn,
  .iconbtn {
    min-height: 40px;
  }
  .brand {
    margin-bottom: 28px;
  }
  .pagination {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.btn[aria-pressed='true'] {
  border-color: #73834e;
  color: var(--lime);
  background: #29311e;
}

trackdna-validation { display:block; min-width:0 }
.audit-tools,.audit-filters { display:flex; flex-wrap:wrap; align-items:end; gap:12px }
.audit-tools label,.audit-filters label { display:grid; gap:4px; font-size:.85rem }
.audit-file { position:relative; overflow:hidden; cursor:pointer }
.audit-file input { position:absolute; inset:0; opacity:0; width:100%; cursor:pointer }
.audit-file:focus-within { outline:2px solid var(--lime) }
.audit-counts,.audit-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr)); gap:10px; margin-top:12px }
.audit-counts>div,.audit-stat { padding:13px 15px; border:1px solid var(--edge); border-radius:7px; background:var(--surface); min-width:0 }
.audit-counts span,.audit-stat summary>span { display:block; color:var(--muted); font-size:.84rem }
.audit-counts b,.audit-stat strong { display:block; font:600 1.45rem/1.5 var(--mono); color:var(--ink) }
.audit-counts>div:nth-child(3) b {color:var(--green)}
.audit-stat strong small {font-size:.78rem}
.audit-stat summary,.audit-case summary,.audit-case-fix summary { cursor:pointer; overflow-wrap:anywhere }
.audit-stat p,.audit-coverage span,.audit-case summary>span:last-child,.audit-case-fix summary>span {font-size:.8rem;color:var(--muted)}
.audit-coverage { display:grid; grid-template-columns:minmax(130px,1fr) minmax(80px,1fr) minmax(150px,2fr); align-items:center; gap:10px; padding:8px 0 }
.audit-coverage meter { width:100%;accent-color:var(--lime) }
.audit-case,.audit-case-fix { padding:10px 0;border-bottom:1px solid var(--edge) }
.audit-case dl,.audit-case-fix dl { display:grid; grid-template-columns:minmax(75px,100px) 1fr;gap:6px 14px;margin:12px 4px }
.audit-case dd,.audit-case-fix dd { margin:0;overflow-wrap:anywhere;white-space:pre-wrap }
.audit-case dt,.audit-case-fix dt {color:var(--muted)}
.audit-case a {text-decoration:underline;color:var(--lime)}
@media(max-width:600px){.audit-coverage{grid-template-columns:1fr}.audit-coverage span{margin-bottom:5px}.audit-filters label{width:100%}}

.audit-group { margin:18px 0 6px; font-size:1rem;color:var(--muted) }

trackdna-playlist-tools {display:block;margin-bottom:16px}
.playlist-workshop details+details {border-top:1px solid var(--edge)}
.playlist-workshop summary {cursor:pointer;font-weight:600;padding:10px 0}
.playlist-workshop .fieldbar {margin:12px 0}
.playlist-workshop .field,.playlist-workshop select {max-width:100%;min-width:0}
.playlist-workshop [data-message]:empty {display:none}
.playlist-workshop [data-link-result] input {width:100%}
.playlist-workshop [data-preview] {padding:14px;border-left:2px solid var(--lime);background:var(--raised)}
.playlist-workshop ol,[data-share-view] ol {padding-left:1.5em;overflow-wrap:anywhere}

.task-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:1px;background:var(--border,#454a40);border:1px solid var(--border,#454a40)}
.task-grid a{padding:1rem;background:#191d19;color:#ebeee8;text-decoration:none;display:flex;justify-content:space-between;gap:.75rem}
.task-grid a span{color:#d3f86c}.task-grid a:hover{background:#2a3027}
.home-search{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap}.home-search label{font-weight:600}.home-search input{min-width:10rem;flex:1 1 18rem}

trackdna-beatport-manual {display:block;overflow-wrap:anywhere}
trackdna-beatport-manual .bp-title {font-size:1.1rem;font-weight:650}
trackdna-beatport-manual .bp-steps,trackdna-beatport-manual .bp-list {padding-inline-start:1.8em}
trackdna-beatport-manual .bp-steps li {margin-block:.45em}
trackdna-beatport-manual .bp-list li {padding:10px 0;border-top:1px solid var(--edge)}
trackdna-beatport-manual .bp-list .actions {margin:6px 0}
trackdna-beatport-manual .bp-check {display:inline-flex;align-items:center;gap:.5em}
trackdna-beatport-manual .bp-check input {width:1.15em;height:1.15em}
trackdna-beatport-manual [data-bp-progress] {font-weight:600}
trackdna-beatport-manual textarea {width:100%}

/* Navigation and work surfaces share the ink, paper and lime of the record sleeve. */
#navigation {
  flex: 1 1 auto;
}
.nav-tools {
  margin: 17px 0;
  padding: 12px 0;
  border-block: 1px solid var(--soft);
}
.nav-tools > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.nav-tools > summary::-webkit-details-marker { display: none; }
.nav-tools > summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.nav-tools[open] > summary::after { transform: rotate(225deg); }
.nav-tools .nav-label { margin-top: 12px; }
summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
.sidefoot { flex-shrink: 0; }
.topbar { background: #191c16; }
.global-search { border-radius: 24px; }
.page-head {
  padding-bottom: clamp(18px, 2.2vw, 30px);
  border-bottom: 1px solid var(--edge);
}
.page-head h1 { color: var(--ink); }
.page-head .sub { max-width: 66ch; }
.panel {
  border-color: #3d4336;
  box-shadow: 0 2px 4px #070a040d;
}
.panel:has(#library-rows) { padding-top: 8px; }
.btn.primary, .btn.small { border-radius: 24px; }
input[type='checkbox'] {
  accent-color: var(--lime);
  width: 16px;
  height: 16px;
}
#library-rows th:first-child { padding-left: 8px; }
#library-rows th:last-child { padding-right: 8px; }
#library-rows td:first-child { padding-inline: 8px; }
#library-rows .tablebox {
  border-block: 1px solid var(--edge);
}
#library-rows td, #library-rows th { font-variant-numeric: tabular-nums; }
#library-rows tr:has(input:checked) { background: #2b3322; }
#library-rows tr:focus-within { box-shadow: inset 2px 0 var(--lime); }
#library-rows .pagination { margin-bottom: 0; }
.task-grid {
  background: transparent;
  border: 0;
  gap: 8px;
}
.task-grid a {
  gap: 16px;
  align-items: center;
  padding: 15px 17px;
  border-radius: 7px;
  background: var(--raised);
  border: 1px solid var(--edge);
  font-weight: 550;
}
.task-grid a:hover { border-color: var(--lime); }
.demo-banner:not([hidden]) {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 20px;
  color: #2d3424;
  background: #eeeee5;
  border: 0;
  border-radius: 0;
  padding: 10px clamp(20px, 3.5vw, 56px);
  font-size: 13px;
}
.demo-banner a {
  color: inherit;
  background: transparent;
  border-color: #858a78;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.demo-banner a:hover { background: #dce2cf; }
.demo-banner a:focus-visible { outline-color: #486020; }
.desktop-hint { display: none; }
@media (max-width: 800px) {
  .desktop-hint:not([hidden]) {
    display: block;
    margin: 6px 0 16px;
    color: var(--muted);
    font-size: 12px;
  }
  .nav-tools > summary { min-height: 44px; }
}
@media (max-width: 630px) {
  .panel { border-radius: 8px; }
  .panel:has(#library-rows) > .fieldbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .panel:has(#library-rows) > .fieldbar > .grow { grid-column: 1 / -1; }
  #library-rows .track-cell { min-width: 154px; }
  #selection-library,
  #selection-dna {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    padding-block: 4px 12px;
  }
  :is(#selection-library, #selection-dna) > span,
  :is(#selection-library, #selection-dna) > [data-act='selection-clear'] {
    grid-column: 1 / -1;
  }
  :is(#selection-library, #selection-dna) > .btn {
    min-height: 44px;
    margin: 0;
  }
  .demo-banner:not([hidden]) { padding: 9px 14px; }
  .demo-banner > span { flex: 1 1 auto; }
  .global-search { min-width: 0; }
  input[type='file'] { white-space: normal; width: 100%; }
}

.domain-transfer{margin:.65rem 1.25rem;color:var(--muted,#bbc2ba);font-size:.9rem}.domain-transfer summary{cursor:pointer}.domain-transfer p{max-width:62rem;margin:.5rem 0}.domain-transfer a{text-decoration:underline;color:inherit}
