/* SPINZ mockup — screen-specific styling (theme-agnostic, uses tokens) */
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.pad { padding: var(--space-5); }
h3 { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin: 0 0 12px; }

/* screenhead rows */
.screenhead__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* library */
.rows { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 12px 16px; transition: var(--transition); }
.row:hover { border-color: color-mix(in oklab, var(--accent) 35%, var(--border)); }
.art { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex: none; }
.art--lg { width: 96px; height: 96px; border-radius: var(--radius-l); }
.art--thumb { position: relative; overflow: hidden; }
.thumbPlay {
  position: absolute; inset: 0; margin: auto; width: 26px; height: 26px;
  border: none; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff;
  font-size: 12px; line-height: 1; cursor: pointer; opacity: 0;
  transition: opacity .12s ease; display: flex; align-items: center; justify-content: center; padding: 0;
}
.art--thumb:hover .thumbPlay, .thumbPlay.is-playing { opacity: 1; }
.thumbPlay:hover { background: rgba(0,0,0,.78); }
.art__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; width: 100%; height: 100%; }
.art__grid i { display: block; }
.row__main { flex: 1; min-width: 0; }
.row__title { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.row__meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.row__plays, .row__dl { text-align: right; min-width: 64px; }
.row__plays strong, .row__dl strong { display: block; font-family: var(--font-mono); font-size: 15px; }
.row__plays span, .row__dl span { font-size: 11px; color: var(--muted); }
.row__actions { display: flex; gap: 8px; }

/* banners */
.banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-radius: var(--radius-l); padding: 14px 18px; margin-bottom: 16px; border: 1px solid; }
.banner--warn { background: color-mix(in oklab, var(--accent) 10%, transparent); border-color: color-mix(in oklab, var(--accent) 35%, transparent); }

/* layouts */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btnrow { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.card__sec + .card__sec { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.inlinerow { display: flex; gap: 8px; align-items: center; }
.inlinerow .input { flex: 1; }
.field + .field { margin-top: 14px; }

/* track detail */
.back { margin-bottom: 12px; }
.track-head { display: flex; gap: 20px; align-items: center; }
.track-head__info { flex: 1; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.player { display: flex; flex-direction: column; gap: 14px; padding: 8px 0; }
.playbtn { width: 52px; height: 52px; border-radius: 50%; border: none; background: var(--accent); color: var(--on-accent); font-size: 20px; display: grid; place-items: center; }
.player__time { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.ver { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; }
.ver span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); width: 24px; }
.ver em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--muted); }
.ver--cur { color: var(--accent); font-weight: 600; }
.ver--cur::before { content: '•'; margin-right: -4px; }

/* share */
.linkbox { display: flex; align-items: center; gap: 12px; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; font-family: var(--font-mono); font-size: 14px; margin-bottom: 16px; }
.linkbox[data-revoked] { text-decoration: line-through; color: var(--muted); }
.statrow { display: flex; gap: 24px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-mono); font-size: 22px; }
.stat span { font-size: 12px; color: var(--muted); }

