:root{--canvas:#f3f5f9;--paper:#fff;--ink:#1c2540;--muted:#687187;--line:#e1e5ed;--accent:#4355e8;--accent-light:#eef0ff;--violet:#7863d7;--green:#167458;--red:#b63348;--amber:#9c691a;--radius:18px;font-family:Bahnschrift,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--canvas);font-size:15px;line-height:1.55;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}button:disabled{cursor:not-allowed;opacity:.55}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,a,input,select,textarea,summary{outline-offset:4px}*:focus-visible{outline:3px solid #4355e8a8}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.2;letter-spacing:-.025em}h1{font-size:clamp(2.1rem,3.3vw,3.25rem);font-weight:650}h2{font-size:1.2rem;font-weight:650}h3{font-size:1rem;font-weight:650}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:8px;left:8px;padding:12px 20px;background:var(--paper);z-index:100;transform:translateY(-150%)}.skip-link:focus{transform:none}.app-shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{padding:35px 22px 24px;background:var(--paper);border-right:1px solid var(--line);display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:230px;z-index:20}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:20px;font-weight:700;line-height:1.12;letter-spacing:-.04em}.brand:hover{text-decoration:none}.brand-line{display:block;color:var(--accent)}.brand-mark{width:39px;height:43px;display:flex;gap:4px;align-items:center;justify-content:center;flex-shrink:0}.brand-mark span{width:7px;border-radius:3px;background:var(--accent);height:39px}.brand-mark span:nth-child(2){height:28px}.brand-mark span:nth-child(3){height:17px;background:var(--violet)}.primary-nav{display:flex;flex-direction:column;gap:8px;margin-top:54px}.nav-item{display:flex;align-items:center;gap:13px;padding:13px 14px;color:var(--muted);border-radius:11px;font-weight:550;position:relative}.nav-item:hover{background:#f7f8fc;text-decoration:none;color:var(--ink)}.nav-item.active{background:var(--accent-light);color:var(--accent)}.nav-item.active:before{content:"";position:absolute;height:20px;width:3px;background:var(--accent);border-radius:4px;left:-22px}.nav-count{margin-left:auto;min-width:20px;text-align:center;border-radius:5px;background:var(--accent);color:white;font-size:.73rem;padding:1px 5px}.sidebar-bottom{margin-top:auto;padding-top:35px}.connection-state{font-size:.75rem;color:var(--muted);display:flex;align-items:center;gap:7px;margin:0 7px 23px}.state-dot{width:7px;height:7px;border-radius:50%;background:#a3a9ba;flex-shrink:0}.connection-state.ready .state-dot{background:#25a17c}.connection-state.warning .state-dot{background:#c68c30}.account{display:flex;gap:9px;align-items:center;border-top:1px solid var(--line);padding-top:22px;min-width:0}.avatar{width:35px;height:35px;display:grid;place-items:center;background:#e8e9f4;border-radius:50%;font-size:.78rem;font-weight:700;flex-shrink:0}.account>div{min-width:0}.account strong{font-size:.8rem;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.account span:last-child:not(.avatar){font-size:.7rem;color:var(--muted);display:block}.logout-button{border:0;background:none;font-size:.73rem;color:var(--muted);padding:10px 0 0 45px}.logout-button:hover{color:var(--accent)}.main-content{grid-column:2;padding:0 44px;max-width:1600px;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;height:82px;gap:20px;border-bottom:1px solid var(--line);font-size:.8rem;color:var(--muted)}.workspace-name{font-weight:550;color:var(--ink)}.format-pill{font-size:.73rem;display:flex;gap:7px;align-items:center}.format-pill>span{width:6px;height:6px;border-radius:50%;background:var(--violet)}.page{padding:38px 0 40px;min-height:calc(100vh - 145px)}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:32px}.page-heading p,.compact-heading p{color:var(--muted);margin-top:14px;max-width:600px;font-size:.94rem}.heading-glyph{display:flex;gap:7px;align-items:center;padding:0 20px}.heading-glyph span{display:block;width:11px;height:68px;border-radius:5px;background:#d6dbef;transform:rotate(15deg)}.heading-glyph span:nth-child(2){height:49px;background:#b6c0f6}.heading-glyph span:nth-child(3){height:30px;background:var(--accent)}.studio-layout{display:grid;grid-template-columns:minmax(0,1fr) 238px;gap:30px}.studio-main{min-width:0}.creation-panel{border:1px solid var(--line);background:var(--paper);border-radius:var(--radius);padding:27px}.panel-title{display:flex;align-items:center;gap:12px;margin-bottom:22px}.panel-title h2{font-size:1.16rem}.panel-title p{color:var(--muted);font-size:.8rem;margin-top:5px}.icon-tile{display:grid;place-items:center;background:var(--accent-light);color:var(--accent);width:43px;height:43px;border-radius:12px}.url-field{border:1.5px solid #cdd3e4;border-radius:10px;display:flex;align-items:center;padding-left:15px;gap:11px;background:#fff}.url-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #4355e815}.url-field>svg{color:#e84e59;width:20px;height:20px}.url-field input{border:0!important;box-shadow:none!important;outline:none;min-width:0;width:100%;padding:15px 12px 15px 0;background:transparent}.field-help{font-size:.75rem;color:var(--muted);margin-top:9px;line-height:1.5}.field-help a{text-decoration:underline;text-underline-offset:2px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.basic-options{margin:25px 0}.form-grid>label,.settings-section>label,.provider-advanced label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:.8rem;font-weight:550}input:not([type=radio]):not([type=color]),select,textarea{border:1px solid #d6dbe5;border-radius:8px;background:#fff;padding:11px 12px;color:var(--ink);width:100%;min-width:0;transition:border-color .15s}input::placeholder,textarea::placeholder{color:#8a92a6;font-weight:400}select{padding-right:28px;font-size:.85rem}input:focus,select:focus,textarea:focus{border-color:var(--accent)}label>small{color:var(--muted);font-size:.73rem;line-height:1.5;font-weight:400}input[type=file]{padding:8px!important;font-size:.8rem}input[type=file]::file-selector-button{border:0;background:var(--accent-light);color:var(--accent);padding:7px 10px;border-radius:5px;margin-right:9px;font:inherit;cursor:pointer}.style-fieldset{padding:0;margin:0;border:0}.style-fieldset legend{font-size:.8rem;font-weight:550;margin-bottom:10px}.style-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.style-option{position:relative;cursor:pointer;min-width:0}.style-option input{position:absolute;right:8px;top:8px;width:15px;height:15px;accent-color:var(--accent);z-index:1}.style-swatch{display:flex;height:87px;border:2px solid transparent;border-radius:9px;background:#ecedf2;position:relative;overflow:hidden;align-items:center;justify-content:center;margin-bottom:8px}.style-swatch i{position:absolute;width:70px;height:110px;border-radius:40px 40px 0 0;top:33px;background:#d4d7e1}.style-swatch b{position:relative;font-size:.64rem;letter-spacing:-.02em;line-height:1.25;margin-top:29px;max-width:90%;text-align:center;padding:3px 5px;background:white;border-radius:3px;color:#1c2540;font-weight:600}.style-swatch.bold{background:#dce1fa}.style-swatch.bold i{background:#bdc7ef}.style-swatch.bold b{color:white;background:#4355e8;font-size:.68rem;font-weight:800;transform:rotate(-2deg);margin-top:20px}.style-swatch.cinematic{background:#525a73}.style-swatch.cinematic i{background:#69738f}.style-swatch.cinematic b{background:none;color:#fff;font-weight:400;font-size:.68rem;letter-spacing:.015em;bottom:-7px}.style-option>span:nth-last-child(2){display:block;font-size:.79rem;font-weight:600}.style-option>small{display:block;font-size:.65rem;color:var(--muted);margin-top:2px;line-height:1.4}.style-option input:checked+.style-swatch{border-color:var(--accent);box-shadow:0 0 0 2px #4355e814}.style-option input:focus-visible+.style-swatch{outline:3px solid #4355e850;outline-offset:3px}.advanced-options{margin-top:25px;border-top:1px solid var(--line)}.advanced-options summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:17px 0;font-size:.8rem;color:var(--muted)}.advanced-options summary::-webkit-details-marker{display:none}.advanced-options summary span{font-size:20px;line-height:1}.advanced-options[open] summary span{transform:rotate(45deg)}.advanced-options>.form-grid{padding-bottom:14px}.button{display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:44px;padding:11px 17px;border:1px solid var(--line);background:white;border-radius:9px;color:var(--ink);font-size:.83rem;font-weight:600;line-height:1.4;text-align:center;white-space:nowrap;text-decoration:none}.button:hover{text-decoration:none;background:#f6f7fb}.button svg{width:18px;height:18px}.button.primary{color:#fff;background:var(--accent);border-color:var(--accent)}.button.primary:hover:not(:disabled){background:#3345d1}.button.secondary{background:var(--accent-light);border-color:transparent;color:var(--accent)}.button.small{padding:8px 11px;min-height:34px;font-size:.75rem}.button.danger{color:var(--red);border-color:#edced3}.create-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:13px}.create-footer>span{font-size:.71rem;color:var(--muted);display:flex;align-items:center;gap:6px}.create-footer>span svg{width:15px;height:15px;color:var(--green)}.workflow-strip{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:20px 3px 36px;color:var(--muted)}.workflow-strip>span{display:flex;gap:7px;align-items:center;font-size:.68rem;white-space:nowrap}.workflow-strip b{font-size:.65rem;color:#7b84a0;background:#e6e9f1;border-radius:50%;width:19px;height:19px;display:grid;place-items:center;font-weight:550}.workflow-strip>i{height:1px;background:#d8deea;flex:1;max-width:24px}.output-preview{position:relative;aspect-ratio:9/16;width:100%;border-radius:24px;overflow:hidden;background:#e6e8f2;border:7px solid #fff;outline:1px solid #dce1ec;box-shadow:0 12px 30px #2534580b;display:flex;flex-direction:column}.preview-top{display:flex;justify-content:space-between;padding:16px 13px;position:relative;z-index:1;align-items:center}.preview-top>span{width:24px;height:5px;background:#b9c0d3;border-radius:3px}.preview-top b{font-size:.58rem;background:#fff9;padding:3px 7px;border-radius:5px;font-weight:550}.preview-composition{position:absolute;inset:55px 22px 85px}.figure-head{position:absolute;width:65px;height:80px;border-radius:46% 46% 43% 43%;background:#c1c8dc;top:20px;left:50%;transform:translateX(-50%)}.figure-body{position:absolute;width:160px;height:200px;border-radius:70px 70px 10px 10px;background:#9faaca;top:105px;left:50%;transform:translateX(-50%)}.frame-corner{position:absolute;width:17px;height:17px;border-color:#8b93ba}.frame-corner.top-left{left:0;top:0;border-left:1px solid;border-top:1px solid}.frame-corner.top-right{right:0;top:0;border-right:1px solid;border-top:1px solid}.frame-corner.bottom-left{left:0;bottom:0;border-left:1px solid;border-bottom:1px solid}.frame-corner.bottom-right{right:0;bottom:0;border-right:1px solid;border-bottom:1px solid}.preview-caption{position:relative;margin:auto 12px 0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px;padding-bottom:24px}.preview-caption span{background:#fff;color:#263154;letter-spacing:-.025em;font-size:13px;padding:3px 8px;border-radius:4px;font-weight:650}.preview-caption span:last-child{background:var(--accent);color:white}.preview-timeline{margin:0 12px;position:relative;height:14px;border-radius:3px;background:repeating-linear-gradient(90deg,#818caf 0px,#818caf 2px,transparent 2px,transparent 5px);opacity:.7}.preview-timeline>span{display:block;background:#7863d733;width:65%;height:100%;border-radius:3px}.preview-timeline>i{position:absolute;left:65%;top:-4px;bottom:-4px;width:2px;background:var(--accent)}.preview-bottom{font-size:.49rem;color:#5d6784;padding:12px 5px;text-align:center}.aside-note{padding:25px 5px 0}.aside-note h3{font-size:.89rem;line-height:1.4}.aside-note p{color:var(--muted);font-size:.76rem;line-height:1.7;margin:10px 0 13px}.text-link{display:inline-flex;align-items:center;gap:7px;font-size:.78rem;font-weight:550}.text-link>svg{width:15px;height:15px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:27px 0 16px}.section-heading h2{font-size:1.06rem}.section-heading>.muted{font-size:.78rem}.recent-section .section-heading{margin-top:0}.loading-line{color:var(--muted);font-size:.83rem;padding:24px 0}.muted{color:var(--muted);font-size:.85rem}.notice{border:1px solid #d8dffb;border-radius:10px;background:#eef1ff;padding:13px 16px;color:#3b498d;font-size:.82rem;line-height:1.6;margin-top:20px;display:flex;align-items:center;justify-content:space-between;gap:14px}.notice a{font-weight:600;white-space:nowrap}.notice.error,.form-error{background:#fff1f3;border-color:#f1cfd5;color:#9f2c3f}.form-error{border:1px solid #f1cfd5;border-radius:8px;padding:11px 13px;font-size:.82rem;margin:16px 0 4px}.empty-state{border:1px dashed #ccd3e2;border-radius:14px;background:#ffffff5c;padding:29px;text-align:center;color:var(--muted)}.empty-state>svg{width:34px;height:34px;color:#8a94b2;margin-bottom:11px}.empty-state h3{color:var(--ink);font-size:.96rem;margin-bottom:8px}.empty-state p{font-size:.8rem;max-width:450px;margin:0 auto 17px}.empty-state.compact{padding:24px}.empty-state.compact p{margin-bottom:0}.compact-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.compact-heading h1{font-size:2.2rem}.compact-heading p{margin-top:9px}.results-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:24px}.segmented{display:flex;gap:3px;padding:4px;background:#e7ebf2;border-radius:9px;max-width:100%;overflow:auto}.segmented button{border:0;background:transparent;padding:8px 13px;border-radius:6px;font-size:.77rem;white-space:nowrap;color:var(--muted)}.segmented button.active{background:#fff;color:var(--ink);box-shadow:0 1px 3px #1c25400a}.jobs-list{display:flex;flex-direction:column;gap:20px}.job-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px;min-width:0}.job-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.job-header h3{font-size:1rem;line-height:1.45;overflow-wrap:anywhere}.job-meta{color:var(--muted);font-size:.73rem;margin-top:5px;display:flex;flex-wrap:wrap;gap:6px 12px}.job-meta a{color:var(--muted);text-decoration:underline;text-underline-offset:2px}.badge{display:inline-flex;gap:6px;align-items:center;white-space:nowrap;font-size:.68rem;font-weight:550;border-radius:6px;padding:5px 8px;line-height:1.4;background:#eef0f5;color:#646e85}.badge.success{background:#eaf7f1;color:var(--green)}.badge.running{background:#edf0ff;color:var(--accent)}.badge.error{background:#fff0f2;color:var(--red)}.badge.warning{background:#fff6e8;color:var(--amber)}.badge.neutral{background:#eef0f5;color:#646e85}.job-progress{margin-top:22px}.progress-line{height:5px;border-radius:5px;background:#e9edf5;overflow:hidden}.progress-line>span{display:block;height:100%;border-radius:5px;background:var(--accent);transition:width .5s}.progress-description{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:.72rem;margin-top:8px}.progress-stages{display:flex;gap:5px;margin-top:14px}.progress-stages span{font-size:.59rem;color:#7d879e;flex:1;padding-top:7px;border-top:2px solid #e8ebf3;line-height:1.5}.progress-stages span.done{border-color:#bcc6f5;color:#6676c6}.progress-stages span.current{border-color:var(--accent);color:var(--accent);font-weight:600}.job-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.job-error{padding:13px;margin-top:15px;border-radius:8px;background:#fff3f4;color:#9f2c3f;font-size:.78rem;white-space:pre-wrap;overflow-wrap:anywhere}.job-message{font-size:.78rem;color:var(--muted);margin-top:13px}.clip-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:15px;margin-top:22px}.clip-card{min-width:0}.clip-poster-button{display:block;width:100%;border:0;padding:0;background:#dfe4ef;border-radius:10px;overflow:hidden;aspect-ratio:9/13;position:relative;text-align:left}.clip-poster-button img{width:100%;height:100%;object-fit:cover;display:block}.poster-fallback{display:flex;align-items:center;justify-content:center;height:100%;color:#7884a7;background:#e8ebf5}.poster-fallback>svg{width:32px;height:32px}.play-overlay{position:absolute;left:12px;bottom:12px;width:31px;height:31px;display:grid;place-items:center;color:white;border-radius:50%;background:#1c2540a8}.play-overlay svg{width:15px;height:15px;margin-left:2px}.clip-duration{position:absolute;right:10px;bottom:15px;color:white;background:#1c2540a8;padding:2px 5px;border-radius:4px;font-size:.65rem}.clip-card h4{font-size:.8rem;line-height:1.45;font-weight:600;margin:9px 0 6px;overflow-wrap:anywhere}.clip-bottom{display:flex;gap:6px;justify-content:space-between;align-items:center}.score-label{font-size:.65rem;color:#6d668a;display:flex;align-items:center;gap:4px}.score-label strong{font-size:.76rem;color:var(--violet)}.clip-download{color:var(--muted);display:inline-flex;padding:4px}.clip-download:hover{color:var(--accent)}.clip-download svg{width:16px;height:16px}.upload-panel{border:1px solid var(--line);border-radius:14px;padding:26px;background:white;margin-bottom:35px}.upload-footer{display:flex;justify-content:flex-end;margin-top:20px}.upload-progress{margin-top:18px}.upload-progress progress{width:100%;height:7px;accent-color:var(--accent)}.upload-progress>span{font-size:.76rem;color:var(--muted);display:block;margin-top:5px}.sources-list{display:flex;flex-direction:column;gap:10px}.source-row{display:flex;gap:16px;align-items:center;justify-content:space-between;background:white;border:1px solid var(--line);border-radius:11px;padding:19px 21px}.source-info{display:flex;align-items:center;gap:14px;min-width:0}.source-info>svg{width:26px;height:26px;color:var(--violet)}.source-info>div{min-width:0}.source-name{font-size:.87rem;font-weight:600;overflow-wrap:anywhere}.source-info p{font-size:.72rem;color:var(--muted);margin-top:3px}.source-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:30px;align-items:start}.settings-main{min-width:0}.settings-section{background:white;border:1px solid var(--line);border-radius:14px;padding:26px;margin-bottom:20px}.settings-section-heading{margin-bottom:22px}.settings-section-heading p{color:var(--muted);font-size:.8rem;margin-top:7px}.settings-section>.form-grid{margin-bottom:20px}.settings-section>.form-grid:last-child{margin-bottom:0}.settings-section>label+label{margin-top:17px}.settings-section textarea{resize:vertical;font-weight:400;font-size:.85rem;line-height:1.7}.color-field{display:flex;gap:12px;align-items:center;min-height:44px}.color-field input{width:44px;height:38px;padding:3px;border:1px solid var(--line);border-radius:7px;background:white;cursor:pointer}.color-field span{font-size:.8rem;font-weight:400;color:var(--muted)}.provider-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.provider-heading.separated{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}.provider-advanced{margin-top:14px}.provider-advanced summary{font-size:.75rem;color:var(--muted);cursor:pointer}.provider-advanced label{margin-top:12px}.settings-save{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:5px 0}.settings-save>span{font-size:.78rem;color:var(--green)}.settings-aside{padding:23px;border:1px solid var(--line);border-radius:13px;background:#ffffff85;position:sticky;top:24px}.settings-aside h2{font-size:1rem;margin-bottom:20px}.readiness-item{display:flex;align-items:flex-start;gap:9px;padding:11px 0}.readiness-icon{color:var(--green);background:#e5f3ed;border-radius:50%;width:21px;height:21px;display:grid;place-items:center;flex-shrink:0;margin-top:1px}.readiness-icon svg{width:13px;height:13px}.readiness-icon.missing{background:#f8eddc;color:var(--amber);font-size:.7rem;font-weight:700}.readiness-item strong{font-size:.75rem;font-weight:550;display:block}.readiness-item p{font-size:.68rem;color:var(--muted);line-height:1.6;margin-top:4px;overflow-wrap:anywhere}.storage-summary{margin-top:18px;padding-top:20px;border-top:1px solid var(--line)}.storage-summary h3{font-size:.79rem}.storage-summary p{margin-top:8px;font-size:.72rem}.privacy-note{font-size:.67rem;color:var(--muted);line-height:1.7;border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.app-footer{display:flex;gap:15px;justify-content:space-between;border-top:1px solid var(--line);padding:19px 0;font-size:.68rem;color:#8a92a5}.app-footer span:last-child:empty{display:none}.detail-dialog{border:1px solid var(--line);border-radius:18px;padding:0;max-width:960px;width:calc(100vw - 48px);max-height:90vh;color:var(--ink);box-shadow:0 24px 80px #111d4340;background:var(--canvas)}.detail-dialog::backdrop{background:#17213f88;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:22px 27px;background:#fff;border-bottom:1px solid var(--line)}.dialog-top h2{font-size:1.2rem;margin-top:4px;line-height:1.45}.dialog-top .muted{font-size:.72rem}.icon-button{border:0;background:#f0f2f8;color:var(--muted);display:grid;place-items:center;border-radius:8px;min-width:32px;height:32px}.icon-button svg{width:18px;height:18px}.icon-button:hover{background:#e4e8f3}.detail-body{padding:25px}.detail-body .job-card{border:0;background:transparent;padding:0}.clip-detail-layout{display:grid;grid-template-columns:minmax(180px,300px) minmax(0,1fr);gap:26px;padding:25px}.clip-player{width:100%;max-height:65vh;aspect-ratio:9/16;background:#18213a;border-radius:12px;display:block}.clip-detail-copy{min-width:0}.clip-detail-copy h3{margin:0 0 10px;font-size:.9rem}.clip-detail-copy p{font-size:.82rem;line-height:1.75;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.score-explanation{background:#eeebf8;border:1px solid #e0daf1;border-radius:10px;padding:15px;margin-bottom:24px}.score-explanation>div{display:flex;align-items:baseline;gap:8px;margin-bottom:9px}.score-explanation strong{font-size:1.8rem;line-height:1;color:var(--violet)}.score-explanation span{font-size:.76rem;color:#6f638e}.score-explanation p{font-size:.75rem;color:#6f638e;line-height:1.65}.score-disclaimer{font-size:.65rem!important;margin-top:8px;color:#877e99!important}.caption-box{background:white;border:1px solid var(--line);border-radius:9px;padding:15px;margin:12px 0}.caption-box p{color:var(--ink);font-size:.78rem}.detail-copy-actions{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:23px}.detail-transcript{border-top:1px solid var(--line);padding-top:18px}.checks-list{padding-left:18px;font-size:.74rem;color:var(--muted);margin-top:10px;line-height:1.8}.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);z-index:200;background:#263154;color:white;border-radius:10px;padding:12px 20px;box-shadow:0 8px 30px #1c25402a;max-width:calc(100vw - 32px);font-size:.82rem}.toast.error{background:#a63649}.login-body{min-height:100vh;background:white}.login-layout{display:grid;grid-template-columns:1.08fr 1fr;min-height:100vh}.login-intro{background:#eef0f8;padding:44px 9% 30px;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-copy{margin:auto 0;padding:70px 0;position:relative;z-index:1}.login-context{color:var(--accent);font-size:.83rem;margin-bottom:22px;font-weight:550}.login-copy h1{font-size:clamp(2.5rem,4vw,4.1rem);font-weight:650;line-height:1.13;max-width:650px}.login-copy>p:last-of-type{font-size:1rem;color:var(--muted);line-height:1.8;max-width:440px;margin-top:24px}.login-film{display:flex;gap:8px;margin-top:42px;max-width:440px}.login-film>div{flex:1;position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:12px;height:72px;border-radius:7px;background:#dbe0f3;border-left:3px solid #9daae3}.login-film>div:nth-child(2){background:#d2d9f5;border-color:#7384d7}.login-film>div:nth-child(3){background:var(--accent);border-color:#a1adff;color:white}.login-film span{font-size:.65rem;line-height:1.4}.login-film i{height:13px;background:repeating-linear-gradient(90deg,#7b88b6 0px,#7b88b6 2px,transparent 2px,transparent 5px);opacity:.6;width:100%}.login-film>div:last-child i{background:repeating-linear-gradient(90deg,#c2caff 0px,#c2caff 2px,transparent 2px,transparent 5px)}.login-signature{font-size:.72rem;color:#8b93aa}.login-access{display:flex;align-items:center;justify-content:center;position:relative;padding:60px 35px}.login-card{width:100%;max-width:365px;text-align:center}.login-lock{width:57px;height:57px;background:var(--accent-light);color:var(--accent);border-radius:16px;display:grid;place-items:center;margin:0 auto 24px}.login-lock svg{width:27px;height:27px}.login-card h2{font-size:1.75rem;font-weight:650}.login-card>p:first-of-type{font-size:.92rem;color:var(--muted);margin:14px 0 30px}.google-button{width:100%;gap:13px;padding:14px;min-height:51px;font-size:.88rem;border-color:#d8deeb}.google-button svg{stroke:none;width:21px;height:21px}.account-restriction{color:var(--muted);font-size:.77rem;margin-top:25px;line-height:1.8}.account-restriction strong{color:var(--ink);font-weight:550}.login-bottom{position:absolute;bottom:30px;color:#9ba2b4;font-size:.71rem}.login-setup{font-size:.78rem;line-height:1.7;color:var(--amber);margin-top:14px}.login-card .notice{text-align:left;display:block;margin:0 0 20px;font-size:.79rem}
@media(min-width:1500px){.main-content{padding:0 60px}.studio-layout{grid-template-columns:minmax(0,1fr) 270px;gap:42px}.studio-aside{max-width:270px}.creation-panel{padding:32px}.style-swatch{height:100px}}
@media(max-width:1150px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{width:200px;padding:30px 16px 22px}.brand{font-size:18px;gap:8px}.brand-mark{width:34px}.main-content{padding:0 26px}.studio-layout{grid-template-columns:minmax(0,1fr) 190px;gap:22px}.creation-panel{padding:22px}.nav-item.active:before{left:-16px}.account-email{font-size:.65rem}.create-footer{align-items:flex-start;flex-direction:column;gap:13px}.create-footer .button{width:100%}.preview-caption span{font-size:11px}.preview-composition{inset:48px 15px 80px}.figure-head{width:53px;height:66px;top:14px}.figure-body{width:130px;top:86px;height:160px}.preview-caption{padding-bottom:18px}.settings-layout{grid-template-columns:minmax(0,1fr) 220px;gap:20px}.settings-section{padding:22px}.settings-aside{padding:18px}.workflow-strip>span{font-size:.59rem;gap:5px}.workflow-strip{gap:6px}}
@media(max-width:950px){.studio-layout{grid-template-columns:minmax(0,1fr)}.studio-aside{display:none}.page-heading{margin-bottom:25px}.page-heading h1{font-size:2.7rem}.create-footer{flex-direction:row;align-items:center}.create-footer .button{width:auto}.settings-layout{grid-template-columns:minmax(0,1fr)}.settings-aside{position:static;order:-1}.readiness-list{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.settings-aside h2{margin-bottom:10px}.storage-summary{margin-top:8px;padding-top:13px}.privacy-note{margin-top:13px;padding-top:12px}.settings-section{padding:24px}.clip-detail-layout{grid-template-columns:minmax(170px,250px) minmax(0,1fr);gap:21px}.login-intro{padding-left:8%;padding-right:8%}.login-copy h1{font-size:2.8rem}.login-film{gap:5px}.login-film>div{padding:9px}.login-film span{font-size:.6rem}}
@media(max-width:720px){.app-shell{display:block}.sidebar{position:static;width:auto;padding:17px 20px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:17px}.brand-line{display:inline;color:var(--accent)}.brand-mark{height:30px;width:28px;gap:3px}.brand-mark span{width:5px;height:27px}.brand-mark span:nth-child(2){height:20px}.brand-mark span:nth-child(3){height:12px}.primary-nav{margin-top:19px;flex-direction:row;gap:5px;justify-content:space-between}.nav-item{padding:12px 10px;font-size:.75rem;border-radius:8px 8px 0 0;gap:7px}.nav-item svg{width:18px;height:18px}.nav-item.active:before{height:3px;left:10px;right:10px;bottom:0;top:auto;width:auto}.nav-count{font-size:.6rem;min-width:17px}.sidebar-bottom{position:absolute;right:20px;top:14px;padding:0;display:flex;align-items:center;gap:12px}.account{border:0;padding:0}.account>div{display:none}.avatar{width:31px;height:31px;font-size:.64rem}.logout-button{padding:5px 0;font-size:.67rem}.connection-state{display:none}.main-content{padding:0 22px}.topbar{height:54px;font-size:.72rem}.format-pill{font-size:.63rem}.page{padding-top:28px;min-height:calc(100vh - 235px)}.page-heading h1{font-size:2.55rem}.page-heading p{font-size:.85rem;max-width:400px}.heading-glyph{padding:0 0 0 8px;gap:5px}.heading-glyph span{width:8px;height:52px}.heading-glyph span:nth-child(2){height:38px}.heading-glyph span:nth-child(3){height:23px}.compact-heading h1{font-size:1.9rem}.compact-heading p{font-size:.84rem}.compact-heading .button{padding:10px 12px;font-size:.75rem}.compact-heading{align-items:flex-start;gap:15px}.creation-panel{padding:22px}.panel-title h2{font-size:1.06rem}.panel-title p{font-size:.75rem}.url-field input{font-size:.86rem}.style-swatch{height:85px}.workflow-strip>span{font-size:.65rem}.job-card{padding:20px}.job-header{gap:10px}.job-header h3{font-size:.94rem}.job-meta{font-size:.68rem}.results-toolbar{align-items:flex-start;flex-direction:column;gap:12px}.results-toolbar .muted{font-size:.73rem}.clip-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.clip-card h4{font-size:.75rem}.score-label{font-size:.6rem}.score-label strong{font-size:.7rem}.clip-poster-button{border-radius:8px}.clip-duration{font-size:.59rem;right:6px;bottom:10px}.play-overlay{width:26px;height:26px;bottom:8px;left:8px}.upload-panel{padding:23px}.source-row{align-items:flex-start;padding:18px;gap:12px}.source-actions{flex-direction:column;align-items:flex-end;gap:7px}.source-info{gap:10px;align-items:flex-start}.source-info>svg{width:22px;height:22px}.source-name{font-size:.78rem}.source-info p{font-size:.65rem}.source-actions>.text-link{font-size:.68rem}.detail-dialog{width:calc(100vw - 25px);max-height:94vh;border-radius:13px}.dialog-top{padding:18px 20px}.dialog-top h2{font-size:1rem}.clip-detail-layout{padding:20px;grid-template-columns:190px minmax(0,1fr);gap:20px}.clip-player{max-height:50vh}.clip-detail-copy p{font-size:.76rem}.score-explanation{padding:12px}.detail-copy-actions .button{font-size:.7rem;padding:8px 10px}.detail-body{padding:20px}.notice{font-size:.75rem;padding:12px 14px;align-items:flex-start}.app-footer{font-size:.62rem}.login-layout{grid-template-columns:1fr}.login-intro{padding:26px 28px 20px}.login-copy{padding:35px 0 15px}.login-copy h1{font-size:2.6rem}.login-context{font-size:.76rem;margin-bottom:15px}.login-copy>p:last-of-type{font-size:.85rem;margin-top:16px}.login-film{margin-top:24px;max-width:400px}.login-film>div{height:58px}.login-signature{display:none}.login-access{padding:40px 25px 65px;min-height:400px}.login-card h2{font-size:1.5rem}.login-lock{display:none}.login-card>p:first-of-type{font-size:.85rem;margin-bottom:25px}.login-bottom{bottom:22px}.account-restriction{margin-top:20px}.login-copy>p:last-of-type{max-width:470px}}
@media(max-width:480px){.main-content{padding:0 16px}.sidebar{padding:15px 13px 0}.sidebar-bottom{right:15px;top:14px;gap:8px}.brand{font-size:15px;gap:6px}.logout-button{font-size:.6rem}.avatar{width:27px;height:27px;font-size:.58rem}.nav-item{padding:11px 8px;font-size:.69rem;gap:5px}.nav-item svg{width:16px;height:16px}.nav-count{font-size:.55rem;min-width:15px;padding:1px 4px}.primary-nav{gap:1px}.topbar{gap:8px}.workspace-name{font-size:.65rem}.format-pill{font-size:.57rem;gap:4px}.format-pill>span{width:4px;height:4px}.page-heading h1{font-size:2.25rem}.heading-glyph{display:none}.page-heading p{font-size:.82rem}.creation-panel{padding:19px 17px;border-radius:13px}.icon-tile{width:36px;height:36px;border-radius:10px}.icon-tile svg{width:19px;height:19px}.panel-title{gap:10px;margin-bottom:18px}.panel-title h2{font-size:1rem}.panel-title p{font-size:.7rem}.form-grid{gap:14px 11px}.form-grid>label{font-size:.72rem}input:not([type=radio]):not([type=color]),select,textarea{padding:10px;font-size:.8rem}.url-field{gap:7px;padding-left:11px}.url-field input{font-size:.76rem;padding:13px 8px 13px 0!important}.url-field>svg{width:17px;height:17px}.field-help{font-size:.68rem}.basic-options{margin:21px 0}.style-options{gap:8px}.style-swatch{height:76px}.style-swatch b{font-size:.53rem}.style-swatch.bold b{font-size:.57rem}.style-swatch.cinematic b{font-size:.55rem}.style-option>span:nth-last-child(2){font-size:.73rem}.style-option>small{font-size:.59rem}.style-option input{right:5px;top:5px;width:13px;height:13px}.create-footer{flex-direction:column;align-items:stretch;gap:13px}.create-footer>span{font-size:.68rem}.create-footer .button{width:100%}.workflow-strip{margin:18px 0 29px;gap:5px}.workflow-strip>span{font-size:.53rem;gap:4px}.workflow-strip b{font-size:.56rem;width:16px;height:16px}.workflow-strip>i{max-width:10px}.compact-heading{flex-direction:column;gap:17px}.compact-heading h1{font-size:1.85rem}.compact-heading p{font-size:.81rem}.segmented button{font-size:.7rem;padding:7px 10px}.job-card{padding:17px 14px}.job-header h3{font-size:.85rem}.badge{font-size:.6rem;padding:4px 6px}.job-meta{font-size:.63rem}.progress-stages span{font-size:.5rem}.progress-description{font-size:.65rem}.clip-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.clip-bottom{align-items:flex-start}.clip-card h4{font-size:.77rem}.clip-duration{bottom:12px}.source-row{flex-direction:column}.source-actions{flex-direction:row;width:100%;justify-content:flex-end;gap:14px}.source-actions>.text-link{margin-right:auto}.source-name{font-size:.8rem}.upload-panel{padding:20px 17px}.upload-panel .form-grid{grid-template-columns:1fr}.upload-footer .button{width:100%}.settings-section{padding:21px 17px}.settings-section .form-grid{grid-template-columns:1fr 1fr}.settings-section-heading h2{font-size:1.06rem}.settings-section>label{font-size:.76rem}.settings-aside{padding:19px 17px}.readiness-list{grid-template-columns:1fr}.readiness-item{padding:7px 0}.settings-save{flex-direction:column;align-items:stretch}.settings-save .button{width:100%}.settings-save>span{text-align:center}.clip-detail-layout{grid-template-columns:1fr;gap:24px}.clip-player{width:100%;max-width:260px;margin:auto;max-height:60vh}.score-explanation>div strong{font-size:1.65rem}.detail-copy-actions{gap:7px}.detail-copy-actions .button{font-size:.72rem}.clip-detail-copy p{font-size:.8rem}.app-footer span:nth-child(2){display:none}.notice{flex-direction:column;gap:6px}.login-intro{padding:24px 23px 18px}.login-copy h1{font-size:2.25rem}.login-copy{padding-top:29px}.login-film span{font-size:.58rem}.login-access{padding-top:33px;min-height:360px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

progress.progress-line{display:block;width:100%;border:0;appearance:none;-webkit-appearance:none;background:#e9edf5;color:var(--accent);accent-color:var(--accent)}progress.progress-line::-webkit-progress-bar{background:#e9edf5;border-radius:5px}progress.progress-line::-webkit-progress-value{background:var(--accent);border-radius:5px}progress.progress-line::-moz-progress-bar{background:var(--accent);border-radius:5px}
.button.danger-filled{background:var(--red);color:#fff;border-color:var(--red)}.button.danger-filled:hover:not(:disabled){background:#9f2c3f}.delete-action{margin-left:auto}.library-storage{font-size:.78rem;color:var(--muted);padding:14px 17px;border-radius:9px;background:#e9edf5}.storage-directions{font-size:.75rem;line-height:1.7;color:var(--muted);margin:-4px 0 19px;max-width:720px}.storage-cleanup{font-size:.7rem;line-height:1.7;margin-top:10px}.higgsfield-cost{padding:0 0 20px;font-size:.77rem!important;color:var(--ink)!important}.higgsfield-cost small{display:block;margin-top:4px;font-size:.68rem;color:var(--muted)}.confirm-dialog{border:1px solid var(--line);border-radius:17px;background:#fff;color:var(--ink);padding:28px;max-width:450px;width:calc(100vw - 36px);box-shadow:0 24px 80px #111d4340}.confirm-dialog::backdrop{background:#17213f88;backdrop-filter:blur(3px)}.confirm-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#fff0f2;color:var(--red);margin-bottom:19px}.confirm-dialog h2{font-size:1.25rem;line-height:1.4}.confirm-dialog>p{font-size:.83rem;line-height:1.75;color:var(--muted);margin-top:14px;overflow-wrap:anywhere}.confirm-dialog .confirm-warning{font-size:.75rem;color:var(--red);margin-top:11px}.confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.confirm-actions>.button{font-size:.78rem}.source-actions>.button.danger svg{width:14px;height:14px}@media(max-width:480px){.confirm-dialog{padding:24px 21px}.confirm-actions{flex-direction:column-reverse}.confirm-actions>.button{width:100%}.source-actions{flex-wrap:wrap}.source-actions>.button{font-size:.67rem;padding:7px 9px}.delete-action{margin-left:0}.library-storage{font-size:.7rem;padding:12px 14px}.storage-directions{font-size:.7rem}.source-actions>.button.danger svg{width:13px;height:13px}}
.importer-notice{display:flex;align-items:flex-start;gap:8px;padding:11px 12px;margin-top:15px;border-radius:8px;font-size:.72rem;line-height:1.65;background:#eef7f3;color:#33745c}.importer-notice>svg{width:15px;height:15px;margin-top:2px}.importer-notice.offline{background:#fff6e8;color:#866229}.importer-offline-dot{height:6px;width:6px;border-radius:50%;background:#c68c30;flex-shrink:0;margin:7px 3px 0}.importer-notice a{font-weight:550}.importer-settings{border-top:1px solid var(--line);padding-top:18px;margin-top:15px}.importer-settings>.provider-heading{align-items:flex-start;gap:9px;margin-bottom:10px}.importer-settings h3{font-size:.77rem;line-height:1.5;letter-spacing:0}.importer-settings p{font-size:.7rem;color:var(--muted);line-height:1.75;margin-top:10px}.importer-settings .importer-start{font-size:.66rem}.importer-start strong{font-weight:550;color:var(--ink);overflow-wrap:anywhere}
