/* The site's menu and footer around a sector plan. Only the published site loads this sheet
   (tools/construir-sectores.mjs): the prototype keeps its own bar (CD-621). */
body.con-sitio header:not(.hdr):not(.hdr){top:calc(var(--hdr-h) + 10px)}
body.con-sitio header:not(.hdr):not(.hdr) img{display:none}
body.con-sitio header:not(.hdr):not(.hdr)::before{top:calc(-10px - var(--hdr-h));height:calc(var(--hdr-h) + 110px)}
body.con-sitio .cap.con-pasos .panel-texto{top:calc(120px + var(--hdr-h))}
/* The chapter text never rises under the plan bar, which now sits under the site menu. On a phone it
   keeps the world visible above the card; the technology chapter flows with the page instead (viaje.css) */
body.con-sitio .panel-texto{top:max(calc(50vh - 150px),calc(var(--hdr-h) + 80px))}
body.con-sitio #viaje>.mundo-ancla:first-child+.cap{padding-top:calc(var(--hdr-h) + 60px)}
body.con-sitio .hoja{padding-top:calc(96px + var(--hdr-h))}
/* The footer closes the page above the 3D world, the labels and the chapter rail */
body.con-sitio .foot{position:relative;z-index:6}
/* The technology chapter scrolls inside by design (its checklist): on the site it starts right under the
   plan bar and ends at the bottom of the screen, so nothing of the list falls below the window */
@media (min-width:761px){
  body.con-sitio .cap.con-inventario .panel-texto{top:calc(var(--hdr-h) + 64px);max-height:calc(100vh - var(--hdr-h) - 70px)}
}
