.compactRecordsPage .compactDisclosure{border:1px solid #dbe2ea;border-radius:10px;background:#fff;margin:8px 0;min-width:0}
.compactRecordsPage .compactDisclosure>summary,.compactRowDetails>summary{padding:11px 13px;min-height:44px;box-sizing:border-box;cursor:pointer;font-size:13px;font-weight:700;color:#334155}
.compactDisclosureBody{display:flex;flex-wrap:wrap;gap:10px;padding:0 12px 12px;min-width:0}
.compactDisclosureBody>.inventoryKpis{width:100%;margin:0}
.compactRecordsPage .inventoryFilters{display:flex;align-items:flex-start;flex-wrap:wrap;gap:10px}
.compactRecordsPage .inventorySearchField{flex:1 1 260px}
.compactRecordsPage .compactFilters{flex:0 1 460px;margin:0}
.compactRecordsPage .inventoryListSummary{flex-basis:100%}
.compactRecordsPage .compactFilters label{flex:1 1 120px}
.compactRecordsPage .compactRecordTableWrap{max-height:none;overflow:visible}
.compactRecordsPage .compactRecordTable [hidden],.compactListFooter[hidden],.compactListFooter button[hidden]{display:none!important}
.compactListFooter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 0;font-size:13px;color:#64748b}
.compactListFooter>span{flex:1 1 180px}
.compactListFooter button{min-height:44px;padding:10px 14px}
.compactRecordsPage :is(button,summary,input,select):focus-visible{outline:3px solid #2563eb;outline-offset:2px}
@media(min-width:761px){.compactRecordsPage .compactRecordTableWrap{overflow-x:auto}.compactRecordsPage .inventoryKpis .kpi{padding:12px}.compactRecordsPage .catalogSourceNote{margin:0}}
@media(max-width:760px){
 .compactRecordsPage,.compactRecordsPage *{box-sizing:border-box}
 .compactRecordsPage .catalogCard,.compactRecordsPage .inventoryCard{padding:10px;min-width:0}
 .compactRecordsPage :is(.catalogHead,.catalogActions,.inventoryPageHeader,.inventoryPageActions,.inventoryToolbar){gap:8px;min-width:0;max-width:100%}
 .compactRecordsPage .inventoryPageHeader{flex-wrap:wrap;margin-top:12px}
 .compactRecordsPage :is(input:not([type=checkbox]),select,textarea){min-width:0;max-width:100%;font-size:16px}
 .compactRecordsPage .inventoryFilters>*{flex-basis:100%}
 .compactRecordsPage .inventoryFilters .compactFilters{flex-basis:100%}
 .compactRecordsPage .compactDisclosureBody{display:grid;grid-template-columns:minmax(0,1fr)}
 .compactRecordsPage .inventoryKpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .compactRecordsPage .inventoryKpis .kpi{min-width:0;padding:10px}
 .compactRecordsPage .inventoryKpis .kpi b{font-size:20px;overflow-wrap:anywhere}
 .compactRecordsPage .inventorySystemSwitch,.compactRecordsPage .sectionSubTabs,.compactRecordsPage .generalInventoryTabs{display:flex;flex-wrap:wrap;gap:6px}
 .compactRecordsPage .inventorySystemSwitch button{flex:1 1 90px;white-space:normal;min-height:44px;padding:9px;font-size:13px}
 .compactRecordsPage .compactRecordTable{display:block;min-width:0!important;width:100%;border:0}
 .compactRecordsPage .compactRecordTable thead{display:none}
 .compactRecordsPage .compactRecordTable tbody{display:block}
 .compactRecordsPage .compactRecordTable .compactRecordRow{display:flex;flex-wrap:wrap;gap:8px;padding:12px;margin:10px 0;border:1px solid #dbe2ea;border-radius:12px;background:#fff;min-width:0}
 .compactRecordsPage .compactRecordTable .compactRecordRow>td{display:block;flex:1 1 100%;min-width:0;width:auto!important;max-width:100%;padding:0;border:0;white-space:normal;overflow-wrap:anywhere}
 .compactRecordsPage .compactRecordTable .compactRecordRow>td:before{display:none!important}
 .compactRecordsPage .compactRecordTable .compactSecondaryCell{display:none!important}
 .compactRecordsPage .compactRecordTable .compactRecordRow>td.catalogModelMargin:before{display:block!important;content:'Base margin';font-size:11px;color:#64748b}
 .compactRowDetails{border-top:1px solid #e2e8f0;margin-top:4px}
 .compactRowDetails>summary{padding-left:0}
 .compactDetailField{display:grid;gap:5px;padding:9px 0;border-top:1px solid #f1f5f9;font-size:13px}
 .compactDetailField>b{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#64748b}
 .compactRecordsPage .compactRecordTable :is(.inventoryGroupRow,.catalogGroupRow){display:block;margin-top:12px}
 .compactRecordsPage .compactRecordTable :is(.inventoryGroupRow,.catalogGroupRow)>td{display:block;position:static;width:100%;font-size:13px;white-space:normal}
 .compactRecordsPage .inventoryPartWrap{min-width:0}
 .compactRecordsPage .inventoryPartCopy{min-width:0}
 .compactRecordsPage .inventoryPartLink{font-size:16px;white-space:normal;text-align:left}
 .compactRecordsPage .inventoryPartMeta{flex-wrap:wrap}
 .compactRecordsPage .inventoryStockMeta{flex-wrap:wrap;font-size:12px}
 .compactRecordsPage .compactRecordTable .catalogThumb{width:64px;height:64px;object-fit:contain}
 .compactRecordsPage .compactRecordTable .catalogNoImage{display:none}
 .compactRecordsPage .compactRecordTable .catalogSelectCol{flex-basis:100%}
 .compactRecordsPage .compactModelTable thead,.compactRecordsPage .compactModelTable thead tr{display:block}
 .compactRecordsPage .compactModelTable thead th{display:none}
 .compactRecordsPage .compactModelTable thead th:first-child{display:flex;align-items:center;gap:8px;width:auto}
 .compactRecordsPage .compactModelTable thead th:first-child:after{content:'Select all models';font-size:13px}
 .compactRecordsPage .catalogModelPricingTools{padding:10px}
 .compactRecordsPage .catalogBulkPricingControls{flex-wrap:wrap}
 .compactRecordsPage .catalogBulkPricingControls>.compactDisclosure{width:100%}
 .compactRecordsPage .catalogInlinePrice input{width:100%;min-height:44px}
 #vendorsPage .inventoryToolbar>*{width:100%;flex-basis:100%}
 #vendorsPage input[type=checkbox]{width:20px;height:20px;vertical-align:middle}
 .compactRecordsPage{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
}