/* buyer phone */
.buyerwrap { display: flex; justify-content: center; padding: 12px 0 32px; }
.buyerphone { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; }
.buyerphone__top { padding: 24px 24px 8px; text-align: center; }
.buyerphone__top .art--lg { margin: 0 auto 14px; }
.buyerphone__top h3 { font-family: var(--font-display); font-size: 20px; margin: 0 0 4px; }
.buyerphone__body { padding: 16px 24px 24px; }
.player--buyer { margin: 8px 24px; padding: 0; }
.licrow { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.licrow span { color: var(--muted); }
.licrow--total { border-bottom: none; font-size: 16px; margin-top: 4px; }
.licrow--total strong { font-family: var(--font-display); }
.licence { margin: 12px 0; }
.buyerphone__body .btn { width: 100%; margin-top: 8px; }
/* pack-listen rows: the per-track ▶ and the waveform sit side by side; a width:100% .btn would
   swallow the row and collapse the .packwave to 0 width (scrub unclickable). */
.buyerphone__body .plrow .plPlay { width: auto; margin-top: 0; flex: 0 0 auto; }
.buyerphone__body .plrow .packwave { width: 100%; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.plan { padding: 24px; display: flex; flex-direction: column; }
.plan h3 { font-size: 15px; margin: 0 0 4px; }
.plan__price { font-family: var(--font-display); font-size: 34px; font-weight: 700; margin: 8px 0 16px; }
.plan__price span { font-size: 15px; color: var(--muted); font-family: var(--font-sans); font-weight: 400; }
.plan ul { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; }
.plan li { padding: 6px 0; color: var(--muted); font-size: 13.5px; border-bottom: 1px solid var(--border); }
.plan li:last-child { border-bottom: none; }
.plan--cur { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan .btn { width: 100%; }
.payout { margin-top: 16px; }
.payout .statrow { margin: 12px 0; }

/* filter bar + chips */
.filterbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.filterbar__spacer { flex: 1; }
.chip { border: 1px solid var(--border); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 5px 13px; font-size: 13px; font-weight: 500; transition: var(--transition); }
.chip:hover:not(.chip--static) { border-color: var(--accent); color: var(--ink); }
.chip--sel { background: color-mix(in oklab, var(--accent) 14%, transparent); border-color: color-mix(in oklab, var(--accent) 45%, transparent); color: var(--ink); }
.chip--static { cursor: default; opacity: .75; }
.banner--info { background: color-mix(in oklab, var(--accent) 8%, transparent); border-color: color-mix(in oklab, var(--accent) 30%, transparent); }
.banner--inline { margin-top: 12px; }

/* row selection */
.row { position: relative; cursor: pointer; }
.row--sel { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.row__check { position: absolute; right: -8px; top: -8px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 12px; font-weight: 700; }

/* action bar */
.actionbar { position: sticky; bottom: 12px; display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--accent); border-radius: 14px; padding: 12px 16px; margin: 12px 0; box-shadow: 0 8px 30px rgba(0,0,0,.25); z-index: 10; }
.actionbar span { color: var(--muted); font-size: 13px; margin-right: auto; }

/* packs */
.packgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.packcard { overflow: hidden; display: flex; flex-direction: column; }
.packcover { height: 150px; }
.packcover--lg { max-width: 220px; height: 180px; margin: 0 auto 14px; border-radius: var(--radius-l); overflow: hidden; }
.art__grid--pack { grid-template-columns: repeat(2, 1fr); }
.packcard__body { padding: 16px; }
.packcard__body h3 { margin-bottom: 8px; }
.packcard__body .btnrow { margin-top: 12px; }
.packform { max-width: 760px; margin: 0 auto; padding: 0 8px; }
.packtracklist { padding: 4px 8px; display: flex; flex-direction: column; gap: 4px; }
.packtrack { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-bottom: 1px solid var(--border); border-radius: 8px; }
.packtrack:last-child { border-bottom: none; }
.packtrack.dragging { opacity: .5; background: color-mix(in oklab, var(--accent) 10%, transparent); }
.packtrack.drop-target { border-top: 2px solid var(--accent); }
.packtrack__grip { cursor: grab; color: var(--faint); font-size: 16px; flex: none; padding: 0 2px; user-select: none; touch-action: none; }
.packtrack__grip:active { cursor: grabbing; }
.packtrack__play { width: 28px; height: 28px; border-radius: 50%; background: var(--surface2); display: grid; place-items: center; font-size: 12px; flex: none; cursor: pointer; }
.packtrack__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.packtrack__main strong { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.packtrack__main span { font-size: 12px; }
.packtrack__buy { font-family: var(--font-mono); flex: none; }
/* mini waveform scrub bar (pack view) — slim peaks + accent-fill progress + elapsed/total time */
.packwave { position: relative; display: flex; align-items: flex-end; gap: 1px; height: 24px; cursor: pointer; border-radius: 4px; overflow: hidden; background: color-mix(in oklab, var(--hover) 40%, transparent); outline: none; }
.packwave:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
.packwave i { flex: 1; background: var(--accent); opacity: .55; border-radius: 1px; min-width: 1px; }
.packwave:hover i { opacity: .8; }
.packwave__prog { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: color-mix(in oklab, var(--accent) 30%, transparent); pointer-events: none; }
.packwave__time { font-variant-numeric: tabular-nums; font-size: 11px; color: var(--muted); }
.packview__foot { margin-top: 12px; display: flex; align-items: center; gap: 12px; }
/* pack art is clickable like the name (hover -> pointer) */
.packcover[role="button"], .packcard .packcover { cursor: pointer; }

@media (max-width: 820px) {
  .actionbar { flex-wrap: wrap; }
  .actionbar span { width: 100%; margin-right: 0; }
}

/* toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px;
  padding: 12px 20px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: transform 240ms ease, opacity 240ms ease; z-index: 90;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

@media (max-width: 820px) {
  .grid2 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .track-head { flex-direction: column; align-items: flex-start; }
}

/* ============ mobile pass (phone-first) ============ */
@media (max-width: 720px) {
  /* library rows: collapse to art + main + actions (drop plays/dl columns) */
  .row { gap: 12px; padding: 12px 12px; align-items: flex-start; }
  .row__plays, .row__dl { display: none; }
  .row__actions { flex-direction: column; gap: 6px; align-items: stretch; }
  .row__actions .btn { min-height: 40px; white-space: nowrap; }
  .row__title { font-size: 14px; flex-wrap: wrap; }
  .row__meta .pill { font-size: 11px; padding: 2px 8px; }
  .row__check { right: -6px; top: -6px; width: 22px; height: 22px; }

  /* filter bar: horizontal scroll chips */
  .filterbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -12px 12px; padding: 0 12px; }
  .filterbar::-webkit-scrollbar { display: none; }
  .filterbar .chip { flex: none; white-space: nowrap; min-height: 40px; display: inline-flex; align-items: center; }
  .filterbar__spacer { display: none; }

  /* screenhead action + title stack */
  .screenhead__row { flex-direction: column; align-items: stretch; gap: 10px; }
  .screenhead__row .btn { width: 100%; justify-content: center; }
  .screenhead__sub { font-size: 13px; }

  /* scoreboard / stat rows on share + pricing */
  .statrow { gap: 16px; }
  .stat strong { font-size: 18px; }

  /* buyer phone: flush to viewport */
  .buyerphone { max-width: 100%; border-radius: 18px; }
  .buyerphone__top { padding: 20px 16px 8px; }
  .buyerphone__body { padding: 14px 16px 20px; }
  .player--buyer { margin: 8px 16px; }
  .packtracklist { padding: 4px 16px; }
  .packtrack { gap: 10px; }
  .packtrack__buy { min-height: 40px; }

  /* pack cards: fill width, larger cover */
  .packcover { height: 120px; }

  /* track detail: version + preview stack already 1-col via grid2 */
  .art--lg { width: 80px; height: 80px; }
  .chips .pill { font-size: 11px; }
}
@media (max-width: 430px) {
  .row { padding: 10px 10px; }
  .art { width: 40px; height: 40px; }
  .linkbox { font-size: 12px; flex-wrap: wrap; }
  .linkbox .btn { min-height: 36px; }
  .packgrid { grid-template-columns: 1fr; }
  .packcover--lg { max-width: 160px; height: 140px; }
  .licrow { font-size: 13px; }
}

/* ============ new features ============ */
/* BPM range slider (two-handle) */
.bpmrange { margin: 8px 0 16px; }
.bpmrange > label { font-size: 13px; font-weight: 600; color: var(--muted); display: block; margin-bottom: 8px; }
.bpmrange > label span { font-family: var(--font-mono); color: var(--ink); }
.bpmrange__track { position: relative; height: 24px; }
.bpmrange__track input[type="range"] {
  position: absolute; left: 0; top: 0; width: 100%; height: 24px; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.bpmrange__track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto;
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
  border: 2px solid var(--bg); cursor: pointer; box-shadow: 0 0 0 1px var(--border);
}
.bpmrange__track input[type="range"]::-moz-range-thumb {
  pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
  border: 2px solid var(--bg); cursor: pointer;
}
.bpmrange__fill { position: absolute; left: 0; top: 10px; height: 4px; border-radius: 2px; background: var(--accent); }
.bpmrange__track::before { content: ''; position: absolute; left: 0; top: 10px; width: 100%; height: 4px; border-radius: 2px; background: var(--hover); }

/* VIP badge */
.badge--vip { background: linear-gradient(135deg, #d8b25a, #f0d78a); color: #151208; }

/* account profile */
.profile__row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.avatar--lg { width: 56px; height: 56px; font-size: 22px; }
.profile__name { font-family: var(--font-display); font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.profile .banner { margin-top: 14px; }
.invite { margin-top: 16px; }

/* referral rows */
.stat--lg strong { font-size: 34px; }
.refrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.refrow:last-child { border-bottom: none; }
.refrow span:first-child { min-width: 0; }

@media (max-width: 720px) {
  .bpmrange__track input[type="range"]::-webkit-slider-thumb { width: 26px; height: 26px; }
  .refrow { flex-direction: column; align-items: flex-start; gap: 6px; }
  .profile__row { align-items: flex-start; }
}

/* ============ Library v2 (search / exact BPM / sort / facets / waveform) ============ */
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.toolbar__search { flex: 1 1 220px; min-width: 160px; }
.toolbar__bpm { flex: 0 0 120px; }
.toolbar__sort { flex: 0 0 160px; }
.screenhead__actions { display: flex; gap: 8px; }

.facetbar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.facetbtn {
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; transition: var(--transition);
  min-height: 36px;
}
.facetbtn:hover { border-color: var(--accent); color: var(--ink); }
.facetbtn.is-on { background: color-mix(in oklab, var(--accent) 14%, transparent); border-color: color-mix(in oklab, var(--accent) 45%, transparent); color: var(--ink); }

#facetPanel { margin: 0 0 14px; }
.facet__search { margin-bottom: 8px; }
.facet__opts { display: flex; gap: 6px; flex-wrap: wrap; }
.facet__add { display: flex; gap: 8px; margin-top: 8px; }
.facet__add .input { flex: 1; }

.row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.row__wave { position: relative; display: flex; align-items: flex-end; gap: 1px; height: 26px; cursor: pointer; border-radius: 4px; overflow: hidden; background: color-mix(in oklab, var(--hover) 40%, transparent); }
.row__wave i { flex: 1; background: var(--accent); opacity: .55; border-radius: 1px; min-width: 1px; }
.row__wave:hover i { opacity: .8; }
.row__waveprog { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: color-mix(in oklab, var(--accent) 25%, transparent); pointer-events: none; }
.row--sel .row__wave { background: color-mix(in oklab, var(--accent) 12%, transparent); }

.editpill { cursor: pointer; border-style: dashed; }
.editpill:hover { border-color: var(--accent); color: var(--accent); }
.editinline { width: 70px; padding: 1px 6px; font-size: 12px; min-height: 20px; }

@media (max-width: 720px) {
  .toolbar__search { flex: 1 1 100%; }
  .toolbar__bpm { flex: 1 1 40%; }
  .toolbar__sort { flex: 1 1 40%; }
  .row__wave { height: 30px; }
}

/* delivery + import */
.dlrow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.dlrow:last-child { border-bottom: none; }
.dlrow span:first-child { flex: 1; font-weight: 600; min-width: 0; }
.dlrow .muted { font-family: var(--font-mono); font-size: 12px; }
.dlrow--locked { opacity: .6; }
.dropzone { border: 2px dashed var(--border); text-align: center; }
.dropzone h3 { margin-bottom: 4px; }
.dropzone p { color: var(--muted); }
.dropzone .btn { margin-top: 12px; }

/* ==== functional collab ==== */
.roleswitch { display: flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.roleswitch button { border: none; background: transparent; color: var(--muted); padding: 7px 14px; font-size: 13px; font-weight: 600; min-height: 38px; white-space: nowrap; }
.roleswitch button.is-on { background: var(--accent); color: var(--on-accent); }
.stepper { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; }
.step { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.step__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--border); flex: none; }
.step.done .step__dot { background: var(--accent); border-color: var(--accent); }
.step.now .step__dot { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent); }
.step.now { color: var(--ink); font-weight: 600; }
.collab-room { padding: var(--space-5); }
.collab-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.collab-head > :nth-child(2) { flex: 1; min-width: 0; }
.collab-head h3 { margin: 0 0 2px; }
.collab-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.collab-section h4 { font-family: var(--font-display); font-size: 14px; margin: 0 0 10px; }
.collab-section .ver { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.collab-section .ver strong { margin-left: 6px; }
.collab-section .ver em { font-style: normal; color: var(--muted); font-size: 12px; margin-left: 6px; }
.chat { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; }
.splitrow { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.splitrow > span { min-width: 90px; font-size: 13px; }
.splitrow input[type=range] { flex: 1; }
.splitrow strong { font-family: var(--font-mono); min-width: 42px; text-align: right; }
.ackrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
@media (max-width: 720px) {
  .collab-head { flex-wrap: wrap; }
  .roleswitch { width: 100%; }
  .roleswitch button { flex: 1; }
  .splitrow { flex-wrap: wrap; }
  .splitrow > span { min-width: 80px; }
}

/* ==== license editor ==== */
.lic-preview { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.lic-preview h4 { font-family: var(--font-display); margin: 0 0 2px; letter-spacing: .02em; }
.lic-preview hr { border: none; border-top: 1px dashed var(--border); margin: 14px 0; }
.lic-preview .licrow { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.lic-preview .licrow span { color: var(--muted); }
.lic-preview .licrow strong { font-family: var(--font-mono); font-size: 13px; }
.legal-line { margin: 4px 0; opacity: .85; font-style: italic; }

/* ==== kebab action menu ==== */
.kebab-pop {
  position: fixed; z-index: 80; width: 240px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35); overflow-x: hidden; overflow-y: auto; padding: 4px;
}
.kebab-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  border: none; background: transparent; color: var(--ink);
  padding: 9px 12px; font-size: 13.5px; text-align: left; border-radius: 8px; min-height: 38px;
}
.kebab-item:hover { background: var(--hover); }
.kebab-icon { width: 18px; text-align: center; flex: none; filter: saturate(.6); }
.kebab-item--danger { color: var(--danger); }
.kebab-item--danger:hover { background: color-mix(in oklab, var(--danger) 10%, transparent); }
.edit-card { max-width: 640px; }
.packpick { margin: 3px 0; }

/* standalone listen/buy link */
.buyerphone--standalone { max-width: 420px; }
.link-meta { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* buyer mode: hide producer chrome */
body.is-buyer .appbar { display: none; }
body.is-buyer .demobar { display: none; }
body.is-buyer #screen { padding-top: 24px; }
/* in-pack selection (DJ): checkbox per track + selection bar */
.packtrack__sel { flex: none; width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; margin: 0; }
.packtrack.is-selected { background: color-mix(in oklab, var(--accent) 8%, transparent); }
.packselbar { margin-bottom: 10px; }

/* inline pill editing (library): click a pill to edit it in place */
.editpill { cursor: text; }
.editpill:hover { outline: 1px solid var(--accent); }
.editpill--add { opacity: .6; cursor: pointer; }
.editpill--add:hover { opacity: 1; }
.editinline { width: 7ch; min-width: 60px; padding: 0 6px; height: 22px; font-size: 12px; }

/* collab upload progress bar */
.progress { display: flex; align-items: center; gap: 8px; background: var(--surface2); border-radius: 999px; height: 10px; overflow: hidden; }
.progress__bar { height: 100%; background: var(--accent); border-radius: 999px; transition: width .15s; }

/* fixed upload progress bar (beats / versions) */
#uploadProgress { display: none; position: fixed; top: 12px; left: 50%; transform: translateX(-50%); width: min(420px, 86vw); z-index: 200; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; box-shadow: 0 12px 32px rgba(0,0,0,.4); }
#uploadProgress .up-label { font-size: 13px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#uploadProgress .up-track { height: 6px; border-radius: 3px; background: color-mix(in oklab, var(--hover) 50%, transparent); overflow: hidden; }
#uploadProgress .up-fill { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .15s ease; }
