:root{
  --bg:#141016; --surface:#1e1720; --surface2:#271e2a; --ink:#f1e7dc; --muted:#a3949b; --line:#382c3a;
  --accent:#d0566c; --accent-ink:#1a0f14; --gold:#d6b061; --ok:#7cc59a; --run:#6fb3e8; --warn:#e2a35a; --bad:#ef6f6f;
  --display:"Gloock", Georgia, serif; --body:"Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; --mono:"JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme:dark;
}
*{box-sizing:border-box}
html,body,button,a,.tab,.chip,.act,.pcard,.gitem .media,.serstage,video,img{touch-action:manipulation}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font:15px/1.5 var(--body);padding:env(safe-area-inset-top,0) max(16px,env(safe-area-inset-right,0px)) 60px max(16px,env(safe-area-inset-left,0px))}
.wrap{max-width:1100px;margin:0 auto;display:flex;flex-direction:column;gap:18px}
header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:18px}
h1{font:400 1.9rem var(--display);margin:0}
h1 em{font-style:normal;color:var(--accent)}
h2{font:400 1.3rem var(--display);margin:0}
nav{display:flex;gap:6px;flex-wrap:wrap}
/* 🔗 the show's own pages (the live page, its admin, the chat demo, the series), at hand under the tabs */
.quick{flex-basis:100%;display:flex;gap:6px 14px;flex-wrap:wrap;font-size:.82rem}
.quick a{color:var(--muted);text-decoration:none;border-bottom:1px dotted var(--line)}
.quick a:hover{color:var(--ink)}
.tab{font:inherit;background:transparent;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:7px 14px;cursor:pointer}
.tab[aria-selected="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:14px;min-width:0}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
label.f{display:flex;flex-direction:column;gap:5px;font-size:.74rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;min-width:0}
input,select,textarea{font:inherit;font-size:1rem;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:9px;padding:9px 10px;width:100%;min-width:0;text-transform:none;letter-spacing:0}
textarea{resize:vertical}
#idea{font-size:1.05rem;min-height:80px}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chip{font:inherit;font-size:.88rem;border:1px solid var(--line);background:var(--surface2);color:var(--ink);border-radius:999px;padding:6px 12px;cursor:pointer}
.chip[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.btn{font:inherit;font-weight:600;border:0;border-radius:10px;padding:10px 16px;cursor:pointer;background:var(--accent);color:var(--accent-ink)}
.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line);font-weight:500}
.btn:disabled{opacity:.45;cursor:not-allowed}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.muted{color:var(--muted)} .small{font-size:.84rem}
.mono{font-family:var(--mono);font-variant-numeric:tabular-nums}
.status{font-size:.9rem;color:var(--muted);min-height:1.3em}.status.err{color:var(--bad)}
details{border:1px dashed var(--line);border-radius:10px;padding:8px 12px} summary{cursor:pointer;color:var(--muted);font-size:.9rem}
.banner{border:1px solid var(--warn);color:var(--ink);background:color-mix(in srgb,var(--warn) 10%,transparent);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:6px}
.banner code{font-family:var(--mono);background:var(--surface2);padding:1px 6px;border-radius:5px}
.overlay{position:fixed;inset:0;background:rgba(10,8,12,.85);display:flex;align-items:center;justify-content:center;z-index:20;padding:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}
/* a phone with the keyboard open: the card sits at the top, where it stays visible, never off screen over a dark layer */
@media (max-width:700px){.overlay{align-items:flex-start;padding-top:calc(env(safe-area-inset-top,0px) + 12px)}}
.overlay .card{max-width:380px;width:100%}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
.stat{background:var(--surface2);border-radius:10px;padding:10px 12px}
.stat b{display:block;font:400 1.5rem var(--display)}
.stat span{font-size:.75rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.pbar{height:6px;background:var(--surface2);border-radius:99px;overflow:hidden}
.pbar i{display:block;height:100%;background:linear-gradient(90deg,var(--accent),var(--gold));width:0;transition:width .6s}
.pill{display:inline-block;font-size:.72rem;border-radius:999px;padding:2px 9px;border:1px solid currentColor;white-space:nowrap}
.s-done{color:var(--ok)} .s-running,.s-polling{color:var(--run)} .s-ready,.s-waiting{color:var(--muted)} .s-failed{color:var(--bad)} .s-skipped{color:var(--muted)} .s-hold{color:var(--gold)}
.flow{overflow-x:auto}
.flowgrid{display:grid;grid-template-columns:minmax(150px,1.3fr) repeat(3,minmax(150px,1fr));gap:8px;min-width:680px;align-items:stretch}
@media (max-width:700px){.flowgrid{min-width:0;grid-template-columns:1fr 1fr}.flowgrid .colh{display:none}.flowgrid .scene-txt{grid-column:1 / -1}}
.colh{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--gold);padding:0 4px}
.node{position:relative;background:var(--surface2);border:1px solid var(--line);border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;gap:5px;min-width:0}
.node.running,.node.polling{border-color:var(--run);box-shadow:0 0 0 1px color-mix(in srgb,var(--run) 40%,transparent)}
.node.done{border-color:color-mix(in srgb,var(--ok) 50%,var(--line))}
.node.failed{border-color:var(--bad)}
.node.na{opacity:.5;border-style:dashed}
.node .top{display:flex;justify-content:space-between;gap:6px;align-items:center;font-size:.82rem}
.node .t{font-family:var(--mono);font-size:.72rem;color:var(--muted)}
.node .err{font-size:.72rem;color:var(--bad);overflow-wrap:anywhere}
.node .tame{font-size:.72rem;color:var(--warn);overflow-wrap:anywhere}
.node img,.node video{width:100%;border-radius:6px;aspect-ratio:9/16;object-fit:cover;max-height:150px;background:#000}
.node audio{width:100%;height:30px}
.node .mini{height:3px;background:var(--line);border-radius:3px;overflow:hidden}.node .mini i{display:block;height:100%;background:var(--run)}
.scene-txt{font-size:.85rem;padding:8px 10px;border-left:2px solid var(--accent);background:var(--surface);border-radius:0 8px 8px 0}
.scene-txt .n{font:400 1.1rem var(--display);color:var(--accent);margin-right:6px}
.wide{grid-column:1 / -1}
@keyframes pulse{50%{opacity:.4}} .running .dot,.polling .dot{animation:pulse 1.2s infinite}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.final video{width:100%;max-width:360px;border-radius:12px;background:#000}
.final{display:flex;gap:18px;flex-wrap:wrap;align-items:flex-start}
.final .info{flex:1;min-width:240px;display:flex;flex-direction:column;gap:10px}
.copybox{white-space:pre-wrap;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px;font-size:.9rem}
.plist{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.pcard{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px;cursor:pointer;text-align:left;font:inherit;color:inherit}
.pcard:hover{border-color:var(--muted)}
.pcard .thumb{position:relative;width:100%;aspect-ratio:16/9;max-height:220px;border-radius:8px;background:#000;overflow:hidden}
.pcard .thumb img{width:100%;height:100%;object-fit:cover}
.pcard .thumb.play::after{content:"▶";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:44px;height:44px;border-radius:50%;background:#000a;color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px}
.gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.gitem{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.gitem .media{background:#000;aspect-ratio:9/16;display:flex;align-items:center;justify-content:center;position:relative}
.gitem .media .gplay{position:absolute;inset:auto;width:64px;height:64px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:26px;display:flex;align-items:center;justify-content:center;cursor:pointer;padding-left:4px;box-sizing:border-box}
.gitem .media.vid{cursor:pointer}
.gitem .media .gplay.on{opacity:0;transition:opacity .4s}
.gitem .media:hover .gplay.on,.gitem .media:active .gplay.on{opacity:1}
.gitem .media .gbig{position:absolute;top:8px;right:8px;width:36px;height:36px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:18px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.gitem .media .gbar{position:absolute;left:8px;right:8px;bottom:8px;height:14px;display:flex;align-items:center;cursor:pointer}
.gitem .media .gbar::before{content:"";position:absolute;left:0;right:0;height:4px;border-radius:2px;background:rgba(255,255,255,.3)}
.gitem .media .gbar i{position:relative;height:4px;border-radius:2px;background:var(--gold,#e8c27a);width:0}
.gitem .media img,.gitem .media video{width:100%;height:100%;object-fit:cover}
.gitem .media.aud{aspect-ratio:auto;padding:16px 8px;background:var(--surface2)}
.gitem .meta{padding:8px 10px;display:flex;flex-direction:column;gap:6px;font-size:.78rem}
.gitem .prompt{color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#chList{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
@media (max-width:520px){#chList{grid-template-columns:repeat(2,1fr);gap:8px}#chForm{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
.gitem.ch .media{aspect-ratio:4/5}
.gitem.ch .sheet{display:block;background:#000;aspect-ratio:16/9;border-top:1px solid var(--line)}
.gitem.ch .sheet img{width:100%;height:100%;object-fit:cover;display:block}
.gitem.ch .acts{flex-wrap:wrap}
[hidden]{display:none!important}
.acts{display:flex;gap:4px;flex-wrap:wrap}
.act{font:inherit;font-size:.78rem;background:transparent;color:var(--gold);border:1px solid color-mix(in srgb,var(--gold) 45%,transparent);border-radius:7px;padding:6px 10px;min-height:32px;cursor:pointer}
.act:hover{background:color-mix(in srgb,var(--gold) 15%,transparent)}
.scene-txt.editable{cursor:pointer}.scene-txt.editable:hover{background:var(--surface2)}
.modal .card{max-width:640px;width:100%;max-height:88vh;max-height:88dvh;overflow:auto}
.pick{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}
.pick button{padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:#000;cursor:pointer;aspect-ratio:9/16}
.pick button:hover{border-color:var(--gold)}
.pick img,.pick video{width:100%;height:100%;object-fit:cover;display:block}
.pick .aud{aspect-ratio:auto;background:var(--surface2);color:var(--ink);padding:8px;font-size:.75rem;text-align:left}
.editbar{border:1px solid var(--gold);border-radius:12px;padding:12px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:color-mix(in srgb,var(--gold) 8%,transparent)}
.review{display:flex;flex-direction:column;gap:12px}
.rv-scene{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;border:1px solid var(--line);border-radius:10px;padding:10px;background:var(--bg)}
.rv-scene .n{font:400 1.3rem var(--display);color:var(--accent);grid-row:span 3}
.rv-scene textarea{font-size:1rem;line-height:1.5}
.rv-scene details textarea{font-family:var(--mono);font-size:.78rem}
.rv-meta{font-family:var(--mono);font-size:.78rem;color:var(--muted)}
.rv-full{white-space:pre-wrap;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:14px;font-size:1.02rem;line-height:1.65}
.tab.dl{color:var(--gold);border-color:var(--gold)}
.tab.dl:hover{background:var(--gold);color:var(--bg)}

/* series player: one stage that stays fullscreen while the clips change */
.serstage{position:relative;width:100%;max-width:360px;aspect-ratio:9/16;background:#000;border-radius:12px;overflow:hidden;cursor:pointer}
.serstage video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;max-width:none;border-radius:0;background:#000}
.serstage .sercap{position:absolute;left:0;right:0;top:0;padding:14px 16px;background:linear-gradient(#000a,#0000);color:#fff;font-weight:700;opacity:0;transition:opacity .4s;pointer-events:none}
.serstage .sercap.show{opacity:1}
.serstage .serbar{position:absolute;left:0;right:0;bottom:0;height:3px;background:#fff2}
.serstage .serbar i{display:block;height:100%;width:0;background:var(--gold,#E6C36A)}
.serstage .serx{position:absolute;top:10px;right:10px;display:none;width:40px;height:40px;border-radius:50%;border:0;background:#0008;color:#fff;font-size:18px}
.serstage .sernav{position:absolute;left:0;right:0;bottom:18px;display:flex;justify-content:space-between;padding:0 14px;opacity:0;transition:opacity .4s;pointer-events:none}
.serstage .sernav button{width:46px;height:46px;border-radius:50%;border:0;background:#0009;color:#fff;font-size:18px;pointer-events:auto}
.serstage .sernav button:disabled{opacity:.3}
.serstage.ctl .sernav,.serstage:hover .sernav{opacity:1}
.serstage.pfs{position:fixed;inset:0;z-index:9999;max-width:none;width:100vw;height:100vh;height:100dvh;aspect-ratio:auto;border-radius:0}
.serstage.pfs .serx{display:block}
.serstage:fullscreen{max-width:none;width:100vw;height:100vh;aspect-ratio:auto;border-radius:0}
.serstage:fullscreen .serx{display:block}
.serstage:-webkit-full-screen{max-width:none;width:100vw;height:100vh;aspect-ratio:auto;border-radius:0}
.serstage:-webkit-full-screen .serx{display:block}
body.pfs-on{overflow:hidden}

/* ElevenLabs voice library */
.vlist{display:flex;flex-direction:column;gap:6px;margin-top:8px}
.vcard{display:flex;gap:10px;align-items:center;background:var(--surface2);border:1px solid var(--line);border-radius:10px;padding:8px 10px}
.vcard.added{border-color:var(--ok)}
.vplay{width:40px;height:40px;border-radius:50%;border:0;background:var(--gold);color:var(--bg);font-size:14px;flex:none;cursor:pointer}
#vlib summary{font-weight:600;color:var(--ink)}
.vrow{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid var(--line);border-radius:10px}.vrow select{width:100%}.vrow .row{flex-wrap:wrap;gap:6px}
.vauto{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-size:.9rem;cursor:pointer}.vauto input{width:auto;flex:0 0 auto;margin:0;accent-color:var(--accent)}
/* full-screen viewer with "Înapoi" */
.fsv{position:fixed;inset:0;z-index:90;background:#08060a;display:flex;flex-direction:column}
.fsv[hidden]{display:none}
body.fsv-on{overflow:hidden}
.fsv-top{display:flex;align-items:center;gap:12px;padding:calc(env(safe-area-inset-top,0px) + 10px) 14px 8px}
.fsv-back{font:600 1rem var(--body);background:var(--ink);color:var(--bg);border:0;border-radius:999px;padding:10px 18px;cursor:pointer;flex:none}
.fsv-cap{color:var(--muted);font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fsv-stage{flex:1;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;padding:6px 10px}
.fsv-stage video,.fsv-stage img{max-width:100%;max-height:100%;border-radius:10px;background:#000;object-fit:contain}
.fsv-ph{color:var(--muted);font:400 1.2rem var(--display);padding:40px;text-align:center}
.fsv-sub{position:absolute;left:50%;bottom:9%;transform:translateX(-50%);max-width:86%;text-align:center;font-weight:700;color:#fff;text-shadow:0 2px 6px #000,0 0 2px #000;font-size:1.05rem}
.fsv-sub:empty{display:none}
.fsv-bar{position:absolute;left:10px;right:10px;bottom:2px;height:3px;background:rgba(255,255,255,.15);border-radius:2px}
.fsv-bar i{display:block;height:100%;background:var(--gold);border-radius:2px;width:0}
.fsv-ctl{display:flex;justify-content:center;gap:12px;padding:8px 0 calc(env(safe-area-inset-bottom,0px) + 14px)}
.fsv-ctl:empty{display:none}
.fsv-ctl button{font-size:1.2rem;background:var(--surface2);color:var(--ink);border:1px solid var(--line);border-radius:999px;width:54px;height:46px;cursor:pointer}
/* montage bar on top of a project */
.mbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--surface2)}
.mbar[hidden]{display:none}
/* series logo */
.brandbox{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--surface2)}
.brandbox summary{cursor:pointer;font-weight:600}
.brandlogo{max-width:140px;max-height:90px;object-fit:contain;background:#0d0b12;border-radius:8px;padding:6px}
.brandlogo[hidden]{display:none}
/* voice test + relations */
.vtest{display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--surface2)}
.relp{display:inline-flex;align-items:center;gap:6px}
.relp img{width:22px;height:22px;border-radius:50%;object-fit:cover}
/* Montaj tab */
.mjgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px;max-height:52vh;overflow:auto}
.mjit{position:relative;border:2px solid var(--line);border-radius:10px;background:#000;padding:0;overflow:hidden;cursor:pointer;aspect-ratio:9/16;color:var(--ink)}
.mjit video,.mjit img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.mjit.on{border-color:var(--gold)}
.mjn{position:absolute;top:6px;left:6px;background:var(--gold);color:#1a0f14;font-weight:700;border-radius:999px;min-width:24px;height:24px;line-height:24px;font-size:.8rem}
.mjn:empty{display:none}
.mjt{position:absolute;left:0;right:0;bottom:0;padding:4px 6px;font-size:.68rem;text-align:left;background:linear-gradient(transparent,rgba(0,0,0,.85));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mjpicked{display:flex;flex-direction:column;gap:4px}
.mjrow{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:3px 0}
.mjrow span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mjcard{background:var(--surface2);gap:8px}
.mjcardimg{max-width:90px;border-radius:8px}
.mjcardimg[hidden]{display:none}
.vstars{display:inline-flex;gap:1px}
.vstars button{background:none;border:0;padding:2px 1px;font-size:18px;line-height:1;color:var(--line);cursor:pointer}
.vstars button.on{color:var(--gold)}
.chvoice{align-items:center}
.autosum{display:flex;flex-direction:column;gap:6px;border:1px solid var(--gold);border-radius:12px;padding:10px 12px;background:var(--surface2);margin-top:8px}
.scene-tools{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.lookbox{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--surface2)}
.lookbox .grid{margin:6px 0 10px}
.lkprev{display:flex;gap:8px;overflow-x:auto;margin-top:8px}
.lkprev figure{margin:0;flex:none;width:150px}
.lkprev img{width:150px;border-radius:10px;display:block}
.lkperson{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:10px;padding:8px;background:var(--surface2)}
.lkperson img,.lknoimg{width:56px;height:56px;border-radius:8px;object-fit:cover;flex:none;background:var(--line);display:grid;place-items:center}
.lkissues{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:6px}
.lkiss{display:flex;align-items:center;gap:6px;font-size:14px;cursor:pointer}
#lkModal .card{max-width:640px;width:100%;max-height:90vh;overflow:auto;display:flex;flex-direction:column;gap:10px}
.rv-brief{display:flex;flex-direction:column;gap:4px;border:1px solid var(--gold);border-radius:12px;padding:10px 12px;background:var(--surface2)}
.rv-req{font-size:14px}
.rv-req.bad{color:var(--err,#e66)}
.wardrobe{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:6px 12px;margin:6px 0 10px}
.wrow{display:grid;grid-template-columns:auto 1fr;gap:4px 8px;align-items:center;font-size:14px}
.wrow input:not([type=checkbox]){grid-column:1/-1}
.lkprev figure{position:relative}
.lkdel{position:absolute;top:4px;right:4px;border:0;border-radius:8px;background:rgba(0,0,0,.6);color:#fff;padding:2px 7px;cursor:pointer;font-size:13px}
.rv-plan{border-color:var(--line)}
.rv-beat{display:grid;grid-template-columns:72px 1fr;gap:8px;padding:6px 0;border-top:1px solid var(--line)}
.rv-t{font-variant-numeric:tabular-nums;color:var(--gold);font-weight:600}
.rv-line{margin-top:4px;font-style:italic}
.rv-prompt{white-space:pre-wrap;font-size:13px;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:8px;max-height:260px;overflow:auto}
.wrow{display:flex;flex-direction:column;gap:4px;border:1px solid var(--line);border-radius:10px;padding:6px 8px}
.wlab{display:flex;gap:6px;align-items:center;cursor:pointer}
.wcols{display:flex;gap:6px}
.wcols select{flex:1;min-width:0;font-size:13px}
.beat-card{display:flex;flex-direction:column;gap:3px;margin:4px 0 8px;padding:8px 10px;border-left:3px solid var(--gold);background:var(--surface2);border-radius:8px}
.beat-h{font-weight:700;color:var(--gold);font-size:14px}
.beat-a{font-size:14px;line-height:1.4}
.beat-m{font-size:12px;opacity:.75;line-height:1.35}
.sug-sum{display:flex;gap:8px;flex-wrap:wrap}
.sug-sum span{background:var(--surface2);border-radius:10px;padding:6px 12px;font-size:.88rem;color:var(--muted)}
.sug-sum b{font:400 1.2rem var(--display);color:var(--ink);margin-right:4px}
.sug-fixed ul{margin:8px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:6px;font-size:.9rem}
.sug-group{display:flex;flex-direction:column;gap:8px}
.sug-group h3{font:400 1.15rem var(--display);margin:6px 0 0;color:var(--gold)}
.sug-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px}
@media (max-width:700px){.sug-list{grid-template-columns:1fr}}
.sug-item{background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:6px;min-width:0}
.sug-item.v-da{border-color:var(--ok)} .sug-item.v-later{border-color:var(--gold)} .sug-item.v-nu{opacity:.55}
.sug-top{display:flex;flex-direction:column;gap:5px}
.sug-meta{display:flex;gap:5px;flex-wrap:wrap}
.p-mare{color:var(--accent)} .p-medie{color:var(--gold)} .p-mica{color:var(--muted)}
.sug-vote .chip{font-size:.82rem;padding:5px 10px}
/* 📋 De făcut: a quiet list. A round tick (its ring is the priority), the title, one line of who / priority / cost; a tap opens the rest */
.todo{gap:16px}
.todo-head{display:flex;flex-direction:column;gap:10px}
.todo-title{display:flex;justify-content:space-between;align-items:baseline;gap:4px 12px;flex-wrap:wrap}
.todo-prog{display:flex;align-items:center;gap:12px;font-size:.84rem;color:var(--muted)}
.todo-prog .pbar{flex:1;height:5px}
.todo-prog b{font:400 1.15rem var(--display);color:var(--ink)}
.todo-intro{margin:0;line-height:1.5}
.todo-filters{display:flex;flex-direction:column;gap:10px}
.todo-seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:3px;background:var(--bg);border:1px solid var(--line);border-radius:999px}
.todo-seg button,.todo-who button{font:inherit;font-size:.86rem;color:var(--muted);background:transparent;border:0;border-radius:999px;padding:7px 10px;cursor:pointer;white-space:nowrap}
.todo-filters button span{margin-left:6px;font-size:.74rem;font-variant-numeric:tabular-nums;opacity:.8}
.todo-seg button[aria-pressed="true"]{background:var(--surface2);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
.todo-who{display:flex;flex-wrap:wrap;gap:6px}
.todo-who button{font-size:.82rem;padding:5px 11px;border:1px solid var(--line)}
.todo-who button[aria-pressed="true"]{color:var(--gold);border-color:color-mix(in srgb,var(--gold) 60%,transparent);background:color-mix(in srgb,var(--gold) 10%,transparent)}
.todo-group{display:flex;flex-direction:column;gap:8px}
.todo-gh{display:flex;align-items:center;gap:10px;font:inherit;color:inherit;background:none;border:0;padding:6px 2px 0;cursor:pointer;text-align:left}
.todo-gn{flex:1;min-width:0;font:400 1.14rem/1.3 var(--display);color:var(--gold)}
.todo-gc{font-size:.78rem;color:var(--muted);font-variant-numeric:tabular-nums}
.todo-chev{color:var(--muted);font-size:1.2rem;line-height:1;transform:rotate(90deg);transition:transform .2s}
.todo-group.shut .todo-chev{transform:none}
.todo-about{margin:0 2px;line-height:1.45}
.todo-list{background:var(--surface2);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.todo-item{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;padding:12px 14px;border-top:1px solid var(--line)}
.todo-item:first-child{border-top:0}
.todo-item.open{background:color-mix(in srgb,var(--surface) 55%,var(--surface2))}
.todo-check{width:24px;height:24px;margin-top:1px;padding:0;border-radius:50%;border:2px solid color-mix(in srgb,var(--muted) 70%,transparent);background:transparent;cursor:pointer;display:grid;place-items:center;color:var(--accent-ink);font:700 .8rem var(--body);transition:background .15s,border-color .15s,transform .15s}
.todo-item[data-p="mare"] .todo-check{border-color:var(--accent)}
.todo-item[data-p="medie"] .todo-check{border-color:var(--gold)}
.todo-check:hover{background:color-mix(in srgb,var(--ok) 18%,transparent)}
.todo-check:active{transform:scale(.88)}
.todo-check[aria-checked="true"]{background:var(--ok);border-color:var(--ok)}
.todo-check[aria-checked="true"]::after{content:"✓"}
.todo-main{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:4px;min-width:0}
.todo-t{font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.todo-m{display:flex;flex-wrap:wrap;gap:0 6px;font-size:.78rem;color:var(--muted)}
.todo-m i{font-style:normal;opacity:.6}
.todo-dot{font-size:.62rem;vertical-align:1px}
.todo-new{display:inline-block;margin-left:7px;padding:0 6px;border:1px solid color-mix(in srgb,var(--gold) 55%,transparent);border-radius:999px;color:var(--gold);font-size:.64rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;vertical-align:2px}
.todo-det{grid-column:2;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding-top:10px}
.todo-det p{margin:0;font-size:.92rem;line-height:1.55}
.todo-links{display:flex;flex-wrap:wrap;gap:6px}
.todo-links a{font-size:.82rem;color:var(--gold);text-decoration:none;border:1px solid color-mix(in srgb,var(--gold) 40%,transparent);border-radius:999px;padding:5px 11px}
.todo-links a:hover{background:color-mix(in srgb,var(--gold) 12%,transparent)}
.todo-note{align-self:stretch;font-size:.88rem;white-space:pre-wrap;border-left:2px solid var(--gold);padding:2px 0 2px 10px}
.todo-act{font:inherit;font-size:.84rem;color:var(--muted);background:none;border:0;padding:2px 0;cursor:pointer}
.todo-act:hover{color:var(--ink)}
.todo-noteedit{align-self:stretch;display:flex;flex-direction:column;gap:8px}
.todo-err{grid-column:2;padding-top:6px;font-size:.82rem;color:var(--bad)}
.todo-item.done .todo-t{color:var(--muted);text-decoration:line-through;text-decoration-color:color-mix(in srgb,var(--muted) 60%,transparent)}
.todo-item.done .todo-new{display:none}
.todo-empty{margin:4px 2px}
.todo-badge{display:inline-grid;place-items:center;min-width:19px;height:19px;margin-left:7px;padding:0 5px;border-radius:999px;background:var(--accent);color:var(--accent-ink);font-size:.7rem;font-weight:700;line-height:1;vertical-align:1px}
.tab[aria-selected="true"] .todo-badge{background:var(--bg);color:var(--ink)}
@media (min-width:900px){.todo > *{width:100%;max-width:820px;margin-inline:auto}}
/* character editor and outfit clip composer: a full-screen sheet on the phone, a centred panel on a computer */
.chsheet{position:fixed;inset:0;z-index:60;background:rgba(10,8,12,.72);display:flex;justify-content:center}
.chsheet[hidden]{display:none}
.chs-panel{background:var(--bg);width:100%;max-width:860px;height:100%;height:100dvh;display:flex;flex-direction:column;min-height:0}
@media (min-width:900px){.chs-panel{height:calc(100dvh - 40px);margin-top:20px;border:1px solid var(--line);border-radius:16px;overflow:hidden}}
.chs-top{display:flex;align-items:center;gap:10px;padding:calc(env(safe-area-inset-top,0px) + 10px) 14px 10px;border-bottom:1px solid var(--line);background:var(--surface)}
.chs-top b{flex:1;min-width:0;font:400 1.2rem var(--display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chs-x{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:transparent;color:var(--ink);font-size:20px;cursor:pointer;flex:none}
.chs-tabs{display:flex;gap:6px;padding:8px 12px;overflow-x:auto;border-bottom:1px solid var(--line);background:var(--surface);scrollbar-width:none;flex:none}
.chs-tabs::-webkit-scrollbar{display:none}
.chs-tabs button{font:inherit;font-size:.88rem;flex:none;border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:999px;padding:8px 11px;cursor:pointer}
.chs-tabs button[aria-selected="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.chs-body{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:14px 14px calc(env(safe-area-inset-bottom,0px) + 28px);align-content:start}
.chs-off{display:none!important}
body.chs-on{overflow:hidden}
.chs-save{padding:6px 0 4px}
.chs-st{font-size:.78rem;color:var(--muted);max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chs-st.err{color:var(--bad)}
.lksec{display:flex;flex-direction:column;gap:10px;min-width:0}
.lksec h3{font:400 1.1rem var(--display);margin:6px 0 0;color:var(--gold)}
.lksec p{margin:0}
.lkgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
/* wardrobe: tiles; the open one shows its colours right under it */
.wtiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-auto-flow:dense;gap:8px}
.wtile{font:inherit;text-align:left;display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:12px;border:1px dashed var(--line);background:var(--surface);color:var(--muted);cursor:pointer;min-height:84px;min-width:0}
.wtile .wi{font-size:22px;line-height:1.2}
.wtile .wl{font-weight:600;color:var(--ink);font-size:.92rem}
.wtile .ws{font-size:.76rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wtile[aria-pressed="true"]{border-style:solid;border-color:color-mix(in srgb,var(--gold) 70%,var(--line));background:var(--surface2);color:var(--ink)}
.wtile.open{outline:2px solid var(--gold);outline-offset:1px}
.wdots{display:flex;gap:4px;margin-top:2px}.wdots i{width:14px;height:14px;border-radius:50%;box-shadow:inset 0 0 0 1px #fff4;display:inline-block}
.wed{grid-column:1/-1;border:1px solid var(--gold);border-radius:12px;padding:12px;background:var(--surface2);display:flex;flex-direction:column;gap:8px;min-width:0}
.wed-h{display:flex;align-items:center;gap:8px}.wed-h b{flex:1}
.sw{display:flex;flex-wrap:wrap;gap:8px;padding:4px 2px 8px}
.sw button{flex:none;width:36px;height:36px;border-radius:50%;border:2px solid transparent;box-shadow:inset 0 0 0 1px #fff4;cursor:pointer;padding:0}
.sw button[aria-pressed="true"]{border-color:var(--ink);box-shadow:0 0 0 2px var(--accent)}
.wshot:empty{display:none}.wshot figure{margin:0;width:140px}.wshot img{width:140px;border-radius:10px;display:block}
/* pictures: a new one, then her gallery */
.pvcard{display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--surface)}
.pvcard h3{margin:0}
.lkgal{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}
.lkgal figure{margin:0;position:relative;min-width:0}
.lkgal img{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:10px;display:block;background:#000;cursor:zoom-in}
.lkgal figcaption{font-size:.72rem;color:var(--muted);margin-top:3px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lbbig{width:100%;padding:14px 16px;font-size:1.02rem;margin-top:4px}
/* outfit clip composer */
.lbbody{display:flex;flex-direction:column;gap:16px}
.lbstep{display:flex;flex-direction:column;gap:8px;min-width:0}
.lbstep h3{font:400 1.12rem var(--display);margin:0;color:var(--gold)}
.lbgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;padding:2px}
.lbpick{position:relative;padding:0;border:3px solid transparent;border-radius:12px;overflow:hidden;background:#000;aspect-ratio:9/16;cursor:pointer;min-width:0}
.lbpick img{width:100%;height:100%;object-fit:cover;display:block}
.lbpick.on{border-color:var(--gold)}
.lbpick .n{position:absolute;top:6px;left:6px;min-width:28px;height:28px;padding:0 6px;border-radius:999px;background:var(--gold);color:#1a0f14;font-weight:700;display:grid;place-items:center;font-size:.9rem}
.lbpick .cap{position:absolute;left:0;right:0;bottom:0;padding:14px 6px 5px;font-size:.66rem;color:#fff;text-align:left;background:linear-gradient(transparent,rgba(0,0,0,.8));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lbitem{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:10px;align-items:start;border:1px solid var(--line);border-radius:12px;padding:8px;background:var(--surface)}
.lbnum{position:relative}.lbnum img{width:58px;aspect-ratio:9/16;object-fit:cover;border-radius:8px;display:block;background:#000}
.lbnum b{position:absolute;top:4px;left:4px;background:var(--gold);color:#1a0f14;border-radius:999px;min-width:20px;height:20px;font-size:.75rem;display:grid;place-items:center}
.lbfields{display:flex;flex-direction:column;gap:6px;min-width:0}
.lbfields .sug{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
.lbfields .sug::-webkit-scrollbar{display:none}
.lbfields .sug button{flex:none;font:inherit;font-size:.78rem;border:1px solid var(--line);background:var(--surface2);color:var(--ink);border-radius:999px;padding:5px 10px;cursor:pointer}
.lbfields .sug button.on{border-color:var(--gold);color:var(--gold);font-weight:600}
.lbfields .sug button.ai{border-color:var(--accent)}
.lbcats button{font-size:.74rem!important;padding:4px 9px!important;background:transparent!important}
.lbtools{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.lbmove{display:flex;flex-direction:column;gap:4px}
.lbmus{display:flex;flex-direction:column;gap:6px}
.lbmrow{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;border:1px solid var(--line);border-radius:10px;padding:8px;background:var(--surface)}
.lbmrow.on{border-color:var(--gold)}
.lbmrow audio{width:100%;height:32px}
.lbfoot{position:sticky;bottom:-28px;margin:0 -14px -28px;padding:12px 14px calc(env(safe-area-inset-bottom,0px) + 14px);background:var(--surface);border-top:1px solid var(--line);display:flex;align-items:center;gap:12px;flex-wrap:wrap;z-index:3}
.lbfoot > div{flex:1;min-width:150px}
.lbfoot .btn{padding:13px 20px;font-size:1rem}
#lbTxt .card{max-width:640px;width:100%;max-height:90vh;overflow:auto;display:flex;flex-direction:column;gap:10px}
/* full-screen gallery: ‹ › on the sides, swipe, "← Înapoi" on top */
.fsv-media{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:6px 10px}
.fsv-media img,.fsv-media video{max-width:100%;max-height:100%;border-radius:10px;object-fit:contain;background:#000;user-select:none;-webkit-user-drag:none}
.fsv-nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:70px;border:0;border-radius:14px;background:rgba(0,0,0,.42);color:#fff;font-size:38px;line-height:1;cursor:pointer;z-index:2}
.fsv-nav.prev{left:6px}.fsv-nav.next{right:6px}
.fsv-nav:disabled{opacity:.18;cursor:default}
/* model comparison test */
.cmpcur{display:flex;gap:12px;align-items:center}
.cmpcur img{width:96px;aspect-ratio:9/16;object-fit:cover;border-radius:10px;border:2px solid var(--gold);cursor:zoom-in;background:#000}
.cmprep{display:flex;flex-direction:column;gap:8px;border:1px solid var(--gold);border-radius:12px;padding:10px 12px;background:var(--surface2)}
.cmprep h3{margin:0;font:400 1.1rem var(--display);color:var(--gold)}
.cmprow{display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--line);padding-top:6px}
.cmpmake{display:flex;flex-direction:column;gap:6px;border:1px dashed var(--line);border-radius:10px;padding:8px 10px}
.cmpstart{display:flex;gap:10px;align-items:center}.cmpstart img{width:64px;aspect-ratio:9/16;object-fit:cover;border-radius:8px;cursor:zoom-in;flex:none;background:#000}
/* gallery: download / share on every card */
.gacts{display:flex;gap:6px;flex-wrap:wrap}
.gbtn{font:inherit;font-size:.8rem;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);background:var(--surface2);color:var(--ink);border-radius:999px;padding:7px 11px;cursor:pointer;min-height:34px}
.gbtn.main{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.pvrow{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.pvrow::-webkit-scrollbar{display:none}.pvrow .chip{flex:none}
/* the app is working on something the user started: always visible on top, above every sheet and viewer */
.busy{position:fixed;top:calc(env(safe-area-inset-top,0px) + 8px);left:50%;transform:translateX(-50%);z-index:10000;background:var(--ink);color:var(--bg);font-weight:600;font-size:.85rem;padding:7px 14px;border-radius:999px;box-shadow:0 4px 18px rgba(0,0,0,.45);pointer-events:none;white-space:nowrap}
/* 📜 Reguli */
.rg-add{display:flex;flex-direction:column;gap:8px;background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:12px}
.rg-add textarea{min-height:64px}
.rg-list{display:flex;flex-direction:column;gap:8px}
.rg-item{display:flex;flex-direction:column;gap:6px;background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:10px 12px;font-size:.92rem;line-height:1.4}
.rg-item .pill{align-self:flex-start}
.rg-item.mine{border-color:var(--gold)}
.rg-item.off{opacity:.55}
.rg-item.base{background:transparent}
.rg-acts{gap:6px;flex-wrap:wrap}
.rg-acts .chip{font-size:.8rem;padding:5px 10px}
/* ⏱ / 💶 on a project */
.rv-len{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:flex-end;background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:8px 0}
.rv-len .f{min-width:120px;flex:0 1 auto}
.rv-len input{width:100px}
.rv-len .muted{flex-basis:100%}
/* 📍 the real place from the gallery */
.rv-place{display:flex;flex-direction:column;gap:8px;background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:8px 0}
.rv-place.need{border-color:var(--bad);box-shadow:0 0 0 1px var(--bad) inset}
.rv-place.need .small{color:var(--ink)}
.rv-place-imgs{display:flex;gap:6px;overflow-x:auto}
.rv-place-imgs img{width:72px;height:72px;object-fit:cover;border-radius:8px;flex:none}
.pick button.on{outline:3px solid var(--gold);outline-offset:-3px}
#pkFoot{position:sticky;bottom:0;background:var(--surface);padding:8px 0;gap:10px;flex-wrap:wrap}

/* 🔎 Analiză pe ecran complet: the film full-screen, discreet semi-transparent buttons on the side, a thin bar with the scenes */
.rvw{position:fixed;inset:0;z-index:90;background:#000;display:flex;align-items:center;justify-content:center;overflow:hidden}
.rvw video{width:100%;height:100%;object-fit:contain;background:#000}
.rvw-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:76px;height:76px;border-radius:50%;border:0;background:rgba(0,0,0,.45);color:#fff;font-size:30px;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);cursor:pointer}
.rvw-play.hide{display:none}
.rvw-top{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:calc(env(safe-area-inset-top,0px) + 10px) 12px 10px;background:linear-gradient(rgba(0,0,0,.55),transparent);color:#fff}
.rvw-ttl{text-align:center;font-size:.85rem;line-height:1.2;opacity:.9}.rvw-ttl b{font-weight:500;opacity:.75;font-size:.75rem}
.rvw-x,.rvw-done{border:0;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font:inherit;font-size:.9rem;padding:8px 14px;cursor:pointer;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.rvw-rail{position:absolute;right:max(8px,env(safe-area-inset-right,0px));bottom:calc(env(safe-area-inset-bottom,0px) + 70px);display:flex;flex-direction:column;gap:10px}
.rvw-b{width:58px;border:0;border-radius:16px;padding:6px 0 5px;background:rgba(0,0,0,.42);color:#fff;display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;opacity:.82;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);transition:opacity .15s,transform .1s;text-shadow:0 1px 3px rgba(0,0,0,.8)}
.rvw-b:active{transform:scale(.92);opacity:1}.rvw-b:hover{opacity:1}
.rvw-b .i{font-size:22px;line-height:1}.rvw-b .t{font-size:.62rem;letter-spacing:.01em;opacity:.9;white-space:nowrap}
.rvw-toast{position:absolute;top:calc(env(safe-area-inset-top,0px) + 64px);left:50%;transform:translate(-50%,-6px);background:rgba(0,0,0,.6);color:#fff;border-radius:18px;padding:7px 14px;font-size:.85rem;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;width:max-content;max-width:86%;text-align:center}
.rvw-toast.on{opacity:1;transform:translate(-50%,0)}
.rvw-bar{position:absolute;left:12px;right:12px;bottom:calc(env(safe-area-inset-bottom,0px) + 18px);height:18px;cursor:pointer}
.rvw-bar::before{content:"";position:absolute;left:0;right:0;top:8px;height:3px;border-radius:3px;background:rgba(255,255,255,.25)}
.rvw-fill{position:absolute;left:0;top:8px;height:3px;border-radius:3px;background:var(--gold);width:0}
.rvw-marks i{position:absolute;font-style:normal}
.rvw-marks .tick{top:6px;width:1px;height:7px;background:rgba(255,255,255,.45)}
.rvw-marks .dot{top:-14px;transform:translateX(-50%);font-size:12px}
.rvw-rep{position:absolute;inset:0;overflow:auto;background:var(--bg);color:var(--ink);padding:calc(env(safe-area-inset-top,0px) + 16px) 16px 40px;display:flex;flex-direction:column;gap:10px}
.rvw-rep h2{margin:0}
.rvw-list{display:flex;flex-direction:column;gap:10px}
.rvw-row{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;border:1px solid var(--line);border-radius:12px;padding:8px;background:var(--surface)}
.rvw-row.bad{border-color:var(--accent)}
.rvw-th{position:relative;border:0;padding:0;background:#000;border-radius:8px;overflow:hidden;width:64px;aspect-ratio:9/16;cursor:pointer}
.rvw-th img{width:100%;height:100%;object-fit:cover;display:block}
.rvw-th span{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:18px;text-shadow:0 1px 4px #000}
.rvw-info{display:flex;flex-direction:column;gap:4px;min-width:0}
.rvw-what{color:var(--muted);overflow:hidden;text-overflow:ellipsis}
.rvw-notes{display:flex;gap:6px;flex-wrap:wrap}.rvw-notes span{font-size:.78rem;background:var(--surface2);border-radius:999px;padding:2px 8px}
.rvw-ai{color:var(--muted)}.rvw-ai.bad{color:var(--accent)}
.rvw-fix{gap:6px;flex-wrap:wrap}.rvw-fix .chip{font-size:.78rem;padding:5px 10px}
.rvw-card{max-width:720px}
.pcard.plast{border-color:var(--gold);box-shadow:0 0 0 2px color-mix(in srgb,var(--gold) 35%,transparent)}
.plast-go{width:100%;margin-bottom:8px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rg-agent{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--surface)}
.rg-agent>summary{cursor:pointer;list-style:none;display:block}.rg-agent>summary::-webkit-details-marker{display:none}
.rg-agent>summary b{font:400 1.08rem var(--display);color:var(--gold)}
.rg-agent>summary::after{content:"▾";float:right;color:var(--muted)}.rg-agent[open]>summary::after{content:"▴"}
.rg-does{margin-top:4px}.rg-agent .rg-list{margin-top:10px}
.rg-tags{gap:6px;flex-wrap:wrap}
/* "nu e bună" in the picture viewer: a row of discreet buttons under the picture, a note with "↻ Repară acum" */
.fsv-ctl .fsr{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;padding:0 8px;max-width:520px}
.fsv-ctl .fsr-b{width:auto;height:auto;min-width:54px;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 6px 5px;border-radius:14px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:#fff;font-size:1rem;opacity:.9;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);transition:opacity .15s,transform .1s}
.fsv-ctl .fsr-b:active{transform:scale(.92);opacity:1}
.fsv-ctl .fsr-b .i{font-size:20px;line-height:1}.fsv-ctl .fsr-b .t{font-size:.6rem;opacity:.9;white-space:nowrap}
.fsv-ctl .fsr-b.ok{border-color:rgba(120,200,140,.45)}
.fsv-ctl .fsr-b[aria-pressed="true"]{opacity:1;background:rgba(214,92,110,.38);border-color:rgba(255,160,170,.75)}
.fsv-ctl .fsr-b.ok[aria-pressed="true"]{background:rgba(80,165,105,.38);border-color:rgba(150,225,170,.75)}
.fsv-ctl .fsr-b.wait{order:-1;flex:1 1 100%;flex-direction:row;justify-content:center;gap:8px;padding:10px;opacity:1;background:rgba(80,165,105,.55);border-color:rgba(150,225,170,.8)}
.fsv-ctl .fsr-b.wait .t{font-size:.9rem;font-weight:600}
.fsr-toast{position:absolute;top:10px;left:50%;transform:translate(-50%,-6px);display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:8px 10px;background:rgba(0,0,0,.72);color:#fff;border-radius:18px;padding:7px 8px 7px 14px;font-size:.85rem;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:3;width:max-content;max-width:94%;text-align:center}
.fsr-toast.on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.fsr-toast button{border:0;border-radius:999px;background:var(--gold);color:#1a0f14;font:600 .82rem var(--body);padding:6px 12px;cursor:pointer;max-width:100%}
.fsr-toast button:disabled{background:rgba(255,255,255,.16);color:#fff;font-weight:500}
/* 💬 the comment box over the film or the picture (near the top: the phone's keyboard does not cover it) */
.cbox{position:fixed;z-index:130;left:50%;transform:translateX(-50%);top:calc(env(safe-area-inset-top,0px) + 58px);width:min(560px,calc(100% - 20px));display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:18px;background:rgba(22,16,24,.86);border:1px solid rgba(255,255,255,.14);color:#fff;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 10px 40px rgba(0,0,0,.5)}
.cbox-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.cbox textarea{width:100%;box-sizing:border-box;min-height:56px;resize:vertical;border-radius:12px;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.35);color:#fff;font:inherit;font-size:16px;padding:9px 11px}
.cbox textarea.need{border-color:var(--accent)}
.cbox-th{display:flex;gap:8px;overflow-x:auto}
.cbox-sc{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:3px;border:2px solid transparent;border-radius:10px;background:none;color:#fff;padding:2px;cursor:pointer;opacity:.6;font-size:.72rem}
.cbox-sc img,.cbox-sc i{width:46px;height:82px;object-fit:cover;border-radius:7px;display:grid;place-items:center;background:#000;font-style:normal}
.cbox-sc[aria-pressed="true"]{border-color:var(--gold);opacity:1}
.cbox-chips{display:flex;gap:6px;flex-wrap:wrap}.cbox-chips .chip{font-size:.78rem;padding:4px 10px;background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.18)}
.cbox-chips .cbox-n{border-color:var(--gold);color:var(--gold)}
.cbox-a{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.cbox-a .btn{padding:8px 14px}
.cbox .muted{color:rgba(255,255,255,.62)}
.rvw-c{opacity:.9;background:rgba(214,176,97,.28)}
.rg-pick{display:flex;flex-direction:column;gap:8px;padding:10px 0;position:sticky;top:0;z-index:5;background:var(--surface)}
.pk-tags{flex:none;flex-wrap:nowrap;overflow-x:auto;padding:2px 0 8px;-webkit-overflow-scrolling:touch}.pk-tags .chip{white-space:nowrap;flex:none}
.rg-view{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}.rg-view .chip{white-space:nowrap;flex:none}
/* 👁 big and clear buttons (the switch is in the film's top bar and at the end of the picture viewer's row) */
.vis-b{border:0;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font:inherit;font-size:.95rem;padding:8px 12px;cursor:pointer;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);white-space:nowrap}
.vis-b[aria-pressed="true"]{background:var(--gold);color:#1a0f14;font-weight:600}
.fsv-ctl .fsr .vis-b{align-self:center;width:auto;height:auto;min-width:46px;padding:9px 12px;font-size:.9rem;background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.2)}
.fsv-ctl .fsr .vis-b[aria-pressed="true"]{background:var(--gold);color:#1a0f14}
.vis-hi .rvw-rail{gap:8px}
.vis-hi .rvw-b{width:76px;opacity:1;background:rgba(0,0,0,.82);border:1.5px solid rgba(255,255,255,.6);padding:8px 0 7px}
.vis-hi .rvw-b .i{font-size:30px}.vis-hi .rvw-b .t{font-size:.78rem;font-weight:700}
.vis-hi .rvw-c{background:rgba(120,90,30,.92);border-color:var(--gold)}
.vis-hi .rvw-x,.vis-hi .rvw-done{background:rgba(0,0,0,.8);border:1.5px solid rgba(255,255,255,.6);font-weight:600}
.vis-hi .rvw-bar::before{height:5px;background:rgba(255,255,255,.5)}.vis-hi .rvw-fill{height:5px}
.vis-hi .fsv-ctl .fsr-b{opacity:1;background:rgba(0,0,0,.85);border:1.5px solid rgba(255,255,255,.6);min-width:62px;padding:8px 7px 7px}
.vis-hi .fsv-ctl .fsr-b .i{font-size:27px}.vis-hi .fsv-ctl .fsr-b .t{font-size:.74rem;font-weight:700}
.vis-hi .fsv-ctl .fsr-b[aria-pressed="true"]{background:rgba(170,50,70,.95);border-color:#ffb3bd}
.vis-hi .fsv-ctl .fsr-b.ok[aria-pressed="true"],.vis-hi .fsv-ctl .fsr-b.wait{background:rgba(40,120,70,.95);border-color:#a8e6bd}
.vis-hi .fsr-toast,.vis-hi .rvw-toast{background:rgba(0,0,0,.9);font-size:.95rem}
.picwait{border-color:var(--run);background:color-mix(in srgb,var(--run) 9%,transparent);margin:10px 0}
/* 📁 a show's folder: its episodes, people, decors and scripts */
.fd-chips{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-bottom:10px}
.fd-head{display:flex;flex-direction:column;gap:2px;margin:6px 0 4px}.fd-back{width:fit-content}
.fd-sec{display:flex;flex-direction:column;gap:8px;margin-top:14px}.fd-sec h3{margin:0;font-size:1.05rem}
.fd-idea>summary{cursor:pointer;list-style:none}.fd-idea>summary::-webkit-details-marker{display:none}.fd-idea>summary h3{display:inline}
.fd-doc{display:flex;flex-direction:column;gap:6px;line-height:1.45}.fd-doc p{margin:0}.fd-doc h3{margin:8px 0 0;font-size:1.02rem}.fd-doc h4{margin:6px 0 0;font-size:.95rem}.fd-doc ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:3px}.fd-doc li.sub{margin-left:18px;list-style:circle}
.fd-eps{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.fd-ep{display:flex;flex-direction:column;gap:6px;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:8px;color:var(--ink);font:inherit;cursor:pointer;min-width:0}
.fd-ep img,.fd-ep .fd-noimg{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:8px;background:var(--surface2);display:grid;place-items:center;font-size:1.6rem}
.fd-ep b{font-size:.85rem;line-height:1.25}
.fd-cast{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px}
.fd-pers{display:flex;flex-direction:column;align-items:center;gap:4px;background:none;border:0;color:var(--ink);font:inherit;cursor:pointer;text-align:center}
.fd-pers img,.fd-pers .fd-noimg{width:76px;height:76px;border-radius:50%;object-fit:cover;background:var(--surface2);display:grid;place-items:center;font-size:1.4rem;border:2px solid var(--line)}
.fd-decor{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:6px}
.fd-decor button{border:0;padding:0;background:none;cursor:pointer}.fd-decor img{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:8px;display:block}
.fd-scripts{display:flex;flex-wrap:wrap;gap:6px}.fd-scripts .chip{text-align:left}
.fd-scenes{display:flex;flex-direction:column;gap:8px}.fd-scene{display:grid;grid-template-columns:28px minmax(0,1fr);gap:6px;border-bottom:1px solid var(--line);padding-bottom:8px}
.fd-tx{color:var(--gold)}
.pf-row{align-items:flex-start;gap:8px;margin-top:6px;color:var(--ink);flex-wrap:nowrap}.pf-row>span{flex:1;min-width:0}
/* 📸 a character's reference pictures */
.refs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.refs-slot{display:flex;flex-direction:column;gap:4px;align-items:flex-start;min-width:0}
.refs-slot img,.refs-ph{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:10px;background:var(--surface2);display:grid;place-items:center;color:var(--muted);font-size:1.4rem;cursor:pointer}
.refs-ck{line-height:1.25}.refs-ck.ok{color:var(--ok)}.refs-ck.bad{color:var(--warn)}
.refs-slot .acts{display:flex;flex-direction:column;gap:4px;width:100%}.refs-slot .act{width:100%;font-size:.75rem}
@media (max-width:420px){.refs-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}}
/* 🎤 the interview: where (the show's decors); in a long dialog nothing is squeezed, the dialog scrolls */
.rvw-card>*{flex-shrink:0}
.iv-places{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
.iv-pl{flex:none;display:flex;flex-direction:column;align-items:center;gap:4px;width:86px;border:2px solid transparent;border-radius:12px;background:none;color:var(--ink);padding:3px;cursor:pointer;font:inherit;font-size:.7rem;line-height:1.15;text-align:center}
.iv-pl img{width:78px;height:138px;object-fit:cover;border-radius:9px;display:block}
.iv-pl[aria-pressed="true"]{border-color:var(--gold)}
/* 📛 the name card editor: each card with a small live preview of the lower third */
.nc-row{display:grid;gap:8px;border:1px solid var(--line);border-radius:12px;padding:10px;background:var(--surface)}
.nc-row .f{margin:0}.nc-on{display:flex;align-items:center;gap:6px;font-size:.9rem}
.nc-prev{display:inline-flex;flex-direction:column;gap:3px;max-width:100%;padding:10px 14px 10px 16px;border-radius:10px;background:rgba(12,18,26,.82);border-left:6px solid var(--gold);color:#fafafa}
.nc-prev b{font:800 1.45rem/1 var(--body);letter-spacing:.04em}.nc-prev span{font:700 .78rem/1.25 var(--body);letter-spacing:.08em;color:var(--gold)}
.nc-prev.off{opacity:.4}
.rvw-said{display:flex;flex-direction:column;gap:4px;color:var(--ink)}.rvw-said:empty{display:none}
/* ⏳ the line at the top: what the app is doing now (public/activity.js) */
.act-on .busy{display:none}
.actp{position:fixed;top:calc(env(safe-area-inset-top,0px) + 10px);right:10px;z-index:15;display:flex;align-items:center;gap:7px;max-width:min(56vw,340px);padding:6px 11px 6px 9px;border-radius:999px;background:color-mix(in srgb,var(--surface) 93%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid color-mix(in srgb,var(--ink) 13%,transparent);color:var(--ink);font:500 .78rem/1.2 var(--body);letter-spacing:.01em;box-shadow:0 6px 22px rgba(0,0,0,.35);cursor:pointer;animation:actin .35s ease-out}
.actp[hidden]{display:none}
.actp.local{z-index:10000}
.actp .t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.actp .m{color:var(--muted);flex:none;font-variant-numeric:tabular-nums}
.actp .m:empty{display:none}
.actp .dot,.act-row .dot{width:7px;height:7px;border-radius:50%;background:var(--accent);flex:none;animation:actpulse 1.8s ease-out infinite}
.actp.wait .dot{background:var(--gold);animation:none}
.act-row .dot.idle{background:var(--muted);animation:none}
@keyframes actpulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 60%,transparent)}100%{box-shadow:0 0 0 8px transparent}}
@keyframes actin{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.actp,.actp .dot,.act-row .dot{animation:none}}
.act-card{gap:12px}
.act-sec{display:flex;flex-direction:column;gap:8px}
.act-h{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.act-item{display:flex;flex-direction:column;gap:5px;text-align:left;background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:10px 12px;color:var(--ink);font:inherit;cursor:pointer}
.act-item.wait{border-color:color-mix(in srgb,var(--gold) 45%,var(--line))}
.act-top{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.act-top>span{white-space:nowrap}
.act-bar{height:4px;border-radius:4px;background:var(--line);overflow:hidden}.act-bar i{display:block;height:100%;background:var(--accent);border-radius:4px;transition:width .4s}
.act-row{display:flex;align-items:center;gap:8px}.act-row>span:last-child{margin-left:auto}
.mo-g{display:flex;flex-direction:column;gap:6px}
.vol-row{display:grid;grid-template-columns:minmax(0,9.5em) minmax(0,1fr) 3.2em;align-items:center;gap:8px}.vol-row input[type=range]{width:100%;min-width:0;accent-color:var(--accent,#c9a227)}.vol-v{text-align:right;font-variant-numeric:tabular-nums}.vol-h{grid-column:1/-1}
.mo-pv{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:12px;background:linear-gradient(160deg,#2b2230,#120e14);align-items:flex-start}
.mo-sub{align-self:center;background:rgba(0,0,0,.55);color:#fff;font-weight:700;padding:4px 10px;border-radius:6px;text-align:center;max-width:100%}
.mo-sig{align-self:center;color:#fff;opacity:.85;font-size:15px;letter-spacing:.5px;text-shadow:0 1px 3px rgba(0,0,0,.8)}
.np-ideas{display:flex;flex-direction:column;gap:8px}.np-ideas:empty{display:none}
.np-idea{display:flex;flex-direction:column;gap:3px;text-align:left;background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:10px 12px;color:var(--ink);font:inherit;cursor:pointer}
.np-idea:active,.np-idea:focus-visible{border-color:var(--accent)}
/* ⭐ the author's marks */
.prate{font-size:.78rem;font-weight:600;color:var(--gold);white-space:nowrap}
#plist.only-top .pcard:not([data-top]),#plist.only-top .plast-go{display:none}
.rt-rows{display:flex;flex-direction:column;gap:10px}
.rt-row{display:flex;justify-content:space-between;align-items:center;gap:10px}
.rt-stars{display:flex;gap:2px;flex:none}
.rt-star{background:none;border:0;padding:4px 3px;font-size:1.55rem;line-height:1;color:color-mix(in srgb,var(--muted) 45%,transparent);cursor:pointer;transition:transform .12s,color .12s}
.rt-star.on{color:var(--gold);text-shadow:0 0 12px color-mix(in srgb,var(--gold) 45%,transparent)}
.rt-star:active{transform:scale(1.25)}
.rt-sum{font-weight:600}
.rt-top[aria-pressed="true"]{background:color-mix(in srgb,var(--gold) 22%,transparent);border-color:var(--gold);color:var(--ink)}
/* 🛡 accounts: who is in, what an account does not see, the Admin tab */
.acct{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:4px}.acct:empty{display:none}.acct .chip{padding:2px 10px;font-size:.75rem}
.acct-low{color:var(--warn);font-weight:600}
.acct.acct-visit{border:1px solid color-mix(in srgb,var(--gold) 60%,transparent);background:color-mix(in srgb,var(--gold) 10%,transparent);border-radius:999px;padding:3px 4px 3px 12px}
.acct-tag{color:var(--gold);font-weight:600}
.adm-enter{color:var(--gold);border-color:color-mix(in srgb,var(--gold) 55%,transparent)}
.is-user #tabSerie,.is-user [data-view="series"],.is-user #tabReg,.is-user #tabSug,.is-user #tabTodo,.is-user #v-defacut,.is-user #tabDesene,.is-user #creditsCard,.is-user #dlPrompt,.is-user .fd-new,.is-user .row:has(> #divBtn),.is-user #setup{display:none!important}
.adm-sum{font-weight:600}
.adm-new{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px dashed var(--line);border-radius:12px}
.adm-list{display:flex;flex-direction:column;gap:10px}
.adm-card{display:flex;flex-direction:column;gap:8px;background:var(--surface2);border:1px solid var(--line);border-radius:14px;padding:12px}
.adm-card.off{opacity:.85}
.adm-name{font-size:1.05rem}
.adm-money{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.adm-av{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px}
.adm-avi{display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;font-size:.85rem;text-align:center}
.adm-avi img,.adm-avi .fd-noimg{width:72px;height:72px;border-radius:50%;object-fit:cover;background:var(--surface2);display:grid;place-items:center}
.rc-list{display:flex;flex-direction:column;gap:10px}
.rc-row{display:flex;align-items:flex-end;gap:10px}
.rc-ph{width:52px;height:52px;border-radius:50%;object-fit:cover;flex:none;background:var(--surface2);border:2px solid var(--line)}
.rc-who{display:flex;flex-direction:column;gap:2px;min-width:72px;padding-bottom:10px}
.rc-said{margin-top:6px;line-height:1.45}
.look-note{display:flex;flex-direction:column;gap:8px;margin:0 0 12px;padding:12px 14px;border-radius:14px;border:1px solid color-mix(in srgb,var(--accent,#d4566a) 45%,transparent);background:color-mix(in srgb,var(--accent,#d4566a) 10%,var(--surface,#1b1720));line-height:1.45}
.look-note .btn{align-self:flex-start}

.mo-tv{display:grid;gap:8px;margin:-4px 0 4px}.mo-tv label{display:grid;gap:4px}.mo-tv[hidden]{display:none}
@media (min-width:560px){.mo-tv{grid-template-columns:1fr 1fr}.mo-tv>.muted,.mo-tv>.mo-g,.mo-tv>.row{grid-column:1/-1}}
.ord-list{display:grid;gap:6px;margin:4px 0}.ord-row{display:grid;grid-template-columns:40px 1fr;gap:10px;align-items:center}.ord-row img,.ord-noimg{width:40px;height:70px;object-fit:cover;border-radius:6px;display:grid;place-items:center;background:var(--surface2)}
/* 🎬 the script as a screenplay (plan and 📜 Citește scenariul) */
.sp .sp-line{margin-top:4px}
.sp .sp-who{font-weight:700;letter-spacing:.04em;color:var(--gold);font-size:.82rem}
.sp-sum{font-weight:600}
.sp-warn{color:#e8a33d}
.sp-link{color:var(--gold)}
.sp-acts{gap:8px;flex-wrap:wrap;align-items:center;margin:4px 0}
.sp-beat{grid-template-columns:88px 1fr}.sp .rv-t{white-space:nowrap;font-size:.86rem}
.sp-fx,.sp-lk{margin-top:6px;width:fit-content;font-size:.8rem;padding:3px 10px}
.sp-panel{grid-column:1/-1;display:flex;flex-direction:column;gap:8px;margin-top:2px;padding:10px;border:1px dashed var(--line);border-radius:10px}
.sp-panel .row{gap:8px;flex-wrap:wrap;flex-direction:row}
.sp-chips{display:flex;gap:6px;flex-wrap:wrap}.sp-chips .chip{font-size:.8rem;padding:4px 10px}
.sp-over{position:fixed;inset:0;z-index:60;background:var(--bg);overflow:auto;padding:12px 16px 40px;display:flex;flex-direction:column;gap:10px}
.sp-top{position:sticky;top:0;display:flex;justify-content:flex-end;background:var(--bg);padding:4px 0;z-index:1}
/* 💶 costs and 🧾 the log of the calls (public/costs.js) */
.stat-tap{font:inherit;color:inherit;text-align:left;cursor:pointer;border:1px solid var(--line)}

.cs-over{position:fixed;inset:0;z-index:60;background:var(--bg);overflow:auto;padding:12px 16px 40px}
.cs-top{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:8px;background:var(--bg);padding:4px 0 8px}
.cs-body{display:flex;flex-direction:column;gap:10px;max-width:760px;margin:0 auto}
.cs-head{display:flex;justify-content:space-between;align-items:flex-end}
.cs-total{font-size:2rem;font-weight:700;color:var(--gold);font-variant-numeric:tabular-nums}
.cs-list{display:flex;flex-direction:column;gap:2px}
.cs-row{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:8px 0;border-top:1px solid var(--line)}
.cs-row .act-bar{grid-column:1/-1;height:4px}
.cs-l,.cs-r{display:flex;flex-direction:column;gap:2px;min-width:0}.cs-r{text-align:right}
.cs-calls{display:flex;flex-direction:column;gap:3px;border:1px solid var(--line);border-radius:10px;padding:8px 10px}
.cs-log{display:flex;flex-direction:column;gap:4px}
.cs-day{margin-top:8px;font-weight:700;color:var(--gold)}
.cs-step{margin-top:6px;font-size:.82rem;font-weight:700;letter-spacing:.03em;color:var(--muted,#a99)}
.cs-call{font:inherit;color:inherit;text-align:left;display:grid;grid-template-columns:62px 1fr auto;gap:8px;align-items:start;background:var(--surface2);border:1px solid var(--line);border-radius:10px;padding:7px 9px;cursor:pointer}
.cs-call.bad{border-color:#c0504d}
.cs-t{font-variant-numeric:tabular-nums;font-size:.82rem;color:var(--gold)}
.cs-w{min-width:0;overflow-wrap:anywhere}
.cs-m{white-space:nowrap}
.cs-det{display:flex;flex-direction:column;gap:6px;padding:6px 2px 10px}
.cs-json{white-space:pre-wrap;word-break:break-word;font-size:.74rem;max-height:60vh;overflow:auto;background:rgba(0,0,0,.25);border-radius:8px;padding:8px;margin:4px 0 0}
.cs-links{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0}
.cs-user{border-top:1px solid var(--line);padding:8px 0}.cs-user summary{cursor:pointer}

/* 🔗 Serial: the link for people, and „în link” beside each part */
.sershare{border:1px solid var(--line);border-radius:12px;padding:12px;display:grid;gap:8px;background:var(--surface2)}
.serrow{display:flex;gap:10px;align-items:center}
.serrow .pcard{flex:1;min-width:0}
.serpub{display:flex;gap:6px;align-items:center;white-space:nowrap;cursor:pointer}
.serpub input{width:auto}

/* 🎨 Desene: the cartoon studio, a site in the site (public/desene/), in a frame as tall as the screen */
.desene-card{padding:10px}
.desene-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 4px 8px}
.desene-top h2{margin:0}
.desene-frame{display:block;width:100%;height:calc(100dvh - 150px);min-height:520px;border:0;border-radius:12px;background:var(--surface2)}
/* 🎬 the film's review */
.fr-line{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--line,#333);padding-top:8px}
.fr-warn{color:#f0a020}
.fr-player{width:100%;max-height:38vh;background:#000;border-radius:10px;position:sticky;top:0;z-index:1}
.fr-p{margin:4px 0}
.fr-whole{display:block}
/* 💬 Întreabă AI */
@keyframes askdot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
/* 💬 Cere o schimbare */
.fc-card{max-width:620px;width:100%}
.fc-msgs{max-height:55vh;min-height:120px}
.fc-steps{margin:6px 0 2px;padding-left:18px;font-size:.9rem}

/* personaje: nothing wider than the phone; your photos with × ; ⬇ on the generated ones */
#chForm>*{min-width:0}
#chForm .wtiles{grid-template-columns:repeat(auto-fill,minmax(min(140px,100%),1fr))}
.chph{position:relative;min-width:0}.chph>button:first-child{width:100%;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:#000;cursor:zoom-in;aspect-ratio:9/16;display:block}
.lkdl{position:absolute;top:4px;left:4px;border-radius:8px;background:rgba(0,0,0,.6);color:#fff;padding:2px 7px;font-size:13px;text-decoration:none}
.fsv-ctl .fsv-dl{width:auto;font-size:.95rem;padding:10px 16px;text-decoration:none;align-self:center}
.pick .chph .lkdel{aspect-ratio:auto;padding:4px 9px;background:rgba(0,0,0,.65);border:0;border-radius:8px;overflow:visible;font-size:15px}
#chForm .pvrow{flex-wrap:wrap;overflow:visible}
/* personaje v2: the sheet never slides sideways; wardrobe and picture cards scroll left-right with snap */
.chs-body{overflow-x:hidden}
#chForm input,#chForm select,#chForm textarea{max-width:100%;min-width:0}
#chForm .wtiles{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 10px;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
#chForm .wtiles::-webkit-scrollbar{display:none}
#chForm .wtile{flex:0 0 132px;scroll-snap-align:center;min-height:92px}
#wEd .wed{margin-top:2px}.wed-hint{text-align:center;padding:6px 0}
.sw .swr{display:flex;align-items:center;justify-content:center;font-size:17px;color:#fff;text-shadow:0 1px 2px #0008}
.pvc{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 10px;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.pvc::-webkit-scrollbar{display:none}
.pvc-i{flex:0 0 96px;scroll-snap-align:center;display:flex;flex-direction:column;gap:5px;padding:0;border:0;background:none;color:var(--ink);font:inherit;cursor:pointer;text-align:center}
.pvc-ph{display:flex;align-items:center;justify-content:center;width:96px;aspect-ratio:9/14;border-radius:12px;background:var(--surface2) center/cover no-repeat;border:2px solid var(--line);font-size:28px}
.pvc-ph.has i{display:none}
.pvc-l{font-size:.74rem;line-height:1.2;color:var(--muted)}
.pvc-i[aria-pressed="true"] .pvc-ph{border-color:var(--gold);box-shadow:0 0 0 2px var(--gold)}
.pvc-i[aria-pressed="true"] .pvc-l{color:var(--ink);font-weight:600}
/* ✍️ the team on a film at Claude: waiting (dots), working (a soft glow passing from one to the next), done */
#pTeam{display:flex;flex-direction:column;gap:10px;margin:10px 0}
#pTeam:empty{display:none}
.pt-chat{align-self:flex-start}
.pt-card{border:1px solid var(--line);border-left:3px solid var(--gold);border-radius:14px;padding:12px;background:var(--surface);display:flex;flex-direction:column;gap:10px}
.pt-h{line-height:1.45}
.pt-team{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(140px,45%),1fr));gap:8px}
.pt-p{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto auto;column-gap:8px;align-items:center;padding:8px 10px;border-radius:12px;background:var(--surface2);border:1px solid var(--line);min-width:0}
.pt-ic{grid-row:1/4;font-size:22px}
.pt-p b{font-size:.86rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pt-w{font-size:.74rem;color:var(--muted);line-height:1.25}
.pt-dots{display:flex;gap:3px;margin-top:3px}
.pt-dots i{width:5px;height:5px;border-radius:50%;background:var(--muted);animation:askdot 1.2s infinite ease-in-out;animation-delay:calc(var(--i,0)*.12s)}
.pt-dots i:nth-child(2){animation-delay:calc(var(--i,0)*.12s + .15s)}.pt-dots i:nth-child(3){animation-delay:calc(var(--i,0)*.12s + .3s)}
.pt-p.wait .pt-ic{animation:ptwait 2.4s infinite ease-in-out;animation-delay:calc(var(--i)*.3s)}
.pt-p.work{animation:ptwork 7s infinite;animation-delay:calc(var(--i)*1s)}
.pt-p.work .pt-dots i{background:var(--gold)}
.pt-p.done{border-color:color-mix(in srgb,var(--ok) 50%,var(--line))}.pt-p.done .pt-w{color:var(--ok)}
@keyframes ptwait{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px) rotate(-6deg)}}
@keyframes ptwork{0%,10%{border-color:var(--gold);box-shadow:0 0 0 2px color-mix(in srgb,var(--gold) 40%,transparent)}16%,100%{border-color:var(--line);box-shadow:none}}
@media (prefers-reduced-motion:reduce){.pt-p,.pt-p .pt-ic,.pt-dots i{animation:none!important}}
/* the „Lucrez…” pill goes to the bottom while a character sheet (with „Salvează” top right) is open */
body.chs-on .actp{top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 14px)}
.pt-can{font-size:.86rem;line-height:1.45;padding:8px 10px;border-radius:10px;background:var(--bg);border:1px dashed var(--line)}
/* 📸 ce s-a trimis pentru poza / clipul unei scene (28.10) */
.sent-card{max-width:640px;width:100%;max-height:92dvh;overflow-y:auto;display:flex;flex-direction:column;gap:10px}
.sent-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;position:sticky;top:0;background:var(--surface);padding-bottom:8px;border-bottom:1px solid var(--line);z-index:1}
.sent-tabs{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.sent-tabs .chip.on{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.sent-main{border:0;padding:0;background:none;cursor:pointer;display:block;width:100%}
.sent-main img,.sent-main video{width:100%;max-height:46dvh;object-fit:contain;border-radius:12px;background:#000}
.sent-refs{display:flex;gap:8px;flex-wrap:wrap}
.sent-refs img{height:96px;width:auto;border-radius:8px;object-fit:cover;border:1px solid var(--line)}
.sent-text{white-space:pre-wrap;font-size:.88rem;line-height:1.5;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px 12px;overflow-wrap:anywhere}
.sent-body{display:flex;flex-direction:column;gap:10px}
.sent-ref{position:relative;border:2px solid transparent;background:none;padding:0;border-radius:10px;cursor:pointer}
.sent-ref img{height:96px;width:auto;border-radius:8px;object-fit:cover;display:block}
.sent-ref.on{border-color:var(--accent)}
.sent-ref span{position:absolute;left:4px;bottom:4px;font-size:.7rem;background:rgba(0,0,0,.65);color:#fff;border-radius:6px;padding:1px 5px}
.sent-edit{width:100%;font:inherit;font-size:.88rem;line-height:1.45;border-radius:10px;padding:10px 12px}
.sent-text.clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sent-diff .sent-add{background:rgba(70,200,120,.28);color:inherit;border-radius:3px;padding:0 1px}
.sent-diff .sent-del{color:#e07a7a;opacity:.8}
.sent-ba{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sent-ba .sent-main{position:relative}
.sent-ba .sent-main img{max-height:40dvh}
.sent-tag{position:absolute;left:6px;top:6px;background:rgba(0,0,0,.6);color:#fff;font-size:.75rem;padding:2px 8px;border-radius:99px}
.sent-busy img{filter:blur(3px) brightness(.6)}
.sent-busy .sent-tag{top:50%;left:50%;transform:translate(-50%,-50%);font-size:.85rem;animation:sentPulse 1.2s ease-in-out infinite}
@keyframes sentPulse{50%{opacity:.45}}
.linkbtn{background:none;border:0;padding:2px 0;color:var(--accent,#e07a8a);cursor:pointer;font:inherit;text-decoration:underline}
.sent-cast{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sent-person{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--bg);color:inherit;border-radius:99px;padding:4px 12px 4px 4px;cursor:pointer;font:inherit}
.sent-person img,.sent-person i{width:34px;height:34px;border-radius:50%;object-fit:cover;object-position:top;display:grid;place-items:center;background:var(--line);font-style:normal}
.sent-pop{z-index:30}
.sent-pcard{max-width:560px;width:calc(100% - 24px);max-height:88dvh;overflow:auto;display:flex;flex-direction:column;gap:10px;animation:sentIn .18s ease-out}
@keyframes sentIn{from{transform:translateY(12px);opacity:0}}
.sent-phead{display:flex;align-items:center;gap:12px}
.sent-phead img{width:64px;height:64px;border-radius:50%;object-fit:cover;object-position:top;border:2px solid var(--accent,#e07a8a)}
.sent-phead h3{margin:0;font-family:Gloock,serif;font-size:1.5rem}
.sent-phead>div{flex:1}
.sent-ptiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.sent-pgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.sent-ptiles button,.sent-pgrid button{position:relative;border:0;padding:0;background:none;cursor:pointer;border-radius:10px;overflow:hidden}
.sent-ptiles img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}
.sent-pgrid img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
.sent-ptiles span{position:absolute;left:6px;bottom:6px;background:rgba(0,0,0,.6);color:#fff;font-size:.72rem;padding:1px 7px;border-radius:99px}
.sent-count.err{color:#e07a7a;font-weight:600}
/* 📱 „ce s-a trimis” and the person's card: on the whole screen, nothing around, scrolling only up and down */
#sentBox,.sent-pop{padding:0;align-items:stretch;justify-content:stretch;overflow:hidden;background:var(--surface)}
#sentBox .sent-card,.sent-pop .sent-pcard{max-width:none;width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:calc(12px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom))}
#sentBox .sent-card>*,.sent-pop .sent-pcard>*{width:100%;max-width:720px;margin-left:auto;margin-right:auto;box-sizing:border-box}
#sentBox .sent-bar{margin-top:calc(-12px - env(safe-area-inset-top));padding-top:calc(12px + env(safe-area-inset-top))}
#sentBox img,#sentBox video{max-width:100%}
#sentBox .sent-refs{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;padding-bottom:4px;-webkit-overflow-scrolling:touch}
#sentBox .sent-ref{flex:0 0 auto;scroll-snap-align:start}
#sentBox .sent-edit{box-sizing:border-box;max-width:100%}
.sent-text.clamp{-webkit-line-clamp:3;-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}
.sent-more{align-self:center;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--bg);color:inherit;font:inherit;font-size:.85rem;font-weight:600;padding:7px 16px;border-radius:99px;cursor:pointer;margin-top:-4px}
.sent-more:active{transform:scale(.97)}
.sent-text{box-shadow:inset 3px 0 0 var(--accent,#e07a8a)}
.sent-text.clamp{max-height:calc(1.5em * 3 + 20px)}
#sentBox .sent-bar{margin-bottom:4px}
/* the scene's picture in its box: whole, never cropped (Tata, 29.10) */
.node img{aspect-ratio:auto;height:auto;max-height:none;object-fit:contain}
.cs-row{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.cs-ok{border:1px solid var(--ok,#58c48a);background:transparent;color:var(--ok,#58c48a);border-radius:99px;padding:4px 12px;font:inherit;font-size:.82rem;cursor:pointer}
.cs-row.acked .err{display:none}
.cs-row.acked .cs-ok{border-color:var(--line);color:var(--muted,#999)}
/* 🎞 one block per scene: scene · voice · picture · clip, every other scene a little lighter */
.scene-blk{grid-column:1 / -1;display:grid;grid-template-columns:inherit;gap:8px;padding:8px;border-radius:12px;align-items:stretch}
.scene-blk.even{background:rgba(255,255,255,.035)}
.scene-blk.odd{background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.flowgrid{row-gap:10px}
@media (max-width:700px){.scene-blk .scene-txt,.scene-blk .vnode{grid-column:1 / -1}}
/* the person's card: every picture whole (never cropped) */
.sent-ptiles img,.sent-pgrid img{aspect-ratio:3/4;object-fit:contain;background:#0d0b10}
.sent-swap{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--bg);animation:sentIn .15s ease-out}
.sent-swap .sent-refs img{height:84px}
/* a box's title and its state never run out of the box: the state goes under the title when there is no room */
.node .top{flex-wrap:wrap}
.node .top>span:first-child{white-space:nowrap}
.node .pill{max-width:100%;overflow:hidden;text-overflow:ellipsis}
/* 👆 the scene being worked on */
.scene-blk{position:relative;transition:box-shadow .15s,background .15s}
.scene-blk.sel{box-shadow:0 0 0 2px var(--accent),0 6px 24px rgba(0,0,0,.35);background:rgba(224,122,138,.10)}
.scene-blk.sel::before{content:"✎ aici lucrezi";position:absolute;top:-10px;right:12px;font-size:.7rem;font-weight:600;background:var(--accent);color:var(--accent-ink,#fff);padding:2px 9px;border-radius:99px;z-index:1}
.flowgrid{row-gap:16px}
/* 📸 references grouped by person, the place apart on the right */
.sent-groups{display:flex;gap:12px;align-items:flex-start;width:100%}
.sent-gpeople{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:10px}
.sent-gplace{flex:0 0 auto;max-width:34%;padding-left:12px;border-left:1px dashed var(--line);display:flex;flex-direction:column;gap:4px}
.sent-gname{font-size:.78rem;font-weight:600;color:var(--gold,#d8b25a);margin-bottom:2px}
.sent-g .sent-refs,.sent-gplace .sent-refs{flex-wrap:nowrap;overflow-x:auto}
/* ↔ „Renunță” on the left, „Refă” on the right, apart (not stuck together) */
#editForm>.row:last-child{justify-content:space-between;flex-wrap:wrap;gap:10px}
#editForm #emCancel{order:-1}
#editForm #emSt{order:2;flex-basis:100%}
#editForm #emOk,#editForm #emCancel{min-width:42%;padding:12px 18px}
/* ✕ always at hand on every window */
.ov-x{position:fixed;top:calc(10px + env(safe-area-inset-top));right:12px;z-index:60;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(20,16,24,.85);color:#fff;font-size:20px;line-height:1;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.4);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.ov-x:active{transform:scale(.94)}
.overlay[hidden] .ov-x{display:none}
/* 👥 centred chips; the people two by two (a couple on one row, their role above); the swap opens right under its pair */
.sent-cast{justify-content:center}
.sent-groups{flex-direction:column;align-items:stretch;gap:12px}
.sent-pair{border:1px solid var(--line);border-radius:14px;padding:10px;background:rgba(255,255,255,.03)}
.sent-prole{text-align:center;font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gold,#d8b25a);margin-bottom:8px}
.sent-pair-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sent-pair-row .sent-g{min-width:0}
.sent-refs.sent-wrapr{flex-wrap:wrap !important;overflow:visible !important;gap:6px}
.sent-pair-row .sent-ref img{height:78px}
.sent-gplace{max-width:none;border-left:0;padding-left:0;align-self:flex-end;align-items:flex-end;text-align:right}
.sent-swap-in{display:grid;grid-template-columns:42% 1fr;gap:12px;align-items:start}
.sent-swap-big{position:relative;border:0;padding:0;background:#0d0b10;border-radius:12px;overflow:hidden;cursor:pointer}
.sent-swap-big img{width:100%;aspect-ratio:3/4;object-fit:contain;display:block}
.sent-swap-big span{position:absolute;left:6px;right:6px;bottom:6px;background:rgba(0,0,0,.65);color:#fff;font-size:.72rem;padding:3px 8px;border-radius:99px;text-align:center}
.sent-swap-side{display:flex;flex-direction:column;gap:8px;min-width:0}
.sent-swap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.sent-swap-grid .sent-ref img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.sent-swap-grid{grid-template-columns:repeat(auto-fill,minmax(58px,1fr))}
.sent-swap-grid .sent-ref{width:100%;min-width:0}
.sent-pair-row .sent-ref img{height:70px}
.sent-swap{animation:none}
/* no gap above the bar: the window starts with the bar itself (nothing scrolls through above it) */
#sentBox .sent-card,.sent-pop .sent-pcard{padding-top:0}
#sentBox .sent-bar{margin-top:0;padding-top:calc(12px + env(safe-area-inset-top));top:0;background:var(--surface);box-shadow:0 6px 12px -8px rgba(0,0,0,.6)}
.sent-pop .sent-phead{padding-top:calc(14px + env(safe-area-inset-top))}
/* every reference the same rectangle (3:4), whatever the picture's own size */
#sentBox .sent-ref img{width:66px;height:88px;object-fit:cover}
.sent-pair-row .sent-ref img{width:54px;height:72px}
/* the place: a tall column on the right, next to all the pairs */
.sent-groups.has-place{display:grid;grid-template-columns:1fr 30%;column-gap:10px;row-gap:12px;align-items:start}
.sent-groups.has-place>*{grid-column:1}
.sent-groups.has-place>.sent-gplace{grid-column:2;grid-row:1 / span 20;position:sticky;top:70px;align-self:start;align-items:stretch;text-align:left;border-left:1px dashed var(--line);padding-left:10px}
.sent-gplace .sent-ref{width:100%}
.sent-gplace .sent-ref img{width:100% !important;height:auto !important;aspect-ratio:9/16;object-fit:cover}
.sent-groups.has-place .sent-pair-row{grid-template-columns:1fr 1fr}
.mrow-top{margin-bottom:6px}
.take-pick{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.take-b{border:1px solid var(--gold,#d8b25a);background:transparent;color:var(--gold,#d8b25a);border-radius:99px;padding:5px 12px;font:inherit;font-size:.8rem;cursor:pointer}
.take-b.on{border-color:var(--ok,#58c48a);color:var(--ok,#58c48a);cursor:default}
/* 29.10: the chips centred under a centred label; the pairs tight (pictures next to each other, little room between people), the
   place a tall column on the right; two place pictures one under the other, smaller */
.sent-cast{gap:6px}
.sent-cast>.muted{width:100%;text-align:center}
.sent-cast{display:flex;flex-wrap:wrap;justify-content:center}
.sent-cast>.sent-person{margin:0 3px}
.sent-pair{padding:8px 8px 10px}
.sent-pair-row{display:flex !important;gap:12px;flex-wrap:wrap;justify-content:flex-start}
.sent-pair-row .sent-g{flex:0 1 auto}
.sent-pair-row .sent-refs{gap:4px !important}
.sent-pair-row .sent-ref{border-width:2px}
.sent-gname{white-space:nowrap}
.sent-groups.has-place{grid-template-columns:1fr 28%}
.sent-gplace .sent-ref+.sent-ref img{margin-top:6px}
#sentBox .sent-pair-row .sent-ref img{width:50px;height:67px}
.sent-pair-row{flex-wrap:nowrap !important;gap:8px}
.sent-pair-row .sent-g{flex:1 1 0;min-width:0}
#sentBox .sent-pair-row .sent-refs{flex-wrap:wrap !important}
#sentBox .sent-pair-row .sent-ref img{width:46px;height:61px}
.sent-pair{padding:8px 6px 10px}
.sent-groups.has-place{grid-template-columns:1fr 27%;column-gap:8px}
/* two columns: the pairs (and the swap) on the left, the place on the right — no empty rows under them */
.sent-groups.has-place{display:flex !important;align-items:flex-start;gap:8px}
.sent-gleft{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:12px}
.sent-groups.has-place>.sent-gplace{flex:0 0 27%;position:sticky;top:70px}
.sent-groups:not(.has-place){display:block}
.sent-gplace.multi .sent-ref img{aspect-ratio:3/4 !important}
.sent-groups.has-place{flex-direction:row !important}
/* the frame of the scene you work on drawn inside the block: the project's list scrolls sideways and clipped it on the left and right */
.scene-blk.sel{box-shadow:inset 0 0 0 2px var(--accent),0 6px 24px rgba(0,0,0,.35)}
.scene-blk.sel::before{top:6px;right:10px}
.scene-blk.sel{padding-top:30px}
.fix-two{display:inline-flex;gap:6px;flex-wrap:wrap}
.fix-man{background:rgba(255,255,255,.14) !important;color:#fff !important}
/* 29.10: the people and the place in ONE frame (the place no longer slides on its own while scrolling); the faces a bit bigger */
#sentBox .sent-groups{border:1px solid var(--line);border-radius:14px;padding:10px;background:rgba(255,255,255,.03)}
#sentBox .sent-groups .sent-pair{border:0;background:transparent;padding:0}
#sentBox .sent-groups .sent-pair+.sent-pair{border-top:1px dashed var(--line);padding-top:10px}
.sent-groups.has-place>.sent-gplace{position:static !important}
#sentBox .sent-pair-row .sent-ref img{width:54px;height:72px}
.sent-groups.has-place>.sent-gplace{flex:0 0 26%}
#sentBox .sent-pair-row .sent-ref img{width:51px;height:68px}
#sentBox .sent-groups{padding:10px 8px}
.chain-node{opacity:1 !important}.chain-node img{opacity:.85}
/* 🔗 two scenes of one continuous take: a link between their blocks, the blocks drawn as one (no gap, a shared side bar) */
.scene-link{grid-column:1 / -1;margin:-10px 24px;padding:4px 12px;border-left:2px dashed var(--accent);border-right:2px dashed var(--accent);text-align:center;font-size:.76rem;color:var(--accent);background:rgba(224,122,138,.06);position:relative;z-index:1}
.scene-blk.linked{border-top-left-radius:4px;border-top-right-radius:4px;box-shadow:inset 3px 0 0 var(--accent)}
.scene-blk.linked-next{border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-shadow:inset 3px 0 0 var(--accent)}
.scene-blk.sel.linked,.scene-blk.sel.linked-next{box-shadow:inset 0 0 0 2px var(--accent),0 6px 24px rgba(0,0,0,.35)}
.mo-save{position:sticky;bottom:0;background:var(--surface);padding:10px 0 4px;box-shadow:0 -8px 12px -8px rgba(0,0,0,.5);z-index:2}
/* 📱 29.10: on a phone EVERY window is on the whole screen (no margins, no page behind it moving), its own scroll up and down only */
@media (max-width:700px){
  .overlay.modal{padding:0;align-items:stretch;justify-content:stretch;overflow:hidden}
  .overlay.modal>.card,.overlay.modal>form.card{max-width:none !important;width:100% !important;height:100dvh;max-height:100dvh !important;margin:0;border:0;border-radius:0;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:calc(14px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom))}
}
html.modal-on,html.modal-on body{overflow:hidden}
.ov-x.ov-x-late{opacity:0;pointer-events:none;transform:scale(.8)}.ov-x{transition:opacity .2s,transform .2s}

.sent-groups-wrap{display:flex;flex-direction:column;gap:10px;width:100%}
.sent-swap.sent-swap-place{width:100%;box-sizing:border-box;scroll-margin-top:80px}
.sent-swap-place .sent-swap-in{grid-template-columns:44% 1fr}
.sent-swap-place .sent-swap-grid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr))}
.sent-swap-place .sent-swap-big{position:sticky;top:76px;align-self:start}

.sent-busytag{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:6px;background:rgba(0,0,0,.6);color:#fff;padding:14px 16px;border-radius:16px;text-align:center;width:max-content;max-width:86%}
.sent-hg{font-size:2rem;line-height:1;animation:sentHg 2s ease-in-out infinite}
.sent-busytxt{font-size:.95rem;font-weight:600;animation:sentPulse 1.2s ease-in-out infinite}
.sent-eta{font-size:.72rem;opacity:.85;line-height:1.35;white-space:pre-line}
@keyframes sentHg{0%,40%{transform:rotate(0)}50%,90%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}
.sent-eta.late{color:#ffd27a;opacity:1}

.em-sug{display:flex;flex-direction:column;gap:8px}
.em-sug-row{display:flex;gap:8px}.em-sug-row input{flex:1;min-width:0}
.em-sug-list{display:flex;flex-direction:column;gap:6px;font-size:.85rem}
.em-opt{text-align:left;border:1px solid var(--line);background:rgba(255,255,255,.04);color:inherit;border-radius:12px;padding:10px 12px;font:inherit;line-height:1.4;cursor:pointer}
.em-opt.on{border-color:var(--accent,#c85a6e);background:rgba(200,90,110,.15)}
/* 📱 a window over the keyboard: the card is as tall as what is visible, the text box takes the room, the buttons stay above the keys */
@media (max-width:700px){
  .overlay.modal{top:var(--vvt,0) !important;bottom:auto !important;height:var(--vvh,100dvh) !important}
  .overlay.modal>.card,.overlay.modal>form.card{height:var(--vvh,100dvh) !important;max-height:var(--vvh,100dvh) !important}
  #editForm{display:flex;flex-direction:column;gap:10px}
  #editForm .em-main{flex:1 1 auto;display:flex;flex-direction:column;min-height:120px}
  #editForm .em-main textarea{flex:1 1 auto;min-height:110px;resize:none}
  #editForm>.row:last-child{position:sticky;bottom:0;background:var(--card,#1c1820);padding:10px 0 4px;margin-top:auto;z-index:2}
}
#editModal [hidden]{display:none !important}
#editForm>.row:last-child{flex-wrap:wrap}
#editForm #emOk,#editForm #emCancel{flex:1 1 0;min-width:0 !important;white-space:nowrap}
#editForm #emCancel{flex:0 1 38%}
/* 🔗 linked scenes in light green (Tata, 29.10: „cu un verde deschis legătura, să se vadă frumos că-s legate”) */
:root{--link:#7ee0a3}
.scene-link{border-left:2px dashed var(--link);border-right:2px dashed var(--link);color:var(--link);background:linear-gradient(180deg,rgba(126,224,163,.10),rgba(126,224,163,.18),rgba(126,224,163,.10));font-weight:600}
.scene-blk.linked,.scene-blk.linked-next{box-shadow:inset 3px 0 0 var(--link)}
.scene-blk.linked.linked-next{box-shadow:inset 3px 0 0 var(--link)}
.scene-blk.sel.linked,.scene-blk.sel.linked-next{box-shadow:inset 0 0 0 2px var(--accent),inset 5px 0 0 var(--link),0 6px 24px rgba(0,0,0,.35)}

.img-busy{position:relative;border-radius:10px;overflow:hidden;margin-top:6px}
.img-busy img{display:block;width:100%;filter:blur(2px) brightness(.55)}
.img-busy span{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#fff;font-size:.85rem;font-weight:600;text-align:center;padding:8px}
.img-busy b{font-size:1.8rem;animation:sentHg 2s ease-in-out infinite}
.img-busy small{font-weight:400;opacity:.8;font-size:.72rem}
.img-vers{margin-top:6px}
.img-vers-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.img-ver{flex:0 0 46%;display:flex;flex-direction:column;gap:4px}
.img-ver img{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:8px;cursor:zoom-in;margin:0}
.img-ver button{font:inherit;font-size:.72rem;padding:6px;border-radius:8px;border:1px solid var(--line);background:rgba(255,255,255,.05);color:inherit}

.sheet-row{border:1px solid var(--line);border-radius:14px;padding:10px;background:rgba(126,224,163,.04)}
.sheet-h{font-size:.8rem;opacity:.85;margin-bottom:8px}
.sheet-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}

.sheet-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.sheet-card{display:flex;flex-direction:column;gap:12px}
.sheet-pic{display:block;border:0;padding:0;background:#0d0b10;border-radius:14px;overflow:hidden;cursor:zoom-in;max-width:420px;width:100%;margin:0 auto}
.sheet-pic img{display:block;width:100%;height:auto}
.sheet-pic.empty{padding:28px;text-align:center;color:var(--muted,#aaa);cursor:default}
.sheet-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}
.sheet-facts>div{border:1px solid var(--line);border-radius:12px;padding:8px 10px;display:flex;flex-direction:column;gap:2px;font-size:.85rem}
.sheet-facts b{font-size:.75rem;opacity:.8;font-weight:600}
.sheet-sec{display:flex;flex-direction:column;gap:4px}
.sheet-sec>b{font-size:.8rem}
.sheet-acts{justify-content:space-between;flex-wrap:wrap;gap:8px}
/* 👥 the people's photos centred in their part of the frame, beside the place (Tata, 29.10: „grupul de oameni frumos centrat”) */
#sentBox .sent-groups.has-place{align-items:stretch !important}
#sentBox .sent-gleft{justify-content:center}
#sentBox .sent-pair{display:flex;flex-direction:column;align-items:center}
#sentBox .sent-pair-row{justify-content:center !important;width:100%}
#sentBox .sent-pair-row .sent-g{display:flex;flex-direction:column;align-items:center;flex:0 1 auto !important}
#sentBox .sent-pair-row .sent-gname{text-align:center}
#sentBox .sent-pair-row .sent-refs{justify-content:center}
#sentBox .sent-pair-row .sent-refs.sent-wrapr{max-width:116px}
.mo-sig.sz-mare{font-size:21px;opacity:1}
.mo-sig.sz-xl{font-size:29px;opacity:1}
.mo-pv-shot{background-size:cover;background-position:center;min-height:200px;border-radius:10px;padding:14px 8px;justify-content:flex-start}
.mo-sig.bg-dark{background:rgba(0,0,0,.7);padding:3px 12px;border-radius:999px;opacity:1}
.mo-sig.bg-light{background:#f4f4f4;color:#1a1a1a;text-shadow:none;padding:3px 12px;border-radius:999px;opacity:1}
.mo-sig.bg-gold{background:#d4af37;color:#1a1a1a;text-shadow:none;padding:3px 12px;border-radius:999px;opacity:1}

/* 💬 the messages of a chat (Întreabă AI and the film's „💬 Cere o schimbare”) */
.ask-msgs{display:flex;flex-direction:column;gap:10px;max-height:62vh;overflow-y:auto;padding:4px 2px;overscroll-behavior:contain}
.ask-msg{max-width:min(86%,620px);padding:10px 14px;border-radius:18px;line-height:1.5;overflow-wrap:anywhere}
.ask-msg.me{align-self:flex-end;background:var(--accent);color:var(--accent-ink);border-bottom-right-radius:6px;white-space:pre-wrap}
.ask-msg.ai{align-self:flex-start;background:var(--surface2);border:1px solid var(--line);border-bottom-left-radius:6px}
.ask-text p{margin:0 0 6px}.ask-text p:last-child{margin-bottom:0}.ask-text ul{margin:2px 0 6px;padding-left:20px}
.ask-msg.thinking{display:flex;align-items:center;gap:4px;color:var(--muted)}
.ask-msg.thinking i{width:6px;height:6px;border-radius:50%;background:var(--muted);animation:askdot 1.2s infinite ease-in-out}
.ask-msg.thinking i:nth-of-type(2){animation-delay:.15s}.ask-msg.thinking i:nth-of-type(3){animation-delay:.3s}
.ask-compose{display:flex;gap:8px;align-items:flex-end}
.ask-compose textarea{flex:1;min-height:46px;max-height:180px}
mark.ask-q{background:color-mix(in srgb,var(--gold) 22%,transparent);color:inherit;border-radius:6px;padding:1px 4px;font-weight:600;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.linkish{font:inherit;font-size:.85rem;background:none;border:0;color:var(--accent);cursor:pointer;padding:2px 4px;text-decoration:underline;text-underline-offset:2px}

/* 💬 Întreabă AI, 30.10: a phone chat app. A fixed shell as tall as what is visible (askai.js sets its height from visualViewport):
   the bar, the talk (the only thing that scrolls), the box; the page under it is locked */
html.ask-lock,html.ask-lock body{overflow:hidden;overscroll-behavior:none}
body.ask-on .wrap>header,body.ask-on .actp{display:none!important}
.ask-shell{position:fixed;top:0;left:0;right:0;height:100dvh;z-index:40;display:flex;flex-direction:column;background:var(--bg);-webkit-tap-highlight-color:transparent}
.ask-bar{flex:none;display:flex;align-items:center;gap:8px;padding:calc(env(safe-area-inset-top,0px) + 8px) max(12px,env(safe-area-inset-right,0px)) 8px max(12px,env(safe-area-inset-left,0px));border-bottom:1px solid var(--line);background:var(--bg)}
.ask-ic{flex:none;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid var(--line);background:var(--surface2);color:var(--ink);font:600 1.05rem var(--body);cursor:pointer;padding:0}
.ask-title{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:5px;font:400 1.05rem var(--display);background:none;border:0;color:var(--ink);padding:8px 4px;cursor:pointer;border-radius:10px}
.ask-title-t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ask-title-c{color:var(--muted);font:600 .75rem var(--body)}
.ask-seg{flex:none;display:flex;padding:3px;border-radius:999px;background:var(--surface);border:1px solid var(--line)}
.ask-seg button{font:600 .8rem var(--body);border:0;background:none;color:var(--muted);padding:7px 10px;border-radius:999px;cursor:pointer;white-space:nowrap;min-height:34px}
.ask-seg button[aria-checked="true"]{background:var(--ink);color:var(--bg)}
.ask-seg-s{display:none}
@media (max-width:380px){.ask-seg-l{display:none}.ask-seg-s{display:inline}.ask-seg button{padding:7px 8px}.ask-bar{gap:6px}}
.ask-body{flex:1;min-height:0;display:flex}
.ask-main{flex:1;min-width:0;display:flex;flex-direction:column}
.ask-view{flex:1;min-height:0;position:relative;display:flex;flex-direction:column}
.ask-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;position:relative}
.ask-col{width:100%;max-width:720px;margin:0 auto;padding:0 max(16px,env(safe-area-inset-right,0px)) 0 max(16px,env(safe-area-inset-left,0px))}
.ask-scroll>.ask-col{padding-top:16px;padding-bottom:18px;display:flex;flex-direction:column;gap:12px}
.ask-list{display:flex;flex-direction:column;gap:10px}
.ask-list .ask-msg{animation:askin .2s ease-out}
.ask-tail{display:flex;flex-direction:column;gap:10px}
.ask-tail:empty,.ask-list:empty{display:none}
.ask-opts{display:flex;flex-wrap:wrap;gap:8px}
.ask-opts .chip{padding:9px 14px;font-size:.92rem;border-radius:999px;min-height:40px}
.ask-opts .ask-me{border-style:dashed}
.ask-known{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ask-k{font-size:.78rem;border:1px dashed var(--line);border-radius:999px;padding:2px 9px;color:var(--muted)}
.ask-k.on{border-style:solid;border-color:var(--ok);color:var(--ok)}
.ask-cost{text-align:center}
.ask-newer{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);z-index:2;font:600 .85rem var(--body);padding:9px 16px;border-radius:999px;border:1px solid var(--line);background:var(--surface2);color:var(--ink);box-shadow:0 6px 18px rgba(0,0,0,.4);cursor:pointer}
.ask-newer[hidden]{display:none}
/* the bottom: the summary in one line, a note, the box with 🎤 and ➤ */
.ask-foot{flex:none;border-top:1px solid var(--line);background:var(--bg);padding:8px 0 calc(env(safe-area-inset-bottom,0px) + 8px)}
.ask-shell.kb .ask-foot{padding-bottom:8px}
.ask-foot>.ask-col{display:flex;flex-direction:column;gap:8px}
.ask-status:empty,.ask-sum[hidden]{display:none}
.ask-status .status{margin:0}
.ask-note{font-size:.84rem;color:var(--muted);text-align:center}
.ask-input{display:flex;align-items:flex-end;gap:6px;background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:4px 4px 4px 14px}
.ask-input:focus-within{border-color:color-mix(in srgb,var(--accent) 65%,var(--line))}
.ask-input textarea{flex:1;border:0;background:transparent;padding:9px 0;min-height:24px;resize:none;font-size:16px;line-height:1.4;overflow-y:hidden;border-radius:0}
.ask-input textarea:focus,.ask-input textarea:focus-visible{outline:none}
.ask-input .ask-ic{width:40px;height:40px;background:transparent;border:0;font-size:1.15rem}
.ask-mic.on{background:var(--bad)!important;color:#fff;animation:askpulse 1.2s ease-in-out infinite}
.ask-go{flex:none;width:40px;height:40px;border-radius:50%;border:0;background:var(--accent);color:var(--accent-ink);font-size:1.05rem;cursor:pointer;padding:0}
.ask-go:disabled{opacity:.35;cursor:default}
.ask-go.wait{animation:askpulse 1.2s ease-in-out infinite}
.ask-bbar{display:flex;gap:8px;align-items:stretch}
.ask-bbar-main{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:2px;font:inherit;text-align:left;border:1px solid var(--line);border-left:3px solid var(--gold);background:var(--surface);color:var(--ink);border-radius:14px;padding:7px 12px;cursor:pointer}
.ask-bbar.ready .ask-bbar-main,.ask-bbar.started .ask-bbar-main{border-left-color:var(--ok)}
.ask-bbar-t{font-weight:600;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ask-bbar-m{font-size:.76rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ask-bbar .btn{border-radius:14px;white-space:nowrap;display:flex;align-items:center}
/* 🎬 the first screen: the kind (six cards with pictures, two on a row on a phone), the length, the idea */
.ask-intro{display:flex;flex-direction:column;gap:16px;padding-top:4px}
.ask-intro[hidden]{display:none}
.ask-hello h2{font:400 clamp(1.7rem,6.5vw,2.3rem)/1.15 var(--display);margin:4px 0 6px}
.ask-hello p{margin:0}
.ask-done{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding:10px 12px 10px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.ask-done b{flex:1;min-width:0}
.ask-step{display:flex;flex-direction:column;gap:10px}
.ask-step h3{font:400 1.4rem/1.2 var(--display);margin:6px 0 0}
.ask-step p{margin:0}
.ask-durs{display:flex;gap:8px;flex-wrap:wrap}
.ask-dur{font:600 .95rem var(--body);padding:11px 18px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;min-height:44px}
.ask-dur[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.ask-direct{align-self:center;font:600 .95rem var(--body);color:var(--accent);background:none;border:1px dashed color-mix(in srgb,var(--accent) 50%,var(--line));border-radius:999px;padding:11px 18px;cursor:pointer;min-height:44px}
/* the summary: in a sheet on the phone, beside the talk on a wide screen */
.ask-aside{display:none}
@media (min-width:1100px){.ask-aside{display:block;flex:none;width:360px;border-left:1px solid var(--line);overflow-y:auto;padding:16px;background:var(--surface)}.ask-sum{display:none!important}.ask-aside .ask-brief{background:var(--bg)}}
.ask-aside-empty{display:flex;flex-direction:column;gap:6px}.ask-aside-empty p{margin:0}
.ask-brief{border:1px solid var(--line);border-left:3px solid var(--gold);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:10px;background:var(--bg)}
.ask-brief.ready{border-left-color:var(--ok)}
.ask-brief-top{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.ask-price{color:var(--gold);font-weight:600;white-space:nowrap}
.ask-brief dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:0;font-size:.9rem}
.ask-brief dt{color:var(--muted)}.ask-brief dd{margin:0;min-width:0;overflow-wrap:anywhere}
.ask-res{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.ask-res-b{display:flex;padding:3px;border-radius:999px;border:1px solid var(--line);background:var(--surface)}
.ask-res-b button{font:600 .82rem var(--body);border:0;background:none;color:var(--muted);padding:7px 12px;border-radius:999px;cursor:pointer;min-height:34px}
.ask-res-b button[aria-checked="true"]{background:var(--ink);color:var(--bg)}
.ask-go-row{display:flex;flex-direction:column;gap:6px}
.ask-go-row .btn{padding:13px 18px;border-radius:14px;font-size:1rem}
.ask-started a{color:var(--run)}
.ask-idea{border-top:1px solid var(--line);padding-top:10px}.ask-idea summary{cursor:pointer}
.ask-sheet{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.55);display:flex;align-items:flex-end;justify-content:center}
.ask-sheet[hidden]{display:none}
.ask-sheet-in{background:var(--bg);width:100%;max-width:720px;max-height:88dvh;overflow-y:auto;overscroll-behavior:contain;border-radius:20px 20px 0 0;padding:0 16px calc(env(safe-area-inset-bottom,0px) + 18px);animation:askup .22s ease-out;display:flex;flex-direction:column;gap:12px}
.ask-sheet-in.ask-sheet-full{max-width:none;height:100dvh;max-height:100dvh;border-radius:0;padding-top:env(safe-area-inset-top,0px);padding-bottom:0}
.ask-sheet-full .ask-brief{margin-bottom:0}
.ask-sheet-full .ask-go-row,.ask-sheet-full .ask-started{position:sticky;bottom:0;z-index:1;background:var(--bg);margin:0 -16px;padding:12px 16px calc(env(safe-area-inset-bottom,0px) + 12px);border-top:1px solid var(--line)}
.ask-sheet-bar{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;padding:14px 0 10px;background:var(--bg);border-bottom:1px solid var(--line);z-index:1}
.ask-chats{display:flex;flex-direction:column;gap:6px}
.ask-chat{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:14px;padding:4px;background:var(--surface)}
.ask-chat.on{border-color:var(--gold)}
.ask-chat-o{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;text-align:left;font:inherit;color:var(--ink);background:none;border:0;padding:8px 10px;cursor:pointer}
.ask-chat-o b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ask-chat .ask-ic{background:transparent;border:0}
.ask-newchat{align-self:flex-start}
.ask-sheet-acts{gap:8px;flex-wrap:wrap}
.ask-offer{margin-top:10px;border:1px solid var(--gold);border-radius:14px;padding:12px;background:var(--surface)}
.ask-offer p{margin:0 0 10px;line-height:1.4}
.ask-offer-b{gap:8px;flex-wrap:wrap}
.ask-offer-b .btn{flex:1 1 auto}
.ask-mem{display:flex;flex-direction:column;gap:6px;margin:10px 0}
.ask-mem-r{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;padding:8px 6px 8px 12px;background:var(--surface);line-height:1.35}
.ask-mem-r span{flex:1;min-width:0;overflow-wrap:anywhere}
.ask-mem-r .ask-ic{background:transparent;border:0}
.ask-mem-add{gap:8px;margin:6px 0 12px;flex-wrap:nowrap}
.ask-mem-add input{flex:1;min-width:0}
@keyframes askup{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
@keyframes askin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes askpulse{0%,100%{opacity:1}50%{opacity:.55}}
@media (prefers-reduced-motion:reduce){.ask-msg.thinking i,.ask-list .ask-msg,.ask-sheet-in,.ask-go.wait,.ask-mic.on{animation:none}.ask-kind{transition:none}}
.ask-shell.kb .ask-sum{display:none} /* writing: the room goes to the talk and the box */
/* 📋 De făcut: the areas (a row that scrolls sideways on a phone) and „🔥 Doar urgente” */
.todo-areas{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;-webkit-overflow-scrolling:touch}
.todo-areas::-webkit-scrollbar{display:none}
.todo-areas button{flex:none;font:inherit;font-size:.84rem;color:var(--muted);background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:7px 12px;cursor:pointer;white-space:nowrap}
.todo-areas button[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.todo-hot{font:inherit;font-size:.82rem;padding:5px 11px;border:1px dashed var(--line);border-radius:999px;background:transparent;color:var(--muted);cursor:pointer;margin-left:auto}
.todo-hot[aria-pressed="true"]{border-style:solid;border-color:var(--accent);color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent)}
/* 🎞 the starting points: big vertical cards, the picture whole and the name on it; side by side with a swipe on a phone, three on a row
   on a wide screen; a tap opens the card's 6 s clip on the whole screen */
.ask-kinds{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -16px;padding:2px 16px 6px;scroll-padding:0 16px}
.ask-kinds::-webkit-scrollbar{display:none}
.ask-kind{position:relative;flex:0 0 auto;height:min(40svh,290px);width:auto;aspect-ratio:9/14;scroll-snap-align:start;display:block;padding:0;font:inherit;text-align:left;color:#fff;background:var(--surface2);border:0;border-radius:22px;overflow:hidden;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.35);transition:transform .2s}
.ask-kind:active{transform:scale(.97)}
.ask-kind-img{position:absolute;inset:0;display:block;background:linear-gradient(160deg,var(--surface2),color-mix(in srgb,var(--accent) 30%,var(--surface2)))}
.ask-kind-img img{width:100%;height:100%;object-fit:cover;display:block}
.ask-kind-img.none::after{content:attr(data-ic);position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:3rem}
.ask-kind-play{position:absolute;top:10px;right:10px;font:600 .72rem var(--body);padding:4px 9px;border-radius:999px;background:rgba(0,0,0,.45);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.ask-kind-cap{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:3px;padding:44px 14px 14px;background:linear-gradient(transparent,rgba(0,0,0,.78))}
.ask-kind-t{font:400 1.3rem/1.15 var(--display);text-shadow:0 1px 6px rgba(0,0,0,.5)}
.ask-kind-d{font-size:.8rem;line-height:1.3;opacity:.88}
.ask-swipe{margin-top:-6px}
/* while writing: a small strip of the same cards (the picture and the name), the rest of the screen for the text */
.ask-typing .ask-kind{height:120px;border-radius:14px;box-shadow:0 4px 12px rgba(0,0,0,.3)}
.ask-typing .ask-kind-d,.ask-typing .ask-kind-play,.ask-typing ~ .ask-swipe,.ask-typing .ask-swipe,.ask-typing .ask-direct{display:none}
.ask-typing .ask-kind-cap{padding:22px 8px 7px}
.ask-typing .ask-kind-t{font-size:.86rem}
.ask-typing .ask-hello h2{font-size:1.25rem}
.ask-typing .ask-hello p{display:none}
.ask-typing .ask-kind-img.none::after{font-size:1.7rem;align-items:flex-start;padding-top:12px}
.ask-typing .ask-resume{flex-direction:row;align-items:center;gap:10px;padding:8px 12px}
.ask-typing .ask-resume-t .muted,.ask-typing .ask-resume-n,.ask-typing .ask-resume-b .ghost{display:none}
.ask-typing .ask-resume-t{flex:1}
.ask-typing .ask-resume-b .btn{padding:7px 12px;font-size:.88rem}
@media (min-width:640px){.ask-kinds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;margin:0;padding:0}.ask-kind{flex:none;width:auto;height:auto}.ask-swipe{display:none}.ask-typing .ask-kinds{grid-template-columns:repeat(6,minmax(0,1fr))}.ask-typing .ask-kind{height:auto}}
.ask-sheet.ask-show{align-items:stretch;background:rgba(0,0,0,.92)}
.ask-show-in{position:relative;width:100%;max-width:520px;margin:0 auto;display:flex;flex-direction:column;gap:12px;padding:calc(env(safe-area-inset-top,0px) + 12px) 16px calc(env(safe-area-inset-bottom,0px) + 16px);color:#fff}
.ask-show-x{position:absolute;top:calc(env(safe-area-inset-top,0px) + 16px);right:24px;z-index:3;background:rgba(0,0,0,.45);border-color:rgba(255,255,255,.2);color:#fff}
.ask-show-stage{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center}
.ask-show-v{max-width:100%;max-height:100%;aspect-ratio:9/16;height:100%;object-fit:cover;border-radius:20px;background:#111;display:block}
.ask-show-v.none{width:60%;display:flex;align-items:center;justify-content:center;font-size:4rem}
.ask-show-nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(0,0,0,.4);color:#fff;font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center}
.ask-show-nav.prev{left:4px}.ask-show-nav.next{right:4px}
@media (pointer:coarse){.ask-show-nav{display:none}}
.ask-show-txt{text-align:center}
.ask-show-txt h3{font:400 1.6rem/1.15 var(--display);margin:0 0 4px}
.ask-show-txt p{margin:0;color:rgba(255,255,255,.75)}
.ask-show-dots{display:flex;gap:6px;justify-content:center;margin-top:10px}
.ask-show-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.3)}
.ask-show-dots i.on{background:#fff;width:18px;border-radius:999px}
.ask-show-act{display:flex;gap:10px}
.ask-show-act .btn{flex:1;padding:14px;border-radius:16px;font-size:1rem}
.ask-show-act .btn.ghost{color:#fff;border-color:rgba(255,255,255,.3)}
@media (prefers-reduced-motion:reduce){.ask-kind{transition:none}}
/* ▶ the talk left last time, on top of a new film */
.ask-resume{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid color-mix(in srgb,var(--gold) 45%,var(--line));border-radius:18px;background:color-mix(in srgb,var(--gold) 7%,var(--surface))}
.ask-resume-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.ask-resume-t b{font-size:1.05rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ask-resume-b{display:flex;gap:8px;flex-wrap:wrap}.ask-resume-b .btn{border-radius:999px}
.ask-resume-n{margin-top:-2px}
.ask-plus[hidden],.ask-close[hidden]{display:none}
.ask-sheet-in.still{animation:none} /* filled again in place: no new slide-in */
/* 📚 the library of common shots in the Gallery (public/library.js) */
.lib-panel{grid-column:1/-1;display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px}
.lib-head{display:flex;flex-direction:column;gap:4px}
.lib-desc,.lib-text{width:100%;font:inherit;font-size:.86rem;padding:8px 10px;border-radius:10px;border:1px solid var(--line);background:var(--surface2);color:inherit;resize:vertical}
.lib-text{font-size:.78rem;padding:6px 8px}
.lib-rows{display:flex;flex-direction:column;gap:4px;max-height:40vh;overflow:auto}
.lib-row{display:flex;gap:8px;justify-content:space-between;font-size:.78rem;padding:4px 8px;border-radius:8px;background:var(--surface2)}
.lib-row b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:45%}
.lib-row span{color:var(--muted);text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lib-row.ok span{color:var(--ok)}.lib-row.err span{color:var(--bad);white-space:normal}
.lib-item .media{position:relative;aspect-ratio:auto;min-height:120px;max-height:340px}
.lib-item .media img,.lib-item .media video{object-fit:contain;max-height:340px}
.lib-play{position:absolute;inset:auto 8px 8px auto;background:rgba(0,0,0,.55);color:#fff;border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center;font-size:.8rem;pointer-events:none}
.lib-kw{font-size:.7rem;line-height:1.35}
/* 📷 „Întreabă AI”: the photo of someone who appears with their own face (cameră / telefon → profilul în Galerie) */
.ask-photo{border:1px solid color-mix(in srgb,var(--accent) 45%,var(--line));border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:10px;background:color-mix(in srgb,var(--accent) 6%,var(--surface))}
.ask-photo p{margin:0}
.ask-photo-h{display:flex;justify-content:space-between;align-items:center;gap:8px}
.ask-photo-h .ask-ic{width:34px;height:34px;background:transparent;border:0;color:var(--muted);font-size:1rem;cursor:pointer}
.ask-photo-tips{margin:0;padding:0;list-style:none;display:grid;gap:3px;color:var(--muted)}
.ask-photo-in{display:flex;flex-direction:column;gap:10px}
.ask-photo-in [hidden]{display:none!important}
.ask-photo-thumbs{display:flex;gap:8px;flex-wrap:wrap}
.ask-photo-th{position:relative;width:76px;height:96px;border-radius:12px;overflow:hidden;border:1px solid var(--line);background:var(--bg)}
.ask-photo-th.small{border-color:var(--gold)}
.ask-photo-th img{width:100%;height:100%;object-fit:cover;display:block}
.ask-photo-x{position:absolute;top:4px;right:4px;width:26px;height:26px;border-radius:50%;border:0;background:rgba(0,0,0,.65);color:#fff;font-size:.8rem;cursor:pointer;padding:0}
.ask-photo-b{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ask-photo-b .btn{min-height:46px;padding:10px 8px}
.ask-photo-b .btn:disabled,.ask-photo-go:disabled{opacity:.45;cursor:default}
.ask-photo-f{display:flex;flex-direction:column;gap:4px}
.ask-photo-name{font-size:16px;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:var(--bg);color:var(--ink)}
.ask-photo-tip{display:flex;flex-wrap:wrap;gap:6px}
.ask-photo-tip .chip{min-height:38px}
.ask-photo-agree{display:flex;align-items:center;gap:8px;font-size:.92rem}
.ask-photo-agree input{width:20px;height:20px}
.ask-photo-go{min-height:48px}
.ask-photo-ok{font-weight:600;color:var(--ok)}
.ask-photo.done .ask-photo-why,.ask-photo.done .ask-photo-tips,.ask-photo.done .ask-photo-skip{display:none}
.ask-photo-skip{align-self:center;font-size:.86rem}
.ask-photo-more{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
body.ask-on #lkModal{z-index:70}
@media (max-width:360px){.ask-photo-b{grid-template-columns:1fr}}
.ask-photo-ref{display:flex;gap:10px;align-items:center}
.ask-photo-ref img{width:84px;height:112px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
.ask-photo-ref .warn{color:var(--gold)}

/* ✕ 31.10 (Tata: „la toate popup-urile să am x-ul sus și un back frumos”): the same bar on top of every window (extras.js winBar):
   „‹ Înapoi” on the left, the window's title in the middle, ✕ on the right, always in sight */
.wbar{display:flex;align-items:center;gap:10px;padding:calc(env(safe-area-inset-top,0px) + 8px) 12px 8px;background:var(--surface);border-bottom:1px solid var(--line);box-sizing:border-box;z-index:61;color:var(--ink)}
.wbar-t{flex:1;min-width:0;text-align:center;font:400 1.08rem/1.25 var(--display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wbar-back{flex:none;display:inline-flex;align-items:center;font:600 .95rem/1 var(--body);color:var(--ink);background:var(--surface2);border:1px solid var(--line);border-radius:999px;padding:9px 15px 9px 12px;cursor:pointer;white-space:nowrap}
.wbar-x{flex:none;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--surface2);color:var(--ink);font-size:18px;line-height:1;cursor:pointer;display:inline-grid;place-items:center;padding:0}
.wbar-back:active,.wbar-x:active{transform:scale(.95)}
.vis-hi .wbar-back,.vis-hi .wbar-x{border:1.5px solid var(--ink)}
.overlay > .wbar{position:fixed;top:0;left:0;right:0}
.overlay.has-wbar{padding-top:calc(env(safe-area-inset-top,0px) + 70px)}
.overlay[hidden] > .wbar{display:none}
.wbar-adopted,.wbar-own{display:none !important}
@media (max-width:700px){
  .overlay.modal.has-wbar{flex-direction:column;padding-top:0}
  .overlay.modal.has-wbar > .wbar{position:relative;flex:none}
  .overlay.modal.has-wbar > .card,.overlay.modal.has-wbar > form.card{height:auto !important;max-height:none !important;flex:1 1 auto;min-height:0}
}
/* the windows that scroll with their bar inside (ce s-a trimis, the person's card, the report of the analysis) */
.sent-bar.wbar{position:sticky;top:0;justify-content:space-between;padding-left:0;padding-right:0;background:var(--surface)}
.sent-pop .sent-bar.wbar{margin-top:calc(-12px - env(safe-area-inset-top));padding-top:calc(12px + env(safe-area-inset-top))}
/* the full-screen viewer: the same buttons, on the dark */
.fsv{z-index:120}
.fsv-top .wbar-back,.fsv-top .wbar-x{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.22);color:#fff}
.fsv-top .fsv-cap{flex:1;min-width:0;text-align:center}
/* the analysis: its top bar (‹ Înapoi, ✕) and the report's bar, a scene taken out of the list */
.rvw-ttl{flex:1;min-width:0;overflow:hidden}
.rvw-x.rvw-xc{width:38px;height:38px;padding:0;display:inline-grid;place-items:center;font-size:1rem}
.rvw-x.rvw-back{font-weight:600}
.rvw-repbar.wbar{position:sticky;top:calc(-16px - env(safe-area-inset-top,0px));margin:calc(-16px - env(safe-area-inset-top,0px)) -16px 4px;padding-top:calc(env(safe-area-inset-top,0px) + 8px);flex:none}
.rvw-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.rvw-del{flex:none;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer;font-size:.95rem;line-height:1;padding:0}
.rvw-del:active{transform:scale(.92)}
.rvw-gone{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border:1px dashed var(--line);border-radius:12px;padding:10px 12px;font-size:.88rem;color:var(--muted)}
/* the other full-screen panels with the same bar: the screenplay, the costs, the sheets (character, comparison, lookbook), the chat's sheets */
.sp-over > .wbar.sp-top,.cs-over > .wbar.cs-top{position:sticky;top:-12px;margin:-12px -16px 10px;justify-content:normal}
.chs-x.wbar-back{width:auto;height:auto;border-radius:999px;font-size:.95rem}
.chs-top b{text-align:center}
.ask-sheet-bar strong{flex:1;min-width:0;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ask-sheet-bar{gap:10px}
/* a window opened from the full-screen analysis (ce s-a trimis, the person's card, any other) comes above it, not behind it */
.rvw ~ .overlay{z-index:100}
/* 🎵 the song made in the chat, played right there */
.ask-song{margin-top:8px;display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}
.ask-song-st{font-size:.9rem;color:var(--muted)}.ask-song-st.err{color:var(--bad)}
.ask-song-t{font-weight:600}
.ask-song-take{display:flex;flex-direction:column;gap:4px}
.ask-song-take audio{width:100%}
.ask-song-dl{align-self:flex-start;font-size:.82rem;color:var(--gold);text-decoration:none;background:none;border:0;padding:2px 0;cursor:pointer;font:inherit}

/* ⚡ a picture or a clip made right in the chat (askai.js mediaCard): 9:16, rounded, a soft shimmer while it is made */
.ask-media{margin-top:10px;display:flex;flex-direction:column;gap:8px;max-width:min(300px,78vw)}
.ask-media-frame{position:relative;aspect-ratio:9/16;border-radius:16px;overflow:hidden;background:var(--surface2);border:1px solid var(--line);box-shadow:0 6px 24px rgba(0,0,0,.18)}
.ask-media-frame img,.ask-media-frame video{display:block;width:100%;height:100%;object-fit:cover;background:#000}
.ask-media-frame img{cursor:zoom-in}
.ask-media-frame.gone{aspect-ratio:auto;padding:14px;box-shadow:none}
.ask-media-shim{position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.10) 50%,transparent 70%) 0 0/250% 100%,linear-gradient(160deg,color-mix(in srgb,var(--gold) 14%,transparent),transparent 60%);animation:askShim 1.6s linear infinite}
.ask-media-pre{position:absolute;inset:0;filter:blur(3px) saturate(.9);opacity:.75;transform:scale(1.04)}
.ask-media-frame.wait .ask-media-st{position:absolute;left:10px;right:10px;bottom:12px;text-align:center;padding:8px 10px;border-radius:12px;background:rgba(0,0,0,.45);color:#fff;font-size:.84rem;backdrop-filter:blur(6px)}
.ask-media-st{font-size:.86rem;color:var(--muted)}.ask-media-st.err{color:var(--bad)}
.ask-media-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.ask-mt{border:1px solid var(--line);background:var(--surface2);color:inherit;border-radius:999px;padding:6px 12px;font:inherit;font-size:.82rem;cursor:pointer;min-height:34px}
.ask-mt:hover{border-color:var(--gold)}
.ask-media-p{flex-basis:100%}
.ask-media-next{margin-top:2px}
@keyframes askShim{to{background-position:-250% 0,0 0}}
@media (prefers-reduced-motion:reduce){.ask-media-shim{animation:none}}
/* ⚡ a chat's quick creations on the project page: the clips as tall as the pictures, the line above them */
.node[data-k^="quick"] video{max-height:none;object-fit:contain}
.quick-h{padding:4px 2px}

/* 🔍 a chat clip's check, under it (1.11) */
.qc-warn{color:var(--warn,#d9a441);margin-top:4px;line-height:1.3}

/* 🗂 the admin in categories (1.11) */
.adm-cats{margin:4px 0 10px}
.adm-body{display:flex;flex-direction:column;gap:12px}
.adm-notes{display:flex;flex-direction:column;gap:4px}
.adm-notes .cs-row{display:flex;justify-content:space-between;gap:8px;width:100%;background:none;border:0;border-bottom:1px solid var(--line);padding:6px 2px;color:inherit;cursor:pointer}
.adm-links{display:flex;flex-wrap:wrap;gap:8px}

/* 🤝 the consent sheet of a real person (1.11) */
#chConsent{display:flex;flex-direction:column;gap:12px}
.cs-sec{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid var(--line);border-radius:12px}
.cs-acts{display:flex;flex-direction:column;gap:4px}
.cs-act{display:flex;align-items:center;gap:6px;font-size:.92rem;text-transform:none;letter-spacing:0}
.cs-act input{width:auto}
.cs-all{font-weight:600}
.cs-never{color:var(--bad,#c55)}
/* 🙋 Bella, the guided mode (public/bella.js): the full tab row hidden (Expert brings it back), her first screen, the bar at the bottom */
body.bella-mode:not(.bella-expert) nav[role=tablist]{display:none}
body.bella-mode{padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
.bl-expert{margin-left:auto;font-size:.85rem}
.bl{display:flex;flex-direction:column;gap:14px;max-width:640px;width:100%;margin:0 auto}
.bl-band{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:.86rem;color:var(--muted);border:1px solid var(--line);border-radius:12px;padding:8px 12px;background:var(--surface)}
.bl-link{background:none;border:0;color:var(--ink);font:inherit;cursor:pointer;padding:6px 4px;min-height:40px}
.bl-hero{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;background:linear-gradient(135deg,#3a1d2a,#1e1720 70%);border:1px solid var(--line);border-radius:18px;padding:18px;overflow:hidden}
.bl-hero h2{font-family:var(--display);font-size:clamp(1.8rem,7vw,2.6rem);line-height:1.05;margin:0 0 6px}
.bl-hero p{margin:0;color:var(--ink);opacity:.9}
.bl-face{width:clamp(96px,30vw,150px);aspect-ratio:4/5;object-fit:cover;object-position:50% 18%;border-radius:14px;grid-column:2;grid-row:1;border:1px solid var(--line)}
.bl-face-0{display:grid;place-items:center;font-size:3rem;background:var(--surface2)}
.bl-hi{grid-column:1;grid-row:1;min-width:0}
.bl-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.bl-row h3{font-family:var(--display);font-size:1.4rem;margin:0}
.bl-acts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px}
.bl-act{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px;color:var(--ink);font:inherit;cursor:pointer;min-height:64px}
.bl-act:focus-visible,.bl-ex-b:focus-visible,.bl-tool:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.bl-act-ic{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--accent);font-size:1.3rem}
.bl-act-t{display:flex;flex-direction:column;min-width:0}.bl-act-t small{color:var(--muted)}
.bl-act-go{color:var(--muted);font-size:1.4rem}
.bl-ex{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:8px}
.bl-ex-b{display:flex;gap:8px;align-items:center;background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:12px;color:var(--ink);font:inherit;cursor:pointer;min-height:48px;text-align:left}
.bl-ex-e{font-size:1.4rem}
.bl-tip{margin:0;color:var(--muted);font-size:.9rem}
.bl-send{width:48px;height:48px;flex:0 0 48px;border-radius:50%;border:0;background:var(--accent);color:var(--accent-ink);font-size:1.2rem;cursor:pointer}
.ask-go-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.ask-go-btn{min-height:40px}
.ask-bella-face{width:28px;height:28px;border-radius:50%;object-fit:cover;float:left;margin:0 8px 4px 0;border:1px solid var(--line)}
/* 🙋 the chat is the home of the guided mode: a window opened over it (the name at the first entry, ⚙️ Contul meu) comes above it,
   not under it where no button can be reached (the beginner's test on the phones, 1.11) */
body.ask-on .overlay,body.bella-mode .overlay{z-index:60}
body .rvw ~ .overlay{z-index:100} /* still above the full-screen viewer */
/* 🙋 the beginner's test on the phones (1.11): with the phone's zoom the box is narrow and its hint broke in the middle of a word
   („Răspu / nde”): one line, cut with … ; the chat's title and „Nu știu încă” as big as a finger */
#askIn::placeholder{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.bella-mode .ask-title,body.bella-mode .bl-row .chip{min-height:44px}
/* 📱 a narrow phone or the phone's zoom (240–300 px): three buttons of 40 px left ~60 px for the words („Scrie ai”) */
@media (max-width:300px){.ask-input{gap:2px;padding-left:10px}.ask-input .ask-ic{width:34px;font-size:1.05rem}}
/* 🙋 Creațiile mele for a beginner (the real-app test, 1.11): what they made, to look at, download and send — not the tools of the
   full app (the model's name, the English prompt, tags, folders, the library, „✏️ Proiectul” of a picture made in the chat) */
body.bella-mode:not(.bella-expert) #v-gallery > .grid,
body.bella-mode:not(.bella-expert) #gkinds .chip:is([data-k="voice"],[data-k="chat"],[data-k="lib"]),
body.bella-mode:not(.bella-expert) #gal :is(.gmodel,.prompt,.gtags,.glinks,.gproj,.glib){display:none}
/* 🏠 Acasă (the guided mode's main page, where Bella's chat closes to): her card with „Vorbește cu Bella”, the last creations, shortcuts */
.bl-talk{margin-top:4px;min-height:48px;align-self:flex-start}
.bl-hero-home{display:flex;flex-direction:column;gap:8px}
.bl-hh{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bl-hh h2{margin:0}
.bl-hero-home .bl-face{width:64px;height:64px;flex:0 0 64px;aspect-ratio:1;border-radius:50%;font-size:2rem}
.bl-recent{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.bl-rc{position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;border:1px solid var(--line);background:var(--surface2);padding:0;cursor:pointer;transition:box-shadow .2s}
.bl-rc.big{grid-column:1/-1;justify-self:center;max-width:100%;box-shadow:0 8px 30px rgba(0,0,0,.45);scroll-margin:12px 0 calc(96px + env(safe-area-inset-bottom,0px))} /* the bar at the bottom never covers it */
.bl-rc.big img,.bl-rc.big video{object-fit:contain;background:#000}
.bl-rc-full{position:absolute;top:8px;right:8px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.5);color:#fff;font-size:1.1rem;z-index:2}
.bl-rc-full[hidden]{display:none}.bl-rc.big .bl-rc-t{display:none}
.bl-rc audio{display:none}
.bl-rc img,.bl-rc video{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.bl-rc-m{display:grid;place-items:center;height:100%;font-size:2rem}
.bl-rc-p{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.5);color:#fff;font-size:.9rem}
.bl-empty{grid-column:1/-1;color:var(--muted);border:1px dashed var(--line);border-radius:12px;padding:16px;text-align:center}
.f916-tips{margin:4px 0 10px;border:1px solid var(--line);border-radius:12px;padding:8px 12px;background:var(--surface)}
.f916-tips summary{cursor:pointer;min-height:32px;display:flex;align-items:center}.f916-tips ul{margin:6px 0 2px;padding-left:18px;display:grid;gap:4px}
.bl-rc-t{position:absolute;left:0;right:0;bottom:0;padding:14px 6px 5px;font-size:.7rem;line-height:1.2;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.75));text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* 🧭 the guided mode as a real app (Tata, 1.11 seara, with a video of Viralio: „e totul aranjat, nu fuge… la noi e varză”): one slim bar
   on top of every page (logo or „‹ Înapoi” · credits · ☰), the menu from ☰, no bar at the bottom; a window closes with ✕ on its right */
:root{--bltop:calc(56px + env(safe-area-inset-top,0px))}
.bl-top,.bl-menu,.bl-scrim,.bl-chat-back,.ask-bar .bl-cr,.ask-bar .bl-burger{display:none}
body.bella-mode:not(.bella-expert) .bl-top{position:fixed;top:0;left:0;right:0;z-index:44;display:flex;align-items:center;gap:8px;height:var(--bltop);box-sizing:border-box;padding:env(safe-area-inset-top,0px) max(12px,env(safe-area-inset-right,0px)) 0 max(12px,env(safe-area-inset-left,0px));background:color-mix(in srgb,var(--bg) 92%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.bl-logo{background:none;border:0;padding:6px 2px;color:var(--ink);font:400 1.25rem var(--display);cursor:pointer;white-space:nowrap}
.bl-logo em{color:var(--accent);font-style:italic}
.bl-logo[hidden],.bl-top-back[hidden],.bl-visit[hidden]{display:none}
.bl-top-t{flex:1;min-width:0;font:400 1.15rem var(--display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bl-top-back,.bl-chat-back{flex:none;min-height:40px;padding:6px 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface2);color:var(--ink);font:600 .9rem var(--body);cursor:pointer;white-space:nowrap}
.bl-top-r{margin-left:auto;flex:none;display:flex;align-items:center;gap:8px}
.bl-cr{flex:none;display:inline-flex;align-items:center;min-height:36px;padding:6px 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface2);color:var(--ink);font:600 .88rem var(--body);cursor:pointer;white-space:nowrap}
.bl-cr.low{color:var(--bad,#e66);border-color:var(--bad,#e66)}
.bl-burger{flex:none;width:42px;height:42px;border-radius:12px;border:1px solid var(--line);background:var(--surface2);color:var(--ink);font-size:1.25rem;line-height:1;cursor:pointer;display:grid;place-items:center}
body.bl-menu-on .bl-burger{background:var(--accent);color:var(--accent-ink,#fff);border-color:var(--accent)}
body.bella-mode:not(.bella-expert) .wrap>header{display:none}
body.bella-mode:not(.bella-expert){padding-top:calc(var(--bltop) + 14px)}
#v-acasa{display:flex;flex-direction:column;gap:18px}
#v-acasa[hidden]{display:none}
/* ☰ the menu: under the bar, over the page, grouped like an app's */
body.bella-mode:not(.bella-expert).bl-menu-on .bl-menu{position:fixed;top:var(--bltop);right:0;left:0;bottom:0;z-index:43;display:flex;flex-direction:column;gap:2px;overflow-y:auto;overscroll-behavior:contain;padding:10px max(14px,env(safe-area-inset-right,0px)) calc(20px + env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px));background:var(--bg);animation:blIn .16s ease-out}
@media (min-width:700px){body.bella-mode:not(.bella-expert).bl-menu-on .bl-menu{left:auto;width:380px;border-left:1px solid var(--line)}body.bella-mode:not(.bella-expert).bl-menu-on .bl-scrim{display:block;position:fixed;inset:var(--bltop) 0 0 0;z-index:42;background:rgba(0,0,0,.45)}}
@keyframes blIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.bl-mh{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:14px 6px 4px}
.bl-mh:first-child{margin-top:4px}
.bl-mi{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:none;border:0;border-radius:14px;padding:12px 10px;min-height:54px;color:var(--ink);font:inherit;cursor:pointer}
.bl-mi:hover,.bl-mi:focus-visible{background:var(--surface2);outline:none}
.bl-mi-ic{width:36px;height:36px;flex:none;border-radius:10px;display:grid;place-items:center;background:var(--surface2);border:1px solid var(--line);font-size:1.05rem}
.bl-mi-t{display:flex;flex-direction:column;min-width:0}.bl-mi-t small{color:var(--muted)}
/* the chat's own bar, the same: „‹ Acasă” on the left, the credits and ☰ on the right */
body.bella-mode.ask-on:not(.bl-menu-on) .bl-top{display:none}
body.bella-mode.ask-on.bl-menu-on .ask-bar{visibility:hidden}
body.bella-mode:not(.bella-expert) .ask-bar{min-height:var(--bltop);box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:0;gap:8px}
body.bella-mode:not(.bella-expert) .bl-chat-back{display:inline-flex;align-items:center}
body.bella-mode:not(.bella-expert) .ask-bar .bl-cr{display:inline-flex}
body.bella-mode:not(.bella-expert) .ask-bar .bl-burger{display:grid}
body.bella-mode:not(.bella-expert) .ask-title{font-size:1.1rem}
@media (max-width:380px){body.bella-mode:not(.bella-expert) .ask-bar .bl-cr{display:none}body.bella-mode:not(.bella-expert) .ask-plus{display:none}}
/* a window: its name on the left, ✕ on the right (the way every app closes a window); the bar on top steps aside meanwhile */
body.bella-mode:not(.bella-expert) :is(.wbar-back,.chs-top .chs-x,.ask-sheet-bar .wbar-back){display:none}
body.bella-mode:not(.bella-expert) .wbar-x,body.bella-mode:not(.bella-expert) .ask-sheet-bar .ask-ic{display:grid;place-items:center;margin-left:auto;width:42px;height:42px;border-radius:12px;font-size:1.1rem}
body.bella-mode:not(.bella-expert) .wbar-t{text-align:left}
body.bella-mode.bl-win .bl-top,body.bella-mode.bl-win .bl-menu{display:none}
/* 🏠 Acasă: the greeting, one box, the tools, the last works */
.bl-greet{display:flex;flex-direction:column;gap:12px;padding:20px 18px;border-radius:22px;border:1px solid var(--line);background:radial-gradient(120% 90% at 0% 0%,color-mix(in srgb,var(--accent) 26%,transparent),transparent 60%),var(--surface)}
.bl-greet-top{display:flex;align-items:center;gap:14px}
.bl-greet .bl-face{width:64px;height:64px;flex:none;border-radius:50%;aspect-ratio:1;object-fit:cover;object-position:50% 18%;grid-column:auto;grid-row:auto;font-size:2rem}
.bl-greet-t{min-width:0}
.bl-hi1{margin:0;font:400 clamp(1.7rem,7vw,2.4rem)/1.05 var(--display)}
.bl-hi2{display:inline-block;margin-top:6px;padding:2px 12px;border-radius:10px;background:var(--accent);color:var(--accent-ink,#fff);font:400 clamp(1.25rem,5.4vw,1.7rem)/1.25 var(--display);transform:rotate(-1.5deg)}
.bl-greet-p{margin:0;color:var(--muted)}
.bl-ask{display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);border-radius:16px;background:var(--bg);padding:12px}
.bl-ask-in{width:100%;box-sizing:border-box;resize:none;border:0;background:transparent;color:var(--ink);font:inherit;font-size:1rem;min-height:52px;outline:none}
.bl-ask:focus-within{border-color:var(--accent)}
.bl-ask-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.bl-ask-go{min-height:46px;padding:0 20px;border-radius:999px;font-weight:700}
.bl-sec h3{margin:6px 2px 0;font:400 1.3rem var(--display)}
.bl-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bl-tool{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;padding:14px;min-height:96px;border-radius:16px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;cursor:pointer}
.bl-tool:active{transform:scale(.98)}
.bl-tool-ic{font-size:1.4rem;margin-bottom:4px}
.bl-tool small{color:var(--muted)}
.bl-card{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:18px;border:1px solid var(--line);background:var(--surface)}
.bl-card .bl-row h3{font-size:1.15rem}
.bl-all{font-size:.95rem}
.bl-talk-line{align-self:center;background:none;border:0;color:var(--muted);font:inherit;padding:10px;cursor:pointer;min-height:44px}
/* the page does not bounce away under the thumb (the rubber band of the phone) */
html:has(body.bella-mode:not(.bella-expert)),body.bella-mode:not(.bella-expert){overscroll-behavior-y:none}
/* 🎨 the guest's look: first light (2.11, „altă treabă”), then the Bella UI kit Tata brought the same night (design-tokens.json):
   a cinematic plum scene, warm light, light text, a soft coral accent; the mark „f” with FABRICA / STUDIO in spaced capitals,
   Bella's big card with her two clear buttons; the admin and Expert keep their own dark app */
body.bella-mode:not(.bella-expert){--bg:#160f16;--surface:#241820;--surface2:#35232f;--ink:#fff5ee;--muted:#d1bbc2;--line:#4a3642;--accent:#ffb399;--accent-ink:#27151e;--warm:#f5d6ac;--coral:linear-gradient(135deg,#ffb399,#ee8c78);color-scheme:dark;background:var(--bg);color:var(--ink)}
body.bella-mode:not(.bella-expert) .overlay{background:rgba(20,10,17,.76)}
body.bella-mode:not(.bella-expert) .bl-top{background:color-mix(in srgb,var(--surface) 94%,transparent);border-bottom-color:var(--line)}
.bl-logo{display:flex;align-items:center;gap:10px;text-align:left}
.bl-mark{width:38px;height:38px;flex:none;border-radius:11px;background:linear-gradient(135deg,#ffb399,#ee8c78);color:#27151e;display:grid;place-items:center;font:400 1.55rem/1 "Gloock",Georgia,serif;box-shadow:0 0 18px rgba(255,179,153,.3)}
.bl-word{display:flex;flex-direction:column;line-height:1.05}
.bl-word b{font:700 .92rem var(--body);letter-spacing:.28em;text-transform:uppercase;color:var(--ink)}
.bl-word small{font:500 .6rem var(--body);letter-spacing:.44em;text-transform:uppercase;color:var(--muted);margin-top:4px}
@media (max-width:340px){.bl-word small{display:none}.bl-word b{letter-spacing:.18em}}
/* Bella's card */
.bl-bcard{border-radius:28px;overflow:hidden;background:var(--surface);border:1px solid var(--line);box-shadow:0 18px 50px rgba(0,0,0,.45)}
.bl-bcard-top{position:relative;aspect-ratio:1/1;max-height:60svh;width:100%;background:#3a2530;overflow:hidden}
.bl-bcard-pic{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 22%;display:block}
.bl-bcard-0{display:grid;place-items:center;font-size:4rem;color:#fff}
.bl-bcard-top::after{content:"";position:absolute;inset:auto 0 0 0;height:58%;background:linear-gradient(rgba(30,15,22,0),rgba(30,15,22,.8));pointer-events:none}
.bl-bchip{position:absolute;top:14px;left:14px;z-index:2;padding:9px 14px;border-radius:999px;background:rgba(40,22,30,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;font:600 .7rem var(--body);letter-spacing:.16em;text-transform:uppercase}
.bl-bcard-cap{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:18px 20px 20px;text-align:center;color:#fff}
.bl-bcard-cap h2{margin:0;font:600 clamp(1.55rem,6.4vw,2.2rem)/1.15 var(--body);letter-spacing:-.01em;text-wrap:balance}
.bl-bcard-cap p{margin:6px auto 0;max-width:34em;opacity:.92;font-size:.98rem}
.bl-bcard-body{display:flex;flex-direction:column;gap:10px;padding:16px}
.bl-bbtn{min-height:56px;border:0;border-radius:18px;background:linear-gradient(135deg,#ffb399,#ee8c78);color:#27151e;font:700 1.05rem var(--body);cursor:pointer;box-shadow:0 8px 24px rgba(238,140,120,.28)}
.bl-bbtn2{min-height:56px;border-radius:18px;border:1px solid rgba(255,179,153,.45);background:rgba(255,179,153,.06);color:var(--ink);font:500 1.02rem var(--body);cursor:pointer}
.bl-bbtn:active,.bl-bbtn2:active{transform:scale(.99)}
.ask-intro .bl-bcard-top{aspect-ratio:4/3}
.ask-intro .bl-bcard-cap h2{font-size:clamp(1.35rem,5.6vw,1.8rem)}
.ask-intro .bl-bcard-cap p{font-size:.9rem}
/* Acasă and the pages in the same clean type: titles in the body face, a little bolder */
body.bella-mode:not(.bella-expert) :is(.bl-sec h3,.bl-card h3,.bl-row h3,.bl-top-t,.ask-title){font-family:var(--body);font-weight:600;letter-spacing:-.005em}
body.bella-mode:not(.bella-expert) .bl-sec h3{font-size:1.3rem;margin:8px 2px 0}
body.bella-mode:not(.bella-expert) .bl-sec p{margin:4px 2px 0}
body.bella-mode:not(.bella-expert) .bl-tool{background:var(--surface);box-shadow:0 4px 18px rgba(0,0,0,.28)}
body.bella-mode:not(.bella-expert) .bl-tool-ic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 10%,var(--surface))}
body.bella-mode:not(.bella-expert) .bl-card{box-shadow:0 4px 18px rgba(0,0,0,.28)}
body.bella-mode:not(.bella-expert) :is(.wrap section h2,.wbar-t,.chs-top b,.ask-sheet-bar strong){font-family:var(--body);font-weight:600;letter-spacing:-.01em}

/* 🎬 the first moment: the sign-in as Bella's stage (Tata, 2.11: „când voi intra pe site… să fie top, o experiență wow unică”) */
#login.overlay{padding:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;overflow-y:auto;background:#160f16;z-index:200;-webkit-overflow-scrolling:touch}
#login .lg-stage{position:fixed;inset:0;overflow:hidden;background:#160f16}
#login .lg-bella{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 10%;transform-origin:50% 24%;animation:lgZoom 20s ease-out both}
@keyframes lgZoom{from{transform:scale(1.14)}to{transform:scale(1)}}
#login .lg-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(22,15,22,.5) 0%,rgba(22,15,22,0) 18%,rgba(22,15,22,0) 38%,rgba(22,15,22,.82) 62%,#160f16 82%)}
@media (min-width:900px){#login .lg-bella{object-position:50% 6%}#login .lg-shade{background:linear-gradient(90deg,#160f16 0%,rgba(22,15,22,.86) 34%,rgba(22,15,22,.15) 62%,rgba(22,15,22,.35) 100%)}}
#login .lg-top{position:relative;z-index:2;flex:none;margin-bottom:clamp(120px,30vh,300px);display:flex;align-items:center;gap:10px;padding:calc(env(safe-area-inset-top,0px) + 16px) max(20px,env(safe-area-inset-right,0px)) 0 max(20px,env(safe-area-inset-left,0px));animation:lgUp .6s ease-out both}
.lg-mark{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#ffb399,#ee8c78);color:#27151e;display:grid;place-items:center;font:400 1.55rem/1 "Gloock",Georgia,serif;box-shadow:0 0 22px rgba(255,179,153,.35)}
.lg-word{display:flex;flex-direction:column;line-height:1.05}
.lg-word b{font:700 .92rem var(--body);letter-spacing:.28em;text-transform:uppercase;color:#fff5ee}
.lg-word small{font:500 .6rem var(--body);letter-spacing:.44em;text-transform:uppercase;color:#d1bbc2;margin-top:4px}
#login .lg-card{position:relative;z-index:2;flex:none;max-width:440px;width:100%;box-sizing:border-box;margin:auto auto 0;background:none;border:0;box-shadow:none;border-radius:0;padding:0 max(20px,env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 28px) max(20px,env(safe-area-inset-left,0px));display:flex;flex-direction:column;gap:12px;color:#fff5ee}
@media (min-width:900px){#login .lg-top{margin-bottom:0}#login .lg-card{margin:auto 0 auto 7vw;max-width:440px}}
#login .lg-start > *{animation:lgUp .7s ease-out both}
#login .lg-start > :nth-child(2){animation-delay:.12s}#login .lg-start > :nth-child(3){animation-delay:.24s}#login .lg-start > :nth-child(n+4){animation-delay:.36s}
@keyframes lgUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.lg-chip{align-self:flex-start;padding:8px 14px;border-radius:999px;background:rgba(40,22,30,.6);border:1px solid rgba(255,179,153,.25);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font:600 .7rem var(--body);letter-spacing:.16em;text-transform:uppercase;color:#f5d6ac}
#login .lg-hi{margin:0;font:400 clamp(2.2rem,9vw,3.2rem)/1.05 "Gloock",Georgia,serif;color:#fff5ee;text-shadow:0 2px 24px rgba(0,0,0,.45)}
.lg-sub{margin:0 0 6px;color:#e6d3d8;font-size:1.02rem;line-height:1.5}
.lg-lab{font:600 .78rem var(--body);letter-spacing:.08em;text-transform:uppercase;color:#d1bbc2;margin-top:4px;display:block}
#login .lg-in{height:52px;border-radius:14px;border:1px solid #5e4654;background:rgba(36,24,32,.78);color:#fff5ee;font:500 16px var(--body);padding:0 14px}
#login .lg-in:focus{outline:3px solid rgba(255,179,153,.35);border-color:#ffb399}
#login .lg-go{margin-top:8px;min-height:54px;border:0;border-radius:999px;background:linear-gradient(135deg,#ffb399,#ee8c78);color:#27151e;font:700 1.08rem var(--body);box-shadow:0 10px 30px rgba(238,140,120,.32);cursor:pointer}
#login .lg-go:active{transform:scale(.985)}
#login .status.err{color:#ffb4a8;text-align:center;margin:0;font-weight:600}
#login .status.err:empty{display:none}
/* ✨ right after you get in: the glowing „f” while the studio opens */
#fsSplash{display:none}
html.fs-splash #fsSplash{position:fixed;inset:0;z-index:300;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:radial-gradient(circle at 50% 42%,#35232f,#160f16 66%);color:#fff5ee;transition:opacity .55s ease}
html.fs-splash-out #fsSplash{opacity:0}
.sp-ring{position:relative;width:128px;height:128px;border-radius:50%;display:grid;place-items:center}
.sp-ring::before{content:"";position:absolute;inset:0;border-radius:50%;border:1.5px solid rgba(255,179,153,.55);box-shadow:0 0 34px rgba(255,179,153,.45),inset 0 0 22px rgba(255,179,153,.25)}
.sp-ring::after{content:"";position:absolute;inset:-6px;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 70%,rgba(255,214,172,.95) 85%,transparent 100%);-webkit-mask:radial-gradient(circle,transparent 60px,#000 61px,#000 66px,transparent 67px);mask:radial-gradient(circle,transparent 60px,#000 61px,#000 66px,transparent 67px);animation:spSpin 1.4s linear infinite}
.sp-ring span{font:italic 400 3.4rem/1 "Gloock",Georgia,serif;color:#f5d6ac;text-shadow:0 0 18px rgba(245,214,172,.5)}
#fsSplash p{margin:0;font:500 1.1rem var(--body);letter-spacing:.02em;opacity:.92}
@keyframes spSpin{to{transform:rotate(360deg)}}
/* a short phone (an SE, or the bars of the browser open): a smaller greeting, and the card starts lower on Bella */
@media (max-height:700px) and (max-width:899px){#login .lg-top{margin-bottom:clamp(90px,24vh,200px)}#login .lg-hi{font-size:2.15rem}#login .lg-card{gap:9px}#login .lg-go{min-height:54px}}
/* 1 · the welcome: two ways in */
#login .lg-start,#login .lg-sheet{display:flex;flex-direction:column;gap:12px}
#login .lg-start[hidden],#login .lg-sheet[hidden]{display:none}
.lg-alt{min-height:52px;border-radius:999px;border:1px solid rgba(255,245,238,.24);background:rgba(255,245,238,.1);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff5ee;font:600 1.02rem var(--body);cursor:pointer}
.lg-alt:active{transform:scale(.985)}
/* 2 · the code or the account: a glass sheet over Bella, who steps back a little */
#login .lg-bella{transition:filter .36s ease}
#login:has(#loginForm:not([data-step="start"])) .lg-bella{filter:brightness(.62) saturate(.9)}
#login .lg-sheet{padding:18px 18px 16px;margin:0 -6px;border-radius:28px;background:rgba(28,18,25,.72);border:1px solid rgba(255,245,238,.1);-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);box-shadow:0 20px 60px rgba(0,0,0,.45);animation:lgSheet .36s cubic-bezier(.2,.8,.2,1) both}
@keyframes lgSheet{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
.lg-head{display:flex;align-items:center;gap:12px;margin-bottom:4px}
.lg-back{flex:none;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,245,238,.09);color:#fff5ee;font:500 1.7rem/1 var(--body);display:grid;place-items:center;padding-bottom:3px;cursor:pointer}
.lg-back:active{background:rgba(255,179,153,.22)}
#login .lg-h{margin:0;font:400 1.75rem/1.1 "Gloock",Georgia,serif;color:#fff5ee}
.lg-p{margin:2px 0 0;color:#d1bbc2;font-size:.95rem}
/* the six boxes (as on LIVE): the digit shows, the next box waits with a soft caret, a wrong code shakes them red */
.lg-code-in{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;font-size:16px;border:0;padding:0}
.lg-boxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:6px 0 4px;cursor:text}
.lg-boxes span{position:relative;height:60px;border-radius:14px;border:1.5px solid rgba(255,245,238,.22);background:rgba(255,245,238,.05);display:grid;place-items:center;font:600 1.75rem "Figtree",system-ui,sans-serif;color:#fff5ee;transition:border-color .11s, background .11s}
.lg-boxes span.on{border-color:#ffb399;background:rgba(255,179,153,.1)}
.lg-boxes span.now{border-color:rgba(255,179,153,.55)}
.lg-boxes span.now::after{content:"";width:2px;height:26px;border-radius:1px;background:#ffb399;animation:lgCaret 1s steps(1) infinite}
@keyframes lgCaret{50%{opacity:0}}
.lg-boxes.err{animation:lgShake .4s}
.lg-boxes.err span{border-color:#ff8f86;background:rgba(255,143,134,.1)}
@keyframes lgShake{20%,60%{transform:translateX(-7px)}40%,80%{transform:translateX(7px)}}
/* the big keys */
.lg-pad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:6px}
.lg-pad button{height:58px;border-radius:18px;border:1px solid rgba(255,245,238,.07);background:rgba(255,245,238,.08);color:#fff5ee;font:600 1.6rem "Figtree",system-ui,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .11s, transform .11s}
.lg-pad button:active{background:rgba(255,179,153,.24);transform:scale(.97)}
.lg-pad .lg-del{font-size:1.25rem;background:transparent;border-color:transparent}
#login .lg-go-code{display:none}
#login .lg-sheet.full .lg-go-code{display:block}
#login .lg-sheet .lg-go{margin-top:6px}
/* with the code or the account open, the sheet may rise over Bella (she stays behind the glass), so it all fits on the first screen */
#login:has(#loginForm:not([data-step="start"])) .lg-top{margin-bottom:14px}
@media (max-width:899px){#login:has(#loginForm:not([data-step="start"])) .lg-card{padding-bottom:calc(env(safe-area-inset-bottom,0px) + 14px)}}
@media (max-height:620px) and (max-width:899px){.lg-pad{gap:8px}.lg-pad button{height:46px}.lg-boxes span{height:50px;font-size:1.55rem}#login .lg-sheet{gap:9px}.lg-p{display:none}}
@media (max-height:700px) and (max-width:899px){.lg-pad button{height:50px;border-radius:16px}.lg-boxes span{height:54px}#login .lg-sheet{padding:14px 14px 12px}#login .lg-h{font-size:1.55rem}}
/* a laptop: Bella on the right side, the welcome on the left */
@media (min-width:900px){#login .lg-stage{left:auto;width:62vw}#login .lg-shade{background:linear-gradient(90deg,#160f16 0%,rgba(22,15,22,.55) 22%,rgba(22,15,22,0) 48%),linear-gradient(0deg,rgba(22,15,22,.7) 0%,rgba(22,15,22,0) 30%)}}
@media (prefers-reduced-motion:reduce){#login .lg-bella,#login .lg-start > *,#login .lg-top,.sp-ring::after,#login .lg-sheet,.lg-boxes.err,.lg-boxes span.now::after{animation:none}}

/* ☰ 2.11 (Tata: „meniul nu se vede bine, trebuie să dau în dreapta… restul e oribil”): the old general rule nav{flex-wrap:wrap} broke the
   menu into two columns when it was taller than the screen; now one column, Bella's row with her face, the four makes as glass tiles,
   then plain rows with thin icons and a chevron */
body.bella-mode:not(.bella-expert).bl-menu-on .bl-menu{flex-wrap:nowrap;overflow-x:hidden;gap:4px;background:radial-gradient(120% 50% at 100% 0%,rgba(255,179,153,.08),transparent 60%),var(--bg)}
.bl-menu > *{flex:none}
.bl-ico{display:inline-grid;place-items:center;flex:none;width:24px;height:24px;color:#ffb399}
.bl-ico svg{width:100%;height:100%}
.bl-mi .bl-ico{width:40px;height:40px;padding:9px;border-radius:12px;background:rgba(255,179,153,.08)}
.bl-mi-t{flex:1}
.bl-mi-t b{font-weight:600;font-size:1.02rem}
.bl-chev{margin-left:auto;color:var(--muted);font-size:1.4rem;line-height:1;opacity:.7}
.bl-mbella{display:flex;align-items:center;gap:14px;width:100%;text-align:left;margin:4px 0 2px;padding:10px 12px 10px 10px;border-radius:20px;border:1px solid rgba(255,179,153,.28);background:linear-gradient(135deg,rgba(255,179,153,.14),rgba(255,179,153,.04));color:var(--ink);font:inherit;cursor:pointer}
.bl-mbella img{width:52px;height:52px;flex:none;border-radius:50%;object-fit:cover;object-position:50% 20%;border:2px solid rgba(255,179,153,.55)}
.bl-mgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:2px 0 4px}
.bl-mk{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:104px;padding:14px;border-radius:18px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.bl-mk .bl-ico{width:28px;height:28px;margin-bottom:2px}
.bl-mk b{font-weight:600;font-size:1rem}
.bl-mk small{color:var(--muted);font-size:.82rem;line-height:1.3}
.bl-mk:active,.bl-mi:active,.bl-mbella:active{transform:scale(.985)}
/* 🏠 Acasă: Bella on the whole first screen, under a transparent top bar; the glass buttons on her; the last works below */
.bl-hero{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;min-height:calc(100svh - var(--bltop) - 14px);border-radius:28px;background:#160f16}
.bl-hero-pic{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 14%;animation:lgZoom 22s ease-out both;transform-origin:50% 25%}
.bl-hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(22,15,22,.55) 0%,rgba(22,15,22,0) 16%,rgba(22,15,22,0) 40%,rgba(22,15,22,.72) 64%,rgba(22,15,22,.96) 100%)}
.bl-hero-in{position:relative;z-index:1;display:flex;flex-direction:column;gap:12px;width:100%;max-width:520px;margin:0 auto;padding:0 20px 18px}
.bl-hchip{align-self:flex-start;padding:8px 14px;border-radius:999px;background:rgba(40,22,30,.55);border:1px solid rgba(255,179,153,.25);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font:600 .7rem var(--body);letter-spacing:.16em;text-transform:uppercase;color:#f5d6ac}
body.bella-mode #v-acasa h2.bl-hh{margin:0;font:400 clamp(2.05rem,8.6vw,3.1rem)/1.05 "Gloock",Georgia,serif;color:#fff5ee;text-shadow:0 2px 24px rgba(0,0,0,.45);letter-spacing:0;text-wrap:balance}
.bl-hsub{margin:-4px 0 4px;color:#eadbe0;font-size:1.06rem}
.bl-hmore{align-self:center;background:none;border:0;color:#d1bbc2;font:500 .92rem var(--body);padding:6px 10px;min-height:44px;cursor:pointer}
@media (max-width:899px){
  html:has(body.bl-home){overflow-x:clip}
  /* full-bleed: from the very top of the screen (under the bar) to the bottom, edge to edge */
  body.bl-home .bl-hero{margin:calc(-14px - var(--bltop)) calc(50% - 50vw) 0;min-height:100svh;border-radius:0}
  body.bl-home .bl-hero-in{padding:0 max(20px,env(safe-area-inset-right,0px)) calc(18px + env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px))}
  body.bl-home:not(.bl-menu-on):not(.bl-scrolled) .bl-top{background:linear-gradient(180deg,rgba(22,15,22,.72),rgba(22,15,22,0));border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
}
/* 2.11, Tata: „butoanele sunt din topor… mai subtile”: a slim glass pill for Bella, round glass buttons with their names under them */
.bl-hgo{display:flex;align-items:center;gap:12px;min-height:54px;padding:0 18px 0 7px;border-radius:999px;border:1px solid rgba(255,245,238,.26);background:rgba(255,245,238,.12);-webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3);color:#fff5ee;font:600 1rem var(--body);letter-spacing:.01em;cursor:pointer;transition:transform .11s,background .11s}
.bl-hgo-c{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#ffb399,#ee8c78);box-shadow:0 4px 16px rgba(238,140,120,.35)}
.bl-hgo-c .bl-ico{width:20px;height:20px;color:#27151e}
.bl-hgo-a{margin-left:auto;font-size:1.4rem;line-height:1;opacity:.75}
.bl-hgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:4px}
.bl-gb{display:flex;flex-direction:column;align-items:center;gap:7px;padding:4px 0;background:none;border:0;color:#fff5ee;cursor:pointer;-webkit-tap-highlight-color:transparent}
.bl-gb-c{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;border:1px solid rgba(255,245,238,.22);background:rgba(36,22,30,.38);-webkit-backdrop-filter:blur(14px) saturate(1.25);backdrop-filter:blur(14px) saturate(1.25);transition:transform .11s,background .11s,border-color .11s}
.bl-gb-c .bl-ico{width:23px;height:23px}
.bl-gb-t{font:500 .8rem var(--body);letter-spacing:.01em;color:#eadbe0;text-shadow:0 1px 8px rgba(0,0,0,.5);white-space:nowrap}
.bl-hgo:active{transform:scale(.98);background:rgba(255,245,238,.2)}
.bl-gb:active .bl-gb-c{transform:scale(.92);background:rgba(255,179,153,.28);border-color:rgba(255,179,153,.6)}
@media (max-height:700px) and (max-width:899px){.bl-hgo{min-height:50px}.bl-gb-c{width:52px;height:52px}.bl-hero-in{gap:10px}}
@media (max-width:340px){.bl-gb-c{width:50px;height:50px}.bl-gb-t{font-size:.74rem}}
/* a laptop: Bella on the right, the greeting and the buttons on the left (not over her face) */
@media (min-width:900px){.bl-hero{min-height:min(78vh,760px);align-items:flex-start;justify-content:center}.bl-hero-pic{left:auto;right:0;width:62%;object-position:50% 14%}.bl-hero-shade{background:linear-gradient(90deg,#160f16 0%,#160f16 34%,rgba(22,15,22,.55) 50%,rgba(22,15,22,0) 66%),linear-gradient(0deg,rgba(22,15,22,.6) 0%,rgba(22,15,22,0) 26%)}#v-acasa .bl-hero-in{margin:0;max-width:380px;padding:0 0 0 40px}}
@media (prefers-reduced-motion:reduce){.bl-hero-pic{animation:none}}

/* 👆 2.11, Tata: „când dau click durează până apare… am impresia că nu am dat”: no double-tap wait, the press shows at the touch */
body.bella-mode :is(button,a,.btn,[role=button]){touch-action:manipulation;-webkit-tap-highlight-color:rgba(255,179,153,.14)}
body.bella-mode:not(.bella-expert) :is(.bl-mi,.bl-mk,.bl-mbella,.btn,.bl-burger,.bl-cr,.bl-chat-back):active{transform:scale(.97);transition:transform .08s}
#login :is(button){touch-action:manipulation;-webkit-tap-highlight-color:transparent}
/* 🔒 the sign-in does not move under the finger (the installed app scrolled on the code); the account form keeps scrolling for the keyboard */
html:has(#login:not([hidden])),html:has(#login:not([hidden])) body{overflow:hidden;overscroll-behavior:none}
#login.overlay{overscroll-behavior:none}
#login:has(#loginForm:not([data-step="pass"])){overflow:hidden;touch-action:none}
#login:has(#loginForm:not([data-step="pass"])) :is(button,input){touch-action:manipulation}

/* 🎙 Bella talking over her own picture: the clip fades in over the still and back out at the end; one small round sound button */
.bl-hero-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 14%;opacity:0;transition:opacity .5s ease;pointer-events:none}
.bl-hero.bl-talking .bl-hero-vid{opacity:1}
.bl-snd{position:absolute;z-index:3;top:16px;right:16px;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,245,238,.24);background:rgba(36,22,30,.42);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:#fff5ee;display:grid;place-items:center;cursor:pointer}
.bl-snd .bl-ico{width:21px;height:21px;color:#fff5ee}
.bl-snd:active{transform:scale(.92)}
.bl-snd-hint{position:absolute;z-index:3;top:26px;right:70px;padding:5px 11px;border-radius:999px;background:rgba(36,22,30,.6);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff5ee;font:500 .78rem var(--body);animation:lgUp .4s ease-out both}
@media (max-width:899px){body.bl-home .bl-snd{top:calc(var(--bltop) + 12px);right:max(16px,env(safe-area-inset-right,0px))}body.bl-home .bl-snd-hint{top:calc(var(--bltop) + 22px);right:calc(max(16px,env(safe-area-inset-right,0px)) + 54px)}}
@media (min-width:900px){.bl-hero-vid{left:auto;right:0;width:62%}}

/* 🙋 ‹ back to the talk Bella sent you from (2.11) */
.bl-backchat{position:fixed;z-index:46;left:max(14px,env(safe-area-inset-left,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));padding:10px 16px;border-radius:999px;border:1px solid var(--line);background:var(--accent);color:var(--accent-ink);font:600 .92rem var(--body);box-shadow:0 6px 18px rgba(0,0,0,.35);cursor:pointer}

/* 🧰 „Ce știu să fac”: Bella's tools, by group (Tata, 2.11) */
.bl-tools-top{display:flex;flex-direction:column;gap:4px;margin:6px 0 10px}
.bl-tools-top h2{margin:0}
.bl-tools-top p{margin:0;font-size:.9rem}
.bl-tchips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}
.bl-tchips::-webkit-scrollbar{display:none}
.bl-tchips .chip{flex:none}
.bl-tchips .chip.on{background:var(--accent);color:var(--bg, #fff);border-color:var(--accent)}
.bl-tools{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;padding-bottom:24px}
.bl-tool{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:118px;padding:14px;border-radius:18px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;text-align:left;cursor:pointer;min-width:0}
.bl-tool b{font-weight:600;font-size:.98rem;line-height:1.25}
.bl-tool small{color:var(--muted);font-size:.8rem;line-height:1.3}
.bl-tool-c{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;border:1px solid var(--line);margin-bottom:2px}
.bl-tool-c .bl-ico{width:22px;height:22px}
.bl-tool-tag{margin-top:auto;font-size:.7rem;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.bl-tool:not(.soon) .bl-tool-tag{color:var(--accent)}
.bl-tool.soon{opacity:.55;cursor:default}
.bl-tool:active:not(.soon){transform:scale(.985)}
.bl-tools-h{grid-column:1/-1;margin-top:8px;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}

/* 🖼 a photo of his own in the talk: 📷's choices and the photo in his message */
.ask-att{display:flex;flex-direction:column;gap:8px;margin:0 0 8px;padding:10px;border-radius:16px;border:1px solid var(--line);background:var(--surface)}
.ask-att-b{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.ask-att-b small{color:var(--muted);font-size:.8rem}
.ask-att-x{align-self:flex-end;background:none;border:0;color:var(--muted);font:inherit;cursor:pointer;padding:4px 6px}
.ask-msg.me .ask-upl{display:block;max-width:220px;max-height:300px;border-radius:14px;margin-bottom:6px;object-fit:cover}

/* 📝 the form filled from another photo: the form with the words drawn, the values to check, save */
.ask-form{display:flex;flex-direction:column;gap:8px}
.ask-form-cv{width:100%;height:auto;border-radius:10px;background:#fff}
.ask-form-rows{display:grid;gap:6px;margin-top:6px}
.ask-form-r{display:grid;gap:2px}
.ask-form-r input{width:100%;min-width:0}
.ask-file img{width:100%;border-radius:10px;background:#fff}
.ask-form-r .row input{flex:1}
.ask-form-n{flex:none;padding:4px 9px}

/* 🔄 a new version is out: a small bar on top, one tap reloads */
.fs-update{position:fixed;left:50%;transform:translateX(-50%);top:calc(env(safe-area-inset-top,0px) + 10px);z-index:9999;display:flex;align-items:center;gap:10px;padding:10px 12px 10px 16px;border-radius:999px;background:var(--surface2,#271e2a);color:var(--ink,#f1e7dc);border:1px solid var(--accent,#d0566c);box-shadow:0 8px 30px rgba(0,0,0,.35);font:500 .92rem var(--body,system-ui);max-width:calc(100vw - 24px)}
.fs-update button{border:0;border-radius:999px;padding:7px 12px;background:var(--accent,#d0566c);color:var(--accent-ink,#1a0f14);font:600 .9rem var(--body,system-ui);cursor:pointer;white-space:nowrap}
.fs-update .fs-update-x{background:transparent;color:var(--muted,#a3949b);padding:6px}
.fs-update span{white-space:nowrap}
/* 🛡 the admin's panel (accounts.js draw: PANEL): groups of tiles, each saying what changes there */
.adm-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.adm-head h2{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.adm-head .adm-back~h2{order:3;flex-basis:100%;font-size:1.5rem}
.adm-panel{display:grid;gap:20px}
.adm-grp h3{margin:0 0 8px;font:600 .95rem var(--body,system-ui);color:var(--muted);letter-spacing:.02em}
.adm-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}
.adm-tile{display:flex;align-items:center;gap:12px;min-height:72px;padding:12px 14px;border-radius:14px;border:1px solid var(--line);background:var(--surface,#1d1720);color:var(--ink,inherit);text-align:left;cursor:pointer;font:inherit}
.adm-tile:hover{border-color:var(--accent)}
.adm-ic{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:1.25rem;background:rgba(255,136,151,.12)}
.adm-tt{flex:1;min-width:0;display:grid;gap:2px}.adm-tt b{font-weight:600}.adm-tt small{color:var(--muted);font-size:.84rem;line-height:1.3}
.adm-go{color:var(--muted);font-size:1.2rem}
/* 📊 Activitatea utilizatorilor (accounts.js statsBox) */
.st-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}
.st-tile{display:grid;gap:2px;padding:12px;border-radius:12px;background:var(--surface2,#271e2a);border:1px solid var(--line)}
.st-tile b{font:700 1.4rem var(--body,system-ui);font-variant-numeric:tabular-nums}.st-tile span{color:var(--muted);font-size:.84rem}
.st-funnel{display:grid;gap:6px}
.st-step{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 8px;font-size:.9rem}
.st-step i{grid-column:1/-1;grid-row:2;height:10px;border-radius:999px;background:var(--accent);display:block}
.st-step b{font-variant-numeric:tabular-nums;white-space:nowrap}
.st-users{display:grid;gap:4px}
.st-user{border:1px solid var(--line);border-radius:10px;padding:8px 10px}
.st-user summary{cursor:pointer;display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:var(--ink,inherit);list-style:none}
.st-dot{width:9px;height:9px;border-radius:50%;background:var(--line)}.st-dot.on{background:#53c27a}
.st-badges{margin-left:auto;font-size:.85rem;color:var(--muted)}
.gap-row{display:flex;gap:10px;align-items:flex-start;justify-content:space-between;padding:8px 0;border-top:1px solid var(--line)}.gap-row>div{min-width:0}.gap-row.done{opacity:.55}.gap-row .btn{flex:none}
