.mobile-appbar,.mobile-nav,.mobile-menu-backdrop,.pwa-install{display:none}

@media(max-width:580px){
  :root{--mobile-nav-height:68px}body{padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));background:#eef3f1}body>main{padding:14px 12px 22px}body>main.public{padding:16px}body>aside{display:flex;position:fixed!important;z-index:45;inset:0 auto 0 0!important;width:min(86vw,320px)!important;padding:18px 14px!important;transform:translateX(-105%);transition:transform .2s ease;box-shadow:10px 0 40px #071a1c55}body.mobile-menu-open>aside{transform:translateX(0)}body.mobile-menu-open{overflow:hidden}.mobile-menu-backdrop{position:fixed;z-index:44;inset:0;background:#071a1c99}.mobile-menu-open .mobile-menu-backdrop{display:block}body:not(.platform)>aside nav{display:block!important}body:not(.platform)>aside nav a{display:block;padding:10px 12px!important;margin:2px 0;white-space:normal}.brand-area{padding-bottom:14px!important;margin-bottom:8px!important}
  .mobile-appbar{display:flex;align-items:center;height:54px;margin:-14px -12px 16px;padding:0 12px;background:#102a2e;color:#fff;position:sticky;top:0;z-index:30;box-shadow:0 2px 12px #102a2e33}.mobile-appbar>a{display:flex;align-items:center;gap:9px;color:#fff;text-decoration:none}.mobile-app-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:var(--green2);font-size:20px;font-weight:900}.mobile-menu-button{background:transparent;padding:9px 11px 9px 0;font-size:23px;line-height:1}
  body:not(.platform)>aside nav .nav-heading{display:none}body:not(.platform)>aside nav a{display:none!important}body:not(.platform)>aside nav a[href$="/produtos"],body:not(.platform)>aside nav a[href$="/etiquetas"],body:not(.platform)>aside nav a[href$="/locais"],body:not(.platform)>aside nav a[href$="/filas"],body:not(.platform)>aside nav a[href*="/filas/"]{display:block!important}.nav-group{margin-top:0!important}
  header{margin-bottom:16px}header h1{font-size:23px}header p{font-size:13px;margin-top:3px}.panel{border-radius:12px;margin-bottom:13px}.form-panel summary{padding:16px}.grid-form{padding:16px;gap:14px}.actions{padding-top:2px}.actions button,.queue-actions button{width:100%;min-height:46px}input,select,textarea{min-height:44px;font-size:16px}button,.button{min-height:42px;display:inline-grid;place-items:center}.search{max-width:none}
  .mobile-nav{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;position:fixed;z-index:40;inset:auto 0 0;height:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));padding:5px 4px env(safe-area-inset-bottom);background:#fff;border-top:1px solid var(--line);box-shadow:0 -5px 20px #102a2e14}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:#60716f;text-decoration:none;font-size:11px;font-weight:650;border-radius:9px}.mobile-nav a span{font-size:20px;line-height:1}.mobile-nav a.active{color:var(--green);background:#e8f4ef}
  .pwa-install:not([hidden]){display:block;position:fixed;z-index:50;right:12px;bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 12px);left:12px;width:calc(100% - 24px);box-shadow:0 8px 28px #102a2e44}
  .item-editor[open]{inset:10px!important;padding:16px!important;border-radius:13px;z-index:60}.item-editor[open]>summary{position:sticky;top:-16px;background:#fff;padding:13px 0;z-index:2}.item-edit-form{gap:13px}.audit-box{overflow-wrap:anywhere}
  .product-search{padding:14px;background:#fff;border:1px solid var(--line);border-radius:12px}.bulk-label-toolbar{padding:16px}.product-picker{max-height:52vh;overflow:auto;padding:14px}.pick{min-height:48px}.queue-actions{padding:0 14px 16px}
  .page-products section.panel>table,.page-labels section.panel>table,.page-locations section.panel>table,.page-queue_manual section.panel>table,.page-queue_integration section.panel>table,.page-queue_group section.panel>table,.page-queue_category section.panel>table{display:block;overflow:visible;padding:8px;background:#eef3f1}.page-products section.panel>table thead,.page-labels section.panel>table thead,.page-locations section.panel>table thead,.page-queue_manual section.panel>table thead,.page-queue_integration section.panel>table thead,.page-queue_group section.panel>table thead,.page-queue_category section.panel>table thead{display:none}.page-products section.panel>table tbody,.page-labels section.panel>table tbody,.page-locations section.panel>table tbody,.page-queue_manual section.panel>table tbody,.page-queue_integration section.panel>table tbody,.page-queue_group section.panel>table tbody,.page-queue_category section.panel>table tbody{display:grid;gap:10px}.page-products section.panel>table tr,.page-labels section.panel>table tr,.page-locations section.panel>table tr,.page-queue_manual section.panel>table tr,.page-queue_integration section.panel>table tr,.page-queue_group section.panel>table tr,.page-queue_category section.panel>table tr{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px;box-shadow:0 2px 8px #15251f08}.page-products section.panel>table td,.page-labels section.panel>table td,.page-locations section.panel>table td,.page-queue_manual section.panel>table td,.page-queue_integration section.panel>table td,.page-queue_group section.panel>table td,.page-queue_category section.panel>table td{display:block;border:0;padding:7px 5px;min-width:0;overflow-wrap:anywhere}.page-products section.panel>table td:before,.page-labels section.panel>table td:before,.page-locations section.panel>table td:before,.page-queue_manual section.panel>table td:before,.page-queue_integration section.panel>table td:before,.page-queue_group section.panel>table td:before,.page-queue_category section.panel>table td:before{display:block;color:#71807e;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;margin-bottom:2px}.page-products section.panel>table td:last-child,.page-labels section.panel>table td:last-child,.page-locations section.panel>table td:last-child,.page-queue_manual section.panel>table td:last-child,.page-queue_integration section.panel>table td:last-child,.page-queue_group section.panel>table td:last-child,.page-queue_category section.panel>table td:last-child{grid-column:1/-1}.page-products section.panel>table td:last-child summary,.page-labels section.panel>table td:last-child summary,.page-locations section.panel>table td:last-child summary{width:100%}
  .page-products section.panel>table td:nth-child(1):before{content:"Selecionar"}.page-products section.panel>table td:nth-child(2):before{content:"Código"}.page-products section.panel>table td:nth-child(3):before{content:"Produto"}.page-products section.panel>table td:nth-child(4):before{content:"Etiqueta"}.page-products section.panel>table td:nth-child(5):before{content:"Grupo / categoria"}.page-products section.panel>table td:nth-child(6):before{content:"Preço"}.page-products section.panel>table td:nth-child(7):before{content:"Atualizado"}
  .page-labels section.panel>table td:nth-child(1):before{content:"Código"}.page-labels section.panel>table td:nth-child(2):before{content:"Gateway"}.page-labels section.panel>table td:nth-child(3):before{content:"Template"}.page-labels section.panel>table td:nth-child(4):before{content:"Local"}.page-labels section.panel>table td:nth-child(5):before{content:"Posição"}.page-labels section.panel>table td:nth-child(6):before{content:"Status"}.page-labels section.panel>table td:nth-child(7):before{content:"Última alteração"}
  .page-locations section.panel>table td:nth-child(1):before{content:"Código"}.page-locations section.panel>table td:nth-child(2):before{content:"Local"}.page-locations section.panel>table td:nth-child(3):before{content:"Descrição"}.page-locations section.panel>table td:nth-child(4):before{content:"Status"}
  .page-queue_manual section.panel>table td:nth-child(1):before,.page-queue_integration section.panel>table td:nth-child(1):before,.page-queue_group section.panel>table td:nth-child(1):before,.page-queue_category section.panel>table td:nth-child(1):before{content:"Fila"}.page-queue_manual section.panel>table td:nth-child(2):before,.page-queue_integration section.panel>table td:nth-child(2):before,.page-queue_group section.panel>table td:nth-child(2):before,.page-queue_category section.panel>table td:nth-child(2):before{content:"Origem"}.page-queue_manual section.panel>table td:nth-child(3):before,.page-queue_integration section.panel>table td:nth-child(3):before,.page-queue_group section.panel>table td:nth-child(3):before,.page-queue_category section.panel>table td:nth-child(3):before{content:"Geração"}.page-queue_manual section.panel>table td:nth-child(4):before,.page-queue_integration section.panel>table td:nth-child(4):before,.page-queue_group section.panel>table td:nth-child(4):before,.page-queue_category section.panel>table td:nth-child(4):before{content:"Usuário"}.page-queue_manual section.panel>table td:nth-child(5):before,.page-queue_integration section.panel>table td:nth-child(5):before,.page-queue_group section.panel>table td:nth-child(5):before,.page-queue_category section.panel>table td:nth-child(5):before{content:"Itens"}.page-queue_manual section.panel>table td:nth-child(6):before,.page-queue_integration section.panel>table td:nth-child(6):before,.page-queue_group section.panel>table td:nth-child(6):before,.page-queue_category section.panel>table td:nth-child(6):before{content:"Status"}
  section.panel>table td.empty{grid-column:1/-1}.empty:before{display:none!important}
}

@media(display-mode:standalone) and (max-width:580px){.mobile-appbar{padding-top:env(safe-area-inset-top);height:calc(54px + env(safe-area-inset-top))}}
