/* Compact product media, keyboard-accessible enlargement and touch navigation. */
.inventory-product-inline{display:flex;align-items:center;gap:8px}
.inventory-photo-button{width:36px;height:36px;min-width:36px;padding:0!important;border:1px solid #d4dfe6;border-radius:5px;overflow:hidden;background:#fff;cursor:zoom-in}
.inventory-photo-button img{width:36px;height:36px;object-fit:contain}
.inventory-photo-button:disabled{opacity:.3;cursor:default}
.inventory-photo-dialog{max-width:90vw;max-height:90dvh;border:1px solid #b6cad9;border-radius:12px;padding:12px;background:#fff}
.inventory-photo-dialog::backdrop{background:#071b2dc9}
.inventory-photo-dialog>button{display:block;margin:0 0 12px auto}
.inventory-photo-dialog>img{display:block;max-width:85vw;max-height:75dvh;object-fit:contain}
.search-toolbar #localSystemCode{min-width:100px;max-width:180px}
body.executive.erp .search-toolbar .system-code-filter{display:grid;grid-template-columns:minmax(95px,145px) minmax(75px,110px);gap:3px 6px;flex:0 1 265px;width:auto;align-items:end}
.system-code-filter>span{grid-column:1/-1}
.search-toolbar .system-code-filter #localSystemCode{min-width:0;max-width:110px;width:100%;box-sizing:border-box}
@media(max-width:900px){body.executive.erp .search-toolbar .system-code-filter{grid-column:1/-1}}
@media(pointer:coarse) and (max-width:1400px){
 /* Navigation belongs to erp-navigation.css, including coarse-pointer tablets.
    The former horizontal flex strip squeezed the section-based menu together. */
 body.executive.erp .main-panel{min-width:0}
}
@media(pointer:coarse) and (orientation:landscape) and (max-height:650px){
 body.executive.erp .topbar{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;min-height:0;gap:8px;padding:8px 12px}
 body.executive.erp .topbar-actions{flex:0 1 auto;width:auto;gap:8px;margin-left:auto}
}
body.pitcontrol-embedded .sidebar,body.pitcontrol-embedded .topbar{display:none!important}body.pitcontrol-embedded .app-shell{display:block!important;margin:0!important}body.pitcontrol-embedded .workspace{margin:0!important;width:100%!important}body.pitcontrol-embedded .content{padding:8px!important}
