/* Tablet: painel da dona em tela grande (iPad / tablet Android) */
@media (min-width:700px){
  body .settings-shell{max-width:920px}
  body .admin-tabs{width:min(760px,calc(100% - 32px));grid-template-columns:repeat(5,1fr)}
  body .pgrid{grid-template-columns:repeat(6,minmax(0,1fr))}
}
/* Tablet deitado: menu vira barra lateral */
@media (min-width:900px) and (orientation:landscape){
  body{padding-bottom:28px;padding-left:calc(112px + env(safe-area-inset-left))}
  body .admin-tabs{left:0;right:auto;top:0;bottom:0;width:calc(112px + env(safe-area-inset-left));transform:none;grid-template-columns:1fr;grid-auto-rows:min-content;align-content:start;gap:6px;padding:18px 8px 18px calc(8px + env(safe-area-inset-left));border-radius:0;border:0;border-right:1px solid var(--line);box-shadow:8px 0 28px #15151510}
  body .settings-shell{max-width:1080px}
}
/* Tablet deitado: formulário de produto em duas colunas */
@media (min-width:900px) and (orientation:landscape){
  body #tab-produtos form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;align-items:start}
  body #tab-produtos form>*{min-width:0}
  body #tab-produtos form>.field,body #tab-produtos form>.form-actions,body #tab-produtos form>.sec,body #tab-produtos form>p,body #tab-produtos form>h2,body #tab-produtos form>h3,body #tab-produtos form>.status,body #tab-produtos form>button,body #tab-produtos form>.vgrid,body #tab-produtos form>.vbox,body #tab-produtos form>small,body #tab-produtos form>label:has(textarea),body #tab-produtos form>.step-wide,body #tab-produtos form>.vit-card{grid-column:1/-1}
}
