/* Keep the existing sheet, palette and canvas geometry; only navigation scrolls. */
.editor-menu { display:flex; flex-wrap:nowrap; min-width:0; overflow-x:auto; overflow-y:hidden; gap:7px; overscroll-behavior-x:contain; touch-action:pan-x; scrollbar-width:thin; }
.editor-menu button { flex:0 0 auto; white-space:nowrap; touch-action:pan-x; }
.editor-menu button.active { background:#e8eddf; border-color:#89917d; color:#35422f; font-weight:650; }
.desktop-tools.editor-menu { flex:0 1 460px; }
.photo-panel { left:20px; }
#photo-step { border:0; margin:0; padding:0; }
@media(max-width:900px) {
  .desktop-tools.editor-menu { display:none; }
  .mobile-tools .editor-menu { flex:1; scrollbar-width:none; padding:2px 0; }
  .mobile-tools .editor-menu::-webkit-scrollbar { display:none; }
  .mobile-tools .editor-menu button { flex:0 0 clamp(100px,28vw,240px); min-height:38px; padding:6px 12px; font-size:12px; background:transparent; color:inherit; }
  .mobile-tools .editor-menu button.active { background:#e8eddf; color:#35422f; }
  .mobile-tools #mobile-save { flex:0 0 74px; font-size:11px; }
}
