/* Guided sound setup (#/setup, setup.js). One accent (#00dcc4); plain rows with thin dividers; status ✓ in --good. */
.su { max-width: 640px; margin: 0; padding: 4px 0 40px; }   /* left edge like every other page (owner) */
.su.over { outline: 2px solid var(--accent); outline-offset: 8px; border-radius: 12px; }
.su-top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.su-kick { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.su-dots { display: flex; gap: 8px; margin: 0 auto; }
.su-dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--line2); }
.su-dot.done { background: rgba(0, 220, 196,.45); }
.su-dot.on { background: var(--accent); width: 22px; border-radius: 4px; }
.su-x { background: none; border: 0; color: var(--muted); padding: 6px; border-radius: 8px; display: grid; place-items: center; }
.su-x:hover { color: var(--text); background: var(--panel2); }
.su-h { font-size: 26px; margin: 0 0 4px; }
.su-sub { color: var(--muted); margin: 0 0 16px; }
.su-body { margin-top: 18px; }
.su-mute { color: var(--muted); }
.su-note { color: var(--muted); font-size: 13px; margin: 14px 0 0; }
.su-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.su-fr { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.su-skip { background: none; border: 0; color: var(--muted); padding: 8px 4px; font-size: 14px; }
.su-skip:hover { color: var(--text); }
.su-wait { display: flex; align-items: center; gap: 4px; color: var(--muted); flex-wrap: wrap; }
.su-wait small { margin-left: 8px; }
.su-soon { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.su-soon span { color: var(--muted); font-size: 13px; }
.su-alt { background: none; border: 0; color: var(--accent); padding: 0 0 0 10px; font-size: 13px; }

/* step 1: tick rows */
.su-opts { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.su-opt { display: grid; grid-template-columns: 36px 1fr 24px; align-items: center; gap: 14px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 14px 4px; }
.su-opt:hover { background: rgba(0, 220, 196,.04); }
.su-oic { width: 36px; height: 36px; border-radius: 10px; background: var(--panel2); display: grid; place-items: center; color: var(--muted); }
.su-opt.on .su-oic { color: var(--accent); }
.su-ot { display: flex; flex-direction: column; min-width: 0; }
.su-ot small { color: var(--muted); font-size: 13px; }
.su-tick { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line2); display: grid; place-items: center; font-size: 12px; color: transparent; }
.su-opt.on .su-tick { background: var(--accent); border-color: var(--accent); color: #0b0d14; font-weight: 700; }
.su-daws { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 4px 4px 54px; }
.su-chip2 { background: none; border: 1px solid var(--line2); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--muted); }
.su-chip2:hover { color: var(--text); }
.su-chip2.on { border-color: var(--accent); color: var(--text); background: rgba(0, 220, 196,.12); }
.su-dawnote { display: block; padding: 6px 4px 12px 54px; border-bottom: 1px solid var(--line); font-size: 12px; }

/* step 2: Link rows */
.su-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.su-rows > li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.su-rows > li.dim b { color: var(--muted); }
.su-num { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.su-rows > li.done .su-num { background: var(--accent); border-color: var(--accent); color: #0b0d14; font-weight: 700; font-size: 0; }
.su-rows > li.done .su-num::after { content: "✓"; font-size: 12px; }
.su-act { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.su-act small { color: var(--muted); font-size: 12px; }
.su-code { display: flex; gap: 6px; }
.su-code i { font-style: normal; font: 600 26px/1 var(--mono); width: 38px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line2); border-radius: 8px; background: var(--panel2); }
.su-ok { display: flex; align-items: center; gap: 10px; }
.su-ok span:last-child { display: flex; flex-direction: column; }
.su-ok small { color: var(--muted); font-size: 12px; }
.su-okdot { width: 10px; height: 10px; border-radius: 50%; background: var(--good); flex: 0 0 auto; }
.su-okdot.off { background: var(--line2); }
.su-types { display: flex; flex-direction: column; width: 100%; }
.su-type { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.su-type:first-child { border-top: 0; }
.su-type small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.su-n { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; }

/* step 3: free packs */
.su-allrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.su-allrow small { color: var(--muted); }
.su-packs { border-top: 1px solid var(--line); }
.su-pack { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.su-pt { display: flex; flex-direction: column; min-width: 0; }
.su-pt b em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--accent); margin-left: 8px; }
.su-pt small { color: var(--muted); font-size: 12px; }
.su-pa { font-size: 13px; }
.su-done { color: var(--good); font-size: 13px; }
.su-bar { grid-column: 1 / -1; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.su-bar i { display: block; height: 100%; background: var(--accent); transition: width .4s; }
.su-bar.ind i { animation: lkind 1.4s ease-in-out infinite alternate; }
.su-perr { grid-column: 1 / -1; margin: 0; font-size: 12px; }
.su-lic { display: block; margin-top: 10px; font-size: 12px; }

/* step 4: drums */
.su-drums { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.su-chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); }
.su-chip b { color: var(--text); margin-left: 2px; }
.su-chip.ok { border-color: rgba(122,212,155,.5); color: var(--good); }
.su-acts { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.su-act { }
.su-acts .su-act { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 14px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 12px 4px; margin: 0; }
.su-acts .su-act:hover, .su-acts .su-act.on { background: rgba(0, 220, 196,.04); }
.su-aic { width: 36px; height: 36px; border-radius: 10px; background: var(--panel2); display: grid; place-items: center; color: var(--accent); }
.su-acts .su-act span:last-child { display: flex; flex-direction: column; }
.su-acts .su-act small { color: var(--muted); font-size: 12px; }
.su-lform { display: flex; gap: 8px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.su-lform input { flex: 1; min-width: 0; background: var(--panel2); border: 1px solid var(--line2); border-radius: 9px; padding: 9px 12px; color: var(--text); font: inherit; }
.su-stat { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.su-where { margin-top: 16px; }
.su-where summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.su-src { display: grid; grid-template-columns: 24px 1fr 16px; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.su-src span:nth-child(2) { display: flex; flex-direction: column; }
.su-src small { color: var(--muted); font-size: 12px; }
.su-src svg { width: 14px; height: 14px; color: var(--muted); }
.su-logo { width: 20px; height: 20px; border-radius: 5px; background: #fff; overflow: hidden; display: grid; place-items: center; }
.su-logo img { width: 100%; height: 100%; object-fit: contain; }

/* step 5: checklist */
.su-sum { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; color: var(--muted); }
.su-sum b { color: var(--text); font-size: 18px; }
.su-sum small { width: 100%; font-size: 12px; }
.su-cks { border-top: 1px solid var(--line); }
.su-ck { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.su-ckd { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 1px dashed var(--line2); color: var(--muted); }
.su-ck.ok .su-ckd { background: var(--good); border: 0; color: #0b0d14; font-weight: 700; }
.su-ck.some .su-ckd { border: 1px solid var(--accent); color: var(--accent); }
.su-ckt { display: flex; flex-direction: column; min-width: 0; }
.su-ckt small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.su-ck.missing .su-ckt b { color: var(--muted); }
.su-fix { background: none; border: 0; color: var(--accent); font-size: 13px; padding: 4px 0; text-align: right; }
.su-fix:hover { text-decoration: underline; }

/* download sheet: Open in <DAW> */
.su-open { white-space: nowrap; }
.su-openrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.su-openrow span { display: flex; flex-direction: column; min-width: 0; }
.su-openrow small { color: var(--muted); font-size: 12px; }

@media (max-width: 640px) {
  .su-top { margin-bottom: 18px; }
  .su-kick { display: none; }
  .su-dots { margin: 0 auto 0 0; }
  .su-h { font-size: 22px; }
  .su-code i { width: 34px; height: 44px; font-size: 22px; }
  .su-daws, .su-dawnote { padding-left: 4px; }
  .su-foot { position: sticky; bottom: calc(var(--nav-h, 0px) + env(safe-area-inset-bottom, 0px)); background: var(--bg); padding-bottom: 10px; }
  .su-ck { grid-template-columns: 24px minmax(0, 1fr); }
  .su-ckf { grid-column: 2; }
  .su-fix { text-align: left; }
  .su-skip { white-space: nowrap; }
  .su-foot .btn { padding: 9px 14px; white-space: nowrap; }
  .su-fr { gap: 10px; }
  .su-w { display: none; }
}
.pk-setup { color: var(--accent); font-size: 13px; align-self: flex-start; margin-top: 2px; }
#main:has(> .su) > .app-back { display: none; }   /* the setup has its own Back and close */
.su-or { margin: 18px 0 10px; color: var(--muted); font-size: 12px; }
