/* Fill the viewport; native text is never enlarged as a bitmap. */
.service-cards{align-items:stretch}.service-card{min-width:0;display:flex;flex-direction:column}.card-preview{height:auto!important;padding:12px;border-radius:12px;overflow:visible;flex:1}.preview-label{display:block;font-size:11px;color:var(--muted);margin-bottom:10px}.card-preview iframe{display:block;height:560px}.card-bottom{min-height:64px;margin-top:auto}
/* Share row sizing across the two cards without clipping either native preview. */
@media(min-width:541px){.service-cards{grid-template-rows:auto auto auto minmax(0,1fr) auto;row-gap:0}.service-card{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0}.card-preview{align-self:stretch}.card-bottom{align-self:end}}
@media(max-width:540px){.service-card{display:block}.card-preview{flex:none}}
.recap a{display:inline-block;padding:12px 16px;border:1px solid var(--line);background:white;border-radius:8px;font-size:13px}.recap a:hover{border-color:var(--orange)}
body.is-playing{overflow:hidden}body.is-playing>.topbar{display:none}
.player,.player:fullscreen{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;margin:0;padding:0;background:#f3f6fb;display:grid;grid-template-rows:48px 42px minmax(0,1fr) 62px;overflow:hidden}
.player-top{grid-row:1;margin:0;padding:0 24px;border-bottom:1px solid var(--line);background:white}.player-top .home-link{font-size:13px}.player-tools .quiet{font-size:13px}
.chapters{grid-row:2;margin:0;padding:0 24px;gap:28px;background:white}.chapters a{padding:10px 0;font-size:13px}
.step-heading{display:none}.experience{grid-row:3;min-height:0}.stage{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 310px;width:100%;height:100%;border:0;border-radius:0;background:#fff;box-shadow:none;padding:0;overflow:hidden}
.stage-caption{display:none}.viewport{position:static;height:100%;min-height:0;background:#f4f7fd;overflow:hidden;display:contents}
.shot{position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:100%!important;clip-path:none;overflow:hidden;grid-column:1;grid-row:1}
#screen{display:block;width:100%;height:100%;border:0;background:#f5f8ff}.focus-ring{border:0;box-shadow:none;pointer-events:none}.hotspot{min-height:38px;min-width:38px;border:2px solid #ff6548;background:#ff654806;box-shadow:0 0 0 4px #ff654822;border-radius:8px}.hotspot-dot{width:18px;height:18px;right:-10px;top:-10px}
.callout{position:relative!important;left:auto!important;top:auto!important;grid-column:2;grid-row:1;width:100%;height:100%;padding:34px 26px;background:#fff;box-shadow:none;border:0;border-left:1px solid var(--line);border-radius:0;pointer-events:auto;overflow:auto;min-height:0}.callout-count{font-size:12px;margin-bottom:14px}.callout strong{font-size:21px;line-height:1.5;letter-spacing:-.6px}.callout p{font-size:15px;line-height:1.85;margin:18px 0 24px;color:#586a83}.callout-hint{font-size:12px;line-height:1.8;display:block}.callout-hint span{margin-left:8px}
.player-bottom{grid-row:4;position:relative;background:white;border-top:1px solid var(--line);padding:10px 24px}.step-progress{position:absolute;top:-2px;left:0;right:0;margin:0}.navigation{max-width:800px;margin:auto;gap:14px;height:100%}.step-picker{flex:1;max-width:430px}.step-picker select{max-width:none;font-size:13px}.primary,.secondary{font-size:13px;min-height:40px;min-width:88px;padding:8px 16px}.step-note,.keyboard-hint{display:none}
.load-state{right:310px;font-size:15px}.card-preview iframe{width:100%;height:400px;border:0;pointer-events:none}.complete{min-height:calc(100dvh - 180px);display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0 auto;padding:48px 24px}
@media(max-width:900px){.stage{grid-template-columns:minmax(0,1fr) 260px}.callout{padding:26px 20px}.callout strong{font-size:18px}.callout p{font-size:14px}.load-state{right:260px}}
@media(max-width:640px){.player,.player:fullscreen{grid-template-rows:44px 38px minmax(0,1fr) 60px}.player-top{padding:0 12px}.player-top .home-link,.player-tools .quiet{font-size:12px}.chapters{gap:20px;padding:0 12px}.chapters a{font-size:12px;padding:8px 0}.stage{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}.shot{grid-column:1;grid-row:1}.callout{grid-column:1;grid-row:2;height:auto;max-height:190px;padding:14px 18px;border:0;border-top:1px solid var(--line)}.callout-count{font-size:10px;margin-bottom:5px}.callout strong{font-size:16px}.callout p{font-size:13px;line-height:1.65;margin:7px 0 0}.callout-hint{display:none}.player-bottom{padding:10px 12px;padding-bottom:max(10px,env(safe-area-inset-bottom))}.navigation{gap:8px}.step-picker select{font-size:12px;padding-left:8px}.primary,.secondary{min-width:60px;padding:8px 10px;font-size:12px}.load-state{right:0;bottom:150px}}
@media(max-height:520px){.player,.player:fullscreen{grid-template-rows:42px minmax(0,1fr) 52px}.chapters{display:none}.experience{grid-row:2}.player-bottom{grid-row:3;padding-top:6px;padding-bottom:6px}.stage{grid-template-columns:minmax(0,1fr) 250px;grid-template-rows:1fr}.callout{grid-row:1;grid-column:2;height:100%;max-height:none;padding:18px}.callout strong{font-size:16px}.callout p{font-size:13px}.callout-hint{display:none}}
@media(max-width:640px){#replay{display:none}.player-tools{gap:0}.player-tools .quiet{font-size:11px;padding:6px}.player-top .home-link{font-size:11px}}

/* Every step is a target-anchored speech bubble; keep the full application visible. */
#stage.stage{display:block;grid-template-columns:none;grid-template-rows:none;padding:0}
#shot.shot{display:block;height:100%!important}
#callout.callout{position:absolute!important;left:var(--bubble-x,12px)!important;top:var(--bubble-y,12px)!important;grid-column:auto;grid-row:auto;width:var(--bubble-width,330px);height:auto;min-height:0;max-height:var(--bubble-max-height,280px);overflow:visible;padding:18px 20px;border:1px solid #efc2b7;border-top:3px solid var(--orange);border-radius:14px;background:#fff;box-shadow:0 10px 36px #17263f26;pointer-events:auto;z-index:4}
#callout::before{content:'';position:absolute;width:14px;height:14px;background:white;transform:rotate(45deg);border:1px solid #efc2b7;z-index:-1}
#callout[data-side=bottom]::before{top:-8px;left:calc(var(--arrow-x) - 7px);border-right:0;border-bottom:0}
#callout[data-side=top]::before{bottom:-8px;left:calc(var(--arrow-x) - 7px);border-left:0;border-top:0}
#callout[data-side=right]::before{left:-8px;top:calc(var(--arrow-y) - 7px);border-top:0;border-right:0}
#callout[data-side=left]::before{right:-8px;top:calc(var(--arrow-y) - 7px);border-bottom:0;border-left:0}
#callout[data-side=detached]::before{display:none}
#callout .callout-count{font-size:10px;margin:0 88px 9px 0;line-height:20px}
#callout strong{font-size:17px;line-height:1.5;letter-spacing:-.4px;word-break:keep-all;overflow-wrap:anywhere}
#bubble-details{max-height:min(220px,calc(var(--bubble-max-height,280px) - 110px));overflow:auto;overscroll-behavior:contain}
#callout p{font-size:13px;line-height:1.7;margin:10px 0 12px}
#callout .callout-hint{display:block;font-size:11px;line-height:1.6}
.bubble-toggle{position:absolute;right:12px;top:12px;background:#f4f6fa;color:#586a83;border:1px solid #e3e8f1;border-radius:6px;padding:5px 7px;min-height:28px;font-size:10px;line-height:1.5}
.bubble-toggle:hover{background:#edf0f6;color:var(--ink)}
#load-state{right:0;bottom:0}
@media(max-width:640px){#callout.callout{padding:12px 14px;border-radius:12px}#callout strong{font-size:14px;line-height:1.5}#callout p{font-size:12px;line-height:1.65;margin:7px 0 8px}#callout .callout-count{margin-bottom:5px;font-size:9px}#callout .callout-hint{font-size:10px}.bubble-toggle{top:9px;right:10px;padding:4px 6px;min-height:26px}#bubble-details{max-height:min(150px,calc(var(--bubble-max-height,280px) - 95px))}}
