/* Scoped to PWA navigation sessions only; never hide portal modules or user content. */
html.wash-edition-app-session body :is(#masthead,#colophon,.site-header,.site-footer,.main-header,.main-footer,.top-header,.top-bar,.header-top,.topbar,.ast-above-header-wrap,.ast-below-header-wrap,.ast-primary-header-bar,.ast-footer-wrap,.elementor-location-header,.elementor-location-footer,.main-navigation,.primary-navigation,.quick-links,.quicklinks,.quick-links-menu,#quick-links,#quicklinks,.back-to-top,.scroll-to-top,.site-info,.footer-widgets,.breadcrumbs,.breadcrumb,.cky-consent-container,#cookie-law-info-bar){display:none!important}
html.wash-edition-app-session body{padding-bottom:78px!important}
html.wash-edition-app-session .wash-edition-navigation{position:fixed!important;bottom:0;left:0;right:0;z-index:2147482000;display:flex;justify-content:space-around;align-items:stretch;background:#102b4d;color:#fff;border-top:3px solid #ef7d18;padding:7px 5px max(8px,env(safe-area-inset-bottom));box-shadow:0 -4px 16px #0a1e3540}
html.wash-edition-app-session .wash-edition-navigation>a,html.wash-edition-app-session .wash-edition-navigation>button{width:25%;min-width:0;border:0;background:transparent;color:#fff!important;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;text-decoration:none!important;font:600 12px/1.3 Arial,sans-serif;padding:3px 0;cursor:pointer}
html.wash-edition-app-session .wash-edition-navigation>a span:first-child,html.wash-edition-app-session .wash-edition-navigation>button span:first-child{font-size:22px;line-height:1.1}

/* The School Edition login's narrow contact and notice ribbon, only inside the PWA. */
html.wash-edition-app-session body :is(.top-contact-bar,.header-contact-bar,.header-contact,.top-contact,.contact-bar,.header-notice-bar,.notice-bar,.top-info-bar,.header-info-bar){display:none!important}

/* School Edition role portals: remove website chrome, not the app shell or portal content.
   Activated only in an established PWA session, on the four School role portal URLs. */
html.wash-school-portal-app-page body :is(
  #masthead,#colophon,#site-header,#site-footer,.site-header,.site-footer,
  .main-header,.main-footer,.header-top,.top-header,.top-bar,.topbar,
  .top-contact-bar,.header-contact-bar,.header-contact,.top-contact,.contact-bar,
  .header-notice-bar,.notice-bar,.top-info-bar,.header-info-bar,
  .ast-above-header-wrap,.ast-below-header-wrap,.ast-primary-header-bar,
  .ast-mobile-header-wrap,.ast-desktop-header-wrap,.ast-footer-wrap,
  .elementor-location-header,.elementor-location-footer,
  .main-navigation,.primary-navigation,.site-navigation,.main-ribbon-menu,
  .quick-links,.quicklinks,.quick-links-menu,.quicklinks-menu,#quick-links,#quicklinks,
  [id*="quick-links"],[class*="quick-links"],[id*="quicklinks"],[class*="quicklinks"],
  .footer-widgets,.site-info,.breadcrumbs,.breadcrumb,.back-to-top,.scroll-to-top
){display:none!important;visibility:hidden!important}
/* Avoid removing app-specific top navigation and bottom navigation. */
html.wash-school-portal-app-page body{margin-top:0!important}
