@media (max-width:560px){
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  .app{grid-template-columns:minmax(0,1fr)!important}
  .app>aside{position:static;height:auto;display:flex;flex-direction:column;gap:8px;padding:12px 18px;min-width:0}
  .app>aside .brand{margin:0}
  .app>aside nav{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;overflow:visible}
  .app>aside nav button{min-width:0;width:100%;height:100%;text-align:center;white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.2;padding:10px 5px}
  .app>aside nav [hidden]{display:none!important}
  .app>aside .private{margin:0;display:none}
  .app>main{min-width:0;max-width:none;width:100%;padding:18px}
  .ownMobileOverlay{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:12px;background:#0009}
  .ownMobilePanel{display:flex;flex-direction:column;width:100%;max-width:520px;height:min(85dvh,720px);background:white;border-radius:10px;overflow:hidden}
  .ownMobileHeader{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-bottom:1px solid #cfd3d8;font:700 16px Arial,sans-serif;color:#111}
  .ownMobileHeader button{font:700 14px Arial,sans-serif;padding:10px 14px;border:1px solid #cfd3d8;border-radius:8px;background:white;color:#111}
  .ownMobileContent{flex:1;min-height:0}
  .ownMobileContent iframe{display:block;width:100%;height:100%;border:0}
  html.organizerAuthorized body .waoVenueMobileOrg{width:100%;max-width:100vw;min-width:0;justify-content:flex-start;flex-wrap:wrap}
  html.organizerAuthorized body .waoVenueMobileOrg > *{max-width:100%}
  #entries .registrationRowActions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
  #entries .registrationRowActions button{flex:0 0 auto;white-space:nowrap}
  #entries .registrationApprovalSlot{display:contents}
  #orders .orderCompactBar .orderSettingsCard{flex-wrap:wrap}
  #orders .orderCompactBar .orderSettingsCard .grid2{flex:1 1 360px}
  #orders .orderCompactBar .orderSettingsActions{flex:1 1 100%;flex-wrap:wrap}
  #orders .orderCompactBar .orderSettingsActions button{flex:0 0 auto;white-space:nowrap}
}
@media screen and (orientation:landscape) and (max-height:560px) and (pointer:coarse){
  .app{grid-template-columns:minmax(0,1fr)!important}
  .app>aside{position:static;height:auto;display:flex;flex-direction:column;gap:8px;padding:12px 18px;min-width:0}
  .app>aside .brand{margin:0}
  .app>aside nav{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;overflow:visible}
  .app>aside nav button{min-width:0;width:100%;height:100%;text-align:center;white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.2;padding:10px 5px}
  .app>aside nav [hidden]{display:none!important}
  .app>aside .private{margin:0;display:none}
  .app>main{min-width:0;max-width:none;width:100%;padding:18px}
}