/* Minnesinger Learn — Vamp Exercise 1 (learn-course-vamp.js). Level tabs, instrument switch, chord charts, the vamp player, the steps and the recorder. */
.vx { max-width: 1100px; }
.vx *, .vx *::before, .vx *::after { box-sizing: border-box; }
.vx-tabs-l { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.vx-lv { flex: 1 1 120px; min-height: 46px; font: 800 16px var(--ui, system-ui); border: 2px solid #c9bfa8; background: #fff; color: #1f2350; border-radius: 12px; cursor: pointer; }
.vx-lv.on { background: #1f2350; color: #fff; border-color: #1f2350; }
.vx-seg { display: flex; gap: 8px; margin: 0 0 8px; }
.vx-in { flex: 1 1 140px; min-height: 46px; font: 800 16px var(--ui, system-ui); border: 2px solid #c9bfa8; background: #fff; color: #1f2350; border-radius: 12px; cursor: pointer; }
.vx-in[aria-pressed="true"] { background: #2f5bd3; color: #fff; border-color: #2f5bd3; }
.vx-intro { font-size: 17px; margin: 8px 0 4px; }
.vx-h { margin: 22px 0 8px; }
.vx-lead { max-width: 80ch; }
.vx .cr-tip li b, .vx .cr-tip > b ~ b { font: inherit; font-weight: 800; letter-spacing: 0; text-transform: none; margin: 0; }
.vx-chart { margin: 8px 0; }
.vx-chart h3 { margin: 18px 0 6px; }
.vx-score { margin: 8px 0; }
.vx-how { max-width: 90ch; font-size: 16px; }
.vx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 12px 0; }
.vx-card { background: #fff; border: 1px solid #ddd2bd; border-radius: 12px; padding: 10px 14px; font-size: 15px; }
.vx-card b { font-size: 16px; }
.vx-card small { color: #6b6f8d; font-weight: 700; }
.vx-card p { margin: 6px 0 0; }
.vx-f { display: inline-block; min-width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 11px; background: #1f2350; color: #fff; font: 800 13px var(--ui, system-ui); margin-right: 2px; }
.vx-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0; max-width: 560px; }
.vx-strip div { background: #fff; border: 2px solid #1f2350; border-radius: 10px; text-align: center; padding: 8px 4px; }
.vx-strip small { display: block; color: #6b6f8d; font-weight: 700; }
.vx-strip b { font: 800 20px var(--ui, system-ui); }
.vx-diagrams { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 12px 0; }
.vx-diagrams figure { margin: 0; text-align: center; }
.vx-dg svg { width: 210px; max-width: 100%; height: auto; }
.vx-diagrams figcaption { max-width: 240px; font-size: 14px; color: #3a3d5c; }
.vx-arrows { font: 800 24px var(--ui, system-ui); letter-spacing: .3em; }
.vx-pat { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; max-width: 520px; margin: 10px 0; }
.vx-pat div { background: #fff; border: 1px solid #ddd2bd; border-radius: 8px; text-align: center; padding: 4px 0; }
.vx-pat div.hit { border-color: #2f5bd3; background: #eef3ff; }
.vx-pat div.bass { border-color: #c0392b; background: #fdeeea; }
.vx-pat small { display: block; color: #6b6f8d; font-weight: 700; }
.vx-pat b { font: 800 22px var(--ui, system-ui); }
.vx-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.vx-tabs figure { margin: 0; flex: 1 1 300px; max-width: 440px; }
.vx-tab { overflow-x: auto; }
.vx-tab svg { width: 100%; min-width: 300px; height: auto; max-width: 440px; }
.vx-tabs figcaption { font-size: 14px; color: #3a3d5c; }
/* the player */
.vx-player { position: sticky; bottom: 0; z-index: 5; background: #fffdf8; border: 2px solid #1f2350; border-radius: 14px; padding: 10px 14px; margin: 14px 0; box-shadow: 0 -4px 14px rgba(31, 35, 80, .12); }
.vx-prow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.vx-play { min-height: 52px; min-width: 190px; font: 800 18px var(--ui, system-ui); border-radius: 12px; }
.vx-play.on { background: #c0392b; border-color: #c0392b; }
.vx-now { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.vx-dots { display: flex; gap: 6px; }
.vx-dots i { width: 18px; height: 18px; border-radius: 9px; background: #ddd2bd; display: block; }
.vx-dots i.on { background: #2f5bd3; transform: scale(1.25); }
.vx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vx-chip { padding: 5px 10px; border-radius: 9px; border: 2px solid #c9bfa8; background: #fff; font: 800 15px var(--ui, system-ui); }
.vx-chip.on { background: #1f2350; border-color: #1f2350; color: #fff; }
.vx-opts { margin-top: 6px; font-size: 15px; }
.vx-bpm { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vx-bpm input[type=range] { width: 180px; max-width: 46vw; height: 32px; }
.vx-chk { display: flex; align-items: center; gap: 6px; }
.vx-chk input { width: 22px; height: 22px; }
.vx-status { margin: 6px 0 0; min-height: 1.3em; color: #3a3d5c; font-size: 14.5px; }
/* the steps */
.vx-rmode { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #ddd2bd; border-radius: 12px; padding: 10px 14px; margin: 10px 0; max-width: 80ch; font-size: 15px; }
.vx-rmode label { display: flex; gap: 8px; align-items: flex-start; }
.vx-rmode input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.vx-steps { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 12px; }
.vx-step { display: grid; grid-template-columns: auto 1fr; gap: 12px; background: #fff; border: 1px solid #ddd2bd; border-radius: 14px; padding: 12px 14px; }
.vx-step h3 { margin: 0 0 4px; font-size: 18px; }
.vx-step p { margin: 4px 0; max-width: 80ch; }
.vx-done { display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 800; color: #1f2350; }
.vx-done input { width: 26px; height: 26px; }
.vx-fl { display: block; margin: 8px 0; font-weight: 700; }
.vx-fl input, .vx-fl textarea { display: block; width: 100%; max-width: 560px; font: 600 18px var(--ui, system-ui); padding: 10px 12px; border: 2px solid #c9bfa8; border-radius: 10px; margin-top: 4px; }
.vx-count { color: #545a7d; font-size: 14px; min-height: 1.3em; }
.vx-rec { margin-top: 8px; padding: 10px; border: 1px dashed #c9bfa8; border-radius: 12px; background: #fffdf8; }
.vx-rec.recording { border: 2px solid #c0392b; background: #fdeeea; }
.vx-rbtns { display: flex; gap: 10px; flex-wrap: wrap; }
.vx-rbtn { min-height: 52px; min-width: 170px; font: 800 17px var(--ui, system-ui); border-radius: 12px; }
.vx-rec.recording [data-act="stop"] { background: #c0392b; color: #fff; border-color: #c0392b; }
.vx-rstat { margin: 8px 0 4px; font-size: 14.5px; color: #3a3d5c; }
.vx-take { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.vx-take audio { width: 100%; max-width: 420px; }
.vx-dl { min-height: 44px; display: inline-flex; align-items: center; }
.vx-chal { background: #fff6dc; border-left: 4px solid #b07a00; border-radius: 12px; padding: 12px 16px; margin: 14px 0; max-width: 80ch; }
.vx-chal b { margin-right: 8px; }
.vx-printrow { margin: 16px 0; }
.vx-printonly { display: none; }
@media (max-width: 600px) {
  .vx-player { padding: 8px 10px; }
  .vx-play { width: 100%; }
  .vx-step { grid-template-columns: 1fr; }
  .vx-done { flex-direction: row; }
  .vx-rbtn { width: 100%; }
  .vx-dg svg { width: 170px; }
}
@media print {
  body.learn .ls-bar, body.learn .topbar, body.learn #lnSide, body.learn .ln-side, body.learn .cr-pager, body.learn .cr-drills, body.learn #practice, body.learn .ln-crumb { display: none !important; }
  .vx-player, .vx-rmode, .vx-tabs-l, .vx-seg, .vx-rec, .vx-printrow, .vx-tips, .vx-count, .vx-fl, .cs-btns, .cs-modebar, .cs-kbhint, .vx-done input { display: none !important; }
  .vx-printonly { display: block !important; margin: 14px 0; font-size: 16px; line-height: 2; }
  .vx-step { break-inside: avoid; border-color: #000; }
  .vx-score .cs-kb { display: none; }
}
