/* 伴奏升降调: one card with three steps, on the library's tokens (../style.css) */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-top: 10px;
  display: grid; gap: 20px; }
.step h2, .result h2 { margin: 0 0 10px; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; }
.note { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.note.warn { color: var(--old); }
.error { margin: 10px 0 0; padding: 8px 12px; border-radius: 8px; background: var(--accent-soft); font-size: 14px; }

/* the whole box is the file picker; a file can also be dropped on it */
.drop { display: block; border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 22px 14px; text-align: center;
  cursor: pointer; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop:focus-within { border-color: var(--accent); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.picked { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }

select { width: 100%; max-width: 260px; font: inherit; font-size: 16px; padding: 9px 10px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
select:focus { border-color: var(--accent); outline: 0; }

.go.start, .go.download { display: inline-block; padding: 10px 22px; text-decoration: none; }
.go:disabled { opacity: .45; cursor: default; }
.go:disabled:active { transform: none; }

.progress { margin-top: 12px; }
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s linear; }
#status { font-variant-numeric: tabular-nums; }

.result { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 12px; justify-items: start; }
.result h2 { margin: 0; }
.result audio { width: 100%; }

main .help { text-align: left; margin-top: 16px; }
main .help ol { margin-left: 0; }
.license { margin: 0 auto; max-width: 40em; line-height: 1.7; text-align: center; }
