/* Dictation V2 */

.dictation-v2-card{grid-column:1/-1}
.dictation-layout{
  display:grid;
  grid-template-columns:minmax(230px,.72fr) minmax(0,1.28fr);
  gap:16px;
  margin-top:12px;
}
.dictation-controls{
  display:grid;
  gap:10px;
  align-content:start;
}
.dictation-controls label{
  color:var(--muted);
  font-size:10px;
  font-weight:850;
}
.dictation-controls select{
  display:block;
  width:100%;
  margin-top:5px;
}
.dictation-help{
  margin:0;
  padding:10px 12px;
  border-radius:12px;
  background:var(--panel-soft);
  color:var(--muted);
  font-size:10px;
  line-height:1.5;
}
.dictation-adaptive-status{
  margin:0;
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  color:var(--accent-strong);
  font-size:9px;
  font-weight:850;
}
.dictation-adaptive-status[hidden]{display:none}
.dictation-work{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:10px;
  min-width:0;
  max-width:100%;
}
.dictation-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
}
.dictation-stats span{
  padding:9px 10px;
  border:1px solid var(--border);
  border-radius:11px;
  background:#fff;
}
.dictation-stats small,.dictation-stats strong{display:block}
.dictation-stats small{
  color:var(--muted);
  font-size:8px;
  text-transform:uppercase;
  font-weight:850;
}
.dictation-stats strong{margin-top:3px;font-size:14px}
.dictation-palette-title{
  margin:2px 0 -4px;
  color:var(--muted);
  font-size:8px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.dictation-duration-choices,
.dictation-note-choices,
.dictation-harmony-choices{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.dictation-duration-choices[hidden],
.dictation-note-choices[hidden],
.dictation-harmony-choices[hidden]{display:none}
.dictation-duration-choices button,
.dictation-note-choices button,
.dictation-harmony-choices button{
  min-width:58px;
  min-height:42px;
  padding:7px 8px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  color:var(--text);
}
.dictation-duration-choices button.active{
  border-color:var(--accent);
  background:var(--accent-soft);
}
.dictation-duration-choices strong,
.dictation-duration-choices small,
.dictation-note-choices strong,
.dictation-note-choices small,
.dictation-harmony-choices strong,
.dictation-harmony-choices small{display:block}
.dictation-duration-choices small,
.dictation-note-choices small,
.dictation-harmony-choices small{color:var(--muted);font-size:8px}
.dictation-harmony-choices button{
  flex:1 1 150px;
  min-width:130px;
  max-width:220px;
  text-align:left;
}
.dictation-harmony-choices strong{
  font-size:9px;
  line-height:1.25;
}
.dictation-answer{
  display:flex;
  gap:6px;
  min-height:72px;
  padding:10px;
  overflow-x:auto;
  border:1px dashed #c9c1b7;
  border-radius:13px;
  background:#fbfaf7;
  align-items:center;
}
.dictation-empty{
  color:var(--muted);
  font-size:10px;
}
.dictation-answer-event{
  flex:0 0 auto;
  min-width:58px;
  padding:7px 9px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  text-align:center;
}
.dictation-answer-event>b,
.dictation-answer-event>strong,
.dictation-answer-event>small{display:block}
.dictation-answer-event>b{
  color:var(--muted);
  font-size:7px;
}
.dictation-answer-event>strong{font-size:11px}
.dictation-answer-event>small{
  margin-top:2px;
  color:var(--accent-strong);
  font-size:8px;
}
.dictation-reveal{
  min-width:0;
  max-width:100%;
  overflow:hidden;
  padding:12px;
  border:1px solid var(--border);
  border-radius:13px;
  background:#fff;
}
.dictation-reveal[hidden]{display:none}
.dictation-reveal>strong{font-size:11px}
.dictation-reveal>p{
  color:var(--muted);
  font-size:9px;
}
.dictation-score-wrap{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
}
.dictation-score-wrap svg{
  display:block;
  min-width:620px;
  max-width:100%;
  margin:0 auto;
}
@media(max-width:1000px){
  .dictation-layout{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:760px){
  .dictation-v2-card,
  .dictation-layout,
  .dictation-controls,
  .dictation-work,
  .dictation-reveal{min-width:0;max-width:100%}
  .dictation-harmony-choices{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .dictation-harmony-choices[hidden]{display:none}
  .dictation-harmony-choices button{
    min-width:0;
    max-width:none;
    width:100%;
  }
}
@media(max-width:480px){
  .dictation-harmony-choices{grid-template-columns:1fr}
}
