.task-panel {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
}

.progress-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.sound-actions,
.task-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}

.sound-actions button,
.task-actions button {
  width: 100%;
}

.progress-row {
  justify-content: space-between;
}

.scene-select-field {
  display: grid;
  gap: 6px;
}

.scene-select-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.scene-select-field select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.progress-row strong,
.progress-row span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--accent-strong);
  font-weight: 900;
}

.instruction-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.instruction-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.instruction-text {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.38;
}

.translation {
  margin: 10px 0 0;
  padding: 9px;
  border-radius: 8px;
  background: #f1f8ef;
  color: var(--ink);
  line-height: 1.45;
}

.hl {
  padding: 1px 4px;
  border-radius: 6px;
}

.hl-command {
  background: rgba(46, 111, 122, .14);
  color: var(--accent-strong);
}

.hl-object {
  background: rgba(185, 133, 44, .18);
}

.hl-preposition {
  background: rgba(173, 95, 104, .16);
  color: #753740;
}

.hl-error {
  outline: 2px solid var(--rose);
  background: #fff1f2;
}

.step-list {
  display: grid;
  gap: 6px;
}

.step-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  line-height: 1.35;
}

.step-status {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eadfce;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.step-item.is-ok .step-status {
  background: var(--green);
  color: #fff;
}

.step-item.is-bad .step-status {
  background: var(--rose);
  color: #fff;
}

.feedback {
  min-height: 44px;
  padding: 10px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  line-height: 1.42;
}

.feedback.is-ok {
  background: #f1f8ef;
  color: var(--green);
  font-weight: 800;
}

.feedback.is-bad {
  background: #fff1f2;
  color: #7b3c44;
}

.task-panel .progress-row,
.task-panel .sound-actions,
.task-panel .step-list,
.task-panel .task-actions #prevButton,
.task-panel .task-actions #skipButton {
  display: none;
}
