/* Mobile overrides for photo editor */
@media (max-width: 640px) {
  /* The `padding-bottom: 220px` that used to live here had the same defect as
     the desktop 180px value: the canvas is sized from this element's box, so
     the padding pushed the canvas below the fold. Removed, not reduced.
     editor.css sizes the row from the measured --saras-chrome-h, and on mobile
     the properties panel sits under the canvas so it scrolls in its own column. */
  .properties {
    width: 100% !important;
    max-width: 100% !important;
    border-left: none !important;
    border-top: 1px solid var(--editor-line) !important;
  }
  .live-preview-grid { grid-template-columns: 1fr !important; }
  .live-preview-card img { height: 120px !important; }
  .mode-switcher { flex-direction: column !important; }
  .upload-box { width: 90vw !important; height: auto !important; padding: 24px 16px !important; }
}