/* Only the two manual-editor entry buttons; quick mode keeps its current layout. */
#manualAddTextButton[hidden] { display: none !important; }
body[data-editor-mode="manual"] #uploadCard.photo-upload-entry {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 8px;
}
body[data-editor-mode="manual"] #uploadCard > #uploadButton,
body[data-editor-mode="manual"] #uploadCard > #manualAddTextButton {
  grid-column: auto;
  grid-row: 1;
  min-width: 0;
  min-height: 48px;
  white-space: normal;
  line-height: 1.3;
  font-size: 14px;
}
body[data-editor-mode="manual"] #uploadCard > #photoPickerNote,
body[data-editor-mode="manual"] #uploadCard > #uploadNote { grid-column: 1 / -1; }
body[data-editor-mode="manual"] #uploadButton:focus-visible,
body[data-editor-mode="manual"] #manualAddTextButton:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 3px;
}
body[data-editor-mode="manual"] #mobileText { white-space: normal; line-height: 1.15; }
