/* Shared interaction layer: no navigation interception or artificial delay. */
:root{--interaction-ease:cubic-bezier(.2,.7,.2,1)}
@view-transition{navigation:auto}
::view-transition-old(root){animation:nerva-page-out 140ms ease-out both}
::view-transition-new(root){animation:nerva-page-in 220ms var(--interaction-ease) both}
@keyframes nerva-page-out{to{opacity:0}}
@keyframes nerva-page-in{from{opacity:0}to{opacity:1}}
html{scroll-behavior:smooth;scroll-padding-top:100px}
:where(button,a,input,select,textarea,summary){-webkit-tap-highlight-color:transparent;touch-action:manipulation}
:where(button,.button,.primary,.secondary,.text-button,.google-button,.nerva-option,summary){transition:scale 160ms var(--interaction-ease),transform 180ms var(--interaction-ease),background-color 180ms ease,border-color 180ms ease,color 180ms ease,box-shadow 180ms ease,opacity 160ms ease}
:where(a){transition:color 160ms ease,background-color 180ms ease,opacity 160ms ease}
:where(button,.button,.primary,.secondary,.google-button,.nerva-option):not(:disabled):not([aria-disabled=true]):active{scale:.97;transition-duration:80ms}
:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #42b9d5;outline-offset:4px}
:where(button):disabled{cursor:not-allowed}
:where(input,textarea,select){transition:border-color 180ms ease,box-shadow 180ms ease,background-color 180ms ease}
@media(hover:hover) and (pointer:fine){
 :where(.button,.primary,.secondary,.google-button,.nerva-option):not(:disabled):not([aria-disabled=true]):hover{translate:0 -1px;box-shadow:0 7px 20px #267fc31c}
 :where(.button,.primary,.secondary,.google-button,.nerva-option){transition:translate 180ms var(--interaction-ease),scale 160ms var(--interaction-ease),transform 180ms var(--interaction-ease),background-color 180ms ease,border-color 180ms ease,color 180ms ease,box-shadow 180ms ease}
}
@media(pointer:coarse){
 :where(button,.button,.primary,.secondary,.text-button,.google-button,.nerva-option,summary){min-height:44px}
 :where(.account-header a,.header-actions a,.preview-link){display:inline-flex;align-items:center;min-height:44px}
 input,select,textarea{font-size:16px!important}
}
body.motion-paused :where(button,a,input,select,textarea,summary){transition:none!important}
html:has(body.motion-paused){scroll-behavior:auto}
@media(prefers-reduced-motion:reduce){
 @view-transition{navigation:none}
 html{scroll-behavior:auto!important}
 ::view-transition-old(root),::view-transition-new(root){animation:none!important}
 :where(button,a,input,select,textarea,summary){transition:none!important}
 :where(button,.button,.primary,.secondary,.google-button,.nerva-option):active{scale:1!important}
}
