/* Prime Creation // adaptive stability companion v4 landscape-fit
   PrimeViewportAuthority owns scroll settlement/locking through PrimePlatformAdapter.
   Studio carousel geometry is owned by PrimeStudioInstallation; this file only
   coordinates page composition and scroll-anchor stability. */

html[data-prime-adaptive-authority] body.prime-v2 #main[data-app-shell]>.app-window.is-prime-viewport-active,
html[data-prime-adaptive-authority] body.prime-v2 #main[data-app-shell]>.app-window.is-prime-viewport-active [data-prime-local-scroll],
html[data-prime-adaptive-authority] body.prime-v2 #main[data-app-shell]>.app-window.is-prime-viewport-active [data-prime-scroll-snap],
html[data-prime-adaptive-authority] body.prime-v2 #studio .studio-gallery.ready{overflow-anchor:none!important}

html[data-prime-adaptive-authority] body.prime-v2 #studio .studio-console{align-self:start!important;width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
html[data-prime-adaptive-authority] body.prime-v2 #studio .studio-gallery.ready[data-prime-carousel="rotating"]{width:100%!important;min-width:0!important;overflow:hidden!important;overscroll-behavior:contain!important;scroll-snap-type:none!important;scroll-behavior:auto!important}
html[data-prime-adaptive-authority] body.prime-v2 #studio .studio-gallery.ready[data-prime-carousel="rotating"] .studio-shot-stage,
html[data-prime-adaptive-authority] body.prime-v2 #studio .studio-gallery.ready[data-prime-carousel="rotating"] .studio-shot-open,
html[data-prime-adaptive-authority] body.prime-v2 #studio .studio-gallery.ready[data-prime-carousel="rotating"] :is(img,video){min-width:0!important;min-height:0!important}

html[data-prime-adaptive-authority][data-prime-orientation="portrait"] body.prime-v2 #studio.is-prime-viewport-active>.studio-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;align-content:start!important;height:auto!important;min-height:100%!important}
html[data-prime-adaptive-authority][data-prime-orientation="portrait"] body.prime-v2 #studio .studio-copy,
html[data-prime-adaptive-authority][data-prime-orientation="portrait"] body.prime-v2 #studio .studio-console,
html[data-prime-adaptive-authority][data-prime-orientation="portrait"] body.prime-v2 #studio .studio-request-shell{grid-column:1!important;width:100%!important}
html[data-prime-adaptive-authority][data-prime-orientation="portrait"] body.prime-v2 #studio .studio-copy{grid-row:1!important}
html[data-prime-adaptive-authority][data-prime-orientation="portrait"] body.prime-v2 #studio .studio-console{grid-row:2!important}
html[data-prime-adaptive-authority][data-prime-orientation="portrait"] body.prime-v2 #studio .studio-request-shell{grid-row:3!important;margin-top:0!important}

html[data-prime-adaptive-authority][data-prime-orientation="landscape"] body.prime-v2 #studio.is-prime-viewport-active{overflow:hidden!important;overscroll-behavior:none!important;touch-action:manipulation!important}
html[data-prime-adaptive-authority][data-prime-orientation="landscape"] body.prime-v2 #studio.is-prime-viewport-active>.studio-layout{display:grid!important;grid-template-columns:minmax(13rem,.7fr) minmax(0,1.3fr)!important;grid-template-rows:minmax(0,1fr) auto!important;align-content:stretch!important;align-items:center!important;gap:clamp(.4rem,1.2vw,.8rem)!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;margin:0!important;padding:clamp(.3rem,.8vh,.5rem) clamp(.45rem,1.2vw,.72rem) calc(var(--prime-pill-height,2.8rem) + .34rem)!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y pinch-zoom!important;scrollbar-width:none!important}
html[data-prime-adaptive-authority][data-prime-orientation="landscape"] body.prime-v2 #studio.is-prime-viewport-active>.studio-layout::-webkit-scrollbar{display:none!important}
html[data-prime-adaptive-authority][data-prime-orientation="landscape"] body.prime-v2 #studio .studio-copy{grid-column:1!important;grid-row:1!important;align-self:center!important;min-width:0!important;max-height:100%!important;overflow:hidden!important}
html[data-prime-adaptive-authority][data-prime-orientation="landscape"] body.prime-v2 #studio .studio-copy h2{font-size:clamp(1.8rem,min(4.8vw,7vh),4.4rem)!important;line-height:.84!important;margin:.25rem 0 0!important}
html[data-prime-adaptive-authority][data-prime-orientation="landscape"] body.prime-v2 #studio .studio-copy>p:not(.eyebrow){font-size:clamp(.62rem,1vw,.78rem)!important;line-height:1.3!important;margin:.35rem 0 0!important;display:-webkit-box!important;-webkit-line-clamp:4!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
html[data-prime-adaptive-authority][data-prime-orientation="landscape"] body.prime-v2 #studio .studio-capabilities{gap:.24rem!important;margin-top:.38rem!important}
html[data-prime-adaptive-authority][data-prime-orientation="landscape"] body.prime-v2 #studio .studio-capabilities span{padding:.3rem .42rem!important;font-size:.46rem!important}
html[data-prime-adaptive-authority][data-prime-orientation="landscape"] body.prime-v2 #studio .studio-actions{margin-top:.4rem!important}
html[data-prime-adaptive-authority][data-prime-orientation="landscape"] body.prime-v2 #studio .studio-actions .button{min-height:2.2rem!important;padding:.4rem .62rem!important;font-size:.58rem!important}
html[data-prime-adaptive-authority][data-prime-orientation="landscape"] body.prime-v2 #studio .studio-console{grid-column:2!important;grid-row:1!important;align-self:stretch!important;height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
html[data-prime-adaptive-authority][data-prime-orientation="landscape"] body.prime-v2 #studio .studio-request-shell{grid-column:1/-1!important;grid-row:2!important;width:100%!important;margin:0!important}
html[data-prime-adaptive-authority][data-prime-orientation="landscape"][data-prime-height-tier="short"] body.prime-v2 #studio .studio-request-shell{max-height:42vh!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
html[data-prime-adaptive-authority][data-prime-orientation="landscape"][data-prime-height-tier="short"] body.prime-v2 #studio .studio-copy>p:not(.eyebrow){-webkit-line-clamp:2!important}
