:root {
  --bg: #0e1014; --panel: #161920; --panel2: #1c2029; --line: #262b36; --line2: #313847;
  --text: #e8eaf0; --muted: #8a92a6; --accent: #00dcc4; --accent2: #ff9f5a; --warn: #f5b74e; --bad: #f07178; --good: #7ad49b;
  --r: 12px; --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif; --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 14px/1.45 var(--font); }
body { display: grid; grid-template-columns: 232px 1fr; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.error { color: var(--bad); margin-top: 10px; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* sidebar */
.sidebar { background: #0a0c10; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 18px 12px; gap: 6px; height: 100vh; position: sticky; top: 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: .2px; padding: 4px 10px 18px; }
.logo { display: inline-flex; gap: 3px; align-items: flex-end; height: 20px; }
.logo i { width: 4px; border-radius: 2px; background: #fff; }   /* 2 Dec: the Chordelo mark is solid white */
.logo i:nth-child(1) { height: 9px } .logo i:nth-child(2) { height: 18px } .logo i:nth-child(3) { height: 13px } .logo i:nth-child(4) { height: 6px }
nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--muted); }
nav a:hover { background: var(--panel); color: var(--text); }
nav a.on { background: var(--panel2); color: var(--text); }
.nav-head { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 14px 10px 4px; }
.side-section { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 18px 10px 6px; }
.recent { display: flex; flex-direction: column; gap: 2px; overflow: auto; }
.recent a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; }
.recent a:hover { background: var(--panel); color: var(--text); }
.recent a span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-foot { margin-top: auto; font-size: 12px; color: var(--muted); padding: 10px; }

/* page */
main { padding: 28px 36px 60px; min-width: 0; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
h1 { margin: 0 0 4px; font-size: 24px; font-weight: 650; letter-spacing: -.2px; }
h2 { font-size: 15px; margin: 22px 0 8px; }
.sub { margin: 0; color: var(--muted); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.btn { border: 1px solid var(--line2); background: var(--panel2); padding: 9px 16px; border-radius: 9px; display: inline-flex; align-items: center; gap: 8px; }
.btn:hover { border-color: #46506a; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #0b0d14; font-weight: 600; }
.btn.primary:disabled { opacity: .4; cursor: not-allowed; }
.btn.ghost { background: transparent; }
.actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* steps */
.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; color: var(--muted); padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); }
.steps li::before { content: counter(s); width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--panel2); font-size: 12px; }
.steps li.on { color: var(--text); border-color: var(--accent); }
.steps li.on::before { background: var(--accent); color: #0b0d14; }
.steps li.done::before { content: "✓"; background: var(--good); color: #0b0d14; }

/* upload */
.drop { display: block; border: 1.5px dashed var(--line2); border-radius: var(--r); padding: 54px 20px; text-align: center; cursor: pointer; transition: .15s; background: linear-gradient(180deg, #151820, #12141a); }
.drop:hover, .drop.over { border-color: var(--accent); background: #161a26; }
.drop-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.drop-inner svg { width: 34px; height: 34px; color: var(--accent); }
.drop-inner strong { font-size: 16px; }
.drop-inner span { color: var(--muted); }
.row-btns { display: flex; gap: 8px; margin-top: 8px; }
#uploadStatus { margin-top: 12px; }
.progress { height: 6px; background: var(--panel2); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent2), var(--accent)); width: 0; transition: width .2s; }

/* tracks table */
.field-row { display: flex; align-items: flex-end; gap: 16px; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 280px; }
.field span { font-size: 12px; color: var(--muted); }
input, select { background: var(--panel2); border: 1px solid var(--line2); color: var(--text); border-radius: 8px; padding: 9px 11px; font: inherit; outline: none; }
input:focus, select:focus { border-color: var(--accent); }
.pill-group { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { background: var(--panel2); border: 1px solid var(--line2); border-radius: 99px; padding: 4px 11px; font-size: 12px; color: var(--muted); }
.pill b { color: var(--text); font-weight: 600; }
.tracks-head, .trow { display: grid; grid-template-columns: 6px 1.6fr 170px 1.2fr 90px 52px; align-items: center; gap: 14px; }
.tracks-head { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 12px 8px; }
.track-rows { display: flex; flex-direction: column; gap: 6px; }
.trow { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.trow.off { opacity: .45; }
.trow .col { width: 6px; height: 28px; border-radius: 3px; }
.trow .fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow .midi { font-size: 12px; color: var(--accent2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toggle { width: 38px; height: 22px; border-radius: 99px; background: var(--line2); position: relative; border: 0; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .15s; }
.toggle.on { background: var(--accent); } .toggle.on::after { left: 19px; }

/* options */
.question { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.question > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line2); border-radius: 9px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 7px; color: var(--muted); }
.seg button.on { background: var(--accent); color: #0b0d14; font-weight: 600; }
.question.na { opacity: .5; } .question.na .seg { pointer-events: none; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mode { text-align: left; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.mode span { color: var(--muted); font-size: 13px; }
.mode.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

/* library */
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 10px; transition: .15s; }
.card:hover { border-color: var(--line2); transform: translateY(-1px); }
.card h3 { margin: 0; font-size: 15px; }
.card .meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.status { font-size: 11px; padding: 3px 9px; border-radius: 99px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.status.done { background: #1d3a2b; color: var(--good); } .status.running { background: #12302d; color: var(--accent); }
.status.failed { background: #3e1f24; color: var(--bad); } .status.interrupted, .status.queued, .status.pending { background: #3a3220; color: var(--warn); }
.score-big { font-size: 26px; font-weight: 700; } .score-big small { font-size: 12px; color: var(--muted); font-weight: 500; }
.empty { color: var(--muted); padding: 40px; text-align: center; border: 1px dashed var(--line2); border-radius: var(--r); }

/* project */
.crumbs { color: var(--muted); font-size: 12px; margin-bottom: 4px; } .crumbs a:hover { color: var(--text); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.transport { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 16px 16px; margin-bottom: 14px; }
.tp-left { display: flex; align-items: center; gap: 14px; }
.tp-right { align-self: center; font-size: 12px; }
.play { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--accent); color: #0b0d14; display: grid; place-items: center; }
.play svg { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.play:disabled { opacity: .4; }
.ab { display: inline-flex; background: var(--bg); border: 1px solid var(--line2); border-radius: 9px; padding: 3px; }
.ab button { border: 0; background: transparent; padding: 6px 14px; border-radius: 7px; color: var(--muted); }
.ab button.on { background: var(--panel2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.ab button[data-src="rec"].on { color: var(--accent2); }
.time { font-family: var(--mono); font-size: 14px; }
.wave-wrap { grid-column: 1 / -1; position: relative; height: 110px; background: #0f1218; border-radius: 9px; border: 1px solid var(--line); cursor: pointer; overflow: hidden; }
#wave { width: 100%; height: 100%; display: block; }
.playhead { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; left: 0; pointer-events: none; box-shadow: 0 0 8px rgba(255,255,255,.5); }
.markers { position: absolute; inset: 0; pointer-events: none; }
.markers span { position: absolute; top: 0; bottom: 0; border-left: 1px dashed rgba(255,255,255,.25); }
.markers span em { position: absolute; top: 4px; left: 4px; font-style: normal; font-size: 10px; color: var(--muted); background: rgba(14,16,20,.8); padding: 1px 5px; border-radius: 4px; }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tabs button { background: none; border: 0; padding: 10px 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--text); border-color: var(--accent); }

/* lanes */
.lanes { display: flex; flex-direction: column; gap: 6px; }
.lane { display: grid; grid-template-columns: 6px 230px 1fr 260px 150px; gap: 14px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.lane .col { width: 6px; height: 40px; border-radius: 3px; }
.lane .ln { display: flex; flex-direction: column; min-width: 0; }
.lane .ln strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lane .ln span { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lane canvas { width: 100%; height: 40px; display: block; }
.lane .scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bar { display: flex; flex-direction: column; gap: 3px; font-size: 10px; color: var(--muted); }
.bar i { display: block; height: 5px; border-radius: 3px; background: var(--panel2); position: relative; overflow: hidden; }
.bar i b { position: absolute; inset: 0 auto 0 0; border-radius: 3px; }
.lane .lbtns { display: flex; gap: 6px; justify-content: flex-end; }
.mini { border: 1px solid var(--line2); background: var(--panel2); border-radius: 7px; padding: 5px 9px; font-size: 12px; color: var(--muted); }
.mini.on { color: #0b0d14; background: var(--accent2); border-color: var(--accent2); }
.mini:disabled { opacity: .35; cursor: default; }
.lane-group { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 12px 2px 2px; }

/* pipeline */
.pipe-grid { display: grid; grid-template-columns: 360px 1fr; gap: 12px; }
.stages { display: flex; flex-direction: column; gap: 4px; padding: 10px; }
.stage { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; }
.stage.running { background: var(--panel2); }
.stage .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; font-size: 11px; }
.stage.done .dot { background: var(--good); border-color: var(--good); color: #0b0d14; }
.stage.failed .dot { background: var(--bad); border-color: var(--bad); color: #0b0d14; }
.stage.running .dot { border-color: var(--accent); border-top-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage small { color: var(--muted); display: block; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.stage .t { color: var(--muted); font-size: 12px; font-family: var(--mono); }
.stage .err { color: var(--bad); font-size: 12px; grid-column: 2 / -1; white-space: pre-wrap; }
.log { margin: 0; height: 520px; overflow: auto; font: 12px/1.55 var(--mono); color: #b9c0d0; white-space: pre-wrap; }

/* quality */
.q-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 14px; }
.q-card h3 { margin: 0 0 10px; font-size: 13px; color: var(--muted); font-weight: 500; }
.q-card .bars { display: flex; flex-direction: column; gap: 8px; }
.q-card .bar { flex-direction: row; align-items: center; gap: 10px; font-size: 12px; }
.q-card .bar > span { width: 60px; }
.q-card .bar i { flex: 1; height: 7px; }
.q-card .bar em { width: 34px; text-align: right; font-style: normal; color: var(--text); }
.note { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; color: var(--muted); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.t td { padding: 8px 10px; border-bottom: 1px solid var(--line); }

/* reports / files */
.rep-grid { display: grid; grid-template-columns: 220px 1fr; gap: 12px; }
.rep-list { display: flex; flex-direction: column; gap: 2px; padding: 8px; }
.rep-list button { text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 7px; color: var(--muted); }
.rep-list button.on, .rep-list button:hover { background: var(--panel2); color: var(--text); }
.rep-view { overflow: auto; max-height: 70vh; }
.rep-view table { border-collapse: collapse; margin: 8px 0; font-size: 13px; }
.rep-view th, .rep-view td { border: 1px solid var(--line); padding: 5px 9px; text-align: left; }
.rep-view h1 { font-size: 20px; } .rep-view h2 { font-size: 15px; margin-top: 18px; }
.files-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.file-card { display: flex; flex-direction: column; gap: 6px; }
.file-card p { margin: 0; color: var(--muted); font-size: 13px; }

/* modes with prices, checkout, plans */
.mode .price { margin-top: 6px; font-size: 18px; font-weight: 700; color: var(--text); }
.mode .price small { font-size: 12px; color: var(--muted); font-weight: 500; }
.checkout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; }
.pay-card { background: var(--panel2); border: 1px solid var(--line2); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.pay-card .total { font-size: 34px; font-weight: 700; letter-spacing: -.5px; }
.paybox { margin: 8px 0; padding: 12px; border: 1px dashed var(--line2); border-radius: 10px; color: var(--muted); font-size: 13px; }
.btn.wide { width: 100%; justify-content: center; min-height: 46px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.plan .price { font-size: 30px; font-weight: 700; }
.plan .price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.example { font-size: 11px; color: var(--warn); }
.now { font-size: 12px; color: var(--muted); }
.now b { color: var(--text); }
@media (max-width: 900px) { body { grid-template-columns: 1fr; } .sidebar { position: static; height: auto; } .checkout { grid-template-columns: 1fr; } .modes { grid-template-columns: 1fr; } }

/* project journey */
.journey { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; flex-wrap: wrap; counter-reset: j; }
.journey li { counter-increment: j; }
.journey button { display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 13px; min-height: 38px; }
.journey button::before { content: counter(j); width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--panel2); font-size: 12px; font-weight: 600; }
.journey li.done button { color: var(--text); }
.journey li.done button::before { content: "✓"; background: var(--good); color: #0b0d14; }
.journey li.running button::before { background: var(--accent); color: #0b0d14; }
.journey li.on button { border-color: var(--accent); color: var(--text); background: var(--panel2); }
.journey li.locked button { opacity: .45; cursor: not-allowed; }
.jstep { display: none; } .jstep.on { display: block; }
.jnav { display: flex; justify-content: space-between; margin-top: 18px; gap: 10px; }
.kv { display: grid; grid-template-columns: 200px 1fr; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
.lane .ln button.lname { background: none; border: 0; padding: 0; text-align: left; color: var(--text); font-weight: 600; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lane .ln button.lname:hover { color: var(--accent); text-decoration: underline; }
.vtag { font-size: 10px; padding: 1px 6px; border-radius: 99px; background: #3a2e20; color: var(--accent2); margin-left: 6px; }

/* metadata */
.meta-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.meta-grid { display: grid; grid-template-columns: 1fr 320px; gap: 14px; align-items: start; }
.meta-form { display: flex; flex-direction: column; gap: 12px; }
.meta-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px; }
.mgroup h3 { margin: 0 0 12px; font-size: 14px; }
.mfields { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px 16px; }
.mf { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mf.wide { grid-column: 1 / -1; }
.mf > label { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.mf > label .req { color: var(--accent2); }
.mf textarea { background: var(--panel2); border: 1px solid var(--line2); color: var(--text); border-radius: 8px; padding: 9px 11px; font: inherit; min-height: 70px; resize: vertical; }
.mf .help { font-size: 11px; color: var(--muted); }
.mf .err { font-size: 12px; color: var(--bad); }
.sug { font-size: 10px; padding: 1px 7px; border-radius: 99px; background: #2a2440; color: #7eeedd; text-transform: uppercase; letter-spacing: .05em; cursor: help; }
.usesug { font-size: 11px; color: var(--accent); background: none; border: 0; padding: 0; text-decoration: underline; }
.chipset { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line2); background: var(--panel2); border-radius: 99px; padding: 5px 11px; font-size: 12px; color: var(--muted); }
.chip.on { background: var(--accent); color: #0b0d14; border-color: var(--accent); }
.chip.alt { border-style: dashed; }
.ro { padding: 9px 11px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--text); }
.rows { display: flex; flex-direction: column; gap: 6px; }
.rowline { display: grid; gap: 8px; align-items: center; }
.rowline.w { grid-template-columns: 1.4fr 1fr 80px 1fr 1fr 1fr 32px; }
.rowline.c { grid-template-columns: 1.6fr 1fr 32px; }
.rowline input, .rowline select { min-width: 0; padding: 7px 9px; }
.xbtn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line2); background: transparent; color: var(--muted); }
.addbtn { align-self: flex-start; font-size: 12px; padding: 6px 12px; }
.art-drop { display: grid; place-items: center; aspect-ratio: 1; border: 1.5px dashed var(--line2); border-radius: 10px; text-align: center; color: var(--muted); cursor: pointer; overflow: hidden; background: var(--bg); font-size: 13px; padding: 10px; }
.art-drop.over { border-color: var(--accent); }
.art-drop img { width: 100%; height: 100%; object-fit: cover; }
.warnline { color: var(--warn); } .okline { color: var(--good); }

/* download */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.opt { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 11px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel2); margin-bottom: 6px; cursor: pointer; }
.opt.dis { opacity: .5; cursor: not-allowed; }
.opt input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.opt small { display: block; color: var(--muted); font-size: 12px; }
.kind { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 99px; margin-left: 6px; }
.kind.native { background: #1d3a2b; color: var(--good); } .kind.open { background: #12302d; color: #6ee9d6; } .kind.pack { background: #3a2e20; color: var(--accent2); }

/* re-create drawer */
.scrim { position: fixed; inset: 0; background: rgba(5, 6, 9, .55); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: var(--panel); border-left: 1px solid var(--line2); z-index: 41; display: flex; flex-direction: column; box-shadow: -20px 0 40px rgba(0, 0, 0, .4); }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-body { padding: 16px 20px 30px; overflow: auto; display: flex; flex-direction: column; gap: 14px; }
.drawer textarea { width: 100%; box-sizing: border-box; background: var(--panel2); border: 1px solid var(--line2); color: var(--text); border-radius: 8px; padding: 10px 12px; font: inherit; min-height: 76px; resize: vertical; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg2 button { border: 1px solid var(--line2); background: var(--panel2); border-radius: 9px; padding: 10px; text-align: left; color: var(--muted); }
.seg2 button.on { border-color: var(--accent); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }
.seg2 button b { display: block; color: var(--text); font-size: 13px; }
.seg2 button span { font-size: 12px; }
.optcard { border: 1px solid var(--line2); background: var(--panel2); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.optcard.cur { border-style: dashed; }
.optcard .btns { display: flex; gap: 6px; flex-wrap: wrap; }
.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--line2); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; vertical-align: -2px; margin-right: 6px; }

@media (max-width: 1000px) { .meta-grid, .dl-grid { grid-template-columns: 1fr; } .meta-side { position: static; } .rowline.w { grid-template-columns: 1fr 1fr; } }

/* DAW-style lanes: track number, instrument icon, coloured clip */
.lane { grid-template-columns: 34px 240px 1fr 260px 230px !important; }
.lane .col { display: none; }
.tnum { width: 28px; height: 28px; border-radius: 7px; background: var(--panel2); border: 1px solid var(--line2); display: grid; place-items: center; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lhead { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ricon { width: 22px; height: 22px; flex: none; display: grid; place-items: center; }
.ricon svg { width: 18px; height: 18px; }
.clip { position: relative; height: 42px; border-radius: 6px; overflow: hidden; background: color-mix(in srgb, var(--c) 16%, #0f1218); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.clip canvas { width: 100%; height: 100%; display: block; }
.lane-full { background: var(--panel2) !important; }
.mini.edit { color: var(--accent2); border-color: color-mix(in srgb, var(--accent2) 50%, var(--line2)); }
.tracks-head, .trow { grid-template-columns: 34px 22px minmax(0, 1.6fr) 170px minmax(0, 1.1fr) 64px 52px !important; }
.trow .col { width: 24px !important; height: 24px !important; border-radius: 6px !important; display: grid; place-items: center; background: transparent !important; }

/* per-track verdict */
.verdict { display: flex; flex-direction: column; gap: 2px; font-size: 13px; cursor: help; }
.verdict b { font-size: 15px; margin-right: 4px; }
.verdict.good b { color: var(--good); } .verdict.ok b { color: var(--warn); } .verdict.far b { color: var(--bad); }
.verdict small { color: var(--muted); font-size: 12px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent2); text-decoration: underline; font-size: 12px; cursor: pointer; }

/* arrangement editor */
.arr-root { padding-bottom: 90px; }
.arr-root.over { outline: 2px dashed var(--accent); outline-offset: 4px; border-radius: 12px; }
.arr-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
kbd { background: var(--panel2); border: 1px solid var(--line2); border-radius: 4px; padding: 0 5px; font-size: 11px; }
.arr { display: grid; grid-template-columns: 220px 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.arr-heads { border-right: 1px solid var(--line); background: #13161c; }
.arr-corner { height: 34px; border-bottom: 1px solid var(--line); }
.arr-head { height: 76px; box-sizing: border-box; padding: 8px 10px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.ah-top { display: flex; gap: 6px; align-items: center; }
.ah-name { flex: 1; min-width: 0; padding: 4px 6px; background: transparent; border: 1px solid transparent; font-weight: 600; font-size: 13px; }
.ah-name:hover, .ah-name:focus { border-color: var(--line2); background: var(--panel2); }
.ah-ctl { display: flex; gap: 5px; align-items: center; }
.ah-ctl input[type=range] { flex: 1; min-width: 0; accent-color: var(--accent); }
.tbtn { width: 26px; height: 24px; border-radius: 6px; border: 1px solid var(--line2); background: var(--panel2); color: var(--muted); font-size: 11px; font-weight: 700; padding: 0; }
.tbtn.on.m { background: var(--warn); color: #0b0d14; border-color: var(--warn); }
.tbtn.on.s { background: var(--accent); color: #0b0d14; border-color: var(--accent); }
.arr-scroll { overflow-x: auto; overflow-y: hidden; position: relative; }
.arr-canvas { position: relative; }
.ruler { position: relative; height: 34px; border-bottom: 1px solid var(--line); background: #13161c; cursor: pointer; }
.ruler .bar { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--line2); font-size: 10px; color: var(--muted); padding: 2px 4px; }
.ruler .sec { position: absolute; bottom: 2px; font-size: 10px; color: var(--accent2); padding-left: 4px; border-left: 2px solid var(--accent2); }
.lane-row { position: relative; height: 76px; border-bottom: 1px solid var(--line); background-image: linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); }
.aclip { position: absolute; top: 6px; bottom: 6px; border-radius: 6px; overflow: hidden; cursor: grab; background: color-mix(in srgb, var(--c) 20%, #0f1218); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); user-select: none; touch-action: none; }
.aclip:active { cursor: grabbing; }
.aclip.sel { border-color: #fff; box-shadow: 0 0 0 1px #fff; }
.aclip.muted { opacity: .4; }
.aclip canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.aclip-name { position: absolute; left: 6px; top: 3px; font-size: 10px; color: #fff; text-shadow: 0 1px 2px #000; pointer-events: none; white-space: nowrap; }
.aclip .edge { position: absolute; top: 0; bottom: 0; width: 8px; cursor: ew-resize; }
.aclip .edge.l { left: 0; } .aclip .edge.r { right: 0; }
.aclip .edge:hover { background: rgba(255,255,255,.18); }
.aph { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; pointer-events: none; box-shadow: 0 0 6px rgba(255,255,255,.6); }
.arr-foot { position: fixed; left: 232px; right: 0; bottom: 0; z-index: 30; background: rgba(12,14,19,.97); border-top: 1px solid var(--line2); padding: 10px 24px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.ft-group { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; min-width: 38px; justify-content: center; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line2); background: var(--panel2); color: var(--text); font-size: 13px; }
.fbtn:disabled { opacity: .35; cursor: default; }
.fbtn.on { border-color: var(--accent); color: var(--accent); }
.fbtn.big { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #0b0d14; border: 0; padding: 0; }
.fbtn svg { width: 18px; height: 18px; }
.ftime { font-family: var(--mono); font-size: 15px; min-width: 150px; }
.modal { position: fixed; inset: 0; background: rgba(5,6,9,.6); display: grid; place-items: center; z-index: 60; }
.modal-card { background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; padding: 20px; max-width: 420px; }
@media (max-width: 900px) { .arr-foot { left: 0; } .arr { grid-template-columns: 150px 1fr; } }

/* --- fixes 28 Nov: hidden must always hide; sidebar fixed --- */
[hidden] { display: none !important; }
body { display: block; }
.sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 232px; height: 100vh; overflow-y: auto; z-index: 20; }
main { margin-left: 232px; }
@media (max-width: 900px) { .sidebar { position: static; width: auto; height: auto; } main { margin-left: 0; } }
.arr-foot { background: #0c0e13; flex-wrap: nowrap; padding: 10px 20px; gap: 10px; }
.arr-foot .ft-group { flex-wrap: nowrap; }
.arr-foot .ftime { min-width: 0; white-space: nowrap; }
.arr-foot .btn { white-space: nowrap; padding: 9px 12px; }
.arr-root { padding-bottom: 110px; }
@media (max-width: 1300px) { .arr-foot .fbtn span { display: none; } }

/* re-create panel: body scrolls, player footer stays */
.drawer-body { flex: 1; min-height: 0; }
.drawer-foot { border-top: 1px solid var(--line2); background: #0c0e13; padding: 12px 16px; display: flex; gap: 12px; align-items: center; }
.drawer-foot .fbtn.big { flex: none; }
.drawer-foot .fbtn.big:disabled { opacity: .4; }
.dp-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dp-label { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-mid input[type=range] { width: 100%; accent-color: var(--accent2); }
.dp-time { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* Listen & compare mixer lanes */
.mixhead, .lane.mixlane { display: grid !important; grid-template-columns: 124px 230px minmax(120px, 1fr) 190px 250px !important; gap: 14px; align-items: center; }
.mixhead { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 14px 6px; }
.mixlane.off .clip, .mixlane.off .ln, .mixlane.off .verdict { opacity: .35; }
.lanes [data-dim] .clip { opacity: .5; }
.tctl { display: flex; gap: 6px; align-items: center; }
.tb { height: 34px; min-width: 34px; border-radius: 8px; border: 1px solid var(--line2); background: var(--panel2); color: var(--muted); font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 8px; }
.tb svg { width: 14px; height: 14px; }
.tb.tplay { color: var(--text); }
.tb.tplay:hover { border-color: var(--accent); color: var(--accent); }
.tb.pwr.on { background: #1d3a2b; color: var(--good); border-color: #2e5a42; }
.tb.pwr:not(.on) { background: #3a1f24; color: var(--bad); border-color: #5a2e35; }
.tb.solo.on { background: var(--accent); color: #0b0d14; border-color: var(--accent); }
.srcsw { display: inline-flex; background: var(--bg); border: 1px solid var(--line2); border-radius: 8px; padding: 2px; }
.srcsw button { border: 0; background: transparent; color: var(--muted); font-size: 12px; padding: 5px 9px; border-radius: 6px; }
.srcsw button.on { background: var(--panel2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.srcsw button[data-src="rec"].on { color: var(--accent2); }
.srcsw button:disabled { opacity: .35; }
.srcsw.only button { cursor: default; }
.srcsw-none { visibility: hidden; font-size: 12px; padding: 5px 9px; }
.lbtns { flex-wrap: wrap; justify-content: flex-end; }

/* re-create panel v2: one column, few controls */
.drawer { width: min(420px, 100vw); }
.drawer-head { padding: 16px 18px; align-items: center; }
.drawer-head h2 { font-size: 17px; }
.drawer-body { padding: 16px 18px; gap: 12px; }
.dz-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 0; text-align: center; }
.dz-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--line2); border-radius: 10px; padding: 3px; }
.dz-tabs button { border: 0; background: transparent; color: var(--muted); padding: 9px; border-radius: 8px; font-weight: 600; }
.dz-tabs button[aria-selected="true"] { background: var(--panel2); color: var(--text); }
.dz-tabs button:disabled { opacity: .4; }
.dz-help { margin: 0; font-size: 13px; color: var(--muted); }
.drawer #dzPrompt { width: 100%; box-sizing: border-box; background: var(--panel2); border: 1px solid var(--line2); color: var(--text); border-radius: 10px; padding: 10px 12px; font: inherit; resize: none; }
.dz-more { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--muted); font-size: 12px; text-decoration: underline; }
.dz-opts { display: flex; flex-direction: column; gap: 8px; }
.dz-opts label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.dz-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 4px; }
.dz-row { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); cursor: pointer; border-radius: 0; }
.dz-row:hover { background: rgba(255,255,255,.02); }
.dz-row.sel { background: rgba(0, 220, 196,.08); box-shadow: inset 3px 0 0 var(--accent); }
.dz-play { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line2); background: var(--panel2); color: var(--text); display: grid; place-items: center; padding: 0; }
.dz-play svg { width: 13px; height: 13px; }
.dz-play:disabled { opacity: .3; }
.dz-txt { display: flex; flex-direction: column; min-width: 0; }
.dz-txt b { font-size: 14px; font-weight: 600; }
.dz-txt span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-foot { display: block; padding: 12px 18px 16px; }
.dz-player { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; }
.dz-big { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--accent); color: #0b0d14; display: grid; place-items: center; padding: 0; }
.dz-big svg { width: 16px; height: 16px; }
.dz-big:disabled { opacity: .35; }
.dz-pmid { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dz-ptitle { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-pmid input { width: 100%; accent-color: var(--accent); margin: 0; }
.dz-time { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.dz-how { grid-column: 1 / -1; display: inline-flex; justify-self: start; background: var(--bg); border: 1px solid var(--line2); border-radius: 8px; padding: 2px; }
.dz-how button { border: 0; background: transparent; color: var(--muted); font-size: 12px; padding: 5px 12px; border-radius: 6px; }
.dz-how button.on { background: var(--panel2); color: var(--text); }
.dz-how button:disabled { opacity: .35; }
.dz-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 12px; }
.dz-actions .btn { justify-content: center; min-height: 42px; }
.dz-actions .btn.primary:disabled { background: var(--panel2); border-color: var(--line2); color: var(--muted); opacity: 1; }

/* batch 29 Nov */
.btn.danger { color: var(--bad); border-color: #5a2e35; }
.status.paused, .status.cancelled { background: #3a3220; color: var(--warn); }
/* sticky step bar */
.journey { position: sticky; top: 0; z-index: 15; background: var(--bg); padding: 10px 0; margin: 0 0 12px; box-shadow: 0 10px 14px -10px rgba(0,0,0,.6); }
/* Listen: player docked in a sticky footer */
.jstep[data-j="listen"] { padding-bottom: 120px; }
.jstep[data-j="listen"] #transport { position: fixed; left: 232px; right: 0; bottom: 0; z-index: 25; margin: 0; border-radius: 0; border-width: 1px 0 0; background: #0c0e13;
  display: grid; grid-template-columns: auto minmax(200px, 1fr) 220px; grid-template-areas: "left wave note"; gap: 18px; align-items: center; padding: 10px 24px; }
.jstep[data-j="listen"] #transport .tp-left { grid-area: left; }
.jstep[data-j="listen"] #transport .wave-wrap { grid-area: wave; height: 54px; }
.jstep[data-j="listen"] #transport .tp-right { grid-area: note; font-size: 12px; line-height: 1.35; }
@media (max-width: 900px) { .jstep[data-j="listen"] #transport { left: 0; grid-template-columns: 1fr; grid-template-areas: "left" "wave"; } .jstep[data-j="listen"] #transport .tp-right { display: none; } }
/* per-track playhead */
.clip.seekable { cursor: pointer; }
.clip .lph { position: absolute; top: 0; bottom: 0; width: 2px; left: 0; background: #fff; box-shadow: 0 0 4px rgba(255,255,255,.7); pointer-events: none; }
/* Arrange: tidier headers, grid */
.arr { grid-template-columns: 250px 1fr; }
.arr-head { height: 84px; padding: 10px 14px; justify-content: center; gap: 8px; }
.lane-row { height: 84px; background-image: none; }
.ah-top { gap: 8px; }
.ah-name { font-size: 14px; padding: 3px 6px; }
.ah-ctl { gap: 8px; }
.ah-ctl input[type=range] { flex: 1; min-width: 60px; margin: 0 2px; }
.tbtn { width: 30px; height: 28px; border-radius: 7px; font-size: 12px; }
.arr-canvas { position: relative; }
.grid-layer { position: absolute; top: 34px; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 0; }
.grid-layer .gl { position: absolute; top: 0; bottom: 0; width: 1px; }
.grid-layer .gl.bar { background: rgba(255,255,255,.10); }
.grid-layer .gl.beat { background: rgba(255,255,255,.04); }
.lane-row, .aclip { z-index: 1; }
.aph { z-index: 3; }
/* room for fixed footers; compact arrange toolbar */
main { padding-bottom: 130px; }
.arr-foot .muted { display: none; }
@media (max-width: 1700px) { .arr-foot .fbtn span { display: none; } }
.arr-foot .ftime { font-size: 14px; }

/* sound browser */
.dz-browse { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.dz-bhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; background: #13161c; font-size: 12px; color: var(--muted); }
.dz-bhead input { width: 120px; padding: 5px 8px; font-size: 12px; }
.dz-blist { max-height: 240px; overflow-y: auto; }
.dz-srow { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-top: 1px solid var(--line); }
.dz-srow.sel { background: rgba(0, 220, 196,.08); }
.dz-srow .dz-txt { flex: 1; }
.dz-srow .dz-play { width: 28px; height: 28px; }

/* accounts */
body.signed-out .sidebar { display: none; }
body.signed-out main { margin-left: 0; padding-bottom: 0; }
.auth-wrap { min-height: 90vh; display: grid; place-items: center; }
.auth-card { width: min(400px, 92vw); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.auth-card form { display: flex; flex-direction: column; gap: 12px; }
.acct { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.acct:hover, .acct.on { border-color: var(--line2); background: var(--panel2); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #0b0d14; display: grid; place-items: center; font-weight: 700; flex: none; }
.acct-txt { display: flex; flex-direction: column; min-width: 0; }
.acct-txt b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-txt small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row-end { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }

.auth-modal { width: min(420px, 92vw); position: relative; }
.auth-modal .modal-x { position: absolute; top: 12px; right: 12px; }
.auth-modal form { display: flex; flex-direction: column; gap: 12px; }
.auth-modal .auth-wrap, .auth-modal .auth-card { all: unset; display: block; }

.auth-modal > p { padding-right: 40px; }

.guest-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 48px 24px; }
.guest-empty p { margin: 0; max-width: 460px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(420px, 100%); }
.pair .btn { justify-content: center; min-height: 44px; }

.storage-line{display:flex;flex-direction:column;gap:4px;padding:16px 18px}

.dz-own{margin:10px 0 4px}
.dz-note{margin:8px 0 0;font-size:13px;color:var(--muted)}

.credits-link{display:block;margin:auto 10px 8px;font-size:12px;color:var(--muted);text-decoration:none}
.credits-link:hover{color:var(--text)}
.credits-link + .acct{margin-top:0}

/* drawer content never squashes: the body scrolls instead */
.drawer-body > * { flex-shrink: 0; }

/* upload rows */
.trow .fname { display: flex; flex-direction: column; min-width: 0; }
.trow .fname b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow .fname small { font-size: 12px; }
.trow .midi { display: flex; align-items: center; gap: 6px; color: var(--text); font-size: 13px; }
.trow .midi svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--accent2); stroke-width: 2; }
.trow .tplay { width: 32px; height: 32px; }

/* New reconstruction, step 2: same mixer + sticky footer player as Listen & compare */
.step[data-step="2"] { padding-bottom: 110px; }
.step[data-step="2"].hidden #upTransport { display: none; }
#upTransport { position: fixed; left: 232px; right: 0; bottom: 0; z-index: 25; margin: 0; border-radius: 0; border-width: 1px 0 0; background: #0c0e13;
  display: grid; grid-template-columns: auto minmax(200px, 1fr) 220px; grid-template-areas: "left wave note"; gap: 18px; align-items: center; padding: 10px 24px; }
#upTransport .tp-left { grid-area: left; }
#upTransport .wave-wrap { grid-area: wave; height: 54px; }
#upTransport .tp-right { grid-area: note; font-size: 12px; line-height: 1.35; }
@media (max-width: 900px) { #upTransport { left: 0; grid-template-columns: 1fr; grid-template-areas: "left" "wave"; } #upTransport .tp-right { display: none; } }
#trackRows .mixhead, #trackRows .lane.mixlane { grid-template-columns: 124px minmax(160px, 260px) minmax(120px, 1fr) 170px 190px !important; }
#trackRows .rolesel { width: 100%; }
#trackRows .midi { display: flex; align-items: center; gap: 6px; font-size: 13px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#trackRows .midi svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--accent2); stroke-width: 2; }
#trackRows .ln strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Your sounds */
.mixhead.snd, .lane.mixlane.snd { grid-template-columns: 50px minmax(200px, 300px) minmax(0, 1fr) 110px !important; }
.snd-pieces { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.snd-pieces .pill { font-size: 12px; }
#sndTransport { position: fixed; left: 232px; right: 0; bottom: 0; z-index: 25; margin: 0; border-radius: 0; border-width: 1px 0 0; background: #0c0e13;
  display: grid; grid-template-columns: auto minmax(200px, 1fr) 260px; grid-template-areas: "left wave note"; gap: 18px; align-items: center; padding: 10px 24px; }
#sndTransport[hidden] { display: none; }
#sndTransport .tp-left { grid-area: left; } #sndTransport .wave-wrap { grid-area: wave; height: 40px; } #sndTransport .tp-right { grid-area: note; font-size: 12px; }
#sndWaveWrap canvas { width: 100%; height: 100%; display: block; }

/* sticky progress bar */
.procbar { position: fixed; left: 232px; right: 0; bottom: 0; z-index: 30; background: #10131a; border-top: 1px solid var(--line2);
  display: flex; align-items: center; gap: 10px; padding: 10px 24px; }
.procbar[hidden] { display: none; }
.procbar .pb-main { flex: 1; display: grid; grid-template-columns: minmax(200px, 340px) 1fr 48px; align-items: center; gap: 18px; color: inherit; text-decoration: none; }
.procbar .pb-txt { display: flex; flex-direction: column; min-width: 0; }
.procbar .pb-txt b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.procbar .pb-txt span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.procbar .pb-track { height: 8px; border-radius: 4px; background: var(--panel2); overflow: hidden; }
.procbar .pb-track i { display: block; height: 100%; background: var(--accent); border-radius: 4px; transition: width .8s ease; }
.procbar.done .pb-track i { background: var(--good); }
.procbar .pb-pct { font-variant-numeric: tabular-nums; font-size: 13px; text-align: right; }
.procbar .pb-x { background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; padding: 0 4px; }
body.has-procbar main { padding-bottom: 70px; }
@media (max-width: 900px) { .procbar { left: 0; } .procbar .pb-main { grid-template-columns: 1fr 44px; } .procbar .pb-track { grid-column: 1 / -1; grid-row: 2; } }

/* Recent: ⋯ menu (rename / delete) */
.recent .rec { position: relative; display: flex; align-items: center; border-radius: 8px; }
.recent .rec a { flex: 1; min-width: 0; }
.recent .rec .rec-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent .rec-more { width: 26px; height: 26px; flex: none; margin-right: 4px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 16px; line-height: 1; cursor: pointer; opacity: .55; }
.recent .rec:hover .rec-more, .recent .rec-more:focus-visible, .recent .rec-more[aria-expanded="true"] { opacity: 1; }
.recent .rec-more:hover { background: var(--panel2); color: var(--text); }
@media (hover: none) { .recent .rec-more { opacity: 1; } }
.rec-menu { position: fixed; z-index: 60; width: 150px; background: var(--panel2); border: 1px solid var(--line2); border-radius: 10px; padding: 4px; box-shadow: 0 10px 24px rgba(0,0,0,.45); display: flex; flex-direction: column; }
.rec-menu button { text-align: left; background: none; border: 0; color: var(--text); padding: 8px 10px; border-radius: 7px; font-size: 13px; cursor: pointer; }
.rec-menu button:hover { background: var(--panel); }
.rec-menu button.danger { color: var(--bad); }
.rec-rename { display: flex; gap: 6px; flex: 1; min-width: 0; padding: 3px 4px; }
.rec-rename input { flex: 1; min-width: 0; font-size: 13px; padding: 5px 8px; border-radius: 7px; border: 1px solid var(--accent); background: var(--bg); color: var(--text); }
.recent { overflow-x: hidden; }
.rec-rename .rec-save { flex: none; border: 0; border-radius: 7px; background: var(--accent); color: #0b0d14; font-size: 12px; font-weight: 600; padding: 0 10px; cursor: pointer; }

/* re-create panel v2: drum rack chips, clickable rows, tucked-away extras */
.dz-pieces { display: flex; flex-wrap: wrap; gap: 6px; }
.dz-pieces::-webkit-scrollbar { display: none; }
.dz-pieces button { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line2); background: var(--bg); color: var(--muted); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.dz-pieces button small { font-size: 11px; font-weight: 500; opacity: .7; }
.dz-pieces button[aria-selected="true"] { background: var(--panel2); color: var(--text); border-color: var(--accent); }
.dz-bhead input { width: 100%; }
.dz-blist { max-height: none; min-height: 260px; height: calc(100vh - 420px); }
.dz-srow { cursor: pointer; }
.dz-srow:hover { background: rgba(255,255,255,.03); }
.dz-srow .dz-play { pointer-events: none; }
.dz-extra { border-top: 1px solid var(--line); padding-top: 8px; }
.dz-extra summary { cursor: pointer; font-size: 13px; color: var(--muted); padding: 4px 0; list-style: none; }
.dz-extra summary::-webkit-details-marker { display: none; }
.dz-extra summary::before { content: "+ "; }
.dz-extra[open] summary::before { content: "− "; }
.dz-extra > * + * { margin-top: 8px; }
.dz-describe { display: flex; flex-direction: column; gap: 8px; }

/* mixer faders + levels bar */
.tctl .vol { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; }
.tctl .vol input { width: 84px; accent-color: var(--accent); }
.tctl .vdb { font-size: 11px; color: var(--muted); min-width: 52px; font-variant-numeric: tabular-nums; }
.lv-bar { position: sticky; top: 64px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px;
  margin: 0 0 10px; border: 1px solid var(--accent); border-radius: 10px; background: var(--panel); font-size: 13px; }
.lv-acts { display: flex; gap: 8px; }
/* drawer: keep-current row pinned at the top of the list, drum piece volume */
.dz-srow.keep { position: sticky; top: 0; z-index: 2; background: var(--panel2); border-bottom: 1px solid var(--line2); }
.dz-srow.keep.sel { box-shadow: inset 3px 0 0 var(--accent); }
.dz-pvol { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.dz-pvol input { accent-color: var(--accent); }
.dz-pvol b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; min-width: 56px; text-align: right; }
/* fader sits under the play / ON / S buttons, never over the track name */
.tctl { flex-wrap: wrap; row-gap: 6px; }
.tctl .vol { flex-basis: 100%; margin-left: 0; }
.tctl .vol input { width: 66px; }
.tctl .vdb { min-width: 48px; }
.dz-srow.keep { box-shadow: 0 6px 8px -6px rgba(0,0,0,.6); }
.dz-srow.keep.sel { box-shadow: inset 3px 0 0 var(--accent), 0 6px 8px -6px rgba(0,0,0,.6); }

/* Mastering suite */
.mst-styles { display: flex; flex-direction: column; gap: 14px; }
.mst-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mst-card { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); }
.mst-card b { font-size: 15px; }
.mst-card span { font-size: 12px; color: var(--muted); }
.mst-card small { font-size: 12px; color: var(--good, #5fd08a); }
.mst-card.on { border-color: var(--accent); background: var(--panel2); }
.mst-go { display: flex; align-items: center; gap: 10px; }
.mst-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.mst-grid h2, #mBody section > h2 { margin-top: 0; font-size: 16px; }
.mst-grid h3 { font-size: 13px; margin: 16px 0 6px; color: var(--muted); font-weight: 600; }
.mst-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mst-table td, .mst-table th { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.mst-table th { color: var(--muted); font-weight: 500; font-size: 12px; }
.mst-notes { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.45; }
.mst-dl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mst-chart { width: 100%; height: 220px; display: block; }
#mBody > section { margin-bottom: 14px; }
.mst-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.mst-legend .lg::before { content: ""; display: inline-block; width: 14px; height: 3px; margin-right: 6px; vertical-align: middle; border-radius: 2px; }
.mst-legend .a::before { background: #00dcc4; } .mst-legend .b::before { background: #8f97ab; } .mst-legend .t::before { background: #5c6578; }
.mst-legend .s::before { background: rgba(0, 220, 196,.25); height: 10px; }
.mst-foot { position: sticky; bottom: 0; z-index: 20; display: grid; grid-template-columns: 48px auto 1fr auto; gap: 16px; align-items: center;
  padding: 12px 18px; margin: 0 -24px -24px; background: var(--panel); border-top: 1px solid var(--line2); }
.mst-foot .play { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; }
.mst-foot .play svg { width: 18px; height: 18px; }
.mst-seek { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mst-seek input { width: 100%; accent-color: var(--accent); }
.mst-tog { display: flex; gap: 14px; font-size: 13px; color: var(--muted); }
.mst-tog label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
@media (max-width: 1100px) { .mst-grid, .mst-cards { grid-template-columns: 1fr; } .mst-foot { grid-template-columns: 48px 1fr; } }
/* mastering player pinned like the Listen player */
.mst-foot { position: fixed; left: 232px; right: 0; bottom: 0; margin: 0; z-index: 25; background: #0c0e13; border-top: 1px solid var(--line2); }
#mBody { padding-bottom: 90px; }

.nav-sep { border: 0; border-top: 1px solid var(--line); margin: 8px 6px; }

/* My catalog */
.nav-badge { margin-left: auto; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 7px; }
.cat-hero { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); margin-bottom: 18px; }
.cat-banner { position: relative; height: 210px; background: linear-gradient(120deg, #163a36, #13161f 60%, #3a2440); background-size: cover; background-position: center; }
.cat-edit-cover { position: absolute; right: 14px; bottom: 14px; background: rgba(10,12,18,.7) !important; }
.cat-id { display: grid; grid-template-columns: 132px 1fr auto; gap: 20px; align-items: start; padding: 0 22px 20px; margin-top: -56px; position: relative; }
.cat-avatar { width: 132px; height: 132px; border-radius: 50%; border: 4px solid var(--panel); background: #232838 center / cover; color: var(--muted); font-size: 13px; cursor: pointer; }
.cat-who { margin-top: 64px; display: flex; flex-direction: column; gap: 6px; }
.cat-name { font-size: 26px; font-weight: 700; background: transparent; border: 1px solid transparent; padding: 4px 6px; margin-left: -6px; color: var(--text); border-radius: 8px; }
.cat-name:hover, .cat-name:focus, .pl-title:hover, .pl-title:focus { border-color: var(--line2); background: var(--bg); }
.cat-bio { width: 100%; resize: vertical; font-size: 14px; }
.cat-pub { margin-top: 70px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; text-align: right; }
.cat-link { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.cat-link a { color: var(--accent); }
.switch { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; font-size: 14px; }
.switch input { accent-color: var(--accent); width: 16px; height: 16px; }
.cat-cols { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }
.cat-sec-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.cat-sec-head h2 { margin: 0; font-size: 17px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.cat-card { display: flex; flex-direction: column; gap: 4px; color: var(--text); text-decoration: none; }
.cat-cover { aspect-ratio: 1; border-radius: 12px; background: linear-gradient(135deg, #163a36, #1b1f2b) center / cover; display: grid; place-items: center; font-size: 34px; color: var(--muted);
  box-shadow: 0 10px 26px rgba(0,0,0,.35); margin-bottom: 6px; transition: transform .15s; }
.cat-card:hover .cat-cover { transform: translateY(-3px); }
.cat-card span { font-size: 12px; }
.cat-activity ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cat-activity li { font-size: 13px; display: flex; flex-direction: column; gap: 2px; padding-left: 10px; border-left: 2px solid transparent; }
.cat-activity li.unread { border-left-color: var(--accent); }
.cat-activity li a { color: var(--text); }
.cat-activity small { color: var(--muted); font-size: 11px; }
.pl-head { display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: start; margin-bottom: 18px; }
.pl-cover { width: 170px; height: 170px; border-radius: 14px; border: 1px dashed var(--line2); background: #1d2230 center / cover; color: var(--muted); cursor: pointer; }
.pl-meta { display: flex; flex-direction: column; gap: 10px; }
.pl-title { font-size: 26px; font-weight: 700; background: transparent; border: 1px solid transparent; padding: 4px 6px; margin-left: -6px; color: var(--text); border-radius: 8px; }
.pl-opts { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.pl-songs { list-style: none; margin: 0; padding: 0; }
.pl-songs li { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.pl-thumb { width: 44px; height: 44px; border-radius: 6px; background: #232838 center / cover; display: inline-block; flex: none; }
.pl-st { display: flex; flex-direction: column; min-width: 0; }
.pl-st b { font-weight: 600; }
.pl-st span { font-size: 12px; }
.pl-move { display: flex; gap: 4px; }
.pl-pick { display: flex; flex-direction: column; gap: 6px; padding: 10px; margin-bottom: 10px; border: 1px solid var(--line2); border-radius: 10px; max-height: 260px; overflow-y: auto; }
.pl-pickrow { display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: 14px; }
.pl-newlink { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-bottom: 14px; }
.pl-links { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.lk { border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; }
.lk.off { opacity: .55; }
.lk-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.lk-who { background: none; border: 0; color: var(--text); text-align: left; padding: 0; cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lk-sum { font-size: 12px; color: var(--muted); }
.lk-acts { display: flex; gap: 6px; align-items: center; }
.lk-acts select { font-size: 12px; padding: 4px 6px; }
.lst-tracks { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.lst-tr { display: grid; grid-template-columns: minmax(80px, 160px) 1fr auto; gap: 4px 12px; align-items: center; font-size: 13px; }
.lst-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lst-bar { position: relative; height: 10px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.lst-bar > i { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(0, 220, 196,.35); border-radius: 999px; }
.lst-heat { position: absolute; inset: 0; display: flex; z-index: 1; }
.lst-heat em { flex: 1; }
.lst-heat em.on { background: var(--accent); }
.lst-val { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lst-tags { grid-column: 2 / 4; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; border: 1px solid var(--line2); border-radius: 999px; padding: 1px 8px; color: var(--muted); }
.tag.ok { color: #5fd08a; border-color: rgba(95,208,138,.4); }
@media (max-width: 1100px) { .cat-cols, .pl-cols { grid-template-columns: 1fr; } .cat-id { grid-template-columns: 100px 1fr; } .cat-pub { grid-column: 1 / -1; margin-top: 0; align-items: flex-start; text-align: left; } .cat-avatar { width: 100px; height: 100px; } }
.cat-bio, .pl-meta textarea { background: var(--bg); color: var(--text); border: 1px solid var(--line2); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 14px; }
.cat-handle { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.cat-handle input { width: 170px; padding: 4px 8px; font-size: 13px; }

/* Metadata: sections as tabs across, actions pinned bottom-right */
.meta-top { display: block; margin-bottom: 14px; }
.meta-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line2); scrollbar-width: none; }
.meta-tabs::-webkit-scrollbar { display: none; }
.meta-tabs button { flex: none; position: relative; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 10px 14px; font-weight: 600; font-size: 14px; white-space: nowrap; cursor: pointer; }
.meta-tabs button:hover { color: var(--text); }
.meta-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tab-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff6b6b; margin-left: 6px; vertical-align: 2px; }
.meta-actions { position: fixed; right: 24px; bottom: 20px; z-index: 30; display: flex; gap: 8px; padding: 10px; border-radius: 14px;
  background: rgba(12,14,19,.96); border: 1px solid var(--line2); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.jstep[data-j="metadata"] { padding-bottom: 90px; }

/* ===== My catalog v2: an artist page, not a dashboard ===== */
.cx-hero { margin: -24px -24px 0; position: relative; }
.cx-banner { height: 260px; background-size: cover; background-position: center; position: relative; }
.cx-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,18,0) 40%, var(--bg) 100%); }
.cx-chip { position: absolute; right: 24px; top: 20px; z-index: 2; border: 0; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600;
  background: rgba(10,12,18,.55); color: #fff; backdrop-filter: blur(6px); cursor: pointer; }
.cx-chip:hover { background: rgba(10,12,18,.8); }
.cx-id { display: flex; gap: 26px; align-items: flex-end; padding: 0 32px; margin-top: -86px; position: relative; z-index: 1; }
.cx-avatar { flex: none; width: 156px; height: 156px; border-radius: 50%; border: 0; padding: 0; position: relative; overflow: hidden; cursor: pointer;
  background: #232838 center / cover; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.cx-av-hint { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: #fff; background: rgba(8,10,14,.55); opacity: 0; transition: opacity .15s; font-size: 13px; }
.cx-av-hint svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cx-avatar:hover .cx-av-hint, .cx-avatar.empty .cx-av-hint, .px-cover:hover .cx-av-hint { opacity: 1; }
.cx-avatar.empty { background: #1c2130; outline: 2px dashed rgba(255,255,255,.22); outline-offset: -8px; }
.cx-avatar.empty .cx-av-hint { background: none; color: var(--muted); }
.cx-names { min-width: 0; padding-bottom: 6px; flex: 1; }
.ed { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ed-val.ph { color: var(--muted); font-weight: 400; font-style: italic; }
.pen { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; opacity: .55; transition: opacity .15s, background .15s; }
.pen svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.ed:hover .pen { opacity: 1; } .pen:hover { background: rgba(255,255,255,.08); color: var(--text); }
.ed-in { background: rgba(255,255,255,.05); border: 1px solid var(--line2); border-radius: 8px; color: var(--text); font: inherit; padding: 4px 8px; width: 100%; max-width: 640px; }
.cx-name { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.02em; line-height: 1.05; font-weight: 800; }
.cx-name .ed-in { font-size: inherit; font-weight: inherit; }
.cx-bio { margin-top: 8px; color: var(--muted); font-size: 15px; }
.cx-bio .ed-val:not(.ph) { color: #c8cdd9; }
.cx-pubrow { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.cx-addr { display: inline-flex; align-items: center; } .cx-addr .ed { gap: 2px; } .cx-addr .ed-val { color: var(--text); }
.cx-addr .ed-in { width: 160px; padding: 2px 6px; font-size: 13px; }
.cx-toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--text); font-weight: 600; }
.cx-toggle input { display: none; }
.cx-toggle i { width: 34px; height: 20px; border-radius: 999px; background: rgba(255,255,255,.14); position: relative; transition: background .15s; }
.cx-toggle i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .15s; }
.cx-toggle input:checked + i { background: var(--accent); } .cx-toggle input:checked + i::after { left: 17px; }
.cx-toggle.sm { font-weight: 500; color: var(--muted); }
.cx-link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.cx-link:hover { text-decoration: underline; } .cx-link.danger { color: #ff7b7b; }
.cx-tabs { display: flex; align-items: center; gap: 6px; margin: 30px 0 8px; border-bottom: 1px solid var(--line); }
.cx-tabs [role=tab] { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 12px 14px; font-size: 15px; font-weight: 600; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.cx-tabs [role=tab][aria-selected=true] { color: var(--text); border-bottom-color: var(--accent); }
.cx-tabs small { font-size: 12px; color: var(--muted); font-weight: 500; }
.cx-tabs small.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.cx-tabs-act { margin-left: auto; display: flex; align-items: center; }
.btn.sm { padding: 7px 12px; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.cx-list { list-style: none; margin: 0; padding: 0; }
.cx-row { display: grid; grid-template-columns: 26px 44px minmax(0, 1fr) auto 54px auto; gap: 14px; align-items: center; padding: 8px 10px; border-radius: 10px; }
.cx-row:hover { background: rgba(255,255,255,.035); }
.cx-n { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; font-size: 13px; }
.cx-thumb { width: 44px; height: 44px; border-radius: 6px; background: #232838 center / cover; display: grid; place-items: center; font-weight: 800; color: rgba(255,255,255,.85); flex: none; }
.cx-tt { display: flex; flex-direction: column; min-width: 0; }
.cx-tt b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-tt span { font-size: 13px; color: var(--muted); }
.cx-tt .cx-mst { color: #6ee9d6; text-decoration: none; border-bottom: 1px dotted rgba(0, 220, 196,.6); } .cx-tt .cx-mst:hover { color: #fff; border-bottom-color: #fff; }   /* 2 Dec: opens the mastering session */
.cx-sub { font-size: 13px; color: var(--muted); }
.cx-dur { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.cx-acts { display: flex; gap: 10px; align-items: center; opacity: .0; transition: opacity .12s; }
.cx-row:hover .cx-acts, .cx-row:focus-within .cx-acts { opacity: 1; }
.cx-icon { background: none; border: 0; color: var(--muted); cursor: pointer; width: 26px; height: 26px; border-radius: 6px; font-size: 13px; }
.cx-icon:hover:not(:disabled) { background: rgba(255,255,255,.08); color: var(--text); } .cx-icon:disabled { opacity: .3; }
.cx-ver { background: transparent; border: 0; color: var(--muted); font-size: 13px; padding: 0; cursor: pointer; }
.cx-empty { padding: 40px 0; text-align: center; color: var(--muted); list-style: none; }
.cx-empty p { margin: 0 0 14px; }
.cx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; padding-top: 10px; }
.cx-card { display: flex; flex-direction: column; gap: 3px; color: var(--text); text-decoration: none; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; }
.cx-cover { aspect-ratio: 1; width: 100%; border-radius: 10px; background: #1c2130 center / cover; display: grid; place-items: center; font-size: 56px; font-weight: 800; color: rgba(255,255,255,.85);
  margin-bottom: 8px; box-shadow: 0 12px 28px rgba(0,0,0,.35); transition: transform .15s; }
.cx-card:hover .cx-cover { transform: translateY(-3px); }
.cx-cover.new { background: transparent; border: 1.5px dashed rgba(255,255,255,.2); box-shadow: none; color: var(--muted); }
.cx-cover.new svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cx-card b { font-weight: 600; } .cx-card span:not(.cx-cover) { font-size: 13px; color: var(--muted); }
.cx-feed { list-style: none; margin: 0; padding: 4px 0; }
.cx-feed li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.cx-feed li a { color: #c8cdd9; } .cx-feed li.new a { color: var(--text); font-weight: 600; }
.cx-feed li.new a::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 2px; }
.cx-feed time { color: var(--muted); font-size: 12px; white-space: nowrap; }
/* playlist / track page */
.px-head { display: flex; gap: 28px; align-items: flex-end; margin: 14px 0 26px; }
.px-cover { flex: none; width: 210px; height: 210px; border: 0; padding: 0; border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; background: none; box-shadow: 0 18px 44px rgba(0,0,0,.45); }
.px-art { display: grid; place-items: center; width: 100%; height: 100%; background: #1c2130 center / cover; font-size: 84px; font-weight: 800; color: rgba(255,255,255,.85); }
.px-meta { min-width: 0; flex: 1; }
.px-kind { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.px-meta h1 { margin: 6px 0 6px; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.02em; font-weight: 800; }
.px-meta h1 .ed-in { font-size: inherit; font-weight: inherit; }
.px-note { color: var(--muted); }
.px-line { margin-top: 10px; display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.px-btns { display: flex; gap: 14px; align-items: center; margin-top: 18px; }
.px-h2 { font-size: 17px; margin: 34px 0 10px; }
.px-listeners { display: flex; flex-direction: column; }
.px-lis { border-bottom: 1px solid var(--line); } .px-lis.off { opacity: .5; }
.px-lis-top { display: grid; grid-template-columns: minmax(140px, 240px) 1fr 20px; gap: 14px; align-items: center; width: 100%; background: none; border: 0; color: var(--text); padding: 14px 4px; cursor: pointer; text-align: left; font: inherit; }
.px-lis-top span { color: var(--muted); font-size: 13px; }
.chev { width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); }
.px-lis-top[aria-expanded=true] .chev { transform: rotate(-135deg); }
.px-lis .lst-tracks { border-top: 0; margin: 0 0 14px; padding: 0 4px; }
/* slide-in sheet */
.cx-scrim { position: fixed; inset: 0; background: rgba(5,6,9,.55); z-index: 70; }
.cx-sheet { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: var(--panel); border-left: 1px solid var(--line2); z-index: 71; display: flex; flex-direction: column; box-shadow: -24px 0 50px rgba(0,0,0,.45); }
.cx-sheet header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cx-sheet header h2 { margin: 0; font-size: 17px; }
.cx-sheet-body { padding: 18px 20px; overflow-y: auto; flex: 1; }
.cx-sheet-foot { position: sticky; bottom: -18px; background: var(--panel); padding: 14px 0 4px; display: flex; justify-content: flex-end; }
.cx-pick { list-style: none; margin: 0; padding: 0; }
.cx-pick label { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 4px; border-radius: 8px; cursor: pointer; }
.cx-pick label:hover { background: rgba(255,255,255,.04); }
.cx-pick input { width: 18px; height: 18px; accent-color: var(--accent); }
.sh-new { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.sh-help { font-size: 13px; margin: 10px 0 16px; }
.sh-links { list-style: none; margin: 0 0 10px; padding: 0; }
.sh-links li { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sh-links li.off { opacity: .5; }
.sh-who { display: flex; flex-direction: column; } .sh-who span { font-size: 12px; }
.sh-acts { display: flex; gap: 10px; align-items: center; }
.sh-acts select { font-size: 12px; padding: 5px 6px; }
.sh-open { margin-top: 18px; font-size: 13px; }
@media (max-width: 900px) { .cx-id { flex-direction: column; align-items: flex-start; padding: 0 16px; } .px-head { flex-direction: column; align-items: flex-start; } .cx-acts { opacity: 1; } .cx-row { grid-template-columns: 22px 40px 1fr auto; } .cx-sub, .cx-row .cx-acts { display: none; } }

/* catalog v3 tweaks */
.cx-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.cx-cover { font-size: 44px; }
.cx-row { grid-template-columns: 18px 44px minmax(0, 1fr) auto 54px auto; padding-left: 4px; }
.cx-n { text-align: left; }
.cx-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; padding: 6px 10px 6px 4px; border-radius: 8px; }
.cx-back:hover { color: var(--text); background: rgba(255,255,255,.05); }
.cx-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.cx-menu-wrap { position: relative; }
.cx-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 190px; padding: 6px; border-radius: 10px; background: #1a1e29;
  border: 1px solid var(--line2); box-shadow: 0 14px 34px rgba(0,0,0,.5); display: flex; flex-direction: column; }
.cx-menu button { background: none; border: 0; color: var(--text); text-align: left; padding: 9px 10px; border-radius: 7px; font: inherit; font-size: 14px; cursor: pointer; }
.cx-menu button:hover { background: rgba(255,255,255,.06); }
.cx-row:has(.cx-menu) .cx-acts { opacity: 1; }

/* catalog tracks: cover / play / waveform / menu */
.cx-row.tr2 { grid-template-columns: 18px 44px 34px minmax(140px, 1.1fr) 58px minmax(120px, 2fr) 92px auto; }
.cx-row.tr2.is-hidden .cx-tt, .cx-row.tr2.is-hidden .cx-wave, .cx-row.tr2.is-hidden .cx-art { opacity: .45; }
.cx-hid { font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line2); border-radius: 999px; padding: 0 7px; margin-left: 6px; vertical-align: 2px; }
.cx-art { position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; }
.cx-art .cx-thumb { width: 44px; height: 44px; }
.cx-art-hint { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8,10,14,.6); color: #fff; opacity: 0; transition: opacity .12s; }
.cx-art-hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cx-art:hover .cx-art-hint, .cx-art:focus-visible .cx-art-hint { opacity: 1; }
.cx-play { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; padding: 0; }
.cx-play svg { width: 14px; height: 14px; }
.cx-row.playing .cx-play, .cx-play:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cx-wave { position: relative; display: flex; align-items: center; gap: 10px; height: 34px; }
.cx-wave canvas { flex: 1; height: 30px; width: 100%; cursor: pointer; display: block; }
.cx-eq { display: flex; gap: 2px; align-items: flex-end; height: 16px; width: 18px; opacity: 0; transition: opacity .2s; }
.cx-eq i { flex: 1; height: 100%; background: var(--accent); border-radius: 1px; transform-origin: bottom; transform: scaleY(.15); transition: transform .08s linear; }
.cx-row.playing .cx-eq { opacity: 1; }
.cx-row.tr2 .cx-dur { white-space: nowrap; }
.cx-acts2 { display: flex; gap: 6px; align-items: center; }
.cx-dots { width: 30px; height: 30px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.cx-dots:hover { background: rgba(255,255,255,.08); color: var(--text); }
.cx-menu button.danger { color: #ff7b7b; }
.cx-row.tr2 .cx-link[data-share] { opacity: 0; transition: opacity .12s; }
.cx-row.tr2:hover .cx-link[data-share], .cx-row.tr2:focus-within .cx-link[data-share], .cx-row.tr2:has(.cx-menu) .cx-link[data-share] { opacity: 1; }
@media (max-width: 900px) { .cx-row.tr2 { grid-template-columns: 34px 1fr auto; } .cx-row.tr2 .cx-n, .cx-row.tr2 .cx-art, .cx-row.tr2 .cx-wave, .cx-row.tr2 .cx-dur { display: none; } }

/* catalog: uploads, drag & drop */
.cx-hid.up { color: #5febd6; border-color: rgba(0, 220, 196,.45); }
.cx-drophint { font-size: 12px; color: var(--muted); margin: 12px 4px 0; opacity: .7; }
.drop-on { outline: 2px dashed var(--accent); outline-offset: 6px; border-radius: 12px; background: rgba(0, 220, 196,.05); }
[data-drag] { cursor: grab; } [data-drag].dragging { opacity: .4; }
[data-drag].drag-over { box-shadow: inset 0 2px 0 var(--accent); }
.cx-busy { display: flex; gap: 10px; align-items: center; padding: 10px; color: var(--muted); font-size: 14px; }
.up-drop { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1.5px dashed rgba(255,255,255,.2); border-radius: 12px; text-align: center; font-size: 14px; }
.up-drop span { color: var(--muted); font-size: 13px; } .up-drop.busy { opacity: .7; }
.cx-h3 { font-size: 13px; color: var(--muted); font-weight: 600; margin: 20px 0 6px; text-transform: uppercase; letter-spacing: .06em; }
.up-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.up-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.up-form label:has(textarea) { grid-column: 1 / -1; }
.up-form input, .up-form textarea { background: var(--bg); border: 1px solid var(--line2); border-radius: 8px; color: var(--text); padding: 8px 10px; font: inherit; font-size: 14px; }

.cx-vis { min-width: 92px; justify-content: flex-start; margin-left: 4px; }
.cx-vis span { min-width: 48px; }
.cx-row.tr2.is-hidden .cx-vis span { color: var(--muted); }

/* track link button: always visible */
.cx-linkbtn { width: 32px; height: 32px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.cx-linkbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cx-linkbtn:hover, .cx-menu-wrap:has(.cx-menu) .cx-linkbtn { background: rgba(255,255,255,.08); color: var(--accent); }

/* My catalog sticky player */
.cx-foot { position: fixed; left: 232px; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: minmax(180px, 280px) auto 1fr; gap: 22px; align-items: center;
  padding: 10px 24px; background: #0c0e13; border-top: 1px solid var(--line2); }
.cxf-now { display: flex; gap: 12px; align-items: center; min-width: 0; }
.cxf-now .cx-thumb { width: 44px; height: 44px; }
.cxf-now b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cxf-now span { color: var(--muted); font-size: 12px; }
.cxf-ctl { display: flex; align-items: center; gap: 10px; }
.cxf-ctl .pp { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cxf-ctl .pp svg { width: 16px; height: 16px; }
.cxf-ctl .sk { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; }
.cxf-ctl .sk:hover:not(:disabled) { background: rgba(255,255,255,.08); } .cxf-ctl .sk:disabled { opacity: .3; cursor: default; }
.cxf-ctl .sk svg { width: 15px; height: 15px; }
.cxf-seek { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cxf-seek input { width: 100%; accent-color: var(--accent); }
body:has(#cxFoot) #main { padding-bottom: 96px; }
.cx-row.tr2.pl { grid-template-columns: 18px 44px 34px minmax(140px, 1.1fr) minmax(120px, 2fr) 92px 34px; }

/* the app-wide player sits at the very bottom; the processing bar sits flush on top of it */
.cx-foot { z-index: 29; }
.cx-foot[hidden] { display: none; }
.procbar { z-index: 31; }
body:has(#cxFoot:not([hidden])) #main { padding-bottom: 96px; }
body:has(#cxFoot:not([hidden])).has-procbar #main { padding-bottom: 160px; }

/* files & stems sheet */
.fs-group { margin-bottom: 18px; } .fs-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.fs-head b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fs-head .cx-link { display: inline-flex; gap: 4px; align-items: center; font-size: 13px; } .fs-head .cx-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.fs-list { list-style: none; margin: 0; padding: 0; }
.fs-list li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.fs-ico { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.05); display: grid; place-items: center; color: var(--muted); flex: none; }
.fs-name { flex: 1; min-width: 0; display: flex; flex-direction: column; } .fs-name b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fs-name span { font-size: 12px; color: var(--muted); }
.fs-empty { margin: 0; padding: 14px; border: 1.5px dashed rgba(255,255,255,.14); border-radius: 10px; color: var(--muted); font-size: 13px; text-align: center; }
.fs-busy { display: flex; gap: 8px; align-items: center; color: var(--muted); }
/* per-link download permissions */
.sh-perms { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); }
.sh-perms > span { margin-right: 2px; }
.perm { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line2); cursor: pointer; color: var(--muted); }
.perm input { display: none; } .perm.on { background: rgba(0, 220, 196,.16); border-color: var(--accent); color: var(--text); }
/* messages */
.cx-msgbtn { position: relative; width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; margin-right: 8px; }
.cx-msgbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.cx-msgbtn:hover { background: rgba(255,255,255,.06); color: var(--text); }
.cx-msgbtn small { position: absolute; top: 3px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.cx-msgbtn small:empty { display: none; }
.cx-chatbar { position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(0, 220, 196,.45);
  background: rgba(0, 220, 196,.1); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.cx-chatbar span:not(.cb-dot) { flex: 1; min-width: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.cx-chatbar em { font-style: normal; color: var(--accent); font-weight: 700; }
.cb-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 4px rgba(0, 220, 196,.2); }
.chat-sheet .cx-sheet-body { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.chat-sheet header h2 { display: flex; align-items: center; gap: 6px; font-size: 16px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-list { list-style: none; margin: 0; padding: 6px 10px; overflow-y: auto; }
.ch-list button { width: 100%; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; background: none; border: 0; color: var(--text); text-align: left; padding: 10px 8px; border-radius: 10px; cursor: pointer; font: inherit; }
.ch-list button:hover { background: rgba(255,255,255,.04); }
.ch-l { display: flex; flex-direction: column; min-width: 0; } .ch-l span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ch-l .ch-last { color: #c8cdd9; font-size: 13px; }
.ch-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; } .ch-r time { font-size: 11px; color: var(--muted); }
.ch-r i { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.ch-thread { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 8px; background: #0e1118; }
.bub { max-width: 82%; padding: 8px 12px 6px; border-radius: 14px; font-size: 14px; line-height: 1.4; }
.bub p { margin: 0; } .bub time { display: block; text-align: right; font-size: 10px; color: rgba(255,255,255,.55); margin-top: 3px; }
.bub.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.bub.them { align-self: flex-start; background: #232838; border-bottom-left-radius: 4px; }
.ch-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 14px; border-top: 1px solid var(--line); }
.ch-form textarea { flex: 1; resize: none; border-radius: 18px; padding: 9px 14px; background: var(--bg); border: 1px solid var(--line2); color: var(--text); font: inherit; font-size: 14px; }
.ch-form textarea, .ch-f textarea { overflow: hidden; }
.cx-chatbar + .cx-hero { margin-top: 0; }
.cx-chatbar + .cx-hero .cx-banner { border-radius: 14px 14px 0 0; }
#chBack { font-size: 22px; width: 30px; height: 30px; }

.pk-added { font-size: 13px; color: #5fd08a; font-weight: 600; white-space: nowrap; }
.cx-pick .pk-add { white-space: nowrap; }

.cxf-wave { width: 100%; height: 34px; display: block; cursor: pointer; }

.lyr-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted, #9aa); margin-top: 6px; }
.lyr-note .linkbtn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }

/* plays count on catalog track rows */
.cx-plays { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 44px; white-space: nowrap; }
.cx-plays svg { opacity: .7; }
@media (max-width: 640px) { .cx-plays { display: none; } }

/* image library sidebar (Pexels search + upload) */
.ip-sheet { width: min(560px, 100vw); }
.ip-sheet .cx-sheet-body { padding-top: 0; }
.ip-bar { position: sticky; top: 0; z-index: 2; background: var(--panel); display: flex; gap: 8px; padding: 14px 0 12px; }
.ip-search { flex: 1; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line2); border-radius: 10px; padding: 0 10px; background: var(--bg); }
.ip-search svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.ip-search input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; padding: 9px 0; min-width: 0; }
.ip-search:focus-within { border-color: var(--accent); }
.ip-up { display: inline-flex; align-items: center; gap: 6px; }
.ip-up svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ip-msg { font-size: 13px; color: var(--muted); padding: 4px 0 12px; }
.ip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ip-grid.wide { grid-template-columns: repeat(2, 1fr); }
.ip-tile, .ip-ph { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 8px; overflow: hidden; cursor: pointer; display: block; }
.ip-grid.wide .ip-tile, .ip-grid.wide .ip-ph { aspect-ratio: 16 / 9; }
.ip-ph { background: var(--line); animation: ipPulse 1.2s ease-in-out infinite alternate; cursor: default; }
@keyframes ipPulse { to { opacity: .45; } }
.ip-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.ip-tile:hover img { transform: scale(1.04); }
.ip-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ip-by { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 7px 5px; font-size: 11px; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: 0; transition: opacity .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ip-tile:hover .ip-by, .ip-tile:focus-visible .ip-by { opacity: 1; }
.ip-tile.busy::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45) center / 26px no-repeat; }
.ip-tile.busy::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.ip-more { display: flex; justify-content: center; padding: 14px; }
.ip-credit { font-size: 12px; color: var(--muted); text-align: center; margin: 16px 0 4px; }
.ip-credit a { color: inherit; }
@media (max-width: 520px) { .ip-grid { grid-template-columns: repeat(2, 1fr); } .ip-grid.wide { grid-template-columns: 1fr; } }

.art-drop { position: relative; cursor: pointer; }
.art-change { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; font-size: 12px; white-space: nowrap; opacity: 0; transition: opacity .15s; pointer-events: none; }
.art-drop:hover .art-change { opacity: 1; }
#artImg.hidden ~ .art-change { display: none; }

/* catalog: statistics button + playlist card footer (title, stats, ⋯ menu) */
.cx-statbtn svg { stroke-width: 2.1; }
.cx-row.tr2.pl { grid-template-columns: 18px 44px 34px minmax(140px, 1.1fr) minmax(120px, 2fr) 92px auto; }
.px-btns .cx-statbtn { width: 38px; height: 38px; border-radius: 10px; }
.cx-card { position: relative; outline: none; }
.cx-card:focus-visible .cx-cover { box-shadow: 0 0 0 2px var(--accent), 0 12px 28px rgba(0,0,0,.35); }
.cx-card-foot { display: flex; align-items: flex-start; gap: 4px; }
.cx-card-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-top: 2px; }
.cx-card-txt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-card .cx-card-txt > span { font-size: 13px; color: var(--muted); }
.cx-card-acts { display: flex; align-items: center; gap: 0; margin-right: -6px; flex: none; }
.cx-card-acts .cx-linkbtn, .cx-card-acts .cx-dots { width: 30px; height: 30px; }
.cx-card-acts .cx-linkbtn svg { width: 16px; height: 16px; }
.cx-card-in { padding: 2px 6px; font-size: 14px; font-weight: 600; }
.cx-card .cx-menu { min-width: 170px; }

/* statistics sidebar */
.st-sheet { width: min(520px, 100vw); }
.st-sheet .cx-sheet-body { padding: 16px 24px 24px; }
.st-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 22px; margin-bottom: 12px; }
.st-top:has(.st-tag[hidden]):has(.st-samp[hidden]) { display: none; }
.st-tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px dashed rgba(255,255,255,.22); border-radius: 999px; padding: 2px 9px; }
.st-samp { margin-left: auto; font-size: 12px; }
.st-samp i { width: 28px; height: 16px; } .st-samp i::after { width: 10px; height: 10px; } .st-samp input:checked + i::after { left: 15px; }
.st-seg { display: flex; padding: 3px; gap: 2px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.st-seg button { flex: 1; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; padding: 7px 6px; border-radius: 7px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.st-seg button:hover { color: var(--text); }
.st-seg button[aria-selected=true] { background: rgba(0, 220, 196,.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(0, 220, 196,.4); }
.st-main { transition: opacity .2s; } .st-main.busy { opacity: .55; }
.st-filter { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 -4px; }
.st-filter > span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.st-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line2); background: transparent; color: var(--text); font: inherit; font-size: 12px; padding: 4px 10px 4px 12px; border-radius: 999px; cursor: pointer; }
.st-chip i { font-style: normal; color: var(--muted); font-size: 10px; }
.st-chip:hover { border-color: #00dcc4; }
/* hero: the big number and its curve */
.st-hero { margin-top: 22px; }
.st-lab { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.st-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 2px 0 14px; }
.st-big > b { font-size: 46px; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.st-delta { display: inline-flex; align-items: baseline; gap: 6px; font-size: 13px; font-weight: 700; color: #3fe6cf; }
.st-delta.down { color: var(--muted); }
.st-delta em { font-style: normal; font-weight: 500; color: var(--muted); }
.st-area { position: relative; }
.st-area svg { display: block; width: 100%; height: 150px; overflow: visible; cursor: crosshair; }
.st-grid { stroke: rgba(255,255,255,.06); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 4; }
.st-line { fill: none; stroke: #00dcc4; stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: stDraw .9s cubic-bezier(.3,.7,.2,1) forwards; filter: drop-shadow(0 4px 10px rgba(0, 220, 196,.35)); }
.st-fill { stroke: none; animation: stFade .9s ease both; }
@keyframes stDraw { to { stroke-dashoffset: 0; } }
@keyframes stFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.st-guide { position: absolute; top: 0; height: 150px; width: 1px; background: rgba(255,255,255,.18); pointer-events: none; }
.st-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #00dcc4; box-shadow: 0 0 0 4px rgba(0, 220, 196,.25); pointer-events: none; }
.st-tip { position: absolute; pointer-events: none; display: flex; flex-direction: column; padding: 6px 10px; border-radius: 8px; background: #1a1e29; border: 1px solid var(--line2);
  box-shadow: 0 10px 24px rgba(0,0,0,.45); white-space: nowrap; font-size: 12px; }
.st-tip b { font-size: 13px; } .st-tip span { color: var(--muted); }
.st-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 8px; font-variant-numeric: tabular-nums; }
/* the four smaller numbers */
.st-pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.st-pills div { min-width: 0; padding: 0 12px; border-left: 1px solid var(--line); }
.st-pills div:first-child { padding-left: 0; border-left: 0; }
.st-pills dt { font-size: 11px; color: var(--muted); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-pills dd { margin: 0; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* sections */
.st-sec { margin-top: 26px; }
.st-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.st-sec h3 { margin: 0; font-size: 14px; font-weight: 700; }
.st-head span { font-size: 12px; color: var(--muted); }
.st-share { display: flex; height: 8px; border-radius: 999px; overflow: hidden; gap: 2px; margin: 2px 0 10px; background: rgba(255,255,255,.04); }
.st-share i { display: block; width: 0; background: #00dcc4; transition: width .8s cubic-bezier(.3,.7,.2,1); }
.st-share i.rest { background: rgba(255,255,255,.12); }
.st-rows { list-style: none; margin: 0; padding: 0; }
.st-crow, .st-trk li { width: 100%; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-rows: auto 2px; column-gap: 12px; row-gap: 6px; align-items: center;
  background: none; border: 0; color: var(--text); font: inherit; text-align: left; padding: 8px 8px; margin: 0 -8px; width: calc(100% + 16px); border-radius: 8px; cursor: pointer; transition: background .15s; }
.st-crow:hover { background: rgba(255,255,255,.035); }
.st-crow.on { background: rgba(0, 220, 196,.12); }
.st-cname { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.st-num { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-num b { color: var(--text); font-weight: 600; }
.st-num em { font-style: normal; display: inline-block; min-width: 38px; text-align: right; margin-left: 8px; }
.st-trk .st-num em { min-width: 64px; }
.st-bar { grid-column: 2 / -1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.05); overflow: hidden; }
.st-bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, rgba(0, 220, 196,.55), #00dcc4); border-radius: 2px; transition: width .8s cubic-bezier(.3,.7,.2,1); }
.st-trk li { cursor: default; }
.st-k { color: var(--muted); font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.st-flag { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; display: inline-block; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.st-flag.none, .st-avflag.none { background: rgba(255,255,255,.1); }
.st-more { margin-top: 6px; background: none; border: 0; padding: 4px 0; color: #3fe6cf; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.st-more:hover { color: #fff; }
.st-lis li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.st-lis li:last-child { border-bottom: 0; }
.st-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; letter-spacing: .02em; color: #d4fbf5;
  background: linear-gradient(135deg, rgba(0, 220, 196,.45), rgba(0, 220, 196,.12)); box-shadow: inset 0 0 0 1px rgba(0, 220, 196,.35); }
.st-av.anon { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line2); overflow: hidden; }
.st-avflag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; display: block; }
.st-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.st-who b { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-who > span { display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 12px; color: var(--muted); }
.st-who > span span:not(:last-child)::after { content: "·"; margin: 0 6px; opacity: .6; }
.st-pl { display: flex; flex-direction: column; align-items: flex-end; font-size: 11px; color: var(--muted); line-height: 1.2; }
.st-pl b { font-size: 16px; color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.st-empty { display: flex; flex-direction: column; gap: 6px; padding: 40px 8px; text-align: center; color: var(--muted); font-size: 14px; }
.st-empty b { color: var(--text); font-size: 15px; }
.st-empty.sm { padding: 6px 0; text-align: left; font-size: 13px; margin: 0; }
.st-note { margin: 28px 0 4px; font-size: 11px; color: var(--muted); opacity: .75; }
.credits-extra { margin-top: 18px; font-size: 12px; }
@media (max-width: 520px) { .st-pills { grid-template-columns: repeat(2, 1fr); row-gap: 12px; } .st-pills div:nth-child(3) { padding-left: 0; border-left: 0; } .st-seg button { font-size: 12px; padding: 7px 2px; } }
/* menus live on <body> now: keep their buttons lit while open */
.cx-linkbtn[aria-expanded=true] { background: rgba(255,255,255,.08); color: var(--accent); }
.cx-dots[aria-expanded=true] { background: rgba(255,255,255,.08); color: var(--text); }
.cx-row:has([aria-expanded=true]) .cx-acts { opacity: 1; }
.cx-row.tr2:has([aria-expanded=true]) .cx-link[data-share] { opacity: 1; }

/* activity feed (My catalog > Activity) */
.cx-card-acts .cx-linkbtn, .cx-card-acts .cx-dots { width: 26px; height: 28px; }
.cx-card-acts .cx-linkbtn svg { width: 15px; height: 15px; }
.cx-actbtn svg { stroke-width: 2; stroke-linejoin: round; }
.ev-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 6px 0 4px; }
.ev-bar .st-top { margin: 0; }
.ev-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ev-chips button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line2); background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ev-chips button:hover { color: var(--text); }
.ev-chips button[aria-selected=true] { background: rgba(0, 220, 196,.16); border-color: rgba(0, 220, 196,.5); color: #fff; }
.ev-chips small { font-size: 11px; font-weight: 600; opacity: .7; font-variant-numeric: tabular-nums; }
.ev-feed { max-width: 1100px; }
.ev-day { margin: 26px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ev-list, .tl-list { list-style: none; margin: 0; padding: 0; }
.ev-list li + li { border-top: 1px solid var(--line); }
.ev-row { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(160px, 240px) 76px; gap: 16px; align-items: center; padding: 12px 12px; margin: 0;
  background: none; border: 0; border-radius: 10px; color: var(--text); font: inherit; text-align: left; cursor: pointer; position: relative; transition: background .15s; }
.ev-row:hover:not(:disabled) { background: rgba(255,255,255,.035); }
.ev-row:disabled { cursor: default; }
.ev-row.unread { background: rgba(0, 220, 196,.07); }
.ev-row.unread::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: #00dcc4; }
.ev-who { position: relative; width: 40px; height: 40px; }
.ev-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #d4fbf5;
  background: linear-gradient(135deg, rgba(0, 220, 196,.45), rgba(0, 220, 196,.12)); box-shadow: inset 0 0 0 1px rgba(0, 220, 196,.35); }
.ev-av.anon { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line2); }
.ev-av.me { background: rgba(255,255,255,.06); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line2); font-size: 11px; }
.ev-ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #232842; color: #6ee9d6; box-shadow: 0 0 0 2px var(--bg); flex: none; }
.ev-who .ev-ico { position: absolute; right: -5px; bottom: -4px; }
.ev-ico svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ev-ico svg .fill { fill: currentColor; stroke: none; }
.t-complete .ev-ico { background: #00dcc4; color: #fff; }
.t-link .ev-ico { background: rgba(255,255,255,.08); color: var(--muted); }
.ev-main, .tl-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ev-line, .tl-line { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-line b, .tl-line b { color: var(--text); font-weight: 600; }
.ev-main q, .tl-main q { display: block; font-size: 13px; color: #c8cdd9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; quotes: "“" "”"; }
.ev-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font-size: 12px; color: var(--muted); }
.ev-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.ev-meta > span:not(:last-child)::after { content: "·"; margin: 0 7px; opacity: .6; }
.ev-meta .st-flag { width: 16px; height: 12px; border-radius: 2px; }
.ev-what { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ev-what .cx-thumb { width: 38px; height: 38px; border-radius: 6px; font-size: 14px; }
.ev-what > span { display: flex; flex-direction: column; min-width: 0; }
.ev-what b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-what small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-row time { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; color: var(--muted); white-space: nowrap; }
.ev-row time small { font-size: 11px; opacity: .7; }
@media (max-width: 760px) { .ev-row { grid-template-columns: 40px minmax(0, 1fr) auto; } .ev-what { display: none; } }

/* activity sidebar: did they look at it */
.av-sum dd small { font-size: 12px; color: var(--muted); font-weight: 500; }
.av-sum { margin-top: 4px; }
.av-list { list-style: none; margin: 8px 0 0; padding: 0; }
.av-p { padding: 16px 0; border-bottom: 1px solid var(--line); }
.av-top { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.av-link svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.av-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.av-name b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-name span { font-size: 12px; color: var(--muted); }
.av-pill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid var(--line2); color: var(--muted); }
.s-listening .av-pill { color: #b5f5ec; border-color: rgba(0, 220, 196,.45); }
.s-complete .av-pill, .s-downloaded .av-pill { color: #fff; background: rgba(0, 220, 196,.22); border-color: rgba(0, 220, 196,.55); }
.s-opened .av-pill { color: var(--text); }
.s-unopened { opacity: .55; }
.av-seen { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 10px 0 0 48px; font-size: 12px; color: var(--muted); }
.av-seen > span { display: inline-flex; align-items: center; gap: 6px; }
.av-seen > span:not(:last-child)::after { content: "·"; margin: 0 7px; opacity: .6; }
.av-seen b { color: var(--text); font-weight: 500; }
.av-seen .st-flag { width: 16px; height: 12px; border-radius: 2px; }
.av-tag { color: #b5f5ec; }
.av-tracks { display: flex; flex-direction: column; gap: 7px; margin: 12px 0 0 48px; }
.av-tr { display: grid; grid-template-columns: minmax(70px, 130px) minmax(0, 1fr) 82px; gap: 12px; align-items: center; font-size: 13px; }
.av-tr.none { grid-template-columns: minmax(70px, 130px) minmax(0, 1fr); }
.av-tt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-tr.none .av-tt { color: var(--muted); }
.av-heat { display: flex; gap: 1px; height: 8px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,.05); }
.av-heat em { flex: 1; background: transparent; }
.av-heat em.on { background: #00dcc4; }
.av-v { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.av-v em { font-style: normal; color: var(--muted); margin-left: 8px; display: inline-block; min-width: 34px; }
.av-not { font-size: 12px; color: var(--muted); }
.tl-list { margin-top: 2px; position: relative; }
.tl-list::before { content: ""; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 1px; background: var(--line2); }
.tl-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 8px 0; position: relative; }
.tl-row .ev-ico { width: 26px; height: 26px; margin-top: 1px; box-shadow: 0 0 0 3px var(--panel); }
.tl-line { font-size: 13px; white-space: normal; }
.tl-row time { font-size: 11px; color: var(--muted); white-space: nowrap; padding-top: 3px; }
/* My catalog > Saved (songs other people sent you) */
.sv-sec { margin-top: 18px; max-width: 900px; }
.sv-list { list-style: none; margin: 0; padding: 0; }
.sv-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 9px 6px; border-bottom: 1px solid var(--line); }
.sv-row.gone { opacity: .5; }
.sv-row .btn svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
/* calls in the Messages sidebar */
.cl-sec { padding: 8px 14px 4px; border-bottom: 1px solid var(--line); }
.cl-req { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 12px; margin: 6px 0; border-radius: 12px; background: rgba(0, 220, 196,.1); border: 1px solid rgba(0, 220, 196,.35); }
.cl-req .cl-acts { grid-column: 2; display: flex; gap: 8px; margin-top: 6px; }
.cl-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .cl-t b { font-weight: 600; } .cl-t q { font-size: 13px; color: #c8cdd9; } .cl-t small { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.cl-head { margin: 14px 0 4px; }
.cl-people { list-style: none; margin: 0 0 8px; padding: 0; }
.cl-people li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; }
.cl-people .cl-acts { display: flex; align-items: center; gap: 2px; }
.cl-people .cx-linkbtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.cl-people .cx-linkbtn:disabled { opacity: .35; cursor: default; }
.cs-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); display: inline-block; } .cs-dot.on { background: #00dcc4; box-shadow: 0 0 0 3px rgba(0, 220, 196,.2); }
.ch-none { padding: 14px; }
.ch-hname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ch-hcalls { display: inline-flex; gap: 2px; margin-left: auto; } .ch-hcalls svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.ch-hcalls .cx-linkbtn:disabled { opacity: .35; cursor: default; }
.chat-sheet header h2 { flex: 1; }
.bub.req { background: transparent; border: 1px dashed rgba(0, 220, 196,.6); color: #d4fbf5; max-width: 90%; }
.bub.req p { display: flex; align-items: center; gap: 8px; } .bub.req svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.req-acts { display: flex; gap: 8px; margin-top: 8px; justify-content: flex-end; }
/* My catalog > Library (songs, playlists, artists you follow) and in-app artist pages */
.cx-fol { color: var(--muted); } .cx-fol b { color: var(--text); }
.lb-sec { margin: 18px 0 6px; }
.lb-row { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 18px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.lb-tile { display: flex; flex-direction: column; gap: 4px; color: var(--text); text-decoration: none; padding: 10px; margin: -10px; border-radius: 12px; transition: background .2s; }
.lb-tile:hover { background: rgba(255,255,255,.04); }
.lb-tile b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 6px; } .lb-tile > span:last-child { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-art { position: relative; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 28px rgba(0,0,0,.4); }
.lb-img { display: grid; place-items: center; width: 100%; height: 100%; background: #1c2130 center / cover; font-size: 44px; font-weight: 800; color: rgba(255,255,255,.85); }
.lb-play { position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; background: #00dcc4; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.45); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.lb-play svg { width: 18px; height: 18px; }
.lb-tile:hover .lb-play, .ar-pop li:hover .lb-play, .ar-pop li.playing .lb-play { opacity: 1; transform: none; }
.lb-chips { display: flex; gap: 8px; margin: 18px 0 14px; }
.lb-chips button { border: 0; background: rgba(255,255,255,.07); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .15s; }
.lb-chips button:hover { background: rgba(255,255,255,.12); }
.lb-chips button[aria-selected=true] { background: #eef0f6; color: #0b0d12; }
.lb-chips small { font-size: 12px; opacity: .6; }
.lb-artists { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px; }
.lb-artist { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; color: var(--text); text-decoration: none; transition: background .2s; }
.lb-artist:hover { background: rgba(255,255,255,.05); }
.lb-face { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.45); margin-bottom: 10px; }
.lb-face img, .lb-face .lb-gen { width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; font-size: 46px; font-weight: 800; color: rgba(255,255,255,.9); }
.lb-artist b { font-weight: 700; } .lb-artist span:last-child { font-size: 13px; color: var(--muted); }
/* artist page */
.ar-hero { position: relative; margin: 8px 0 0; min-height: 320px; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.ar-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,18,.05) 0%, rgba(11,13,18,.55) 60%, rgba(11,13,18,.92) 100%); }
.ar-in { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 26px; padding: 28px; }
.ar-face { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; box-shadow: 0 20px 50px rgba(0,0,0,.55); flex: none; display: grid; place-items: center; font-size: 60px; font-weight: 800; color: rgba(255,255,255,.9); }
.ar-kind { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); }
.ar-hero h1 { margin: 4px 0 8px; font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -.035em; font-weight: 900; }
.ar-meta { color: rgba(255,255,255,.8); font-size: 14px; }
.ar-bar { display: flex; align-items: center; gap: 16px; margin: 22px 4px 8px; }
.ar-play { width: 58px; height: 58px; border-radius: 50%; border: 0; background: #00dcc4; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 26px rgba(0, 220, 196,.35); transition: transform .15s, background .15s; }
.ar-play:hover { transform: scale(1.05); background: #2ee3cc; } .ar-play svg { width: 22px; height: 22px; }
.ar-bar .btn.ghost { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 18px; font-weight: 700; }
.ar-bar .btn.following { border-color: rgba(0, 220, 196,.7); color: #d4fbf5; background: rgba(0, 220, 196,.12); }
.ar-ic { width: 42px; height: 42px; } .ar-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.ar-bio { color: var(--muted); max-width: 720px; margin: 4px 4px 0; }
.ar-sec { margin-top: 30px; } .ar-sec h2 { font-size: 22px; margin: 0 0 12px; letter-spacing: -.01em; }
.ar-pop { list-style: none; margin: 0; padding: 0; max-width: 900px; }
.ar-pop li { display: grid; grid-template-columns: 26px 48px minmax(0, 1fr) 110px 56px; gap: 14px; align-items: center; padding: 8px 10px; border-radius: 8px; cursor: pointer; transition: background .15s; }
.ar-pop li:hover { background: rgba(255,255,255,.05); } .ar-pop li.playing b { color: #3fe6cf; }
.ar-n { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.ar-art { position: relative; width: 48px; height: 48px; } .ar-art .cx-thumb { width: 48px; height: 48px; }
.ar-art .lb-play { right: 8px; bottom: 8px; width: 32px; height: 32px; } .ar-art .lb-play svg { width: 13px; height: 13px; }
.ar-pop b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-plays, .ar-dur { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 720px) { .ar-in { flex-direction: column; align-items: flex-start; padding: 18px; } .ar-face { width: 120px; height: 120px; } .ar-pop li { grid-template-columns: 22px 44px minmax(0, 1fr) 50px; } .ar-plays { display: none; } }

/* "Use original": a part kept from the upload instead of rebuilt */
.otag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 600;
  color: var(--muted); background: rgba(255,255,255,.03); border: 1px solid var(--line2); white-space: nowrap; }
.mixlane.useorig .ln > span:last-child { color: #6ee9d6; }
.mixlane.useorig .clip { opacity: .55; }
.dz-orig { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 10px; background: var(--panel2); }
.dz-orig .dz-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.dz-orig .dz-txt span { font-size: 12px; color: var(--muted); }
.dz-orig.on { border-color: rgba(0, 220, 196,.5); }
.dz-orig .toggle { flex: none; cursor: pointer; }
/* phones: each track row stacks (controls + name, waveform, result + buttons) instead of running off the screen */
@media (max-width: 640px) {
  .jstep[data-j="listen"] .mixhead { display: none !important; }
  .jstep[data-j="listen"] .lane.mixlane { grid-template-columns: minmax(0, 1fr) auto !important; grid-template-areas: "name name" "clip clip" "ctl ctl" "res btns"; gap: 8px 12px; padding: 10px 12px; }
  .jstep[data-j="listen"] .lane.mixlane .tctl { flex-wrap: nowrap; }
  .jstep[data-j="listen"] .lane.mixlane .tctl .vol { flex-basis: auto; margin-left: 6px; }
  .jstep[data-j="listen"] .lane.mixlane .lbtns { flex-direction: column; align-items: flex-end; }
  .jstep[data-j="listen"] .lane.mixlane .lbtns .mini { white-space: nowrap; }
  /* the Apply bar floats above the player (the step list covers the top of the screen on phones) */
  .lv-bar { position: fixed; top: auto; left: 10px; right: 10px; bottom: 146px; z-index: 20; flex-wrap: wrap; box-shadow: 0 10px 28px rgba(0,0,0,.55); }
  body.has-procbar .lv-bar { bottom: calc(var(--dock-h, 0px) + 10px); }
  .lv-bar .lv-acts { margin-left: auto; }
  .jstep[data-j="listen"] .lane.mixlane > :nth-child(1) { grid-area: ctl; }
  .jstep[data-j="listen"] .lane.mixlane > :nth-child(2) { grid-area: name; }
  .jstep[data-j="listen"] .lane.mixlane > :nth-child(3) { grid-area: clip; }
  .jstep[data-j="listen"] .lane.mixlane > :nth-child(4) { grid-area: res; min-width: 0; }
  .jstep[data-j="listen"] .lane.mixlane > :nth-child(5) { grid-area: btns; align-self: center; }
}

/* Download: one checklist */
.dl-box { padding: 0; overflow: hidden; }   /* full width like every other step (owner 3 Dec) */
.dl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dl-head b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-head .linkbtn { flex: none; color: var(--accent); font-size: 13px; text-decoration: none; }
.dl-prog .progress > i { background: var(--accent); }
.dl-g { padding: 6px 0; border-bottom: 1px solid var(--line); }
.dl-gh { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 18px 4px; }
.dl-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 18px; cursor: pointer; }
.dl-row:hover { background: rgba(255,255,255,.03); }
.dl-row input { width: 17px; height: 17px; margin: 0; accent-color: var(--accent); }
.dl-row.dis { opacity: .45; cursor: not-allowed; }
.dl-l { display: flex; flex-direction: column; min-width: 0; }
.dl-l b { font-weight: 600; font-size: 14px; }
.dl-l small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-sz { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }
.dl-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.dl-sum { color: var(--muted); font-size: 13px; }
.dl-foot .btn { flex: none; white-space: nowrap; }
/* Export side panel (owner, 3 Dec): the same choices, edge to edge in the panel, Download always in view */
.ex-drawer .drawer-body { padding: 0; gap: 0; }
.ex-drawer .dl-box { max-width: none; border: 0; border-radius: 0; background: none; box-shadow: none; margin: 0; overflow: visible; }
.ex-drawer .dl-head { justify-content: flex-end; padding: 10px 20px; }
.ex-drawer .dl-head b { display: none; }
.ex-drawer .dl-row, .ex-drawer .dl-gh { padding-left: 20px; padding-right: 20px; }
.ex-drawer .dl-foot { position: sticky; bottom: 0; background: var(--panel); border-top: 1px solid var(--line2); padding: 14px 20px; }
.ex-drawer .dl-prog { padding: 0 20px 14px; }
.dl-prog { display: flex; flex-direction: column; gap: 6px; padding: 0 18px 16px; font-size: 13px; color: var(--muted); }
.dl-prog .progress { margin: 0; }
@media (max-width: 640px) { .dl-head, .dl-row, .dl-foot, .dl-gh { padding-left: 14px; padding-right: 14px; } .dl-prog { padding: 0 14px 14px; } }
/* 2 Dec: no accent line on the edge of Activity rows */
.ev-row.unread::before { content: none; }
.cat-activity li, .cat-activity li.unread { border-left: 0; padding-left: 0; }

/* Your sounds · linked folders */
.lk { margin-top: 22px; }
.lk h2 { margin: 0 0 10px; }
.lk-add { display: flex; gap: 8px; }
.lk-add input { flex: 1; min-width: 0; }
.lk-tip { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 12px; font-size: 12px; color: var(--muted); }
.lk-lib { padding: 14px 16px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 10px; }
.lk-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lk-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; display: block; }
.lk-title { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lk-title b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-title span { font-size: 12px; color: var(--muted); }
.lk-btns { display: flex; gap: 8px; flex-shrink: 0; }
.lk-prog { display: grid; grid-template-columns: minmax(80px, 260px) auto 1fr; gap: 10px; align-items: center; font-size: 13px; }
.lk-prog .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-bar { height: 6px; border-radius: 99px; background: var(--line2); overflow: hidden; }
.lk-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .4s; }
.lk-bar.ind i { animation: lkind 1.2s ease-in-out infinite alternate; }
@keyframes lkind { from { margin-left: 0; } to { margin-left: 70%; } }
.lk-groups { display: flex; flex-wrap: wrap; gap: 6px; }
.lk-items { display: flex; flex-direction: column; }
.lk-row { display: grid; grid-template-columns: 40px minmax(180px, 320px) minmax(0, 1fr) 170px; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.lk-name { display: flex; flex-direction: column; min-width: 0; }
.lk-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-name span { font-size: 12px; color: var(--muted); }
.lk-tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.lk-sel { width: 100%; padding: 6px 8px; font-size: 13px; }
.lk-fam { color: var(--text); }
.lk-more { align-self: flex-start; }
.lk-skip { font-size: 12px; color: var(--muted); }
.lk-skip div { padding: 3px 0; }
@media (max-width: 700px) {
  .lk-head { flex-wrap: wrap; }
  .lk-btns { width: 100%; }
  .lk-btns .btn { flex: 1; }
  .lk-prog { grid-template-columns: 1fr; gap: 4px; }
  .lk-row { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "play name" "tags tags" "fam fam"; gap: 6px 10px; }
  .lk-row > .tplay { grid-area: play; } .lk-name { grid-area: name; } .lk-tags { grid-area: tags; } .lk-famcell { grid-area: fam; }
  .lk-add { flex-direction: column; }
}
/* 2 Dec: heart in the bottom player (someone else's song) */
.cx-foot .cxf-heart { color: var(--muted); }
.cx-foot .cxf-heart.on { color: #ff6b8b; }
.cx-foot .cxf-heart.on svg path { fill: currentColor; }
.cx-foot .cxf-heart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cx-foot .cxf-now .cxf-heart { flex: none; margin-left: 6px; width: 32px; height: 32px; }
/* 2 Dec: Re-create drawer, compact and calm.
   - drum tabs + volume + search stay pinned while the sound list scrolls (one scroll, not nested boxes)
   - thin scrollbars; slim player row */
.drawer, .drawer * { scrollbar-width: thin; scrollbar-color: #2b3142 transparent; }
.drawer ::-webkit-scrollbar { width: 6px; height: 6px; }
.drawer ::-webkit-scrollbar-thumb { background: #2b3142; border-radius: 6px; }
.drawer ::-webkit-scrollbar-track { background: transparent; }
.drawer-body { padding-top: 0; }
.drawer-body > .dz-orig { margin-top: 12px; }
.dz-pieces { position: sticky; top: 0; z-index: 4; background: var(--panel); padding: 10px 0 8px; margin: 0 -2px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.dz-pieces button { padding: 6px 11px; font-size: 12.5px; }
.dz-help { margin: 0; font-size: 12.5px; }
.dz-pvol { position: sticky; top: 48px; z-index: 3; background: var(--panel); padding: 4px 0 8px; }
.dz-browse { border: 0; border-radius: 0; overflow: visible; }
.dz-bhead { position: sticky; top: 48px; z-index: 3; background: var(--panel); padding: 6px 0 8px; }
.dz-pvol + .dz-browse .dz-bhead { top: 92px; }
.dz-blist { max-height: none !important; height: auto !important; min-height: 0 !important; overflow: visible !important; border: 1px solid var(--line); border-radius: 10px; }
.dz-srow { padding-top: 8px; padding-bottom: 8px; }
.drawer-foot { padding: 10px 16px 12px; }
.dz-player { grid-template-columns: 32px 1fr auto auto; gap: 10px; }
.dz-big { width: 32px !important; height: 32px !important; }
.dz-ptitle { font-size: 12.5px; margin-bottom: 2px; }
.dz-pmid input[type=range] { height: 12px; }
.dz-how button { padding: 4px 9px; font-size: 12px; }
.dz-actions { margin-top: 10px; display: flex; gap: 8px; }
.dz-actions .btn { padding-top: 8px; padding-bottom: 8px; }
.dz-actions .btn.primary { flex: 1; }
.dz-player .dz-how { grid-column: auto; justify-self: end; }

/* producer check (project page, Quality step): one number, three cards, a close-up, one button */
.pc { margin-bottom: 18px; display: flex; flex-direction: column; gap: 14px; }
.pc-top { display: flex; flex-direction: column; gap: 10px; }
.pc-big { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.pc-big b { color: var(--accent); }
.pc-arrow { color: var(--muted); font-weight: 400; margin: 0 4px; }
.pc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pc-inuse { color: var(--text); }
.pc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pc-card { text-align: left; background: var(--panel2); border: 1px solid var(--line2); border-radius: 12px; padding: 14px; color: var(--text);
  display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.pc-card.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pc-card-name { font-weight: 600; font-size: 16px; }
.pc-card-line { color: var(--muted); font-size: 12.5px; }
.pc-card-pct { font-size: 20px; font-weight: 600; margin-top: 6px; }
.pc-card.on .pc-card-pct { color: var(--accent); }
.pc-card-pct small { font-size: 12px; font-weight: 400; color: var(--muted); }
.pc-viewbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.pc-sel { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pc-sel select { background: var(--panel2); color: var(--text); border: 1px solid var(--line2); border-radius: 8px; padding: 6px 10px; font: inherit; }
.pc-where { font-size: 12px; }
#pcCanvas { width: 100%; height: 240px; display: block; border-radius: 10px; border: 1px solid var(--line); }
.pc-legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; margin-top: 8px; }
.pc-k { display: inline-block; width: 16px; height: 9px; border-radius: 2px; margin-left: 6px; }
.pc-k.solid { background: var(--accent); }
.pc-k.ghost { border: 1px solid var(--muted); }
.pc-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; flex-direction: row-reverse; }
.pc-details summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.pc-find { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.pc-find li { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.pc-find li span { color: var(--muted); }
.pc-find li.pc-find-h { color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 6px; }
@media (max-width: 720px) { .pc-cards { gap: 6px; } .pc-card { padding: 10px; } .pc-card-name { font-size: 14px; } .pc-card-pct { font-size: 17px; }
  .pc-card-line { font-size: 11.5px; } .pc-big { font-size: 19px; } #pcCanvas { height: 220px; } }

/* 2 Dec: Tracks ⋯ > Add to playlist (catalog.js plSidebar) */
.pls-side .cx-sheet-body { display: flex; flex-direction: column; gap: 10px; }
.pls-song { display: flex; align-items: center; gap: 12px; } .pls-song .cx-thumb { width: 48px; height: 48px; flex: none; }
.pls-song span, .pls-list span { display: flex; flex-direction: column; min-width: 0; } .pls-song b, .pls-list b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pls-song small, .pls-list small { color: var(--muted); font-size: 12.5px; }
.pls-new { display: flex; gap: 8px; } .pls-new input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line2); color: var(--text); font: inherit; }
.pls-err { color: #ff8b8b; font-size: 13px; margin: 0; }
.pls-list { list-style: none; margin: 4px -6px 0; padding: 0; overflow-y: auto; } .pls-none { padding: 12px 6px; }
.pls-list button { display: grid; grid-template-columns: 48px minmax(0, 1fr) 32px; gap: 12px; align-items: center; width: 100%; padding: 8px 6px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.pls-list button:hover { background: rgba(255,255,255,.05); } .pls-list .cx-thumb { width: 48px; height: 48px; }
.pls-tick { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--muted); }
.pls-list button.on .pls-tick { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Choose your version (project.js drawVersion): two big choices, one play button each, one shared position */
.journey li.need button { color: var(--text); }
.journey li.need button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-left: 2px; }
.ver { display: flex; flex-direction: column; gap: 16px; }
.ver-h { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.ver-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ver-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line2);
  cursor: pointer; min-height: 96px; outline: none; }
.ver-card:hover { border-color: var(--muted); }
.ver-card:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
.ver-card.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.ver-play { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2);
  background: var(--panel); color: var(--text); cursor: pointer; }
.ver-play svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.ver-card.on .ver-play, .ver-play.playing { background: var(--accent); border-color: var(--accent); color: #0b0d14; }
.ver-play:disabled { opacity: .4; cursor: not-allowed; }
.ver-play.load { animation: verPulse 1s ease-in-out infinite; }
@keyframes verPulse { 50% { opacity: .5; } }
.ver-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ver-name { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ver-rec, .ver-use { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; }
.ver-rec { color: var(--accent); background: rgba(0, 220, 196,.14); }
.ver-use { color: var(--muted); border: 1px solid var(--line2); }
.ver-line { color: var(--muted); font-size: 13.5px; }
.ver-seek { display: flex; align-items: center; gap: 10px; }
.ver-seek.off { opacity: .45; pointer-events: none; }
/* Quality page player = the studio's fixed footer player (owner 3 Dec); room under the page for it */
#qpFoot:not(:empty) { height: 120px; }
.qp-msg { grid-area: meter; justify-self: end; font-size: 12px; color: var(--accent); }
.ver-t { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 34px; }
.ver-t:last-child { text-align: right; }
.ver-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--panel2); position: relative; cursor: pointer; }
.ver-bar::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; bottom: -8px; }
.ver-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: var(--accent); }
.ver-why { color: var(--muted); font-size: 13px; }
.ver-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ver-actions .ver-more { margin-left: auto; }
.ver-pill .linkbtn { font: inherit; color: var(--accent); text-decoration: none; font-weight: 600; }
.ver-actions .ver-more { color: var(--muted); text-decoration: none; font-size: 13px; }
.ver-actions .ver-more:hover { color: var(--text); }
.ver-pill.need { border-color: var(--accent); }
@media (max-width: 720px) {
  .ver-cards { grid-template-columns: 1fr; gap: 10px; }
  .ver-card { padding: 14px; min-height: 0; }
  .ver-h { font-size: 19px; }
  .ver-actions .btn.primary { flex: 1; }
  .ver-actions .ver-more { margin-left: 0; }
}

/* 2 Dec (owner): playlist Public / Private switch */
.px-vis { display: flex; align-items: center; gap: 0; margin: 10px 0 4px; flex-wrap: wrap; }
.px-vis button { height: 32px; padding: 0 16px; border: 1px solid var(--line2, rgba(255,255,255,.14)); background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.px-vis button:first-child { border-radius: 999px 0 0 999px; } .px-vis button:nth-child(2) { border-radius: 0 999px 999px 0; border-left: 0; }
.px-vis button[aria-checked=true] { background: rgba(0, 220, 196,.18); border-color: rgba(0, 220, 196,.6); color: #fff; }
.px-vis small { margin-left: 12px; color: var(--muted); font-size: 12.5px; }
/* song page: Clean up vocal artefacts on the original vocal lanes */
.verdict small.vclean { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: #c3c8d6; cursor: default; white-space: nowrap; }
.verdict small.vclean label { cursor: pointer; }
.verdict small.vclean .toggle { flex: 0 0 auto; width: 28px; height: 16px; padding: 0; cursor: pointer; }
.verdict small.vclean .toggle::after { top: 2px; left: 2px; width: 12px; height: 12px; }
.verdict small.vclean .toggle.on::after { left: 14px; }
.verdict small.vclean .spin { width: 12px; height: 12px; }

/* swap panel: what plays now (Original / Selected / Chordelo's pick), hearts, favourites first (3 Dec 2026) */
.dz-now { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 8px 0 4px; }
.dz-now > .dz-srow:first-child { border-top: 0; }
.dz-now .dz-srow.keep { position: static; box-shadow: none; border-bottom: 0; }
.dz-now .dz-srow.keep.sel { box-shadow: inset 3px 0 0 var(--accent); }
.dz-srow .dz-txt { min-width: 0; }
.dz-srow .dz-txt b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.dz-srow .dz-txt > span { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-tag { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; color: var(--accent); background: rgba(0, 220, 196,.14); border-radius: 4px; padding: 1px 5px; margin-right: 6px; }
.dz-tag2 { color: var(--muted); background: rgba(255,255,255,.07); }
.dz-kn { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 8px; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); color: var(--text); padding: 7px 12px; font-size: 12.5px; cursor: pointer; }
.dz-kn:hover { background: rgba(255,255,255,.03); }
.dz-kn span { color: var(--muted); }
.dz-kn b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-kn .dz-tag { margin: 0; }
.dz-lbl { margin: 2px 0 0; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: none; }
.dz-fav { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); padding: 0; border-radius: 50%; cursor: pointer; }
.dz-fav svg { width: 17px; height: 17px; }
.dz-fav:hover { color: var(--text); background: rgba(255,255,255,.05); }
.dz-fav.on { color: var(--accent); }
.dz-favf { flex: none; display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line2); background: var(--bg); color: var(--muted); border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.dz-favf svg { width: 13px; height: 13px; color: var(--accent); }
.dz-favf small { font-weight: 500; opacity: .75; }
.dz-favf.on { color: var(--text); border-color: var(--accent); }
.dz-bhead input { min-width: 0; flex: 1; }
.dz-pvol ~ .dz-browse .dz-bhead { top: 92px; }
.dz-pieces button .dz-mine { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.dz-weak { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line2); border-left: 3px solid var(--accent); border-radius: 10px; background: var(--panel2); }
.dz-weak b { display: block; font-size: 13px; }
.dz-weak span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.dz-weak .mini { flex: none; }
.drawer-body > .dz-weak + .dz-orig { margin-top: 8px; }

/* swap panel, simple version (3 Dec 2026): Original / Selected card, Use this -> Apply on the row */
.dz-topcard { display: flex; flex-direction: column; border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; margin-top: 10px; background: var(--panel2); }
.dz-topcard > .dz-srow:first-child { border-top: 0; }
.dz-top .dz-lab { flex: none; width: 64px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.dz-inuse { flex: none; font-size: 12px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.dz-cmp { flex: none; font-size: 12px; color: var(--muted); white-space: nowrap; }
.dz-use { flex: none; min-width: 76px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); border-radius: 8px; padding: 6px 10px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.dz-use:hover { border-color: var(--accent); }
.dz-use.on { background: var(--accent); border-color: var(--accent); color: #0e1014; }
.dz-use:disabled { opacity: .6; }
.dz-lbl2 { flex: none; font-size: 12px; font-weight: 600; color: var(--muted); }
.dz-bhead input#dzFilter { flex: 1; min-width: 0; }
.dz-blist + .dz-browse { margin-top: 12px; }
.dz-extra .dz-pvol { position: static; }
.dz-crumb { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.dz-crumb b { font-size: 15px; }
.dz-backk { background: none; border: 1px solid var(--line2); color: var(--text); border-radius: 999px; padding: 5px 11px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.dz-kit { margin-top: 6px; }
.dz-kitrow { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); color: var(--text); padding: 9px 12px; cursor: pointer; }
.dz-kit > .dz-kitrow:first-child { border-top: 0; }
.dz-kitrow:hover { background: rgba(255,255,255,.03); }
.dz-klab { flex: none; width: 104px; font-size: 12.5px; font-weight: 700; }
.dz-kitrow .dz-txt { flex: 1; min-width: 0; }
.dz-kitrow .dz-txt b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-kitrow .dz-txt span { display: block; font-size: 12px; color: var(--muted); }
.dz-kgo { flex: none; font-size: 12px; font-weight: 600; color: var(--accent); }
.dz-top .dz-lab:empty { visibility: hidden; }
/* "Adding it to the song": its own progress (3 Dec 2026) */
.dz-prog { width: min(260px, 80%); height: 6px; border-radius: 3px; background: var(--panel2); overflow: hidden; margin-top: 6px; }
.dz-prog i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width .8s ease; }
.dz-canclose { font-size: 12px; max-width: 300px; text-align: center; margin-top: 6px; }
/* one drum's volume + effects (3 Dec 2026) */
.dz-pfx { margin-top: 10px; border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.dz-pfxh { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; }
.dz-pfxh::-webkit-details-marker { display: none; }
.dz-pfxs { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--accent); }
.dz-pfxc { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
details.dz-pfx[open] .dz-pfxc { transform: rotate(180deg); }
.dz-pfxb { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.dz-pfxb > .dz-pfxr { align-self: flex-end; }
.dz-pfxh b { font-size: 13px; }
.dz-pfxr { background: none; border: 0; padding: 0; color: var(--accent); font-size: 12px; font-weight: 600; cursor: pointer; }
.dz-fxr { display: grid; grid-template-columns: 64px 1fr 104px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.dz-fxr input { width: 100%; min-width: 0; accent-color: var(--accent); }
.dz-fxr b { font-weight: 500; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dz-fxbtns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 2px; }
.dz-fxpre select { grid-column: 2 / 4; min-width: 0; width: 100%; padding: 6px 9px; font-size: 12.5px; cursor: pointer; }
/* kit row: play on the left (hear the drum without opening it), the rest of the row opens it */
.dz-kitrow { padding: 0 0 0 12px; cursor: default; }
.dz-kitrow.sel { background: rgba(0, 220, 196,.07); }
.dz-kitrow > .dz-play { width: 30px; height: 30px; cursor: pointer; }
.dz-kitrow > .dz-play:hover { border-color: var(--accent); }
.dz-kopen { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; text-align: left; background: none; border: 0; color: var(--text); padding: 9px 12px 9px 2px; cursor: pointer; font: inherit; }

/* ===== W9 "Rate some sounds" (app/web/abtest.js, #/rate; only with AUTODAW_W9_UI on). One calm colour, no scores. ===== */
.w9 { max-width: 680px; }
.w9-card { display: flex; flex-direction: column; gap: 16px; }
.w9-what { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.w9-what b { font-size: 16px; font-weight: 600; }
.w9-what span { font-size: 13px; }
.w9-plays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.w9-plays.two { grid-template-columns: repeat(2, 1fr); }
.w9-play { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px 12px; border: 1px solid var(--line2); background: var(--panel2); border-radius: 12px; color: var(--text); }
.w9-play:hover { border-color: #46506a; }
.w9-play.on { border-color: var(--accent); }
.w9-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line2); }
.w9-play.on .w9-ic { background: var(--accent); border-color: var(--accent); color: #0b0d14; }
.w9-play b { font-size: 15px; font-weight: 600; }
.w9-play small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-height: 16px; }
.w9-all { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--accent); font-size: 13px; font-weight: 600; }
.w9-all svg { width: 14px; height: 14px; }
.w9-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.w9-chips > span { font-size: 12px; margin-right: 4px; }
.w9-q { margin: 4px 0 0; font-size: 15px; }
.w9-answers { display: flex; gap: 10px; flex-wrap: wrap; }
.w9-answers .btn { flex: 1 1 120px; justify-content: center; min-height: 46px; font-weight: 600; }
.w9-answers .btn:not(:disabled):hover { border-color: var(--accent); }
.w9-answers .btn:disabled { opacity: .4; cursor: not-allowed; }
.w9-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; min-height: 18px; }
.w9-foot [hidden] { display: inline !important; visibility: hidden; }
.w9-skip { margin-left: auto; background: none; border: 0; padding: 0; color: var(--muted); font-size: 13px; }
.w9-skip:hover { color: var(--text); }
.w9-card .error:empty { display: none; }
.w9-empty { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.w9-empty b { color: var(--text); font-weight: 600; }
.w9-entry { display: inline-flex; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--accent); }
@media (max-width: 600px) { .w9-play { padding: 12px 4px 10px; } .w9-ic { width: 38px; height: 38px; } .w9-answers .btn { flex-basis: 90px; } }

/* ===== W8 honest quality report (app/web/quality_w8.js; only with AUTODAW_W8_UI on). One calm colour, no score blocks or bars. ===== */
.w8q { display: flex; flex-direction: column; gap: 12px; }
.w8-status { font-size: 16px; font-weight: 600; color: var(--text); }
.w8-cover { margin: 0; color: var(--muted); font-size: 13px; }
.w8-parts td { vertical-align: top; }
.w8-word { color: var(--text); font-weight: 600; white-space: nowrap; }
.w8-pct { color: var(--muted); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.w8-look { color: var(--accent); font-size: 12px; margin-top: 3px; }
.w8-pill { color: var(--text); }
.w8-pro { display: flex; flex-direction: column; gap: 14px; }
.w8-area { border-top: 1px solid var(--line); padding-top: 10px; }
.w8-h { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.w8-area dl { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 4px 14px; margin: 0; font-size: 13px; }
.w8-area dt { color: var(--muted); }
.w8-area dd { margin: 0; color: var(--text); }
.w8-how { display: block; color: var(--muted); font-size: 12px; }
.w8-rec { border-bottom: 1px solid var(--line); padding: 6px 0; }
.w8-rec summary { cursor: pointer; color: var(--text); font-size: 13px; }
.w8-rec dl { margin-top: 6px; }
@media (max-width: 600px) { .w8-area dl { grid-template-columns: 1fr; } .w8-area dt { margin-top: 6px; } }

/* Change sound: Favourites under Original / Selected, always there (3 Dec 2026) */
.dz-favempty { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; padding: 10px 12px; border: 1px dashed var(--line2); border-radius: 10px; }
.dz-favempty svg { width: 14px; height: 14px; flex-shrink: 0; }
.dz-favs + .dz-pfx, .dz-favempty + .dz-pfx { margin-top: 12px; }

/* thumbs up / down on sounds (3 Dec 2026) */
.dz-rates { flex: none; display: inline-flex; align-items: center; }
.dz-rate { flex: none; width: 26px; height: 30px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); padding: 0; border-radius: 50%; cursor: pointer; }
.dz-rate svg { width: 15px; height: 15px; }
.dz-rate:hover { color: var(--text); background: rgba(255,255,255,.05); }
.dz-rate.on { color: var(--accent); }
.dz-nope { margin-top: 10px; }
.dz-nope > summary { cursor: pointer; color: var(--muted); font-size: 12.5px; padding: 8px 2px; list-style: none; }
.dz-nope > summary::-webkit-details-marker { display: none; }
.dz-nope > summary::before { content: "› "; }
.dz-nope[open] > summary::before { content: "⌄ "; }
.dz-nope .dz-srow { opacity: .6; }

/* Your kit: each drum's Original vs Selected (3 Dec 2026) */
.dz-kitrow.dz-kitab { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
.dz-kitab .dz-kopen { padding: 9px 12px 4px; }
.dz-kab { display: flex; gap: 8px; padding: 2px 12px 10px; }
.dz-kabb { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); border-radius: 999px; padding: 4px 12px 4px 5px; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.dz-kabb svg { width: 11px; height: 11px; }
.dz-kabb > svg, .dz-kabb > .spin { box-sizing: content-box; padding: 5px; border-radius: 50%; background: rgba(255,255,255,.06); }
.dz-kabb:hover { border-color: var(--accent); }
.dz-kabb.on { border-color: var(--accent); color: var(--accent); }

/* One compact Quality tab (owner 3 Dec: "combine choose your version and quality ... compact but clean and simple") */
.pc { gap: 12px; margin-bottom: 12px; }
.pc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pc-head > b { font-size: 17px; }
.pc-grid { color: var(--muted); font-size: 13px; }
.pc-grid b { color: var(--accent); }
.pc-card { padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; }
.pc-card-name { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.pc-card-pct { font-size: 16px; margin-top: 0; }
.pc-card-pct small { font-size: 12px; }
.pc-tag { font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; color: var(--text); border: 1px solid var(--line2); }
.pc-tag.rec { color: var(--accent); background: rgba(0, 220, 196,.14); border-color: rgba(0, 220, 196,.45); }
.pc-actions { flex-direction: row; justify-content: flex-start; }
.pc-actions:has(> #pcUse[hidden]:only-child) { display: none; }   /* nothing to do: no empty row */
.pc-more > summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.pc-more > summary:hover { color: var(--text); }
.pc-more[open] > summary { margin-bottom: 10px; }
.pc-more .pc-chips { margin-bottom: 8px; }
.q-ones { display: flex; gap: 18px; flex-wrap: wrap; }
.q-one { display: inline-flex; align-items: baseline; gap: 6px; font-size: 13px; }
.q-one b { font-size: 17px; color: var(--text); }
.rep-more { padding: 14px 18px; }
.rep-more > summary { font-weight: 600; color: var(--text); font-size: 15px; }

/* owner 3 Dec 22:58: "this ugly white block for scrolling ... I don't want that ... anywhere. Just use something simpler":
   one slim dark scrollbar everywhere (the drawers' own); bars hidden on purpose (scrollbar-width: none) stay hidden */
* { scrollbar-width: thin; scrollbar-color: #2b3142 transparent; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: #2b3142; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #3a4257; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
