/* Homepage flow player (assets/flows.js): copy on the left, the animated scene on the right,
   the step cards below as chapters. Scenes are drawn on a 480×480 canvas scaled with --s, like a video frame. */
.night.after-how.flows-sec{padding-top:96px}
.flows-sec .sec-h{margin-bottom:28px}
@media (max-width:640px){.night.after-how.flows-sec{padding-top:64px}}

.fp{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);margin:0 0 18px;border:1px solid var(--line);border-radius:24px;background:var(--panel);overflow:hidden;box-shadow:var(--shadow)}
.fp-copy{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:26px 30px 24px;min-width:0}
.fp-bar{display:flex;gap:6px;width:100%;margin-bottom:10px}
.fp-bar i{flex:1;height:4px;border-radius:4px;background:color-mix(in srgb,var(--ink) 10%,transparent);overflow:hidden}
.fp-bar b{display:block;height:100%;width:0;background:var(--deep);border-radius:inherit}
.fp-phase{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;font-size:13px;font-weight:600;background:var(--ink);color:#FFFFFF}
.fp-phase svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fp-phase.day{background:#FFF1C9;color:#5C4300}
.fp-clock{font-family:var(--display);font-weight:600;font-size:clamp(44px,5vw,64px);line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--ink);margin-top:8px}
.fp-title{font-size:clamp(22px,2.2vw,28px);line-height:1.2}
.fp-text{font-size:17px;line-height:1.55;color:var(--muted);margin:0;max-width:40ch;min-height:5.2em}
.fp .swap{animation:fpSwap .5s cubic-bezier(.2,.7,.2,1) both}
.fp-title.swap{animation-delay:.05s}.fp-text.swap{animation-delay:.1s}
@keyframes fpSwap{from{opacity:0;transform:translateY(8px)}}
.fp-ctrl{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-top:auto;padding-top:12px}
.fp-ctrl button{font:600 14px var(--body);cursor:pointer}
.fp-play{width:46px;height:46px;border-radius:50%;border:0;background:var(--ink);color:#FFFFFF;display:grid;place-items:center}
.fp-play svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.fp-play .i-play{fill:currentColor;stroke:none}
.fp-play .i-pause,.fp:not(.playing) .fp-play .i-play{display:block}
.fp:not(.playing) .fp-play .i-pause,.fp.playing .fp-play .i-play{display:none}
.fp-again{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px;border:0;background:none;color:var(--ink)}
.fp-again svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fp-count{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.fp-next{min-height:44px;padding:0 16px;border-radius:999px;border:0;background:var(--teal);color:#0F132F}
.fp-next[hidden]{display:none}
.fp button:focus-visible{outline:2px solid var(--deep);outline-offset:2px}

/* the stage: navy at night, warm in the morning */
.fp-view{position:relative;min-height:540px;display:grid;place-items:center;overflow:hidden;
  background:radial-gradient(circle at 18% 22%,rgba(255,255,255,.5) 0 1px,transparent 2px),radial-gradient(circle at 72% 12%,rgba(255,255,255,.4) 0 1px,transparent 2px),radial-gradient(circle at 88% 64%,rgba(255,255,255,.35) 0 1px,transparent 2px),radial-gradient(circle at 34% 84%,rgba(255,255,255,.3) 0 1px,transparent 2px),radial-gradient(120% 90% at 70% 0%,#232A5C 0%,#0F132F 62%);
  transition:background-color .6s}
.fp-view.day{background:radial-gradient(90% 80% at 80% 0%,#FFE7A8 0%,#FFF6DE 48%,#FBF7EC 100%)}
.fp-canvas{position:absolute;left:50%;top:50%;width:480px;height:480px;transform:translate(-50%,-50%) scale(var(--s,1))}
.fp-scene{position:absolute;inset:0;animation:fpScene .45s ease both}
@keyframes fpScene{from{opacity:0}}

/* timed elements */
.fp-scene [data-t]{transition:opacity .5s ease,transform .6s cubic-bezier(.2,.8,.2,1)}
.fp-scene [data-t]:not(.in){opacity:0;transform:translateY(12px)}
.fp-scene .k-chat [data-t]:not(.in){display:none}
.fp-scene .k-chat [data-t].in{animation:fpPop .45s cubic-bezier(.2,.8,.2,1.15) both}
@keyframes fpPop{from{opacity:0;transform:translateY(10px) scale(.96)}}
.fp-scene > *{position:absolute}

/* cards */
.k-card,.k-ats{background:#FFFFFF;border-radius:18px;box-shadow:0 18px 40px rgba(6,9,30,.28);color:var(--ink);padding:18px 20px;font-family:var(--body)}
.fp-view.day .k-card,.fp-view.day .k-ats{box-shadow:0 18px 40px rgba(120,86,10,.16);border:1px solid #F1E3BC}
.k-lbl{display:block;font-size:13px;font-weight:600;color:var(--deep-ink);margin-bottom:4px}
.k-card b,.k-ats b{font-family:var(--display);font-weight:600}
.k-card small,.k-ats small{display:block;color:var(--muted);font-size:15px}
.k-job b{display:block;font-size:24px;line-height:1.2}
.k-btn{position:relative;display:inline-grid;margin-top:16px;border-radius:999px;background:var(--deep);color:#FFFFFF;font-weight:600;font-size:16px;overflow:hidden;transition:transform .15s,background .3s}
.k-btn em{grid-area:1/1;font-style:normal;padding:10px 22px;text-align:center;transition:opacity .3s}
.k-btn em+em{opacity:0}
.k-btn.pressed{transform:scale(.93)}
.k-btn.done{background:#157A4A;transform:none}
.k-btn.done em{opacity:0}.k-btn.done em+em{opacity:1}

.k-link{left:0;top:0;width:480px;height:480px;overflow:visible;pointer-events:none}
.k-link path{fill:none;stroke:#7DC2CA;stroke-width:3;stroke-linecap:round;stroke-dasharray:8 9;opacity:.9}
.fp-scene .k-link:not(.in){transform:none}
.k-link.in path{animation:fpDash 1.2s linear infinite}
@keyframes fpDash{to{stroke-dashoffset:-34}}

.k-ats{padding:0;overflow:hidden}
.k-ats-h{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#EEF6F6;border-bottom:1px solid #DCEBEC}
.k-ats-h svg{width:18px;height:18px;fill:none;stroke:var(--deep-ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.k-ats-h b{font-family:var(--body);font-size:14px;font-weight:600;color:var(--deep-ink)}
.k-row{display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid #EEF0EA}
.k-ats-h+.k-row{border-top:0}
.k-row.dim{opacity:.55}
.k-row.new{background:#F2FBF7}
.k-ini{flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#E3F1F2;color:var(--deep-ink);font:600 14px var(--display)}
.k-nm{display:grid;min-width:0;flex:1}
.k-nm b{font-size:17px;line-height:1.2}
.k-nm small{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.k-tag{display:inline-block;font:600 13px var(--body);padding:4px 10px;border-radius:999px;background:#D9F5E7;color:#11643F}
.k-rec{margin:0;padding:6px 18px 12px;display:grid}
.k-rec div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-top:1px solid #EEF0EA}
.k-rec div:first-child{border-top:0}
.k-rec dt{font-size:15px;color:var(--muted)}
.k-rec dd{margin:0;font-size:16px;font-weight:600;display:inline-flex;align-items:center;gap:6px;text-align:right}
.k-rec dd .meta{width:20px;height:20px}

.k-agent{display:inline-flex;align-items:center;gap:10px;padding:10px 16px 10px 12px;border-radius:999px;background:#FFFFFF;color:var(--ink);font:600 15px var(--body);box-shadow:0 12px 28px rgba(6,9,30,.3);white-space:nowrap}
.k-agent .hd{width:20px;height:25px;color:var(--ink)}
.k-agent::after{content:"";width:8px;height:8px;border-radius:50%;background:#157A4A;box-shadow:0 0 0 0 rgba(31,157,99,.5);animation:fpLive 1.6s infinite}
@keyframes fpLive{70%{box-shadow:0 0 0 8px rgba(31,157,99,0)}100%{box-shadow:0 0 0 0 rgba(31,157,99,0)}}
.k-toast{display:inline-flex;align-items:center;gap:8px;padding:10px 16px 10px 12px;border-radius:12px;background:#157A4A;color:#FFFFFF;font:600 15px var(--body);box-shadow:0 12px 28px rgba(6,9,30,.3);white-space:nowrap}
.k-toast svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.k-note{font-size:15px;line-height:1.4;text-align:center;color:#5C4300}

/* phone */
.k-phone{width:254px;height:452px;border-radius:38px;background:#0F132F;padding:9px;box-shadow:0 26px 60px rgba(4,6,24,.45);display:flex;flex-direction:column}
.k-phone>*{border-radius:0}
.k-ph-top{display:flex;align-items:center;gap:9px;padding:14px 14px 11px;background:#0B5C52;color:#FFFFFF;border-radius:30px 30px 0 0}
.k-ph-top b{font:600 15px var(--body)}
.k-ph-top small{margin-left:auto;font-size:12px;opacity:.75}
.k-av{flex:none;width:30px;height:30px;border-radius:50%;background:#FFFFFF;display:grid;place-items:center}
.k-av .hd{width:15px;height:19px;color:#0F132F}
.k-chat{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:7px;padding:10px 9px 12px;overflow:hidden;background:#EFE8DE;border-radius:0 0 30px 30px}
.b{position:relative;max-width:88%;padding:8px 11px;border-radius:12px;font:400 14.5px/1.38 var(--body);color:#111B21;box-shadow:0 1px 1px rgba(0,0,0,.08)}
.b.in-l{align-self:flex-start;background:#FFFFFF;border-top-left-radius:4px}
.b.me{align-self:flex-end;background:#D9FDD3;border-top-right-radius:4px;padding-right:34px}
.b.me s{position:absolute;right:8px;bottom:6px;font-size:10px;text-decoration:none;color:#53BDEB;letter-spacing:-2px}
.b b{font-weight:600}
.b.typing{display:flex;gap:4px;padding:12px 13px}
.b.typing i{width:7px;height:7px;border-radius:50%;background:#9AA3A8;animation:fpDot 1s infinite}
.b.typing i:nth-child(2){animation-delay:.15s}.b.typing i:nth-child(3){animation-delay:.3s}
@keyframes fpDot{50%{transform:translateY(-3px);opacity:.5}}
.k-wbtn{display:flex;align-items:center;justify-content:center;gap:6px;margin:9px -11px -8px;padding:9px;border-top:1px solid #E6E6E6;color:#0A7CFF;font-weight:600}
.k-wbtn .g{width:16px;height:16px}
.k-qr{display:flex;gap:6px;margin-top:7px}
.k-qr i{flex:1;font-style:normal;text-align:center;padding:5px;border-radius:8px;background:#F0F7F7;color:#0A7CFF;font-weight:600}
.k-nps{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin-top:8px}
.k-nps i{font-style:normal;text-align:center;font-size:13px;font-weight:600;padding:4px 0;border-radius:6px;background:#F0F7F7;color:#0A7CFF;transition:background .25s,color .25s,transform .25s}
.k-nps i.pick{background:#157A4A;color:#FFFFFF;transform:scale(1.12)}

/* Instagram ad + lead form */
.ig-phone{background:#0F132F}
.k-ig-top{display:flex;align-items:center;gap:8px;padding:14px 14px 10px;background:#FFFFFF;border-radius:30px 30px 0 0;color:#111}
.k-ig-top .ig{width:20px;height:20px}
.k-ig-top b{font:600 16px var(--display)}
.k-post{flex:1;background:#FFFFFF;border-radius:0 0 30px 30px;overflow:hidden;display:flex;flex-direction:column}
.k-post-h{display:flex;align-items:center;gap:8px;padding:8px 12px}
.k-post-h .k-av{width:28px;height:28px;background:#EEF6F6}
.k-post-h b{font:600 14px var(--body);color:#111}
.k-post-h small{margin-left:auto;font-size:12px;color:#737373}
.k-post-img{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:2px;padding:18px;color:#FFFFFF;
  background:linear-gradient(160deg,rgba(15,19,47,0) 30%,rgba(15,19,47,.8)),repeating-linear-gradient(135deg,#00A0AE 0 22px,#0E93A0 22px 44px)}
.k-post-img small{font-size:13px;font-weight:600;opacity:.9}
.k-post-img b{font:600 27px/1.1 var(--display)}
.k-post-img span{font-size:14px}
.k-post-cta{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:#0866FF;color:#FFFFFF;font:600 15px var(--body);transition:filter .2s,transform .15s}
.k-post-cta.pressed{filter:brightness(.82)}
.k-form{position:absolute;left:9px;right:9px;bottom:9px;padding:18px 16px 16px;border-radius:22px 22px 30px 30px;background:#FFFFFF;color:#111;box-shadow:0 -10px 30px rgba(0,0,0,.25);display:grid;gap:8px}
.fp-scene .k-form:not(.in){transform:translateY(105%);opacity:1}
.k-form{transition:transform .6s cubic-bezier(.2,.8,.2,1)!important}
.k-form b{font:600 18px var(--display)}
.k-form small{font-size:13px;color:#737373}
.k-form label{display:grid;gap:2px;font-size:12px;color:#737373;border-bottom:1px solid #E6E6E6;padding-bottom:6px}
.k-form label span{font-size:15px;color:#111}
.k-form .k-btn{margin-top:6px;display:grid;background:#0866FF}
.k-metaad{display:grid;gap:4px;padding:16px 18px}
.k-metaad .meta{width:44px;height:44px;margin-bottom:6px}
.k-metaad b{font-size:18px}
.k-plat{display:flex;gap:8px;margin-top:8px}
.k-plat svg{width:26px;height:26px}
.k-metaad.note{background:#157A4A;color:#FFFFFF}
.k-metaad.note small{color:#E5FFF2}
.k-src{display:grid;gap:4px}
.k-src .meta{width:40px;height:40px;margin-bottom:4px}
.k-src b{font-size:18px}

/* score */
.k-score{display:grid;grid-template-columns:auto 1fr;gap:6px 20px;align-items:center;padding:24px}
.k-ring{position:relative;width:150px;height:150px;display:grid;place-items:center}
.k-ring svg{position:absolute;inset:0;transform:rotate(-90deg)}
.k-ring circle{fill:none;stroke:#E8F2F3;stroke-width:12}
.k-ring circle.v{stroke:var(--deep);stroke-linecap:round;stroke-dasharray:314.16;stroke-dashoffset:314.16;transition:stroke-dashoffset 1.4s cubic-bezier(.3,.7,.2,1) .1s}
.k-ring.in circle.v{stroke-dashoffset:calc(314.16 * (1 - var(--v)))}
.k-ring b{position:relative;font:600 50px/1 var(--display)}
.fp-scene .k-ring b:not(.in){opacity:1;transform:none}
.k-ring small{position:absolute;bottom:34px;font-size:13px}
.k-score-r b{display:block;font-size:24px}
.k-checks{grid-column:1/-1;list-style:none;margin:14px 0 0;padding:0;display:grid;gap:10px}
.k-checks li{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:500;padding:10px 12px;border-radius:12px;background:#F2FBF7}
.k-checks svg{flex:none;width:24px;height:24px;padding:4px;border-radius:50%;background:#157A4A;fill:none;stroke:#FFFFFF;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.k-checks li.warn{background:#FFF4DE}
.k-checks li.warn svg{background:#E9A23B}
.k-checks.big li{font-size:19px;padding:14px}

/* rule */
.k-rule{display:grid;gap:10px;padding:18px}
.k-if{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-radius:12px;border:2px solid #E4E4DA;transition:border-color .4s,background .4s}
.k-if span{font-size:15px;color:var(--muted)}
.k-if b{font-size:22px}
.k-if.ok{border-color:#157A4A;background:#F2FBF7}
.k-then{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#11643F}
.k-then svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.k-then .g{stroke:none}
.k-else{font-size:14px;line-height:1.4;color:var(--muted);padding-top:10px;border-top:1px dashed #E4E4DA}

/* qualified */
.k-qual{padding:22px}
.k-qual-h b{font-size:26px}
.k-big{display:flex;align-items:baseline;gap:12px;margin-top:16px}
.k-big b{font:600 54px/1 var(--display);color:#157A4A}
.k-big span{font:600 22px var(--display)}
.k-status{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px;border-radius:999px;background:#FFFFFF;box-shadow:0 12px 28px rgba(6,9,30,.3);font:600 16px var(--body)}
.k-status span{color:var(--muted);text-decoration:line-through}
.k-status span.on{color:#11643F;text-decoration:none;background:#D9F5E7;padding:4px 12px;border-radius:999px}
.k-status i{font-style:normal;color:var(--muted)}

/* call list (morning) */
.k-calls{padding:0;overflow:hidden}
.k-calls-h{display:flex;justify-content:space-between;align-items:baseline;padding:16px 18px;border-bottom:1px solid #F1E3BC;background:#FFFBEE}
.k-calls-h b{font-size:20px}
.k-calls-h span{font-size:14px;color:var(--muted)}
.k-calls .k-row{transition:background .5s,box-shadow .5s}
.k-calls .k-row.top .k-ini{background:#FFF1C9;color:#8A5A00}
.k-calls .k-row.lit{background:#FFF6D8;box-shadow:inset 4px 0 0 #E9C27A}
.k-sc{font:600 18px var(--display);font-variant-numeric:tabular-nums;color:var(--ink);padding:4px 10px;border-radius:10px;background:#F3F5F1}
.k-row.top .k-sc{background:#D9F5E7;color:#11643F}
.k-callbtn{display:inline-flex;align-items:center;gap:10px;padding:14px 26px;border-radius:999px;background:var(--ink);color:#FFFFFF;font:600 18px var(--body);box-shadow:0 14px 30px rgba(15,19,47,.3);width:244px;justify-content:center}
.k-callbtn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.k-callbtn.ring svg{animation:fpRing .9s ease-in-out infinite}
@keyframes fpRing{0%,100%{transform:rotate(0)}20%{transform:rotate(-14deg)}40%{transform:rotate(12deg)}60%{transform:rotate(-8deg)}}

/* reviews flow */
.k-week{display:flex;justify-content:space-between;padding:14px 18px;border-radius:16px;background:rgba(255,255,255,.1);color:#DCE3EE;font:600 16px var(--body)}
.k-week span{position:relative;z-index:1;width:56px;text-align:center;padding:6px 0;border-radius:10px}
.k-week span.fri{background:#7DC2CA;color:#0F132F}
.k-week i{position:absolute;left:18px;bottom:7px;height:3px;width:0;border-radius:4px;background:#7DC2CA;transition:width 1.8s ease-in-out,opacity .3s!important;transform:none!important}
.k-week i.in{width:calc(100% - 92px)}
.k-prof{display:grid;gap:16px;padding:22px}
.k-prof-h{display:flex;align-items:center;gap:12px}
.k-prof-h b{font-size:21px}
.k-prof-h small{font-size:15px}
.k-npsv{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-radius:14px;background:#F3F5F1}
.k-npsv b{font:600 56px/1 var(--display);color:#157A4A}
.fp-scene .k-npsv b:not(.in){opacity:1;transform:none}
.k-npsv small{display:inline;margin-left:4px;font-size:18px}
.k-tag.prom{font-size:15px;padding:6px 14px}
.k-prof blockquote{margin:0;font:500 19px/1.45 var(--display);color:var(--ink);padding-left:14px;border-left:4px solid #7DC2CA}
.k-gr{display:grid;gap:16px;padding:20px}
.k-gr-h{display:flex;align-items:center;gap:12px}
.k-gr-h .g{width:34px;height:34px}
.k-gr-h b{font-size:19px}
.k-gr-h small{font-size:14px}
.k-gr-h em{margin-left:auto;display:inline-flex;align-items:center;gap:4px;font-style:normal}
.k-gr-h em b{font-size:26px}
.fp-scene .k-gr-h em b:not(.in){opacity:1;transform:none}
.k-gr-h em svg,.k-stars svg{width:24px;height:24px;fill:#FBBC05}
.k-rev{padding:16px;border-radius:14px;border:1px solid #E8EAED;background:#FFFFFF;box-shadow:0 0 0 4px #EAF6EE}
.k-rev-h{display:flex;align-items:center;gap:10px}
.k-rev-h b{font-size:17px}
.k-rev-h small{font-size:13px}
.k-stars{display:flex;gap:2px;margin:10px 0 8px}
.k-stars i{display:block}
.fp-scene .k-stars i.in{animation:fpStar .5s cubic-bezier(.2,.8,.2,1.4) both}
@keyframes fpStar{from{transform:scale(.3);opacity:0}}
.k-rev p{margin:0;font-size:16px;line-height:1.5;color:#3C4043}
.fp-view.day .k-note{color:#5C4300}
.fp-view:not(.day) .k-note{color:#DCE3EE}

/* step cards become chapters while the player runs */
.fp-on .ex .step{cursor:pointer;transition:opacity .35s,transform .35s,box-shadow .35s}
.fp-on .ex .step:not(.on):not(:hover){opacity:.62}
.fp-on .ex .step.on{opacity:1;transform:translateY(-4px);box-shadow:0 0 0 3px var(--teal),0 16px 34px rgba(15,19,47,.22)}
.ex .step:focus-visible{outline:3px solid var(--deep);outline-offset:3px}
.ex .step>u{position:absolute;left:16px;right:16px;bottom:8px;height:3px;border-radius:3px;background:rgba(255,255,255,.14);overflow:hidden;opacity:0;transition:opacity .3s}
.ex .step>u::after{content:"";position:absolute;inset:0;background:var(--teal);transform-origin:left;transform:scaleX(var(--p,0))}
.ex .step.you>u{background:#F1E3BC}.ex .step.you>u::after{background:#E9A23B}
.fp-on .ex .step.on>u{opacity:1}

@media (max-width:980px){
  .fp{grid-template-columns:1fr}
  .fp-copy{padding:20px 20px 16px;gap:8px}
  .fp-clock{font-size:40px;margin-top:2px}
  .fp-text{min-height:0;font-size:16px}
  .fp-ctrl{margin-top:4px;padding-top:4px}
  .fp-view{min-height:0;aspect-ratio:1/1;max-height:560px}
}
@media (max-width:900px){
  /* chapters become a swipeable strip under the player */
  .ex .steps{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 10px;margin-inline:-2px;scrollbar-width:none}
  .ex .steps::-webkit-scrollbar{display:none}
  .ex .steps .phase{display:none}
  .ex .steps .step{flex:0 0 72%;scroll-snap-align:start}
  .ex .steps .step::after{display:none}
  .fp-on .ex .step.on{transform:none}
}
@media (prefers-reduced-motion:reduce){
  .fp *,.fp *::before,.fp *::after{animation:none!important;transition:none!important}
}

/* side card next to a WhatsApp chat: each answer lands in the ATS as it comes in */
.k-saved .k-rec{padding:4px 14px 8px}
.k-saved .k-rec div{display:grid;gap:2px;justify-content:stretch;padding:10px 0}
.k-saved .k-rec dt{font-size:13px}
.k-saved .k-rec dd{justify-content:flex-start;text-align:left;font-size:16px}
.k-saved .k-rec div.warn dd{color:#8A5A00}
.k-saved .k-rec div.in{animation:fpFlash 1.4s ease}
@keyframes fpFlash{0%{background:#D9F5E7}100%{background:transparent}}
.k-toast.wrap{white-space:normal;line-height:1.35;align-items:flex-start}
.k-toast.wrap svg{margin-top:1px;flex:none}
.k-form{gap:10px}

/* compact player: a bit smaller on desktop; on phones the scene comes first, the copy is short
   and the example tabs stay pinned under the header, so switching examples needs no scrolling back */
@media (min-width:981px){
  .fp-view{min-height:440px}
  .fp-copy{padding:22px 28px 20px;gap:10px}
  .fp-clock{font-size:clamp(40px,4vw,52px)}
  .fp-text{font-size:16px}
}
@media (max-width:720px){
  .flows-sec .ex-head{position:sticky;top:calc(env(safe-area-inset-top,0px) + var(--nav-h,80px));z-index:5;margin-inline:-16px;padding:10px 16px;background:var(--bg);border-bottom:1px solid var(--line)}
  .flows-sec .ex-tag{display:none}
  .flows-sec .ex-tabs{display:flex;width:100%;gap:6px}
  .flows-sec .ex-tabs button{flex:1 1 0;padding:0 8px;min-height:40px}
  .ex-h{font-size:17px;margin:12px 0 10px}
  .fp{display:flex;flex-direction:column}
  .fp-view{order:-1;aspect-ratio:auto;height:min(86vw,320px);max-height:none}
  .fp-copy{padding:14px 16px 12px;gap:6px}
  .fp-bar{margin-bottom:4px}
  .fp-phase{display:none}
  .fp-clock{font-size:30px;margin-top:0}
  .fp-title{font-size:19px}
  .fp-text{font-size:15px;line-height:1.5;min-height:4.5em}
  .fp-ctrl{padding-top:0}
}
