/*
  ADS 43.2 Phase 10 — Global Desktop Width / Freeze Controller
  Purpose: preserve the approved desktop composition on phones, tablets, Chrome zoom,
  and narrow browser windows instead of letting late mobile rescue rules crush the grids.

  Design rule:
  - 1600px is the common Systems layout viewport/canvas.
  - The root homepage may remain wider (1760px) where its own gold-master CSS requests it.
  - Portal Planet remains a 1540px content canvas inside the 1600px site canvas.
  - Do not globally rewrite project grid counts. Existing desktop page CSS remains authoritative.
  - Specific overrides below only neutralize known mobile/zoom collapse rules on the Systems home
    and Portal Planet branch.
*/

:root{
  --ads-system-canvas:1600px;
  --ads-portal-canvas:1540px;
}

html,body{
  min-width:var(--ads-system-canvas)!important;
  max-width:none!important;
  overflow-x:auto!important;
  -webkit-text-size-adjust:100%!important;
  text-size-adjust:100%!important;
}

body>header,
header.aurora-uhd,
.site-header,
.ads-site-header,
.topbar,
.navbar,
.masthead{
  min-width:var(--ads-system-canvas)!important;
  max-width:none!important;
}

img,picture,video,canvas,svg{
  max-width:100%;
}

/* ------------------------------------------------------------------
   Root Systems homepage: keep the approved five-card Tier rows and
   three-column division field, even when browser zoom narrows CSS px.
   ------------------------------------------------------------------ */
.quick-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.quick-head{
  flex-direction:row!important;
  align-items:flex-end!important;
}
.quick-access{
  padding:24px!important;
}
.quick-card{
  min-height:306px!important;
}
.quick-card .art{
  height:142px!important;
  aspect-ratio:auto!important;
}
.quick-card .body{
  padding:13px 14px 14px!important;
}
.quick-card .cat{
  font-size:10.5px!important;
}
.quick-card h3{
  font-size:21px!important;
  line-height:1.02!important;
}
.quick-card p{
  font-size:13px!important;
  line-height:1.36!important;
}
.quick-card .go{
  font-size:12.5px!important;
}
.home-card-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.hero-feature-row{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

/* ------------------------------------------------------------------
   Portal Planet: preserve the desktop technical-handbook composition.
   These selectors neutralize the branch's <=1100 / <=760 collapse rules.
   ------------------------------------------------------------------ */
body.pp-body{
  min-width:var(--ads-system-canvas)!important;
  overflow-x:auto!important;
}
body.pp-body .pp-wrap{
  width:var(--ads-portal-canvas)!important;
  min-width:var(--ads-portal-canvas)!important;
  max-width:var(--ads-portal-canvas)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.pp-body .pp-program-nav{
  position:sticky!important;
}
body.pp-body .pp-hero{
  min-height:700px!important;
}
body.pp-body .pp-hero-copy{
  width:720px!important;
  padding:clamp(80px,10vw,145px) 0 120px clamp(18px,7vw,115px)!important;
}
body.pp-body .pp-intro{
  grid-template-columns:.9fr 1.1fr!important;
}
body.pp-body .pp-section-head{
  grid-template-columns:1fr .78fr!important;
}
body.pp-body .pp-feature{
  grid-template-columns:1.08fr .92fr!important;
}
body.pp-body .pp-feature.reverse{
  grid-template-columns:.92fr 1.08fr!important;
}
body.pp-body .pp-portal-grid{
  grid-template-columns:repeat(4,minmax(190px,1fr))!important;
}
body.pp-body .pp-step-grid,
body.pp-body .pp-info-grid,
body.pp-body .pp-transition-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.pp-body .pp-destination-grid,
body.pp-body .pp-gallery-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
body.pp-body .pp-page-head{
  grid-template-columns:.92fr 1.08fr!important;
}
body.pp-body .pp-cover-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.pp-body .pp-flow{
  display:flex!important;
  flex-wrap:nowrap!important;
}
body.pp-body .pp-flow span{
  flex:1 1 0!important;
  min-height:88px!important;
  border-radius:50%!important;
}
body.pp-body .pp-flow i{
  transform:none!important;
}
body.pp-body .pp-footer{
  flex-direction:row!important;
  align-items:center!important;
}

/* Preserve full technical renderings; cropping remains deliberate only where
   the local page explicitly uses a cinematic hero/background treatment. */
body.pp-body .pp-page-hero-media img,
body.pp-body .pp-future-clean-media img,
body.pp-body .pp-diagram{
  height:auto!important;
  object-fit:contain!important;
}
