
body.gds-app-mode{padding-top:58px!important}
.gds-app-top{position:fixed;left:0;right:0;top:0;height:58px;background:#083f6d;color:#fff;z-index:20000;display:flex;align-items:center;gap:12px;padding:0 14px;box-shadow:0 2px 12px #0003;font-family:Arial,sans-serif}
.gds-app-menu-btn{width:42px;height:42px;border:0;border-radius:9px;background:#fff;color:#083f6d;font-size:24px;font-weight:900;cursor:pointer}
.gds-app-top-title{min-width:0;flex:1}.gds-app-top-title b{display:block;font-size:15px}.gds-app-top-title small{display:block;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gds-app-drawer-shade{position:fixed;inset:0;background:#0007;z-index:20001;display:none}
.gds-app-drawer{position:fixed;top:0;bottom:0;left:0;width:min(84vw,330px);background:#fff;z-index:20002;transform:translateX(-105%);transition:transform .2s ease;box-shadow:8px 0 30px #0004;overflow:auto;font-family:Arial,sans-serif}
body.gds-app-menu-open .gds-app-drawer{transform:translateX(0)}body.gds-app-menu-open .gds-app-drawer-shade{display:block}
.gds-app-drawer-head{background:#083f6d;color:#fff;padding:20px 16px}.gds-app-drawer-head b{display:block;font-size:18px}.gds-app-drawer-head small{opacity:.9}
.gds-app-links{padding:8px}.gds-app-links a,.gds-app-links button{display:flex;width:100%;align-items:center;gap:11px;padding:13px 12px;border:0;border-bottom:1px solid #e6edf2;background:#fff;color:#173b55;text-decoration:none;text-align:left;font:700 14px Arial,sans-serif;cursor:pointer}
.gds-app-links a.active{background:#eaf4fb;color:#075b99;border-radius:8px}.gds-app-links .gds-app-open-web{margin-top:10px;background:#eef6fb;color:#075b99;border:1px solid #bdd8ea;border-radius:8px}.gds-app-links .gds-app-logout{margin-top:8px;background:#fff1f1;color:#b42318;border:1px solid #f0caca;border-radius:8px}
body.gds-app-mode .gds-topbar,body.gds-app-mode .gds-public-header,body.gds-app-mode .gds-mainnav,body.gds-app-mode .gds-mobile-menu-btn,body.gds-app-mode .gds-release-menu-btn{display:none!important}
body.gds-app-mode .records-top-actions{display:none!important}
body.gds-app-mode .gds-pagebar{margin-top:0!important}

/* FINAL app header offset */
body.gds-app-mode{padding-top:82px!important}
.gds-app-top{top:24px!important;height:58px!important}
.gds-app-menu-btn{display:flex!important;align-items:center!important;justify-content:center!important}


/* === FINAL ONE-TIME GDS STAFF APP HEADER FIX ===
   Header is deliberately placed well below the phone status bar.
   This override is last in the stylesheet and wins over older rules.
*/
body.gds-app-mode{
  padding-top:150px!important;
}
body.gds-app-mode .gds-app-top{
  position:fixed!important;
  top:90px!important;
  left:0!important;
  right:0!important;
  height:60px!important;
  z-index:2147483000!important;
  padding:0 14px!important;
  box-sizing:border-box!important;
}
body.gds-app-mode .gds-app-menu-btn{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border:0!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#083f6d!important;
  font-size:0!important;
  line-height:1!important;
  overflow:hidden!important;
}
body.gds-app-mode .gds-app-menu-btn::before{
  content:"☰"!important;
  display:block!important;
  font-family:Arial,sans-serif!important;
  font-size:28px!important;
  font-weight:700!important;
  line-height:1!important;
  color:#083f6d!important;
}

/* FINAL ROLE MENU PATCH */
body.gds-app-mode .gds-app-menu-btn span{
  display:block!important;
  font-family:Arial,sans-serif!important;
  font-size:30px!important;
  line-height:1!important;
  font-weight:800!important;
  color:#083f6d!important;
}
body.gds-app-mode .gds-app-menu-btn::before{content:none!important}
body.gds-app-mode .gds-app-drawer{
  width:min(86vw,340px)!important;
}
body.gds-app-mode .gds-app-links a,
body.gds-app-mode .gds-app-links button{
  min-height:50px!important;
  font-size:15px!important;
}

/* FINAL HAMBURGER: three CSS lines, independent of fonts */
body.gds-app-mode .gds-app-menu-btn{
  position:relative!important;
  font-size:0!important;
}
body.gds-app-mode .gds-app-menu-btn span{display:none!important}
body.gds-app-mode .gds-app-menu-btn::before,
body.gds-app-mode .gds-app-menu-btn::after{
  content:""!important;
  position:absolute!important;
  left:10px!important;
  width:24px!important;
  height:3px!important;
  border-radius:3px!important;
  background:#083f6d!important;
}
body.gds-app-mode .gds-app-menu-btn::before{
  top:12px!important;
  box-shadow:0 8px 0 #083f6d!important;
}
body.gds-app-mode .gds-app-menu-btn::after{
  top:28px!important;
}


/* 2026-09-21 FINAL 3-POINT FIX: mobile staff header/menu much lower */
body.gds-app-mode{
  padding-top:190px!important;
}
body.gds-app-mode .gds-app-top{
  position:fixed!important;
  top:130px!important;
  left:0!important;
  right:0!important;
  height:60px!important;
  z-index:2147483000!important;
}
body.gds-app-mode .gds-app-menu-btn{
  position:relative!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  font-size:0!important;
}
body.gds-app-mode .gds-app-menu-btn span{display:none!important}
body.gds-app-mode .gds-app-menu-btn::before,
body.gds-app-mode .gds-app-menu-btn::after{
  content:""!important;
  position:absolute!important;
  left:10px!important;
  width:24px!important;
  height:3px!important;
  border-radius:3px!important;
  background:#083f6d!important;
}
body.gds-app-mode .gds-app-menu-btn::before{
  top:12px!important;
  box-shadow:0 8px 0 #083f6d!important;
}
body.gds-app-mode .gds-app-menu-btn::after{top:28px!important}


/* FINAL MOBILE HEADER POSITION */
body.gds-app-mode{
  padding-top:120px!important;
}
body.gds-app-mode .gds-app-top{
  position:fixed!important;
  top:60px!important;
  left:0!important;
  right:0!important;
  height:60px!important;
  z-index:2147483000!important;
  box-sizing:border-box!important;
}
body.gds-app-mode .gds-app-menu-btn{
  position:relative!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  display:block!important;
  font-size:0!important;
}
body.gds-app-mode .gds-app-menu-btn span{display:none!important}
body.gds-app-mode .gds-app-menu-btn::before,
body.gds-app-mode .gds-app-menu-btn::after{
  content:""!important;
  position:absolute!important;
  left:10px!important;
  width:24px!important;
  height:3px!important;
  border-radius:3px!important;
  background:#083f6d!important;
}
body.gds-app-mode .gds-app-menu-btn::before{
  top:12px!important;
  box-shadow:0 8px 0 #083f6d!important;
}
body.gds-app-mode .gds-app-menu-btn::after{top:28px!important}


/* FINAL ONE-POINT FIX: GDS STAFF header scrolls with page */
body.gds-app-mode{
  padding-top:0!important;
}
body.gds-app-mode .gds-app-top{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  width:100%!important;
  height:60px!important;
  z-index:10!important;
  box-sizing:border-box!important;
}


/* FINAL: header starts lower, but scrolls normally with the page */
body.gds-app-mode{
  padding-top:0!important;
}
body.gds-app-mode .gds-app-top{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  width:100%!important;
  height:60px!important;
  margin-top:90px!important;
  margin-bottom:0!important;
  z-index:10!important;
  box-sizing:border-box!important;
}


/* 2026-09-25 FINAL: staff hamburger button on RIGHT side */
body.gds-app-mode .gds-app-top-title{
  order:1!important;
  flex:1 1 auto!important;
  text-align:center!important;
  padding-left:44px!important;
}
body.gds-app-mode .gds-app-menu-btn{
  order:2!important;
  margin-left:auto!important;
  margin-right:0!important;
}


/* 2026-09-25 FINAL: staff drawer opens from RIGHT side */
body.gds-app-mode .gds-app-drawer{
  left:auto!important;
  right:0!important;
  transform:translateX(105%)!important;
  box-shadow:-8px 0 30px #0004!important;
}
body.gds-app-menu-open .gds-app-drawer{transform:translateX(0)!important;}

/* 2026-09-26: Open Public Website moved OUTSIDE the hamburger drawer */
body.gds-app-mode .gds-app-public-outside{
  position:fixed!important;
  right:18px!important;
  bottom:18px!important;
  z-index:2147482998!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  padding:0 18px!important;
  border:0!important;
  border-radius:12px!important;
  background:#075b99!important;
  color:#fff!important;
  box-shadow:0 8px 22px rgba(0,0,0,.24)!important;
  text-decoration:none!important;
  font:800 13px/1 Arial,sans-serif!important;
  letter-spacing:.1px!important;
  white-space:nowrap!important;
}
body.gds-app-mode .gds-app-public-outside::before{
  content:'🌐';
  margin-right:7px;
  font-size:16px;
}
body.gds-app-mode .gds-app-public-outside:hover,
body.gds-app-mode .gds-app-public-outside:focus{
  background:#064b80!important;
  color:#fff!important;
  outline:none!important;
}
@media(max-width:600px){
  body.gds-app-mode .gds-app-public-outside{
    right:10px!important;
    bottom:12px!important;
    min-height:42px!important;
    padding:0 13px!important;
    border-radius:10px!important;
    font-size:12px!important;
  }
}
\n\n/* 2026-09-26 FINAL: Public Website button stays at TOP, outside hamburger menu */\nbody.gds-app-mode .gds-app-public-outside{\n  position:static!important;\n  left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;\n  z-index:auto!important;\n  display:inline-flex!important;\n  align-items:center!important;justify-content:center!important;\n  min-height:38px!important;height:38px!important;\n  padding:0 13px!important;\n  margin-left:auto!important;margin-right:2px!important;\n  border:1px solid rgba(255,255,255,.35)!important;\n  border-radius:9px!important;\n  background:#0b67a7!important;color:#fff!important;\n  box-shadow:none!important;text-decoration:none!important;\n  font:800 11px/1 Arial,sans-serif!important;\n  letter-spacing:.1px!important;white-space:nowrap!important;\n}\nbody.gds-app-mode .gds-app-public-outside::before{content:'🌐';margin-right:6px;font-size:14px}\nbody.gds-app-mode .gds-app-public-outside:hover,\nbody.gds-app-mode .gds-app-public-outside:focus{background:#07558d!important;color:#fff!important}\n@media(max-width:560px){\n body.gds-app-mode .gds-app-public-outside{padding:0 9px!important;font-size:10px!important;min-height:36px!important;height:36px!important}\n body.gds-app-mode .gds-app-public-outside::before{font-size:13px!important;margin-right:4px!important}\n body.gds-app-mode .gds-app-top{gap:7px!important;padding-left:8px!important;padding-right:8px!important}\n}\n
/* 2026-09-26 FINAL: Open Public Website button stays in TOP staff header */
body.gds-app-mode .gds-app-top-title{
  order:1!important;
  flex:1 1 auto!important;
}
body.gds-app-mode .gds-app-public-outside{
  position:static!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  top:auto!important;
  order:2!important;
  z-index:auto!important;
  margin:0 8px 0 0!important;
  min-height:38px!important;
  padding:0 12px!important;
  border-radius:9px!important;
  box-shadow:none!important;
  background:#0b6cab!important;
  font:800 12px/1 Arial,sans-serif!important;
  flex:0 0 auto!important;
}
body.gds-app-mode .gds-app-menu-btn{
  order:3!important;
  margin-left:0!important;
}
@media(max-width:600px){
  body.gds-app-mode .gds-app-public-outside{
    position:static!important;
    right:auto!important;
    bottom:auto!important;
    min-height:36px!important;
    padding:0 9px!important;
    margin-right:6px!important;
    font-size:11px!important;
    border-radius:8px!important;
  }
  body.gds-app-mode .gds-app-public-outside::before{
    margin-right:5px!important;
    font-size:14px!important;
  }
}


/* 2026-10-07 SAFE DESKTOP FULL ROLE NAV; MOBILE ORIGINAL PRESERVED */
.gds-app-desktop-role-nav{display:none}
@media (min-width:901px){
 body.gds-app-mode .gds-app-desktop-role-nav{width:100%!important;box-sizing:border-box!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:8px 12px!important;margin:0!important;background:#0b5f96!important;border-top:1px solid rgba(255,255,255,.16)!important;border-bottom:1px solid rgba(0,0,0,.08)!important;position:relative!important;z-index:9!important;font-family:Arial,sans-serif!important}
 body.gds-app-mode .gds-app-desktop-role-nav a,body.gds-app-mode .gds-app-desktop-role-nav button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:32px!important;padding:0 10px!important;margin:0!important;border:1px solid rgba(255,255,255,.32)!important;border-radius:7px!important;background:#0b67a7!important;color:#fff!important;text-decoration:none!important;font:800 11px/1 Arial,sans-serif!important;white-space:nowrap!important;cursor:pointer!important;box-shadow:none!important}
 body.gds-app-mode .gds-app-desktop-role-nav a.active,body.gds-app-mode .gds-app-desktop-role-nav a:hover,body.gds-app-mode .gds-app-desktop-role-nav a:focus{background:#fff!important;color:#083f6d!important}
 body.gds-app-mode .gds-app-desktop-role-nav .gds-app-desktop-logout{background:#c62828!important;border-color:#c62828!important;color:#fff!important}
}
@media (max-width:900px){body.gds-app-mode .gds-app-desktop-role-nav{display:none!important}}
\n\n/* 2026-10-07 FINAL DESKTOP NAV ORDER + DUPLICATE NAV CLEANUP */\n@media (min-width:901px){\n  body.gds-app-mode .gds-app-top{margin-bottom:0!important;}\n  body.gds-app-mode .gds-app-desktop-role-nav{\n    display:flex!important;\n    flex-wrap:wrap!important;\n    width:100%!important;\n    justify-content:center!important;\n    align-items:center!important;\n    gap:5px!important;\n    padding:7px 10px!important;\n    margin:0!important;\n    background:#0b5f96!important;\n    box-sizing:border-box!important;\n  }\n  body.gds-app-mode .gds-five-quick,\n  body.gds-app-mode .gds-five-nav{display:none!important;}\n}\n

/* 2026-10-07 REMOVE LEGACY DUPLICATE OFFICE QUICK NAV */
body.gds-app-mode .gds-five-quick,
body.gds-app-mode .gds-five-nav{display:none!important;}
