/* Matching surfaces bridge two real documents. No native snapshot/render lock. */
html[data-entry-phase]::before { content: ''; position: fixed; inset: 0; z-index: 2147483500; background: #eef1e6; pointer-events: none; }
html[data-entry-phase="leaving"]::before { animation: studyos-entry-settle 240ms cubic-bezier(.4,0,.2,1) 120ms both; }
html[data-entry-phase="arriving"]::before { opacity: 1; }
html[data-entry-phase="revealing"]::before { animation: studyos-entry-arrive 380ms cubic-bezier(.4,0,.2,1) both; }
html[data-entry-phase="waiting"]::before { opacity: .68; }
@keyframes studyos-entry-settle { from { opacity: 0; } to { opacity: 1; } }
@keyframes studyos-entry-arrive { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html[data-entry-phase]::before { display: none !important; animation: none !important; }
}
