/* Hidden letters retain their space, including line breaks, while typing. */
.heading-readable{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.heading-letter{position:relative}
.heading-pending{visibility:hidden}
.heading-cursor,.heading-current::after{color:var(--green,var(--pt-green,#c1dda0));font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-style:normal;font-weight:500;letter-spacing:0}
.heading-cursor{animation:heading-blink 1.1s step-end infinite}
.heading-typing .heading-cursor{visibility:hidden}
.heading-current::after{content:'_';position:absolute;left:100%;bottom:0}
@keyframes heading-blink{0%,100%{opacity:1}50%{opacity:0}}
@media(prefers-reduced-motion:reduce){.heading-cursor{animation:none}.heading-pending{visibility:visible}.heading-current::after{display:none}}
@media print{.heading-cursor,.heading-current::after{display:none}.heading-pending{visibility:visible}}
