/* Giash v10.74 — visible staff entry and full-height responsive native app */
html,body,#root{max-width:100%;}
img,video,iframe{max-width:100%;}
#root main,#root section,#root .wrap,#root .workspace{min-width:0;}
.nav .giash-staff-quicklinks{flex:0 0 auto;}
.giash-staff-quicklink{white-space:nowrap;min-height:40px;}
@media(max-width:1330px){
  #root header .nav{position:relative;min-height:137px;height:auto;align-items:flex-start;padding-top:13px;padding-bottom:63px;}
  #root header .nav-actions{margin-left:auto;min-width:0;}
  #root header .giash-staff-quicklinks{display:flex!important;position:absolute;top:auto;bottom:8px;left:0;right:0;z-index:5;justify-content:center;gap:8px;width:100%;padding:0 8px;}
  #root header .giash-staff-quicklink{flex:1 1 0;max-width:245px;padding:10px 8px;white-space:normal;text-align:center;font-size:clamp(11px,2.8vw,13px);line-height:1.2;}
  #root header .nav nav.open{top:100%;z-index:200;}
}
@media(max-width:720px){
  #root header .nav{min-height:127px;padding-top:9px;padding-bottom:57px;}
  #root header .nav-actions{gap:9px;}
  #root header .nav-actions>.text-btn{max-width:100px;white-space:normal;}
  #root header .giash-staff-quicklinks{bottom:7px;}
  #root .wrap{width:min(100% - 24px,1200px);}
  #root .hero-title h1{font-size:clamp(28px,9vw,46px);overflow-wrap:anywhere;}
  #root .searchbar{max-width:100%;}
  #root .dashboard-grid,#root .job-grid,#root .plan-grid{min-width:0;}
  #root .job-card,#root .plan,#root .form-panel{min-width:0;max-width:100%;}
  #root .modal-overlay,#root .screening-overlay,#root .profile-overlay{max-width:100vw;}
  #root .modal,#root .screening-card,#root .profile-card{max-width:100%;}
}
/* Override the older, conflicting nested-WebView scroll rules. */
html.giash-native-app,html.giash-native-app body{height:auto!important;min-height:100%!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;position:static!important;touch-action:pan-y!important;}
html.giash-native-app #root{height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important;touch-action:pan-y!important;}
html.giash-native-app main,html.giash-native-app .workspace{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;}
html.giash-native-app .modal-overlay,html.giash-native-app .screening-overlay,html.giash-native-app .profile-overlay{position:fixed!important;inset:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;}
@supports(padding:env(safe-area-inset-bottom)){html.giash-native-app body{padding-bottom:env(safe-area-inset-bottom);}}
