.category-material-details{min-width:0}.cmd-toolbar{align-items:end;flex-wrap:wrap}.cmd-toolbar label{display:grid;gap:5px}.cmd-toolbar select{max-width:350px}.cmd-scroll{overflow:auto;max-height:calc(100vh - 275px);border:1px solid var(--line,#ddd)}.cmd-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}.cmd-table th,.cmd-table td{min-width:125px;max-width:260px;vertical-align:top;border-bottom:1px solid var(--line,#ddd)}.cmd-table th{position:sticky;top:0;z-index:2;background:var(--panel,#fff)}.cmd-table td:first-child,.cmd-table th:first-child{position:sticky;left:0;z-index:1;background:var(--panel,#fff);min-width:180px}.cmd-table th:first-child{z-index:3}.cmd-table small{display:block;color:var(--muted,#667);font-weight:normal}.cmd-missing{background:#fff5cf!important;color:#805b00}.cmd-na{color:var(--muted,#889);background:var(--soft,#f5f5f5)}.cmd-cell{border:0;background:transparent;color:inherit;text-align:left;white-space:normal;overflow-wrap:anywhere;width:100%;padding:4px;min-height:30px}.cmd-cell:hover{outline:1px solid #aa8430}.cmd-editor-scroll{max-height:55vh;overflow:auto}.cmd-editor input{min-width:100px;width:100%}.cmd-selected-field{background:#fff5cf}.cmd-editor article,.cmd-import article{border-bottom:1px solid var(--line,#ddd);padding:6px}.cmd-editor #cmd-preview-result,.cmd-import #cmd-import-plan{max-height:30vh;overflow:auto}@media(max-width:700px){.cmd-scroll{max-height:60vh}.cmd-toolbar label{width:100%}.cmd-toolbar select{max-width:100%;width:100%}}
.cmd-table{table-layout:fixed;min-width:0}.cmd-table th,.cmd-table td{min-width:0;max-width:none;overflow-wrap:anywhere;box-sizing:border-box}.cmd-table th{position:sticky;padding-right:30px}.cmd-table th:first-child,.cmd-table td:first-child{min-width:0}.cmd-sort{border:0;background:transparent;color:inherit;font-weight:600;text-align:left;white-space:normal;padding:4px;width:100%}.cmd-column-filter{position:absolute;right:10px;top:6px;border:0;background:transparent;padding:2px}.cmd-resizer{position:absolute;right:0;top:0;bottom:0;width:8px;cursor:col-resize;touch-action:none}.cmd-resizer:hover,.cmd-resizer:focus{background:#679bec55}.cmd-pagination{justify-content:flex-end;margin-top:12px;flex-wrap:wrap}.cmd-pagination label{display:flex;gap:6px;align-items:center}.cmd-pagination input{width:80px}.cmd-filter-panel{margin:10px 0}.category-material-details summary{cursor:pointer;padding:8px;font-weight:600}.cmd-filter-panel>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px}#cmd-facets>details{border:1px solid var(--line,#ddd);border-radius:6px;min-width:0}#cmd-facets input[type=search],#cmd-facets input[data-facet-search]{width:100%;box-sizing:border-box}.cmd-facet-options{max-height:220px;overflow:auto}.cmd-facet-options label{display:flex;gap:6px;align-items:start;padding:6px;cursor:pointer}.cmd-facet-options label[hidden]{display:none}.cmd-facet-options label span{flex:1;overflow-wrap:anywhere;font-size:12px}.cmd-facet-options small{color:var(--muted,#778)}.cmd-condition-row{display:flex;gap:6px;flex-wrap:wrap;margin:8px}.cmd-condition-row>*{max-width:220px}.cmd-column-setting{display:flex;gap:4px;align-items:center;padding:3px}.cmd-column-setting label{flex:1}.cmd-column-setting button{padding:4px 8px}#cmd-column-settings{max-height:300px;overflow:auto}#cmd-conditions{max-width:100%}#cmd-condition-rows{max-height:300px;overflow:auto}
/* Keep long factory model/source text from increasing grid row height. */
.cmd-table th,.cmd-table td,.cmd-table th:first-child,.cmd-table td:first-child{min-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal;vertical-align:middle}
.cmd-table td{height:42px;padding-top:5px;padding-bottom:5px}.cmd-table th{height:46px}.cmd-table small{display:inline;margin-left:6px;white-space:nowrap}.cmd-cell,.cmd-sort{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal;max-width:100%;min-width:0}.cmd-cell{height:28px;line-height:28px;min-height:0;padding:0 4px}.cmd-sort{padding:4px}.cmd-table td>button.secondary{white-space:nowrap}
.cmd-horizontal-bar{display:flex;align-items:center;gap:10px;padding:8px 4px;background:var(--panel,#fff);min-width:0}.cmd-horizontal-bar>span{white-space:nowrap;font-size:12px;color:var(--muted,#667)}.cmd-horizontal-bar>input[type=range]{appearance:none;-webkit-appearance:none;display:block;flex:1;min-width:0;height:18px;padding:0;border:0;background:transparent;cursor:ew-resize}.cmd-horizontal-bar input::-webkit-slider-runnable-track{height:10px;background:#dfe5ee;border-radius:6px}.cmd-horizontal-bar input::-webkit-slider-thumb{-webkit-appearance:none;width:42px;height:16px;border:1px solid #697b94;border-radius:5px;background:#8396b3;margin-top:-3px}.cmd-horizontal-bar input::-moz-range-track{height:10px;background:#dfe5ee;border-radius:6px}.cmd-horizontal-bar input::-moz-range-thumb{width:42px;height:16px;border:1px solid #697b94;border-radius:5px;background:#8396b3}.cmd-horizontal-bar input:focus-visible{outline:2px solid #427bd9;outline-offset:2px}.cmd-horizontal-bar input:disabled{opacity:.45;cursor:default}
.cmd-horizontal-bar{position:sticky;bottom:0;z-index:6;border-top:1px solid var(--line,#ddd);box-shadow:0 -2px 6px #0001}
