/* Extension rules; the existing stylesheet is preserved. */
.language-field { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.language-field select { width: auto; max-width: 100%; }
.add-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.add-buy, .add-button { margin-top: 0; }
.add-fields > .editor-actions { align-self: end; }
.board-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.board-tools select { flex: 1 1 180px; min-width: 0; }
.item-plan, .item-editor, .edit-button { grid-column: 1 / -1; }
.item-plan { min-width: 0; overflow-wrap: anywhere; }
.item-plan p { margin: 4px 0; }
.edit-button { justify-self: start; }
.item-editor { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #f1f5ed; }
.item-editor .field { display: block; }
.item-editor input[type="checkbox"] { display: block; margin-top: 12px; }
.editor-help, .item-editor > .editor-actions { grid-column: 1 / -1; }
.editor-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.editor-actions button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
#reset-board { margin-top: 20px; }
@media (max-width: 440px) {
  .add-fields, .item-editor { grid-template-columns: minmax(0, 1fr); }
  .language-field { justify-content: flex-start; }
  .item-editor { padding: 12px; }
}
