/* ============ The tour "Zo werkt het" (index.html, hoe-het-werkt.html) ============
   A live drawing of the real product: from the walk to the editor. Every word is in the HTML (per language,
   scripts/build-i18n.mjs); assets/js/scenes.js only sets the state: data-ch / data-toast, is-* classes, and --k (the
   scale), --cx/--cy (the cursor), --p (a chapter's progress). The window is drawn at a fixed size (1000×680) and scaled
   to its stage by --k. The admin window copies the admin's own look (.ap-*). Its layout on the homepage is the block
   scoped to .hm-how below; Hoe het werkt lays it out in assets/css/hoe.css (scoped to .hw).
     ≤ 900 px  the homepage: tighter gaps, a smaller caption
     < 760 px  the homepage: the chapters 2×2 */

/* Fraunces: the example bakery in the editor. The latin files assets/fonts/site.css already serves to the demos. */
@font-face{font-family:'Fraunces'; font-style:normal; font-weight:400 500; font-display:swap; src:url(/assets/fonts/fraunces-normal-latin-1928b8.woff2) format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Fraunces'; font-style:italic; font-weight:500; font-display:swap; src:url(/assets/fonts/fraunces-italic-latin-b4a7a0.woff2) format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ---------- shared ---------- */
.sc [hidden]{display:none !important}
.sc-sr{position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}
.sc-stage{position:relative; overflow:hidden}   /* --pad-x / --pad-y: the margin around the window, a share of the stage */
.tr-stage{--pad-x:.05; --pad-y:.06}
.sc-canvas{position:absolute; left:50%; top:50%; transform:translate(-50%,-50%) scale(var(--k, 1)); line-height:normal}   /* as the boards: the page's own line height stays outside */
.sc-stage img{max-width:none}
.sc-play{position:absolute; right:16px; bottom:16px; z-index:3; display:grid; place-items:center; width:34px; height:34px; padding:0; border:0; border-radius:50%; background:#EFEBE2; color:#1F1D1A; cursor:pointer}
.sc-play svg{width:13px; height:13px; fill:currentColor}
.sc-play[aria-pressed="true"] .sc-i-pause, .sc-play[aria-pressed="false"] .sc-i-play{display:none}
.sc-play:hover{background:#E6E1D6}
.sc-play:focus-visible, .tr-ch:focus-visible{outline:2px solid #12B1C2; outline-offset:2px}
.sc-track{display:block; height:2px; margin-top:10px; border-radius:2px; overflow:hidden}
.sc-track i{display:block; width:var(--p, 0%); height:100%; background:#12B1C2}
.sc-dots{display:inline-flex; gap:5px}
.sc-dots i{width:8px; height:8px; border-radius:50%; background:#E6E1D6}
.sc-caret{display:inline-block; width:1.5px; height:1em; margin-left:1px; vertical-align:-.15em; background:currentColor; animation:sc-caret 1s steps(1) infinite}
@keyframes sc-caret{50%{opacity:0}}
.sc-cursor{position:absolute; z-index:10; left:var(--cx, -40px); top:var(--cy, -40px); pointer-events:none; opacity:0; transition:left .8s cubic-bezier(.45,0,.2,1), top .8s cubic-bezier(.45,0,.2,1), opacity .3s}
.sc-cursor.is-on{opacity:1}
.sc-cursor svg{position:relative; display:block; width:26px; height:26px; filter:drop-shadow(0 2px 3px rgb(31 29 26 / .3))}
.sc-cursor path{fill:#1F1D1A; stroke:#FFFFFF; stroke-width:1.3; stroke-linejoin:round}
.sc-ripple{position:absolute; left:-16px; top:-16px; width:32px; height:32px; border-radius:50%; background:rgb(18 177 194 / .45); opacity:0}
.sc-cursor.is-click .sc-ripple{animation:sc-ripple .5s ease-out}
@keyframes sc-ripple{from{transform:scale(.4); opacity:.6}to{transform:scale(1.8); opacity:0}}

/* ---------- the admin window (the admin's own look) ---------- */
.ap{font-family:Inter, -apple-system, sans-serif; font-size:14px; line-height:1.5; color:#1F1D1A}
.ap-app{display:flex; height:726px; padding:10px 10px 10px 0; box-sizing:border-box}
.ap-rail{width:196px; flex:none; padding:14px 12px; box-sizing:border-box; display:flex; flex-direction:column; gap:14px}
.ap-logo{display:flex; gap:2px; align-self:center}
.ap-logo i{width:10px; height:10px; border-radius:2.5px; background:#12B1C2}
.ap-biz{display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:14px; background:#FCFBF8; box-shadow:0 0 0 1px #E4DED3, 0 1px 2px rgba(31,29,26,.05)}
.ap-plate{position:relative; width:32px; height:32px; border-radius:9px; display:flex; align-items:center; justify-content:center; flex:none; font:500 13px/1 'Source Serif 4', Georgia, serif; background:linear-gradient(180deg,#FBFAF6,#F1EEE6); box-shadow:inset 0 0 0 1px #E2DCD1}
.ap-plate.is-i{font-style:italic}
.ap-plate::after{content:""; position:absolute; right:-2px; bottom:-2px; width:8px; height:8px; border-radius:50%; background:#8A5A3B; box-shadow:0 0 0 2px #FCFBF7}
.ap-biz-t{display:flex; flex-direction:column; min-width:0; line-height:1.3}
.ap-biz-t > .ap-one{font-size:13px; font-weight:500}
.ap-on{display:inline-flex; align-items:center; gap:5px; font-size:11px; color:#6B665C}
.ap-on i{width:6px; height:6px; border-radius:50%; background:#12B1C2; box-shadow:0 0 0 3px rgba(18,177,194,.16)}
.ap-nav{display:flex; flex-direction:column; gap:2px}
.ap-rl{display:flex; align-items:center; gap:11px; height:36px; padding:0 10px; border-radius:10px; font-size:14px; color:#3A3732}
.ap-rl svg{flex:none; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round}
.tr-win[data-ch="2"] .ap-rl[data-r="home"], .tr-win[data-ch="3"] .ap-rl[data-r="website"]{background:#FCFBF8; color:#1F1D1A; font-weight:500; box-shadow:0 0 0 1px #E4DED3, 0 1px 2px rgba(31,29,26,.06)}
.ap-cap{font:600 10.5px Inter, sans-serif; letter-spacing:.09em; text-transform:uppercase; color:#6E685D; padding:6px 10px 2px}
.ap-fill{flex:1}
.ap-panel{flex:1; min-width:0; background:#F9F7F3; border-radius:16px; box-shadow:0 0 0 1px #E4DED3, 0 1px 3px rgba(31,29,26,.05); display:flex; flex-direction:column; overflow:hidden}
.ap-crumbs{flex:none; height:50px; display:flex; align-items:center; gap:8px; padding:0 22px; border-bottom:1px solid #ECE7DE; font-size:14px; color:#6B665C}
.ap-crumbs b{color:#1F1D1A; font-weight:600}
.ap-h1{font:400 28px/1.15 'Source Serif 4', Georgia, serif; letter-spacing:-.01em; margin:0}
.ap-card{background:#FDFCF9; border:1px solid #E6E2D8; border-radius:16px}
.ap-muted{color:#6B665C}
.ap-sub::before{content:" · "}
.ap-label{font-size:12px; font-weight:500; color:#6B665C}
.ap-one{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0}
.ap-btn{display:inline-flex; align-items:center; justify-content:center; height:30px; padding:0 13px; border-radius:999px; font:500 12.5px/1 Inter, sans-serif; border:1px solid #DAD5CA; color:#1F1D1A; white-space:nowrap}
.ap-quiet{border-color:transparent; color:#4F4B43; padding:0 6px}
.ap-pri{background:#1F1D1A; color:#FCFBF7; border-color:#1F1D1A}
.ap-pill{display:inline-flex; align-items:center; gap:7px; height:22px; border-radius:999px; font-size:12.5px; font-weight:500; white-space:nowrap}
.ap-pill i{width:7px; height:7px; border-radius:50%; display:inline-block}
.ap-teal i{background:#12B1C2; box-shadow:0 0 0 3px rgba(18,177,194,.16)}
.ap-n{position:relative; width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; font:600 12px Inter, sans-serif; box-shadow:inset 0 0 0 1.3px #DAD5CA; color:#6B665C; transition:background .4s, color .4s, box-shadow .4s}
.ap-n svg path, .t3-box svg path{fill:none; stroke:#FCFBF7; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round}
.ap-shop{background:#EFEBE2; border-left:1px solid #E6E2D8; display:flex; align-items:flex-end; justify-content:center}
.ap-shop svg{width:130px; height:96px}
.ap-shop g{fill:none; stroke:#1F1D1A; stroke-width:2.2; stroke-linejoin:round}
.ap-shop .f{fill:#FDFCF9}
.ap-sw{position:relative; width:30px; height:18px; border-radius:999px; flex:none; background:#1F1D1A}
.ap-sw::after{content:""; position:absolute; top:2px; left:14px; width:14px; height:14px; border-radius:50%; background:#FDFCF9; box-shadow:0 1px 2px rgba(31,29,26,.2)}
.ap-sw.is-off{background:#DAD5CA}
.ap-sw.is-off::after{left:2px}

/* ---------- the tour ---------- */
.tr-list{display:flex; flex-direction:column; margin:0; padding:0; list-style:none; border-top:1px solid #E6E1D6}
.tr-list li{border-bottom:1px solid #E6E1D6}
.tr-ch{display:grid; grid-template-columns:34px minmax(0,1fr); width:100%; padding:18px 0 16px; border:0; background:transparent; color:#1F1D1A; font-family:Inter, sans-serif; text-align:left; cursor:pointer}
.tr-n{padding-top:4px; font:600 12.5px 'Inter Tight', Inter, sans-serif; color:#A8A396}
.tr-t{display:flex; flex-direction:column; gap:5px}
.tr-t b{font:600 20px/1.2 'Inter Tight', Inter, sans-serif; letter-spacing:-.02em; color:#5E5A51}
.tr-t > span:not(.sc-track){font-size:13.5px; line-height:1.5; color:#6B665C}
.tr-ch .sc-track{margin-top:8px}
.tr-ch[aria-current="step"] .tr-n{color:#0B7280}
.tr-ch[aria-current="step"] b{color:#1F1D1A}
.tr-ch[aria-current="step"] .sc-track{background:#EEEAE1}

/* the homepage (.hm-how): centred; the chapters as one row of pills beside the pause button, the window below (max
   1120 px), then one caption line, the active chapter's (index.html holds all four; :has() shows the one in data-ch) */
/* --gap follows the screen's height (--vh: assets/css/home.css); from 600 px of height the window is also as small as
   it must be for the block from the chapter row to the link to fit one screen: the row (52) + the caption (23) + the
   link (10 + 44) + two gaps + 16 px air; the heading above may scroll off. */
.hm-how .tr{--gap:clamp(16px, calc(2.4 * var(--vh, 1vh)), 40px); display:flex; flex-direction:column; align-items:center; gap:var(--gap)}
.hm-how .hm-sec-head{align-items:center; text-align:center}
.hm-how .hm-kicker{align-self:center; color:#3E3A33}
.hm-how .tr-row{display:flex; align-items:center; gap:10px; max-width:100%}
.hm-how .tr-list{flex-direction:row; gap:4px; padding:4px; border:0; border-radius:999px; background:rgb(239 235 226 / .9)}
.hm-how .tr-list li{border:0}
.hm-how .tr-ch{position:relative; display:flex; align-items:center; gap:10px; width:100%; min-height:44px; padding:0 20px; border-radius:999px; color:#5E5A51; font:500 14px/1.2 Inter, sans-serif; white-space:nowrap}
.hm-how .tr-ch:hover{color:#1F1D1A}
.hm-how .tr-n{padding:0; font-size:12px}
.hm-how .tr-t{display:block}
.hm-how .tr-t b{font:inherit; letter-spacing:0; color:inherit}
.hm-how .tr-t > span:not(.sc-track){display:none}
.hm-how .tr-ch .sc-track{position:absolute; left:20px; right:20px; bottom:5px; margin:0}
.hm-how .tr-ch[aria-current="step"]{background:#FCFBF7; color:#1F1D1A; box-shadow:0 0 0 1px #E6E2D8, 0 1px 2px rgb(31 29 26 / .06)}
.hm-how .sc-play{position:static; flex:none; width:44px; height:44px; background:rgb(239 235 226 / .9)}
.hm-how .sc-play:hover{background:#E6E1D6}
.hm-how .tr-stage{width:100%; max-width:1120px; aspect-ratio:1000 / 680; overflow:visible; --pad-x:0; --pad-y:0}
@media (min-height:600px){ .hm-how .tr-stage{width:min(100%, calc((100 * var(--vh, 1vh) - 145px - 2 * var(--gap)) * 1000 / 680))} }
.hm-how .tr-cap{display:flex; justify-content:center; font-size:15px; line-height:1.5; color:#3E3A33; text-align:center}
.hm-how .tr-cap > span{display:none; gap:14px; align-items:baseline}
.hm-how:has(.tr-win[data-ch="0"]) .tr-cap > [data-c="0"], .hm-how:has(.tr-win[data-ch="1"]) .tr-cap > [data-c="1"],
.hm-how:has(.tr-win[data-ch="2"]) .tr-cap > [data-c="2"], .hm-how:has(.tr-win[data-ch="3"]) .tr-cap > [data-c="3"]{display:inline-flex}
.hm-how .tr-cap b{font-weight:600; color:#1F1D1A}
.hm-how .tr-cap-n{font:600 15px 'Inter Tight', Inter, sans-serif; color:#0B7280}
.hm-how .tr > .hm-more{margin-top:calc(10px - var(--gap))}

.tr-win{width:1000px; height:680px; overflow:hidden; border-radius:16px; background:#EEE9E2; box-shadow:0 50px 100px -40px rgb(31 29 26 / .5), 0 0 0 1px rgb(31 29 26 / .08); font-family:Inter, sans-serif; color:#1F1D1A; text-align:left}
.tr-win .sc-cursor{transition-duration:.85s, .85s, .3s}
.tr-win .sc-cursor svg{width:22px; height:22px}
.tr-win .sc-ripple{left:-14px; top:-14px; width:28px; height:28px}
.tr-bar{position:absolute; left:0; right:0; top:0; height:36px; display:flex; align-items:center; gap:12px; padding:0 14px; background:#FCFBF7; border-bottom:1px solid #E6E1D6}
.tr-bar .sc-dots{gap:6px}
.tr-bar .sc-dots i{width:9px; height:9px; background:#E2DCD1}
.tr-url{display:inline-flex; align-items:center; gap:6px; height:22px; margin:0 auto; padding:0 14px; border-radius:7px; background:#F1EEE6; font-size:11px; color:#5E5A51}
.tr-url svg{width:10px; height:10px; fill:none; stroke:currentColor; stroke-width:2.2}
.tr-bar-end{width:39px}
.tr-u2, .tr-win.is-admin .tr-u1{display:none}
.tr-win.is-admin .tr-u2{display:inline}
.tr-c1, .tr-c2, .tr-admin, .tr-c3, .tr-c4{display:none}
.tr-win[data-ch="0"] .tr-c1{display:flex}
.tr-win[data-ch="1"] .tr-c2{display:grid}
.tr-win.is-admin .tr-admin, .tr-win[data-ch="2"] .tr-c3, .tr-win[data-ch="3"] .tr-c4{display:block}

/* 1 · the walk */
.tr-c1{position:absolute; inset:36px 0 0 0; justify-content:center; background:#F9F7F3}
.tr-walk{width:560px; display:flex; flex-direction:column; gap:16px; padding-top:40px}
.tr-qa{display:flex; flex-direction:column; gap:10px; opacity:0; transform:translateY(10px); transition:opacity .4s, transform .45s}
.tr-qa.is-on{opacity:1; transform:none}
.tr-q{display:flex; gap:10px; align-items:center; font-size:14.5px; color:#3E3A33}
.tr-gull{display:grid; place-items:center; flex:none; width:30px; height:30px; border-radius:50%; background:#EEEAE1}
.tr-gull svg{width:17px; height:17px; fill:none; stroke:#1F1D1A; stroke-width:1.6; stroke-linecap:round}
.tr-a{align-self:flex-end; padding:9px 14px; border-radius:16px 16px 4px 16px; background:#1F1D1A; color:#FCFBF7; font-size:14px}
.tr-composer{position:absolute; left:50%; bottom:34px; width:560px; margin-left:-280px; display:flex; align-items:center; gap:10px; height:52px; padding:0 8px 0 18px; box-sizing:border-box; border-radius:16px; background:#FDFCF9; box-shadow:0 0 0 1px #E2DCD1, 0 10px 30px -12px rgb(18 177 194 / .45)}
.tr-in{flex:1; font-size:14.5px; color:#1F1D1A}
.tr-ph{color:#A8A396}
.tr-composer.is-typing .tr-ph, .tr-composer:not(.is-typing) .tr-typed{display:none}
.tr-in .sc-caret{height:17px; vertical-align:-3px; background:#1F1D1A}
.tr-send{display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#1F1D1A}
.tr-send svg{width:15px; height:15px; fill:none; stroke:#FCFBF7; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}

/* 2 · designing */
.tr-c2{position:absolute; inset:36px 0 0 0; grid-template-columns:300px minmax(0,1fr); background:#F9F7F3}
.tr-make{display:flex; flex-direction:column; gap:22px; padding:44px 32px}
.tr-make-l{display:inline-flex; align-items:center; gap:8px; font-size:12.5px; color:#3E3A33}
.tr-make-l i{width:7px; height:7px; border-radius:50%; background:#12B1C2; box-shadow:0 0 0 4px rgb(18 177 194 / .16)}
.tr-make-h{font:600 30px/1.1 'Inter Tight', Inter, sans-serif; letter-spacing:-.03em}
.tr-make-h > span{display:block}
.tr-light{font-weight:300}
.tr-phases{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px}
.tr-phases li{display:flex; align-items:center; gap:12px; height:44px; padding:0 12px; border-radius:12px; font-size:14px; color:#6B665C}
.tr-pm{position:relative; display:grid; place-items:center; width:22px; height:22px; border-radius:50%; font-size:11px; font-weight:600; color:#A8A396; box-shadow:inset 0 0 0 1px #DAD5CA}
.tr-phases li.is-now{background:#FFFFFF; box-shadow:0 0 0 1px #E6E2D8; color:#1F1D1A}
.tr-phases li.is-now .tr-pm{background:#FFFFFF; color:#0B7280; box-shadow:inset 0 0 0 2px #12B1C2}
.tr-phases li.is-done{color:#1F1D1A}
.tr-phases li.is-done .tr-pm{background:#1F1D1A; color:transparent; box-shadow:none}
.tr-phases li.is-done .tr-pm::after{content:"✓"; position:absolute; color:#FCFBF7}
.tr-note{font-size:12.5px; color:#6B665C}
.tr-sheet{position:relative; margin:28px 28px 0 0; overflow:hidden; border-radius:14px 14px 0 0; background:#FFFFFF; box-shadow:0 30px 60px -30px rgb(31 29 26 / .35), 0 0 0 1px #E6E1D6}
.tr-grid{position:absolute; inset:0; background-image:linear-gradient(#EEEAE1 1px, transparent 1px), linear-gradient(90deg, #EEEAE1 1px, transparent 1px); background-size:40px 40px}
.tr-sketch, .tr-colour{position:absolute; inset:0}
.tr-sheet img{display:block; width:100%; height:100%; object-fit:cover; object-position:top}
.tr-sketch{clip-path:inset(0 0 100% 0); transition:clip-path 1.8s cubic-bezier(.4,0,.2,1)}
.tr-sketch img{filter:grayscale(1) contrast(1.6) brightness(1.12)}
.tr-win.is-sketch .tr-sketch{clip-path:inset(0 0 0 0)}
.tr-colour{opacity:0; transition:opacity 1.4s ease}
.tr-win.is-colour .tr-colour{opacity:1}

/* 3 + 4 · the admin. 3, the first publish, is one sheet: its Zet online waits for the tick; 4, a republish, one click */
.tr-admin{position:absolute; left:0; right:0; top:36px; bottom:0; background:#EEE9E2}
.tr-admin .ap-app{height:644px}
.tr-admin .ap-rail{width:210px}
.tr-panel{position:relative}
.tr-live i{background:#A9A397; box-shadow:none; transition:background .4s}
.tr-win.is-live .tr-live i{background:#12B1C2}
.tr-on, .tr-win.is-live .tr-off{display:none}
.tr-win.is-live .tr-on{display:inline}
.t3-wrap{padding:22px; display:flex; flex-direction:column; gap:16px}
.t3-hello{display:grid; grid-template-columns:minmax(0,1fr) 190px; height:140px; box-sizing:border-box; overflow:hidden}
.t3-hello-t{padding:18px 22px; display:flex; flex-direction:column; gap:6px}
.t3-meter{display:flex; flex-direction:column; gap:7px; padding-top:4px; max-width:380px}
.t3-meter-t{display:flex; justify-content:space-between; gap:10px; font-size:12.5px}
.t3-count > span{display:inline-block}
.t3-count > span::first-letter{font-weight:600}
.t3-count .t3-8, .tr-win.is-pub .t3-count .t3-7{display:none}
.tr-win.is-pub .t3-count .t3-8{display:inline-block}
.t3-track{height:8px; border-radius:999px; background:#EFEBE2; overflow:hidden}
.t3-track i{display:block; width:87.5%; height:100%; border-radius:999px; background:#1F1D1A; transition:width .8s ease}
.tr-win.is-pub .t3-track i{width:100%}
.t3-shop svg{width:160px; height:104px}
.t3-door{fill:#A9A397; transition:fill .4s}
.tr-win.is-live .t3-door{fill:#12B1C2}
.t3-grid{display:grid; grid-template-columns:minmax(0,1fr) 230px; gap:14px}
.t3-steps{overflow:hidden}
.t3-steps-h{display:flex; justify-content:space-between; align-items:center; gap:10px; height:44px; padding:0 18px}
.t3-steps-h b{font-size:14.5px; font-weight:600}
.t3-row{display:grid; grid-template-columns:26px minmax(0,1fr) auto; gap:12px; align-items:center; height:44px; padding:0 18px; border-top:1px solid #EEEAE1}
.t3-row .ap-one b{font-weight:500}
.ap-n.is-ok{background:#1F1D1A; box-shadow:none}
.t3-last{background:#FAF8F3; border-top:1px solid #EEEAE1}
.t3-row.t3-row8{height:46px; border-top:0}
.t3-n8{box-shadow:inset 0 0 0 1.5px #1F1D1A; color:#1F1D1A}
.tr-win.is-pub .t3-n8{background:#1F1D1A; color:#FCFBF7; box-shadow:none}
.tr-win.is-pub .t3-n8 span, .t3-post, .tr-win.is-pub .t3-pre{display:none}
.tr-win.is-pub .t3-n8::after{content:"✓"}
.tr-win.is-pub .t3-post{display:inline}
.t3-go{padding:0 18px 16px 56px}
.t3-check{display:flex; align-items:center; gap:10px; font-size:13.5px}
.t3-box{display:grid; place-items:center; flex:none; width:18px; height:18px; border-radius:5px; background:#FFFFFF; box-shadow:inset 0 0 0 1.5px #B9B3A6; transition:background .2s}
.t3-box svg{opacity:0}
.tr-win.is-checked .t3-box{background:#1F1D1A; box-shadow:none}
.tr-win.is-checked .t3-box svg{opacity:1}
.t3-btns{display:flex; align-items:center; gap:12px}
.t3-btns .ap-muted{font-size:12.5px}
.ap-btn.t3-pub{height:38px; padding:0 18px; font-size:13.5px}
.ap-dlg .t3-check{padding-top:4px}
.t3-yes{opacity:.4; transition:opacity .3s}
.tr-win.is-checked .t3-yes{opacity:1}
.t3-prev{padding:14px; display:flex; flex-direction:column; gap:10px}
.t3-prev > b{font-size:14px; font-weight:600}
.t3-prev > .ap-muted{font-size:11.5px}
.t3-shot{flex:1; display:flex; flex-direction:column; border-radius:10px; overflow:hidden; box-shadow:0 0 0 1px #E2DCD1, 0 6px 18px rgba(31,29,26,.07)}
.t3-shot-bar{flex:none; height:24px; display:flex; align-items:center; justify-content:center; gap:4px; background:#EFEBE2; font-size:9.5px; color:#6B665C; white-space:nowrap}
.t3-shot img{display:block; width:100%; flex:1; min-height:0; object-fit:cover; object-position:top}
.t3-scrim{display:none; position:absolute; inset:0; background:rgba(31,29,26,.18)}
/* the sheet: centred on the app window (its panel starts 210 px in: 500 − 210 − 190 = 100), and on the panel's height */
.ap-dlg{display:none; position:absolute; left:100px; top:50%; transform:translateY(-50%); width:380px; padding:22px; box-sizing:border-box; flex-direction:column; gap:10px; background:#FDFCF9; border:1px solid #E6E2D8; border-radius:16px; box-shadow:0 24px 48px -16px rgba(31,29,26,.3)}
.ap-dlg > b{font-size:16.5px; font-weight:600}
.ap-dlg > span:nth-child(2){font-size:13.5px; color:#4F4B43}
.tr-win.is-sheet .t3-scrim{display:block}
.tr-win.is-sheet .ap-dlg{display:flex}
.t3-dlg-btns{display:flex; justify-content:flex-end; gap:8px; margin-top:8px}
.t3-dlg-btns .ap-btn{height:38px; padding:0 14px; font-size:13.5px}
.t3-dlg-btns .ap-pri{padding:0 18px}
.tr-c4 .ap-crumbs svg{flex:none; fill:none; stroke:#4F4B43; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round}
.tr-c4 .ap-crumbs .is-off{margin-left:2px; opacity:.4}
.tr-c4 .ap-crumbs .ap-btn{margin-left:8px}
.t4-body{display:flex; height:574px}
.t4-well{flex:1; min-width:0; padding:16px; background:#EFEBE2}
.t4-site{height:100%; display:flex; flex-direction:column; border-radius:12px; overflow:hidden; background:#FBF6EE; box-shadow:0 0 0 1px #E2DCD1, 0 8px 22px rgba(31,29,26,.08)}
.t4-url{flex:none; height:28px; display:flex; align-items:center; justify-content:center; background:#F4F1EB; border-bottom:1px solid #E6E2D8; font-size:10px; color:#6B665C}
.t4-nav{flex:none; height:44px; display:flex; align-items:center; justify-content:space-between; padding:0 22px; border-bottom:1px solid #EFE6D8}
.t4-logo{font:600 16px Fraunces, Georgia, serif; color:#2A1D14}
.t4-logo em{color:#B4532A; font-weight:500}
.t4-links{display:flex; gap:16px; font-size:11px; color:#5A4636}
.t4-hero{padding:22px 22px 0; display:flex; flex-direction:column; gap:10px}
.t4-kick{font:600 9px Inter, sans-serif; letter-spacing:.14em; text-transform:uppercase; color:#B4532A}
.t4-headbox{position:relative; align-self:flex-start}
.t4-ring{position:absolute; inset:-6px -8px; border-radius:8px; transition:box-shadow .3s}
.tr-win.is-picked .t4-ring{box-shadow:0 0 0 2px #1F1D1A}
.t4-tag{display:none; position:absolute; left:-8px; top:-26px; height:18px; padding:0 8px; border-radius:999px; background:#1F1D1A; color:#FCFBF7; font:500 10.5px/18px Inter, sans-serif}
.tr-win.is-picked .t4-tag{display:block}
.t4-head{position:relative; display:block; max-width:400px; min-height:34px; font:500 30px/1.12 Fraunces, Georgia, serif; color:#2A1D14}
.t4-new, .tr-win.is-changed .t4-old{display:none}
.tr-win.is-changed .t4-new{display:inline}
.t4-lede{max-width:360px; font-size:12px; line-height:1.55; color:#5A4636}
.t4-cta{align-self:flex-start; height:30px; padding:0 14px; border-radius:999px; background:#B4532A; color:#FFF7EE; font:500 11px/30px Inter, sans-serif}
.t4-products{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px; padding:18px 22px}
.t4-products > div{display:flex; flex-direction:column; gap:6px}
.t4-pic{height:84px; border-radius:10px}
.t4-p0{background:radial-gradient(70% 70% at 35% 30%, #E8C08A, #9C6236)}
.t4-p1{background:radial-gradient(70% 70% at 35% 30%, #EFD3A4, #B07A45)}
.t4-p2{background:radial-gradient(70% 70% at 35% 30%, #F1C98E, #A4562B)}
.t4-pp{display:flex; justify-content:space-between; font-size:11px; color:#2A1D14}
.t4-pn{font-family:Fraunces, Georgia, serif; font-size:12.5px}
.t4-side{width:262px; flex:none; display:flex; flex-direction:column; border-left:1px solid #ECE7DE; background:#F9F7F3}
.t4-side-in{flex:1; padding:18px 20px}
.t4-idle, .tr-win.is-editing .t4-editing{display:flex; flex-direction:column; gap:12px}
.t4-editing, .tr-win.is-editing .t4-idle{display:none}
.t4-idle > b{font-size:14.5px; font-weight:600}
.t4-idle > .ap-muted{font-size:12.5px; line-height:1.5}
.t4-secs{overflow:hidden}
.t4-secs > div{display:flex; justify-content:space-between; align-items:center; height:40px; padding:0 14px; border-top:1px solid #EEEAE1; font-size:13px}
.t4-secs > div:first-child{border-top:0}
.t4-ed-h{display:flex; flex-direction:column; gap:2px}
.t4-ed-h b{font-size:17px; font-weight:600}
.t4-fw{display:flex; flex-direction:column; gap:6px}
.t4-field{display:block; height:76px; box-sizing:border-box; padding:10px 12px; border-radius:10px; border:1px solid #1F1D1A; background:#FCFBF7; font-size:14px; line-height:1.5}
.t4-field .sc-caret{height:16px; vertical-align:-3px; background:#1F1D1A}
.t4-meta{display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:11.5px}
.t4-meta .ap-pill{font-size:11.5px; white-space:normal; height:auto; line-height:1.3}
.t4-count{white-space:nowrap}
.t4-was{display:flex; flex-direction:column; gap:2px; padding:10px 12px; font-size:12.5px}
.ap-btn.t4-done{height:36px; width:100%; box-sizing:border-box; font-size:13px}
.t4-foot{display:flex; flex-direction:column; gap:9px; padding:12px 20px 14px; border-top:1px solid #ECE7DE; background:#FDFCF9}
.t4-state{font-size:12px}
.t4-state i{background:#12B1C2; box-shadow:0 0 0 3px rgb(18 177 194 / .16); transition:background .3s}
.tr-win.is-pending .t4-state i{background:transparent; box-shadow:inset 0 0 0 1.5px #A9A397}
.t4-one, .tr-win.is-pending .t4-all{display:none}
.tr-win.is-pending .t4-one{display:inline}
.ap-btn.t4-pub{height:38px; width:100%; box-sizing:border-box; font-size:13.5px}
.t4-keep{font-size:11px; text-align:center}

/* the toast */
.tr-toast{position:absolute; z-index:9; left:20px; right:20px; bottom:20px; display:flex; justify-content:center; pointer-events:none; opacity:0; transform:translateY(12px); transition:opacity .35s, transform .4s}
.tr-win:not([data-toast=""]) .tr-toast{opacity:1; transform:none}
.tr-toast-in{display:inline-flex; align-items:center; gap:14px; height:44px; padding:0 18px; border-radius:999px; background:#1F1D1A; color:#FCFBF7; font-size:13px; box-shadow:0 8px 24px rgb(31 29 26 / .18); white-space:nowrap}
.tr-toast-in > span{display:none}
.tr-win[data-toast="3"] .tr-t3, .tr-win[data-toast="4a"] .tr-t4a, .tr-win[data-toast="4b"] .tr-t4b{display:inline}
.tr-win[data-toast^="4"] .tr-toast-in{padding-right:8px}
.tr-win[data-toast^="4"] .tr-undo{display:grid; place-items:center; height:32px; padding:0 14px; border-radius:999px; background:rgb(252 251 247 / .12); font-weight:500}

/* ---------- smaller screens ---------- */
@media (max-width:900px){
  .hm-how .tr{--gap:28px}
  .hm-how .tr-cap{font-size:14px}
  .hm-how .tr-cap > span{gap:10px}
}
@media (max-width:759px){
  .hm-how .tr-row{align-self:stretch; justify-content:center}
  .hm-how .tr-list{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); flex:0 1 480px; min-width:0; border-radius:26px}
  .hm-how .tr-ch{padding:6px 14px; font-size:13.5px; white-space:normal; text-align:left}
  .hm-how .tr-ch .sc-track{left:14px; right:14px}
}
@media (max-width:719px){
  .tr-t b{font-size:18px}
}
/* without JavaScript the scenes stand on their finished state as written in the HTML */
