/* Theory multimedia V5 — multimodal concept labs */

.mm-lab-v5{
  margin-top:18px;
  overflow:hidden;
  border:1px solid rgba(217,210,200,.82);
  border-radius:26px;
  background:rgba(255,253,248,.96);
  box-shadow:0 14px 34px rgba(40,34,28,.06);
}
.mm-lab-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:20px;
  align-items:center;
  padding:22px 24px 18px;
  border-bottom:1px solid var(--border);
  background:
    radial-gradient(circle at 90% 0%,rgba(81,86,216,.09),transparent 24rem),
    linear-gradient(135deg,#fffdf8,#faf8ff);
}
.mm-lab-head .eyebrow{margin:0 0 5px;color:var(--accent-strong)}
.mm-lab-head h2{margin:0 0 6px;font-size:clamp(21px,2.4vw,30px)}
.mm-lab-head p{margin:0;max-width:680px;color:var(--muted);font-size:13px}
.mm-score{
  min-width:118px;
  padding:12px 13px;
  border:1px solid var(--border);
  border-radius:15px;
  background:#fff;
  text-align:center;
}
.mm-score strong{display:block;font-size:23px}
.mm-score span{display:block;margin-top:2px;color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}
.mm-score.mastered{
  border-color:#9fd7b3;
  background:var(--good-soft);
  color:var(--good);
}

.mm-tabs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  background:#f0ece5;
  border-bottom:1px solid var(--border);
}
.mm-tabs button{
  min-height:48px;
  padding:10px 12px;
  border:0;
  border-right:1px solid rgba(217,210,200,.8);
  background:transparent;
  color:var(--muted);
  font-size:11px;
  font-weight:850;
}
.mm-tabs button:last-child{border-right:0}
.mm-tabs button.active{
  background:#1f1d1a;
  color:#fff;
}

