.catalog-editor-table small{display:block;margin-top:5px}
.catalog-row-actions{min-width:210px}
.catalog-row-actions button+button{margin-left:6px}
.catalog-entry-fields label:has([name=name]),.catalog-entry-fields label:has([name=group]),.catalog-entry-fields label:has([name=source_url]){grid-column:1/-1}
@media(max-width:500px){
  dialog:has(.catalog-entry-fields) .modal-foot{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
  dialog:has(.catalog-entry-fields) .modal-foot .left{grid-column:1/-1;justify-self:start;margin:0}
  dialog:has(.catalog-entry-fields) .modal-foot button{min-width:0;white-space:normal}
}
@media(max-width:760px){
  .catalog-editor-table{background:transparent;border:0;box-shadow:none;overflow:visible}
  .catalog-editor-table table,.catalog-editor-table tbody,.catalog-editor-table tr,.catalog-editor-table td{display:block;width:100%}
  .catalog-editor-table thead{display:none}
  .catalog-editor-table tr{background:white;border:1px solid var(--line);border-radius:10px;margin-bottom:12px;padding:12px}
  .catalog-editor-table td{border:0!important;padding:7px 0!important;text-align:left;overflow-wrap:anywhere}
  .catalog-editor-table td[data-label]::before{content:attr(data-label);display:block;font-size:10px;color:var(--muted);margin-bottom:4px}
  .catalog-editor-table .catalog-row-actions{display:flex;justify-content:flex-end;gap:8px;min-width:0}
  .catalog-row-actions button+button{margin:0}
}
