/* demo-only styles for / (Live Demo). Everything the Web Admin has is in
   features/LiveDemo/LiveDemo.module.css (verbatim copy — never edit it here);
   this file holds only what the demo adds, on kebab-case classes. */

/* Sentence mode (Local recognizer): the line above the chips that says words are
   being collected, with the จบประโยค button; a pause ends the sentence too. */
.sentence-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgb(13 148 136 / 8%);
  color: var(--color-primary);
  font-size: 13px;
  line-height: 1.4;
}

.sentence-status.is-collecting {
  background: rgb(243 183 2 / 12%);
  color: #92400e;
  font-weight: 500;
}

.sentence-status .sentence-end {
  flex: none;
  padding: 2px 10px;
  font-size: 12px;
}

/* The provisional translation of the sentence being signed: redone as words land,
   replaced by the final one when the sentence ends. */
#label.is-provisional {
  color: var(--color-text-muted, #6b7280);
  text-decoration: underline dashed;
  text-underline-offset: 3px;
}

.provisional-tag {
  flex: none;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgb(243 183 2 / 18%);
  color: #92400e;
  font-size: 11px;
  white-space: nowrap;
}

/* Sentence take (settings): gloss + signer + one start/stop button on a row. */
.sentence-take-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0;
}

.sentence-take-row input {
  flex: 1 1 160px;
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
}

.sentence-take-row .primaryBtn {
  flex: none;
}

.sentence-take-row .primaryBtn.is-recording {
  background: #b91c1c;
}
