/* v0.15 Studio look: white, thin lines, small top bar, medium sidebar with labels */
.nav-top{display:none}
body.studio{--line:#ececef;--ink:#18161c;--sub:#6f6b76;--accent:#6D28D9}
@media(min-width:760px){
body.studio .shell{grid-template-columns:232px minmax(0,1fr)!important;grid-template-rows:48px auto minmax(0,1fr)!important;background:#fff}
body.studio header{grid-column:2;grid-row:1;min-height:48px!important;height:48px;padding:0 16px!important;display:flex;align-items:center;gap:16px;background:#fff;border-bottom:1px solid var(--line)!important}
body.studio header>.brand{display:none!important}
body.studio .account-strip{display:none!important}
body.studio #notice{grid-column:2;grid-row:2!important}
body.studio #view{grid-column:2;grid-row:3!important}
body.studio nav{grid-column:1;grid-row:1/4!important;background:#fafafa!important;border-right:1px solid var(--line)!important;padding:10px 10px 12px!important;gap:1px!important;align-items:stretch!important;overflow-y:auto!important}
body.studio nav>button{width:auto!important;height:34px!important;min-height:34px!important;display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:10px!important;padding:0 10px!important;border-radius:7px!important;font-size:14px!important;font-weight:500;color:#45414b!important;background:transparent!important;text-align:left;white-space:nowrap}
body.studio nav>button::after,body.studio nav>button::before{display:none!important;content:none!important}
body.studio nav>button svg{width:17px!important;height:17px!important;flex:none;color:#77727e}
body.studio nav>button:hover{background:#f0eff2!important;color:var(--ink)!important}
body.studio nav>button.active{background:#ecebef!important;color:var(--ink)!important;font-weight:600}
body.studio nav>button.active svg{color:var(--accent)}
body.studio nav>button:last-child{margin-top:auto!important;border-top:0}
body.studio .nav-sep{display:block;height:1px;width:auto;background:var(--line);margin:10px 6px}
body.studio .nav-top{display:block;padding:4px 4px 12px;margin-bottom:8px;border-bottom:1px solid var(--line)}
body.studio .nav-brand{display:flex!important;align-items:center;gap:9px;background:transparent!important;border:0;padding:4px 6px!important;width:auto!important;height:auto!important;border-radius:8px!important;cursor:pointer}
body.studio .nav-brand:hover{background:#f0eff2!important}
body.studio .nav-brand img{width:28px;height:28px;object-fit:contain}
body.studio .nav-brand .brand-type{display:flex!important;flex-direction:column;font-size:14px!important;font-weight:700;color:var(--ink);line-height:1.15;text-align:left}
body.studio .nav-brand .brand-type small{font-size:10px;font-weight:500;color:var(--sub);letter-spacing:.04em}
body.studio .nav-acct{font-size:12px;color:var(--sub);padding:6px 10px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.studio .crumb{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--sub);min-width:0}
body.studio .crumb i{font-style:normal;color:#c4c1c9}
body.studio .crumb b{color:var(--ink);font-weight:600}
body.studio .header-actions{margin-left:auto;display:flex;align-items:center;gap:6px}
body.studio .header-actions button.icon{width:32px;height:32px;border-radius:7px;border:1px solid var(--line);background:#fff}
body.studio .ui-language{padding:2px!important;border-radius:8px!important;background:#f6f6f7!important;border:1px solid var(--line)!important}
body.studio .ui-language button{min-height:26px!important;padding:3px 10px!important;font-size:12px!important;border-radius:6px!important}
body.studio #view:not(.chat-mode){padding:20px 16px 40px!important;background:#fff!important}
body.studio #view:not(.chat-mode)>*{max-width:none!important;margin-left:0!important;margin-right:0!important}
body.studio .dash{max-width:none!important;padding:0!important}
}
/* Clean surfaces: thin lines, no shadows */
body.studio #view .card,body.studio .kpi,body.studio .ptile{border:1px solid var(--line)!important;box-shadow:none!important;border-radius:10px!important;background:#fff}
body.studio .dash-head{margin:0 0 14px!important;align-items:center!important}
body.studio .dash-head h2{font-size:20px!important;font-weight:700;letter-spacing:-.01em}
body.studio .dash-head p.muted{font-size:13px;margin:2px 0 0}
body.studio .dash-card h3{font-size:14px!important;font-weight:600;color:var(--ink)}
body.studio .dash-card .muted,body.studio .dash-card small{color:var(--sub)}
/* KPI strip: one band with dividers like Studio */
body.studio .ov-kpis{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 0 16px!important}
body.studio .ov-kpi{border:0!important;border-radius:0!important;padding:14px 18px!important;background:transparent!important}
body.studio .ov-kpi+.ov-kpi{border-left:1px solid var(--line)!important}
body.studio .ov-kpi .kpi-l{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--sub)}
body.studio .ov-kpi .kpi-v{font-size:22px!important;font-weight:700;letter-spacing:-.01em;color:var(--ink)}
body.studio .ov-grid{gap:14px!important;margin-bottom:14px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.studio .bars{height:200px!important}
body.studio .ov-range{margin-bottom:12px!important}
/* Filters row like Studio: small pills on one line */
body.studio .filters{gap:8px!important;background:transparent;border:0;padding:0 0 12px;border-bottom:1px solid var(--line);margin-bottom:14px}
body.studio .lib-tabs button,body.studio .ov-range button{border-radius:7px!important;font-size:13px!important;padding:5px 10px!important;min-height:30px!important}
body.studio .tbl{border-collapse:collapse}
body.studio .tbl th{background:#fafafa;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--sub);font-weight:600;border-bottom:1px solid var(--line)}
body.studio .tbl td{border-bottom:1px solid #f2f2f4;font-size:13px}
body.studio .tbl tr:hover td{background:#fbfbfc}
body.studio .cal-grid,body.studio .cday{border-color:var(--line)!important}
body.studio .cday{min-height:120px!important;border-radius:0!important}
body.studio button.primary{border-radius:8px!important}
/* v0.16: menu always visible next to chat; chat fills the screen; composer stays at the bottom */
@media(min-width:760px){
body.studio .shell{display:grid!important;height:100vh!important;height:100dvh!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}
body.studio nav{position:relative!important;bottom:auto!important;flex-direction:column!important;justify-content:flex-start!important;min-height:0!important;border-top:0!important}
body.studio #view{min-height:0!important;max-height:none!important;overflow:auto}
body.studio #view.chat-mode{padding:0!important;overflow:hidden!important;background:#fff}
}
.creator-chat.solo{display:flex!important;flex-direction:column;height:100%;border-top:0!important}
.creator-chat.solo>.chat-sidebar,.chat-mobile-history{display:none!important}
.creator-chat.solo .chat-main{flex:1;min-height:0;display:flex;flex-direction:column;width:100%}
.creator-chat.solo .chat-topline{flex:none;padding:10px 16px;border-bottom:1px solid #f2f2f4}
.creator-chat.solo .chat-scroll{flex:1;min-height:0;overflow:auto;padding:24px 16px 8px}
.creator-chat.solo .chat-message-column{max-width:860px;margin:0 auto}
.creator-chat.solo .chat-main:not(.empty-workspace) .chat-composer-area{flex:none;position:sticky;bottom:0;background:linear-gradient(to top,#fff 75%,rgba(255,255,255,0));padding:10px 16px 14px}
.creator-chat.solo .chat-composer-area>*{max-width:860px;margin-left:auto;margin-right:auto}
.creator-chat.solo .chat-composer textarea{max-height:40vh}
/* History */
.hist-pills{margin:0 0 16px}
.hist-sec{margin:0 0 22px}
.hist-sec h3{font-size:14px;font-weight:600;margin:0 0 8px;display:flex;align-items:center;gap:8px}
.hist-sec h3 small{font-size:12px;color:#8a8590;font-weight:500;background:#f3f2f5;border-radius:10px;padding:1px 8px}
.hist-list{border:1px solid #ececef;border-radius:10px;overflow:hidden;background:#fff}
.hist-row{display:flex;align-items:center;gap:10px;width:100%;padding:11px 14px;background:#fff;border:0;border-bottom:1px solid #f2f2f4;text-align:left;font-size:14px;color:#18161c;border-radius:0;cursor:pointer}
.hist-row:last-child{border-bottom:0}
.hist-row:hover{background:#fafafb}
.hist-row svg{width:16px;height:16px;flex:none;color:#77727e}
.hist-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hist-date{font-size:12px;color:#8a8590;white-space:nowrap}
/* v0.17 Posts: no big title, one compact toolbar, full-bleed table with covers */
body.studio #view.bleed{padding:0!important;background:#fff!important}
.pposts{display:flex;flex-direction:column;min-height:100%}
.ptoolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border-bottom:1px solid #ececef;background:#fff;position:sticky;top:0;z-index:5;flex-wrap:wrap}
.ptool-l,.ptool-r{display:flex;align-items:center;gap:10px}
.seg{display:inline-flex;padding:2px;background:#f3f2f5;border-radius:8px;gap:2px}
.seg-b{border:0;background:transparent;color:#5f5a66;font-size:13px;font-weight:500;padding:5px 12px;border-radius:6px;min-height:28px;cursor:pointer}
.seg-b:hover{color:#18161c}
.seg-b.on{background:#fff;color:#18161c;font-weight:600;box-shadow:0 1px 2px rgba(24,22,28,.08)}
.pcount{font-size:12px;color:#8a8590}
.sm-select{height:30px;border:1px solid #e4e3e8;border-radius:7px;background:#fff;font-size:13px;padding:0 28px 0 10px;color:#18161c;cursor:pointer}
.sm-btn{height:30px;min-height:30px;display:inline-flex;align-items:center;gap:6px;padding:0 12px;border:1px solid #e4e3e8;border-radius:7px;background:#fff;color:#18161c;font-size:13px;font-weight:500;cursor:pointer}
.sm-btn:hover{background:#f7f7f8}
.sm-btn.primary{background:#6D28D9;border-color:#6D28D9;color:#fff}
.sm-btn.primary:hover{background:#5b21b6}
.sm-btn.icon-b{width:30px;padding:0;justify-content:center}
.sm-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.range-custom{display:inline-flex;align-items:center;gap:6px}
.range-custom input{height:30px;border:1px solid #e4e3e8;border-radius:7px;font-size:12px;padding:0 8px}
.range-custom i{font-style:normal;color:#aaa}
.pwait{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;padding:8px 16px;border-bottom:1px solid #ececef;background:#fffaf3;font-size:13px}
.pwait-i{color:#5f5a66}
.pad{padding:14px 16px}
.pbleed .tbl-wrap{overflow-x:auto;border:0;border-radius:0}
.ptbl2{width:100%;border-collapse:collapse;font-size:13px}
.ptbl2 th{position:sticky;top:0;background:#fafafa;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#8a8590;text-align:left;padding:9px 12px;border-bottom:1px solid #ececef;white-space:nowrap}
.ptbl2 th.num,.ptbl2 td.num{text-align:right}
.ptbl2 th svg{width:13px;height:13px;vertical-align:-2px;margin-right:5px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ptbl2 td{padding:8px 12px;border-bottom:1px solid #f0eff2;color:#18161c;white-space:nowrap;vertical-align:middle}
.ptbl2 tr:hover td{background:#fbfbfc}
.ptbl2 th:first-child,.ptbl2 td:first-child{padding-left:24px}
.ptbl2 th:last-child,.ptbl2 td:last-child{padding-right:24px}
.pcell{display:flex;align-items:center;gap:12px;min-width:260px;max-width:420px;white-space:normal!important}
.pcover{position:relative;flex:none;width:40px;height:52px;border-radius:6px;background:#eeedf1 linear-gradient(135deg,#efe9fb,#f6f2ea);overflow:hidden}
.pcover img{width:100%;height:100%;object-fit:cover;display:block}
.pcover.vid::after{content:"";position:absolute;right:4px;bottom:4px;width:0;height:0;border-left:7px solid #fff;border-top:4.5px solid transparent;border-bottom:4.5px solid transparent;filter:drop-shadow(0 0 2px rgba(0,0,0,.5))}
.pmeta{display:flex;flex-direction:column;gap:3px;min-width:0}
.ptitle{display:block;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.psub{display:flex;align-items:center;gap:8px;font-size:12px;color:#8a8590}
.psub .pf{font-size:10px;padding:1px 7px;border-radius:5px;line-height:16px}
.popen{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:7px;color:#77727e}
.popen:hover{background:#f0eff2;color:#18161c}
.popen svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ptcard{padding:0!important;overflow:hidden}
/* v0.18: ChatGPT-clean start, collapsible sidebar (wordmark open / mascot closed), organization at the bottom */
body.studio .nav-brand,body.studio .nav-acct{display:none!important}
@media(min-width:760px){
body.studio .shell{transition:grid-template-columns .18s ease}
body.studio .nav-top{display:flex!important;align-items:center;justify-content:space-between;gap:6px;padding:2px 2px 10px 6px;margin-bottom:6px;border-bottom:0!important}
body.studio .nav-top button{background:transparent!important;border:0;cursor:pointer;color:#45414b}
body.studio .nav-word{padding:4px 6px!important;border-radius:8px;min-height:0!important;height:auto!important;width:auto!important}
body.studio .nav-word:hover{background:#f0eff2!important}
body.studio .nav-word.active{background:transparent!important}
body.studio .nav-word::before,body.studio .nav-word::after{display:none!important}
body.studio .wm{font-family:'Stack Sans Headline','Manrope',sans-serif;font-size:17px;font-weight:800;letter-spacing:-.02em;color:#18161c;white-space:nowrap}
body.studio .wm b{font-weight:800;color:#6D28D9;margin-left:3px}
body.studio .nav-toggle{width:32px!important;height:32px!important;min-height:32px!important;border-radius:8px!important;display:grid!important;place-items:center;padding:0!important}
body.studio .nav-toggle:hover{background:#ecebef!important}
body.studio .nav-toggle svg{width:18px;height:18px;fill:none;stroke:#77727e;stroke-width:1.8}
body.studio .nav-mascot{display:none!important}
body.studio nav>button[data-tab="profile"]{margin-top:auto!important}
body.studio nav>button:last-child{margin-top:0!important}
body.studio .nav-org{border-top:1px solid #ececef;margin:8px -10px -12px;padding:8px 10px 10px}
.org-btn{display:flex;align-items:center;gap:10px;width:100%;padding:6px 8px;border:0;background:transparent;border-radius:9px;cursor:pointer;text-align:left}
.org-btn:hover{background:#f0eff2}
.org-av{flex:none;width:30px;height:30px;border-radius:50%;background:#6D28D9;color:#fff;display:grid;place-items:center;font-size:13px;font-weight:700;overflow:hidden}
.org-av img{width:100%;height:100%;object-fit:cover}
.org-av.lg{width:76px;height:76px;font-size:28px;border-radius:20px}
.org-txt{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.org-txt b{font-size:13px;font-weight:600;color:#18161c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.org-txt small{font-size:12px;color:#8a8590}
/* collapsed */
body.studio.nav-collapsed .shell{grid-template-columns:60px minmax(0,1fr)!important}
body.studio.nav-collapsed nav{padding:10px 8px 12px!important;align-items:center!important}
body.studio.nav-collapsed .nav-top{flex-direction:column;padding:2px 0 10px;justify-content:center}
body.studio.nav-collapsed .nav-word,body.studio.nav-collapsed .nav-toggle{display:none!important}
body.studio.nav-collapsed .nav-mascot{display:grid!important;place-items:center;width:40px!important;height:40px!important;min-height:40px!important;border-radius:10px!important;padding:0!important}
body.studio.nav-collapsed .nav-mascot:hover{background:#ecebef!important}
body.studio.nav-collapsed .nav-mascot img{width:30px;height:30px;object-fit:contain}
body.studio.nav-collapsed nav>button{width:40px!important;justify-content:center!important;padding:0!important;font-size:0!important;gap:0!important;position:relative;overflow:visible!important}
body.studio.nav-collapsed nav>button[aria-label]:hover::after{display:block!important;content:attr(aria-label)!important;position:absolute;left:48px;top:50%;transform:translateY(-50%);background:#18161c;color:#fff;font-size:12px;white-space:nowrap;padding:5px 9px;border-radius:7px;z-index:60;pointer-events:none}
body.studio.nav-collapsed .nav-sep{width:28px;margin:8px auto}
body.studio.nav-collapsed .nav-org{margin:8px -8px -12px;padding:8px 0 10px;display:flex;justify-content:center}
body.studio.nav-collapsed .org-btn{width:auto;padding:4px}
body.studio.nav-collapsed .org-txt{display:none}
}
/* ChatGPT-clean first screen */
.creator-chat.solo .empty-workspace{background:#fff!important;justify-content:center;padding-bottom:12vh!important}
.creator-chat.solo .empty-workspace .chat-topline{display:none!important}
.creator-chat.solo .empty-workspace .chat-scroll{flex:0 0 auto!important;overflow:visible!important;padding:0 16px 18px!important}
.creator-chat.solo .empty-workspace .chat-welcome{min-height:0!important;padding:0!important;margin:0 auto;text-align:center}
.creator-chat.solo .empty-workspace .chat-welcome p,.creator-chat.solo .empty-workspace .chat-suggestions,.creator-chat.solo .empty-workspace .chat-disclaimer,.creator-chat.solo .empty-workspace .chat-composer-bottom>span{display:none!important}
.creator-chat.solo .empty-workspace .chat-welcome h1{font-size:26px!important;font-weight:500!important;color:#18161c;letter-spacing:-.01em;margin:0}
.creator-chat.solo .empty-workspace .chat-composer-area{width:100%;padding:0 16px!important;background:transparent!important;position:static!important}
.creator-chat.solo .empty-workspace .chat-composer-area>*{max-width:720px}
.creator-chat.solo .chat-composer{border:1px solid #e7e6ea!important;border-radius:26px!important;box-shadow:0 2px 14px rgba(24,22,28,.06)!important;background:#fff!important;padding:8px 10px 8px 20px!important;display:flex!important;align-items:flex-end;gap:8px}
.creator-chat.solo .chat-composer textarea{flex:1;min-height:40px!important;line-height:1.6!important;font-size:16px!important;padding:8px 0!important;border:0!important;outline:0;resize:none;background:transparent}
.creator-chat.solo .chat-composer-bottom{border:0!important;padding:0!important;margin:0!important;flex:none}
.creator-chat.solo .chat-send{width:38px!important;height:38px!important;min-height:38px!important;border-radius:50%!important;padding:0!important;display:grid!important;place-items:center}
/* Organization setup */
#view.org-mode{display:grid;place-items:center;padding:24px!important;background:#fff!important}
.org-setup{width:100%;display:grid;place-items:center}
.org-card{width:100%;max-width:400px!important;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}
.org-mascot{width:64px;height:64px;object-fit:contain;margin-bottom:4px}
.org-card h1{font-size:24px;font-weight:600;margin:0}
.org-card>p{margin:0 0 14px}
#org-form{width:100%;display:flex;flex-direction:column;align-items:center;gap:12px}
.org-logo-pick{display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;font-size:13px;color:#6D28D9;font-weight:600}
.org-field{width:100%;display:flex;flex-direction:column;gap:6px;text-align:left;font-size:13px;color:#5f5a66}
.org-field input{height:44px;border:1px solid #e4e3e8;border-radius:10px;padding:0 14px;font-size:15px;color:#18161c}
.org-field input:focus{outline:2px solid #e3d6fb;border-color:#6D28D9}
.org-plan{width:100%;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#5f5a66;border:1px solid #ececef;border-radius:10px;padding:10px 14px}
.org-plan b{color:#18161c;font-size:13px;background:#f3f2f5;border-radius:6px;padding:2px 10px}
#org-form .primary.full{height:44px;border-radius:10px!important;width:100%}

/* ===== v0.19 ===== */
body.studio nav button:focus,body.studio .nav-word:focus{outline:none!important;box-shadow:none!important}
body.studio nav button:focus-visible{outline:2px solid #ddd0f8!important;outline-offset:1px}
body.studio nav>button.active{outline:none!important;border:0!important;box-shadow:none!important}
body.studio .nav-org .org-btn{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;height:auto!important;min-height:0!important;padding:6px 8px!important;font-size:13px!important;text-align:left!important}
body.studio .nav-org .org-btn::before,body.studio .nav-org .org-btn::after{display:none!important;content:none!important}
body.studio .nav-org .org-txt{flex:1;min-width:0;align-items:flex-start}
body.studio .nav-org .org-txt b{max-width:100%;display:block}
body.studio.nav-collapsed .nav-org .org-btn{width:auto!important;padding:4px!important}
.nav-signin{padding:10px 8px 4px;display:flex;flex-direction:column;gap:6px}
.nav-signin b{font-size:14px;font-weight:700;color:#18161c;line-height:1.35}
.nav-signin p{margin:0;font-size:12.5px;line-height:1.5;color:#5f5a66}
body.studio .nav-signin .signin-b{width:100%!important;height:36px!important;justify-content:center!important;border-radius:10px!important;background:#f0eff2!important;border:0!important;font-weight:600!important;color:#18161c!important;margin-top:4px;display:flex!important;flex-direction:row!important}
body.studio .nav-signin .signin-b:hover{background:#e7e5eb!important}
body.studio.nav-collapsed .nav-signin b,body.studio.nav-collapsed .nav-signin p{display:none}
body.studio.nav-collapsed .nav-signin .signin-b{font-size:0!important;width:36px!important;padding:0!important}
body.studio.nav-collapsed .nav-signin .signin-b::before{content:'';width:16px;height:16px;border:2px solid #18161c;border-radius:50%}
/* welcome mascot */
.creator-chat.solo .empty-workspace .chat-welcome .mascot,.creator-chat.solo .empty-workspace .chat-welcome>img{display:block!important;width:72px!important;height:72px!important;object-fit:contain;margin:0 auto 10px!important}
/* composer: textarea on top, tools row below */
.creator-chat.solo .chat-composer{flex-direction:column!important;align-items:stretch!important;padding:10px 10px 8px 18px!important;border-radius:24px!important}
.creator-chat.solo .chat-composer-bottom{display:flex!important;align-items:center;justify-content:space-between;gap:8px}
.cmode-wrap{position:relative}
.cmode-b{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px 0 8px;border:1px solid #e7e6ea;border-radius:999px;background:#fff;font-size:13px;color:#4b4652;cursor:pointer}
.cmode-b:hover{background:#f6f5f8}
.cmode-b.on{border-color:#d9ccf7;background:#f5f0ff;color:#6D28D9;font-weight:600}
.cmode-b svg,.cmode-menu svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cmode-menu{position:absolute;left:0;bottom:40px;z-index:30;min-width:220px;background:#fff;border:1px solid #ececef;border-radius:14px;box-shadow:0 12px 32px rgba(24,22,28,.12);padding:6px;display:flex;flex-direction:column}
.cmode-menu button{display:flex;align-items:center;gap:10px;height:36px;padding:0 10px;border:0;background:transparent;border-radius:9px;font-size:14px;color:#18161c;text-align:left;cursor:pointer}
.cmode-menu button:hover{background:#f3f2f5}
.cmode-menu button.on{color:#6D28D9;font-weight:600}
.chat-ideas{display:flex;flex-direction:column;gap:12px;margin:8px 0 16px}
.chat-ideas-h{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.chat-ideas-h b{font-size:15px}
.chat-ideas-h span{font-size:13px;color:#8a8590}
.chat-ideas article.card{border:1px solid #ececef!important;box-shadow:none!important;border-radius:14px!important;padding:16px!important}
/* login */
.login-bg{position:fixed;inset:0;background:rgba(24,22,28,.42);z-index:60}
.login-card{position:fixed;z-index:61;left:50%;top:50%;transform:translate(-50%,-50%);width:min(400px,calc(100vw - 32px));background:#fff;border-radius:18px;box-shadow:0 24px 60px rgba(24,22,28,.25);padding:28px 26px 22px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.login-card h3{margin:0;font-size:22px;font-weight:600}
.login-card>p{margin:0 0 6px;font-size:14px;color:#5f5a66;line-height:1.6}
.login-x{position:absolute;right:12px;top:12px}
.login-mascot{width:56px;height:56px;object-fit:contain}
.google-b{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:46px;border:1px solid #dedde3;border-radius:999px;background:#fff;font-size:15px;font-weight:600;color:#18161c;cursor:pointer}
.google-b:hover{background:#f7f6f9}
.g-ico{width:18px;height:18px}.g-ico .g1{fill:#4285F4}.g-ico .g2{fill:#34A853}.g-ico .g3{fill:#FBBC05}.g-ico .g4{fill:#EA4335}
.login-invb{font-size:13px}
.login-inv{width:100%;display:flex;flex-direction:column;gap:6px;text-align:left;font-size:13px;color:#5f5a66}
.login-inv input{height:42px;border:1px solid #dedde3;border-radius:12px;padding:0 14px;font-size:15px;letter-spacing:.08em;text-transform:uppercase}
.login-fine{font-size:11.5px!important;color:#8a8590!important;margin:4px 0 0!important}
/* bleed pages: analysis, calendar, script */
#view.bleed .pdash,#view.bleed .pcal,#view.bleed .pscript,#view.bleed .pmembers{margin:0;max-width:none}
.pdash .dash-card,.pdash .card{border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;background:#fff!important;padding:18px 16px!important}
.pdash .ov-kpis{border-bottom:1px solid #ececef;margin:0!important;padding:14px 16px!important}
.pdash .ov-grid,.pdash .dash-grid{gap:0!important;margin:0!important;border-bottom:1px solid #ececef}
.pdash .ov-grid>.dash-card{border-bottom:1px solid #ececef!important}
.pdash .ov-grid>.dash-card:not(.dash-full):nth-child(odd){border-right:1px solid #ececef!important}
.pdash .dash-card h3{font-size:14px!important;font-weight:600!important}
.acc-chip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:1px solid #ececef;border-radius:999px;font-size:12.5px;color:#4b4652;background:#fff}
.acc-chip i{width:7px;height:7px;border-radius:50%;background:#6D28D9}
.acc-chip i.tiktok{background:#21152F}
.cal-title{font-size:15px;font-weight:600;color:#18161c;margin-left:6px}
.pcal .cal{margin:0}
.pcal .cwd{display:grid;grid-template-columns:repeat(7,1fr);gap:0!important;border-bottom:1px solid #ececef;padding:0!important}
.pcal .cwd span{padding:8px 10px;font-size:12px;color:#8a8590;text-align:left}
.pcal .cgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:0!important}
.pcal .cday{border:0!important;border-radius:0!important;border-right:1px solid #ececef!important;border-bottom:1px solid #ececef!important;background:#fff!important;min-height:118px;padding:8px!important;box-shadow:none!important}
.pcal .cday:nth-child(7n){border-right:0!important}
.pcal .cday.today{background:#faf7ff!important;outline:0!important}
.pcal .cday.today .dnum{background:#6D28D9;color:#fff;border-radius:999px;padding:0 7px}
.pcal .legend{display:flex;gap:12px;font-size:12px;color:#8a8590}
/* script */
.sc-title{font-size:14px;font-weight:600;max-width:46vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-doc{display:flex;flex-direction:column}
.sc-sec{display:grid;grid-template-columns:140px 1fr;gap:20px;padding:18px 16px;border-bottom:1px solid #ececef}
.sc-side{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.sc-label{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#6D28D9;background:#f5f0ff;border-radius:6px;padding:3px 8px}
.sc-sec.hook .sc-label{background:#FFCB8E;color:#21152F}
.sc-sec.cta .sc-label{background:#21152F;color:#fff}
.sc-side time{font-size:12.5px;color:#8a8590;font-variant-numeric:tabular-nums}
.sc-main h4{margin:0 0 6px;font-size:14px;font-weight:600}
.sc-say{margin:0;font-size:17px;line-height:1.75;color:#18161c}
.shots{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.shots li{display:flex;gap:8px;align-items:flex-start;font-size:13.5px;line-height:1.55;color:#5f5a66;background:#fafafa;border:1px solid #f0eff2;border-radius:9px;padding:7px 10px}
.shots svg{width:15px;height:15px;flex:none;margin-top:3px;fill:none;stroke:#8a8590;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sc-props{padding:14px 16px;margin:0;font-size:13px;color:#5f5a66;border-bottom:1px solid #ececef}
.sc-cap{margin:18px 16px;white-space:pre-wrap;font-size:16px;line-height:1.75;border:1px solid #ececef;border-radius:12px;padding:16px}
.sc-tip{display:flex;gap:10px;align-items:center;margin:16px 16px 0;padding:10px 14px;background:#FAF7F2;border-radius:12px;font-size:13px;color:#5f5a66}
.sc-tip .tip-mascot{width:28px;height:28px}
@media(max-width:760px){.sc-sec{grid-template-columns:1fr;gap:8px}}
/* members */
.sm-input{height:30px;border:1px solid #e4e3e8;border-radius:7px;padding:0 10px;font-size:13px;min-width:200px}
.mtable{width:100%;border-collapse:collapse}
.mtable th{font-size:12px;font-weight:500;color:#8a8590;text-align:left;padding:8px 16px;border-bottom:1px solid #ececef}
.mtable td{padding:10px 16px;border-bottom:1px solid #ececef;font-size:13.5px;vertical-align:middle}
.m-who{display:flex;align-items:center;gap:10px}
.m-who b{display:block;font-weight:600}
.m-who small{color:#8a8590}
.m-av{width:30px;height:30px;border-radius:50%;background:#6D28D9;color:#fff;display:grid;place-items:center;font-size:13px;font-weight:700;flex:none}
.m-act{text-align:right}
.m-sub{padding:16px 16px 6px;font-size:12px;font-weight:600;color:#8a8590;text-transform:uppercase;letter-spacing:.06em}
.m-code{margin:14px 16px;padding:14px 16px;border:1px solid #e3d6fb;background:#faf7ff;border-radius:12px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.m-code>div{display:flex;flex-direction:column;gap:2px}
.m-code span{font-size:12px;color:#8a8590}
.m-code b{font-size:22px;letter-spacing:.12em;font-family:'Manrope',monospace}
.m-code em{font-style:normal;font-size:12px;color:#5f5a66}
.m-code p{flex-basis:100%;margin:0;font-size:13px;color:#5f5a66;line-height:1.6}
/* post slide-over */
.ps-bg{position:fixed;inset:0;background:rgba(24,22,28,.32);z-index:50}
.pslide{position:fixed;top:0;right:0;bottom:0;z-index:51;width:min(1040px,94vw);background:#fff;box-shadow:-12px 0 40px rgba(24,22,28,.14);display:flex;flex-direction:column}
.ps-head{display:flex;justify-content:space-between;align-items:flex-start;padding:14px 16px;border-bottom:1px solid #ececef}
.ps-head h3{margin:0;font-size:16px;font-weight:600}
.ps-head p{margin:2px 0 0;font-size:12.5px;color:#8a8590}
.ps-body{flex:1;display:grid;grid-template-columns:1.15fr 1fr;min-height:0}
.ps-left{overflow:auto;border-right:1px solid #ececef;padding:16px 16px 24px}
.ps-right{overflow:auto;padding:16px 16px 24px}
.ps-label{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#8a8590;margin:6px 0 8px}
.ps-right .ps-label{margin-top:18px}.ps-right .ps-label:first-child{margin-top:6px}
.ps-compose{border:1px solid #e4e3e8;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px}
.ps-compose.drag{border-color:#6D28D9;background:#faf7ff}
.ps-compose textarea{border:0!important;outline:0;resize:vertical;min-height:110px;font-size:15px;line-height:1.6;padding:4px!important;background:transparent;box-shadow:none!important}
.ps-drop{display:flex;flex-direction:column;align-items:center;gap:2px;padding:14px;border:1px dashed #e4e3e8;border-radius:10px;background:#fafafa;cursor:pointer;font-size:13px;color:#5f5a66}
.ps-drop.has{flex-direction:row;justify-content:center;gap:8px;padding:8px;border-style:solid}
.ps-drop svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.ps-drop b{font-weight:600;color:#18161c}
.ps-drop span{font-size:12px;color:#8a8590}
.ps-thumb{position:relative;width:132px;height:84px;border-radius:9px;overflow:hidden;background:#111}
.ps-thumb img,.ps-thumb video{width:100%;height:100%;object-fit:cover}
.ps-play{position:absolute;left:8px;bottom:8px;width:22px;height:22px;border-radius:50%;background:rgba(0,0,0,.55);display:grid;place-items:center}
.ps-play svg{width:12px;height:12px;fill:#fff}
.ps-rm{position:absolute;top:6px;right:6px;width:26px;height:26px;border:0;border-radius:7px;background:rgba(255,255,255,.92);display:grid;place-items:center;cursor:pointer}
.ps-rm svg{width:15px;height:15px;fill:none;stroke:#18161c;stroke-width:1.8}
.ps-sec{margin-top:14px;padding-top:14px;border-top:1px solid #ececef;display:flex;flex-direction:column;gap:6px}
.ps-sec label{font-size:13px;font-weight:500;color:#3d3943;margin-top:6px;display:flex;justify-content:space-between}
.ps-sec label i{font-style:normal;font-weight:400;color:#8a8590;font-size:12px}
.ps-sec textarea,.ps-select,.ps-when input{border:1px solid #e4e3e8!important;border-radius:9px!important;padding:8px 10px!important;font-size:14px;background:#fff;width:100%;box-shadow:none!important}
.ps-select{height:36px;padding:0 10px!important}
.ps-sh{display:flex;align-items:center;gap:8px}
.ps-sh b{flex:1;font-size:14px}
.pi{width:16px;height:16px;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pi.fb{stroke:#1877F2}.pi.tt{stroke:#18161c}
label.ps-check{display:flex!important;justify-content:flex-start!important;gap:10px;align-items:flex-start;background:#fafafa;border:1px solid #f0eff2;border-radius:9px;padding:9px 10px;margin-top:6px!important}
.ps-check input{margin-top:3px;accent-color:#6D28D9}
.ps-check span{display:flex;flex-direction:column;gap:2px}
.ps-check b{font-size:13.5px;font-weight:600;color:#18161c}
.ps-check em{font-style:normal;font-size:12px;color:#8a8590;line-height:1.5}
.ps-note{font-size:12.5px;color:#8a8590;margin:4px 0;line-height:1.55}
.ps-grp{margin-bottom:10px}
.ps-gh{display:flex;align-items:center;gap:6px;font-size:13px;margin-bottom:6px}
.ps-acc{display:flex;align-items:center;gap:10px;padding:7px 10px;border:1px solid #ececef;border-radius:10px;cursor:pointer;font-size:13.5px}
.ps-acc.on{border-color:#d9ccf7;background:#faf7ff}
.ps-acc input{accent-color:#6D28D9}
.ps-acc img,.ps-av{width:26px;height:26px;border-radius:7px;object-fit:cover;background:#21152F;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700}
.ps-mode{display:flex;width:100%}.ps-mode .seg-b{flex:1}
.ps-when{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.ps-when label{font-size:13px;color:#3d3943}
.ps-tz{font-size:12px;color:#8a8590}
.ps-recent{padding:8px 0;border-bottom:1px solid #f0eff2;font-size:13px;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.ps-recent em{font-style:normal;color:#8a8590;font-size:12px}
.ps-foot{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:12px 16px;border-top:1px solid #ececef}
.ps-foot .ps-note{margin-right:auto}
@media(max-width:760px){.ps-body{grid-template-columns:1fr;overflow:auto}.ps-left{border-right:0;overflow:visible}.ps-right{overflow:visible}}
/* v0.19.1 safe zone 16px */
.sm-btn{white-space:nowrap;flex:none}
.ptoolbar{padding:10px 16px!important;min-height:52px}
.ptool-l,.ptool-r{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.pdash,.pcal,.pscript,.pmembers,.pposts{padding:0!important;margin:0!important;max-width:none!important}
.pdash .ov-grid,.pdash .dash-grid,.pdash .ov-kpis{padding-left:0;padding-right:0}
.pdash .dash-card,.pdash .card{padding:16px!important}
.pdash .ov-kpis{padding:16px!important;gap:16px}
.pdash .tbl-wrap,.pdash .heat{max-width:100%;overflow-x:auto}
.pdash .pad,.pcal .pad,.pscript .pad,.pmembers .pad{padding:12px 16px}
.pcal .cwd span{padding:8px}
/* v0.19.2 one clean toolbar line + one 16px edge */
.ptoolbar{flex-wrap:nowrap!important}
.ptool-l{flex:1 1 auto;flex-wrap:nowrap!important;overflow:hidden}
.ptool-r{flex:none;flex-wrap:nowrap!important;justify-content:flex-end}
.ptoolbar select.sm-select,.ptoolbar .sm-select{width:auto!important;min-width:0!important;max-width:170px;flex:none;margin:0!important}
.ptoolbar .pcount{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ptoolbar .acc-chip{flex:none}
.pdash .ov-kpis{padding:0!important;margin:0!important;border-top:0!important}
.pdash .ov-kpi{padding:14px 16px!important}
.pdash .dash-card,.pdash .card{padding:16px!important}
@media(max-width:900px){.ptoolbar{flex-wrap:wrap!important}.ptool-l{flex-basis:100%}}
/* v0.19.3 Analysis chart cards: space between cards */
.pdash .ov-grid{gap:16px!important;padding:16px!important;border-bottom:0!important}
.pdash .ov-grid>.dash-card{border:1px solid #ececef!important;border-radius:14px!important;padding:18px!important;background:#fff!important}
.pdash .ov-grid>.dash-card:not(.dash-full):nth-child(odd){border-right:1px solid #ececef!important}
/* v0.19.4 one control style everywhere (toolbar inputs, selects, date fields, buttons) */
#view .sm-input,#view .sm-select,#view .range-custom input{width:auto!important;display:inline-block!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0 10px!important;border:1px solid #e4e3e8!important;border-radius:8px!important;background:#fff!important;color:#18161c!important;font-size:13px!important;line-height:30px!important;box-shadow:none!important;outline:none!important;flex:none}
#view .sm-select{padding-right:26px!important;max-width:190px;cursor:pointer}
#view .sm-input{min-width:220px;max-width:280px}
#view .sm-input::placeholder{color:#a19ca8}
#view .sm-input:focus,#view .sm-select:focus,#view .range-custom input:focus,#view .ps-sec textarea:focus,#view .ps-select:focus,#view .ps-when input:focus,#view .login-inv input:focus{border-color:#6D28D9!important;box-shadow:0 0 0 3px #efe7fd!important;outline:none!important}
#view .sm-btn{height:32px!important;min-height:32px!important;border-radius:8px!important}
#view .ptoolbar{min-height:56px}
.ptool-l b.cal-title,.ptool-l .sc-title{margin:0 4px 0 2px}
/* members table aligned to the same 16px edge */
.mtable th,.mtable td{padding-left:16px!important;padding-right:16px!important}
.mtable th{font-size:12px!important;text-transform:none}
.mtable small{font-size:12px;color:#8a8590}
.mtable .tag{font-size:12px}
.mtable td:nth-child(2){width:220px}
.pmembers .m-code{margin:16px!important}
.pmembers .m-sub{padding:16px 16px 6px!important}
/* v0.20.1 Content goal + Video review + roomy spacing (rewritten; earlier block lost its colours) */
:root{--pc-gap:16px;--pc-line:#ececef;--pc-soft:#f6f5f9;--pc-ink:#18161c;--pc-sub:#8a8590;--pc-vio:#6D28D9}
.g-reach{--gc:#3a86ff}.g-trust{--gc:#2a9d8f}.g-lead{--gc:#e08a3c}.g-sale{--gc:#e63946}.g-brand{--gc:#6D28D9}

/* Analysis: every block is a card with air around it */
.pdash{padding-bottom:24px!important}
.pdash>p,.pdash>.muted,.pdash .pad{padding:14px 20px!important;margin:0!important}
.pdash .ov-grid{gap:var(--pc-gap)!important;padding:var(--pc-gap) 20px 0!important;border:0!important}
.pdash .ov-grid>.dash-card,.pdash .dash-grid>section,.pdash>section.dash-card{border:1px solid var(--pc-line)!important;border-radius:14px!important;padding:20px!important;background:#fff!important;box-shadow:none!important}
.pdash .dash-grid{gap:var(--pc-gap)!important;padding:var(--pc-gap) 20px 0!important;margin:0!important;border:0!important}
.pdash .ins-grid{gap:12px!important;margin-top:14px!important}
.pdash .ins{padding:16px 18px!important;border-radius:12px!important}
.pdash .ins h4{margin:0 0 8px}
.pdash .learn-list li{margin:4px 0;line-height:1.7}
.pdash .learn-summary{line-height:1.75;margin:10px 0 0}
.pdash .heat{margin-top:12px}

.gcard{margin:var(--pc-gap) 20px 0;border:1px solid var(--pc-line);border-radius:14px;padding:20px;background:#fff}
.g-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.g-head h3{margin:0 0 6px;font-size:15px}.g-head p{margin:0;font-size:13px;line-height:1.6;max-width:640px;color:var(--pc-sub)}
.g-meta{font-size:12px;color:var(--pc-sub);margin:16px 0 8px}
.g-table{display:flex;flex-direction:column}
.g-row{display:grid;grid-template-columns:190px minmax(120px,1fr) 56px 64px 76px 90px;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid #f2f2f4;font-size:13px}
.g-row:last-child{border-bottom:0}
.g-th{font-size:11.5px;color:var(--pc-sub);padding:6px 0 8px}
.g-name{display:flex;align-items:center;gap:8px;min-width:0}.g-name small{color:var(--pc-sub);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gdot{width:9px;height:9px;border-radius:50%;background:var(--gc);flex:none}
.g-bar{position:relative;height:10px;border-radius:99px;background:#f1f0f4}
.g-fill{position:absolute;left:0;top:0;bottom:0;border-radius:99px;background:var(--gc)}
.g-guide{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;background:var(--pc-ink);opacity:.35;border-radius:2px}
.g-num{text-align:right;font-variant-numeric:tabular-nums}
.g-tips{margin:16px 0 0;padding:14px 18px 14px 34px;font-size:13.5px;line-height:1.8;background:#faf8ff;border-radius:12px}
.g-note{font-size:12px;color:var(--pc-sub);margin:14px 0 0;line-height:1.6}
.g-fill.w0{width:0%}.g-guide.w0{left:0%}.g-fill.w5{width:5%}.g-guide.w5{left:5%}.g-fill.w10{width:10%}.g-guide.w10{left:10%}.g-fill.w15{width:15%}.g-guide.w15{left:15%}.g-fill.w20{width:20%}.g-guide.w20{left:20%}.g-fill.w25{width:25%}.g-guide.w25{left:25%}.g-fill.w30{width:30%}.g-guide.w30{left:30%}.g-fill.w35{width:35%}.g-guide.w35{left:35%}.g-fill.w40{width:40%}.g-guide.w40{left:40%}.g-fill.w45{width:45%}.g-guide.w45{left:45%}.g-fill.w50{width:50%}.g-guide.w50{left:50%}.g-fill.w55{width:55%}.g-guide.w55{left:55%}.g-fill.w60{width:60%}.g-guide.w60{left:60%}.g-fill.w65{width:65%}.g-guide.w65{left:65%}.g-fill.w70{width:70%}.g-guide.w70{left:70%}.g-fill.w75{width:75%}.g-guide.w75{left:75%}.g-fill.w80{width:80%}.g-guide.w80{left:80%}.g-fill.w85{width:85%}.g-guide.w85{left:85%}.g-fill.w90{width:90%}.g-guide.w90{left:90%}.g-fill.w95{width:95%}.g-guide.w95{left:95%}.g-fill.w100{width:100%}.g-guide.w100{left:100%}.vr-fill.w0{width:0%}.vr-fill.w10{width:10%}.vr-fill.w20{width:20%}.vr-fill.w30{width:30%}.vr-fill.w40{width:40%}.vr-fill.w50{width:50%}.vr-fill.w60{width:60%}.vr-fill.w70{width:70%}.vr-fill.w80{width:80%}.vr-fill.w90{width:90%}.vr-fill.w100{width:100%}
.gtag{display:inline-block;font-size:11.5px;font-weight:600;padding:2px 9px;border-radius:99px;color:var(--gc);background:#fff;border:1px solid currentColor}

/* Posts: goal label is a quiet pill, not a form box */
th.gcol,td.gcol{width:120px;white-space:nowrap}
#view .goal-sel{appearance:none;-webkit-appearance:none;width:auto!important;min-width:64px;height:26px!important;min-height:26px!important;padding:0 10px!important;font-size:12px!important;font-weight:600;line-height:24px!important;border-radius:99px!important;border:1px solid transparent!important;background:var(--pc-soft)!important;color:var(--pc-sub)!important;cursor:pointer;box-shadow:none!important;outline:none!important;text-align:center}
#view .goal-sel[class*=" g-"]{color:var(--gc)!important;background:#fff!important;border-color:currentColor!important}
#view .goal-sel:hover{border-color:#d9d6e0!important}
#view .goal-sel:focus-visible{box-shadow:0 0 0 3px #efe7fd!important}
.gman{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--pc-ink);margin-left:6px;vertical-align:middle;opacity:.4}

/* Chat composer: goal sits next to the mode button on the left */
.chat-composer-area form .cmode-wrap{margin-right:0}
#view select.chat-goal{appearance:none;-webkit-appearance:none;width:auto!important;max-width:190px;height:30px!important;min-height:30px!important;line-height:28px!important;margin:0 auto 0 8px!important;padding:0 12px!important;font-size:12.5px!important;font-weight:600;border-radius:99px!important;border:1px solid var(--pc-line)!important;background:#fff!important;color:#5f5a66!important;box-shadow:none!important;outline:none!important;cursor:pointer}
#view select.chat-goal[class*=" g-"]{color:var(--gc)!important;border-color:currentColor!important}
#view select.chat-goal:focus-visible{box-shadow:0 0 0 3px #efe7fd!important}

/* Video review */
.pvideo{padding-bottom:32px}
.vr-drop{margin:24px 20px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:260px;border:1.5px dashed #d9d6e0;border-radius:16px;background:#fbfaff;cursor:pointer;text-align:center;padding:28px}
.vr-drop:hover,.vr-drop.over{border-color:var(--pc-vio);background:#f5f0ff}
.vr-drop svg{width:36px;height:36px;fill:none;stroke:var(--pc-vio);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.vr-drop b{font-size:15px}.vr-drop span{font-size:12.5px;color:var(--pc-sub)}
.vr-note{margin:0 20px 8px}.vr-note label{display:block;font-size:13px;font-weight:600;color:#5f5a66;margin:0 0 8px}
#view .vr-note textarea{width:100%;min-height:84px;border:1px solid #e4e3e8!important;border-radius:12px!important;padding:12px 14px!important;font-size:14px!important;line-height:1.6;background:#fff!important;box-shadow:none!important;outline:none!important;resize:vertical}
#view .vr-note textarea:focus{border-color:var(--pc-vio)!important;box-shadow:0 0 0 3px #efe7fd!important}
label.sm-btn.is-dis{opacity:.5;pointer-events:none}
.vr-wait{margin:24px 20px;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1px solid var(--pc-line);border-radius:16px;text-align:center;padding:28px}
.vr-spin{width:30px;height:30px;border-radius:50%;border:3px solid #efe7fd;border-top-color:var(--pc-vio);animation:vrspin 1s linear infinite}
@keyframes vrspin{to{transform:rotate(360deg)}}
.vr-res{display:grid;grid-template-columns:minmax(240px,340px) 1fr;gap:20px;padding:20px;align-items:start}
.vr-left{position:sticky;top:16px}
.vr-video{width:100%;max-height:70vh;border-radius:14px;background:#000;display:block}
.vr-novid{border:1px dashed #d9d6e0;border-radius:14px;padding:20px;font-size:12.5px;color:var(--pc-sub);line-height:1.6;background:#fbfaff}
.vr-name{display:flex;flex-direction:column;gap:3px;margin-top:10px;font-size:13px}.vr-name span{color:var(--pc-sub);font-size:12px}
.vr-right{border:1px solid var(--pc-line);border-radius:16px;padding:22px;min-width:0}
.vr-top{display:flex;gap:18px;align-items:center}
.vr-score{flex:none;width:80px;height:80px;border-radius:50%;border:4px solid var(--pc-vio);display:flex;align-items:baseline;justify-content:center;padding-top:22px}
.vr-score b{font-size:24px}.vr-score small{font-size:11px;color:var(--pc-sub)}
.vr-top p{margin:0;font-size:14.5px;line-height:1.75}
.vr-scores{display:grid;grid-template-columns:1fr 1fr;gap:10px 28px;margin:20px 0 4px}
.vr-sc{display:grid;grid-template-columns:120px 1fr 44px;gap:12px;align-items:center;font-size:13px}
.vr-sc b{text-align:right;font-variant-numeric:tabular-nums}
.vr-track{position:relative;height:8px;border-radius:99px;background:#f1f0f4;overflow:hidden}
.vr-fill{position:absolute;left:0;top:0;bottom:0;background:#2a9d8f;border-radius:99px}.vr-fill.mid{background:#e08a3c}.vr-fill.low{background:#e63946}
.vr-sec{border-top:1px solid #f2f2f4;margin-top:18px;padding-top:16px}
.vr-sec h4{margin:0 0 10px;font-size:13.5px}
.vr-sec p{margin:0;font-size:14px;line-height:1.75}
.vr-top3{margin:0;padding:14px 18px 14px 36px;font-size:14.5px;line-height:1.85;font-weight:500;background:#faf8ff;border-radius:12px}
.vr-good{margin:0;padding-left:20px;font-size:14px;line-height:1.75}
.vr-m{display:grid;grid-template-columns:100px 120px 1fr;gap:12px;align-items:start;padding:12px 0;border-bottom:1px solid #f4f3f6}
.vr-m:last-child{border-bottom:0}
.vr-time{height:28px;border:1px solid #e4e3e8;border-radius:8px;background:#fff;font-size:12px;font-variant-numeric:tabular-nums;cursor:pointer;padding:0 8px}
.vr-time:hover{border-color:var(--pc-vio);color:var(--pc-vio)}
.vr-area{font-size:12px;font-weight:600;color:#5f5a66;padding-top:5px}
.vr-mt p{font-size:14px;line-height:1.7}.vr-mt p+p{margin-top:4px}.vr-fix b{color:#2a9d8f}
.vr-tr summary{cursor:pointer;font-size:13.5px;font-weight:600}.vr-tr p{margin-top:10px;color:#5f5a66;white-space:pre-wrap}
.pvideo .m-sub{padding:24px 20px 8px!important}
.vr-hist td{padding-top:12px!important;padding-bottom:12px!important}
.vr-hist tr.on td{background:#faf8ff}
.vr-open{border:0;background:none;padding:0;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:3px;max-width:520px}
.vr-open small{color:var(--pc-sub);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:520px}
.pvideo .form-note{margin:16px 20px 0}
@media(max-width:900px){.vr-res{grid-template-columns:1fr}.vr-left{position:static}.vr-scores{grid-template-columns:1fr}.g-row{grid-template-columns:130px 1fr 46px 50px}.g-row>.g-num:nth-child(n+5){display:none}}

/* v0.20.2 Show more: a clear centred button with room around it */
#view [data-lp="more"]{display:flex!important;align-items:center;justify-content:center;width:auto!important;min-width:160px;height:36px!important;margin:20px auto 28px!important;padding:0 22px!important;border:1px solid #e4e3e8!important;border-radius:99px!important;background:#fff!important;color:#18161c!important;font-size:13px!important;font-weight:600!important;cursor:pointer;box-shadow:none!important}
#view [data-lp="more"]:hover{border-color:#6D28D9!important;color:#6D28D9!important;background:#faf8ff!important}
#view [data-lp="more"][disabled]{opacity:.5;cursor:default}
#view .pad:has(>[data-lp="more"]){padding:0!important;border:0!important}

/* v0.20.3 Best time to post (and any other loose Analysis card): same side space as the other cards */
.pdash section.dash-card{margin:16px 20px 0!important;border:1px solid #ececef!important;border-radius:14px!important;padding:20px!important;background:#fff!important;box-shadow:none!important}
.pdash .ov-grid>.dash-card,.pdash .dash-grid>section{margin:0!important}

/* v0.20.4 Top-bar icon buttons: icon exactly centred */
body .header-actions button.icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:0!important}
body .header-actions button.icon svg{display:block;width:18px!important;height:18px!important;margin:0!important;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* v0.20.5 Charts: one bar shape everywhere.
   The tab switcher's ".seg" style was leaking into chart segments (padding + rounded pill = odd black caps). */
.stack .seg,.bar .seg{display:block!important;padding:0!important;gap:0!important;border-radius:0!important;box-shadow:none!important;min-height:0!important}
.stack .seg.fb,.bar .seg.fb{background:#6D28D9!important}
.stack .seg.tt,.bar .seg.tt{background:#21152F!important}
.stack .seg+.seg{border-top:2px solid #fff}
.bar-f,.stack{width:100%!important;max-width:36px!important;border-radius:6px 6px 0 0!important;overflow:hidden}
.bars.two .bar-f,.bars.two .stack{max-width:36px!important}
.bar-f{background:#6D28D9!important}
.bar-f.tt{background:#21152F!important}
.bar-v{font-size:11.5px!important;color:#5f5a66!important;margin-bottom:6px!important;font-variant-numeric:tabular-nums}
.bar-l{font-size:11.5px!important;color:#8a8590!important;margin-top:8px!important}
.bars.thin .bar-f{max-width:none!important;border-radius:3px 3px 0 0!important}
.legend i.fb{background:#6D28D9}.legend i.tt{background:#21152F}
.legend{justify-content:center;margin-top:14px!important}

/* v0.20.6 Tables (Posts, Members, Video history): one connected card, a line under every row */
.pbleed .tbl-wrap{margin:16px 20px 0!important;border:1px solid #ececef!important;border-radius:14px!important;overflow:auto!important;background:#fff!important}
.ptbl2 th{background:#fafafb!important;border-bottom:1px solid #ececef!important;padding:11px 14px!important}
.ptbl2 td{border-bottom:1px solid #f0eff2!important;padding:12px 14px!important}
.ptbl2 tbody tr:last-child td{border-bottom:0!important}
.ptbl2 tbody tr:hover td{background:#faf8ff!important}
.ptbl2 td.pcell{display:table-cell!important;width:auto!important;min-width:0!important;max-width:none!important}
.pcin{display:flex;align-items:center;gap:12px;width:400px;max-width:46vw}
.pcin .ptitle{max-width:none}
.pcin .pmeta{flex:1;min-width:0}
.ptbl2 th:last-child,.ptbl2 td:last-child{width:100%}
.ptbl2 th.gcol,.ptbl2 td.gcol{width:1%;padding-left:20px!important;padding-right:20px!important}
#view .goal-sel:not([class*=" g-"]){background:transparent!important;border:1px dashed #dcd9e2!important;color:#a29daa!important}
#view .goal-sel:not([class*=" g-"]):hover{border-color:#6D28D9!important;color:#6D28D9!important}

#view table.mtable{width:calc(100% - 40px)!important;margin:16px 20px 0!important;border:1px solid #ececef!important;border-radius:14px!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden;background:#fff}
#view table.mtable th{background:#fafafb!important;padding:11px 16px!important;border-bottom:1px solid #ececef!important}
#view table.mtable td{padding:14px 16px!important;border-bottom:1px solid #f0eff2!important}
#view table.mtable tbody tr:last-child td{border-bottom:0!important}
#view table.mtable tbody tr:hover td{background:#faf8ff}
#view table.mtable td:first-child,#view table.mtable th:first-child{width:100%}
#view table.mtable td:not(:first-child),#view table.mtable th:not(:first-child){width:1%!important;white-space:nowrap;padding-left:20px!important}
#view .m-sub{padding:24px 20px 0!important}

/* v0.21 Chat: text never touches the edge */
#chat-scroll.chat-scroll{padding-left:20px!important;padding-right:20px!important;box-sizing:border-box}
.chat-message-column,.chat-message-text{box-sizing:border-box;max-width:100%}

/* v0.21 Video review: drop box and note field keep 20px on both sides, clear border */
#view .vr-drop{width:auto!important;box-sizing:border-box!important;margin-left:20px!important;margin-right:20px!important}
#view .vr-note{box-sizing:border-box;margin-left:20px!important;margin-right:20px!important}
#view .vr-note textarea{box-sizing:border-box!important;display:block;border:1px solid #dcd9e2!important;background:#fff!important}
#view .form-note.pad{margin:16px 20px 0!important;padding:12px 14px!important;border:1px solid #f3d0d0;background:#fdf5f5;border-radius:12px;color:#8a2d2d}

/* v0.21 What customers ask */
.ins-card .ins-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 4px}
.ins-card .ins-head h3{margin:0}
.ins-sub{margin:0 0 12px;font-size:12.5px;color:#8a8590}
.ins-sum{margin:0 0 16px;font-size:14px;line-height:1.8;color:#3d3944}
.ins-block{margin-top:18px}
.ins-block h4{margin:0 0 8px;font-size:13px;font-weight:600;color:#5f5a66}
.ins-list{list-style:none;margin:0;padding:0;border:1px solid #ececef;border-radius:12px;overflow:hidden}
.ins-row{display:flex;align-items:center;gap:14px;padding:12px 14px;border-bottom:1px solid #f0eff2}
.ins-row:last-child{border-bottom:0}
.ins-row:hover{background:#faf8ff}
.ins-q{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.ins-q b{font-weight:600;font-size:14.5px;line-height:1.7;color:#18161c}
.ins-q small{font-size:12.5px;line-height:1.6;color:#7a7581}
.ins-n{flex:none;min-width:28px;height:24px;padding:0 8px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#f3f0fb;color:#6D28D9;font-size:12px;font-weight:600}
.ins-go{flex:none;white-space:nowrap}
.ins-chips{display:flex;flex-wrap:wrap;gap:8px}
.ins-chip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border:1px solid #ececef;border-radius:15px;font-size:13px;color:#3d3944;background:#fff}
.ins-chip i{font-style:normal;color:#6D28D9;font-weight:600;font-size:12px}
.ins-chip.q{background:#faf7f2;border-color:#efe6d8}
@media(max-width:700px){.ins-row{flex-wrap:wrap}.ins-go{margin-left:auto}}

/* v0.21.1 Post composer accounts: checkbox sits on the left next to the account */
.ps-acc{justify-content:flex-start!important}
.ps-acc input[type=checkbox]{width:16px!important;height:16px!important;min-width:16px;flex:none!important;margin:0!important;padding:0!important}
.ps-acc img,.ps-acc .ps-av{flex:none;width:32px!important;height:32px!important;border-radius:8px!important}
.ps-acc>span:last-child{flex:1;min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* v0.21.1 Calendar: clear day lines, plus button centred inside its own day */
.cgrid{gap:0!important;border:1px solid #ececef;border-radius:14px;overflow:hidden}
.cgrid .cday{border:0!important;border-radius:0!important;border-right:1px solid #ececef!important;border-bottom:1px solid #ececef!important;padding:10px!important;box-sizing:border-box;box-shadow:none!important}
.cgrid .cday:nth-child(7n){border-right:0!important}
.cgrid .cday.empty{background:#fcfcfd!important}
.cday .row.between{display:flex;align-items:center;justify-content:space-between;width:100%;gap:6px}
.cadd{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:26px!important;height:26px!important;padding:0!important;margin:0!important;line-height:0!important;border-radius:8px!important;flex:none}
.cadd svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}

/* v0.21.1 Chat: no top bar; empty chat sits in the middle; while chatting the box stays at the bottom */
.creator-chat.solo .chat-topline{display:none!important}
.creator-chat.solo .chat-main.empty-workspace{justify-content:center!important;align-items:center;padding:0 0 4vh!important;box-sizing:border-box}
.creator-chat.solo .empty-workspace .chat-scroll{margin:0!important;flex:none!important}
.creator-chat.solo .empty-workspace .chat-welcome{margin:0 auto!important}
.creator-chat.solo .empty-workspace .chat-composer-area{margin:0!important;flex:none!important;display:flex;justify-content:center}
.creator-chat.solo .chat-main:not(.empty-workspace) .chat-scroll{flex:1 1 auto!important;min-height:0;overflow:auto!important}
.creator-chat.solo .chat-main:not(.empty-workspace) .chat-composer-area{position:sticky!important;bottom:0;margin-top:auto}

/* v0.21.1 Sidebar New chat */
nav .nav-new{display:flex!important;align-items:center;gap:8px;height:34px!important;margin:4px 0 10px!important;padding:0 12px!important;border:1px solid #e7e6ea!important;border-radius:9px!important;background:#fff!important;color:#18161c!important;font-size:14px;font-weight:600;cursor:pointer;width:100%;box-sizing:border-box}
nav .nav-new:hover{border-color:#6D28D9!important;color:#6D28D9!important}
.nav-new svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
@media(max-width:700px){nav .nav-new{width:auto!important;margin:0 4px!important;padding:0 10px!important;flex:none}}

/* v0.21.2 Empty chat: mascot + title in the middle, message box full width at the bottom (not shrunk under the logo) */
.creator-chat.solo .chat-main.empty-workspace{justify-content:flex-start!important;align-items:stretch!important;padding:0!important}
.creator-chat.solo .empty-workspace .chat-scroll{flex:1 1 auto!important;display:flex!important;flex-direction:column;justify-content:center;align-items:center;margin:0!important;min-height:0}
.creator-chat.solo .empty-workspace .chat-composer-area{width:100%!important;box-sizing:border-box;padding:0 20px 20px!important;display:flex!important;flex-direction:column;align-items:center}
.creator-chat.solo .empty-workspace .chat-composer-area>*{width:100%!important;max-width:760px!important;box-sizing:border-box}
.creator-chat.solo .chat-main:not(.empty-workspace) .chat-composer-area{display:flex!important;flex-direction:column;align-items:center;padding:10px 20px 20px!important}
.creator-chat.solo .chat-main:not(.empty-workspace) .chat-composer-area>*{width:100%!important;max-width:760px!important;box-sizing:border-box}

/* v0.21.3 Message box centred between left and right, full width up to 760px */
.creator-chat.solo .chat-main .chat-composer-area{align-self:stretch!important;width:auto!important;max-width:none!important;margin:0!important;box-sizing:border-box}
.creator-chat.solo .chat-main .chat-composer-area>*{width:100%!important;max-width:760px!important;margin-left:auto!important;margin-right:auto!important;align-self:center!important}
.creator-chat.solo .chat-main .chat-composer{width:100%!important;max-width:760px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}

/* v0.21.4 Goal pill always visible next to the mode button */
.creator-chat.solo .chat-composer-bottom select.chat-goal{display:inline-block!important}
.creator-chat.solo .chat-composer-bottom .cmode-wrap{display:inline-flex!important}

/* ===== v0.22 Interaction & motion: quick, soft, never in the way ===== */
:root{--ease:cubic-bezier(.2,.8,.2,1);--ease-pop:cubic-bezier(.34,1.56,.64,1)}

/* Page enter when you switch menu */
#view.v-in{animation:pcViewIn .32s var(--ease) both}
@keyframes pcViewIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* Every button: smooth hover, gentle press */
button,.sm-btn,.cmode-b,.seg-b,select,.ps-acc,.ins-chip{transition:background-color .18s var(--ease),border-color .18s var(--ease),color .18s var(--ease),box-shadow .18s var(--ease),transform .14s var(--ease)!important}
button:not(:disabled):active,.ps-acc:active{transform:scale(.96)}
button.primary:not(:disabled):hover,.chat-send:not(:disabled):hover{box-shadow:0 6px 16px rgba(109,40,217,.25)}

/* Sidebar menu: hover slide + icon nudge */
nav button svg{transition:transform .2s var(--ease)}
nav button:hover svg{transform:translateX(2px)}
nav .nav-new:hover svg{transform:rotate(90deg)}

/* Top icons */
.header-actions button.icon:hover svg{transform:scale(1.1)}
.header-actions button.icon svg{transition:transform .2s var(--ease)}
.header-actions button[data-tab=settings]:hover svg{transform:rotate(45deg)}

/* Cards and rows lift a little */
.pdash section.dash-card{transition:box-shadow .22s var(--ease),border-color .22s var(--ease)}
.pdash section.dash-card:hover{border-color:#e2dcef!important;box-shadow:0 6px 22px rgba(33,21,47,.06)!important}
.ptbl2 tbody tr td,#view table.mtable tbody tr td,.ins-row{transition:background-color .16s var(--ease)}
.ins-go{opacity:.85}.ins-row:hover .ins-go{opacity:1;border-color:#6D28D9!important;color:#6D28D9!important}

/* Charts grow in */
.bar-f,.stack{transform-origin:bottom;animation:pcGrow .55s var(--ease) both}
.bar:nth-child(2) .bar-f,.bar:nth-child(2) .stack{animation-delay:.04s}
.bar:nth-child(3) .bar-f,.bar:nth-child(3) .stack{animation-delay:.08s}
.bar:nth-child(4) .bar-f,.bar:nth-child(4) .stack{animation-delay:.12s}
.bar:nth-child(5) .bar-f,.bar:nth-child(5) .stack{animation-delay:.16s}
.bar:nth-child(n+6) .bar-f,.bar:nth-child(n+6) .stack{animation-delay:.2s}
@keyframes pcGrow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.bar-f:hover,.stack:hover{filter:brightness(1.12)}

/* Chat */
.creator-chat.solo .chat-composer{transition:border-color .2s var(--ease),box-shadow .2s var(--ease)!important}
.creator-chat.solo .chat-composer:focus-within{border-color:#cdbdf3!important;box-shadow:0 0 0 4px #f1ebfd,0 6px 22px rgba(33,21,47,.07)!important}
.chat-send:not(:disabled):hover svg{transform:translateY(-2px)}
.chat-send svg{transition:transform .2s var(--ease)}
.creator-chat.solo .empty-workspace .chat-welcome .mascot,.creator-chat.solo .empty-workspace .chat-welcome>img{animation:pcFloat 3.6s ease-in-out infinite}
@keyframes pcFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
.creator-chat.solo .empty-workspace .chat-welcome h1{animation:pcViewIn .45s var(--ease) both .05s}
.chat-thinking span{animation:pcPulse 1.1s ease-in-out infinite}
@keyframes pcPulse{0%,100%{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}
.cmode-menu{animation:pcPop .18s var(--ease-pop) both;transform-origin:bottom left}
@keyframes pcPop{from{opacity:0;transform:scale(.94) translateY(4px)}to{opacity:1;transform:none}}

/* Notice toast slides in */
#notice:not([hidden]){animation:pcToast .28s var(--ease) both}
@keyframes pcToast{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

/* Goal pills, toggles, checkboxes */
.goal-sel,.chat-goal,.gtag{transition:color .18s var(--ease),border-color .18s var(--ease),background-color .18s var(--ease)!important}
.ps-acc.on{animation:pcTick .22s var(--ease-pop)}
@keyframes pcTick{50%{transform:scale(1.015)}}
.ui-language button,.seg-b{transition:background-color .2s var(--ease),color .2s var(--ease),box-shadow .2s var(--ease)!important}

/* Calendar day hover */
.cgrid .cday{transition:background-color .16s var(--ease)}
.cgrid .cday:not(.empty):hover{background:#fbf9ff!important}
.cadd{transition:transform .18s var(--ease-pop),background-color .18s var(--ease),opacity .18s!important}
.cadd:hover{transform:scale(1.12)}

/* Video drop zone */
.vr-drop{transition:border-color .2s var(--ease),background-color .2s var(--ease)}
.vr-drop:hover{border-color:#b9a3ef!important;background:#fcfaff!important}
.vr-drop:hover svg{animation:pcFloat 1.6s ease-in-out infinite}


/* Respect people who turn motion off */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* v0.22.1 Sign-in card */
#view .signin-card{margin:48px auto!important;max-width:420px;padding:32px 28px!important;text-align:center;border:1px solid #ececef!important;border-radius:16px!important;background:#fff!important;box-shadow:0 6px 24px rgba(33,21,47,.05)!important;animation:pcViewIn .32s var(--ease) both}
#view .signin-card .si-ico{width:52px;height:52px;margin:0 auto 14px;border-radius:14px;background:#f3f0fb;color:#6D28D9;display:grid;place-items:center}
#view .signin-card .si-ico svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
#view .signin-card h3{margin:0 0 6px;font-size:18px;font-weight:600;color:#18161c}
#view .signin-card p{margin:0 0 20px;font-size:14px;line-height:1.8;color:#6f6a77}
#view .signin-card button{height:40px;padding:0 20px;border-radius:10px}

/* v0.22.1 Collapsed sidebar: New chat becomes an icon like the others */
body.studio.nav-collapsed nav .nav-new{width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;font-size:0!important;gap:0!important;justify-content:center!important;margin:0 0 8px!important;overflow:visible!important;position:relative}
body.studio.nav-collapsed nav .nav-new svg{width:18px!important;height:18px!important}

/* ===== v0.23 Settings ===== */
.set-page{padding:28px 20px 40px;max-width:1040px;margin:0 auto;box-sizing:border-box}
.set-head h1{margin:0;font-size:26px;font-weight:600;color:#18161c;letter-spacing:-.01em}
.set-head p{margin:6px 0 0;font-size:14px;color:#7a7581}
.set-wrap{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;margin-top:24px;align-items:start}
.set-side{display:flex;flex-direction:column;gap:2px;position:sticky;top:12px}
.set-tab{display:flex!important;align-items:center;gap:10px;height:38px;padding:0 12px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#4a4652!important;font-size:14px!important;font-weight:500;text-align:left;cursor:pointer;width:100%}
.set-tab svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.set-tab:hover{background:#f4f3f6!important;color:#18161c!important}
.set-tab.on{background:#f3f0fb!important;color:#6D28D9!important;font-weight:600}
.set-main{display:flex;flex-direction:column;gap:16px;min-width:0}
.set-main.v-in{animation:pcViewIn .28s var(--ease) both}
.set-card{border:1px solid #ececef;border-radius:16px;background:#fff;padding:24px;box-sizing:border-box}
.set-card h2{margin:0;font-size:18px;font-weight:600;color:#18161c}
.set-card h3{margin:0;font-size:16px;font-weight:600;color:#18161c}
.set-h{display:flex;align-items:center;justify-content:space-between;gap:12px}
.set-desc{margin:6px 0 18px;font-size:14px;line-height:1.8;color:#7a7581}
.set-hero{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #f0eff2;border-radius:14px;background:#fcfbfd;margin-bottom:8px}
.set-hero>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.set-hero b{font-size:16px;font-weight:600;color:#18161c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.set-hero small{font-size:13px;color:#7a7581;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.set-hero .mascot,.set-hero img{width:48px!important;height:48px!important;object-fit:contain;margin:0!important}
.set-av{width:48px;height:48px;flex:none;border-radius:50%;background:#6D28D9;color:#fff;display:grid;place-items:center;font-size:19px;font-weight:600}
.set-hero .org-av{width:48px!important;height:48px!important;border-radius:12px!important;flex:none}
.set-pill{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:12px;background:#f3f0fb;color:#6D28D9;font-size:12px;font-weight:600;white-space:nowrap}
.set-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 2px;border-bottom:1px solid #f0eff2;font-size:14px}
.set-row:last-of-type{border-bottom:0}
.set-k{color:#7a7581}
.set-v{color:#18161c;font-weight:500;text-align:right}
.set-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px}
.set-actions button{height:38px;padding:0 16px!important;border-radius:10px!important;display:inline-flex!important;align-items:center;gap:8px}
.set-actions button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.set-actions .text.danger{color:#b42318!important}
.set-actions .text.danger:hover{background:#fef3f2!important}
.set-list{display:flex;flex-direction:column;border:1px solid #ececef;border-radius:14px;overflow:hidden}
.set-acc{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #f0eff2;transition:background-color .16s var(--ease)}
.set-acc:last-child{border-bottom:0}
.set-acc:hover{background:#faf8ff}
.set-acc>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.set-acc b{font-size:14.5px;font-weight:600;color:#18161c}
.set-acc small{font-size:13px;color:#7a7581}
.set-pf{width:36px;height:36px;flex:none;border-radius:10px;display:grid;place-items:center;color:#fff}
.set-pf svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.set-pf.fb{background:#1877F2}.set-pf.tt{background:#21152F}
.set-st{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:13px;background:#f4f3f6;color:#7a7581;font-size:12px;font-weight:600}
.set-st::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.set-st.ok{background:#ecfdf3;color:#067647}
.set-empty{margin:0;padding:18px;border:1px dashed #e4e2e8;border-radius:12px;font-size:14px;color:#7a7581;text-align:center}
.set-note{margin:14px 0 0;font-size:13px;line-height:1.7;color:#8a8590}
.set-link{display:inline-block;margin-top:12px;font-size:13.5px;color:#6D28D9;font-weight:600}
.set-code{margin:0 0 4px;padding:12px 14px;border-radius:10px;background:#faf7f2;font-size:13.5px;color:#3d3944}
.set-bul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.set-bul li{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.8;color:#3d3944}
.set-bul svg{width:18px;height:18px;flex:none;margin-top:4px;fill:none;stroke:#067647;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){.set-wrap{grid-template-columns:1fr;gap:16px}.set-side{position:static;flex-direction:row;overflow-x:auto;gap:6px;padding-bottom:2px}.set-tab{width:auto;flex:none;border:1px solid #ececef!important;height:34px}.set-card{padding:18px}.set-page{padding:20px 16px 32px}}

/* v0.23 Edit profile form */
.set-av.img{object-fit:cover;padding:0;background:#f3f0fb}
.set-form{display:flex;flex-direction:column;gap:14px}
.set-photo{display:flex;align-items:center;gap:14px;cursor:pointer;width:max-content}
.set-photo .set-av{width:64px;height:64px;font-size:24px}
.set-photo span:last-child{font-size:14px;font-weight:600;color:#6D28D9}
.set-photo:hover .set-av{box-shadow:0 0 0 4px #f1ebfd}
.set-form>.text{align-self:flex-start;color:#b42318!important;font-size:13px}
.set-field{display:flex;flex-direction:column;gap:6px}
.set-field span{font-size:13px;font-weight:600;color:#5f5a66}
#view .set-field input{height:42px!important;padding:0 14px!important;border:1px solid #dcd9e2!important;border-radius:10px!important;font-size:15px!important;background:#fff!important;box-sizing:border-box;width:100%;transition:border-color .18s var(--ease),box-shadow .18s var(--ease)}
#view .set-field input:focus{outline:0;border-color:#6D28D9!important;box-shadow:0 0 0 3px #efe7fd!important}
#view .set-field input:disabled{background:#f7f6f9!important;color:#8a8590!important}
.set-hero .outline.small{height:32px;padding:0 14px!important;border-radius:9px!important;flex:none}

/* v0.23.2 Calendar: full size, equal days, posts easy to read */
.pcal .cal{display:flex!important;flex-direction:column;margin:16px 20px 0!important;border:1px solid #ececef;border-radius:16px;overflow:hidden;background:#fff;min-height:calc(100vh - 190px)}
.pcal .cwd{background:#fafafb;border-bottom:1px solid #ececef!important}
.pcal .cwd span{padding:10px 12px!important;font-size:12.5px!important;font-weight:600;color:#7a7581!important}
.pcal .cgrid,.cgrid{flex:1;border:0!important;border-radius:0!important;grid-auto-rows:minmax(150px,1fr)}
.pcal .cday,.cgrid .cday{min-height:150px!important;height:100%;display:flex;flex-direction:column;gap:5px;padding:10px!important;overflow:hidden}
.cday .dnum{font-size:13.5px;font-weight:600;color:#18161c;min-width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:13px;padding:0 6px;box-sizing:border-box}
.pcal .cday.today .dnum{padding:0 8px}
.cchip{display:flex!important;align-items:center;gap:6px;min-width:0;font-size:12.5px!important;line-height:1.5!important;padding:5px 8px!important;border-radius:8px!important;background:#f3f0fb!important;color:#2d2240!important;text-decoration:none;border:1px solid transparent;transition:transform .15s var(--ease),box-shadow .15s var(--ease),background-color .15s var(--ease)}
.cchip .cdot{flex:none;width:7px;height:7px;border-radius:50%;background:#6D28D9}
.cchip b{flex:none;font-weight:700;font-variant-numeric:tabular-nums}
.cchip .ctx{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cchip.tiktok{background:#21152F!important;color:#fff!important}
.cchip.tiktok .cdot{background:#fff}
.cchip.sched{background:#fff!important;border:1px dashed #f0b56b!important;color:#8a5a12!important}
.cchip.sched .cdot{background:#f0b56b}
a.cchip:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(33,21,47,.12)}
.cmore{align-self:flex-start;border:0!important;background:transparent!important;color:#6D28D9!important;font-size:12.5px!important;font-weight:600;padding:2px 4px!important;height:auto!important;cursor:pointer}
.cmore:hover{text-decoration:underline}
.cday:has(.cmore) {overflow:visible}
@media(max-width:760px){.pcal .cal{min-height:0;margin:12px 12px 0!important}.pcal .cgrid,.cgrid{grid-auto-rows:minmax(96px,auto)}.pcal .cday,.cgrid .cday{min-height:96px!important;padding:6px!important}.cchip{font-size:11px!important;padding:3px 5px!important}.cchip .ctx{display:none}}

/* v0.23.3 Small notice toast (not a full-width bar) */
#notice{position:fixed!important;top:14px!important;left:50%!important;transform:translateX(-50%);z-index:9999;width:auto!important;max-width:min(440px,calc(100vw - 32px));margin:0!important;padding:10px 16px 10px 14px!important;border:1px solid #e7e2f6!important;border-radius:12px!important;background:#fff!important;color:#18161c!important;font-size:14px!important;line-height:1.6;box-shadow:0 10px 30px rgba(33,21,47,.14)!important;display:flex;align-items:center;gap:10px;box-sizing:border-box}
#notice[hidden]{display:none!important}
#notice::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;background:#12b76a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat}
#notice.error{border-color:#f6d3d0!important;color:#8a2d2d!important}
#notice.error::before{background:#f04438 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17v.01'/%3E%3C/svg%3E") center/12px no-repeat}
#notice:not([hidden]){animation:pcToastC .3s var(--ease) both}
@keyframes pcToastC{from{opacity:0;transform:translate(-50%,-10px)}to{opacity:1;transform:translate(-50%,0)}}

/* v0.23.3 Sign-in progress overlay */
#sign-ov{position:fixed;inset:0;z-index:9000;display:grid;place-items:center;background:rgba(250,247,242,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:pcFade .25s ease both}
@keyframes pcFade{from{opacity:0}to{opacity:1}}
.sov-card{width:min(380px,calc(100vw - 40px));padding:32px 28px 24px;border:1px solid #ececef;border-radius:20px;background:#fff;text-align:center;box-shadow:0 20px 50px rgba(33,21,47,.12);animation:pcPop .3s var(--ease-pop) both;box-sizing:border-box}
.sov-card h3{margin:16px 0 6px;font-size:18px;font-weight:600;color:#18161c}
.sov-card p{margin:0 0 18px;font-size:14px;line-height:1.8;color:#6f6a77}
.sov-card .text{margin-top:14px;color:#7a7581!important;font-size:13px}
.sov-spin{width:56px;height:56px;margin:0 auto;border-radius:50%;background:conic-gradient(#6D28D9 0 25%,#ece7f8 25% 100%);animation:pcSpin .9s linear infinite;display:grid;place-items:center}
.sov-spin span{width:44px;height:44px;border-radius:50%;background:#fff}
@keyframes pcSpin{to{transform:rotate(360deg)}}
.sov-bar{height:4px;border-radius:2px;background:#f0ecf9;overflow:hidden}
.sov-bar i{display:block;height:100%;width:40%;border-radius:2px;background:#6D28D9;animation:pcBar 1.2s ease-in-out infinite}
@keyframes pcBar{0%{transform:translateX(-100%)}100%{transform:translateX(250%)}}
.sov-g{position:relative;width:56px;height:56px;margin:0 auto;border-radius:16px;background:#f3f0fb;color:#6D28D9;display:grid;place-items:center}
.sov-g svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.sov-ring{position:absolute;inset:-6px;border-radius:20px;border:2px solid #6D28D9;opacity:0;animation:pcRing 1.6s ease-out infinite}
@keyframes pcRing{0%{opacity:.6;transform:scale(.9)}100%{opacity:0;transform:scale(1.15)}}
.sov-dots{display:flex;justify-content:center;gap:6px}
.sov-dots i{width:8px;height:8px;border-radius:50%;background:#6D28D9;animation:pcPulse 1.1s ease-in-out infinite}
.sov-dots i:nth-child(2){animation-delay:.15s}.sov-dots i:nth-child(3){animation-delay:.3s}

/* v0.24 Posts Score, vs usual, sortable headers, goal filter */
.ptbl2 th .th-s{all:unset;display:inline-flex;align-items:center;gap:5px;cursor:pointer;font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;padding:2px 4px;margin:-2px -4px;border-radius:6px;transition:background-color .15s var(--ease),color .15s var(--ease)}
.ptbl2 th .th-s:hover{background:#f3f0fb;color:#3b1f73}
.ptbl2 th .th-s.on{color:#6D28D9}
.ptbl2 th .th-s:focus-visible{outline:2px solid #6D28D9;outline-offset:2px}
.ptbl2 th.num .th-s{justify-content:flex-end}
.th-ar{font-style:normal;font-size:12px}
.pscore{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:26px;padding:0 8px;border-radius:8px;font-weight:700;font-size:13px;font-variant-numeric:tabular-nums;box-sizing:border-box}
.pscore.hi{background:#e7f8ef;color:#067647}
.pscore.mid{background:#f2f1f4;color:#4a4552}
.pscore.lo{background:#fdecec;color:#b42318}
.pvr{display:inline-flex;align-items:center;gap:2px;font-weight:600;font-size:13px;color:#7a7581;font-variant-numeric:tabular-nums}
.pvr svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.pvr.up{color:#067647}
.pvr.down{color:#b42318}
.goal-filter{margin-left:10px}
.goal-filter.on{border-color:#6D28D9!important;color:#6D28D9!important;background:#faf7ff!important}
.pempty{text-align:center;padding:40px 16px!important;color:#8a8590;font-size:14px}

/* v0.25 Idea board */
.pboard{padding:24px 20px 40px;max-width:1200px;margin:0 auto;box-sizing:border-box}
.ib-head h2{margin:0 0 6px;font-size:24px;font-weight:600;color:#18161c}
.ib-head p{margin:0 0 18px;font-size:15px;line-height:1.8;color:#6f6a77;max-width:640px}
.ib-add{display:grid;grid-template-columns:minmax(220px,320px) 1fr;gap:20px;padding:18px;border:1px solid #ececef;border-radius:16px;background:#fff;margin-bottom:24px}
.ib-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:260px;padding:20px;border:1.5px dashed #d6cdf0;border-radius:14px;background:#faf8ff;text-align:center;cursor:pointer;overflow:hidden;transition:border-color .18s var(--ease),background-color .18s var(--ease)}
.ib-drop:hover{border-color:#6D28D9;background:#f5f0ff}
.ib-drop b{font-size:15px;font-weight:600;color:#2d2240}
.ib-drop small{font-size:13px;line-height:1.7;color:#7a7581}
.ib-ico{width:48px;height:48px;border-radius:14px;background:#fff;border:1px solid #ece7f8;display:grid;place-items:center;color:#6D28D9}
.ib-ico svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ib-drop.has{padding:0;border-style:solid;background:#f7f6f9}
.ib-drop.has img{width:100%;height:100%;max-height:360px;object-fit:contain}
.ib-change{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);padding:6px 12px;border-radius:999px;background:rgba(33,21,47,.78);color:#fff;font-size:12.5px;font-weight:600}
.ib-fields{display:flex;flex-direction:column;gap:14px}
#view .ib-fields select.sm-select{height:42px;border-radius:10px;font-size:15px}
.ib-fields .primary{align-self:flex-start;height:42px;padding:0 20px!important;border-radius:11px!important;font-size:15px}
.ib-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}
.ib-card{display:flex;flex-direction:column;gap:14px;padding:18px;border:1px solid #ececef;border-radius:16px;background:#fff;transition:box-shadow .2s var(--ease),transform .2s var(--ease)}
.ib-card:hover{box-shadow:0 10px 28px rgba(33,21,47,.08);transform:translateY(-2px)}
.ib-top{display:flex;gap:14px;align-items:flex-start}
.ib-th{flex:none;width:76px;height:100px;border-radius:10px;object-fit:cover;background:#f3f0fb}
.ib-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:0}
.ib-meta h3{flex-basis:100%;margin:4px 0 0;font-size:17px;font-weight:600;line-height:1.5;color:#18161c}
.ib-src,.ib-goal,.ib-fmt{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:600}
.ib-src.pinterest{background:#fdecec;color:#b42318}
.ib-src.instagram{background:#fcebf6;color:#a3156f}
.ib-src.tiktok{background:#21152F;color:#fff}
.ib-goal{background:#f1ebfd;color:#5b21b6}
.ib-fmt{background:#fff6ea;color:#8a5a12}
.ib-note{flex-basis:100%;margin:2px 0 0;font-size:13px;color:#7a7581}
.ib-sec b{display:block;margin-bottom:6px;font-size:12.5px;font-weight:700;color:#7a7581;letter-spacing:.02em}
.ib-sec p{margin:0;font-size:15px;line-height:1.8;color:#2d2a33}
.ib-sec ul{margin:0;padding-left:18px;font-size:14.5px;line-height:1.8;color:#2d2a33}
.ib-hook p{padding:10px 12px;border-radius:10px;background:#faf7ff;border-left:3px solid #6D28D9;font-weight:600}
.ib-scenes{margin:0;padding:0;list-style:none;counter-reset:sc;display:flex;flex-direction:column;gap:8px}
.ib-scenes li{counter-increment:sc;position:relative;padding-left:34px;font-size:14.5px;line-height:1.7;color:#2d2a33}
.ib-scenes li::before{content:counter(sc);position:absolute;left:0;top:1px;width:24px;height:24px;border-radius:7px;background:#f1ebfd;color:#5b21b6;font-size:12.5px;font-weight:700;display:grid;place-items:center}
.ib-scenes em{display:block;font-style:normal;color:#7a7581;font-size:13.5px}
.ib-tags{margin-top:6px!important;color:#6D28D9!important;font-size:13.5px!important}
.ib-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:auto;padding-top:12px;border-top:1px solid #f0eef3}
.ib-acts .small{height:34px;padding:0 14px!important;border-radius:9px!important;font-size:13.5px;display:inline-flex;align-items:center;text-decoration:none}
.ib-acts .ib-del{margin-left:auto;color:#b42318!important}
.ib-empty{padding:48px 16px;border:1px dashed #e3e0e8;border-radius:16px;text-align:center;color:#8a8590;font-size:15px}
@media(max-width:760px){.ib-add{grid-template-columns:1fr}.ib-drop{min-height:180px}.ib-grid{grid-template-columns:1fr}}

/* v0.26 Boost */
.ptbl2 td.pact{white-space:nowrap}
.ptbl2 td.pact>*{vertical-align:middle}
.pboost{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px!important;margin-right:6px;border:1px solid #e3dbf7!important;border-radius:8px!important;background:#faf7ff!important;color:#6D28D9!important;font-size:12.5px!important;font-weight:600;cursor:pointer;opacity:.85;transition:opacity .15s var(--ease),background-color .15s var(--ease)}
.pboost:hover{opacity:1;background:#f1ebfd!important}
.pboost svg,.pboost-ads svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pboost-ads{display:inline-flex;align-items:center;gap:6px}
#boost-ov{position:fixed;inset:0;z-index:8000}
.bo-bg{position:absolute;inset:0;background:rgba(24,22,28,.32);animation:pcFade .2s ease both}
.bo-card{position:absolute;top:0;right:0;bottom:0;width:min(440px,100vw);background:#fff;border-left:1px solid #ececef;box-shadow:-20px 0 50px rgba(33,21,47,.12);display:flex;flex-direction:column;animation:boIn .28s var(--ease) both}
@keyframes boIn{from{transform:translateX(30px);opacity:0}to{transform:none;opacity:1}}
.bo-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px;border-bottom:1px solid #f0eef3}
.bo-tabs{display:flex;gap:4px;padding:3px;border-radius:10px;background:#f4f3f6}
.bo-tabs button{height:32px;padding:0 14px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#6f6a77!important;font-size:13.5px;font-weight:600;cursor:pointer}
.bo-tabs button.on{background:#fff!important;color:#18161c!important;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.bo-tabs button:disabled{opacity:.4;cursor:default}
.bo-x{width:32px;height:32px;border:0!important;border-radius:8px!important;background:transparent!important;display:grid;place-items:center;cursor:pointer;color:#6f6a77}
.bo-x:hover{background:#f4f3f6!important}
.bo-x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.bo-body{flex:1;overflow:auto;padding:20px;display:flex;flex-direction:column;gap:18px}
.bo-post{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid #ececef;border-radius:12px;background:#fafafb}
.bo-post img{width:52px;height:52px;border-radius:9px;object-fit:cover;flex:none}
.bo-post p{margin:0;font-size:14px;line-height:1.7;color:#2d2a33;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bo-f{display:flex;flex-direction:column;gap:8px}
.bo-f>span{font-size:13px;font-weight:600;color:#5f5a66}
.bo-f small{font-size:12.5px;color:#8a8590}
.bo-f select,.bo-f input[type=url]{height:42px;padding:0 12px;border:1px solid #dcd9e2;border-radius:10px;font-size:15px;background:#fff}
.bo-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.bo-chip{height:36px;min-width:52px;padding:0 14px!important;border:1px solid #dcd9e2!important;border-radius:10px!important;background:#fff!important;color:#2d2a33!important;font-size:14px;font-weight:600;cursor:pointer}
.bo-chip:hover{border-color:#6D28D9!important}
.bo-chip.on{border-color:#6D28D9!important;background:#f5f0ff!important;color:#5b21b6!important}
.bo-chips input{width:72px;height:36px;padding:0 10px;border:1px solid #dcd9e2;border-radius:10px;font-size:14px;text-align:center}
.bo-aud{display:flex;align-items:center;gap:8px;font-size:14px;color:#2d2a33}
.bo-aud input{width:58px;height:36px;border:1px solid #dcd9e2;border-radius:10px;text-align:center;font-size:14px}
.bo-aud i{font-style:normal;color:#8a8590}
.bo-total{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:14px 16px;border-radius:12px;background:#faf7ff;border:1px solid #ece4fb}
.bo-total span{font-size:13.5px;color:#5f5a66;align-self:center}
.bo-total b{font-size:22px;font-weight:700;color:#18161c;font-variant-numeric:tabular-nums}
.bo-total small{grid-column:1/-1;font-size:12.5px;color:#7a7581}
.bo-confirm{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.7;color:#2d2a33;cursor:pointer}
.bo-confirm input{margin-top:5px;width:16px;height:16px;accent-color:#6D28D9;flex:none}
.bo-go{height:46px;border-radius:12px!important;font-size:15.5px;font-weight:700}
.bo-go:disabled{opacity:.45}
.bo-err{margin:0;padding:10px 12px;border-radius:10px;background:#fdecec;color:#8a2d2d;font-size:13.5px;line-height:1.6}
.bo-wait{display:flex;align-items:center;gap:12px;padding:30px 4px;color:#6f6a77;font-size:14px}
.bo-spin{width:20px;height:20px;border-radius:50%;border:2.5px solid #ece7f8;border-top-color:#6D28D9;animation:pcSpin .8s linear infinite}
.bo-need,.bo-done{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:24px 8px}
.bo-need p,.bo-done p{margin:0;font-size:14.5px;line-height:1.8;color:#4a4552}
.bo-need small{color:#8a8590;font-size:12.5px}
.bo-ico,.bo-ok{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#fff6ea;color:#b54708}
.bo-ok{background:#e7f8ef;color:#067647;border-radius:50%;animation:pcPop .3s var(--ease-pop) both}
.bo-ico svg,.bo-ok svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.bo-done h3{margin:4px 0 0;font-size:18px;font-weight:600}
.bo-row{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:6px}
.bo-row button{height:40px;padding:0 16px!important;border-radius:10px!important}
.bo-empty{text-align:center;color:#8a8590;padding:30px 0;font-size:14px}
.bo-list{display:flex;flex-direction:column;gap:10px}
.bo-ad{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid #ececef;border-radius:12px}
.bo-ad>div:first-child{display:flex;justify-content:space-between;gap:8px;align-items:center}
.bo-ad b{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bo-st{flex:none;height:22px;padding:0 9px;border-radius:999px;background:#f2f1f4;color:#4a4552;font-size:12px;font-weight:600;display:inline-flex;align-items:center}
.bo-st.active{background:#e7f8ef;color:#067647}
.bo-st.paused{background:#fff6ea;color:#b54708}
.bo-st.rejected,.bo-st.error{background:#fdecec;color:#b42318}
.bo-m{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.bo-m span{display:flex;flex-direction:column;font-size:15px;font-weight:700;color:#18161c;font-variant-numeric:tabular-nums}
.bo-m small{font-size:12px;font-weight:500;color:#8a8590}
.bo-ad .small{align-self:flex-start;height:32px;padding:0 14px!important;border-radius:9px!important}

/* v0.27 Ads page */
.pads{padding:24px 20px 40px;max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:18px;box-sizing:border-box}
.ads-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.ads-head h2{margin:0 0 6px;font-size:24px;font-weight:600;color:#18161c}
.ads-head p{margin:0;font-size:15px;line-height:1.8;color:#6f6a77;max-width:640px}
.ads-card{padding:18px 20px;border:1px solid #ececef;border-radius:16px;background:#fff}
.ads-card h3{margin:0 0 4px;font-size:16px;font-weight:600;color:#18161c}
.ads-sub{margin:0 0 14px;font-size:13.5px;color:#7a7581}
.ads-need{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:36px 20px}
.ads-need p{margin:0;font-size:15px;line-height:1.8;color:#4a4552;max-width:460px}
.ads-need small{color:#8a8590;font-size:12.5px}
.ads-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.ads-stat{padding:16px 18px;border:1px solid #ececef;border-radius:14px;background:#fff;display:flex;flex-direction:column;gap:6px}
.ads-stat small{font-size:13px;color:#7a7581}
.ads-stat b{font-size:24px;font-weight:700;color:#18161c;font-variant-numeric:tabular-nums}
.ads-posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.ads-post{display:flex;gap:12px;padding:12px;border:1px solid #ececef;border-radius:12px;transition:box-shadow .2s var(--ease),transform .2s var(--ease)}
.ads-post:hover{box-shadow:0 8px 22px rgba(33,21,47,.07);transform:translateY(-1px)}
.ads-post img,.ads-noimg{flex:none;width:64px;height:64px;border-radius:10px;object-fit:cover;background:#f3f0fb}
.ads-pmeta{min-width:0;flex:1;display:flex;flex-direction:column;gap:8px}
.ads-pmeta p{margin:0;font-size:14px;line-height:1.6;color:#2d2a33;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ads-prow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ads-pv{font-size:13px;color:#7a7581}
.ads-prow .pboost{margin:0 0 0 auto}
.ads-tbl .ads-nm{font-weight:600}
.ads-tbl .small{height:30px;padding:0 12px!important;border-radius:8px!important}
@media(max-width:760px){.ads-stats{grid-template-columns:repeat(2,1fr)}.ads-posts{grid-template-columns:1fr}}

/* v0.28 Creator Pro upgrade popup */
#pro-ov{position:fixed;inset:0;z-index:8500;display:none}
#pro-ov.open{display:block}
#pro-ov .pv-back{position:absolute;inset:0;background:rgba(33,21,47,.28);backdrop-filter:blur(3px);animation:pvFade .18s ease}
#pro-ov .pv-box{position:absolute;inset:24px;margin:auto;max-width:880px;max-height:calc(100vh - 48px);overflow:auto;background:#f6f4f8;border-radius:22px;padding:40px 32px 32px;box-shadow:0 30px 80px rgba(33,21,47,.22);animation:pvUp .24s cubic-bezier(.2,.8,.2,1)}
#pro-ov .pv-x{position:absolute;top:16px;right:16px;width:32px;height:32px;border:0;border-radius:10px;background:transparent;display:grid;place-items:center;cursor:pointer;color:#21152F}
#pro-ov .pv-x:hover{background:#ece8f1}
#pro-ov .pv-x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
#pro-ov h2{margin:0 0 28px;text-align:center;font-size:28px;font-weight:600;color:#21152F;letter-spacing:-.01em}
#pro-ov .pv-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:780px;margin:0 auto}
#pro-ov .pv-card{background:#fff;border:1px solid #ece8f1;border-radius:20px;padding:24px 22px;display:flex;flex-direction:column;min-height:440px}
#pro-ov .pv-card.pro{background:linear-gradient(160deg,#ffffff 0%,#f3edff 55%,#fff3e4 100%);border:1px solid #c9b6f2;box-shadow:0 10px 30px rgba(109,40,217,.10)}
#pro-ov .pv-top{display:flex;align-items:center;justify-content:space-between}
#pro-ov .pv-tag{font-size:15px;font-weight:600;color:#21152F}
#pro-ov .pv-pill{font-size:12px;color:#6D28D9;background:#efe7ff;border:1px solid #dccbff;border-radius:999px;padding:4px 10px}
#pro-ov h3{margin:16px 0 6px;font-size:22px;font-weight:600;color:#21152F;line-height:1.4}
#pro-ov .pv-sub{margin:0 0 18px;color:#5b5563;font-size:14.5px;line-height:1.7}
#pro-ov .pv-btn{height:40px;border-radius:999px;font-size:14.5px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;width:100%}
#pro-ov .pv-btn.main{border:0;background:#6D28D9;color:#fff;box-shadow:0 6px 18px rgba(109,40,217,.28)}
#pro-ov .pv-btn.main:hover{background:#5b21b6}
#pro-ov .pv-btn.main .pv-ic{stroke:#fff;width:16px;height:16px}
#pro-ov .pv-btn.ghost{border:1px solid #ece8f1;background:#fff;color:#8a8590;cursor:default}
#pro-ov .pv-btn:disabled{opacity:.85}
#pro-ov .pv-gap{height:40px}
#pro-ov .pv-price{display:flex;align-items:baseline;gap:4px;margin:18px 0 16px;color:#21152F}
#pro-ov .pv-price sup{font-size:14px;align-self:flex-start;margin-top:6px}
#pro-ov .pv-price b{font-size:34px;font-weight:600;line-height:1}
#pro-ov .pv-price span{font-size:14px;color:#5b5563;margin-left:4px}
#pro-ov .pv-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
#pro-ov .pv-list li{display:flex;align-items:flex-start;gap:12px;font-size:14.5px;color:#2b2533;line-height:1.6}
#pro-ov .pv-ic{width:18px;height:18px;flex:0 0 18px;margin-top:2px;fill:none;stroke:#5b5563;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#pro-ov .pv-card.pro .pv-list .pv-ic{stroke:#6D28D9}
#pro-ov .pv-note{margin:auto 0 0;padding-top:18px;font-size:12.5px;color:#7a7482;line-height:1.7}
#pro-ov .pv-foot{text-align:center;margin:18px 0 0;font-size:13px;color:#7a7482}
@keyframes pvFade{from{opacity:0}to{opacity:1}}
@keyframes pvUp{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@media (max-width:720px){#pro-ov .pv-box{inset:0;border-radius:0;max-height:100vh;padding:56px 16px 24px}#pro-ov .pv-cards{grid-template-columns:1fr}#pro-ov .pv-card{min-height:0}#pro-ov h2{font-size:24px}}

/* v0.29 Ads network switch + Telegram ad writer */
.ads-seg{display:inline-flex;gap:4px;padding:4px;margin:0 0 14px;background:#f1edf6;border-radius:999px}
.ads-seg-b{height:32px;padding:0 14px;border:0;border-radius:999px;background:transparent;color:#5b5563;font-size:13.5px;font-weight:600;display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.ads-seg-b svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ads-seg-b.on{background:#fff;color:#21152F;box-shadow:0 1px 4px rgba(33,21,47,.10)}
.tg-form{display:flex;flex-direction:column;gap:8px}
.tg-lbl{font-size:14px;font-weight:600;color:#21152F}
.tg-in{width:100%;box-sizing:border-box;height:40px;border:1px solid #e4dfea;border-radius:10px;padding:0 12px;font:inherit;font-size:15px;color:#21152F;background:#fff}
.tg-in:focus{outline:none;border-color:#6D28D9;box-shadow:0 0 0 3px rgba(109,40,217,.12)}
.tg-ta{height:96px;padding:10px 12px;resize:vertical;line-height:1.7}
.tg-hint{display:block;color:#8a8590;font-size:12.5px;line-height:1.7;margin:0 0 6px}
.tg-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:4px 0 6px}
.tg-chip{height:32px;padding:0 14px;border:1px solid #e4dfea;border-radius:999px;background:#fff;color:#4a4552;font-size:14px;cursor:pointer}
.tg-chip.on{border-color:#6D28D9;color:#6D28D9;background:#f5f0ff}
.tg-go{align-self:flex-start;display:inline-flex;align-items:center;gap:8px}
.tg-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.tg-ad{border:1px solid #ece8f1;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:8px;background:#fff}
.tg-ad-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tg-ad-top b{font-size:14.5px;color:#21152F}
.tg-cnt{font-size:12px;color:#40916c;background:#eef7f1;border-radius:999px;padding:2px 8px}
.tg-cnt.bad{color:#b42318;background:#fdecea}
.tg-ad p{margin:0;font-size:15px;line-height:1.8;color:#2b2533}
.tg-link{font-size:13px;color:#6D28D9}
.tg-acts{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto}
.tg-how ol{margin:6px 0 12px;padding-left:20px;font-size:14.5px;line-height:1.9;color:#2b2533}

/* v0.29.1 Daily ideas in chat: loading skeleton + staggered reveal */
.chat-ideas.ci-wait,.chat-ideas.ci-in,.chat-ideas.ci-err{display:flex;flex-direction:column;gap:12px}
.ci-status{display:flex;align-items:center;gap:10px;color:#5b5563;font-size:15px;line-height:1.7}
.ci-bulb{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f3edff;flex:0 0 34px;animation:ciGlow 1.6s ease-in-out infinite}
.ci-bulb svg{width:18px;height:18px;fill:none;stroke:#6D28D9;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ci-skel{border:1px solid #ece8f1;border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:10px;background:#fff;opacity:0;animation:ciUp .45s cubic-bezier(.2,.8,.2,1) forwards}
.ci-l{display:block;height:12px;border-radius:6px;background:linear-gradient(90deg,#f1edf6 0%,#e6dcf7 40%,#f1edf6 80%);background-size:300% 100%;animation:ciShine 1.3s linear infinite}
.ci-l.w40{width:40%;height:14px}.ci-l.w90{width:90%}.ci-l.w70{width:70%}.ci-l.w55{width:55%}
.ci-item{opacity:0;animation:ciUp .5s cubic-bezier(.2,.8,.2,1) forwards}
.ci-d0{animation-delay:.05s}.ci-d1{animation-delay:.18s}.ci-d2{animation-delay:.31s}
.ci-errbox{display:flex;flex-direction:column;align-items:flex-start;gap:8px;border:1px solid #f3d6d3;background:#fff8f7;border-radius:16px;padding:16px;animation:ciUp .35s ease forwards}
.ci-errbox svg{width:22px;height:22px;fill:none;stroke:#b42318;stroke-width:1.7;stroke-linecap:round}
.ci-errbox p{margin:0;color:#4a4552;font-size:15px;line-height:1.7}
@keyframes ciUp{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
@keyframes ciShine{from{background-position:100% 0}to{background-position:-200% 0}}
@keyframes ciGlow{0%,100%{box-shadow:0 0 0 0 rgba(109,40,217,.25)}50%{box-shadow:0 0 0 8px rgba(109,40,217,0)}}
@media (prefers-reduced-motion:reduce){.ci-skel,.ci-item,.ci-errbox{animation:none;opacity:1}.ci-l,.ci-bulb{animation:none}}
