/* ATHRTY X-209 | Immersive precision, no geometry surprises.
 * Layer on top of X-206/X-207/X-208 without altering data, navigation or client canvases.
 * Atmosphere is behind existing content; foreground text, live embeds and actual site previews win. */
:where(body.v62-shell,body.v393-operator,.v16-site){
 --x209-glow:var(--athrty-accent,var(--x207-accent,var(--accent,#a9dfc8)));
 --x209-ink:var(--athrty-text-primary,var(--x207-ink,var(--text,#eaf3ec)));
 --x209-edge:var(--athrty-border,var(--x207-edge,var(--border,#465b51)));
 --x209-motion:cubic-bezier(.22,.8,.23,1);
}
body.v62-shell #main>.hero{
 position:relative;isolation:isolate;
}
body.v62-shell #main>.hero::before{
 content:"";pointer-events:none;position:absolute;z-index:-1;
 inset:0;background:
 radial-gradient(ellipse 48% 50% at 82% 25%,color-mix(in srgb,var(--x209-glow) 7%,transparent),transparent 90%),
 radial-gradient(ellipse 38% 45% at 15% 78%,color-mix(in srgb,var(--x209-glow) 3%,transparent),transparent 95%);
}
body.v62-shell #main>.hero>:not(.skip){position:relative}
body.v62-shell :is(.ladder-card,.module-card){
 scroll-margin-block-start:100px;
}
body.v62-shell :is(.ladder-card,.module-card,.result-card) :is(h3,p,small){
 text-wrap:pretty;overflow-wrap:break-word;
}
body.v62-shell #modulesGrid>.px453-module>p:not(.px38-card-dependencies){
 white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
 max-width:63ch!important;
}
body.v62-shell #ladder .px453-ladder>details,
.v16-site .px452-card>details{scroll-margin-block-start:96px}
body.v62-shell #ladder .px453-ladder>details>summary,
.v16-site .px452-card>details>summary{
 text-decoration:none;letter-spacing:0;
}
body.v62-shell #ladder .px453-ladder>details>summary:hover,
.v16-site .px452-card>details>summary:hover{
 text-decoration:underline;text-underline-offset:5px;
}
body.v62-shell #ladder .px453-ladder:focus-within,
body.v62-shell #modulesGrid>.px453-module:focus-within{
 outline:0;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--x209-glow) 24%,transparent)!important;
}
/* Functional previews have their own media rail; atmospheric photography stays outside it. */
.v16-site .v16-grid>.px455-work-card{
 isolation:isolate;overflow:hidden!important;
}
.v16-site .px455-work-card>p.px455-lead{
 white-space:normal!important;text-overflow:clip!important;overflow:visible!important;
 max-width:55ch!important;line-height:1.55!important;
}
.v16-site .px455-work-card>.px455-preview{
 isolation:isolate;overflow:hidden;min-width:0;max-width:100%;
}
.v16-site .px455-work-card .px455-viewport{
 box-sizing:border-box;width:100%;max-width:100%;min-width:0;position:relative;overflow:hidden;
}
.v16-site .px455-work-card .px455-viewport>iframe{
 display:block;border:0;width:100%;max-width:100%;height:100%;
}
.v16-site .px455-work-card .px455-viewport :is(img,video){
 display:block;max-width:100%;object-fit:cover;
}
.v16-site .px455-work-card .px455-browser-bar{
 min-width:0;max-width:100%;box-sizing:border-box;
}
.v16-site .px455-work-card .px455-browser-label{min-width:0;overflow:hidden;text-overflow:ellipsis}
.v16-site .px455-work-card .px455-browser-actions{flex-shrink:0}
.v16-site .px455-work-card .px455-browser-actions :is(button,a){white-space:nowrap}
.v16-site .v16-grid>.px455-work-card .px455-footer{
 min-width:0;max-width:100%;row-gap:10px;
}
.v16-site .px455-work-card .px455-footer a{min-height:44px}
/* Shared content surfaces: typography and actions should not shift when the theme changes. */
:where(body.v393-operator,body.v70-ui,.v16-site)
:is(.v33-card,.v32-opportunity,.v191-workspace-card,.px452-card,.px409-stage)
:not(:where(.native-frame *,#nativePreview *,[data-site-canvas] *,[data-customer-site] *,.preview-stage *)){
 min-width:0;max-width:100%;background-clip:padding-box;
}
:where(body.v393-operator,body.v70-ui,.v16-site)
:is(.v33-card,.v32-opportunity,.v191-workspace-card,.px452-card,.px409-stage)
:not(:where(.native-frame *,#nativePreview *,[data-site-canvas] *,[data-customer-site] *,.preview-stage *))
:is(h2,h3,h4){text-wrap:balance;overflow-wrap:break-word}
:where(body.v393-operator,body.v70-ui,.v16-site)
:is(.v33-card,.v32-opportunity,.v191-workspace-card,.px452-card,.px409-stage)
:not(:where(.native-frame *,#nativePreview *,[data-site-canvas] *,[data-customer-site] *,.preview-stage *))
:is(p,small){text-wrap:pretty;overflow-wrap:break-word}
/* No hover lift: perceived stability beats attention-seeking motion. */
@media(hover:hover) and (pointer:fine){
 body.v62-shell #ladder .ladder-card,
 body.v62-shell #modulesGrid>.module-card,
 .v16-site .v16-grid>.px452-card{
  transform:none!important;
  transition:border-color 170ms var(--x209-motion),background-color 170ms var(--x209-motion)!important;
 }
}
/* Avoid fullscreen cards accidentally producing mobile horizontal scroll. */
@media(max-width:700px){
 body.v62-shell #ladder .px453-ladder-art,
 body.v62-shell #modulesGrid>.px453-module-art,
 .v16-site .px452-art{pointer-events:none}
 .v16-site .px455-work-card .px455-browser-bar{
  display:flex;flex-wrap:wrap;row-gap:4px;padding-block:8px!important;
 }
 .v16-site .px455-work-card .px455-viewport{min-height:0}
 .v16-site .px455-work-card .px455-footer{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){
 body.v62-shell :is(.ladder-card,.module-card,details),
 .v16-site :is(.px452-card,.px455-work-card,.px409-stage){
  scroll-behavior:auto!important;transition:none!important;animation:none!important;
 }
 .v16-site .px455-work-card::before{transition:none!important;transform:none!important}
}
@media(prefers-reduced-transparency:reduce){
 body.v62-shell #main>.hero::before{opacity:0}
}
@media(forced-colors:active){
 body.v62-shell #main>.hero::before{display:none}
 body.v62-shell #ladder .ladder-card:focus-within{outline:1px solid Highlight}
}