/* Papyrus Review-text UI — текст-расшифровщик
 * Расширяет /review-static/style.css. Базовые токены, шапка, кнопки оттуда.
 */

.text-area-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.textarea-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.textarea-meta .hint {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: italic;
  color: var(--text-soft);
}

#text-input {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 17px;
  line-height: 1.4;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  resize: vertical;
  min-height: 90px;
  font-family: inherit;
  transition: border-color 140ms, box-shadow 140ms;
}
#text-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
#text-input.prefill {
  background: var(--accent-soft);
}

.action-row .submit-btn.primary {
  background: var(--gradient-accent);
  color: #fff;
  border: 0;
}
.action-row .submit-btn.primary:hover {
  background: var(--gradient-accent);
  filter: brightness(1.06);
}
.action-row .submit-btn.primary kbd {
  background: rgba(255,255,255,0.22);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

/* В text-UI не нужны кнопки "Сложный кейс" и "Вся страница" — спрячем
   если вдруг shared CSS их где-то вытащит. */
.value-buttons-vertical { display: none !important; }
