@import url('fonts/onest.css');
@import url('inspo.css');
@import url('settings.css');
@import url('accounts.css');
@import url('home.css');
@import url('edits.css');
@import url('editview.css');
@import url('animate.css');
@import url('brandkit.css');
@import url('following.css');
@import url('naming.css');
@import url('brandsides.css');
@import url('palette.css');
@import url('tablekit.css');
@import url('launch.css');
@import url('launcher.css');
@import url('setupwin.css');
@import url('intwin.css');
@import url('guide.css');
@import url('pick.css');
@import url('wizard.css');
@import url('copy.css');
@import url('learn.css');
@import url('comments.css');
@import url('reviews.css');
@import url('brandprofile.css');
@import url('mcp.css');
@import url('ask.css');
@import url('thanks.css');
@import url('payfail.css');
@import url('shop.css');
/* Look chosen by Chris on 2026-10-31 (design/2026-10-31-create-v3): light, violet, Onest, calm motion. */
:root{--bg:#fafaf9;--p:#ffffff;--glass:rgba(255,255,255,.84);--s2:#f4f4f2;--s3:#ebebe8;--line:#e7e6e2;--t1:#0c0a09;--t2:#57534e;--t3:#736b65;
  --acc:#795af9;--acc-text:#6746f1;--acc-soft:rgba(124,92,255,.13);--acc-ring:rgba(124,92,255,.22);--dot:rgba(12,10,9,.13);--shadow:0 18px 50px rgba(28,25,23,.10);--ease:cubic-bezier(.2,.8,.2,1)}
*{box-sizing:border-box}html,body{height:100%}[hidden]{display:none!important}
body{margin:0;font:14px/21px Onest,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--t1);background:var(--bg);-webkit-font-smoothing:antialiased}
body.in-app{overflow:hidden;overflow:clip} /* clip: a focus() or scrollIntoView can no longer scroll the whole app up (the save menu moved it 12px) */
button{font:inherit;color:inherit;cursor:pointer}
/* line icons from icons.js: 1em, so they take the size of the text around them */
.ico{width:1em;height:1em;flex:none;vertical-align:-.14em}
.ilk,.mi .ilk{width:12px;height:12px;color:var(--t3)}.pills button.on .ilk{color:inherit}
#dots{position:fixed;inset:0;z-index:0;pointer-events:none}
.glow{position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(460px circle at var(--gx,-999px) var(--gy,-999px),rgba(124,92,255,.05),transparent 65%)}
@media (hover:none){#dots,.glow{display:none}} /* touch screens: no dots (2026-11-12), bg.js does not start */
.app{position:relative;z-index:1;display:flex;height:100vh}
/* sidebar */
.side{width:248px;flex:none;height:100%;border-right:1px solid var(--line);background:rgba(255,255,255,.8);backdrop-filter:blur(14px);padding:12px 10px;display:flex;flex-direction:column;gap:2px}
.ws{display:flex;align-items:center;gap:10px;width:100%;padding:6px 8px;margin-bottom:6px;border:0;border-radius:12px;background:none;font-weight:600;text-align:left;transition:background .15s}
.ws:hover,.ws.open{background:var(--s2)}.ws #wsName{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ws .chev{color:var(--t3)}
.logo{width:32px;height:32px;border-radius:10px;background:#17171b;display:grid;place-items:center;flex:none;transition:transform .3s cubic-bezier(.3,.7,.4,1),box-shadow .3s}
.logo i{width:20px;height:20px;background:url(brand/raino-horns.svg) center/contain no-repeat;transition:transform .3s cubic-bezier(.3,.7,.4,1)}
.ws:hover .logo,.ws.open .logo{transform:scale(1.06) rotate(-4deg);box-shadow:0 6px 16px rgba(23,23,27,.24);transition-timing-function:var(--ease)}
.ws:hover .logo i,.ws.open .logo i{transform:scale(1.08);transition-timing-function:var(--ease)}
.search{display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border-radius:9px;background:var(--s2);color:var(--t3);margin-bottom:8px;font-size:13px}.search kbd{margin-left:auto;font:11px Onest,system-ui,sans-serif;border:1px solid var(--line);border-radius:5px;padding:0 5px;background:var(--p)}
.si{display:flex;align-items:center;gap:10px;height:34px;padding:0 10px;border-radius:9px;border:0;background:none;color:var(--t2);font-size:14px;text-align:left;width:100%;transition:background .15s}
.si svg{width:16px;height:16px;flex:none;transition:transform .28s cubic-bezier(.3,.7,.4,1)}.si:hover{background:var(--s2);color:var(--t1)}
/* each icon moves its own way on hover, with a small spring in and a smooth return (Chris 2026-11-02) */
.si:hover svg{transition:transform .45s var(--ease)}
#cmdkBtn:hover svg{transform:rotate(-12deg) scale(1.08)}.si[data-go=home]:hover svg{transform:translateY(-2px) scale(1.06)}
.si[data-go=create]:hover svg{transform:rotate(24deg) scale(1.12)}.si[data-go=media]:hover svg{transform:rotate(-6deg) scale(1.08)}
.si[data-go=inspo]:hover svg{transform:rotate(45deg)}.si[data-go=accounts]:hover svg{transform:scaleY(1.14) translateY(-1px)}
.si[data-go=brand]:hover svg{transform:rotate(90deg) scale(.94)}.si[data-go=launch]:hover svg{transform:translateY(-2px)}
.si-fl{transform-box:fill-box;transform-origin:50% 0;transition:transform .2s cubic-bezier(.3,.7,.4,1)}.si:hover .si-fl{transform:scaleY(1.9);transition:transform .45s var(--ease)}
@media (prefers-reduced-motion:reduce){.si svg,.si-fl,.logo,.logo i,.cra{transition:none!important}.si:hover svg,.si:hover .si-fl,.ws:hover .logo,.ws:hover .logo i{transform:none!important}}
.si.on{background:var(--acc-soft);color:var(--t1);font-weight:600}.si.on svg{color:var(--acc-text)}
.si .cnt{margin-left:auto;font-size:12px;color:var(--t3);font-weight:500}
/* a page button: its icon and its name (on desktop the name sits under the icon) */
.si-i{display:contents}
.si-gap{display:block;height:1px;margin:6px 10px;background:var(--line);flex:none}
.sg{font-size:11.5px;color:var(--t3);padding:16px 10px 4px;font-weight:500}
.sv{display:flex;align-items:center;gap:8px;height:30px;padding:0 10px;border-radius:8px;color:var(--t2);font-size:13px;border:0;background:none;width:100%;text-align:left}.sv:hover{background:var(--s2)}
.sv span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sv i{width:18px;height:18px;border-radius:5px;background:center/cover;flex:none}.sv b{margin-left:auto;font-weight:500;color:var(--t3);font-size:12px}
.crw{margin-top:auto}.crg{display:none}.crtd{display:none}
.plan{position:relative;padding:14px 14px 12px;border-radius:16px;overflow:hidden;color:rgba(255,255,255,.72);font-size:12px;
  background:#17151f;box-shadow:0 8px 24px rgba(23,21,31,.18),inset 0 1px 0 rgba(255,255,255,.08)}

.cb-h{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:rgba(255,255,255,.86)}
.cb-ic{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:rgba(255,255,255,.14);color:#d9ceff}.cb-ic svg{width:13px;height:13px}
.cb-h em{margin-left:auto;font-style:normal;font-size:11.5px;font-weight:600;padding:2px 7px;border-radius:99px;background:rgba(255,255,255,.14);color:#e9e3ff}
.cb-n{display:flex;align-items:baseline;gap:6px;margin:10px 0 8px}
.cb-n b{font:700 26px/1 Onest,system-ui,sans-serif;color:#fff;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.cb-n span{font-size:11.5px;color:rgba(255,255,255,.6)}
.cb-bar{height:6px;border-radius:99px;background:rgba(255,255,255,.14);overflow:hidden}
.cb-bar i{display:block;height:100%;border-radius:99px;background:#8b6dff;transition:width .5s var(--ease)}
.cb-hint{margin:8px 0 10px;font-size:11.5px;line-height:16px;color:rgba(255,255,255,.62)}
.cb-buy{position:relative;z-index:1;width:100%;height:34px;border:0;border-radius:10px;background:#fff;color:#17151f;font:600 12.5px Onest,system-ui,sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:transform .15s,box-shadow .15s}
.cb-buy:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,0,0,.25)}
.plan.low .cb-bar i{background:#f59e0b}
.plan.low .cb-buy{background:linear-gradient(135deg,#ffe08a,#f2a91c);color:#3d2700}
.plan .msg:empty{display:none}
.bar{height:5px;border-radius:3px;background:var(--s3);margin:8px 0 10px;overflow:hidden}.bar i{display:block;height:100%;background:var(--acc);border-radius:3px;transition:width .5s var(--ease)}
.me{display:flex;align-items:center;gap:8px}.ava{width:26px;height:26px;border-radius:50%;background:var(--s3);display:grid;place-items:center;font-size:11px;font-weight:600;color:var(--t1)}
/* main */
.main{flex:1;min-width:0;position:relative;display:flex;flex-direction:column}
.head{display:flex;align-items:center;gap:12px;padding:16px 32px 6px;flex:none}
.head h1{font:600 22px/28px Onest,system-ui,-apple-system,'Segoe UI',sans-serif;margin:0;letter-spacing:-.01em}
.prod{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 10px 0 4px;border-radius:99px;border:1px solid var(--line);background:var(--glass);font-size:13px;font-weight:500}.prod i{width:24px;height:24px;border-radius:50%;background:url(../2026-10-31-create-options/img/coffee.jpg) center/cover}.prod em{font-style:normal;color:var(--t3)}
.sp{flex:1}
.btn{height:34px;padding:0 14px;border-radius:10px;border:1px solid var(--line);background:var(--p);font-weight:600;font-size:13px;display:inline-flex;align-items:center;gap:6px;transition:transform .15s var(--ease)}
.btn:hover{border-color:#d6d3d1}
.cred{font-size:13px;color:var(--t2)}.cred b{color:var(--t1);font-variant-numeric:tabular-nums}
.scroll{flex:1;min-height:0;overflow:auto;padding:8px 32px 48px;scroll-behavior:smooth}
/* only Create's prompt box floats over its page: room under the last batch as tall as the box (create.js sets --dockH), and the page fades out above the box, so nothing shows through it. Elsewhere a fade
   made the last rows of a table or grid look disabled */
#cScroll{padding-bottom:calc(var(--dockH,280px) + 36px);
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 26px,#000 calc(100% - var(--dockH,280px) - 44px),transparent calc(100% - var(--dockH,280px) - 6px));
          mask-image:linear-gradient(to bottom,transparent 0,#000 26px,#000 calc(100% - var(--dockH,280px) - 44px),transparent calc(100% - var(--dockH,280px) - 6px))}
.view{display:none}.view.on{display:flex;flex-direction:column;flex:1;min-height:0}
/* empty state: the header (57px), the 8px top padding and the 300px under it included, so an empty Create page fits without a scroll */
.hero{min-height:calc(100dvh - 366px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;padding-top:20px}
.ghosts{position:relative;width:520px;height:150px;margin-bottom:18px}
@media (max-height:780px){#vCreate:has(#crLow:not([hidden])) .ghosts{display:none}} /* the credits warning makes the box taller: room for the jobs */
/* a laptop screen: three ideas made the prompt box 602 px tall (2026-11-06); each idea keeps 2 lines; its reason moves to the tooltip */
@media (max-height:900px) and (min-width:721px){.idea{min-height:0;padding:9px 12px}.idea>span:not(.k){display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.idea .why{display:none}}
.gh{position:absolute;width:86px;aspect-ratio:4/5;border-radius:14px;background:center/cover;opacity:.0;filter:saturate(.9);box-shadow:0 10px 30px rgba(28,25,23,.12);animation:ghIn .9s var(--ease) forwards,float 7s ease-in-out infinite}
@keyframes ghIn{to{opacity:var(--o,.55)}}
@keyframes float{0%,100%{translate:0 0}50%{translate:0 -8px}}
.hero{transition:opacity .4s var(--ease),filter .4s}body.ideas-open .hero{opacity:.22;filter:blur(1px)}
body.ideas-open .batch:last-child{opacity:.5;transition:opacity .4s}
.hero h2{font:600 30px/36px Onest,system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:-.02em;margin:0;max-width:640px}
.hero h2 em{font-style:normal;color:var(--acc-text)}
.hero p{color:var(--t2);margin:8px 0 22px;font-size:15px}
/* four jobs in one row (two on narrow screens): 3 + 1 left one stranded */
.jobs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:960px;width:100%}
@media (max-width:980px){.jobs{grid-template-columns:repeat(2,minmax(0,1fr));max-width:560px}}
.job{text-align:left;border:1px solid var(--line);background:var(--glass);backdrop-filter:blur(8px);border-radius:14px;padding:10px 14px;display:grid;grid-template-columns:auto 1fr;column-gap:10px;min-width:0;transition:transform .2s var(--ease),border-color .2s,box-shadow .2s}
.job:hover{transform:translateY(-2px);border-color:var(--acc-ring);box-shadow:0 8px 24px rgba(124,92,255,.10)}
.job span{grid-row:1/3;align-self:start;width:32px;height:32px;margin-top:1px;border-radius:10px;display:grid;place-items:center;font-size:16px;background:var(--jb,var(--acc-soft));color:var(--jf,var(--acc-text))}
.job[data-k=trend]{--jb:#dcfce7;--jf:#15803d}.job[data-k=shuffle]{--jb:#ede9fe;--jf:#6d28d9}.job[data-k=calendar]{--jb:#fef3c7;--jf:#b45309}.job[data-k=magnet]{--jb:#ffe4e6;--jf:#be123c}.job b{font-size:13.5px}.job em{font-style:normal;font-size:12.5px;color:var(--t3)}
/* session batches */
.batch{margin:4px 0 26px}.batch.new{animation:up .5s var(--ease) both}
@keyframes up{from{opacity:0;transform:translateY(14px)}}
.bh{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:13px;color:var(--t3)}.bh b{color:var(--t1);font-size:15px;font-weight:600}.bh a{margin-left:auto;color:var(--acc-text);font-weight:600;text-decoration:none;font-size:13px}
.bh .pr{max-width:560px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* each card keeps its own height: a square ad next to a 9:16 one left a white gap under it */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px;align-items:start}
.tile{position:relative;border-radius:16px;overflow:hidden;background:var(--p);border:1px solid var(--line);transition:transform .25s var(--ease),box-shadow .25s}
.tile:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.tile .im{width:100%;aspect-ratio:var(--ar,1);background:center/cover}
/* a video tile's badge (media.js) */
.tile .im .mvid{position:absolute;left:8px;bottom:8px;display:inline-flex;align-items:center;gap:4px;padding:3px 8px 3px 6px;border-radius:99px;background:rgba(12,10,9,.72);color:#fff;font-size:11px;font-weight:600;pointer-events:none}
.tile .im .mvid svg{width:10px;height:10px}
.tile .im:has(.mvid){position:relative}
.tile .cap{display:flex;align-items:center;justify-content:space-between;padding:9px 11px 4px;font-size:12px;color:var(--t3)}.tile .cap b{color:var(--t1);font-weight:600;font-size:12.5px}
.tags{display:flex;gap:4px;padding:0 11px 10px;flex-wrap:wrap}.tags i{font-style:normal;font-size:11px;font-weight:600;padding:1px 7px;border-radius:99px;background:var(--tb,var(--acc-soft));color:var(--tf,var(--acc-text))}.tags i.dim{background:var(--s2);color:var(--t3)}
.acts{position:absolute;top:8px;right:8px;display:flex;gap:4px;opacity:0;transition:opacity .2s}.tile:hover .acts{opacity:1}
.acts span{height:26px;padding:0 9px;border-radius:8px;background:rgba(12,10,9,.72);color:#fff;font-size:11.5px;display:inline-flex;align-items:center;backdrop-filter:blur(6px)}
.badge{position:absolute;left:8px;top:8px;height:22px;padding:0 8px;border-radius:7px;background:rgba(12,10,9,.7);color:#fff;font-size:11px;font-weight:600;display:inline-flex;align-items:center;gap:5px;backdrop-filter:blur(6px)}
.load .im{position:relative;background:linear-gradient(110deg,#f1f1ef 30%,#fbfbfa 50%,#f1f1ef 70%);background-size:300% 100%;animation:shim 1.4s linear infinite}
.load .im::after{content:attr(data-label);position:absolute;left:12px;bottom:12px;font-size:12px;color:var(--t3)}
.load .im::before{content:'';position:absolute;left:12px;right:12px;bottom:36px;height:3px;border-radius:2px;background:linear-gradient(90deg,var(--acc) var(--pg,30%),var(--s3) 0);transition:--pg 1s}
@keyframes shim{from{background-position:100% 0}to{background-position:-100% 0}}
.reveal{animation:rev .6s var(--ease) both}@keyframes rev{from{opacity:0;filter:blur(8px);transform:scale(.97)}}
/* composer dock */
.crlow{display:flex;align-items:center;gap:8px;margin:0 0 10px;padding:8px 8px 8px 12px;border-radius:12px;background:#fffbeb;border:1px solid #f6d99a;color:#7a4b00;font-size:13px;line-height:18px;animation:up .3s var(--ease) both}
.crlow span{flex:1}.crlow b{color:#3d2700}.crlow .btn{border-color:#f6d99a;background:#fff;color:#7a4b00;font-weight:600}.crlow .btn.pri{border:0;background:linear-gradient(135deg,#ffe08a,#f2a91c);color:#3d2700}
.dock{position:absolute;left:0;right:0;bottom:18px;display:flex;justify-content:center;padding:0 32px;pointer-events:none;z-index:5}
.dk{width:100%;max-width:900px;pointer-events:auto;position:relative} /* the product and brand kit pickers open from their chip, not the screen's left edge */
.ideas{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:10px}
.ideas-h{display:flex;align-items:center;gap:8px;margin:0 2px 8px;font-size:12.5px;color:var(--t2);min-height:20px}
.ideas-h b{color:var(--t1)}.ideas-h button{margin-left:auto;border:0;background:none;color:var(--t3);font-size:12.5px}
.orb{width:16px;height:16px;border-radius:50%;background:conic-gradient(from 0deg,var(--acc),#c4b5fd,var(--acc));animation:spin 1.1s linear infinite;-webkit-mask:radial-gradient(circle,transparent 4px,#000 5px);mask:radial-gradient(circle,transparent 4px,#000 5px)}
.orb.done{animation:none;background:var(--acc);-webkit-mask:none;mask:none;transform:scale(.7)}
@keyframes spin{to{transform:rotate(360deg)}}
.idea{position:relative;text-align:left;display:flex;flex-direction:column;justify-content:flex-start;border:1px solid var(--line); /* a button centres its text: a shorter idea started lower than the others */background:var(--glass);backdrop-filter:blur(12px);border-radius:16px;padding:11px 13px;min-height:104px;overflow:hidden;animation:cardIn .55s var(--ease) both}
@keyframes cardIn{from{opacity:0;transform:translateY(16px) scale(.98)}}
.idea .k{font-size:11px;color:var(--t3)}.idea b{display:block;font-size:14px;margin:1px 0 2px}.idea span{display:block;font-size:12.5px;color:var(--t2);line-height:18px}.idea .why{margin-top:6px;font-size:11.5px;color:var(--acc-text)}
.idea:hover{border-color:var(--acc-ring)}.idea.on{border-color:var(--acc);box-shadow:0 0 0 3px var(--acc-soft)}
.idea.sk{pointer-events:none;background:var(--p);border-color:rgba(124,92,255,.25)}
.idea.sk i{display:block;height:9px;border-radius:5px;margin:8px 0;background:linear-gradient(110deg,#e7e5e4 30%,#ede9fe 50%,#e7e5e4 70%);background-size:300% 100%;animation:shim 1.3s linear infinite}
.idea.sk i:nth-child(1){width:30%;height:7px}.idea.sk i:nth-child(2){width:65%;height:11px}.idea.sk i:nth-child(3){width:92%}.idea.sk i:nth-child(4){width:76%}
.idea.sk::after{content:'';position:absolute;top:0;bottom:0;width:60%;left:-60%;background:linear-gradient(90deg,transparent,rgba(124,92,255,.10),transparent);animation:sweep 1.6s ease-in-out infinite}
@keyframes sweep{to{left:100%}}
.warn{display:flex;align-items:center;gap:10px;margin-bottom:10px;background:var(--glass);backdrop-filter:blur(12px);border:1px solid #fde68a;border-radius:14px;padding:10px 12px;font-size:13px;color:#78350f;animation:cardIn .4s var(--ease) both}
.warn b{color:#451a03}.warn .sp{flex:1}.warn button{height:30px;padding:0 12px;border-radius:9px;border:1px solid var(--line);background:var(--p);font-size:12.5px;font-weight:600;white-space:nowrap}
.warn .pri{background:var(--acc);color:#fff;border-color:transparent}
.ctx{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:12.5px;color:var(--t2);margin:0 0 8px 4px}.ctx span{background:var(--glass);backdrop-filter:blur(8px);border:1px solid var(--line);border-radius:99px;padding:1px 10px}.ctx a{color:var(--t3);text-decoration:none}
.box{background:var(--glass);backdrop-filter:blur(18px) saturate(1.4);border:1px solid var(--line);border-radius:22px;box-shadow:0 18px 50px rgba(28,25,23,.12);padding:12px 12px 10px 16px;transition:box-shadow .25s,border-color .25s}
.box:focus-within{border-color:var(--acc-ring);box-shadow:0 18px 50px rgba(28,25,23,.12),0 0 0 4px var(--acc-soft)}
.box.shake{animation:shake .35s}@keyframes shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
.refs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.rf{position:relative;width:52px;height:52px;border-radius:11px;background:center/cover;box-shadow:0 0 0 1px var(--line);animation:cardIn .4s var(--ease) both}
.rf button{position:absolute;top:-6px;right:-6px;width:18px;height:18px;border-radius:50%;border:0;background:var(--t1);color:#fff;font-size:11px;line-height:18px;padding:0}
.rf::after{content:'Reference';position:absolute;left:0;right:0;bottom:-15px;font-size:10px;color:var(--t3);text-align:center}
textarea{width:100%;border:0;outline:none;resize:none;background:none;color:var(--t1);font:15.5px/23px Onest,system-ui,-apple-system,'Segoe UI',sans-serif;min-height:48px;max-height:140px;padding:2px 0}
textarea::placeholder{color:var(--t3)}
.row{display:flex;gap:6px;align-items:center;margin-top:8px;flex-wrap:wrap;position:relative}
/* the options wrap on the left; Ideas and Generate stay on the right, on the options' last line, like a chat composer's send (11-30) */
#box>.row{flex-wrap:nowrap;align-items:center}
#box .copts{display:flex;flex-wrap:wrap;align-items:center;gap:6px;flex:1;min-width:0}
#box .cend{display:flex;align-items:center;gap:6px;flex:none}
.c{height:32px;padding:0 11px;border-radius:10px;border:0;background:var(--s2);display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:var(--t2)}
.c:hover{background:var(--s3);color:var(--t1)}
.rs{display:inline-flex;background:var(--s2);border-radius:10px;padding:2px}.rs button{border:0;background:none;height:28px;padding:0 9px;border-radius:8px;font-size:12.5px;color:var(--t2)}.rs button.on{background:var(--p);color:var(--t1);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.step{display:inline-flex;align-items:center;background:var(--s2);border-radius:10px;height:32px}.step button{border:0;background:none;width:28px;height:32px;color:var(--t2)}.step b{min-width:16px;text-align:center;font-variant-numeric:tabular-nums}.step button:disabled{opacity:.35;cursor:default}.step button:not(:disabled):hover{color:var(--t1)}
/* a fact about the batch, not a control: no button look */
.ftag{height:32px;display:inline-flex;align-items:center;padding:0 4px;font-size:12px;color:var(--t2);cursor:default}
.eng-chip{gap:4px;padding:0 8px;border:0;border-radius:8px;background:none;font:inherit;font-size:12px;cursor:pointer}
.eng-chip i{font-style:normal;font-size:11px;opacity:.7} /* at 9 px the ▾ read as a dot ("Fast quality ·", 2026-11-10) */
.eng-chip:hover,.eng-chip:focus-visible,.eng-chip[aria-expanded="true"]{background:var(--s2);color:var(--t1);outline:none}
.eng-chip:active{transform:scale(.97)}
.fu-chip[aria-pressed="true"]{background:var(--acc-soft);color:var(--acc-text)} /* New request: this send is not a follow-up */
/* Style pill (0304): the body opens the list, the X removes it */
.stypk{display:inline-flex;align-items:center;border-radius:8px;background:var(--acc-soft);color:var(--acc-text)}
.stypk .eng-chip{color:inherit;font-weight:600;padding-right:4px}
.stypk-x{width:24px;height:24px;margin-right:4px;border:0;border-radius:6px;background:none;color:inherit;font-size:11px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.stypk-x:hover,.stypk-x:focus-visible{background:var(--s2);outline:none}.stypk-x:active{transform:scale(.97)}
.stypk-menu small{color:var(--t3);font-size:12px}
.stypk-off .stypk{background:var(--s2);color:var(--t3)}.stypk-off #styChip{opacity:.7}
.stypk-why{margin-left:6px;font-size:12px;color:var(--t3)}
.eng-menu{min-width:min(380px,calc(100vw - 16px));max-width:calc(100vw - 16px)} /* a tier's credits and time fit on its line (0298) */
.eng-n{font-weight:400;color:var(--t2);margin-left:4px}
.eng-soon{font-style:normal;font-size:11px;font-weight:600;color:var(--t2);background:var(--s2);border-radius:6px;padding:1px 6px;margin-left:4px}
.eng-menu .hh-mi[aria-disabled="true"]{cursor:default;opacity:.7}
.eng-menu .hh-mi[aria-disabled="true"]:hover{background:none}
.eng-note{margin:4px 10px 6px;font-size:12px;color:var(--t2)}
.eng-ask{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;margin:0 0 8px;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--p,#fff)}
.eng-q{display:flex;flex-direction:column;justify-content:center;flex:1 1 100%}
.eng-q b{font-size:13.5px}
.eng-q small{font-size:12px;color:var(--t2)}
.eng-opt{display:flex;flex-direction:column;align-items:flex-start;gap:1px;flex:1 1 96px;padding:6px 10px;border:1px solid var(--line);border-radius:10px;background:none;font:inherit;text-align:left;cursor:pointer;color:var(--t1)}
.eng-opt:hover,.eng-opt:focus-visible{background:var(--s2);outline:none}
.eng-opt:active{transform:scale(.97)}
.eng-opt.on{border-color:var(--acc,#7c5cff)}
.eng-opt b{font-size:13px}
.eng-opt span{font-size:12px;color:var(--t2)}
.eng-opt small{font-size:11.5px;color:var(--t2)}
.eng-x{align-self:center;padding:0 6px}
.idb{height:32px;padding:0 12px;border-radius:10px;border:1px solid var(--acc-ring);background:var(--acc-soft);color:var(--acc-text);font-weight:600;font-size:13px;display:inline-flex;align-items:center;gap:6px}
.idb:hover{background:rgba(124,92,255,.2)}
.go{height:40px;padding:0 18px;border-radius:12px;border:0;background:var(--t1);color:#fff;font-weight:600;display:inline-flex;align-items:center;gap:10px}
.go small{color:#c4b5fd;font-weight:500;min-width:4.9em;text-align:left;font-variant-numeric:tabular-nums} /* "1 credit" and "4 credits" take the same room, so Ideas does not jump */.go:disabled{opacity:.35;cursor:not-allowed}
.eu{text-align:center;font-size:12px;color:var(--t3);margin-top:8px}.eu a{color:var(--t2);font-weight:600;white-space:nowrap}
.pop{position:absolute;left:0;bottom:44px;width:360px;background:var(--p);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:12px;display:none;z-index:9}
.pop.on{display:block;animation:cardIn .3s var(--ease) both}
.pop h5{margin:0 0 8px;font-size:12px;color:var(--t3);font-weight:500}.pop .pg{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:10px}
.pop .pg button{aspect-ratio:1;border-radius:9px;border:0;background:center/cover;padding:0}.pop .pg button:hover{outline:2px solid var(--acc);outline-offset:1px}
.pop .drop{border:1.5px dashed var(--line);border-radius:10px;padding:10px;text-align:center;font-size:12px;color:var(--t3)}
.dropzone{position:fixed;inset:0;z-index:40;display:none;place-items:center;background:rgba(124,92,255,.08);backdrop-filter:blur(2px)}
.dropzone.on{display:grid}.dropzone div{border:2px dashed var(--acc);border-radius:24px;padding:40px 60px;background:var(--glass);font-weight:600;color:var(--acc-text)}
/* media */
.mh{display:flex;align-items:center;gap:8px;padding:6px 32px 0;flex-wrap:wrap}
.ft{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:99px;border:1px solid var(--line);background:var(--glass);font-size:13px;color:var(--t2);font-weight:500}.ft b{font-weight:500;color:var(--t3);display:inline-grid;place-items:center;line-height:1;font-variant-numeric:tabular-nums}
.ft.on{background:var(--t1);color:#fff;border-color:var(--t1)}.ft.on b{color:#a8a29e}
.fc{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border-radius:8px;border:1px solid var(--line);background:var(--glass);font-size:12.5px;color:var(--t2)}.fc b{color:var(--t1);font-weight:600}
.msearch{display:flex;align-items:center;gap:8px;height:34px;width:280px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:var(--glass);color:var(--t3);font-size:13px}
.day{font-size:13px;font-weight:600;margin:18px 0 10px;color:var(--t1);display:flex;gap:8px;align-items:center}.day span{color:var(--t3);font-weight:400}
.vid .im{position:relative}.vid .im::after{content:'';position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px;border-radius:50%;background:rgba(12,10,9,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4.5v7l5.5-3.5z' fill='white'/%3E%3C/svg%3E") center/18px no-repeat;backdrop-filter:blur(4px)}
.vid:hover .im{animation:kb 4s ease-in-out infinite alternate}@keyframes kb{to{background-size:112%}}
.toast{position:fixed;left:50%;top:16px;transform:translateX(-50%) translateY(-80px);background:#0c0a09;color:#fff;padding:9px 16px;border-radius:99px;font-size:13px;z-index:400;transition:transform .3s var(--ease);display:flex;align-items:center;gap:12px}.toast.show{transform:translateX(-50%) translateY(0)}
.toast-undo{border:0;background:none;color:#c4b5fd;font:600 13px/1 inherit;padding:4px 2px;cursor:pointer}.toast-undo:hover{color:#fff}.toast-undo:focus-visible{outline:2px solid #c4b5fd;outline-offset:2px;border-radius:4px}
/* product chip, picker, sheets */
.pchip{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 10px 0 3px;border-radius:99px;border:1px solid var(--acc-ring);background:var(--p);font-size:12.5px;color:var(--t1);box-shadow:0 1px 2px rgba(0,0,0,.04)}
.pchip i{width:22px;height:22px;border-radius:50%;background:var(--s3) center/cover;flex:none}.pchip b{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pchip{min-width:0;max-width:100%}.pchip em,.pchip .chev{flex:none} /* a long product name stays on one line and cuts with an ellipsis (it wrapped to two on a phone, 2026-11-06) */
.pchip em{font-style:normal;font-size:11px;padding:0 6px;border-radius:99px;background:var(--s2);color:var(--t2)}.pchip em.q{background:#fef3c7;color:#92400e}
.pchip.empty{padding:0 10px;border-style:dashed;color:var(--acc-text);font-weight:600}.pchip.empty em{background:none;color:var(--t3);font-weight:400;padding:0}
.ctx .muted{color:var(--t3);border-style:dashed}
.pp{position:absolute;left:4px;translate:0 -100%;width:380px;background:var(--p);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:10px;display:none;z-index:12}
.pp.on{display:block;animation:cardIn .3s var(--ease) both}
.pp h5{margin:6px 6px 6px;font-size:11.5px;color:var(--t3);font-weight:500}
.ppi{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;padding:6px;border-radius:10px;text-align:left}.ppi:hover,.ppn:hover{background:var(--s2)}.ppi.on{background:var(--acc-soft)}
.ppi i{width:30px;height:30px;border-radius:8px;background:var(--s3) center/cover}.ppi em{margin-left:auto;font-style:normal;font-size:11.5px;color:var(--t3)}
.ppn{display:grid;grid-template-columns:28px 1fr;width:100%;border:0;background:none;padding:7px 6px;border-radius:10px;text-align:left}.ppn span{grid-row:1/3;font-size:16px;line-height:20px;color:var(--acc-text)}.ppn em{font-style:normal;font-size:12px;color:var(--t3)}
.sheet{background:var(--glass);backdrop-filter:blur(18px) saturate(1.3);border:1px solid var(--line);border-radius:22px;box-shadow:0 18px 50px rgba(28,25,23,.12);margin-bottom:10px;max-height:calc(100dvh - 330px);display:flex;flex-direction:column}
.sheet.enter{animation:cardIn .45s var(--ease) both}
.sheet.shake{animation:shake .35s}
.sh-h{display:flex;align-items:center;gap:10px;padding:14px 16px 8px}.sh-h b{font-size:15px}.sh-h span{color:var(--t3);font-size:13px}.x{margin-left:auto;border:0;background:var(--s2);width:28px;height:28px;border-radius:8px;color:var(--t2)}
.sh-b{display:grid;grid-template-columns:1fr 250px;gap:18px;padding:4px 16px 8px;overflow:auto;min-height:0}
.sh-r{position:sticky;top:0;align-self:start} /* the preview and the readiness meter stay in sight while the form scrolls */
.lb{display:block;font-size:12px;font-weight:600;margin:10px 0 6px}.lb em{font-style:normal;font-weight:400;color:var(--t3);margin-left:4px}
.sh-l input,.paste{width:100%;height:36px;border:1px solid var(--line);border-radius:10px;padding:0 12px;font:13.5px Onest,system-ui,sans-serif;background:var(--p);outline:none}
.sh-l input:focus,.paste:focus{border-color:var(--acc);box-shadow:0 0 0 3px var(--acc-soft)}
.urlrow{display:flex;gap:8px}.urlrow .btn{flex:none;height:auto} /* as tall as the link field beside it */
.try{font-size:12px;color:var(--t3);margin-top:6px}.try a{color:var(--acc-text);font-weight:600}
.rd{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:13px;color:var(--t2)}
.paste{height:70px;padding:8px 12px;margin-top:8px;resize:none}
.fromp{margin-top:10px;border:1px solid var(--line);background:var(--p);border-radius:14px;padding:10px 12px;animation:cardIn .4s var(--ease) both}
.fh{font-size:12px;font-weight:600;margin-bottom:6px}.fh em{font-style:normal;font-weight:400;color:var(--t3);margin-left:4px}
.kv{display:grid;grid-template-columns:130px 1fr;align-items:center;gap:8px;margin:5px 0}.kv label{font-size:12px;color:var(--t2)}.kv input{height:30px!important;font-size:12.5px!important}
.cl{display:flex;gap:4px;flex-wrap:wrap}.cl span{font-size:11.5px;padding:2px 8px;border-radius:99px;background:#dcfce7;color:#15803d;font-weight:600}
.found{display:flex;gap:8px}.fp{position:relative;width:62px;height:62px;border-radius:10px;border:2px solid transparent;background:center/cover;padding:0}
.fp i{position:absolute;right:-6px;top:-6px;width:20px;height:20px;border-radius:50%;background:var(--s3);color:transparent;font-style:normal;font-size:11px;display:grid;place-items:center}
.fp.on{border-color:var(--acc)}.fp.on i{background:var(--acc);color:#fff}
.phs{display:flex;gap:8px;flex-wrap:wrap}.ph{position:relative;width:62px;height:62px;border-radius:10px;background:var(--s2) center/cover;box-shadow:0 0 0 1px var(--line)}
.ph.tall{width:44px;height:78px}.ph button{position:absolute;top:-6px;right:-6px;width:18px;height:18px;border-radius:50%;border:0;background:var(--t1);color:#fff;font-size:11px;line-height:18px;padding:0}
.ph button::after,.rf button::after{content:"";position:absolute;inset:-8px} /* 34 px to tap, still looks 18 px (stress test 2026-11-08) */
.ph.add.hov{border-color:var(--acc);background:var(--acc-soft)}
.ph.add{border:1.5px dashed var(--line);box-shadow:none;background:var(--p);color:var(--acc-text);font-size:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:16px}.ph.add em{font-style:normal;font-size:10.5px;color:var(--t3)}
.meter{background:var(--p);border:1px solid var(--line);border-radius:14px;padding:12px}.mt{font-size:12px;color:var(--t2)}
.bars{display:flex;gap:4px;margin:8px 0 4px}.bars i{flex:1;height:6px;border-radius:3px;background:var(--s3);transition:background .3s}.bars i.on{background:var(--acc)}
.bars.sm{display:inline-flex;width:54px;margin:0 6px 0 0;vertical-align:middle}.bars.sm i{height:5px}
.lvl{font-weight:700;font-size:15px;margin-bottom:6px}
.tk{display:flex;gap:8px;font-size:12.5px;color:var(--t3);margin:3px 0}.tk span{width:14px;text-align:center}.tk.ok{color:var(--t1)}.tk.ok span{color:#16a34a;font-weight:700}
.mh2{font-size:12px;color:var(--t3);margin:8px 2px 0;line-height:17px}
.rules{margin-top:10px;background:var(--acc-soft);border-radius:14px;padding:10px 12px;font-size:12.5px;color:var(--t2)}.rules b{display:block;color:var(--t1);margin-bottom:4px;font-size:12.5px}
.rules div{display:flex;gap:8px;margin:3px 0}.rules .no{color:#dc2626;font-weight:700}.rules .ok{color:#16a34a;font-weight:700}
.sh-f{display:flex;align-items:center;gap:8px;padding:10px 16px 14px;border-top:1px solid var(--line)}.sh-msg{font-size:12.5px;color:#b91c1c}
.go2{height:36px;padding:0 16px;border-radius:10px;border:0;background:var(--acc);color:#fff;font-weight:600}
.savecard{display:flex;align-items:center;gap:10px;margin-bottom:10px;background:var(--p);border:1px solid var(--acc-ring);border-radius:16px;padding:10px 12px;font-size:13px;color:var(--t2);box-shadow:0 10px 30px rgba(124,92,255,.12);animation:cardIn .45s var(--ease) both}
.savecard i{width:34px;height:34px;border-radius:9px;background:var(--s3) center/cover;flex:none}.savecard b{color:var(--t1)}
.seg2{display:inline-flex;background:var(--s3);border-radius:10px;padding:3px;margin-left:10px}.seg2 button{border:0;background:none;padding:4px 12px;border-radius:8px;font-size:13px;color:var(--t2)}.seg2 button.on{background:var(--p);color:var(--t1);font-weight:600}.seg2 button:disabled{opacity:.5;cursor:default}
.bsub{color:var(--t3);font-size:13px;margin:4px 0 16px}
.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.pcard{background:var(--p);border:1px solid var(--line);border-radius:16px;overflow:hidden;text-align:left;padding:0}
.pim{height:150px;background:var(--s2) center/cover}.pim:has(.pimn){display:grid;place-items:center}.pimn{font-size:12px;color:var(--t3)}.pim.dg{background-size:90px;background-repeat:no-repeat;background-color:#f5f3ff}
.pb{padding:12px}.pt{display:flex;align-items:center;gap:8px}.pt em{font-style:normal;font-size:11px;padding:1px 7px;border-radius:99px;background:var(--s2);color:var(--t2)}
.pm{font-size:12px;color:var(--t3);margin:6px 0 10px}.pm:has(+.purl){margin-bottom:2px}.purl{font-size:12px;color:var(--t3);margin:0 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pa{display:flex;gap:6px}
.pempty{grid-column:1/-1;padding:7vh 16px 36px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}
.pempty>b{font:600 24px/30px Onest,system-ui,sans-serif;letter-spacing:-.02em}.pempty p{margin:2px 0 18px;color:var(--t2);max-width:460px;font-size:14.5px;line-height:22px}
.pempty-k{display:grid;grid-template-columns:repeat(2,minmax(0,270px));gap:12px}.pempty-k .ppn{grid-template-columns:36px 1fr;column-gap:12px;border:1px solid var(--line);background:var(--p);padding:14px;border-radius:14px;transition:transform .2s var(--ease),border-color .2s,box-shadow .2s}.pempty-k .ppn:hover{transform:translateY(-2px)}.pempty-k .ppn span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--acc-soft)}.pempty-k .ppn b{font-size:14px}
.pempty-k .ppn:hover{border-color:var(--acc-ring);box-shadow:0 6px 18px rgba(124,92,255,.10)}
@media (max-width:560px){.pempty-k{grid-template-columns:1fr}}
.addp{border:1.5px dashed var(--line);background:var(--glass);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:240px;font-weight:600;color:var(--t1)}.addp span{font-size:26px;color:var(--acc-text)}.addp em{font-style:normal;font-weight:400;color:var(--t3);font-size:12.5px}
@media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important}}

/* Sign-in, consent and legal pages */
/* Signed-out screens (Task 20): a brand panel and the form, in the app's look (light, violet, Onest, calm dots and glow). */
.auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--bg)}
.auth-brand{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:18px;padding:56px clamp(32px,6vw,88px);
  background:#f6f4ff;border-right:1px solid var(--line)}
.auth-logo{width:131px;height:auto}
.auth-line{font:600 30px/38px Onest,system-ui,sans-serif;letter-spacing:-.02em;margin:0;max-width:460px;color:var(--t1)}
.auth-points{list-style:none;margin:0;padding:0;display:grid;gap:8px;color:var(--t2);font-size:14px}
.auth-points li{display:flex;gap:10px;align-items:center}.auth-points li::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--acc);flex:none}
.auth-form{display:grid;place-items:center;padding:40px 20px}
.auth-card{width:100%;max-width:400px;display:flex;flex-direction:column;gap:14px;padding:30px;border-radius:22px;background:var(--p);box-shadow:0 0 0 1px var(--line),var(--shadow);animation:cardIn .5s var(--ease) both}
.auth-card h1{font:600 24px/30px Onest,system-ui,sans-serif;margin:0;letter-spacing:-.015em;overflow-wrap:anywhere}
.auth-card .btn{height:42px;font-size:14px;border-radius:12px}.auth-card .btn.big{height:44px}
.gbtn svg{width:18px;height:18px;flex:none}
.auth-card .or{display:flex;align-items:center;gap:10px}.auth-card .or::before,.auth-card .or::after{content:'';flex:1;height:1px;background:var(--line)}
.auth-card input[type=email],.auth-card input[type=password]{height:44px;border-radius:12px;font-size:15px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:820px){.auth{grid-template-columns:1fr;grid-template-rows:auto 1fr}.auth-brand{padding:28px 16px 22px;gap:10px;border-right:0;border-bottom:1px solid var(--line)}
  .auth-logo{width:96px}.auth-line{font-size:21px;line-height:28px}.auth-points{display:none}.auth-form{place-items:start center;padding:20px 16px 40px}.auth-card{padding:20px}}
.card{max-width:380px;margin:12vh auto;padding:26px;border-radius:20px;background:var(--p);box-shadow:0 0 0 1px var(--line),0 18px 50px rgba(28,25,23,.08);display:flex;flex-direction:column;gap:12px}
.card h1{font-size:22px;margin:0;letter-spacing:-.01em}
.muted{color:var(--t2);margin:0}
.btn{justify-content:center;font-family:inherit;color:var(--t1);cursor:pointer}
.btn.primary,.btn.pri{background:var(--acc);color:#fff;border-color:transparent}.btn.primary:hover,.btn.pri:hover{filter:brightness(.95)}
.btn.small{height:30px;padding:0 10px;font-size:12.5px}
.btn:disabled,.btn[aria-disabled="true"]{opacity:.5;cursor:not-allowed}
input[type=email],input[type=password],input[type=text],input[type=search]{width:100%;height:38px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:var(--p);font:inherit;outline:none}
input:focus{border-color:var(--acc);box-shadow:0 0 0 3px var(--acc-soft)}
form{display:flex;flex-direction:column;gap:10px}
.or{text-align:center;color:var(--t3);font-size:12px}
.msg{min-height:18px;margin:0;color:var(--t2);font-size:13px}.msg.err{color:#b91c1c}
.legal{font-size:12px;line-height:17px;color:var(--t2);margin:0}.legal a{color:inherit}
.doc{max-width:720px;margin:32px auto;padding:0 16px 48px;line-height:22px}.doc h2{font-size:16px;margin:24px 0 8px}
.draft{padding:8px 12px;border-radius:10px;background:#fff1e7;color:#9a3c00;font-size:13px}
.hsub{color:var(--t3);font-size:13px;white-space:nowrap}
/* Library: Media, Products and Brand kits are one page with three tabs */
.libtabs{flex:none}.libtabs button{cursor:pointer}
.who{font-size:12.5px;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lo{white-space:nowrap;border:0;background:none;color:var(--t3);font:inherit;font-size:12px;cursor:pointer}.lo:hover{color:var(--t1)}
.msearch{height:34px;width:300px}
.toast.show{transform:translateX(-50%) translateY(0)}

/* Create, real data (Task 6) */
.gh.blank{background:#f5f3ff}
.tag{font-style:normal;font-size:11px;font-weight:600;padding:1px 7px;border-radius:99px;background:var(--acc-soft);color:var(--acc-text)}
.tag.dim{background:var(--s2);color:var(--t3)}
.tile.failed .im{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#b91c1c;font-size:12.5px;background:#fef2f2}
.act{height:26px;padding:0 9px;border-radius:8px;background:rgba(12,10,9,.72);color:#fff;font-size:11.5px;display:inline-flex;align-items:center;text-decoration:none;backdrop-filter:blur(6px)}
.rf.busy{opacity:.55}.rf.busy::after{content:'Uploading…'}
.rf .x{position:absolute;top:-6px;right:-6px;width:18px;height:18px;border-radius:50%;border:0;background:var(--t1);color:#fff;font-size:11px;line-height:18px;padding:0;cursor:pointer}
.rights{position:absolute;left:60px;top:4px;width:230px;display:flex;gap:6px;align-items:flex-start;font-size:12px;line-height:16px;color:var(--t2);background:var(--p);border:1px solid var(--acc-ring);border-radius:10px;padding:6px 8px;cursor:pointer}
.rights input{margin:1px 0 0;accent-color:var(--acc)}
.batch .warn{margin-bottom:10px}

/* Products, real data (Task 7) */
.fp.busy{opacity:.5;animation:pulse 1s ease-in-out infinite}@keyframes pulse{50%{opacity:.25}}
.pchip i{background-size:cover;background-position:center}
.ppi i{background-size:cover;background-position:center}
.ph{background-size:cover;background-position:center}
.pa .btn.small{height:28px}

/* Media (Task 8) */
button.act{border:0;cursor:pointer;font:inherit;font-size:11.5px}
.fc select{border:0;background-color:transparent;font:inherit;font-weight:600;color:var(--t1);cursor:pointer;outline:none}
#mScroll{padding-bottom:60px}
.lightbox{position:fixed;inset:0;z-index:70;background:rgba(12,10,9,.45);backdrop-filter:blur(6px);display:grid;place-items:center;animation:rev .3s var(--ease)}
.lb-card:focus{outline:none}
.lb-card{display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-template-rows:minmax(0,1fr);width:min(1100px,calc(100vw - 64px));height:min(820px,calc(100dvh - 64px));background:var(--p);border-radius:22px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.3)}
.lb-img{background:#f4f4f2 center/contain no-repeat;min-height:0}
@media (max-width:720px){.lb-card{grid-template-columns:1fr;grid-template-rows:minmax(0,42vh) minmax(0,1fr);width:calc(100vw - 20px);height:calc(100dvh - 20px);border-radius:18px}}
.lb-side{padding:20px;overflow:auto;min-height:0;display:flex;flex-direction:column;gap:8px}.lb-side h3{margin:0 0 6px;font-size:17px}
.lb-row{display:flex;justify-content:space-between;gap:16px;font-size:13px;color:var(--t3)}.lb-row span{flex:none}.lb-row b{color:var(--t1);font-weight:500;text-align:right;min-width:0;overflow-wrap:anywhere}
.lb-ask{color:var(--t1)}.lb-full{margin-top:8px}.lb-full summary{font-size:12px;font-weight:600;cursor:pointer;color:var(--t2)}.lb-full .lb-p{margin-top:6px}
.lb-h{font-size:12px;font-weight:600;margin-top:10px}.lb-p{margin:0;font-size:13px;line-height:19px;color:var(--t2);white-space:pre-wrap}
.lb-acts{display:flex;gap:6px;margin-top:auto;padding-top:12px;flex-wrap:wrap}.lb-acts a.btn{text-decoration:none}

/* Dropdown arrows, one drawing everywhere and centred on the text: a ▾ glyph sat low in Onest and native select
   arrows differ per browser. Buttons keep their ▾ in the HTML (read by screen readers as text) but draw a chevron. */
.chev,.cv{display:inline-flex;align-items:center;justify-content:center;width:10px;height:10px;font-size:0;line-height:0;flex:none;color:var(--t3)}
.chev::before,.cv::before{content:'';border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid currentColor}
select:not([multiple]){-webkit-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);
  background-position:calc(100% - 13px) 50%,calc(100% - 9px) 50%;background-size:4px 4px,4px 4px;background-repeat:no-repeat;padding-right:26px!important}
/* !important: a later `.x .inp{padding:6px 8px}` took the arrow's room and the text ran under it (Launch table CTA, 2026-11-08) */
/* Phones: the sidebar is a drawer behind a menu button in a slim top bar; pages get 16 px side gutters */
.mtop,.mscrim{display:none}
@media (max-width:720px){
  .app{flex-direction:column;height:100dvh}
  .mtop{display:flex;align-items:center;gap:10px;height:52px;flex:none;padding:0 12px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.86);backdrop-filter:blur(14px)}
  .mtop b{flex:1;min-width:0;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mnav{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:var(--p);padding:0}.mnav svg{width:18px;height:18px}
  .side{position:fixed;top:0;bottom:0;left:0;z-index:80;width:min(280px,84vw);transform:translateX(-105%);transition:transform .28s var(--ease);background:rgba(255,255,255,.97);box-shadow:none}
  .app.navon .side{transform:none;box-shadow:0 24px 60px rgba(28,25,23,.22)}
  /* closed: no colour and hidden, or Safari 26 tints its top bar grey from this invisible fixed layer (12-01) */
  .mscrim{display:block;position:fixed;inset:0;z-index:79;background:transparent;visibility:hidden;pointer-events:none;transition:background-color .28s var(--ease),visibility 0s .28s}
  .app.navon .mscrim{background:rgba(12,10,9,.32);visibility:visible;pointer-events:auto;transition:background-color .28s var(--ease)}
  /* the sync box and credits sit right under the page list, not pinned to the drawer's bottom (Kristijonas 2026-11-18) */
  .side .bgw,.side .crw{margin-top:14px}
  .head .libtabs{margin-left:0}
  .main{flex:1;min-height:0}
  .head{padding:12px 16px 4px}.scroll{padding-left:16px;padding-right:16px}
  .head{flex-wrap:wrap;row-gap:8px}.seg2 button,.head .btn{white-space:nowrap}
  /* Create's five tabs ran 7px past a 375px screen and cut Copy (stress test 2026-11-26): tighter, and they scroll if still too wide */
  .head .seg2{margin-left:0;max-width:100%;overflow-x:auto;scrollbar-width:none}.head .seg2 button{padding:4px 9px}
  /* the product and brand kit sheets stack their two columns */
  .sh-b{grid-template-columns:1fr}.sh-r{position:static}.sh-h{flex-wrap:wrap}.sh-h span{flex-basis:100%;order:3}.sh-h .x{margin-left:auto}
  /* the top bar already names the page; Create's welcome sits at the top, clear of the prompt box floating over it */
  .head h1{display:none}
  .ghosts{display:none}.hero{min-height:0;padding-top:8px}.hero h2{font-size:24px;line-height:30px}.hero p{margin-bottom:16px}
  /* the starter tiles drop their one-line description so all four sit above the prompt box (the box is ~340px tall on a phone
     and covered the last row; 2026-11-05) */
  .job em{display:none}.job{align-items:center;padding:10px 12px}.job span{grid-row:auto}
  /* Create's prompt box took 372 of a phone's 760 px, so the chat showed one card (2026-11-06): the Using chips sit on one
     row that scrolls sideways, and the EU label note shows only before the first batch, under the welcome */
  .ctx{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;white-space:nowrap}.ctx::-webkit-scrollbar{display:none}.ctx>*{flex:none}.ctx>.pchip:first-child{max-width:190px}#kchip.empty em{display:none}
  #vCreate:has(#session .ca) .dk>.eu{display:none}
  /* Media showed one 350 px tile a row and its filters sat 32 px in, past the search box's edge; a long product name
     stretched the Product filter over the screen edge (2026-11-06) */
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .mh{padding-left:16px;padding-right:16px}
  .fc{min-width:0;max-width:100%}.fc select{min-width:0;max-width:100%;text-overflow:ellipsis}
}
/* "Working in the background" (web/bgwork.js), above the credits card */
.bgw{margin-top:auto;margin-bottom:10px;padding:12px;border-radius:14px;background:var(--p);border:1px solid var(--acc-ring);box-shadow:0 8px 22px rgba(124,92,255,.10);font-size:12px;animation:up .35s var(--ease) both}
.bgw[hidden]{display:none}
.bgw:not([hidden])+.crw{margin-top:0}
.bgw-h{display:flex;align-items:center;gap:8px;margin-bottom:6px}.bgw-h b{font-size:12.5px;font-weight:600;color:var(--t1)}
.bgw-dot{width:8px;height:8px;border-radius:50%;background:var(--acc);box-shadow:0 0 0 0 rgba(124,92,255,.5);animation:bgwPulse 1.6s ease-out infinite;flex:none}
@keyframes bgwPulse{70%{box-shadow:0 0 0 7px rgba(124,92,255,0)}100%{box-shadow:0 0 0 0 rgba(124,92,255,0)}}
.bgw ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.bgw li button{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:0;background:none;padding:6px 6px;border-radius:9px;text-align:left;cursor:pointer}
.bgw li button:hover{background:var(--s2)}
.bgw-t{font-size:12.5px;font-weight:500;color:var(--t1)}.bgw small{font-size:11px;color:var(--t3)}
.bgw-bar{display:block;width:100%;height:4px;margin-top:4px;border-radius:99px;background:var(--s3);overflow:hidden}.bgw-bar i{display:block;height:100%;background:var(--acc);border-radius:99px}
.bgw p{margin:6px 6px 0;font-size:11px;line-height:15px;color:var(--t3)}

/* Desktop and tablet: a slim icon rail, each page's name on hover (Chris picked Motion's style over names under the
   icons, 2026-11-02). Phones keep the drawer above. Recent lives in Media and Home; credits and background work shrink. */
@media (min-width:721px){
  .side{width:68px;padding:14px 10px 12px;align-items:center;gap:6px;position:relative;z-index:30}
  .ws{width:46px;padding:0;margin:0 0 10px;justify-content:center;border-radius:12px;position:relative}.ws:hover,.ws.open{background:none}.ws #wsName,.ws .chev{display:none}
  .si{width:46px;height:46px;padding:0;justify-content:center;font-size:0;gap:0;border-radius:14px;position:relative}
  .si svg{width:22px;height:22px;stroke-width:1.45}
  .si:hover{background:var(--s2)}
  .si.on{background:var(--acc);color:#fff;box-shadow:0 8px 20px rgba(124,92,255,.32)}.si.on svg{color:#fff}
  /* the pages: the name under the icon, so nobody hovers to learn where things are (Chris, 2026-11-06; it was a name on
     hover since 2026-11-02). The colour sits on the icon only. Search keeps its hover name. */
  .side{width:84px;gap:4px}
  .si[data-go]{width:72px;height:auto;padding:4px 0 6px;flex-direction:column;gap:4px;font-size:11px;border-radius:12px}
  .si[data-go],.si[data-go]:hover,.si[data-go].on{background:none;box-shadow:none}
  .si[data-go]::after{display:none}
  .si[data-go] .si-i{display:grid;place-items:center;width:44px;height:36px;border-radius:12px;transition:background .15s,box-shadow .15s}
  .si[data-go]:hover .si-i{background:var(--s2)}
  .si[data-go].on .si-i{background:var(--acc);box-shadow:0 8px 20px rgba(124,92,255,.32)}
  .si-t{font:500 11px/13px Onest,system-ui,sans-serif;letter-spacing:-.005em;white-space:nowrap;color:var(--t2)}
  .si[data-go]:hover .si-t{color:var(--t1)}.si[data-go].on .si-t{color:var(--t1);font-weight:600}
  .si-gap{width:28px;margin:4px 0}
  .si::after,.side .rtip::after{content:attr(data-l);position:absolute;left:calc(100% + 12px);top:50%;transform:translate(-6px,-50%);opacity:0;pointer-events:none;
    padding:6px 11px;border-radius:9px;background:#1c1917;color:#fff;font:500 12.5px/16px Onest,system-ui,sans-serif;white-space:nowrap;transition:opacity .16s,transform .16s;z-index:80;box-shadow:0 8px 24px rgba(0,0,0,.18)}
  .si:hover::after,.si:focus-visible::after,.side .rtip:hover::after{opacity:1;transform:translate(0,-50%)}
  .side .ws.open::after{opacity:0}
  .sg,#recent{display:none}
  /* flex:none: in a short window the column squeezed the sync box into a flat pill (Kristijonas 2026-11-18) */
  .bgw{width:46px;height:46px;flex:none;padding:0;margin-bottom:6px;display:grid;place-items:center;border-radius:14px;cursor:pointer;position:relative}
  .bgw .bgw-h{margin:0}.bgw .bgw-h b,.bgw ul,.bgw p{display:none}.bgw-dot{width:10px;height:10px}
  /* credits: a ring that empties as they go (Chris picked it, 2026-11-02); the full card opens beside it on hover or focus */
  .crw{position:relative;flex:none}
  /* short windows (a 13 inch laptop): tighter page buttons, so the sync box and the credits ring keep their size */
  @media (max-height:880px){.si[data-go]{padding:2px 0 3px;gap:2px}.si[data-go] .si-i{height:32px}.si-gap{margin:2px 0}.ws{margin-bottom:6px}}
  .crg{display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:none;position:relative;transition:transform .3s cubic-bezier(.3,.7,.4,1)}
  .crg:hover,.crw:focus-within .crg{transform:scale(1.06);transition-timing-function:var(--ease)}
  .crg svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
  .crt,.cra{fill:none;stroke-width:4}.crt{stroke:var(--s3)}.cra{stroke:var(--acc);stroke-linecap:round;stroke-dasharray:0 100;transition:stroke-dasharray .7s var(--ease),stroke .3s}
  .crw.low .cra{stroke:#f59e0b}
  .crtd:not([hidden]){display:block;margin-top:5px;font:600 10.5px/13px Onest,system-ui,sans-serif;color:var(--t3);text-align:center;white-space:nowrap;font-style:normal}
  .crtd.end{color:#b45309}
  .crg b{font:700 13px/1 Onest,system-ui,sans-serif;color:var(--t1);font-variant-numeric:tabular-nums;letter-spacing:-.01em}
  .crw .plan{position:absolute;left:calc(100% + 16px);bottom:0;width:290px;padding:14px 16px 16px;border-radius:16px;z-index:80;color:var(--t2);background:#fff;
    box-shadow:0 24px 70px rgba(12,10,9,.22),0 0 0 1px rgba(12,10,9,.06);overflow:visible;opacity:0;visibility:hidden;transform:scale(.95);transform-origin:left bottom;pointer-events:none;
    transition:opacity .16s,transform .16s,visibility 0s linear .16s}
  .crw .plan::after{display:none}
  .crw .plan::before{content:'';position:absolute;left:-18px;top:0;bottom:0;width:18px} /* a bridge over the gap, so the card stays while the mouse crosses */
  .crw:hover .plan,.crw:focus-within .plan{opacity:1;visibility:visible;transform:none;pointer-events:auto;transition:opacity .2s .1s,transform .25s .1s var(--ease),visibility 0s .1s}
  .crw.shut .plan{opacity:0;visibility:hidden;transform:scale(.95);pointer-events:none;transition:opacity .16s,transform .16s,visibility 0s linear .16s} /* Escape (shell.js) */  .crw .cb-h{color:var(--t3);font-size:12px}.crw .cb-ic{display:none}
  .crw .cb-h em{color:var(--acc-text);background:var(--acc-soft);text-transform:none;letter-spacing:0;font-size:11.5px}
  .crw .cb-n b{font-size:30px;color:var(--t1)}.crw .cb-n span{color:var(--t3);font-size:12.5px}
  .crw .cb-bar{background:var(--s3)}.crw .cb-hint{color:var(--t2);font-size:12.5px;line-height:18px}
  .crw .cb-buy{background:linear-gradient(135deg,#ffe08a,#f2a91c);color:#3d2700}.crw .cb-buy:hover{box-shadow:0 6px 18px rgba(242,169,28,.35)}
}

/* Media's empty state: three sample ads fanned out, what the page is for, two ways to fill it */
.memp{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px 16px}
.memp-st{position:relative;width:220px;height:150px;margin-bottom:26px}
.memp-st i{position:absolute;top:10px;left:70px;width:84px;height:105px;border-radius:12px;background:var(--s2) center/cover;box-shadow:0 12px 30px rgba(28,25,23,.16);border:3px solid var(--p)}
.memp-st i:nth-child(1){transform:translateX(-62px) rotate(-10deg)}.memp-st i:nth-child(3){transform:translateX(62px) rotate(10deg)}.memp-st i:nth-child(2){top:0;z-index:1}
.memp h2{margin:0;font:600 24px/30px Onest,system-ui,sans-serif;letter-spacing:-.02em}
.memp p{max-width:440px;margin:8px 0 22px;color:var(--t2);font-size:14.5px;line-height:22px}
.memp-b{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
#cTabs button{display:inline-flex;align-items:center;gap:5px}
/* the app never scrolls the page itself; parked trays and toasts below the fold must not let a focus() nudge it */
html:has(body.in-app){overflow:hidden}
#bSheet:not(:empty)~.pgrid .pempty{display:none} /* the sheet is open: the welcome under it would repeat it */
#bSheet>.sheet{max-width:1100px;max-height:calc(100dvh - 160px)} /* a form, not a full-width banner (it stretched to 1,900 px on a wide screen) */

/* Create's ideas (2026-11-04): while they are open the empty page under them stays still and its heading, text and
   job buttons step back (they showed through the cards); hidden ideas fold to one line with Show ideas. */
body.ideas-open #cScroll:has(.hero){overflow:hidden}
body.ideas-open .hero h2,body.ideas-open .hero p,body.ideas-open .hero .jobs{opacity:0;pointer-events:none}
.ideas-h .ideas-new{margin-left:auto;color:var(--acc-text)}.ideas-h .ideas-new+button{margin-left:6px}
.ideas-h .ideas-show{color:var(--acc-text);font-weight:600}
.ideas-min{margin-bottom:8px}

/* Scroll boxes inside the app: thin, light bars instead of the thick grey default that sat on rounded edges
   (settings popup, Accounts, Inspo). Drawn with ::-webkit-scrollbar, not scrollbar-width:thin: on Windows Chrome
   the thin standard bar still draws the up/down arrow buttons. Chrome ignores these pseudos on any element that sets
   scrollbar-width or scrollbar-color, so areas that hide their bar (scrollbar-width:none) stay hidden. */
body.in-app ::-webkit-scrollbar{width:10px;height:10px}
body.in-app ::-webkit-scrollbar-track,body.in-app ::-webkit-scrollbar-corner{background:transparent}
body.in-app ::-webkit-scrollbar-thumb{background:rgba(28,25,23,.18);border-radius:10px;border:3px solid transparent;background-clip:padding-box}
body.in-app ::-webkit-scrollbar-thumb:hover{background-color:rgba(28,25,23,.34)}
body.in-app ::-webkit-scrollbar-button{display:none;width:0;height:0}
@supports not selector(::-webkit-scrollbar){:where(body.in-app *){scrollbar-width:thin;scrollbar-color:rgba(28,25,23,.2) transparent}}
/* Chrome's own sheet sets date fields in monospace ("mm/dd/yyyy" in a typewriter face next to Onest) */
input[type=date],input[type=month],input[type=time],input[type=datetime-local]{font-family:inherit;font-variant-numeric:tabular-nums}
.tile .im.mopen{cursor:zoom-in}

/* trial files countdown (0108), on Home and Media */
.tfbar{display:flex;align-items:center;gap:12px;margin:0 24px 12px;padding:10px 12px 10px 14px;border-radius:12px;background:linear-gradient(90deg,#fff1f2,#fff7f7);border:1px solid #fecdd3;font-size:13px;color:#7f1d1d}
.tfbar-t{flex:none;min-width:104px;padding:3px 8px;border-radius:8px;background:#e11d48;color:#fff;font-variant-numeric:tabular-nums;text-align:center}
.tfbar span{flex:1;min-width:0}
/* the last day of trial files: the red clock breathes (a ring, so nothing moves under the cursor) */
@keyframes tfpulse{0%,100%{box-shadow:0 0 0 0 rgba(225,29,72,.45)}50%{box-shadow:0 0 0 6px rgba(225,29,72,0)}}
.tfbar.urgent .tfbar-t,.pltf.urgent .pltf-c{animation:tfpulse 1.6s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.tfbar.urgent .tfbar-t,.pltf.urgent .pltf-c{animation:none}}
@media (max-width:640px){.tfbar{margin:0 12px 10px;flex-wrap:wrap}.tfbar .btn{width:100%}}

/* Create's History (2026-11-05): every earlier batch, its prompt and images */
#cHist{display:inline-flex;align-items:center;gap:6px;margin-right:8px}#cHist svg{width:15px;height:15px}#cHist.on{border-color:var(--acc);color:var(--acc)}
#vCreate{position:relative}
.chist{position:absolute;top:64px;right:16px;bottom:16px;z-index:40;width:320px;max-width:calc(100% - 32px);display:flex;flex-direction:column;background:var(--p,#fff);
  border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 48px -20px rgba(17,24,39,.28);animation:chIn .22s cubic-bezier(.2,.8,.2,1) both}
@keyframes chIn{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
.chh{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px;border-bottom:1px solid var(--line)}
.chh b{font:600 15px Onest,system-ui,sans-serif}
.chx{border:0;background:none;width:28px;height:28px;border-radius:8px;color:var(--t3);cursor:pointer}.chx:hover{background:var(--s2);color:var(--t1)}
.chl{flex:1;overflow:auto;padding:2px 8px 12px;overscroll-behavior:contain}
.chl h6{margin:16px 10px 6px;font:600 11.5px/1 Onest,system-ui,sans-serif;color:var(--t3)}.chl h6:first-child{margin-top:8px}
.chsk{display:flex;flex-direction:column;gap:6px;padding:12px 10px}.chsk i{height:10px;border-radius:6px;background:linear-gradient(90deg,var(--s2) 25%,#f7f7f9 50%,var(--s2) 75%);background-size:250% 100%;animation:fswSkel 1.4s linear infinite}.chsk i+i{width:55%}
.chempty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:48px 22px;color:var(--t3)}
.chempty b{font:600 15px Onest,system-ui,sans-serif;color:var(--t1);margin:16px 0 6px}.chempty p{margin:0;font-size:13px;line-height:1.5;max-width:260px}
.cherr{padding:20px 10px;font-size:13px;color:var(--t3)}
@media (max-width:700px){.chist{top:56px;right:8px;left:8px;width:auto;max-width:none}}

/* ---- motion rules (Kristijonas, 2026-11-05): press, popovers from their trigger, shorter exits, icon cross-fades ---- */
.btn:not(:disabled):active,.hh-btn:not(:disabled):active,.hw-mk:not(:disabled):active,.cpy:active{transform:scale(.97)}
.pop-in{animation:popIn .2s var(--ease) both}
.pop-out{animation:popOut .16s cubic-bezier(.4,0,1,1) both;pointer-events:none}
@keyframes popIn{from{opacity:0;transform:scale(.95)}}
@keyframes popOut{to{opacity:0;transform:scale(.95)}}
.ico-in{animation:icoIn .2s var(--ease) both}
@keyframes icoIn{from{opacity:0;transform:scale(.6);filter:blur(2px)}}
.has-ind{position:relative;isolation:isolate}
.has-ind>button{position:relative;z-index:1}
.seg-ind{position:absolute;left:0;top:3px;bottom:3px;width:0;border-radius:8px;z-index:0;pointer-events:none;opacity:0;transition:transform .28s cubic-bezier(.65,0,.35,1),width .28s cubic-bezier(.65,0,.35,1),opacity .15s}
@media (prefers-reduced-motion:reduce){.pop-in,.pop-out,.ico-in{animation:none}.seg-ind{transition:none}}
/* Create lanes (lanes.js, 2026-11-05): the counter by Generate, the working line under each batch, Stop, the line of
   waiting prompts and the strip of this chat's images */
.lanes{height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 4px;font-size:12px;color:var(--t2);font-variant-numeric:tabular-nums;cursor:default;white-space:nowrap}
.lanes[hidden],.pcount[hidden]{display:none}
.ln-d{display:inline-flex;gap:3px}.ln-d i{width:6px;height:6px;border-radius:50%;background:var(--s3);transition:background .25s}
.ln-d i.on{background:var(--acc);animation:lnPulse 1.6s ease-in-out infinite}.ln-d i.on:nth-child(2){animation-delay:.2s}.ln-d i.on:nth-child(3){animation-delay:.4s}
.lanes.full .ln-t{color:var(--t1);font-weight:600}
@keyframes lnPulse{50%{opacity:.45}}
.pcount{height:32px;display:inline-flex;align-items:center;font-size:12px;color:var(--t3);font-variant-numeric:tabular-nums}.pcount.max{color:#b45309;font-weight:600}
.bw{display:flex;align-items:center;gap:8px;margin:-4px 0 10px;font-size:12.5px;color:var(--t3);font-variant-numeric:tabular-nums;min-height:18px}
.bw.work::before,.bw.slow::before,.bw.wait::before{content:"";width:8px;height:8px;border-radius:50%;flex:none;background:var(--acc);animation:lnPulse 1.4s ease-in-out infinite}
.bw.work{color:var(--t2)}
.bw.slow{color:#b45309}.bw.slow::before{background:#f59e0b}
.bw.wait::before{background:var(--t3);animation:none}
.bw.done::before{content:"✓";color:#15803d;font-weight:700}
.bw.stop,.bw.fail{color:var(--t2)}
.bh .sp{flex:1}
.bstop{height:26px;padding:0 10px;border-radius:8px;border:1px solid var(--line);background:var(--p);font:inherit;font-size:12px;font-weight:600;color:var(--t1);cursor:pointer;transition:background .15s,transform .15s var(--ease)}
.bstop:hover{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.bstop:active{transform:scale(.97)}.bstop:disabled{opacity:.6;cursor:default}
.bagain{font-size:12.5px}
.tile.qslot{border-style:dashed;background:transparent}.tile.qslot .im{background:repeating-linear-gradient(135deg,transparent 0 10px,rgba(12,10,9,.025) 10px 20px)}
.tile.qslot:hover{transform:none;box-shadow:none}
.tile.stopped .im{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--t2);font-size:12.5px;background:var(--s2)}
.tile.flash{animation:tFlash 1.2s var(--ease)}
@keyframes tFlash{0%,40%{box-shadow:0 0 0 3px var(--acc)}100%{box-shadow:0 0 0 0 transparent}}
.cstrip{position:sticky;top:-8px;z-index:3;display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:8px 12px;border:1px solid var(--line);border-radius:14px;background:var(--p);box-shadow:0 0 0 6px var(--bg),0 6px 18px rgba(28,25,23,.06);font-size:12.5px} /* the 6px ring in the page colour covers the square corners round the rounded ones, so images scrolling under the strip do not peek out at them */
/* with the strip on top, the page does not fade at the top: the strip is opaque and sits on the very edge, so batch
   titles scroll under it instead of showing faded above and through it (the friend's screenshots, 2026-11-06) */
#cScroll:has(.cstrip){-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - var(--dockH,280px) - 44px),transparent calc(100% - var(--dockH,280px) - 6px));mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - var(--dockH,280px) - 44px),transparent calc(100% - var(--dockH,280px) - 6px))}
.cstrip b{font-weight:600;white-space:nowrap}.cs-n{color:var(--t3);white-space:nowrap;font-variant-numeric:tabular-nums}
.cs-l{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;flex:1;min-width:0;padding:2px}.cs-l::-webkit-scrollbar{display:none}
.cs-i{flex:none;height:40px;aspect-ratio:var(--ar,1);border-radius:7px;border:0;padding:0;background:var(--s2) center/cover;cursor:pointer;transition:transform .15s var(--ease)}
.cs-i:hover{transform:scale(1.06)}.cs-i:active{transform:scale(.97)}.cs-i:focus-visible{outline:2px solid var(--acc);outline-offset:1px}
.cs-i.wait{background:linear-gradient(110deg,#ecebe8 30%,#f8f8f6 50%,#ecebe8 70%);background-size:300% 100%;animation:shim 1.4s linear infinite;cursor:default}
.crlow.ask{background:var(--p);border-color:var(--line);color:var(--t1)}.crlow.ask b{color:var(--t1)}.crlow.ask .btn{border-color:var(--line);background:var(--p);color:var(--t1)}
.crlow.ask .btn.pri{background:var(--t1);color:#fff;border:0}
@media (max-width:720px){.ln-t{display:none}.lanes{padding:0 2px}.cstrip b{display:none}}
@media (prefers-reduced-motion:reduce){.ln-d i.on,.bw::before,.cs-i.wait,.tile.flash{animation:none}}

/* the large view's previous / next (← →) */
.lb-img{position:relative}
.lb-nav{position:absolute;top:50%;width:40px;height:40px;margin-top:-20px;border:0;border-radius:50%;background:rgba(255,255,255,.88);color:#17151f;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.14);opacity:0;transition:opacity .15s,transform .12s var(--ease)}
.lb-l{left:14px}.lb-r{right:14px}
.lb-img:hover .lb-nav,.lb-nav:focus-visible{opacity:1}
.lb-nav:active{transform:scale(.97)}
.lb-nav:disabled{opacity:0!important;pointer-events:none}
.lb-pos{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);padding:3px 10px;border-radius:999px;background:rgba(23,21,31,.6);color:#fff;font-size:12px;font-variant-numeric:tabular-nums;pointer-events:none}
@media (hover:none){.lb-nav{opacity:1}}
/* two-step sign-in (0136): the code screen and the setup modal */
.tsform{display:flex;flex-direction:column;gap:14px}
.tscode{height:52px;border-radius:12px;font:600 24px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.35em;text-align:center;font-variant-numeric:tabular-nums}
.tscode::placeholder{color:var(--t3);opacity:.5}
.tsst{margin:0 0 12px;padding-left:20px;color:var(--t2);font-size:13.5px;display:grid;gap:4px}
.tsqr{display:grid;place-items:center;padding:12px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px var(--line);margin:0 auto 12px;width:max-content}
.tsqr img{display:block;width:180px;height:180px}
.tskey{margin:0 0 12px;font-size:13px;color:var(--t2)}.tskey summary{cursor:pointer}
.tskey code{display:block;margin:8px 0 6px;padding:8px 10px;border-radius:8px;background:var(--s2);font:500 13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere;user-select:all}
.tson{display:inline-block;margin-right:6px;padding:1px 8px;border-radius:999px;background:#e7f6ec;color:#17663a;font-size:12px;font-weight:600}
/* Media: a search or filter that matches nothing */
.mnone{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:72px 16px;color:var(--t2);font-size:13.5px}
.mnone b{color:var(--t1);font-size:15px;font-weight:600;overflow-wrap:anywhere}
.mnone div{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:10px}

/* Create tiles, after Batch Lab Vela (Kristijonas 2026-11-06): the prompt, the other sizes and the actions sit under
   the image, always visible (the hover-only buttons over the picture were missed) */
.lb-side .tags{padding:0}
.tile .cpm{margin:0 11px 6px;font-size:12px;color:var(--t2)}
.tile .cpm summary{display:inline-flex;align-items:center;gap:4px;cursor:pointer;color:var(--t3);font-weight:600;list-style:none;border-radius:6px;padding:1px 4px 1px 0}
.tile .cpm summary::-webkit-details-marker{display:none}
.tile .cpm summary::before{content:'';width:0;height:0;border-left:5px solid currentColor;border-top:4px solid transparent;border-bottom:4px solid transparent;transition:transform .15s var(--ease)}
.tile .cpm[open] summary::before{transform:rotate(90deg)}
.tile .cpm summary:hover{color:var(--t1)}
.tile .cpm p{margin:4px 0 0;max-height:150px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:17px;padding:7px 9px;border-radius:9px;background:var(--s2);color:var(--t2)}
.csz{display:flex;flex-wrap:wrap;gap:4px;padding:0 11px 8px}
.csz>*{height:24px;display:inline-flex;align-items:center;gap:4px;padding:0 8px;border-radius:99px;font-family:inherit;font-weight:600;font-size:11.5px;line-height:1;white-space:nowrap}
.csz-on{background:var(--t1);color:#fff}
.csz button{border:1px solid var(--line);background:var(--p);color:var(--t2);cursor:pointer;transition:background .15s,color .15s,transform .1s}
.csz button:hover{background:var(--s2);color:var(--t1)}.csz button:active{transform:scale(.97)}
.csz .ilk{width:11px;height:11px}
.ctb{display:flex;flex-wrap:wrap;align-items:center;gap:3px;padding:0 9px 10px 11px}
.ctb-b{height:26px;min-width:26px;flex:none;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:0 6px;border:1px solid var(--line);border-radius:8px;background:var(--p);color:var(--t2);font-family:inherit;font-weight:600;font-size:12px;line-height:1;text-decoration:none;cursor:pointer;transition:background .15s,color .15s,border-color .15s,transform .1s}
.ctb-b:hover{background:var(--s2);color:var(--t1)}.ctb-b:active{transform:scale(.97)}.ctb-b:disabled{opacity:.5;cursor:default}
.ctb-b .ico{width:14px;height:14px}
.ctb-ed{background:var(--acc-soft);border-color:transparent;color:var(--acc-text);padding:0 9px}
.ctb-ed:hover,.ctb-ed[aria-expanded="true"]{background:var(--acc);color:#fff}
.ctb-b:last-child{margin-left:auto}
/* an edit or a size: the ad it came from, small, before its title */
.bsrc{flex:none;height:30px;aspect-ratio:var(--ar,1);border-radius:6px;background:center/cover var(--s2);box-shadow:0 0 0 1px var(--line)}

/* Edit an ad (imgedit.js): a popover over a Create tile, or the side of Media's large view */
.iep{position:fixed;z-index:90;width:min(380px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;background:var(--p);border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 50px rgba(28,25,23,.18);padding:14px}
.ie{display:flex;flex-direction:column;gap:10px;font-size:13px}
.ie-h{display:flex;align-items:center;gap:8px}.ie-h b{font-size:14.5px;color:var(--t1)}
.ie-back{border:0;background:none;padding:2px 6px 2px 0;color:var(--t2);font-family:inherit;font-weight:600;font-size:12.5px;line-height:1;cursor:pointer}.ie-back:hover{color:var(--t1)}
.ie-seg{display:flex;gap:2px;padding:3px;border-radius:10px;background:var(--s2)}
.ie-seg button{flex:1;height:28px;border:0;border-radius:8px;background:none;color:var(--t2);font-family:inherit;font-weight:600;font-size:12.5px;line-height:1;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}
.ie-seg button:hover{color:var(--t1)}.ie-seg button.on{background:var(--p);color:var(--t1);box-shadow:0 1px 3px rgba(28,25,23,.12)}
.ie-b{display:flex;flex-direction:column;gap:6px}
.ie-t,.ie-i{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;background:var(--p);color:var(--t1);font-family:inherit;font-size:13px;line-height:1.45;padding:8px 10px}
.ie-t{min-height:76px;resize:vertical}.ie-i{height:36px}
.ie-t:focus,.ie-i:focus{outline:0;border-color:var(--acc);box-shadow:0 0 0 3px var(--acc-soft)}
.ie-hint{margin:0;font-size:12px;color:var(--t3);line-height:17px}
.ie-lab{font-size:12px;font-weight:600;color:var(--t2);margin-top:2px}
.ie-l{display:flex;flex-wrap:wrap;gap:6px;max-height:150px;overflow:auto;padding:1px}
.ie-chip{max-width:100%;text-align:left;border:1px solid var(--line);border-radius:10px;background:var(--p);color:var(--t1);font-family:inherit;font-size:12.5px;line-height:1.35;padding:5px 9px;overflow-wrap:anywhere;cursor:pointer;transition:background .15s,border-color .15s}
.ie-chip:hover{background:var(--s2)}.ie-chip.on{border-color:var(--acc);background:var(--acc-soft);color:var(--acc-text)}
.ie-now{font-size:12.5px;color:var(--t2)}.ie-now b{color:var(--t1);overflow-wrap:anywhere}
.ie-msg{margin:0;font-size:12.5px;color:#b42318;line-height:17px}.ie-msg:empty{display:none}
.ie-f{display:flex;align-items:center;gap:8px;margin-top:2px}.ie-c{flex:1;font-size:12px;color:var(--t3);line-height:16px}
.iec .ie-hint{font-size:12.5px;color:var(--t2)}
/* Redo in Detailed (0298): the same prompt on the next tier, under the edit form */
.ie-redo{display:flex;align-items:center;gap:8px;margin-top:8px;padding-top:10px;border-top:1px solid var(--line)}.ie-redo .btn{flex:none}
/* The chat (option B, picked 2026-11-06): one centred column as wide as the prompt box, so the page and the box line up.
   Your words on the right as a message, Raino's answer under them on the left (create.js youEl / aiEl). */
#vCreate{--ccol:880px}
@media (min-width:1800px){#vCreate{--ccol:1040px}} /* Kristijonas works at ~2000px: a wider column there, the box widens with it */
#session{max-width:var(--ccol);margin:0 auto;container-type:inline-size}
.dock .dk{max-width:var(--ccol)}
.batch.chat{margin:0 0 36px}
.cy{display:flex;flex-direction:column;align-items:flex-end;margin:0 0 14px;min-width:0}
.cy .bsrc{height:76px;border-radius:12px;margin:0 0 6px}
.cy-b{display:flex;flex-direction:column;align-items:flex-start;max-width:min(78%,620px);min-width:0;padding:10px 15px;border-radius:18px 18px 4px 18px;background:var(--s3);color:var(--t1);font-size:14px;line-height:21px}
.cy-t{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-width:100%}
.cy-clip:not(.cy-open) .cy-t{display:-webkit-box;-webkit-line-clamp:6;line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
.cy-more{margin-top:4px;font-size:12.5px}
.cy-m{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 12px;margin-top:6px;padding:0 4px;font-size:12px;color:var(--t3)}
.cy-m .bagain{font-size:12px}
.batch.qd .cy-b{background:var(--s2);color:var(--t2)}
.ca{min-width:0}
.ca-h{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;min-height:26px;margin:0 0 10px;font-size:12.5px;color:var(--t3)}
.ca-h .sp{display:none}
.ca-h .sp+*{margin-left:auto} /* Stop and the links stay right, also when they wrap under a long status */
.logo.ca-mark{width:24px;height:24px;border-radius:8px;align-self:flex-start}.ca-mark i{width:15px;height:15px}
.ca-h .bw{flex:1 1 140px;min-width:0;margin:0;min-height:20px;overflow-wrap:anywhere}
.ca-h .lnk{font-size:12.5px;text-decoration:none;white-space:nowrap}.ca-h .lnk:hover{text-decoration:underline}
.ca .warn{margin:0}
.ca .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
@container (max-width:760px){.ca .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container (max-width:560px){.ca .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cy-b{max-width:88%}.ca-lg{display:none}}
.batch.chat.new{animation:none}
.batch.chat.new .cy{animation:up .4s var(--ease) both}
.batch.chat.new .ca{animation:up .5s var(--ease) .1s both}
@media (prefers-reduced-motion:reduce){.batch.chat.new .cy,.batch.chat.new .ca{animation:none}}
/* History as a chat list (Kristijonas 2026-11-06: "like a proper ai chats have. claude, chatgpt, gemini"): New chat and
   search on top, then one line per chat by day, the open one filled, ⋯ for Rename and Remove from History */
.chh{border-bottom:0;padding:14px 14px 6px}
.chtop{display:flex;flex-direction:column;gap:4px;padding:0 8px 6px}
.chnew{display:flex;align-items:center;gap:10px;width:100%;height:36px;padding:0 10px;border:0;border-radius:9px;background:none;font-family:inherit;font-size:13.5px;font-weight:600;color:var(--t1);cursor:pointer;text-align:left;transition:background .12s}
.chnew:hover{background:var(--s2)}.chnew:active{transform:scale(.97)}
.chnew svg,.chs svg,.chmenu svg{width:15px;height:15px;flex:none}
.chs{display:flex;align-items:center;gap:10px;height:36px;padding:0 10px;border-radius:9px;background:var(--s2);color:var(--t3);cursor:text}
.chs:focus-within{box-shadow:0 0 0 2px var(--acc-ring);background:var(--p)}
.chs input[type=search],.chs input[type=search]:focus{flex:1;min-width:0;width:auto;height:100%;border:0;border-radius:0;background:none;padding:0;box-shadow:none;font-family:inherit;font-size:13.5px;color:var(--t1);outline:none}
.chs input::-webkit-search-cancel-button{cursor:pointer}
.chr{position:relative;display:flex;align-items:center;min-height:36px;border-radius:9px;transition:background .12s}
.chr:hover{background:var(--s2)}.chr.on{background:var(--s3)}
.chr-t{flex:1;min-width:0;height:36px;padding:0 10px;border:0;background:none;border-radius:9px;font-family:inherit;font-size:13.5px;color:var(--t1);text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.chr.on .chr-t{font-weight:600}
.chr-t:focus-visible,.chr-m:focus-visible{outline:2px solid var(--acc-ring);outline-offset:-2px}
.chr-m{flex:none;width:28px;height:28px;margin-right:4px;border:0;border-radius:7px;background:none;color:var(--t2);display:grid;place-items:center;cursor:pointer;opacity:0;transition:opacity .12s,background .12s}
.chr-m svg{width:16px;height:16px;fill:currentColor;stroke:none}
.chr:hover .chr-m,.chr.on .chr-m,.chr:focus-within .chr-m,.chr-m[aria-expanded="true"]{opacity:1}
.chr-m:hover,.chr-m[aria-expanded="true"]{background:var(--line);color:var(--t1)}
@media (hover:none){.chr-m{opacity:1}}
.chr-in,.chr-in:focus{flex:1;min-width:0;height:30px;margin:3px;padding:0 8px;border:1px solid var(--acc-ring);border-radius:7px;background:var(--p);font-family:inherit;font-size:13.5px;color:var(--t1);outline:none;box-shadow:0 0 0 3px var(--acc-soft)}
.chr.ren{background:none}
.chr-gone{gap:10px;padding:0 10px;font-size:12.5px;color:var(--t3)}.chr-gone:hover{background:none}.chr-gone .lnk{font-size:12.5px} /* not .gone: inspo.css has a global .gone (a striped 4:3 box) */
.chmenu{position:absolute;z-index:3;min-width:196px;padding:4px;background:var(--p);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 32px -8px rgba(28,25,23,.22);animation:chm .14s var(--ease) both}
@keyframes chm{from{opacity:0;transform:scale(.95)}}
.chmenu button{display:flex;align-items:center;gap:9px;width:100%;height:32px;padding:0 10px;border:0;border-radius:8px;background:none;font-family:inherit;font-size:13px;color:var(--t1);cursor:pointer;text-align:left}
.chmenu button:hover,.chmenu button:focus-visible{background:var(--s2);outline:none}.chmenu button:active{transform:scale(.97)}
.chmenu .red{color:#b91c1c}.chmenu .red:hover,.chmenu .red:focus-visible{background:#fef2f2}
.chnone{margin:0;padding:18px 10px;font-size:13px;color:var(--t3);overflow-wrap:anywhere}
.chempty{padding:40px 22px}.chempty b{margin-top:0}
.chsk{flex-direction:row;gap:0;padding:13px 10px}.chsk i:first-child{flex:1;max-width:78%}.chsk:nth-child(2n) i:first-child{max-width:56%}.chsk i:last-child{display:none}
@media (prefers-reduced-motion:reduce){.chmenu{animation:none}}

/* Unslop pass 2026-11-07: --t3 is #736b65 (was #a8a29e, 2.4:1 on the page; now 5:1 on the page and 4.7:1 on --s2, so
   hints and meta lines pass WCAG AA); headings never leave one word alone on a line, short paragraphs avoid orphans,
   and numbers in tables and the credit counter keep one width, so a changing value does not shift its neighbours */
h1,h2,h3,h4,h5{text-wrap:balance}
p{text-wrap:pretty}
table,.cred{font-variant-numeric:tabular-nums}
/* Back to top (web/totop.js): placed by script in the bottom right of the list being scrolled. Dark so it shows on ad
   pictures; a violet ring fills as the list goes down; on hover it widens to say "Top"; the arrow nudges up once when it
   appears and shoots up on click */
.s2t{position:fixed;right:0;top:0;z-index:300;height:44px;min-width:44px;padding:0 13px;border-radius:99px;border:0;background:#1c1917;color:#fff;box-shadow:0 10px 28px rgba(28,25,23,.28),0 0 0 1px rgba(255,255,255,.08) inset;display:flex;align-items:center;justify-content:center;gap:0;cursor:pointer;font:600 13px/1 inherit;transform-origin:100% 100%;animation:s2tIn .18s var(--ease);transition:gap .2s var(--ease),background .15s,box-shadow .2s}
.s2t-ring{position:absolute;right:-3px;top:-3px;width:50px;height:50px;transform:rotate(-90deg);pointer-events:none;transition:opacity .15s}
.s2t-ring circle{fill:none;stroke:rgba(121,90,249,.18);stroke-width:2.5}
.s2t-ring .s2t-fill{stroke:var(--acc);stroke-linecap:round;transition:stroke-dashoffset .12s linear}
.s2t-ar{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;animation:s2tNudge .5s .22s var(--ease)}
.s2t-t{max-width:0;overflow:hidden;white-space:nowrap;opacity:0;transition:max-width .2s var(--ease),opacity .15s}
.s2t:hover,.s2t:focus-visible{gap:6px;background:#6746f1;box-shadow:0 12px 30px rgba(103,70,241,.35)}
.s2t:hover .s2t-t,.s2t:focus-visible .s2t-t{max-width:40px;opacity:1}
.s2t:hover .s2t-ring,.s2t:focus-visible .s2t-ring{opacity:0}
.s2t:hover .s2t-ar{transform:translateY(-2px);transition:transform .2s var(--ease)}
.s2t:active{transform:scale(.97)}
.s2t:focus-visible{outline:2px solid var(--acc);outline-offset:3px}
.s2t.go .s2t-ar{animation:s2tShoot .18s ease-in forwards}
.s2t.out{animation:s2tOut .12s ease-in forwards}
@keyframes s2tIn{from{opacity:0;transform:scale(.95) translateY(6px)}}
@keyframes s2tOut{to{opacity:0;transform:scale(.95)}}
@keyframes s2tNudge{40%{transform:translateY(-4px)}}
@keyframes s2tShoot{to{transform:translateY(-14px);opacity:0}}
@media (prefers-reduced-motion:reduce){.s2t,.s2t.out,.s2t-ar,.s2t.go .s2t-ar{animation:none}}
/* the composer's choices (Batch Lab port, createopts.js): Options chip and its popover, @ and / suggestions */
.opt-menu{min-width:320px;max-width:min(440px,calc(100vw - 16px));max-height:min(520px,75vh);padding:10px 12px}
.om-r{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:5px 0}
.om-l{font-size:12.5px;color:var(--t2)}
.om-s{flex-wrap:wrap}
.om-sel{height:30px;max-width:220px;font-size:12.5px;padding:0 8px}
.om-al{display:flex;flex-wrap:wrap;gap:4px}
.om-a{height:28px;padding:0 9px;border:1px solid var(--line);border-radius:8px;background:var(--p);color:var(--t2);font-size:12.5px;display:inline-flex;align-items:center;gap:4px;transition:background .15s,color .15s,transform .1s}
.om-a:hover{background:var(--s2);color:var(--t1)}.om-a:active{transform:scale(.97)}
.om-a.on{border-color:var(--acc);color:var(--acc-text);background:var(--acc-soft);font-weight:600}
.om-a[aria-disabled="true"]{cursor:default;opacity:.75}
.om-n{margin:6px 0 2px;font-size:12px;color:var(--t3)}
.psugg{min-width:240px}
/* the check (0297): an image still off after remakes, or not checked, says so on the tile and in the large view */
.cbadge{margin-left:auto;margin-right:6px;height:20px;padding:0 7px;border-radius:6px;border:0;font-size:11px;font-weight:600;cursor:pointer}
.cbadge.ck-flag,.lb-chk.ck-flag{background:#fef3c7;color:#78350f}
.cbadge.ck-unchk,.lb-chk.ck-unchk{background:var(--s2);color:var(--t2)}
.lb-chk{margin:0 0 10px;padding:8px 10px;border-radius:10px;font-size:12.5px;line-height:18px}
/* small talk: the writer's words in the chat, no tiles */
.ca-say{margin:0;padding:10px 14px;max-width:560px;border-radius:14px;background:var(--s2);white-space:pre-wrap;overflow-wrap:anywhere}
/* compare: the ad over what it was made from, a range input on top moves the edge (drag or arrow keys) */
.lb-cmp,.lb-cmpr{display:none}
.lb-img.cmp-on .lb-cmp{display:block;position:absolute;inset:0;background:#f4f4f2 center/contain no-repeat;clip-path:inset(0 calc(100% - var(--cmp)) 0 0);pointer-events:none}
.lb-img.cmp-on .lb-cmp::after{content:"";position:absolute;top:0;bottom:0;left:var(--cmp);width:2px;margin-left:-1px;background:#fff;box-shadow:0 0 6px rgba(0,0,0,.35)}
.lb-img.cmp-on .lb-cmpr{display:block;position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}
.lb-img.cmp-on .lb-cmpr:focus-visible{opacity:.01}
.lb-img.cmp-on:has(.lb-cmpr:focus-visible){outline:2px solid var(--acc);outline-offset:-2px}
.lb-cmpt{position:absolute;top:12px;left:12px;height:30px;padding:0 12px;border:0;border-radius:999px;background:rgba(23,21,31,.6);color:#fff;font-size:12.5px;z-index:2;transition:transform .1s}
.lb-cmpt:active{transform:scale(.97)}.lb-cmpt[aria-pressed="true"]{background:var(--acc)}
.lb-img.cmp-on .lb-nav{z-index:2}

/* Turnstile before Checkout (web/human.js): only seen when Cloudflare asks the person to click */
.human-box{position:fixed;right:16px;bottom:16px;z-index:1000}

/* Report this image (web/report.js) */
.lb-rep{margin-top:10px;font-size:12px}.rep-form{display:flex;flex-direction:column;gap:6px}.rep-form select,.rep-form textarea{width:100%;font:inherit}.rep-msg{margin:0;color:var(--t2)}
/* "New in Raino" card after a deploy (option C, 2026-11-29): bottom right, stays until Reload or ✕ */
.updc{position:fixed;right:16px;bottom:16px;z-index:410;width:330px;max-width:calc(100vw - 24px);background:var(--p);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 16px 40px rgba(12,10,9,.14);animation:updcIn .28s var(--ease) both}
@keyframes updcIn{from{opacity:0;transform:translateY(12px) scale(.97)}}
.updc-h{display:flex;gap:12px;align-items:flex-start;padding:14px 12px 10px 14px}.updc-h>div{flex:1;min-width:0}
.updc-h b{display:block;font-size:14px;font-weight:600;margin-bottom:2px}.updc-h span{font-size:13px;color:var(--t2)}
.updc-i{width:32px;height:32px;flex:none;border-radius:10px;background:var(--acc-soft);display:grid;place-items:center}
.updc-i svg{width:16px;height:16px;stroke:var(--acc-text);fill:none;stroke-width:2;stroke-linejoin:round}
.updc-x{flex:none;width:28px;height:28px;font-size:12px}
.updc ul{margin:0;padding:0 14px 12px 58px;list-style:none;display:grid;gap:6px}
.updc li{font-size:13px;color:var(--t2);position:relative;line-height:1.4}
.updc li::before{content:'';position:absolute;left:-14px;top:7px;width:6px;height:6px;border-radius:50%;background:var(--acc)}
.updc-f{border-top:1px solid var(--line);background:var(--s2);padding:10px 14px;display:flex;justify-content:flex-end}
@media (max-width:640px){.updc{left:12px;right:12px;width:auto;bottom:calc(12px + env(safe-area-inset-bottom))}}
/* touch screens: text fields at 16px, or iPhone Safari zooms the whole page in on tap and it spills off both sides (12-01) */
@media (pointer:coarse){input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select{font-size:16px!important}}
/* phones: the page never scrolls sideways; rows meant to scroll sideways have their own overflow-x:auto (12-01) */
@media (max-width:720px){html,body{overflow-x:clip}.scroll,.iscroll{overflow-x:hidden}}
