/* R12 homepage top: the three-step strip (Pick a design -> Pick colours -> Add your names) with the live preview.
   Approved mock-up: docs/mockups/r12 (mock.css). Shell colours from styles.css (brand direction 6). */
.strip-hero{--sh-card:var(--shell-card,#fbf9f3);--sh-chip:var(--shell-mint,#c9e4d2);--sh-mari:var(--shell-gold,#e9a23b);--sh-slate:#4f5a6e;--sh-line:rgba(27,42,72,.14);--sh-sans:'Inter Tight','Inter',system-ui,sans-serif;
  max-width:1440px;margin:0 auto;display:grid;grid-template-columns:minmax(0,600px) minmax(0,1fr);gap:22px 40px;padding:4px 48px 48px;position:relative;font:400 16px/1.45 var(--sh-sans);color:var(--ink)}
.strip-hero button,.strip-hero input{font:inherit;color:inherit}
.strip-intro{grid-column:1/-1;display:flex;align-items:baseline;gap:12px 28px;flex-wrap:wrap}
.strip-intro h1,.strip-intro h2{font:400 40px/1.1 var(--serif);margin:0;letter-spacing:-.01em;max-width:none}
.strip-intro h1 em,.strip-intro h2 em{display:inline;font-style:italic;color:inherit;font-size:inherit;letter-spacing:inherit}
.strip-intro p{margin:0;color:var(--sh-slate);font-size:18px}
html.studio-account .strip-sub{display:none}
.strip-left{min-width:0}

/* the strip */
.strip{list-style:none;margin:0 0 14px;padding:0;display:grid;grid-template-columns:auto auto auto auto auto;justify-content:start;align-items:stretch;gap:6px}
:lang(it) .strip{grid-template-columns:1fr auto 1fr auto 1fr}
.strip li{display:contents}
.strip li.arrow{display:flex;align-items:center;justify-content:center;color:var(--sh-slate);font-size:20px;padding:0 2px}
.strip .step{display:flex;align-items:center;gap:10px;min-height:52px;height:100%;width:100%;padding:6px 14px 6px 6px;border-radius:999px;border:1px solid var(--sh-line);background:transparent;cursor:pointer;font-weight:600;text-align:left;line-height:1.15}
.strip .step .num{flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--sh-card);border:1.5px solid var(--ink);font-weight:700}
.strip .step[aria-current=step]{background:var(--ink);color:var(--sh-card);border-color:var(--ink)}
.strip .step[aria-current=step] .num{background:var(--sh-mari);color:var(--ink);border-color:var(--sh-mari)}
.strip .step.done .num{background:var(--sh-chip);border-color:var(--shell-accent,#3f8f6c);color:var(--ink)}
.strip .step:focus-visible{outline:3px solid var(--shell-accent,#3f8f6c);outline-offset:3px}

/* panels */
.strip-panel{background:var(--sh-card);border:1px solid var(--sh-line);border-radius:22px;padding:22px 24px;position:relative}
.strip-panel:focus{outline:none}
.strip-panel h2{font:400 26px/1.15 var(--serif);margin:0;letter-spacing:0}
.strip-panel .lede{margin:4px 0 16px;color:var(--sh-slate)}
.strip-hero .row-end{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;flex-wrap:wrap}
.strip-hero .btn{min-height:48px;padding:0 22px;border-radius:999px;border:1.5px solid var(--ink);background:transparent;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;color:var(--ink);font-size:16px}
.strip-hero .btn.primary{background:var(--ink);color:var(--sh-card)}
.strip-hero .btn:focus-visible,.strip-hero .set:focus-visible,.strip-hero .style-card:focus-visible,.strip-hero .linkbtn:focus-visible,.strip-hero .dev button:focus-visible{outline:3px solid var(--shell-accent,#3f8f6c);outline-offset:3px}
.strip-hero .linkbtn{background:none;border:0;min-height:44px;min-width:44px;padding:0 8px;font-weight:600;cursor:pointer;color:var(--ink)}
.strip-hero .linkbtn span{text-decoration:underline;text-underline-offset:3px}

/* step 1: the designs (app.js renders the 36 cards into #style-grid; home-strip.js marks six as featured) */
.strip-hero .style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 12px}
.strip-hero .style-grid .style-card{display:block;width:100%;border:0;padding:0;background:none;text-align:left;cursor:pointer;border-radius:14px;box-shadow:none;transform:none;color:var(--ink)}
.strip-hero .style-grid:not(.expanded) .style-card:not(.featured){display:none}
.strip-hero .style-grid.expanded .style-card{display:block}
.strip-hero .style-card .shot-wrap{display:block;position:relative;border-radius:12px;overflow:hidden;outline:1px solid var(--sh-line)}
.strip-hero .style-card .shot{border:0;border-radius:12px}
.strip-hero .style-card .shot-bar,.strip-hero .style-card .shot-phone{display:none}
.strip-hero .style-card .shot-desktop{inset:0;height:100%}
.strip-hero .style-card .shot-fallback{inset:0}
.strip-hero .style-card .mascot{left:auto;right:4px;bottom:0;width:58px;height:54px}
.strip-hero .style-card .mascot .couple-img,.strip-hero .style-card .mascot .pixel-couple{max-height:50px;filter:drop-shadow(0 1px 0 rgba(255,255,255,.8))}
.strip-hero .style-card strong{display:block;font-size:16px;font-weight:600;margin:6px 2px 0;line-height:1.25}
.strip-hero .style-card small{display:none}
.strip-hero .style-card[aria-pressed=true]{box-shadow:none;border:0}
.strip-hero .style-card[aria-pressed=true] .shot-wrap{outline:3px solid var(--ink);outline-offset:2px}
.strip-hero .style-card[aria-pressed=true] strong::after{content:" ✓";color:var(--shell-accent,#3f8f6c)}
.strip-hero .style-card:hover{transform:none}

/* step 2: colours */
.strip-hero .sets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.strip-hero .set{border:1px solid var(--sh-line);background:#fff;border-radius:14px;padding:8px;cursor:pointer;text-align:center;min-height:44px}
.strip-hero .set .sw{height:58px;border-radius:9px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;border:1px solid rgba(0,0,0,.06)}
.strip-hero .set .sw b{font:400 22px/1 var(--serif)}
.strip-hero .set .sw i{display:block;width:44%;height:7px;border-radius:4px}
.strip-hero .set .lb{display:block;font-size:14px;font-weight:600;margin-top:6px;line-height:1.2}
.strip-hero .set[aria-pressed=true]{outline:3px solid var(--ink);outline-offset:1px}
.strip-hero .set.own .sw{background:conic-gradient(from 90deg,#f39a8a,#e9a23b,#ffe01b,#5aa1d8,#5b4bff,#c47a3d,#f39a8a)}
.strip-hero .set.own .sw b{background:var(--sh-card);border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font:600 22px/1 var(--sh-sans)}
.strip-hero .own-editor{margin-top:14px;border-top:1px dashed var(--sh-line);padding-top:12px;display:grid;gap:6px}
.strip-hero .crow{display:flex;align-items:center;gap:12px;min-height:48px}
.strip-hero .crow input[type=color]{width:44px;height:44px;border:1px solid var(--sh-line);border-radius:10px;padding:2px;background:#fff;cursor:pointer;margin:0;flex:none}
.strip-hero .crow label{flex:1;font-weight:600;font-size:16px;margin:0}
.strip-hero .crow code{font:500 15px/1 ui-monospace,Menlo,monospace;color:var(--sh-slate)}
.strip-hero .ok{display:flex;align-items:center;gap:8px;margin:4px 0 2px}
.strip-hero .ok::before{content:"✓";flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#2f7255;color:#fff;font-size:13px;font-weight:700}
.strip-hero .keep{display:flex;align-items:center;gap:12px;min-height:48px;background:#eef6f0;border-radius:12px;padding:6px 12px;margin-top:6px;cursor:pointer;font-weight:600;font-size:16px}
.strip-hero .keep input{width:22px;height:22px;accent-color:var(--ink);margin:0;flex:none}

/* step 3: names */
.strip-hero .names-form{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;align-items:end}
.strip-hero .names-form label{font-size:16px;font-weight:600;display:block}
.strip-hero .names-form input{min-height:48px;font-size:16px;border-radius:10px;border:1px solid #8a948f;margin-top:6px}
.strip-hero .names-form .btn{grid-column:1/-1;justify-self:start}
.strip-hero .names-done{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:#eef6f0;font-weight:600}

/* preview */
.strip-preview{position:relative;align-self:start;min-width:0}
.strip-preview .frame{background:var(--sh-card);border:1px solid var(--sh-line);border-radius:18px;overflow:hidden;box-shadow:0 18px 40px -24px rgba(19,32,58,.45)}
.strip-preview .sh-top{display:flex;align-items:center;gap:12px;min-height:58px;padding:0 10px 0 16px;border-bottom:1px solid var(--sh-line)}
.strip-preview .dots{color:#8b958d;letter-spacing:2px;font-size:12px}
.strip-preview .ttl{flex:1;font-size:16px;color:var(--ink);font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.strip-preview .ttl small{font-weight:400;color:var(--sh-slate);font-size:15px}
.strip-preview .live{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--sh-slate);margin-right:8px}
.strip-preview .live::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--shell-accent,#3f8f6c)}
.strip-preview .dev{display:inline-flex;background:var(--shell-bg,#e4f0e6);border-radius:999px;padding:3px}
.strip-preview .dev button{border:0;background:none;min-height:44px;padding:0 14px;border-radius:999px;font-weight:600;font-size:15px;cursor:pointer;color:var(--ink)}
.strip-preview .dev button[aria-pressed=true]{background:var(--sh-card);box-shadow:0 1px 2px rgba(0,0,0,.12)}
.strip-preview .screen{position:relative;overflow:hidden;background:#fff;height:560px}
.strip-preview .screen iframe{border:0;transform-origin:0 0;position:absolute;left:0;top:0;background:#fff}
.strip-preview .screen.phone{background:var(--shell-bg,#e4f0e6)}
.strip-preview .screen.phone iframe{box-shadow:0 0 0 2px #1b2a48,0 12px 30px -12px rgba(0,0,0,.4);border-radius:18px}
.strip-mascot{position:absolute;left:18px;bottom:-4px;display:flex;align-items:flex-end;gap:6px;z-index:3}
.strip-mascot .who{display:block;height:92px}
.strip-mascot .who img{height:92px;width:auto;image-rendering:pixelated;filter:drop-shadow(0 2px 0 rgba(255,255,255,.9))}
.strip-mascot .linkbtn{background:var(--sh-card);border:1px solid var(--sh-line);border-radius:999px;padding:0 14px;margin-bottom:12px;font-size:15px}

/* phone */
@media (max-width:900px){
  .strip-hero{grid-template-columns:minmax(0,1fr);padding:4px 24px 32px}
}
@media (max-width:600px){
  .strip-hero{display:block;padding:4px 16px 28px}
  .strip-intro{display:block;margin-bottom:14px}
  .strip-intro h1,.strip-intro h2{font-size:30px}
  .strip-intro p{font-size:17px;margin-top:6px}
  .strip,:lang(it) .strip{grid-template-columns:1fr auto 1fr auto 1fr;gap:2px;margin-bottom:12px}
  .strip li.arrow{font-size:16px;padding:0}
  .strip .step{flex-direction:column;gap:4px;padding:8px 4px;border-radius:16px;text-align:center;min-height:88px;justify-content:center;font-size:16px}
  .strip .step .num{width:32px;height:32px}
  .strip-panel{padding:18px 16px;border-radius:20px}
  .strip-panel h2{font-size:24px}
  .strip-hero .style-grid:not(.expanded){display:flex;overflow-x:auto;gap:12px;margin:0 -6px;padding:6px 6px 8px;scroll-snap-type:x mandatory;scroll-padding:6px}
  .strip-hero .style-grid:not(.expanded) .style-card{flex:0 0 156px;scroll-snap-align:start}
  .strip-hero .style-grid.expanded{grid-template-columns:repeat(2,minmax(0,1fr))}
  .strip-hero .row-end .btn{flex:1 1 auto;white-space:nowrap;padding:0 16px}
  .strip-hero .sets{grid-template-columns:repeat(3,minmax(0,1fr))}
  .strip-hero .set .lb{font-size:16px}
  .strip-hero .crow code{font-size:16px}
  .strip-hero .names-form{grid-template-columns:1fr}
  .strip-preview{margin-top:18px}
  .strip-preview .sh-top{gap:8px;padding:0 8px 0 12px}
  .strip-preview .live,.strip-preview .dots,.strip-preview .ttl small{display:none}
  .strip-preview .ttl{font-size:16px}
  .strip-preview .dev button{font-size:16px;padding:0 12px}
  .strip-mascot{left:10px}
  .strip-mascot .who,.strip-mascot .who img{height:80px}
  .strip-mascot .linkbtn{font-size:16px}
}
@media (prefers-reduced-motion:reduce){.strip-hero *{transition:none!important;scroll-behavior:auto!important}}
/* the preview iframe (index.html?site&preview) shows only the guest site */
html.site-preview .site-header{display:none!important}

/* ---------- R13 journey round (decisions 45-53) ---------- */
/* step 1: nine designs (3x3 on desktop, one swipeable row on phones) and Surprise me */
.strip-hero #step-design .row-end{justify-content:flex-start}
.strip-hero #step-design .row-end [data-step-go]{margin-left:auto}
/* the preview: Guest's view | Your planner, Open full screen, and the countdown */
.strip-preview .sp-sub{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:56px;padding:6px 10px 6px 12px;border-bottom:1px solid var(--sh-line)}
.strip-preview .sp-view{display:inline-flex;background:var(--shell-bg,#e4f0e6);border-radius:999px;padding:3px}
.strip-preview .sp-view button{border:0;background:none;min-height:44px;padding:0 16px;border-radius:999px;font-weight:600;font-size:15px;cursor:pointer;color:var(--ink)}
.strip-preview .sp-view button[aria-pressed=true]{background:var(--ink);color:var(--sh-card)}
.strip-preview .sp-full{display:inline-flex;align-items:center;gap:8px;min-height:44px;min-width:44px;padding:0 14px;border-radius:999px;border:1.5px solid var(--ink);background:transparent;font-weight:600;font-size:15px;cursor:pointer;color:var(--ink)}
.strip-preview .sp-full-ico{width:16px;height:16px;flex:none;background:linear-gradient(currentColor,currentColor) 0 0/6px 2px,linear-gradient(currentColor,currentColor) 0 0/2px 6px,linear-gradient(currentColor,currentColor) 100% 0/6px 2px,linear-gradient(currentColor,currentColor) 100% 0/2px 6px,linear-gradient(currentColor,currentColor) 0 100%/6px 2px,linear-gradient(currentColor,currentColor) 0 100%/2px 6px,linear-gradient(currentColor,currentColor) 100% 100%/6px 2px,linear-gradient(currentColor,currentColor) 100% 100%/2px 6px;background-repeat:no-repeat}
.strip-preview .sp-view button:focus-visible,.strip-preview .sp-full:focus-visible,.strip-mascot .linkbtn:focus-visible{outline:3px solid var(--shell-accent,#3f8f6c);outline-offset:2px}
.strip-preview .sp-count{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px;margin:0;padding:10px 16px;background:#eef6f0;border-bottom:1px solid var(--sh-line);font-size:15px;color:var(--ink)}
.strip-preview .sp-count[hidden]{display:none}
.strip-preview .sp-count .sp-who{font:400 20px/1.15 var(--serif)}
.strip-preview .sp-count .sp-where{color:var(--sh-slate)}
.strip-preview .sp-count .sp-days{margin-left:auto;background:var(--ink);color:var(--sh-card);border-radius:999px;padding:4px 12px;font-weight:600}
/* step 3: names, date, town; then 'Love it?' */
.strip-hero .names-form .wide{grid-column:1/-1}
.strip-hero .strip-love{margin-top:16px;padding:16px 18px;border-radius:16px;background:#eef6f0;border:1px solid rgba(47,114,85,.25)}
.strip-hero .strip-love h3{font:400 24px/1.15 var(--serif);margin:0 0 4px}
.strip-hero .strip-love p{margin:0 0 12px}
.strip-hero .strip-love .strip-love-on{margin:0}
.strip-hero .strip-love .strip-love-on:focus{outline:none}
.strip-hero .strip-love .strip-love-on:focus-visible{outline:3px solid var(--shell-accent,#3f8f6c);outline-offset:4px}
/* toast: Undo after a design or colour change, and the preview's 'This works on your real site' */
.strip-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,24px);z-index:160;display:flex;align-items:center;gap:14px;max-width:min(560px,calc(100vw - 32px));padding:8px 8px 8px 18px;border-radius:16px;background:#1b2a48;color:#fbf9f3;box-shadow:0 14px 34px -14px rgba(0,0,0,.55);opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;font:500 16px/1.35 'Inter Tight','Inter',system-ui,sans-serif}
.strip-toast.on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.strip-toast p{margin:0;flex:1;min-height:20px}
.strip-toast p:empty{display:none}
.strip-toast .btn{min-height:44px;padding:0 18px;border-radius:999px;border:0;background:#e9a23b;color:#1b2a48;font:700 16px/1 inherit;cursor:pointer}
.strip-toast .btn:focus-visible{outline:3px solid #fbf9f3;outline-offset:2px}
.strip-toast:not(.on) .btn{visibility:hidden}
/* the couple menu: a dialog on desktop, a bottom sheet on phones */
.couple-menu{width:min(780px,calc(100vw - 32px));max-height:min(86vh,820px);padding:0;border:0;border-radius:22px;background:#fbf9f3;color:#1b2a48;box-shadow:0 30px 60px -20px rgba(19,32,58,.5);font:400 16px/1.45 'Inter Tight','Inter',system-ui,sans-serif;overflow:hidden;flex-direction:column}
.couple-menu[open]{display:flex}
.couple-menu::backdrop{background:rgba(19,32,58,.45)}
.couple-menu .cm-head{display:flex;align-items:flex-start;gap:12px;padding:20px 20px 8px 24px}
.couple-menu .cm-head>div{flex:1}
.couple-menu h2{font:400 26px/1.15 var(--serif,Georgia,serif);margin:0}
.couple-menu .cm-head p{margin:4px 0 0;color:#4f5a6e}
.couple-menu .cm-x{width:44px;height:44px;border-radius:50%;border:1px solid rgba(27,42,72,.2);background:#fff;font-size:24px;line-height:1;cursor:pointer;color:#1b2a48;flex:none}
.couple-menu .cm-filters{display:flex;flex-wrap:wrap;gap:8px;padding:6px 24px 4px}
.couple-menu .cm-f{min-height:44px;padding:0 16px;border-radius:999px;border:1.5px solid #1b2a48;background:transparent;font:600 16px/1 inherit;color:#1b2a48;cursor:pointer}
.couple-menu .cm-f[aria-pressed=true]{background:#1b2a48;color:#fbf9f3}
.couple-menu .cm-count{margin:6px 24px 6px;color:#4f5a6e;font-size:16px}
.couple-menu .cm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;padding:6px 24px 24px;overflow:auto;min-height:0;flex:1}
.couple-menu .cm-c{position:relative;display:grid;place-items:end center;height:118px;padding:6px 4px 4px;border-radius:14px;border:1px solid rgba(27,42,72,.14);background:#fff;cursor:pointer}
.couple-menu .cm-c img{max-height:104px;max-width:100%;width:auto;height:auto;image-rendering:pixelated}
.couple-menu .cm-c:hover{border-color:#1b2a48}
.couple-menu .cm-c[aria-pressed=true]{outline:3px solid #1b2a48;outline-offset:1px;background:#eef6f0}
.couple-menu .cm-c[aria-pressed=true]::after{content:"✓";position:absolute;top:6px;right:6px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#2f7255;color:#fff;font-weight:700;font-size:14px}
.couple-menu .cm-f:focus-visible,.couple-menu .cm-c:focus-visible,.couple-menu .cm-x:focus-visible{outline:3px solid #3f8f6c;outline-offset:2px}
/* Open full screen */
.preview-full{width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#fbf9f3;color:#1b2a48;flex-direction:column;font:400 16px/1.45 'Inter Tight','Inter',system-ui,sans-serif}
.preview-full[open]{display:flex}
.preview-full::backdrop{background:rgba(19,32,58,.6)}
.preview-full .pf-top{display:flex;align-items:center;gap:12px 18px;padding:8px 12px 8px 20px;border-bottom:1px solid rgba(27,42,72,.14);flex-wrap:wrap}
.preview-full h2{font:400 22px/1.2 var(--serif,Georgia,serif);margin:0}
.preview-full .pf-note{color:#4f5a6e;flex:1}
.preview-full .btn{min-height:48px;padding:0 20px;border-radius:999px;border:1.5px solid #1b2a48;background:#1b2a48;color:#fbf9f3;font:600 16px/1 inherit;cursor:pointer}
.preview-full .btn:focus-visible{outline:3px solid #3f8f6c;outline-offset:2px}
.preview-full iframe{flex:1;width:100%;border:0;background:#fff}
/* phone: sticky Back | Next step bar with step dots */
.strip-bar{position:fixed;left:0;right:0;bottom:0;z-index:150;display:flex;align-items:center;gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fbf9f3;border-top:1px solid rgba(27,42,72,.16);box-shadow:0 -8px 24px -16px rgba(19,32,58,.45);font:600 16px/1 'Inter Tight','Inter',system-ui,sans-serif}
.strip-bar[hidden]{display:none}
.strip-bar .btn{min-height:48px;padding:0 16px;border-radius:999px;border:1.5px solid #1b2a48;background:transparent;color:#1b2a48;font:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.strip-bar .btn.primary{background:#1b2a48;color:#fbf9f3;margin-left:auto}
.strip-bar .btn:disabled{opacity:.45;cursor:default}
.strip-bar .btn:focus-visible{outline:3px solid #3f8f6c;outline-offset:2px}
.strip-bar .dots{display:flex;gap:8px;margin:0 auto}
.strip-bar .dots i{width:10px;height:10px;border-radius:50%;border:1.5px solid #1b2a48;background:transparent}
.strip-bar .dots i.done{background:#3f8f6c;border-color:#3f8f6c}
.strip-bar .dots i.on{background:#1b2a48;width:22px;border-radius:6px}
.strip-bar .spacer{margin-left:auto;width:1px}
html.tour-on .strip-bar,html.strip-dialog .strip-bar{display:none}
html.strip-bar-on .tour-help{bottom:96px}
html.strip-bar-on .strip-toast{bottom:92px}
html.strip-bar-on #toast{bottom:164px}
@media (max-width:720px){
  html.strip-bar-on .strip-hero{padding-bottom:96px}
  html.strip-bar-on .strip-panel .row-end [data-step-go]{display:none}
}
@media (max-width:600px){
  .strip-preview .sp-sub{padding:6px 8px}
  .strip-preview .sp-view button{font-size:16px;padding:0 12px}
  .strip-preview .sp-full{padding:0;width:44px;justify-content:center;font-size:16px}
  .strip-preview .sp-full-lb{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .strip-preview .sp-count{font-size:16px;padding:10px 12px}
  .strip-preview .sp-count .sp-days{margin-left:0}
  .strip-hero #step-design .row-end [data-step-go]{margin-left:0}
  .couple-menu{width:100vw;max-width:100vw;max-height:88vh;margin:auto 0 0;border-radius:22px 22px 0 0}
  .couple-menu .cm-head{padding:16px 14px 6px 18px}
  .couple-menu .cm-filters{padding:4px 16px;gap:6px}
  .couple-menu .cm-f{padding:0 12px}
  .couple-menu .cm-count{margin:6px 18px}
  .couple-menu .cm-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:6px 16px calc(20px + env(safe-area-inset-bottom))}
  .couple-menu .cm-c{height:96px}
  .couple-menu .cm-c img{max-height:84px}
  .preview-full .pf-top{padding:8px 10px 8px 14px}
  .preview-full .pf-note{display:none}
  .preview-full h2{flex:1;font-size:20px}
  .strip-toast{left:12px;right:84px;transform:translateY(24px);max-width:none}
  .strip-toast.on{transform:none}
}
@media (prefers-reduced-motion:reduce){.strip-toast{transition:none}}
/* the planner inside the preview frame (index.html?site&preview, Your planner) */
html.site-mode.site-preview.preview-planner #demo-frame>#organiser-view{display:block!important}
html.site-mode.site-preview.preview-planner #demo-frame>#guest-view{display:none!important}
html.site-preview.preview-planner body{background:var(--paper,#f7f3ea)}

/* ---------- R15: the pixel couple stands under the preview, never on top of it (Stefan 2026-11-12) ---------- */
/* it used to sit in the frame's bottom-left corner and covered the site's text; now it has its own row below the frame,
   so nothing in the preview is ever hidden (tests/journey.cjs checks every width, guest and planner, EN and IT) */
.strip-mascot{position:relative;left:auto;bottom:auto;display:flex;align-items:flex-end;gap:10px;margin:6px 0 0 14px;min-height:72px}
.strip-mascot .who,.strip-mascot .who img{height:72px}
.strip-mascot .linkbtn{margin-bottom:10px}
@media (max-width:600px){
  .strip-mascot{margin-left:8px;min-height:64px}
  .strip-mascot .who,.strip-mascot .who img{height:64px}
  .strip-mascot .linkbtn{margin-bottom:8px}
}

/* ---------- R16 organiser round (decisions 63-67) ---------- */
/* 67: the inline 'This works on your real site' card, under the preview (never on top of it) and in full screen */
.strip-real:empty,.preview-full .pf-real:empty{display:none}
.strip-real{margin:10px 0 0}
.real-card{display:flex;align-items:center;gap:12px 16px;flex-wrap:wrap;padding:14px 14px 14px 18px;border-radius:16px;background:#eef6f0;border:1px solid rgba(47,114,85,.3);color:#1b2a48;font:400 16px/1.45 'Inter Tight','Inter',system-ui,sans-serif}
.real-card .real-msg{flex:1 1 300px;margin:0}
.real-card .real-msg strong{display:block;font-weight:700}
.real-card .real-row{display:flex;align-items:center;gap:10px;margin-left:auto}
.real-card .btn{min-height:48px;padding:0 20px;border-radius:999px;border:1.5px solid #1b2a48;background:#1b2a48;color:#fbf9f3;font:600 16px/1 'Inter Tight','Inter',system-ui,sans-serif;cursor:pointer}
.real-card .real-x{width:44px;height:44px;border-radius:50%;border:1px solid rgba(27,42,72,.25);background:#fff;color:#1b2a48;font-size:24px;line-height:1;cursor:pointer;flex:none}
.real-card .btn:focus-visible,.real-card .real-x:focus-visible,.strip-peek .btn:focus-visible{outline:3px solid #3f8f6c;outline-offset:2px}
.preview-full .pf-real{padding:10px 12px;border-bottom:1px solid rgba(27,42,72,.14)}
/* 66: after step 3, a card points at the planner and the 'Your planner' switch pulses once */
.strip-hero .strip-peek{margin-top:16px;padding:14px 16px;border-radius:16px;background:var(--sh-chip);display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap}
.strip-hero .strip-peek p{margin:0;flex:1 1 220px}
.strip-hero .strip-peek strong{font-weight:700}
.strip-preview .sp-view button.pulse{animation:sp-pulse 1.1s ease-out 1}
@keyframes sp-pulse{0%{box-shadow:0 0 0 0 rgba(233,162,59,.85)}70%{box-shadow:0 0 0 14px rgba(233,162,59,0)}100%{box-shadow:0 0 0 0 rgba(233,162,59,0)}}
@media (prefers-reduced-motion:reduce){.strip-preview .sp-view button.pulse{animation:none}}
@media (max-width:600px){.real-card{padding:12px}.real-card .real-row{margin-left:0;width:100%}.real-card .btn{flex:1}}
/* 63-65 inside the preview frame: the planner's header line, the live replies line and the 'try it' tasks */
html.site-preview .dashboard-head .pv-line{margin:4px 0 0;font-size:16px;font-weight:600;color:var(--ink,#1b2a48)}
html.site-preview .pv-live{margin:12px 4% 0;min-height:0;font-size:16px;color:#1f5a40;font-weight:600}
html.site-preview .pv-live:empty{display:none}
html.site-preview .pv-try{margin:12px 4% 16px;padding:14px 16px;border-radius:14px;background:#eef6f0;border:1px solid rgba(47,114,85,.3);color:#1b2a48}
html.site-preview .pv-try h4{margin:0 0 8px;font-size:18px}
html.site-preview .pv-tasks{list-style:none;margin:0;padding:0;display:grid;gap:6px}
html.site-preview .pv-tasks li{display:flex;align-items:center;gap:10px;position:relative}
html.site-preview .pv-task{display:flex;align-items:center;gap:10px;min-height:44px;padding:4px 12px 4px 6px;border:0;border-radius:10px;background:transparent;color:#1b2a48;font:600 16px/1.3 'Inter Tight','Inter',system-ui,sans-serif;text-align:left;cursor:pointer}
html.site-preview .pv-task:hover{background:rgba(27,42,72,.06)}
html.site-preview .pv-task:focus-visible{outline:3px solid #3f8f6c;outline-offset:2px}
html.site-preview .pv-box{flex:none;width:26px;height:26px;border-radius:7px;border:2px solid #1b2a48;display:grid;place-items:center;font-weight:800;background:#fff}
html.site-preview .pv-tasks li.done .pv-box{background:#2f7255;border-color:#2f7255;color:#fff}
html.site-preview .pv-tasks li.done .pv-label{color:#1f5a40}
html.site-preview .pv-cheer{display:inline-block;height:48px;animation:pv-hop .45s ease-in-out 3 alternate}
html.site-preview .pv-cheer img{height:48px;width:auto;image-rendering:pixelated}
@keyframes pv-hop{from{transform:translateY(0)}to{transform:translateY(-10px)}}
@media (prefers-reduced-motion:reduce){html.site-preview .pv-cheer{animation:none}}
html.site-preview .pv-done{margin-top:10px;padding-top:10px;border-top:1px dashed rgba(27,42,72,.25);display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap}
html.site-preview .pv-done p{margin:0;font-weight:700;flex:1 1 240px}
html.site-preview .pv-done .button{min-height:44px}

/* R18 (decision 119): the read-only preview points to the three steps; (decision 117) signed-in phone bar with Edit your website */
.real-card .real-steps{flex:1 1 100%;margin:0;order:1}
.real-card .real-steps+.real-row{order:2}
.real-card .btn[data-real-steps]{background:transparent;color:#1b2a48}
.strip-bar .btn.icon{width:48px;padding:0;justify-content:center;flex:none}
.strip-bar .btn.edit{flex:1 1 auto;justify-content:center;min-width:0;background:#e9a23b;border-color:#e9a23b;color:#1b2a48}
.strip-bar .btn.edit+.sr-only+.btn.primary{margin-left:0}
