#copy-editor-toolbar {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: var(--ink);
  border-radius: 2rem;
  padding: 0.5rem 0.75rem;
  box-shadow: 0 4px 16px rgba(6, 9, 32, 0.25);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.8rem;
}

#copy-editor-toolbar button {
  border: none;
  border-radius: 1.5rem;
  padding: 0.35rem 0.85rem;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

#copy-editor-toggle {
  background: transparent;
  color: #fff;
}

#copy-editor-toggle:hover {
  opacity: 0.75;
}

#copy-editor-toggle.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

#copy-editor-download {
  background: var(--royal);
  color: #fff;
}

#copy-editor-download:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.35);
  cursor: default;
}

#copy-editor-download:not(:disabled):hover {
  opacity: 0.85;
}

.copy-editable--active {
  outline: 2px dashed var(--royal);
  outline-offset: 3px;
  border-radius: 2px;
  cursor: text;
}

.copy-edit-mode .copy-editable--active:focus {
  outline-color: var(--aqua);
  background: rgba(57, 94, 229, 0.05);
}
