/* initial-presentation/1: parser-time retirement, independent of module loading.
   Native ports remain in the DOM for the application state machine. */
@layer telaio-initial-presentation {
 [data-telaio-view-port="utility"]:not([data-telaio-view-utility]){display:none!important}
 [data-telaio-consumer="sf"] > :is(.sf3d__revision-position,.es3d-procedure-bar),
 [data-telaio-consumer="quote"] .ps3d__workflow-shell > .es3d-procedure-bar,
 [data-telaio-consumer="bf"] > .es3d-procedure-bar,
 [data-telaio-consumer="ombra"] .journey,
 [data-telaio-consumer="libro"] .mobile-scroll-cue,
 html[data-telaio-embedded="fb"] body > :is(.topbar,.steps,#revisionActions) {
  display:none!important;
  margin:0!important;
  padding:0!important;
  min-height:0!important;
  height:0!important;
 }
}
/* NascitaSegno: the native mobile grid must be usable before model-preview hydrates it. */
@media(max-width:1119px){
 [data-telaio-initial="ns"] #workspace:not([data-telaio-preview-columns]){grid-template-columns:minmax(0,1fr)!important}
}

/* startup-stability/1: do not paint the unadapted owner surface before
   Telaio and the canonical navigation have completed their first layout.
   The DOM remains present for SEO and no-script clients; the timed fallback
   prevents a partial JavaScript failure from leaving the page unavailable. */
@keyframes telaio-startup-fallback-reveal {
 to { visibility:visible; opacity:1; }
}
@media (scripting:enabled) {
 html:not([data-telaio-embedded]):not(.telaio-ready) body.telaio-startup-host,
 html:not([data-telaio-embedded]):not(.esnav-ready) body.telaio-startup-host,
 html:has([data-telaio-consumer]):not([data-telaio-embedded]):not(.telaio-ready) body,
 html:has([data-telaio-consumer]):not([data-telaio-embedded]):not(.esnav-ready) body,
 html[data-telaio-embedded]:has([data-telaio-consumer]):not(.telaio-ready) body {
  visibility:hidden;
  opacity:0;
  animation:telaio-startup-fallback-reveal 0s 3s forwards;
 }
 html:not([data-telaio-embedded]):not(.telaio-ready):has(body.telaio-startup-host)::before,
 html:not([data-telaio-embedded]):not(.esnav-ready):has(body.telaio-startup-host)::before,
 html:has([data-telaio-consumer]):not([data-telaio-embedded]):not(.telaio-ready)::before,
 html:has([data-telaio-consumer]):not([data-telaio-embedded]):not(.esnav-ready)::before {
  content:"";
  position:fixed;
  z-index:2147483000;
  inset:0 0 auto;
  height:56px;
  background:#0d2018;
 }
 html.telaio-ready.esnav-ready:not([data-telaio-embedded]) body.telaio-startup-host,
 html.telaio-ready.esnav-ready:has([data-telaio-consumer]):not([data-telaio-embedded]) body,
 html[data-telaio-embedded].telaio-ready:has([data-telaio-consumer]) body {
  visibility:visible;
  opacity:1;
  animation:none;
 }
 html.telaio-ready.esnav-ready:not([data-telaio-embedded]):has(body.telaio-startup-host)::before,
 html.telaio-ready.esnav-ready:has([data-telaio-consumer]):not([data-telaio-embedded])::before { content:none; }
}
@media (scripting:enabled) and (min-width:960px) {
 html:not([data-telaio-embedded]):not(.telaio-ready):has(body.telaio-startup-host)::before,
 html:not([data-telaio-embedded]):not(.esnav-ready):has(body.telaio-startup-host)::before,
 html:has([data-telaio-consumer]):not([data-telaio-embedded]):not(.telaio-ready)::before,
 html:has([data-telaio-consumer]):not([data-telaio-embedded]):not(.esnav-ready)::before { height:76px; }
}