.mm-stage{
  min-height:300px;
  padding:26px;
  background:
    linear-gradient(rgba(81,86,216,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(81,86,216,.025) 1px,transparent 1px),
    #fcfaf5;
  background-size:22px 22px;
}

.mm-concept-map{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;
  gap:9px;
  align-items:center;
  max-width:960px;
  margin:26px auto;
}
.mm-concept-node{
  min-height:148px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:16px;
  border:1px solid var(--border);
  border-radius:18px;
  background:#fff;
  text-align:center;
  box-shadow:0 8px 20px rgba(40,34,28,.04);
}
.mm-concept-node small{
  display:grid;
  place-items:center;
  width:28px;height:28px;
  margin:0 auto 10px;
  border-radius:9px;
  background:var(--accent-soft);
  color:var(--accent-strong);
  font-size:9px;
  font-weight:900;
}
.mm-concept-node strong{font-size:16px}
.mm-concept-node span{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.45}
.mm-concept-map>i{font-style:normal;color:#9992ca;font-size:20px}
.mm-observe{
  max-width:760px;
  margin:18px auto 0;
  padding:14px 16px;
  border-left:4px solid var(--accent-warm);
  border-radius:0 13px 13px 0;
  background:var(--accent-warm-soft);
}
.mm-observe strong{display:block;margin-bottom:4px;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.mm-observe p{margin:0;color:#5b4628;font-size:13px}

.mm-hear-intro{
  max-width:760px;
  margin:0 auto 20px;
  text-align:center;
}
.mm-hear-intro strong,.mm-hear-intro span{display:block}
.mm-hear-intro strong{font-size:19px}
.mm-hear-intro span{margin-top:5px;color:var(--muted);font-size:12px}
.mm-hear-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
  gap:9px;
  max-width:920px;
  margin:0 auto;
}
.mm-hear-grid button{
  min-height:118px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:13px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  color:var(--text);
  box-shadow:0 8px 20px rgba(40,34,28,.04);
}
.mm-hear-grid button:hover{border-color:#aeb1ff;background:#fbfbff;transform:translateY(-1px)}
.mm-hear-grid button>span{
  width:34px;height:34px;
  display:grid;place-items:center;
  margin-bottom:8px;
  border-radius:50%;
  background:var(--accent);
  color:#fff;
  font-size:12px;
}
.mm-hear-grid button strong{font-size:13px}
.mm-hear-grid button small{margin-top:4px;color:var(--muted)}
.mm-hear-note{
  max-width:760px;
  margin:16px auto 0;
  padding:11px 13px;
  border-radius:12px;
  background:#ede9e2;
  color:#5e5850;
  text-align:center;
  font-size:11px;
}
.mm-empty-state{
  max-width:680px;
  margin:40px auto;
  padding:22px;
  border-radius:17px;
  background:#fff;
  border:1px solid var(--border);
  text-align:center;
}
.mm-empty-state strong{display:block;font-size:17px}
.mm-empty-state p{margin:8px 0 0;color:var(--muted);font-size:13px}

.mm-exp-head{
  display:grid;
  grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr);
  gap:20px;
  align-items:end;
  max-width:920px;
  margin:0 auto 18px;
}
.mm-exp-head span{
  color:var(--accent-strong);
  font-size:9px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.mm-exp-head h3{margin:3px 0 0;font-size:22px}
.mm-exp-head p{margin:0;color:var(--muted);font-size:13px}
.mm-exp-body{
  max-width:920px;
  margin:0 auto;
  padding:20px;
  border:1px solid var(--border);
  border-radius:19px;
  background:rgba(255,255,255,.87);
  box-shadow:0 10px 24px rgba(40,34,28,.04);
}
.mm-exp-body button:not(.primary-btn):not(.secondary-btn){
  min-height:42px;
}

.mm-frequency-exp input[type=range],
.mm-exp-body>input[type=range]{
  width:100%;
}
.mm-frequency-readout{
  display:flex;
  justify-content:center;
  gap:10px;
  align-items:baseline;
  margin:12px 0;
}
.mm-frequency-readout strong{font-size:28px}
.mm-frequency-readout span{color:var(--muted);font-size:12px}
.mm-frequency-bars{
  display:grid;
  gap:7px;
  max-width:640px;
  margin:12px auto 16px;
}
.mm-frequency-bars i{
  display:block;
  height:16px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--accent),#979bf5);
  transition:width .18s ease;
}
.mm-frequency-bars i:last-child{background:linear-gradient(90deg,var(--accent-warm),#f1c177)}

.mm-target{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.mm-target span{color:var(--muted)}
.mm-target strong{
  padding:7px 11px;
  border-radius:10px;
  background:var(--accent-soft);
  color:var(--accent-strong);
  font-size:21px;
}
.mm-pitch-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:5px;
  margin:8px 0 14px;
}
.mm-pitch-grid button{
  min-width:0;
  padding:8px 3px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
}
.mm-pitch-grid button:nth-child(2),
.mm-pitch-grid button:nth-child(4),
.mm-pitch-grid button:nth-child(7),
.mm-pitch-grid button:nth-child(9),
.mm-pitch-grid button:nth-child(11){
  background:#282623;
  color:#fff;
  border-color:#282623;
}
.mm-pitch-grid button.selected{
  background:var(--accent)!important;
  color:#fff!important;
  border-color:var(--accent)!important;
}
.mm-pitch-grid strong,.mm-pitch-grid small{display:block}
.mm-pitch-grid strong{font-size:9px}
.mm-pitch-grid small{margin-top:2px;font-size:8px;opacity:.68}

.mm-exp-feedback{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:10px;
  padding:9px 12px;
  border-radius:11px;
  background:#efebe4;
  color:var(--muted);
  text-align:center;
  font-size:12px;
}
.mm-exp-feedback.ok{background:var(--good-soft);color:var(--good)}
.mm-exp-feedback.bad{background:#fff0ed;color:var(--danger)}

.mm-control-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  max-width:620px;
  margin:0 auto 15px;
}
.mm-control-pair label,.mm-single-control{
  display:block;
  color:var(--muted);
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.mm-control-pair select,.mm-control-pair input,.mm-single-control select{
  display:block;
  width:100%;
  margin-top:5px;
}
.mm-single-control{
  max-width:360px;
  margin:0 auto 16px;
}
.mm-interval-display{
  max-width:650px;
  margin:0 auto 16px;
  text-align:center;
}
.mm-interval-display>strong{display:block;font-size:24px}
.mm-interval-display>span{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.mm-interval-display>div{
  display:flex;
  gap:4px;
  margin-top:11px;
}
.mm-interval-display i{
  flex:1;
  height:8px;
  border-radius:999px;
  background:#ddd7ce;
}
.mm-interval-display i.on{background:var(--accent)}
.mm-scale-chips{
  display:flex;
  gap:5px;
  justify-content:center;
  flex-wrap:wrap;
  margin:16px 0;
}
.mm-scale-chips span{
  min-width:68px;
  padding:9px;
  border:1px solid var(--border);
  border-radius:11px;
  background:#fff;
  text-align:center;
}
.mm-scale-chips small,.mm-scale-chips strong{display:block}
.mm-scale-chips small{color:var(--muted)}

.mm-tap-display{
  max-width:600px;
  margin:0 auto 16px;
  padding:18px;
  border-radius:15px;
  background:#1f1d1a;
  color:#fff;
  text-align:center;
}
.mm-tap-display strong,.mm-tap-display span{display:block}
.mm-tap-display strong{font-size:19px}
.mm-tap-display span{margin-top:5px;color:#bcb5ab;font-size:11px}

.mm-meter-compare,.mm-cadence-compare,.mm-form-choice,.mm-expression-buttons{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  max-width:700px;
  margin:0 auto 14px;
}
.mm-meter-compare button,.mm-cadence-compare button,.mm-form-choice button,.mm-expression-buttons button{
  min-height:110px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:15px;
  background:#fff;
  color:var(--text);
}
.mm-meter-compare strong,.mm-meter-compare span,
.mm-cadence-compare strong,.mm-cadence-compare span,
.mm-form-choice strong,.mm-form-choice span,
.mm-expression-buttons strong,.mm-expression-buttons span{
  display:block;
}
.mm-meter-compare strong,.mm-cadence-compare strong,.mm-form-choice strong,.mm-expression-buttons strong{font-size:19px}
.mm-meter-compare span,.mm-cadence-compare span,.mm-form-choice span,.mm-expression-buttons span{margin-top:4px;color:var(--muted);font-size:11px}

.mm-mini-staff{
  max-width:620px;
  margin:10px auto 18px;
  padding:18px 20px;
  border:1px solid var(--border);
  border-radius:15px;
  background:#fff;
}
.mm-mini-staff svg{
  display:block;
  width:100%;
  height:auto;
}
.mm-mini-staff .staff-line,
.mm-mini-staff .ledger,
.mm-mini-staff .staff-stem{
  stroke:#4b4843;
  stroke-width:1.2;
}
.mm-mini-staff .staff-stem{stroke-width:2}
.mm-mini-staff .mm-staff-note ellipse{fill:var(--accent)}
.mm-mini-staff .staff-accidental{fill:var(--accent)}
.mm-note-choices{
  display:flex;
  gap:6px;
  justify-content:center;
  flex-wrap:wrap;
}
.mm-note-choices button{
  min-width:52px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  font-weight:800;
}

.mm-key-signature{
  max-width:560px;
  margin:0 auto;
  padding:20px;
  border-radius:16px;
  background:#1f1d1a;
  color:#fff;
  text-align:center;
}
.mm-key-signature strong,.mm-key-signature span{display:block}
.mm-key-signature strong{font-size:22px}
.mm-key-signature span{margin-top:4px;color:#bdb6ad}

.mm-expression-buttons{grid-template-columns:repeat(3,1fr)}
.mm-envelope{
  display:flex;
  gap:4px;
  align-items:flex-end;
  justify-content:center;
  min-height:80px;
  margin:18px 0 0;
}
.mm-envelope i{
  width:18px;
  height:var(--h);
  border-radius:6px 6px 2px 2px;
  background:#bbb6ae;
  transition:.25s;
}
.mm-envelope[data-mode="legato"] i{background:#6d72e6}
.mm-envelope[data-mode="staccato"] i:nth-child(odd){height:18px;background:#d98b2b}
.mm-envelope[data-mode="crescendo"] i{background:#6d72e6}
.mm-envelope[data-mode="crescendo"] i:nth-child(1){height:16px}
.mm-envelope[data-mode="crescendo"] i:nth-child(2){height:20px}
.mm-envelope[data-mode="crescendo"] i:nth-child(3){height:24px}
.mm-envelope[data-mode="crescendo"] i:nth-child(4){height:28px}
.mm-envelope[data-mode="crescendo"] i:nth-child(5){height:32px}
.mm-envelope[data-mode="crescendo"] i:nth-child(6){height:36px}
.mm-envelope[data-mode="crescendo"] i:nth-child(7){height:40px}
.mm-envelope[data-mode="crescendo"] i:nth-child(8){height:44px}
.mm-envelope[data-mode="crescendo"] i:nth-child(9){height:48px}
.mm-envelope[data-mode="crescendo"] i:nth-child(10){height:52px}
.mm-envelope[data-mode="crescendo"] i:nth-child(11){height:56px}
.mm-envelope[data-mode="crescendo"] i:nth-child(12){height:60px}
.mm-envelope[data-mode="crescendo"] i:nth-child(13){height:64px}
.mm-envelope[data-mode="crescendo"] i:nth-child(14){height:68px}
.mm-envelope[data-mode="crescendo"] i:nth-child(15){height:72px}
.mm-envelope[data-mode="crescendo"] i:nth-child(16){height:76px}

.mm-direction-choices{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  max-width:560px;
  margin:14px auto;
}
.mm-direction-choices button{
  min-height:70px;
  border:1px solid var(--border);
  border-radius:13px;
  background:#fff;
  font-size:14px;
  font-weight:850;
}

.mm-midi-readout{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  max-width:680px;
  margin:15px auto;
}
.mm-midi-readout div{
  padding:13px;
  border:1px solid var(--border);
  border-radius:13px;
  background:#fff;
  text-align:center;
}
.mm-midi-readout small,.mm-midi-readout strong{display:block}
.mm-midi-readout small{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}
.mm-midi-readout strong{margin-top:3px;font-size:18px}

.mm-form-timeline{
  display:flex;
  gap:8px;
  max-width:680px;
  margin:18px auto 0;
}
.mm-form-timeline span{
  flex:1;
  min-height:64px;
  display:grid;
  place-items:center;
  border-radius:13px;
  font-size:22px;
  font-weight:900;
}
.mm-form-timeline .A{background:var(--accent);color:#fff}
.mm-form-timeline .B{background:var(--accent-warm);color:#3d2a14}

.mm-diagnosis{
  max-width:760px;
  margin:0 auto;
}
.mm-diagnosis>strong{
  display:block;
  margin-bottom:14px;
  font-size:18px;
  text-align:center;
}
.mm-diagnosis>div{
  display:grid;
  gap:7px;
}
.mm-diagnosis button{
  padding:11px 13px;
  border:1px solid var(--border);
  border-radius:11px;
  background:#fff;
  text-align:left;
}
.mm-diagnosis p{
  padding:11px 13px;
  border-radius:11px;
  background:#efebe4;
  color:var(--muted);
  font-size:12px;
}
.mm-diagnosis p.ok{background:var(--good-soft);color:var(--good)}
.mm-diagnosis p.bad{background:#fff0ed;color:var(--danger)}

.mm-quiz-progress{
  display:flex;
  gap:12px;
  align-items:center;
  max-width:760px;
  margin:0 auto 14px;
}
.mm-quiz-progress span{
  min-width:90px;
  color:var(--muted);
  font-size:10px;
  font-weight:850;
}
.mm-quiz-progress i{
  flex:1;
  height:7px;
  overflow:hidden;
  border-radius:999px;
  background:#ddd7cf;
}
.mm-quiz-progress b{
  display:block;
  height:100%;
  border-radius:inherit;
  background:var(--accent);
  transition:width .25s ease;
}
.mm-quiz-card{
  max-width:760px;
  margin:0 auto;
  padding:22px;
  border:1px solid var(--border);
  border-radius:18px;
  background:#fff;
}
.mm-quiz-card h3{
  margin:0 0 16px;
  font-family:ui-serif,Georgia,serif;
  font-size:23px;
  line-height:1.2;
}
.mm-quiz-choices{
  display:grid;
  gap:7px;
}
.mm-quiz-choices button{
  min-height:48px;
  padding:10px 13px;
  border:1px solid var(--border);
  border-radius:11px;
  background:#fff;
  text-align:left;
  color:var(--text);
}
.mm-quiz-choices button:hover:not(:disabled){border-color:#a8abf2;background:#fbfbff}
.mm-quiz-choices button.correct{
  border-color:#78bf92;
  background:var(--good-soft);
  color:var(--good);
}
.mm-quiz-choices button.wrong{
  border-color:#e3a097;
  background:#fff0ed;
  color:var(--danger);
}
.mm-quiz-feedback{
  min-height:54px;
  margin:12px 0;
  padding:11px 13px;
  border-radius:11px;
  background:#f1ede6;
  color:var(--muted);
  font-size:12px;
}
.mm-quiz-feedback strong,.mm-quiz-feedback span{display:block}
.mm-quiz-feedback strong{color:var(--text);margin-bottom:3px}
.mm-quiz-result{
  max-width:650px;
  margin:18px auto;
  text-align:center;
}
.mm-quiz-result>span{
  width:58px;height:58px;
  display:grid;place-items:center;
  margin:0 auto 8px;
  border-radius:50%;
  background:#ece7df;
  font-size:25px;
}
.mm-quiz-result>strong{
  display:block;
  font-size:42px;
}
.mm-quiz-result h3{margin:6px 0;font-size:20px}
.mm-quiz-result p{color:var(--muted);font-size:12px}
.mm-quiz-result.mastered>span{background:var(--good-soft);color:var(--good)}

.mm-deep-v5{
  max-width:1050px;
  margin:10px auto 30px;
  padding:28px;
  border:1px solid rgba(217,210,200,.75);
  border-radius:24px;
  background:linear-gradient(145deg,#fffdf8,#f8f6f1);
  box-shadow:0 12px 28px rgba(40,34,28,.05);
}
.mm-deep-head{
  max-width:760px;
  margin:0 auto 22px;
}
.mm-deep-head .eyebrow{margin:0;color:var(--accent-strong)}
.mm-deep-head h2{
  margin:4px 0 0;
  font-family:ui-serif,Georgia,Cambria,"Times New Roman",serif;
  font-size:clamp(26px,3vw,38px);
  font-weight:650;
  line-height:1.12;
}
.mm-deep-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  max-width:900px;
  margin:0 auto;
}
.mm-deep-grid article{
  padding-top:14px;
  border-top:2px solid var(--accent-soft);
}
.mm-deep-grid h3{
  margin:0 0 10px;
  font-size:18px;
}
.mm-deep-grid p{
  margin:0 0 13px;
  font-size:15px;
  line-height:1.75;
}
.mm-teachback{
  max-width:900px;
  margin:18px auto 0;
  padding:18px;
  border-radius:16px;
  background:#1f1d1a;
  color:#fff;
}
.mm-teachback>span{
  color:#aeb1ff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.mm-teachback>p{
  margin:5px 0 12px;
  color:#eee9e2;
  font-size:14px;
}
.mm-teachback button{
  min-height:42px;
  padding:8px 11px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:10px;
  background:rgba(255,255,255,.07);
  color:#fff;
  font-size:11px;
}
.mm-teachback-hint{
  margin-top:10px;
  padding:10px 12px;
  border-radius:10px;
  background:rgba(142,147,255,.14);
  color:#d9daff;
  font-size:11px;
  line-height:1.55;
}

.atlas-nav-item{position:relative}
.mm-nav-badge{
  position:absolute;
  top:8px;
  right:8px;
  min-width:20px;
  height:20px;
  display:grid;
  place-items:center;
  padding:0 4px;
  border-radius:999px;
  background:rgba(255,255,255,.09);
  color:#a9a4ff;
  font-size:8px;
  font-weight:900;
}
.atlas-nav-item.active .mm-nav-badge{
  background:var(--accent-soft);
  color:var(--accent-strong);
}
.atlas-nav-item.mm-mastered:not(.active) .mm-nav-badge{
  background:rgba(65,170,102,.16);
  color:#8ddeaa;
}

@media (max-width:1000px){
  .mm-concept-map{
    grid-template-columns:1fr auto 1fr;
  }
  .mm-concept-map .mm-concept-node:nth-of-type(3){grid-column:1}
  .mm-concept-map>i:nth-of-type(2){display:none}
  .mm-concept-map .mm-concept-node:nth-of-type(4){grid-column:3}
  .mm-pitch-grid{grid-template-columns:repeat(6,1fr)}
}
@media (max-width:760px){
  .mm-lab-v5{border-radius:18px;margin-top:10px}
  .mm-lab-head{
    grid-template-columns:1fr auto;
    padding:17px 14px 14px;
  }
  .mm-lab-head h2{font-size:20px}
  .mm-lab-head p{font-size:11px}
  .mm-score{min-width:76px;padding:8px}
  .mm-score strong{font-size:18px}
  .mm-score span{font-size:7px}
  .mm-tabs{
    display:flex;
    overflow-x:auto;
  }
  .mm-tabs button{
    min-width:128px;
    flex:1 0 auto;
    min-height:46px;
  }
  .mm-stage{min-height:260px;padding:16px 12px}
  .mm-concept-map{
    grid-template-columns:1fr;
    max-width:520px;
    margin:10px auto;
  }
  .mm-concept-map>i{transform:rotate(90deg);text-align:center}
  .mm-concept-map .mm-concept-node:nth-of-type(3),
  .mm-concept-map .mm-concept-node:nth-of-type(4){grid-column:auto}
  .mm-concept-map>i:nth-of-type(2){display:block}
  .mm-concept-node{min-height:100px}
  .mm-exp-head{
    grid-template-columns:1fr;
    gap:6px;
  }
  .mm-exp-body{padding:14px 10px}
  .mm-pitch-grid{grid-template-columns:repeat(6,1fr)}
  .mm-control-pair{grid-template-columns:1fr}
  .mm-meter-compare,.mm-cadence-compare,.mm-form-choice{grid-template-columns:1fr}
  .mm-expression-buttons{grid-template-columns:1fr}
  .mm-direction-choices{grid-template-columns:1fr 1fr 1fr}
  .mm-midi-readout{grid-template-columns:1fr}
  .mm-deep-v5{
    margin:8px 0 22px;
    padding:20px 15px;
    border-radius:18px;
  }
  .mm-deep-grid{grid-template-columns:1fr;gap:14px}
  .mm-deep-grid p{font-size:14px}
  .mm-quiz-card{padding:16px}
  .mm-quiz-card h3{font-size:20px}
}
@media (max-width:430px){
  .mm-lab-head{
    grid-template-columns:1fr;
  }
  .mm-score{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
  }
  .mm-score strong{display:inline}
  .mm-score span{display:inline;margin:0}
  .mm-pitch-grid{grid-template-columns:repeat(4,1fr)}
  .mm-direction-choices{grid-template-columns:1fr}
  .mm-hear-grid{grid-template-columns:1fr 1fr}
}
@media (prefers-reduced-motion:reduce){
  .mm-frequency-bars i,.mm-quiz-progress b{transition:none!important}
}
