/* Moonya UI3 — redizajn (07.10.2026, Nemanja: „sve identično preview-u"; referenca: Sugar CRM shot).
   Važi SAMO kad <html> ima klasu ui3 (prekidač u index.html; ?ui=classic vraća stari izgled bez deploy-a).
   Pravila:
   - nove komponente nose prefiks u- (stari CSS ih ne dodiruje → nema rata sa !important);
   - postojeći DOM (top bar, čarobnjak, kartice) se preuzima kroz #id opseg (specifičnost 1,x,x pobeđuje stare klase);
   - jedan akcenat = crna; plava/crvena/zelena/žuta su SAMO stanje. */

/* Tokeni u- komponenti važe i u klasičnom izgledu (13.10): dijalozi koji uvek koriste u- klase (kadrovi videa, lice
   brenda, katanac probe) su u klasičnom imali providno glavno dugme jer su tokeni postojali samo pod html.ui3. */
:root{
  --u-canvas:#e6e9ef; --u-canvas-2:#d9dfec;
  --u-panel:rgba(255,255,255,.42); --u-card:#f6f7fa; --u-white:#ffffff;
  --u-ink:#0d0e11; --u-on-sub:rgba(255,255,255,.74); --u-text:#22252c; --u-muted:#7d838f; --u-line:#d3d8e2;
  --u-blue:#7f9bd8; --u-blue-soft:#dfe6f6; --u-red:#d9655f; --u-red-soft:#f6dedd; --u-green:#5fb08a; --u-amber:#d9a04a;
  --u-glow:rgba(127,155,216,.32); --u-green-glow:rgba(95,176,138,.45); --u-sheen:rgba(255,255,255,.6);
  --u-font:"Urbanist","Avenir Next","Helvetica Neue",Arial,sans-serif;
  --u-r-xl:34px; --u-r-lg:28px; --u-r-md:22px; --u-r-sm:16px;
}
html.ui3{
  --font:var(--u-font); /* stari ui.css body{font-family:var(--font)} → Urbanist bez !important */
  --focus:0 0 0 3px rgba(13,14,17,.12); /* stari ui.css fokus (bio ljubičast) */
}

/* <small> je u starom hq.css globalno siv sa !important (isključeno za UI3 kao input/fokus); osnovna boja ovde, komponente je menjaju */
html.ui3 :where(small){color:var(--u-muted)}
/* ---------- okvir ---------- */
html.ui3 body.theme-mono.moonya-v2:not(#u0):not(#u1){background:linear-gradient(180deg,var(--u-canvas) 0%,var(--u-canvas) 45%,var(--u-canvas-2) 100%) fixed!important;color:var(--u-text)!important}
html.ui3 body .app:not(#u0):not(#u1){display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;gap:0 22px!important;padding:14px 24px 26px!important;background:transparent!important;max-width:none!important;height:auto!important;min-height:100dvh!important;overflow:visible!important}
html.ui3 #side,html.ui3 body .side-toggle:not(#u0),html.ui3 body .side-peek:not(#u0){display:none!important}
html.ui3 body .main:not(#u0):not(#u1){min-width:0!important;padding:0!important;background:transparent!important;margin:0!important;max-width:none!important}

/* ---------- sidebar (komponenta u-side, crta je ui3.js) ---------- */
.u-side{font-family:var(--u-font);display:flex;flex-direction:column;gap:4px;min-width:0;position:sticky;top:14px;align-self:start;max-height:calc(100dvh - 28px);overflow-y:auto;scrollbar-width:none;color:var(--u-text)}
.u-side::-webkit-scrollbar{display:none}
.u-logo{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:800;letter-spacing:-.02em;padding:6px 8px 14px;color:var(--u-ink);text-decoration:none;border:0;background:none;cursor:pointer;font-family:inherit}
.u-logo-img{display:block;height:28px;width:auto;max-width:100%}
.u-av{width:38px;height:38px;border-radius:50%;background:var(--u-ink);color:#fff;display:grid;place-items:center;font-weight:800;font-size:14px;flex:none;overflow:hidden}
.u-av.is-sm{width:32px;height:32px;font-size:12.5px}
.u-side #sideNetworks:not(#u0){display:flex!important;align-items:center;gap:8px;width:100%;margin:0 0 6px!important;padding:9px 9px 9px 12px!important;border:1px solid var(--u-line)!important;border-radius:18px!important;background:var(--u-white)!important;box-shadow:0 4px 12px rgba(20,24,35,.04)!important;cursor:pointer;font-family:var(--u-font)}
.u-side #sideNetworks:not(#u0):hover{border-color:#bfc6d3!important}
.u-side #sideNetworks[hidden]{display:none!important}
.u-side #sideNetworks .msn-icons{display:flex!important;align-items:center;gap:5px;flex:1;min-width:0;overflow:hidden}
.u-side #sideNetworks .msn-ic{width:28px!important;height:28px!important;border-radius:50%!important}
.u-side #sideNetworks .msn-ic svg{width:14px!important;height:14px!important}
.u-side #sideNetworks .msn-empty{color:var(--u-muted)!important;font-size:12.5px!important;font-weight:600!important}
.u-side #sideNetworks .msn-plus{width:28px!important;height:28px!important;border-radius:50%!important;background:var(--u-ink)!important;color:#fff!important;font-size:16px!important;font-weight:600!important;display:grid!important;place-items:center!important}
/* 16.10 (Nikola): sve povezane mreže u jednom redu — složeni krugovi (preklapanje kad ih je više od 5), uvek iste veličine */
.u-netstack{display:flex;align-items:center;min-width:0}
.u-netstack .u-net{width:28px;height:28px;box-shadow:0 0 0 2px var(--u-white)}
.u-netstack .u-net svg{width:14px;height:14px}
.u-netstack .u-net+.u-net{margin-left:4px}
.u-netstack.is-tight .u-net+.u-net{margin-left:-7px}
.u-netstack.is-dense .u-net+.u-net{margin-left:-10px}
.u-grp{font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--u-muted);padding:8px 12px 4px;font-weight:600}
.u-nv{display:flex;align-items:center;gap:12px;border:0;background:none;border-radius:999px;padding:4px 14px 4px 5px;text-align:left;font-size:14px;font-weight:500;font-family:inherit;color:var(--u-text);cursor:pointer;width:100%;position:relative}
.u-nv .u-ic{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.62);display:grid;place-items:center;flex:none}
.u-nv .u-ic svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.u-nv .u-lb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.u-nv:hover{background:rgba(255,255,255,.45)}
.u-nv[aria-current="page"]{background:var(--u-ink);color:#fff}
.u-nv[aria-current="page"] .u-ic{background:rgba(255,255,255,.12)}
.u-nv:focus-visible,.u-lang-btn:focus-visible,.u-btn:focus-visible,.u-round:focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
.u-cnt{margin-left:auto;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--u-red);color:#fff;font-size:11.5px;font-weight:700;display:grid;place-items:center;font-style:normal}
.u-cnt.is-ink{background:var(--u-ink)}
.u-nv[aria-current="page"] .u-cnt.is-ink{background:#fff;color:var(--u-ink)}
.u-dot{margin-left:auto;width:8px;height:8px;border-radius:50%;background:var(--u-red)}
.u-rec{margin-left:auto;font-size:10.5px;font-weight:700;color:var(--u-ink);background:var(--u-white);padding:3px 8px;border-radius:999px;font-style:normal;white-space:nowrap}
.u-credits{margin-top:10px;padding:14px;border-radius:var(--u-r-md);background:var(--u-panel)}
.u-credits .u-row{display:flex;justify-content:space-between;font-size:12.5px;color:var(--u-muted);gap:8px}
.u-credits b{display:block;font-size:20px;color:var(--u-ink);font-variant-numeric:tabular-nums;font-weight:700}
.u-bar{height:6px;border-radius:999px;background:var(--u-white);margin:8px 0 10px;overflow:hidden}
.u-bar i{display:block;height:100%;background:var(--u-blue);border-radius:inherit;transition:width .4s}
.u-credits.is-low .u-bar i{background:var(--u-red)}
.u-credits .u-btn{width:100%}
.u-side-foot{margin-top:8px;display:flex;flex-direction:column;gap:8px;padding:0 6px 6px;font-size:12px;color:var(--u-muted)}
.u-side-foot a{color:var(--u-muted);text-decoration:none}
.u-side-foot a:hover{color:var(--u-ink)}
/* jezik (dno sidebara) */
.u-lang-btn{display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:20px;background:var(--u-panel);padding:8px 12px 8px 8px;cursor:pointer;text-align:left;font-family:var(--u-font);color:var(--u-text)}
.u-lang-btn:hover,.u-lang-btn[aria-expanded="true"]{background:rgba(255,255,255,.75)}
.u-lang-ic{width:34px;height:34px;border-radius:50%;background:var(--u-white);display:grid;place-items:center;flex:none}
.u-lang-ic svg,.u-lang-chev{width:16px;height:16px;fill:none;stroke:var(--u-text);stroke-width:1.7}
.u-lang-chev{margin-left:auto;flex:none;stroke:var(--u-muted)}
/* plutajući prozor (meni naloga, jezik) */
.u-pop{position:fixed;z-index:990;width:300px;max-width:calc(100vw - 24px);background:#eef0f5;border-radius:26px;box-shadow:0 30px 70px rgba(16,24,40,.24);padding:10px;display:flex;flex-direction:column;gap:2px;font-family:var(--u-font);color:var(--u-text);animation:u-pop .16s ease}
.u-pop-txt{min-width:0;flex:1;display:flex;flex-direction:column}
.u-pop-txt b{font-size:14px;font-weight:600;color:var(--u-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.u-pop-txt small{font-size:12px;color:var(--u-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.u-pop-txt em{font-style:normal;font-size:11.5px;font-weight:600;color:var(--u-green);margin-top:2px}
.u-pop-head{display:flex;align-items:center;gap:12px;padding:10px 10px 12px}
.u-pop-head .u-av{width:44px;height:44px;font-size:16px}
.u-pop-head .u-pop-txt b{font-size:16px;font-weight:700}
.u-pop-k{padding:8px 12px 4px;font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--u-muted)}
.u-pop-row{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;border-radius:18px;padding:8px 10px;cursor:pointer;text-align:left;font-family:var(--u-font);color:var(--u-text)}
.u-pop-row:hover,.u-pop-row:focus-visible{background:var(--u-white);outline:0}
.u-pop-row.is-cur{background:var(--u-white)}
.u-pop-ic{width:32px;height:32px;border-radius:50%;background:var(--u-white);display:grid;place-items:center;flex:none}
.u-pop-row:hover .u-pop-ic{background:var(--u-card)}
.u-pop-ic svg,.u-pop-ck svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.u-pop-ck{color:var(--u-ink);flex:none}
.u-pop-row.is-danger,.u-pop-row.is-danger b{color:var(--u-red)}
.u-pop-sep{height:1px;background:var(--u-line);margin:6px 10px}
.u-pop-sec{display:flex;flex-direction:column;gap:4px;padding:10px}
.u-pop-sec>b{font-size:14px;font-weight:700;color:var(--u-ink)}
.u-pop-sec>small{font-size:12.5px;line-height:1.4;color:var(--u-muted);margin-bottom:8px}
.u-pop-sec .u-seg button{flex:1}
.u-langpop{width:320px}
/* obaveštenja (u-notif) — hq-notifications.js crta ove klase kad je html.ui3 */
.u-notif{position:absolute;right:0;top:calc(100% + 12px);z-index:720;width:min(400px,calc(100vw - 24px));max-height:min(620px,calc(100dvh - 120px));display:flex;flex-direction:column;background:#eef0f5;border-radius:26px;box-shadow:0 30px 70px rgba(16,24,40,.24);padding:14px;font-family:var(--u-font);color:var(--u-text);animation:u-pop .16s ease}
.u-notif[hidden]{display:none}
.u-notif-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 8px 6px}
.u-notif-head h2{margin:0;font:700 20px/1.2 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
.u-notif-close{width:36px;height:36px;background:var(--u-white)}
.u-notif-close svg{width:15px;height:15px}
.u-notif-acts{display:flex;gap:6px;padding:0 0 10px 4px}
.u-notif-acts button{border:0;border-radius:999px;background:var(--u-white);padding:7px 12px;font:600 12.5px var(--u-font);color:var(--u-ink);cursor:pointer}
.u-notif-acts button:disabled{opacity:.4;cursor:default}
.u-notif-list{overflow-y:auto;display:flex;flex-direction:column;gap:6px;min-height:0;scrollbar-width:thin}
.u-notif-item{position:relative;display:flex;align-items:flex-start;background:var(--u-card);border-radius:20px}
.u-notif-item.is-unread{background:var(--u-white)}
.u-notif-main{flex:1;min-width:0;display:flex;gap:12px;align-items:flex-start;border:0;background:none;padding:12px 40px 12px 12px;text-align:left;font-family:var(--u-font);color:var(--u-text);border-radius:20px}
button.u-notif-main{cursor:pointer}
button.u-notif-main:focus-visible{outline:2px solid var(--u-ink);outline-offset:-2px}
.u-notif-ic{width:36px;height:36px;border-radius:50%;background:var(--u-canvas);display:grid;place-items:center;flex:none;color:var(--u-ink)}
.u-notif-ic svg{width:17px;height:17px}
.u-notif-ic.is-alert{background:var(--u-red-soft);color:var(--u-red)}
.u-notif-ic.is-chart,.u-notif-ic.is-link{background:var(--u-blue-soft)}
.u-notif-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.u-notif-copy>b{font-size:14px;font-weight:600;color:var(--u-ink);line-height:1.3}
.u-notif-copy>span:last-child{font-size:13px;line-height:1.45;color:var(--u-muted)}
.u-notif-meta{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--u-muted)}
.u-notif-meta i{width:7px;height:7px;border-radius:50%;background:var(--u-red)}
.u-notif-x{position:absolute;top:10px;right:10px;width:26px;height:26px;border:0;border-radius:50%;background:none;color:var(--u-muted);display:grid;place-items:center;cursor:pointer}
.u-notif-x:hover{background:var(--u-canvas);color:var(--u-ink)}
.u-notif-x svg{width:13px;height:13px}
.u-notif-state{display:flex;flex-direction:column;align-items:center;gap:8px;padding:36px 20px;text-align:center}
.u-notif-state svg{width:26px;height:26px;color:var(--u-ink);fill:none;stroke:currentColor}
.u-notif-state b{font-size:15px;font-weight:700;color:var(--u-ink)}
.u-notif-state span{font-size:13px;line-height:1.45;color:var(--u-muted);max-width:32ch}
.u-notif-loader{width:22px;height:22px;border-radius:50%;border:2px solid var(--u-line);border-top-color:var(--u-ink);animation:u-spin .8s linear infinite}
@media (max-width:640px){.u-notif{position:fixed;left:12px;right:12px;top:74px;width:auto}}

/* ---------- dugmad ---------- */
.u-btn{border:0;border-radius:999px;padding:14px 26px;font-weight:600;font-size:14.5px;font-family:var(--u-font);cursor:pointer;line-height:1.1;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
.u-btn-ink{background:var(--u-ink);color:#fff}
.u-btn-ink:hover{background:#25272d}
.u-btn-ghost{background:var(--u-white);color:var(--u-ink)}
.u-btn-ghost:hover{background:#fbfbfd}
.u-btn-sm{padding:10px 16px;font-size:13px}
.u-btn.is-off{opacity:.35}
.u-btn:disabled,.u-btn[aria-busy="true"]{opacity:.55;cursor:default}
.u-btn[aria-busy="true"]::before{content:"";width:14px;height:14px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:u-spin .8s linear infinite;flex:none}
.u-round{width:48px;height:48px;border-radius:50%;border:0;background:rgba(255,255,255,.62);display:grid;place-items:center;flex:none;cursor:pointer;color:var(--u-text);position:relative}
.u-round svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.6}
.u-round.is-line{background:transparent;border:1px solid var(--u-line);width:44px;height:44px}

/* ---------- top bar (postojeći DOM: naslov + zvonce + nalog) ---------- */
html.ui3 body .main>.top:not(#u0){position:static!important;display:flex!important;align-items:flex-end!important;gap:14px!important;padding:6px 0 18px!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;min-height:0!important;font-family:var(--u-font)}
/* naslov: prikazan osim gde ga setTopbarTitle namerno krije (inline display:none) */
html.ui3 body #vhead:not([style*="none"]):not(#u0){display:block!important;min-width:0}
html.ui3 body #vhead #vtitle:not(#u0){display:block!important;font-family:var(--u-font)!important;font-size:clamp(30px,3.2vw,42px)!important;font-weight:700!important;letter-spacing:-.03em!important;line-height:1.05!important;margin:0!important;color:var(--u-ink)!important;text-wrap:balance}
html.ui3 body #vhead #vsub:not(#u0){display:block!important;font-family:var(--u-font)!important;color:var(--u-muted)!important;margin:6px 0 0!important;font-size:14px!important;max-width:none;font-weight:400!important;line-height:1.45!important}
html.ui3 body .main>.top .tools:not(#u0){display:flex!important;align-items:center!important;gap:10px!important;margin-left:auto!important}
/* 08.10: ikonice gore desno nikad ne prelaze u novi red (stari inline .top{flex-wrap:wrap} ih je na 641–900 px spuštao ispod naslova) — naslov se skuplja */
html.ui3 body .main>.top:not(#u0){flex-wrap:nowrap}
html.ui3 body .main>.top:not(#u0)>div:first-child{flex:1;min-width:0}
html.ui3 body .main>.top .tools:not(#u0){flex:none}
/* 08.10: dok se prozor menja, raspored odmah prati širinu — bez animacija fioke/kartica koje bi ostale „na pola" (klasu postavlja ui3.js) */
html.ui3.u-resizing :is(.u-side,body .app,#createRoot .cr-card,.u-bar i){transition:none}
html.ui3 #planPill{display:none!important}
html.ui3 #notificationButton{width:48px!important;height:48px!important;border-radius:50%!important;border:0!important;background:rgba(255,255,255,.62)!important;box-shadow:none!important;color:var(--u-text)!important;display:grid!important;place-items:center!important;padding:0!important}
html.ui3 #notificationButton svg{width:19px!important;height:19px!important}
html.ui3 #notificationBadge{background:var(--u-red)!important;color:#fff!important;border:2px solid var(--u-canvas)!important}
html.ui3 #acctBtn{width:48px!important;height:48px!important;border-radius:50%!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;display:grid!important;place-items:center!important}
html.ui3 #acctBtn .acct-caret{display:none!important}
html.ui3 #acctAv{width:48px!important;height:48px!important;border-radius:50%!important;font-size:16px!important;font-weight:700!important;background:var(--u-ink)!important;color:#fff!important;display:grid!important;place-items:center!important;font-family:var(--u-font)!important}

/* ---------- Generiši objavu ---------- */
html.ui3 #createRoot{font-family:var(--u-font);color:var(--u-text)}
html.ui3 #createRoot .cr-wrap{display:flex;flex-direction:column;gap:18px}
html.ui3 #createRoot .cr-wizard{background:var(--u-panel);border-radius:var(--u-r-xl);padding:22px;position:relative}

/* čarobnjak: dve kolone (pitanje | pregled uživo) */
html.ui3 #crWizard{display:flex;flex-direction:column;min-height:0;font-family:var(--u-font);color:var(--u-text);border:0;box-shadow:none;background:transparent}
html.ui3 #crWizard .u-wz{flex:1;min-height:0;display:flex;flex-direction:column}
html.ui3 #crWizard .u-wz-q{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0}
html.ui3 #crWizard .awz-screen{flex:1;min-height:0;overflow:auto;padding:0;background:none;border:0;margin:0;scrollbar-width:thin}
html.ui3 #crWizard .awz-inner{max-width:none;margin:0;padding:0 2px 2px;animation:none}

/* šina koraka */
html.ui3 #crWizard .u-rail{display:flex;align-items:center;margin-bottom:22px;flex-wrap:nowrap;container-type:inline-size;min-width:0}
html.ui3 #crWizard .u-st{display:flex;align-items:center;gap:8px;border:0;background:none;padding:4px 10px 4px 4px;border-radius:999px;font-size:13px;font-weight:500;color:var(--u-muted);font-family:inherit;cursor:default;flex:none;min-width:0}
html.ui3 #crWizard .u-st i{width:30px;height:30px;border-radius:50%;background:var(--u-white);display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:700;color:var(--u-muted);border:1px solid var(--u-line);flex:none}
html.ui3 #crWizard .u-st.done{color:var(--u-text);cursor:pointer}
html.ui3 #crWizard .u-st.done i{background:var(--u-blue);border-color:var(--u-blue);color:#fff}
html.ui3 #crWizard .u-st.done:hover{background:rgba(255,255,255,.55)}
html.ui3 #crWizard .u-st.now{color:var(--u-ink);font-weight:700}
html.ui3 #crWizard .u-st.now i{background:var(--u-ink);border-color:var(--u-ink);color:#fff}
html.ui3 #crWizard .u-st span{white-space:nowrap}
html.ui3 #crWizard .u-link{flex:1;min-width:10px;height:1.5px;background:var(--u-line);border-radius:2px}
html.ui3 #crWizard .u-link.done{background:var(--u-blue)}
html.ui3 #crWizard .u-restart{margin-left:10px;flex:none}
@container (max-width:760px){html.ui3 #crWizard .u-st:not(.now) span{display:none}html.ui3 #crWizard .u-st:not(.now){padding-right:4px}}
/* 08.10: video tokovi imaju 9–11 koraka → nazivi (osim trenutnog) ne staju ni na 1440 px (poslednji je izlazio van panela) */
@container (max-width:1400px){html.ui3 #crWizard .u-rail:has(>.u-st:nth-of-type(9):not(.u-restart)) .u-st:not(.now) span{display:none}html.ui3 #crWizard .u-rail:has(>.u-st:nth-of-type(9):not(.u-restart)) .u-st:not(.now){padding-right:4px}}

/* naslov koraka */
html.ui3 #crWizard .awz-h1{font-family:var(--u-font);font-size:24px;font-weight:700;letter-spacing:-.02em;margin:0 0 4px;color:var(--u-ink);line-height:1.15;text-align:left;background:none;-webkit-text-fill-color:currentColor}
html.ui3 #crWizard .awz-sub{color:var(--u-muted);margin:0 0 18px;font-size:14px;line-height:1.45;text-align:left;max-width:none}

/* podnožje */
html.ui3 #crWizard .u-foot{display:flex;align-items:center;gap:10px;margin-top:18px;padding:0;border:0;background:none;position:static}
html.ui3 #crWizard .u-hint{color:var(--u-muted);font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ui3 #crWizard .u-foot .u-btn-ink{margin-left:auto}

/* --- sadržaj koraka: kartice opcija --- */
html.ui3 #crWizard .awz-grid2,html.ui3 #crWizard .awz-grid3,html.ui3 #crWizard .awz-grid4,html.ui3 #crWizard .awz-grid5{display:grid;gap:12px;margin:0}
html.ui3 #crWizard .awz-grid2{grid-template-columns:repeat(2,minmax(0,1fr))}
html.ui3 #crWizard .awz-grid3{grid-template-columns:repeat(3,minmax(0,1fr))}
html.ui3 #crWizard .awz-grid4{grid-template-columns:repeat(4,minmax(0,1fr))}
html.ui3 #crWizard .awz-grid5{grid-template-columns:repeat(5,minmax(0,1fr))}
html.ui3 #crWizard .awz-maxw{max-width:none}
html.ui3 #crWizard .awz-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
html.ui3 #crWizard .awz-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
html.ui3 #crWizard .awz-label.awz-mt22{margin-top:22px}html.ui3 #crWizard .awz-label.awz-mt26{margin-top:26px}html.ui3 #crWizard .awz-mt8{margin-top:8px}html.ui3 #crWizard .awz-mt10{margin-top:10px}html.ui3 #crWizard .awz-mt14{margin-top:14px}html.ui3 #crWizard .awz-mt18{margin-top:18px}html.ui3 #crWizard .awz-mt22{margin-top:22px}html.ui3 #crWizard .awz-mt26{margin-top:26px}html.ui3 #crWizard .awz-mb10{margin-bottom:10px}html.ui3 #crWizard .awz-mb18{margin-bottom:18px}

html.ui3 #crWizard .awz-card,html.ui3 #crWizard .awz-quick,html.ui3 #crWizard .awz-idea,html.ui3 #crWizard .awz-voice,html.ui3 #crWizard .awz-dur,html.ui3 #crWizard .awz-tpl,html.ui3 #crWizard .awz-pal,html.ui3 #crWizard .awz-vgrp-card,html.ui3 #crWizard .awz-vt-card,html.ui3 #crWizard .awz-avatar,html.ui3 #crWizard .awz-upload,html.ui3 #crWizard .awz-tile{
  position:relative;border:0;background:var(--u-card);border-radius:var(--u-r-md);padding:14px 16px;text-align:left;font-family:var(--u-font);color:var(--u-text);box-shadow:none;transform:none;min-height:0;cursor:pointer;transition:background .15s,transform .2s;outline:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:6px;overflow:hidden;width:auto;height:auto}
html.ui3 #crWizard .awz-mediagrid .awz-tile{padding:0;cursor:default} /* 15.10: slika ide do ivica pločice (vidi .awz-tile-img) */
html.ui3 #crWizard .awz-card:hover,html.ui3 #crWizard .awz-quick:hover,html.ui3 #crWizard .awz-idea:hover,html.ui3 #crWizard .awz-voice:hover,html.ui3 #crWizard .awz-dur:hover,html.ui3 #crWizard .awz-tpl:hover,html.ui3 #crWizard .awz-pal:hover,html.ui3 #crWizard .awz-vgrp-card:hover,html.ui3 #crWizard .awz-vt-card:hover,html.ui3 #crWizard .awz-avatar:hover,html.ui3 #crWizard .awz-upload:hover{background:var(--u-white)}
html.ui3 #crWizard .on:is(.awz-card,.awz-quick,.awz-idea,.awz-voice,.awz-dur,.awz-tpl,.awz-pal,.awz-vgrp-card,.awz-vt-card,.awz-avatar){background:var(--u-ink);color:#fff}
/* na crnoj (izabranoj) kartici: naslov beo, podnaslov svetao — nikad tamno na tamnom */
html.ui3 #crWizard .on:is(.awz-card,.awz-quick,.awz-idea,.awz-voice,.awz-dur,.awz-tpl,.awz-pal,.awz-vgrp-card,.awz-vt-card,.awz-avatar) :is(b,strong,h3,h4){color:#fff}
html.ui3 #crWizard .on:is(.awz-card,.awz-quick,.awz-idea,.awz-voice,.awz-dur,.awz-tpl,.awz-pal,.awz-vgrp-card,.awz-vt-card,.awz-avatar) small{color:var(--u-on-sub)}
html.ui3 #crWizard :is(.awz-card,.awz-quick,.awz-idea,.awz-voice,.awz-dur,.awz-tpl,.awz-pal,.awz-vgrp-card,.awz-vt-card,.awz-avatar):focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
html.ui3 #crWizard .awz-card b,html.ui3 #crWizard .awz-vt-body b,html.ui3 #crWizard .awz-voice b,html.ui3 #crWizard .awz-dur b,html.ui3 #crWizard .awz-avatar b{font-size:16px;font-weight:700;letter-spacing:-.01em;display:block;color:inherit}
html.ui3 #crWizard .awz-card small,html.ui3 #crWizard .awz-vt-body small,html.ui3 #crWizard .awz-voice small,html.ui3 #crWizard .awz-dur small,html.ui3 #crWizard .awz-avatar small{color:var(--u-muted);font-size:12.5px;line-height:1.35;display:block}
html.ui3 #crWizard .awz-card-body{display:flex;flex-direction:column;gap:3px;padding:0 4px}
html.ui3 #crWizard .awz-card-tag{display:none}
html.ui3 #crWizard .awz-card-meta{font-style:normal;font-size:12px;font-weight:600;color:inherit;opacity:.8;margin-top:4px}
html.ui3 #crWizard .awz-check{display:none}
html.ui3 #crWizard .awz-soon,html.ui3 #crWizard [disabled]:is(.awz-card,.awz-vt-card){opacity:.45;cursor:default}
html.ui3 #crWizard .awz-soon-badge{position:absolute;top:10px;right:10px;font-size:10.5px;font-weight:700;background:var(--u-white);color:var(--u-ink);padding:3px 8px;border-radius:999px}
/* 12.10: video šablon zaključan u probnom periodu – katanac + „Plaćeni plan" (klik otvara upgrade popup, ne tok).
   Kartica je ista u „Generiši objavu" i u čarobnjaku automatizacija; bedž je apsolutan → visina koraka ista. */
html.ui3 .awz-vt-card.awz-locked .awz-vt-prev{opacity:.5}
html.ui3 .awz-vt-card .awz-lock-badge{position:absolute;top:18px;left:18px;z-index:2;display:inline-flex;align-items:center;gap:5px;max-width:calc(100% - 36px);padding:4px 9px;font-size:11px;overflow:hidden;text-overflow:ellipsis;box-shadow:0 2px 10px rgba(20,24,35,.2)}
html.ui3 .awz-lock-badge svg{flex:none;width:12px;height:12px}

/* format: 4 kartice sa prikazom formata (u-art) */
html.ui3 #crWizard .awz-grid2:has(.u-art){grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
html.ui3 #crWizard .awz-card:has(.u-art){border-radius:var(--u-r-lg);padding:12px 12px 14px;gap:10px}
html.ui3 #crWizard .awz-card:has(.u-art):hover{transform:translateY(-2px)}
html.ui3 #crWizard .awz-card:has(.u-art) .awz-card-body{min-height:56px}
html.ui3 #crWizard .u-art{flex:1;min-height:170px;border-radius:20px;display:flex;align-items:center;justify-content:center;gap:5px;padding:10px;background:var(--u-blue-soft)}
html.ui3 #crWizard .awz-card.on .u-art{background:#25272d}
html.ui3 #crWizard .u-art i{display:block;border-radius:10px;aspect-ratio:4/5;background:linear-gradient(150deg,#c8d3ee,#6f86c7)}
html.ui3 #crWizard .u-art .a{width:32%}html.ui3 #crWizard .u-art .b{width:24%;opacity:.75}html.ui3 #crWizard .u-art .c{width:18%;opacity:.5}
html.ui3 #crWizard .u-art .one{width:62%;background:linear-gradient(150deg,#e9b8a6,#b9676a)}
html.ui3 #crWizard .u-art .tall{width:46%;aspect-ratio:9/16;background:linear-gradient(170deg,#d8c4e6,#8a68b0)}
html.ui3 #crWizard .u-art .play{width:46%;aspect-ratio:9/16;background:linear-gradient(170deg,#bfe0d3,#4f9a7c);display:grid;place-items:center}
html.ui3 #crWizard .u-art .play svg{width:26px;height:26px;fill:#fff}

/* tema: predlozi sa emodžijem + sopstvena tema */
html.ui3 #crWizard #awzIdeas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
html.ui3 #crWizard .awz-idea{flex-direction:row;align-items:center;gap:12px;padding:12px 16px 12px 12px;font-size:14px;line-height:1.3;font-weight:500}
html.ui3 #crWizard .u-emo{width:44px;height:44px;border-radius:50%;flex:none;display:grid;place-items:center;font-size:21px;line-height:1;background:var(--u-white);box-shadow:0 4px 10px rgba(20,24,35,.06)}
html.ui3 #crWizard .awz-idea.on .u-emo{background:rgba(255,255,255,.14);box-shadow:none}
html.ui3 #crWizard .u-own{display:flex;align-items:center;gap:10px;background:var(--u-white);border-radius:999px;padding:4px 6px 4px 20px;margin-top:12px}
html.ui3 #crWizard .u-own textarea{flex:1;min-width:0;border:0!important;background:none!important;box-shadow:none!important;font:500 14.5px/1.4 var(--u-font);padding:12px 0!important;margin:0;resize:none;height:46px;min-height:0;color:var(--u-ink);outline:0}
html.ui3 #crWizard .u-own textarea::placeholder{color:var(--u-muted)}
html.ui3 #crWizard .u-ideas-load{display:flex;align-items:center;gap:10px;color:var(--u-muted);font-size:13px;padding:6px 2px}

/* polja */
html.ui3 #crWizard .awz-field,html.ui3 #crWizard .awz-bigfield,html.ui3 #crWizard .awz-langsel{width:100%;box-sizing:border-box;border:0;border-radius:var(--u-r-md);background:var(--u-white);padding:16px 18px;font:500 15px/1.4 var(--u-font);color:var(--u-ink);box-shadow:none;outline:0}
html.ui3 #crWizard .awz-field.awz-dashed{border:0}
html.ui3 #crWizard .awz-field.awz-big,html.ui3 #crWizard .awz-bigfield{font-size:18px;font-weight:600}
html.ui3 #crWizard .awz-bigfield{min-height:96px;resize:vertical}
html.ui3 #crWizard .awz-field:focus,html.ui3 #crWizard .awz-bigfield:focus{box-shadow:0 0 0 2px var(--u-ink)}
html.ui3 #crWizard .awz-label{display:block;font-size:13px;color:var(--u-muted);font-weight:600;margin-bottom:8px;text-transform:none;letter-spacing:0}
html.ui3 #crWizard .awz-mut{color:var(--u-muted);font-size:13px}
html.ui3 #crWizard .awz-note{position:relative;background:var(--u-white);border:0;border-radius:var(--u-r-sm);padding:12px 14px 12px 44px;font-size:13px;line-height:1.45;color:var(--u-text);box-shadow:none}
html.ui3 #crWizard .awz-note::before{content:"i";position:absolute;left:14px;top:11px;width:20px;height:20px;border-radius:50%;background:var(--u-ink);color:#fff;font:700 11px/20px var(--u-font);text-align:center}
html.ui3 #crWizard .awz-panel{background:var(--u-card);border:0;border-radius:var(--u-r-md);padding:16px}
html.ui3 #crWizard .awz-panel-t{font-size:14px;font-weight:700;display:block}

/* CTA: brzi izbori kao pilule */
html.ui3 #crWizard .awz-grid2:has(.awz-quick){display:flex;flex-wrap:wrap;gap:8px}
html.ui3 #crWizard .awz-quick{flex-direction:row;padding:10px 16px;border-radius:999px;background:transparent;border:1px solid var(--u-line);font-size:13.5px;font-weight:500}
html.ui3 #crWizard .awz-quick.on{border-color:var(--u-ink)}

/* čipovi */
html.ui3 #crWizard .awz-chip{border:1px solid var(--u-line);background:transparent;border-radius:999px;padding:9px 16px;font:500 13.5px var(--u-font);color:var(--u-text);cursor:pointer;box-shadow:none}
html.ui3 #crWizard .awz-chip:hover{background:var(--u-white)}
html.ui3 #crWizard .awz-chip.on,html.ui3 #crWizard .awz-chip-acc{background:var(--u-ink);color:#fff;border-color:var(--u-ink)}
html.ui3 #crWizard .awz-chip[disabled]{opacity:.5}

/* video kartice (vrsta / primer) */
/* video kartice: uvek 9:16 (titlovi/kadar se vide), visina prati ekran; malo kartica = centrirano, više = s leva, sve manje */
html.ui3 #crWizard .awz-vgrp,html.ui3 #crWizard .awz-vtgrid,html.ui3 #crWizard .awz-exgrid{--u-vh:clamp(220px,46vh,460px);display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
html.ui3 #crWizard :is(.awz-vgrp,.awz-vtgrid,.awz-exgrid):has(>:nth-child(5)){--u-vh:clamp(180px,30vh,320px);justify-content:flex-start}
html.ui3 #crWizard :is(.awz-vgrp,.awz-vtgrid,.awz-exgrid):has(>:nth-child(7)){--u-vh:clamp(150px,22vh,240px)}
html.ui3 #crWizard :is(.awz-vgrp,.awz-vtgrid,.awz-exgrid)>:is(.awz-vgrp-card,.awz-vt-card){flex:0 0 auto;width:calc(var(--u-vh)*.5625 + 20px)}
html.ui3 #crWizard .awz-vgrp-card,html.ui3 #crWizard .awz-vt-card{padding:10px 10px 14px;border-radius:var(--u-r-lg);gap:10px}
html.ui3 #crWizard .awz-vt-prev{display:block;position:relative;border-radius:18px;overflow:hidden;background:var(--u-blue-soft);width:100%;aspect-ratio:auto!important;height:var(--u-vh,320px)!important;border:0}
html.ui3 #crWizard .awz-vt-prev video,html.ui3 #crWizard .awz-vt-prev img{width:100%;height:100%;object-fit:cover;display:block}
html.ui3 #crWizard .awz-vt-body{display:flex;flex-direction:column;gap:3px;padding:0 4px}
html.ui3 #crWizard .awz-mo-rec{align-self:flex-start;padding:3px 8px;font-size:11px}
/* motion stilovi (12.10, QA „prikaz šablona je horizontalan, bolje vertikalan kao kod ostalih video formata"): USPRAVNI pregledi
   9:16 (klipovi su već 270×480 — bez novih fajlova). Svih 10 u jednom redu (telefon 5×2); širina kartice se računa iz širine
   panela (--awz-w, postavlja awzSizeRoot) i visine ekrana → red + Nazad/Dalje staju bez skrola na 1280×720 … 1920×1080.
   Opis izabranog stila stoji ceo ispod reda (na uskoj kartici bi bio odsečen); izabrana = okvir + ✓ (bez crne inverzije). */
html.ui3 #crWizard .awz-exgrid.awz-mo-grid{--u-mo-w:max(56px,min(calc((var(--awz-w,1000px) - 108px)/10),calc((100vh - 500px)*.5625),170px));--u-vh:calc((var(--u-mo-w) - 8px)*1.7778);display:grid;grid-template-columns:repeat(10,var(--u-mo-w));justify-content:space-between;gap:12px;max-width:none;margin:0}
html.ui3 #crWizard .awz-mo-grid>.awz-vt-card{width:auto;padding:4px 4px 8px;gap:6px;transition:none;border-radius:var(--u-r-sm)}
html.ui3 #crWizard .awz-mo-grid>.awz-vt-card.on{background:var(--u-white);color:var(--u-text);box-shadow:inset 0 0 0 2px var(--u-ink)}
html.ui3 #crWizard .awz-mo-grid .awz-vt-prev{border-radius:calc(var(--u-r-sm) - 4px)}
html.ui3 #crWizard .awz-mo-grid .awz-vt-prev video{object-position:center}
html.ui3 #crWizard .awz-mo-grid .awz-mo-rec{position:absolute;left:4px;top:4px;padding:2px 6px;font-size:10px}
html.ui3 #crWizard .awz-mo-grid .awz-check{position:absolute;right:4px;top:4px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--u-ink);color:#fff;font-size:12px;font-weight:700}
html.ui3 #crWizard .awz-mo-grid .awz-vt-body{gap:0;padding:0 2px}
html.ui3 #crWizard .awz-mo-grid .awz-vt-body b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.4em;font-size:12.5px;line-height:1.2;white-space:normal}
html.ui3 #crWizard .awz-mo-grid>.on .awz-vt-body b{color:var(--u-ink)}
html.ui3 #crWizard .awz-mo-grid .awz-vt-body small{display:none}
html.ui3 #crWizard .awz-mo-desc{margin:12px 0 0;min-height:1.45em;font-size:13px;line-height:1.45;color:var(--u-muted)}
html.ui3 #crWizard .awz-mo-desc b{color:var(--u-ink);font-weight:700}
html.ui3 #crWizard .awz-mo-recline{margin:-6px 0 12px}
@media (max-width:760px){html.ui3 #crWizard .awz-exgrid.awz-mo-grid{--u-mo-w:calc((var(--awz-w,326px) - 32px)/5);grid-template-columns:repeat(5,var(--u-mo-w));gap:8px}html.ui3 #crWizard .awz-mo-grid .awz-vt-body b{font-size:11px}html.ui3 #crWizard .awz-mo-grid .awz-mo-rec{font-size:9px;padding:1px 4px}}
/* izvor „Iz Galerije" (12.10): stanje Galerije + glavna akcija „Dodaj slike"; prazna Galerija = jasno upozorenje */
html.ui3 #crWizard .awz-galbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 14px;padding:14px 16px;border-radius:var(--u-r-sm);background:var(--u-white)}
html.ui3 #crWizard .awz-galbar.is-empty{box-shadow:inset 0 0 0 2px var(--u-red,#c96a63)}
html.ui3 #crWizard .awz-galbar-t{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 220px}
html.ui3 #crWizard .awz-galbar-t b{font-size:14.5px;font-weight:700;color:var(--u-ink)}
html.ui3 #crWizard .awz-galbar-t small{font-size:12.5px;line-height:1.4;color:var(--u-muted)}
html.ui3 #crWizard .awz-galbar-add{flex:none}
/* dužina videa (12.10): ukupna cena razloženo (scenario + render [+ AI portret]) — iste cifre kao na dugmetu „Generiši" */
html.ui3 #crWizard .awz-costline{font-weight:600}
/* 15.10 korak „Ponuda": oznaka „Opciono" uz naslov + „Preskoči ovaj korak" ispod pločice */
html.ui3 #crWizard .awz-opt-pill{vertical-align:middle;margin-left:6px;padding:4px 10px;font-size:12px;letter-spacing:0}
html.ui3 #crWizard .awz-offer-skip{justify-content:center}
/* 15.10 Motion „Dodaj sliku proizvoda": iste pločice kao ponuda (u-offer); napomena o preskakanju centrirana */
html.ui3 #crWizard .awz-mo-skipnote{text-align:center;max-width:560px;margin-left:auto;margin-right:auto}

/* šabloni (pravi engine pregled) */
html.ui3 #crWizard .awz-tplgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
html.ui3 #crWizard .awz-tpl{padding:8px 8px 10px;gap:8px}
html.ui3 #crWizard .awz-tpl-prev{display:block;border-radius:14px;overflow:hidden;position:relative;background:var(--u-blue-soft)}
html.ui3 #crWizard .awz-tpl-cap{font-size:13px;font-weight:600;padding:0 4px}

/* boje */
html.ui3 #crWizard .awz-pal{padding:10px;gap:8px}
html.ui3 #crWizard .awz-pal-strip{display:flex;height:44px;border-radius:12px;overflow:hidden}
html.ui3 #crWizard .awz-pal-cap{font-size:13px;font-weight:600}

/* dani + vreme (korak automatizacije) */
html.ui3 #crWizard .awz-days{display:flex;flex-wrap:wrap;gap:8px;grid-template-columns:none}
html.ui3 #crWizard .awz-day{flex:none;padding:0;box-shadow:none;outline:0;width:48px;height:48px;border-radius:50%;border:1px solid var(--u-line);background:transparent;font:600 13px var(--u-font);color:var(--u-text);cursor:pointer}
html.ui3 #crWizard .awz-day.on{background:var(--u-ink);border-color:var(--u-ink);color:#fff;box-shadow:none}
html.ui3 #crWizard .awz-ready{background:var(--u-white);color:var(--u-text);border:0;border-radius:var(--u-r-sm);padding:12px 14px;font-size:13px}
html.ui3 #crWizard .awz-timerow{align-items:flex-start}
html.ui3 #crWizard .awz-timerow>.awz-panel-t{padding-top:11px}

/* u-time — birač vremena (12.10): pilule sa čestim terminima + „Drugo vreme" → mreža sat/minut (koraci 15 min).
   Bez html.ui3 prefiksa i sa rezervnim vrednostima tokena, da isti birač radi i u klasičnom čarobnjaku. */
.u-time{display:flex;flex-direction:column;gap:10px;min-width:0;flex:1 1 260px}
.u-time-chips{display:flex;flex-wrap:wrap;gap:8px}
.u-time-chip,.u-time-opt,.u-time-done{font:600 13.5px var(--u-font,inherit);border-radius:999px;border:1px solid var(--u-line,#d3d8e2);background:transparent;color:var(--u-text,#22252c);cursor:pointer;font-variant-numeric:tabular-nums}
.u-time-chip{padding:10px 16px;min-height:40px}
.u-time-chip:hover,.u-time-opt:hover{background:var(--u-white,#fff)}
.u-time-chip.is-on,.u-time-opt.is-on,.u-time-done{background:var(--u-ink,#0d0e11);border-color:var(--u-ink,#0d0e11);color:#fff}
.u-time-chip:focus-visible,.u-time-opt:focus-visible,.u-time-done:focus-visible{outline:2px solid var(--u-ink,#0d0e11);outline-offset:2px}
.u-time-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;background:var(--u-white,#fff);border:1px solid var(--u-line,#d3d8e2);border-radius:var(--u-r-sm,14px);padding:14px 16px;max-width:520px}
.u-time-col{display:flex;flex-direction:column;gap:6px;min-width:0}
.u-time-lbl{font:600 11.5px var(--u-font,inherit);letter-spacing:.06em;text-transform:uppercase;color:var(--u-muted,#7d838f)}
.u-time-grid{display:grid;gap:6px}
.u-time-hours{grid-template-columns:repeat(8,minmax(0,1fr))}
.u-time-mins{grid-template-columns:repeat(2,minmax(46px,1fr))}
.u-time-opt{padding:0;height:34px;min-width:0;font-size:13px}
.u-time-foot{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}
.u-time-now{font:700 18px var(--u-font,inherit);color:var(--u-ink,#0d0e11);font-variant-numeric:tabular-nums}
.u-time-done{padding:9px 18px}
@media (max-width:520px){
  .u-time-panel{grid-template-columns:minmax(0,1fr);padding:12px}
  .u-time-hours{grid-template-columns:repeat(6,minmax(0,1fr))}
  .u-time-mins{grid-template-columns:repeat(4,minmax(0,1fr))}
  .u-time-opt{height:40px}
}

/* dužine videa */
html.ui3 #crWizard .awz-durs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
html.ui3 #crWizard .awz-dur{align-items:flex-start}

/* otpremanje / galerija */
html.ui3 #crWizard .awz-upload,html.ui3 #crWizard .awz-clipdrop{border:1.5px dashed var(--u-line);background:rgba(255,255,255,.5);align-items:center;text-align:center;padding:26px;border-radius:var(--u-r-lg)}
html.ui3 #crWizard .awz-thumb{border-radius:12px}

/* ---------- ponuda automatizacije ---------- */
html.ui3 #createRoot .cr-offer[hidden]{display:none}
html.ui3 #createRoot .cr-offer-card{display:flex;align-items:center;gap:16px;background:var(--u-ink);color:#fff;border-radius:var(--u-r-lg);padding:18px 22px;flex-wrap:wrap;border:0;box-shadow:none}
html.ui3 #createRoot .cr-offer-card b{display:block;font-size:16px;font-weight:700}
html.ui3 #createRoot .cr-offer-card p{margin:2px 0 0;color:var(--u-on-sub);font-size:13px}
html.ui3 #createRoot .cr-offer-actions{display:flex;gap:10px;margin-left:auto}
html.ui3 #createRoot .cr-offer-card .btn{border-radius:999px;padding:12px 20px;font:600 14px var(--u-font);border:1px solid #3a3d45;background:transparent;color:#fff;cursor:pointer;box-shadow:none}
html.ui3 #createRoot .cr-offer-card .btn.acc{background:#fff;color:var(--u-ink);border-color:#fff}

/* ---------- Tvoje objave ---------- */
html.ui3 #createRoot .cr-results{background:var(--u-panel);border-radius:var(--u-r-xl);padding:22px}
html.ui3 #createRoot .u-strip-head{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:14px}
html.ui3 #createRoot .u-strip-head h2{white-space:nowrap;margin:0;font-size:20px;font-weight:600;letter-spacing:-.01em;color:var(--u-ink);font-family:var(--u-font)}
html.ui3 #createRoot .u-strip-head .u-round{margin-left:auto}
/* 08.10 (Nemanja): kolone prate širinu (6 → 5 → 4 → 3 → 2), ravnomerno; lista ima najviše 30 kartica (deljivo sa 2/3/5/6),
   a na 4 kolone pune liste poslednje 2 se ne prikazuju (crRenderStrip dodaje .is-full) — nema poluprazne poslednje vrste */
html.ui3 #createRoot .cr-strip{--u-cols:6;display:grid;grid-template-columns:repeat(var(--u-cols),minmax(0,1fr));gap:14px}
@media (max-width:1759px){html.ui3 #createRoot .cr-strip{--u-cols:5}}
@media (max-width:1439px){html.ui3 #createRoot .cr-strip{--u-cols:4}html.ui3 #createRoot .cr-strip.is-full>:nth-last-child(-n+2){display:none}}
@media (max-width:1179px){html.ui3 #createRoot .cr-strip{--u-cols:3}html.ui3 #createRoot .cr-strip.is-full>:nth-last-child(-n+2){display:revert}}
/* 15.10 (QA3b): „Prikaži još" ispod trake objava */
html.ui3 #createRoot .u-strip-more{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:18px}
html.ui3 #createRoot .u-strip-more[hidden]{display:none}
html.ui3 #createRoot .u-strip-shown{font-size:13px;color:var(--u-muted)}
@media (max-width:640px){html.ui3 #createRoot .cr-strip{--u-cols:2;gap:10px}}
html.ui3 #createRoot .cr-empty{grid-column:1/-1;color:var(--u-muted);padding:28px;border:1.5px dashed var(--u-line);border-radius:var(--u-r-md);text-align:center;font-size:14px}
html.ui3 #createRoot .cr-card{background:var(--u-card);border-radius:26px;padding:10px;display:flex;flex-direction:column;gap:10px;min-width:0;border:0;box-shadow:none;cursor:pointer;transition:background .15s,transform .2s;text-align:left}
html.ui3 #createRoot .cr-card:hover{background:var(--u-white);transform:translateY(-2px)}
html.ui3 #createRoot .cr-card:focus-visible{outline:2px solid var(--u-ink);outline-offset:3px}
html.ui3 #createRoot .cr-thumb{position:relative;border-radius:18px;aspect-ratio:4/5;overflow:hidden;background:var(--u-blue-soft);display:grid;place-items:center}
html.ui3 #createRoot .cr-thumb :is(img,video){position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;display:block}
html.ui3 #createRoot .cr-thumb video{pointer-events:none}
html.ui3 #createRoot .cr-engine{position:absolute;inset:0;display:block;overflow:hidden;background:var(--u-blue-soft)}
html.ui3 #createRoot .cr-thumb-text{padding:16px;font-weight:700;font-size:15px;line-height:1.25;color:var(--u-ink);text-align:center}
html.ui3 #createRoot .cr-thumb .cr-pill{display:none}
/* čuvar mesta (15.10, pravilo vlasnika: nijedan okvir nije prazan/crn) – app/media-placeholder.js; slika/video/slajd leže preko njega */
.u-ph{--u-ph-tint:var(--u-ph-brand,var(--u-blue));position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;gap:6px;padding:16px;text-align:left;border-radius:inherit;overflow:hidden;color:var(--u-ink);font-family:var(--u-font);background:linear-gradient(160deg,var(--u-white),var(--u-blue-soft));background:linear-gradient(160deg,var(--u-white) 0%,color-mix(in srgb,var(--u-ph-tint) 22%,var(--u-white)) 100%)}
.u-ph-ic{position:absolute;top:14px;left:14px;width:40px;height:40px;display:grid;place-items:center;border-radius:14px;background:var(--u-white);color:var(--u-ph-tint);box-shadow:0 6px 18px var(--u-glow)}
.u-ph-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.u-ph-eyebrow{font:700 11px/1.2 var(--u-font);letter-spacing:.04em;text-transform:uppercase;color:var(--u-muted)}
.u-ph-title{font:700 15px/1.25 var(--u-font);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.u-ph-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font:500 12px/1.3 var(--u-font);color:var(--u-muted)}
.u-ph-meta i{font-style:normal;font-weight:700;padding:3px 8px;border-radius:999px;background:var(--u-white);color:var(--u-ink)}
.u-ph[hidden]{display:none}
.u-ph-sheet{position:absolute;top:11%;left:50%;height:44%;aspect-ratio:3/4;transform:translateX(-50%) rotate(-4deg);display:flex;flex-direction:column;gap:9px;padding:16px;border-radius:14px;background:var(--u-white);box-shadow:0 10px 28px var(--u-glow)}
.u-ph-sheet-ic{width:34px;height:34px;display:grid;place-items:center;margin-bottom:4px;border-radius:10px;color:var(--u-ph-tint);background:color-mix(in srgb,var(--u-ph-tint) 14%,var(--u-white))}
.u-ph-sheet-ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.u-ph-sheet i{display:block;height:6px;border-radius:999px;background:color-mix(in srgb,var(--u-ph-tint) 24%,var(--u-white))}
.u-ph-sheet i:nth-of-type(2){width:84%}.u-ph-sheet i:nth-of-type(3){width:92%}.u-ph-sheet i:nth-of-type(4){width:62%}.u-ph-sheet i:nth-of-type(5){width:76%}
.u-ph.is-failed{background:linear-gradient(160deg,var(--u-white),var(--u-red-soft))}
.u-ph.is-failed .u-ph-ic{color:var(--u-red)}
.u-ph-retry{align-self:flex-start;margin-top:4px;padding:7px 14px;border:0;border-radius:999px;background:var(--u-ink);color:var(--u-white);font:700 12px var(--u-font);cursor:pointer}
.u-ph-retry:focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
.u-rv-frame>.u-ph{position:relative;inset:auto;height:100%;aspect-ratio:9/16;max-width:100%;border-radius:16px;justify-content:center;padding:24px}
.u-rv-frame>.u-ph .u-ph-title{font-size:19px}
html.ui3 #createRoot .u-pg{position:absolute;top:10px;right:10px;z-index:2;font-size:10.5px;font-weight:700;color:#fff;background:rgba(0,0,0,.32);padding:3px 8px;border-radius:999px}
html.ui3 #createRoot .u-prow{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;padding:0 4px;min-width:0} /* uska kartica (5–6 u redu, telefon): datum prelazi u svoj red umesto da izlazi van kartice */
html.ui3 #createRoot .u-when{color:var(--u-muted);font-size:12px;margin-left:auto;font-variant-numeric:tabular-nums;white-space:nowrap}
html.ui3 #createRoot .u-ptitle{padding:0 4px;font-size:13.5px;font-weight:600;color:var(--u-ink);line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
html.ui3 #createRoot .u-pacts{margin-top:auto}
html.ui3 #createRoot .u-pacts .u-btn{width:100%}
.u-pill{display:inline-block;padding:5px 12px;border-radius:999px;font-size:12px;font-weight:600;color:#fff;white-space:nowrap;font-family:var(--u-font)}
.u-pill.is-red{background:var(--u-red)}.u-pill.is-blue{background:var(--u-blue)}.u-pill.is-green{background:var(--u-green)}.u-pill.is-amber{background:var(--u-amber)}.u-pill.is-gray{background:#a3a8b3}
.u-nets{display:flex;gap:3px}
.u-net{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:#fff;flex:none}
.u-net svg{width:12px;height:12px;display:block}
.u-net.instagram{background:radial-gradient(circle at 30% 105%,#feda75 0 18%,#fa7e1e 35%,#d62976 56%,#962fbf 74%,#4f5bd5 100%)}.u-net.facebook{background:#1877f2}.u-net.tiktok{background:#0f0f14}.u-net.linkedin{background:#0a66c2}.u-net.youtube{background:#ff0033}.u-net.threads{background:#101014}.u-net.pinterest{background:#e60023}.u-net.googlebusiness{background:linear-gradient(135deg,#4285f4,#34a853)}.u-net.twitter{background:#0f0f14}
html.ui3 #createRoot .cr-card-body{display:flex;flex-direction:column;gap:4px;padding:0 4px 4px}
html.ui3 #createRoot .cr-card-title{font-size:14px;font-weight:700;color:var(--u-ink)}
html.ui3 #createRoot .cr-card-meta{font-size:12px;color:var(--u-muted)}
html.ui3 #createRoot .cr-card.is-new{animation:u-pop .6s ease both}
@keyframes u-pop{from{transform:scale(.95);opacity:.4}}
/* u nastajanju (15.10, Nemanja: „prebledo"): okvir u bojama UI3 kruži (rotacija sloja, ne repaint), svetlosni prelaz
   preko pregleda, korak pulsira; isto za objavu, scenario, video i sliku (.is-generating = nova, .is-busy = postojeća) */
html.ui3 #createRoot .cr-card:is(.is-generating,.is-busy,.is-done){position:relative;isolation:isolate;overflow:hidden;background:transparent;box-shadow:0 10px 28px var(--u-glow)}
html.ui3 #createRoot .cr-card.is-generating{cursor:default}
html.ui3 #createRoot .cr-card:is(.is-generating,.is-busy,.is-done)::before{content:"";position:absolute;z-index:-2;left:50%;top:50%;width:260%;aspect-ratio:1;transform:translate(-50%,-50%);background:conic-gradient(var(--u-blue-soft) 0 18%,var(--u-blue) 42%,var(--u-amber) 58%,var(--u-blue) 74%,var(--u-blue-soft) 92%);animation:u-ring 2.6s linear infinite}
html.ui3 #createRoot .cr-card:is(.is-generating,.is-busy,.is-done)::after{content:"";position:absolute;z-index:-1;inset:3px;border-radius:23px;background:var(--u-card)}
@keyframes u-ring{to{transform:translate(-50%,-50%) rotate(1turn)}}
html.ui3 #createRoot .cr-card.is-generating .cr-thumb{background:var(--u-blue-soft)}
html.ui3 #createRoot .cr-gen-shimmer{position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(105deg,transparent 35%,var(--u-sheen) 50%,transparent 65%);transform:translateX(-100%);animation:u-sheen 1.9s ease-in-out infinite}
@keyframes u-sheen{to{transform:translateX(100%)}}
html.ui3 #createRoot .cr-gen-headline{position:relative;padding:18px;font-weight:700;font-size:15px;line-height:1.3;text-align:center;color:var(--u-ink)}
html.ui3 #createRoot .cr-gen-phase{font-size:13px;font-weight:600;color:var(--u-ink)}
html.ui3 #createRoot :is(.cr-gen-phase,.cr-card.is-busy .u-rendering b){animation:u-pulse 1.6s ease-in-out infinite}
@keyframes u-pulse{50%{opacity:.5}}
html.ui3 #createRoot .cr-gen-steps{display:flex;gap:5px;margin:8px 0 6px}
html.ui3 #createRoot .cr-gen-steps i{flex:1;height:7px;border-radius:4px;background:var(--u-white);transition:background .4s}
html.ui3 #createRoot .cr-gen-steps i.on{background:var(--u-ink)}
html.ui3 #createRoot .cr-gen-steps i.on:not(:has(+ i.on)){background:linear-gradient(90deg,var(--u-blue),var(--u-amber),var(--u-blue)) 0 0/200% 100%;animation:u-step 1.4s linear infinite}
@keyframes u-step{to{background-position:-200% 0}}
/* gotovo: zeleni okvir zasija 3×, „Gotovo ✓" nekoliko sekundi (crMarkDone skida klasu posle 4,2 s) */
html.ui3 #createRoot .cr-card.is-done{animation:u-done-glow .7s ease-in-out 3}
html.ui3 #createRoot .cr-card.is-done::before{background:var(--u-green);animation:u-done-ring .7s ease-in-out 3}
@keyframes u-done-glow{50%{box-shadow:0 0 0 5px var(--u-green-glow),0 12px 32px var(--u-green-glow)}}
@keyframes u-done-ring{50%{opacity:.4}}
html.ui3 #createRoot .u-done-badge{position:absolute;top:18px;left:18px;z-index:4;padding:6px 13px;border-radius:999px;background:var(--u-green);color:#fff;font:700 12.5px var(--u-font);white-space:nowrap;box-shadow:0 6px 18px var(--u-green-glow);pointer-events:none;animation:u-badge 4.2s ease both}
@keyframes u-badge{0%{opacity:0;transform:translateY(-6px) scale(.9)}8%,85%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-4px)}}
@media (prefers-reduced-motion:reduce){
  html.ui3 #createRoot .cr-card:is(.is-generating,.is-busy,.is-done)::before{animation:none;background:var(--u-blue)}
  html.ui3 #createRoot .cr-card.is-done::before{background:var(--u-green)}
  html.ui3 #createRoot :is(.cr-gen-phase,.cr-gen-steps i.on,.u-done-badge,.cr-card.is-busy .u-rendering b){animation:none}
  html.ui3 #createRoot .cr-gen-shimmer{display:none}
}

/* ---------- prozor za pregled objave (preneto iz create-v2, isti DOM) ---------- */
html.ui3 #crReview{position:fixed;inset:0;z-index:400;background:rgba(30,34,44,.35);backdrop-filter:blur(3px);display:grid;place-items:start center;padding:28px 16px;overflow:auto}
html.ui3 #crReview[hidden]{display:none}
html.ui3 #crReview .cr-review-box{position:relative;width:min(1240px,100%);background:#eef0f5;border-radius:30px;box-shadow:0 30px 80px rgba(16,24,40,.3);padding:8px 8px 16px}
html.ui3 #crReview .cr-review-close{position:absolute;right:14px;top:10px;z-index:2;width:44px;height:44px;border-radius:50%;border:0;background:var(--u-white);font-size:22px;line-height:1;cursor:pointer;color:var(--u-ink)}
html.ui3 body.cr-review-open{overflow:hidden}
html.ui3 #crReview #v-odobravanje{display:block!important;position:static!important}
html.ui3 #crReview #v-odobravanje .moonya-ap-command-head,html.ui3 #crReview #v-odobravanje .moonya-ap-toolbar-shell,html.ui3 #crReview #v-odobravanje .moonya-ap-queue{display:none!important}
html.ui3 body.theme-mono.moonya-v2 #crReview #v-odobravanje .moonya-ap-cockpit.ap-card.ap-card-ig{display:grid!important;grid-template-columns:minmax(380px,560px) minmax(360px,1fr)!important;height:clamp(600px,calc(100dvh - 110px),900px)!important}
html.ui3 body.theme-mono.moonya-v2 #crReview #v-odobravanje .moonya-ap-cockpit.ap-card.ap-card-ig.is-scenario{grid-template-columns:minmax(0,1fr)!important;justify-content:stretch}
html.ui3 body.theme-mono.moonya-v2 #crReview #v-odobravanje .moonya-ap-cockpit.is-scenario .moonya-ap-inspector-scroll{max-width:none}

/* ---------- uži ekrani ---------- */
@media (max-width:1100px){
  html.ui3 #crWizard .awz-grid2:has(.u-art){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1024px){ /* isti prag kao isMobileSide(): sidebar postaje fioka (burger) */
  html.ui3 body .app:not(#u0):not(#u1){grid-template-columns:minmax(0,1fr)!important;padding:12px 16px 24px!important}
  html.ui3 .u-side{position:fixed;inset:0 auto 0 0;width:min(300px,86vw);max-height:none;z-index:600;background:var(--u-canvas);padding:16px 14px;transform:translateX(-105%);transition:transform .28s cubic-bezier(.2,.8,.2,1);box-shadow:0 20px 60px rgba(20,24,35,.25)}
  html.ui3 body.moonya-side-open .u-side{transform:none}
  html.ui3 #burger{display:grid!important}
}
@media (max-width:640px){
  html.ui3 body .main>.top:not(#u0){flex-wrap:nowrap!important;align-items:flex-start!important;padding:2px 0 14px!important}
  html.ui3 body .main>.top:not(#u0)>div:first-child{flex:1!important;min-width:0!important;align-items:flex-start!important}
  html.ui3 body #vhead #vtitle:not(#u0){font-size:24px!important}
  html.ui3 .u-pwa-btn{display:none} /* QR za telefon nema smisla na telefonu; oslobađa mesto naslovu */
  html.ui3 body #vhead #vsub:not(#u0){font-size:13px!important}
  html.ui3 #notificationButton,html.ui3 #acctBtn,html.ui3 #acctAv{width:42px!important;height:42px!important}
  html.ui3 #crWizard .u-st span{display:none}
  html.ui3 #crWizard .u-st{padding:0}
  html.ui3 #crWizard .u-st i{width:26px;height:26px;font-size:11px}
  html.ui3 #crWizard .u-link{min-width:4px}
  /* 08.10 e2e: „Generiši i automatizuj (28 kredita)" je bio širi od 390 px ekrana (nowrap) — na telefonu se lomi u dva reda */
  html.ui3 #crWizard .u-foot .awz-next{min-width:0;white-space:normal;text-align:center;padding:14px 18px}
  /* 08.10: video tokovi (9–11 koraka) na telefonu — manji krugovi da poslednji korak ne izlazi van panela */
  html.ui3 #crWizard .u-rail:has(>.u-st:nth-of-type(9):not(.u-restart)) .u-st i{width:22px;height:22px;font-size:10px}
  html.ui3 #crWizard .u-rail:has(>.u-st:nth-of-type(9):not(.u-restart)) .u-link{min-width:2px}
  html.ui3 #crWizard .u-restart{width:36px;height:36px;margin-left:6px}
  html.ui3 #createRoot .cr-wizard,html.ui3 #createRoot .cr-results{border-radius:26px;padding:16px}
  html.ui3 #crWizard .awz-grid2,html.ui3 #crWizard #awzIdeas,html.ui3 #crWizard .awz-grid3,html.ui3 #crWizard .awz-vgrp{grid-template-columns:minmax(0,1fr)}
  html.ui3 #crWizard .awz-grid2:has(.u-art){grid-template-columns:repeat(2,minmax(0,1fr))}
  html.ui3 #crWizard .u-art{min-height:120px}
  html.ui3 #crWizard .awz-durs{grid-template-columns:repeat(3,minmax(0,1fr))}
  html.ui3 #createRoot .cr-offer-actions{margin-left:0;width:100%}
}
@media (prefers-reduced-motion:reduce){html.ui3 .u-side,html.ui3 #createRoot .cr-card,html.ui3 #createRoot .cr-gen-shimmer{transition:none!important;animation:none!important}}

/* ---------- jedan font svuda u novim ekranima (bez starih fontova); engine slajdovi i titlovi zadržavaju svoje ---------- */
html.ui3 :is(#createRoot,.u-side,body .main>.top) :where(*:not([data-awz-tpl-engine] *):not(.cr-engine *):not(.awz-capprev *):not(.awz-capfont):not(.awz-capfont *)){font-family:var(--u-font)}

/* „Moonya priprema tvoj nalog“ (UI3 motion munja) živi u /app/account-warmup.css — deli ga i onboarding. */

/* ---------- prozor „Mreže" (iz sidebara) — iznad svega, nov stil ---------- */
html.ui3 #netPop:not(#u0){position:fixed!important;z-index:700!important;background:#eef0f5!important;border:0!important;border-radius:26px!important;box-shadow:0 30px 70px rgba(16,24,40,.28)!important;padding:16px!important;font-family:var(--u-font)!important;color:var(--u-text)!important}
html.ui3 #netPop :where(*){font-family:var(--u-font)}
html.ui3 #netPop .mnp-head{display:flex;flex-direction:column;gap:3px;padding:2px 4px 12px!important}
html.ui3 #netPop .mnp-head b{font:700 20px/1.2 var(--u-font)!important;letter-spacing:-.02em;color:var(--u-ink)!important}
html.ui3 #netPop .mnp-head span{font-size:12.5px!important;color:var(--u-muted)!important}
html.ui3 #netPop .mnp-limit{font:600 12px var(--u-font)!important;border:0!important;background:var(--u-white)!important;color:var(--u-ink)!important;padding:6px 12px!important;border-radius:999px!important;margin-top:8px!important}
html.ui3 #netPop .mnp-limit.full{background:var(--u-red-soft)!important;color:var(--u-red)!important}
html.ui3 #netPop .mnp-row{background:var(--u-card)!important;border:0!important;border-radius:18px!important;padding:10px 10px 10px 10px!important;margin-top:8px!important;gap:12px!important}
html.ui3 #netPop .mnp-row.on{background:var(--u-white)!important}
html.ui3 #netPop .mnp-row .msn-ic{width:38px!important;height:38px!important;border-radius:50%!important}
html.ui3 #netPop .mnp-row .msn-ic svg{width:17px!important;height:17px!important}
html.ui3 #netPop .mnp-copy b{font-size:14px!important;font-weight:700!important;color:var(--u-ink)!important}
html.ui3 #netPop .mnp-copy span{font-size:12px!important;color:var(--u-muted)!important}
html.ui3 #netPop .mnp-row.on .mnp-copy span{color:var(--u-green)!important}
html.ui3 #netPop .mnp-row .btn.sm{font:600 13px var(--u-font)!important;border:0!important;border-radius:999px!important;padding:9px 16px!important;background:var(--u-ink)!important;color:#fff!important;box-shadow:none!important;min-height:0!important;height:auto!important}
html.ui3 #netPop .mnp-row .btn.sm.mnp-danger{background:transparent!important;color:var(--u-red)!important;box-shadow:inset 0 0 0 1px var(--u-red-soft)!important}
html.ui3 #netPop .mnp-row .btn.sm:disabled{opacity:.4!important}
html.ui3 #netPop .mnp-row.needs-reconnect .btn.sm{background:var(--u-amber)!important}

/* izbor jezika u sidebaru (stari stil je bio za tamnu pozadinu) */

/* =====================================================================
   ČISTE KOMPONENTE (bez !important): toast, potvrda, prozor, PWA, Analitika
   ===================================================================== */
.u-toasts{position:fixed;right:20px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:900;display:flex;flex-direction:column;align-items:flex-end;gap:8px;pointer-events:none}
.u-toast{pointer-events:auto;font:600 14px/1.35 var(--u-font);background:var(--u-ink);color:#fff;border-radius:999px;padding:12px 20px;box-shadow:0 14px 34px rgba(13,14,17,.25);max-width:min(440px,calc(100vw - 40px));animation:u-toast-in .25s ease}
.u-toast.err{background:var(--u-red)}
.u-toasts.is-top,body.u-rv-open .u-toasts{top:calc(20px + env(safe-area-inset-top,0px));bottom:auto;right:16px;left:16px;align-items:center;z-index:2000} /* modal otvoren: toast ne sme preko dugmadi u podnožju */
@keyframes u-toast-in{from{transform:translateY(8px);opacity:0}}

.u-confirm-backdrop,.u-modal-back{position:fixed;inset:0;z-index:950;background:rgba(30,34,44,.35);backdrop-filter:blur(3px);display:grid;place-items:center;padding:20px}
.u-confirm,.u-modal{position:relative;font-family:var(--u-font);color:var(--u-text);background:#eef0f5;border-radius:30px;box-shadow:0 30px 80px rgba(16,24,40,.3);width:min(440px,100%);padding:26px;animation:u-pop .2s ease}
.u-confirm-title{font:700 22px/1.2 var(--u-font);letter-spacing:-.02em;color:var(--u-ink);margin:0 0 6px}
.u-confirm-msg{font:400 14px/1.5 var(--u-font);color:var(--u-muted);white-space:pre-line}
.u-confirm-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}
.u-confirm-backdrop[data-intent="danger"] .u-confirm-yes{background:var(--u-red);color:#fff} /* .u-btn.is-danger je crveni TEKST — ovde je crvena podloga */
.u-modal-x{position:absolute;top:14px;right:14px;background:var(--u-white)}

/* dugme sa telefonom u top baru + prozor za mobilnu aplikaciju */
.u-pwa-btn svg{fill:none;stroke:currentColor;stroke-width:1.7}
.u-pwa{width:min(720px,100%);padding:28px}
.u-pwa-head{display:flex;gap:16px;align-items:flex-start;padding-right:50px}
.u-pwa-head h2{margin:0 0 4px;font:700 26px/1.15 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
.u-pwa-head p{margin:0;font:400 14px/1.5 var(--u-font);color:var(--u-muted);max-width:52ch}
.u-pwa-ic{width:52px;height:52px;border-radius:50%;background:var(--u-ink);color:#fff;display:grid;place-items:center;flex:none}
.u-pwa-ic svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7}
.u-pwa-body{display:grid;grid-template-columns:240px minmax(0,1fr);gap:16px;margin-top:22px}
.u-pwa-qr{background:var(--u-white);border-radius:var(--u-r-lg);padding:18px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}
.u-pwa-code{width:150px;height:150px;margin-bottom:10px}
.u-pwa-code svg{width:100%;height:100%;display:block}
.u-pwa-qr b{font:700 14px var(--u-font);color:var(--u-ink)}
.u-pwa-qr small{font:400 12px var(--u-font);color:var(--u-muted)}
.u-pwa-link{margin-top:10px;display:flex;flex-direction:column;gap:8px;width:100%}
.u-pwa-link span{font:600 12.5px var(--u-font);color:var(--u-ink);background:var(--u-card);border-radius:999px;padding:8px 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.u-pwa-steps{background:var(--u-panel);border-radius:var(--u-r-lg);padding:18px;display:flex;flex-direction:column;gap:10px}
.u-pwa-steps-t{font:700 15px var(--u-font);color:var(--u-ink);margin-bottom:2px}
.u-pwa-step{display:flex;gap:12px;align-items:flex-start;background:var(--u-white);border-radius:18px;padding:12px 14px;font:400 14px/1.45 var(--u-font)}
.u-pwa-step i{font:700 12px/28px var(--u-font);font-style:normal;width:28px;height:28px;border-radius:50%;background:var(--u-ink);color:#fff;text-align:center;flex:none}
@media (max-width:640px){.u-pwa-body{grid-template-columns:minmax(0,1fr)}.u-pwa{padding:22px}.u-pwa-head h2{font-size:22px}}

/* Analitika (bivši Dashboard) */
.u-an{display:flex;flex-direction:column;gap:18px;font-family:var(--u-font);color:var(--u-text)}
.u-an-nets{display:flex;flex-wrap:wrap;gap:8px}
.u-an-pill{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:999px;background:rgba(255,255,255,.62);padding:8px 16px 8px 10px;font:600 13.5px var(--u-font);color:var(--u-text);cursor:pointer}
.u-an-pill:first-child{padding-left:16px}
.u-an-pill.is-on{background:var(--u-ink);color:#fff}
.u-an-panel{background:var(--u-panel);border-radius:var(--u-r-xl);padding:22px;display:flex;flex-direction:column;gap:14px}
.u-an-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.u-an-metric{border:0;text-align:left;cursor:pointer;background:var(--u-card);border-radius:var(--u-r-md);padding:16px 18px;display:flex;flex-direction:column;gap:4px;font-family:var(--u-font);color:var(--u-text)}
.u-an-metric:hover{background:var(--u-white)}
.u-an-metric span{font:600 12.5px var(--u-font);color:var(--u-muted)}
.u-an-metric b{font:700 32px/1.1 var(--u-font);letter-spacing:-.02em;color:var(--u-ink);font-variant-numeric:tabular-nums}
.u-an-metric.is-on{background:var(--u-ink)}
.u-an-metric.is-on b{color:#fff}
.u-an-metric.is-on span{color:var(--u-on-sub)}
.u-an-trend{align-self:flex-start;font:700 12px var(--u-font);border-radius:999px;padding:3px 9px}
.u-an-trend.is-up{background:rgba(95,176,138,.16);color:var(--u-green)}
.u-an-trend.is-down{background:var(--u-red-soft);color:var(--u-red)}
.u-an-chart{background:var(--u-card);border-radius:var(--u-r-md);padding:14px;height:230px}
.u-an-chart svg{width:100%;height:100%;display:block;overflow:visible}
.u-an-chart.is-empty{display:grid;place-items:center;text-align:center;color:var(--u-muted);font-size:14px;height:150px}
.u-an-grid{stroke:var(--u-line);stroke-width:1;stroke-dasharray:3 5;vector-effect:non-scaling-stroke}
.u-an-line{fill:none;stroke:var(--u-ink);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.u-an-area{fill:var(--u-blue-soft)}
.u-an-dot{fill:var(--u-ink);stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}
.u-an-cols{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:18px}
.u-an-card{background:var(--u-panel);border-radius:var(--u-r-xl);padding:22px;display:flex;flex-direction:column;gap:8px;min-width:0}
.u-an-card h3{margin:0 0 6px;font:600 20px/1.2 var(--u-font);letter-spacing:-.01em;color:var(--u-ink)}
.u-an-card h4{margin:10px 0 2px;font:600 13px var(--u-font);color:var(--u-muted)}
.u-an-post{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;background:var(--u-card);border-radius:18px;padding:10px 14px}
.u-an-post .u-net{width:30px;height:30px}
.u-an-post .u-net svg{width:14px;height:14px}
.u-an-post-t{min-width:0}
.u-an-post-t b{display:block;font:600 14px var(--u-font);color:var(--u-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.u-an-post-t small,.u-an-post-n small{display:block;font:400 11.5px var(--u-font);color:var(--u-muted)}
.u-an-post-n{text-align:right;min-width:62px}
.u-an-post-n b{font:700 15px var(--u-font);color:var(--u-ink);font-variant-numeric:tabular-nums}
.u-an-gender{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.u-an-gender div{background:var(--u-card);border-radius:var(--u-r-md);padding:14px 16px}
.u-an-gender b{display:block;font:700 26px var(--u-font);color:var(--u-ink)}
.u-an-gender span{font:400 12.5px var(--u-font);color:var(--u-muted)}
.u-an-bar{display:grid;grid-template-columns:72px minmax(0,1fr) 40px;align-items:center;gap:10px;font:500 13px var(--u-font)}
.u-an-bar i{height:8px;border-radius:999px;background:var(--u-white);overflow:hidden;display:block}
.u-an-bar em{display:block;height:100%;border-radius:inherit;background:var(--u-ink)}
.u-an-bar b{text-align:right;font:600 12.5px var(--u-font);color:var(--u-ink);font-variant-numeric:tabular-nums}
.u-an-empty{color:var(--u-muted);font-size:14px;padding:18px;background:var(--u-card);border-radius:var(--u-r-md);text-align:center}
.u-an-loading{background:var(--u-panel)}
@media (max-width:1100px){.u-an-cols{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){.u-an-metrics{grid-template-columns:minmax(0,1fr)}.u-an-metric b{font-size:26px}.u-an-panel,.u-an-card{border-radius:26px;padding:16px}}
.u-btn:focus-visible,.u-round:focus-visible,.u-an-pill:focus-visible,.u-an-metric:focus-visible{outline:2px solid var(--u-ink);outline-offset:2px;box-shadow:none}
/* dugme mobilne aplikacije: tanak pastelni gradijent u okviru (jedini naglasak u top baru, i dalje minimalno) */
.u-pwa-btn{border:1.5px solid transparent;background:linear-gradient(#f6f7fa,#f6f7fa) padding-box,conic-gradient(from 210deg,#7f9bd8,#b9a7ee,#f0bfae,#7f9bd8) border-box}
.u-pwa-btn:hover{background:linear-gradient(#fff,#fff) padding-box,conic-gradient(from 210deg,#6f8ad0,#a993e6,#ebae9a,#6f8ad0) border-box}

/* Moje automatizacije (pregled u panelu „Generiši objavu") */
html.ui3 #crWizard .awz-grid2:has(.u-art){grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
/* 08.10: tačno 5 formata → uvek 5 u redu iznad 640 px (auto-fit je na 640–1100 px davao 4 + 1 usamljenu karticu); telefon: 2 u redu, neparna poslednja preko cele širine */
html.ui3 #crWizard .awz-grid2:has(.u-art):has(>:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:640px){html.ui3 #crWizard .awz-grid2:has(.u-art):has(>:nth-child(5):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}html.ui3 #crWizard .awz-grid2:has(.u-art)>:last-child:nth-child(odd){grid-column:1/-1}}
html.ui3 #crWizard .u-art .saved{width:62%;aspect-ratio:auto;background:none;display:flex;flex-direction:column;gap:7px}
html.ui3 #crWizard .u-art .saved b{display:block;height:26px;border-radius:9px;background:var(--u-white)}
html.ui3 #crWizard .u-art .saved b:first-child{background:var(--u-ink)}
html.ui3 #crWizard .awz-card.on .u-art .saved b{background:#3a3d45}
.u-saved-head{display:flex;align-items:center;gap:14px;margin-bottom:18px;flex-wrap:wrap}
.u-saved-head>div{flex:1;min-width:220px}
.u-saved-head h2{margin:0;font:700 24px/1.15 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
.u-saved-head p{margin:4px 0 0;font:400 14px/1.45 var(--u-font);color:var(--u-muted)}
.u-saved-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.u-saved-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:20px;border-radius:var(--u-r-lg);background:var(--u-white);font-family:var(--u-font);transition:box-shadow .15s ease}
.u-saved-card:hover{box-shadow:0 14px 32px rgba(16,24,40,.07)}
.u-saved-top{display:flex;align-items:center;gap:10px}
.u-saved-ic{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:var(--u-ink);color:#fff}
.u-saved-ic svg{width:18px;height:18px}
.u-saved-card.is-paused .u-saved-ic{background:var(--u-card);color:var(--u-muted)}
.u-saved-fmt{flex:1;min-width:0;font:600 12.5px var(--u-font);color:var(--u-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.u-saved-title{margin:0;font:700 18px/1.3 var(--u-font);letter-spacing:-.01em;color:var(--u-ink);text-wrap:balance;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.u-saved-card.is-paused .u-saved-title{color:var(--u-text)}
.u-saved-info{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font:500 13px var(--u-font);color:var(--u-text)}
.u-saved-status{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--u-muted)}
.u-saved-status i{width:8px;height:8px;border-radius:50%;background:#b9bec8}
.u-saved-status.is-on{color:var(--u-ink)}
.u-saved-status.is-on i{background:var(--u-green)}
.u-saved-when{color:var(--u-muted)}
.u-saved-sub{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.u-saved-sub .u-nets{display:flex;gap:4px}
.u-saved-next{font:400 12.5px var(--u-font);color:var(--u-muted)}
.u-saved-next b{font-weight:600;color:var(--u-ink)}
.u-saved-err{font:500 12.5px var(--u-font);color:var(--u-red)}
.u-saved-acts{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:4px}
.u-saved-acts .u-btn-ink{flex:1}
.u-saved-acts .u-btn-ghost{background:var(--u-card)}
.u-saved-del{width:40px;height:40px;margin-left:auto;background:none}
.u-saved-del svg{width:17px;height:17px}
.u-saved-del:hover{background:var(--u-red-soft);color:var(--u-red)}
.u-saved-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:48px 20px;background:var(--u-card);border-radius:var(--u-r-lg);text-align:center;font-family:var(--u-font);color:var(--u-ink)}
.u-saved-empty b{font-size:20px;font-weight:700;letter-spacing:-.01em}
.u-saved-empty p{margin:0 0 8px;max-width:44ch;font-size:14px;line-height:1.5;color:var(--u-muted)}
.u-saved-empty-ic{width:64px;height:64px;border-radius:50%;background:var(--u-white);display:grid;place-items:center;margin-bottom:6px}
.u-saved-empty-ic svg{width:26px;height:26px;fill:none;stroke:var(--u-ink);stroke-width:1.6;stroke-linecap:round}
/* prekidač (uključi/pauziraj) */
.u-switch{position:relative;display:inline-block;width:44px;height:26px;flex:none;cursor:pointer}
.u-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.u-switch span{position:absolute;inset:0;border-radius:999px;background:var(--u-line);transition:background .2s}
.u-switch span::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(13,14,17,.2);transition:transform .2s}
.u-switch input:checked+span{background:var(--u-ink)}
.u-switch input:checked+span::after{transform:translateX(18px)}
.u-switch input:focus-visible+span{outline:2px solid var(--u-ink);outline-offset:2px}
@media (max-width:640px){.u-saved-grid{grid-template-columns:minmax(0,1fr)}.u-saved-head .u-btn{width:100%}}
html.ui3 #crWizard .awz-sumline{background:var(--u-white);color:var(--u-text);border:0;border-radius:var(--u-r-sm);padding:12px 14px;font:500 13.5px var(--u-font)}

/* Uređivanje automatizacije: pregled (velika kartica sa pločicama) */
html.ui3 #crWizard .u-ov{display:flex;flex-direction:column;gap:14px}
.u-ov-head{display:flex;align-items:center;gap:14px}
.u-ov-ic{width:52px;height:52px;border-radius:50%;background:var(--u-ink);color:#fff;display:grid;place-items:center;flex:none}
.u-ov-ic svg{width:22px;height:22px}
.u-ov-id{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.u-ov-name{display:block;font:700 26px/1.15 var(--u-font);letter-spacing:-.02em;color:var(--u-ink);padding:2px 0;outline:0;border-bottom:1.5px dashed transparent;cursor:text;overflow-wrap:anywhere}
.u-ov-name:hover,.u-ov-name:focus{border-bottom-color:var(--u-line)}
.u-ov-name:empty::before{content:attr(data-ph);color:var(--u-muted)}
.u-ov-fmt{align-self:flex-start;border:0;background:var(--u-white);border-radius:999px;padding:6px 12px;font:600 12.5px var(--u-font);color:var(--u-ink);cursor:pointer}
.u-ov-sub{margin:0;font:400 14px var(--u-font);color:var(--u-muted)}
.u-ov-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.u-ov-tile{position:relative;border:0;text-align:left;cursor:pointer;background:var(--u-card);border-radius:var(--u-r-md);padding:16px 16px 40px;display:flex;flex-direction:column;gap:6px;font-family:var(--u-font);color:var(--u-text);min-width:0;transition:background .15s,transform .2s}
.u-ov-tile:hover{background:var(--u-white);transform:translateY(-2px)}
.u-ov-tile:focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
.u-ov-tile.is-wide{grid-column:span 2}
.u-ov-k{font:600 12.5px var(--u-font);color:var(--u-muted)}
.u-ov-v{font:600 15px/1.35 var(--u-font);color:var(--u-ink);display:flex;align-items:center;gap:8px;flex-wrap:wrap;overflow-wrap:anywhere}
.u-ov-tile em{position:absolute;left:16px;bottom:12px;font:600 12.5px var(--u-font);font-style:normal;color:var(--u-ink);opacity:.55}
.u-ov-tile:hover em{opacity:1}
.u-ov-sw{display:inline-flex}
.u-ov-sw i{width:18px;height:18px;border-radius:50%;border:2px solid var(--u-white);margin-left:-5px}
.u-ov-sw i:first-child{margin-left:0}
html.ui3 #crWizard .u-ov-rail{gap:12px}
.u-ov-crumb{font:600 13.5px var(--u-font);color:var(--u-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:640px){.u-ov-tile.is-wide{grid-column:auto}.u-ov-grid{grid-template-columns:minmax(0,1fr)}.u-ov-name{font-size:22px}}
.u-foot-acts{display:flex;gap:10px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
html.ui3 #crWizard .u-foot .u-foot-acts .u-btn-ink{margin-left:0}

/* Polja (stari globalni input-stil ih ne dodiruje: hq.css ima :not(.u-field)) */
.u-field{width:100%;box-sizing:border-box;border:0;border-radius:var(--u-r-md);background:var(--u-white);padding:13px 16px;font:500 14.5px/1.5 var(--u-font);color:var(--u-ink);outline:0;box-shadow:none;resize:vertical;min-height:0}
.u-field:focus{box-shadow:0 0 0 2px var(--u-ink)}
.u-field[readonly]{background:var(--u-card);color:var(--u-text)}
.u-field::placeholder{color:var(--u-muted)}

/* Filteri u „Tvoje objave" */
.u-cr-filters{margin-left:8px}
@media (max-width:900px){html.ui3 #createRoot .u-cr-filters{order:3;flex-basis:100%;margin-left:0}} /* filteri u svoj red ispod naslova */
.u-cr-n{font-style:normal;font-size:11.5px;font-weight:700;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--u-white);color:var(--u-ink);display:inline-grid;place-items:center;margin-left:2px}
.u-an-pill.is-on .u-cr-n{background:rgba(255,255,255,.18);color:#fff}
.u-cr-n.is-red{background:var(--u-red);color:#fff}

/* Prozor za pregled objave (bivši ekran Odobravanje) */
.u-rv-back{position:fixed;inset:0;z-index:400;background:rgba(30,34,44,.35);backdrop-filter:blur(3px);display:grid;place-items:center;padding:20px}
body.u-rv-open{overflow:hidden}
.u-rv{width:min(1180px,100%);height:min(860px,calc(100dvh - 40px));background:#eef0f5;border-radius:30px;box-shadow:0 30px 80px rgba(16,24,40,.3);display:flex;flex-direction:column;overflow:hidden;font-family:var(--u-font);color:var(--u-text);animation:u-pop .2s ease}
.u-rv-body{flex:1;min-height:0;display:flex;flex-direction:column}
.u-rv-head{display:flex;align-items:center;gap:16px;padding:18px 20px 12px}
.u-rv-title{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.u-rv-title .u-pill{align-self:flex-start}
.u-rv-title h2{margin:0;font:700 22px/1.2 var(--u-font);letter-spacing:-.02em;color:var(--u-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.u-rv-title small{font:500 12.5px var(--u-font);color:var(--u-muted)}
.u-rv-x{background:var(--u-white);flex:none}
.u-rv-grid{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:0 20px}
.u-rv-grid.is-scenario{grid-template-columns:minmax(0,1fr)}
.u-rv-stage{min-height:0;display:flex;flex-direction:column;gap:12px;background:var(--u-panel);border-radius:var(--u-r-lg);padding:16px}
.u-rv-frame{position:relative;flex:1;min-height:0;display:grid;place-items:center;border-radius:20px;background:var(--u-blue-soft);overflow:hidden}
.u-rv-media{display:block;max-width:100%;max-height:100%;aspect-ratio:4/5;height:100%;border-radius:16px;overflow:hidden;cursor:zoom-in;background:var(--u-white)}
.u-rv-frame.is-story .u-rv-media,.u-rv-frame.is-video .u-rv-media{aspect-ratio:9/16}
video.u-rv-media{cursor:auto;background:var(--u-blue-soft);object-fit:contain}
canvas.u-rv-media{aspect-ratio:auto;width:auto;object-fit:contain;background:transparent} /* gotova slika (Studio) ima svoj odnos — ne gnječi u 4:5 */
.u-rv-engine{position:relative}
.u-rv-slide{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.9);color:var(--u-ink);font:700 20px/1 var(--u-font);cursor:pointer;box-shadow:0 4px 14px rgba(13,14,17,.12)}
.u-rv-slide.is-prev{left:12px}.u-rv-slide.is-next{right:12px}
.u-rv-count{position:absolute;top:12px;right:12px;font:700 11.5px var(--u-font);color:#fff;background:rgba(0,0,0,.35);padding:4px 10px;border-radius:999px}
.u-rv-count:empty{display:none}
.u-rv-thumbs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;flex:none}
.u-rv-thumbs:empty{display:none}
.u-rv-thumbs button{flex:none;width:54px;aspect-ratio:4/5;border:2px solid transparent;border-radius:12px;padding:0;overflow:hidden;background:var(--u-white);cursor:pointer;position:relative}
.u-rv-thumbs button.on{border-color:var(--u-ink)}
.u-rv-thumbs button>span{position:absolute;inset:0;display:block;overflow:hidden}
.u-rv-thumbs img,.u-rv-thumbs canvas{width:100%;height:100%;object-fit:cover;display:block}
.u-rv-tools{display:flex;flex-wrap:wrap;gap:8px;flex:none}
.u-rv-tool{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:999px;background:var(--u-white);padding:10px 16px;font:600 13.5px var(--u-font);color:var(--u-ink);cursor:pointer}
.u-rv-tool svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.u-rv-tool.is-ink{background:var(--u-ink);color:#fff}
.u-rv-tool[disabled]{opacity:.5}
.u-rv-side{min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:14px;padding:2px 2px 12px}
.u-rv-block{display:flex;flex-direction:column;gap:8px}
.u-rv-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font:600 13px var(--u-font);color:var(--u-muted)}
.u-rv-label label{color:var(--u-muted)}
.u-rv-muted{font:400 12.5px var(--u-font);color:var(--u-muted);margin:0}
.u-rv-link{border:0;background:none;padding:0;font:600 12.5px var(--u-font);color:var(--u-ink);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.u-rv-link[disabled]{opacity:.4;cursor:default}
.u-rv-nets{display:flex;flex-wrap:wrap;gap:8px}
.u-rv-net{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--u-line);border-radius:999px;background:transparent;padding:6px 14px 6px 6px;font:600 13px var(--u-font);color:var(--u-text);cursor:pointer;text-align:left}
.u-rv-net small{display:block;font:500 11px var(--u-font);color:var(--u-muted)}
.u-rv-net .u-net{width:28px;height:28px}
.u-rv-net.is-on{background:var(--u-white);border-color:var(--u-ink);color:var(--u-ink)}
.u-rv-net:not(.is-on) .u-net{filter:grayscale(1);opacity:.55}
.u-rv-net.is-failed small{color:var(--u-red)}
.u-rv-net[disabled]{cursor:default}
.u-rv-net.is-off{opacity:.6;cursor:not-allowed}
.u-rv-net.is-off small{color:var(--u-red)}
.u-rv-tabs{display:flex;flex-wrap:wrap;gap:6px}
.u-rv-tab{border:0;border-radius:999px;background:rgba(255,255,255,.62);padding:7px 14px;font:600 12.5px var(--u-font);color:var(--u-text);cursor:pointer}
.u-rv-tab.is-on{background:var(--u-ink);color:#fff}
.u-rv-caption{min-height:118px}
.u-rv-tags-ro{margin:0;font:500 13px var(--u-font);color:var(--u-text)}
.u-rv-sched{display:flex;gap:8px}
.u-rv-sched .u-field{max-width:280px}
.u-rv-note{background:var(--u-white);border-radius:var(--u-r-sm);padding:12px 14px 12px 44px;position:relative;font:500 13px/1.45 var(--u-font)}
.u-rv-note::before{content:"!";position:absolute;left:14px;top:11px;width:20px;height:20px;border-radius:50%;background:var(--u-amber);color:#fff;font:700 12px/20px var(--u-font);text-align:center}
.u-rv-scenario{min-width:0}
/* scenario videa (storyboard) — u-sb; hq-approval.js crta ove klase kad je html.ui3 */
.u-sb{background:var(--u-panel);border-radius:var(--u-r-lg);padding:18px;display:flex;flex-direction:column;gap:14px;font-family:var(--u-font);color:var(--u-text)}
.u-sb-head{display:flex;align-items:center;gap:12px}
.u-sb-ic{width:44px;height:44px;border-radius:50%;background:var(--u-ink);color:#fff;display:grid;place-items:center;flex:none}
.u-sb-ic svg{width:20px;height:20px}
.u-sb-headtxt{min-width:0}
.u-sb-eyebrow{font-size:12px;font-weight:600;color:var(--u-muted)}
.u-sb-title{display:block;font-size:19px;font-weight:700;color:var(--u-ink);line-height:1.25}
.u-sb-chips{display:flex;flex-wrap:wrap;gap:6px}
.u-sb-chip{padding:6px 12px;border-radius:999px;background:var(--u-white);font-size:12.5px;font-weight:600}
.u-sb-hint,.u-sb-meta{margin:0;font-size:13px;line-height:1.5;color:var(--u-muted)}
.u-sb-list{display:flex;flex-direction:column;gap:10px}
.u-sb-row{display:flex;gap:12px;align-items:flex-start}
.u-sb-rail{display:flex;flex-direction:column;align-items:center;gap:4px;width:44px;flex:none;padding-top:4px}
.u-sb-dot{width:30px;height:30px;border-radius:50%;background:var(--u-white);display:grid;place-items:center;font-size:13px;font-weight:700;color:var(--u-ink)}
.u-sb-time{font-size:11px;color:var(--u-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.u-sb-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.u-sb-lbl{font-size:12px;font-weight:600;color:var(--u-muted)}
.u-sb-text{resize:none;overflow:hidden}
.u-sb-text.is-big{font-size:16px}
.u-sb-editbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;position:sticky;bottom:0;z-index:2;background:var(--u-white);border-radius:var(--u-r-sm);padding:10px 12px 10px 14px;box-shadow:0 6px 20px rgba(13,14,17,.08)}
.u-sb-editbar[hidden]{display:none}
.u-sb-editnote{font-size:13px;color:var(--u-muted)}
.u-sb-editbar[data-state="saved"] .u-sb-editnote{color:var(--u-green);font-weight:600}
.u-sb-editbar[data-state="over"],.u-sb-editbar[data-state="error"]{background:var(--u-red-soft)}
.u-sb-editbar[data-state="over"] .u-sb-editnote,.u-sb-editbar[data-state="error"] .u-sb-editnote{color:var(--u-text)}
.u-sb-warn{display:flex;flex-direction:column;gap:6px;background:var(--u-white);border-radius:var(--u-r-sm);padding:14px 16px 14px 44px;position:relative;font-size:13px;line-height:1.45}
.u-sb-warn::before{content:"!";position:absolute;left:14px;top:13px;width:20px;height:20px;border-radius:50%;background:var(--u-amber);color:#fff;font:700 12px/20px var(--u-font);text-align:center}
.u-sb-warn b{font-weight:700;color:var(--u-ink)}
.u-sb-state{display:flex;flex-direction:column;gap:8px;background:var(--u-white);border-radius:var(--u-r-sm);padding:12px 14px;font-size:13px}
.u-sb-state.is-failed{flex-direction:row;gap:8px;color:var(--u-red)}
.u-sb-progress-top{display:flex;align-items:center;gap:10px}
.u-sb-spin{width:16px;height:16px;border-radius:50%;border:2px solid var(--u-line);border-top-color:var(--u-ink);animation:u-spin .8s linear infinite;flex:none}
@keyframes u-spin{to{transform:rotate(360deg)}}
.u-sb-bar{height:6px;border-radius:999px;background:var(--u-canvas);overflow:hidden}
.u-sb-bar i{display:block;height:100%;background:var(--u-ink);border-radius:inherit}
.u-sb-actions{display:flex;gap:8px;flex-wrap:wrap}
@media (prefers-reduced-motion:reduce){.u-sb-spin{animation:none}}
.u-rv-foot{display:flex;align-items:center;gap:10px;padding:14px 20px 18px;border-top:1px solid rgba(211,216,226,.6);flex-wrap:wrap}
.u-rv-secondary{display:flex;gap:8px;flex-wrap:wrap;flex:1;min-width:0}
.u-btn.is-danger{color:var(--u-red)}
.u-rv-primary{min-width:200px}
.u-rv-done{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;font:600 16px var(--u-font);color:var(--u-ink)}
@media (max-width:900px){
  .u-rv-back{padding:0}
  .u-rv{width:100%;height:100dvh;border-radius:0}
  .u-rv-grid{display:flex;flex-direction:column;overflow-y:auto;padding:0 14px}
  .u-rv-stage,.u-rv-side{flex:none}
  .u-rv-stage{min-height:auto}
  .u-rv-frame{flex:none;height:min(62vh,520px)}
  .u-rv-side{overflow:visible}
  .u-rv-head{padding:14px 14px 10px;gap:10px}
  .u-rv-title h2{font-size:18px}
  .u-rv-foot{padding:12px 14px calc(14px + env(safe-area-inset-bottom,0px))}
  .u-rv-primary{order:-1;flex:1 1 100%;min-width:0}
  .u-rv-secondary{flex:1 1 100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .u-rv-secondary .u-btn{padding:10px 14px;font-size:13px;flex:none}
}

/* Pregled objave: kartice desno + dugmad u dve grupe */
.u-rv-card{background:var(--u-panel);border-radius:var(--u-r-lg);padding:16px;display:flex;flex-direction:column;gap:14px}
.u-rv-card h3{margin:0;font:700 15px var(--u-font);color:var(--u-ink)}
.u-rv-caption{resize:none;line-height:1.6;font-weight:400}
.u-rv-tags{resize:none;color:var(--u-text)}
.u-rv-left{display:flex;align-items:center;gap:4px;flex:1;min-width:0;flex-wrap:wrap}
.u-rv-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.u-rv-act{border:0;background:none;padding:10px 12px;border-radius:999px;font:600 13.5px var(--u-font);color:var(--u-text);cursor:pointer}
.u-rv-act:hover{background:rgba(255,255,255,.62)}
.u-rv-act.is-danger{color:var(--u-red)}
.u-rv-act[disabled]{opacity:.45;cursor:default}
@media (max-width:900px){
  .u-rv-right{order:-1;flex:1 1 100%}
  .u-rv-right .u-rv-primary{flex:1}
  .u-rv-left{flex:1 1 100%;flex-wrap:nowrap;overflow-x:auto}
}

/* Editor slajdova (UI3) */
.u-ed-back{position:fixed;inset:0;z-index:510;background:rgba(30,34,44,.35);backdrop-filter:blur(3px);display:none;place-items:center;padding:20px}
.u-ed-back.on{display:grid}
.u-ed{width:min(1180px,100%);height:min(880px,calc(100dvh - 40px));background:#eef0f5;border-radius:30px;box-shadow:0 30px 80px rgba(16,24,40,.3);display:flex;flex-direction:column;overflow:hidden;font-family:var(--u-font);color:var(--u-text)}
.u-ed-head{display:flex;align-items:center;gap:14px;padding:18px 20px 12px}
.u-ed-title{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.u-ed-title b{font:700 22px/1.2 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
.u-ed-title span{font:500 12.5px var(--u-font);color:var(--u-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.u-ed-hist{display:flex;gap:8px}
.u-ed-hist .u-btn[disabled]{opacity:.4;cursor:default}
.u-ed-grid{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:0 20px 20px}
.u-ed-stage{min-height:0;display:flex;flex-direction:column;gap:10px;background:var(--u-panel);border-radius:var(--u-r-lg);padding:16px}
.u-ed-frame{position:relative;flex:1;min-height:0;display:grid;place-items:center;border-radius:20px;background:var(--u-blue-soft);overflow:hidden}
.u-ed-media{display:block;max-width:100%;max-height:100%;height:100%;aspect-ratio:4/5;border-radius:16px;overflow:hidden;background:var(--u-white)}
.u-ed-media[hidden]{display:none}
.u-ed-engine{position:relative;width:auto}
/* dugme kadra je ispod slajda, u redu sa brojem slajda — u kadru je prekrivalo brojač „01 / 05" šablona (08.10) */
.u-ed-bar{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.u-ed-crop{padding:7px 12px}
.u-ed-crop[hidden]{display:none}
.u-ed-crop svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.u-ed-meta{font:600 12.5px var(--u-font);color:var(--u-muted);text-align:center}
.u-ed-side{min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:2px 2px 8px}
.u-ed-card{background:var(--u-panel);border-radius:var(--u-r-lg);padding:16px;display:flex;flex-direction:column;gap:12px}
.u-ed-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.u-ed-card-head b{display:block;font:700 15px var(--u-font);color:var(--u-ink)}
.u-ed-card-head span{display:block;font:400 12.5px/1.4 var(--u-font);color:var(--u-muted);margin-top:2px}
.u-ed-field{display:flex;flex-direction:column;gap:10px}
.u-ed-field>span{display:flex;justify-content:space-between;gap:8px;font:600 12.5px var(--u-font);color:var(--u-muted)}
.u-ed-field small{font:500 11.5px var(--u-font);color:var(--u-muted)}
.u-ed-field small.over{color:var(--u-red)}
.u-ed-field textarea.u-field{resize:none}
[data-ap-rr-form]{display:flex;flex-direction:column;gap:14px;margin-bottom:12px}
.u-ed-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.u-ed-row label.u-btn{cursor:pointer}
.u-ed-sub{background:var(--u-white);border-radius:var(--u-r-md);padding:14px;display:flex;flex-direction:column;gap:10px}
.u-ed-sub p{margin:0;font:400 13px var(--u-font);color:var(--u-text)}
.u-ed-sub .u-btn{align-self:flex-start}
.u-ed-colors{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.u-ed-color{display:flex;flex-direction:column;align-items:center;gap:5px;cursor:pointer}
.u-ed-sw{position:relative;width:40px;height:40px;border-radius:50%;border:3px solid var(--u-white);box-shadow:0 2px 8px rgba(13,14,17,.12);overflow:hidden}
.u-ed-sw input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0}
.u-ed-color small{font:500 11px var(--u-font);color:var(--u-muted)}
.u-ed-scale{display:flex;align-items:center;justify-content:space-between;gap:12px;font:600 13px var(--u-font);color:var(--u-text)}
.u-ed-logo{display:flex;align-items:center;justify-content:space-between;gap:14px}
.u-ed-logo-img{width:96px;height:56px;border-radius:var(--u-r-sm);background:var(--u-white);display:grid;place-items:center;padding:8px;box-sizing:border-box;flex:none}
.u-ed-logo-img.is-dark{background:var(--u-ink)}
.u-ed-logo-img img{max-width:100%;max-height:100%;object-fit:contain}
.u-ed-logo-on{display:flex;align-items:center;gap:10px;font:600 13px var(--u-font);color:var(--u-text);cursor:pointer}
.u-ed-logo-act{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.u-seg,.u-ed-seg{display:flex;gap:4px;background:var(--u-white);border-radius:999px;padding:4px}
.u-seg button,.u-ed-seg button{border:0;background:none;border-radius:999px;padding:7px 14px;font:600 12.5px var(--u-font);color:var(--u-text);cursor:pointer}
.u-seg button.is-on,.u-seg button.on,.u-ed-seg button.is-on{background:var(--u-ink);color:#fff}
/* jedan fokus za sve u UI3 (stari tirkizni je isključen sa html:not(.ui3) u ui.css/hq-moonya-v2.css) */
html.ui3 :where(button,a,input,textarea,select,[tabindex]):focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
@media (max-width:900px){
  .u-ed-back{padding:0}
  .u-ed{width:100%;height:100dvh;border-radius:0}
  .u-ed-grid{display:flex;flex-direction:column;overflow-y:auto;padding:0 14px 14px}
  .u-ed-stage{flex:none;min-height:auto}
  .u-ed-side{flex:none}
  .u-ed-frame{flex:none;height:min(58vh,480px)}
  .u-ed-side{overflow:visible}
  .u-ed-hist .u-btn{padding:8px 12px}
}
.u-chip{display:inline-block;flex:none;background:var(--u-white);color:var(--u-ink);border-radius:999px;padding:5px 11px;font:600 12px var(--u-font);white-space:nowrap}
/* zaglavlje prozora: naslov levo, status + automatizacija desno */
.u-rv-meta{display:flex;flex-direction:column;align-items:flex-end;gap:5px;max-width:42%;min-width:0;flex:none}
.u-rv-meta small{font:500 12.5px var(--u-font);color:var(--u-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
@media (max-width:900px){.u-rv-meta{display:none}}

/* Korak „Izgled": šabloni 9:16 + fontovi + pregled uživo */
/* korak Boje (u-pal): palete kao krugovi */
.u-pals{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.u-pal{border:0;background:var(--u-card);border-radius:var(--u-r-lg);padding:22px 16px 18px;display:flex;flex-direction:column;align-items:center;gap:14px;cursor:pointer;font-family:var(--u-font);color:var(--u-ink);text-align:center;transition:background .15s}
.u-pal:hover{background:var(--u-white)}
.u-pal.on{background:var(--u-ink);color:#fff}
.u-pal:focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
.u-pal-dots{display:flex}
.u-pal-dots i{width:46px;height:46px;border-radius:50%;box-shadow:0 0 0 3px var(--u-card),inset 0 0 0 1px rgba(13,14,17,.1);margin-left:-12px}
.u-pal-dots i:first-child{margin-left:0}
.u-pal:hover .u-pal-dots i{box-shadow:0 0 0 3px var(--u-white),inset 0 0 0 1px rgba(13,14,17,.1)}
.u-pal.on .u-pal-dots i{box-shadow:0 0 0 3px var(--u-ink),inset 0 0 0 1px rgba(255,255,255,.28)}
.u-pal-dots.is-custom i{display:grid;place-items:center;width:46px;height:46px;border:1.5px dashed currentColor;box-shadow:none;font:500 22px/1 var(--u-font);font-style:normal;opacity:.7}
.u-pal-cap b{display:block;font-size:15px;font-weight:600}
.u-pal-cap small{font-size:12.5px;color:var(--u-muted)}
.u-pal.on .u-pal-cap small{color:var(--u-on-sub)}
.u-pal-custom{margin-top:14px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:var(--u-card);border-radius:var(--u-r-lg);padding:16px 18px}
.u-pal-custom-h b{display:block;font:600 15px var(--u-font);color:var(--u-ink)}
.u-pal-custom-h small{font:400 13px var(--u-font);color:var(--u-muted)}
.u-pal-picks{display:flex;gap:18px}
.u-pal-pick{display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer}
.u-pal-pick small{font:500 12px var(--u-font);color:var(--u-muted)}
.u-pal-sw{position:relative;width:46px;height:46px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(13,14,17,.12)}
.u-pal-sw input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0}
html.ui3 #crWizard .u-tpl-wrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
html.ui3 #crWizard .u-tpl-left{min-width:0;display:flex;flex-direction:column;gap:10px}
.u-hrow-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font:600 13px var(--u-font);color:var(--u-muted)}
.u-hrow-nav{display:flex;gap:6px}
.u-hrow-nav .u-round{width:36px;height:36px}
.u-hrow-nav .u-round svg{width:15px;height:15px}
.u-hrow{--u-fl:28px;--u-fr:28px;display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:2px 2px 6px;cursor:grab;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 var(--u-fl),#000 calc(100% - var(--u-fr)),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 var(--u-fl),#000 calc(100% - var(--u-fr)),transparent 100%)}
.u-hrow.at-start{--u-fl:0px}
.u-hrow.at-end{--u-fr:0px}
.u-hrow::-webkit-scrollbar{display:none}
.u-hrow.is-drag{cursor:grabbing;user-select:none}
.u-hrow.is-drag *{pointer-events:none}
.u-tpl{flex:none;width:150px;border:0;background:var(--u-card);border-radius:var(--u-r-md);padding:8px 8px 10px;display:flex;flex-direction:column;gap:8px;cursor:pointer;text-align:left;font:600 13px var(--u-font);color:var(--u-ink);transition:background .15s}
.u-tpl:hover{background:var(--u-white)}
.u-tpl.on{background:var(--u-ink);color:#fff}
.u-tpl:focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
.u-tpl-cap{padding:0 4px}
html.ui3 #crWizard .u-tpl .awz-tpl-prev{aspect-ratio:9/16}
.u-fontrow{gap:8px}
.u-fontrow .u-font{flex:none}
.u-font{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:86px;border:0;border-radius:var(--u-r-md);background:var(--u-card);padding:10px 12px;cursor:pointer;color:var(--u-ink);font-family:var(--u-font)}
.u-font b{font-size:24px;line-height:1.1;font-weight:700}
.u-font small{font:500 11.5px var(--u-font);color:var(--u-muted);white-space:nowrap}
.u-font:hover{background:var(--u-white)}
.u-font.on{background:var(--u-ink);color:#fff}
.u-font.on small{color:var(--u-on-sub)}
.u-tpl-live{position:sticky;top:0;background:var(--u-panel);border-radius:var(--u-r-lg);padding:14px;display:flex;flex-direction:column;gap:10px}
.u-tpl-live-k{font:600 12.5px var(--u-font);color:var(--u-muted)}
.u-tpl-live-frame{border-radius:16px;overflow:hidden;background:var(--u-blue-soft)}
.u-tpl-live-frame .awz-tpl-prev{display:block;border-radius:16px;overflow:hidden;position:relative}
.u-tpl-live-frame.is-story{width:80%;align-self:center}
@media (max-width:1100px){html.ui3 #crWizard .u-tpl-wrap{grid-template-columns:minmax(0,1fr)}.u-tpl-live{position:static;max-width:320px}}

/* ===== Content AI Studio (u-st) — chat preko cele širine + „Tvoje kreacije“ + prozor kreacije (u-stv).
   Sadržaj chata crta hq-studio.js (stc-* klase); stari hq-moonya-studio-v2.css je ugašen (data-ui-classic). ===== */
.u-studio{display:flex;flex-direction:column;gap:18px;font-family:var(--u-font);color:var(--u-text);position:relative}
.u-st-chat{background:var(--u-panel);border-radius:var(--u-r-xl);display:flex;flex-direction:column;height:max(560px,calc(100dvh - 190px));min-height:0;overflow:hidden}
.u-st-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px 6px}
.u-st-brand{display:inline-flex;align-items:center;gap:10px;font-size:13px;color:var(--u-muted)}
.u-st-brand i{width:30px;height:30px;border-radius:50%;background:var(--u-ink);color:#fff;display:grid;place-items:center}
.u-st-brand .u-mark{width:11px;height:16px}
.u-st-brand b{font-weight:600}
.u-studio #stcMsgs{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:18px;padding:18px max(18px,calc((100% - 780px)/2)) 24px;scroll-behavior:smooth}
/* poruke */
.u-studio .stc-row{gap:12px;align-items:flex-start}
.u-studio .stc-r-u{justify-content:flex-end}
.u-studio .stc-ava{width:32px;height:32px;border-radius:50%;background:var(--u-ink);box-shadow:none;font-size:0;margin:0;position:relative}
.u-studio .stc-ava::before{content:"";position:absolute;inset:8px 10px;background:#fff;-webkit-mask:url(/app/logo/moonya-munja.png) center/contain no-repeat;mask:url(/app/logo/moonya-munja.png) center/contain no-repeat}
.u-studio .stc-msg{max-width:min(640px,86%)}
.u-studio .stc-txt{font:400 15px/1.6 var(--u-font);color:var(--u-text)}
.u-studio .stc-mine .stc-txt{background:var(--u-white);border-radius:22px 22px 6px 22px;padding:11px 16px;color:var(--u-ink)}
.u-studio .stc-bot .stc-txt{padding:4px 0 0;background:none;border:0;box-shadow:none}
.u-studio .stc-msg-img{border:0;border-radius:16px;box-shadow:none;max-width:220px;max-height:220px}
.u-studio .stc-think{display:inline-flex;align-items:center;gap:5px;background:var(--u-white);border:0;box-shadow:none;border-radius:999px;padding:10px 16px 10px 12px}
.u-studio .stc-think::before{content:"";width:12px;height:18px;margin-right:6px;background:var(--u-ink);-webkit-mask:url(/app/logo/moonya-munja.png) center/contain no-repeat;mask:url(/app/logo/moonya-munja.png) center/contain no-repeat;animation:u-mark-write .9s ease-in-out infinite}
.u-studio .stc-think span{order:2;width:5px;height:5px;background:var(--u-ink)}
.u-studio .stc-think em{order:1;font:500 13.5px var(--u-font);font-style:normal;color:var(--u-muted);margin-right:6px}
.u-studio .stc-card{width:min(560px,100%);background:var(--u-white);border:0;border-radius:var(--u-r-md);padding:14px;box-shadow:none}
.u-studio .stc-card-head{font:600 13px var(--u-font);color:var(--u-ink)}
.u-studio .stc-capcard .stc-cap{min-height:120px;background:var(--u-card);resize:vertical}
.u-studio .stc2-vchip{display:flex;align-items:center;gap:12px;border:0;background:var(--u-white);border-radius:20px;padding:8px 16px 8px 8px;cursor:pointer;font-family:var(--u-font);color:var(--u-ink);text-align:left}
.u-studio .stc2-vchip:hover{background:#fbfbfd}
.u-studio .stc2-vchip img,.u-studio .stc2-vchip-ph{width:56px;height:56px;border-radius:14px;object-fit:cover;background:var(--u-card);display:grid;place-items:center;flex:none}
.u-studio .stc2-vchip>span:last-child>span{display:block;font:600 14px var(--u-font)}
.u-studio .stc2-vchip small{font:500 12px var(--u-font);color:var(--u-muted)}
/* prazno stanje (hero) */
.u-studio .u-st-hero{margin:auto;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:24px 0;max-width:640px}
.u-studio .u-st-hero[hidden]{display:none}
.u-st-hero-ic{width:56px;height:56px;border-radius:50%;background:var(--u-ink);color:#fff;display:grid;place-items:center;margin-bottom:6px}
.u-st-hero-ic .u-mark{width:20px;height:30px;animation:u-mark-float 3.2s ease-in-out infinite}
.u-st-hero h2{margin:0;font:700 clamp(26px,3vw,34px)/1.15 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
.u-st-hero p{margin:0 0 10px;font-size:15px;line-height:1.55;color:var(--u-muted);max-width:52ch}
.u-st-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.u-st-chip{border:0;border-radius:999px;background:var(--u-white);padding:10px 16px;font:500 13.5px var(--u-font);color:var(--u-ink);cursor:pointer}
.u-st-chip:hover{background:var(--u-ink);color:#fff}
/* unos */
.u-st-compose{padding:0 max(18px,calc((100% - 780px)/2)) 16px;display:flex;flex-direction:column;gap:8px}
/* prilog („Edituj dalje“, prevučena slika) živi u polju za unos; korisnik sam napiše šta želi (AI zaključuje edit/inspire) */
.u-st-attach{display:flex;align-items:flex-start;gap:10px}
.u-studio .stc-att{margin:6px 0 0 6px;flex:none}
.u-studio .stc-att[hidden]{display:none}
.u-studio .stc-att-item{width:72px;height:72px;border:0;border-radius:16px}
.u-st-box{background:var(--u-white);border-radius:28px;padding:8px 10px 10px 8px;box-shadow:0 10px 30px rgba(16,24,40,.06)}
.u-studio .u-st-input{display:block;width:100%;background:transparent;border-radius:20px;padding:12px 14px 6px;resize:none;max-height:180px;font-size:15.5px;scrollbar-width:none}
.u-studio .u-st-input::-webkit-scrollbar{display:none}
.u-studio .u-st-input:focus,.u-studio .u-st-input:focus-visible{box-shadow:none;outline:0}
.u-st-box:focus-within{box-shadow:0 0 0 2px var(--u-ink),0 10px 30px rgba(16,24,40,.06)}
.u-st-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-left:6px}
.u-st-tool{width:38px;height:38px;border-radius:50%;border:0;background:var(--u-card);color:var(--u-ink);display:grid;place-items:center;cursor:pointer;flex:none}
.u-st-tool:hover{background:var(--u-canvas)}
.u-st-tool svg,.u-st-fmt svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.u-st-fmt{display:inline-flex;align-items:center;gap:4px;background:var(--u-card);border-radius:999px;padding:0 4px 0 12px;color:var(--u-ink);min-width:0}
.u-studio .u-st-custom{display:flex;align-items:center;gap:6px}
.u-studio .u-st-custom[hidden]{display:none}
.u-studio .u-st-custom label{display:flex;align-items:center;gap:6px;font:500 12px var(--u-font);color:var(--u-muted)}
.u-studio .u-st-custom input{width:82px;padding:8px 10px;background:var(--u-card);border-radius:999px;font-size:13px}
.u-studio .u-st-custom em{font:500 12px var(--u-font);font-style:normal;color:var(--u-muted)}
.u-st-grow{flex:1}
.u-studio .u-st-send{width:42px;height:42px;background:var(--u-ink);color:#fff}
.u-studio .u-st-send svg{width:18px;height:18px;stroke:#fff;stroke-width:2}
.u-studio .u-st-send:disabled{opacity:.35;cursor:default}
.u-st-foot{margin:0;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:0 10px;font-size:12px;color:var(--u-muted)}
.u-st-foot .stc-format-note{margin:0;font-size:12px;color:var(--u-muted)}
.is-drop .u-st-chat{box-shadow:inset 0 0 0 2px var(--u-ink)}
/* „Generisanje pojedinačne slike“ — chat ugrađen u panel Generiši objavu */
.u-st-host{gap:14px}
.u-st-host[hidden]{display:none}
.u-st-embed-head{display:flex;align-items:center;gap:14px}
.u-st-embed-head h2{margin:0;font:700 22px/1.2 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
.u-st-embed-head p{margin:2px 0 0;font-size:13.5px;color:var(--u-muted)}
.u-st-host .u-st-chat{height:max(540px,calc(100dvh - 260px))}
/* Tvoje kreacije */
.u-st-made{background:var(--u-panel);border-radius:var(--u-r-xl);padding:20px}
.u-st-made-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.u-st-made-head h2{margin:0;font:600 20px/1.2 var(--u-font);letter-spacing:-.01em;color:var(--u-ink)}
.u-st-made-head p{margin:4px 0 0;font-size:13.5px;color:var(--u-muted)}
.u-st-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px;align-items:start}
.u-st-card{position:relative;background:var(--u-card);border-radius:var(--u-r-md);padding:8px;display:flex;flex-direction:column;gap:8px;min-width:0}
.u-st-thumb{display:block;width:100%;aspect-ratio:4/5;border:0;padding:0;border-radius:16px;overflow:hidden;background:var(--u-blue-soft);cursor:pointer}
.u-st-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.u-st-busy{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;height:100%;min-height:160px;font:600 13px var(--u-font);color:var(--u-ink);padding:12px;text-align:center}
.u-st-busy.is-err{color:var(--u-red);background:var(--u-red-soft)}
.u-st-card-acts{position:absolute;top:14px;right:14px;display:flex;gap:6px;opacity:0;transition:opacity .15s}
.u-st-card:hover .u-st-card-acts,.u-st-card:focus-within .u-st-card-acts{opacity:1}
.u-st-ic{width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:var(--u-ink);display:grid;place-items:center;cursor:pointer}
.u-st-ic svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.u-st-card-meta{display:flex;justify-content:space-between;gap:8px;padding:0 6px;font:600 12px var(--u-font);color:var(--u-ink)}
.u-st-card-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.u-st-card-meta time{font-weight:500;color:var(--u-muted);flex:none}
.u-st-card-p{margin:0;padding:0 6px 4px;font-size:12.5px;line-height:1.4;color:var(--u-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.u-st-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:8px;padding:40px 20px;text-align:center;background:var(--u-card);border-radius:var(--u-r-lg);font-size:14px;color:var(--u-muted)}
.u-st-empty b{font-size:17px;color:var(--u-ink)}
.u-st-empty p{margin:0;max-width:46ch;line-height:1.5}
.u-st-empty-ic{width:56px;height:56px;border-radius:50%;background:var(--u-white);display:grid;place-items:center;color:var(--u-ink);margin-bottom:4px}
.u-st-empty-ic svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6}
.u-st-more{display:flex;justify-content:center;margin-top:14px}
.u-st-more:empty{display:none}
/* prozor kreacije */
.u-stv{width:min(1120px,100%);height:min(840px,calc(100dvh - 40px));background:#eef0f5;border-radius:30px;box-shadow:0 30px 80px rgba(16,24,40,.3);display:flex;flex-direction:column;overflow:hidden;font-family:var(--u-font);color:var(--u-text);animation:u-pop .2s ease}
.u-stv-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px 12px}
.u-stv-head h2{margin:0;font:700 22px/1.2 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
.u-stv-head small{font:500 12.5px var(--u-font);color:var(--u-muted)}
.u-stv-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:16px;padding:0 20px 20px}
.u-stv-stage{min-height:0;background:var(--u-panel);border-radius:var(--u-r-lg);padding:16px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.u-stv-stage #stcCanvasHost{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.u-stv-stage .stc-card{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:none;border:0;box-shadow:none;padding:0}
.u-stv-stage .stc-frame{width:auto;height:auto;max-width:100%;max-height:100%;border-radius:18px;background:var(--u-blue-soft)}
.u-stv-stage .stc-frame:not(.is-portrait){width:100%}
.u-stv-stage .stc-frame.is-portrait{height:100%}
.u-stv .stc-gen{background:var(--u-blue-soft)}
.u-stv .stc-gen-bar i{background:var(--u-ink);box-shadow:none}
.u-stv .stc-gen-orb{width:84px;height:84px;border-radius:50%;background:var(--u-ink);display:grid;place-items:center;box-shadow:0 0 0 0 rgba(13,14,17,.25);animation:u-mark-ring 1.8s ease-out infinite}
.u-stv .stc-gen-orb span{display:none}
.u-stv .stc-gen-orb::before{content:"";width:28px;height:42px;background:#fff;-webkit-mask:url(/app/logo/moonya-munja.png) center/contain no-repeat;mask:url(/app/logo/moonya-munja.png) center/contain no-repeat;animation:u-mark-float 2.4s ease-in-out infinite}
.u-stv .stc-gen-msg,.u-stv .stc-gen-time b{font-family:var(--u-font);color:var(--u-ink)}
.u-stv .stc-imgerr{color:var(--u-red);font-family:var(--u-font)}
.u-stv-side{min-height:0;overflow-y:auto;background:var(--u-card);border-radius:var(--u-r-lg);padding:18px 18px 0;display:flex;flex-direction:column}
.u-stv #stcBarHost{flex:1;display:flex;flex-direction:column}
/* redosled (Nemanja 07.10): format → objavi na → tekst (naslov + Uvećaj/Regeneriši, jezičci, polje) → akcije zalepljene dole */
.u-stv .stc-imgbar{flex:1;display:flex;flex-direction:column;gap:14px;font-family:var(--u-font)}
.u-stv .stc-target-meta{order:0}.u-stv .stc-fit-choice{order:1}.u-stv .stc-fidelity-warning{order:2}
.u-stv .stc-network-picker,.u-stv .stc-network-empty{order:3;padding-top:14px;border-top:1px solid var(--u-line)}
.u-stv .stc-cap-head{order:4;padding-top:14px;border-top:1px solid var(--u-line)}
.u-stv .stc-caption-variants{order:5}.u-stv .stc-cap{order:6}.u-stv .stc-cap-meta{order:7}.u-stv .stc-title-field{order:8}.u-stv .stc-variant-reset{order:9}
.u-stv .stc-download-note{order:10}.u-stv .stc-sched{order:11}.u-stv .stc-imgst{order:12}
.u-stv .stc-acts{order:13;margin-top:auto;position:sticky;bottom:0;background:var(--u-card);padding:14px 0 18px;z-index:1}
.u-stv .stc-imgbar[hidden]{display:none}
.u-stv .stc-target-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12.5px;color:var(--u-muted);background:none;padding:0}
.u-stv .stc-target-meta b{color:var(--u-ink);font-weight:700}
.u-stv .stc-fit-choice{display:flex;align-items:center;justify-content:space-between;gap:10px;font:600 13px var(--u-font);color:var(--u-text)}
.u-stv .stc-fit-choice>div{display:flex;gap:4px;background:var(--u-white);border-radius:999px;padding:4px}
.u-stv .stc-fit-choice button{border:0;background:none;border-radius:999px;padding:7px 14px;font:600 12.5px var(--u-font);color:var(--u-text);cursor:pointer}
.u-stv .stc-fit-choice button.on{background:var(--u-ink);color:#fff}
.u-stv .stc-fidelity-warning{background:var(--u-white);border-radius:var(--u-r-sm);padding:10px 12px;font-size:13px;line-height:1.45}
.u-stv .stc-cap-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font:700 15px var(--u-font);color:var(--u-ink)}
.u-stv .stc-cap-head>span:first-child{text-transform:none;letter-spacing:0;font:700 15px var(--u-font);color:var(--u-ink)}
.u-stv .stc2-expand-cap,.u-stv .stc-regen,.u-stv .stc-variant-reset{display:inline-flex;align-items:center;gap:6px;border:0;background:var(--u-white);border-radius:999px;padding:6px 12px;font:600 12px var(--u-font);color:var(--u-ink);cursor:pointer}
.u-stv .stc-variant-reset{align-self:flex-start}
.u-stv .stc-variant-reset:disabled{opacity:.4;cursor:default}
.u-stv .stc-network-picker,.u-stv .stc-caption-variants{display:flex;flex-direction:column;gap:10px;font:600 12.5px var(--u-font);color:var(--u-muted)}
.u-stv .stc-network-picker>span{font:700 15px var(--u-font);color:var(--u-ink)}
.u-stv .stc-network-picker>div,.u-stv .stc-caption-variants>div{display:flex;flex-wrap:wrap;gap:6px}
.u-stv .stc-network-picker button{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--u-line);background:transparent;border-radius:999px;padding:5px 12px 5px 5px;font:600 12.5px var(--u-font);color:var(--u-text);cursor:pointer}
.u-stv .stc-network-picker button.on{border-color:var(--u-ink);background:var(--u-white);color:var(--u-ink)}
.u-stv .stc-network-picker button svg{width:22px;height:22px;flex:none}
.u-stv .stc-network-picker small{font:500 11px var(--u-font);color:var(--u-muted)}
.u-stv .stc-caption-variants button{border:0;background:rgba(255,255,255,.62);border-radius:999px;padding:6px 12px;font:600 12px var(--u-font);color:var(--u-text);cursor:pointer}
.u-stv .stc-caption-variants button.on{background:var(--u-ink);color:#fff}
.u-stv .stc-cap{min-height:160px;resize:vertical}
.u-stv .stc-cap-meta{display:flex;justify-content:flex-end;font-size:12px;color:var(--u-muted)}
.u-stv .stc-title-field{display:flex;flex-direction:column;gap:6px;font:600 12.5px var(--u-font);color:var(--u-muted)}
.u-stv .stc-acts{display:flex;flex-wrap:wrap;gap:8px}
.u-stv .stc-acts>:first-child{order:9;margin-left:auto}
.u-stv .stc-sched{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:var(--u-white);border-radius:var(--u-r-md);padding:12px;font:600 13px var(--u-font);color:var(--u-ink)}
.u-stv .stc-sched[hidden]{display:none}
.u-stv .stc-sched input{width:auto;flex:1;min-width:200px;background:var(--u-card)}
.u-stv .stc-sched>span{width:100%;font:500 12px var(--u-font);color:var(--u-muted)}
.u-stv .stc-download-note,.u-stv .stc-network-empty{margin:0;font-size:12.5px;line-height:1.45;color:var(--u-muted)}
.u-stv .stc-network-empty p{margin:0}.stc-empty-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.u-stv .stc-imgst{font-size:13px;color:var(--u-text)}
.u-stv .stc-imgst:empty{display:none}
/* veliki editori (prompt / caption) iz hq-studio.js */
html.ui3 .stc2-modal{position:fixed;inset:0;z-index:980;display:grid;place-items:center;padding:20px;background:rgba(13,14,17,.42)}
html.ui3 .stc2-modal[hidden]{display:none}
html.ui3 .stc2-dialog{width:min(720px,100%);max-height:calc(100dvh - 40px);display:flex;flex-direction:column;gap:14px;background:#eef0f5;border-radius:30px;box-shadow:0 30px 80px rgba(16,24,40,.3);padding:24px;font-family:var(--u-font);color:var(--u-text)}
html.ui3 .stc2-dialog-head{display:flex;justify-content:space-between;gap:16px}
html.ui3 .stc2-dialog-head h2{margin:0;font:700 22px/1.2 var(--u-font);color:var(--u-ink)}
html.ui3 .stc2-dialog-head p{margin:4px 0 0;font-size:13.5px;color:var(--u-muted)}
html.ui3 .stc2-eyebrow{display:none}
html.ui3 .stc2-dialog-close{width:40px;height:40px;border-radius:50%;border:0;background:var(--u-white);font-size:20px;color:var(--u-ink);cursor:pointer;flex:none}
html.ui3 .stc2-dialog textarea{width:100%;box-sizing:border-box;min-height:260px;border:0;border-radius:var(--u-r-md);background:var(--u-white);padding:16px;font:400 15px/1.6 var(--u-font);color:var(--u-ink);resize:vertical;outline:0}
html.ui3 .stc2-dialog-meta,html.ui3 .stc2-format-context{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;color:var(--u-muted)}
html.ui3 .stc2-dialog-actions,html.ui3 .stc2-dialog-actions-main{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
html.ui3 .stc2-dialog .stc2-soft,html.ui3 .stc2-dialog .stc2-primary{border:0;border-radius:999px;padding:12px 20px;font:600 14px var(--u-font);cursor:pointer}
html.ui3 .stc2-dialog .stc2-soft{background:var(--u-white);color:var(--u-ink)}
html.ui3 .stc2-dialog .stc2-primary{background:var(--u-ink);color:#fff}
@media (max-width:900px){
  .u-st-chat{height:max(520px,calc(100dvh - 150px));border-radius:var(--u-r-lg)}
  .u-st-tools{flex-wrap:nowrap;gap:6px}
  .u-st-fmt{min-width:0;flex:0 1 auto}
  .u-studio .u-st-select{max-width:150px}
  .u-st-tools [data-u-st-act="expand"]{display:none}
  .u-st-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .u-st-card-acts{opacity:1}
  .u-stv{height:calc(100dvh - 24px)}
  .u-stv-body{display:flex;flex-direction:column;overflow-y:auto;padding:0 14px 14px}
  .u-stv-stage{flex:none;max-height:56vh}
  .u-stv-side{flex:none;overflow:visible}
}

/* Moonya znak (munja) kao komponenta — boja = currentColor; animacije za „razmišlja / piše / pravi“ */
.u-mark{display:inline-block;width:12px;height:18px;background:currentColor;-webkit-mask:url(/app/logo/moonya-munja.png) center/contain no-repeat;mask:url(/app/logo/moonya-munja.png) center/contain no-repeat;flex:none}
.u-mark-orb{width:58px;height:58px;border-radius:50%;background:var(--u-ink);color:#fff;display:grid;place-items:center;animation:u-mark-ring 1.8s ease-out infinite}
.u-mark-orb .u-mark{width:18px;height:27px;animation:u-mark-float 2.4s ease-in-out infinite}
@keyframes u-mark-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(-6deg)}}
@keyframes u-mark-write{0%,100%{transform:translate(0,0) rotate(0)}25%{transform:translate(1px,-2px) rotate(-10deg)}75%{transform:translate(-1px,1px) rotate(6deg)}}
@keyframes u-mark-ring{0%{box-shadow:0 0 0 0 rgba(13,14,17,.22)}100%{box-shadow:0 0 0 18px rgba(13,14,17,0)}}
@media (prefers-reduced-motion:reduce){.u-mark,.u-mark-orb,.u-studio .stc-think::before,.u-stv .stc-gen-orb,.u-stv .stc-gen-orb::before,.u-st-hero-ic .u-mark{animation:none}}
/* lista izbora (u-select dugme + u-menu u u-pop) — zamena za sistemski <select> */
.u-select{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;border:0;border-radius:999px;background:transparent;padding:9px 10px;font:600 13px var(--u-font);color:var(--u-ink);cursor:pointer}
.u-select>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.u-select svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}
.u-select[aria-expanded="true"] svg{transform:rotate(180deg)}
.u-select-field{width:100%;justify-content:space-between;background:var(--u-white);border-radius:var(--u-r-md);padding:13px 16px;font-size:14.5px;font-weight:500}
.u-menu{display:flex;flex-direction:column;gap:8px}
.u-menu-q{padding:10px 14px;font-size:13.5px}
.u-menu-list{display:flex;flex-direction:column;gap:2px;max-height:min(320px,50vh);overflow-y:auto;scrollbar-width:thin;margin:0 -4px;padding:0 4px}
.u-menu-opt{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:0;background:none;border-radius:14px;padding:10px 12px;text-align:left;cursor:pointer;font-family:var(--u-font);color:var(--u-text)}
.u-menu-opt[hidden]{display:none}
.u-menu-opt:hover,.u-menu-opt:focus-visible{background:var(--u-white);outline:0}
.u-menu-opt[aria-selected="true"]{background:var(--u-white)}
.u-menu-opt b{display:block;font-size:14px;font-weight:600;color:var(--u-ink)}
.u-menu-opt small{display:block;font-size:12px;color:var(--u-muted)}
.u-selpop{padding:8px}
/* razmak natpis → polje u prozorima (Nemanja 07.10: „malo veći razmak teksta u odnosu na input“) */
.u-pop-sec>small{margin-bottom:12px}
html.ui3 .stc2-dialog-body{display:flex;flex-direction:column;gap:12px}

/* ===== Kalendar (UI3) — hq-moonya-calendar-v2.css je ugašen; logika i markup isti (hq-analytics.js crta u- dugmad kroz calC) ===== */
html.ui3 #v-calendar .moonya-cal-page{display:flex;flex-direction:column;gap:16px;max-width:none;padding:0;font-family:var(--u-font);color:var(--u-text)}
html.ui3 #v-calendar .hd-page-head-main,html.ui3 #v-calendar .moonya-cal-stats{display:none} /* naslov je u top baru; brojke = šum */
html.ui3 #v-calendar .moonya-cal-command{display:flex;justify-content:flex-end;margin:0;padding:0;border:0;background:none}
html.ui3 #v-calendar .moonya-cal-command-actions{display:flex;gap:8px;flex-wrap:wrap}
html.ui3 #v-calendar .moonya-shell,html.ui3 #v-calendar .moonya-panel{background:none;border:0;box-shadow:none;padding:0;margin:0;border-radius:0}
html.ui3 #v-calendar .moonya-cal-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}
html.ui3 #v-calendar .cal-sheet{background:var(--u-panel);border-radius:var(--u-r-xl);padding:18px}
html.ui3 #v-calendar .calhead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px;padding:0;border:0}
html.ui3 #v-calendar .moonya-cal-period{display:flex;align-items:center;gap:12px}
html.ui3 #v-calendar .moonya-cal-period .u-round{width:40px;height:40px}
html.ui3 #v-calendar .moonya-cal-period .u-round svg{width:16px;height:16px}
html.ui3 #v-calendar .moonya-cal-period b{display:block;font:700 20px/1.2 var(--u-font);letter-spacing:-.01em;color:var(--u-ink)}
html.ui3 #v-calendar .moonya-cal-period small{font:500 12.5px var(--u-font);color:var(--u-muted)}
html.ui3 #v-calendar .cal-legend{display:flex;gap:14px;flex-wrap:wrap;margin:0 0 10px;font:500 12px var(--u-font);color:var(--u-muted)}
html.ui3 #v-calendar .cal-legend span{display:inline-flex;align-items:center;gap:6px}
html.ui3 #v-calendar .cal-legend i{width:8px;height:8px;border-radius:50%}
html.ui3 #v-calendar{--moonya-cyan:var(--u-blue);--moonya-success:var(--u-green);--moonya-danger:var(--u-red)} /* legenda boji tačke inline preko ovih tokena */
html.ui3 #v-calendar .moonya-cal-grid-scroll{overflow-x:auto;scrollbar-width:thin}
html.ui3 #v-calendar .calgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
html.ui3 #v-calendar #calDow{margin-bottom:6px}
html.ui3 #v-calendar .caldow{padding:0 8px;font:600 11.5px var(--u-font);letter-spacing:.06em;text-transform:uppercase;color:var(--u-muted);background:none;border:0}
html.ui3 #v-calendar .calcell{position:relative;min-height:108px;display:flex;flex-direction:column;gap:4px;padding:8px;border:0;border-radius:var(--u-r-sm);background:var(--u-card);box-shadow:none;cursor:pointer;transition:background .15s}
html.ui3 #v-calendar .calcell:hover{background:var(--u-white)}
html.ui3 #v-calendar .calcell.other{background:transparent;cursor:default}
html.ui3 #v-calendar .caldate{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;font:600 12.5px var(--u-font);color:var(--u-text);background:none}
html.ui3 #v-calendar .calcell.today .caldate{background:var(--u-ink);color:#fff}
html.ui3 #v-calendar .calcell-week{min-height:300px}
html.ui3 #v-calendar .caldate-week{width:auto;height:auto;border-radius:0;display:block;font-weight:700;color:var(--u-ink)}
html.ui3 #v-calendar .calcell-week.today .caldate-week{background:none;color:var(--u-ink);text-decoration:underline;text-underline-offset:4px}
html.ui3 #v-calendar .cal-week-empty{font-size:12px;color:var(--u-muted)}
html.ui3 #v-calendar .calpost{display:flex;align-items:center;gap:6px;width:100%;min-width:0;border:0;border-radius:10px;background:var(--u-white);padding:4px 6px 4px 4px;text-align:left;cursor:pointer;font-family:var(--u-font);color:var(--u-ink);box-shadow:inset 3px 0 0 var(--u-blue)}
html.ui3 #v-calendar .calpost.pub{box-shadow:inset 3px 0 0 var(--u-green)}
html.ui3 #v-calendar .calpost.err{box-shadow:inset 3px 0 0 var(--u-red);background:var(--u-red-soft)}
html.ui3 #v-calendar .calpost img,html.ui3 #v-calendar .calpost-video{width:26px;height:26px;border-radius:7px;object-fit:cover;flex:none;display:grid;place-items:center;background:var(--u-card);font-size:10px;color:var(--u-muted)}
html.ui3 #v-calendar .calpost-copy{min-width:0;display:flex;flex-direction:column;color:inherit} /* inline .calpost span{color:var(--accInk)} je bio plav */
html.ui3 #v-calendar .calpost-copy b{font:600 11.5px/1.25 var(--u-font);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui3 #v-calendar .calpost-copy small{display:flex;align-items:center;gap:4px;font:500 10.5px var(--u-font);color:var(--u-muted)}
html.ui3 #v-calendar .calpost-nets{margin:0;display:inline-flex;gap:2px}
html.ui3 #v-calendar .calpost-nets svg{width:11px;height:11px}
html.ui3 #v-calendar .calpost.is-dragging{opacity:.45}
html.ui3 #v-calendar .calcell.cal-drop-target{background:var(--u-white);box-shadow:inset 0 0 0 2px var(--u-ink)}
html.ui3 #v-calendar .moonya-cal-day-add{position:absolute;top:6px;right:6px;width:26px;height:26px;border-radius:50%;border:0;background:var(--u-ink);color:#fff;font:500 16px/1 var(--u-font);cursor:pointer;opacity:0;transition:opacity .15s}
html.ui3 #v-calendar .calcell:hover .moonya-cal-day-add,html.ui3 #v-calendar .moonya-cal-day-add:focus-visible{opacity:1}
/* bočno: sledeća objava + sledeće na redu */
html.ui3 #v-calendar .moonya-cal-side{display:flex;flex-direction:column;gap:16px}
html.ui3 #v-calendar .moonya-cal-focus,html.ui3 #v-calendar .moonya-cal-upcoming{background:var(--u-panel);border-radius:var(--u-r-xl);padding:16px;color:var(--u-text)}
html.ui3 #v-calendar .moonya-cal-focus-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}
html.ui3 #v-calendar .moonya-cal-focus-head span{font:600 12px var(--u-font);color:var(--u-muted)}
html.ui3 #v-calendar .moonya-cal-focus-head h3{margin:2px 0 0;font:700 16px/1.3 var(--u-font);color:var(--u-ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html.ui3 #v-calendar .moonya-cal-focus-head time{flex:none;display:flex;flex-direction:column;align-items:flex-end;font:500 12px var(--u-font);color:var(--u-muted)}
html.ui3 #v-calendar .moonya-cal-focus-head time b{font:700 15px var(--u-font);color:var(--u-ink)}
html.ui3 #v-calendar .moonya-cal-focus-media{position:relative;aspect-ratio:4/5;border-radius:var(--u-r-md);overflow:hidden;background:var(--u-blue-soft)}
html.ui3 #v-calendar .moonya-cal-focus-media img,html.ui3 #v-calendar .moonya-cal-focus-media video{width:100%;height:100%;object-fit:cover;display:block}
html.ui3 #v-calendar .moonya-cal-media-fallback{position:absolute;inset:0;display:grid;place-items:center;font:500 13px var(--u-font);color:var(--u-muted)}
html.ui3 #v-calendar .moonya-cal-media-fallback[hidden]{display:none}
html.ui3 #v-calendar .moonya-cal-status{position:absolute;left:10px;bottom:10px;padding:5px 11px;border-radius:999px;background:var(--u-blue);color:#fff;font:600 11.5px var(--u-font)}
html.ui3 #v-calendar .moonya-cal-status.pub{background:var(--u-green)}
html.ui3 #v-calendar .moonya-cal-status.err{background:var(--u-red)}
html.ui3 #v-calendar .moonya-cal-focus-caption{margin:12px 0;font-size:13.5px;line-height:1.5;color:var(--u-text);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html.ui3 #v-calendar .moonya-cal-focus-actions{display:flex;flex-wrap:wrap;gap:8px}
html.ui3 #v-calendar .moonya-cal-focus-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 8px;text-align:center}
html.ui3 #v-calendar .moonya-cal-focus-empty>span{width:48px;height:48px;border-radius:50%;background:var(--u-white);display:grid;place-items:center;font-size:20px;color:var(--u-ink)}
html.ui3 #v-calendar .moonya-cal-focus-empty b{font:700 16px var(--u-font);color:var(--u-ink)}
html.ui3 #v-calendar .moonya-cal-focus-empty p{margin:0 0 6px;font-size:13px;line-height:1.5;color:var(--u-muted)}
html.ui3 #v-calendar .moonya-cal-side-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px}
html.ui3 #v-calendar .moonya-cal-side-head h3{margin:0;font:700 16px var(--u-font);color:var(--u-ink)}
html.ui3 #v-calendar .moonya-cal-side-head span{font:500 12px var(--u-font);color:var(--u-muted)}
html.ui3 #v-calendar #calUpcomingList{display:flex;flex-direction:column;gap:4px}
html.ui3 #v-calendar .moonya-cal-upcoming-item{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;border-radius:16px;padding:6px;text-align:left;cursor:pointer;font-family:var(--u-font)}
html.ui3 #v-calendar .moonya-cal-upcoming-item:hover{background:var(--u-white)}
html.ui3 #v-calendar .moonya-cal-upcoming-thumb{width:44px;height:44px;border-radius:12px;overflow:hidden;background:var(--u-card);display:grid;place-items:center;flex:none;font:700 13px var(--u-font);color:var(--u-ink)}
html.ui3 #v-calendar .moonya-cal-upcoming-thumb img{width:100%;height:100%;object-fit:cover}
html.ui3 #v-calendar .moonya-cal-upcoming-item b{display:block;font:600 13.5px var(--u-font);color:var(--u-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
html.ui3 #v-calendar .moonya-cal-upcoming-item small{font:500 12px var(--u-font);color:var(--u-muted)}
html.ui3 #v-calendar .moonya-cal-upcoming-empty{margin:0;font-size:13px;color:var(--u-muted)}
/* sve objave (lista) */
html.ui3 #v-calendar .moonya-cal-all{background:var(--u-panel);border:0;box-shadow:none;border-radius:var(--u-r-xl);padding:20px;margin:0}
html.ui3 #v-calendar .moonya-cal-all .hd-card-head{padding:0;margin:0 0 12px;border:0;background:none}
html.ui3 #v-calendar .moonya-cal-all h3{margin:0;font:600 20px/1.2 var(--u-font);letter-spacing:-.01em;color:var(--u-ink)}
html.ui3 #v-calendar #calListMeta{margin:4px 0 0;font-size:13px;color:var(--u-muted)}
html.ui3 #v-calendar .cal-list{display:flex;flex-direction:column;gap:6px}
html.ui3 #v-calendar .cal-row{display:flex;align-items:center;gap:12px;padding:8px;border:0;border-radius:var(--u-r-md);background:var(--u-card)}
html.ui3 #v-calendar .cal-row-media{width:56px;height:56px;flex:none;border:0;padding:0;border-radius:14px;overflow:hidden;background:var(--u-blue-soft);cursor:pointer;display:grid;place-items:center}
html.ui3 #v-calendar .cal-row-media img{width:100%;height:100%;object-fit:cover}
html.ui3 #v-calendar .cal-row-main{flex:1;min-width:0}
html.ui3 #v-calendar .cal-row-head{display:flex;align-items:center;gap:8px;font:600 13px var(--u-font);color:var(--u-ink)}
html.ui3 #v-calendar .cal-row-cap{font-size:13px;color:var(--u-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui3 #v-calendar .cal-row-actions{display:flex;gap:6px;flex:none}
html.ui3 #v-calendar .hd-tag{font:600 11.5px var(--u-font);padding:3px 10px}
html.ui3 #v-calendar .hd-page-empty{display:flex;flex-direction:column;gap:4px;padding:20px;text-align:center;font-size:13px;color:var(--u-muted)}
html.ui3 #v-calendar .hd-page-empty b{font:700 16px var(--u-font);color:var(--u-ink)}
@media (max-width:1180px){html.ui3 #v-calendar .moonya-cal-workspace{grid-template-columns:minmax(0,1fr)}html.ui3 #v-calendar .moonya-cal-side{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}html.ui3 #v-calendar .moonya-cal-focus-media{aspect-ratio:16/10}}
@media (max-width:620px){
  html.ui3 #v-calendar .cal-sheet{padding:12px;border-radius:var(--u-r-lg)}
  /* telefon (08.10): mesec = kompaktna mreža 7 kolona koja staje u ekran (bez skrivenog skrola udesno);
     objava u danu = sličica, detalji na dodir. Nedelja = dani jedan ispod drugog sa punim objavama. */
  html.ui3 #v-calendar .calgrid{gap:3px}
  html.ui3 #v-calendar .caldow{padding:0;text-align:center;font-size:10px;letter-spacing:.02em}
  html.ui3 #v-calendar .calcell{min-height:54px;padding:3px;gap:2px;align-items:center;border-radius:12px}
  html.ui3 #v-calendar .calcell:not(.calcell-week) .caldate{width:22px;height:22px;font-size:11.5px}
  html.ui3 #v-calendar .calcell:not(.calcell-week) .calpost{justify-content:center;padding:2px;border-radius:8px;box-shadow:inset 0 -2px 0 var(--u-blue)}
  html.ui3 #v-calendar .calcell:not(.calcell-week) .calpost.pub{box-shadow:inset 0 -2px 0 var(--u-green)}
  html.ui3 #v-calendar .calcell:not(.calcell-week) .calpost.err{box-shadow:inset 0 -2px 0 var(--u-red)}
  html.ui3 #v-calendar .calcell:not(.calcell-week) .calpost img,html.ui3 #v-calendar .calcell:not(.calcell-week) .calpost-video{width:22px;height:22px;border-radius:6px}
  html.ui3 #v-calendar .calcell:not(.calcell-week) .calpost-copy{display:none}
  html.ui3 #v-calendar .calgrid-week{grid-template-columns:minmax(0,1fr);gap:6px}
  html.ui3 #v-calendar .calcell-week{min-height:0;align-items:stretch;padding:10px 12px}
  html.ui3 #v-calendar .caldate-week{display:flex;gap:8px;align-items:baseline;justify-content:flex-start}
  html.ui3 #v-calendar .moonya-cal-day-add{display:none} /* telefon: dodir na dan otvara zakazivanje */
  html.ui3 #v-calendar .cal-row{flex-wrap:wrap}
  html.ui3 #v-calendar .cal-row-actions{width:100%;justify-content:flex-end}
  html.ui3 #v-calendar .moonya-cal-command .u-btn{width:100%}
}
/* prozor objave iz kalendara (#calPostModal) */
html.ui3 .cal-post-modal{background:rgba(30,34,44,.35);backdrop-filter:blur(3px)}
html.ui3 .cal-post-dialog{background:#eef0f5;border:0;border-radius:30px;box-shadow:0 30px 80px rgba(16,24,40,.3);padding:22px;font-family:var(--u-font);color:var(--u-text)}
html.ui3 .cal-post-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
html.ui3 .cal-post-kicker{font:600 12px var(--u-font);color:var(--u-muted);letter-spacing:0;text-transform:none}
html.ui3 #calPostModalTitle{margin:2px 0 0;font:700 22px/1.2 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
html.ui3 .cal-post-dialog .calnavbtn{width:40px;height:40px;border-radius:50%;border:0;background:var(--u-white);color:var(--u-ink);display:grid;place-items:center;cursor:pointer;box-shadow:none}
html.ui3 .cal-post-media{gap:10px}
html.ui3 .cal-post-media figure{margin:0;border-radius:var(--u-r-md);overflow:hidden;background:var(--u-white);border:0}
html.ui3 .cal-post-media img,html.ui3 .cal-post-media video{display:block;width:auto;max-width:100%;height:auto;margin:0 auto;background:transparent}
html.ui3 .cal-post-media figcaption{background:var(--u-card);color:var(--u-muted)}
/* 16.10 (Nikola): na koje mreže ide objava — kalendar (čip, lista) i pregled objave sa stanjem po mreži */
html.ui3 #v-calendar .u-calnets{display:flex;align-items:center;margin-top:3px;min-width:0;max-width:100%;overflow:hidden}
html.ui3 #v-calendar .u-calnets .u-net{width:15px;height:15px;box-shadow:0 0 0 1.5px var(--u-white)}
html.ui3 #v-calendar .u-calnets .u-net svg{width:8px;height:8px}
html.ui3 #v-calendar .u-calnets .u-net+.u-net{margin-left:-5px}
html.ui3 #v-calendar .u-calnets-more{margin-left:2px;font:600 9.5px var(--u-font);color:var(--u-muted)}
html.ui3 #v-calendar .cal-row-nets .u-calnets{margin-top:0}
html.ui3 #v-calendar .cal-focus-nets{margin:10px 0 0}
html.ui3 #v-calendar .cal-row-nets .u-calnets .u-net{width:20px;height:20px}
html.ui3 #v-calendar .cal-row-nets .u-calnets .u-net svg{width:10px;height:10px}
html.ui3 .cal-post-nets{display:flex;flex-direction:column;gap:8px;margin:12px 0 4px}
html.ui3 .cal-post-nets[hidden]{display:none}
html.ui3 .cal-post-nets-label{font:600 12px var(--u-font);color:var(--u-muted)}
html.ui3 .u-calnet-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
html.ui3 .u-calnet{display:flex;align-items:center;gap:8px;min-width:0;padding:5px 6px 5px 5px;border-radius:999px;background:var(--u-white)}
html.ui3 .u-calnet .u-net{width:28px;height:28px}
html.ui3 .u-calnet .u-net svg{width:14px;height:14px}
html.ui3 .u-calnet b{font:600 13px var(--u-font);color:var(--u-ink);white-space:nowrap}
html.ui3 .u-calnet .u-pill{padding:3px 9px;font-size:11px}
html.ui3 .cal-post-media-meta,html.ui3 .cal-post-msg{font-size:12.5px;color:var(--u-muted)}
html.ui3 .cal-post-caption{background:var(--u-white);border:0;border-radius:var(--u-r-md);padding:14px;font-size:14px;line-height:1.55;color:var(--u-text)}
html.ui3 .cal-post-caption-edit{display:flex;flex-direction:column;gap:10px;margin-top:12px}
html.ui3 .cal-post-caption-tabs{display:flex;flex-wrap:wrap;gap:6px}
html.ui3 .cal-post-caption-tabs button{border:0;border-radius:999px;background:rgba(255,255,255,.62);padding:6px 12px;font:600 12px var(--u-font);color:var(--u-text);cursor:pointer}
html.ui3 .cal-post-caption-tabs button.on,html.ui3 .cal-post-caption-tabs button[aria-pressed="true"]{background:var(--u-ink);color:#fff}
html.ui3 .cal-post-schedule{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;padding:14px;border:0;border-radius:var(--u-r-md);background:var(--u-white);font:600 13px var(--u-font);color:var(--u-ink)}
html.ui3 .cal-post-schedule .u-field{width:auto;flex:1;min-width:200px;background:var(--u-card)}
/* prozor „Zakaži objavu“ (#composeModal.u-cm) — stari inline izgled skida calUi3Shell */
html.ui3 #composeModal.u-cm{background:rgba(30,34,44,.35)}
html.ui3 .u-cm .cm-card{width:min(880px,100%);max-height:calc(100dvh - 36px);overflow-y:auto;background:#eef0f5;border:0;border-radius:30px;box-shadow:0 30px 80px rgba(16,24,40,.3);padding:24px;font-family:var(--u-font);color:var(--u-text)}
html.ui3 .u-cm .cm-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
html.ui3 .u-cm .cm-card>div:first-child>div:first-child{display:flex;align-items:center;gap:12px}
html.ui3 .u-cm .u-cm-mark{width:44px;height:44px;border-radius:50%;background:var(--u-ink);color:#fff;display:grid;place-items:center;flex:none}
html.ui3 .u-cm #composeModalTitle{margin:0;font:700 22px/1.2 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
html.ui3 .u-cm #cmDate{font:500 13px var(--u-font);color:var(--u-muted)}
html.ui3 .u-cm .cm-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px}
html.ui3 .u-cm .cm-left,html.ui3 .u-cm .cm-right{display:flex;flex-direction:column;gap:10px;min-width:0}
html.ui3 .u-cm .u-seg button{flex:1}
html.ui3 .u-cm .cm-preview{border:0;border-radius:var(--u-r-md);background:var(--u-blue-soft);overflow:hidden;display:grid;place-items:center;text-align:center;color:var(--u-muted);font:500 13px var(--u-font)}
html.ui3 .u-cm .fsub{font:600 12.5px var(--u-font);color:var(--u-muted);text-align:left}
html.ui3 .u-cm #cmReso b{color:var(--u-ink)}
html.ui3 .u-cm label.u-btn{cursor:pointer}
html.ui3 .u-cm .u-btn{width:100%}
html.ui3 .u-cm .cm-nets{display:flex;flex-wrap:wrap;gap:6px}
html.ui3 .u-cm .cm-net{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--u-line);border-radius:999px;background:transparent;padding:5px 12px 5px 6px;font:600 12.5px var(--u-font);color:var(--u-text);cursor:pointer}
html.ui3 .u-cm .cm-net.on{border-color:var(--u-ink);background:var(--u-white);color:var(--u-ink)}
html.ui3 .u-cm .cm-net svg{width:20px;height:20px}
html.ui3 .u-cm .cm-caption-tabs{display:flex;gap:6px;flex-wrap:wrap}
html.ui3 .u-cm .cm-caption-tabs button{border:0;border-radius:999px;background:rgba(255,255,255,.62);padding:6px 12px;font:600 12px var(--u-font);color:var(--u-text);cursor:pointer}
html.ui3 .u-cm .cm-caption-tabs button.on{background:var(--u-ink);color:#fff}
html.ui3 .u-cm .cm-caption{min-height:150px;resize:vertical}
html.ui3 .u-cm #cmMsg{font-size:13px;text-align:center}
html.ui3 .u-cm .cm-right>div:last-of-type:not(#cmMsg){font-size:12.5px;color:var(--u-muted);text-align:center}
/* 30.10 karusel od sopstvenih fotki: traka redosleda (broj = mesto u objavi) */
html.ui3 .u-cm .cm-carousel{display:flex;flex-direction:column;gap:8px}
html.ui3 .u-cm .cm-carousel[hidden]{display:none}
html.ui3 .u-cm .cm-carousel-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font:600 13px var(--u-font);color:var(--u-ink)}
html.ui3 .u-cm .cm-carousel-head span{font:500 12px var(--u-font);color:var(--u-muted)}
html.ui3 .u-cm .cm-carousel-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:8px}
html.ui3 .u-cm .cm-carousel-list li{position:relative;border-radius:var(--u-r-sm);overflow:hidden;background:var(--u-white);aspect-ratio:4/5}
html.ui3 .u-cm .cm-carousel-list img{width:100%;height:100%;object-fit:cover;display:block}
html.ui3 .u-cm .cm-carousel-list b{position:absolute;top:6px;left:6px;min-width:20px;height:20px;border-radius:999px;background:var(--u-ink);color:#fff;display:grid;place-items:center;font:700 11px var(--u-font)}
html.ui3 .u-cm .cm-carousel-tools{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:center;gap:4px;padding:4px;background:rgba(255,255,255,.86)}
html.ui3 .u-cm .cm-carousel-tools .u-round{width:24px;height:24px}
html.ui3 .u-cm .cm-carousel-tools .u-round svg{width:13px;height:13px}
html.ui3 .u-cm .cm-carousel .fsub{font-weight:500}
html.ui3 .u-cm .cm-carousel-add{background:transparent;border:1px dashed var(--u-line)}
html.ui3 .u-cm .cm-carousel-add button{width:100%;height:100%;border:0;background:transparent;color:var(--u-muted);display:grid;place-items:center;cursor:pointer}
html.ui3 .u-cm .cm-carousel-add svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8}
html.ui3 .u-cm .cm-carousel-tools svg{stroke:currentColor;fill:none;stroke-width:2}
@media (max-width:760px){html.ui3 .u-cm .cm-grid{grid-template-columns:minmax(0,1fr)}html.ui3 .u-cm .cm-card{padding:18px;border-radius:var(--u-r-lg)}}

/* ===== Galerija (UI3) — hq-moonya-gallery-v2.css je ugašen; hq-gallery.js crta u- dugmad kroz vgC (picker ostaje star) ===== */
html.ui3 #v-gallery .vg2-page{display:flex;flex-direction:column;gap:14px;max-width:none;padding:0;font-family:var(--u-font);color:var(--u-text)}
html.ui3 #v-gallery .vg2-command-copy,html.ui3 #v-gallery .vg2-summary{display:none} /* naslov je u top baru; brojke = šum */
html.ui3 #v-gallery .vg2-command{display:flex;justify-content:flex-end;margin:0}
html.ui3 #v-gallery .vg2-actions{display:flex;gap:8px;flex-wrap:wrap}
html.ui3 #v-gallery .vg2-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0;padding:0;border:0;background:none;box-shadow:none}
html.ui3 #v-gallery .vg-categories,html.ui3 #v-gallery .vg-type-filter{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0}
html.ui3 #v-gallery .vg-cat-wrap{display:inline-flex;align-items:center;gap:2px}
html.ui3 #v-gallery .vg-cat,html.ui3 #v-gallery .vg-type{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:999px;background:rgba(255,255,255,.62);padding:8px 14px;font:600 13px var(--u-font);color:var(--u-text);cursor:pointer;box-shadow:none}
html.ui3 #v-gallery .vg-cat small,html.ui3 #v-gallery .vg-type small{font:600 11.5px var(--u-font);color:var(--u-muted)}
html.ui3 #v-gallery .vg-cat.on,html.ui3 #v-gallery .vg-type.on{background:var(--u-ink);color:#fff}
html.ui3 #v-gallery .vg-cat.on small,html.ui3 #v-gallery .vg-type.on small{color:var(--u-on-sub)}
html.ui3 #v-gallery .vg-cat-del{width:26px;height:26px;margin:0;border:0;border-radius:50%;background:transparent;color:var(--u-muted);font-size:15px;cursor:pointer}
html.ui3 #v-gallery .vg-cat-del:hover{background:var(--u-white);color:var(--u-red)}
html.ui3 #v-gallery .vg-newcat{display:flex;gap:6px;align-items:center}
html.ui3 #v-gallery .vg-newcat .u-field{width:200px;padding:9px 14px;font-size:13.5px;border-radius:999px}
html.ui3 #v-gallery .vg-status:empty{display:none}
html.ui3 #v-gallery .vg-status{margin:0;font-size:13px;color:var(--u-muted)}
html.ui3 #v-gallery .vg2-shell{margin:0}
html.ui3 #v-gallery .vg2-panel{background:var(--u-panel);border:0;box-shadow:none;border-radius:var(--u-r-xl);padding:20px}
html.ui3 #v-gallery .vg2-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
html.ui3 #v-gallery .vg2-panel-head h3{margin:0;font:600 20px/1.2 var(--u-font);letter-spacing:-.01em;color:var(--u-ink)}
html.ui3 #v-gallery .vg2-panel-head p{margin:4px 0 0;font-size:13.5px;color:var(--u-muted)}
html.ui3 #v-gallery #vgShownCount{flex:none;padding:5px 11px;border-radius:999px;background:var(--u-white);font:600 12px var(--u-font);color:var(--u-ink);letter-spacing:0;text-transform:none}
html.ui3 #v-gallery .vg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;align-items:start}
html.ui3 :is(#v-gallery,#vgPicker) .vg-card{display:flex;flex-direction:column;gap:8px;min-width:0;background:var(--u-card);border:0;border-radius:var(--u-r-md);padding:8px;box-shadow:none}
html.ui3 :is(#v-gallery,#vgPicker) .vg-card.is-dirty{box-shadow:inset 0 0 0 2px var(--u-ink)}
html.ui3 :is(#v-gallery,#vgPicker) .vg-image{display:block;width:100%;aspect-ratio:1;border:0;padding:0;border-radius:16px;overflow:hidden;background:var(--u-blue-soft);cursor:zoom-in}
html.ui3 :is(#v-gallery,#vgPicker) .vg-image :is(img,video),html.ui3 :is(#v-gallery,#vgPicker) video.vg-image{width:100%;height:100%;object-fit:cover;display:block}
html.ui3 :is(#v-gallery,#vgPicker) .vg-card-body{display:flex;flex-direction:column;gap:8px;padding:0 4px 4px;min-width:0}
html.ui3 #v-gallery .vg2-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
html.ui3 #v-gallery .vg2-card-title>div{min-width:0}
html.ui3 #v-gallery .vg2-card-title b{display:block;font:600 13.5px/1.3 var(--u-font);color:var(--u-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui3 #v-gallery .vg2-cat-label{font:500 12px var(--u-font);color:var(--u-muted);background:none;padding:0}
html.ui3 #v-gallery .vg2-ready{width:9px;height:9px;border-radius:50%;background:var(--u-green);flex:none;margin-top:5px}
html.ui3 #v-gallery .vg2-ready.is-missing{background:var(--u-amber)}
html.ui3 :is(#v-gallery,#vgPicker) .vg-description-field{display:block;margin:0}
html.ui3 :is(#v-gallery,#vgPicker) .vg-description-field>span,html.ui3 :is(#v-gallery,#vgPicker) .vg-description-field>small{display:none} /* polje samo kaže šta treba (placeholder) */
html.ui3 :is(#v-gallery,#vgPicker) .vg-description-field .u-field{min-height:64px;resize:none;padding:10px 12px;font-size:13px;line-height:1.45;border-radius:var(--u-r-sm)}
html.ui3 :is(#v-gallery,#vgPicker) .vg-card-actions{display:flex;align-items:center;gap:6px}
html.ui3 #v-gallery .vg2-trash{width:34px;height:34px;margin-left:auto;background:var(--u-white);color:var(--u-muted)}
html.ui3 #v-gallery .vg2-trash:hover{color:var(--u-red)}
html.ui3 #v-gallery .vg2-trash svg{width:15px;height:15px}
html.ui3 #v-gallery .vg-empty{grid-column:1/-1;padding:40px 20px;text-align:center;border-radius:var(--u-r-lg);background:var(--u-card);font-size:14px;color:var(--u-muted)}
.u-select-chip{background:var(--u-white);padding:7px 12px;font-size:12.5px;max-width:160px}
@media (max-width:640px){html.ui3 #v-gallery .vg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html.ui3 #v-gallery .vg2-panel{padding:12px;border-radius:var(--u-r-lg)}html.ui3 #v-gallery .vg-newcat{width:100%}html.ui3 #v-gallery .vg-newcat .u-field{flex:1;width:auto}html.ui3 #v-gallery .vg2-actions{width:100%}html.ui3 #v-gallery .vg2-actions>*{flex:1}}
/* veliki pregled fotografije (#vg2Viewer) */
html.ui3 .vg2-viewer{position:fixed;inset:0;z-index:950;display:grid;place-items:center;padding:20px;background:rgba(30,34,44,.35);backdrop-filter:blur(3px)}
html.ui3 .vg2-viewer[hidden]{display:none}
html.ui3 .vg2-viewer-dialog{width:min(1040px,100%);max-height:calc(100dvh - 40px);display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:16px;padding:16px;background:#eef0f5;border-radius:30px;box-shadow:0 30px 80px rgba(16,24,40,.3);font-family:var(--u-font);color:var(--u-text);overflow:hidden;animation:u-pop .2s ease}
html.ui3 .vg2-viewer-stage{min-height:0;border-radius:var(--u-r-lg);background:var(--u-panel);display:grid;place-items:center;overflow:hidden}
html.ui3 .vg2-viewer-stage :is(img,video){max-width:100%;max-height:calc(100dvh - 72px);object-fit:contain;display:block}
html.ui3 .vg2-viewer-info{position:relative;display:flex;flex-direction:column;gap:10px;padding:12px 8px 8px;min-width:0;overflow-y:auto}
html.ui3 .vg2-viewer-close{position:absolute;top:4px;right:4px;width:44px;height:44px;border:0;border-radius:50%;background:var(--u-white);color:var(--u-ink);font-size:22px;cursor:pointer}
html.ui3 .vg2-viewer-eyebrow{margin:0;font:600 12px var(--u-font);color:var(--u-muted);letter-spacing:0;text-transform:none}
html.ui3 #vg2ViewerTitle{margin:0 52px 0 0;font:700 22px/1.25 var(--u-font);letter-spacing:-.02em;color:var(--u-ink);overflow-wrap:anywhere}
html.ui3 #vg2ViewerDescription{margin:0;font-size:14px;line-height:1.55;color:var(--u-text)}
html.ui3 .vg2-viewer-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html.ui3 .vg2-viewer-meta>div{background:var(--u-white);border-radius:var(--u-r-sm);padding:10px 12px}
html.ui3 .vg2-viewer-meta span{display:block;font:500 12px var(--u-font);color:var(--u-muted)}
html.ui3 .vg2-viewer-meta b{font:600 14px var(--u-font);color:var(--u-ink)}
html.ui3 .vg2-viewer-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}
@media (max-width:760px){html.ui3 .vg2-viewer{padding:0}html.ui3 .vg2-viewer-dialog{grid-template-columns:minmax(0,1fr);height:100dvh;max-height:none;border-radius:0;overflow-y:auto}html.ui3 .vg2-viewer-stage :is(img,video){max-height:60vh}}
/* otpremanje (#vg2UploadProgress) */
html.ui3 .vg2-upload-backdrop{position:fixed;inset:0;z-index:960;display:grid;place-items:center;padding:20px;background:rgba(30,34,44,.35);backdrop-filter:blur(3px)}
html.ui3 .vg2-upload-backdrop[hidden]{display:none}
html.ui3 .vg2-upload-dialog{width:min(420px,100%);display:flex;flex-direction:column;align-items:center;gap:8px;padding:26px;text-align:center;background:#eef0f5;border-radius:30px;box-shadow:0 30px 80px rgba(16,24,40,.3);font-family:var(--u-font);color:var(--u-text);outline:0}
html.ui3 .vg2-upload-mark{position:relative;width:64px;height:64px;border-radius:50%;background:var(--u-ink);display:grid;place-items:center;margin-bottom:6px;animation:u-mark-ring 1.8s ease-out infinite}
html.ui3 .vg2-upload-mark img{display:none}
html.ui3 .vg2-upload-mark::before{content:"";width:20px;height:30px;background:#fff;-webkit-mask:url(/app/logo/moonya-munja.png) center/contain no-repeat;mask:url(/app/logo/moonya-munja.png) center/contain no-repeat}
html.ui3 .vg2-upload-orbit{display:none}
html.ui3 .vg2-upload-eyebrow{margin:0;font:600 12px var(--u-font);color:var(--u-muted);letter-spacing:0;text-transform:none}
html.ui3 #vg2UploadTitle{margin:0;font:700 20px/1.25 var(--u-font);color:var(--u-ink)}
html.ui3 .vg2-upload-stage,html.ui3 .vg2-upload-note{margin:0;font-size:13.5px;line-height:1.5;color:var(--u-muted)}
html.ui3 .vg2-upload-progress-meta{display:flex;justify-content:space-between;width:100%;font:600 12px var(--u-font);color:var(--u-ink)}
html.ui3 .vg2-upload-track{width:100%;height:6px;border-radius:999px;background:var(--u-white);overflow:hidden}
html.ui3 .vg2-upload-track span{display:block;height:100%;background:var(--u-ink);border-radius:inherit;transition:width .3s}
html.ui3 .vg2-upload-close{margin-top:8px;min-height:44px}
html.ui3 .vg2-upload-backdrop[data-phase="error"] #vg2UploadTitle,html.ui3 .vg2-upload-backdrop[data-phase="refresh_error"] #vg2UploadTitle{color:var(--u-red)}
@media (max-width:470px){html.ui3 .vg2-upload-backdrop{align-items:end;padding:8px}html.ui3 .vg2-upload-dialog{border-radius:26px}}
@media (prefers-reduced-motion:reduce){html.ui3 .vg2-upload-mark{animation:none}}
/* 30.10 drag & drop (Galerija, birač Galerije, Zakaži objavu): u- komponenta, overlay ne hvata pokazivač (zona ostaje cilj) */
.u-drop-host{position:relative}
.u-drop-overlay{position:absolute;inset:0;z-index:30;pointer-events:none;padding:14px;border-radius:var(--u-r-lg,18px);border:2px dashed var(--u-ink,#1e222c);background:rgba(238,240,245,.86);backdrop-filter:blur(2px)}
.u-drop-overlay[hidden]{display:none}
.u-drop-card{position:sticky;top:calc(50vh - 70px);margin:min(120px,20%) auto 0;max-width:360px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:20px 22px;text-align:center;background:var(--u-white,#fff);border-radius:var(--u-r-lg,18px);box-shadow:0 18px 50px rgba(16,24,40,.18);font-family:var(--u-font,inherit);color:var(--u-muted,#5b6170)}
.u-drop-card svg{color:var(--u-ink,#1e222c)}
.u-drop-card b{font:700 17px/1.25 var(--u-font,inherit);color:var(--u-ink,#1e222c)}
.u-drop-card span{font-size:13px;line-height:1.45}

/* Galerija — jedna traka filtera (07.10 kasno) */
html.ui3 #v-gallery .vg2-panel-head{align-items:center;margin-bottom:12px}
html.ui3 #v-gallery .vg2-panel-head p,html.ui3 #v-gallery .vg2-cat-label{display:none}
html.ui3 #v-gallery .vg2-panel-head>div{display:flex;align-items:baseline;gap:10px}
html.ui3 #v-gallery #vgShownCount{order:1}
html.ui3 #v-gallery .vg-type-filter{background:var(--u-white);border-radius:999px;padding:4px;gap:2px}
html.ui3 #v-gallery .vg-type{background:transparent;padding:7px 14px}
html.ui3 #v-gallery .vg-filterbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--u-line)}
html.ui3 #v-gallery .vg-newcat{flex:none;display:flex;align-items:center;gap:4px;background:var(--u-white);border-radius:999px;padding:4px 4px 4px 0}
html.ui3 #v-gallery .vg-newcat .u-field{width:170px;background:transparent;padding:7px 14px;border-radius:999px;font-size:13px}
html.ui3 #v-gallery .vg-newcat .u-field:focus{box-shadow:none}
html.ui3 #v-gallery .vg-newcat-add{width:32px;height:32px;background:var(--u-ink);color:#fff}
html.ui3 #v-gallery .vg-newcat-add svg{width:15px;height:15px;stroke:#fff;stroke-width:2}
html.ui3 #v-gallery #gallerySaveAll:disabled{display:none} /* pojavi se tek kad ima izmena */
html.ui3 #v-gallery .vg2-card-title b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:640px){html.ui3 #v-gallery .vg2-panel-head{flex-wrap:wrap}html.ui3 #v-gallery .vg-newcat{width:100%}html.ui3 #v-gallery .vg-newcat .u-field{flex:1}}
/* vremenska zona (u-tz) — stari plavi stil važi samo u klasičnom izgledu */
html.ui3 .vp-timezone-context{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-width:0;padding:4px 4px 4px 14px;border:0;border-radius:999px;background:var(--u-white);font:500 12.5px/1.35 var(--u-font);color:var(--u-muted)}
html.ui3 .vp-timezone-context:empty{display:none}
html.ui3 .vp-timezone-context.is-warning{background:#fbf3e3;color:#7a5a1c}
html.ui3 .vp-timezone-copy{min-width:0;overflow-wrap:anywhere}
html.ui3 .vp-timezone-action{flex:none;min-height:30px;padding:0 14px;border:0;border-radius:999px;background:var(--u-ink);color:#fff;font:600 12px/1 var(--u-font);cursor:pointer}
html.ui3 .vp-timezone-action:hover{background:#25272d}
@media(max-width:620px){html.ui3 .vp-timezone-context{width:100%;justify-content:space-between}}
/* prozor Zakaži objavu — vazduh levo (07.10 kasno) */
html.ui3 .u-cm .cm-left{gap:14px}
html.ui3 .u-cm #cmImageOptions,html.ui3 .u-cm #cmVideoOptions{display:flex;flex-direction:column;gap:10px}
html.ui3 .u-cm #cmImageOptions[hidden],html.ui3 .u-cm #cmVideoOptions[hidden]{display:none}
html.ui3 .u-cm #cmReso,html.ui3 .u-cm #cmVideoNote{padding-left:6px}
html.ui3 .u-cm .cm-left .u-btn+.u-btn{margin-top:-4px}
html.ui3 .u-round svg{display:block}

/* kartica objave dok se njen video renderuje (07.10) */
html.ui3 #createRoot .cr-thumb{position:relative}
.u-rendering{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px;text-align:center;background:var(--u-card);border-radius:inherit;z-index:2;font-family:var(--u-font)}
.u-rendering b{font:700 15px var(--u-font);color:var(--u-ink)}
.u-rendering small{font:500 12px/1.4 var(--u-font);color:var(--u-muted);max-width:24ch}

html.ui3 #crWizard .awz-linkbtn{border:0;background:none;padding:0;margin-left:4px;font:700 13.5px var(--u-font);color:var(--u-ink);text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* ===== DM automatizacija (UI3, 07.10) — hq-moonya-dm-v2.css ugašen (data-ui-classic), stara #v-dm pravila u hq.css/ui.css
   važe samo za :where(html:not(.ui3)); IG maketa telefona (igx/phone) ostaje kao pravi Instagram. ===== */
html.ui3 #v-dm .dmv2-page{display:flex;flex-direction:column;gap:16px;max-width:none;padding:0;font-family:var(--u-font);color:var(--u-text)}
html.ui3 #v-dm .dmv2-page[hidden]{display:none}
html.ui3 #v-dm .dmv2-command-copy,html.ui3 #v-dm .dmv2-hero-grid>.dmv2-shell:first-child,html.ui3 #v-dm #dmFlowState{display:none} /* naslov u top baru; hero dupliran sa listom */
html.ui3 #v-dm .dmv2-command{display:flex;justify-content:flex-end;margin:0}
html.ui3 #v-dm .dmv2-actions{display:flex;gap:8px;flex-wrap:wrap}
html.ui3 #v-dm .dmv2-shell{background:none;border:0;box-shadow:none;padding:0;margin:0;border-radius:0}
html.ui3 #v-dm .dmv2-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;background:var(--u-white);color:var(--u-ink);padding:12px 20px;font:600 14px var(--u-font);cursor:pointer;white-space:nowrap}
html.ui3 #v-dm .dmv2-btn svg{width:16px;height:16px}
html.ui3 #v-dm .dmv2-btn.primary{background:var(--u-ink);color:#fff}
html.ui3 #v-dm .dmv2-btn.sm{padding:8px 14px;font-size:13px}
html.ui3 #v-dm .dmv2-btn.danger{width:36px;height:36px;padding:0;color:var(--u-muted)}
html.ui3 #v-dm .dmv2-btn.danger:hover{color:var(--u-red)}
.u-dm-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 16px 14px 20px;border-radius:var(--u-r-lg);background:#fbf3e3;font-family:var(--u-font)}
.u-dm-banner b{display:block;font:700 15px var(--u-font);color:var(--u-ink)}
.u-dm-banner span{font-size:13px;line-height:1.45;color:#7a5a1c}
/* stanje: jedna tanka traka */
html.ui3 #v-dm .dmv2-hero-grid{display:block}
html.ui3 #v-dm .dmv2-health{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:0;background:none;border:0;box-shadow:none}
html.ui3 #v-dm .dmv2-health .dmv2-mono,html.ui3 #v-dm .dmv2-health-main{display:none}
html.ui3 #v-dm .dmv2-health-cells{display:flex;gap:8px}
html.ui3 #v-dm .dmv2-health-cells>div{display:inline-flex;align-items:baseline;gap:6px;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.62)}
html.ui3 #v-dm .dmv2-health-cells b{font:700 15px var(--u-font);color:var(--u-ink);font-variant-numeric:tabular-nums}
html.ui3 #v-dm .dmv2-health-cells span{font:500 12.5px var(--u-font);color:var(--u-muted)}
html.ui3 #v-dm .dmv2-health-foot{display:inline-flex;align-items:center;gap:8px;margin-left:auto;font:500 12.5px var(--u-font);color:var(--u-muted)}
html.ui3 #v-dm .dmv2-health-foot i{width:8px;height:8px;border-radius:50%;background:var(--u-green)}
html.ui3 #v-dm .dmv2-health-foot.is-off i,html.ui3 #v-dm .dmv2-health-foot.is-warn i{background:var(--u-amber)}
/* lista */
html.ui3 #v-dm .dmv2-card{background:var(--u-panel);border:0;box-shadow:none;border-radius:var(--u-r-xl);padding:20px}
html.ui3 #v-dm .dmv2-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;padding:0;border:0}
html.ui3 #v-dm .dmv2-card-head h3{margin:0;font:600 20px/1.2 var(--u-font);letter-spacing:-.01em;color:var(--u-ink)}
html.ui3 #v-dm .dmv2-card-head p{margin:4px 0 0;font-size:13.5px;color:var(--u-muted)}
html.ui3 #v-dm .dmv2-card-head-actions{display:flex;align-items:center;gap:10px}
html.ui3 #v-dm .dmv2-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
html.ui3 #v-dm .dmv2-toolbar[hidden]{display:none}
html.ui3 #v-dm .dmv2-tabs{display:flex;gap:4px;background:var(--u-white);border-radius:999px;padding:4px}
html.ui3 #v-dm .dmv2-tabs button{display:inline-flex;align-items:center;gap:6px;border:0;background:none;border-radius:999px;padding:7px 14px;font:600 13px var(--u-font);color:var(--u-text);cursor:pointer}
html.ui3 #v-dm .dmv2-tabs button b{font:600 11.5px var(--u-font);color:var(--u-muted)}
html.ui3 #v-dm .dmv2-tabs button.on{background:var(--u-ink);color:#fff}
html.ui3 #v-dm .dmv2-tabs button.on b{color:var(--u-on-sub)}
html.ui3 #v-dm .dmv2-filters{display:flex;gap:8px;align-items:center}
html.ui3 #v-dm .dmv2-search{width:240px;border:0;border-radius:999px;background:var(--u-white);padding:10px 16px;font:500 13.5px var(--u-font);color:var(--u-ink);outline:0}
html.ui3 #v-dm .dmv2-list{display:flex;flex-direction:column;gap:8px}
html.ui3 #v-dm .dmv2-row{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr)) auto;align-items:center;gap:14px;padding:14px 16px;border:0;border-radius:var(--u-r-md);background:var(--u-card);box-shadow:none}
html.ui3 #v-dm .dmv2-row.is-off{opacity:.7}
html.ui3 #v-dm .dmv2-row-main{display:flex;align-items:center;gap:12px;min-width:0}
html.ui3 #v-dm .dmv2-row-icon{width:40px;height:40px;border-radius:50%;background:var(--u-ink);color:#fff;display:grid;place-items:center;flex:none}
html.ui3 #v-dm .dmv2-row-icon svg{width:18px;height:18px}
html.ui3 #v-dm .dmv2-row-copy{min-width:0}
html.ui3 #v-dm .dmv2-row-title{display:flex;align-items:center;gap:8px;min-width:0}
html.ui3 #v-dm .dmv2-row-title b{font:700 15px var(--u-font);color:var(--u-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui3 #v-dm .dmv2-badge{flex:none;padding:3px 10px;border-radius:999px;background:var(--u-green);color:#fff;font:600 11px var(--u-font)}
html.ui3 #v-dm .dmv2-badge.is-off{background:#a3a8b3}
html.ui3 #v-dm .dmv2-row-copy p{margin:3px 0 0;font-size:12.5px;color:var(--u-muted)}
html.ui3 #v-dm .dmv2-row-copy p b{color:var(--u-ink)}
html.ui3 #v-dm .dmv2-kw{display:none}
html.ui3 #v-dm .dmv2-data{display:flex;flex-direction:column;gap:2px;min-width:0}
html.ui3 #v-dm .dmv2-data span{font:500 11.5px var(--u-font);color:var(--u-muted)}
html.ui3 #v-dm .dmv2-data b{font:600 13px/1.35 var(--u-font);color:var(--u-ink);overflow:hidden;text-overflow:ellipsis}
html.ui3 #v-dm .dmv2-row-actions{display:flex;align-items:center;gap:6px}
html.ui3 #v-dm .dmv2-empty,html.ui3 #v-dm .vp-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:36px 20px;text-align:center;border:0;border-radius:var(--u-r-lg);background:var(--u-card);font-family:var(--u-font)}
html.ui3 #v-dm .vp-empty .vp-ic{width:56px;height:56px;border-radius:50%;background:var(--u-white);display:grid;place-items:center;color:var(--u-ink)}
html.ui3 #v-dm .vp-empty b{font:700 17px var(--u-font);color:var(--u-ink)}
html.ui3 #v-dm .vp-empty span{max-width:52ch;font-size:13.5px;line-height:1.5;color:var(--u-muted)}
html.ui3 #v-dm .vp-empty .btn{border:0;border-radius:999px;background:var(--u-ink);color:#fff;padding:12px 20px;font:600 14px var(--u-font);margin-top:6px;box-shadow:none}
html.ui3 #v-dm .dmv2-empty-filter{padding:20px;text-align:center;font-size:13.5px;color:var(--u-muted)}
/* prekidač (sw2) = u-switch izgled */
html.ui3 #v-dm .sw2{position:relative;display:inline-block;width:44px;height:26px;flex:none;cursor:pointer}
html.ui3 #v-dm .sw2 input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer;z-index:1}
html.ui3 #v-dm .sw2 .tr{position:absolute;inset:0;border-radius:999px;background:var(--u-line);transition:background .2s}
html.ui3 #v-dm .sw2 .kb{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(13,14,17,.2);transition:transform .2s}
html.ui3 #v-dm .sw2 input:checked~.tr{background:var(--u-ink)}
html.ui3 #v-dm .sw2 input:checked~.kb{transform:translateX(18px)}
html.ui3 #v-dm .sw2 input:disabled{cursor:not-allowed}
html.ui3 #v-dm .sw2 input:disabled~.tr{opacity:.45}
/* donji deo: kontakti + rezultat */
html.ui3 #v-dm .dmv2-lower{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px;align-items:start}
html.ui3 #v-dm .dmv2-table-wrap{overflow-x:auto}
html.ui3 #v-dm .dmv2-table{width:100%;border-collapse:collapse;font:500 13px var(--u-font)}
html.ui3 #v-dm .dmv2-table th{padding:8px 10px;text-align:left;font:600 11.5px var(--u-font);color:var(--u-muted);border-bottom:1px solid var(--u-line);background:none}
html.ui3 #v-dm .dmv2-table td{padding:10px;border-bottom:1px solid var(--u-line);color:var(--u-text)}
html.ui3 #v-dm .dmv2-table tr:last-child td{border-bottom:0}
html.ui3 #v-dm .dmv2-funnel{display:flex;flex-direction:column;gap:12px}
html.ui3 #v-dm .dmv2-funnel-row{display:flex;flex-direction:column;gap:6px;font:500 13px var(--u-font);color:var(--u-text)}
html.ui3 #v-dm .dmv2-funnel-row b{color:var(--u-ink)}
html.ui3 #v-dm .dmv2-bar{height:6px;border-radius:999px;background:var(--u-white);overflow:hidden}
html.ui3 #v-dm .dmv2-bar i{display:block;height:100%;border-radius:inherit;background:var(--u-ink)}
/* ===== kreiranje (builder) ===== */
html.ui3 #v-dm .dmv2-builder-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:0;border:0}
html.ui3 #v-dm .dmv2-builder-copy{display:flex;align-items:center;gap:14px;min-width:0}


html.ui3 #v-dm .dmv2-builder-copy .dmv2-eyebrow{display:none}
html.ui3 #v-dm .dmv2-builder-title{margin:0;font:700 24px/1.2 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
html.ui3 #v-dm .dmv2-save-state{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:var(--u-white);font:500 12.5px var(--u-font);color:var(--u-muted)}
html.ui3 #v-dm .dmv2-save-state i{width:7px;height:7px;border-radius:50%;background:var(--u-amber)}
html.ui3 #v-dm .dm-sheet{background:var(--u-panel);border:0;box-shadow:none;border-radius:var(--u-r-xl);padding:18px}
html.ui3 #v-dm .dmv2-flow{display:flex;gap:6px;margin:0 0 16px;padding:0;border:0;overflow-x:auto;scrollbar-width:none}
html.ui3 #v-dm .dmv2-flow-tab{display:flex;align-items:center;gap:10px;flex:1;min-width:150px;border:0;border-radius:var(--u-r-md);background:rgba(255,255,255,.55);padding:10px 12px;text-align:left;cursor:pointer;font-family:var(--u-font);color:var(--u-muted)}
html.ui3 #v-dm .dmv2-flow-tab i{width:30px;height:30px;border-radius:50%;background:var(--u-white);display:grid;place-items:center;flex:none;font:700 12px var(--u-font);font-style:normal;color:var(--u-muted)}
html.ui3 #v-dm .dmv2-flow-tab b{display:block;font:700 13.5px var(--u-font);color:var(--u-text)}
html.ui3 #v-dm .dmv2-flow-tab small{display:block;font:500 11.5px var(--u-font);color:var(--u-muted)}
html.ui3 #v-dm .dmv2-flow-tab.on{background:var(--u-ink)}
html.ui3 #v-dm .dmv2-flow-tab.on i{background:#fff;color:var(--u-ink)}
html.ui3 #v-dm .dmv2-flow-tab.on b{color:#fff}
html.ui3 #v-dm .dmv2-flow-tab.on small{color:var(--u-on-sub)}
html.ui3 #v-dm .dmv2-flow-tab.done i{background:var(--u-green);color:#fff}
html.ui3 #v-dm .dm-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}
html.ui3 #v-dm .dm-form-col{display:flex;flex-direction:column;gap:12px;min-width:0}
html.ui3 #v-dm .dm-form-section{background:var(--u-card);border:0;box-shadow:none;border-radius:var(--u-r-lg);padding:18px;margin:0}
html.ui3 #v-dm .dm-form-section-title{margin:0 0 4px;font:700 17px/1.3 var(--u-font);color:var(--u-ink)}
html.ui3 #v-dm .dm-form-section-desc{margin:0 0 14px;font-size:13px;line-height:1.5;color:var(--u-muted)}
html.ui3 #v-dm .dm-toggle-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
html.ui3 #v-dm .dm-toggle-row .dm-form-section-desc{margin:4px 0 0}
html.ui3 #v-dm .u-dmcard{background:none;border:0;box-shadow:none;padding:0;margin:0}
html.ui3 #v-dm .u-dmcard+.u-dmcard{margin-top:16px;padding-top:16px;border-top:1px solid var(--u-line)}
html.ui3 #v-dm .u-dmcard.dim{opacity:.5}
html.ui3 #v-dm .ftitle{font:700 14.5px var(--u-font);color:var(--u-ink)}
html.ui3 #v-dm .fsub,html.ui3 #v-dm .dmv2-lab{display:block;margin:0 0 8px;font:600 12.5px var(--u-font);color:var(--u-muted);letter-spacing:0;text-transform:none}
html.ui3 #v-dm .dm-form-col .u-field{width:100%;box-sizing:border-box;border:0;border-radius:var(--u-r-sm);background:var(--u-white);padding:12px 14px;font:500 14px/1.5 var(--u-font);color:var(--u-ink);outline:0;box-shadow:none;min-height:0}
html.ui3 #v-dm .dm-form-col textarea.u-field{min-height:92px;resize:vertical;margin:0 0 10px}
html.ui3 #v-dm .dm-form-col .u-field:focus{box-shadow:0 0 0 2px var(--u-ink)}

html.ui3 #v-dm .dm-kw-input{text-transform:uppercase;font-weight:700}
html.ui3 #v-dm .pin{display:flex;align-items:center;gap:10px;margin:0 0 4px}
html.ui3 #v-dm .pin>span{flex:none;font:600 12.5px var(--u-font);color:var(--u-muted);min-width:80px}
html.ui3 #v-dm .pin input{max-width:260px}
html.ui3 #v-dm .dm-trig-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
html.ui3 #v-dm .dm-network-scope{margin-top:14px}
html.ui3 #v-dm .post-picker-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
html.ui3 #v-dm .post-picker-head .fsub{margin:0}
html.ui3 #v-dm .post-refresh{border:0;border-radius:999px;background:var(--u-white);padding:6px 12px;font:600 12px var(--u-font);color:var(--u-ink);cursor:pointer}
html.ui3 #v-dm .dm-network-list{display:flex;flex-wrap:wrap;gap:8px}
html.ui3 #v-dm .dm-network-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--u-line);border-radius:999px;background:transparent;padding:5px 14px 5px 5px;font:600 13px var(--u-font);color:var(--u-text);cursor:pointer}
html.ui3 #v-dm .dm-network-chip.is-on{border-color:var(--u-ink);background:var(--u-white);color:var(--u-ink)}
html.ui3 #v-dm .dm-network-chip.is-missing{opacity:.55}
html.ui3 #v-dm .dm-network-chip .msn-ic{width:28px;height:28px;border-radius:50%}
html.ui3 #v-dm .dm-network-note{margin:8px 0 0;font-size:12.5px;line-height:1.45;color:var(--u-muted)}
html.ui3 #v-dm .post-picker{margin-top:14px}
html.ui3 #v-dm .post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:12px 10px}
html.ui3 #v-dm .post-cell{display:flex;flex-direction:column;gap:6px;min-width:0;border:0;background:none;padding:0;cursor:pointer;text-align:left;font:inherit;color:var(--u-text)}
html.ui3 #v-dm .post-cell-media{position:relative;display:block;width:100%;aspect-ratio:1;border-radius:14px;overflow:hidden;background:var(--u-blue-soft)}
html.ui3 #v-dm .post-cell img{display:block;width:100%;height:100%;object-fit:cover}
html.ui3 #v-dm .post-cell-noimg{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:22px;color:var(--u-muted);background:var(--u-blue-soft)}
html.ui3 #v-dm .post-cell.sel .post-cell-media{box-shadow:0 0 0 3px var(--u-ink)}
html.ui3 #v-dm .post-cell-check{position:absolute;top:6px;right:6px;width:20px;height:20px;border-radius:50%;display:none;align-items:center;justify-content:center;background:var(--u-ink);color:var(--u-on-ink,#fff);font-size:12px;font-weight:800}
html.ui3 #v-dm .post-cell.sel .post-cell-check{display:flex}
html.ui3 #v-dm .post-cell-meta{display:flex;flex-direction:column;gap:2px;min-width:0;padding:0 2px}
html.ui3 #v-dm .post-cell-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:600 12.5px/1.3 var(--u-font);color:var(--u-text)}
html.ui3 #v-dm .post-cell-sub{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:500 11.5px/1.3 var(--u-font);color:var(--u-muted)}
@media (max-width:560px){html.ui3 #v-dm .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
html.ui3 #v-dm .post-manual{margin-top:10px;font:600 12.5px var(--u-font);color:var(--u-muted)}
html.ui3 #v-dm .post-manual summary{cursor:pointer}
html.ui3 #v-dm .dmv2-crgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html.ui3 #v-dm .wait-control label{display:inline-flex;align-items:center;gap:10px;font:600 13px var(--u-font);color:var(--u-text)}
html.ui3 #v-dm .wait-control .u-field{width:80px;text-align:center}
html.ui3 #v-dm .fbranch{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px;padding:0;border:0}
html.ui3 #v-dm .fbcard{background:var(--u-white);border:0;border-radius:var(--u-r-md);padding:14px}
html.ui3 #v-dm .fbcard .u-field{background:var(--u-card)}
html.ui3 #v-dm .fbcard .u-field+.u-field,html.ui3 #v-dm .fbcard .pin+.u-field,html.ui3 #v-dm .fbcard .u-field+.pin{margin-top:8px}
html.ui3 #v-dm .fbtag{display:inline-block;margin-bottom:10px;padding:4px 12px;border-radius:999px;font:600 12px var(--u-font);color:#fff;background:var(--u-green)}
html.ui3 #v-dm .fbtag.a{background:var(--u-amber)}
html.ui3 #a_intent_usage{margin-top:12px;padding:12px 14px;border:0;border-radius:var(--u-r-sm);background:var(--u-white)}
html.ui3 #a_intent_usage[hidden]{display:none}
/* pregled uživo */
html.ui3 #v-dm .u-dm-preview{position:sticky;top:14px;display:flex;flex-direction:column;align-items:center;gap:10px;background:var(--u-white);border:0;border-radius:var(--u-r-lg);padding:16px}
html.ui3 #v-dm #dmv2PreviewTitle{font:700 14px var(--u-font);color:var(--u-ink)}
html.ui3 #v-dm .dm-preview-tabs{display:flex;gap:4px;background:var(--u-card);border-radius:999px;padding:4px}
html.ui3 #v-dm .dm-preview-tabs button{border:0;background:none;border-radius:999px;padding:7px 14px;font:600 12.5px var(--u-font);color:var(--u-text);cursor:pointer}
html.ui3 #v-dm .dm-preview-tabs button.on{background:var(--u-ink);color:#fff}
html.ui3 #v-dm .dmv2-meta,html.ui3 #v-dm [id^="dmv2Meta"]{font:500 12px var(--u-font);color:var(--u-muted)}
/* podnožje */
html.ui3 #v-dm .dm-create-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid var(--u-line);background:none;position:static;box-shadow:none}
html.ui3 #v-dm #dmv2StepMeta{font:500 13px var(--u-font);color:var(--u-muted)}
html.ui3 #v-dm .dm-create-footer .btn,html.ui3 #v-dm .dm-create-footer button{border:0;border-radius:999px;padding:12px 22px;font:600 14px var(--u-font);cursor:pointer;background:var(--u-white);color:var(--u-ink);box-shadow:none}
html.ui3 #v-dm #dmv2NextBtn,html.ui3 #v-dm #a_savebtn{background:var(--u-ink);color:#fff}
html.ui3 #v-dm .dm-create-footer button[hidden]{display:none}
html.ui3 #v-dm .dm-create-footer button:disabled{opacity:.4;cursor:default}
@media (max-width:1100px){html.ui3 #v-dm .dm-layout{grid-template-columns:minmax(0,1fr)}html.ui3 #v-dm .u-dm-preview{position:static}html.ui3 #v-dm .dmv2-row{grid-template-columns:minmax(0,1fr) auto}html.ui3 #v-dm .dmv2-data{display:none}html.ui3 #v-dm .dmv2-lower{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){html.ui3 #v-dm .dm-trig-grid,html.ui3 #v-dm .dmv2-crgrid,html.ui3 #v-dm .fbranch{grid-template-columns:minmax(0,1fr)}html.ui3 #v-dm .dmv2-search{width:100%}html.ui3 #v-dm .dmv2-filters{width:100%}html.ui3 #v-dm .dm-sheet,html.ui3 #v-dm .dmv2-card{padding:12px;border-radius:var(--u-r-lg)}html.ui3 #v-dm .dmv2-health-foot{margin-left:0}html.ui3 #v-dm .dmv2-flow-tab{min-width:120px}html.ui3 #v-dm .dmv2-flow-tab small{display:none}}
html.ui3 #v-dm .pin{background:none;border:0;padding:0}

html.ui3 #v-dm .dmv2-preview-head{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%}
html.ui3 #v-dm .dmv2-preview-head>div:first-child{display:flex;flex-direction:column;align-items:center;gap:2px}
html.ui3 #v-dm .dmv2-preview-head span{font:600 12px var(--u-font);color:var(--u-muted)}
html.ui3 #v-dm .dmv2-preview-meta{display:flex;flex-direction:column;gap:6px;width:100%}
html.ui3 #v-dm .dmv2-preview-meta>div{display:flex;justify-content:space-between;gap:10px;padding:8px 12px;border-radius:var(--u-r-sm);background:var(--u-card);font:500 12.5px var(--u-font)}
html.ui3 #v-dm .dmv2-preview-meta span{color:var(--u-muted)}
html.ui3 #v-dm .dmv2-preview-meta b{color:var(--u-ink);text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ui3 #v-dm .dmv2-funnel-row>div:first-child{display:flex;justify-content:space-between;gap:10px}
/* DM kreiranje kao TOK (07.10 kasno, Nemanja: „kao ManyChat, ne čarobnjak u stranici"): čvorovi jedan ispod drugog spojeni
   linijom (okidač → odgovor → DM → link → follow-up), sve vidljivo, „Sačuvaj" gore desno, pregled telefona zalepljen desno */
html.ui3 #v-dm #dm-builder{gap:14px}
html.ui3 #v-dm #dm-builder .dmv2-flow,html.ui3 #v-dm #dm-builder .dm-create-footer{display:none}
html.ui3 #v-dm #dm-builder .dmv2-builder-head{margin:0}
.u-dm-headacts{display:flex;align-items:center;gap:10px}
html.ui3 #v-dm .u-dm-headacts #a_savebtn{background:var(--u-ink);color:#fff}
html.ui3 #v-dm .u-dm-headacts #a_savebtn[hidden]{display:none}
html.ui3 #v-dm #dm-builder .dm-sheet{background:none;padding:0}
html.ui3 #v-dm #dm-builder .dm-layout{grid-template-columns:minmax(0,1fr) clamp(300px,27vw,400px);gap:22px}
html.ui3 #v-dm #dm-builder .dm-form-col{gap:22px;padding-left:58px}
html.ui3 #v-dm #dm-builder .u-node{position:relative;background:var(--u-white);border-radius:var(--u-r-lg);padding:18px 20px;box-shadow:0 1px 0 rgba(16,24,40,.03)}
.u-node-ic{position:absolute;left:-58px;top:16px;width:40px;height:40px;border-radius:50%;background:var(--u-ink);color:#fff;display:grid;place-items:center;z-index:1}
.u-node-ic svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html.ui3 #v-dm #dm-builder .u-node::after{content:"";position:absolute;left:-39px;top:56px;bottom:-38px;width:2px;background:var(--u-line)}
html.ui3 #v-dm #dm-builder .u-node:last-child::after{display:none}
html.ui3 #v-dm #dm-builder .u-node .u-field{background:var(--u-card)}
html.ui3 #v-dm #dm-builder .dm-form-col textarea.u-field{min-height:72px}
html.ui3 #v-dm #dm-builder .u-dmcard+.u-dmcard{border-top-color:var(--u-card)}
/* „Dugme" = izgleda kao pravo dugme u DM poruci */
html.ui3 #v-dm #dm-builder .u-dm-btnfield{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:4px 0 6px}
html.ui3 #v-dm #dm-builder .u-dm-btnfield>span{min-width:0;font:600 11.5px var(--u-font);color:var(--u-muted)}
html.ui3 #v-dm #dm-builder .u-dm-btnfield .u-field{max-width:300px;text-align:center;font-weight:700;color:var(--u-ink);background:var(--u-white);box-shadow:inset 0 0 0 1.5px var(--u-line);border-radius:14px;padding:11px 14px}
html.ui3 #v-dm #dm-builder .u-dm-btnfield .u-field:focus{box-shadow:inset 0 0 0 2px var(--u-ink)}
html.ui3 #v-dm #dm-builder .u-dm-preview{position:sticky;top:84px;max-height:calc(100dvh - 100px);overflow:hidden;padding:14px;gap:10px}
/* 15.10 (QA): „Sačuvaj" uvek dostupan — zaglavlje (nazad, naslov, stanje, Sačuvaj) se lepi gore dok se forma skroluje */
html.ui3 #v-dm #dm-builder .dmv2-builder-head{position:sticky;top:0;z-index:6;padding:10px 0;background:linear-gradient(180deg,var(--u-canvas) 0%,var(--u-canvas) 45%,var(--u-canvas-2) 100%) fixed}
/* pregled: naslov + tabovi u jednom redu, meta u tri ćelije → telefonu ostaje skoro cela visina */
html.ui3 #v-dm #dm-builder .dmv2-preview-head{flex-direction:row;justify-content:space-between}
html.ui3 #v-dm #dm-builder .dmv2-preview-head>div:first-child{align-items:flex-start;min-width:0}
html.ui3 #v-dm #dm-builder #dmv2PreviewTitle{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ui3 #v-dm #dm-builder .dmv2-preview-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
html.ui3 #v-dm #dm-builder .dmv2-preview-meta>div{flex-direction:column;justify-content:flex-start;gap:1px;padding:7px 10px;min-width:0}
html.ui3 #v-dm #dm-builder .dmv2-preview-meta span{font-size:11px}
html.ui3 #v-dm #dm-builder .dmv2-preview-meta b{text-align:left}
/* 15.10 (Nemanja): iPhone 15/16 maketa — 9:19.5, tanak ram, Dynamic Island, iOS traka; ekran = Instagram (svetla tema).
   Širina prati kolonu i visinu prozora (ceo telefon staje); unutra sve u cqw → raste zajedno sa telefonom. */
.u-phone{--w:min(100%,380px,max(240px,calc((100dvh - 240px)*9/19.5)));--ig-grey:#efefef;--ig-line:#dbdbdb;--ig-blue:#0095f6;--ig-out:linear-gradient(150deg,#a033ff 0%,#6156f8 50%,#3797f0 100%);position:relative;flex:none;box-sizing:border-box;width:var(--w);aspect-ratio:9/19.5;margin:0 auto;padding:calc(var(--w)*.026);border-radius:16.5%/7.6%;background:var(--u-ink);box-shadow:inset 0 0 0 1.5px #3b3f47,0 0 0 1px var(--u-line),0 24px 50px -14px rgba(13,14,17,.32);container-type:inline-size}
.u-phone-screen{position:relative;display:flex;flex-direction:column;height:100%;overflow:hidden;border-radius:14.4%/6.4%;background:var(--u-white);color:var(--u-ink);font:400 14px/1.35 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:clamp(13px,4.2cqw,16px)}
.u-phone-status{position:relative;flex:none;display:flex;align-items:center;justify-content:space-between;height:12.5cqw;padding:1.2cqw 6.5cqw 0 8.5cqw;font-weight:600}
.u-phone-island{position:absolute;top:2.6cqw;left:50%;width:31cqw;height:9cqw;border-radius:999px;background:#000;transform:translateX(-50%)}
.u-phone-sys{display:flex;align-items:center;gap:1.4cqw}
.u-phone-sys svg{width:auto;height:3.1cqw;fill:currentColor}
.u-phone-home{position:absolute;left:50%;bottom:2cqw;width:35cqw;height:1.3cqw;border-radius:999px;background:var(--u-ink);transform:translateX(-50%)}
.u-phone-thread{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;padding-bottom:6.5cqw}
.u-ig-top{flex:none;display:flex;align-items:center;gap:2.8cqw;padding:1cqw 4cqw 3cqw 2.5cqw;border-bottom:1px solid var(--ig-line)}
.u-ig-top[hidden]{display:none}
.u-ig-ic{display:inline-flex;flex:none;font-style:normal}
.u-ig-ic svg{width:6.6cqw;height:6.6cqw;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.u-ig-who{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.2}
.u-ig-who small,.u-ig-day,.u-ig-media small,.u-ig-reply{font-size:clamp(11px,3.3cqw,13px);color:var(--u-muted)}
.u-ig-name{overflow:hidden;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.u-ig-title{flex:1;text-align:center;font-weight:700}
.u-ig-acts{display:flex;gap:4cqw;min-width:6.6cqw}
.u-ig-av{flex:none;display:grid;place-items:center;width:9cqw;height:9cqw;border-radius:50%;background:var(--u-ink);color:var(--u-white);font-size:clamp(12px,3.6cqw,15px);font-weight:700}
.u-ig-av.is-sm{width:7cqw;height:7cqw;font-size:clamp(10px,3cqw,13px)}
.u-ig-av.is-lg{width:20cqw;height:20cqw;font-size:clamp(20px,7.5cqw,30px)}
.u-ig-av.is-ring{box-shadow:0 0 0 1.5px var(--u-white),0 0 0 3px #d62976}
.u-ig-body{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;gap:2cqw;padding:4cqw 3.5cqw;overflow-y:auto;scrollbar-width:none}
.u-ig-body::-webkit-scrollbar{display:none}
.u-ig-body.is-flush{padding:0}
.u-ig-intro{flex:none;display:flex;flex-direction:column;align-items:center;gap:.6cqw;padding:2cqw 0 5cqw}
.u-ig-intro small{color:var(--u-muted)}
.u-ig-pill{margin-top:2cqw;padding:1.6cqw 3.6cqw;border-radius:2.4cqw;background:var(--ig-grey);font-size:clamp(12px,3.4cqw,14px);font-weight:600}
/* DM: dolazne poruke sive (dugmad u istoj kartici), odlazne IG gradijent */
.u-ig-row{flex:none;display:flex;align-items:flex-end;gap:2cqw}
.u-ig-row.is-me{justify-content:flex-end}
.u-ig-msg{margin:0;padding:2.6cqw 3.8cqw;overflow-wrap:anywhere;white-space:pre-wrap}
.u-ig-card{display:flex;flex-direction:column;max-width:76%;overflow:hidden;border-radius:5.5cqw;background:var(--ig-grey)}
.u-ig-row.is-me .u-ig-msg{max-width:74%;border-radius:5.5cqw;background:var(--ig-out);color:var(--u-white)}
.u-ig-btn{padding:2.6cqw 3.8cqw;border-top:1.5px solid var(--u-white);text-align:center;font-weight:600;overflow-wrap:anywhere}
.u-ig-btn:first-child{border-top:0}
.u-ig-day{align-self:center;margin:2cqw 0;text-align:center}
.u-ig-composer{flex:none;display:flex;align-items:center;gap:2.6cqw;margin:2cqw 3cqw 0;padding:1.6cqw 3.6cqw 1.6cqw 1.6cqw;border-radius:999px;background:var(--ig-grey)}
.u-ig-field{flex:1;min-width:0;overflow:hidden;color:var(--u-muted);text-overflow:ellipsis;white-space:nowrap}
.u-ig-cam{flex:none;display:grid;place-items:center;width:8.6cqw;height:8.6cqw;border-radius:50%;background:var(--ig-blue);color:var(--u-white)}
.u-ig-cam svg{width:5.2cqw;height:5.2cqw}
/* Post: zaglavlje, kvadratna slika, akcije, opis */
.u-ig-post{display:flex;flex-direction:column}
.u-ig-phead{display:flex;align-items:center;gap:2.6cqw;padding:2.6cqw 3.5cqw}
.u-ig-phead .u-ig-name{flex:1}
.u-ig-phead .u-ig-ic svg{fill:currentColor}
.u-ig-phead .u-ig-ic svg{stroke:none}
.u-ig-media{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1cqw;aspect-ratio:1;padding:6cqw;text-align:center;background:linear-gradient(135deg,var(--u-blue-soft),var(--u-card))}
.u-ig-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.u-ig-actions{display:flex;align-items:center;gap:3.6cqw;padding:2.6cqw 3.5cqw 1cqw}
.u-ig-actions>span{flex:1}
.u-ig-cap{margin:0;padding:1cqw 3.5cqw;overflow-wrap:anywhere}
.u-ig-cap b{font-weight:600}
.u-ig-trig,.u-ig-note{align-self:flex-start;margin:2cqw 3.5cqw;padding:1.6cqw 3.2cqw;border-radius:3.6cqw;background:var(--u-card);color:var(--u-text);font-size:clamp(12px,3.4cqw,14px)}
.u-ig-tabbar{flex:none;display:flex;align-items:center;justify-content:space-around;padding:2.6cqw 3cqw 0;border-top:1px solid var(--ig-line)}
/* Komentari: zatamnjena objava iza, IG sheet preko nje */
.u-ig-behind{flex:none;height:36%;overflow:hidden;background:var(--u-white);filter:brightness(.5)}
.u-ig-sheet{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;margin-top:-5cqw;border-radius:5.5cqw 5.5cqw 0 0;background:var(--u-white)}
.u-ig-grab{align-self:center;width:10cqw;height:1.2cqw;margin-top:2.4cqw;border-radius:999px;background:var(--ig-line)}
.u-ig-sheet>.u-ig-title{flex:none;padding:2.4cqw 0 2.8cqw;border-bottom:1px solid var(--ig-line)}
.u-ig-sheet .u-ig-composer{margin:0;padding:2.6cqw 3.5cqw 0;border-top:1px solid var(--ig-line);border-radius:0;background:none}
.u-ig-cmt{flex:none;display:flex;align-items:flex-start;gap:2.6cqw}
.u-ig-cmt>div{flex:1;min-width:0}
.u-ig-cmt.is-reply{padding-left:9.6cqw}
.u-ig-cmt>.u-ig-ic svg{width:4.2cqw;height:4.2cqw;margin-top:2cqw;color:var(--u-muted)}
.u-ig-cmeta{display:flex;align-items:baseline;gap:1.6cqw;font-size:clamp(12px,3.4cqw,14px)}
.u-ig-cmeta i,.u-ig-cmeta em{font-style:normal;color:var(--u-muted)}
.u-ig-cmeta em::before{content:"· "}
.u-ig-cmt p{margin:.4cqw 0 0;overflow-wrap:anywhere;white-space:pre-wrap}
.u-ig-reply{display:block;margin-top:1cqw;font-weight:600}
.u-ig-note{margin:2cqw 0 0}
@media (max-width:1100px){html.ui3 #v-dm #dm-builder .dm-layout{grid-template-columns:minmax(0,1fr)}html.ui3 #v-dm #dm-builder .u-dm-preview{position:static;max-height:none}.u-phone{--w:min(100%,340px)}}
/* ≤1024 px stari shell pravi body skrol-kontejnerom (sticky tu ne radi) → „Sačuvaj“ pluta dole na sredini, levo od vodiča */
@media (max-width:1024px){html.ui3 #v-dm #dm-builder{padding-bottom:84px}html.ui3 #v-dm #dm-builder .dmv2-builder-head{position:static;padding:0;background:none}html.ui3 #v-dm .u-dm-headacts #a_savebtn{position:fixed;left:0;right:0;bottom:max(16px,env(safe-area-inset-bottom));z-index:40;width:max-content;margin:0 auto;box-shadow:0 10px 28px rgba(13,14,17,.22)}}
@media (max-width:640px){html.ui3 #v-dm #dm-builder .dm-form-col{padding-left:0}.u-node-ic{position:static;margin-bottom:10px}html.ui3 #v-dm #dm-builder .u-node::after{display:none}html.ui3 #v-dm .dmv2-builder-head{flex-wrap:wrap}html.ui3 #v-dm #dm-builder .dmv2-builder-title{font-size:19px}}

/* ===== Inbox (UI3): lista levo, razgovor desno; telefon = lista ↔ razgovor ===== */
html.ui3 #v-inbox .inbx-page{display:flex;flex-direction:column;gap:14px;height:calc(100dvh - 150px);min-height:460px;font-family:var(--u-font);color:var(--u-text)}
html.ui3 #v-inbox .inbx-head{display:none}
html.ui3 #v-inbox .inbx-section-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}
html.ui3 #v-inbox .inbx-refresh.u-round{width:42px;height:42px}
html.ui3 #v-inbox .inbx-refresh span{display:none}
html.ui3 #v-inbox .inbx-refresh[aria-busy="true"] svg{animation:u-spin .8s linear infinite}
html.ui3 #v-inbox .inbx-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:14px}
html.ui3 #v-inbox .inbx-list,html.ui3 #v-inbox .inbx-thread{display:flex;flex-direction:column;min-height:0;overflow:hidden;background:var(--u-white);border-radius:var(--u-r-md)}
html.ui3 #v-inbox .inbx-filters{display:flex;gap:6px;flex:none;padding:12px 12px 8px;overflow-x:auto;scrollbar-width:none}
html.ui3 #v-inbox .inbx-filters::-webkit-scrollbar{display:none}
html.ui3 #v-inbox .inbx-chip{display:inline-flex;align-items:center;gap:6px;flex:none;padding:7px 12px;border:1px solid var(--u-line);border-radius:999px;background:var(--u-white);font:600 12.5px var(--u-font);color:var(--u-text);cursor:pointer}
html.ui3 #v-inbox .inbx-chip.on{background:var(--u-ink);border-color:var(--u-ink);color:#fff}
html.ui3 #v-inbox .inbx-chip svg{width:13px;height:13px}
html.ui3 #v-inbox .inbx-convos{flex:1;min-height:0;overflow-y:auto;padding:4px 8px 8px;scrollbar-width:none}
html.ui3 #v-inbox .inbx-convo{display:flex;align-items:center;gap:11px;width:100%;padding:10px;border:0;border-radius:var(--u-r-sm);background:none;font-family:var(--u-font);text-align:left;cursor:pointer}
html.ui3 #v-inbox .inbx-convo:hover{background:var(--u-card)}
html.ui3 #v-inbox .inbx-convo.on{background:var(--u-canvas)}
html.ui3 #v-inbox .inbx-avatar{width:40px;height:40px;flex:none;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:var(--u-ink);color:#fff;font-size:14px;font-weight:700}
html.ui3 #v-inbox .inbx-avatar img{width:100%;height:100%;object-fit:cover}
html.ui3 #v-inbox .inbx-avatar svg{width:17px;height:17px}
html.ui3 #v-inbox .inbx-post-avatar{border-radius:12px;background:var(--u-card);color:var(--u-ink)}
html.ui3 #v-inbox .inbx-convo-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
html.ui3 #v-inbox .inbx-convo-copy b{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:700;color:var(--u-ink)}
html.ui3 #v-inbox .inbx-convo-copy small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;color:var(--u-muted)}
html.ui3 #v-inbox .inbx-unread{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;background:var(--u-ink);color:#fff;font-size:10.5px;font-style:normal;font-weight:700;vertical-align:1px}
html.ui3 #v-inbox .inbx-time{flex:none;align-self:flex-start;margin-top:3px;font-size:11.5px;color:var(--u-muted)}
html.ui3 #v-inbox .inbx-convo-net{flex:none;display:grid;color:var(--u-muted)}
html.ui3 #v-inbox .inbx-convo-net svg{width:13px;height:13px}
html.ui3 #v-inbox .inbx-skel{display:flex;flex-direction:column;gap:4px}
html.ui3 #v-inbox .inbx-skel span{display:flex;align-items:center;gap:11px;padding:10px}
html.ui3 #v-inbox .inbx-skel i{width:40px;height:40px;flex:none;border-radius:50%}
html.ui3 #v-inbox .inbx-skel b{flex:1;height:12px;border-radius:999px}
html.ui3 #v-inbox .inbx-skel i,html.ui3 #v-inbox .inbx-skel b{background:var(--u-canvas);animation:u-breathe 1.4s ease-in-out infinite}
html.ui3 #v-inbox .inbx-thread-head{display:flex;align-items:center;gap:12px;flex:none;padding:14px 18px;border-bottom:1px solid var(--u-line)}
html.ui3 #v-inbox .inbx-thread-head>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
html.ui3 #v-inbox .inbx-thread-head>div>b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:700;color:var(--u-ink)}
html.ui3 #v-inbox .inbx-thread-head>div>span{font-size:12.5px;color:var(--u-muted)}
html.ui3 #v-inbox .inbx-head-avatar{width:38px;height:38px}
html.ui3 #v-inbox .inbx-back{display:none}
html.ui3 #v-inbox .inbx-back.u-round{width:38px;height:38px}
html.ui3 #v-inbox .inbx-external{display:inline-flex;align-items:center;gap:5px;flex:none;padding:8px 12px;border:1px solid var(--u-line);border-radius:999px;font:600 12.5px var(--u-font);color:var(--u-ink);text-decoration:none}
html.ui3 #v-inbox .inbx-external:hover{background:var(--u-card)}
html.ui3 #v-inbox .inbx-msgs{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:18px}
html.ui3 #v-inbox .inbx-msg{max-width:min(72%,560px);padding:10px 14px;border-radius:18px;font-size:14px;line-height:1.45}
html.ui3 #v-inbox .inbx-msg p{margin:0;white-space:pre-line;overflow-wrap:anywhere}
html.ui3 #v-inbox .inbx-msg small{display:block;margin-top:4px;font-size:11px;color:inherit;opacity:.7}
html.ui3 #v-inbox .inbx-msg em{display:block;margin-top:4px;font-size:11px;font-style:normal;color:var(--u-red)}
html.ui3 #v-inbox .inbx-msg.in{align-self:flex-start;background:var(--u-card);color:var(--u-ink);border-bottom-left-radius:6px}
html.ui3 #v-inbox .inbx-msg.out{align-self:flex-end;background:var(--u-ink);color:#fff;border-bottom-right-radius:6px}
html.ui3 #v-inbox .inbx-msg.is-failed{box-shadow:inset 0 0 0 1px var(--u-red)}
html.ui3 #v-inbox .inbx-nomsg{margin:auto;font-size:13px;color:var(--u-muted)}
html.ui3 #v-inbox .inbx-send{display:flex;align-items:flex-end;gap:8px;flex:none;padding:12px 14px;border-top:1px solid var(--u-line)}
html.ui3 #v-inbox .inbx-send textarea{flex:1;box-sizing:border-box;min-height:46px;max-height:140px;padding:13px 16px;resize:none;border:1px solid var(--u-line);border-radius:23px;background:var(--u-white);font:500 14px/1.4 var(--u-font);color:var(--u-ink);outline:0}
html.ui3 #v-inbox .inbx-send textarea:focus{border-color:var(--u-ink)}
html.ui3 #v-inbox .inbx-send textarea:disabled{background:var(--u-card);cursor:not-allowed}
html.ui3 #v-inbox .inbx-send .u-btn{height:46px}
html.ui3 #v-inbox .inbx-attachments{display:grid;gap:6px;margin-top:6px}
html.ui3 #v-inbox .inbx-attachment{display:flex;align-items:center;gap:6px;overflow:hidden;border-radius:12px;color:inherit;text-decoration:none}
html.ui3 #v-inbox .inbx-attachment.is-image{display:block}
html.ui3 #v-inbox .inbx-attachment.is-image img{display:block;max-width:min(100%,300px);max-height:280px;object-fit:contain;border-radius:12px}
html.ui3 #v-inbox .inbx-attachment.is-image span{display:none}
html.ui3 #v-inbox .inbx-attachment.is-image.is-broken img{display:none}
html.ui3 #v-inbox .inbx-attachment.is-image.is-broken span{display:block;font-size:12px}
html.ui3 #v-inbox .inbx-attachment.is-file{padding:8px 12px;border:1px solid currentColor;font-size:12.5px}
html.ui3 #v-inbox .inbx-attachment-media{display:block;width:min(100%,300px);max-height:280px;border-radius:12px}
html.ui3 #v-inbox .inbx-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:32px 22px;text-align:center;color:var(--u-muted)}
html.ui3 #v-inbox .inbx-empty-art{width:56px;height:56px;display:grid;place-items:center;border-radius:50%;background:var(--u-card);color:var(--u-ink)}
html.ui3 #v-inbox .inbx-empty-art svg{width:22px;height:22px}
html.ui3 #v-inbox .inbx-empty h3{margin:4px 0 0;font:700 19px var(--u-font);color:var(--u-ink)}
html.ui3 #v-inbox .inbx-empty p{margin:0;max-width:40ch;font-size:13.5px;line-height:1.5}
html.ui3 #v-inbox .inbx-empty .u-btn{margin-top:10px}
html.ui3 #v-inbox .inbx-comment-thread{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:16px}
html.ui3 #v-inbox .inbx-comment{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;margin-left:calc(var(--inbx-depth,0) * 24px);padding:12px;border-radius:var(--u-r-sm);background:var(--u-card)}
html.ui3 #v-inbox .inbx-comment.is-owner{background:var(--u-white);box-shadow:inset 0 0 0 1px var(--u-line)}
html.ui3 #v-inbox .inbx-comment-avatar{width:34px;height:34px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:var(--u-ink);color:#fff;font-size:12px;font-weight:700}
html.ui3 #v-inbox .inbx-comment-avatar img{width:100%;height:100%;object-fit:cover}
html.ui3 #v-inbox .inbx-comment-body{min-width:0}
html.ui3 #v-inbox .inbx-comment-body header{display:flex;align-items:center;gap:8px;min-width:0}
html.ui3 #v-inbox .inbx-comment-body header b{font-size:13.5px;color:var(--u-ink);overflow-wrap:anywhere}
html.ui3 #v-inbox .inbx-comment-body header em{padding:2px 8px;border-radius:999px;background:var(--u-ink);color:#fff;font-size:10.5px;font-style:normal;font-weight:600}
html.ui3 #v-inbox .inbx-comment-body header time{margin-left:auto;font-size:11.5px;color:var(--u-muted);white-space:nowrap}
html.ui3 #v-inbox .inbx-comment-body p{margin:5px 0 0;font-size:13.5px;line-height:1.5;color:var(--u-text);white-space:pre-line;overflow-wrap:anywhere}
html.ui3 #v-inbox .inbx-comment-body footer{display:flex;align-items:center;gap:12px;margin-top:6px;font-size:12px;color:var(--u-muted)}
html.ui3 #v-inbox .inbx-comment-body footer button{padding:0;border:0;background:none;font:700 12.5px var(--u-font);color:var(--u-ink);cursor:pointer}
html.ui3 #v-inbox .inbx-comment-body footer button:hover{text-decoration:underline}
html.ui3 #v-inbox .inbx-reply-box{flex:none;border-top:1px solid var(--u-line)}
html.ui3 #v-inbox .inbx-reply-box>label{display:block;padding:12px 16px 0;font-size:12.5px;font-weight:600;color:var(--u-muted)}
html.ui3 #v-inbox .inbx-reply-box .inbx-send{border-top:0;padding-top:8px}
html.ui3 #v-inbox .inbx-review-detail{flex:1;min-height:0;overflow-y:auto;padding:22px}
html.ui3 #v-inbox .inbx-review-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}
html.ui3 #v-inbox .inbx-review-meta time{font-size:12px;color:var(--u-muted)}
html.ui3 #v-inbox .inbx-stars{display:block;color:var(--u-amber);font-size:14px;letter-spacing:.06em}
html.ui3 #v-inbox .inbx-convo-copy .inbx-stars{font-size:11px}
html.ui3 #v-inbox .inbx-review-detail>p{margin:16px 0;font-size:15px;line-height:1.65;color:var(--u-ink);white-space:pre-line;overflow-wrap:anywhere}
html.ui3 #v-inbox .inbx-review-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px;margin:14px 0}
html.ui3 #v-inbox .inbx-review-photos a{display:block;aspect-ratio:1;overflow:hidden;border-radius:14px;background:var(--u-card)}
html.ui3 #v-inbox .inbx-review-photos img{width:100%;height:100%;object-fit:cover}
html.ui3 #v-inbox .inbx-owner-reply{margin-top:16px;padding:14px 16px;border-radius:var(--u-r-sm);background:var(--u-card)}
html.ui3 #v-inbox .inbx-owner-reply b{font-size:12px;color:var(--u-ink)}
html.ui3 #v-inbox .inbx-owner-reply p{margin:5px 0 0;font-size:13.5px;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}
html.ui3 #v-inbox .inbx-chip:focus-visible,html.ui3 #v-inbox .inbx-convo:focus-visible,html.ui3 #v-inbox .inbx-section-tab:focus-visible,html.ui3 #v-inbox .inbx-external:focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
@media (max-width:900px){html.ui3 #v-inbox .inbx-page{height:calc(100dvh - 170px)}html.ui3 #v-inbox .inbx-body{display:block}html.ui3 #v-inbox .inbx-list,html.ui3 #v-inbox .inbx-thread{height:100%}html.ui3 #v-inbox .inbx-thread{display:none}html.ui3 #v-inbox .inbx-body.is-thread-open .inbx-list{display:none}html.ui3 #v-inbox .inbx-body.is-thread-open .inbx-thread{display:flex}html.ui3 #v-inbox .inbx-back{display:grid}}
@media (max-width:620px){html.ui3 #v-inbox .inbx-page{height:calc(100dvh - 150px);min-height:400px}html.ui3 #v-inbox .inbx-msg{max-width:86%}html.ui3 #v-inbox .inbx-comment{margin-left:calc(var(--inbx-depth,0) * 12px)}html.ui3 #v-inbox .inbx-comment-body header{flex-wrap:wrap}html.ui3 #v-inbox .inbx-comment-body header time{width:100%;margin-left:0}html.ui3 #v-inbox .inbx-external span:first-child{display:none}html.ui3 #v-inbox .inbx-send .u-btn{width:46px;padding:0}html.ui3 #v-inbox .inbx-send .u-btn span{display:none}html.ui3 #v-inbox .inbx-review-detail{padding:16px}html.ui3 #v-inbox .inbx-thread-head{padding:12px 14px}}
/* ===== Nova funkcionalnost (UI3): naslov u top baru, akcije + podrška u jednom redu, kartice predloga ===== */
html.ui3 #v-feedback .fb-page{display:flex;flex-direction:column;gap:14px;font-family:var(--u-font);color:var(--u-text)}
html.ui3 #v-feedback .fb-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
html.ui3 #v-feedback .fb-support{margin:0;font-size:14px;color:var(--u-muted)}
html.ui3 #v-feedback .fb-support-link{font-weight:700;color:var(--u-ink);text-decoration:underline;text-underline-offset:3px}
html.ui3 #v-feedback .fb-create-actions{display:flex;gap:8px;flex-wrap:wrap}
html.ui3 #v-feedback .fb-create-actions svg{width:16px;height:16px}
html.ui3 #v-feedback .fb-create-bug{color:var(--u-red)}
html.ui3 #v-feedback .fb-toolbar{display:flex;justify-content:flex-end}
html.ui3 #v-feedback .fb-filterbar{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;min-width:0}
html.ui3 #v-feedback .fb-search{position:relative;display:block;flex:0 1 320px;min-width:0}
html.ui3 #v-feedback .fb-filterbar>:not(.fb-search){flex:none}
html.ui3 #v-feedback .fb-search svg{position:absolute;left:16px;top:50%;width:16px;height:16px;transform:translateY(-50%);color:var(--u-muted);pointer-events:none}
html.ui3 #v-feedback .fb-search input{box-sizing:border-box;width:100%;height:44px;padding:0 16px 0 42px;border:0;border-radius:999px;background:var(--u-white);font:500 14px var(--u-font);color:var(--u-ink);outline:0}
html.ui3 #v-feedback .fb-search input:focus{box-shadow:0 0 0 2px var(--u-ink)}
html.ui3 #v-feedback .fb-list{display:flex;flex-direction:column;gap:10px}
html.ui3 #v-feedback .fb-item{display:grid;grid-template-columns:58px minmax(0,1fr);gap:16px;align-items:start;padding:18px 20px;border-radius:var(--u-r-md);background:var(--u-white)}
html.ui3 #v-feedback .fb-vote{display:grid;justify-items:center;gap:2px;min-height:60px;padding:8px 6px;border:1px solid var(--u-line);border-radius:var(--u-r-sm);background:var(--u-white);font:700 14px var(--u-font);color:var(--u-text);cursor:pointer}
html.ui3 #v-feedback .fb-vote svg{width:18px;height:18px}
html.ui3 #v-feedback .fb-vote:hover{border-color:var(--u-ink)}
html.ui3 #v-feedback .fb-vote.on{background:var(--u-ink);border-color:var(--u-ink);color:#fff}
html.ui3 #v-feedback .fb-vote:disabled{opacity:.55;cursor:wait}
html.ui3 #v-feedback .fb-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
html.ui3 #v-feedback .fb-item h3{margin:0;font:700 16px/1.35 var(--u-font);color:var(--u-ink);overflow-wrap:anywhere}
html.ui3 #v-feedback .fb-item p{max-width:780px;margin:6px 0 12px;font-size:14px;line-height:1.55;color:var(--u-muted);white-space:pre-line;overflow-wrap:anywhere}
html.ui3 #v-feedback .fb-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
html.ui3 #v-feedback .fb-chip{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;background:var(--u-card);font:600 12px var(--u-font);color:var(--u-text)}
html.ui3 #v-feedback .fb-chip.bug{background:var(--u-red-soft);color:var(--u-red)}
html.ui3 #v-feedback .fb-chip.mine{background:var(--u-ink);color:#fff}
html.ui3 #v-feedback .fb-chip.pending{color:var(--u-muted)}
html.ui3 #v-feedback .fb-date{font-size:12px;color:var(--u-muted)}
html.ui3 #v-feedback .fb-screenshot{display:grid;width:min(520px,100%);margin:0 0 12px;padding:0;overflow:hidden;border:0;border-radius:var(--u-r-sm);background:var(--u-card);font:600 12px var(--u-font);color:var(--u-text);text-align:left;cursor:zoom-in}
html.ui3 #v-feedback .fb-screenshot-frame{display:block;width:100%;min-height:118px;max-height:210px;overflow:hidden;background:var(--u-card)}
html.ui3 #v-feedback .fb-screenshot img{display:block;width:100%;min-height:118px;max-height:210px;object-fit:cover;object-position:top center;opacity:0;transition:opacity .18s ease}
html.ui3 #v-feedback .fb-screenshot.ready img{opacity:1}
html.ui3 #v-feedback .fb-screenshot-label{display:flex;justify-content:center;padding:9px 12px}
html.ui3 #v-feedback .fb-screenshot.expanded{width:100%;cursor:zoom-out}
html.ui3 #v-feedback .fb-screenshot.expanded .fb-screenshot-frame,html.ui3 #v-feedback .fb-screenshot.expanded img{max-height:min(70vh,760px)}
html.ui3 #v-feedback .fb-screenshot.expanded img{height:auto;object-fit:contain}
html.ui3 #v-feedback .fb-empty,html.ui3 #v-feedback .fb-loading{display:grid;place-items:center;gap:6px;min-height:240px;padding:32px;border-radius:var(--u-r-md);background:var(--u-white);text-align:center;color:var(--u-muted)}
html.ui3 #v-feedback .fb-empty svg{width:28px;height:28px;margin-bottom:8px;color:var(--u-ink)}
html.ui3 #v-feedback .fb-empty b{display:block;margin-bottom:4px;font:700 17px var(--u-font);color:var(--u-ink)}
html.ui3 #v-feedback .fb-dialog.u-modal{width:min(560px,100%);max-height:min(88vh,780px);overflow:auto;outline:0}
html.ui3 #v-feedback .fb-dialog-head{padding-right:44px}
html.ui3 #v-feedback .fb-dialog-head h2{margin:0;font:700 22px/1.2 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
html.ui3 #v-feedback .fb-dialog-head p{margin:6px 0 0;font-size:14px;line-height:1.5;color:var(--u-muted)}
html.ui3 #v-feedback .fb-form{display:flex;flex-direction:column;gap:16px;margin-top:18px}
html.ui3 #v-feedback .fb-form-label{display:flex;flex-direction:column;gap:8px;font:600 13px var(--u-font);color:var(--u-ink)}
html.ui3 #v-feedback .fb-form-label small{font-weight:500;color:var(--u-muted)}
html.ui3 #v-feedback .fb-form input[type="text"],html.ui3 #v-feedback .fb-form textarea{box-sizing:border-box;width:100%;padding:12px 14px;border:0;border-radius:var(--u-r-sm);background:var(--u-white);font:500 14px/1.5 var(--u-font);color:var(--u-ink);outline:0}
html.ui3 #v-feedback .fb-form textarea{min-height:120px;resize:vertical}
html.ui3 #v-feedback .fb-form input[type="text"]:focus,html.ui3 #v-feedback .fb-form textarea:focus{box-shadow:0 0 0 2px var(--u-ink)}
html.ui3 #v-feedback .fb-counter{align-self:flex-end;font-size:11.5px;font-weight:500;color:var(--u-muted)}
html.ui3 #v-feedback .fb-upload{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px;border-radius:var(--u-r-sm);background:var(--u-white)}
html.ui3 #v-feedback .fb-upload-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--u-card);color:var(--u-ink)}
html.ui3 #v-feedback .fb-upload-icon svg{width:18px;height:18px}
html.ui3 #v-feedback .fb-upload b{display:block;font-size:13px;color:var(--u-ink)}
html.ui3 #v-feedback .fb-upload small{display:block;margin-top:2px;font-size:12px;color:var(--u-muted)}
html.ui3 #v-feedback .fb-file-name{grid-column:2/4;font-size:12.5px;font-weight:600;color:var(--u-ink);overflow-wrap:anywhere}
html.ui3 #v-feedback .fb-safe-note{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:var(--u-r-sm);background:var(--u-white);font-size:12.5px;line-height:1.5;color:var(--u-muted)}
html.ui3 #v-feedback .fb-safe-note svg{width:18px;height:18px;flex:none;color:var(--u-ink)}
html.ui3 #v-feedback .fb-safe-note.bug svg{color:var(--u-red)}
html.ui3 #v-feedback .fb-diagnostics{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.45;color:var(--u-text);cursor:pointer}
html.ui3 #v-feedback .fb-diagnostics input{margin-top:2px;accent-color:var(--u-ink)}
html.ui3 #v-feedback .fb-form-status{min-height:18px;font-size:12.5px;font-weight:600;color:var(--u-red)}
html.ui3 #v-feedback .fb-form-actions{display:flex;justify-content:flex-end;gap:8px}
html.ui3 #v-feedback .fb-vote:focus-visible,html.ui3 #v-feedback .fb-screenshot:focus-visible,html.ui3 #v-feedback .fb-support-link:focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
@media (max-width:640px){html.ui3 #v-feedback .fb-bar{flex-direction:column;align-items:stretch}html.ui3 #v-feedback .fb-create-actions{display:flex;flex-direction:column-reverse}html.ui3 #v-feedback .fb-search{flex:1}html.ui3 #v-feedback .fb-filterbar{width:100%}html.ui3 #v-feedback .fb-toolbar{display:block}html.ui3 #v-feedback .fb-item{grid-template-columns:48px minmax(0,1fr);gap:12px;padding:16px}html.ui3 #v-feedback .fb-item-head{flex-direction:column;gap:6px}html.ui3 #v-feedback .fb-form-actions{display:grid;grid-template-columns:1fr 1fr}html.ui3 #v-feedback .fb-upload{grid-template-columns:auto 1fr}html.ui3 #v-feedback .fb-upload .u-btn{grid-column:1/-1}}
html.ui3 body.fb-modal-open{overflow:hidden}
/* ===== Vodič i podrška (UI3): plutajući panel — isto ponašanje kao hq-guide.css (isključen u UI3), crno-beli izgled ===== */
@keyframes u-ai-dot{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
html.ui3 .mpg-root{position:relative;z-index:155;font-family:var(--u-font)}
html.ui3 .mpg-root[hidden]{display:none}
html.ui3 .mpg-launcher{position:fixed;z-index:155;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));display:grid;grid-template-columns:auto auto auto;align-items:center;gap:10px;min-height:54px;padding:6px 14px 6px 6px;border:0;border-radius:999px;background:var(--u-ink);color:#fff;font-family:var(--u-font);box-shadow:0 16px 40px rgba(13,14,17,.22);cursor:pointer;transition:transform .2s ease}
html.ui3 .mpg-launcher:hover{transform:translateY(-2px)}
html.ui3 .mpg-launch-ring{display:grid;place-items:center;width:42px;height:42px;padding:3px;border-radius:50%;background:conic-gradient(#fff calc(var(--mpg-complete,0)*1turn),rgba(255,255,255,.18) 0)}
html.ui3 .mpg-launch-ring>span{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:var(--u-ink)}
html.ui3 .mpg-launch-ring svg{width:18px;height:18px}
html.ui3 .mpg-launch-copy{display:block;min-width:0;text-align:left}
html.ui3 .mpg-launch-copy b{display:block;font-size:13px;font-weight:700;line-height:1.2}
html.ui3 .mpg-launch-copy small{display:block;max-width:140px;margin-top:2px;overflow:hidden;font-size:12px;font-weight:500;line-height:1.25;color:var(--u-on-sub);text-overflow:ellipsis;white-space:nowrap}
html.ui3 .mpg-launcher>em{min-width:30px;padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.16);font-size:11px;font-style:normal;font-weight:700;text-align:center;color:#fff}
html.ui3 .mpg-launcher-x{position:fixed;z-index:156;right:14px;bottom:70px;display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:var(--u-white);color:var(--u-ink);font-size:12px;line-height:1;box-shadow:0 4px 12px rgba(16,24,40,.16);cursor:pointer}
html.ui3 .mpg-panel{position:fixed;z-index:155;right:max(20px,env(safe-area-inset-right));bottom:max(86px,calc(env(safe-area-inset-bottom) + 80px));display:flex;flex-direction:column;width:min(700px,calc(100vw - 316px));max-width:calc(100vw - 32px);height:min(700px,calc(100dvh - 116px));min-height:0;overflow:hidden;border-radius:30px;background:#eef0f5;color:var(--u-text);box-shadow:0 30px 80px rgba(16,24,40,.24);animation:u-pop .2s ease}
html.ui3 .mpg-panel[hidden]{display:none}
html.ui3 .mpg-launcher[hidden]~.mpg-panel{bottom:20px}
html.ui3 .mpg-panel-head{position:relative;flex:none;padding:20px 22px 14px}
html.ui3 .mpg-panel-brand{display:flex;align-items:center;gap:12px;padding-right:46px}
html.ui3 .mpg-panel-brand>span{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:50%;background:var(--u-ink);color:#fff}
html.ui3 .mpg-panel-brand>span svg{width:19px;height:19px}
html.ui3 .mpg-panel-brand p{margin:0 0 2px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--u-muted)}
html.ui3 .mpg-panel-brand h2{margin:0;font:700 20px/1.2 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
html.ui3 .mpg-icon-btn{display:grid;place-items:center;flex:none;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:var(--u-white);color:var(--u-ink);cursor:pointer}
html.ui3 .mpg-icon-btn svg{width:17px;height:17px}
html.ui3 .mpg-panel-head>.mpg-close{position:absolute;top:20px;right:20px}
html.ui3 .mpg-panel-head>p{max-width:600px;margin:10px 0 12px;font-size:13.5px;line-height:1.5;color:var(--u-muted)}
html.ui3 .mpg-surface-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:999px;background:var(--u-white)}
html.ui3 .mpg-surface-tab{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:38px;padding:7px 12px;border:0;border-radius:999px;background:none;font:600 13px var(--u-font);color:var(--u-text);cursor:pointer}
html.ui3 .mpg-surface-tab svg{width:16px;height:16px;flex:none}
html.ui3 .mpg-surface-tab span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ui3 .mpg-surface-tab.is-active{background:var(--u-ink);color:#fff}
html.ui3 .mpg-panel-progress{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:10px}
html.ui3 .mpg-panel-progress:not([hidden]){margin-top:12px}
html.ui3 .mpg-panel-progress[hidden]{display:none}
html.ui3 .mpg-panel-progress>span{display:block;width:112px;height:6px;overflow:hidden;border-radius:999px;background:var(--u-white)}
html.ui3 .mpg-panel-progress>span i{display:block;width:calc(var(--mpg-progress,0)*100%);height:100%;border-radius:inherit;background:var(--u-ink)}
html.ui3 .mpg-panel-progress>b{font-size:12px;font-weight:600;color:var(--u-text)}
html.ui3 .mpg-panel-progress>button,html.ui3 .mpg-link-btn{justify-self:end;padding:6px 10px;border:0;border-radius:999px;background:none;font:600 12.5px var(--u-font);color:var(--u-ink);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
html.ui3 .mpg-panel-progress>button:disabled{opacity:.55;cursor:wait}
html.ui3 .mpg-panel-body{display:grid;grid-template-columns:200px minmax(0,1fr);flex:1;min-height:0;margin:0 12px 12px;overflow:hidden;border-radius:var(--u-r-md);background:var(--u-white)}
html.ui3 .mpg-panel-body[hidden]{display:none}
html.ui3 .mpg-lesson-nav{min-width:0;overflow-y:auto;padding:10px 8px;border-right:1px solid var(--u-line);scrollbar-width:none}
html.ui3 .mpg-lesson-tab{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;width:100%;min-height:42px;margin:1px 0;padding:5px 8px 5px 5px;border:0;border-radius:999px;background:none;font-family:var(--u-font);color:var(--u-text);text-align:left;cursor:pointer}
html.ui3 .mpg-lesson-tab>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--u-card);color:var(--u-ink)}
html.ui3 .mpg-lesson-tab svg{width:15px;height:15px}
html.ui3 .mpg-lesson-tab b{min-width:0;overflow:hidden;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
html.ui3 .mpg-lesson-tab i{grid-column:2;margin-top:-6px;font-size:10.5px;font-style:normal;font-weight:600;color:var(--u-muted)}
html.ui3 .mpg-lesson-tab:hover{background:var(--u-card)}
html.ui3 .mpg-lesson-tab.is-active{background:var(--u-canvas)}
html.ui3 .mpg-lesson-tab.is-active>span{background:var(--u-ink);color:#fff}
html.ui3 .mpg-lesson-content{min-width:0;overflow-y:auto;padding:22px 24px 26px;outline:0;scrollbar-width:none}
html.ui3 .mpg-eyebrow{display:block;margin:0 0 6px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--u-muted)}
html.ui3 .mpg-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 20px;border:0;border-radius:999px;font:600 14px/1.1 var(--u-font);cursor:pointer}
html.ui3 .mpg-btn svg{width:16px;height:16px}
html.ui3 .mpg-btn-primary{background:var(--u-ink);color:#fff}
html.ui3 .mpg-btn-primary:hover{background:#25272d}
html.ui3 .mpg-btn-secondary{background:var(--u-white);color:var(--u-ink);box-shadow:inset 0 0 0 1px var(--u-line)}
html.ui3 .mpg-guide-lead{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;padding:16px;border-radius:var(--u-r-sm);background:var(--u-card)}
html.ui3 .mpg-guide-lead>span{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--u-ink);color:#fff}
html.ui3 .mpg-guide-lead>span svg{width:20px;height:20px}
html.ui3 .mpg-guide-lead p{margin:0 0 4px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--u-muted)}
html.ui3 .mpg-guide-lead h3{margin:0;font:700 16px/1.3 var(--u-font);color:var(--u-ink)}
html.ui3 .mpg-guide-lead b{display:block;margin-top:4px;font-size:13px;font-weight:400;line-height:1.5;color:var(--u-muted)}
html.ui3 .mpg-guide-lead.is-complete>span{background:var(--u-green)}
html.ui3 .mpg-start-section{margin-top:18px}
html.ui3 .mpg-start-section.is-optional{margin-top:22px;padding-top:18px;border-top:1px solid var(--u-line)}
html.ui3 .mpg-start-heading>b{display:block;font-size:13.5px;font-weight:700;color:var(--u-ink)}
html.ui3 .mpg-start-heading>p{margin:4px 0 0;font-size:13px;line-height:1.5;color:var(--u-muted)}
html.ui3 .mpg-start-list{display:grid;gap:6px;margin-top:10px}
html.ui3 .mpg-start-row{display:grid;grid-template-columns:38px minmax(0,1fr) 20px;align-items:center;gap:10px;min-height:60px;padding:9px 12px 9px 10px;border:0;border-radius:var(--u-r-sm);background:var(--u-card);font-family:var(--u-font);color:inherit;text-align:left;cursor:pointer}
html.ui3 .mpg-start-row:hover{background:var(--u-canvas)}
html.ui3 .mpg-start-state{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--u-white);color:var(--u-muted)}
html.ui3 .mpg-start-state svg{width:16px;height:16px}
html.ui3 .mpg-start-row.is-complete .mpg-start-state{background:var(--u-green);color:#fff}
html.ui3 .mpg-start-row.is-current .mpg-start-state{background:var(--u-ink);color:#fff}
html.ui3 .mpg-start-row.is-attention .mpg-start-state{background:var(--u-amber);color:#fff}
html.ui3 .mpg-start-row>span:nth-child(2){min-width:0}
html.ui3 .mpg-start-row b{display:flex;align-items:center;gap:6px;font-size:13.5px;font-weight:700;color:var(--u-ink)}
html.ui3 .mpg-start-row b em{padding:2px 7px;border-radius:999px;background:var(--u-white);font-size:10.5px;font-style:normal;font-weight:600;color:var(--u-muted)}
html.ui3 .mpg-start-row small{display:block;margin-top:2px;font-size:12.5px;line-height:1.45;color:var(--u-muted)}
html.ui3 .mpg-start-row>i{font-style:normal;color:var(--u-muted)}
html.ui3 .mpg-start-row>i svg{width:15px;height:15px}
html.ui3 .mpg-page-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:16px;border-radius:50%;background:var(--u-ink);color:#fff}
html.ui3 .mpg-page-icon svg{width:21px;height:21px}
html.ui3 .mpg-page-lesson h3{margin:0;font:700 24px/1.15 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
html.ui3 .mpg-page-summary{margin:8px 0 18px;font-size:14px;line-height:1.55;color:var(--u-muted)}
html.ui3 .mpg-page-points{display:grid;gap:6px;margin:0;padding:0;list-style:none}
html.ui3 .mpg-page-points li{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:10px;padding:12px 14px;border-radius:var(--u-r-sm);background:var(--u-card)}
html.ui3 .mpg-page-points li>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--u-white);font-size:11px;font-weight:700;color:var(--u-ink)}
html.ui3 .mpg-page-points p{margin:2px 0 0;font-size:13.5px;line-height:1.5;color:var(--u-text)}
html.ui3 .mpg-guide-tip{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:10px;margin-top:12px;padding:12px 14px;border-radius:var(--u-r-sm);box-shadow:inset 0 0 0 1px var(--u-line)}
html.ui3 .mpg-guide-tip>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--u-card);color:var(--u-ink)}
html.ui3 .mpg-guide-tip svg{width:15px;height:15px}
html.ui3 .mpg-guide-tip p{margin:0;font-size:13px;line-height:1.5;color:var(--u-muted)}
html.ui3 .mpg-guide-tip b{margin-right:4px;color:var(--u-ink)}
html.ui3 .mpg-anchor-fallback{margin-top:12px;padding:10px 14px;border-radius:var(--u-r-sm);background:#fbf1e1;font-size:13px;line-height:1.45;color:var(--u-text)}
html.ui3 .mpg-show-btn{width:100%;margin-top:16px}
html.ui3 .mpg-support-pane{display:flex;flex:1;flex-direction:column;gap:8px;min-width:0;min-height:0;padding:0 12px 12px}
html.ui3 .mpg-support-pane[hidden]{display:none}
html.ui3 .mpg-support-live{display:flex;flex:1;flex-direction:column;gap:8px;min-width:0;min-height:0}
html.ui3 .mpg-support-live[hidden]{display:none}
html.ui3 .mpg-support-live-bar{display:flex;flex:none;align-items:center;gap:8px;flex-wrap:wrap}
html.ui3 .mpg-support-live-bar[hidden]{display:none}
html.ui3 .mpg-support-live-bar>span{font-size:12.5px;color:var(--u-muted)}
html.ui3 .mpg-support-stage{position:relative;flex:1;min-width:0;min-height:0;overflow:hidden;border-radius:var(--u-r-md);background:var(--u-white)}
html.ui3 .mpg-tawk-host{position:absolute;inset:0;overflow:hidden;visibility:hidden;pointer-events:none;background:var(--u-white)}
html.ui3 .mpg-tawk-host.is-interactive{visibility:visible;pointer-events:auto}
html.ui3 .mpg-support-state{position:absolute;z-index:3;inset:0;display:grid;place-items:center;padding:26px;background:var(--u-white)}
html.ui3 .mpg-support-state[hidden]{display:none}
html.ui3 .mpg-support-message{display:flex;flex-direction:column;align-items:center;width:min(360px,100%);text-align:center}
html.ui3 .mpg-support-message>span:not(.mpg-support-loader){display:grid;place-items:center;width:48px;height:48px;margin-bottom:14px;border-radius:50%;background:var(--u-ink);color:#fff}
html.ui3 .mpg-support-message>span svg{width:21px;height:21px}
html.ui3 .mpg-support-message h3{margin:0;font:700 18px var(--u-font);color:var(--u-ink)}
html.ui3 .mpg-support-message p{margin:6px 0 0;font-size:13.5px;line-height:1.5;color:var(--u-muted)}
html.ui3 .mpg-support-message .mpg-btn{margin-top:16px}
html.ui3 .mpg-support-loader{width:32px;height:32px;margin-bottom:16px;border:3px solid var(--u-card);border-top-color:var(--u-ink);border-radius:50%;animation:u-spin .8s linear infinite}
html.ui3 .mpg-support-privacy{flex:none;margin:0;padding:0 6px;font-size:11.5px;line-height:1.45;text-align:center;color:var(--u-muted)}
html.ui3 .mpg-support-privacy a{font-weight:600;color:var(--u-ink);text-underline-offset:2px}
html.ui3 .mpg-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html.ui3 .mpg-ai{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border-radius:var(--u-r-md);background:var(--u-white)}
html.ui3 .mpg-ai[hidden]{display:none}
html.ui3 .mpg-ai-head{display:grid;grid-template-columns:auto minmax(0,1fr);flex:none;align-items:center;gap:11px;padding:14px 16px;border-bottom:1px solid var(--u-line)}
html.ui3 .mpg-ai-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--u-ink);color:#fff}
html.ui3 .mpg-ai-mark svg{width:17px;height:17px}
html.ui3 .mpg-ai-copy{min-width:0}
html.ui3 .mpg-ai-copy h3{display:flex;align-items:center;gap:7px;min-width:0;margin:0;font:700 15px var(--u-font);color:var(--u-ink)}
html.ui3 .mpg-ai-copy h3>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ui3 .mpg-ai-pill{flex:none;padding:2px 8px;border-radius:999px;background:var(--u-ink);font-size:10.5px;font-style:normal;font-weight:700;color:#fff}
html.ui3 .mpg-ai-copy p{margin:2px 0 0;font-size:12.5px;line-height:1.45;color:var(--u-muted)}
html.ui3 .mpg-ai-log{display:flex;flex:1;flex-direction:column;gap:10px;min-height:120px;overflow-y:auto;padding:16px;outline:0;scrollbar-width:none}
html.ui3 .mpg-ai-log:focus-visible{box-shadow:inset 0 0 0 2px var(--u-ink)}
html.ui3 .mpg-ai-msg{display:flex;flex-direction:column;gap:3px;max-width:86%}
html.ui3 .mpg-ai-msg.is-assistant{align-self:flex-start}
html.ui3 .mpg-ai-msg.is-user{align-self:flex-end;align-items:flex-end}
html.ui3 .mpg-ai-who{padding:0 4px;font-size:11px;font-weight:600;color:var(--u-muted)}
html.ui3 .mpg-ai-bubble{min-width:0;padding:10px 14px;border-radius:18px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
html.ui3 .mpg-ai-msg.is-assistant .mpg-ai-bubble{border-bottom-left-radius:6px;background:var(--u-card);color:var(--u-ink)}
html.ui3 .mpg-ai-msg.is-user .mpg-ai-bubble{border-bottom-right-radius:6px;background:var(--u-ink);color:#fff}
html.ui3 .mpg-ai-msg.is-typing .mpg-ai-bubble{display:flex;gap:4px;padding:13px 14px}
html.ui3 .mpg-ai-msg.is-typing i{width:6px;height:6px;border-radius:50%;background:var(--u-muted);animation:u-ai-dot 1s ease-in-out infinite}
html.ui3 .mpg-ai-msg.is-typing i:nth-child(2){animation-delay:.15s}
html.ui3 .mpg-ai-msg.is-typing i:nth-child(3){animation-delay:.3s}
html.ui3 .mpg-ai-system{display:flex;align-items:center;gap:8px;align-self:stretch;padding:9px 12px;border-radius:var(--u-r-sm);font-size:12.5px;font-weight:600;line-height:1.4}
html.ui3 .mpg-ai-system svg{width:15px;height:15px;flex:none}
html.ui3 .mpg-ai-system.is-escalated{background:#e3f2ea;color:var(--u-ink)}
html.ui3 .mpg-ai-system.is-error{justify-content:space-between;background:var(--u-red-soft);color:var(--u-ink)}
html.ui3 .mpg-ai-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;flex:none;align-items:end;gap:8px;padding:10px 12px;border-top:1px solid var(--u-line)}
html.ui3 .mpg-ai-input{box-sizing:border-box;min-width:0;height:44px;max-height:120px;padding:11px 16px;resize:none;border:1px solid var(--u-line);border-radius:22px;background:var(--u-white);font:500 14px/1.4 var(--u-font);color:var(--u-ink);outline:0;scrollbar-width:none}
html.ui3 .mpg-ai-input:focus{border-color:var(--u-ink)}
html.ui3 .mpg-ai-input:disabled{opacity:.7}
html.ui3 .mpg-ai-send{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--u-ink);color:#fff;cursor:pointer}
html.ui3 .mpg-ai-send svg{width:17px;height:17px}
html.ui3 .mpg-ai-send:disabled{opacity:.45;cursor:default}
html.ui3 .mpg-ai-foot{display:flex;flex:none;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px 12px}
html.ui3 .mpg-ai-disclosure{min-width:0;margin:0;font-size:12px;line-height:1.4;color:var(--u-muted)}
html.ui3 .mpg-ai-live-btn{display:none} /* za sada bez „Pišite timu uživo": AI svakako prosleđuje timu mejlom (Nemanja 07.10) */
html.ui3 .mpg-mobile-backdrop{position:fixed;z-index:150;inset:0;background:rgba(30,34,44,.35);backdrop-filter:blur(3px)}
html.ui3 .mpg-mobile-backdrop[hidden]{display:none}
html.ui3 .mpg-coach{position:fixed;z-index:165;top:0;left:0;width:min(360px,calc(100vw - 24px));padding:18px;border-radius:var(--u-r-md);background:var(--u-white);color:var(--u-text);font-family:var(--u-font);box-shadow:0 24px 60px rgba(16,24,40,.22);will-change:transform}
html.ui3 .mpg-coach[hidden]{display:none}
html.ui3 .mpg-coach::before{content:"";position:absolute;left:calc(var(--mpg-arrow-x,40px) - 7px);width:14px;height:14px;background:var(--u-white);transform:rotate(45deg)}
html.ui3 .mpg-coach[data-side="top"]::before{top:-6px}
html.ui3 .mpg-coach[data-side="bottom"]::before{bottom:-6px}
html.ui3 .mpg-coach>b{display:block;padding-right:28px;font-size:15px;font-weight:700;line-height:1.3;color:var(--u-ink)}
html.ui3 .mpg-coach>p{margin:6px 0 14px;font-size:13.5px;line-height:1.5;color:var(--u-muted)}
html.ui3 .mpg-coach>.mpg-btn{min-height:40px;padding:9px 16px;font-size:13.5px}
html.ui3 .mpg-coach-close{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:var(--u-card);color:var(--u-ink);cursor:pointer}
html.ui3 .mpg-coach-close svg{width:14px;height:14px}
html.ui3 .mpg-root.mpg-min .mpg-launcher{min-width:0;opacity:.92;transform:translateX(calc(100% - 50px))}
html.ui3 .mpg-root.mpg-min .mpg-launcher:hover{opacity:1;transform:translateX(calc(100% - 58px))}
html.ui3 .mpg-root.mpg-min .mpg-launch-copy,html.ui3 .mpg-root.mpg-min .mpg-launcher>em,html.ui3 .mpg-root.mpg-min .mpg-launcher-x,html.ui3 .mpg-root.mpg-min .mpg-panel{display:none}
html.ui3 .mpg-icon-btn:focus-visible,html.ui3 .mpg-link-btn:focus-visible,html.ui3 .mpg-btn:focus-visible,html.ui3 .mpg-start-row:focus-visible,html.ui3 .mpg-lesson-tab:focus-visible,html.ui3 .mpg-surface-tab:focus-visible,html.ui3 .mpg-panel-progress button:focus-visible,html.ui3 .mpg-launcher:focus-visible,html.ui3 .mpg-coach-close:focus-visible,html.ui3 .mpg-ai-send:focus-visible{outline:2px solid rgba(13,14,17,.28);outline-offset:2px}
html.ui3 .mpg-surface-tab.is-active:focus-visible{outline-color:rgba(255,255,255,.7);outline-offset:-5px}
/* 08.10: UI3 toast (#uToasts) iznad dugmeta vodiča dole desno — bio je preko „Vodič i podrška“ (pravila su gađala samo stari #vpToasts) */
html.ui3 body.moonya-guide-ready:not(.u-rv-open) :is(#vpToasts,#uToasts:not(.is-top)){bottom:calc(max(88px,var(--moonya-guide-stack-height,88px)) + 12px);transition:bottom .2s ease,right .2s ease}
@media (min-width:1180px){html.ui3 body.moonya-guide-open:not(.u-rv-open) :is(#vpToasts,#uToasts:not(.is-top)){right:calc(var(--moonya-guide-panel-width,0px) + 40px);bottom:20px}}
@media (max-width:1050px){html.ui3 .mpg-panel{width:min(680px,calc(100vw - 42px))}}
@media (max-width:680px){html.ui3 .mpg-launcher{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));grid-template-columns:auto;min-height:54px;padding:6px}html.ui3 .mpg-launch-copy{display:none}html.ui3 .mpg-launcher>em{position:absolute;top:-6px;right:-6px;min-width:26px;padding:3px 6px;border:2px solid var(--u-white);background:var(--u-ink)}html.ui3 .mpg-launcher-x{right:8px;bottom:64px}html.ui3 .mpg-panel{z-index:160;inset:auto 0 0;width:100%;max-width:none;height:min(88dvh,760px);border-radius:30px 30px 0 0;padding-bottom:env(safe-area-inset-bottom)}html.ui3 .mpg-panel-head{padding:18px 16px 12px}html.ui3 .mpg-panel-head>.mpg-close{top:16px;right:14px}html.ui3 .mpg-panel-body{display:flex;flex-direction:column;margin:0 8px 8px}html.ui3 .mpg-lesson-nav{display:flex;flex:none;gap:6px;overflow-x:auto;overflow-y:hidden;padding:8px 10px;border-right:0;border-bottom:1px solid var(--u-line)}html.ui3 .mpg-lesson-tab{grid-template-columns:30px auto;flex:none;width:auto;min-width:max-content;min-height:40px}html.ui3 .mpg-lesson-tab>span{width:30px;height:30px}html.ui3 .mpg-lesson-tab i{display:none}html.ui3 .mpg-lesson-content{padding:18px 16px 24px}html.ui3 .mpg-support-pane{padding:0 8px calc(8px + env(safe-area-inset-bottom))}html.ui3 .mpg-ai-log{min-height:64px;padding:12px}html.ui3 .mpg-ai-msg{max-width:92%}html.ui3 .mpg-ai-input{font-size:16px}html.ui3 .mpg-ai-foot{flex-direction:column;align-items:stretch;gap:6px}html.ui3 .mpg-page-lesson h3{font-size:22px}html.ui3 body.moonya-guide-open #vpToasts{bottom:min(var(--moonya-guide-stack-height,88px),calc(100dvh - 150px))}}
@media (max-width:380px){html.ui3 .mpg-panel-progress{grid-template-columns:auto 1fr}html.ui3 .mpg-panel-progress>b{display:none}html.ui3 .mpg-guide-lead{grid-template-columns:1fr}html.ui3 .mpg-start-row{grid-template-columns:36px minmax(0,1fr)}html.ui3 .mpg-start-row>i{display:none}}
/* ===== Brain, brend i nalog (UI3, ui3-brand.js): lepljiva kartica brenda + sekcije bez tabova; stari settings/brain CSS isključen ===== */
html.ui3 #v-settings .stv2-command,html.ui3 #v-settings .stv2-shell,html.ui3 #v-settings .u-bp-legacy-hidden{display:none}
html.ui3 #v-settings .stv2-page{max-width:none;margin:0;padding:0}
html.ui3 #v-settings .u-bp{display:grid;grid-template-columns:272px minmax(0,1fr);gap:22px;align-items:start;font-family:var(--u-font);color:var(--u-text)}
html.ui3 #v-settings .u-bp-card{position:sticky;top:16px;display:flex;flex-direction:column;gap:16px;padding:20px;border-radius:var(--u-r-lg);background:var(--u-white)}
html.ui3 #v-settings .u-bp-id{display:flex;align-items:center;gap:12px;min-width:0}
html.ui3 #v-settings .u-bp-id>div{min-width:0}
html.ui3 #v-settings .u-bp-id b{display:block;font-size:17px;font-weight:700;line-height:1.25;color:var(--u-ink);overflow-wrap:anywhere}
html.ui3 #v-settings .u-bp-id small{display:block;margin-top:2px;font-size:13px;color:var(--u-muted)}
html.ui3 #v-settings .u-bp-logo{display:grid;place-items:center;flex:none;width:56px;height:56px;overflow:hidden;border-radius:18px;background:var(--c,var(--u-ink));font-size:22px;font-weight:800;color:#fff}
html.ui3 #v-settings .u-bp-logo img{width:100%;height:100%;object-fit:contain;background:var(--u-white)}
html.ui3 #v-settings .u-bp-pal{display:flex;padding-left:2px}
html.ui3 #v-settings .u-bp-pal i{width:30px;height:30px;margin-right:-8px;border:3px solid var(--u-white);border-radius:50%;box-shadow:0 0 0 1px var(--u-line)}
html.ui3 #v-settings .u-bp-stats{display:grid;gap:8px}
html.ui3 #v-settings .u-bp-stat{--ring-bg:var(--u-card);display:flex;align-items:center;gap:12px;padding:10px;border:0;border-radius:var(--u-r-sm);background:var(--u-card);font-family:var(--u-font);color:var(--u-text);text-align:left;cursor:pointer}
html.ui3 #v-settings .u-bp-stat:hover{--ring-bg:var(--u-canvas);background:var(--u-canvas)}
html.ui3 #v-settings .u-bp-stat small{display:block;font-size:12px;color:var(--u-muted)}
html.ui3 #v-settings .u-bp-stat b{display:block;font-size:14px;font-weight:700;color:var(--u-ink)}
html.ui3 #v-settings .u-bp-ring{--p:0;position:relative;display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:50%;background:conic-gradient(var(--u-ink) calc(var(--p)*1%),var(--u-line) 0)}
html.ui3 #v-settings .u-bp-ring::before{content:"";position:absolute;inset:5px;border-radius:50%;background:var(--ring-bg,var(--u-white))}
html.ui3 #v-settings .u-bp-ring b{position:relative;font-size:13px;font-weight:800;color:var(--u-ink);font-variant-numeric:tabular-nums}
html.ui3 #v-settings .u-bp-ring b i{font-size:9px;font-style:normal}
html.ui3 #v-settings .u-bp-plan-ic{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:50%;background:var(--u-ink);color:#fff}
html.ui3 #v-settings .u-bp-plan-ic svg{width:18px;height:18px}
html.ui3 #v-settings .u-bp-nav{display:flex;flex-direction:column;gap:2px;padding-top:14px;border-top:1px solid var(--u-line)}
html.ui3 #v-settings .u-bp-nav a{display:flex;align-items:center;gap:10px;padding:6px 10px 6px 6px;border-radius:999px;font-size:14px;font-weight:600;color:var(--u-text);text-decoration:none}
html.ui3 #v-settings .u-bp-nav a>span:first-child{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--u-card);color:var(--u-ink)}
html.ui3 #v-settings .u-bp-nav a svg{width:16px;height:16px}
html.ui3 #v-settings .u-bp-nav a:hover{background:var(--u-card)}
html.ui3 #v-settings .u-bp-nav a.is-on{background:var(--u-ink);color:#fff}
html.ui3 #v-settings .u-bp-nav a.is-on>span:first-child{background:rgba(255,255,255,.14);color:#fff}
html.ui3 #v-settings .u-bp-main{display:flex;flex-direction:column;gap:40px;min-width:0}
html.ui3 #v-settings .u-bp-sec{display:flex;flex-direction:column;gap:14px;scroll-margin-top:16px}
html.ui3 #v-settings .u-bp-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}
html.ui3 #v-settings .u-bp-head h2{margin:0;font:700 28px/1.1 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
html.ui3 #v-settings .u-bp-head p{max-width:62ch;margin:6px 0 0;font-size:14px;line-height:1.5;color:var(--u-muted)}
html.ui3 #v-settings .u-bp-head .u-btn svg{width:16px;height:16px}
html.ui3 #v-settings .u-bp-body{display:flex;flex-direction:column;gap:14px}
html.ui3 #v-settings .u-bp-grp{padding:22px;border-radius:var(--u-r-lg);background:var(--u-white)}
html.ui3 #v-settings .u-bp-grp-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
html.ui3 #v-settings .u-bp-grp-head h3{margin:0;font:700 17px/1.3 var(--u-font);color:var(--u-ink)}
html.ui3 #v-settings .u-bp-grp-head p{margin:4px 0 0;font-size:13.5px;line-height:1.5;color:var(--u-muted)}
html.ui3 #v-settings .u-bp-grp-head .u-btn svg{width:15px;height:15px}
html.ui3 #v-settings .hint,html.ui3 #v-settings .stv2-hint{font-size:13px;line-height:1.5;color:var(--u-muted)}
html.ui3 #v-settings .fsub{display:block;margin:0;font:600 13px var(--u-font);color:var(--u-ink)}
html.ui3 #v-settings .u-bp :is(input,textarea).u-field{box-sizing:border-box;width:100%;max-width:none;padding:12px 14px;border:1px solid transparent;border-radius:var(--u-r-sm);background:var(--u-card);font:500 14px/1.5 var(--u-font);color:var(--u-ink);outline:0;transition:background .15s ease,border-color .15s ease}
html.ui3 #v-settings .u-bp :is(input,textarea).u-field:hover{background:var(--u-canvas)}
html.ui3 #v-settings .u-bp :is(input,textarea).u-field:focus{border-color:var(--u-ink);background:var(--u-white)}
html.ui3 #v-settings .u-bp :is(input,textarea).u-field:disabled{opacity:.6;cursor:not-allowed}
html.ui3 #v-settings .u-bp textarea.u-field{min-height:88px;resize:vertical}
html.ui3 #v-settings .u-bp-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
html.ui3 #v-settings .u-bp-field{display:flex;flex-direction:column;gap:7px;margin:0}
html.ui3 #v-settings .u-bp-field.is-wide{grid-column:1/-1}
html.ui3 #v-settings .u-bp-power-top{display:flex;align-items:center;gap:14px;margin-bottom:14px}
html.ui3 #v-settings .u-bp-power .u-bp-ring{width:60px;height:60px}
html.ui3 #v-settings .u-bp-power .u-bp-ring b{font-size:15px}
html.ui3 #v-settings .u-bp-power h3{margin:0;font:700 17px var(--u-font);color:var(--u-ink)}
html.ui3 #v-settings .u-bp-power p{margin:4px 0 0;font-size:13.5px;line-height:1.5;color:var(--u-muted)}
html.ui3 #v-settings .u-bp-power-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}
html.ui3 #v-settings .u-bp-power-list li{display:flex;align-items:center;gap:12px;padding:8px 8px 8px 10px;border-radius:var(--u-r-sm);background:var(--u-card)}
html.ui3 #v-settings .u-bp-power-list li.is-done{opacity:.55}
html.ui3 #v-settings .u-bp-pts{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:var(--u-white);font-size:12px;font-weight:700;color:var(--u-ink)}
html.ui3 #v-settings .u-bp-power-list li.is-done .u-bp-pts{background:var(--u-green);color:#fff}
html.ui3 #v-settings .u-bp-pts svg{width:15px;height:15px}
html.ui3 #v-settings .u-bp-power-lb{flex:1;min-width:0;font-size:14px;color:var(--u-text)}
@media (max-width:480px){html.ui3 #v-settings .u-bp-power-list li{flex-wrap:wrap}html.ui3 #v-settings .u-bp-power-list li .u-btn{margin-left:46px}}
html.ui3 #v-settings .u-bp-src-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
html.ui3 #v-settings .u-bp-tile{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:0;padding:18px;border-radius:var(--u-r-md);background:var(--u-card)}
html.ui3 #v-settings .u-bp-tile-ic{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--u-ink);color:#fff}
html.ui3 #v-settings .u-bp-tile-ic svg{width:19px;height:19px}
html.ui3 #v-settings .u-bp-tile .fsub{font-size:15px;font-weight:700}
html.ui3 #v-settings .brain-site-settings-copy{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
html.ui3 #v-settings .brain-site-settings-copy p{margin:0;font-size:13px;line-height:1.5;color:var(--u-muted)}
html.ui3 #v-settings #brainWebsiteStatus{display:inline-flex;padding:4px 11px;border-radius:999px;background:var(--u-white);font-size:12px;font-weight:600;color:var(--u-ink)}
html.ui3 #v-settings #brainWebsiteStatus:empty{display:none}
html.ui3 #v-settings #br_doc_row{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
html.ui3 #v-settings .u-bp-tile-acts{display:flex;gap:8px;flex-wrap:wrap}
html.ui3 #v-settings .u-bp-ok{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--u-ink)}
html.ui3 #v-settings .u-bp-ok svg{width:16px;height:16px;padding:3px;border-radius:50%;background:var(--u-green);color:#fff}
html.ui3 #v-settings .u-bp-sources{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
html.ui3 #v-settings .u-bp-sources>.brv2-source:nth-child(2){display:none}
html.ui3 #v-settings .brv2-source{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px;border-radius:var(--u-r-sm);box-shadow:inset 0 0 0 1px var(--u-line)}
html.ui3 #v-settings .brv2-status{position:absolute;top:16px;right:16px;width:8px;height:8px;border-radius:50%;background:var(--u-line)}
html.ui3 #v-settings .brv2-source.on .brv2-status{background:var(--u-green)}
html.ui3 #v-settings .brv2-source-top{display:flex;align-items:center;gap:10px;min-width:0;padding-right:16px}
html.ui3 #v-settings .brv2-source-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:var(--u-card);color:var(--u-ink)}
html.ui3 #v-settings .brv2-source-icon svg{width:16px;height:16px}
html.ui3 #v-settings .brv2-source-title{min-width:0}
html.ui3 #v-settings .brv2-source-title b{display:block;font-size:14px;color:var(--u-ink);overflow-wrap:anywhere}
html.ui3 #v-settings .brv2-source-title span{display:block;font-size:12.5px;color:var(--u-muted)}
html.ui3 #v-settings .brv2-source p{margin:0;font-size:12.5px;line-height:1.45;color:var(--u-muted)}
html.ui3 #v-settings .brv2-remove{padding:0;border:0;background:none;font:600 12.5px var(--u-font);color:var(--u-red);cursor:pointer}
html.ui3 #v-settings .u-bp-pb .brv2-section{display:flex;flex-direction:column;gap:16px}
html.ui3 #v-settings .brv2-sec-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
html.ui3 #v-settings .brv2-sec-head h3{margin:0;font:700 17px/1.3 var(--u-font);color:var(--u-ink)}
html.ui3 #v-settings .brv2-sec-head p{margin:4px 0 0;font-size:13.5px;color:var(--u-muted)}
html.ui3 #v-settings .brv2-tag{flex:none;padding:4px 10px;border-radius:999px;background:var(--u-card);font-size:11.5px;font-weight:600;color:var(--u-muted);white-space:nowrap}
html.ui3 #v-settings .brv2-playbook{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px}
html.ui3 #v-settings .brv2-summary{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:var(--u-r-md);background:var(--u-ink);color:#fff}
html.ui3 #v-settings .brv2-summary-kicker{display:flex;justify-content:space-between;gap:8px;font-size:12px;font-weight:600;color:var(--u-on-sub)}
html.ui3 #v-settings .brv2-summary-body{font-size:14px;line-height:1.55}
html.ui3 #v-settings .brv2-summary-foot{font-size:12px;color:var(--u-on-sub)}
html.ui3 #v-settings .brv2-summary-foot i{display:none}
html.ui3 #v-settings .brv2-insights{display:grid;grid-template-columns:1fr 1fr;gap:12px}
html.ui3 #v-settings .brv2-insight-col{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:var(--u-r-md);background:var(--u-card)}
html.ui3 #v-settings .brv2-insight-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
html.ui3 #v-settings .brv2-insight-head b{font-size:14px;color:var(--u-ink)}
html.ui3 #v-settings .brv2-insight-head .brv2-tag{background:var(--u-white)}
html.ui3 #v-settings .brv2-insight-list{display:flex;flex-direction:column;gap:6px}
html.ui3 #v-settings .brv2-insight{display:flex;gap:8px;padding:9px 11px;border-radius:12px;background:var(--u-white);font-size:13px;line-height:1.45;color:var(--u-text)}
html.ui3 #v-settings .brv2-insight i{font-style:normal}
html.ui3 #v-settings .brv2-insight-list .empty{font-size:13px;line-height:1.5;color:var(--u-muted)}
html.ui3 #v-settings .brand-style-box{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start}
html.ui3 #v-settings .stv2-preview-wrap{display:grid;place-items:center;padding:14px;border-radius:var(--u-r-md);background:var(--u-card)}
html.ui3 #v-settings #brPreview{width:100%;max-width:222px;overflow:hidden;border-radius:14px}
html.ui3 #v-settings .stv2-note{display:none} /* „font biraš u Templejtovi" — tabova više nema, tipografija je odmah ispod */
html.ui3 #v-settings .u-bp-grp .u-btn-ghost{background:var(--u-card)}
html.ui3 #v-settings .u-bp-grp .u-btn-ghost:hover{background:var(--u-canvas)}
html.ui3 #v-settings .u-bp-tile .u-btn-ghost{background:var(--u-white)}
html.ui3 #v-settings .stv2-visual-side{display:flex;flex-direction:column;gap:6px;min-width:0}
html.ui3 #v-settings .stv2-visual-side>.fsub{font-size:17px;font-weight:700}
html.ui3 #v-settings .stv2-colors{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px;margin-bottom:18px}
html.ui3 #v-settings .stv2-color{position:relative;display:flex;align-items:center;gap:10px;margin:0;padding:6px 14px 6px 6px;border-radius:999px;background:var(--u-card);cursor:pointer}
html.ui3 #v-settings .stv2-color::before{content:"";flex:none;width:38px;height:38px;border-radius:50%;background:var(--sw,var(--u-line));box-shadow:inset 0 0 0 1px rgba(13,14,17,.12)}
html.ui3 #v-settings .stv2-color:hover{background:var(--u-canvas)}
html.ui3 #v-settings .stv2-color:focus-within{box-shadow:0 0 0 2px var(--u-ink)}
html.ui3 #v-settings .stv2-color input[type="color"]{position:absolute;top:6px;left:6px;width:38px;height:38px;margin:0;padding:0;border:0;opacity:0;cursor:pointer} /* izvorni birač ostaje (klik/tastatura), krug crta ::before */
html.ui3 #v-settings .stv2-color b{display:block;font-size:13px;font-weight:600;color:var(--u-ink)}
html.ui3 #v-settings .stv2-color em{font-size:12px;font-style:normal;color:var(--u-muted);font-variant-numeric:tabular-nums}
html.ui3 #v-settings .stv2-logo{display:flex;flex-direction:column;gap:6px;padding-top:18px;border-top:1px solid var(--u-line)}
html.ui3 #v-settings .stv2-logo>.fsub{font-size:17px;font-weight:700}
html.ui3 #v-settings .stv2-logo-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:6px 0}
html.ui3 #v-settings .stv2-logo-preview{display:grid;place-items:center;width:76px;height:76px;overflow:hidden;border-radius:20px;background:var(--u-card)}
html.ui3 #v-settings .stv2-logo-preview img{max-width:80%;max-height:80%;object-fit:contain}
html.ui3 #v-settings .stv2-logo-actions{display:flex;gap:8px;flex-wrap:wrap}
html.ui3 #v-settings .stv2-logo-empty,html.ui3 #v-settings .stv2-logo-status{font-size:13px;color:var(--u-muted)}
html.ui3 #v-settings .stv2-logo-help{margin:0}
html.ui3 #v-settings .stv2-logo-options{display:flex;gap:18px;flex-wrap:wrap;margin-top:8px}
html.ui3 #v-settings .stv2-logo-options[hidden]{display:none}
html.ui3 #v-settings .stv2-logo-opt{display:flex;flex-direction:column;gap:6px}
html.ui3 #v-settings .stv2-seg,html.ui3 #v-settings .vp-engine-variant-row [role="group"]{display:flex;gap:4px;width:fit-content;padding:4px;border-radius:999px;background:var(--u-card)}
html.ui3 #v-settings .stv2-seg button,html.ui3 #v-settings .vp-engine-variant-row [role="group"] button{padding:7px 14px;border:0;border-radius:999px;background:none;font:600 12.5px var(--u-font);color:var(--u-text);cursor:pointer}
html.ui3 #v-settings .stv2-seg button.on,html.ui3 #v-settings .vp-engine-variant-row [role="group"] button.on{background:var(--u-ink);color:#fff}
html.ui3 #v-settings .vp-engine-settings-head{display:none}
html.ui3 #v-settings .vp-engine-variant-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
html.ui3 #v-settings .settings-template-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:12px}
html.ui3 #v-settings .au-layout-pill{position:relative;display:flex;flex-direction:column;gap:8px;padding:8px;border:0;border-radius:var(--u-r-sm);background:var(--u-card);font-family:var(--u-font);color:var(--u-text);text-align:left;cursor:pointer;transition:transform .15s ease}
html.ui3 #v-settings .au-layout-pill:hover{transform:translateY(-2px)}
html.ui3 #v-settings .au-layout-pill.on{background:var(--u-ink);color:#fff}
html.ui3 #v-settings .au-layout-engine{display:block;aspect-ratio:4/5;overflow:hidden;border-radius:12px;background:var(--u-white)}
html.ui3 #v-settings .au-layout-engine.is-story{aspect-ratio:9/16}
html.ui3 #v-settings .au-layout-pill-name{padding:0 4px 4px;font-size:13px;font-weight:600}
html.ui3 #v-settings .au-layout-selected-badge{position:absolute;top:14px;left:14px;z-index:2;padding:3px 9px;border-radius:999px;background:var(--u-white);font-size:11px;font-weight:700;color:var(--u-ink)}
html.ui3 #v-settings .au-photo-first-note{padding:0 4px 4px;font-size:11.5px;color:var(--u-muted)}
html.ui3 #v-settings .au-layout-pill.on .au-photo-first-note{color:var(--u-on-sub)}
html.ui3 #v-settings .vp-engine-settings>.hint{display:none} /* „sva tri formata" — u novom izgledu su samo karusel i Story */
html.ui3 #v-settings .stv2-typography-head{display:flex;flex-direction:column;gap:4px;margin-bottom:16px}
html.ui3 #v-settings .stv2-typography-head b{font:700 17px var(--u-font);color:var(--u-ink)}
html.ui3 #v-settings .stv2-typography-head span{font-size:13.5px;line-height:1.5;color:var(--u-muted)}
html.ui3 #v-settings .set-font-pairs{display:grid;grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:10px}
html.ui3 #v-settings .set-font-pair{position:relative;display:flex;flex-direction:column;gap:2px;padding:16px;border:0;border-radius:var(--u-r-sm);background:var(--u-card);font-family:var(--u-font);color:var(--u-text);text-align:left;cursor:pointer;transition:transform .15s ease}
html.ui3 #v-settings .set-font-pair:hover{transform:translateY(-2px)}
html.ui3 #v-settings .set-font-pair.on{background:var(--u-ink);color:#fff}
html.ui3 #v-settings .set-font-pair-sample b{display:block;font-size:21px;line-height:1.1;color:inherit}
html.ui3 #v-settings .set-font-pair-sample i{display:block;margin-top:4px;font-size:13px;font-style:normal;opacity:.75}
html.ui3 #v-settings .set-font-pair-name{margin-top:8px;font-size:13px;font-weight:700}
html.ui3 #v-settings .set-font-pair-fonts{font-size:12px;opacity:.7}
html.ui3 #v-settings .set-font-pair-badge{position:absolute;top:10px;right:10px;padding:2px 8px;border-radius:999px;background:var(--u-white);font-size:10.5px;font-weight:700;color:var(--u-ink)}
html.ui3 #v-settings .set-ai-image-count{display:flex;flex-direction:column;gap:12px;margin:0}
html.ui3 #v-settings .set-ai-image-count>span{font-size:13.5px;line-height:1.5;color:var(--u-muted)}
html.ui3 #v-settings .set-ai-image-count .u-select{max-width:360px}
html.ui3 #v-settings .stv2-account-card h4{margin:0 0 4px;font:700 17px var(--u-font);color:var(--u-ink)}
html.ui3 #v-settings .stv2-card-desc{margin:0 0 14px;font-size:13.5px;line-height:1.5;color:var(--u-muted)}
html.ui3 #v-settings .stv2-account-card .stv2-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:12px}
html.ui3 #v-settings .stv2-account-card .stv2-field{display:flex;flex-direction:column;gap:7px}
html.ui3 #v-settings .stv2-timezone-combobox{position:relative}
html.ui3 #v-settings .stv2-timezone-control{position:relative;display:flex}
html.ui3 #v-settings .stv2-timezone-toggle{position:absolute;top:50%;right:8px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:none;color:var(--u-ink);cursor:pointer;transform:translateY(-50%)}
html.ui3 #v-settings .stv2-timezone-toggle svg{width:16px;height:16px}
html.ui3 #v-settings .stv2-timezone-options{position:absolute;z-index:20;top:calc(100% + 6px);left:0;right:0;max-height:260px;overflow:auto;padding:6px;border-radius:var(--u-r-sm);background:var(--u-white);box-shadow:0 18px 40px rgba(16,24,40,.16)}
html.ui3 #v-settings .stv2-timezone-options[hidden],html.ui3 #v-settings .stv2-timezone-empty[hidden]{display:none}
html.ui3 #v-settings .stv2-timezone-option{display:block;width:100%;padding:9px 12px;border:0;border-radius:12px;background:none;font:500 13.5px var(--u-font);color:var(--u-text);text-align:left;cursor:pointer}
html.ui3 #v-settings .stv2-timezone-option:hover,html.ui3 #v-settings .stv2-timezone-option[aria-selected="true"]{background:var(--u-card)}
html.ui3 #v-settings .stv2-timezone-current,html.ui3 #v-settings .stv2-timezone-field small{font-size:12.5px;line-height:1.45;color:var(--u-muted)}
html.ui3 #v-settings .stv2-timezone-error{font-size:12.5px;font-weight:600;color:var(--u-red)}
html.ui3 #v-settings .stv2-card-actions{display:flex;align-items:center;gap:12px;margin-top:16px}
html.ui3 #v-settings .stv2-network-list{display:flex;flex-direction:column;gap:6px}
html.ui3 #v-settings .mnp-row{display:flex;align-items:center;gap:12px;padding:10px 10px 10px 12px;border-radius:var(--u-r-sm);background:var(--u-card)}
html.ui3 #v-settings .mnp-copy{flex:1;min-width:0}
html.ui3 #v-settings .mnp-copy b{display:block;font-size:14px;color:var(--u-ink)}
html.ui3 #v-settings .mnp-copy span{display:block;font-size:12.5px;color:var(--u-muted);overflow-wrap:anywhere}
html.ui3 #v-settings .mnp-limit{display:inline-block;margin:0 8px 8px 0;padding:0;border:0;background:none;font:600 12.5px var(--u-font);font-style:normal;color:var(--u-muted)}
html.ui3 #v-settings .mnp-limit.full{color:var(--u-red)}
html.ui3 #v-settings .vp-danger{box-shadow:inset 0 0 0 1px var(--u-red-soft)}
html.ui3 #v-settings .vp-danger h3{margin:0 0 6px;font:700 17px var(--u-font);color:var(--u-red)}
html.ui3 #v-settings .vp-danger-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0 0;margin-top:14px;border-top:1px solid var(--u-line)}
html.ui3 #v-settings .vp-danger-row b{display:block;font-size:14px;color:var(--u-ink)}
html.ui3 #v-settings .vp-danger-row span{display:block;margin-top:2px;font-size:13px;line-height:1.45;color:var(--u-muted)}
html.ui3 #v-settings .vp-danger-row .u-btn{flex:none}
html.ui3 #v-settings .u-btn.is-danger{color:var(--u-red)}
html.ui3 #v-settings .u-bp-savebar{position:sticky;bottom:16px;z-index:30;display:flex;align-items:center;gap:12px;margin-top:-24px;padding:8px 8px 8px 18px;border-radius:999px;background:var(--u-ink);color:#fff;box-shadow:0 18px 40px rgba(13,14,17,.25);animation:u-pop .2s ease}
html.ui3 #v-settings .u-bp-savebar[hidden]{display:none}
html.ui3 #v-settings .u-bp-savebar>b{flex:1;font-size:14px;font-weight:600}
html.ui3 #v-settings .u-bp-savebar-dot{width:8px;height:8px;border-radius:50%;background:var(--u-amber)}
html.ui3 #v-settings .u-bp-savebar-acts{display:flex;gap:8px}
html.ui3 #v-settings .u-bp-savebar .u-btn-ghost{background:rgba(255,255,255,.12);color:#fff}
html.ui3 #v-settings .u-bp-savebar .u-btn-ink{background:var(--u-white);color:var(--u-ink)}
html.ui3 #v-settings .u-bp-savebar .u-btn svg{width:15px;height:15px}
html.ui3 #v-settings #billBox{display:flex;flex-direction:column;gap:14px}
html.ui3 #v-settings #billBox[aria-busy="true"]{opacity:.7}
html.ui3 #v-settings #billMsg:empty{display:none}
html.ui3 #v-settings .u-bill-now{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;padding:28px;border-radius:var(--u-r-xl);background:var(--u-ink);color:#fff}
html.ui3 #v-settings .u-bill-now-l{display:flex;flex-direction:column;align-items:flex-start}
html.ui3 #v-settings .u-bill-k{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--u-on-sub)}
html.ui3 #v-settings .u-bill-name{margin:8px 0 12px;font:800 48px/1 var(--u-font);letter-spacing:-.03em}
html.ui3 #v-settings .u-bill-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.12);font-size:12.5px;font-weight:600}
html.ui3 #v-settings .u-bill-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--u-green)}
html.ui3 #v-settings .u-bill-badge.is-warn::before{background:var(--u-amber)}
html.ui3 #v-settings .u-bill-badge.is-off::before{background:var(--u-red)}
html.ui3 #v-settings .u-bill-renew{margin-top:10px;font-size:13px;color:var(--u-on-sub)}
html.ui3 #v-settings .u-bill-portal{margin-top:auto;padding:11px 18px;background:rgba(255,255,255,.12);font-size:13.5px;color:#fff}
html.ui3 #v-settings .u-bill-portal:hover{background:rgba(255,255,255,.2)}
html.ui3 #v-settings .u-bill-now-l .u-bill-portal{margin-top:22px}
html.ui3 #v-settings .u-bill-now-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
html.ui3 #v-settings .u-bill-now-acts .u-bill-portal{margin-top:0}
html.ui3 #v-settings .u-bill-now-r{display:flex;flex-direction:column;justify-content:flex-end;gap:12px}
html.ui3 #v-settings .u-bill-meter b{display:block;font:800 56px/1 var(--u-font);letter-spacing:-.03em;font-variant-numeric:tabular-nums}
html.ui3 #v-settings .u-bill-meter span{display:block;margin-top:8px;font-size:14px;color:var(--u-on-sub)}
html.ui3 #v-settings .u-bill-extra{display:inline-flex;align-items:center;gap:6px;width:fit-content;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.12);font-size:12.5px;font-weight:600}
html.ui3 #v-settings .u-bill-extra svg{width:13px;height:13px}
html.ui3 #v-settings .u-bill-track{height:8px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.16)}
html.ui3 #v-settings .u-bill-track i{display:block;height:100%;border-radius:inherit;background:#fff;transition:width .4s ease}
html.ui3 #v-settings .u-bill-note{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 18px;border-radius:var(--u-r-md);background:var(--u-white);font-size:13.5px;line-height:1.5;color:var(--u-text)}
html.ui3 #v-settings .u-bill-note.is-trial{background:#fbf1e1}
html.ui3 #v-settings .u-bill-note.is-bad{background:var(--u-red-soft)}
html.ui3 #v-settings .u-bill-limits{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}
html.ui3 #v-settings .u-bill-limits>div{padding:14px 16px;border-radius:var(--u-r-md);background:var(--u-white)}
html.ui3 #v-settings .u-bill-limits span{display:block;font-size:12.5px;color:var(--u-muted)}
html.ui3 #v-settings .u-bill-limits b{display:block;margin-top:4px;font-size:19px;font-weight:700;color:var(--u-ink);font-variant-numeric:tabular-nums}
html.ui3 #v-settings .u-bill-costs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:13px;color:var(--u-muted)}
html.ui3 #v-settings .u-bill-costs>span{margin-right:4px;font-weight:600}
html.ui3 #v-settings .u-bill-costs em{padding:5px 11px;border-radius:999px;background:var(--u-white);font-size:12.5px;font-style:normal;font-weight:600;color:var(--u-ink)}
html.ui3 #v-settings .u-bill-plans-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px}
html.ui3 #v-settings .u-bill-plans-head h3,html.ui3 #v-settings .u-bill-topup-head h3{margin:0;font:700 20px var(--u-font);color:var(--u-ink)}
html.ui3 #v-settings .u-bill-iv button i{margin-left:4px;padding:1px 7px;border-radius:999px;background:var(--u-green);font-size:11px;font-style:normal;color:#fff}
html.ui3 #v-settings .u-bill-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
html.ui3 #v-settings .u-bill-plan{display:flex;flex-direction:column;gap:12px;padding:24px;border-radius:var(--u-r-lg);background:var(--u-white);color:var(--u-text)}
html.ui3 #v-settings .u-bill-plan header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:26px}
html.ui3 #v-settings .u-bill-plan header b{font-size:18px;font-weight:700;color:var(--u-ink)}
html.ui3 #v-settings .u-bill-tag{padding:4px 10px;border-radius:999px;background:var(--u-card);font-size:11.5px;font-weight:700;color:var(--u-ink);white-space:nowrap}
html.ui3 #v-settings .u-bill-price{display:flex;align-items:baseline;gap:6px}
html.ui3 #v-settings .u-bill-price b{font:800 48px/1 var(--u-font);letter-spacing:-.03em;color:var(--u-ink)}
html.ui3 #v-settings .u-bill-price span{font-size:14px;color:var(--u-muted)}
html.ui3 #v-settings .u-bill-pnote{min-height:18px;margin:0;font-size:12.5px;color:var(--u-muted)}
html.ui3 #v-settings .u-bill-credits{display:flex;align-items:center;gap:8px;padding:11px 12px;border-radius:var(--u-r-sm);background:var(--u-card);font-size:13.5px;font-weight:700;color:var(--u-ink)}
html.ui3 #v-settings .u-bill-credits svg{width:15px;height:15px;flex:none}
html.ui3 #v-settings .u-bill-plan ul{display:flex;flex:1;flex-direction:column;gap:9px;margin:0;padding:0;list-style:none}
html.ui3 #v-settings .u-bill-plan li{display:flex;gap:8px;font-size:13.5px;line-height:1.4}
html.ui3 #v-settings .u-bill-plan li svg{flex:none;width:16px;height:16px;margin-top:1px;color:var(--u-green)}
html.ui3 #v-settings .u-bill-plan .u-btn{width:100%;margin-top:6px}
html.ui3 #v-settings .u-bill-plan .u-btn svg{width:16px;height:16px}
html.ui3 #v-settings .u-bill-plan .u-btn:disabled{background:var(--u-card);color:var(--u-muted);opacity:1}
html.ui3 #v-settings .u-bill-plan.is-cur{box-shadow:inset 0 0 0 2px var(--u-ink)}
html.ui3 #v-settings .u-bill-plan.is-hot{background:var(--u-ink);color:#fff;box-shadow:0 24px 50px rgba(13,14,17,.22)}
html.ui3 #v-settings .u-bill-plan.is-hot header b,html.ui3 #v-settings .u-bill-plan.is-hot .u-bill-price b{color:#fff}
html.ui3 #v-settings .u-bill-plan.is-hot .u-bill-price span,html.ui3 #v-settings .u-bill-plan.is-hot .u-bill-pnote{color:var(--u-on-sub)}
html.ui3 #v-settings .u-bill-plan.is-hot .u-bill-credits{background:rgba(255,255,255,.1);color:#fff}
html.ui3 #v-settings .u-bill-plan.is-hot .u-bill-tag{background:var(--u-white);color:var(--u-ink)}
html.ui3 #v-settings .u-bill-plan.is-hot li svg{color:#fff}
html.ui3 #v-settings .u-bill-plan.is-hot .u-btn:disabled{background:rgba(255,255,255,.12);color:var(--u-on-sub)}
html.ui3 #v-settings .u-btn-light{background:var(--u-white);color:var(--u-ink)}
html.ui3 #v-settings .u-btn-light:hover{background:#eef0f5}
html.ui3 #v-settings .u-bill-topup{display:flex;flex-direction:column;gap:14px;margin-top:6px;padding:24px;border-radius:var(--u-r-lg);background:var(--u-white)}
html.ui3 #v-settings .u-bill-topup-head p{margin:4px 0 0;font-size:13.5px;line-height:1.5;color:var(--u-muted)}
html.ui3 #v-settings .u-bill-tps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
html.ui3 #v-settings .u-bill-tp{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:20px;border:0;border-radius:var(--u-r-md);background:var(--u-card);font-family:var(--u-font);color:var(--u-text);text-align:left;cursor:pointer;transition:transform .15s ease,background .15s ease}
html.ui3 #v-settings .u-bill-tp:hover{background:var(--u-canvas);transform:translateY(-2px)}
html.ui3 #v-settings .u-bill-tp b{font:800 30px/1.1 var(--u-font);letter-spacing:-.02em;color:var(--u-ink);font-variant-numeric:tabular-nums}
html.ui3 #v-settings .u-bill-tp>span{font-size:13px;color:var(--u-muted)}
html.ui3 #v-settings .u-bill-tp em{margin-top:14px;font-size:21px;font-style:normal;font-weight:700;color:var(--u-ink)}
html.ui3 #v-settings .u-bill-tp small{font-size:12px;color:var(--u-muted)}
html.ui3 #v-settings .u-bill-tp .u-bill-tag{position:absolute;top:-11px;right:16px;background:var(--u-ink);color:#fff}
html.ui3 #v-settings .u-bill-tp.is-best{box-shadow:inset 0 0 0 2px var(--u-ink)}
html.ui3 #v-settings .u-bill-tp.is-big b{font-size:24px}
html.ui3 #v-settings .u-bill-more summary{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:var(--u-ink);list-style:none;cursor:pointer}
html.ui3 #v-settings .u-bill-more summary::-webkit-details-marker{display:none}
html.ui3 #v-settings .u-bill-more summary::after{content:"+";display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--u-card);font-size:15px;line-height:1}
html.ui3 #v-settings .u-bill-more[open] summary::after{content:"−"}
html.ui3 #v-settings .u-bill-more .u-bill-tps{margin-top:12px}
html.ui3 #v-settings .u-bill-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:4px;font-size:13px;color:var(--u-muted)}
html.ui3 #v-settings .u-bp-nav a:focus-visible,html.ui3 #v-settings .u-bp-stat:focus-visible,html.ui3 #v-settings .u-bill-tp:focus-visible,html.ui3 #v-settings .au-layout-pill:focus-visible,html.ui3 #v-settings .set-font-pair:focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
@media (max-width:1100px){html.ui3 #v-settings .u-bill-plans{grid-template-columns:1fr}html.ui3 #v-settings .u-bill-plan.is-hot{order:-1}}
@media (max-width:900px){html.ui3 #v-settings .u-bp{grid-template-columns:minmax(0,1fr)}html.ui3 #v-settings .u-bp-card{position:static}html.ui3 #v-settings .u-bp-nav{flex-direction:row;overflow-x:auto;scrollbar-width:none}html.ui3 #v-settings .u-bp-nav a{flex:none}html.ui3 #v-settings .u-bp-fields,html.ui3 #v-settings .u-bp-src-tiles,html.ui3 #v-settings .brand-style-box,html.ui3 #v-settings .brv2-playbook,html.ui3 #v-settings .brv2-insights,html.ui3 #v-settings .stv2-account-card .stv2-grid,html.ui3 #v-settings .u-bill-now{grid-template-columns:minmax(0,1fr)}html.ui3 #v-settings .u-bp-field.is-wide{grid-column:auto}}
@media (max-width:640px){html.ui3 #v-settings .u-bp-main{gap:30px}html.ui3 #v-settings .u-bp-head h2{font-size:24px}html.ui3 #v-settings .u-bp-grp,html.ui3 #v-settings .u-bill-plan,html.ui3 #v-settings .u-bill-topup{padding:18px}html.ui3 #v-settings .u-bill-now{padding:22px}html.ui3 #v-settings .u-bill-name{font-size:38px}html.ui3 #v-settings .u-bill-meter b{font-size:44px}html.ui3 #v-settings .u-bill-tps{grid-template-columns:minmax(0,1fr)}html.ui3 #v-settings .vp-danger-row{flex-direction:column;align-items:flex-start}html.ui3 #v-settings .u-bp-savebar{border-radius:22px;flex-wrap:wrap}html.ui3 #v-settings .settings-template-gallery,html.ui3 #v-settings .set-font-pairs{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(150px,46%);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}html.ui3 #v-settings .au-layout-pill,html.ui3 #v-settings .set-font-pair{scroll-snap-align:start}}
/* ===== Prozori Brain-a u UI3 (analiza sajta, Brain dokument, dodaj izvor) — stari hq-brain-site/doc CSS isključen ===== */
html.ui3 .u-bm{background:rgba(30,34,44,.35);backdrop-filter:blur(3px);font-family:var(--u-font)}
html.ui3 .u-bm :is(.brain-site-dialog,.brain-doc-dialog,.brv2-dialog){border:0;border-radius:30px;background:#eef0f5;color:var(--u-text);box-shadow:0 30px 80px rgba(16,24,40,.3);animation:u-pop .2s ease}
html.ui3 .u-bm :is(.brain-site-head,.brain-doc-head){border:0;background:none;padding:24px 26px 8px}
html.ui3 .u-bm :is(.brain-site-kicker,.brain-doc-kicker){margin-bottom:6px;font:600 11px/1.2 var(--u-font);letter-spacing:.08em;text-transform:uppercase;color:var(--u-muted)}
html.ui3 .u-bm :is(.brain-site-head h2,.brain-doc-head h2,.brv2-dialog-head h3){margin:0;font:700 24px/1.15 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
html.ui3 .u-bm :is(.brain-site-close,.brain-doc-close,.brv2-dialog-close){display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:var(--u-white);color:var(--u-ink);cursor:pointer}
html.ui3 .u-bm :is(.brain-site-close,.brain-doc-close) svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
html.ui3 .u-bm :is(.brain-site-body,.brain-doc-body){padding:14px 26px 22px}
html.ui3 .u-bm .brain-site-intro,html.ui3 .u-bm .brain-doc-intro{margin:0 0 18px;font-size:14px;line-height:1.55;color:var(--u-muted)}
html.ui3 .u-bm .brain-site-form label,html.ui3 .u-bm .brv2-field>label{display:block;margin:0 0 8px;font:600 13px var(--u-font);color:var(--u-ink)}
html.ui3 .u-bm :is(.brain-site-form input,.brv2-field input:not([type="file"]),.brv2-field textarea,.brain-doc-textarea){box-sizing:border-box;width:100%;height:auto;padding:13px 16px;border:1px solid transparent;border-radius:var(--u-r-sm);background:var(--u-white);font:500 14px/1.5 var(--u-font);color:var(--u-ink);outline:0;box-shadow:none}
html.ui3 .u-bm :is(.brain-site-form input,.brv2-field input,.brv2-field textarea,.brain-doc-textarea):focus{border-color:var(--u-ink);box-shadow:none}
html.ui3 .u-bm .brain-site-form input[aria-invalid="true"]{border-color:var(--u-red)}
html.ui3 .u-bm .brain-site-form small,html.ui3 .u-bm .brain-doc-hint{display:block;margin-top:8px;font-size:12.5px;line-height:1.45;color:var(--u-muted)}
html.ui3 .u-bm :is(.brain-site-loading,.brain-doc-loading){display:flex;align-items:center;gap:16px;min-height:150px;padding:26px;border:0;border-radius:var(--u-r-md);background:var(--u-white);color:var(--u-ink)}
html.ui3 .u-bm :is(.brain-site-spinner,.brain-doc-spinner){width:32px;height:32px;border:3px solid var(--u-card);border-top-color:var(--u-ink);border-radius:50%;animation:u-spin .8s linear infinite}
html.ui3 .u-bm .brain-site-loading b{display:block;font-size:15px;color:var(--u-ink)}
html.ui3 .u-bm .brain-site-loading p{margin:4px 0 0;font-size:13px;line-height:1.5;color:var(--u-muted)}
html.ui3 .u-bm .brain-site-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
html.ui3 .u-bm .brain-site-review-head b{display:block;font-size:16px;color:var(--u-ink)}
html.ui3 .u-bm .brain-site-review-head p{margin:4px 0 0;font-size:13px;line-height:1.5;color:var(--u-muted)}
html.ui3 .u-bm .brain-site-review-head>span{flex:none;padding:5px 11px;border:0;border-radius:999px;background:var(--u-ink);font-size:11.5px;font-weight:700;color:#fff}
html.ui3 .u-bm .brain-site-changes{display:grid;gap:8px}
html.ui3 .u-bm .brain-site-change{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;padding:14px;border:0;border-radius:var(--u-r-md);background:var(--u-white);box-shadow:none;cursor:pointer;transition:box-shadow .15s ease}
html.ui3 .u-bm .brain-site-change:has(input:checked){box-shadow:inset 0 0 0 2px var(--u-ink)}
html.ui3 .u-bm .brain-site-change input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--u-ink)}
html.ui3 .u-bm .brain-site-change-copy>strong{display:block;margin-bottom:8px;font-size:14px;color:var(--u-ink)}
html.ui3 .u-bm .brain-site-values{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html.ui3 .u-bm .brain-site-value{min-width:0;padding:10px 12px;border:0;border-radius:var(--u-r-sm);background:var(--u-card)}
html.ui3 .u-bm .brain-site-value.suggested{background:#e3f2ea}
html.ui3 .u-bm .brain-site-value em{display:block;margin-bottom:4px;font:600 11px/1.3 var(--u-font);letter-spacing:.04em;text-transform:uppercase;color:var(--u-muted)}
html.ui3 .u-bm .brain-site-value span{display:block;font-size:13px;line-height:1.5;color:var(--u-text);overflow-wrap:anywhere;white-space:pre-wrap}
html.ui3 .u-bm .brain-site-empty{padding:18px;border:0;border-radius:var(--u-r-md);background:var(--u-white);font-size:13.5px;line-height:1.55;text-align:center;color:var(--u-muted)}
html.ui3 .u-bm .brain-site-message{margin-top:12px;font-size:13px;font-weight:600;color:var(--u-red)}
html.ui3 .u-bm .brain-site-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 26px 24px;border:0;background:none}
html.ui3 .u-bm .brain-site-secondary,html.ui3 .u-bm .brain-site-primary{min-height:46px;padding:0 22px;border:0;border-radius:999px;font:600 14px var(--u-font);box-shadow:none;cursor:pointer}
html.ui3 .u-bm .brain-site-secondary{background:var(--u-white);color:var(--u-ink)}
html.ui3 .u-bm .brain-site-primary{min-width:150px;background:var(--u-ink);color:#fff}
html.ui3 .u-bm .brain-site-primary:hover{background:#25272d;filter:none}
html.ui3 .u-bm .brain-doc-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;font-size:13px;color:var(--u-muted)}
html.ui3 .u-bm .brain-doc-meta b,html.ui3 .u-bm .brain-doc-score{font-weight:700;color:var(--u-ink)}
html.ui3 .u-bm .brain-doc-body>*{max-width:none}
html.ui3 .u-bm .brain-doc-sec{margin:0 0 12px;padding:20px;border:0;border-radius:var(--u-r-lg);background:var(--u-white)}
html.ui3 .u-bm .brain-doc-sec>h3{margin:0 0 12px;font:700 18px/1.2 var(--u-font);color:var(--u-ink)}
html.ui3 .u-bm .brain-doc-sub{margin:18px 0 4px;font:600 11px/1.3 var(--u-font);letter-spacing:.08em;text-transform:uppercase;color:var(--u-muted)}
html.ui3 .u-bm .brain-doc-help{margin:0 0 12px;font-size:13px;line-height:1.55;color:var(--u-muted)}
html.ui3 .u-bm .brain-doc-block{margin:0 0 14px}
html.ui3 .u-bm .brain-doc-block-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 6px}
html.ui3 .u-bm .brain-doc-block-head h4{margin:0;font-size:14.5px;font-weight:700;color:var(--u-ink)}
html.ui3 .u-bm .brain-doc-block[data-brain-doc-state="empty"] .brain-doc-edit{background:var(--u-ink);color:#fff}
html.ui3 .u-bm .brain-doc-prose{margin:0;font-size:14px;line-height:1.65;color:var(--u-text);white-space:pre-wrap;overflow-wrap:anywhere}
html.ui3 .u-bm .brain-doc-list{margin:0;padding:0 0 0 20px;font-size:14px;line-height:1.6;color:var(--u-text)}
html.ui3 .u-bm .brain-doc-list.is-quotes{padding:0;list-style:none}
html.ui3 .u-bm .brain-doc-list.is-quotes li{margin:0 0 8px;padding:10px 14px;border:0;border-radius:var(--u-r-sm);background:var(--u-card);font-style:italic;white-space:pre-wrap}
html.ui3 .u-bm .brain-doc-list.is-questions li{color:var(--u-text)}
html.ui3 .u-bm .brain-doc-empty{margin:0;padding:11px 14px;border:0;border-radius:var(--u-r-sm);background:var(--u-card);font-size:13px;line-height:1.5;color:var(--u-muted)}
html.ui3 .u-bm .brain-doc-empty.is-ok{background:#e3f2ea;color:var(--u-ink)}
html.ui3 .u-bm .brain-doc-textarea{min-height:96px;background:var(--u-card);resize:vertical}
html.ui3 .u-bm .brain-doc-editor-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
html.ui3 .u-bm .brain-doc-save{background:var(--u-ink);color:#fff}
html.ui3 .u-bm :is(.brain-doc-source,.brain-doc-learned){display:flex;align-items:center;gap:11px;padding:11px 12px;border:0;border-radius:var(--u-r-sm);background:var(--u-card)}
html.ui3 .u-bm .brain-doc-source-copy b,html.ui3 .u-bm .brain-doc-learned-copy b{font-size:13.5px;font-weight:600;color:var(--u-ink)}
html.ui3 .u-bm .brain-doc-source-copy small,html.ui3 .u-bm .brain-doc-learned-copy small{font-size:12px;color:var(--u-muted)}
html.ui3 .u-bm .brain-doc-tag{padding:4px 9px;border:0;border-radius:999px;background:var(--u-white);font:600 11px var(--u-font);letter-spacing:0;text-transform:none;color:var(--u-ink)}
html.ui3 .u-bm .brain-doc-learned.is-do_more .brain-doc-tag{background:#e3f2ea}
html.ui3 .u-bm .brain-doc-learned.is-do_less .brain-doc-tag{background:var(--u-red-soft)}
html.ui3 .u-bm .brain-doc-jump{margin-top:8px;font-size:13px;font-weight:600;color:var(--u-ink);text-decoration:underline;text-underline-offset:3px}
html.ui3 .u-bm .brain-doc-error{padding:18px;border:0;border-radius:var(--u-r-md);background:var(--u-red-soft);font-size:13.5px;color:var(--u-ink)}
html.ui3 .u-bm .brv2-dialog{display:flex;flex-direction:column;gap:16px;width:min(480px,100%);padding:24px 26px 26px}
html.ui3 .u-bm .brv2-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
html.ui3 .u-bm .brv2-field{display:flex;flex-direction:column}
html.ui3 .u-bm .brv2-field[hidden]{display:none}
html.ui3 .u-bm .brv2-field textarea{min-height:130px;resize:vertical}
html.ui3 .u-bm .brv2-file{display:flex;flex-direction:column;gap:4px;padding:16px;border-radius:var(--u-r-md);background:var(--u-white);cursor:pointer}
html.ui3 .u-bm .brv2-file input{font-size:13px}
html.ui3 .u-bm .brv2-file span{font-size:14px;font-weight:600;color:var(--u-ink)}
html.ui3 .u-bm .brv2-file small{font-size:12.5px;color:var(--u-muted)}
html.ui3 .u-bm .brv2-dialog-cta{width:100%}
html.ui3 .u-bm .brv2-dialog-msg{font-size:13px;color:var(--u-muted)}
html.ui3 .u-bm .brv2-dialog-msg:empty{display:none}
html.ui3 .u-bm :is(.brain-site-close,.brain-doc-close,.brv2-dialog-close,.brain-site-primary,.brain-site-secondary):focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
@media (max-width:700px){html.ui3 .u-bm :is(.brain-site-dialog,.brain-doc-dialog){border-radius:30px 30px 0 0}html.ui3 .u-bm :is(.brain-site-head,.brain-doc-head){padding:20px 18px 6px}html.ui3 .u-bm :is(.brain-site-body,.brain-doc-body){padding:12px 16px 20px}html.ui3 .u-bm .brain-site-values{grid-template-columns:1fr}html.ui3 .u-bm .brain-site-review-head{flex-direction:column}html.ui3 .u-bm .brain-site-actions{padding:12px 16px calc(16px + env(safe-area-inset-bottom))}html.ui3 .u-bm .brain-site-secondary,html.ui3 .u-bm .brain-site-primary{flex:1;min-width:0}html.ui3 .u-bm .brain-doc-sec{padding:16px}html.ui3 .u-bm .brain-doc-block-head{flex-direction:column;align-items:flex-start;gap:6px}}
html.ui3 body.brain-site-open,html.ui3 body.brain-doc-open{overflow:hidden}
html.ui3 :is(.brain-site-modal,.brain-doc-modal){position:fixed;inset:0;z-index:160;display:grid;place-items:center;padding:22px}
html.ui3 :is(.brain-site-modal,.brain-doc-modal)[hidden],html.ui3 :is(.brain-site-form,.brain-site-loading,.brain-site-review)[hidden]{display:none}
html.ui3 :is(.brain-site-dialog,.brain-doc-dialog){box-sizing:border-box;display:flex;flex-direction:column;width:min(760px,100%);max-height:min(880px,calc(100dvh - 44px));overflow:hidden}
html.ui3 .brain-doc-dialog{width:min(880px,100%);max-height:calc(100dvh - 44px)}
html.ui3 :is(.brain-site-dialog,.brain-doc-dialog) *{box-sizing:border-box}
html.ui3 :is(.brain-site-head,.brain-doc-head){display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
html.ui3 .brain-doc-head-copy{min-width:0}
html.ui3 :is(.brain-site-body,.brain-doc-body){min-height:0;overflow:auto;overscroll-behavior:contain}
html.ui3 .brain-doc-list li{margin:0 0 4px;overflow-wrap:anywhere}
html.ui3 .brain-doc-question{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
html.ui3 .brain-doc-question-text{flex:1 1 260px;min-width:0}
html.ui3 .brain-doc-question.is-editing{flex-direction:column;align-items:stretch}
html.ui3 .brain-doc-question.is-editing .brain-doc-editor{width:100%}
html.ui3 .brain-doc-editor{display:grid;gap:8px}
html.ui3 .brain-doc-sources{display:grid;gap:8px;margin:0 0 12px;padding:0;list-style:none}
html.ui3 .brain-doc-source-icon{flex:none;font-size:18px;line-height:1}
html.ui3 :is(.brain-doc-source-copy,.brain-doc-learned-copy){display:grid;gap:2px;flex:1;min-width:0}
html.ui3 .brain-doc-learned{align-items:flex-start}
html.ui3 .brain-doc-error{display:grid;gap:12px;justify-items:start}
html.ui3 .brain-doc-error p{margin:0}
@media (max-width:700px){html.ui3 :is(.brain-site-modal,.brain-doc-modal){align-items:end;padding:0}html.ui3 :is(.brain-site-dialog,.brain-doc-dialog){width:100%;max-height:94dvh}}
html.ui3 #v-settings .u-bp-field.is-updated :is(input,textarea).u-field{animation:u-bp-flash 2.6s ease}
@keyframes u-bp-flash{0%,35%{background:#e3f2ea;border-color:var(--u-green)}100%{background:var(--u-card);border-color:transparent}}
@media (prefers-reduced-motion:reduce){html.ui3 #v-settings .u-bp-field.is-updated :is(input,textarea).u-field{animation:none}}
/* ===== AI asistenti (MCP) kao zaseban ekran + rasterećen Nalog (UI3) ===== */
html.ui3 #v-mcp .vp-mcp-keys-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
html.ui3 #v-mcp .vp-mcp-keys-head h5{margin:0;font:700 15px var(--u-font);color:var(--u-ink)}
html.ui3 #v-mcp .vp-mcp-note{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:14px 16px;border:0;border-radius:var(--u-r-sm);background:var(--u-card);font-size:13.5px;color:var(--u-muted)}
html.ui3 #v-mcp .vp-mcp-form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:10px;margin-bottom:12px;padding:14px;border-radius:var(--u-r-sm);background:var(--u-card)}
html.ui3 #v-mcp .vp-mcp-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--u-ink)}
html.ui3 #v-mcp .vp-mcp-form :is(input,select){box-sizing:border-box;width:100%;padding:11px 14px;border:1px solid transparent;border-radius:12px;background:var(--u-white);font:500 14px var(--u-font);color:var(--u-ink);outline:0}
html.ui3 #v-mcp .vp-mcp-form :is(input,select):focus{border-color:var(--u-ink)}
html.ui3 #v-mcp .vp-mcp-form-actions{display:flex;gap:8px}
html.ui3 #v-mcp .vp-mcp-form-error{grid-column:1/-1;margin:0;font-size:13px;color:var(--u-red)}
html.ui3 #v-mcp .vp-mcp-form .vp-mcp-allbrands{grid-column:1/-1;flex-direction:row;align-items:flex-start;gap:12px;cursor:pointer}
html.ui3 #v-mcp .vp-mcp-allbrands-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
html.ui3 #v-mcp .vp-mcp-allbrands-copy small{font-size:12.5px;font-weight:500;line-height:1.45;color:var(--u-muted)}
html.ui3 #v-mcp .u-mcp-agency{display:flex;flex-direction:column;gap:6px;padding:18px 20px;border-radius:var(--u-r-sm);background:var(--u-card)}
html.ui3 #v-mcp .u-mcp-agency p{margin:0;font-size:14px;line-height:1.5;color:var(--u-text)}
html.ui3 #v-mcp .vp-mcp-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
html.ui3 #v-mcp .vp-mcp-key{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px 14px;border-radius:var(--u-r-sm);background:var(--u-card)}
html.ui3 #v-mcp .vp-mcp-key.is-revoked{opacity:.55}
html.ui3 #v-mcp .vp-mcp-key-main{display:flex;align-items:center;gap:8px;min-width:0}
html.ui3 #v-mcp .vp-mcp-key-main b{font-size:14px;color:var(--u-ink);overflow-wrap:anywhere}
html.ui3 #v-mcp .vp-mcp-chip{padding:3px 9px;border-radius:999px;background:var(--u-white);font-size:11.5px;font-weight:600;color:var(--u-ink)}
html.ui3 #v-mcp .vp-mcp-key code{font-size:12.5px;color:var(--u-muted)}
html.ui3 #v-mcp .vp-mcp-key-meta{grid-column:1/-1;display:flex;gap:12px;font-size:12px;color:var(--u-muted)}
html.ui3 #v-mcp .vp-mcp-abuse{margin:10px 0 0;font-size:12.5px;color:var(--u-muted)}
html.ui3 #v-settings .u-bp-fold-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px}
html.ui3 #v-settings .u-bp-fold-head>:is(h3,h4){margin:0}
html.ui3 #v-settings .u-bp-fold-head .stv2-card-desc{grid-column:1;margin:0}
html.ui3 #v-settings .u-bp-fold-head .u-btn{grid-column:2;grid-row:1/span 2}
html.ui3 #v-settings .u-bp-fold.is-open .u-bp-fold-head{margin-bottom:12px}
html.ui3 #v-settings .vp-danger:not(.is-open){box-shadow:none}
html.ui3 #v-settings .u-bp-morenets{margin-top:4px;border-radius:var(--u-r-sm)}
html.ui3 #v-settings .u-bp-morenets summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:var(--u-r-sm);box-shadow:inset 0 0 0 1px var(--u-line);font-size:14px;font-weight:600;color:var(--u-ink);list-style:none;cursor:pointer}
html.ui3 #v-settings .u-bp-morenets summary::-webkit-details-marker{display:none}
html.ui3 #v-settings .u-bp-morenets-ics{display:flex}
html.ui3 #v-settings .u-bp-morenets-ics .msn-ic{width:28px;height:28px;margin-left:-6px;border:2px solid var(--u-white);border-radius:50%}
html.ui3 #v-settings .u-bp-morenets-ics .msn-ic svg{width:13px;height:13px}
html.ui3 #v-settings .u-bp-morenets[open] .u-bp-morenets-ics{display:none}
html.ui3 #v-settings .u-bp-morenets-list{display:flex;flex-direction:column;gap:6px;margin-top:6px}
@media (max-width:760px){html.ui3 #v-mcp .vp-mcp-form{grid-template-columns:minmax(0,1fr)}html.ui3 #v-mcp .vp-mcp-key{grid-template-columns:minmax(0,1fr)}}
html.ui3 .vp-mcp-modal{position:fixed;inset:0;z-index:960;display:grid;place-items:center;padding:20px;background:rgba(30,34,44,.35);backdrop-filter:blur(3px);font-family:var(--u-font)}
html.ui3 .vp-mcp-modal[hidden]{display:none}
html.ui3 .vp-mcp-modal-card{display:flex;flex-direction:column;gap:14px;width:min(560px,100%);padding:26px;border-radius:30px;background:#eef0f5;color:var(--u-text);box-shadow:0 30px 80px rgba(16,24,40,.3);animation:u-pop .2s ease}
html.ui3 .vp-mcp-modal-card h3{margin:0;font:700 22px var(--u-font);color:var(--u-ink)}
html.ui3 .vp-mcp-warn{margin:0;padding:12px 14px;border-radius:var(--u-r-sm);background:#fbf1e1;font-size:13.5px;line-height:1.5;color:var(--u-ink)}
html.ui3 .vp-mcp-modal-card :is(.vp-mcp-secret,.vp-mcp-snippet){display:flex;align-items:flex-start;gap:10px;padding:10px 10px 10px 16px;border-radius:var(--u-r-sm);background:var(--u-white)}
html.ui3 .vp-mcp-modal-card :is(code,pre){flex:1;min-width:0;margin:6px 0;overflow-x:auto;font:500 13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--u-ink);white-space:pre;overflow-wrap:normal}
html.ui3 .vp-mcp-snippet-h{margin:0;font-size:13px;font-weight:600;color:var(--u-ink)}
html.ui3 .vp-mcp-modal-card .hint{margin:0;font-size:13px;line-height:1.5;color:var(--u-muted)}
html.ui3 .vp-mcp-modal-actions{display:flex;justify-content:flex-end}
html.ui3 #v-settings .u-bill-tps-h{margin:6px 0 -4px;font:600 13px var(--u-font);color:var(--u-muted)}
html.ui3 #v-settings .settings-template-gallery{align-items:start}
html.ui3 #v-settings .au-layout-pill{padding:8px 8px 10px}
html.ui3 #v-settings .au-layout-pill-name{padding:2px 4px 0;font-size:14px}
html.ui3 #v-settings .au-photo-first-note.is-tag{align-self:flex-start;margin:0 4px;padding:3px 9px;border-radius:999px;background:var(--u-white);font-size:11px;font-weight:600;color:var(--u-ink)}
html.ui3 #v-settings .au-layout-pill.on .au-photo-first-note.is-tag{background:rgba(255,255,255,.14);color:#fff}
html.ui3 #v-settings .vp-engine-variant-row>.fsub{font-size:13px;color:var(--u-muted)}

/* ===== Popup za limit (UI3) — vpLimitModal; stari .mpw stil važi samo u starom izgledu ===== */
html.ui3 .mpw-backdrop{position:fixed;inset:0;z-index:950;display:grid;place-items:center;padding:20px;background:rgba(30,34,44,.35);backdrop-filter:blur(3px);font-family:var(--u-font)}
html.ui3 .mpw{position:relative;display:flex;flex-direction:column;align-items:center;width:min(460px,100%);max-height:calc(100dvh - 40px);overflow:auto;padding:30px 26px 24px;border-radius:30px;background:#eef0f5;color:var(--u-text);text-align:center;box-shadow:0 30px 80px rgba(16,24,40,.3);animation:u-pop .2s ease}
html.ui3 .mpw-art{display:grid;place-items:center;width:56px;height:56px;margin-bottom:14px;border-radius:50%;background:var(--u-ink);color:#fff}
html.ui3 .mpw-orb{display:none}
html.ui3 .mpw-lock{display:grid;place-items:center}
html.ui3 .mpw-lock svg{width:22px;height:22px}
html.ui3 .mpw-body{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%}
html.ui3 .mpw-eyebrow{font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--u-muted)}
html.ui3 .mpw-title{margin:0;font:700 24px/1.2 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
html.ui3 .mpw-msg{margin:0;max-width:38ch;font-size:14.5px;line-height:1.5;color:var(--u-muted)}
html.ui3 .mpw-perks{display:flex;flex-direction:column;gap:6px;width:100%;margin:4px 0 0;padding:0;list-style:none;text-align:left}
html.ui3 .mpw-perks[hidden],html.ui3 .mpw-endtrial[hidden],html.ui3 .mpw-topups[hidden]{display:none}
html.ui3 .mpw-perks li{padding:10px 14px;border-radius:var(--u-r-sm);background:var(--u-white);font-size:13.5px;color:var(--u-text)}
html.ui3 .mpw-endtrial{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;padding:16px;border-radius:var(--u-r-md);background:var(--u-white)}
html.ui3 .mpw-endtrial b{font-size:15px;color:var(--u-ink)}
html.ui3 .mpw-endtrial span{font-size:13px;line-height:1.45;color:var(--u-muted)}
html.ui3 .mpw-endtrial .u-btn{margin-top:8px}
html.ui3 .mpw-topups{display:flex;flex-direction:column;gap:10px;width:100%;margin-top:4px}
html.ui3 .mpw-topups-head{display:flex;flex-direction:column;gap:2px}
html.ui3 .mpw-topups-head b{font-size:15px;color:var(--u-ink)}
html.ui3 .mpw-topups-head span,html.ui3 .mpw-topup-note{font-size:12.5px;color:var(--u-muted)}
html.ui3 .mpw-topup-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
html.ui3 .mpw-topup{display:flex;flex-direction:column;align-items:center;gap:1px;padding:14px 6px;border:0;border-radius:var(--u-r-md);background:var(--u-white);font-family:var(--u-font);color:var(--u-ink);cursor:pointer;transition:transform .15s ease}
html.ui3 .mpw-topup:hover{transform:translateY(-2px)}
html.ui3 .mpw-topup strong{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}
html.ui3 .mpw-topup small{font-size:11.5px;color:var(--u-muted)}
html.ui3 .mpw-topup em{margin-top:6px;font-size:15px;font-style:normal;font-weight:700}
html.ui3 .mpw-status{min-height:0;font-size:13px;color:var(--u-muted)}
html.ui3 .mpw-status:empty{display:none}
html.ui3 .mpw-actions{display:flex;flex-direction:column-reverse;gap:8px;width:100%;margin-top:6px}
html.ui3 .mpw-actions .u-btn{width:100%}
html.ui3 .mpw-backdrop.is-busy .mpw{opacity:.75}
html.ui3 .mpw :is(.mpw-topup,.u-btn):focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
@media (max-width:640px){html.ui3 .mpw-backdrop{align-items:end;padding:10px}html.ui3 .mpw{padding:26px 18px 18px}}
html.ui3 .mpw-topup-note{display:none}

/* ---------- Video editor (Galerija → klip, titlovi iz pregleda, Video Studio): hq-reel.css čita --rl-* tokene ---------- */
html.ui3{--rl-grad:var(--u-ink);--rl-hero:var(--u-ink);--rl-bar:var(--u-ink);--rl-acc:var(--u-ink);--rl-acc-ink:var(--u-ink);--rl-spin:#fff;
  --rl-dark:#1b1d22;--rl-dark-grad:linear-gradient(180deg,#2a2d34,#111216);--rl-head-font:var(--u-font);--rl-ui-font:var(--u-font);
  --rl-focus:rgba(13,14,17,.35);--rl-hover:var(--u-blue-soft);--rl-ring:rgba(13,14,17,.12);--rl-backdrop:rgba(13,14,17,.42);--rl-btn-r:999px;
  --rl-note-bg:var(--u-card);--rl-note-line:var(--u-line);--rl-note-ink:var(--u-text)}
html.ui3 :is(.rl-overlay,#vsRoot){--moonya-surface:var(--u-white);--moonya-surface-blue:var(--u-card);--moonya-line:var(--u-line);--moonya-ink:var(--u-ink);--moonya-muted:var(--u-muted);--moonya-faint:var(--u-muted);--moonya-radius:var(--u-r-lg);--moonya-radius-inner:var(--u-r-sm);--moonya-shadow:0 30px 70px rgba(16,24,40,.18);font-family:var(--u-font)}
html.ui3 .rl-x{border-radius:50%}
html.ui3 :is(.rl-overlay,#vsRoot) button{font-family:inherit}

/* ---------- „Šta je novo" (hq-whatsnew.js crta u- klase u UI3): koraci izdanja izlaska ---------- */
.u-wn-back{z-index:1200}
.u-wn{width:min(520px,100%);max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;padding:28px 28px 22px}
.u-wn-kicker{font-size:11.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--u-muted);padding-right:52px}
.u-wn-icon{width:48px;height:48px;margin:18px 0 0;border-radius:50%;display:grid;place-items:center;background:var(--u-white);color:var(--u-ink)}
.u-wn-title{margin:14px 0 6px;font-size:24px;line-height:1.15;font-weight:700;letter-spacing:-.02em;color:var(--u-ink);text-wrap:balance}
.u-wn-lead{margin:0;color:var(--u-text);font-size:14.5px;line-height:1.5}
.u-wn-chips{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.u-wn-chips li{padding:7px 12px;border-radius:999px;background:var(--u-white);font-size:12.5px;line-height:1.3;color:var(--u-ink)}
.u-wn-dots{display:flex;justify-content:center;gap:4px;margin:20px 0 0}
.u-wn-dot{width:24px;height:24px;border:0;padding:0;background:transparent;cursor:pointer;display:grid;place-items:center}
.u-wn-dot::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--u-line)}
.u-wn-dot.on::before{width:20px;border-radius:999px;background:var(--u-ink)}
.u-wn-actions{display:flex;gap:10px;margin-top:14px}
.u-wn-actions .u-btn{flex:1 1 0}
@media (max-width:640px){.u-wn-back{place-items:end center;padding:10px}.u-wn{padding:24px 18px 16px;max-height:calc(100dvh - 20px)}.u-wn-title{font-size:21px}.u-wn-lead{font-size:14px}}
html.ui3 body.vpwn-open{overflow:hidden}

/* ---------- Izbor iz Galerije (#vgPicker; stara .vg-picker pravila važe samo za stari izgled) ---------- */
html.ui3 .vg-picker{position:fixed;inset:0;z-index:1800;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(30,34,44,.35);backdrop-filter:blur(3px)}
html.ui3 .vg-picker.on{display:flex}
html.ui3 .vg-picker-panel.u-modal{width:min(1000px,100%);max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;padding:0}
.vg-picker-panel.u-modal>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;padding:18px 18px 14px 24px;background:#eef0f5}
.vg-picker-panel.u-modal #vgPickerTitle{margin-right:auto;font-size:19px;font-weight:600;color:var(--u-ink)}
/* 30.10 izbor više fotki za karusel: broj redosleda na kartici */
.vg-picker-panel.u-modal .vg-picker-hint{margin:0;padding:0 24px 8px;font:500 13px var(--u-font);color:var(--u-muted)}
.vg-picker-panel.u-modal [data-vg-pick]{position:relative}
.vg-picker-panel.u-modal [data-vg-pick].is-picked{box-shadow:0 0 0 2px var(--u-ink)}
.vg-picker-panel.u-modal .vg-pick-badge{position:absolute;top:10px;left:10px;z-index:1;min-width:26px;height:26px;padding:0 7px;border-radius:999px;background:var(--u-ink);color:#fff;display:grid;place-items:center;font:700 13px var(--u-font);pointer-events:none}
.vg-picker-panel.u-modal .vg-pick-badge[hidden],.vg-picker-panel.u-modal [data-vg-done][hidden],.vg-picker-panel.u-modal .vg-picker-hint[hidden]{display:none}
.vg-picker-panel.u-modal .vg-picker-tools{order:1}
.vg-picker-panel.u-modal [data-vg-close]{order:2;background:var(--u-white)}
.vg-picker-panel.u-modal>.vg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;align-items:start;padding:4px 18px 18px}
.vg-picker-panel.u-modal .vg-card-body>b{font-size:13.5px;font-weight:600;color:var(--u-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vg-picker-panel.u-modal .vg-card-body>span{font-size:12px;color:var(--u-muted)}
.vg-picker-panel.u-modal .vg-description-preview{margin:0;font-size:12px;line-height:1.4;color:var(--u-muted)}
.vg-picker-panel.u-modal .vg-card-actions .u-btn{flex:1}
.vg-picker-panel.u-modal .vg-empty{padding:30px;text-align:center;color:var(--u-muted);grid-column:1/-1}
@media (max-width:640px){html.ui3 .vg-picker{padding:0;align-items:end}html.ui3 .vg-picker-panel.u-modal{border-radius:26px 26px 0 0;max-height:92dvh}.vg-picker-panel.u-modal>.vg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- Opasna zona: brisanje workspace-a / zatvaranje naloga (ui3-brand.js menja inline karticu u .u-dz) ---------- */
.u-dz{width:min(480px,100%)}
.u-dz h3{padding-right:8px;font-size:20px;font-weight:700;letter-spacing:-.01em}
.u-dz .u-btn.is-danger{background:var(--u-red);color:#fff}

/* ---------- Generiši → Titlovanje → izgled titlova: neutralna „video" pozadina, izbor crnim prstenom ---------- */
html.ui3 .awz-capprev{background:#16171b;box-shadow:none}
html.ui3 .awz-capprev-empty{background:#16171b}
html.ui3 .awz-capsw.on{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--u-ink)}

/* ---------- „Modifikuj ili otkaži pretplatu" (ui3-cancel.js) ---------- */
html.ui3 body.u-cf-open{overflow:hidden}
.u-cf{width:min(520px,100%);max-height:calc(100dvh - 40px);overflow:auto;display:flex;flex-direction:column;gap:18px;padding:18px 26px 22px}
.u-cf-top{display:flex;justify-content:space-between;align-items:center}
.u-cf-top .u-round{background:var(--u-white)}
.u-cf-body{display:flex;flex-direction:column;gap:14px}
.u-cf-head h3{margin:0;font-size:clamp(22px,3vw,28px);line-height:1.12;font-weight:700;letter-spacing:-.02em;color:var(--u-ink);text-wrap:balance}
.u-cf-head p{margin:8px 0 0;font-size:14.5px;line-height:1.5;color:var(--u-muted)}
.u-cf-hero{display:flex;align-items:center;gap:14px;width:100%;border:0;border-radius:var(--u-r-md);background:var(--u-ink);color:#fff;padding:18px;text-align:left;cursor:pointer;font-family:var(--u-font);transition:transform .2s}
.u-cf-hero:hover{transform:translateY(-1px)}
.u-cf-hero b{display:block;font-size:17px}
.u-cf-hero small{display:block;font-size:13px;color:rgba(255,255,255,.7);margin-top:2px}
.u-cf-hero>svg{width:20px;height:20px;margin-left:auto;flex:none}
.u-cf-ic{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.14);flex:none}
.u-cf-ic svg{width:22px;height:22px}
.u-cf-link{align-self:center;border:0;background:none;padding:8px;font:600 14px var(--u-font);color:var(--u-muted);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.u-cf-link:hover{color:var(--u-ink)}
.u-cf-keep{display:block;width:100%;border:0;border-radius:999px;background:var(--u-white);color:var(--u-ink);padding:15px 20px;font:700 15px var(--u-font);cursor:pointer;box-shadow:inset 0 0 0 1.5px var(--u-ink)}
.u-cf-keep:hover{background:var(--u-ink);color:#fff}
.u-cf-wide{width:100%;justify-content:center;text-decoration:none}
.u-cf-wide svg{width:18px;height:18px}
.u-cf-danger{background:var(--u-red);color:#fff}
.u-cf-iv{align-self:flex-start}
.u-cf-plans{display:grid;gap:8px}
.u-cf-plan{display:flex;align-items:center;gap:12px;background:var(--u-white);border-radius:var(--u-r-sm);padding:12px 14px}
.u-cf-plan>div{flex:1;min-width:0}
.u-cf-plan b{display:block;color:var(--u-ink);font-size:15px}
.u-cf-plan small{color:var(--u-muted);font-size:12.5px}
.u-cf-plan.is-cur{box-shadow:0 0 0 2px var(--u-ink)}
.u-cf-price{font-weight:700;color:var(--u-ink);white-space:nowrap}
.u-cf-price em{font-style:normal;font-weight:500;font-size:12px;color:var(--u-muted);margin-left:2px}
.u-cf-cur{font-size:12.5px;font-weight:600;color:var(--u-muted);white-space:nowrap}
.u-cf-reasons{display:grid;gap:8px}
.u-cf-reason{display:flex;align-items:center;gap:12px;width:100%;border:0;border-radius:var(--u-r-sm);background:var(--u-white);padding:14px 16px;text-align:left;cursor:pointer;font:600 14.5px/1.35 var(--u-font);color:var(--u-text)}
.u-cf-reason:hover{box-shadow:0 0 0 2px var(--u-ink)}
.u-cf-reason svg{width:18px;height:18px;margin-left:auto;flex:none;color:var(--u-muted)}
.u-cf-input{width:100%;resize:vertical;font-size:15px}
.u-cf-offer{display:flex;align-items:center;gap:14px;background:var(--u-white);border-radius:var(--u-r-md);padding:16px 18px}
.u-cf-offer b{white-space:nowrap;font-size:30px;letter-spacing:-.03em;color:var(--u-ink)}
.u-cf-offer span{font-size:14px;color:var(--u-text)}
.u-cf-ok{display:flex;gap:8px;align-items:flex-start;margin:0;font-size:14px;color:#22573f}
.u-cf-ok svg{width:18px;height:18px;flex:none;color:var(--u-green)}
.u-cf-err{margin:0;font-size:14px;color:var(--u-red)}
.u-cf-loss{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.u-cf-loss li{display:flex;align-items:center;gap:12px;background:var(--u-white);border-radius:var(--u-r-sm);padding:12px 14px;font-size:14.5px;color:var(--u-text)}
.u-cf-x{width:26px;height:26px;border-radius:50%;background:var(--u-red-soft);color:var(--u-red);display:grid;place-items:center;flex:none}
.u-cf-x svg{width:14px;height:14px}
.u-cf-done{display:flex;justify-content:center}
.u-cf-done .u-cf-ic{width:64px;height:64px;border-radius:50%;background:var(--u-ink);color:#fff}
.u-cf-done .u-cf-ic svg{width:30px;height:30px}
@media (max-width:640px){html.ui3 .u-cf-back-drop{align-items:end;padding:10px}.u-cf{padding:16px 18px 18px;max-height:calc(100dvh - 20px)}}
.u-cf-count{margin:-4px 0 0;font-size:13px;color:var(--u-muted)}

/* ---------- upozorenja na vrhu (nema mreže / pala naplata) — hq-core.js renderReconnectBanner/renderBillingGraceBanner ---------- */
.u-alert{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:space-between;margin:0 0 14px;padding:12px 12px 12px 18px;border-radius:var(--u-r-md);font:500 14px/1.4 var(--u-font)}
.u-alert.is-bad{background:var(--u-red-soft);color:#7a2e2a}
.u-alert.is-warn{background:#f6ead2;color:#6b4a12}
.u-alert span{flex:1 1 280px;min-width:0}

/* ---------- Brain po sekcijama (15.10, app/brain-sections.js): pregled + kartice 2–3 kolone, izmena u mestu ---------- */
html.ui3 #v-settings .u-bp-bs{min-width:0}
html.ui3 #v-settings .brs{display:flex;flex-direction:column;gap:14px;font-family:var(--u-font);color:var(--u-text)}
html.ui3 #v-settings .brs-state{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px;border-radius:var(--u-r-lg);background:var(--u-white);font-size:14px;color:var(--u-muted)}
html.ui3 #v-settings .brs-sum{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:18px 22px;padding:22px;border-radius:var(--u-r-lg);background:var(--u-white)}
html.ui3 #v-settings .brs-sum-id{display:flex;gap:16px;min-width:0}
html.ui3 #v-settings .brs-logo{display:grid;place-items:center;flex:none;width:64px;height:64px;overflow:hidden;border-radius:20px;background:var(--u-ink);font-size:26px;font-weight:800;color:#fff}
html.ui3 #v-settings .brs-logo img{width:100%;height:100%;object-fit:contain;background:var(--u-white)}
html.ui3 #v-settings .brs-sum-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
html.ui3 #v-settings .brs-sum-copy h3{margin:0;font:700 22px/1.2 var(--u-font);letter-spacing:-.015em;color:var(--u-ink);overflow-wrap:anywhere}
html.ui3 #v-settings .brs-sum-copy p{margin:0;font-size:14px;line-height:1.5;color:var(--u-text)}
html.ui3 #v-settings .brs-sum-copy p.is-empty{color:var(--u-muted)}
html.ui3 #v-settings .brs-sum-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:4px}
html.ui3 #v-settings .brs-sum-meta>span{font-size:12.5px;color:var(--u-muted)}
html.ui3 #v-settings .brs-sum .u-btn svg,html.ui3 #v-settings .brs-card .u-btn svg{width:15px;height:15px}
html.ui3 #v-settings :is(.brs-sum,.brs-card-foot) .u-btn-ghost{background:var(--u-card)}
html.ui3 #v-settings :is(.brs-sum,.brs-card-foot) .u-btn-ghost:hover{background:var(--u-canvas)}
html.ui3 #v-settings .brs-power{display:flex;flex-direction:column;gap:10px;min-width:0;padding:16px;border-radius:var(--u-r-md);background:var(--u-card)}
html.ui3 #v-settings .brs-power-top{display:flex;align-items:center;gap:12px}
html.ui3 #v-settings .brs-power-top b{display:block;font-size:15px;color:var(--u-ink)}
html.ui3 #v-settings .brs-power-top small{display:block;margin-top:2px;font-size:12.5px;line-height:1.4;color:var(--u-muted)}
html.ui3 #v-settings .brs-ring{--p:0;position:relative;display:grid;place-items:center;flex:none;width:52px;height:52px;border-radius:50%;background:conic-gradient(var(--u-ink) calc(var(--p)*1%),var(--u-line) 0)}
html.ui3 #v-settings .brs-ring::before{content:"";position:absolute;inset:5px;border-radius:50%;background:var(--u-card)}
html.ui3 #v-settings .brs-ring b{position:relative;font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
html.ui3 #v-settings .brs-ring b i{font-size:9px;font-style:normal}
html.ui3 #v-settings .brs-bar{height:6px;overflow:hidden;border-radius:999px;background:var(--u-white)}
html.ui3 #v-settings .brs-bar i{display:block;height:100%;border-radius:inherit;background:var(--u-ink)}
html.ui3 #v-settings .brs-quicks{display:flex;flex-wrap:wrap;gap:6px}
html.ui3 #v-settings .brs-quick{display:inline-flex;align-items:center;gap:7px;padding:6px 12px 6px 6px;border:0;border-radius:999px;background:var(--u-white);font:600 12.5px var(--u-font);color:var(--u-ink);cursor:pointer}
html.ui3 #v-settings .brs-quick b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 4px;border-radius:999px;background:var(--u-ink);font-size:11px;color:#fff}
html.ui3 #v-settings .brs-quick:hover{box-shadow:0 0 0 1px var(--u-ink)}
html.ui3 #v-settings .brs-quick.is-static{cursor:default}
html.ui3 #v-settings .brs-quick.is-static:hover{box-shadow:none}
html.ui3 #v-settings .brs-qs{grid-column:1/-1;display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:var(--u-r-md);background:var(--u-blue-soft)}
html.ui3 #v-settings .brs-qs-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
html.ui3 #v-settings .brs-qs-head svg{width:18px;height:18px;color:var(--u-ink)}
html.ui3 #v-settings .brs-qs-head b{font-size:14.5px;color:var(--u-ink)}
html.ui3 #v-settings .brs-qs-head small{font-size:12.5px;color:var(--u-text)}
html.ui3 #v-settings .brs-qs ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:8px;margin:0;padding:0;list-style:none}
html.ui3 #v-settings .brs-qs li{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:var(--u-r-sm);background:var(--u-white)}
html.ui3 #v-settings .brs-q-text{font-size:13.5px;font-weight:600;color:var(--u-ink)}
html.ui3 #v-settings .brs-q-row{display:flex;gap:8px}
html.ui3 #v-settings .brs-q-row .u-field{flex:1;min-width:0;padding:9px 12px;border-radius:999px;background:var(--u-card);font-size:13.5px}
html.ui3 #v-settings .brs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;align-items:stretch}
html.ui3 #v-settings .brs-card{display:flex;flex-direction:column;gap:14px;min-width:0;padding:20px;border-radius:var(--u-r-lg);background:var(--u-white);transition:box-shadow .2s ease}
html.ui3 #v-settings .brs-card.is-wide,html.ui3 #v-settings .brs-card.is-open{grid-column:1/-1}
html.ui3 #v-settings .brs-card.is-open{box-shadow:0 0 0 2px var(--u-ink)}
html.ui3 #v-settings .brs-card.is-updated{animation:brs-flash 2.6s ease}
@keyframes brs-flash{0%,40%{box-shadow:0 0 0 3px var(--u-green)}100%{box-shadow:0 0 0 0 transparent}}
html.ui3 #v-settings .brs-card-head{display:flex;align-items:center;gap:12px;min-width:0}
html.ui3 #v-settings .brs-ic{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:var(--u-card);color:var(--u-ink)}
html.ui3 #v-settings .brs-ic svg{width:19px;height:19px}
html.ui3 #v-settings .brs-card-t{flex:1;min-width:0}
html.ui3 #v-settings .brs-card-t h3{margin:0;font:700 16px/1.25 var(--u-font);color:var(--u-ink)}
html.ui3 #v-settings .brs-card-t small{display:block;margin-top:2px;font-size:12.5px;color:var(--u-muted)}
html.ui3 #v-settings .brs-fill{flex:none;padding:4px 9px;border-radius:999px;background:var(--u-card);font-size:11.5px;font-weight:600;color:var(--u-muted);white-space:nowrap}
html.ui3 #v-settings .brs-fill.is-full{background:#e2f2ea;color:#2f7a57}
html.ui3 #v-settings .brs-card-body{display:flex;flex-direction:column;gap:12px;min-width:0}
html.ui3 #v-settings .brs-pv{display:flex;flex-direction:column;gap:6px;min-width:0}
html.ui3 #v-settings .brs-lbl{font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--u-muted)}
html.ui3 #v-settings .brs-line{margin:0;font-size:14px;font-weight:600;color:var(--u-ink);overflow-wrap:anywhere}
html.ui3 #v-settings .brs-prose{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0;font-size:14px;line-height:1.5;color:var(--u-text);white-space:pre-line;overflow-wrap:anywhere}
html.ui3 #v-settings .brs-prose.is-open{display:block}
html.ui3 #v-settings .brs-chips{display:flex;flex-wrap:wrap;gap:6px}
html.ui3 #v-settings .brs-chip{max-width:100%;padding:5px 11px;border-radius:999px;background:var(--u-card);font-size:12.5px;line-height:1.35;color:var(--u-ink);overflow-wrap:anywhere}
html.ui3 #v-settings .brs-quotes{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}
html.ui3 #v-settings .brs-quotes li{padding:9px 12px;border-left:3px solid var(--u-line);border-radius:0 12px 12px 0;background:var(--u-card);font-size:13px;font-style:italic;line-height:1.5;color:var(--u-text)}
html.ui3 #v-settings .brs-more{align-self:flex-start;padding:5px 2px;border:0;background:none;font:700 12.5px var(--u-font);color:var(--u-ink);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
html.ui3 #v-settings .brs-empty{display:block;width:100%;padding:10px 12px;border:1px dashed var(--u-line);border-radius:var(--u-r-sm);background:none;font:500 13px/1.45 var(--u-font);color:var(--u-muted);text-align:left;cursor:pointer}
html.ui3 #v-settings .brs-empty::before{content:"+ ";font-weight:700;color:var(--u-ink)}
html.ui3 #v-settings .brs-empty:hover{border-color:var(--u-ink);color:var(--u-ink)}
html.ui3 #v-settings .brs-empty-inline{margin:0;font-size:13px;color:var(--u-muted)}
html.ui3 #v-settings .brs-note{font-size:12px;color:var(--u-muted)}
html.ui3 #v-settings .brs-kv{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
html.ui3 #v-settings .brs-kv b{font-size:13.5px;color:var(--u-ink);text-align:right}
html.ui3 #v-settings .brs-pal{display:flex;padding-left:2px}
html.ui3 #v-settings .brs-pal i{width:30px;height:30px;margin-right:-8px;border:3px solid var(--u-white);border-radius:50%;box-shadow:0 0 0 1px var(--u-line)}
html.ui3 #v-settings .brs-eds{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px 16px}
html.ui3 #v-settings .brs-ed{display:flex;flex-direction:column;gap:6px;min-width:0}
html.ui3 #v-settings .brs-ed textarea.u-field{min-height:96px}
html.ui3 #v-settings .brs-ed-foot{display:flex;justify-content:space-between;gap:10px;font-size:12px}
html.ui3 #v-settings .brs-count{flex:none;font-variant-numeric:tabular-nums}
html.ui3 #v-settings .brs-count.is-over{font-weight:700;color:var(--u-red)}
html.ui3 #v-settings .brs-auto{margin:0;font-size:12px;color:var(--u-muted)}
html.ui3 #v-settings .brs-card-foot{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:36px;margin-top:auto}
html.ui3 #v-settings .brs-st-slot{flex:1;min-width:0}
html.ui3 #v-settings .brs-st{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:var(--u-muted)}
html.ui3 #v-settings .brs-st svg{width:14px;height:14px;padding:2px;border-radius:50%;background:var(--u-green);color:#fff}
html.ui3 #v-settings .brs-st.is-ok{color:#2f7a57}
html.ui3 #v-settings .brs-st.is-err{color:var(--u-red)}
html.ui3 #v-settings .brs-src-slot .u-bp-src-tiles{margin-bottom:12px}
html.ui3 #v-settings .brs-src{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}
@media (max-width:1100px){html.ui3 #v-settings .brs-sum{grid-template-columns:minmax(0,1fr)}}
@media (max-width:900px){html.ui3 #v-settings .brs-grid{grid-template-columns:minmax(0,1fr)}html.ui3 #v-settings .brs-qs ul{grid-template-columns:minmax(0,1fr)}}
@media (max-width:480px){html.ui3 #v-settings .brs-sum,html.ui3 #v-settings .brs-card{padding:16px}html.ui3 #v-settings .brs-logo{width:52px;height:52px;border-radius:16px;font-size:21px}html.ui3 #v-settings .brs-sum-copy h3{font-size:19px}html.ui3 #v-settings .brs-q-row{flex-direction:column}html.ui3 #v-settings .brs-eds{grid-template-columns:minmax(0,1fr)}}
@media (prefers-reduced-motion:reduce){html.ui3 #v-settings .brs-card.is-updated{animation:none}}

/* ---------- 08.10: video čekanja/animacije u UI3 tokenima (bez plave/ljubičaste/cijan i gradijenata) ---------- */
/* prozor „Kreiramo tvoj video" + „Video je spreman" (hq-approval.js u UI3 crta u-vd-* klase; data-* logika ista) */
.u-modal-back.u-vd-back{z-index:1100}
.u-vd-progress-card,.u-vd-result-card{position:relative;font-family:var(--u-font);color:var(--u-text);background:#eef0f5;border-radius:30px;box-shadow:0 30px 80px rgba(16,24,40,.3);width:min(480px,100%);max-height:calc(100dvh - 40px);overflow:auto;padding:26px;animation:u-pop .2s ease}
.u-vd-result-card{width:min(560px,100%);display:flex;flex-direction:column;gap:14px}
.u-vd-dialog-close{position:absolute;top:14px;right:14px;width:44px;height:44px;border:0;border-radius:50%;background:var(--u-white);color:var(--u-ink);font:600 22px/1 var(--u-font);cursor:pointer;display:grid;place-items:center}
.u-vd-dialog-close:focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
.u-vd-progress-art{position:relative;width:58px;height:58px;border-radius:50%;background:var(--u-ink);color:#fff;display:grid;place-items:center;margin-bottom:16px;font-style:normal}
.u-vd-progress-art i{font-style:normal;font-size:16px;line-height:1;margin-left:2px}
.u-vd-progress-art span{position:absolute;inset:-5px;border-radius:50%;border:2px solid var(--u-line);border-top-color:var(--u-ink);animation:u-spin 1s linear infinite}
.u-vd-progress-card.is-failed .u-vd-progress-art{background:var(--u-red)}
.u-vd-progress-card.is-failed .u-vd-progress-art span{animation:none;border-color:transparent}
.u-vd-dialog-eyebrow{margin:0 0 4px;font:600 12px var(--u-font);letter-spacing:.06em;text-transform:uppercase;color:var(--u-muted)}
.u-vd-progress-card h2,.u-vd-result-card h2{margin:0 50px 6px 0;font:700 24px/1.15 var(--u-font);letter-spacing:-.02em;color:var(--u-ink)}
.u-vd-progress-card>p:not(.u-vd-dialog-eyebrow),.u-vd-result-copy>p:not(.u-vd-dialog-eyebrow){margin:0;font:400 14px/1.5 var(--u-font);color:var(--u-muted)}
.u-vd-progress-status{display:flex;justify-content:space-between;gap:12px;margin:20px 0 8px;font:600 13px var(--u-font);color:var(--u-ink)}
.u-vd-progress-status b{font-weight:600;color:var(--u-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.u-vd-progress-track{height:6px;border-radius:999px;background:var(--u-white);overflow:hidden}
.u-vd-progress-track span{display:block;height:100%;width:0;background:var(--u-ink);border-radius:inherit;transition:width .4s}
.u-vd-progress-card.is-failed .u-vd-progress-track span{background:var(--u-red)}
.u-vd-dialog-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:22px}
.u-vd-dialog-actions [hidden]{display:none}
.u-vd-result-card .u-vd-dialog-actions{margin-top:0}
.u-vd-result-card video{display:block;width:100%;max-height:min(62dvh,640px);border-radius:var(--u-r-md);background:var(--u-ink);object-fit:contain}
.u-vd-stale{background:var(--u-white);border-radius:var(--u-r-sm);padding:12px 14px;font:500 13px/1.45 var(--u-font);color:var(--u-text)}
@media (max-width:640px){.u-modal-back.u-vd-back{place-items:end center;padding:10px}.u-vd-progress-card,.u-vd-result-card{padding:20px 18px}.u-vd-dialog-actions .u-btn{flex:1 1 100%}}
@media (prefers-reduced-motion:reduce){.u-vd-progress-art span{animation:none}.u-vd-progress-track span{transition:none}}
/* „Prvi nacrt je u pripremi" (autoGenerationProgress; boje u ui.css nisu zaključane) → crni hero, ravne boje */
html.ui3 .vp-auto-progress{font-family:var(--u-font);background:#eef0f5;border:0;border-radius:30px;box-shadow:0 30px 80px rgba(16,24,40,.3)}
html.ui3 .vp-auto-progress-hero{background:var(--u-ink)}
html.ui3 .vp-auto-progress-hero::before{display:none}
html.ui3 .vp-auto-progress-hero h2{font-family:var(--u-font);text-shadow:none}
html.ui3 .vp-auto-progress-hero p{text-shadow:none}
html.ui3 .vp-auto-progress-close{border-radius:50%;border-color:rgba(255,255,255,.18);font-family:var(--u-font)}
html.ui3 .vp-auto-progress-close:is(:focus,:focus-visible){box-shadow:none}
html.ui3 .vp-auto-progress-eyebrow i{background:var(--u-green);box-shadow:none}
html.ui3 .vp-auto-progress-orbit{border-color:rgba(255,255,255,.18)}
html.ui3 .vp-auto-progress-orbit::before,html.ui3 .vp-auto-progress-orbit::after{background:#fff;box-shadow:none}
html.ui3 .vp-auto-progress-core{border-radius:50%;border-color:rgba(255,255,255,.24);background:rgba(255,255,255,.08)}
html.ui3 .vp-auto-progress-core svg{filter:none}
html.ui3 .vp-auto-progress-flow{border:0;background:var(--u-white);color:var(--u-ink)}
html.ui3 .vp-auto-progress-step{border-radius:var(--u-r-sm);color:var(--u-muted)}
html.ui3 .vp-auto-progress-step i{border-radius:50%;border-color:var(--u-line);background:var(--u-white)}
html.ui3 .vp-auto-progress-step.active{border-color:transparent;background:var(--u-white);color:var(--u-ink)}
html.ui3 .vp-auto-progress-step.active i{border-color:var(--u-ink);background:var(--u-white)}
html.ui3 .vp-auto-progress-step.active i::before{background:var(--u-ink);box-shadow:none}
html.ui3 :is(.vp-auto-progress-step.done,.vp-auto-progress.is-done .vp-auto-progress-step) i{border-color:var(--u-green);background:var(--u-green);color:#fff}
html.ui3 .vp-auto-progress.is-failed .vp-auto-progress-hero{background:var(--u-ink)}
html.ui3 .vp-auto-progress.is-failed .vp-auto-progress-eyebrow i{background:var(--u-red);box-shadow:none}
html.ui3 .vp-auto-progress.is-failed .vp-auto-progress-step.active{background:var(--u-red-soft);color:var(--u-red)}
html.ui3 .vp-auto-progress.is-failed .vp-auto-progress-step.active i{border-color:var(--u-red);background:var(--u-white)}
html.ui3 .vp-auto-progress.is-failed .vp-auto-progress-step.active i::before{background:var(--u-red)}
html.ui3 .vp-auto-progress-note{background:var(--u-white);border-radius:var(--u-r-sm);color:var(--u-text)}
html.ui3 .vp-auto-progress-note svg{color:var(--u-ink)}
/* titlovi UGC snimka: „Prepisujemo govor…" (čarobnjak) + otpremanje klipa */
html.ui3 .awz-capwait{border:0;border-radius:var(--u-r-lg);background:var(--u-white)}
html.ui3 .awz-capwait b{color:var(--u-ink)}
html.ui3 .awz-capwait small{color:var(--u-muted)}
html.ui3 .awz-capwait.is-err b{color:var(--u-red)}
html.ui3 .awz-clipspin{border-color:var(--u-line);border-top-color:var(--u-ink);animation-name:u-spin}
html.ui3 .awz-capdot{background:var(--u-ink)}
html.ui3 .awz-capstatus{color:var(--u-muted);font-family:var(--u-font)}
html.ui3 .awz-capstatus.is-ok{color:var(--u-green)}
html.ui3 .awz-capstatus.is-err{color:var(--u-red)}
html.ui3 .awz-clipbar{background:var(--u-white)}
html.ui3 .awz-clipbar i{background:var(--u-ink)}
html.ui3 #crWizard .awz-clipdrop:hover{border-color:var(--u-ink);background:var(--u-white)}
/* opšti prozor napretka (objava/zakazivanje: apProgress) — ui.css čita --acc/--line… → UI3 tokeni */
html.ui3 .vp-prog-backdrop{background:rgba(30,34,44,.35);backdrop-filter:blur(3px)}
html.ui3 .vp-prog{--acc:var(--u-ink);--green:var(--u-green);--red:var(--u-red);--line:var(--u-line);--ink:var(--u-ink);--muted:var(--u-muted);font-family:var(--u-font);background:#eef0f5;border-radius:30px;box-shadow:0 30px 80px rgba(16,24,40,.3)}
html.ui3 .vp-prog-spin{border-color:var(--u-line);border-top-color:var(--u-ink)}
html.ui3 .vp-prog-bar{background:var(--u-white);height:6px;border-radius:999px}
html.ui3 .vp-prog-bar>span{background:var(--u-ink)}
html.ui3 .awz-capfont.on{box-shadow:inset 0 0 0 2px var(--u-ink)}
html.ui3 .awz-avatar-ic{color:var(--u-ink)}
html.ui3 #crWizard .awz-clipdrop{color:var(--u-ink)}
html.ui3 .awz-clipplus{background:var(--u-ink)}
@media (prefers-reduced-motion:reduce){html.ui3 #v-inbox .inbx-skel :is(i,b){animation:none}}
/* ---------- 12.10: avatar video sa tvojom ponudom ----------
   u-offer   = korak čarobnjaka „Ponuda" (do 3 fotke, opciono);
   u-shots   = ekran odobrenja kadrova pre rendera (kadar osobe, kadar ponude, završna fotka). Bez skrola: kartice se
   dimenzionišu iz visine prozora; na telefonu je red kartica vodoravna traka sa hvatanjem (scroll-snap). */
.u-offer{display:flex;justify-content:center;gap:14px;flex-wrap:nowrap;margin:6px auto 0;max-width:100%}
.u-offer-tile{position:relative;box-sizing:border-box;flex:0 1 auto;height:clamp(150px,34vh,300px);aspect-ratio:4/5;border-radius:var(--u-r-md,22px);background:var(--u-white,#fff) center/cover no-repeat;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0}
.u-offer-tile.is-add{background:rgba(255,255,255,.5);border:1.5px dashed var(--u-line,#d3d8e2);padding:12px}
.u-offer-tile.is-busy{background:#e3e7ee;animation:u-breathe 1.2s ease-in-out infinite}
.u-offer-plus{width:26px;height:26px;fill:none;stroke:var(--u-muted,#7d838f);stroke-width:1.8;stroke-linecap:round;margin-bottom:4px}
.u-offer-x{position:absolute;top:8px;right:8px;width:30px;height:30px;border:0;border-radius:50%;background:rgba(13,14,17,.72);color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.u-offer-x svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.u-offer-x:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* is-many (15.10, Motion: do 6 slika proizvoda): pločice se prelamaju u redove i manje su */
.u-offer.is-many{flex-wrap:wrap;max-width:760px}
.u-offer.is-many .u-offer-tile{height:clamp(120px,22vh,190px)}

.u-shots-back{position:fixed;inset:0;z-index:960;background:rgba(30,34,44,.4);backdrop-filter:blur(3px);display:grid;place-items:center;padding:20px}
.u-shots{position:relative;box-sizing:border-box;font-family:var(--u-font,inherit);color:var(--u-text,#22252c);background:#eef0f5;border-radius:30px;box-shadow:0 30px 80px rgba(16,24,40,.3);width:min(980px,100%);max-width:100%;min-width:0;max-height:calc(100dvh - 40px);padding:22px 24px 24px;display:flex;flex-direction:column;gap:16px;animation:u-pop .2s ease}
.u-shots-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;padding-right:46px}
.u-shots-title{margin:0;font:700 22px/1.2 var(--u-font,inherit);letter-spacing:-.02em;color:var(--u-ink,#0d0e11)}
.u-shots-x{position:absolute;top:18px;right:18px;background:var(--u-white,#fff)}
.u-shots-row{display:flex;justify-content:center;gap:16px;min-height:0;min-width:0;max-width:100%}
.u-shot{flex:0 1 auto;display:flex;flex-direction:column;gap:10px;min-width:0;margin:0}
.u-shot-frame{position:relative;height:clamp(240px,calc(100dvh - 300px),520px);aspect-ratio:9/16;border-radius:var(--u-r-md,22px);overflow:hidden;background:#dfe3ea}
.u-shot-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.u-shot.is-photo .u-shot-frame img{object-fit:contain;background:#fff}
.u-shot-frame.is-wait{background:#dfe3ea;animation:u-breathe 1.2s ease-in-out infinite}
.u-shot-frame.is-empty{display:grid;place-items:center;color:var(--u-muted,#7d838f)}
.u-shot-frame.is-empty svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.u-shot-tag{position:absolute;top:10px;left:10px;z-index:1;border-radius:999px;background:rgba(13,14,17,.74);color:#fff;font:600 12.5px/1 var(--u-font,inherit);padding:7px 11px}
.u-shot-note{position:absolute;left:10px;bottom:10px;z-index:1;border-radius:999px;background:rgba(255,255,255,.92);color:var(--u-ink,#0d0e11);font:600 12px/1 var(--u-font,inherit);padding:7px 11px}
.u-shot-acts{display:flex;gap:8px;justify-content:center;min-height:36px;flex-wrap:nowrap}
/* QA3 15.10: „x" izbacuje kadar iz videa; izbačen kadar = prazna kartica + „Vrati" */
.u-shot-rm{position:absolute;top:8px;right:8px;z-index:2;width:30px;height:30px;border:0;border-radius:999px;background:rgba(13,14,17,.74);color:#fff;display:grid;place-items:center;padding:0;cursor:pointer}
.u-shot-rm svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.u-shot-rm:hover{background:var(--u-ink,#0d0e11)}
.u-shot-rm:disabled{opacity:.5;cursor:default}
.u-shot.is-removed .u-shot-frame{background:transparent;border:2px dashed #cfd4de}
.u-shot-gone{font:600 13px/1.3 var(--u-font,inherit);color:var(--u-muted,#7d838f);text-align:center;padding:0 12px}
.u-shot-acts .u-btn{padding:10px 14px;font-size:13px}
.u-shots-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}
.u-shots-foot .u-btn-ink{min-width:220px}
.u-shots.is-single{width:min(520px,100%)}
.u-redo-back{position:fixed;inset:0;z-index:970;background:rgba(30,34,44,.32);display:grid;place-items:center;padding:20px}
.u-redo{box-sizing:border-box;font-family:var(--u-font,inherit);background:#eef0f5;border-radius:26px;box-shadow:0 24px 60px rgba(16,24,40,.28);width:min(420px,100%);padding:22px;display:flex;flex-direction:column;gap:14px;margin:0;animation:u-pop .18s ease}
.u-redo-title{margin:0;font:700 19px/1.2 var(--u-font,inherit);letter-spacing:-.02em;color:var(--u-ink,#0d0e11)}
.u-redo-chips{display:flex;flex-wrap:wrap;gap:8px}
.u-redo-quick{display:flex;flex-direction:column;gap:8px}
.u-redo-lbl{font:600 12.5px/1 var(--u-font,inherit);color:var(--u-muted,#7d838f)}
.u-redo-chip{border:0;border-radius:999px;background:var(--u-white,#fff);color:var(--u-ink,#0d0e11);font:600 13px/1 var(--u-font,inherit);padding:10px 14px;cursor:pointer}
.u-redo-chip[aria-pressed="true"]{background:var(--u-ink,#0d0e11);color:#fff}
.u-redo-chip:focus-visible{outline:2px solid var(--u-ink,#0d0e11);outline-offset:2px}
.u-redo .u-redo-input:focus{outline:0;box-shadow:inset 0 0 0 2px var(--u-ink,#0d0e11)}
.u-redo .u-redo-input{box-sizing:border-box;display:block;width:100%;min-height:76px;resize:none;border:0;box-shadow:inset 0 0 0 1.5px var(--u-line,#d3d8e2);border-radius:16px;background:var(--u-white,#fff);color:var(--u-ink,#0d0e11);font:500 15px/1.4 var(--u-font,inherit);padding:13px 15px}
.u-redo .u-redo-input::placeholder{color:#5f6672;opacity:1}
.u-redo-acts{display:flex;gap:10px;justify-content:flex-end}
@media (max-width:760px){.u-redo-back{padding:14px;place-items:end center}.u-redo-acts{flex-direction:column-reverse}.u-redo-acts .u-btn{width:100%}.u-redo-input{font-size:16px}}
.u-shot-acts .u-btn.is-saved{opacity:1;color:var(--u-ink,#0d0e11);gap:6px}
.u-shot-acts .u-btn.is-saved svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.u-sb-person{display:block;width:72px;aspect-ratio:9/16;object-fit:cover;border-radius:14px;background:#dfe3ea}
.u-face{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.u-face img{width:64px;aspect-ratio:9/16;object-fit:cover;border-radius:14px;background:#dfe3ea;flex:none}
.u-shots-err{margin:0;font:600 13px/1.3 var(--u-font,inherit);color:var(--u-red,#d9655f);text-align:center}
/* 15.10 kadrovi u scenariju („Osoba u videu"): iste kartice kao prozor kadrova, tri u redu, manje; čekanje u kartici */
.u-shot-frame.is-wait{display:grid;place-items:center}
.u-shot-wait{display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 8px;font:600 12px/1.3 var(--u-font,inherit);color:var(--u-muted,#7d838f);text-align:center}
.u-shots-inline{display:flex;flex-direction:column;gap:10px;min-width:0;width:100%}
.u-shots-row.is-inline{justify-content:flex-start;gap:10px}
.u-shots-row.is-inline .u-shot{flex:0 1 180px;min-width:0;gap:8px}
.u-shots-row.is-inline .u-shot-frame{height:auto;width:100%;border-radius:16px}
.u-shots-row.is-inline .u-shot-acts{flex-direction:column;align-items:stretch;gap:6px;min-height:0}
.u-shots-row.is-inline .u-shot-acts .u-btn{width:100%;padding:8px 10px;font-size:12.5px}
.u-shots-row.is-inline .u-shot-tag{top:8px;left:8px;padding:6px 9px;font-size:11.5px}
.u-shots-row.is-inline .u-shot-note{left:8px;right:8px;bottom:8px;padding:6px 8px;font-size:11px;text-align:center}
.u-shots-row.is-inline .u-shot-rm{top:6px;right:6px;width:28px;height:28px}
.u-shots-row.is-inline .u-shot-gone{font-size:12px}
.u-shots-hint{margin:0;font:500 13px/1.4 var(--u-font,inherit);color:var(--u-muted,#7d838f)}
.u-shots-make{display:flex}
@media (max-width:760px){
  .u-shots-row.is-inline{padding:0;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
  .u-shots-row.is-inline .u-shot{flex:0 0 116px;scroll-snap-align:start}
  .u-shots-row.is-inline .u-shot-tag{top:6px;left:6px;padding:5px 7px;font-size:10.5px}
}
@media (max-width:760px){
  .u-offer{gap:8px}
  .u-offer-tile{height:auto;flex:1 1 0;max-width:150px}
  .u-offer-tile.is-add{padding:8px}
  .u-offer-tile.is-add .u-btn{padding:9px 10px;font-size:12.5px;width:100%}
  .u-offer.is-many .u-offer-tile{flex:0 0 calc((100% - 16px) / 3);max-width:none;height:auto}
  .u-shots-back{padding:0;display:flex;align-items:flex-end}
  .u-shots{width:100%;max-height:100dvh;border-radius:26px 26px 0 0;padding:18px 0 18px;gap:12px}
  .u-shots-head{padding:0 60px 0 18px}
  .u-shots-x{top:14px;right:14px}
  .u-shots-row{justify-content:flex-start;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:0 18px;scrollbar-width:none}
  .u-shots-row::-webkit-scrollbar{display:none}
  .u-shot{flex:0 0 auto;scroll-snap-align:center}
  .u-shots.is-single .u-shots-row{justify-content:center}
  .u-shot-frame{height:clamp(220px,calc(100dvh - 290px),440px)}
  .u-shots-foot{flex-direction:column-reverse;align-items:stretch;padding:0 18px}
  .u-shots-foot .u-btn{width:100%}
}

/* ===== AI asistenti (MCP) — redizajn 09.10: prave oznake alata u ujednačenim pločicama ===== */
html.ui3 #v-mcp .u-mcp{display:flex;flex-direction:column;gap:32px;font-family:var(--u-font);color:var(--u-text)}
html.ui3 #v-mcp .u-mcp-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;align-items:center;padding:32px 34px;border-radius:var(--u-r-xl);background:var(--u-ink);color:#fff}
html.ui3 #v-mcp .u-mcp-hero h2{margin:0 0 10px;font:800 38px/1.06 var(--u-font);letter-spacing:-.03em;text-wrap:balance;color:#fff}
html.ui3 #v-mcp .u-mcp-hero p{max-width:52ch;margin:0;font-size:15px;line-height:1.55;color:var(--u-on-sub)}
html.ui3 #v-mcp .u-mcp-strip{display:flex;flex-direction:column;gap:8px;margin-top:22px}
html.ui3 #v-mcp .u-mcp-strip small{font-size:12px;font-weight:600;letter-spacing:.04em;color:var(--u-on-sub)}
html.ui3 #v-mcp .u-mcp-strip>span{display:flex;flex-wrap:wrap;gap:6px}
html.ui3 #v-mcp .u-mcp-demo{display:flex;flex-direction:column;gap:10px;padding:20px;border-radius:var(--u-r-lg);background:rgba(255,255,255,.07)}
html.ui3 #v-mcp .u-mcp-msg{max-width:88%;padding:12px 16px;border-radius:20px;font-size:14px;line-height:1.5}
html.ui3 #v-mcp .u-mcp-msg.is-user{align-self:flex-end;border-bottom-right-radius:6px;background:var(--u-white);color:var(--u-ink)}
html.ui3 #v-mcp .u-mcp-msg.is-bot{align-self:flex-start;border-bottom-left-radius:6px;background:rgba(255,255,255,.14);color:#fff}
html.ui3 #v-mcp .u-mcp-tool{display:block;margin-bottom:6px;font-size:11.5px;font-weight:700;letter-spacing:.04em;color:var(--u-on-sub)}
html.ui3 .u-mcp-logo{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:14px;background:var(--u-white);box-shadow:inset 0 0 0 1px var(--u-line);color:var(--u-ink)}
html.ui3 .u-mcp-logo svg{width:26px;height:26px}
html.ui3 .u-mcp-logo.is-sm{width:32px;height:32px;border-radius:10px;box-shadow:none}
html.ui3 .u-mcp-logo.is-sm svg{width:18px;height:18px}
html.ui3 .u-mcp-logo.is-more{background:rgba(255,255,255,.14);font-size:12px;font-weight:700;color:#fff}
html.ui3 #v-mcp .u-mcp-sec{display:flex;flex-direction:column;gap:14px}
html.ui3 #v-mcp .u-mcp-sec h3{margin:0;font:700 22px/1.2 var(--u-font);letter-spacing:-.01em;color:var(--u-ink)}
html.ui3 #v-mcp .u-mcp-sec header p{margin:4px 0 0;font-size:14px;color:var(--u-muted)}
html.ui3 #v-mcp .u-mcp-popular{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html.ui3 #v-mcp .u-mcp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
html.ui3 #v-mcp .u-mcp-card{display:flex;align-items:center;gap:14px;min-width:0;padding:14px 16px;border:0;border-radius:var(--u-r-md);background:var(--u-white);font-family:var(--u-font);color:var(--u-text);text-align:left;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
html.ui3 #v-mcp .u-mcp-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(16,24,40,.08)}
html.ui3 #v-mcp .u-mcp-card:focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
html.ui3 #v-mcp .u-mcp-card.is-big{gap:18px;padding:22px;border-radius:var(--u-r-lg)}
html.ui3 #v-mcp .u-mcp-card.is-big .u-mcp-logo{width:60px;height:60px;border-radius:18px}
html.ui3 #v-mcp .u-mcp-card.is-big .u-mcp-logo svg{width:32px;height:32px}
html.ui3 #v-mcp .u-mcp-card-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
html.ui3 #v-mcp .u-mcp-card b{font-size:15px;color:var(--u-ink);overflow-wrap:anywhere}
html.ui3 #v-mcp .u-mcp-card.is-big b{font-size:18px}
html.ui3 #v-mcp .u-mcp-card small{font-size:12.5px;color:var(--u-muted)}
html.ui3 #v-mcp .u-mcp-card small.is-oauth{font-weight:600;color:var(--u-green)}
html.ui3 #v-mcp .u-mcp-card i{display:grid;place-items:center;flex:none;width:30px;height:30px;margin-left:auto;border-radius:50%;background:var(--u-card);color:var(--u-ink)}
html.ui3 #v-mcp .u-mcp-card i svg{width:14px;height:14px}
html.ui3 #v-mcp .u-mcp-prompts{display:flex;flex-direction:column;gap:8px}
html.ui3 #v-mcp .u-mcp-prompt{display:flex;align-items:center;gap:12px;padding:10px 10px 10px 18px;border-radius:999px;background:var(--u-white)}
html.ui3 #v-mcp .u-mcp-prompt span{flex:1;min-width:0;font-size:14.5px;line-height:1.5;color:var(--u-ink)}
html.ui3 #v-mcp .u-mcp-copy{flex:none;width:40px;height:40px}
html.ui3 #v-mcp .u-mcp-copy svg{width:16px;height:16px}
html.ui3 #v-mcp .u-mcp-copy.is-copied{border-color:var(--u-green);background:var(--u-green);color:#fff}
html.ui3 :is(#v-mcp,.u-mcp-modal) .u-btn svg{width:15px;height:15px}
html.ui3 :is(#v-mcp,.u-mcp-modal) .u-btn.is-copied{background:var(--u-green);color:#fff}
html.ui3 #v-mcp .u-mcp-dev{border-radius:var(--u-r-lg);background:var(--u-white)}
html.ui3 #v-mcp .u-mcp-dev summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;list-style:none;cursor:pointer}
html.ui3 #v-mcp .u-mcp-dev summary::-webkit-details-marker{display:none}
html.ui3 #v-mcp .u-mcp-dev summary::after{content:"+";display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:var(--u-card);font-size:18px;color:var(--u-ink)}
html.ui3 #v-mcp .u-mcp-dev[open] summary::after{content:"−"}
html.ui3 #v-mcp .u-mcp-dev summary b{display:block;font-size:16px;color:var(--u-ink)}
html.ui3 #v-mcp .u-mcp-dev summary small{display:block;margin-top:3px;font-size:13px;color:var(--u-muted)}
html.ui3 #v-mcp .u-mcp-dev-body{display:flex;flex-direction:column;gap:16px;padding:0 20px 20px}
html.ui3 #v-mcp .u-mcp-server{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:var(--u-r-sm);background:var(--u-card)}
html.ui3 #v-mcp .u-mcp-server dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
html.ui3 #v-mcp .u-mcp-server dt{font-size:12.5px;font-weight:600;color:var(--u-muted)}
html.ui3 #v-mcp .u-mcp-server dd{margin:3px 0 0;font-size:13.5px;line-height:1.5;color:var(--u-ink)}
html.ui3 #v-mcp .u-mcp-safe{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border-radius:var(--u-r-md);box-shadow:inset 0 0 0 1px var(--u-line)}
html.ui3 #v-mcp .u-mcp-safe svg{flex:none;width:20px;height:20px;color:var(--u-ink)}
html.ui3 #v-mcp .u-mcp-safe p{margin:0;font-size:13.5px;line-height:1.5;color:var(--u-muted)}
html.ui3 .u-mcp-modal .u-modal{box-sizing:border-box;display:flex;flex-direction:column;gap:16px;width:min(580px,100%);max-height:calc(100dvh - 40px);overflow:auto}
html.ui3 .u-mcp-modal-head{display:flex;align-items:center;gap:14px;padding-right:44px}
html.ui3 .u-mcp-modal-head h3{margin:0;font:700 21px/1.2 var(--u-font);color:var(--u-ink)}
html.ui3 .u-mcp-modal-head small{font-size:13px;color:var(--u-muted)}
html.ui3 .u-mcp-steps{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
html.ui3 .u-mcp-steps li{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border-radius:var(--u-r-sm);background:var(--u-white)}
html.ui3 .u-mcp-steps li>span{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:var(--u-ink);font-size:13px;font-weight:700;color:#fff}
html.ui3 .u-mcp-steps p{margin:4px 0 0;font-size:14px;line-height:1.5;color:var(--u-text);overflow-wrap:anywhere}
html.ui3 .u-mcp-field{min-width:0}
html.ui3 .u-mcp-field small{display:block;margin-bottom:6px;font-size:12.5px;font-weight:600;color:var(--u-muted)}
html.ui3 .u-mcp-field .vp-mcp-snippet{display:flex;align-items:flex-start;gap:10px;padding:10px 10px 10px 16px;border-radius:var(--u-r-sm);background:var(--u-white)}
html.ui3 .u-mcp-field pre{flex:1;min-width:0;margin:6px 0;overflow-x:auto;font:500 13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--u-ink);white-space:pre}
html.ui3 .u-mcp-note{margin:0;font-size:13px;line-height:1.5;color:var(--u-muted)}
html.ui3 .u-mcp-keybtn{align-self:flex-start}
@media (max-width:760px){html.ui3 #v-mcp .u-mcp{gap:26px}html.ui3 #v-mcp .u-mcp-hero{grid-template-columns:minmax(0,1fr);padding:24px}html.ui3 #v-mcp .u-mcp-hero h2{font-size:29px}html.ui3 #v-mcp :is(.u-mcp-popular,.u-mcp-server dl){grid-template-columns:minmax(0,1fr)}html.ui3 #v-mcp .u-mcp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html.ui3 #v-mcp .u-mcp-grid .u-mcp-card{flex-direction:column;align-items:flex-start;gap:10px;padding:12px}html.ui3 #v-mcp .u-mcp-grid .u-mcp-card i{display:none}html.ui3 #v-mcp .u-mcp-grid .u-mcp-logo{width:40px;height:40px;border-radius:12px}html.ui3 #v-mcp .u-mcp-grid .u-mcp-logo svg{width:22px;height:22px}html.ui3 #v-mcp .u-mcp-card.is-big{padding:16px}html.ui3 #v-mcp .u-mcp-card.is-big .u-mcp-logo{width:52px;height:52px}html.ui3 #v-mcp .u-mcp-prompt{border-radius:var(--u-r-md)}html.ui3 #v-mcp .u-mcp-dev-body{padding:0 14px 14px}html.ui3 .u-mcp-field .vp-mcp-snippet{flex-direction:column;align-items:stretch;padding:10px 12px}html.ui3 .u-mcp-field .vp-mcp-snippet .u-btn{align-self:flex-end}}

/* ---------- Tvoj kalendar objava (09.11 „Prvi mesec", 12.11 deo Kalendara; ui3-start.js) ---------- */
.u-stp{display:flex;flex-direction:column;gap:22px;max-width:1240px;margin:0 auto;padding:8px 0 40px;font-family:var(--u-font);color:var(--u-text)}
.u-stp>.u-stp{width:100%} /* telo (kalendar) u kosturu: bez ovoga se kraći plan (⚡ serija bez trake Otključaj) skupljao na širinu sadržaja */
.u-st-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 24px}
.u-st-title h1{margin:0;font-size:clamp(28px,4vw,40px);line-height:1.08;font-weight:700;letter-spacing:-.02em;color:var(--u-ink)}
.u-st-title p{margin:8px 0 0;max-width:62ch;font-size:15px;color:var(--u-muted)}
.u-st-side{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.u-st-progress{font-size:13.5px;font-weight:600;color:var(--u-muted)}
.u-st-planning,.u-st-unlock,.u-st-empty{display:flex;align-items:center;gap:16px;background:var(--u-white);border-radius:var(--u-r-lg);padding:20px 22px}
.u-st-planning p,.u-st-unlock p{margin:4px 0 0;font-size:13.5px;color:var(--u-muted)}
.u-st-unlock>div{flex:1;min-width:0}
.u-st-unlock b,.u-st-planning b{font-size:16px;color:var(--u-ink)}
.u-st-empty{flex-direction:column;align-items:flex-start}
.u-st-empty h1{margin:0;font-size:24px;color:var(--u-ink)}
.u-st-empty p{margin:0;color:var(--u-muted)}
.u-st-lock{width:44px;height:44px;border-radius:50%;background:var(--u-ink);color:var(--u-white);display:grid;place-items:center;flex:none}
.u-st-lock svg{width:20px;height:20px}
.u-st-spin{width:22px;height:22px;border-radius:50%;border:2.5px solid var(--u-line);border-top-color:var(--u-ink);animation:u-spin .9s linear infinite;flex:none}
/* kalendar */
.u-st-cal{background:var(--u-panel);border-radius:var(--u-r-lg);padding:16px}
.u-st-cal-head,.u-st-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.u-st-wd{font-size:12px;font-weight:600;color:var(--u-muted);text-transform:capitalize;padding:0 6px 6px}
.u-st-day{min-height:118px;border-radius:var(--u-r-sm);background:rgba(255,255,255,.45);padding:6px;display:flex;flex-wrap:wrap;align-content:flex-start;gap:4px}
.u-st-day.has-post{background:var(--u-white)}
.u-st-dn{width:100%;font-size:12px;font-weight:600;color:var(--u-muted)}
.u-st-dot{width:26px;height:26px;border-radius:50%;border:0;padding:0;cursor:pointer;display:grid;place-items:center;background:var(--u-blue-soft);color:var(--u-ink)}
.u-st-dot svg{width:13px;height:13px}
.u-st-dot.is-ready{background:var(--u-ink)}
.u-st-dot.is-scheduled{background:var(--u-blue)}
.u-st-dot.is-published{background:var(--u-green)}
.u-st-dot.is-skipped{background:#c5cad3}
.u-st-dot.is-failed{background:var(--u-red)}
.u-st-dot.is-locked{background:var(--u-canvas-2)}
.u-st-dot:focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
.u-st-thumb{position:relative;width:min(100%,88px);aspect-ratio:4/5;border:0;padding:0;border-radius:8px;overflow:hidden;cursor:pointer;background:var(--u-card);box-shadow:0 0 0 1px var(--u-line)}
.u-st-thumb img,.u-st-thumb video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.u-st-thumb .u-st-engine{pointer-events:none}
.u-st-thumb.is-scheduled{box-shadow:0 0 0 2px var(--u-blue)}
.u-st-thumb.is-published{box-shadow:0 0 0 2px var(--u-green)}
.u-st-thumb.is-skipped{opacity:.4}
.u-st-thumb:focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
.u-st-thumb-play{position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:rgba(13,14,17,.6);color:var(--u-white);display:grid;place-items:center}
.u-st-thumb-play svg{width:10px;height:10px}
/* kalendar meseca + uvećan prikaz sa odlukom (12.11: bez mreže kartica) */
.u-st-engine{position:absolute;inset:0;overflow:hidden}
/* 10.11: zaključano = zamagljena prava objava iz serije + katanac */
.u-st-ghost{position:absolute;inset:0;overflow:hidden;filter:blur(16px) saturate(1.1);transform:scale(1.12);pointer-events:none}
.u-st-ghost img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.u-st-thumb .u-st-ghost{filter:blur(4px);transform:scale(1.15)}
.u-st-ghost::after{content:"";position:absolute;inset:0;background:var(--st-tint,transparent);mix-blend-mode:soft-light;opacity:.55}
.u-st-thumb .u-st-ghost.u-st-gv1{transform:scale(1.4) translate(8%,-6%)}
.u-st-thumb .u-st-ghost.u-st-gv2{transform:scale(1.25) scaleX(-1)}
.u-st-thumb .u-st-ghost.u-st-gv3{transform:scale(1.5) translate(-9%,7%);filter:blur(4px) hue-rotate(-14deg)}
.u-st-thumb .u-st-ghost.u-st-gv4{transform:scale(1.3) scaleX(-1) translate(6%,6%);filter:blur(4px) saturate(1.35)}
.u-st-thumb .u-st-ghost.u-st-gv5{transform:scale(1.22) translate(0,-9%);filter:blur(4px) hue-rotate(16deg)}
.u-st-thumb[draggable="true"]{cursor:grab}
.u-st-thumb.is-dragging{opacity:.45}
.u-st-thumb.is-past{box-shadow:0 0 0 2px var(--u-amber)}
.u-st-day.is-drop{box-shadow:inset 0 0 0 2px var(--u-ink)}
.u-st-note{margin:0;font-size:13px;line-height:1.45;color:var(--u-muted)}
.u-st-thumb-lock{position:absolute;left:50%;top:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border-radius:50%;background:var(--u-white);color:var(--u-ink);display:grid;place-items:center}
.u-st-thumb-lock svg{width:11px;height:11px}
/* 16.11: objava se pravi (posle Otključaj / poklon) — zamagljena kopija + natpis „Pravi se…" */
.u-st-thumb-busy{position:absolute;left:5px;right:5px;bottom:5px;display:flex;align-items:center;justify-content:center;gap:5px;padding:4px 6px;border-radius:999px;background:var(--u-white);color:var(--u-ink);font-size:10.5px;font-weight:600;line-height:1.2;text-align:center}
.u-st-thumb-busy .u-st-spin{width:10px;height:10px;border-width:2px}
.u-st-lb{width:min(680px,100%,calc((100dvh - 250px)*.8));padding:60px 18px 18px;display:flex;flex-direction:column;gap:12px}
.u-st-lb.is-story{width:min(480px,100%,calc((100dvh - 250px)*.5625))}
.u-st-lb .u-modal-x{z-index:3}
.u-st-lb-stage{position:relative;aspect-ratio:4/5;border-radius:var(--u-r-sm);overflow:hidden;background:var(--u-white)}
.u-st-lb.is-story .u-st-lb-stage{aspect-ratio:9/16}
.u-st-lb-stage img,.u-st-lb-stage video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.u-st-lb-dots{display:flex;justify-content:center;gap:6px}
.u-st-lb-dots span{width:7px;height:7px;border-radius:50%;background:var(--u-line)}
.u-st-lb-dots span.on{background:var(--u-ink)}
.u-st-nav{position:absolute;top:50%;z-index:2;width:34px;height:34px;margin-top:-17px;border:0;border-radius:50%;background:var(--u-white);color:var(--u-ink);display:grid;place-items:center;cursor:pointer;box-shadow:0 2px 10px rgba(13,14,17,.18)}
.u-st-nav svg{width:18px;height:18px}
.u-st-nav.is-prev{left:10px}
.u-st-nav.is-next{right:10px}
.u-st-nav[hidden]{display:none}
.u-st-nav:focus-visible{outline:2px solid var(--u-ink);outline-offset:2px}
.u-st-acts .u-btn svg{width:15px;height:15px}
.u-st-body{display:flex;flex-direction:column;gap:10px;padding:16px 18px 18px}
.u-st-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.u-st-meta .u-chip{display:inline-flex;align-items:center;gap:5px;background:var(--u-card)}
.u-st-meta .u-chip svg{width:12px;height:12px}
.u-st-date{font-size:12.5px;font-weight:600;color:var(--u-muted)}
.u-st-acts{display:flex;flex-wrap:wrap;gap:8px}
.u-st-acts .u-btn-ghost{background:var(--u-card)}
@media (max-width:760px){
  .u-stp{gap:16px;padding-top:0}
  .u-st-side{width:100%}
  .u-st-side .u-btn{flex:1}
  .u-st-cal{padding:10px}
  .u-st-cal-head,.u-st-cal-grid{gap:4px}
  .u-st-day{min-height:44px;padding:4px;gap:2px}
  .u-st-dot{width:16px;height:16px}
  .u-st-thumb{width:26px;border-radius:5px}
  .u-st-thumb-play,.u-st-thumb-lock{display:none}
  .u-st-dot svg{display:none}
  .u-st-unlock{flex-wrap:wrap}
  .u-st-unlock .u-btn{width:100%}
}

/* ---------- ⚡ Automatski / Ručno + ulaz u prvi mesec (09.11, hq-create.js) ---------- */
.u-ab{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}
/* 10.11: Automatski izabran → forma za period umesto čarobnjaka (Ručno) */
.u-ab-panel{background:var(--u-white);border-radius:var(--u-r-lg);padding:24px;display:flex;flex-direction:column;gap:14px;font-family:var(--u-font);color:var(--u-text)}
.u-ab-panel[hidden]{display:none}
.u-ab-panel h2{margin:0;font-size:22px;color:var(--u-ink)}
.u-ab-sub{margin:0;font-size:14px;color:var(--u-muted)}
.u-ab-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.u-ab-grid label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--u-text)}
.u-ab-grid input{min-height:44px;border:1px solid var(--u-line);border-radius:12px;padding:0 12px;font:500 15px var(--u-font);color:var(--u-ink);background:var(--u-card)}
.u-ab-grid small{font-weight:500;color:var(--u-muted)}
.u-ab-pv{margin:0;font-size:14px;font-weight:600;color:var(--u-ink)}
.u-ab-err{margin:0;font-size:13.5px;color:var(--u-red)}
.u-ab-acts{display:flex;justify-content:flex-end;gap:10px}
@media (max-width:640px){.u-ab-grid{grid-template-columns:1fr}.u-ab-acts .u-btn{flex:1}}

/* ---------- 12.11 „Tvoj kalendar objava" u Kalendaru: upadljiva traka, prekidač, oznaka (ui3.js vpPlan) ---------- */
.u-plan-bn{display:flex;align-items:center;gap:16px;width:100%;text-align:left;border:0;border-radius:var(--u-r-lg);padding:18px 20px;background:var(--u-ink);color:var(--u-white);font-family:var(--u-font);cursor:pointer;box-shadow:0 14px 34px -18px rgba(13,14,17,.55);transition:transform .15s}
.u-plan-bn:hover{transform:translateY(-1px)}
.u-plan-bn:focus-visible{outline:2px solid var(--u-ink);outline-offset:3px}
.u-plan-bn-ic{flex:none;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.14)}
.u-plan-bn-ic svg{width:22px;height:22px}
.u-plan-bn-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.u-plan-bn-tx b{font-size:17px;font-weight:700;letter-spacing:-.01em}
.u-plan-bn-tx span{font-size:13.5px;color:var(--u-on-sub)}
.u-plan-bn em{flex:none;font-style:normal;font-weight:700;font-size:14px;padding:11px 20px;border-radius:999px;background:var(--u-white);color:var(--u-ink);white-space:nowrap}
.u-plan-bnw{position:relative}
.u-plan-bnw .u-plan-bn{padding-right:58px}
.u-plan-x{position:absolute;top:10px;right:10px;width:32px;height:32px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:var(--u-white);font:400 20px/1 var(--u-font);display:grid;place-items:center;cursor:pointer}
.u-plan-x:hover{background:rgba(255,255,255,.26)}
.u-plan-x:focus-visible{outline:2px solid var(--u-white);outline-offset:2px}
html.ui3 #v-calendar .moonya-cal-command{justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
html.ui3 #v-calendar .moonya-cal-command-actions{align-items:center;margin-left:auto}
#crAuto .u-plan-slot{margin:0}
@media (max-width:640px){
  .u-plan-bn{flex-wrap:wrap;padding:16px;gap:12px}
  .u-plan-bn-tx{flex-basis:calc(100% - 62px)}
  .u-plan-bn em{width:100%;text-align:center}
  html.ui3 #v-calendar .moonya-cal-command-actions{width:100%;margin-left:0}
}
/* 12.11 vpConfirm sa više ishoda (choices) + X — npr. „Ne sviđa mi se objava" */
.u-confirm>.u-confirm-x{width:36px;height:36px}
.u-confirm>.u-confirm-x~.u-confirm-title{padding-right:44px}
.u-confirm-actions.is-choices{flex-wrap:wrap}
.u-confirm-choice.is-danger{color:var(--u-red)}
@media (max-width:520px){.u-confirm-actions.is-choices{flex-direction:column-reverse}.u-confirm-choice{width:100%}}
