/* Shared Flow mobile presentation, based on TPL-04. */
.flow__mobile-content{display:none}
@media(max-width:700px){
html .page .flow{display:flex;flex-direction:column;gap:20px}
html .page .flow .flow__stage{order:0;flex:none;width:100%}
html .page .flow .flow__list{display:none}
html .page .flow .flow__mobile-content{display:block;order:1;width:100%;overflow:hidden}
html .page .flow .flow__mobile-nav{display:flex;gap:8px;margin-bottom:20px}
html .page .flow .flow__mobile-nav button{flex:1;min-width:0;height:24px;padding:10px 0;border:0;background:none;cursor:pointer}
html .page .flow .flow__mobile-nav button>span{display:block;position:relative;height:2px;overflow:hidden;background:var(--line)}
html .page .flow .flow__mobile-nav button>span>span{display:block;width:100%;height:100%;background:var(--color-blue-500);transform:scaleX(0);transform-origin:left}
html .page .flow .flow__mobile-nav button[aria-selected="true"]>span>span{animation:shared-flow-progress var(--flow-duration,6000ms) linear forwards}
html .page .flow.is-paused .flow__mobile-nav button>span>span{animation-play-state:paused}
html .page .flow .flow__mobile-nav button:focus-visible{outline:2px solid var(--color-blue-500);outline-offset:2px}
html .page .flow .flow__mobile-copy{animation:shared-flow-slide .28s ease-out both}
html .page .flow .flow__mobile-copy p{margin-top:12px;font-size:16px}
}
@keyframes shared-flow-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes shared-flow-slide{from{transform:translateX(18px);opacity:0}to{transform:translateX(0);opacity:1}}
@media(prefers-reduced-motion:reduce){html .page .flow .flow__mobile-copy{animation:none}html .page .flow .flow__mobile-nav button[aria-selected="true"]>span>span{animation:none;transform:scaleX(1)}}

@media(max-width:700px){html .page .flow .flow__mobile-nav button>span{height:1px}html .page .flow .flow__mobile-nav button>span>span{background:linear-gradient(90deg,var(--brand),var(--page-accent))}}

/* Nest mobile controls and copy slightly beneath the full-width image. */
@media(max-width:700px){html .page .flow .flow__mobile-content{box-sizing:border-box;padding-inline:12px}}
