.editor-shell .tool-topbar,.editor-shell nav,.editor-row { flex-wrap: wrap; }
.editor-shell .tool-topbar { padding-block: 12px; }
.editor-shell .editor-panel { padding: 16px; color: #e8ece3; background: #242929; }
.editor-panel fieldset { min-width: 0; margin: 12px 0; border: 1px solid #556254; padding: 12px; }
.editor-panel input[type=file] { max-width: 100%; min-width: 0; width: 100%; }
.editor-shell .editor-panel input[type=number] { width: 110px; max-width: 100%; min-height: 44px; }
.editor-panel button { min-height: 44px; min-width: 44px; max-width: 100%; white-space: normal; padding: 8px 12px; }
.editor-shell .tool-topbar nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px; }
.editor-shell .editor-panel .field { font-size: 12px; }
.editor-shell .editor-panel input[type=file] { min-height: 44px; }
.editor-row { display: flex; gap: 12px; align-items: end; margin: 12px 0; }
#editor-wave { display:block; width:100%; height:180px; background:#101811; border:1px solid #617554; touch-action:none; }
#editor-info,#editor-feedback { overflow-wrap:anywhere; }

#editor-recovery-state { overflow-wrap: anywhere; }
@media (max-width: 500px) {
  .editor-shell .tool-rack { padding-inline: 12px; }
  .editor-shell .editor-panel { padding: 12px; }
  .editor-panel fieldset { padding: 8px; }
  .editor-row { gap: 8px; }
  .editor-row button { flex: 1 1 auto; }
  .editor-row .field { flex: 1 1 105px; }
  .editor-shell .editor-panel input[type=number] { width: 100%; }
  #editor-wave { height: 130px; }
}
