.setup-demo-section{padding:30px 0 20px;background:var(--paper)}.setup-demo-intro{margin-bottom:20px}.setup-demo-intro .eyebrow{font-size:11px;margin-bottom:10px}#f2-setup-demo,#f2-realize-demo,#f2-expense-demo{display:block;width:100%;height:min(820px,calc(100svh - 100px));border:1px solid var(--line);border-radius:18px;background:#f4f7fa}.f2s-note{font-size:12px;color:var(--muted);margin-top:12px}@media(max-width:650px){#f2-setup-demo,#f2-realize-demo,#f2-expense-demo{height:min(850px,calc(100svh - 80px))}}
/* The two focused realization clips need less space than the full tutorial. */
#f2-realize-demo,#f2-expense-demo{height:min(700px,calc(100svh - 100px))}
.realize-demo-section .setup-demo-intro{margin-bottom:12px}
@media(max-width:650px){#f2-realize-demo,#f2-expense-demo{height:min(720px,calc(100svh - 80px))}}


/* Fit each embedded player to the usable viewport, including landscape. */
@media(max-width:760px){
 #f2-setup-demo,#f2-realize-demo,#f2-expense-demo,#f2-statement-demo{height:clamp(240px,calc(100dvh - 92px),680px)!important;max-width:100%;border-radius:12px}
 .setup-demo-section{padding:20px 0 14px}
 .setup-demo-intro{margin-bottom:12px}
}

/* Reserve a compact height until the focused player reports its content size. */
#f2-realize-demo,#f2-expense-demo{height:min(480px,calc(100dvh - 100px))!important}
@media(max-width:760px){#f2-realize-demo,#f2-expense-demo{height:min(480px,calc(100dvh - 100px))!important}}
