/* Keep existing ADMIN sections and permissions; adjust only their layout. */
html body #app .nav620{gap:6px!important}
html body #app .nav620 .nav620-link{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  width:100%!important;min-width:0!important;min-height:36px!important;height:auto!important;
  margin:0!important;padding:7px 9px!important;border-radius:8px!important;box-shadow:none!important;
  font-size:13px!important;line-height:1.3!important;font-weight:600!important;white-space:normal!important;text-align:left!important;
}
html body #app .nav620 [hidden]{display:none!important}
html body #app .nav620 .nav620-group>summary{min-height:40px!important;padding:8px 9px!important}
html body #app .nav620 .nav620-links{gap:2px!important;padding:3px 5px 5px!important}
html body #app .nav620 .nav620-search input{min-height:36px!important;padding:7px 32px 7px 9px!important;font-size:13px!important}
html body #app .nav620 .nav620-shortcuts{gap:4px!important;margin-bottom:0!important}
html body #app .admin-shell-v2 .sidebar .sa-menu{margin-top:6px!important;min-width:0!important}
html body #app .admin-shell-v2 .sidebar .sa-menu>button{
  width:100%!important;min-width:0!important;min-height:36px!important;margin:0!important;padding:7px 9px!important;
  font-size:13px!important;line-height:1.3!important;font-weight:600!important;white-space:normal!important;text-align:left!important;border-radius:8px!important;
}
@media(min-width:761px){
 html body #app .app.admin-shell-v2>.layout{display:grid!important;grid-template-columns:clamp(216px,19vw,244px) minmax(0,1fr)!important;gap:12px!important;align-items:start!important}
 html body #app .app.admin-shell-v2>.layout>.sidebar.card{display:block!important;position:sticky!important;top:104px!important;max-height:calc(100vh - 120px)!important;max-height:calc(100dvh - 120px)!important;overflow:auto!important;padding:9px!important;border-radius:12px!important;min-width:0!important}
 html body #app .app.admin-shell-v2>.layout>.sidebar.card>.tabs{display:block!important}
}
html body #app .ppx-admin-overlay-v98{align-items:flex-start!important;padding:clamp(24px,9vh,80px) 14px 14px!important}
html body #app .ppx-admin-modal-v98{width:min(500px,calc(100vw - 28px))!important;max-width:500px!important;max-height:calc(91vh - 14px)!important;max-height:calc(91dvh - 14px)!important;padding:12px!important;border-radius:16px!important}
html body #app .ppx-admin-modal-head-v98{position:sticky!important;top:-12px!important;z-index:2!important;background:#fff!important;padding:6px 2px 9px!important;margin-bottom:9px!important;gap:8px!important}
html body #app .ppx-admin-modal-head-v98 h2{font-size:20px!important}
html body #app .ppx-admin-menu-list-v98{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
html body #app .ppx-admin-menu-list-v98 button{min-height:36px!important;padding:7px 9px!important;border-radius:9px!important;font-size:13px!important;line-height:1.3!important;font-weight:650!important;white-space:normal!important}
@media(pointer:coarse){
 html body #app .nav620 .nav620-link,html body #app .nav620 .nav620-group>summary,html body #app .admin-shell-v2 .sidebar .sa-menu>button,html body #app .ppx-admin-menu-list-v98 button{min-height:44px!important}
}
@media(max-width:560px){
 html body #app .ppx-admin-menu-list-v98{grid-template-columns:1fr!important}
 html body #app .ppx-admin-overlay-v98{padding-top:20px!important}
 html body #app .ppx-admin-modal-v98{max-height:calc(100vh - 36px)!important;max-height:calc(100dvh - 36px)!important}
}
