.ova-design .stock-warehouse-list>summary{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;font-size:18px;font-weight:600;margin-bottom:14px;list-style:none}.ova-design .stock-warehouse-list>summary::-webkit-details-marker{display:none}.ova-design .stock-warehouse-list>summary::before{content:'›';font-size:25px;line-height:1;transition:transform .16s}.ova-design .stock-warehouse-list[open]>summary::before{transform:rotate(90deg)}
/* Inventory and document lists adapt their content instead of requiring sideways page scrolling. */
@media screen and (max-width:1100px) {
 .ova-design .stock-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:12px}
 .ova-design .stock-filters>label,.ova-design .stock-filters .stock-search-label{min-width:0;width:100%}
 .ova-design .stock-filters .stock-search-label{grid-column:1/-1}
 .ova-design .stock-filters .stock-view{grid-column:1/-1;justify-content:flex-end}
 .ova-design .stock-filters select{max-width:100%;text-overflow:ellipsis}
 .ova-design .stock-title,.ova-design .stock-shelf :is(button,a),.ova-design .office-row-actions :is(button,a),.ova-design .office-file-name{min-height:44px}
 .ova-design .stock-title{display:block;width:100%;padding-block:8px}
 .ova-design .stock-detail>section{min-width:0}
 .ova-design .stock-detail .panel{overflow-wrap:anywhere}
 .ova-design .stock-topology .stock-shelf{flex:1 1 150px;min-width:0}
 .ova-design .stock-shelf>div{display:flex;gap:8px;flex-wrap:wrap}
 .ova-design .office-sort-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}
 .ova-design .office-sort-bar label{min-width:0}
 .ova-design .office-sort-bar select{width:100%;max-width:100%}
 .ova-design .office-sort-bar #office-count{grid-column:1/-1;padding:0}
 .ova-design .office-list-panel thead{display:none}
 .ova-design .office-list-panel :is(table,tbody){display:block;width:100%;min-width:0}
 .ova-design .office-list-panel tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .ova-design .office-list-panel tr{display:block;min-width:0;border:1px solid #e0e9e3;border-radius:12px;padding:14px;background:#fff}
 .ova-design .office-list-panel td,.ova-design .office-list-panel td:first-child{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px;width:100%;min-width:0;max-width:none;padding:6px 0;border:0;white-space:normal;overflow-wrap:anywhere}
 .ova-design .office-list-panel td::before{content:attr(data-label);font-size:11px;color:#718379}
 .ova-design .office-list-panel td:first-child{display:block;font-size:15px;padding:0 0 10px}
 .ova-design .office-list-panel td:first-child::before{display:none}
 .ova-design .office-file-name{display:flex;align-items:center;text-decoration:none}
 .ova-design .office-row-actions{flex-wrap:wrap;white-space:normal}
 .ova-design .office-row-actions :is(button,a){display:inline-flex;align-items:center;justify-content:center}
}
@media screen and (max-width:700px) {
 .ova-design .stock-responsive-table{overflow:visible;border:0}
 .ova-design .stock-responsive-table thead{display:none}
 .ova-design .stock-responsive-table :is(table,tbody){display:block;width:100%;min-width:0}
 .ova-design .stock-responsive-table tr{display:block;border:1px solid #dfe9e2;border-radius:12px;padding:14px;margin-bottom:12px;background:#fff}
 .ova-design .stock-responsive-table td{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px;border:0;padding:6px 0;min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere}
 .ova-design .stock-responsive-table td::before{content:attr(data-label);font-size:11px;line-height:1.6;color:#718379}
 .ova-design .stock-products-table tr{display:grid;grid-template-columns:64px minmax(0,1fr);gap:7px 12px}
 .ova-design .stock-products-table td{display:block;padding:0}
 .ova-design .stock-products-table td:nth-child(1){grid-column:1;grid-row:1 / span 2;align-self:center}
 .ova-design .stock-products-table td:nth-child(2){grid-column:2;grid-row:1}
 .ova-design .stock-products-table td:nth-child(3){grid-column:2;grid-row:2;color:#718379;font-size:12px}
 .ova-design .stock-products-table td:nth-child(4){grid-column:1/-1;grid-row:3;padding:4px 0 9px}
 .ova-design .stock-products-table td:nth-child(5){grid-column:1/-1;grid-row:4;padding:6px 94px 0 0;font-weight:600}
 .ova-design .stock-products-table td:nth-child(6){grid-column:2;grid-row:4;justify-self:end;align-self:end}
 .ova-design .stock-products-table td::before{display:block}
 .ova-design .stock-products-table td:is(:nth-child(1),:nth-child(2),:nth-child(3),:nth-child(6))::before{display:none}
 .ova-design .stock-products-table .stock-title{min-height:44px;font-size:15px;padding:0;text-align:left}
 .ova-design .stock-products-table .stock-photo-button{width:60px;height:60px}
 .ova-design .stock-description{max-width:none}
 .ova-design .stock-results-line>.secondary{width:100%;justify-content:center}
 .ova-design .stock-history summary{min-height:44px;display:flex;align-items:center}
 .ova-design .office-list-panel tbody{grid-template-columns:1fr}
 .ova-design .office-list-panel{padding:0;border:0;background:transparent;box-shadow:none}
 .ova-design .office-row-actions :is(button,a){flex:1}
}
@media screen and (max-width:600px) {
 .ova-design .stock-filters{grid-template-columns:minmax(0,1fr)}
 .ova-design .stock-filters>label,.ova-design .stock-filters .stock-search-label{min-width:0}
 .ova-design .stock-filters .stock-view{justify-content:stretch}
 .ova-design .stock-view button{flex:1;min-width:0}
 .ova-design .stock-warehouse-summary,.ova-design .stock-location-banner{padding:14px}
 .ova-design .stock-specs{grid-template-columns:1fr;gap:6px}
 .ova-design .stock-specs dd{margin-bottom:10px}
 .ova-design .stock-no-images{min-height:150px}
 .ova-design .stock-detail .stock-gallery figure:first-child img{height:min(220px,50dvh)}
 .ova-design .stock-pagination{gap:10px;flex-wrap:wrap}
 .ova-design .office-sort-bar{grid-template-columns:minmax(0,1fr)}
}
@media screen and (max-width:360px){.ova-design .stock-grid{grid-template-columns:minmax(0,1fr)}}
