.chat-studio{box-shadow:0 14px 35px #1b304510}
.chat-head{padding:18px 23px 10px}
.chat-head h2{font-size:24px}
.chat-main{padding:14px 23px 16px}
.chat-thread{height:auto;min-height:55px;max-height:180px;padding:0 2px 11px}
.chat-form textarea{min-height:65px;padding-top:10px;padding-bottom:8px}
.chat-suggestions{margin-top:10px}
#chat-references{padding:10px 12px}
#chat-references .reference-list{margin-top:4px}
.chat-review{margin-bottom:16px}
.creator-template-section{max-width:1120px;margin:25px 0 36px;padding:32px;background:radial-gradient(circle at 95% 0,#26394a 0,transparent 37%),#101820;border:1px solid #263442;border-radius:22px;color:#f6f8f8}
.creator-template-head{display:flex;align-items:end;justify-content:space-between;gap:24px}
.creator-template-head .eyebrow{color:#eeaa82}
.creator-template-head h2{font:800 clamp(25px,2.6vw,36px)/1.12 Manrope,sans-serif;letter-spacing:-.045em;margin:10px 0}
.creator-template-head p{max-width:550px;color:#aebcc5;font-size:13px;line-height:1.6;margin:0}
.creator-template-filters{display:flex;gap:6px;flex:none;padding:4px;background:#ffffff12;border:1px solid #ffffff16;border-radius:999px}
.creator-template-filters button{border:0;border-radius:999px;background:transparent;color:#acbac3;padding:9px 13px;font:700 11px Manrope,sans-serif}
.creator-template-filters button[aria-pressed="true"]{background:#ee9c70;color:#162027}
.creator-template-filters button:focus-visible,.creator-template-use:focus-visible{outline:2px solid #ffbf99;outline-offset:3px}
.creator-template-note{font-size:11px;color:#8295a1;margin:13px 0 24px}
.creator-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.creator-template-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#1a2630;border:1px solid #ffffff1f;border-radius:16px;transition:transform .2s,border-color .2s}
.creator-template-card:hover{transform:translateY(-3px);border-color:#e99d73aa}
.creator-template-card[hidden]{display:none}
.creator-template-visual{height:180px;position:relative;overflow:hidden;background:#2b343b}
.creator-template-visual img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.creator-template-card:hover img{transform:scale(1.04)}
.creator-template-visual.commercial-ad-visual{height:auto;aspect-ratio:4/5;background:#101820}
.commercial-ad-visual img,.commercial-ad-visual video{width:100%;height:100%;object-fit:contain}
.creator-template-card:hover .commercial-ad-visual img{transform:none}
.commercial-ad-visual .creator-template-badge{display:none}
.creator-template-badge{position:absolute;top:12px;left:12px;padding:7px 9px;border-radius:7px;background:#0e1820d9;color:#fff;font:800 10px Manrope,sans-serif;letter-spacing:.07em;backdrop-filter:blur(8px)}
.creator-template-body{display:flex;flex-direction:column;align-items:start;flex:1;padding:19px}
.creator-template-category{color:#edaa82;text-transform:uppercase;letter-spacing:.13em;font:800 10px Manrope,sans-serif}
.creator-template-body h3{font:800 18px Manrope,sans-serif;letter-spacing:-.02em;margin:7px 0 17px;color:#fff}
.creator-template-prompt-label{font:800 9px Manrope,sans-serif;letter-spacing:.14em;color:#8fa5b2}
.creator-template-prompt{font-size:12px;line-height:1.58;color:#c5d0d6;margin:8px 0 20px;overflow-wrap:anywhere}
.creator-template-use{margin-top:auto;border:1px solid #ed9c73a8;border-radius:9px;background:#ec986e;color:#172128;padding:10px 13px;font:800 11px Manrope,sans-serif}
.creator-template-use:hover{background:#ffc09b}
@media(max-width:1050px){.creator-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.chat-head{padding:18px 16px 10px}.chat-main{padding:12px 16px}.chat-thread{height:auto;min-height:70px;max-height:180px}.creator-template-section{margin:20px 0 28px;padding:20px 15px;border-radius:16px}.creator-template-head{display:block}.creator-template-filters{display:inline-flex;margin-top:18px}.creator-template-grid{grid-template-columns:1fr}.creator-template-visual{height:210px}.creator-template-body{padding:17px}}
.sme-template-tools{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:12px;margin-top:20px}
.sme-template-tools label{display:grid;gap:7px;font-size:12px;font-weight:600;color:inherit}
.sme-template-tools select,.sme-template-tools input{width:100%;min-width:0;box-sizing:border-box;border:1px solid #445363;border-radius:8px;padding:10px;background:#17212d;color:#eff4fa;font:inherit;font-size:13px}
.sme-template-tools input::placeholder{color:#aebdd0;opacity:1}
.sme-template-purpose{font-size:12px;color:inherit;opacity:.8;margin:0 0 12px}
.sme-template-prompt{font-size:12px;line-height:1.7;margin-bottom:14px}
.sme-template-prompt summary{cursor:pointer;font-weight:600}
.sme-template-prompt p{white-space:pre-wrap;color:inherit;overflow-wrap:anywhere}
.sme-template-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}
.sme-template-actions button{width:auto;margin:0;padding:8px 10px;font-size:12px}
.sme-template-library .creator-template-body{display:flex;flex-direction:column;flex:1}
#template-count,#template-copy-status{font-size:12px;line-height:1.6}
#template-more{margin-top:20px;width:auto}
#template-more[hidden],#template-empty[hidden]{display:none}
.sme-public-main{max-width:1240px;margin:0 auto;padding:40px 24px}
.sme-public-main .creator-template-section{max-width:none;margin:0}
:root[data-theme=light] .sme-template-library{background:#fff;color:#253951;border-color:#dce5ee}
:root[data-theme=light] .sme-template-library .creator-template-card{background:#f8fafc;border-color:#dce5ee}
:root[data-theme=light] .sme-template-tools select,:root[data-theme=light] .sme-template-tools input{background:#fff;color:#253951;border-color:#cbd5e1}
:root[data-theme=light] .sme-template-tools input::placeholder{color:#64748b}
:root[data-theme=light] .sme-template-library .creator-template-head p,:root[data-theme=light] .sme-template-library .creator-template-note{color:#52677f}
:root[data-theme=light] .sme-template-library .creator-template-filters{background:#f1f5f9;border-color:#dce5ee}
:root[data-theme=light] .sme-template-library .creator-template-filters button{color:#253951}
@media(max-width:700px){.sme-template-tools{grid-template-columns:1fr 1fr}.sme-template-tools label:last-child{grid-column:1/-1}.sme-public-main{padding:20px 12px}.sme-template-library .creator-template-head{display:block}.sme-template-library{padding:18px}}
:root[data-theme=light] .sme-template-library .creator-template-body h3{color:#253951}
.sme-template-tools select{color-scheme:dark}
:root[data-theme=light] .sme-template-tools select{color-scheme:light}
.sme-template-sources{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.sme-template-sources button{border:1px solid #465663;background:transparent;color:inherit;border-radius:9px;padding:10px 14px;font-size:13px;font-weight:600}
.sme-template-sources button[aria-pressed=true]{background:#ed9b73;color:#15202a;border-color:#ed9b73}
.creator-template-filters[hidden],.sme-template-tools label[hidden]{display:none}
.sme-template-tools:has(label[hidden]){grid-template-columns:1fr 1.5fr}
.sme-template-tools:has(label[hidden]) label:last-child{grid-column:auto}
.showcase-video-visual{height:auto;aspect-ratio:16/10}
.showcase-video-visual video{display:block;width:100%;height:100%;object-fit:contain;background:#050a0e}
.sme-showcase-meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.sme-showcase-meta span{background:#30404a;color:#e1e9ec;border-radius:6px;padding:5px 8px;font-size:11px;line-height:1.4}
.sme-template-library .sme-template-prompt{width:100%;border-top:1px solid #ffffff26;padding-top:13px}
.sme-template-library .sme-template-prompt summary{color:#f1b995}
:root[data-theme=light] .sme-showcase-meta span{background:#e4ebf2;color:#253951}
:root[data-theme=light] .sme-template-library .sme-template-prompt{border-color:#dce5ee}
:root[data-theme=light] .sme-template-library .sme-template-prompt summary{color:#9f4b24}
@media(max-width:700px){.sme-template-tools:has(label[hidden]){grid-template-columns:1fr}.showcase-video-visual{aspect-ratio:16/9}}
.sme-template-library .creator-template-head h2{font-size:clamp(30px,4vw,52px);letter-spacing:-.05em}
#template-group-heading{font-size:clamp(24px,3vw,34px);letter-spacing:-.04em;margin:28px 0 8px}
