/* Visual source: Rubi's reference screens (Tadda v8). Lavender aura ground, white cards with a soft violet shadow,
   violet gradient pill CTA, photo thumbnails, brand-colored channel icons. One family (Heebo), heavy headings. */
:root{
  --ground:#F3EFFB; --screen:#FBFAFE; --surface:#FFFFFF; --ink:#221A3B; --muted:#6B6385; --line:#ECE7F5; --field:#F5F2FB;
  --accent:#6A3FE0; --accent-2:#8E63FF; --accent-soft:#EFE9FD; --accent-ink:#4B2AB8; --on-accent:#FFFFFF;
  --gold:#E8A93A; --ok:#1FA463; --ok-soft:#E3F5EB; --warn:#9A5B00; --warn-soft:#FBF0DC;
  --aura1:#DCCBFF; --aura2:#FCE7C2; --aura3:#E9DDFC;
  --cta:linear-gradient(100deg,#5530D2 0%,#6A3FE0 45%,#9670FF 100%);
  --shadow:0 10px 32px -14px rgba(84,52,190,.28),0 2px 6px -2px rgba(84,52,190,.08);
  --shadow-cta:0 14px 28px -12px rgba(106,63,224,.65);
  --frame:#E7E1F3; --bar:#221A3B; --on-bar:#F3EFFA;
  --f:"Heebo",system-ui,-apple-system,"Segoe UI",sans-serif;
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
  --ground:#0F0B18; --screen:#15101F; --surface:#1D1730; --ink:#F3EFFA; --muted:#A99FC0; --line:#2C2442; --field:#231C38;
  --accent:#A98BFF; --accent-2:#C2ADFF; --accent-soft:#2B2250; --accent-ink:#D2C4FF; --on-accent:#120E1A;
  --gold:#F2C35A; --ok:#3CC985; --ok-soft:#173326; --warn:#E3A53C; --warn-soft:#3A2D14;
  --aura1:#3A2A6E; --aura2:#3D2E1A; --aura3:#2A2150;
  --cta:linear-gradient(100deg,#6A47E8 0%,#8463F5 50%,#A88CFF 100%);
  --shadow:0 10px 32px -14px rgba(0,0,0,.6); --shadow-cta:0 14px 28px -12px rgba(150,112,255,.5);
  --frame:#2C2442; --bar:#08060D; --on-bar:#F3EFFA; color-scheme:dark }}
:root[data-theme="dark"]{
  --ground:#0F0B18; --screen:#15101F; --surface:#1D1730; --ink:#F3EFFA; --muted:#A99FC0; --line:#2C2442; --field:#231C38;
  --accent:#A98BFF; --accent-2:#C2ADFF; --accent-soft:#2B2250; --accent-ink:#D2C4FF; --on-accent:#120E1A;
  --gold:#F2C35A; --ok:#3CC985; --ok-soft:#173326; --warn:#E3A53C; --warn-soft:#3A2D14;
  --aura1:#3A2A6E; --aura2:#3D2E1A; --aura3:#2A2150;
  --cta:linear-gradient(100deg,#6A47E8 0%,#8463F5 50%,#A88CFF 100%);
  --shadow:0 10px 32px -14px rgba(0,0,0,.6); --shadow-cta:0 14px 28px -12px rgba(150,112,255,.5);
  --frame:#2C2442; --bar:#08060D; --on-bar:#F3EFFA; color-scheme:dark }

*{box-sizing:border-box}
body{background:var(--ground);color:var(--ink);font-family:var(--f);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
:focus-visible{outline:2.5px solid var(--accent);outline-offset:2px}
svg.i{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
svg.br{width:22px;height:22px;flex:none}
.ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}

/* ---------- test bar (not part of the owner's app) ---------- */
.testbar{background:var(--bar);color:var(--on-bar);padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.testbar .in{max-width:1180px;margin:0 auto;padding-block:10px;display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center}
.tb-tag{font-size:12.5px;font-weight:700;background:var(--gold);color:#221A3B;border-radius:999px;padding:4px 10px}
.tb-field{display:flex;align-items:center;gap:8px;font-size:14px}
.tb-field select{background:transparent;border:1px solid rgba(243,239,250,.3);color:var(--on-bar);border-radius:999px;height:40px;padding:0 14px;min-width:210px}
.tb-field select option{color:#221A3B}
.tb-btn{height:40px;border-radius:999px;border:1px solid rgba(243,239,250,.3);background:transparent;color:var(--on-bar);padding:0 14px;display:inline-flex;gap:6px;align-items:center;font-size:14px;font-weight:600}
.tb-switch{display:flex;align-items:center;gap:8px;font-size:14px;margin-inline-start:auto}
.sw{width:46px;height:28px;border-radius:999px;border:0;background:rgba(243,239,250,.22);position:relative;padding:0}
.sw::after{content:"";position:absolute;top:4px;inset-inline-start:4px;width:20px;height:20px;border-radius:50%;background:var(--on-bar);transition:inset-inline-start .2s}
.sw[aria-checked="true"]{background:var(--gold)} .sw[aria-checked="true"]::after{inset-inline-start:22px}

/* ---------- app building blocks ---------- */
.logo{font-weight:900;font-size:27px;letter-spacing:-.04em;direction:ltr;display:flex;align-items:center;justify-content:center;gap:2px;color:var(--ink)}
.logo .w{width:24px;height:24px}
.scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:6px 20px 22px;display:flex;flex-direction:column;gap:18px}
.stepper{display:grid;grid-template-columns:repeat(3,1fr);position:relative;margin:4px 6px 0}
.stepper::before{content:"";position:absolute;top:15px;inset-inline:16.6%;height:2px;background:var(--line)}
.stepper .s{display:grid;justify-items:center;gap:6px;position:relative;font-size:12.5px;font-weight:600;color:var(--muted);text-align:center}
.stepper .c{width:32px;height:32px;border-radius:50%;background:var(--surface);border:1.5px solid var(--line);display:grid;place-items:center;font-weight:700;font-size:14px}
.stepper .s.done .c,.stepper .s.cur .c{background:var(--cta);border:0;color:#fff;box-shadow:0 6px 14px -6px rgba(106,63,224,.7)}
.stepper .s.cur{color:var(--accent-ink)} .stepper .s.done{color:var(--ink)}
.stepper .c svg{width:16px;height:16px;stroke-width:3}
.stepper .bar{position:absolute;top:15px;inset-inline-start:16.6%;height:2px;background:var(--accent)}
.title{text-align:center;display:grid;gap:6px;margin-top:6px}
.title h1{margin:0;font-size:31px;line-height:1.1;font-weight:900;letter-spacing:-.025em;text-wrap:balance;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.title h1 .sp{width:30px;height:30px}
.title p{margin:0;color:var(--muted);font-size:16.5px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}
.btn{height:58px;border-radius:999px;border:0;background:var(--cta);color:#fff;font-weight:700;font-size:18px;width:100%;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:var(--shadow-cta);transition:transform .12s,filter .2s}
.btn:active{transform:scale(.985)}
.btn:disabled{filter:grayscale(.6) opacity(.55);box-shadow:none}
.btn.ghost{background:var(--surface);color:var(--ink);border:1.5px solid var(--line);box-shadow:none}
.btn.sm{height:46px;font-size:15.5px;width:auto;padding:0 20px}
.btn svg{width:22px;height:22px;stroke-width:2.4}
.stick{padding:12px 20px 22px;display:grid;gap:10px}
.fine{margin:0;color:var(--muted);font-size:13.5px;text-align:center}
.thumb{border-radius:16px;object-fit:cover;flex:none;display:block}

/* intro */
.field{padding:14px;display:grid;gap:10px}
.field label{font-size:14px;font-weight:700}
.field .row{display:flex;gap:10px;align-items:flex-start}
.field textarea{flex:1;border:0;background:var(--field);border-radius:16px;resize:none;min-height:110px;outline:none;font-size:16.5px;line-height:1.45;padding:12px 14px}
.field textarea:focus{box-shadow:inset 0 0 0 2px var(--accent)}
.mic{width:48px;height:48px;border-radius:50%;border:0;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;flex:none}
.examples{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.examples button{height:40px;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:0 14px;font-size:14.5px;font-weight:600;display:flex;gap:8px;align-items:center;box-shadow:0 2px 8px -4px rgba(84,52,190,.2)}
.examples svg.br{width:18px;height:18px}

/* scan */
.scanlist{padding:6px 16px}
.scanlist div{display:flex;gap:14px;align-items:center;font-size:16.5px;font-weight:500;color:var(--muted);padding:14px 0;border-bottom:1px solid var(--line)}
.scanlist div:last-child{border-bottom:0}
.scanlist div.done{color:var(--ink)}
.scanlist .ch{width:40px;height:40px;border-radius:12px;background:var(--field);display:grid;place-items:center;flex:none}
.scanlist .st{margin-inline-start:auto;width:24px;height:24px;border-radius:50%;display:grid;place-items:center}
.scanlist .done .st{background:var(--ok);color:#fff}
.scanlist .done .st svg{width:14px;height:14px;stroke-width:3.2}
.scanlist .now .st{border:2.5px solid var(--accent);border-top-color:transparent;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* confirm */
.who{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px}
.who h3{margin:0;font-size:19px;font-weight:800;line-height:1.25}
.who p{margin:3px 0 0;color:var(--muted);font-size:14.5px;line-height:1.35}
.rowl{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border-top:1px solid var(--line)}
.rowl .h{display:flex;gap:8px;align-items:center;font-size:15px;font-weight:700;white-space:nowrap}
.rowl .h svg{width:22px;height:22px;color:var(--ink)}
.rowl .v{font-size:15.5px;min-width:0}
[contenteditable="true"]{outline:1.5px dashed var(--accent);border-radius:8px;padding:2px 6px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.fixed{display:flex;gap:8px;align-items:flex-start;padding:12px 14px;border-top:1px solid var(--line);color:var(--ok);font-size:14.5px;font-weight:600}
.fixed svg{width:18px;height:18px;stroke-width:2.8;flex:none;margin-top:2px}
.fixed span{color:var(--ink);font-weight:500}
.card.glow{animation:glow 1.4s ease-out}
@keyframes glow{0%{box-shadow:0 0 0 0 rgba(31,164,99,.5),var(--shadow)}100%{box-shadow:0 0 0 18px rgba(31,164,99,0),var(--shadow)}}
.fixbox{animation:rise .45s cubic-bezier(.2,.8,.2,1) both}
.scroll,.msgs{min-height:0}
.rowl.wrap .v{grid-column:1/3;grid-row:2}
.rowl.wrap .edit{grid-row:1;grid-column:3}
.scroll,.msgs,.sheet{scrollbar-width:none}
.scroll::-webkit-scrollbar,.msgs::-webkit-scrollbar,.sheet::-webkit-scrollbar{display:none}
.chip{background:var(--accent-soft);color:var(--accent-ink);border-radius:999px;padding:4px 12px;font-size:14px;font-weight:600}
.edit{width:40px;height:40px;border-radius:12px;border:0;background:var(--accent-soft);display:grid;place-items:center;color:var(--accent-ink)}
.edit svg{width:18px;height:18px}
.found{background:var(--accent-soft);border-radius:20px;padding:14px 16px;display:grid;gap:12px}
.found .t{font-size:14.5px;font-weight:700;display:flex;gap:6px;align-items:center}
.found .t svg{width:18px;height:18px}
.found .t small{font-weight:500;color:var(--muted);font-size:13px;margin-inline-start:auto}
.found .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.fitem{display:grid;justify-items:center;gap:6px;font-size:13.5px;font-weight:600;text-align:center}
.fitem .lab{display:flex;gap:4px;align-items:center}
.okb{width:16px;height:16px;border-radius:50%;background:var(--ok);color:#fff;display:grid;place-items:center}
.okb svg{width:10px;height:10px;stroke-width:3.4}

/* app shell */
.ahead{padding:0 16px 10px;display:grid;gap:12px}
.ahead .top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.bizbtn{justify-self:start;width:44px;height:44px;border-radius:50%;border:2px solid var(--surface);padding:0;overflow:hidden;box-shadow:0 4px 12px -4px rgba(84,52,190,.4);background:var(--accent-soft)}
.mark{position:relative;display:grid;place-items:center;width:100%;height:100%;overflow:hidden}
.mark .ini{font-weight:800;color:var(--accent)}
.mark img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;padding:3px;box-sizing:border-box}
.bizbtn{background:#fff}
.credits{justify-self:end;font-size:13px;font-weight:700;color:var(--accent-ink);background:var(--accent-soft);border-radius:999px;padding:5px 10px;display:flex;gap:5px;align-items:center}
.credits svg{width:15px;height:15px}
.tabs{display:flex;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:4px;box-shadow:0 4px 14px -8px rgba(84,52,190,.3)}
.tab{flex:1;height:42px;border:0;background:transparent;border-radius:999px;font-size:15px;font-weight:700;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:6px;transition:background .2s,color .2s}
.tab svg{width:18px;height:18px}
.tab[aria-selected="true"]{background:var(--cta);color:#fff;box-shadow:0 6px 14px -8px rgba(106,63,224,.8)}
.tab .adm{font-size:10px;font-weight:800;background:var(--gold);color:#221A3B;border-radius:5px;padding:0 4px}

/* chat */
.msgs{flex:1;overflow-y:auto;padding:8px 16px 14px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}
.m{max-width:86%;font-size:16px;line-height:1.45}
.m.bot{align-self:flex-start}
.m.me{align-self:flex-end;background:var(--cta);color:#fff;padding:10px 16px;border-radius:22px 22px 6px 22px;box-shadow:0 8px 18px -10px rgba(106,63,224,.7)}
.m.bot .b{background:var(--surface);border:1px solid var(--line);padding:11px 16px;border-radius:22px 22px 22px 6px;box-shadow:0 4px 14px -8px rgba(84,52,190,.25)}
.m.wide{max-width:100%;width:100%}
.goals{display:grid;gap:10px}
.goal{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;text-align:start;border:1.5px solid var(--line);background:var(--surface);border-radius:22px;padding:10px;width:100%;box-shadow:var(--shadow);transition:border-color .2s}
.goal .rad{width:26px;height:26px;border-radius:50%;border:2px solid #CFC6E2;display:grid;place-items:center;margin-inline-start:4px}
.goal.top{border:2px solid var(--accent);background:linear-gradient(0deg,var(--accent-soft),var(--surface) 70%)}
.goal.top .rad{background:var(--accent);border-color:var(--accent);color:#fff}
.goal .rad svg{width:14px;height:14px;stroke-width:3.2}
.goal b{display:block;font-size:17px;font-weight:800;line-height:1.25}
.goal small{display:block;color:var(--muted);font-size:14px;line-height:1.35;margin-top:2px}
.goal .rec{display:inline-flex;gap:4px;align-items:center;margin-top:6px;font-size:12.5px;font-weight:700;color:var(--accent-ink);background:var(--accent-soft);border-radius:999px;padding:3px 10px}
.goal .rec svg{width:13px;height:13px;color:var(--gold)}
.goal img{width:96px;height:74px}
.task{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:16px;display:grid;gap:12px;box-shadow:var(--shadow)}
.task .tt{font-size:15px;font-weight:800;display:flex;gap:6px;align-items:center}
.task .tt svg{width:18px;height:18px;color:var(--accent)}
.task ol{margin:0;padding:0;list-style:none;display:grid;gap:10px;counter-reset:s}
.task ol li{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;font-size:15.5px;counter-increment:s}
.task ol li::before{content:counter(s);width:26px;height:26px;border-radius:50%;background:var(--accent-soft);color:var(--accent-ink);display:grid;place-items:center;font-weight:800;font-size:13px}
.task .cost{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:14px;color:var(--muted);background:var(--field);border-radius:14px;padding:10px 12px}
.task .cost b{color:var(--ink)}
.task .acts{display:flex;gap:8px;flex-wrap:wrap}
.task.ok{border-color:var(--ok)}
.state{font-size:14px;font-weight:700;color:var(--ok);display:flex;gap:6px;align-items:center}
.state svg{width:17px;height:17px;stroke-width:2.8}
.prog{display:grid;gap:10px}
.prog div{display:flex;gap:10px;align-items:center;font-size:15.5px;color:var(--muted)}
.prog div.done{color:var(--ink)}
.prog .d{width:24px;height:24px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;flex:none}
.prog .done .d{background:var(--ok);border-color:var(--ok);color:#fff}
.prog .done .d svg{width:13px;height:13px;stroke-width:3.2}
.prog .now .d{border-color:var(--accent);border-top-color:transparent;animation:spin .8s linear infinite}
.conn{border-radius:22px;padding:16px;display:grid;gap:12px;background:var(--surface);border:1.5px dashed var(--accent);box-shadow:var(--shadow)}
.conn .hd{display:flex;gap:10px;align-items:center;font-weight:800;font-size:16px}
.conn .hd .ic{width:42px;height:42px;border-radius:12px;background:var(--field);display:grid;place-items:center}
.pick{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.pick button{height:42px;border-radius:999px;border:1.5px solid var(--accent);background:var(--surface);color:var(--accent-ink);padding:0 16px;font-size:15px;font-weight:700}
.pick button:disabled{opacity:.45}
.typing{display:flex;gap:5px;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:22px;width:fit-content}
.typing i{width:8px;height:8px;border-radius:50%;background:var(--accent);animation:blink 1s infinite}
.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}
@keyframes blink{50%{opacity:.25}}
.composer{padding:8px 14px 18px;display:grid;gap:8px}
.quick{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.quick::-webkit-scrollbar{display:none}
.quick button{flex:none;height:40px;border-radius:999px;border:1px solid var(--line);background:var(--surface);padding:0 6px 0 14px;font-size:14px;font-weight:700;display:flex;gap:8px;align-items:center;box-shadow:0 2px 8px -4px rgba(84,52,190,.25)}
.quick img{width:30px;height:30px;border-radius:50%}
.cbox{display:flex;gap:6px;align-items:flex-end;background:var(--surface);border:1.5px solid var(--line);border-radius:28px;padding:5px;box-shadow:var(--shadow)}
.cbox:focus-within{border-color:var(--accent)}
.cbox{transition:border-radius .15s}
.cbox.tall{border-radius:22px}
.cbox textarea{flex:1;border:0;background:transparent;resize:none;outline:none;padding:12px 12px;height:46px;min-height:46px;max-height:calc(7 * 22px + 24px);font-size:16px;line-height:22px;overflow-y:hidden;overflow-wrap:anywhere;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
@media (max-width:600px){.cbox textarea{max-height:calc(5 * 22px + 24px)}}
.send{width:46px;height:46px;border-radius:50%;border:0;background:var(--cta);color:#fff;display:grid;place-items:center;flex:none;box-shadow:0 8px 16px -8px rgba(106,63,224,.8)}
.send svg{transform:scaleX(-1);width:20px;height:20px}
.cbox .mic{width:46px;height:46px;background:transparent;color:var(--muted)}

/* studio / results / dna */
.head2{display:grid;gap:4px}
.head2 h2{margin:0;font-size:26px;font-weight:900;letter-spacing:-.02em}
.head2 p{margin:0;color:var(--muted)}
.filters{display:flex;gap:8px;flex-wrap:wrap}
.filters button{height:38px;border-radius:999px;border:1px solid var(--line);background:var(--surface);padding:0 14px;font-size:14px;font-weight:700}
.filters button[aria-pressed="true"]{background:var(--ink);color:var(--surface);border-color:var(--ink)}
.item{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;padding:10px}
.item img{width:84px;height:68px}
.item b{display:block;font-size:16px;font-weight:800;line-height:1.3}
.item .row2{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:6px}
.item .acts{grid-column:1/-1;display:flex;gap:8px}
.stt{font-size:12.5px;font-weight:700;border-radius:999px;padding:3px 10px}
.stt.live{color:var(--ok);background:var(--ok-soft)} .stt.approve{color:var(--accent-ink);background:var(--accent-soft)}
.stt.draft,.stt.wait{color:var(--muted);background:var(--field)} .stt.ready{color:var(--warn);background:var(--warn-soft)}
.new{font-size:11.5px;font-weight:800;color:#221A3B;background:var(--gold);border-radius:6px;padding:1px 6px}
.meta{font-size:13px;color:var(--muted)}
.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.kpi{padding:12px 10px;display:grid;gap:2px}
.kpi b{font-size:28px;font-weight:900;font-variant-numeric:tabular-nums;line-height:1;color:var(--accent-ink)}
.kpi span{font-size:13px;color:var(--muted);line-height:1.3}
.kpi em{font-style:normal;font-size:12.5px;font-weight:700;color:var(--ok)}
.sub{margin:0;font-size:17px;font-weight:800}
.leads{padding:4px 14px}
.lead{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 12px;border-bottom:1px solid var(--line);padding-block:12px}
.lead:last-child{border-bottom:0}
.lead .src{width:42px;height:42px;border-radius:12px;background:var(--field);display:grid;place-items:center;grid-row:span 3}
.lead b{font-size:15.5px}
.lead small{color:var(--muted);font-size:13.5px}
.lead .acts{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap}
.lead .acts button{height:36px;border-radius:999px;border:1px solid var(--line);background:var(--surface);padding:0 12px;font-size:13.5px;font-weight:700}
.lead .acts button[aria-pressed="true"]{background:var(--ok-soft);color:var(--ok);border-color:var(--ok)}
.bars{display:grid;gap:10px;padding:14px}
.bar{display:grid;grid-template-columns:80px minmax(0,1fr) 26px;gap:10px;align-items:center;font-size:14.5px;font-weight:600}
.bar .tr{height:12px;border-radius:999px;background:var(--field);overflow:hidden}
.bar i{display:block;height:100%;border-radius:999px;background:var(--cta)}
.bar span:last-child{font-variant-numeric:tabular-nums;font-weight:800;text-align:end}
.hint{display:flex;gap:10px;align-items:center;background:var(--accent-soft);border-radius:18px;padding:12px 14px;font-size:14.5px}
.hint .btn{flex:none}
.facts{overflow:hidden}
.facts details{border-top:1px solid var(--line)} .facts details:first-child{border-top:0}
.facts summary{list-style:none;padding:14px 16px;font-weight:800;font-size:16px;display:flex;justify-content:space-between;align-items:center;min-height:48px;cursor:pointer}
.facts summary::-webkit-details-marker{display:none}
.facts summary span{font-weight:500;font-size:13px;color:var(--muted)}
.fact{padding:10px 16px;border-top:1px dashed var(--line);display:grid;gap:4px}
.fact .q{font-size:13px;color:var(--muted)} .fact .a{font-size:15.5px}
.tag{justify-self:start;font-size:12px;font-weight:700;border-radius:6px;padding:1px 7px;background:var(--field);color:var(--muted)}
.tag.ok{background:var(--ok-soft);color:var(--ok)} .tag.guess{background:var(--warn-soft);color:var(--warn)} .tag.unk{background:var(--accent-soft);color:var(--accent-ink)}

.tags{display:flex;gap:6px;flex-wrap:wrap}
.dsum{padding:14px 16px;display:grid;gap:10px}
.dbar{display:flex;height:10px;border-radius:999px;overflow:hidden;gap:2px}
.dbar i,.dleg i{display:block;background:var(--field)}
.dbar i.ok,.dleg i.ok{background:var(--ok)} .dbar i.seen,.dleg i.seen{background:var(--accent)} .dbar i.guess,.dleg i.guess{background:var(--gold)} .dbar i.unk,.dleg i.unk{background:#CFC6E2}
.dleg{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;font-weight:600}
.dleg span{display:flex;gap:6px;align-items:center}
.dleg i{width:10px;height:10px;border-radius:3px}
.dleg .muted{color:var(--muted);font-weight:500}
.persona{margin:8px 14px;padding:12px;border-radius:16px;background:var(--field);display:grid;gap:8px}
.persona b{font-size:15.5px}
.persona dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:4px 10px;font-size:14px}
.persona dt{color:var(--muted);font-weight:600}
.persona dd{margin:0}
/* sheet */
.sheet-bg{position:absolute;inset:0;background:rgba(20,14,36,.45);z-index:20;display:flex;align-items:flex-end}
.sheet{background:var(--screen);width:100%;max-height:90%;overflow-y:auto;border-radius:30px 30px 0 0;padding:10px 18px 24px;display:grid;gap:14px;animation:up .25s ease-out}
@keyframes up{from{transform:translateY(30px);opacity:.6}}
.grab{width:42px;height:5px;border-radius:9px;background:var(--line);justify-self:center}
.sheet .hd{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}
.sheet .hd img{width:52px;height:52px;border-radius:50%}
.sheet h3{margin:0;font-size:20px;font-weight:800}
.sheet .hd small{color:var(--muted);font-size:14px}
.x{width:44px;height:44px;border-radius:50%;border:0;background:var(--field);display:grid;place-items:center}
.credit{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;font-size:15.5px;font-weight:600}
.credit b{font-variant-numeric:tabular-nums;color:var(--accent-ink)}
.cons{padding:4px 14px}
.conrow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding-block:12px;border-bottom:1px solid var(--line)}
.conrow:last-child{border-bottom:0}
.conrow .ic{width:44px;height:44px;border-radius:14px;background:var(--field);display:grid;place-items:center}
.conrow b{font-size:15.5px;display:block}
.conrow small{font-size:13px;color:var(--muted);display:block;line-height:1.3}
.conrow button{height:38px;border-radius:999px;border:1.5px solid var(--accent);background:var(--surface);color:var(--accent-ink);padding:0 14px;font-size:14px;font-weight:700}
.conrow .on{font-size:13.5px;font-weight:700;color:var(--ok);display:flex;gap:5px;align-items:center}
.conrow .on .okb{width:18px;height:18px}
.subh{font-size:14px;font-weight:800;margin:2px 4px 0}

/* ---------- motion: the wand and the magic dust, always on ---------- */
.wandbox{position:relative;display:inline-grid;place-items:center}
.dust{position:absolute;left:15px;top:2px;width:7px;height:7px;pointer-events:none;opacity:0;
  clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);animation:emit 3.15s ease-out infinite}
.dust.g{background:#F2C35A}.dust.v{background:#9670FF}.dust.w{background:#FFFFFF;box-shadow:0 0 6px #fff}
@keyframes emit{0%{transform:translate(0,0) scale(.2) rotate(0);opacity:0}12%{opacity:1}100%{transform:translate(var(--dx),var(--dy)) scale(1.15) rotate(140deg);opacity:0}}
.magicdust{position:absolute;inset:11px;border-radius:42px;overflow:hidden;pointer-events:none;z-index:2}
.magicdust i{position:absolute;bottom:-12px;width:var(--s);height:var(--s);opacity:0;
  clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);animation:floatup var(--t) linear infinite}
@keyframes floatup{0%{transform:translateY(0) rotate(0);opacity:0}10%{opacity:var(--o)}50%{opacity:calc(var(--o)*.4)}65%{opacity:var(--o)}100%{transform:translateY(-760px) rotate(220deg);opacity:0}}
.device{position:relative}
@media (max-width:460px){.magicdust{inset:6px;border-radius:28px}}
/* ---------- motion: one magic moment per screen ---------- */
@property --ang{syntax:'<angle>';initial-value:0deg;inherits:false}
.screen::before{inset:-12%;animation:drift 16s ease-in-out infinite}
@keyframes drift{50%{transform:translate3d(-5%,4%,0) scale(1.1)}}
.logo .w path:not(:first-child),.title .sp path{transform-box:fill-box;transform-origin:center;animation:twinkle 2.6s ease-in-out infinite}
.logo .w path:nth-child(3),.title .sp path:nth-child(3){animation-delay:.9s}
.logo .w path:nth-child(4){animation-delay:1.7s}
@keyframes twinkle{0%,100%{transform:scale(.55);opacity:.55}50%{transform:scale(1.15);opacity:1}}
.magic{position:relative;border-color:transparent}
.magic::before{content:"";position:absolute;inset:-1.5px;border-radius:25px;padding:2px;pointer-events:none;
  background:conic-gradient(from var(--ang),#6A3FE0,#E8A93A,#9670FF,#F2C35A,#6A3FE0);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:spinang 5s linear infinite}
@keyframes spinang{to{--ang:360deg}}
.field .mic{animation:ping 2.6s ease-out infinite}
@keyframes ping{0%{box-shadow:0 0 0 0 rgba(106,63,224,.35)}70%,100%{box-shadow:0 0 0 14px rgba(106,63,224,0)}}
.orb{position:relative;width:180px;height:180px;margin:0 auto -6px;flex:none}
.orb .core{position:absolute;inset:52px;border-radius:50%;background:var(--cta);display:grid;place-items:center;box-shadow:0 0 44px 10px rgba(150,112,255,.5);animation:breathe 2.4s ease-in-out infinite}
.orb .core .sp{width:40px;height:40px}
.orb .ring{position:absolute;inset:10px;border-radius:50%;border:1.5px dashed rgba(106,63,224,.35);animation:rot 14s linear infinite}
.orb .sat{position:absolute;top:50%;left:50%;width:46px;height:46px;margin:-23px;border-radius:15px;background:var(--surface);box-shadow:var(--shadow);display:grid;place-items:center;animation:orbit 7s linear infinite}
.orb .s2{animation-delay:-2.33s}.orb .s3{animation-delay:-4.66s}
@keyframes orbit{from{transform:rotate(0deg) translateX(76px) rotate(0deg)}to{transform:rotate(360deg) translateX(76px) rotate(-360deg)}}
@keyframes breathe{50%{transform:scale(1.1);filter:brightness(1.18)}}
@keyframes rot{to{transform:rotate(360deg)}}
.scanlist .done .st{animation:pop .4s cubic-bezier(.2,1.6,.4,1) both}
@keyframes rise{from{opacity:0;transform:translateY(16px)}}
@keyframes pop{0%{opacity:0;transform:scale(.5)}70%{transform:scale(1.1)}100%{opacity:1;transform:scale(1)}}
.enter .stepper{animation:rise .5s .05s both}
.enter .title{animation:rise .55s .1s cubic-bezier(.2,.8,.2,1) both}
.enter .card,.enter .head2,.enter .filters{animation:rise .6s .2s cubic-bezier(.2,.8,.2,1) both}
.enter .rowl{animation:rise .5s cubic-bezier(.2,.8,.2,1) both}
.enter .rowl:nth-child(2){animation-delay:.35s}.enter .rowl:nth-child(3){animation-delay:.45s}.enter .rowl:nth-child(4){animation-delay:.55s}
.enter .chip{animation:pop .45s cubic-bezier(.2,1.5,.4,1) both}
.enter .chip:nth-child(1){animation-delay:.55s}.enter .chip:nth-child(2){animation-delay:.62s}.enter .chip:nth-child(3){animation-delay:.69s}.enter .chip:nth-child(4){animation-delay:.76s}
.enter .found{animation:rise .55s .7s both}
.enter .fitem{animation:pop .5s cubic-bezier(.2,1.5,.4,1) both}
.enter .fitem:nth-child(1){animation-delay:.85s}.enter .fitem:nth-child(2){animation-delay:.97s}.enter .fitem:nth-child(3){animation-delay:1.09s}.enter .fitem:nth-child(4){animation-delay:1.21s}
.enter .stick{animation:rise .5s .35s both}
.enter .kpi:nth-child(1){animation:pop .5s .2s both}.enter .kpi:nth-child(2){animation:pop .5s .3s both}.enter .kpi:nth-child(3){animation:pop .5s .4s both}
.enter .bar i{animation:grow 1s .45s cubic-bezier(.2,.8,.2,1) both}
@keyframes grow{from{width:0}}
.m.anim{animation:rise .45s cubic-bezier(.2,.8,.2,1) both}
.m.anim .goal{animation:rise .55s cubic-bezier(.2,.8,.2,1) both}
.m.anim .goal:nth-child(1){animation-delay:.15s}.m.anim .goal:nth-child(2){animation-delay:.27s}.m.anim .goal:nth-child(3){animation-delay:.39s}
.goal{position:relative;overflow:hidden}
.goal.top::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.6) 50%,transparent 62%);background-size:260% 100%;animation:sheen 3.4s ease-in-out infinite}
@keyframes sheen{0%{background-position:140% 0}55%,100%{background-position:-40% 0}}
.prog .done .d{animation:pop .4s cubic-bezier(.2,1.6,.4,1) both}
.spk{position:absolute;pointer-events:none;z-index:40;width:var(--s);height:var(--s);left:var(--x);top:var(--y);animation:fly .95s cubic-bezier(.15,.8,.3,1) forwards}
.spk svg{width:100%;height:100%;display:block}
@keyframes fly{0%{transform:translate(-50%,-50%) scale(.3) rotate(0);opacity:1}100%{transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(1) rotate(180deg);opacity:0}}
.bigstar{position:absolute;left:50%;top:44%;width:130px;height:130px;margin:-65px;z-index:41;pointer-events:none;filter:drop-shadow(0 16px 24px rgba(106,63,224,.5));animation:starpop .75s cubic-bezier(.2,1.5,.4,1) both,fadeout .35s .7s forwards}
.bigstar svg{width:100%;height:100%}
@keyframes starpop{from{transform:scale(.2) rotate(-120deg);opacity:0}}
@keyframes fadeout{to{opacity:0;transform:scale(1.35)}}

/* UI/UX review fixes: 44px touch targets, four tabs fit a phone, headline keeps its sparkle */
.tab{height:46px}.quick button{height:44px}.filters button{height:44px}.lead .acts button{height:44px}
.conrow button{height:44px}.edit{width:44px;height:44px}.pick button{height:44px}
.tabs.four .tab svg{display:none}.tabs.four .tab{font-size:14px;gap:4px;min-width:0}
.title h1{font-size:28px}.title h1 .sp{width:24px;height:24px}.title p{text-wrap:balance}
/* intro: the main block sits in the middle of the free height, the field is the hero */
.scroll.intro .center{margin-block:auto;display:grid;gap:20px;padding-bottom:24px}
.scroll.intro textarea{min-height:150px;font-size:17px}
/* intro hero: the wand is the one bold thing on the first screen */
.hero{position:relative;width:150px;height:150px;margin:0 auto;display:grid;place-items:center;flex:none}
.hero::before{content:"";position:absolute;inset:-26px;border-radius:50%;background:radial-gradient(circle,rgba(150,112,255,.38),transparent 66%);animation:breathe 3.2s ease-in-out infinite}
.hero .glass{position:relative;width:122px;height:122px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(145deg,var(--surface),var(--accent-soft));box-shadow:var(--shadow),inset 0 0 0 1.5px var(--line);animation:floaty 4.2s ease-in-out infinite}
.hero .wandbox .w{width:66px;height:66px}
.hero .dust{left:44px;top:8px;width:12px;height:12px}
@keyframes floaty{50%{transform:translateY(-7px) rotate(-4deg)}}
.scroll.intro .center{gap:18px}
@media (max-width: 900px){ .layout{grid-template-columns:minmax(0,1fr)} .device{justify-self:center} .notes{position:static} }
@media (max-width: 460px){
  .device{width:100%;height:800px;padding:6px;border-radius:34px} .screen{border-radius:28px}
  .tb-field{flex:1 1 100%} .tb-field select{min-width:0;width:100%}
  .goal img{width:78px;height:64px}
}
@media (prefers-reduced-motion: reduce){ *{animation:none!important;transition:none!important} }

/* ---------- production shell: one app column, full screen on a phone, a floating card on a computer ---------- */
html,body{height:100%}
body{background:var(--ground);display:flex;flex-direction:column}
.shell{flex:1;min-height:0;display:flex;justify-content:center;padding:16px max(16px,env(safe-area-inset-right,0px)) 16px max(16px,env(safe-area-inset-left,0px));
  background:radial-gradient(60% 50% at 80% 0%,var(--aura1),transparent 70%),radial-gradient(50% 40% at 0% 100%,var(--aura3),transparent 70%)}
.screen.app{width:min(100%,460px);height:100%;border-radius:32px;box-shadow:0 40px 80px -40px rgba(60,35,140,.55),0 0 0 1px var(--line);padding-top:10px}
#view{display:contents}
.magicdust{inset:0;border-radius:inherit}
@media (max-width:560px){ .shell{padding:0} .screen.app{width:100%;border-radius:0;box-shadow:none;padding-top:max(10px,env(safe-area-inset-top,0px))} }
.deep{display:flex;gap:8px;align-items:center;justify-content:center;font-size:13.5px;font-weight:600;color:var(--accent-ink);background:var(--accent-soft);border-radius:999px;padding:6px 12px;margin:0 16px 4px;align-self:center}
.deep .d{width:14px;height:14px;border-radius:50%;border:2px solid var(--accent);border-top-color:transparent;animation:spin .8s linear infinite}
.code-in{width:100%;height:56px;border-radius:16px;border:0;background:var(--field);font-size:18px;padding:0 16px;letter-spacing:.1em;text-align:center}
.code-in:focus{outline:2px solid var(--accent)}
.gsign{display:flex;justify-content:center;min-height:44px;margin:4px 0 14px}
.err{color:#C8412F;font-size:14px;text-align:center;margin:0}
.th-ic{width:68px;height:60px;border-radius:16px;display:grid;place-items:center;flex:none;background:var(--accent-soft);color:var(--accent)}
.th-ic svg{width:28px;height:28px}
.goal .gt{width:84px;height:68px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent-soft),var(--surface));box-shadow:inset 0 0 0 1px var(--line)}
.goal .gt svg{width:34px;height:34px}
.goal .gt svg.i{color:var(--accent)}
.quick .qi{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft)}
.quick .qi svg{width:17px;height:17px}
.pv{position:absolute;inset:0;z-index:30;background:var(--screen);display:flex;flex-direction:column}
.pv .bar{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--line)}
.pv .stage{flex:1;min-height:0;display:flex;justify-content:center;overflow:hidden;background:var(--line)}
.pv iframe{border:0;width:100%;height:100%;background:#fff}
.pv.phone iframe{width:390px;max-width:100%;box-shadow:0 0 0 1px var(--line)}
.pv.desk .stage{direction:ltr;justify-content:flex-start}
.pv.desk iframe{width:1280px;flex:none;transform-origin:0 0}
.pvdev{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden}
.pvdev button{border:0;background:none;padding:6px 12px;font:inherit;color:inherit;cursor:pointer}
.pvdev button[aria-pressed="true"]{background:var(--ink);color:var(--screen)}
.pvshare{display:inline-flex;gap:8px;align-items:center;min-width:0}
.pvshare a{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.empty{text-align:center;color:var(--muted);padding:24px 12px;display:grid;gap:8px;justify-items:center}
.empty svg{width:34px;height:34px;color:var(--accent)}
.avatar-ini{width:72px;height:72px;border-radius:20px;background:var(--cta);color:#fff;display:grid;place-items:center;font-weight:900;font-size:30px;flex:none}
.avatar-ini.mark{overflow:hidden}.avatar-ini.mark .ini{color:#fff}
.sheet .hd .avatar-ini{width:52px;height:52px;border-radius:50%;font-size:22px}
.fitem .meta{font-size:12px}
/* the app column itself (the prototype kept these with its phone frame) */
body{margin:0}
.screen{background:var(--screen);overflow:hidden;overflow:clip;position:relative;display:flex;flex-direction:column;isolation:isolate}
.screen::before{content:"";position:absolute;z-index:-1;pointer-events:none;
  background:radial-gradient(70% 28% at 50% 0%,var(--aura3),transparent 75%),radial-gradient(60% 22% at 100% 100%,var(--aura1),transparent 75%),radial-gradient(45% 18% at 0% 92%,var(--aura2),transparent 75%)}
/* the test bar stays one short row on a phone */
@media (max-width:560px){
  .testbar .in{padding-block:6px;gap:6px;flex-wrap:nowrap}
  .tb-tag{display:none}
  .tb-field{flex:1;min-width:0;font-size:13px}
  .tb-field select{min-width:0;width:100%;height:36px;font-size:13.5px}
  .tb-btn{height:36px;padding:0 10px;font-size:13px;white-space:nowrap}
  .tb-switch{margin:0;font-size:12.5px;gap:4px}
  .tb-switch span{white-space:nowrap}
  .sw{width:40px;height:24px}.sw::after{width:16px;height:16px}.sw[aria-checked="true"]::after{inset-inline-start:20px}
}
/* long tabs scroll: children keep their height instead of shrinking into the scroll box */
.scroll>*,.msgs>*{flex-shrink:0}
/* DNA: every part is its own card that opens and closes */
.facts{display:grid;gap:10px;align-items:start}
.dsec{overflow:hidden}
.dsec summary{list-style:none;padding:14px 16px;min-height:52px;display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;cursor:pointer}
.dsec summary::-webkit-details-marker{display:none}
.dsec summary b{font-size:16px;font-weight:800}
.dsec summary span{font-size:13px;color:var(--muted);font-weight:500}
.dsec .chev{width:20px;height:20px;color:var(--accent);transition:transform .2s}
.dsec[open] .chev{transform:rotate(180deg)}
.dsec[open] summary{border-bottom:1px solid var(--line)}
.dsec .dbody>.fact:first-child{border-top:0}
.dsec summary:focus-visible{outline:2.5px solid var(--accent);outline-offset:-3px;border-radius:24px}

/* ---------- desktop: a wide app, not a phone column ---------- */
@media (min-width:900px){
  .shell{padding:20px 28px}
  .screen.app{width:min(100%,1180px);border-radius:28px}
  .ahead{padding:6px 28px 14px;grid-template-columns:1fr auto 1fr;grid-template-areas:"biz tabs logo";align-items:center;display:grid}
  .ahead .top{display:contents}
  .ahead .top .logo{grid-area:logo;justify-self:end}
  .ahead .top .bizbtn{grid-area:biz;justify-self:start;width:48px;height:48px}
  .ahead .top>span:last-child{display:none}
  .ahead .tabs{grid-area:tabs;width:520px;justify-self:center}
  .tabs.four .tab svg{display:inline}
  .scroll{padding-inline:max(28px,calc((100% - 980px)/2));padding-top:14px}
  .scroll.intro,.screen.app>#view>.scroll:has(.stepper),.screen.app>#view>.scroll:has(.orb){padding-inline:max(28px,calc((100% - 560px)/2))}
  .stick{width:min(100%,560px);align-self:center}
  .msgs{padding-inline:max(28px,calc((100% - 760px)/2))}
  .composer{width:min(100%,760px);align-self:center}
  .facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kpis{grid-template-columns:repeat(3,minmax(0,220px))}
  .scroll:has(.item){display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));align-content:start}
  .scroll:has(.item)>.head2,.scroll:has(.item)>.empty{grid-column:1/-1}
  .leads{max-width:760px}
  .title h1{font-size:34px}
  .m{max-width:72%}
}
/* delete a business, with an in-page confirmation */
.tb-btn.danger{border-color:rgba(255,140,128,.55);color:#FFB4AB}
.tb-btn.danger.solid{background:#C8412F;border-color:#C8412F;color:#fff}
.tb-confirm{max-width:1180px;margin:0 auto;padding:8px 0 10px;display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;font-size:14px;font-weight:600;border-top:1px solid rgba(243,239,250,.15)}
.tb-confirm span{flex:1 1 220px}

[hidden]{display:none!important}
/* a video in the studio */
.item.vid{grid-template-columns:minmax(0,1fr)}
.item.vid video{width:100%;max-height:420px;border-radius:16px;background:#000}
.item.vid .th-ic{width:100%;height:120px}

/* the brand kit in the DNA: logo and palette, always open */
.brandkit{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center;padding:4px 0 12px;border-bottom:1px solid var(--line);margin-bottom:6px}
.bk-logo{width:112px;height:112px;border-radius:18px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;overflow:hidden;
  background-image:linear-gradient(45deg,#f1eef9 25%,transparent 25%,transparent 75%,#f1eef9 75%),linear-gradient(45deg,#f1eef9 25%,transparent 25%,transparent 75%,#f1eef9 75%);background-size:16px 16px;background-position:0 0,8px 8px}
.bk-logo img{max-width:88%;max-height:88%;object-fit:contain}
.bk-none{font-size:13px;color:var(--muted);text-align:center;padding:8px}
.bk-pal{display:flex;flex-wrap:wrap;gap:8px}
.bk-pal .bk-sw{display:grid;justify-items:center;gap:4px;min-width:58px}
.bk-pal .bk-chip{display:block;width:48px;height:48px;border-radius:14px;border:1px solid rgba(0,0,0,.08);box-shadow:0 4px 10px -6px rgba(0,0,0,.35)}
.bk-pal b{font-size:13px}.bk-pal small{font-size:12px;color:var(--muted)}
@media (max-width:420px){.brandkit{grid-template-columns:1fr;justify-items:center}}

/* attaching a logo, photos or videos in the chat */
.clipbtn{width:46px;height:46px;border:0;border-radius:50%;background:transparent;color:var(--muted);display:grid;place-items:center;flex:none;transition:color .15s,background .15s}
.clipbtn:hover{color:var(--accent);background:var(--accent-soft)}
.clipbtn svg{width:21px;height:21px}
.atts{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px}
.att{position:relative;display:flex;align-items:center;gap:8px;flex:none;max-width:220px;height:52px;padding:4px 10px 4px 4px;border-radius:14px;background:var(--surface);border:1px solid var(--line);box-shadow:0 2px 8px -4px rgba(84,52,190,.25);animation:attin .25s ease-out}
.att img,.att .ai{width:44px;height:44px;border-radius:10px;object-fit:cover;flex:none}
.att .ai{display:grid;place-items:center;background:var(--accent-soft);color:var(--accent)}
.att .ai svg{width:20px;height:20px}
.att em{font-style:normal;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.att button{width:28px;height:28px;border:0;border-radius:50%;background:var(--field);display:grid;place-items:center;flex:none}
.att button svg{width:14px;height:14px}
@keyframes attin{from{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:none}}
.mfiles{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.mfiles span,.mfiles button{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;background:rgba(255,255,255,.18);border-radius:8px;padding:2px 8px}
.mfiles button{border:0;color:inherit;font:inherit;font-size:12.5px;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.mfiles button:hover{background:rgba(255,255,255,.3)}
.mfiles svg{width:13px;height:13px}
@media (prefers-reduced-motion:reduce){.att{animation:none}}

/* the business's files in the DNA */
.libgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;padding:4px 0 10px}
.libcell{position:relative;min-width:0}
.libdl{position:absolute;top:6px;inset-inline-end:6px;width:28px;height:28px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.libdl:hover{background:rgba(0,0,0,.75)}
.libdl svg{width:15px;height:15px}
.libit{position:relative;display:grid;gap:4px;text-decoration:none;color:inherit}
.libit img,.libit video{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;background:var(--field);border:1px solid var(--line)}
.libit .lv{position:absolute;top:6px;inset-inline-start:6px;width:26px;height:26px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;display:grid;place-items:center}
.libit .lv svg{width:14px;height:14px}
.libit small{font-size:12px;color:var(--muted)}
.libit.logo img{object-fit:contain;padding:8px;box-sizing:border-box;background:#fff}

/* a film from the owner's footage: the studio card in the chat */
.task.sj .sjq{font-weight:700;margin:10px 0 4px}
.task.sj .sjq.sb{font-weight:400;white-space:pre-line;line-height:1.55;max-height:46vh;overflow:auto}
/* a longer answer (a proposal, a plan): headings, bullets, one card per option */
.task.sj .sjq.rich{font-weight:400;white-space:normal;line-height:1.6;display:grid;gap:10px;margin:12px 0 8px}
.rich p{margin:0}
.rich b{font-weight:700}
.rich .rh{margin:2px 0 0;font-size:15.5px;font-weight:800;color:var(--accent-ink)}
.rich ul,.rich ol{margin:0;padding-inline-start:20px;display:grid;gap:4px}
.rich li::marker{color:var(--accent)}
.rich .ropt{background:var(--field);border:1px solid var(--line);border-inline-start:3px solid var(--accent);border-radius:14px;padding:10px 14px;display:grid;gap:4px;font-size:14.5px}
.rich .ropt .rt{font-size:15px;font-weight:800;color:var(--ink)}
.rich .ropt p,.rich .ropt ul,.rich .ropt ol{color:var(--muted)}
.rich > p:last-child{font-weight:700;color:var(--ink)}
.task.sj .sjvid{width:min(100%,300px);aspect-ratio:9/16;border-radius:16px;background:#000;display:block;margin:10px auto 6px}
.task.sj .vwork{position:relative;width:min(100%,300px);aspect-ratio:9/16;border-radius:16px;overflow:hidden;margin:10px auto 6px;background:var(--soft,#f3f0fb);display:grid;place-items:center}
.task.sj .vwork img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(6px) brightness(.55);transform:scale(1.08)}
.task.sj .vwork span{position:relative;display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;background:rgba(255,255,255,.92);color:var(--ink,#1b1530);font-weight:700;font-size:14px;animation:breathe 2.4s ease-in-out infinite}
.task.sj .vwork span .i{width:18px;height:18px;color:var(--brand,#6a3fe0)}
.takes{display:grid;gap:8px;margin:8px 0}
.take{display:grid;grid-template-columns:1fr auto;gap:6px 10px;align-items:center;padding:8px;border-radius:14px;background:var(--field)}
.take audio{grid-column:1 / -1;width:100%;height:36px}
.take .tk{display:grid;gap:2px;min-width:0}
.take .tk small{color:var(--muted);font-size:12.5px}
.take.rec{box-shadow:inset 0 0 0 2px var(--accent)}
.take .recb{font-size:11px;font-weight:800;color:var(--accent);margin-inline-start:6px}

/* the screen never scrolls as a whole: its glow (::before, inset -12%) made it scrollable, and a focus or a new
   message scrolled the header out of view. clip (unlike hidden) can't be scrolled, even by the browser. */

/* what I'm working on now: a live line above the message box */
.working{display:flex;align-items:center;gap:10px;margin:0 16px 8px;padding:9px 14px;border-radius:16px;background:var(--field);
  color:var(--ink);font-size:13.5px;line-height:1.35;box-shadow:inset 0 0 0 1px var(--line)}
.working b{font-weight:700}
.working .spin{flex:none;width:14px;height:14px;border-radius:50%;border:2px solid var(--line);border-top-color:var(--accent);animation:wspin .9s linear infinite}
@keyframes wspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.working .spin{animation-duration:3s}}

/* the DNA's memory: what was learned by topic, the assets by kind */
.dsec .mhead{margin:12px 0 4px;font-size:12.5px;font-weight:800;color:var(--muted);letter-spacing:.02em}
.dsec .mhead:first-child{margin-top:2px}
.libit.file{aspect-ratio:auto}
.libit .fileic{display:grid;place-items:center;aspect-ratio:1;border-radius:12px;background:var(--field);border:1px solid var(--line);
  font-weight:800;font-size:13px;color:var(--accent)}

.btn.dl{align-self:flex-start;margin:6px 0 10px}
.empty .spin{width:18px;height:18px;border-radius:50%;border:2px solid var(--line);border-top-color:var(--accent);animation:wspin .9s linear infinite}
.item.vid .row2 .meta{margin-inline-start:8px}
.btn.del{color:var(--muted,#6b6b80)}
.btn.del.armed{color:#fff;background:#d64545;border-color:#d64545}

/* ---------- wide screens: the chat always on the right, the studio / results / DNA on the left ---------- */
.split{display:none}
@media (min-width:1100px){
  .screen.app{width:min(100%,1480px)}
  .split{display:grid;grid-template-columns:minmax(380px,460px) minmax(0,1fr);flex:1;min-height:0;border-top:1px solid var(--line)}
  .split>section{display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}
  .split .chatcol{border-inline-end:1px solid var(--line)}
  .split .chatcol .msgs{padding-inline:16px}
  .split .chatcol .composer{width:100%}
  .split .chatcol .m{max-width:88%}
  .split .pane .scroll{padding-inline:28px}
  .ahead .tabs{width:380px}
}
/* the phone: a chat box at the bottom of the studio, results and DNA */
.composer.mini{padding:8px 12px 12px;border-top:1px solid var(--line);background:var(--screen)}
.cost.adm{font-size:12.5px;color:var(--muted,#6b6b80);margin:6px 0 0;background:rgba(240,180,40,.12);border-radius:10px;padding:5px 9px}
.cost.adm b{display:inline;font-size:inherit}
/* card actions: one tidy row that wraps inside the card; delete is quiet and sits at the end */
.item .acts{flex-wrap:wrap;align-items:center;row-gap:8px}
.item .acts .btn.sm{height:40px;font-size:14.5px;padding:0 14px;white-space:nowrap;flex:none}
.item .acts .btn.sm .i{width:17px;height:17px}
.item .acts .btn.del{margin-inline-start:auto;background:transparent;border:0;box-shadow:none;padding:0 6px;font-weight:600;color:var(--muted,#6b6b80)}
.item .acts .btn.del:hover{color:#d64545}
.item .acts .btn.del.armed{background:#d64545;color:#fff;padding:0 14px}
@media (min-width:1100px){
  .split{grid-template-columns:minmax(440px,540px) minmax(0,1fr)}
  .split .pane .scroll:has(.item){grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}
  .ahead .tabs{width:400px}
}

/* a film's versions: clear arrows (and a swipe on the phone) */
.vnav{display:flex;align-items:center;justify-content:center;gap:10px;margin:8px 0 6px}
.vnav .vt{font-weight:700;font-size:14px;min-width:96px;text-align:center}
.vnav .vt small{font-weight:500;color:var(--mute,#6b6b7b)}
.vnav .vb{width:40px;height:40px;border-radius:50%;border:1px solid var(--line,#e4e1ee);background:var(--card,#fff);display:grid;place-items:center;cursor:pointer;color:var(--ink,#1b1530)}
.vnav .vb .i{width:22px;height:22px;stroke-width:2.4}
.vnav .vb:disabled{opacity:.3;cursor:default}
.pv .pvvers{flex-wrap:wrap;margin:0;padding:6px 12px;border-bottom:1px solid var(--line)}
.vnav .vb:not(:disabled):hover{background:var(--soft,#f3f0fb)}
.vone{display:inline-block;font-size:13px;color:var(--mute,#6b6b7b);margin:6px 0}
.vsw{touch-action:pan-y}
.fine.wait{color:var(--brand,#6d3df5);font-weight:600}

/* films in work: one strip above the chat and every tab */
.work{margin:6px 16px 4px;padding:8px 10px;border-radius:14px;background:var(--card,#fff);border:1px solid var(--line,#e4e1ee);box-shadow:0 2px 10px rgba(40,20,90,.06)}
.work .wh{display:block;font-size:13px;margin:0 2px 6px;color:var(--ink,#1b1530)}
.work .wl{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.work .wl::-webkit-scrollbar{display:none}
.work .wi{flex:0 0 auto;min-width:168px;max-width:240px;text-align:start;border:1px solid var(--line,#e4e1ee);background:var(--ground,#faf8ff);border-radius:12px;padding:7px 10px;cursor:pointer;display:grid;gap:3px;font:inherit;color:inherit}
.work .wi:hover{border-color:var(--accent,#6d3df5)}
.work .wi.ask{border-color:var(--accent,#6d3df5);background:var(--soft,#f3f0fb)}
.work .wn{font-weight:700;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.work .ws{font-size:12px;color:var(--mute,#6b6b7b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.work .wi.ask .ws{color:var(--accent,#6d3df5);font-weight:600}
.work .wb{height:4px;border-radius:4px;background:var(--line,#e4e1ee);overflow:hidden}
.work .wb i{display:block;height:100%;background:var(--accent,#6d3df5);border-radius:4px;transition:width 1.2s ease}
.tab .dot{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;margin-inline-start:6px;border-radius:9px;background:var(--accent,#6d3df5);color:#fff;font-size:11px;font-weight:700}
.ping{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:10px;padding:10px 12px 10px 14px;border-radius:14px;background:var(--ink,#1b1530);color:#fff;box-shadow:0 8px 30px rgba(0,0,0,.25);max-width:calc(100vw - 32px);animation:pingin .35s ease}
.ping span{font-size:14px;font-weight:600}
.ping .x{background:none;border:0;color:#fff;opacity:.7;cursor:pointer;display:grid;place-items:center}
.ping.out{opacity:0;transition:opacity .5s}
@keyframes pingin{from{transform:translate(-50%,-14px);opacity:0}to{transform:translate(-50%,0);opacity:1}}
@media (prefers-reduced-motion:reduce){.ping{animation:none}.work .wb i{transition:none}}

/* one conversation per film: a header with the way back, and the line in the main chat that opens it */
.thead{display:flex;align-items:center;gap:10px;margin:4px 16px 2px;padding:8px 10px;border-radius:12px;background:var(--soft,#f3f0fb)}
.thead .back{display:flex;align-items:center;gap:4px;border:0;background:none;color:var(--accent,#6d3df5);font:inherit;font-size:13px;font-weight:600;cursor:pointer;padding:4px 6px;border-radius:8px}
.thead .back:hover{background:var(--card,#fff)}
.thead .back .i{width:18px;height:18px}
.thead b{font-size:15px;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.thead .tv{font-size:12.5px;color:var(--mute,#6b6b7b)}
.tlink{display:flex;align-items:center;gap:10px;margin-top:6px;width:100%;max-width:340px;text-align:start;padding:10px 12px;border-radius:14px;border:1px solid var(--line,#e4e1ee);background:var(--card,#fff);cursor:pointer;font:inherit;color:inherit}
.tlink:hover{border-color:var(--accent,#6d3df5)}
.tlink>.i:first-child{color:var(--accent,#6d3df5);flex:0 0 auto}
.tlink>span:not(.un){display:grid;flex:1;min-width:0}
.tlink b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tlink small{font-size:12px;color:var(--mute,#6b6b7b)}
.tlink>.i:last-child{width:16px;height:16px;color:var(--mute,#6b6b7b)}
.un{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;margin-inline-start:6px;border-radius:9px;background:var(--accent,#6d3df5);color:#fff;font-size:11px;font-weight:700;vertical-align:middle}
.work .wi.on{border-color:var(--accent,#6d3df5);box-shadow:0 0 0 2px rgba(109,61,245,.15)}

/* the conversations panel: the main chat and, under it, each film's own chat (like Claude's sessions list) */
.convs{display:flex;flex-direction:column;gap:2px;padding:12px 10px;overflow-y:auto;min-height:0}
.cv-main{display:flex;align-items:center;gap:8px;width:100%;text-align:start;padding:9px 10px;border-radius:10px;border:0;background:none;font:inherit;font-weight:700;font-size:14px;color:var(--ink,#1b1530);cursor:pointer}
.cv-main .i{width:18px;height:18px;color:var(--accent,#6d3df5)}
.cv-main:hover,.cv-it:hover{background:var(--soft,#f3f0fb)}
.cv-main.on,.cv-it.on{background:var(--soft,#f3f0fb);box-shadow:inset 0 0 0 1px var(--line,#e4e1ee)}
.cv-kids{position:relative;margin-inline-start:18px;padding-inline-start:12px;border-inline-start:1.5px solid var(--line,#e4e1ee);display:flex;flex-direction:column;gap:2px;margin-top:2px}
.cv-it{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1px 6px;width:100%;text-align:start;padding:7px 10px;border-radius:10px;border:0;background:none;font:inherit;color:inherit;cursor:pointer}
.cv-it::before{content:"";position:absolute;inset-inline-start:-13px;top:50%;width:10px;border-top:1.5px solid var(--line,#e4e1ee)}
.cv-n{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cv-s{grid-column:1 / -1;font-size:12.5px;color:var(--mute,#6b6b7b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cv-it.ask .cv-s{color:var(--accent,#6d3df5);font-weight:600}
.cv-it .wb{grid-column:1 / -1;height:3px;border-radius:3px;background:var(--line,#e4e1ee);overflow:hidden;margin-top:3px}
.cv-it .wb i{display:block;height:100%;background:var(--accent,#6d3df5);transition:width 1.2s ease}
.cv-it .un{margin:0}
.cv-more{border:0;background:none;color:var(--accent,#6d3df5);font:inherit;font-size:13px;padding:6px 10px;text-align:start;cursor:pointer}
.cv-empty{font-size:12.5px;color:var(--mute,#6b6b7b);margin:6px 12px}
/* desktop: three columns, the conversations on the right */
@media (min-width:1100px){
  .split.three{grid-template-columns:240px minmax(400px,500px) minmax(0,1fr)}
  .split.three>.convs{border-inline-end:1px solid var(--line,#e4e1ee);background:var(--screen,#fff)}
  .screen.app{width:min(100%,1680px)}
}
/* the phone: the same list opens from the header */
.cvbtn{position:relative;justify-self:end;width:42px;height:42px;border-radius:50%;border:1px solid var(--line,#e4e1ee);background:var(--card,#fff);display:grid;place-items:center;cursor:pointer;color:var(--ink,#1b1530)}
.cvbtn .un{position:absolute;top:-4px;inset-inline-end:-4px;margin:0}
.cvdrawer{position:fixed;inset:0;z-index:55}
.cvbg{position:absolute;inset:0;background:rgba(20,10,40,.35)}
.cvpanel{position:absolute;top:0;bottom:0;inset-inline-start:0;width:min(86vw,320px);background:var(--screen,#fff);box-shadow:0 0 40px rgba(0,0,0,.2);display:flex;flex-direction:column;animation:cvin .25s ease}
.cvhead{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 4px}
.cvhead .x{border:0;background:none;cursor:pointer;color:var(--mute,#6b6b7b)}
@keyframes cvin{from{transform:translateX(30px);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.cvpanel{animation:none}}

/* conversations (2026-11-19): "שיחה חדשה" on top, then one flat list, newest first, like Claude and ChatGPT */
.cv-newchat{display:flex;align-items:center;gap:8px;width:100%;text-align:start;padding:10px 12px;margin:0 0 4px;border-radius:12px;border:1px solid var(--line,#e4e1ee);background:var(--card,#fff);font:inherit;font-weight:700;font-size:14px;color:var(--ink,#1b1530);cursor:pointer;box-shadow:0 1px 2px rgba(27,21,48,.05);transition:border-color .15s,box-shadow .15s}
.cv-newchat .i{width:17px;height:17px;color:var(--accent,#6d3df5)}
.cv-newchat:hover{border-color:var(--accent,#6d3df5);box-shadow:0 2px 8px rgba(109,61,245,.12)}
.cv-newchat:focus-visible,.cv-it:focus-visible{outline:2.5px solid var(--accent,#6d3df5);outline-offset:1px}
.cv-list{display:flex;flex-direction:column;gap:2px;margin-top:8px}
.cv-list .cv-it::before{display:none}
.hconv{display:flex;gap:8px;justify-self:start}
/* the conversations button says what it is (David, 2026-11-19, did not find his chats behind a bare icon) */
.cvbtn.pill{width:auto;padding:0 14px 0 12px;border-radius:999px;gap:6px;display:inline-flex;align-items:center;font:inherit;font-size:14px;font-weight:700}
.cvbtn.pill .pl b{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;margin-inline-start:2px;border-radius:999px;background:var(--accent-soft,#efeaff);color:var(--accent,#6a4cf4);font-size:12px}
/* a new chat shows where the owner left off */
.recent{display:grid;gap:6px;padding:12px;border-radius:18px;border:1px solid var(--line,#e4e1ee);background:var(--card,#fff)}
.recent .rh{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--muted,#6b6680)}
.recent .rh .i{width:16px;height:16px}
.recent .rc{all:unset;cursor:pointer;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:var(--screen,#f6f4fb);font-size:14.5px}
.recent .rc .i{width:18px;height:18px;flex:none}
.recent .rc .rt{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.recent .rc small{color:var(--accent,#6a4cf4);font-weight:700;white-space:nowrap}
.recent .rc.all{justify-content:space-between;background:none;color:var(--accent,#6a4cf4);font-weight:700;padding:6px 12px}
.recent .rc:focus-visible{outline:2px solid var(--accent,#6a4cf4);outline-offset:2px}

/* the business picker: type to find; deleted businesses folded in an archive */
.cpick{position:relative}
.cbtn{display:flex;align-items:center;justify-content:space-between;gap:8px;background:transparent;border:1px solid rgba(243,239,250,.3);color:var(--on-bar);border-radius:999px;height:40px;padding:0 12px 0 14px;min-width:210px;max-width:320px;font:inherit;font-size:14px;cursor:pointer}
.cbtn span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cbtn .i{width:16px;height:16px;flex:none}
.cpanel{position:absolute;top:calc(100% + 6px);inset-inline-start:0;z-index:70;width:min(320px,calc(100vw - 32px));background:var(--surface);color:var(--ink);border-radius:14px;box-shadow:0 12px 40px rgba(20,10,50,.25);padding:8px}
.cpanel input{width:100%;height:40px;border-radius:10px;border:1px solid #e4e1ee;padding:0 12px;font:inherit;font-size:14px;margin-bottom:6px}
#clist{max-height:min(60vh,420px);overflow-y:auto;display:flex;flex-direction:column;gap:1px}
.copt{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:start;border:0;background:none;padding:9px 10px;border-radius:9px;font:inherit;font-size:14px;color:inherit;cursor:pointer}
.copt:hover,.copt:focus-visible{background:var(--field);outline:none}
.copt.on{background:var(--field);font-weight:700}
.copt.new{color:#6d3df5;font-weight:600}
.copt.gone{color:#6b6b80}
.copt small{font-size:12px;color:#6d3df5}
.carch{display:flex;align-items:center;gap:6px;border:0;border-top:1px solid #eee;background:none;margin-top:6px;padding:9px 8px 6px;font:inherit;font-size:13px;font-weight:600;color:#6b6b80;cursor:pointer;text-align:start}
.carch .i{width:15px;height:15px}
.cnone{font-size:13px;color:#6b6b80;margin:8px 10px}
@media (max-width:899px){.cbtn{min-width:0;width:100%;max-width:none}}

.teamadd{display:flex;gap:8px;margin:10px 0 4px}.teamadd input{flex:1;min-width:0;height:44px;border-radius:12px;border:0;background:var(--field);padding:0 12px;font-size:15px}.teamadd .btn{width:auto;padding:0 18px;height:44px}

.fine.moved{margin:0 0 12px;color:var(--ink,#1b1530);font-weight:600}
.gsign .gbtn{width:auto;padding:0 24px;height:44px;font-size:15px}
.gmore{display:flex;justify-content:center;margin:-4px 0 14px}.gmore .btn{width:auto;padding:0 20px;height:44px;font-size:15px}

/* message times and day lines, like WhatsApp */
.m .mt{display:block;font-size:12.5px;line-height:1;opacity:.72;margin-top:4px;text-align:end;font-variant-numeric:tabular-nums}
.m.me .mt{color:inherit}
.dsep{display:flex;justify-content:center;margin:12px 0 6px}.dsep span{font-size:12.5px;padding:4px 12px;border-radius:999px;background:var(--field)}

/* what the business used, and (admin) the price ratio */
.card.usage{padding:14px;display:grid;gap:8px}
.uchips{display:flex;gap:6px;flex-wrap:wrap}
.uchip{border:1px solid var(--line);background:var(--field);color:var(--ink);border-radius:999px;padding:6px 12px;font:inherit;font-size:13.5px;cursor:pointer}
.uchip[aria-pressed="true"]{background:var(--cta);color:#fff;border-color:transparent;box-shadow:0 6px 14px -8px rgba(106,63,224,.8)}
.urange,.uprice{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.urange input,.uprice input{font:inherit;font-size:14px;padding:6px 8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);min-width:0}
.uprice input{width:90px}.uprice label{font-size:14px;min-width:110px}
.utotal{display:grid;gap:2px}.utotal b{font-size:28px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums;direction:ltr;text-align:start}
.utotal small{color:var(--muted);font-size:13px}
.ubars{display:flex;align-items:flex-end;gap:3px;height:48px;padding-top:4px}
.ubars i{flex:1;min-width:3px;border-radius:3px 3px 0 0;background:var(--accent);opacity:.55}
.urow{display:flex;justify-content:space-between;gap:12px;font-size:14px;padding:6px 0;border-top:1px solid var(--line)}
.urow span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap;direction:ltr}
.urow small,.usub{color:var(--muted);font-size:12.5px}.usub{margin-top:6px}
.usage .adm{color:var(--muted);font-size:12px;margin-inline-start:6px}

/* a film keeps its place while it loads: nothing below it moves */
.item.vid video{aspect-ratio:9/16;object-fit:contain;height:auto}

/* ---------- the phone (Ruby, 2026-11-16: "half the screen can't be seen, the fonts are big") ----------
   The app fills what the phone actually shows (100dvh: not under Safari's bars), the browser never inflates the
   text, and the top, the tabs and the composer take less height so the conversation gets the screen. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@supports (height:100dvh){ body{height:100dvh} }
@media (max-width:560px){
  .screen.app{padding-top:max(4px,env(safe-area-inset-top,0px))}
  .ahead{padding:0 12px 6px;gap:8px}
  .ahead .top .logo{font-size:22px}
  .ahead .top button,.ahead .top .avatar,.ahead .top > a{width:38px;height:38px;min-width:38px}
  .ahead .top svg{width:18px;height:18px}
  .tabs{padding:3px}
  .tab,.tabs.four .tab{height:36px;font-size:13.5px}
  .msgs{padding:6px 12px 10px;gap:9px}
  .m{font-size:15px;line-height:1.42;max-width:90%}
  .m.me{padding:8px 13px}
  .m.bot .b{padding:9px 13px;border-radius:18px 18px 18px 6px}
  .composer{padding:6px 10px max(8px,env(safe-area-inset-bottom,0px));gap:6px}
  .quick button{height:34px;font-size:13px;padding:0 4px 0 11px;gap:6px}
  .quick .qi{width:26px;height:26px}.quick .qi svg{width:15px;height:15px}
  .cbox{padding:3px;border-radius:24px}
  .cbox textarea{padding:9px 10px;height:40px;min-height:40px;font-size:16px}
  .send,.clipbtn{width:40px;height:40px}
  .scroll{padding:4px 14px 18px;gap:14px}
  .head2 h2{font-size:21px}
  .btn{height:48px;font-size:16px}
  .btn.sm{height:36px;font-size:13.5px}
  .item{gap:10px;padding:8px}
  .th-ic{width:52px;height:48px;border-radius:14px}
  .title h1{font-size:25px}
  .sheet h3{font-size:18px}
}
/* the admin bar on a phone: the business picker gets the row; "new business" is a plus, deleting stays on a computer */
@media (max-width:560px){
  #cpick{flex:1;min-width:0}
  #cpick > span:first-child,#admlbl,#delbiz{display:none}
  #newbiz{font-size:0;width:36px;padding:0;flex:none}#newbiz::before{content:"+";font-size:20px;line-height:1}
}

/* ---------- the owner's "my business" ---------- */
.mine{gap:12px}
.mhero{position:relative;overflow:hidden;padding:22px 18px 18px;display:grid;justify-items:center;text-align:center;gap:6px;animation:mrise .5s cubic-bezier(.2,.8,.2,1) both}
.mglow{position:absolute;inset:0;pointer-events:none}
.mlogo{width:84px;height:84px;border-radius:24px;background:#fff;box-shadow:0 10px 30px -12px rgba(60,35,140,.45),0 0 0 1px var(--line);display:grid;place-items:center;overflow:hidden;position:relative}
.mlogo img{width:100%;height:100%;object-fit:contain;padding:8px;box-sizing:border-box}
.mlogo .mini{font-size:34px;font-weight:900;color:var(--accent)}
.mhero h2{margin:6px 0 0;font-size:22px;font-weight:900;letter-spacing:-.02em;position:relative}
.mhero p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.45;max-width:36ch;position:relative}
.mchips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:6px;position:relative}
.mchips span{background:var(--field);border:1px solid var(--line);border-radius:999px;padding:4px 10px;font-size:12.5px;display:flex;gap:6px;align-items:center}
.mchips small{color:var(--muted)}
.msec{overflow:hidden;animation:mrise .45s cubic-bezier(.2,.8,.2,1) both}
.msec:nth-of-type(2){animation-delay:.05s}.msec:nth-of-type(3){animation-delay:.1s}.msec:nth-of-type(4){animation-delay:.15s}.msec:nth-of-type(5){animation-delay:.2s}.msec:nth-of-type(6){animation-delay:.25s}
.msec summary{list-style:none;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:12px 14px;min-height:56px;cursor:pointer}
.msec summary::-webkit-details-marker{display:none}
.mic{width:38px;height:38px;border-radius:12px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center}
.mic svg{width:19px;height:19px}
.mt2{display:grid;min-width:0}.mt2 b{font-size:16px;font-weight:800}.mt2 small{color:var(--muted);font-size:13px}
.msec .chev{width:20px;height:20px;color:var(--accent);transition:transform .25s}
.msec[open] > summary .chev{transform:rotate(180deg)}
.mbody{padding:2px 14px 14px;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.msec[open] .mbody{animation:mopen .3s ease both}
.mpal{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px}
.msw{display:grid;gap:4px;animation:mpop .4s cubic-bezier(.2,.9,.3,1.3) both;animation-delay:var(--d,0ms)}
.msw span{height:58px;border-radius:14px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.msw b{font-size:13px}.msw small{color:var(--muted);font-size:12px}
.mrow{display:grid;gap:4px}.mrow > small{color:var(--muted);font-size:12.5px;font-weight:600}
.mrow p{margin:0;font-size:14.5px}
.mfonts{display:flex;flex-wrap:wrap;gap:8px}.mfonts span{font-size:18px;padding:6px 12px;border-radius:12px;background:var(--field)}
.mgrid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.mcard{border:1px solid var(--line);border-radius:16px;padding:12px 14px;background:var(--screen);display:grid;gap:6px}
.mcard b{font-size:15px;font-weight:800;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.mcard b em{font-style:normal;font-size:11.5px;font-weight:700;color:var(--accent-ink);background:var(--accent-soft);border-radius:999px;padding:2px 8px}
.mcard.star{border-color:color-mix(in srgb,var(--accent) 40%,var(--line))}
.mcard p{margin:0;font-size:14px;color:var(--ink);line-height:1.45}
.mcard > small{color:var(--muted);font-size:13px}
.mtags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.mtags li{font-size:13px;background:var(--accent-soft);color:var(--accent-ink);border-radius:999px;padding:3px 10px}
.mtags.soft li{background:var(--field);color:var(--ink)}
.mflow{list-style:none;margin:0;padding:0;display:grid;gap:8px;position:relative}
.mflow li{position:relative;padding-inline-start:18px;font-size:14px;line-height:1.45}
.mflow li::before{content:"";position:absolute;inset-inline-start:3px;top:7px;width:8px;height:8px;border-radius:50%;background:var(--accent)}
.mflow li:not(:last-child)::after{content:"";position:absolute;inset-inline-start:6px;top:17px;bottom:-9px;width:2px;background:var(--accent-soft)}
.mflow small{display:block;color:var(--muted);font-size:12px;font-weight:600}
.mlist{margin:0;padding-inline-start:18px;display:grid;gap:6px;font-size:14.5px;line-height:1.45}
.mhead2{margin:4px 0 -4px;font-size:12.5px;font-weight:700;color:var(--muted)}
.mnone{margin:0;color:var(--muted);font-size:14px}
.mfix{justify-self:start;display:inline-flex;gap:6px;align-items:center;border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:999px;height:32px;padding:0 12px;font:inherit;font-size:13px;cursor:pointer}
.mfix svg{width:14px;height:14px}.mfix:hover{color:var(--accent);border-color:var(--accent)}
.mfoot{text-align:center}
@keyframes mrise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes mopen{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@keyframes mpop{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.mhero,.msec,.msec[open] .mbody,.msw{animation:none}}

/* names later parts of the app use for the same tokens: defined, so dark mode applies to them too (they fell back to
   white cards with light text on a phone in dark mode, 2026-11-16) */
:root{--card:var(--surface);--mute:var(--muted);--soft:var(--field);--brand:var(--accent)}

/* the initial sits on the logo's white circle in both themes: the light theme's violet, never the dark theme's pale one */
.bizbtn .mark .ini,.mlogo .mini{color:#6A3FE0}

/* a link that looks like a button never looks like a link */
a.btn{text-decoration:none}
/* the studio on a phone: a film is a compact card (the film beside its name, version and status; the actions under
   them), so a few films fit on a screen instead of one */
@media (max-width:560px){
  .item.vid{grid-template-columns:112px minmax(0,1fr);align-items:start;gap:10px 12px}
  .item.vid .vsw{grid-row:span 1}
  .item.vid video{width:112px;max-height:none;aspect-ratio:9/16;border-radius:12px}
  .item.vid .th-ic{width:112px;height:80px}
  .item.vid .vnav{justify-content:flex-start;margin:6px 0 2px;gap:6px}
  .item.vid .vnav .vb{width:34px;height:34px}
  .item.vid .vnav .vt{min-width:0;font-size:13px}
  .item .acts .btn.sm{height:36px;font-size:13.5px;padding:0 12px}
  .item.vid > div:nth-child(2){align-self:start}
  .item.vid .acts{grid-column:2;grid-row:1;align-self:end;gap:6px}
  .item.vid{grid-template-rows:auto}
  .item.vid > .vsw,.item.vid > video,.item.vid > .th-ic{grid-row:1 / span 2}
  .item.vid > div:nth-child(2){grid-column:2;grid-row:1}
  .item.vid .acts{grid-row:2}
  .item.vid .acts .btn.del{margin-inline-start:0}
}
/* the same compact film card in the studio column of a wide screen */
@media (min-width:1100px){
  .pane .item.vid{grid-template-columns:112px minmax(0,1fr);align-items:start;gap:10px 12px}
  .pane .item.vid video{width:112px;max-height:none;aspect-ratio:9/16;border-radius:12px}
  .pane .item.vid > .vsw,.pane .item.vid > .th-ic{grid-row:1}
  .pane .item.vid > div:nth-child(2){grid-column:2;grid-row:1;align-self:start}
  .pane .item.vid .acts{grid-column:1 / -1;grid-row:auto;gap:6px}
  .pane .item.vid .acts .btn.del{margin-inline-start:0}
  .pane .item.vid .vnav{justify-content:flex-start}
}

/* where the business stands this month, at the bottom of the conversations list (like Claude's usage) */
.convs{display:flex;flex-direction:column}
.pmeter{margin-top:auto;display:grid;gap:6px;text-align:start;width:100%;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:16px;padding:12px 14px;font:inherit;cursor:pointer;transition:border-color .2s}
.pmeter:hover{border-color:var(--accent)}
.convs .pmeter{position:sticky;bottom:0}
.pm-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.pm-top b{font-size:14.5px;font-weight:800}
.pm-top span{font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;direction:ltr}
.pm-top span small{color:var(--muted);font-weight:500}
.pm-inf{font-size:20px!important;line-height:1;color:var(--accent)}
.pmeter > small{color:var(--muted);font-size:12.5px}
.pm-adm{color:var(--muted);font-size:11.5px;opacity:.8}
.pm-bar{height:6px;border-radius:999px;background:var(--field);overflow:hidden;display:block}
.pm-bar i{display:block;height:100%;border-radius:inherit;background:var(--accent);transition:width .6s ease}
.pmeter.high .pm-bar i{background:var(--gold)}
.pmeter.full .pm-bar i{background:#d64545}
.cvpanel .convs{flex:1;min-height:0}
.cvpanel .pmeter{margin:auto 12px 12px;width:auto}

/* the studio column of a wide screen holds cards side by side: the actions take the card's whole width under the film,
   and a button never leaves its card */
@media (min-width:1100px){
  .pane .item.vid .acts .btn.sm{flex:1 1 auto;min-width:0;padding:0 10px;justify-content:center}
  .pane .item.vid .acts .btn.del{flex:0 0 auto}
}
/* the news line on a phone: one slim row of films (name and state), not a box that takes a third of the screen */
@media (max-width:560px){
  .work{margin:2px 10px 2px;padding:4px;border-radius:999px;box-shadow:none}
  .work .wh{display:none}
  .work .wl{gap:6px}
  .work .wi{min-width:0;max-width:230px;display:flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px}
  .work .wn{font-size:12.5px}.work .ws{font-size:11.5px}
  .work .wb{display:none}
}
/* the meter in "העסק שלי" */
.mine .pmeter{margin-top:0}
.umode{align-items:flex-start;gap:8px;font-size:13.5px;cursor:pointer}.umode input{margin-top:3px}
/* the groups inside "מה למדתי ממך": each opens and closes */
.msub{border:1px solid var(--line);border-radius:14px;background:var(--screen);overflow:hidden}
.msub summary{list-style:none;display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;padding:10px 12px;cursor:pointer;min-height:44px}
.msub summary::-webkit-details-marker{display:none}
.msub summary b{font-size:14.5px;font-weight:700}
.msub summary small{color:var(--muted);font-size:12.5px;background:var(--field);border-radius:999px;padding:1px 8px}
.msub .chev{width:18px;height:18px;color:var(--accent);transition:transform .25s}
.msub[open] .chev{transform:rotate(180deg)}
.msub .mlist{padding:0 30px 12px 12px}
.msub[open] .mlist{animation:mopen .25s ease both}

/* a film's name, with a pencil to rename it */
.rnrow{display:flex;align-items:flex-start;gap:4px;min-width:0}
.rnrow b{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.3}
.rnrow .rn{margin-top:-4px}
.rn{flex:none;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer;opacity:.7;transition:opacity .15s,background .15s,color .15s}
.rn svg{width:15px;height:15px}
.rn:hover,.rn:focus-visible{opacity:1;background:var(--field);color:var(--accent)}
.rnin{font:inherit;font-weight:700;font-size:15px;min-width:0;width:100%;padding:4px 10px;border:1.5px solid var(--accent);border-radius:10px;background:var(--surface);color:var(--ink);outline:none}

/* the studio column folds to a slim rail on a wide screen, and the chat takes the room */
@media (min-width:1100px){
  .split.three.nopane{grid-template-columns:240px minmax(0,1fr) 48px}
  .split.three .pane{position:relative}
  .panefold{position:absolute;top:12px;inset-inline-end:14px;z-index:3;height:34px;padding:0 12px 0 10px;border-radius:999px;border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line));background:var(--accent-soft);color:var(--accent-ink);display:flex;align-items:center;gap:4px;cursor:pointer;font:inherit;font-size:13px;font-weight:700;box-shadow:0 2px 8px -4px rgba(84,52,190,.35)}
  .panefold svg{width:16px;height:16px}
  .panefold:hover{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
  .panerail{display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 0;border:0;border-inline-start:1px solid var(--line);background:var(--accent-soft);color:var(--accent-ink);cursor:pointer;font:inherit;font-size:13px;font-weight:700}
  .panerail span{writing-mode:vertical-rl}
  .panerail svg{width:16px;height:16px}
  .panerail:hover{color:var(--accent)}
}

.uprices{margin-top:4px}.uplist{padding:0 12px 10px;display:grid;gap:2px}.uplist .usub{margin-top:8px}
/* a film's whole name, always: on two lines when it is long, never cut (Ruby, 2026-11-16) */
.thead b,.thead .rnrow b{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.3}
.cv-n{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.3}
.fwhen{margin:2px 0 0;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
/* the films' filter in "התוצרים שלי": one slim row of chips under the heading */
.ffilt{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;grid-column:1 / -1;margin:-4px 0 2px;padding:2px 0;flex:none;min-height:38px;align-items:center}
.ffilt::-webkit-scrollbar{display:none}
.ffilt .uchip{flex:none;display:inline-flex;align-items:center;gap:6px;padding:5px 12px;font-size:13px;font-weight:600}
.ffilt .uchip small{font-size:12.5px;font-weight:700;opacity:.85;font-variant-numeric:tabular-nums}
/* four tab labels on one line on a phone ("התוצרים שלי" broke in two) */
@media (max-width:560px){.tabs.four .tab{white-space:nowrap;font-size:12.5px;padding:0 4px;gap:3px}}

/* the conversations button's news: a count of new lines, or a soft pulse while a film is in work */
.cvbtn{position:relative}
.cvbtn .busy{position:absolute;top:2px;inset-inline-end:2px;width:10px;height:10px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 2px var(--screen);animation:busyp 1.6s ease-in-out infinite}
@keyframes busyp{0%,100%{transform:scale(.8);opacity:.6}50%{transform:scale(1.1);opacity:1}}
@media (prefers-reduced-motion:reduce){.cvbtn .busy{animation:none}}
/* on a phone the conversations sit at the right edge and the business at the left */
.ahead .top > .cvbtn:first-child{justify-self:start}
.ahead .top > .bizbtn:last-child{justify-self:end}

/* a film's play button on its card, and the film played large */
.vsw{position:relative}
.vplay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#221A3B;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.35);transition:transform .15s}
.vplay svg{width:22px;height:22px;margin-inline-start:3px}
.vplay:hover{transform:translate(-50%,-50%) scale(1.08)}
.vbox{position:fixed;inset:0;z-index:90;background:rgba(10,6,20,.82);display:grid;place-items:center;padding:16px;animation:mopen .2s ease both}
.vbox-in{position:relative;max-height:calc(100dvh - 32px);display:grid}
.vbox video{max-height:calc(100dvh - 32px);max-width:calc(100vw - 32px);border-radius:16px;background:#000}
.vbox-x{position:absolute;top:-6px;inset-inline-start:-6px;width:38px;height:38px;border-radius:50%;border:0;background:#fff;color:#221A3B;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.3)}
.vbox-x svg{width:18px;height:18px}
/* each service, customer and moment folds: its name, then its details */
details.mcard{padding:0}
details.mcard > summary{list-style:none;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:12px 14px;cursor:pointer}
details.mcard > summary::-webkit-details-marker{display:none}
details.mcard > summary .chev{width:18px;height:18px;color:var(--accent);transition:transform .25s}
details.mcard[open] > summary .chev{transform:rotate(180deg)}
details.mcard .mcbody{padding:0 14px 12px;display:grid;gap:6px}
details.mcard[open] .mcbody{animation:mopen .25s ease both}

/* "העסק שלי" opens at once: no staggered entrance (it felt like loading every time the tab opened) */
.mhero,.msec{animation:none}

.tplrow{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--line,rgba(0,0,0,.08))}
.tplrow video{width:84px;aspect-ratio:9/16;object-fit:cover;border-radius:10px;background:#000;flex:none}
.tplrow small{display:block;opacity:.75}

/* storyboard (2026-11-16): a card in the chat, the whole one in the side pane or a phone sheet */
.sbc{display:grid;gap:12px;margin-top:6px}
.sbc-top{all:unset;cursor:pointer;display:grid;gap:6px;padding:14px 16px;border-radius:18px;background:linear-gradient(135deg,var(--accent-soft),var(--surface) 70%);border:1px solid var(--line)}
.sbc-top b{font-size:17px;line-height:1.35;font-weight:800;color:var(--ink)}
.sb-tag{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:var(--accent-ink);letter-spacing:.01em}
.sb-tag .i{width:16px;height:16px}
.sb-chips{display:flex;flex-wrap:wrap;gap:6px}
.sb-chips span{font-size:12.5px;font-weight:600;padding:3px 10px;border-radius:99px;background:var(--surface);border:1px solid var(--line);color:var(--muted)}
.sb-strip{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 6px;scroll-snap-type:x mandatory;scrollbar-width:none}
.sb-mini{all:unset;cursor:pointer;flex:0 0 96px;scroll-snap-align:start;display:grid;gap:4px;position:relative}
.sb-mini img,.sb-mini .sb-ph{width:96px;aspect-ratio:3/4;object-fit:cover;border-radius:14px;background:linear-gradient(160deg,var(--aura1),var(--aura3));display:block}
.sb-mini i{position:absolute;top:6px;inset-inline-start:6px;font-style:normal;font-size:12px;font-weight:800;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--surface);color:var(--accent-ink);box-shadow:var(--shadow)}
.sb-mini small{font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.sb-mini span{font-size:13px;font-weight:700;line-height:1.25;color:var(--ink)}
.sb-need{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:14px;background:var(--warn-soft);color:var(--warn);font-size:14px;font-weight:600}
.sb-need .i{width:18px;height:18px;flex:none;margin-top:2px}
.sb-say{margin:0;font-size:15px;line-height:1.5}
.sbc .acts .btn .i,.sb-foot .btn .i,.sb-needs .btn .i{width:17px;height:17px;margin-inline-end:6px;vertical-align:-3px}
.sbv{display:grid;gap:16px;align-content:start}
.sbv-hd{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:start}
.sbv-hd h3{margin:6px 0 8px;font-size:21px;line-height:1.3;font-weight:800}
.sb-line{display:flex;gap:3px;height:30px}
.sb-line i{display:grid;place-items:center;border-radius:8px;background:var(--cta);color:var(--on-accent);font-style:normal;min-width:18px}
.sb-line i:nth-child(even){opacity:.78}
.sb-line i.own{background:var(--ink)}
.sb-line b{font-size:12px;font-weight:800}
.sb-beats{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.sb-beat{display:grid;grid-template-columns:52px 1fr;gap:12px;padding:14px;border-radius:18px;background:var(--surface);box-shadow:var(--shadow);border:1px solid var(--line)}
.sb-num{display:grid;justify-items:center;align-content:start;gap:4px}
.sb-num b{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent-ink);font-weight:800;font-size:16px}
.sb-num small{font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:center}
.sb-txt{display:grid;gap:6px;min-width:0}
.sb-txt>b{font-size:16px;font-weight:800}
.sb-txt p{margin:0;font-size:14.5px;line-height:1.55}
.sb-txt small{display:flex;gap:6px;align-items:center;font-size:13px;color:var(--muted)}
.sb-txt small .i{width:15px;height:15px}
.sb-own{justify-self:start;font-size:11.5px;font-weight:700;padding:2px 8px;border-radius:99px;background:var(--ink);color:var(--surface)}
.sb-imgs{display:flex;gap:6px;flex-wrap:wrap}
.sb-imgs img{width:72px;height:72px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
.sb-look{display:grid;gap:8px;padding:14px;border-radius:18px;background:var(--field)}
.sb-look p{margin:0;display:grid;gap:2px;font-size:14px;line-height:1.5}
.sb-look b{font-size:12.5px;color:var(--accent-ink)}
.sb-needs{display:grid;gap:8px;padding:14px;border-radius:18px;background:var(--warn-soft);color:var(--ink)}
.sb-needs>b{color:var(--warn)}
.sb-needs p{margin:0;display:flex;gap:8px;font-size:14px;line-height:1.45}
.sb-needs p .i{width:17px;height:17px;flex:none;margin-top:2px;color:var(--warn)}
.sb-needs small{color:var(--muted);font-size:13px}
.sb-needs .btn{justify-self:start}
.sb-foot{position:sticky;bottom:0;display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px 0 calc(6px + env(safe-area-inset-bottom,0px));background:linear-gradient(transparent,var(--screen) 30%)}
.sbpane{overflow-y:auto;padding:18px 18px 0}
.sbbg .sbsheet{max-height:96%;min-height:70%;padding-bottom:0}
.sb-foot .btn{white-space:nowrap;padding-inline:16px}
@media (max-width:420px){.sb-foot .btn{font-size:15px;padding-inline:12px}.sb-foot{gap:8px}}

/* an AI film in work: its phase and the agent's own steps (2026-11-17) */
.aiph{display:flex;align-items:center;gap:8px;margin:4px 0 10px;flex-wrap:wrap}
.aiph span{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:700;padding:5px 12px 5px 10px;border-radius:99px;background:var(--field);color:var(--muted)}
.aiph span i{font-style:normal;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:12px;background:var(--surface)}
.aiph span .i{width:16px;height:16px}
.aiph span.now{background:var(--accent-soft);color:var(--accent-ink)}
.aiph span.done{background:var(--ok-soft);color:var(--ok)}
.aiph b{width:18px;height:2px;border-radius:2px;background:var(--line)}
.ailive>div{animation:up .3s ease-out}
.nowv{display:grid;gap:12px;align-content:start}
.nowv .m.bot.wide{max-width:none;margin:0}
.nowgo{display:none}

/* the storyboard as pictures (2026-11-17) */
:root{--sb-own:#2A2140;--sb-ai:#7B4DF0;--sb-gfx:#E39A3B}
.sb-mini{animation:sbin .35s ease-out both}
.sb-mini.own img,.sb-mini.own .sb-ph{box-shadow:inset 0 -4px 0 var(--sb-own)}
.sb-mini::after{content:"";position:absolute;left:8px;right:8px;top:calc(96px*4/3 - 5px);height:3px;border-radius:3px;background:var(--sb-ai)}
.sb-mini.own::after{background:var(--sb-own)}.sb-mini.gfx::after{background:var(--sb-gfx)}
@keyframes sbin{from{opacity:0;transform:translateY(8px) scale(.98)}}
.sb-ph.draw{background:linear-gradient(110deg,var(--aura3) 30%,var(--surface) 50%,var(--aura3) 70%);background-size:220% 100%;animation:shim 1.3s linear infinite}
@keyframes shim{to{background-position:-120% 0}}
.drawing{display:flex;gap:6px;align-items:center;color:var(--accent-ink)}
.drawing .i{width:16px;height:16px}
.sb-film{display:flex;gap:3px;height:58px;border-radius:14px;overflow:hidden}
.sb-film button{all:unset;cursor:pointer;position:relative;min-width:22px;background:var(--field);border-bottom:4px solid var(--sb-ai);overflow:hidden}
.sb-film button.own{border-color:var(--sb-own)}.sb-film button.gfx{border-color:var(--sb-gfx)}
.sb-film img{width:100%;height:100%;object-fit:cover;display:block}
.sb-film b{position:absolute;top:4px;inset-inline-start:4px;font-size:11px;font-weight:800;min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.92);color:#221A3B;padding:0 4px}
.sb-key{display:flex;flex-wrap:wrap;gap:12px;align-items:center;font-size:12.5px;color:var(--muted);margin-top:-6px}
.sb-key span{display:inline-flex;gap:6px;align-items:center}
.sb-key i{width:12px;height:12px;border-radius:4px;background:var(--sb-ai)}
.sb-key .own i{background:var(--sb-own)}.sb-key .gfx i{background:var(--sb-gfx)}
.sb-key .t{margin-inline-start:auto;font-variant-numeric:tabular-nums}
.sb-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
.sb-cell{display:grid;gap:5px;align-content:start;animation:sbin .4s ease-out both}
.sb-pic{position:relative;border-radius:16px;overflow:hidden;aspect-ratio:9/16;background:var(--field);box-shadow:var(--shadow);border-bottom:4px solid var(--sb-ai)}
.sb-cell.own .sb-pic{border-color:var(--sb-own)}.sb-cell.gfx .sb-pic{border-color:var(--sb-gfx)}
.sb-pic img,.sb-pic .sb-ph{width:100%;height:100%;object-fit:cover;display:block}
.sb-n{position:absolute;top:8px;inset-inline-start:8px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.94);color:#221A3B;font-weight:800;font-size:13px}
.sb-tm{position:absolute;bottom:8px;inset-inline-start:8px;font-size:11.5px;font-weight:700;padding:2px 8px;border-radius:99px;background:rgba(20,14,36,.7);color:#fff;font-variant-numeric:tabular-nums}
.sb-tag2{position:absolute;top:8px;inset-inline-end:8px;font-size:11px;font-weight:700;padding:2px 8px;border-radius:99px;background:var(--sb-ai);color:#fff}
.sb-cell.own .sb-tag2{background:var(--sb-own)}.sb-cell.gfx .sb-tag2{background:var(--sb-gfx)}
.sb-cell>b{font-size:14.5px;font-weight:800;line-height:1.3;margin-top:4px}
.sb-cell>p{margin:0;font-size:13px;line-height:1.45;color:var(--muted)}
.sb-cell .sb-imgs img{width:52px;height:52px;border-radius:10px;background:#fff}
@media (max-width:420px){.sb-grid{grid-template-columns:1fr 1fr;gap:10px}}

/* the owner's skeleton in "מה למדתי ממך": a few short lines */
.mlead{margin:0;font-size:14px;font-weight:700}
.mskel{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.mskel li{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:8px 12px;border-radius:12px;background:var(--accent-soft);color:var(--accent-ink);font-size:14.5px;font-weight:600}
.mskel li small{flex:none;font-size:11.5px;font-weight:500;color:var(--muted)}

.sb-lbl{display:block;margin-top:8px;font-size:12px;font-weight:700;color:var(--muted)}
.sbv-hd h3{margin-top:2px;font-size:18px}
.sb-note{display:flex;gap:8px;align-items:flex-start;margin:-4px 0 0;padding:10px 12px;border-radius:12px;background:var(--accent-soft);color:var(--accent-ink);font-size:13.5px;line-height:1.45}
.sb-note .i{width:16px;height:16px;flex:none;margin-top:2px}

/* the owner's progress line (2026-11-17): one plain sentence and a calm moving bar */
.ainow{display:flex;align-items:center;gap:10px;font-size:16px;margin:2px 0 8px;flex-wrap:wrap}
.ainow .d{width:22px;height:22px;border-radius:50%;border:2px solid var(--accent);border-top-color:transparent;animation:spin .9s linear infinite;flex:none}
.ainow small{font-size:13px;font-weight:700;color:var(--ok);background:var(--ok-soft);padding:2px 10px;border-radius:99px}
.aibar{height:6px;border-radius:6px;background:var(--field);overflow:hidden;margin-bottom:8px}
.aibar i{display:block;height:100%;width:35%;border-radius:6px;background:var(--cta);animation:aibar 2.4s ease-in-out infinite}
@keyframes aibar{0%{transform:translateX(120%)}100%{transform:translateX(-300%)}}
details.adm summary{cursor:pointer}

/* where the business is found, under its name in "העסק שלי" */
.mlinks{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;position:relative;margin-top:2px}
.mlink{display:inline-flex;align-items:center;gap:6px;padding:5px 11px 5px 7px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:12.5px;font-weight:600;text-decoration:none}
.mlink:hover{border-color:var(--accent);color:var(--accent-ink)}
.mli{width:20px;height:20px;display:grid;place-items:center}.mli svg{width:16px;height:16px}
/* inspiration in the admin's DNA */
.fact.insp .a{display:grid;gap:2px}.fact.insp a{color:var(--accent-ink);font-size:13px;word-break:break-all}
.inspadd select,.inspadd input{font:inherit;font-size:13.5px;padding:6px 8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);min-width:0}
.inspadd input[type=url]{flex:1 1 160px}.inspadd input[type=text]{flex:1 1 120px}
/* a film card's versions (2026-11-17): the strip always fits its column; it spilled out and hid the next arrow */
.item.vid .vnav{justify-content:flex-start;gap:4px;margin:6px 0 2px;max-width:100%;flex-wrap:nowrap}
.item.vid .vnav .vb{width:32px;height:32px;flex:none}
.item.vid .vnav .vb .i{width:18px;height:18px}
.item.vid .vnav .vt{min-width:0;font-size:12.5px;white-space:nowrap}
.item.vid > div{min-width:0}
/* a wide screen (2026-11-17): the tabs never break a name over two lines, and the fold button has its own row above
   the pane's content instead of floating over the cards as they scroll */
@media (min-width:1100px){
  .ahead .tabs{width:auto}
  .ahead .tabs .tab{flex:none;white-space:nowrap;padding:0 16px}
  .split.three .pane > .panefold{position:static;align-self:flex-end;margin:10px 14px 0;flex:none}
}

/* admin only: the AI film's video model */
.vmadm{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;padding:6px 8px;border-radius:12px;background:rgba(240,180,40,.12);font-size:12.5px}
.vmadm span{color:var(--muted);font-weight:700}
.vmadm button{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:99px;padding:3px 10px;font:inherit;font-weight:700;cursor:pointer}
.vmadm button.on{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}

/* the chat keeps the agent's line breaks (a list arrived as one paragraph) */
.m.bot .b{white-space:pre-line}
/* a plan, options or insights: a card with a start button per step (2026-11-17) */
.plan{margin-top:8px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:12px 14px;display:grid;gap:8px;box-shadow:var(--shadow)}
.plan .pt{font-size:15px;font-weight:800}
.plan ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.plan li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 10px;border-radius:14px;background:var(--field)}
.plan .pe{font-size:22px;line-height:1}
.plan li b{display:block;font-size:14.5px;font-weight:800}
.plan li small{display:block;font-size:13px;color:var(--muted);line-height:1.4}
.plan li .btn.sm{height:34px;padding:0 12px;font-size:13.5px;white-space:nowrap}
.plan li.soon{opacity:.7}
.plan .ps{font-size:12px;font-weight:700;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:99px;padding:2px 8px;white-space:nowrap}
.plan.big{padding:16px 18px}
.plan.big li{padding:12px 14px}
/* Page Studio: the page interview's cards */
.pi .piq{display:grid;gap:4px}
.pi .piq>b{font-size:15px;font-weight:800}
.pi .piq>small,.pi .pinote{font-size:13px;color:var(--muted);line-height:1.4}
.pi .piq>small.pimulti{color:var(--accent-ink);font-weight:700}
.pi .pick{margin-top:4px}
.pi .pick button.on{background:var(--accent);color:var(--surface)}
.pi .pick button.img{height:auto;min-height:42px;display:inline-flex;flex-direction:column;align-items:center;gap:4px;padding:6px 10px 8px;border-radius:16px}
.pi .pick button.img img{width:96px;height:60px;object-fit:cover;border-radius:10px;display:block}
.pisw{display:inline-flex;gap:3px;align-self:start}
.pisw i{width:16px;height:28px;border-radius:6px;border:1px solid var(--line)}
.pi li.pip{grid-template-columns:auto minmax(0,1fr);align-items:start}
.pi li.pip .btn.sm{grid-column:1/-1;justify-self:start}
.pi .pim{color:var(--ink)!important;font-weight:600}
.pi .piwhy{font-style:italic}
.pi .pifield{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:6px}
.pi .pifield input{flex:1 1 180px;min-width:0;height:40px;border:1px solid var(--line);border-radius:12px;padding:0 12px;font:inherit;font-size:15px;background:var(--surface);color:var(--ink)}
.pi .pifield label.btn{cursor:pointer}
.pi .pisaved{color:var(--accent-ink);font-weight:700;font-size:13px}
.pi .pierr{flex-basis:100%;color:#b3261e;font-size:13px}
.pi .pimiss{display:grid;gap:10px;margin-top:10px;padding:10px 12px;border:1px dashed var(--line);border-radius:14px}
.pi .pimiss>b{font-size:14px}
.pi .pimi{display:grid;gap:2px}
.pi .pimi>span{font-weight:700;font-size:14px}
.pi .pimi>small{font-size:12.5px;color:var(--muted)}
.pic dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;margin:0;font-size:14px}
.pic dt{color:var(--muted);font-weight:700}
.pic dd{margin:0}
.pic .pisec{counter-reset:s}
.pic .pisec li{grid-template-columns:minmax(0,1fr);gap:2px}
.pic .cost{font-weight:800}
.pic .row{display:flex;flex-wrap:wrap;gap:8px}
.plan.big .pe{font-size:28px}
.plan.big li b{font-size:16px}

/* pictures large (the storyboard): the picture, what it is, arrows through all of them */
.vbox.pics{background:rgba(10,6,20,.94)}
.vbox.pics .vbox-in{justify-items:center;gap:10px}
.vbox.pics img{max-height:calc(100dvh - 120px);max-width:calc(100vw - 32px);border-radius:16px;background:#000;object-fit:contain}
.vbox.pics .pcap{margin:0;color:#fff;font-size:14px;text-align:center;display:flex;gap:6px;align-items:baseline;flex-wrap:wrap;justify-content:center}
.vbox.pics .pcap b{background:#fff;color:#221A3B;border-radius:999px;padding:2px 10px;font-size:12px}
.vbox.pics .pcap small{opacity:.7;margin-inline-start:8px}
.vbox.pics .pnav{position:absolute;top:calc(50% - 40px);width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#221A3B;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.3)}
.vbox.pics .pnav svg{width:22px;height:22px}
.vbox.pics .pnav.prev{inset-inline-start:-10px}.vbox.pics .pnav.next{inset-inline-end:-10px}
.vbox.pics .pnav:disabled{opacity:.3;cursor:default}
.sb-pic.zoom,.sb-imgs .zoom{cursor:zoom-in}
.sb-imgs .zoom{padding:0;border:0;background:none;border-radius:12px}
.sb-uses{display:grid;gap:4px;margin-top:4px}
.sb-uses small{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;color:var(--ink,#1b1530)}
.sb-uses small .i{width:14px;height:14px}

/* the storyboard beside the chat scrolls (Ruby, 2026-11-19: it was stuck: every split section hides its overflow), and
   its last scene clears the approve bar */
.split>section.sbpane,.split>section.pane:has(>.nowv){overflow-y:auto;overscroll-behavior:contain}
.sbpane .sbv{padding-bottom:4px}
.sb-foot{margin-top:4px;padding-top:18px;background:linear-gradient(transparent,var(--screen) 22%)}
.sb-note b{font-weight:700}

/* the approved storyboard kept in the film's chat (2026-11-19): quieter than the one waiting for approval */
.sbc.kept{margin-top:12px;opacity:.96}
.sbc.kept .sb-strip .sb-mini{flex-basis:72px}

/* links in messages: tappable, readable on both bubbles, long ones wrap */
.m .mtl{color:var(--accent,#6d3df5);text-decoration:underline;text-underline-offset:2px;word-break:break-all;unicode-bidi:isolate}
.m.me .mtl{color:#fff}
.m .mtl:hover{text-decoration-thickness:2px}

/* the film's card in the chat while the left pane shows it (2026-11-19): one slim line, nothing twice */
.task.sj.slim{padding:12px 16px;gap:4px}
.task.sj.slim .fine{display:inline-flex;align-items:center;gap:4px;margin:0}
.task.sj.slim .fine .i{width:14px;height:14px}

/* the owner's folders (2026-11-19), like ChatGPT's projects: a folder opens in place with its chats; every line has a ⋯ menu */
.cv-sec{display:flex;align-items:center;justify-content:space-between;margin:14px 4px 4px 2px;min-height:26px;border-radius:8px}
.cv-h{font-size:12px;font-weight:700;color:var(--mute,#6b6b7b);letter-spacing:.02em;padding-inline-start:8px}
.cv-add{width:26px;height:26px;border-radius:8px;border:0;background:none;display:grid;place-items:center;color:var(--mute,#6b6b7b);cursor:pointer}
.cv-add:hover{background:var(--soft,#f3f0fb);color:var(--accent,#6d3df5)}
.cv-add .i{width:16px;height:16px}
.cv-fempty{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;border:0;border-radius:10px;background:none;font:inherit;font-size:13px;color:var(--mute,#6b6b7b);cursor:pointer;text-align:start}
.cv-fempty:hover{background:var(--soft,#f3f0fb);color:var(--accent,#6d3df5)}
.cv-fempty .i{width:16px;height:16px}
.cv-row{position:relative;display:flex;align-items:center;border-radius:10px}
.cv-row>.cv-it,.cv-row>.cv-f{flex:1;min-width:0}
.cv-row>.i{width:16px;height:16px;margin-inline:10px 4px;color:var(--accent,#6d3df5);flex:none}
.cv-dots{flex:none;width:28px;height:28px;margin-inline-end:4px;border:0;border-radius:8px;background:none;display:grid;place-items:center;color:var(--mute,#6b6b7b);cursor:pointer;opacity:0;transition:opacity .12s}
.cv-dots .i{width:16px;height:16px}
.cv-row:hover>.cv-dots,.cv-row.menu>.cv-dots,.cv-dots:focus-visible{opacity:1}
.cv-dots:hover{background:var(--line,#e4e1ee);color:var(--ink,#1b1530)}
@media (hover:none){.cv-dots{opacity:.72}}
.cv-f{display:flex;align-items:center;gap:6px;padding:7px 8px;border:0;border-radius:10px;background:none;font:inherit;font-size:13.5px;font-weight:700;color:var(--ink,#1b1530);cursor:pointer;text-align:start}
.cv-f:hover{background:var(--soft,#f3f0fb)}
.cv-f .i{width:15px;height:15px;flex:none}
.cv-f .i:first-child{color:var(--mute,#6b6b7b)}
.cv-f .i:nth-child(2){color:var(--accent,#6d3df5)}
.cv-f .un{margin:0 0 0 auto}
.cv-fold{border-radius:12px;transition:background .15s}
/* a film made from a chat sits under that chat (Ruby, 2026-11-19) */
.cv-films{margin-inline-start:14px;padding-inline-start:8px;border-inline-start:1.5px solid var(--line,#e4e1ee);display:flex;flex-direction:column;gap:1px;margin-bottom:2px}
.cv-films .cv-it{font-size:13px}
.cv-fkids{margin-inline-start:14px;padding-inline-start:8px;border-inline-start:1.5px solid var(--line,#e4e1ee);display:flex;flex-direction:column;gap:1px;margin-bottom:4px}
.cv-fnew{display:flex;align-items:center;gap:6px;padding:6px 10px;border:0;border-radius:10px;background:none;font:inherit;font-size:12.5px;color:var(--accent,#6d3df5);cursor:pointer;text-align:start}
.cv-fnew:hover{background:var(--soft,#f3f0fb)}
.cv-fnew .i{width:14px;height:14px}
.cv-in{flex:1;min-width:0;margin:2px 4px;padding:7px 10px;border:1.5px solid var(--accent,#6d3df5);border-radius:10px;font:inherit;font-size:13.5px;background:var(--card,#fff);color:var(--ink,#1b1530);outline:none;box-shadow:0 0 0 3px rgba(109,61,245,.12)}
.cv-menu{position:absolute;top:calc(100% + 2px);inset-inline-end:4px;z-index:30;min-width:190px;max-width:240px;padding:6px;border-radius:14px;background:var(--card,#fff);border:1px solid var(--line,#e4e1ee);box-shadow:0 12px 32px -8px rgba(27,21,48,.28);display:flex;flex-direction:column;gap:1px;animation:cvmenu .14s ease-out}
.cv-menu button{display:flex;align-items:center;gap:8px;width:100%;padding:8px 10px;border:0;border-radius:9px;background:none;font:inherit;font-size:13.5px;color:var(--ink,#1b1530);cursor:pointer;text-align:start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cv-menu button:hover{background:var(--soft,#f3f0fb)}
.cv-menu button.on{color:var(--accent,#6d3df5);font-weight:700}
.cv-menu button .i{width:15px;height:15px;flex:none;color:var(--mute,#6b6b7b)}
.cv-menu button.del{color:#c0353a;margin-top:4px;border-top:1px solid var(--line,#e4e1ee);border-radius:0 0 9px 9px;padding-top:10px}
.cv-menu button.del .i{color:#c0353a}
.cv-menu button.armed{background:#fdecec;font-weight:700}
.cv-mh{font-size:11.5px;font-weight:700;color:var(--mute,#6b6b7b);padding:8px 10px 2px}
@keyframes cvmenu{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.cv-drop{background:rgba(109,61,245,.08);box-shadow:inset 0 0 0 1.5px var(--accent,#6d3df5)}
.cv-row[draggable="true"]{cursor:grab}
@media (prefers-reduced-motion:reduce){.cv-menu{animation:none}}
/* the first screen's question and mic (2026-11-19) */
.introq{margin:0;font-size:16.5px;font-weight:700;line-height:1.45}
.field .row .mic{margin-top:6px}
.field .mic.on{background:var(--accent);color:#fff;animation:recpulse 1.2s ease-in-out infinite}
.field .mic.busy{animation:none;opacity:.55}
.field .mic .i{width:22px;height:22px}
@keyframes recpulse{0%,100%{box-shadow:0 0 0 0 rgba(123,85,240,.45)}50%{box-shadow:0 0 0 10px rgba(123,85,240,0)}}
@media (prefers-reduced-motion:reduce){.field .mic,.field .mic.on{animation:none}}

/* "עכשיו" follows the open chat (2026-11-19): the page it makes, at its stage; a calm wand when there is nothing yet */
.nowsec{position:relative;margin-bottom:18px}
.nowidle{min-height:min(70vh,560px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:24px;color:var(--ink,#1b1530)}
.nowidle .hero{margin-bottom:8px;animation:nowfloat 4.5s ease-in-out infinite}
.nowidle b{font-size:17px;font-weight:800}
.nowidle small{font-size:13.5px;color:var(--mute,#6b6b7b);max-width:300px}
@keyframes nowfloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.pgnow .subh{display:flex;align-items:center;gap:6px}
.pgnow .subh .i{width:16px;height:16px;color:var(--accent,#6d3df5)}
.pgsteps{display:flex;gap:6px;list-style:none;margin:6px 0 10px;padding:0}
.pgsteps li{flex:1;display:flex;align-items:center;gap:6px;padding:7px 9px;border-radius:12px;background:var(--surface,#fff);border:1px solid var(--line,#e4e1ee);font-size:13px;color:var(--mute,#6b6b7b);font-weight:600}
.pgsteps .d{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:800;background:var(--line,#e4e1ee);color:var(--mute,#6b6b7b);flex:none}
.pgsteps .d .i{width:12px;height:12px}
.pgsteps li.done{color:var(--ink,#1b1530)}
.pgsteps li.done .d{background:var(--accent,#6d3df5);color:#fff}
.pgsteps li.now{border-color:var(--accent,#6d3df5);color:var(--accent,#6d3df5);box-shadow:0 0 0 3px rgba(109,61,245,.1)}
.pgsteps li.now .d{background:var(--accent,#6d3df5);color:#fff;animation:pgpulse 1.8s ease-in-out infinite}
@keyframes pgpulse{0%,100%{box-shadow:0 0 0 0 rgba(109,61,245,.35)}50%{box-shadow:0 0 0 6px rgba(109,61,245,0)}}
.pgsay{font-size:14px;color:var(--ink,#1b1530);margin:0 2px 10px}
.pgnow .prog{margin:0 0 12px}
.pgframe{position:relative;width:min(100%,380px);aspect-ratio:9/16;margin:0 auto;border-radius:30px;overflow:hidden;background:var(--surface,#fff);border:8px solid #1b1530;box-shadow:0 24px 50px -24px rgba(40,20,90,.45);display:grid;place-items:center}
.pgframe iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#fff}
.pgacts{justify-content:center;margin-top:12px}
.wire{position:absolute;inset:0;background:var(--wbg);display:flex;flex-direction:column;align-items:center;gap:12px;padding:22px 18px;transition:background .6s}
.wire i,.wire .w-cards i{display:block;border-radius:10px;background:var(--wsf);position:relative;overflow:hidden;opacity:0;animation:wirein .7s ease-out forwards}
.wire i::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.65) 50%,transparent 70%);transform:translateX(-100%);animation:wireshine 2.4s ease-in-out infinite}
.wire .w-hero{width:100%;height:34%;border-radius:16px;animation-delay:.05s}
.wire .w-h1{width:78%;height:18px;background:var(--wink);animation-delay:.25s}
.wire .w-h2{width:56%;height:12px;background:var(--wink);opacity:.7;animation-delay:.4s}
.wire .w-btn{width:46%;height:34px;border-radius:999px;background:var(--wacc);animation-delay:.55s}
.wire .w-btn.b{width:62%;animation-delay:1.15s}
.wire .w-cards{display:flex;gap:8px;width:100%}
.wire .w-cards i{flex:1;height:64px;animation-delay:.7s}
.wire .w-cards i:nth-child(2){animation-delay:.8s}
.wire .w-cards i:nth-child(3){animation-delay:.9s}
.wire .w-l{width:90%;height:10px;background:var(--wink);animation-delay:1s}
.wire .w-l.s{width:70%;animation-delay:1.05s}
@keyframes wirein{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@keyframes wireshine{0%{transform:translateX(-100%)}60%,100%{transform:translateX(100%)}}
@media (prefers-reduced-motion:reduce){.nowidle .hero,.pgsteps li.now .d,.wire i::after{animation:none}.wire i,.wire .w-cards i{animation:none;opacity:1}}

/* the journey (2026-11-19): the whole path of a page or a film, where we are, and what was decided; beside the work */
.pane{container-type:inline-size}
.jlay{display:grid;grid-template-columns:1fr;gap:16px;align-items:start}
@container (min-width:640px){.jlay{grid-template-columns:minmax(210px,250px) minmax(0,1fr)}.jlay>.jny{position:sticky;top:8px}}
.jmain{min-width:0;position:relative}
.jny{list-style:none;margin:0;padding:6px 0;position:relative}
.jny li{position:relative;display:flex;gap:10px;padding:0 0 14px}
.jny li::before{content:"";position:absolute;inset-inline-start:11px;top:24px;bottom:0;width:2px;background:var(--line,#e4e1ee);border-radius:2px}
.jny li:last-child::before{display:none}
.jny li.done::before{background:var(--accent,#6d3df5)}
.jny .jd{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:11.5px;font-weight:800;background:var(--surface,#fff);border:2px solid var(--line,#e4e1ee);color:var(--mute,#6b6b7b);position:relative;z-index:1}
.jny .jd .i{width:13px;height:13px}
.jny li.done .jd{background:var(--accent,#6d3df5);border-color:var(--accent,#6d3df5);color:#fff}
.jny li.now .jd{border-color:var(--accent,#6d3df5);color:var(--accent,#6d3df5);animation:pgpulse 1.8s ease-in-out infinite}
.jny li.stuck .jd{border-color:#d9822b;color:#d9822b}
.jny .jt{min-width:0;display:flex;flex-direction:column;gap:2px;padding-top:2px}
.jny .jt b{font-size:14px;font-weight:700;color:var(--mute,#6b6b7b)}
.jny li.done .jt b{color:var(--ink,#1b1530)}
.jny li.now .jt b{color:var(--accent,#6d3df5);font-weight:800}
.jny .jt small{font-size:12.5px;color:var(--mute,#6b6b7b);line-height:1.4}
.jny li.now .jt small{color:var(--ink,#1b1530)}
.jny li:not(.done):not(.now):not(.stuck) .jt small{opacity:.75}
.jdet{display:flex;flex-direction:column;gap:3px;margin-top:4px;font-size:12px;color:var(--mute,#6b6b7b)}
.jdet b{color:var(--ink,#1b1530);font-weight:600}
.jdet .pisw{margin-top:2px}
@media (prefers-reduced-motion:reduce){.jny li.now .jd{animation:none}}
/* a scene that waits for the owner's own photo (a real before/after, their face): its slot and upload button */
.sb-mini .sb-slot{position:absolute;inset-inline:6px;top:6px;display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;background:var(--warn-soft);color:var(--warn);font-size:11px;font-style:normal;font-weight:700}
.sb-mini .sb-slot .i{width:12px;height:12px}
.sb-slotbox{display:grid;gap:8px;margin-top:6px;padding:10px 12px;border-radius:14px;background:var(--warn-soft)}
.sb-slotbox p{display:flex;gap:6px;margin:0;font-size:13px}
.sb-slotbox .i{width:16px;height:16px;flex:none;margin-top:2px}

/* the 1080p finish, always offered on an AI film's draft versions (2026-11-19) */
.btn.hd .i{width:15px;height:15px;margin-inline-end:5px;vertical-align:-2px}

/* the storyboard beside its journey: side by side on a wide pane; on a narrower one the journey is one slim row on top */
.jlay.sb{grid-template-columns:1fr}
@container (min-width:640px){.jlay.sb{grid-template-columns:1fr}}
@container (min-width:820px){.jlay.sb{grid-template-columns:minmax(180px,210px) minmax(0,1fr)}}
@container (max-width:819px){
  .jlay.sb>.jny{display:flex;gap:4px;padding:2px 0 4px;overflow-x:auto;position:static}
  .jlay.sb>.jny li{flex:1;min-width:max-content;flex-direction:column;align-items:center;gap:4px;padding:0 4px;text-align:center}
  .jlay.sb>.jny li::before{inset-inline-start:calc(50% + 14px);inset-inline-end:calc(-50% + 14px);top:11px;bottom:auto;width:auto;height:2px}
  .jlay.sb>.jny .jt small,.jlay.sb>.jny .jdet{display:none}
  .jlay.sb>.jny li.now .jt small{display:block;max-width:150px;white-space:normal}
  .jlay.sb>.jny .jt b{font-size:12.5px}
}
/* the way to Tadda V2 (beta), at the top-left end of the test bar; the choice is remembered in localStorage "tadda-ui" */
.tb-v2{position:relative;flex:none;height:40px;padding:0 14px;border-radius:999px;display:inline-flex;align-items:center;background:var(--gold);color:#221A3B;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.tb-v2::after{content:"";position:absolute;inset:-2px -1px}
.tb-v2:focus-visible{outline:2px solid var(--on-bar);outline-offset:2px}
@media (max-width:560px){.tb-v2{height:36px;padding:0 10px;font-size:13px}.tb-v2::after{inset:-4px -1px}}

/* the three versions side by side, the one on screen marked (Ruby, 2026-11-24) */
.vers{flex:none;display:inline-flex;gap:2px;padding:3px;border-radius:999px;background:rgba(255,255,255,.1)}
.vers a{height:34px;min-width:40px;padding:0 10px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:var(--on-bar);font-size:13.5px;font-weight:700;text-decoration:none;opacity:.78}
.vers a:hover{opacity:1;background:rgba(255,255,255,.12)}
.vers a[aria-current="page"]{background:var(--gold);color:#221A3B;opacity:1}
.vers a:focus-visible{outline:2px solid var(--on-bar);outline-offset:2px}
@media (max-width:560px){.vers a{height:30px;min-width:34px;padding:0 8px;font-size:12.5px}}
/* the way to V2 for owners (signed in with Google): shown only when the test bar is hidden for them */
.v2-bar{display:none}
.testbar[hidden]+.v2-bar{display:flex;flex:none;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 12px;padding:4px max(16px,env(safe-area-inset-right,0px)) 4px max(16px,env(safe-area-inset-left,0px));background:var(--bar);color:var(--on-bar);font-size:14px;line-height:20px}
.v2-bar .v2-go{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px;border-radius:999px;background:var(--gold);color:#221A3B;font-weight:700;text-decoration:none;white-space:nowrap;position:relative}
.v2-bar .v2-go::after{content:"";position:absolute;inset:-4px -2px}
.v2-bar .v2-go small{font-size:12px;font-weight:600;opacity:.85}
.v2-bar .v2-go:focus-visible{outline:2px solid var(--on-bar);outline-offset:2px}
.v2-bar .v2-short{display:none}
@media (max-width:560px){.v2-bar .v2-long{display:none}.v2-bar .v2-short{display:inline}.testbar[hidden]+.v2-bar{flex-wrap:nowrap}}

/* page changes, stage A: the menu and the list under the owner's page in change mode */
.pv .chg{flex:none;max-height:min(52vh,420px);overflow:auto;background:var(--surface);border-top:1px solid var(--line);padding:14px 16px calc(14px + env(safe-area-inset-bottom,0px));display:grid;gap:10px;box-shadow:0 -10px 30px -18px rgba(34,26,59,.35)}
.chg-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.chg-t{font-size:16px}
.chg-msg{margin:0;color:var(--muted);font-size:15px;line-height:1.5;display:flex;gap:8px;align-items:center}
.chg-was{margin:0;color:var(--muted);font-size:14px}
.chg-chips{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.chg-chip{min-height:48px;border-radius:14px;border:1.5px solid var(--line);background:var(--field);color:var(--ink);font:600 15px var(--f);cursor:pointer;padding:8px 10px;display:flex;align-items:center;justify-content:center;gap:6px}
.chg-chip.say{grid-column:1/-1;background:var(--accent-soft);border-color:transparent;color:var(--accent-ink)}
.chg-chip.ghost{grid-column:1/-1;background:none}
.chg-chip:focus-visible,.chg-img:focus-visible,.chg-swc:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.chg-lab{font-weight:600;font-size:14px}
.chg textarea,.chg input:not([type=file]){font:16px var(--f);padding:12px 14px;border-radius:12px;border:1.5px solid var(--line);background:var(--field);color:var(--ink);width:100%;box-sizing:border-box}
.chg-acts{display:flex;gap:8px;flex-wrap:wrap}
.chg-acts .btn{min-height:46px}
.chg-up{cursor:pointer}
.chg-imgs{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px}
.chg-img{padding:0;border:0;border-radius:10px;overflow:hidden;aspect-ratio:1;cursor:pointer;background:var(--field)}
.chg-img img{width:100%;height:100%;object-fit:cover;display:block}
.chg-sw{display:flex;gap:10px;flex-wrap:wrap}
.chg-swc{width:48px;height:48px;border-radius:50%;border:2px solid var(--line);cursor:pointer}
.chg-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.chg-list li{display:flex;align-items:center;gap:10px;min-width:0}
.chg-n{flex:none;width:26px;height:26px;border-radius:50%;background:var(--accent);color:var(--on-accent);font-weight:700;font-size:13px;display:grid;place-items:center}
.chg-l{flex:1;min-width:0;font-size:15px;overflow-wrap:anywhere}
.chg-x{flex:none;width:40px;height:40px;border:0;background:none;color:var(--muted);cursor:pointer;display:grid;place-items:center;border-radius:10px}
.chg-q{margin:0;font-size:13px;color:var(--muted)}
.chg-err{margin:0;color:var(--warn);background:var(--warn-soft);border-radius:10px;padding:8px 12px;font-size:14px}
.chg-fail{background:var(--warn-soft);color:var(--warn);border-radius:12px;padding:10px 12px;display:grid;gap:4px}
.chg-fail p{margin:0;font-size:14px}
.chg-row{display:flex;gap:8px}
/* page changes, stages B and C: say it in one spot (typed or recorded), what needs the builder, a marked screenshot */
.chg-say{display:flex;gap:8px;align-items:flex-start}
.chg-say textarea{flex:1;min-width:0}
.chg-say .mic{flex:none;width:48px;height:48px}
.chg-bld{background:var(--accent-soft);border-radius:12px;padding:10px 12px;display:grid;gap:6px}
.chg-bld ul{margin:0;padding-inline-start:18px;display:grid;gap:2px;font-size:14px}
.chg-bld .btn{justify-self:start}
.chg-shot{display:flex;gap:10px;align-items:flex-start;font-size:15px;cursor:pointer}
.chg-shot input{width:20px;height:20px;flex:none;margin-top:2px;accent-color:var(--accent)}

/* the page preview on the whole screen (the owner, 2026-11-23) */
.pv.full{position:fixed;inset:0;z-index:80}
.pv .pvfull{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.pv .pvfull .i{width:16px;height:16px}

/* ---------- V1 clarity (2026-11-24, the founder's approved fixes: docs/mockups/v1-fixes-brief.md) ---------- */
/* C1: messages sit by the composer, like WhatsApp, instead of at the top of an empty column */
.msgs>:first-child{margin-top:auto}
/* C2: the side pane's steps and cards keep off its edges */
.split .pane>.nowv{padding:4px 28px 24px}
/* C4: a new chat's empty pane is a small quiet note, not a 570px illustration beside an empty chat */
.split .pane .nowidle{min-height:0;justify-content:flex-start;padding:64px 24px 24px;gap:6px}
.split .pane .nowidle .hero{zoom:.55}
/* A2: a stuck film reads in the warn colour in the conversations list */
.cv-it.warn .cv-s{color:var(--warn);font-weight:600}
/* C5: no leads yet: the zeros are muted, not numbers that look like data */
.kpis.none .kpi b{color:var(--muted)}
/* C9: a thin scrollbar in the conversations list */
.convs{scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.convs::-webkit-scrollbar{width:6px}
.convs::-webkit-scrollbar-thumb{background:var(--line);border-radius:6px}
.convs::-webkit-scrollbar-track{background:transparent}
/* C3: the usage box in the phone's drawer has a solid band around it: the chats never peek out under it */
.cvpanel .convs .pmeter{box-shadow:0 0 0 12px var(--screen)}
/* B8: "להסתיר" sits on the heading's row of the outputs, results and the business, not on a row of its own */
@media (min-width:1100px){
  .head2 .hrow{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .head2 .hrow .panefold{position:static;margin:0;flex:none}
}
@media (max-width:560px){
  /* A6: the whole pill with the word "שיחות", never squeezed (the word stays: see .cvbtn.pill above) */
  .ahead .top .cvbtn.pill{width:auto;min-width:0;white-space:nowrap;padding:0 10px}
  /* on a phone the pill keeps the word and the new-messages badge; the total count went, and the badge sits on the
     screen-edge corner, so neither lands on the new-chat pencil next to it (2026-11-24) */
  .ahead .top .cvbtn.pill .pl b{display:none}
  .ahead .top .cvbtn.pill .un{inset-inline-end:auto;inset-inline-start:-4px}
  .ahead .top .hconv{margin-inline-end:10px}
  /* A5: a film's buttons in a full-width grid under it: approve first and widest, the delete alone at the end */
  .item.vid > .vsw,.item.vid > video,.item.vid > .th-ic{grid-row:1}
  .item.vid .acts{grid-column:1 / -1;grid-row:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .item.vid .acts .btn.sm{width:100%;justify-content:center;padding:0 10px}
  .item.vid .acts .btn.ok{grid-column:1 / -1}
  .item.vid .acts .btn.del{grid-column:1 / -1;justify-self:end;width:auto}
  /* C7: the dots, the rename pencil and the add button are 40px to the finger */
  .cv-dots,.cv-add,.rn{width:40px;height:40px}
}
/* D (2026-11-24): the outputs by type, and an archive for what is approved (outputs and chats), in the business
   picker's .carch look */
.otype{display:flex;align-items:baseline;gap:6px;margin:4px 0 -8px;font-size:15px;font-weight:800}
.otype small{color:var(--muted);font-weight:700;font-size:13px}
.ofrom{display:block;border:0;background:none;padding:0;margin-top:5px;font:inherit;font-size:12.5px;color:var(--muted);cursor:pointer;text-align:start;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ofrom:hover{color:var(--ink)}
.convs .carch,.scroll .carch{border-top-color:var(--line);color:var(--muted);width:100%;flex:none}
.scroll .carch{margin-top:-6px;padding:12px 4px 4px;font-size:14px}
.cv-arc .cv-it .cv-n{color:var(--muted);font-weight:500}
.oarch{display:grid;gap:8px;margin-top:-8px}
.arow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 10px;border-radius:14px;background:var(--surface);border:1px solid var(--line)}
.arow .mini{width:34px;aspect-ratio:9/16;border-radius:6px;object-fit:cover;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center}
.arow .mini svg{width:16px;height:16px}
.arow b{display:block;font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.arow small{font-size:12.5px;color:var(--muted)}
.arow .btn.sm{height:34px;font-size:13px;padding:0 10px;white-space:nowrap}
.robar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 14px 18px;padding:6px 6px 6px 14px;padding-inline-start:16px;border-radius:24px;background:var(--field);border:1px solid var(--line);font-size:14px;color:var(--muted);flex:none}
.robar .btn.sm{height:36px;font-size:13.5px;padding:0 14px;white-space:nowrap;flex:none}
.split .chatcol .robar{width:auto}
.arcl{text-align:center;font-size:12.5px;color:var(--muted);margin:2px 0 8px}
@media (max-width:767px){.robar{margin:6px 10px max(8px,env(safe-area-inset-bottom,0px));font-size:13.5px}}
/* what a chat is about (2026-11-24): a small icon before its name in the list, the type word first in its second line
   and before its name in the bar on top ("דף נחיתה · קניתם דירה על הנייר?") */
.cv-ti{display:inline-flex;vertical-align:-3px;margin-inline-end:6px;color:var(--muted,#6b6b7b)}
.cv-ti svg{width:15px;height:15px;flex:none}
.cv-it.on .cv-ti{color:var(--accent,#6d3df5)}
.thead .tty{flex:none;font-size:14px;font-weight:500;color:var(--muted,#6b6b7b);white-space:nowrap;line-height:1.3}
.thead .back,.thead .tv{flex:none;white-space:nowrap}
@media (max-width:520px){.thead{gap:6px;padding:8px}.thead .tty{font-size:13px}}
.chg-leave{background:var(--warn-soft);border-radius:12px;padding:12px;display:grid;gap:8px}
.chg-leave .chg-t{color:var(--warn)}
.leave-dlg{border:0;border-radius:20px;padding:24px;max-width:min(440px,calc(100vw - 32px));width:100%;box-shadow:0 24px 60px rgba(0,0,0,.35);background:var(--surface, var(--bg, #fff));color:var(--ink, var(--text, #1b1530));font-family:inherit}
.leave-dlg::backdrop{background:rgba(12,8,24,.55)}
.leave-dlg h2{margin:0 0 10px;font-size:20px}
.leave-dlg p{margin:0 0 8px;line-height:1.5}
.leave-dlg .leave-sub{opacity:.75;font-size:14px}
.leave-acts{display:grid;gap:8px;margin-top:16px}
.leave-acts .btn{width:100%;justify-content:center;min-height:46px}

/* a storyboard for a film the owner shoots (Ruby, 2026-11-25): frames in the film's shape, seconds, words, tips */
.slcard{background:var(--surface);border-radius:22px;box-shadow:var(--shadow);padding:18px}
.sl-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-bottom:14px}
.sl-head>b{font-size:17px}
.sl-head .sb-chips{margin-inline-start:auto}
.sl-beats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
.sl-beats>li{display:flex;flex-direction:column;gap:8px}
.sl-frame{position:relative;border-radius:14px;overflow:hidden;background:linear-gradient(160deg,#efeaf9,#e2daf5);aspect-ratio:9/16}
.sl-frame.a1x1{aspect-ratio:1}.sl-frame.a16x9{aspect-ratio:16/9}
.sl-frame.screen{background:linear-gradient(160deg,#2a2146,#463775)}
.sl-fig{position:absolute;left:50%;bottom:0;transform:translateX(-50%);background:#b9acdf;border-radius:48% 48% 0 0}
.sl-fig>i{position:absolute;left:50%;transform:translateX(-50%);background:#b9acdf;border-radius:50%}
.sl-fig.close{width:92%;height:46%}.sl-fig.close>i{width:62%;aspect-ratio:1;bottom:70%}
.sl-fig.medium{width:62%;height:34%}.sl-fig.medium>i{width:46%;aspect-ratio:1;bottom:84%}
.sl-fig.wide{width:24%;height:16%;bottom:14%}.sl-fig.wide>i{width:54%;aspect-ratio:1;bottom:92%}
.sl-frame.wide::after{content:"";position:absolute;inset:auto 0 0;height:14%;background:#d2c8ee}
.sl-obj{position:absolute;left:50%;top:52%;width:46%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:18px;background:#b9acdf}
.sl-txt{position:absolute;inset-inline:8px;top:14%;padding:5px 8px;border-radius:8px;background:rgba(255,255,255,.92);color:#221A3B;font-size:12px;font-weight:700;line-height:1.35;text-align:center}
.sl-frame.screen .sl-txt{top:50%;transform:translateY(-50%);background:none;color:#fff;font-size:13.5px}
.sl-sec{position:absolute;bottom:8px;inset-inline-start:8px;padding:2px 8px;border-radius:999px;background:rgba(34,26,59,.72);color:#fff;font-size:11.5px;direction:ltr}
.sl-d b{display:block;font-size:13.5px;line-height:1.45}
.sl-shot{color:var(--muted);font-size:12px}
.sl-say{margin:4px 0 0;font-size:13px;line-height:1.5;color:var(--accent-ink)}
.sl-tips{margin-top:16px;padding:12px 14px;border-radius:16px;background:var(--field)}
.sl-tips b{display:flex;align-items:center;gap:6px;font-size:14px}
.sl-tips ul{margin:6px 0 0;padding-inline-start:18px;font-size:13.5px;line-height:1.6}
.sl-foot{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.sl-foot .btn{gap:6px}
@media (max-width:767px){.sl-beats{grid-template-columns:repeat(2,1fr)}}

/* a cinematic direction's preview and the contract's scene list (2026-11-26) */
.pici{display:block;margin-top:6px}.pici img{display:block;width:100%;max-width:240px;border-radius:8px;margin-bottom:4px}
.pisc{margin:6px 0 0;padding-inline-start:18px}ol.pisc li{display:block;margin:4px 0}ol.pisc li small{display:block;opacity:.8;margin-top:2px}
