/* ===================== CONTENT STUDIO (loads after theme.css) ===================== */
#nav-studio svg { color: #fda4af; }
.page.studio { display: grid; grid-auto-rows: max-content; gap: 18px; align-content: start; background: radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--a1) 14%, transparent), transparent 70%), radial-gradient(700px 380px at 5% 20%, color-mix(in srgb, var(--a2) 10%, transparent), transparent 70%), var(--bg); }
.page.studio > * { width: 100%; max-width: 1340px; margin-inline: auto; }
.st-hero { position: relative; padding: 22px 24px; background: linear-gradient(120deg, #4f46e5, #7c3aed 35%, #c026d3 70%, #ec4899); color: #fff; border: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; overflow: hidden; }
.st-hero::after { content: ""; position: absolute; inset-inline-end: -60px; inset-block-start: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 70%); pointer-events: none; }
.st-hero-t { display: flex; gap: 14px; align-items: center; } .st-hero h1 { margin: 0; font-size: 24px; background: none; color: #fff; -webkit-text-fill-color: #fff; } .st-hero p { margin: 4px 0 0; opacity: .88; max-width: 62ch; font-size: 14px; }
.st-hero-ic { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.2); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); animation: float 5s ease-in-out infinite; }
.st-hero-ic svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.st-chips { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.st-chip { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); color: #fff; } .st-chip.bad { background: rgba(239,68,68,.35); } .st-chip.btn-l { cursor: pointer; } .st-chip.btn-l:hover { background: rgba(255,255,255,.3); }
.st-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 6px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.st-tabs button { display: flex; gap: 10px; align-items: center; justify-content: center; border: 0; background: transparent; height: 50px; border-radius: 14px; font-weight: 600; color: var(--ink-2); transition: background .25s, color .25s, transform .25s var(--spring), box-shadow .25s; }
.st-tabs button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-tabs button:hover { background: var(--surface-2); } .st-tabs button[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(192,38,211,.35); transform: translateY(-1px); }
.st-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; align-items: start; }
.st-main { display: grid; gap: 16px; min-width: 0; }
.st-comp { position: sticky; inset-block-end: 10px; z-index: 5; padding: 14px; display: grid; gap: 10px; box-shadow: 0 -8px 40px rgba(60,20,160,.18), var(--shadow); }
.st-box { display: flex; gap: 10px; align-items: flex-end; } .st-box textarea { flex: 1; resize: none; min-height: 52px; max-height: 180px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface-2); line-height: 1.6; transition: border-color .2s, box-shadow .2s; }
.st-box textarea:focus, .st-extra:focus { outline: none; border-color: var(--a1); box-shadow: 0 0 0 4px var(--glow); }
.st-send { height: 52px; padding: 0 22px; display: inline-flex; align-items: center; gap: 8px; border-radius: 16px; } .st-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .st-send svg { transform: scaleX(-1); } .st-extra { height: 42px; }
.st-exs { display: flex; gap: 8px; flex-wrap: wrap; } .st-ex { border: 1px dashed var(--line); background: transparent; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; color: var(--ink-2); transition: all .2s; } .st-ex:hover { border-color: var(--a1); color: var(--a1); background: var(--surface-2); }
.st-opts { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; } .st-o { display: grid; gap: 4px; } .st-o small { color: var(--mute); font-size: 12px; } .st-o select { height: 36px; min-width: 120px; }
.st-drop { border: 2px dashed var(--line); border-radius: 18px; padding: 12px; display: grid; gap: 10px; cursor: pointer; transition: all .25s; background: var(--surface-2); } .st-drop:hover, .st-drop.over { border-color: var(--a1); background: color-mix(in srgb, var(--a1) 8%, var(--surface)); }
.st-dropt { display: grid; justify-items: center; gap: 2px; text-align: center; color: var(--ink-2); padding: 8px; } .st-dropt svg { width: 30px; height: 30px; fill: none; stroke: var(--a1); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; } .st-dropt small { color: var(--mute); } .st-dropt.small { padding: 2px; } .st-dropt.small svg, .st-dropt.small small { display: none; }
.st-thumbs { display: flex; gap: 10px; flex-wrap: wrap; } .st-th { position: relative; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); animation: pop .35s var(--spring) both; } .st-th img { width: 100%; height: 100%; object-fit: cover; }
.st-th em { position: absolute; inset-inline: 0; bottom: 0; font-size: 10.5px; font-style: normal; text-align: center; background: var(--grad); color: #fff; padding: 2px; } .st-th button { position: absolute; inset-block-start: 4px; inset-inline-end: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; padding: 0; } .st-th button svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; }
/* thread */
#st-thread { display: grid; gap: 22px; } .st-entry { display: grid; gap: 12px; animation: rise .45s var(--ease) both; }
.msg-me { display: flex; justify-content: flex-start; } .msg-me .bub { max-width: 85%; padding: 12px 18px; border-radius: 20px; border-end-start-radius: 6px; background: var(--grad2); color: #fff; box-shadow: 0 8px 22px rgba(109,74,255,.28); line-height: 1.6; } .msg-me small { opacity: .85; } .msg-me small svg { width: 14px; height: 14px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.st-prog { padding: 16px 20px; display: grid; gap: 12px; } .st-prog ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.st-prog li { display: flex; gap: 8px; align-items: center; color: var(--mute); font-size: 14px; transition: color .3s; } .st-prog li i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); transition: all .3s; }
.st-prog li.active { color: var(--ink); font-weight: 600; } .st-prog li.active i { border-color: var(--a1); border-top-color: transparent; animation: spin .8s linear infinite; } .st-prog li.done { color: var(--ink-2); } .st-prog li.done i { background: #10b981; border-color: #10b981; box-shadow: inset 0 0 0 3px var(--surface); }
.st-q { display: flex; gap: 8px; flex-wrap: wrap; } .st-q span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); animation: pop .4s var(--spring) both; } .st-q svg { width: 12px; height: 12px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 2; }
.st-warn { margin: 0; font-size: 13px; color: var(--amber-ink); background: var(--amber-soft); border-radius: 12px; padding: 8px 12px; } .st-err { display: flex; gap: 10px; align-items: center; color: var(--red); border-color: var(--red); } .st-err span { flex: 1; }
@keyframes spin { to { transform: rotate(360deg); } } @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
/* research */
.st-res { padding: 0; } .st-res > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 20px; font-weight: 600; } .st-res > summary::-webkit-details-marker { display: none; }
.st-res > summary svg { width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: var(--a1); stroke-width: 2; }
.st-mode { font-size: 12.5px; font-weight: 500; padding: 4px 12px; border-radius: 999px; } .st-mode.web { background: #d1fae5; color: #065f46; } .st-mode.model { background: var(--amber-soft); color: var(--amber-ink); }
[data-theme="dark"] .st-mode.web { background: #064e3b; color: #a7f3d0; }
.st-res-b { padding: 0 20px 18px; display: grid; gap: 8px; font-size: 14px; } .st-res-b h4 { margin: 10px 0 4px; font-size: 13px; color: var(--ink-2); } .st-res-b p { margin: 0; } .st-res-b ul, .st-res-b ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 3px; }
.st-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .kcs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .kcs small { width: 100%; color: var(--mute); margin-top: 4px; }
.kc { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; } .kc.p { background: var(--grad); color: #fff; border: 0; font-weight: 600; } .kc.l { border-style: dashed; }
.srcs li small { color: var(--mute); margin-inline-start: 8px; } .srcs a, .facts a { color: var(--a1); text-decoration: none; } .srcs a:hover { text-decoration: underline; }
/* concept cards */
.st-cons { display: grid; gap: 18px; } .cc { padding: 18px; display: grid; gap: 16px; transition: opacity .3s; } .cc.busy { opacity: .55; pointer-events: none; } .cc:hover { transform: none; }
.cc-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .cc-n { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; } .meta-c { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.cc-g { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: 20px; align-items: start; } .cc-g.one { grid-template-columns: 1fr; }
.cc-vis { display: grid; gap: 12px; } .cc-cv { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 16px 40px rgba(20,10,80,.25); background: var(--surface-2); display: block; }
.dsg { display: grid; gap: 6px; } .dsg small, .vf small, .alt small { color: var(--mute); font-size: 12px; } .dsg-r { display: flex; gap: 6px; flex-wrap: wrap; }
.dsg-r button:not(.dot) { border: 1px solid var(--line); background: var(--surface-2); border-radius: 10px; padding: 4px 11px; font-size: 13px; transition: all .2s; } .dsg-r button[aria-pressed="true"]:not(.dot) { background: var(--grad2); color: #fff; border-color: transparent; }
.dsg-r .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); padding: 0; transition: transform .2s var(--spring); } .dsg-r .dot[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--a1); transform: scale(1.15); }
.dsg-in { display: grid; gap: 6px; } .dsg-in input, .alt input, .vf input, .vf textarea, .ed-cap textarea, .vsc input, .pub-box textarea, .pub-box input[type="datetime-local"], .rf-in input { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); padding: 9px 12px; }
.dsg-in input:focus, .alt input:focus, .vf input:focus, .vf textarea:focus, .ed-cap textarea:focus, .vsc input:focus, .rf-in input:focus { outline: none; border-color: var(--a1); box-shadow: 0 0 0 3px var(--glow); }
.dsg-b { display: flex; gap: 6px; flex-wrap: wrap; } .dsg-b .btn, .vd-btns .btn { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; } .cc .btn svg, .pub-box .btn svg, .st-comp .btn svg { width: 16px; height: 16px; }
.cc-ed { display: grid; gap: 12px; min-width: 0; } .st-plat { width: fit-content; max-width: 100%; flex-wrap: wrap; }
.seo { border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; background: var(--surface-2); display: grid; gap: 8px; } .seo-top { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; } .seo-t { display: grid; flex: 1; min-width: 140px; } .seo-t small { color: var(--mute); }
.grade { display: inline-block; min-width: 24px; text-align: center; padding: 0 7px; border-radius: 8px; background: var(--c); color: #fff; font-size: 13px; margin-inline-start: 6px; }
.seo .ring-t { font-size: 26px; font-weight: 700; fill: currentColor; } .seo-d summary { cursor: pointer; font-size: 13px; color: var(--ink-2); } .seo-d ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.seo-d li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; } .seo-d li i { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; margin-top: 1px; } .seo-d li.ok i { background: #d1fae5; color: #047857; } .seo-d li.no i { background: #fee2e2; color: #b91c1c; } .seo-d small { display: block; color: var(--mute); font-size: 12px; }
.ed-cap textarea { line-height: 1.7; resize: vertical; } .ed-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; } .ed-meta small { color: var(--mute); } .ed-meta .btn { display: inline-flex; gap: 6px; align-items: center; }
.cc .tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } .cc .tags .tag { border: 0; background: color-mix(in srgb, var(--a1) 12%, var(--surface)); color: var(--a1); border-radius: 999px; padding: 3px 10px; font-size: 13px; cursor: pointer; transition: background .2s; } .cc .tags .tag:hover { background: color-mix(in srgb, var(--red) 18%, var(--surface)); color: var(--red); }
.cc .tags .tag-in { width: 90px; border: 1px dashed var(--line); background: transparent; border-radius: 999px; padding: 3px 10px; font-size: 13px; } .cc .btn.big.pub { margin-block-start: 4px; }
.rf { display: grid; gap: 8px; border-top: 1px dashed var(--line); padding-top: 12px; } .rf-chips { display: flex; gap: 6px; flex-wrap: wrap; } .rf-chips button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 3px 11px; font-size: 12.5px; color: var(--ink-2); } .rf-chips button:hover { border-color: var(--a2); color: var(--a2); }
.rf-in { display: flex; gap: 8px; } .rf-in .btn { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
/* video */
.vd-hook { background: var(--grad); color: #fff; border-radius: 18px; padding: 14px 18px; } .vd-hook small { opacity: .8; } .vd-hook p { margin: 4px 0 0; font-size: 20px; font-weight: 700; line-height: 1.5; }
.vd-stage { position: relative; aspect-ratio: 9 / 16; max-height: 560px; margin-inline: auto; width: min(100%, 315px); border-radius: 22px; overflow: hidden; background: #0b0a2a; box-shadow: 0 16px 40px rgba(20,10,80,.3); } .vd-cv, .vd-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0b0a2a; }
.vd-act { display: grid; gap: 8px; } .vd-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; } .vd-prog { display: grid; gap: 6px; justify-items: center; } .vd-prog .bar { width: 100%; height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; } .vd-prog i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s linear; }
.vnote { font-size: 12px; margin: 0; text-align: center; } .vf { display: grid; gap: 5px; } .vf textarea { resize: vertical; line-height: 1.6; }
.vd-scenes { display: grid; gap: 10px; } .vd-scenes h4 { margin: 0; } .vsc { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); } .vsc > div { display: grid; gap: 6px; min-width: 0; }
.vsc-t { display: grid; place-items: center; align-content: center; border-radius: 14px; background: var(--grad2); color: #fff; font-weight: 700; font-size: 18px; } .vsc-t small { font-size: 11px; opacity: .85; } .vsc-v { margin: 0; font-size: 13.5px; color: var(--ink-2); } .vsc-v em { color: var(--mute); font-style: normal; } .vsc label { display: grid; gap: 2px; } .vsc small { color: var(--mute); font-size: 11.5px; }
/* product */
.pr-an { display: grid; gap: 8px; } .pr-an h4, .pr-shots h4 { margin: 0; } .pr-chips, .pr-ang { display: flex; gap: 6px; flex-wrap: wrap; } .pr-ang span { font-size: 12.5px; padding: 3px 10px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-2); } .pr-ang b { color: var(--a1); }
.pr-shots { display: grid; gap: 10px; } .pr-sh-h { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; } .tg { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; cursor: pointer; }
.pr-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; } .pr-gal figure { margin: 0; display: grid; gap: 8px; align-content: start; } .pr-gal canvas, .pr-gal img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 10px 28px rgba(20,10,80,.2); background: var(--surface-2); display: block; }
.pr-gal figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; } .pr-gal figcaption span { display: flex; gap: 8px; align-items: center; } .pr-gal figcaption button { border: 1px solid var(--line); background: var(--surface-2); border-radius: 9px; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; } .pr-gal figcaption svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pr-gal figure.story { grid-row: span 2; } .pr-act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .pr-act .btn.big { flex: 1; margin: 0; min-width: 200px; }
/* history */
.st-hist { position: sticky; inset-block-start: 0; max-height: calc(100dvh - 60px); overflow: auto; padding: 14px; } .st-hist h2 { display: flex; gap: 8px; align-items: center; } .st-hist h2 svg { width: 18px; height: 18px; fill: none; stroke: var(--a1); stroke-width: 2; }
.st-hist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .st-hist li { display: flex; align-items: center; gap: 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); padding: 4px; transition: border-color .2s, transform .2s; } .st-hist li:hover { border-color: var(--a1); transform: translateX(-2px); }
.hi { flex: 1; min-width: 0; border: 0; background: transparent; text-align: start; padding: 6px 8px; display: grid; } .hi b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hi small { color: var(--mute); font-size: 11.5px; }
.hb { min-width: 28px; height: 22px; border-radius: 8px; background: var(--c); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; } .hx { border: 0; background: transparent; width: 28px; height: 28px; border-radius: 8px; color: var(--mute); display: grid; place-items: center; padding: 0; } .hx:hover { background: color-mix(in srgb, var(--red) 15%, transparent); color: var(--red); } .hx svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
/* publish dialog */
.pub-box { width: min(560px, 94vw); max-height: 92dvh; overflow: auto; display: grid; gap: 8px; padding: 20px; } .pub-box header { display: flex; justify-content: space-between; align-items: center; } .pub-box h2 { margin: 0; display: flex; gap: 8px; align-items: center; font-size: 18px; } .pub-box h2 svg { width: 20px; height: 20px; fill: none; stroke: var(--a1); stroke-width: 2; }
.pub-box .plat button[disabled] { opacity: .45; cursor: not-allowed; } .pub-box small.bad { display: block; } .pub-res { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .pub-res li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface-2); border-inline-start: 4px solid var(--red); } .pub-res li.ok { border-color: #10b981; } .pub-res li.wait { border-color: var(--amber); } .pub-res li span { color: var(--ink-2); font-size: 13px; text-align: end; }
.pub-btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; } .pub-btns .btn { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 1180px) { .st-grid { grid-template-columns: 1fr; } .st-hist { position: static; max-height: none; order: 2; } }
@media (max-width: 860px) { .cc-g { grid-template-columns: 1fr; } .st-cols { grid-template-columns: 1fr; } .st-tabs button span { font-size: 13px; } }
@media (max-width: 560px) { .st-tabs button span { display: none; } .st-box { flex-direction: column; align-items: stretch; } .st-send { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .st-entry, .st-th, .st-q span, .st-hero-ic { animation: none !important; } }
/* scheduler list: video / album marks and a video thumbnail */
.post > video { width: 74px; height: 74px; border-radius: 12px; object-fit: cover; background: #000; }
.pp.vid { font-size: 12px; padding: 0 8px; width: auto; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); display: inline-grid; place-items: center; }
.sub-h { margin: 22px 0 4px; font-size: 15px; }

/* ===================== v2 layout: fixed composer, accordion searches ===================== */
.page.studio { display: flex; flex-direction: column; gap: 12px; overflow: hidden; padding-block-end: 14px; }
.page.studio > * { flex: none; }
.page.studio > .st-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 4px 14px; margin-inline: auto; scrollbar-gutter: stable; }
.st-hero { padding: 12px 18px; gap: 10px; border-radius: 20px; } .st-hero h1 { font-size: 19px; } .st-hero p { font-size: 12.5px; margin-top: 2px; } .st-hero-ic { width: 40px; height: 40px; border-radius: 13px; } .st-hero-ic svg { width: 22px; height: 22px; }
.st-tabs button { height: 44px; }
.st-comp { background: var(--surface); position: static; flex: none; padding: 12px 14px; gap: 8px; border-radius: 22px; box-shadow: 0 -10px 30px rgba(20,10,80,.18), var(--shadow); }
.st-comp .st-box textarea { min-height: 46px; padding: 11px 14px; } .st-comp .st-send { height: 46px; }
.st-exs { max-height: 34px; overflow: hidden; } .st-opts { gap: 10px 16px; } .st-o select { height: 34px; }
.st-drop { padding: 8px 10px; } .st-th { width: 64px; height: 64px; border-radius: 12px; } .st-dropt { padding: 2px; } .st-dropt b { font-size: 13px; }
/* accordion */
#st-list { display: grid; gap: 10px; align-content: start; }
.st-empty { display: grid; justify-items: center; gap: 4px; padding: 40px 20px; text-align: center; color: var(--ink-2); } .st-empty span svg { width: 42px; height: 42px; fill: none; stroke: var(--a1); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; } .st-empty b { font-size: 18px; color: var(--ink); } .st-empty p { margin: 0; max-width: 46ch; color: var(--mute); }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: clip; transition: border-color .25s, box-shadow .25s; animation: rise .4s var(--ease) both; }
.acc.open { border-color: color-mix(in srgb, var(--a1) 60%, var(--line)); box-shadow: 0 14px 40px rgba(60,30,160,.2); }
.acc-h { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; user-select: none; transition: background .2s; } .acc-h:hover { background: var(--surface-2); } .acc-h:focus-visible { outline: 2px solid var(--a1); outline-offset: -2px; }
.acc-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad2); flex: none; } .acc-ic svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.acc-t { flex: 1; min-width: 0; display: grid; gap: 1px; } .acc-t b { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .acc-t b small { font-weight: 400; color: var(--mute); } .acc-t > small { color: var(--mute); font-size: 12px; }
.acc-t svg { width: 13px; height: 13px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.acc-run { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--a1); } .acc-run i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--a1); border-top-color: transparent; animation: spin .8s linear infinite; } .acc-bad { color: var(--red); }
.acc-chev svg { width: 20px; height: 20px; fill: none; stroke: var(--mute); stroke-width: 2.2; transition: transform .3s var(--ease); display: block; } .acc.open .acc-chev svg { transform: rotate(180deg); }
.acc-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease); } .acc.open .acc-b { grid-template-rows: 1fr; } .acc-in { min-height: 0; overflow: hidden; padding: 0 16px; } .acc.open .acc-in { padding: 4px 16px 18px; border-top: 1px solid var(--line); }
.acc-in .st-prog { border: 0; background: var(--surface-2); border-radius: 16px; } .acc-in .st-err { border: 1px solid var(--red); border-radius: 14px; padding: 10px 14px; }
.st-res { border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); margin-block: 12px; }
.cc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-block: 4px 12px; } .cc-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface-2); padding: 7px 14px; border-radius: 12px; font-weight: 600; font-size: 13.5px; color: var(--ink-2); transition: all .2s; } .cc-tabs button[aria-selected="true"] { background: var(--grad2); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(109,74,255,.3); }
.cc-tabs .mini, .hb { min-width: 28px; height: 22px; padding: 0 6px; border-radius: 8px; background: var(--c); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.cc { background: transparent; border: 0; box-shadow: none; padding: 0; } .cc[hidden] { display: none; }
/* pictures */
.img-strip { display: grid; gap: 6px; } .img-strip > small { color: var(--mute); font-size: 12px; } .thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.ith { position: relative; flex: none; width: 74px; height: 74px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--surface-2); transition: transform .2s var(--spring), border-color .2s; } .ith img { width: 100%; height: 100%; object-fit: cover; display: block; } .ith:hover { transform: translateY(-2px); } .ith.on { border-color: var(--a1); box-shadow: 0 0 0 3px var(--glow); }
.ith em, .vi em { position: absolute; inset-block-start: 3px; inset-inline-start: 3px; font-size: 10px; font-style: normal; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: var(--grad); color: #fff; }
.img-q { display: flex; gap: 6px; } .img-q input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); padding: 7px 10px; font-size: 13px; } .img-q .btn { display: inline-flex; gap: 5px; align-items: center; }
.img-q svg, .vsc-tools svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
/* video scenes with pictures */
.vsc { display: grid; grid-template-columns: 108px 1fr; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.vsc-img { display: grid; gap: 6px; align-content: start; } .vi { position: relative; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #4f46e5, #c026d3); display: grid; place-items: center; text-align: center; color: #fff; font-size: 11px; padding: 6px; } .vi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vi-b { display: flex; justify-content: space-between; align-items: center; } .vi-b button { width: 28px; height: 26px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 0; font-size: 16px; line-height: 1; } .vi-b small { color: var(--mute); font-size: 11.5px; }
.vsc-main { display: grid; gap: 6px; min-width: 0; } .vsc-t { font-weight: 700; color: var(--a1); font-size: 13px; } .vsc-v { margin: 0; font-size: 13px; color: var(--ink-2); }
.vsc label { display: grid; gap: 2px; } .vsc small { color: var(--mute); font-size: 11.5px; } .vsc input { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 7px 10px; }
.vsc-tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } .vsc-tools input { flex: 1; min-width: 120px; font-size: 12.5px; } .vsc-tools .btn { display: inline-flex; align-items: center; justify-content: center; padding-inline: 10px; cursor: pointer; }
.vd-hook .vd-meta { display: flex; gap: 6px; margin-top: 8px; } .vd-hook .meta-c { background: rgba(255,255,255,.2); color: #fff; }
/* product AI shots */
.pr-gal.ais { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } .pr-gal.ais img { aspect-ratio: 1; object-fit: cover; }
.pr-ctl { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; } .pr-ctl > small { color: var(--mute); }
@media (max-width: 860px) { .vsc { grid-template-columns: 84px 1fr; } .st-hero p { display: none; } .st-exs { display: none; } }
@media (max-width: 560px) { .acc-h { padding: 10px 12px; } .acc-st .acc-run { font-size: 0; gap: 0; } }
.vsc .vsc-t { display: inline; place-items: initial; background: none; border-radius: 0; font-size: 13px; color: var(--a1); }
