.observer-review {
  padding-bottom: 140px;
}

.observer-review [contenteditable] {
  cursor: text;
  caret-color: currentColor;
  border-radius: 2px;
}

.observer-review [contenteditable]:focus {
  outline: 2px dashed #8b6634;
  outline-offset: 5px;
}

.observer-review .review-restored {
  white-space: pre-line;
}

.observer-review .reveal {
  opacity: 1 !important;
  transform: none !important;
}

.observer-review .kinetic-word {
  opacity: 1 !important;
}

.review-toolbar {
  position: fixed;
  z-index: 200;
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px;
  border: 1px solid #b6b7bd;
  border-radius: 6px;
  background: #f7f7f9;
  color: #202126;
  box-shadow: 0 4px 24px #0002;
  font: 400 13px/1.4 Onest, sans-serif;
}

.review-status {
  margin: 0 0 8px;
}

.review-commands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.review-commands button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #b6b7bd;
  border-radius: 4px;
  background: white;
  color: #202126;
  font: 500 13px/1.25 Onest, sans-serif;
  cursor: pointer;
}

.review-commands button:hover,
.review-commands button:focus-visible {
  background: #eeeef3;
  outline: 2px solid #8b6634;
  outline-offset: 1px;
}

.review-commands img {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

@media (max-width: 480px) {
  .review-toolbar {
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: calc(100% - 16px);
    padding: 10px;
  }

  .review-commands button {
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
  }
}
