/* Web 3.19: one static top bar across all Master routes, not injected after page load. */
body.central-app .central-topbar,
body.gi318-admin-page .gi318-main-area > header.gi310-topbar,
body.gi317-admin-finance .gi318-main-area > header.gi310-topbar {
 box-sizing:border-box!important;position:sticky!important;top:0!important;
 width:100%!important;min-width:0!important;min-height:64px!important;height:64px!important;
 margin:0!important;padding:9px 26px!important;z-index:65!important;
 background:#fff!important;color:#0e2c45!important;border:0!important;
 border-bottom:1px solid #dce5ee!important;box-shadow:none!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:16px!important;border-radius:0!important;font-family:inherit!important;
}
body.central-app .central-topbar .gi319-topbar-identity,
body.gi318-admin-page .gi310-topbar .gi319-topbar-identity,
body.gi317-admin-finance .gi310-topbar .gi319-topbar-identity {
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 gap:1px!important;min-width:0!important;margin:0!important;
}
.gi319-topbar-identity strong{font-size:13px!important;font-weight:800!important;line-height:1.4!important;color:#0c2d45!important}
.gi319-topbar-identity span{font-size:11px!important;font-weight:450!important;line-height:1.4!important;color:#7890a2!important;white-space:normal!important}
.gi319-chip{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;
 padding:7px 12px;border-radius:99px;border:1px solid #d9eeee;
 background:#eaf7f6;color:#296378;font-weight:800;font-size:10px;letter-spacing:.06em;white-space:nowrap}
/* Redundant finance navigation in the inner document must not form a second header. */
body.gi317-admin-finance .gi318-content>.gi39-shell>header{display:none!important}
body.gi317-admin-finance .gi318-content>.gi39-shell{padding-top:0!important}
.gi319-account-card{max-width:650px;margin-top:20px}
.gi319-account-card label{display:block;margin:16px 0 7px;font-size:13px;font-weight:700}
.gi319-account-card input{box-sizing:border-box;display:block;width:100%;margin-top:6px;min-height:44px;border:1px solid #cbd9e3;border-radius:8px;padding:10px 12px;font-size:15px}
.gi319-account-card button{margin-top:12px}
.gi319-account-card .muted{margin-top:15px;font-size:12px}
.gi319-ok{color:#075d4f;background:#e5f6ee;border:1px solid #abdccc;border-radius:8px;padding:12px}
.gi319-account-card .error{padding:12px;border-radius:8px;background:#fff1ef;color:#903c3c}
@media(max-width:760px){
 body.central-app .central-topbar,
 body.gi318-admin-page .gi318-main-area > header.gi310-topbar,
 body.gi317-admin-finance .gi318-main-area > header.gi310-topbar{padding:8px 14px!important;gap:9px!important}
 .gi319-chip{display:none}.gi319-topbar-identity span{font-size:10px!important}
}

/* Web 3.20, account controls */
.gi319-account-card + .gi319-account-card{margin-top:18px}
.gi319-account-card button{background:#06766f;color:#fff;border:0;border-radius:8px;min-height:42px;padding:10px 16px;cursor:pointer}

/* GI-3247-MASTER-MOBILE-HEADER-BEGIN */
/* Mobile-only: remove overlapping identification and badge in Master topbar.
   No Atlas layout, map, forms, desktop grid, or navigation structure changed. */
@media screen and (max-width: 767px) {
  body.central-app .central-topbar {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 72px !important;
    padding: 10px 14px 10px 150px !important;
  }
  body.central-app .central-topbar .gi319-topbar-identity,
  body.central-app .central-topbar .gi319-chip {
    display: none !important;
  }
  body.central-app .central-topbar #gi322-master-privacy-button {
    position: static !important;
    box-sizing: border-box !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    white-space: nowrap !important;
    font-size: 0.85rem !important;
  }
}
/* GI-3247-MASTER-MOBILE-HEADER-END */

/* GI3252_VISUAL_FIX_START */
@media (min-width: 1101px) {
  .gi310-topbar,
  .gi319-topbar-identity {
    position: relative !important;
    z-index: 5 !important;
  }
}

@media (max-width: 1100px) {
  .gi318-sidebar {
    position: relative !important;
    height: auto !important;
    min-width: 100% !important;
    width: 100% !important;
  }
}
/* GI3252_VISUAL_FIX_END */
