/* Keep the navigation shell stable while page content is prepared. */
html{background:var(--bg)}
html[data-page-state=pending] .page-layout{height:100dvh;min-height:0;overflow:hidden}
html[data-page-state=pending] .page-layout main{flex:1;min-height:0;visibility:hidden}
html[data-page-state=pending] .page-layout .header{flex:0 0 80px;min-height:80px}
html[data-page-state=pending] .page-layout .page-footer{flex:none;min-height:40px;padding-top:0;padding-bottom:0;font-size:10px}
@media(max-width:700px){html[data-page-state=pending] .page-layout .header{flex-basis:62px;min-height:62px}}
@media(max-height:500px) and (min-width:701px){html[data-page-state=pending] .page-layout .header{flex-basis:52px;min-height:52px}}
@media(max-width:700px) and (max-height:540px){html[data-page-state=pending] .page-layout .header{flex-basis:52px;min-height:52px}}
@keyframes content-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes document-arrive{from{opacity:0}to{opacity:1}}
@keyframes content-depart{to{opacity:0;transform:translateY(-4px)}}
@media(prefers-reduced-motion:no-preference){
 html[data-page-state=ready] main{animation:document-arrive 180ms ease-out both}
 html[data-page-state=ready] .screen-content{animation:content-arrive 180ms cubic-bezier(.2,.7,.2,1) both}
 .quick-nav a,.screen-controls button,.preferences a,.preferences button{transition:background-color 140ms ease,color 140ms ease,box-shadow 140ms ease}
 @view-transition{navigation:auto}
 main{view-transition-name:page-content}
 .header{view-transition-name:site-header}
 .quick-nav{view-transition-name:section-navigation}
 ::view-transition-group(*){animation-duration:180ms}
 ::view-transition-old(root),::view-transition-new(root),::view-transition-old(site-header),::view-transition-new(site-header),::view-transition-old(section-navigation),::view-transition-new(section-navigation){animation:none;mix-blend-mode:normal}
 ::view-transition-old(page-content){animation:content-depart 100ms ease both}
 ::view-transition-new(page-content){animation:content-arrive 180ms cubic-bezier(.2,.7,.2,1) both}
}
@media(hover:none){.quick-nav a:not([aria-current]):hover{background:transparent}}
@media(prefers-reduced-motion:reduce){
 @view-transition{navigation:none}
 html[data-page-state=ready] main{animation:none}
 ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
}
html[data-page-state=pending] .page-layout .case-footer{display:none}
@media(max-height:500px) and (min-width:701px){html[data-page-state=pending] .page-layout .page-footer{min-height:30px}}
@media(max-width:700px) and (max-height:540px){html[data-page-state=pending] .page-layout .page-footer{min-height:30px}}
