#catalog-toolbar{display:flex;flex-wrap:wrap;gap:14px}#catalog-toolbar button{width:auto;flex:none}#catalog-status{min-height:24px}.catalog-filters{grid-template-columns:minmax(0,1fr) minmax(180px,.6fr)!important}.material-category{border-top:1px solid #d7cebd;padding:18px 0}.material-category summary{font-weight:700;cursor:pointer;padding:8px 0;overflow-wrap:anywhere}.category-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin:8px 0 16px}.category-actions button{width:auto}.material-category table{width:100%;border-collapse:collapse}.material-category th,.material-category td{padding:13px 9px;text-align:left;border-bottom:1px solid #e0d8ca;vertical-align:middle}.material-category td:first-child{overflow-wrap:anywhere}.material-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.material-actions button{width:auto;white-space:nowrap}.material-category .tablewrap{overflow-x:auto}.crud-dialog{background:#f3efe5;color:#28241e;border:1px solid #c9b992;border-radius:18px;padding:24px;width:min(650px,calc(100vw - 28px));max-height:90vh;overflow:auto;box-sizing:border-box}.crud-dialog::backdrop{background:#0007}.crud-dialog h2{margin-top:0}.crud-dialog .toolbar{display:flex;gap:12px;flex-wrap:wrap}.crud-dialog button{width:auto;max-width:100%;white-space:normal}.crud-dialog .field{min-width:0}.crud-dialog select,#category-filter{border:1px solid #b29757;border-radius:999px;background:#eee8d8;min-height:48px;padding:10px 16px;box-shadow:0 3px 4px #0002;max-width:100%}.danger-text{color:#9a3127!important}.catalog-delete-note{line-height:1.6}.empty-category{color:#766e60;font-size:14px}button:focus-visible,summary:focus-visible{outline:3px solid #a38442;outline-offset:3px}@media(max-width:600px){#material-catalog-editor.panel{padding:20px 14px!important}.catalog-filters{grid-template-columns:1fr!important}.material-category th:nth-child(3),.material-category td:nth-child(3),.material-category th:nth-child(4),.material-category td:nth-child(4){display:none}.material-category th,.material-category td{padding:12px 5px}.material-actions{flex-direction:column;align-items:flex-end}.material-actions button{font-size:13px;padding:10px 12px}.crud-dialog{padding:20px 17px}.crud-dialog .formgrid{grid-template-columns:1fr!important}.category-actions{justify-content:flex-start}}

.crud-dialog select,#category-filter{appearance:none;-webkit-appearance:none;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='14' viewBox='0 0 20 14'%3E%3Cpath d='M3 3l7 7 7-7' fill='none' stroke='%23876d30' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:17px 12px}
