/* GACG OP-2026-11-09 — Mobile navigation, readable credit and safe-area controls.
   Scoped to existing Guide and Backstage UI; does not alter records or access policy. */
.gacg-foundation-footer .gacg-foot-copyright {
  position:fixed!important;
  inset:auto 0 0!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  min-height:54px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  text-align:left!important;
  padding:7px max(16px,calc((100vw - 1320px)/2 + 20px)) calc(9px + env(safe-area-inset-bottom,0px))!important;
  z-index:990!important;
  overflow:visible!important;
}
.gacg-foundation-footer .gacg-foot-copyright a {
  display:inline-block!important;
  width:auto!important;
  max-width:100%!important;
  text-align:left!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  line-height:1.4!important;
  text-decoration:none!important;
  vertical-align:top!important;
}
body:has(.gacg-foundation-footer .gacg-foot-copyright) {
  padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))!important;
}
.gacg-foundation-footer .gacg-foot-mark b,
.editor-top .editor-logo span,
.utility-band .logo .logo-dot,
.gacg-legal-head .gacg-legal-brand b {
  color:#d9ac53!important;
  -webkit-text-fill-color:#d9ac53!important;
}
.gacg-foot-links a,.gacg-editor-link {
  touch-action:manipulation;
}
.gacg-foundation-footer .gacg-foot-links {
  row-gap:10px!important;
}
@media(max-width:820px) {
  html,body{max-width:100%!important}
  .gacg-foundation-footer .gacg-foot-frame,
  .gacg-foundation-footer .gacg-foot-headline,
  .gacg-foundation-footer .gacg-foot-columns,
  .gacg-foundation-footer .gacg-foot-disclosures {
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .gacg-foundation-footer .gacg-foot-headline,
  .gacg-foundation-footer .gacg-foot-columns,
  .gacg-foundation-footer .gacg-foot-disclosures {
    grid-template-columns:minmax(0,1fr)!important;
  }
  .gacg-foundation-footer .gacg-foot-headline p,
  .gacg-foundation-footer .gacg-foot-columns p,
  .gacg-foundation-footer .gacg-foot-disclosures p,
  .gacg-public-wayfinding p {
    overflow-wrap:break-word!important;
    max-width:100%!important;
  }
  .top-nav{box-sizing:border-box!important;max-width:100%!important;overflow:visible!important}
  .top-nav nav {
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:9px 0!important;
  }
  .top-nav .top-nav-item {
    box-sizing:border-box!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    padding:10px 8px!important;
    border:1px solid #b48b50!important;
    white-space:normal!important;
    text-align:center!important;
    line-height:1.2!important;
    font-size:12px!important;
  }
  .gacg-legal-head nav,.editor-top nav {
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    grid-column:1 / -1!important;
    display:flex!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
    gap:10px!important;
    overflow:visible!important;
    padding-block:8px!important;
  }
  .gacg-legal-head nav a,.editor-top nav a {
    min-height:44px!important;
    box-sizing:border-box!important;
    display:inline-flex!important;
    justify-content:center!important;
    align-items:center!important;
    padding:10px 12px!important;
    white-space:normal!important;
    text-align:center!important;
  }
  body[data-page="desk"] header .gacg-subnav,
  body[data-page="job"] header .gacg-subnav,
  body[data-page="bulletin"] header .gacg-subnav,
  .editor-app .editor-subnav {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    gap:10px!important;
    padding:10px 0!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    flex-wrap:wrap!important;
  }
  body[data-page="desk"] header .gacg-subnav a,
  body[data-page="job"] header .gacg-subnav a,
  body[data-page="bulletin"] header .gacg-subnav a,
  .editor-app .editor-subnav a {
    display:inline-flex!important;
    min-width:0!important;
    width:100%!important;
    min-height:44px!important;
    box-sizing:border-box!important;
    justify-content:center!important;
    align-items:center!important;
    padding:10px 9px!important;
    text-align:center!important;
    white-space:normal!important;
    line-height:1.3!important;
  }
  body[data-page="desk"] header .gacg-desk-nav-divider {display:none!important}
  .gacg-foundation-footer .gacg-foot-links {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px 12px!important;
    min-width:0!important;
  }
  .gacg-foundation-footer .gacg-foot-links a {
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    padding:6px 8px!important;
    line-height:1.35!important;
  }
  .gacg-foundation-footer .gacg-foot-end small{white-space:normal!important;line-height:1.5!important}
  input,select,textarea,button{max-width:100%;box-sizing:border-box}
  .gacg-legal-main,.support-main,.editor-app main{min-width:0!important;max-width:100%!important}
}
@media(max-width:560px) {
  .top-nav nav {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .gacg-foundation-footer .gacg-foot-copyright {
    min-height:60px!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    text-align:left!important;
    padding:7px 12px calc(9px + env(safe-area-inset-bottom,0px))!important;
    font-size:clamp(10.5px,3vw,12px)!important;
    letter-spacing:.005em!important;
  }
  body:has(.gacg-foundation-footer .gacg-foot-copyright) {
    padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))!important;
  }
  .gacg-foot-frame{padding-left:12px!important;padding-right:12px!important}
  .gacg-foundation-footer .gacg-foot-links{gap:8px!important}
  .gacg-foundation-footer .gacg-foot-links a{font-size:11px!important}
  .gacg-legal-head nav a,.editor-top nav a{flex:1 1 calc(50% - 10px)!important}
  .support-actions,.gacg-media-actions,.gacg-community-actions{
    display:flex!important;flex-wrap:wrap!important;gap:10px!important;
  }
  .support-actions a,.gacg-media-actions button,.gacg-community-actions button{
    flex:1 1 100%!important;width:100%!important;min-height:44px!important;
  }
  .gacg-member-split,.gacg-media-grid{grid-template-columns:minmax(0,1fr)!important}
  .search-dialog{max-width:calc(100vw - 16px)!important}
}
@media(prefers-reduced-motion:reduce){
  .gacg-foundation-footer .gacg-foot-links a,.top-nav .top-nav-item{scroll-behavior:auto!important}
}
/* November 9 GACG public navigation repair: no floating All Chapters, only the dark GACG strip fixes on scroll. */
.network-head .top-nav,
.network-head .top-nav.gacg-scroll-nav-is-fixed{
 position:static!important;top:auto!important;left:auto!important;right:auto!important;
 box-shadow:none!important;transform:none!important;
}
.network-head .top-nav #allChapters[hidden],
#allChapters[hidden]{display:none!important;visibility:hidden!important;position:static!important}
.network-head .top-nav{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.network-head .top-nav nav{min-width:0;max-width:100%;box-sizing:border-box}
.network-head .top-nav .top-nav-item{position:static!important;max-width:100%;text-align:center}
.network-head .utility-band.gacg-scroll-nav-is-fixed{
 position:fixed!important;top:0!important;left:0!important;right:0!important;
 width:100%!important;max-width:100%!important;z-index:1005!important;
 background:#272218!important;color:#fff2d6!important;
 box-shadow:0 2px 7px rgba(35,25,10,.18)!important;
}
.network-head .utility-band .logo{white-space:nowrap!important;flex-shrink:0!important}
.network-head .utility-band .utility-label{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important}
.network-head .utility-band .utility-inner{box-sizing:border-box!important;max-width:100%!important;min-width:0!important}
.network-head .utility-band .utility-right{flex-shrink:0!important}
@media(max-width:820px){
 .network-head .top-nav{display:block!important;overflow:visible!important;min-height:0!important}
 .network-head .top-nav nav{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  justify-content:stretch!important;align-items:stretch!important;
  margin:0!important;padding:10px 0!important;gap:10px!important;
 }
 .network-head .top-nav .top-nav-item{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;min-height:44px!important;
  padding:9px 6px!important;margin:0!important;box-sizing:border-box!important;
  font:800 12px/1.25 "Archivo Narrow",Archivo,Arial,sans-serif!important;
  letter-spacing:.03em!important;white-space:normal!important;
  text-align:center!important;overflow-wrap:anywhere!important;
  background:transparent!important;color:#402c1b!important;
  border:1px solid #a5804a!important;
 }
}
@media(max-width:560px){
 .network-head .top-nav nav{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .network-head .top-nav .top-nav-item{font-size:12px!important;min-height:44px!important}
 .network-head .utility-band .utility-label{display:none!important}
 .network-head .utility-band .utility-inner{gap:8px!important}
 .network-head .utility-band .utility-action{padding:7px 4px!important}
}
/* Universal fixed creator credit: one short, linked line. */
.gacg-foundation-footer .gacg-foot-copyright{
 justify-content:center!important;align-items:center!important;text-align:center!important;
 flex-wrap:nowrap!important;min-height:49px!important;
 padding:9px 14px max(9px,env(safe-area-inset-bottom))!important;
}
.gacg-foundation-footer .gacg-foot-copyright a{
 text-align:center!important;text-decoration:none!important;text-decoration-line:none!important;
 font:900 12px/1.3 "Archivo Narrow",Archivo,Arial,sans-serif!important;
 color:#3e2f20!important;-webkit-text-fill-color:#3e2f20!important;
 letter-spacing:.06em!important;
}
@media(max-width:560px){
 .gacg-foundation-footer .gacg-foot-copyright{
  min-height:49px!important;align-items:center!important;justify-content:center!important;
  text-align:center!important;padding:8px 12px max(8px,env(safe-area-inset-bottom))!important;
 }
 .gacg-foundation-footer .gacg-foot-copyright a{
  text-align:center!important;font-size:11px!important;
 }
}
/* Decade navigation is Timeline-only, directly above copyright, never above the GACG masthead. */
#gacgDecadeNav[hidden]{display:none!important}
#gacgDecadeNav{
 position:fixed!important;z-index:989!important;bottom:var(--gacg-credit-height,54px)!important;
 left:0!important;right:0!important;width:100%!important;box-sizing:border-box!important;
 display:flex!important;align-items:center!important;gap:0!important;
 background:#f1e3bd!important;border-top:2px solid #ab864e!important;
 box-shadow:0 -2px 8px rgba(41,32,21,.12)!important;
 min-height:53px!important;padding:0 max(16px,calc((100vw - 1320px)/2 + 18px))!important;
}
#gacgDecadeNav .gacg-decade-label{
 display:block;flex:0 0 auto;padding:0 16px 0 0!important;
 font:900 11px/1.3 "Archivo Narrow",Archivo,Arial,sans-serif!important;
 color:#6d4b29!important;letter-spacing:.09em!important;
}
#gacgDecadeNav .gacg-decade-links{
 display:flex!important;align-items:center!important;gap:4px!important;flex:1 1 auto!important;
 min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important;
 padding:8px 0!important;white-space:nowrap!important;
}
#gacgDecadeNav .gacg-decade-button{
 position:static!important;display:inline-flex!important;flex:0 0 auto!important;
 min-width:62px!important;min-height:34px!important;align-items:center!important;justify-content:center!important;
 padding:7px 9px!important;margin:0!important;border:1px solid transparent!important;
 border-radius:0!important;background:transparent!important;color:#654623!important;
 font:900 12px/1.2 "Archivo Narrow",Archivo,Arial,sans-serif!important;
 text-decoration:none!important;cursor:pointer!important;
}
#gacgDecadeNav .gacg-decade-button:hover,
#gacgDecadeNav .gacg-decade-button:focus-visible,
#gacgDecadeNav .gacg-decade-button.is-current{
 background:#e4c992!important;border-color:#a88451!important;color:#35251a!important;
}
#gacgDecadeNav .gacg-decade-button:focus-visible{outline:2px solid #6e512e!important;outline-offset:1px!important}
body:has(#gacgDecadeNav:not([hidden])){padding-bottom:calc(var(--gacg-credit-height,54px) + 74px)!important}
body:has(#gacgDecadeNav) .ch-year-heading[id^="year-"]{scroll-margin-top:80px!important}
@media(max-width:560px){
 #gacgDecadeNav{min-height:50px!important;padding:0 10px!important}
 #gacgDecadeNav .gacg-decade-label{font-size:10px!important;padding-right:8px!important}
 #gacgDecadeNav .gacg-decade-button{min-width:54px!important;font-size:11px!important}
}
@media print{#gacgDecadeNav{display:none!important}}
