@charset "UTF-8";
:root{--paper:#f5f6fa;--white:#fff;--ink:#25263d;--muted:#777b91;--line:#e6e7ef;--violet:#6b50df;--violet-dark:#5138bc;--lavender:#eeebfb;--teal:#287e7c;--mint:#dff2ed;--peach:#fff0e3;--red:#b7484e;--radius:18px;--shadow:0 16px 55px #25263d16;font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.55}button{border:0;background:transparent}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;flex-shrink:0}button svg{pointer-events:none}input,textarea,select{width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);padding:12px 13px;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--violet);box-shadow:0 0 0 3px #6b50df13}textarea{resize:vertical;min-height:100px;line-height:1.6}label{display:block;font-size:13px;font-weight:600;line-height:1.5}label input,label select,label textarea{margin-top:7px;font-weight:400}input[type=checkbox]{width:17px;height:17px;accent-color:var(--violet);flex-shrink:0;margin:2px 0}input[type=file]{padding:8px;font-size:12px}button:focus-visible,a:focus-visible{outline:3px solid var(--violet);outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2{font-family:"Trebuchet MS","Segoe UI",sans-serif}h1{font-size:36px;line-height:1.23;letter-spacing:-1.4px;font-weight:700}h2{font-size:25px;line-height:1.35;letter-spacing:-.6px}h3{font-size:15px;line-height:1.5}p{line-height:1.65}small{font-size:12px}::selection{background:#dcd3ff}[hidden]{display:none!important}.skip{position:fixed;top:-100px;left:20px;background:white;z-index:99;padding:15px}.skip:focus{top:10px}.sidebar{width:228px;background:var(--white);border-right:1px solid var(--line);height:100dvh;position:fixed;inset:0 auto 0 0;padding:34px 20px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:11px;padding:0 12px 39px;font-size:31px;font-weight:800;letter-spacing:-1px}.brand-icon{width:43px;height:43px;border-radius:14px;background:var(--violet);color:white;font-size:29px;text-align:center;position:relative;line-height:40px}.brand-icon span{position:absolute;color:#bdf1e8;font-size:19px;right:2px;top:-7px}.brand-caption{display:block;font-size:8px;letter-spacing:3.6px;line-height:1.1;margin-left:2px;color:var(--muted)}.nav-caption{font-size:9px;color:#a0a2b3;letter-spacing:1.3px;font-weight:700;padding:0 12px 12px}nav{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;text-align:left;padding:13px 14px;color:#777b8d;font-size:13px;font-weight:600;border-radius:11px;transition:background .18s,color .18s}.nav-item:hover{background:var(--paper);color:var(--ink)}.nav-item.active{background:var(--lavender);color:var(--violet)}.nav-item.active svg{stroke-width:2}.nav-separator{border-top:1px solid var(--line);margin:15px 10px 8px}.sidebar-note{margin-top:auto;margin-bottom:28px;padding:20px 17px;background:#f7f6fc;border:1px solid #eeebf7;border-radius:16px}.sidebar-note strong{font-size:15px;line-height:1.45;display:block;margin-top:8px}.sidebar-note p{color:var(--muted);font-size:11px;margin:9px 0 17px}.orbit{font-size:25px;color:var(--violet)}.sidebar-note .secondary{font-size:11px;padding:9px 11px;width:100%;justify-content:space-between}.sidebar-bottom{display:flex;align-items:center;gap:7px;padding:0 8px;font-size:10px;color:var(--muted)}.status-dot{width:6px;height:6px;border-radius:50%;background:#c5c8d3}.status-dot.on{background:#38a684;box-shadow:0 0 0 3px #38a68415}.shell{margin-left:228px}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid var(--line);background:#ffffffcc}.topbar>div{display:flex;align-items:center}.breadcrumb,.slash{font-size:12px;color:var(--muted)}.slash{margin:0 15px;color:#c8cad5}.topbar strong{font-size:12px;font-weight:600}.top-actions{gap:20px}.icon-button{width:33px;height:33px;display:inline-grid;place-items:center;border-radius:9px;font-size:24px;position:relative}.icon-button:hover{background:var(--lavender)}.account-button{display:flex;align-items:center;gap:12px;font-size:12px}.avatar{background:#e9e5f7;color:var(--violet);height:33px;width:33px;border-radius:50%;display:grid;place-items:center;font-weight:700}.notification-dot{width:6px;height:6px;border-radius:50%;background:var(--violet);position:absolute;top:4px;right:4px}main{max-width:1600px;margin:0 auto;padding:34px 40px;min-height:calc(100dvh - 142px);outline:none}footer{padding:12px 40px 25px;color:#a2a4b4;font-size:10px;display:flex;gap:16px;align-items:center}footer>button{margin-left:auto}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:var(--violet);margin-bottom:11px}.muted{color:var(--muted);font-size:13px}.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:30px;align-items:center;padding:4px 0 29px}.hero h1 em{font-style:normal;color:var(--violet)}.hero p:not(.eyebrow){max-width:420px;margin-top:13px;font-size:13px;color:var(--muted)}.hero-note{justify-self:end;max-width:352px;border-radius:16px;background:linear-gradient(120deg,#e8e8fc,#e2f2f1);padding:22px 24px;position:relative;overflow:hidden;display:flex;gap:16px;align-items:center}.hero-note .note-icon{font-size:34px;color:var(--violet);line-height:1}.hero-note h3{font-size:14px}.hero-note p{font-size:11px!important;margin-top:5px!important;max-width:215px!important;color:#7a8196!important}.hero-note .text-button{margin-top:10px;font-size:11px;color:var(--violet);padding:0}.catalog-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:22px;flex-wrap:wrap}.catalog-tabs{display:flex;border-bottom:1px solid var(--line);gap:25px;align-items:center}.catalog-tab{font-size:13px;font-weight:600;color:var(--muted);padding:13px 0 14px;border-bottom:2px solid transparent;display:flex;gap:8px;align-items:center}.catalog-tab.active{color:var(--violet);border-color:var(--violet)}.pill{display:inline-block;border-radius:5px;background:var(--lavender);color:var(--violet);font-size:10px;padding:2px 6px;line-height:1.5}.search{max-width:240px;position:relative}.search input{padding-left:37px;background:white;border-radius:10px;font-size:12px}.search svg{position:absolute;left:12px;top:13px;width:15px;height:15px;color:var(--muted)}.filter-row{display:flex;gap:8px;align-items:center;margin-bottom:23px;flex-wrap:wrap}.chip{border:1px solid var(--line);border-radius:7px;padding:7px 13px;font-size:11px;background:#fff;color:var(--muted)}.chip:hover{border-color:#b8aedf}.chip.active{background:var(--ink);border-color:var(--ink);color:#fff}.filter-info{margin-left:auto;font-size:10px;color:var(--muted)}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 20px}.card{min-width:0}.card-media{position:relative;aspect-ratio:4/4.5;border-radius:15px;overflow:hidden;background:#e7e8f0;isolation:isolate}.card-media video,.card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.card:hover .card-media>img{transform:scale(1.025)}.card-shade{position:absolute;inset:50% 0 0;pointer-events:none;background:linear-gradient(transparent,#161729a6)}.video-preview{position:absolute;inset:0;z-index:1;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.play-circle{border:1px solid #ffffff99;background:#ffffff24;backdrop-filter:blur(9px);color:white;display:grid;place-items:center;border-radius:50%;width:46px;height:46px;padding-left:3px;font-size:15px;transition:transform .2s}.video-preview:hover .play-circle{transform:scale(1.1);background:#ffffff44}.card-top{position:absolute;top:12px;left:12px;right:12px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.badge{border-radius:6px;background:#fffef9ef;color:#48495f;font-size:9px;padding:5px 8px;backdrop-filter:blur(10px);font-weight:600}.badge.viral{background:#fff0dc;color:#94620d}.badge.time{color:white;background:#22233366;font-weight:400}.card-stats{position:absolute;bottom:15px;left:15px;right:15px;display:flex;align-items:center;gap:13px;color:#fff;font-size:11px;pointer-events:none}.card-stats span{display:inline-flex;gap:5px;align-items:center}.card-stats svg{width:14px;height:14px}.card-stats .source-label{margin-left:auto;font-size:9px;color:#ffffffbd}.card-body{padding:13px 1px 0}.card-category{font-size:9px;color:var(--muted);margin-bottom:3px}.card-body h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-bottom{display:flex;align-items:center;gap:8px;justify-content:space-between;margin-top:10px}.card-description{font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.clone-button{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:600;padding:7px 10px;border-radius:8px;background:var(--lavender);color:var(--violet);flex-shrink:0}.clone-button:hover{background:#e2dbfb}.clone-button svg{width:13px;height:13px}.catalog-bottom{margin-top:30px;text-align:center;font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding:19px 0 0}.empty{padding:50px 25px;text-align:center;background:white;border:1px dashed #d6d7e3;border-radius:18px;grid-column:1/-1}.empty svg{width:34px;height:34px;color:#a096c7;margin-bottom:12px}.empty h3{margin-bottom:8px}.empty p{max-width:410px;margin:0 auto 15px;color:var(--muted);font-size:12px}.primary,.secondary{border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:600;font-size:12px;padding:12px 18px}.primary{background:var(--violet);color:white}.primary:hover{background:var(--violet-dark)}.secondary{background:white;border:1px solid var(--line)}.secondary:hover{background:var(--paper)}.primary svg,.secondary svg{width:16px;height:16px}.text-button{font-size:11px;color:var(--muted);padding:6px 0}.text-button:hover{color:var(--violet)}.wide{width:100%}.page-heading{display:flex;align-items:center;justify-content:space-between;margin:5px 0 25px;gap:15px}.page-heading h1{font-size:30px}.page-heading p{margin-top:9px}.studio-layout{display:grid;grid-template-columns:minmax(350px,540px) minmax(200px,1fr);gap:28px;align-items:start}.editor{background:white;border:1px solid var(--line);border-radius:18px;padding:27px}.editor h2{font-size:21px;margin:6px 0}.editor>p{font-size:12px;color:var(--muted)}.editor .form{margin-top:24px}.form{display:flex;flex-direction:column;gap:18px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fields.three{grid-template-columns:1fr 1fr 1fr}.helper{font-size:10px;color:var(--muted);font-weight:400;line-height:1.5;display:block;margin-top:6px}.checkbox{display:flex;gap:9px;align-items:start;font-size:11px;color:var(--muted);font-weight:400}.upload-zone{border:1px dashed #cfc6e9;border-radius:13px;background:#fbfaff;display:flex;align-items:center;justify-content:space-between;padding:15px;gap:12px}.upload-zone>div{min-width:0}.upload-zone strong{font-size:12px;display:block}.upload-zone p{font-size:10px;color:var(--muted);margin-top:4px}.upload-trigger{background:white;border:1px solid var(--line);border-radius:8px;padding:7px 10px;font-size:10px;flex-shrink:0}.reference-list{display:flex;flex-direction:column;gap:10px}.reference{display:flex;align-items:center;gap:10px;padding:8px;background:var(--paper);border-radius:9px}.reference img{width:40px;height:40px;object-fit:cover;border-radius:7px}.reference select{padding:6px;font-size:11px}.reference .icon-button{font-size:17px;flex-shrink:0}.submit-note{text-align:center;font-size:10px;color:var(--muted);margin-top:-9px}.form-error{font-size:12px;color:var(--red);line-height:1.55}.inspiration{border-radius:17px;background:#eae7f6;padding:28px;position:sticky;top:20px}.inspiration h3{font-size:19px;max-width:230px;margin-bottom:13px}.inspiration>p{font-size:12px;color:var(--muted)}.workflow-step{display:flex;gap:12px;align-items:flex-start;margin-top:25px}.step-number{width:24px;height:24px;border-radius:8px;background:white;color:var(--violet);display:grid;place-items:center;font-size:10px;font-weight:700;flex-shrink:0}.workflow-step strong{display:block;font-size:12px;margin:2px 0 4px}.workflow-step p{font-size:11px;color:var(--muted)}.mini-strip{display:flex;gap:9px;margin-top:25px}.mini-strip img{width:calc((100% - 18px)/3);height:105px;object-fit:cover;border-radius:10px}.job-list{display:flex;flex-direction:column;gap:16px}.job{border:1px solid var(--line);border-radius:15px;padding:20px;background:white}.job-top{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.job-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--lavender);color:var(--violet);flex-shrink:0}.job-heading{display:flex;gap:13px;min-width:0}.job-heading>div{min-width:0}.job h3{font-size:13px;overflow-wrap:anywhere}.job-id{font-size:9px;color:var(--muted);margin-top:5px;font-family:Consolas,monospace}.job-status{border-radius:6px;background:#eff0f7;color:var(--muted);padding:5px 9px;font-size:10px;white-space:nowrap}.job-status.completed{background:var(--mint);color:var(--teal)}.job-status.failed,.job-status.rejected_policy{background:#fceded;color:var(--red)}.job-status.pending_reconcile,.job-status.needs_attention{background:var(--peach);color:#9b6a30}.job-message{font-size:12px;color:var(--muted);margin-top:15px}.job progress{width:100%;height:4px;appearance:none;border:0;display:block;margin:14px 0 8px}.job progress::-webkit-progress-bar{background:#f0edf8;border-radius:5px}.job progress::-webkit-progress-value{background:var(--violet);border-radius:5px}.job-actions{display:flex;align-items:center;gap:12px;margin-top:14px;flex-wrap:wrap}.job-output{display:flex;gap:12px;overflow:auto;margin-top:16px}.output{width:180px;flex-shrink:0}.output video,.output img{width:100%;height:160px;background:#efeff5;object-fit:contain;border-radius:9px;display:block}.output a{margin-top:7px;font-size:10px;color:var(--violet);display:inline-flex}.script-plan{margin-top:18px;border-top:1px solid var(--line);padding-top:15px}.script-plan summary{cursor:pointer;font-size:12px;color:var(--violet);font-weight:600}.scene{padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.scene p{color:var(--muted);margin-top:6px;font-size:11px;white-space:pre-wrap}.scene strong{font-size:12px}.admin-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px}.admin-layout .editor{min-width:0}.probe-result{font-size:12px;background:var(--paper);padding:12px;border-radius:10px}.table-wrap{overflow:auto;margin-top:15px}table{border-collapse:collapse;min-width:500px;width:100%;font-size:11px;text-align:left}th,td{padding:10px;border-bottom:1px solid var(--line);max-width:250px;overflow-wrap:anywhere}th{color:var(--muted);font-weight:500}.section-gap{margin-top:25px}dialog{border:0;padding:0;border-radius:22px;box-shadow:var(--shadow);color:var(--ink);max-height:92dvh;width:min(540px,calc(100vw - 30px));background:white}dialog::backdrop{background:#1d1e374f;backdrop-filter:blur(5px)}dialog .close{position:absolute;top:14px;right:14px;z-index:2}.composer-dialog .editor{border:0;padding:29px}.composer-dialog .form{margin-top:22px}.selected-template{display:flex;align-items:center;gap:13px;padding:11px;background:var(--paper);border-radius:12px;margin-top:20px}.selected-template img{height:60px;width:47px;object-fit:cover;border-radius:7px}.selected-template strong{font-size:12px}.selected-template p{font-size:10px;color:var(--muted);margin-top:4px}.preview-dialog{width:min(920px,calc(100vw - 30px));background:#161729}.preview-dialog .close{background:#ffffffcc}.preview-dialog video{width:100%;max-height:70dvh;display:block;background:#111}.preview-dialog iframe{width:100%;aspect-ratio:16/9;border:0;display:block}.preview-description{padding:20px 25px;background:white}.preview-description h2{font-size:21px}.preview-description p{font-size:12px;color:var(--muted);margin:8px 0 13px}.preview-description .preview-buttons{display:flex;gap:12px;align-items:center}.preview-unavailable{padding:70px 30px;color:white;text-align:center;font-size:13px}.auth-dialog,.notice-dialog{padding:36px;width:min(430px,calc(100vw - 30px))}.auth-mark{color:var(--violet);font-size:40px;font-weight:800;letter-spacing:-3px;margin-bottom:22px}.auth-dialog h2{font-size:26px;margin-bottom:10px}.auth-dialog .eyebrow{font-size:9px}.auth-dialog form{display:flex;flex-direction:column;gap:17px;margin-top:25px}.auth-dialog>.text-button{margin-top:15px;font-size:12px;color:var(--violet)}.notice-dialog h2{margin-bottom:20px;font-size:23px}.notice-dialog p{font-size:12px;color:var(--muted);margin:12px 0}.notice-item{padding:13px 0;border-bottom:1px solid var(--line)}.notice-item strong{font-size:11px}.notice-item p{margin:5px 0;font-size:11px}.notice-item time{font-size:10px;color:var(--muted)}.toast{position:fixed;bottom:26px;left:calc(50% + 100px);transform:translateX(-50%);background:var(--ink);color:#fff;padding:14px 21px;border-radius:12px;font-size:12px;box-shadow:var(--shadow);z-index:100;max-width:min(520px,calc(100vw - 30px));line-height:1.55}.loading{padding:70px;text-align:center;color:var(--muted);font-size:13px}.form-inline{display:flex;gap:10px}.form-inline input{flex:1}.source-fallback{height:100%;background:linear-gradient(135deg,#d8d2f3,#d5e9e9);display:flex;align-items:center;justify-content:center;color:#8173ac;font-size:58px}.video-grid-caption{font-size:10px;color:var(--muted);margin-top:8px}.section-label{margin:0 0 15px;font-size:13px}.warn-banner{padding:13px 17px;background:var(--peach);border:1px solid #f2d9c3;border-radius:11px;font-size:11px;color:#90683c;margin-bottom:20px;line-height:1.65}
@media(min-width:1480px){.gallery{grid-template-columns:repeat(4,minmax(0,1fr))}.card-media{aspect-ratio:4/5}.hero{padding-bottom:38px}.hero h1{font-size:42px}}
@media(max-width:1120px){.sidebar{width:196px;padding:28px 13px 18px}.brand{padding-bottom:30px}.shell{margin-left:196px}.topbar{padding:0 26px}main{padding:28px 26px}.hero{grid-template-columns:1.1fr .9fr;gap:20px}.hero-note{padding:18px;gap:10px}.hero h1{font-size:31px}.hero-note .note-icon{display:none}.gallery{gap:24px 14px}.card-stats{left:10px;right:10px;font-size:10px}.card-stats .source-label{display:none}.card-description{display:none}.card-bottom{justify-content:flex-start}.studio-layout{grid-template-columns:1.25fr 1fr;gap:20px}.editor,.inspiration{padding:22px}.admin-layout{grid-template-columns:1fr}}
@media(max-width:820px){.sidebar{width:76px;padding:22px 11px}.brand{padding:0 4px 29px}.brand>span:last-child,.nav-caption,.nav-item>span,.sidebar-note,.sidebar-bottom{display:none}.nav-item{justify-content:center;padding:14px}.nav-item svg{width:20px;height:20px}.shell{margin-left:76px}.topbar{height:68px;padding:0 22px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.hero{grid-template-columns:1fr}.hero-note{display:none}.hero h1{font-size:33px}.hero p:not(.eyebrow){max-width:480px}.studio-layout{grid-template-columns:1fr}.inspiration{position:static}.inspiration .mini-strip{display:none}.inspiration h3{max-width:none}.workflow-step{display:inline-flex;vertical-align:top;max-width:31%;margin-right:2%;gap:8px}.workflow-step p{font-size:10px}.hero{padding-bottom:25px}.toast{left:calc(50% + 35px)}footer{padding:10px 25px 20px}.search{max-width:180px}.catalog-tabs{gap:18px}}
@media(max-width:560px){.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;height:65px;width:100%;padding:7px 4px;background:#fffffffa;border:0;border-top:1px solid var(--line)}.sidebar>.brand{display:none}nav{flex-direction:row;gap:0;justify-content:space-around}.nav-item{padding:6px 7px;flex-direction:column;gap:3px;border-radius:8px;min-width:45px}.nav-item>span{display:block;font-size:8px;white-space:nowrap}.nav-item svg{width:18px;height:18px}.nav-separator{display:none}.nav-item.admin-nav{display:none}.shell{margin-left:0;padding-bottom:66px}.topbar{height:61px;padding:0 18px}.topbar .breadcrumb{display:none}.topbar .slash{display:none}.top-actions{gap:12px}.account-button{font-size:10px;gap:7px}.avatar{width:29px;height:29px}.topbar strong{font-size:11px}main{padding:25px 18px;min-height:calc(100dvh - 182px)}.hero h1{font-size:32px}.hero p:not(.eyebrow){font-size:12px}.eyebrow{font-size:9px}.catalog-toolbar{gap:15px;margin-bottom:16px}.catalog-tabs{gap:23px;width:100%}.catalog-tab{font-size:12px;padding:9px 0 11px}.search{max-width:100%;width:100%}.search input{padding:10px 10px 10px 34px;font-size:11px}.search svg{top:11px}.filter-row{margin-bottom:19px;gap:6px}.chip{font-size:10px;padding:6px 9px}.filter-info{display:none}.gallery{gap:23px 12px}.card-media{border-radius:11px;aspect-ratio:3/4}.card-top{left:8px;right:8px;top:8px}.badge{font-size:8px;padding:4px 6px}.badge.time{display:none}.card-stats{bottom:10px;gap:8px;font-size:9px}.card-stats svg{width:11px;height:11px}.card-body h3{font-size:12px}.card-category{font-size:8px}.card-body{padding-top:10px}.card-bottom{margin-top:8px}.clone-button{font-size:10px;padding:6px 9px}.card-description{display:none}.play-circle{width:36px;height:36px;font-size:12px}.catalog-bottom{font-size:10px}.page-heading{margin-top:0;align-items:flex-start}.page-heading h1{font-size:27px}.page-heading p{font-size:12px}.page-heading .secondary{padding:9px 11px;font-size:10px}.editor,.inspiration{padding:20px}.editor h2{font-size:20px}.fields.three{grid-template-columns:1fr 1fr}.fields.three>label:last-child{grid-column:1/-1}.workflow-step{display:flex;max-width:none;margin-top:20px}.workflow-step p{font-size:11px}.form{gap:17px}.job{padding:16px}.job-top{gap:7px}.job-status{font-size:9px}.job-icon{width:29px;height:29px;border-radius:8px}.job-icon svg{width:16px;height:16px}.job-heading{gap:8px}.job h3{font-size:12px}.job-id{font-size:8px}.job-message{font-size:11px}.toast{left:50%;bottom:81px;max-width:calc(100vw - 30px);width:max-content}.auth-dialog,.notice-dialog{padding:28px 24px}.composer-dialog .editor{padding:24px 20px}footer{padding:5px 18px 15px;font-size:9px;gap:10px}footer>span{display:none}.preview-description{padding:18px}.preview-description h2{font-size:18px}.output{width:155px}.job-actions{gap:8px}.hero .eyebrow{margin-bottom:10px}}
.library-hero{grid-template-columns:minmax(240px,.85fr) minmax(400px,1.15fr);gap:28px;padding-bottom:32px}.library-hero h1{font-size:32px}.library-hero>div>.secondary{margin-top:20px;font-size:12px}.result-feature{display:grid;grid-template-columns:154px minmax(0,1fr);border:1px solid #e1ddec;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 7px 24px #25263d07;min-height:267px}.result-cover{padding:0;position:relative;background:#292b29;min-height:267px}.result-cover>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.result-cover>.play-circle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.feature-duration{position:absolute;bottom:13px;left:11px;color:#fff;background:#161729a8;padding:5px 8px;border-radius:6px;font-size:9px}.result-copy{padding:23px 21px}.result-copy h2{font-size:27px;line-height:1.18;letter-spacing:-.8px;color:var(--violet-dark)}.result-copy .eyebrow{font-size:9px;margin:0 0 11px}.result-copy p.result-window{font-size:16px;color:var(--ink);margin:3px 0 10px}.result-copy p.result-channel{font-size:12px;font-weight:600;color:var(--ink);margin:0}.result-copy p.proof-attribution{font-size:9px;color:var(--muted);margin:2px 0 15px}.result-copy .primary{font-size:11px;padding:10px 12px;white-space:normal;text-align:left}.proof-link{font-size:11px;display:block;color:var(--violet-dark);margin-top:12px;text-decoration:underline;text-underline-offset:3px}.catalog-tabs{gap:20px;max-width:100%;overflow-x:auto}.catalog-tab{flex-shrink:0}.library-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:16px}.library-controls label{font-size:10px;color:var(--muted);min-width:135px}.library-controls label:first-child{width:260px;max-width:100%}.library-controls select{padding:9px 11px;font-size:11px;color:var(--ink);margin-top:5px}.library-controls .text-button{font-size:11px;color:var(--violet);padding:10px 3px;margin-left:auto}.library-summary{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin:0 0 18px}.library-summary>span{color:var(--muted)}.filter-row{gap:7px;margin-bottom:18px}.chip>span{font-size:9px;margin-left:3px;opacity:.65}.gallery-pagination{text-align:center;margin:28px 0 0}.badge.proven{background:#e3f2e7;color:#246542}.model-demo{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;padding:12px;background:#f6f5fb;border:1px solid var(--line);border-radius:12px;align-items:center}.model-demo:empty{display:none}.model-demo video{width:112px;height:176px;object-fit:contain;background:#1d1e28;border-radius:8px}.model-demo .eyebrow{font-size:8px;margin-bottom:8px}.model-demo strong{font-size:12px;line-height:1.5;display:block}.model-demo p:not(.eyebrow){font-size:10px;color:var(--muted);margin-top:7px}.model-demo p.demo-proof{color:var(--violet-dark);font-weight:600}.model-demo small{display:block;font-size:9px;color:var(--muted);margin-top:7px}.model-demo .proof-link{font-size:10px;margin-top:6px}.preview-buttons{flex-wrap:wrap}
@media(min-width:1480px){.library-hero h1{font-size:37px}.result-feature{grid-template-columns:170px minmax(0,1fr)}}
@media(max-width:1120px){.library-hero{grid-template-columns:1fr;gap:22px}.library-hero>div{max-width:none}.library-hero h1{font-size:31px}.result-feature{grid-template-columns:150px minmax(0,1fr);max-width:640px}.result-copy{padding:22px 25px}.library-controls label:first-child{width:230px}}
@media(max-width:560px){.library-hero{gap:21px}.library-hero h1{font-size:29px}.result-feature{grid-template-columns:116px minmax(0,1fr);border-radius:14px;min-height:242px}.result-cover{min-height:242px}.result-copy{padding:18px 13px}.result-copy h2{font-size:22px}.result-copy .eyebrow{font-size:7px;letter-spacing:1px;margin-bottom:9px}.result-copy p.result-window{font-size:14px}.result-copy p.result-channel{font-size:11px}.result-copy p.proof-attribution{font-size:8px;margin-bottom:11px}.result-copy .primary{font-size:10px;padding:9px;gap:6px}.result-copy .primary svg{width:15px;height:15px}.result-copy .proof-link{font-size:9px;margin-top:11px}.feature-duration{font-size:8px;left:7px;padding:5px}.catalog-tabs{gap:18px}.catalog-tab{font-size:11px}.library-controls{gap:10px}.library-controls label:first-child{width:100%}.library-controls label{min-width:0;width:calc(50% - 5px)}.library-controls .text-button{margin-left:0;padding:2px}.library-summary{font-size:10px}.library-summary>span{display:none}.model-demo{grid-template-columns:94px minmax(0,1fr);padding:10px;gap:12px}.model-demo video{width:94px;height:154px}.model-demo strong{font-size:11px}.model-demo .proof-link{overflow-wrap:anywhere}}
.preview-dialog.has-showcase{width:min(1130px,calc(100vw - 30px));max-height:90dvh}.has-showcase #preview-content{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,1.3fr);align-items:start}.has-showcase #preview-content>video{height:84dvh;max-height:84dvh;object-fit:contain}.has-showcase #preview-content>iframe{height:84dvh}.has-showcase .preview-description{height:84dvh;overflow-y:auto;overscroll-behavior:contain;padding:27px;min-width:0}.has-showcase>.close{position:absolute;margin:0;background:#ffffffed}.showcase-proof{border-top:1px solid var(--line);padding-top:22px;margin-top:24px}.proof-heading{display:flex;justify-content:space-between;gap:12px;align-items:start}.proof-heading h3{font-size:15px;color:var(--ink)}.proof-heading p.eyebrow{font-size:9px;color:var(--violet);margin:0 0 7px}.proof-heading p.proof-result{color:var(--violet-dark);font-weight:700;font-size:17px;margin:5px 0 12px}.proof-photo-count{font-size:10px;padding:4px 9px;border-radius:6px;background:var(--lavender);color:var(--violet);white-space:nowrap}.proof-image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.proof-photo{text-align:left;min-width:0;padding:0;border-radius:9px}.proof-thumbnail{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#f2f3f7;border:1px solid var(--line);border-radius:9px}.proof-thumbnail img{width:100%;height:100%;display:block;object-fit:contain}.proof-scope,.proof-enlarge{position:absolute;background:#fffffff0;font-size:8px;border-radius:4px;padding:3px 6px}.proof-scope{top:7px;left:7px;color:#626678}.proof-enlarge{right:7px;bottom:7px;color:var(--violet-dark);box-shadow:0 1px 5px #25263d12}.proof-photo strong{display:block;font-size:11px;line-height:1.45;margin-top:7px;font-weight:600}.proof-photo:hover .proof-thumbnail{border-color:var(--violet)}.proof-source-links{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:20px}.proof-source-links .secondary{padding:10px 12px;font-size:11px}.proof-source-links .proof-link{margin:0;font-size:11px}.showcase-proof p.proof-context{background:var(--paper);border-radius:8px;padding:10px 12px;font-size:11px;margin:0 0 14px}.showcase-proof p.proof-credit,.showcase-proof p.proof-channel-help{font-size:10px;color:var(--muted);margin:12px 0 0}.proof-image-dialog{width:min(1400px,calc(100vw - 26px));max-height:94dvh;background:#fff;border-radius:16px;overflow:hidden}.proof-viewer-header{padding:19px 60px 17px 23px;border-bottom:1px solid var(--line);position:relative}.proof-viewer-header h2{font-size:20px}.proof-viewer-header .eyebrow{font-size:9px;margin-bottom:6px}.proof-viewer-stage{height:64dvh;overflow:auto;background:#f0f1f6;display:flex;align-items:center;justify-content:center;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom}.proof-viewer-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.proof-viewer-stage.zoomed{display:block}.proof-viewer-stage.zoomed img{max-width:none;max-height:none;width:auto;height:auto;margin:0 auto}.proof-viewer-footer{display:block;margin:0;padding:17px 23px 20px;font-size:12px;color:var(--ink)}.proof-viewer-footer>p{font-size:12px;line-height:1.6}.proof-viewer-actions{display:flex;gap:10px;align-items:center;margin-top:13px;flex-wrap:wrap}.proof-viewer-actions .secondary{padding:8px 12px;font-size:11px}.proof-viewer-actions .proof-link{margin:0 0 0 auto}.proof-image-dialog::backdrop{background:#111326ba}
@media(max-width:820px){.preview-dialog.has-showcase{width:calc(100vw - 24px)}.has-showcase #preview-content{grid-template-columns:minmax(170px,.6fr) minmax(0,1.4fr)}.has-showcase .preview-description{padding:22px 18px}.proof-image-grid{gap:10px}.proof-heading p.proof-result{font-size:15px}.has-showcase .preview-description h2{font-size:19px}}
@media(max-width:560px){.has-showcase #preview-content{display:block}.has-showcase #preview-content>video{height:auto;max-height:38dvh;width:100%}.has-showcase #preview-content>iframe{height:38dvh}.has-showcase .preview-description{height:auto;overflow:visible;padding:20px 16px}.has-showcase>.close{position:absolute}.showcase-proof{padding-top:18px;margin-top:20px}.proof-heading h3{font-size:13px}.proof-heading p.eyebrow{font-size:8px}.proof-photo strong{font-size:10px}.proof-thumbnail{aspect-ratio:4/3}.proof-source-links{gap:12px}.proof-image-dialog{width:calc(100vw - 16px);border-radius:12px}.proof-viewer-header{padding:16px 48px 14px 16px}.proof-viewer-header h2{font-size:16px}.proof-viewer-stage{height:56dvh}.proof-viewer-footer{padding:14px 16px 18px}.proof-viewer-footer>p{font-size:11px}.proof-viewer-actions{gap:7px}.proof-viewer-actions .secondary{font-size:10px;padding:8px 10px}.proof-viewer-actions .proof-link{font-size:10px}}
.hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}.library-hero>div>.hero-actions .secondary{margin-top:0}.guide-home-button svg{stroke-width:1.8}.guide-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,380px);gap:42px;align-items:end;padding:12px 0 32px}.guide-intro h1{max-width:720px;font-size:44px}.guide-intro>div>p:not(.eyebrow){max-width:680px;margin-top:14px;color:var(--muted);font-size:14px}.guide-intro aside{border-left:3px solid var(--violet);padding:18px 0 18px 23px}.guide-intro aside strong{font-size:14px}.guide-intro aside p{font-size:12px;color:var(--muted);margin-top:7px}.guide-facts{display:flex;gap:28px;margin-top:24px;color:var(--muted);font-size:10px}.guide-facts span{display:flex;align-items:baseline;gap:7px}.guide-facts strong{font-size:17px;color:var(--ink)}.guide-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,.6fr);gap:24px;align-items:start}.tutorial-player{aspect-ratio:16/9;border-radius:20px;overflow:hidden;background:#17182a;box-shadow:0 22px 55px #25263d20}.tutorial-player iframe{width:100%;height:100%;display:block;border:0}.tutorial-poster{width:100%;height:100%;padding:0;position:relative;display:block;color:white}.tutorial-poster img{width:100%;height:100%;display:block;object-fit:cover}.tutorial-shade{position:absolute;inset:0;background:linear-gradient(90deg,#1d1e37bc 0%,#1d1e3740 63%,#1d1e3714)}.tutorial-play{position:absolute;left:7%;top:50%;transform:translateY(-50%);width:190px;text-align:left;display:grid;grid-template-columns:48px 1fr;column-gap:13px;align-items:center}.tutorial-play svg{grid-row:1/3;width:48px;height:48px;padding:12px;border-radius:50%;background:var(--violet);stroke:white;box-shadow:0 8px 22px #1d1e3766;transition:transform .2s}.tutorial-poster:hover .tutorial-play svg{transform:scale(1.08)}.tutorial-play b{font-size:14px}.tutorial-play small{font-size:10px;color:#ffffffb5;margin-top:3px}.tutorial-note{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:12px;padding:0 4px;font-size:10px;color:var(--muted)}.tutorial-note a{color:var(--violet);white-space:nowrap}.guide-chapters{background:white;border:1px solid var(--line);border-radius:20px;padding:24px}.guide-chapters h2{font-size:21px;margin-bottom:14px}.guide-chapters>button{width:100%;display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:10px;text-align:left;padding:12px 4px;border-bottom:1px solid var(--line)}.guide-chapters>button:last-child{border-bottom:0}.guide-chapters>button:hover strong{color:var(--violet)}.guide-chapters>button span{font-size:9px;color:var(--violet);font-weight:700}.guide-chapters>button strong{font-size:11px;transition:color .18s}.guide-chapters>button time{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.guide-after{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:28px;padding:25px 28px;background:linear-gradient(110deg,var(--lavender),#e0f2ef);border-radius:18px}.guide-after h2{font-size:20px}.guide-after p:not(.eyebrow){font-size:12px;color:var(--muted);margin-top:5px}.guide-after .primary{flex-shrink:0}
@media(max-width:900px){.guide-intro{grid-template-columns:1fr;gap:18px}.guide-intro aside{max-width:630px}.guide-layout{grid-template-columns:1fr}.guide-chapters{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.guide-chapters>.eyebrow,.guide-chapters>h2{grid-column:1/-1}}
@media(max-width:560px){.hero-actions{align-items:stretch}.hero-actions .primary,.hero-actions .secondary{width:100%}.guide-intro{padding-top:2px;padding-bottom:24px}.guide-intro h1{font-size:31px}.guide-intro>div>p:not(.eyebrow){font-size:12px}.guide-intro aside{padding:13px 0 13px 17px}.guide-facts{gap:14px;justify-content:space-between}.guide-facts span{display:block}.guide-facts strong{display:block;font-size:15px;margin-bottom:2px}.tutorial-player{border-radius:13px}.tutorial-play{left:8%;width:170px;grid-template-columns:42px 1fr}.tutorial-play svg{width:42px;height:42px;padding:10px}.tutorial-play b{font-size:12px}.tutorial-note{align-items:flex-start;font-size:9px}.guide-chapters{display:block;padding:19px 17px;border-radius:14px}.guide-chapters>button{min-height:45px}.guide-after{display:block;padding:21px 18px}.guide-after .primary{width:100%;margin-top:17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

body:has(dialog[open]){overflow:hidden}
/* Source controls continue the library's compact layout; players load on demand. */
.trend-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}
.trend-filters label{display:grid;gap:6px;font-size:12px;color:var(--muted)}
.trend-filters select{min-width:0;width:100%}
.trend-filter-note,.source-provenance,.embed-notice{font-size:12px;color:var(--muted);line-height:1.6}
.source-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#183449;color:#e7f5ff;height:100%}
.source-fallback strong{font-size:28px;letter-spacing:-1px}.source-fallback span{font-size:12px;letter-spacing:0}
.source-fallback.platform-tiktok{background:#14373b}.source-fallback.platform-facebook{background:#193862}
.source-status{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;margin:18px 0}.source-status span{background:var(--white);border:1px solid var(--line);padding:8px 12px;border-radius:8px}
.trend-sources details{border-top:1px solid var(--line);padding:18px 0}.trend-sources summary{cursor:pointer;font-weight:650;line-height:1.6}.trend-sources details .form{margin-top:18px}
.trend-source-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.trend-source-fields label{min-width:0}
.trend-sources input[type=file]{max-width:100%;font-size:12px}.trend-sources [role=status]{overflow-wrap:anywhere}
@media(max-width:900px){.trend-source-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.trend-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.trend-source-fields{grid-template-columns:1fr 1fr}.trend-sources>.source-status{display:grid}}
