/* Real-page additions to the frozen Ocean player (lesson.css). Uses the player's own tokens only. */
html,body{height:100%}
body{background:#edf2fa}
.stage{padding:0}
.device{max-width:none}
.frame{border:0;border-radius:0;box-shadow:none;min-height:100vh;min-height:100dvh}
.top{padding-top:calc(12px + env(safe-area-inset-top,0px));padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
.bottom{padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}
a.exit{text-decoration:none}
.topR{display:flex;align-items:center;gap:10px}
.streakpill{font-size:13px;font-weight:800;color:#ffd77a;white-space:nowrap}
.rl button:disabled{cursor:default;opacity:.55}
.col a{color:var(--accent)}

/* message from a person (approved option B, 5 Nov 2026) */
.msgcard{background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden}
.msg-hd{display:flex;gap:12px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line)}
.msg-hd>div{min-width:0}
.msg-hd b{display:block;font-size:15px}
.msg-hd b span{font-weight:500;color:var(--muted)}
.msg-hd small{color:var(--muted);font-size:12.5px}
.msg-hd .via{display:inline-flex;align-items:center;gap:4px}
.msg-hd .via svg{width:13px;height:13px}
.msg-av{width:38px;height:38px;flex:none;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:15px;background:#e3e8f2;color:#3b4a66}
.av-ava{background:#ffd9a8;color:#7a4a00}.av-sam{background:#cfe0fb;color:#1a46b5}.av-lucy{background:#ffd6e0;color:#9b1c46}
.msg-new{margin-left:auto;font-size:11px;font-weight:800;background:#ffe3e0;color:#b4232f;border-radius:99px;padding:2px 9px}
.msg-in{padding:14px 16px;display:grid;gap:12px}
.msg-in p{font-size:16px;margin:0}
.msg-file{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:10px 12px;background:#f7f9fd}
.msg-file.solo{background:var(--card)}
.msg-file b{display:block;font-size:14px;overflow-wrap:anywhere}
.msg-file small{color:var(--muted);font-size:12.5px}
.fic{width:34px;height:40px;border-radius:4px 12px 4px 4px;display:grid;place-items:end center;padding-bottom:6px;color:#fff;font-size:9px;font-weight:800;letter-spacing:.03em;background:#5b6680}
.k-CSV{background:#1f7a4c}.k-PDF{background:#c2412f}.k-DOC{background:#2563eb}.k-TXT{background:#5b6680}.k-PAGE{background:#7c3aed}.k-JPG{background:#d97706}
.msg-peek{display:grid;gap:6px;border-top:1px dashed var(--line);padding-top:10px}
.msg-peek span{font-size:13.5px;background:#f2f5fb;border-radius:10px;padding:6px 10px}
.msg-peek i{font-style:normal;color:#e0a400;letter-spacing:1px;margin-right:6px}

/* weak vs strong: "what was added" (option D, approved 5 Nov 2026) */
.add{display:grid;gap:14px}
.add .tag{background:none;padding:0;border-radius:0;box-shadow:none;font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.weak-c{color:var(--todo)}.good-c{color:var(--good)}
.add .mono{font-family:"Geist Mono",ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.add-old{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.add-old .mono{font-size:14px;color:var(--muted);text-decoration:line-through;text-decoration-color:var(--faint,#8a94a8)}
.add-new{background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);padding:20px 20px 22px;display:grid;gap:6px}
.add-new .mono{font-size:15px;line-height:2.25;color:var(--ink)}
.seg-add{background:var(--good-soft);border-radius:6px;padding:3px 4px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.seg-add sup{font-family:var(--font);font-size:10.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--good);margin-left:4px;vertical-align:6px}
.add-res{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@container (max-width:640px){.add-res{grid-template-columns:minmax(0,1fr)}}
.add-res>div{border-radius:14px;padding:14px 16px;font-size:15px;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}
.add-res .w{background:var(--todo-soft)}.add-res .s{background:var(--good-soft)}
.add-res .tag{display:block;margin-bottom:4px;white-space:normal}
.prose ol,.prose ul{margin:6px 0 0;padding-left:22px;display:grid;gap:4px}
textarea.owntask{min-height:80px;border:1px solid var(--line);border-radius:12px;width:100%}

/* stage complete */
.stagebadge{font-family:var(--head);font-size:34px;font-weight:800;color:#0e1e3a;background:#ffc93c!important}
.canlist{margin:6px 0 0;padding-left:20px;display:grid;gap:4px;font-size:16px}
.nextcard.dark{background:#0e1e3a;color:#fff}
.nextcard.dark small{color:#9db0d3}
.nextcard.dark p{color:#cdd7ea}
.premtag{font-family:var(--font);font-size:11px;font-weight:800;color:#0e1e3a;background:#ffc93c;border-radius:99px;padding:2px 9px;vertical-align:4px;margin-left:6px}

/* paywall */
.gatecol{max-width:980px}
.gate-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
@container (max-width:760px){.gate-grid{grid-template-columns:minmax(0,1fr)}}
.gate-l,.gate-r{display:grid;gap:14px}
.gate-r h3{font-family:var(--head);font-size:20px}
.gate-card{background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);padding:16px;display:grid;gap:8px}
.gate-card ul{margin:0;padding-left:20px;display:grid;gap:4px}
.gate-lab{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.blurred{filter:blur(3px);opacity:.6;user-select:none;pointer-events:none}
.gate-st{display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:start;background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);padding:13px 15px}
.gate-st .k{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:800;background:var(--accent-soft);color:var(--accent)}
.gate-st.ok .k{background:var(--good-soft);color:var(--good)}
.gate-st p{font-size:14px;color:var(--muted)}
a.btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.gate-btn{justify-self:start;color:var(--btn-ink)!important}
.body.norail{grid-template-columns:minmax(0,1fr)}

/* course rail: every level, with the current lesson's steps open */
.rail{width:272px}
.rl{gap:0;padding:2px 10px 12px;position:relative}
.rl .rs{font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);padding:16px 8px 6px}
.rl .rs:first-child{padding-top:6px}
.lv{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:center;padding:7px 8px;border-radius:10px;text-decoration:none;color:var(--muted);font-size:13.5px;line-height:1.3}
.lv:hover{background:var(--bg);color:var(--ink)}
.lv:focus-visible{outline:3px solid #2f6fd6;outline-offset:1px}
.lvn{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:800;border:1.5px solid var(--line);background:var(--card)}
.lv.d{color:var(--ink)}
.lv.d .lvn{background:var(--good);border-color:var(--good);color:#fff}
.lv.lock{opacity:.6}
.lv.lock .lvn{border:0;background:transparent;font-size:12px}
.lv.here{color:var(--ink);font-weight:800}
.lv.here .lvn{background:#0e1e3a;border-color:#0e1e3a;color:#ffc93c}
.lv-row.cur{background:var(--bg);border-radius:12px;padding-bottom:6px;margin:2px 0}
.rl-steps{list-style:none;margin:2px 0 0;padding:0 4px 0 12px;display:grid;gap:2px;position:relative}
.rl-steps::before{content:"";position:absolute;left:19px;top:6px;bottom:10px;width:2px;background:var(--line)}
.rl-steps button{position:relative;padding:6px 8px;font-size:13.5px}
.rl-steps .rn{width:24px;height:24px;font-size:11.5px}
.rl-steps button.n{background:var(--card)}
.rail.mini .rs,.rail.mini .lv{display:none}
.rail.mini .lv-row.cur{background:none;padding:0}
.rail.mini .rl-steps{padding:0;justify-items:center}
.rail.mini .rl-steps::before{display:none}
.rail.mini .rl{padding:4px 0}

/* Fixed-height player: the sidebar list and the lesson scroll on their own, not the page. */
.frame{height:100vh;height:100dvh;min-height:0}
.rail{min-height:0}
.rl{flex:1;min-height:0;align-content:start;overscroll-behavior:contain}
/* Practice workspace fills the space down to the bottom bar (was a fixed 690px, leaving a gap on tall screens).
   Not inside @container on purpose: browsers without container queries would fall back to the fixed 690px. */
.mid.ws-on{overflow:auto}
.ws{height:auto;min-height:560px}

.msg-av.drawn{overflow:hidden;width:44px;height:44px}
.msg-av.drawn{background:none}.msg-av.drawn img{width:100%;height:100%;display:block}
/* Reading steps: wider column, centred in the space so short steps don't leave a big empty area below. */
#mid:not(.ws-on){display:flex;flex-direction:column}
#readSec{width:100%;max-width:760px;margin-block:auto}
#readSec .prose p{font-size:17px}

/* Level 1 welcome: the shop and the people in the story */
.world{background:#0e1e3a;color:#fff;border-radius:var(--r);padding:18px 18px 16px;display:grid;gap:14px}
.world-hd{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;align-items:start}
.world-ic{width:44px;height:44px;border-radius:12px;background:#ffc93c;display:grid;place-items:center;font-size:22px}
.world-hd b{font-family:var(--head);font-size:19px;display:block;margin-bottom:2px}
.world-hd p{margin:0;color:#cdd7ea;font-size:15px}
.world-ppl{list-style:none;margin:0;padding:12px 0 0;border-top:1px solid #24375c;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
@container (max-width:640px){.world-ppl{grid-template-columns:repeat(2,minmax(0,1fr))}}
.world-ppl li{display:flex;gap:9px;align-items:center;min-width:0}
.world-ppl img,.you-av{width:32px;height:32px;border-radius:50%;flex:none}
.you-av{background:#ffc93c;color:#0e1e3a;font-size:10.5px;font-weight:800;display:grid;place-items:center}
.world-ppl span:last-child{display:grid;font-size:12.5px;color:#9db0d3;line-height:1.3}
.world-ppl b{color:#fff;font-size:14px}
.prose .yourjob{background:var(--card);border-left:4px solid #ffc93c;border-radius:10px;padding:10px 14px}

/* "What's a prompt?" picture: a simple AI chat window */
.chatpic{background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden}
.chatpic-hd{display:flex;align-items:center;gap:6px;padding:10px 14px;border-bottom:1px solid var(--line);background:#f6f9fd}
.chatpic-hd span{width:9px;height:9px;border-radius:50%;background:#dce4f0}
.chatpic-hd b{margin-left:8px;font-size:12.5px;color:var(--muted)}
.chatpic-in{padding:28px 18px 18px;display:grid;gap:6px}
.chatpic-lab{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.chatpic-box{display:flex;gap:12px;align-items:center;border:2px solid var(--accent);border-radius:14px;padding:12px 12px 12px 16px;box-shadow:0 0 0 4px var(--accent-soft)}
.chatpic-box span{flex:1;font-family:"Geist Mono",ui-monospace,monospace;font-size:14.5px;min-width:0;overflow-wrap:anywhere}
.chatpic-box i{font-style:normal;background:var(--accent);color:#fff;border-radius:10px;padding:7px 12px;font-weight:800;font-size:13px}

/* tap-for-meaning words (approved option A, 5 Nov 2026) */
.term{all:unset;cursor:pointer;color:inherit;font-weight:inherit;border-bottom:2px dotted var(--accent);line-height:1.2}
.term:hover,.term[aria-expanded="true"]{background:var(--accent-soft);border-bottom-style:solid;border-radius:3px 3px 0 0}
.term:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:3px}
.termpop{position:fixed;z-index:60;width:min(300px,calc(100vw - 24px));background:#0e1e3a;color:#fff;border-radius:14px;padding:14px 16px;box-shadow:0 16px 40px -12px rgba(14,30,58,.5);font-family:"Figtree",ui-sans-serif,sans-serif;font-size:14.5px;line-height:1.5;display:grid;gap:6px}
.termpop b{font-family:"Bricolage Grotesque",ui-sans-serif,sans-serif;font-size:17px;color:#ffc93c}
.termpop p{margin:0;color:#cdd7ea}
.termpop .ex{background:#1b2d50;border-radius:10px;padding:8px 10px;font-size:13.5px}
.termpop .ex small{display:block;color:#9db0d3;font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}

.termpop[hidden]{display:none}

/* stage review */
.lv.rv .lvn{border-style:dashed}
.lv.rv.here .lvn{border-style:solid}
.rc-sum{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:center;background:#0e1e3a;color:#fff;border-radius:var(--r);padding:14px 16px}
.rc-ic{width:40px;height:40px;border-radius:12px;background:#ffc93c;display:grid;place-items:center;font-size:20px}
.rc-sum p{margin:0;color:#cdd7ea;font-size:15.5px}
.rc-sum b{display:block;color:#ffc93c;font-size:12px;letter-spacing:.07em;text-transform:uppercase}
.rc-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@container (max-width:640px){.rc-list{grid-template-columns:minmax(0,1fr)}}
.rc{background:var(--card);border-radius:14px;box-shadow:var(--shadow);padding:12px 14px;display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start}
.rc-n{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;border:2px solid var(--line);color:var(--muted)}
.rc.d .rc-n{background:var(--good);border-color:var(--good);color:#fff}
.rc small{display:block;font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.rc b{display:block;font-size:15px}
.rc p{margin:2px 0 0;font-size:14px;color:var(--ink)}
.rc p.muted{color:var(--muted)}
.rc-can{background:var(--card);border-radius:14px;box-shadow:var(--shadow);padding:14px 16px;border-left:5px solid var(--good)}
.rc-can b{font-family:var(--head);font-size:17px}
.rc-can ul{margin:6px 0 0;padding-left:20px;display:grid;gap:4px;font-size:15px}

/* Level complete: design E (stars + big points + rank) */
.ce{max-width:600px;margin:0 auto;display:grid;gap:16px;justify-items:center;text-align:center}
.ce .title{margin-top:2px}
.ce-stars{display:flex;gap:10px;align-items:flex-end;justify-content:center;height:104px}
.ce-star{width:72px;height:72px;display:block;transform:scale(0)}
.ce-star.mid{width:96px;height:96px}
.ce-star svg{width:100%;height:100%;display:block}
.ce-star path{fill:#dfe6f2;stroke:#c6d1e3}
.ce-star.on path{fill:#ffc93c;stroke:#e0a400}
.play .ce-star{animation:ceStar .55s cubic-bezier(.2,1.7,.4,1) forwards;animation-delay:var(--d)}
@keyframes ceStar{0%{transform:scale(0) rotate(-40deg)}100%{transform:scale(1) rotate(0)}}
.ce-pts{font-family:var(--head);font-weight:800;font-size:56px;line-height:1;letter-spacing:-.03em}
.ce-pts>span{color:#e0a400;font-variant-numeric:tabular-nums}
.ce-pts small{display:block;font-family:var(--font);font-size:14px;color:var(--muted);letter-spacing:0;font-weight:700;margin-top:4px}
.ce-why{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.ce-why span{font-size:13px;font-weight:700;background:#eef1f6;color:var(--muted);border-radius:99px;padding:4px 10px}
.ce-why span.on{background:#fff4d1;color:#7a5600}
.ce-rank{width:100%;background:#0e1e3a;color:#fff;border-radius:18px;padding:16px 18px;display:grid;gap:10px;text-align:left}
.ce-rank-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.ce-rank-top b{font-family:var(--head);font-size:18px}
.ce-rank-top small{color:#9db0d3;font-size:13px}
.ce-new{font-family:var(--font);font-size:11px;font-weight:800;background:#ffc93c;color:#0e1e3a;border-radius:99px;padding:2px 8px;vertical-align:3px;margin-left:6px}
.ce-meter{height:14px;border-radius:99px;background:#24375c;overflow:hidden}
.ce-meter i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#4f86f7,#ffc93c);transition:width 1.2s ease-out}
.ce-rank-foot{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#cdd7ea;flex-wrap:wrap}
.ce-rank-foot b{color:#ffc93c}
.ce .kit{width:100%;text-align:left}
.ce .nextcard{text-align:left}
.ce-rv{opacity:0;transform:translateY(12px);width:100%}
.ce-stars,.ce-pts,.ce-why{width:auto}
.play .ce-rv{animation:ceRise .5s cubic-bezier(.2,.9,.3,1.2) forwards;animation-delay:var(--d,0s)}
@keyframes ceRise{to{opacity:1;transform:none}}
.play .ce-flame{display:inline-block;animation:ceFlick 1s ease-in-out infinite alternate}
@keyframes ceFlick{to{transform:scale(1.18) rotate(-6deg)}}
@media (prefers-reduced-motion:reduce){.ce-rv{opacity:1;transform:none}.ce-star{transform:none}.play .ce-star,.play .ce-rv,.play .ce-flame{animation:none}.ce-meter i{transition:none}}

/* Stage review: "Your path" */
.yp-lead{font-size:17px;color:var(--muted);margin:0}
.yp{list-style:none;margin:0;padding:0;display:grid;position:relative}
.yp::before{content:"";position:absolute;left:21px;top:22px;bottom:22px;width:3px;background:linear-gradient(var(--good),#ffc93c);border-radius:3px}
.yp > li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;padding:6px 0;position:relative}
.yp-node{width:44px;height:44px;border-radius:50%;background:var(--good);color:#fff;display:grid;place-items:center;font-weight:800;font-size:15px;box-shadow:0 0 0 5px var(--bg);z-index:1}
.yp-card{background:var(--card);border-radius:14px;box-shadow:var(--shadow);padding:10px 14px;display:grid;gap:2px;min-width:0}
.yp-card b{font-size:15px}
.yp-card q{quotes:none;font-weight:600;font-size:14.5px}
.yp > li.end .yp-node{background:#ffc93c;color:#0e1e3a;font-size:20px}
.yp > li.end .yp-card{background:#0e1e3a;color:#fff}
.yp > li.end .yp-card b{color:#ffc93c;font-family:var(--head);font-size:18px}
.yp > li.end ul{margin:4px 0 0;padding-left:18px;color:#cdd7ea;font-size:14.5px;display:grid;gap:2px}

/* Stage review wrap-up: medal */
.medal{position:relative;width:118px;height:132px;transform:scale(0)}
.play .medal{animation:ceStar .7s cubic-bezier(.2,1.6,.4,1) .1s forwards}
.medal-face{position:absolute;left:9px;top:0;width:100px;height:100px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe08a,#ffc93c 55%,#e0a400);box-shadow:inset 0 0 0 6px #f2b21d,0 6px 0 #c48a00;display:grid;place-items:center;align-content:center;font-family:var(--head);font-weight:800;font-size:44px;line-height:.9;color:#0e1e3a;z-index:1}
.medal-face small{font-family:var(--font);font-size:11px;letter-spacing:.14em;font-weight:800}
.medal-rib{position:absolute;bottom:0;width:34px;height:56px;background:#2563eb;clip-path:polygon(0 0,100% 0,100% 100%,50% 82%,0 100%)}
.medal-rib.l{left:28px;transform:rotate(14deg)}
.medal-rib.r{right:28px;transform:rotate(-14deg);background:#1a46b5}
@media (prefers-reduced-motion:reduce){.medal{transform:none}.play .medal{animation:none}}

/* Stage cheat sheet */
.cs{background:var(--card);border-radius:20px;box-shadow:0 2px 0 #dce4f0,0 24px 40px -24px rgba(15,29,54,.35);overflow:hidden;text-align:left}
.cs-hd{background:#0e1e3a;color:#fff;padding:14px 18px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.cs-hd b{font-family:var(--head);font-size:19px}
.cs-hd small{color:#9db0d3;font-size:13px}
.cs-bd{padding:18px;display:grid;gap:16px}
.cs-sec{display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;padding-top:14px;border-top:1px solid var(--line)}
.cs-sec:first-child{border-top:0;padding-top:0}
.cs-n{width:30px;height:30px;border-radius:50%;background:#0e1e3a;color:#ffc93c;display:grid;place-items:center;font-weight:800;font-size:13px}
.cs-l{font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.cs-p{margin:8px 0 0;font-size:14.5px;color:var(--muted)}
.cs-chips{display:flex;flex-wrap:wrap;gap:8px}
.cs-chips span{background:var(--accent-soft);color:#1a46b5;font-weight:700;font-size:14.5px;border-radius:99px;padding:6px 12px}
.cs-swap{width:100%;border-collapse:collapse;font-size:14px}
.cs-swap th{text-align:left;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:0 8px 6px 0}
.cs-swap td{padding:7px 8px 7px 0;border-top:1px solid var(--line);vertical-align:top}
.cs-swap td:first-child{color:var(--todo);width:38%}
.cs-swap td:last-child{color:var(--good);font-weight:600}
.cs-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
@container (max-width:560px){.cs-two{grid-template-columns:minmax(0,1fr)}}
.cs-two>div{border-radius:12px;padding:10px 12px;display:grid;gap:2px}
.cs-two b{font-size:14.5px}.cs-two small{font-size:13.5px}
.cs-two .ok{background:var(--good-soft)}.cs-two .ok b{color:var(--good)}
.cs-two .you{background:#fff4d1}.cs-two .you b{color:#7a5600}
.cs-formula{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cs-part{border-radius:12px;padding:7px 11px;display:grid;line-height:1.2}
.cs-part b{font-size:15px}.cs-part small{font-size:12px;opacity:.8}
.cs .plus{color:var(--muted);font-weight:800}
.p1{background:#e7effe;color:#1a46b5}.p2{background:#e4f2ea;color:#16603b}.p3{background:#fff4d1;color:#7a5600}.p4{background:#f3e8ff;color:#6b21a8}.p5{background:#ffe4e6;color:#9f1239}
.cs-ex{font-family:"Geist Mono",ui-monospace,monospace;font-size:13.5px;background:var(--bg);border-radius:12px;padding:12px 14px;line-height:1.7;margin-top:10px}
.cs-ex span{border-radius:4px;padding:1px 3px}
.cs-tpl{display:flex;gap:10px;align-items:flex-start;background:var(--bg);border-radius:12px;padding:10px 12px}
.cs-tpl span{flex:1;font-family:"Geist Mono",ui-monospace,monospace;font-size:13.5px;line-height:1.55;min-width:0;overflow-wrap:anywhere}
.cs-copy{all:unset;cursor:pointer;font-size:13px;font-weight:700;color:var(--accent);border-radius:8px;padding:5px 10px;background:var(--accent-soft);white-space:nowrap}
.cs-copy.done{background:var(--good-soft);color:var(--good)}
.cs-copy:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.cs-watch{background:var(--todo-soft);border-radius:14px;padding:12px 16px}
.cs-watch .cs-l{color:var(--todo)}
.cs-watch ul{margin:0;padding-left:18px;display:grid;gap:3px;font-size:14.5px}

/* After stage 1: what's next */
.wn{max-width:680px;margin:0 auto;display:grid;gap:18px}
.wn-stages{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;position:relative}
.wn-stages li{display:grid;justify-items:center;gap:4px;text-align:center;position:relative}
.wn-stages li:not(:last-child)::after{content:"";position:absolute;top:15px;left:calc(50% + 18px);right:calc(-50% + 18px);height:3px;border-radius:3px;background:var(--line)}
.wn-stages li.d:not(:last-child)::after{background:var(--good)}
.wn-stages span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:13px;background:var(--card);border:2px solid var(--line);color:var(--muted)}
.wn-stages li.d span{background:var(--good);border-color:var(--good);color:#fff}
.wn-stages li.now span{background:#0e1e3a;border-color:#0e1e3a;color:#ffc93c;box-shadow:0 0 0 4px #ffe9a8}
.wn-stages small{font-size:11.5px;font-weight:700;color:var(--muted);line-height:1.2}
.wn-stages li.now small{color:var(--ink)}
@container (max-width:520px){.wn-stages small{display:none}}
.wn-why{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:start;background:#fff4d1;border-radius:14px;padding:12px 16px}
.wn-ic{font-size:22px;line-height:1.4}
.wn-why p{margin:0;font-size:15.5px;color:#4d3800}
.wn-s2{background:#0e1e3a;color:#fff;border-radius:18px;padding:16px 18px;display:grid;gap:12px}
.wn-s2-hd{display:flex;justify-content:space-between;align-items:center;gap:10px}
.wn-s2-hd small{display:block;color:#9db0d3;font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.wn-s2-hd b{font-family:var(--head);font-size:21px}
.wn-s2 ol{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.wn-s2 li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;background:#18294a;border-radius:10px;padding:8px 10px}
.wn-s2 .sn{width:28px;height:28px;border-radius:50%;background:#24375c;display:grid;place-items:center;font-weight:800;font-size:12.5px;color:#cdd7ea}
.wn-s2 li b{font-size:15px;font-weight:700}
.wn-s2 .lk{font-size:13px;opacity:.8}
.play .wn>*{animation:ceRise .5s cubic-bezier(.2,.9,.3,1.2) both}
.play .wn>*:nth-child(2){animation-delay:.08s}.play .wn>*:nth-child(3){animation-delay:.2s}.play .wn>*:nth-child(4){animation-delay:.32s}.play .wn>*:nth-child(5){animation-delay:.44s}
@media (prefers-reduced-motion:reduce){.play .wn>*{animation:none}}

/* Paywall: Story hook */
#gateSec{max-width:1080px}
.sh-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:28px;align-items:center}
@container (max-width:820px){.sh-grid{grid-template-columns:minmax(0,1fr)}}
.sh-l{display:grid;gap:22px}
.sh-title{font-size:clamp(30px,4.2vw,48px);line-height:1.05}
.sh-catch{background:#fff4d1;border-radius:16px;padding:16px 18px;font-size:16px;color:#4d3800}
.sh-card{background:#0e1e3a;color:#fff;border-radius:26px;padding:26px;display:grid;gap:16px}
.sh-top{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;align-items:center}
.sh-ring{position:relative;width:72px;height:72px;border-radius:20px;background:#ffc93c;display:grid;place-items:center;box-shadow:0 4px 0 #c48a00}
.sh-ring svg{width:58px;height:58px}
.sh-ring b{position:absolute;inset:0;display:grid;place-items:center;font-size:14px;color:#0e1e3a}
.sh-top h3{font-family:var(--head);font-size:clamp(22px,2.4vw,28px);line-height:1.1;margin:0}
.sh-top small{color:#9db0d3;font-size:14px}
.sh-list{list-style:none;margin:0;padding:0;display:grid;gap:9px;font-size:16px;color:#cdd7ea}
.sh-list li::before{content:"✓";color:#ffc93c;font-weight:800;margin-right:10px}
.sh-kept{margin:0;font-size:14px;font-weight:700;color:#bfe7cf}
.sh-btn{display:flex;align-items:center;justify-content:center;background:#ffc93c;color:#0e1e3a;text-decoration:none;font-weight:800;font-size:18px;border-radius:16px;padding:15px 20px;box-shadow:0 4px 0 #c48a00}
.sh-btn:hover{transform:translateY(-1px)}
.sh-price{margin:0;font-size:14.5px;color:#9db0d3}
.sh-price b{color:#fff}
.sh-links{margin:0;font-size:13.5px;color:#9db0d3}
.sh-links a{color:#9cc0ff;font-weight:700}

#gateSec a.sh-btn{color:#0e1e3a}

/* paywall sits in the middle of the screen */
#gateSec{margin:auto;width:100%}

/* level 19: an AI draft shown in the situation; level 27: tool table */
.prose .draftbox{background:#fff;border:1px dashed var(--line);border-left:4px solid var(--todo);border-radius:12px;padding:12px 14px;font-family:"Geist Mono",ui-monospace,monospace;font-size:14px;margin:10px 0}
.prose .draftbox small{display:block;font-family:var(--font);font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--todo);margin-bottom:4px}
.prose .tooltable{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;box-shadow:var(--shadow);margin:10px 0;font-size:14.5px}
.prose .tooltable th{background:#0e1e3a;color:#fff;text-align:left;padding:9px 12px;font-size:13px}
.prose .tooltable td{padding:9px 12px;border-top:1px solid var(--line);vertical-align:top}

/* ---------- activities ---------- */
.act{display:grid;gap:12px}
.act-q{font-weight:700;font-size:16px;margin:0}
.act-check{justify-self:start;border:0;cursor:pointer;background:#0e1e3a;color:#fff;font-weight:800;border-radius:12px;padding:10px 18px;font-size:15px}
.act-check:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.act-fb:empty{display:none}
.act-fb{border-radius:14px;padding:12px 14px;font-size:15px}
.act-fb.ok{background:var(--good-soft);color:#14532d}
.act-fb.ok p{margin:4px 0 0;color:var(--ink)}
.act-fb.no{background:var(--todo-soft);color:#7a4300}
/* sort */
.srt{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.srt li{background:var(--card);border-radius:14px;box-shadow:var(--shadow);padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:2px solid transparent}
@container (max-width:620px){.srt li{grid-template-columns:minmax(0,1fr)}}
.srt li.good{border-color:var(--good)}.srt li.bad{border-color:#e5484d}
.srt-b{display:flex;gap:6px;flex-wrap:wrap}
.srt-b button,.pck-o,.bld-b,.spt-p,.rnk-b button{font:inherit;cursor:pointer}
.srt-b button{border:1.5px solid var(--line);background:#fff;border-radius:99px;padding:6px 12px;font-size:13.5px;font-weight:700;color:var(--muted)}
.srt-b button[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:#fff}
/* match */
.mtc{display:grid;gap:8px}
.mtc-r{background:var(--card);border-radius:14px;box-shadow:var(--shadow);padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:10px;align-items:center;border:2px solid transparent}
@container (max-width:620px){.mtc-r{grid-template-columns:minmax(0,1fr)}}
.mtc-r.good{border-color:var(--good)}.mtc-r.bad{border-color:#e5484d}
.mtc-r select,.fl-s{font:inherit;font-size:14.5px;border:1.5px solid var(--line);border-radius:10px;padding:7px 9px;background:#fff;color:var(--ink);max-width:100%}
/* pick */
.pck{display:grid;gap:8px}
.pck-o{text-align:left;background:var(--card);border:2px solid var(--line);border-radius:14px;padding:12px 14px;box-shadow:var(--shadow);color:var(--ink)}
.pck-o .mono{font-family:"Geist Mono",ui-monospace,monospace;font-size:14px;line-height:1.5}
.pck-o.good{border-color:var(--good);background:var(--good-soft)}.pck-o.bad{border-color:#e5484d}
/* rank */
.rnk{list-style:none;margin:0;padding:0;display:grid;gap:8px;counter-reset:r}
.rnk li{counter-increment:r;background:var(--card);border-radius:14px;box-shadow:var(--shadow);padding:10px 12px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center}
.rnk-n::before{content:counter(r);width:28px;height:28px;border-radius:50%;background:#0e1e3a;color:#ffc93c;display:grid;place-items:center;font-weight:800;font-size:13px}
.rnk .mono{font-family:"Geist Mono",ui-monospace,monospace;font-size:13.5px}
.rnk-b{display:flex;flex-direction:column;gap:3px}
.rnk-b button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:2px 8px;font-size:11px;color:var(--muted)}
/* spot / redact / find the error */
.spt{background:var(--card);border-radius:16px;box-shadow:var(--shadow);padding:16px 18px;font-size:16px;line-height:2}
.spt-p{border:0;background:#f1f4fa;border-bottom:2px dotted #9aa8c0;border-radius:4px;padding:1px 3px;color:inherit;font-size:inherit;line-height:1.6}
.spt-p[aria-pressed="true"]{background:#ffe08a;border-bottom-color:#b07d00}
.spt.red .spt-p[aria-pressed="true"]{background:#0e1e3a;color:#0e1e3a;border-bottom-color:#0e1e3a}
.spt-p.wrong{outline:2px solid #e5484d}
.spt-p.found{background:#ffe08a;outline:2px solid #1f7a4c}
.spt.red .spt-p.found{background:#0e1e3a;color:#0e1e3a}
/* build */
.bld-out{background:var(--card);border-radius:16px;box-shadow:var(--shadow);padding:14px 16px;min-height:64px;font-family:"Geist Mono",ui-monospace,monospace;font-size:14px;line-height:1.7}
.bld-out span:not(.muted){background:var(--accent-soft);border-radius:6px;padding:1px 4px}
.bld{display:flex;flex-wrap:wrap;gap:8px}
.bld-b{border:1.5px dashed #b8c3d6;background:#fff;border-radius:12px;padding:8px 12px;font-size:14px;text-align:left;color:var(--ink)}
.bld-b[aria-pressed="true"]{border-style:solid;border-color:var(--accent);background:var(--accent-soft)}
/* fill */
.fl{background:var(--card);border-radius:16px;box-shadow:var(--shadow);padding:16px 18px;font-family:"Geist Mono",ui-monospace,monospace;font-size:14.5px;line-height:2.4;white-space:pre-wrap}
.fl-s.good{border-color:var(--good)}.fl-s.bad{border-color:#e5484d}
/* chat */
.cht{background:var(--card);border-radius:16px;box-shadow:var(--shadow);padding:14px;display:grid;gap:10px;max-height:380px;overflow:auto}
.cht-m{max-width:88%;border-radius:16px;padding:9px 13px;font-size:15px;white-space:pre-wrap}
.cht-m small{display:block;font-size:11.5px;font-weight:800;opacity:.75;margin-bottom:2px}
.cht-m.you{justify-self:end;background:var(--accent);color:#fff;border-bottom-right-radius:5px}
.cht-m.ai{justify-self:start;background:#f1f4fa;border-bottom-left-radius:5px}
.cht-task{background:#fff4d1;border-radius:12px;padding:10px 12px;font-size:15px}
.cht-in{display:grid;gap:8px}
.cht-in textarea{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:10px 12px;font:inherit;resize:vertical}
.cht-row{display:flex;justify-content:space-between;align-items:center;gap:10px}
.linkbtn{border:0;background:none;color:var(--muted);text-decoration:underline;cursor:pointer;font:inherit;font-size:13px}
.cht-coach p{margin:0;font-size:14.5px}.cht-coach .ok{color:var(--good);font-weight:700}.cht-coach .no{color:#7a4300;font-weight:700}

/* best tool card on the wrap-up */
.toolcard{width:100%;text-align:left;display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:start;background:#eef2ff;border-radius:16px;padding:14px 16px}
.tc-ic{width:44px;height:44px;border-radius:12px;background:#fff;display:grid;place-items:center;font-size:22px}
.toolcard small{display:block;font-size:11.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--accent)}
.toolcard b{display:block;font-size:16px}
.toolcard p{margin:2px 0 0;font-size:14.5px;color:var(--muted)}

/* gift box on stage reviews */
.gift{width:100%;display:grid;justify-items:center;gap:8px}
.gift-box{border:0;background:none;cursor:pointer;position:relative;width:96px;height:90px}
.gift-body{position:absolute;left:10px;right:10px;bottom:0;height:56px;border-radius:8px;background:linear-gradient(90deg,#2563eb 0 42%,#ffc93c 42% 58%,#2563eb 58%)}
.gift-lid{position:absolute;left:4px;right:4px;top:14px;height:22px;border-radius:7px;background:linear-gradient(90deg,#1a46b5 0 42%,#ffc93c 42% 58%,#1a46b5 58%);transition:transform .45s cubic-bezier(.3,1.6,.5,1)}
.gift-lid::before,.gift-lid::after{content:"";position:absolute;top:-14px;width:22px;height:16px;border:5px solid #ffc93c;border-radius:50% 50% 0 50%}
.gift-lid::before{left:22px;transform:rotate(-20deg)}.gift-lid::after{right:22px;transform:scaleX(-1) rotate(-20deg)}
.gift:not(.open) .gift-box{animation:giftWobble 1.6s ease-in-out infinite}
@keyframes giftWobble{0%,70%,100%{transform:rotate(0)}75%{transform:rotate(-6deg)}85%{transform:rotate(6deg)}92%{transform:rotate(-3deg)}}
.gift.open .gift-lid{transform:translateY(-26px) rotate(-14deg)}
.gift-in{display:none;width:100%;text-align:left;background:#fff;border:2px solid #ffc93c;border-radius:18px;padding:16px 18px}
.gift.open .gift-in{display:grid;gap:4px;animation:ceRise .5s ease both}
.gift-in small{font-size:11.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#8a5a00}
.gift-in b{font-family:var(--head);font-size:20px}
.gift-in p{margin:0;color:var(--muted)}
.gift-in ul{margin:6px 0;padding-left:18px;font-size:14.5px;display:grid;gap:3px}
.gift-hint{margin:0;font-size:14px;font-weight:700;color:#8a5a00}
.gift.open .gift-hint{display:none}
@media (prefers-reduced-motion:reduce){.gift:not(.open) .gift-box{animation:none}.gift-lid{transition:none}}
/* level 18 tool table: kind icons + example pills */
.prose .tooltable td{vertical-align:middle}
.prose .tt-kind{display:flex;align-items:center;gap:10px;font-weight:700}
.prose .tt-ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none}
.prose .tt-ic svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.prose .tt-ic.c1{background:#eaf0ff;color:#2f5bea} .prose .tt-ic.c2{background:#e2f6ea;color:#1e7a4f} .prose .tt-ic.c3{background:#fff4d1;color:#9a6a00} .prose .tt-ic.c4{background:#ffe6de;color:#c2410c}
.prose .tt-pills{display:flex;flex-wrap:wrap;gap:5px}
.prose .tt-pills i{font-style:normal;font-size:13px;font-weight:600;background:#f4f2ec;border-radius:99px;padding:3px 10px;white-space:nowrap}
/* ===== Stage 4 tool lessons (6 Nov 2026): meet card, simplified screen tour, fit, tricks, try-it ===== */
.prose .meet{background:#fff;border-radius:18px;padding:18px 20px;box-shadow:0 0 0 1.5px var(--line),0 5px 0 var(--line);display:grid;gap:12px;margin:10px 0 16px}
.prose .meet-hd{display:flex;gap:12px;align-items:center}
.prose .meet-hd b{display:block;font-size:20px;letter-spacing:-.02em}
.prose .meet-hd small{color:var(--muted);font-size:13px}
.prose .meet-ic{width:46px;height:46px;border-radius:14px;flex:none;background:#eaf0ff center/24px no-repeat}
.prose .meet-ic.ic-chat{background-color:#eaf0ff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5bea' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E")}
.prose .meet-ic.ic-doc{background-color:#ffe6de;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2410c' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6zM14 3v5h5M9 13h7M9 17h7'/%3E%3C/svg%3E")}
.prose .meet-ic.ic-apps{background-color:#fff4d1;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a6a00' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 4h7v7H4zM13 4h7v7h-7zM4 13h7v7H4zM13 13h7v7h-7z'/%3E%3C/svg%3E")}
.prose .meet-ic.ic-search{background-color:#e2f6ea;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e7a4f' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5'/%3E%3C/svg%3E")}
.prose .meet-ic.ic-book{background-color:#efe9ff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d4bd8' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 4h11a3 3 0 0 1 3 3v13H8a3 3 0 0 1-3-3zM5 17a3 3 0 0 1 3-3h11'/%3E%3C/svg%3E")}
.prose .meet-ic.ic-agent{background-color:#141b2d;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc93c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3v3M12 18v3M3 12h3M18 12h3M6 6l2 2M16 16l2 2M6 18l2-2M16 8l2-2'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
.prose .meet p{margin:0}
.prose .meet-chips{display:flex;flex-wrap:wrap;gap:6px}
.prose .meet-chips span{font-size:13px;font-weight:700;background:#eaf0ff;color:#2f5bea;border-radius:99px;padding:4px 11px}
.prose .meet-plan{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.prose .meet-plan div{background:#faf6ee;border-radius:12px;padding:10px 12px;font-size:14px}
.prose .meet-plan div:last-child{background:#fff4d1}
.prose .meet-plan small{display:block;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:2px}
@media(max-width:560px){.prose .meet-plan{grid-template-columns:1fr}}
.prose .tm{border-radius:16px;overflow:hidden;box-shadow:0 0 0 1.5px var(--line),0 10px 24px -16px rgba(20,27,45,.5);background:#fff;margin:10px 0}
.prose .tm-bar{display:flex;align-items:center;gap:6px;padding:9px 12px;background:#f4f2ec;border-bottom:1px solid var(--line);font-size:13px}
.prose .tm-bar span{width:10px;height:10px;border-radius:50%;background:#e2ddd1}
.prose .tm-bar b{margin-left:8px}
.prose .tm-bar em{margin-left:auto;font-style:normal;font-size:11px;color:var(--muted)}
.prose .tm-body{display:grid;grid-template-columns:150px minmax(0,1fr);min-height:190px}
.prose .tm-side{background:#faf8f3;border-right:1px solid var(--line);padding:10px;display:grid;gap:4px;align-content:start}
.prose .tm-side i{font-style:normal;font-size:12.5px;padding:6px 8px;border-radius:8px;color:var(--muted)}
.prose .tm-side i:first-child{background:#fff;color:var(--ink);font-weight:700;box-shadow:0 0 0 1px var(--line)}
.prose .tm-main{padding:16px;display:flex;flex-direction:column;justify-content:space-between;gap:14px}
.prose .tm-msg{font-weight:700;font-size:16px;text-align:center;padding-top:14px}
.prose .tm-input{border-radius:14px;box-shadow:0 0 0 1.5px var(--line);padding:10px 12px;display:grid;gap:10px}
.prose .tm-ph{color:var(--muted);font-size:14px}
.prose .tm-tools{display:flex;gap:6px;flex-wrap:wrap}
.prose .tm-btn{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;border-radius:99px;padding:4px 10px 4px 4px;background:#f4f2ec}
.prose .tm-n{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#2f5bea;color:#fff;font-size:11px;font-weight:800;flex:none}
.prose .tm-keys{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:8px}
.prose .tm-keys li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start;font-size:15px}
.prose .tm-note{font-size:13px;color:var(--muted);margin:8px 0 0}
@media(max-width:560px){.prose .tm-body{grid-template-columns:1fr}.prose .tm-side{display:none}}
.prose .fit{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0}
.prose .fit > div{border-radius:16px;padding:14px 16px}
.prose .fit-y{background:#e2f6ea} .prose .fit-n{background:#faf6ee;box-shadow:0 0 0 1.5px var(--line)}
.prose .fit b{display:block;margin-bottom:6px}
.prose .fit-y b{color:#1e7a4f}
.prose .fit ul{margin:0;padding-left:18px;display:grid;gap:4px;font-size:15px}
@media(max-width:560px){.prose .fit{grid-template-columns:1fr}}
.prose .tricks{display:grid;gap:10px;margin:10px 0}
.prose .trick{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;background:#fff;border-radius:16px;padding:14px 16px;box-shadow:0 0 0 1.5px var(--line),0 4px 0 var(--line)}
.prose .trick > span{width:36px;height:36px;border-radius:50%;background:#ffc93c;display:grid;place-items:center;font-weight:900}
.prose .trick b{display:block;font-size:16px}
.prose .trick p{margin:2px 0 0;font-size:15px;color:var(--muted)}
.prose .tryit{margin:10px 0;padding:0;list-style:none;counter-reset:t;display:grid;gap:8px}
.prose .tryit li{counter-increment:t;display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start;background:#fff;border-radius:12px;padding:10px 12px;box-shadow:0 0 0 1.5px var(--line)}
.prose .tryit li::before{content:counter(t);width:26px;height:26px;border-radius:50%;background:#141b2d;color:#fff;display:grid;place-items:center;font-weight:800;font-size:13px}
.prose .tt-ic.c5{background:#ffe6de;color:#c2410c} .prose .tt-ic.c6{background:#efe9ff;color:#6d4bd8} .prose .tt-ic.c7{background:#141b2d;color:#ffc93c}
/* tool logos (Stage 4) */
.prose .meet-logo{width:46px;height:46px;border-radius:14px;flex:none;background:#fff;padding:9px;box-shadow:0 0 0 1.5px var(--line);box-sizing:border-box;object-fit:contain}
.prose .meet-logos{display:flex;gap:6px;flex:none}
.prose .tm-logo{width:16px;height:16px;object-fit:contain;flex:none}
.prose .tm-bar .tm-logo{margin-left:8px}.prose .tm-bar .tm-logo + b{margin-left:4px}
.prose .tm-btn .tm-logo{width:14px;height:14px}
.prose .tt-pills i{display:inline-flex;align-items:center;gap:6px}
.prose .tt-pills i img{width:15px;height:15px;object-fit:contain}
.toolcard .tc-logos{display:flex;gap:4px;flex:none;align-self:center}
.toolcard .tc-logos img{width:34px;height:34px;border-radius:10px;background:#fff;padding:6px;box-shadow:0 0 0 1.5px var(--line);box-sizing:border-box}
.cs-logos{display:inline-flex;gap:4px;margin-left:8px;vertical-align:-3px}.cs-logos img{width:16px;height:16px;object-fit:contain}
.gift-lg{width:16px;height:16px;object-fit:contain;margin-right:6px;vertical-align:-3px}

/* Course 02: "Now do it for your own search" card on the level-complete screen (6 Nov 2026). */
.ce .yours{width:100%;text-align:left;background:#fff4d1;border-radius:16px;padding:14px 16px;display:grid;gap:8px}
.ce .yours p{margin:0;font-size:15px;line-height:1.5}
.ce .yours .cs-tpl{background:#fff;white-space:pre-wrap}

/* Responsive audit (6 Nov 2026): on phones, start lesson content at the top instead of centering it vertically. */
@media (max-width:760px){#readSec{margin-block:0 auto}}

/* tool card on the situation step + research tables in sample replies (7 Nov 2026) */
#readSec .toolcard{margin-top:14px}
.rtab{width:100%;border-collapse:collapse;font-size:13.5px;white-space:normal;margin:6px 0}
.rtab th,.rtab td{text-align:left;padding:5px 6px;border-bottom:1px solid rgba(0,0,0,.08);vertical-align:top}
.rtab th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;opacity:.7}
.rtab-wrap{overflow-x:auto;white-space:normal}
.rtab .nf{color:#a15c00;font-style:italic}
#readSec .toolcard{grid-template-columns:auto minmax(0,1fr)}
.add-res.wide{grid-template-columns:minmax(0,1fr)}
.rtab th,.rtab td{overflow-wrap:normal;word-break:normal}
.rtab{min-width:0}
@media (max-width:700px){.rtab th:nth-child(3),.rtab td:nth-child(3),.rtab th:nth-child(4),.rtab td:nth-child(4){display:none}.rtab{font-size:13px}}

/* chat activity, design A "looks like the real tool" (7 Nov 2026) */
.ch-steps{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.ch-step{display:inline-flex;align-items:center;gap:8px;background:#fff;border-radius:999px;padding:5px 14px 5px 5px;font-size:14px;font-weight:700;color:var(--muted);box-shadow:inset 0 0 0 1.5px var(--line)}
.ch-step i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:12.5px;background:#eef2f8}
.ch-step.done{color:#1f7a4c}.ch-step.done i{background:#1f7a4c;color:#fff}
.ch-step.now{color:var(--ink,#0e1e3a);box-shadow:inset 0 0 0 2px var(--accent)}.ch-step.now i{background:var(--accent);color:#fff}
.ch-win{background:#fff;border-radius:20px;box-shadow:0 0 0 1px var(--line),0 10px 28px -14px rgba(15,29,54,.22);overflow:hidden;min-width:0}
.ch-hd{display:flex;align-items:center;gap:10px;padding:11px 16px;border-bottom:1px solid var(--line);font-size:14.5px}
.ch-logos{display:flex;gap:4px}.ch-logos img{width:20px;height:20px;object-fit:contain}
.ch-sim{margin-left:auto;font-size:12px;font-weight:700;color:var(--muted);background:#f1f4fa;border-radius:99px;padding:3px 10px;white-space:nowrap}
.ch-thread{padding:18px 16px;display:grid;gap:14px;max-height:460px;overflow:auto;min-width:0}
.ch-row{display:flex;gap:10px;align-items:flex-end;min-width:0}
.ch-row.you{flex-direction:row-reverse}
.ch-av{width:30px;height:30px;border-radius:50%;flex:none;display:grid;place-items:center;font-size:10.5px;font-weight:800}
.ch-av.ai{background:#fff;box-shadow:0 0 0 1.5px var(--line)}.ch-av.ai img{width:18px;height:18px;object-fit:contain}
.ch-av.you{background:var(--accent);color:#fff}
.ch-b{border-radius:18px;padding:10px 14px;font-size:15.5px;max-width:78%;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}
.ch-row.ai .ch-b{background:#f1f4fa;border-bottom-left-radius:6px}
.ch-row.you .ch-b{background:var(--accent);color:#fff;border-bottom-right-radius:6px}
.ch-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ch-ok{color:#1f7a4c;font-weight:700;font-size:14.5px}
.ch-note{background:#fff4e5;border-radius:12px;padding:9px 12px;font-size:14.5px;color:#7a4300;display:grid;gap:2px}
.ch-note span{color:var(--muted);font-weight:500}
.ch-typing{display:inline-flex;gap:4px;padding:12px 14px;background:#f1f4fa;border-radius:18px;justify-self:start;margin-left:40px}
.ch-typing i{width:7px;height:7px;border-radius:50%;background:#9aa6bd;animation:chdot 1s infinite ease-in-out}
.ch-typing i:nth-child(2){animation-delay:.15s}.ch-typing i:nth-child(3){animation-delay:.3s}
@keyframes chdot{0%,80%,100%{opacity:.35;transform:none}40%{opacity:1;transform:translateY(-3px)}}
.ch-row .ch-typing{margin-left:0;padding:14px 16px;border-bottom-left-radius:6px;gap:5px}
.ch-row .ch-typing i{width:8px;height:8px;background:#7d8aa3;animation:chbounce 1.2s infinite ease-in-out}
.ch-row .ch-typing i:nth-child(2){animation-delay:.18s}.ch-row .ch-typing i:nth-child(3){animation-delay:.36s}
@keyframes chbounce{0%,60%,100%{opacity:.35;transform:translateY(0) scale(.85)}30%{opacity:1;transform:translateY(-4px) scale(1)}}
.ch-wait .ch-av.ai{animation:chpulse 1.2s infinite ease-in-out}
@keyframes chpulse{0%,100%{box-shadow:0 0 0 1.5px var(--line)}50%{box-shadow:0 0 0 1.5px var(--line),0 0 0 5px rgba(59,99,221,.12)}}
.ch-cur{display:inline-block;width:9px;height:9px;border-radius:50%;background:#0e1e3a;margin-left:3px;vertical-align:middle;animation:chblink .8s infinite}
.ch-pend{display:none!important}
/* AI replies formatted like a real chat tool (Markdown) */
.md{white-space:normal;display:grid;gap:10px;line-height:1.55}
.md>*{margin:0}
.md h4{font-family:var(--head);font-size:16px;font-weight:800;margin-top:4px}
.md ul,.md ol{padding-left:22px;display:grid;gap:5px}
.md li::marker{color:#7d8aa3}
.md ol li::marker{font-weight:700}
.md strong{font-weight:700;color:#0e1e3a}
.md-tab{overflow-x:auto;border-radius:10px;border:1px solid #dfe5ef;background:#fff}
.md table{border-collapse:collapse;width:100%;font-size:14px}
.md th,.md td{text-align:left;padding:8px 10px;border-bottom:1px solid #e8edf5;vertical-align:top}
.md th{background:#f7f9fc;font-weight:700;white-space:nowrap}
.md tr:last-child td{border-bottom:0}
.ch-row.ai .ch-b:has(.md-tab){max-width:100%}
@keyframes chblink{50%{opacity:.2}}
.ch-in{animation:chfade .35s ease-out}
@keyframes chfade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.ch-typing i,.ch-wait .ch-av.ai,.ch-cur,.ch-in{animation:none}}
.ch-task{margin:0 16px 12px;background:#fff4d1;border-radius:14px;padding:12px 14px;display:flex;gap:10px;font-size:15px}
.ch-foot{padding:0 16px 14px}
.ch-comp{display:flex;gap:8px;align-items:flex-end;background:#fff;border:1.5px solid var(--line);border-radius:22px;padding:8px 8px 8px 16px}
.ch-comp:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #e7effe}
.ch-comp textarea{flex:1;border:0;outline:0;resize:none;font:inherit;font-size:15.5px;line-height:1.45;padding:6px 0;min-height:48px;background:transparent;color:inherit}
.ch-comp textarea:disabled{opacity:.6}
.ch-send{width:40px;height:40px;border-radius:50%;border:0;background:var(--accent);color:#fff;box-shadow:0 3px 0 #1a46b5;display:grid;place-items:center;flex:none;cursor:pointer}
.ch-send svg{width:18px;height:18px}
.ch-send:disabled{opacity:.4;cursor:default}
.ch-send:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.ch-hint{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:6px;font-size:12.5px;color:var(--muted)}
@media (max-width:560px){.ch-sim{display:none}.ch-b{max-width:86%}.ch-hint>span{display:none}}
.rl-tag.rl-learn{background:#e7effe;color:#2563eb}

/* chat: clearer task, no empty gap, growing message box (7 Nov 2026) */
.ch-thread:empty{display:none}
.ch-hd + .ch-thread:empty + .ch-task{margin-top:14px}
.ch-inc{margin-top:8px;background:rgba(255,255,255,.65);border-radius:10px;padding:8px 12px}
.ch-inc small{display:block;font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#7a5a00}
.ch-inc ul{margin:4px 0 0;padding-left:18px;display:grid;gap:2px}
.ch-why{margin:8px 0 0;font-size:14px;color:var(--muted)}
.ch-comp textarea{max-height:240px;overflow-y:auto}

/* level 5 "where to save it": document preview + tool steps (7 Nov 2026) */
.prose .bb-doc{background:#fff;border-radius:14px;box-shadow:0 0 0 1px var(--line),0 8px 22px -14px rgba(15,29,54,.25);overflow:hidden;margin:12px 0 16px}
.prose .bb-doc-hd{display:flex;align-items:center;gap:8px;padding:9px 14px;background:#f4f6fb;border-bottom:1px solid var(--line);font-size:14px;flex-wrap:wrap}
.prose .bb-doc-hd small{margin-left:auto;color:var(--muted);font-size:12.5px}
.prose .bb-doc-in{padding:12px 18px 14px;font-size:14px;line-height:1.45}
.prose .bb-doc-in h5{margin:8px 0 1px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.prose .bb-doc-in h5:first-child{margin-top:0}
.prose .bb-doc-in p{margin:0}
.prose .bb-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 14px}
@media (max-width:640px){.prose .bb-tools{grid-template-columns:minmax(0,1fr)}}
.prose .bb-tool{background:#fff;border-radius:14px;box-shadow:0 0 0 1px var(--line);padding:12px 14px;min-width:0}
.prose .bb-tool-hd{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.prose .bb-tool-hd img{width:20px;height:20px}
.prose .bb-tool ol{margin:0;padding-left:20px;display:grid;gap:4px;font-size:14.5px}
.prose .bb-note{font-size:14px;color:var(--muted)}

/* logo images in AI replies (level 7, 7 Nov 2026) */
.lg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px;margin:8px 0 2px;white-space:normal}
.lg-tile{margin:0;background:#fff;border-radius:12px;padding:6px;box-shadow:0 0 0 1px rgba(14,30,58,.08);text-align:center}
.lg-tile svg{display:block;width:100%;height:auto;border-radius:8px}
.lg-tile figcaption{font-size:12.5px;font-weight:700;margin-top:5px;color:#3d4a63;line-height:1.3}
.lg-tile figcaption.bad{color:#a15c00}
.lg-sizes{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap;margin:10px 0 6px;white-space:normal}
.lg-sizes figure{margin:0;text-align:center}
.lg-sizes svg{display:block;width:100%;height:auto;border-radius:6px;box-shadow:0 0 0 1px rgba(14,30,58,.1)}
.lg-sizes figcaption{font-size:11.5px;color:#5b6680;margin-top:4px;white-space:nowrap}
.ch-b .lg-grid{min-width:min(440px,60vw)}

/* Course 03 Stage 1 (10 Nov 2026): customer profile cards in AI replies, "Now yours" save box */
.cp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin:8px 0 4px;white-space:normal}
.cp-card{background:#fff;border-radius:12px;padding:10px 12px;box-shadow:0 0 0 1px rgba(14,30,58,.08);font-size:13.5px;line-height:1.4;min-width:0}
.cp-card>b{display:block;font-size:14.5px;margin-bottom:4px}
.cp-card dl{margin:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 10px}
.cp-card dt{font-weight:800;font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:#5b6680;padding-top:1px}
.cp-card dd{margin:0}
.cp-note{margin:6px 0 0;font-size:13.5px;white-space:normal}
.ch-b .cp-grid{min-width:min(420px,58vw)}
.mine-box{margin-top:12px;display:grid;gap:6px;text-align:left}
.mine-box label{font-weight:800;font-size:14px}
.mine-box textarea{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:10px 12px;font:inherit;font-size:15px;resize:vertical;background:#fff;color:inherit}
.mine-box textarea:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px #e7effe}
.mine-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px;color:#1f7a4c;font-weight:700}

/* Cheat sheet: detailed templates, one per task in the level */
.cs-tpl-h{display:flex;gap:8px;align-items:center;font-weight:700;font-size:14.5px;color:#0e1e3a;margin:14px 0 6px}
.cs-tpl-h:first-of-type{margin-top:4px}
.cs-tpl-h i{font-style:normal;width:20px;height:20px;border-radius:50%;background:#e6ecf8;color:#3b63dd;font-size:11.5px;font-weight:800;display:grid;place-items:center;flex:none}
.cs-tpl.full span{white-space:pre-wrap}
.cs-tpl.full+.cs-p{margin-top:14px}

/* Quick check: write-a-prompt questions, graded on content, details and format */
.qw-ctx{background:#fff4d1;border-radius:14px;padding:12px 16px;font-size:15px}
.qw-ctx ul{margin:6px 0 0;padding-left:20px;display:grid;gap:3px}
.qw-in{width:100%;box-sizing:border-box;min-height:150px;border:1.5px solid var(--line);border-radius:14px;padding:12px 14px;font:inherit;font-size:15.5px;line-height:1.5;resize:vertical;background:var(--card);color:inherit}
.qw-in:focus{outline:0;border-color:#3b63dd;box-shadow:0 0 0 3px rgba(59,99,221,.15)}
.qw-res{display:grid;gap:10px}
.qw-res.stale{opacity:.45}
.qw-short{margin:0;color:var(--todo);font-weight:700}
.qw-cat{background:var(--card);border:1.5px solid var(--line);border-radius:14px;padding:12px 14px;display:grid;gap:10px}
.qw-cat.ok{border-color:#bfe3cf}.qw-cat.no{border-color:#f3cfa0}
.qw-ch{display:flex;justify-content:space-between;align-items:baseline}
.qw-ch b{font-family:var(--head);font-size:15px}.qw-ch small{color:var(--muted);font-weight:700}
.qw-cat .checks .tip .ic{background:#e6ecf8;color:#3b63dd}
.add-new .mono{white-space:pre-wrap;line-height:2}
.ch-row.you .ch-b{white-space:pre-wrap}

/* Sidebar: stage headers fold their levels open/closed */
.rl .rs{padding:10px 0 2px}
.rl .rs:first-child{padding-top:2px}
.rl .rs-btn{all:unset;box-sizing:border-box;cursor:pointer;width:100%;display:flex;grid-template-columns:none;align-items:flex-start;gap:8px;padding:8px;border-radius:10px;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit}
.rl .rs-btn:hover{background:var(--bg);color:var(--ink)}
.rl .rs-btn:focus-visible{outline:2px solid #3b63dd;outline-offset:1px}
.rl .rs-t{flex:1;min-width:0;line-height:1.35}
.rl .rs-btn small{font-size:inherit;line-height:1.35;flex:none;font-weight:700;letter-spacing:0;color:var(--faint,#8a94a8)}
.rl .rs-btn svg{width:14px;height:1.35em;flex:none;transition:transform .2s}
.rl .rs-btn[aria-expanded="false"] svg{transform:rotate(-90deg)}
.lv-row[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.rs-btn svg{transition:none}}
.qw-win .ch-task{margin-top:14px}
.qw-win .ch-inc ul{margin:4px 0 0;padding-left:18px;display:grid;gap:2px}
.qw-win .ch-send:disabled{opacity:.45;cursor:default;box-shadow:none}
.qw-win+.qw-res{margin-top:4px}

/* AI-made images in chat ("Creating image…" → sharpens top to bottom, like ChatGPT) */
.gen-img{margin:4px 0;display:grid;gap:6px;max-width:560px;cursor:zoom-in}
.gen-img figcaption{font-size:13px;color:var(--muted);line-height:1.4}
.gen-frame{position:relative;border-radius:14px;overflow:hidden;background:#e7ecf5;line-height:0;box-shadow:0 0 0 1px rgba(15,29,54,.08)}
.gen-frame>svg{width:100%;height:auto;display:block;animation:genReveal 3.2s cubic-bezier(.3,.6,.3,1) both}
.gen-frame::after{content:"Creating image…";position:absolute;inset:0;display:grid;place-items:center;font:600 13.5px/1 var(--font);color:#55617a;letter-spacing:.01em;
  background:linear-gradient(110deg,#e3e8f2 20%,#f4f6fb 40%,#e3e8f2 60%) 0 0/250% 100%;animation:genShimmer 1.1s linear infinite,genCover 3.2s ease both;pointer-events:none}
@keyframes genReveal{0%{clip-path:inset(0 0 100% 0);filter:blur(18px) saturate(.6)}30%{clip-path:inset(0 0 100% 0);filter:blur(18px) saturate(.6)}75%{filter:blur(5px)}100%{clip-path:inset(0 0 0 0);filter:none}}
@keyframes genCover{0%,30%{opacity:1}55%{opacity:.55}100%{opacity:0}}
@keyframes genShimmer{to{background-position:-250% 0}}
.gen-static .gen-frame>svg,.gen-static .gen-frame::after{animation:none}
.gen-static .gen-frame::after{display:none}
.gen-dl{position:absolute;top:8px;right:8px;width:32px;height:32px;border-radius:9px;border:0;background:rgba(255,255,255,.92);color:#33405a;display:grid;place-items:center;cursor:pointer;opacity:0;transition:opacity .2s;box-shadow:0 2px 6px rgba(15,29,54,.18)}
.gen-dl svg{width:17px;height:17px}
.gen-img:hover .gen-dl,.gen-dl:focus-visible{opacity:1}
.gen-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));max-width:620px}
.gen-grid.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.gen-grid .gen-img{margin:0}
.gen-grid .gen-img:nth-child(2) .gen-frame>svg,.gen-grid .gen-img:nth-child(2) .gen-frame::after{animation-delay:.25s}
.gen-grid .gen-img:nth-child(3) .gen-frame>svg,.gen-grid .gen-img:nth-child(3) .gen-frame::after{animation-delay:.5s}
.gen-grid .gen-img:nth-child(4) .gen-frame>svg,.gen-grid .gen-img:nth-child(4) .gen-frame::after{animation-delay:.75s}
.ch-row.ai .ch-b:has(.gen-img){max-width:min(640px,86%)}
.act-art{max-width:520px}
.act-art .gen-img{cursor:zoom-in}
.gen-box{position:fixed;inset:0;z-index:100;background:rgba(10,18,34,.72);display:grid;place-items:center;padding:24px}
.gen-box-in{position:relative;max-width:min(900px,100%);max-height:100%;background:#fff;border-radius:16px;overflow:hidden;line-height:0}
.gen-box-in>svg{width:100%;height:auto;max-height:86vh;display:block}
.gen-x{position:absolute;top:10px;right:10px;width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.95);font-size:15px;cursor:pointer;line-height:1}
@container (max-width:560px){.gen-grid.g3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (prefers-reduced-motion:reduce){.gen-frame>svg,.gen-frame::after{animation:none}.gen-frame::after{display:none}}

/* Image replies look like the real tool: the image sits on its own (no grey bubble, no caption),
   with small dark hover buttons in the corner. Captions stay for screen readers. */
.ch-row.ai .ch-b:has(.gen-img){background:none;padding:2px 0 0}
.ch-b .gen-img figcaption,.reply .gen-img figcaption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ch-b .gen-img,.reply .gen-img{max-width:520px}
.ch-b .gen-frame,.reply .gen-frame{border-radius:18px;box-shadow:none}
.gen-dl{top:10px;right:10px;width:30px;height:30px;border-radius:50%;background:rgba(20,24,33,.55);color:#fff;box-shadow:none;backdrop-filter:blur(4px)}
.gen-dl svg{width:15px;height:15px}
.gen-dl:hover{background:rgba(20,24,33,.75)}

/* Spot step with an image: balanced two columns, claims as aligned tap-cards */
.spt-two{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;align-items:start}
.spt-two .act-art{max-width:none}
.spt-two .gen-img{margin:0;max-width:none}
.spt-two .gen-frame{border-radius:16px;box-shadow:0 0 0 1px var(--line),0 10px 24px -16px rgba(15,29,54,.3)}
.spt-two .gen-img figcaption{font-size:13px;color:var(--muted);padding-left:2px}
.spt-side{display:grid;gap:14px}
.spt-list{display:grid;gap:10px;background:none;box-shadow:none;padding:0;line-height:1.4}
.spt-list .spt-p{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:var(--card);border:1.5px solid var(--line);border-bottom:1.5px solid var(--line);border-radius:12px;padding:12px 14px;font-size:15.5px;line-height:1.4;box-shadow:0 1px 0 rgba(15,29,54,.04);transition:border-color .15s,background .15s}
.spt-list .spt-p:hover{border-color:#b9c4d8}
.spt-box{width:22px;height:22px;border-radius:7px;border:2px solid #b9c4d8;flex:none;display:grid;place-items:center;background:#fff}
.spt-list .spt-p[aria-pressed="true"]{background:#fff7da;border-color:#e0a800}
.spt-list .spt-p[aria-pressed="true"] .spt-box{background:#e0a800;border-color:#e0a800}
.spt-list .spt-p[aria-pressed="true"] .spt-box::after{content:"";width:6px;height:11px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:translateY(-1px) rotate(45deg)}
.spt-list .spt-p.wrong{outline:0;border-color:#e5484d;background:#fff1f1}
.spt-list .spt-p.found{outline:0;border-color:#1f7a4c;background:#eaf7ef}
.spt-list .spt-p.found .spt-box{background:#1f7a4c;border-color:#1f7a4c}
.spt-side .act-check{justify-self:stretch;padding:12px 18px}
@container (max-width:820px){.spt-two{grid-template-columns:minmax(0,1fr)}}

/* Buttons: one clean focus ring for keyboard users, none after a mouse click */
.btn:focus,.act-check:focus,.spt-p:focus{outline:none}
.btn:focus-visible{outline:3px solid #9fb6f7;outline-offset:3px}
.spt-p:focus-visible{outline:3px solid #9fb6f7;outline-offset:2px}
/* Spot images: keep square and tall pictures (logo, menu) in proportion with the list beside them */
.spt-two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.spt-two .gen-frame{display:flex;justify-content:center;align-items:center;background:#f6f3ee}
.spt-two .gen-frame>svg{width:auto;max-width:100%;height:auto;max-height:380px}

/* Image sizes in chat: generated images stay a readable size; the recap of an earlier image is a small thumbnail */
.ch-b .gen-img{max-width:420px}
.ch-b .gen-grid{max-width:500px}
.ch-b .gen-grid .gen-img{max-width:none}
.ch-b .gen-static{max-width:180px}
.ch-b .gen-static .gen-frame{border-radius:12px}
.reply .gen-img{max-width:380px}
.reply .gen-grid{max-width:420px}
/* "Create image" tool selected in the message box, like ChatGPT's + → Create image */
.ch-comp.img-on{flex-wrap:wrap}
.ch-tool{display:inline-flex;align-items:center;gap:6px;flex-basis:100%;max-width:max-content;margin:2px 0 2px -4px;padding:5px 11px;border-radius:999px;background:#eef2fb;color:#2f4fb8;font-size:13px;font-weight:700}
.ch-tool svg{width:16px;height:16px}
.ch-comp.img-on textarea{flex:1}
.tooltip-note{background:#f1f4fa;border-radius:12px;padding:10px 14px;font-size:15px}
/* Tool card: the logo column fits one or two logos without overlapping the text */
.toolcard{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px}
.toolcard .tc-logos{gap:6px}

/* ---------- Canva-style window (Canva AI) ---------- */
.ch-win.cv{border-radius:18px}
.cv-hd{background:linear-gradient(90deg,#00C4CC,#7D2AE8);color:#fff;border-bottom:0}
.cv-hd b{color:#fff}
.cv-mark{width:28px;height:28px;border-radius:8px;background:#fff;display:grid;place-items:center;flex:none}
.cv-mark img{width:20px;height:20px;object-fit:contain}
.cv-doc{font-size:13px;opacity:.9;font-weight:600;padding-left:10px;border-left:1px solid rgba(255,255,255,.4);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.cv-hd .ch-sim{background:rgba(255,255,255,.2);color:#fff}
.cv-body{display:grid;grid-template-columns:72px minmax(0,1fr);min-width:0}
.cv-side{background:#fff;border-right:1px solid #ececf3;display:grid;align-content:start;gap:4px;padding:10px 6px}
.cv-side span{display:grid;justify-items:center;gap:3px;font-size:10.5px;font-weight:600;color:#555a6a;padding:8px 2px;border-radius:10px}
.cv-side span.on{background:#f1eafd;color:#7D2AE8}
.cv-side svg{width:20px;height:20px}
.cv-main{min-width:0;background:#f7f7fb}
.cv-main .ch-thread{background:#f7f7fb}
.ch-win.cv .ch-send{background:#7D2AE8;box-shadow:0 3px 0 #5b1db0}
.ch-win.cv .ch-row.you .ch-b{background:#7D2AE8}
.ch-win.cv .ch-av.you{background:#7D2AE8}
.ch-win.cv .ch-task{background:#f1eafd}
@container (max-width:640px){.cv-body{grid-template-columns:minmax(0,1fr)}.cv-side{display:none}}
.cv-clicks{margin-top:14px;background:#fff;border:1.5px solid #e6defa;border-radius:16px;padding:14px 18px;display:grid;gap:8px}
.cv-clicks>b{display:flex;align-items:center;gap:8px;font-size:15px}
.cv-clicks>b img{width:20px;height:20px}
.cv-clicks ol{margin:0;padding-left:22px;display:grid;gap:5px;font-size:15px}
.cv-pro{margin:4px 0 0;font-size:13.5px;color:#6b4bb3;background:#f6f1ff;border-radius:10px;padding:8px 12px}

/* ---------- Brand Kit activity ---------- */
.bk2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}
.bk2-from{display:grid;gap:10px}
.bk2-from small{font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--accent)}
.bk2-from p{margin:0;font-size:14.5px;color:var(--muted)}
.bk2-from .gen-img{max-width:none;cursor:zoom-in}
.cv-kit{background:#fff;border-radius:16px;box-shadow:0 0 0 1px #ececf3,0 10px 24px -16px rgba(15,29,54,.3);overflow:hidden}
.cv-kit-hd{display:flex;align-items:center;gap:10px;padding:12px 16px;background:linear-gradient(90deg,#00C4CC,#7D2AE8);color:#fff}
.cv-kit-hd span:last-child{margin-left:auto;font-size:13px;opacity:.9}
.cv-kit-sec{padding:14px 16px;border-top:1px solid #f0f0f5;display:grid;gap:10px}
.cv-kit-sec:first-of-type{border-top:0}
.cv-kit-sec h5{margin:0;font-size:13px;letter-spacing:.04em;color:#555a6a}
.cv-logo-slot{all:unset;box-sizing:border-box;cursor:pointer;width:96px;height:96px;border:2px dashed #c9c0e6;border-radius:12px;display:grid;place-items:center;align-content:center;gap:4px;font-size:12px;font-weight:700;color:#7D2AE8;text-align:center}
.cv-logo-slot[aria-pressed="true"]{border-style:solid;border-color:#7D2AE8;color:#555}
.cv-logo-slot svg{width:52px;height:52px;border-radius:8px}
.cv-logo-slot:focus-visible{outline:3px solid #b9a3f0;outline-offset:2px}
.cv-sw{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cv-sw-i{display:flex;align-items:center;gap:8px;border:1.5px solid #e2e2ea;border-radius:10px;padding:6px 8px}
.cv-chip{width:28px;height:28px;border-radius:50%;flex:none;background:repeating-conic-gradient(#eee 0 25%,#fff 0 50%) 0 0/10px 10px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.cv-sw-i input{border:0;outline:0;font:600 14px/1.2 "Geist Mono",ui-monospace,monospace;width:100%;min-width:0;text-transform:uppercase;background:transparent;color:inherit}
.cv-sw-i:focus-within{border-color:#7D2AE8}
.cv-sw-i input.bad{color:#d33}
.cv-sw-i:has(input.bad){border-color:#e5484d;background:#fff4f4}
.cv-font{display:grid;grid-template-columns:70px minmax(0,1fr);align-items:center;gap:8px;font-size:14px;font-weight:600}
.cv-font select{border:1.5px solid #e2e2ea;border-radius:10px;padding:8px 10px;font:inherit;font-weight:500;background:#fff}
@container (max-width:760px){.bk2{grid-template-columns:minmax(0,1fr)}}
/* Canva: picture of the finished result under "Where to click" */
.cv-result{margin:12px 0 4px}
.cv-result>span{display:block;font-size:13px;font-weight:700;color:#5b4b8a;margin-bottom:6px}
.cv-result .gen-img{max-width:460px;margin:0}
/* tables in AI replies: wrap between words only (prices like "$3.96/lb" stay whole); the table scrolls if needed */
.md-tab th,.md-tab td{overflow-wrap:normal;word-break:normal;white-space:normal}
