/* Staging-only additions; production intake components remain unchanged. */
.prototype-page [hidden] { display:none !important; }
.prototype-page .intake-header nav { display:flex; gap:16px; }
.prototype-page .intake-header nav button { font-size:var(--fs-small); padding:8px 0; }
.prototype-notice { padding:8px 16px; text-align:center; background:var(--teal-2); color:var(--teal); font-size:12px; line-height:1.4; }
.prototype-page .intake-main { min-height:calc(100dvh - 81px); }
.prototype-page .intake-screen { padding-top:clamp(32px,6vh,64px); }
.prototype-page .intake-option-copy { text-align:left; }
.prototype-page .intake-button:disabled { cursor:not-allowed; }
.prototype-page [aria-busy=true] .intake-button { cursor:wait; }
.prototype-page .prototype-inline-actions { position:static; padding:0; border:0; background:none; box-shadow:none; margin-top:28px; max-width:100%; }
.prototype-choices { display:grid; gap:16px; margin-top:28px; }
.prototype-choice { display:grid; gap:12px; width:100%; padding:24px; border:1px solid var(--line); border-radius:var(--radius); background:var(--white); color:var(--ink); font:inherit; text-align:left; cursor:pointer; line-height:1.5; }
.prototype-choice strong { display:flex; justify-content:space-between; gap:12px; color:var(--teal); font-size:20px; font-weight:600; line-height:1.25; }
.prototype-choice > span { font-size:16px; }
.prototype-choice-now { background:var(--teal); border-color:var(--teal); color:var(--white); }
.prototype-choice-now strong { color:var(--white); }
.prototype-choice:hover { box-shadow:0 0 0 2px var(--teal); }
.prototype-choice:focus-visible { outline:3px solid var(--blue); outline-offset:4px; }
.prototype-back { margin-top:24px; }
.prototype-email-form { margin-top:24px; }
.prototype-email-form > label[for=email] { display:block; margin-bottom:8px; font-weight:500; }
.prototype-email-form input[type=email], .prototype-token { width:100%; padding:14px; border:1px solid var(--line); border-radius:var(--radius); font:inherit; background:var(--white); }
.prototype-email-form input[type=email]:focus-visible, .prototype-token:focus-visible { outline:3px solid var(--blue); outline-offset:3px; }
.prototype-email-form .intake-consent { margin:18px 0; }
.prototype-email-form .intake-option-copy strong { font-size:15px; line-height:1.4; }
.prototype-email-form .intake-option-copy small { display:block; margin-top:5px; font-size:13px; }
.prototype-email-form .intake-option-body { padding:16px; }
.prototype-email-actions { display:grid; gap:12px; margin-top:24px; }
.prototype-error { color:var(--coral); margin:16px 0; }
.prototype-dev { width:min(712px,calc(100% - 32px)); margin:20px auto 120px; padding:16px; border:1px dashed var(--line); border-radius:var(--radius); font-size:var(--fs-small); overflow-wrap:anywhere; }
.prototype-dev summary { cursor:pointer; color:var(--muted); }
.prototype-dev ul { padding-left:20px; }
.prototype-dev a { display:block; margin:12px 0; }
.prototype-page fieldset { min-width:0; }
.prototype-page .intake-error { width:100%; }
.prototype-bankid-simulation { margin-top:24px; }
.prototype-bankid-simulation img { width:72px; height:72px; margin:0 0 16px; display:block; }
@media(max-width:600px) {
  .prototype-page .intake-main:has(.prototype-choice-screen) { min-height:0; }
  .prototype-page .intake-header { gap:8px; min-height:64px; padding-top:10px; padding-bottom:10px; }
  .prototype-page .intake-brand { gap:6px; font-size:1.1rem; }
  .prototype-page .intake-header nav { gap:12px; }
  .prototype-page .intake-brand-mark, .prototype-page .intake-brand-mark svg { width:30px; height:30px; }
  .prototype-page .intake-screen { padding-top:28px; }
  .prototype-page .intake-actions { flex-wrap:nowrap; }
  .prototype-page .intake-actions .intake-error { position:absolute; bottom:100%; left:0; margin:0; padding:12px 16px; background:var(--paper); border-top:1px solid var(--line); }
  .prototype-page .prototype-choice-screen { padding-top:24px; padding-bottom:20px; }
  .prototype-choice-screen h1 { font-size:28px; line-height:1.2; }
  .prototype-choices { gap:12px; margin-top:22px; }
  .prototype-choice { padding:20px; gap:10px; }
  .prototype-choice strong { font-size:18px; }
  .prototype-choice > span { font-size:15px; line-height:1.45; }
  .prototype-back { margin-top:18px; }
  .prototype-email-form { margin-top:18px; }
  .prototype-email-actions { gap:10px; margin-top:18px; }
}
@media(max-width:360px) {
  .prototype-page .prototype-choice-screen { padding-top:18px; padding-bottom:12px; }
  .prototype-choices { margin-top:18px; gap:10px; }
  .prototype-choice { padding:18px; gap:8px; }
  .prototype-back { margin-top:12px; }
}
.prototype-product-switch { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:28px 0 8px; }
.prototype-product-switch button { padding:10px 14px; min-height:44px; border:1px solid var(--line); border-radius:99px; font:inherit; font-size:15px; background:var(--white); color:var(--teal); cursor:pointer; }
.prototype-product-switch button[aria-pressed=true] { background:var(--teal-2); border-color:var(--teal); }
.prototype-product-switch button:focus-visible { outline:3px solid var(--blue); outline-offset:3px; }
.prototype-page .prototype-email-screen { max-width:640px; padding-top:28px; }
.prototype-email-screen .intake-description { margin:12px 0; font-size:16px; line-height:1.45; }
.prototype-email-screen .prototype-email-form { margin-top:20px; }
.prototype-email-screen .prototype-email-actions .intake-button { white-space:normal; line-height:1.3; padding:16px 20px; }
@media(max-width:600px) {
  .prototype-page .prototype-email-screen { padding-top:18px; padding-bottom:14px; }
  .prototype-email-screen h1 { margin-top:0; margin-bottom:12px; }
  .prototype-email-screen .intake-description { font-size:14px; line-height:1.4; margin:10px 0; }
  .prototype-email-screen .prototype-email-form { margin-top:16px; }
  .prototype-email-screen .prototype-email-form > label[for=email] { font-size:14px; }
  .prototype-email-screen .intake-consent { margin:12px 0; }
  .prototype-email-screen .intake-option-body { padding:12px; }
  .prototype-email-screen .intake-option-copy strong { font-size:13px; }
  .prototype-email-screen .intake-option-copy small { font-size:12px; }
  .prototype-email-screen .prototype-email-actions { margin-top:14px; gap:10px; }
  .prototype-email-screen .prototype-email-actions .intake-button { font-size:14px; padding:14px 16px; }
  .prototype-email-screen .prototype-back { margin-top:12px; }
  .prototype-product-switch { margin-top:20px; gap:6px; }
  .prototype-product-switch button { font-size:14px; padding:10px 12px; }
}
.prototype-page [data-slider=vape_frequency] output { font-size:clamp(24px,5vw,32px); line-height:1.2; }
.prototype-communication-note { color:var(--muted); font-size:13px; line-height:1.4; margin:14px 0; }
.prototype-assumptions { color:var(--muted); font-size:13px; line-height:1.45; margin:12px 0; }
.prototype-assumptions summary { cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.prototype-assumptions p { margin:10px 0; }
.prototype-assumptions summary:focus-visible { outline:3px solid var(--blue); outline-offset:4px; }
.prototype-date-note { color:var(--ink); border-left:3px solid var(--teal); padding-left:12px; font-size:14px; line-height:1.45; }
@media(max-width:600px) { .prototype-communication-note { font-size:12px; margin:12px 0; } }
.prototype-proposal-highlights { margin:24px 0; color:var(--teal); }
.prototype-next-steps-screen h1 { color:var(--teal); font-size:clamp(24px,2.5vw,32px); line-height:1.25; margin:0 0 22px; }
.prototype-next-steps { margin:28px 0 24px; }
.prototype-next-steps > h2 { font-size:22px; color:var(--teal); font-weight:500; margin:0 0 24px; }
.prototype-next-steps .intake-confirm-journey-list { display:block; }
.prototype-next-steps .intake-confirm-step-number { font-size:0; }
.prototype-next-steps .intake-confirm-journey-step { padding-bottom:24px; }
.prototype-next-steps .intake-confirm-journey-step:last-child { padding-bottom:0; }
.prototype-next-steps .intake-confirm-journey-step:not(:last-child)::after { display:block; }
.prototype-next-steps .intake-confirm-step-content p { max-width:none; }
@media(max-width:600px) {
  .prototype-next-steps-screen h1 { font-size:24px; line-height:1.25; margin-bottom:18px; }
  .prototype-next-steps { margin:24px 0 20px; }
  .prototype-next-steps > h2 { font-size:20px; margin-bottom:20px; }
  .prototype-next-steps .intake-confirm-journey-step { padding-bottom:18px; }
}
.prototype-proposal-highlights p { margin:12px 0; font-size:clamp(22px,2.5vw,28px); line-height:1.25; font-weight:500; letter-spacing:var(--ls-display); }
.prototype-proposal-divider { margin:24px 0; border:0; border-top:1px solid var(--line); }
.prototype-proposal-screen .prototype-later-button { min-height:44px; padding:8px 4px; width:100%; font:inherit; font-size:15px; line-height:1.4; text-decoration:underline; text-underline-offset:3px; }
.prototype-proposal-screen .prototype-later-button:disabled { opacity:.45; cursor:not-allowed; }
.prototype-proposal-loading .prototype-loading-lines { display:grid; gap:24px; margin:0; padding:0; list-style:none; }
.prototype-loading-lines li { display:flex; align-items:start; gap:14px; color:var(--muted); font-size:20px; line-height:1.4; }
.prototype-loading-lines .prototype-loading-check { width:24px; flex:0 0 24px; color:var(--teal); visibility:hidden; }
.prototype-loading-lines .is-complete .prototype-loading-check { visibility:visible; }
.prototype-loading-lines .is-complete { color:var(--teal); }
.prototype-proposal-loading .prototype-loading-lines h1, .prototype-proposal-loading .prototype-loading-lines p { margin:0; font:inherit; letter-spacing:normal; }
@media(max-width:600px) {
  .prototype-proposal-highlights { margin:20px 0; }
  .prototype-proposal-highlights p { font-size:24px; line-height:1.25; margin:14px 0; }
  .prototype-proposal-divider { margin:20px 0; }
  .prototype-proposal-screen .prototype-later-button { font-size:14px; }
  .prototype-loading-lines li { font-size:18px; }
}
/* The existing confirmation journey, reused as a vertical introduction. */
.prototype-page .intake-main:has(.prototype-process-intro) { align-items:start; }
.prototype-page .prototype-process-intro { max-width:640px; padding-top:36px; animation:none; }
.prototype-process-intro h1 { margin:0 0 28px; }
.prototype-process-intro .intake-confirm-journey-list { display:block; }
.prototype-process-intro .intake-confirm-journey-step { gap:18px; padding-bottom:24px; }
.prototype-process-intro .intake-confirm-journey-step:last-child { padding-bottom:0; }
.prototype-process-intro .intake-confirm-journey-step:not(:last-child)::after { display:block; top:42px; bottom:4px; left:19px; }
.prototype-process-intro .intake-actions { margin-top:32px; }
.prototype-process-intro .intake-actions .intake-button { width:100%; }
@media(max-width:600px) {
  .prototype-page .prototype-process-intro { padding-top:24px; padding-bottom:calc(var(--intake-actions-height,80px) + 24px); }
  .prototype-process-intro h1 { font-size:28px; line-height:1.15; margin-bottom:24px; }
  .prototype-process-intro .intake-confirm-journey-step { gap:13px; padding-bottom:18px; }
  .prototype-process-intro .intake-confirm-step-number { width:32px; height:32px; flex-basis:32px; font-size:13px; }
  .prototype-process-intro .intake-confirm-step-content { padding-top:3px; }
  .prototype-process-intro .intake-confirm-step-content h2 { font-size:14px; line-height:1.4; }
  .prototype-process-intro .intake-confirm-journey-step:not(:last-child)::after { top:33px; bottom:3px; left:15px; }
  .prototype-process-intro .intake-actions { margin-top:0; }
}
/* The loading screen before the result (20 November 2026 owner decision; care/quiz.mjs):
   "Räknar…" above a snusdosa that rocks twice, hops, spins over the bin and drops in;
   about 2 s (in the keyframes, 1% = 20 ms). Both sit low on the screen. */
.prototype-page .intake-main:has(.dosa-loading) > .intake-app { align-self:stretch; display:flex; flex-direction:column; }
.prototype-page .intake-app > .intake-screen.dosa-loading { flex:1 0 auto; display:flex; flex-direction:column; justify-content:flex-end; padding-bottom:clamp(88px,15vh,150px); }
.dosa-loading h1.dosa-caption { margin:0 0 -28px; text-align:center; color:var(--teal); font-size:clamp(26px,7vw,32px); font-weight:500; line-height:1.25; letter-spacing:var(--ls-h3); animation:dosa-caption .38s cubic-bezier(.2,.8,.3,1) both; }
.dosa-dots i { display:inline-block; font-style:normal; animation:dosa-dot 1.1s ease-in-out infinite; }
.dosa-dots i:nth-child(2) { animation-delay:.15s; } .dosa-dots i:nth-child(3) { animation-delay:.3s; }
.dosa-scene { display:block; width:100%; max-width:340px; height:auto; margin:0 auto; overflow:visible; }
.dosa-scene .ink { stroke:#182422; stroke-width:2.2; stroke-linejoin:round; stroke-linecap:round; }
.dosa-ground { stroke:var(--line); stroke-width:2; stroke-linecap:round; }
.dosa-shadow { fill:#182422; opacity:.14; transform-box:fill-box; transform-origin:center; animation:dosa-shadow 2s both; }
.dosa-x { animation:dosa-x 2s both; }
.dosa-hide { animation:dosa-x 2s both, dosa-hide 2s both; }
.dosa-y { animation:dosa-y 2s both; }
.dosa-squash { transform-box:fill-box; transform-origin:50% 100%; animation:dosa-squash 2s both; }
.dosa-spin { transform-box:fill-box; transform-origin:center; animation:dosa-spin 2s both; }
.bin-back, .bin-front { transform-box:view-box; transform-origin:220px 184px; animation:bin-wobble 2s both; }
.bin-lid { transform-box:view-box; transform-origin:260px 109px; animation:bin-lid 2s both; }
.dosa-puff circle { fill:#eef6f2; stroke:#182422; stroke-width:1.6; transform-box:fill-box; transform-origin:center; animation:dosa-puff 2s both; }
.dosa-puff circle:nth-child(2) { animation-delay:.03s; } .dosa-puff circle:nth-child(3) { animation-delay:.06s; }
.dosa-puff circle:nth-child(4) { animation-delay:.04s; } .dosa-puff circle:nth-child(5) { animation-delay:.08s; }
.dosa-sparkles path { fill:var(--yellow); stroke:#182422; stroke-width:1.6; stroke-linejoin:round; transform-box:fill-box; transform-origin:center; animation:dosa-sparkle 2s both; }
.dosa-sparkles g:nth-child(2) path { animation-delay:.1s; }
@keyframes dosa-caption { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes dosa-dot { 0%,55%,100% { transform:none; opacity:.4; } 25% { transform:translateY(-7px); opacity:1; } }
@keyframes dosa-x { 0%,24% { transform:translateX(0); animation-timing-function:cubic-bezier(.3,.45,.5,1); } 58.5%,100% { transform:translateX(150px); } }
@keyframes dosa-y { 0%,24% { transform:translateY(0); animation-timing-function:cubic-bezier(.2,.7,.4,1); } 44% { transform:translateY(-100px); animation-timing-function:cubic-bezier(.55,0,.85,.35); } 70.5%,100% { transform:translateY(-20px); } }
@keyframes dosa-squash {
  0% { transform:rotate(0deg) scale(1,1); } 4.5% { transform:rotate(-11deg) scale(1,1); } 9% { transform:rotate(9deg) scale(1,1); }
  13.5% { transform:rotate(-5deg) scale(1,1); } 17.5% { transform:rotate(0deg) scale(1,1); }
  23% { transform:rotate(0deg) scale(1.2,.74); } 27% { transform:rotate(0deg) scale(.86,1.18); } 35%,100% { transform:rotate(0deg) scale(1,1); }
}
@keyframes dosa-spin { 0%,25% { transform:rotate(0deg); animation-timing-function:ease-in-out; } 63.5%,100% { transform:rotate(360deg); } }
@keyframes dosa-hide { 0%,72.5% { opacity:1; } 74.5%,100% { opacity:0; } }
@keyframes dosa-shadow { 0%,17.5% { transform:scale(1); opacity:.14; } 23% { transform:scale(1.2); opacity:.16; } 44% { transform:scale(.45); opacity:.07; } 53%,100% { transform:scale(.6); opacity:0; } }
@keyframes bin-lid {
  0%,28.5% { transform:rotate(0deg); } 38% { transform:rotate(118deg); } 44% { transform:rotate(100deg); } 49%,68% { transform:rotate(106deg); }
  73% { transform:rotate(-3deg); } 77.5% { transform:rotate(12deg); } 82%,100% { transform:rotate(0deg); }
}
@keyframes bin-wobble { 0%,72.5% { transform:none; } 75% { transform:rotate(-4deg) scale(1.05,.95); } 78% { transform:rotate(3deg) scale(.98,1.03); } 81% { transform:rotate(-1.5deg); } 85%,100% { transform:none; } }
@keyframes dosa-puff { 0%,73% { opacity:0; transform:translateY(0) scale(0); } 77% { opacity:1; transform:translateY(-4px) scale(1.1); } 90%,100% { opacity:0; transform:translateY(-16px) scale(.6); } }
@keyframes dosa-sparkle { 0%,76% { opacity:0; transform:scale(0) rotate(0deg); } 83% { opacity:1; transform:scale(1.25) rotate(45deg); } 94%,100% { opacity:0; transform:scale(0) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { .dosa-scene *, .dosa-loading h1.dosa-caption, .dosa-dots i { animation:none !important; } }
/* Wider screens: the low placement left the scene near the bottom of a tall
   window, so there "Räknar…" and the scene sit in the middle (owner, 20 November 2026). */
@media (min-width:601px) {
  .prototype-page .intake-app > .intake-screen.dosa-loading { justify-content:center; padding-bottom:clamp(64px,12vh,120px); }
}
