/* SCAIL Studio — graphite, warm white and soft lime */
:root{--bg:#0d100f;--surface:#171b19;--line:#2c342e;--text:#f0f3ed;--muted:#9ba69d;--accent:#d1f5a0;color-scheme:dark}body{background:radial-gradient(ellipse at 78% 0,#1b281b 0,transparent 42%),var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}::selection{background:#c8ee9670;color:#fff}.shell{max-width:1512px;padding:0 52px 28px}.shell>header{min-height:90px;border-bottom:1px solid #ffffff0d;gap:8px}.brand{gap:12px}.brand b{font-size:20px;font-weight:650;letter-spacing:-.7px}.brand small{font-size:8px;letter-spacing:2.4px;margin-top:2px;color:#8b988d}.logo{background:#d1f5a0;width:38px;height:42px;border-radius:12px 12px 12px 3px;transform:rotate(-4deg);box-shadow:0 0 24px #a0d07614}.logo svg{transform:rotate(4deg)}.workspace-label{font-size:11px;color:#849188}.header-divider{margin:0 15px;background:#344035;height:22px}.history-toggle{border-radius:10px;font-size:12px;padding:10px 15px;transition:background .18s,color .18s}.history-toggle:hover{background:#2a352b;color:#e1f7cb}#historyToggle{background:#212921;border:1px solid #3a4738}#logoutBtn{border:0;margin-left:8px;color:#95a191}.page-intro{position:relative;min-height:265px;padding:44px 0 40px;overflow:hidden}.page-intro .eyebrow{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:2.4px;color:#b0bfaa;margin-bottom:16px}.intro-dot{width:5px;height:5px;background:var(--accent);border-radius:50%;box-shadow:0 0 10px #d1f5a040}.page-intro h1{font-size:clamp(42px,4.3vw,65px);font-weight:550;line-height:1.04;letter-spacing:-3px;margin:0 0 18px}.page-intro h1>span{color:var(--accent)}.page-intro p:last-child{font-size:13px;letter-spacing:.1px;color:#a1aea1}.intro-art{position:relative;width:330px;height:210px;margin-right:72px;flex-shrink:0}.art-frame{position:absolute;width:217px;height:146px;border:1px solid #697d5640;border-radius:15px}.art-frame-back{top:15px;left:45px;transform:rotate(-14deg);background:repeating-linear-gradient(90deg,#344132 0 1px,transparent 1px 19px),#1d281d}.art-frame-front{top:37px;left:92px;transform:rotate(8deg);background:radial-gradient(ellipse at 75% 65%,#66854680,transparent 65%),#253323;box-shadow:0 24px 55px #0005;overflow:hidden}.art-corner{position:absolute;left:14px;top:12px;color:#cfe8bc;font-size:7px;letter-spacing:1.5px}.art-orbit{position:absolute;width:125px;height:125px;border:1px solid #bded9745;border-radius:50%;left:47px;top:10px;box-shadow:0 0 0 16px #b4ed8a09,0 0 0 32px #b4ed8a06}.art-play{position:absolute;left:94px;top:40px;font-size:39px;color:#dafbb5;line-height:1.5}.art-timeline{position:absolute;bottom:16px;left:15px;right:15px;height:3px;background:linear-gradient(90deg,#d1f5a0 60%,#6b825d55 60%);border-radius:3px}.art-caption{position:absolute;left:101px;bottom:1px;font-size:8px;letter-spacing:2px;color:#98ab88}.layout{grid-template-columns:minmax(360px,.82fr) minmax(0,1.18fr);gap:24px;align-items:start}.panel{border:1px solid #30382f;background:linear-gradient(140deg,#1b211c,#161b18);border-radius:20px;box-shadow:0 8px 30px #0000000b}.main{padding:28px}.section-heading{gap:10px}.section-heading h2{font-size:17px;font-weight:550;letter-spacing:-.4px}.section-number{border:0;background:#2b3626;color:#bfdaaa;width:28px;height:28px;border-radius:9px;font-size:10px}.section-label{font-size:8px;letter-spacing:1.5px;color:#8d9c85}.lead{font-size:12px;color:#a0ac9a;line-height:1.8;margin:13px 0 22px}.uploads{grid-template-columns:1fr 1fr;gap:12px}.uploads .upload{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:17px;padding:20px 16px;min-height:174px;background:linear-gradient(145deg,#252e23,#1a211a);border:1px dashed #53634a;border-radius:14px;overflow:hidden}.uploads .upload:hover{background:#2a3625;border-color:#c8e7a1}.uploads .upload.ready{border-style:solid;border-color:#94b174}.uploads .upload-icon{height:40px;width:40px;flex:0 0 40px;border-radius:11px;border-color:#526144;background:#35412c;color:#cfedaf}.uploads .upload b{font-size:12px;line-height:1.6;font-weight:550}.uploads .upload small{font-size:10px;color:#a6b398;line-height:1.6}.uploads .upload-add{position:absolute;top:16px;right:14px;color:#9db787}.uploads .upload>span:not(.upload-icon):not(.upload-add){width:100%}.upload-preview{display:block;width:100%;height:110px;object-fit:contain;border-radius:8px;background:#11180f}.uploads .upload.has-preview .upload-icon{display:none}.gpu-box,.workflow-choice{margin-top:26px;padding-top:25px;border-top:1px solid #343d30}.gpu-grid{gap:9px;margin-top:16px}.gpu{padding:14px;border-radius:11px;background:#1b211b;border-color:#3b4635;gap:11px}.gpu b{font-size:12px;font-weight:550}.gpu small{font-size:10px;color:#a8b39d}.gpu.active{border-color:#8ca66c;background:linear-gradient(90deg,#303d26,#252e20)}.gpu.active b{color:#e4f4d2}.gpu:before{width:12px;height:12px;flex-basis:12px}.gpu.active:before{background:#d1f5a0;border-color:#303d26;box-shadow:0 0 0 1px #b7d78e}.workflow-grid{gap:9px;margin-top:16px}.workflow-mode{border-radius:11px!important;background:#1b211b!important;border-color:#3b4635!important;padding:15px 12px!important}.workflow-mode b{font-size:12px!important}.workflow-mode small{font-size:10px!important;color:#a1af98!important;line-height:1.6!important}.workflow-mode.active{border-color:#8ca66c!important;background:linear-gradient(130deg,#303d26,#252e20)!important}.video-length{flex-direction:column;align-items:stretch;gap:16px;padding:18px;margin-top:18px;border-radius:12px;background:#141b15;border-color:#35432e}.video-length b{font-size:12px}.video-length small{font-size:10px;line-height:1.7;color:#a0ad94}.video-length label{width:100%;min-width:0;gap:16px}.video-length input{width:100%;cursor:pointer;height:5px}.video-length output{display:grid;place-items:center;flex:0 0 47px;height:31px;background:#293720;border:1px solid #4c6537;border-radius:8px;font:12px ui-monospace,monospace;color:#d9f5b7}.start{font-size:13px;letter-spacing:.1px;font-weight:650;margin-top:20px;padding:17px;border-radius:12px;background:#d1f5a0;color:#233015;box-shadow:0 5px 18px #b5e67613;transition:transform .15s,background .15s}.start:hover:not(:disabled){background:#dfffbd;transform:translateY(-1px)}.output-column{gap:20px;position:sticky;top:24px}.output-panel{padding:26px}.output-panel>.section-heading h2{font-size:23px;letter-spacing:-.7px}.output-panel .eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:7px;color:#9dab93}.result{margin-top:24px}.slide-nav{width:100%;margin:0 0 20px;display:flex;gap:4px;padding:5px;border:1px solid #354030;border-radius:11px;background:#111a12}.slide-nav button{flex:1;padding:10px 7px;border-radius:7px;font-size:11px;color:#a1b093}.slide-nav button.active{background:#35432c;color:#e1f4cf;box-shadow:0 2px 7px #0002}.video-track{aspect-ratio:1.24;border:1px solid #364031;border-radius:14px;background:#0d140e;box-shadow:inset 0 0 80px #0004}.video-slide{padding:25px;background-image:radial-gradient(ellipse at 50% 35%,#394f2940,transparent 70%),radial-gradient(#8cb16a16 1px,transparent 1px);background-size:auto,22px 22px;isolation:isolate}.video-slide:after{content:'';position:absolute;inset:18px;border:1px solid #7a995622;border-radius:7px;z-index:-1;pointer-events:none}.preview-symbol{width:76px;height:76px;border-radius:22px;background:linear-gradient(145deg,#36472b,#1b2a18);border:1px solid #607747;color:#d1f5a0;box-shadow:0 0 0 10px #71934b08,0 12px 45px #0004;margin-bottom:25px;transform:rotate(-5deg)}.preview-symbol svg{width:32px;height:32px;transform:rotate(5deg)}.video-slide b{font-size:15px;color:#d5e3ca;font-weight:500}.video-slide p{font-size:11px;line-height:1.8;color:#a2b193;max-width:240px}.video-slide video{border-radius:13px;z-index:1}.video-slide .download-link{position:absolute;top:15px;right:15px;bottom:auto;z-index:3;padding:10px 13px;border:1px solid #638047;border-radius:9px;background:#20301ded;color:#e4f9cc;text-decoration:none;font-size:11px;backdrop-filter:blur(10px)}.side{padding:23px 25px}.progress-title .eyebrow{color:#b5c5a8;font-size:9px;letter-spacing:1.8px}.progress-title>span{padding:4px 9px;background:#293523;border-radius:6px;font-size:10px;color:#b9d49f}.side ol{margin:23px 0;gap:5px}.side li{font-size:10px;line-height:1.6;color:#a4b198}.side li i{width:28px;height:28px;border-color:#526146;background:#293522;color:#bfd3ac}.side li:not(:last-child):after{background:#425237;top:14px}.side li.done i{background:#d1f5a0;color:#203212;border-color:#d1f5a0}.shutdown{padding-top:16px;border-top-color:#35442d;gap:14px}.shutdown b{color:#c3d5b3;font-size:10px}.shutdown p{font-size:10px;line-height:1.7;color:#a5b196}.status{border-radius:13px;border-color:#6d854f;background:#27351f;padding:19px}.status b{font-size:13px}.status p{font-size:12px;line-height:1.8}.status button{border-color:#87554a;color:#efc1b7;background:#432a23;border-radius:8px;font-size:11px}.activity-panel{margin-top:26px;padding:26px}.activity-panel .eyebrow{font-size:8px;letter-spacing:1.7px;color:#98a98e}.activity-panel .section-heading h2{font-size:20px}.console-head{margin:20px 0 12px}.console-head b{font-size:11px;color:#b1bfa7}.console-head span{font-size:10px;color:#a5ba95;background:#26351f;padding:3px 9px;border-radius:15px}.console-grid{gap:14px}.console-grid section{border:1px solid #343f2f;border-radius:12px;background:#0f1710}.console-grid section>b{padding:12px 15px;font-size:10px;color:#bbccb0;background:#1d281a;border-color:#35432d;letter-spacing:.4px}.console-grid pre{height:126px;padding:16px;font:10px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;color:#b2c0a5;scrollbar-color:#536344 transparent}.system-health{max-width:none;padding:22px 25px;border-radius:17px;margin:20px 0 0;background:#141d14;border-color:#35482e}.system-health-head b{font-size:12px;font-weight:550}.system-health-head span{font-size:10px}.system-health-grid{gap:12px;margin-top:17px}.system-health-grid>div{border:0;border-left:1px solid #3c5031;border-radius:0;background:transparent;padding:3px 15px}.system-health-grid small{font-size:8px;color:#a0b28f}.system-health-grid strong{font-size:13px;font-weight:500;margin-top:8px}.system-health-grid em{font-size:10px;line-height:1.7;margin-top:6px;color:#9cad8e}.system-health.warning{background:#251f13;border-color:#776037}.system-health.warning .system-health-grid>div{border-color:#6b592e}.market-grid{max-width:1408px;margin:0 auto 30px;gap:16px}.market-grid .solana-widget{border-radius:17px;border-color:#303b2c;background:linear-gradient(140deg,#1b2219,#121a12);padding:20px;margin:0}.market-grid .solana-title{font-size:8px;letter-spacing:1.1px;color:#a3b094}.market-grid .solana-price{font-size:18px;letter-spacing:-.5px;color:#e1edda}.market-grid .solana-note{font-size:9px;color:#96a58b;line-height:1.7}.chart-ranges button{border-radius:6px!important;font-size:9px!important}.chart-ranges button.active{background:#324428!important;border-color:#708b56!important;color:#d8efc3!important}.site-footer{max-width:1408px;padding:24px 0 32px!important;margin:auto;border-top:1px solid #ffffff0c!important;color:#88977e!important;font-size:10px!important;gap:12px!important}.site-footer-brand{color:#c3d2b6!important;font-size:12px!important}.history-panel{inset:16px 16px 16px auto;width:min(570px,calc(100vw - 32px));padding:28px;border:1px solid #4a5b3c;border-radius:22px;background:#192217;box-shadow:0 25px 150px #000d;z-index:25}.history-head{padding-bottom:20px;border-bottom:1px solid #405034}.history-head h2{font-size:22px}.history-head button,.history-card button,.calendar-nav button,.billing-person{font-size:11px;border-radius:9px;border-color:#526343;background:#2d3a25;color:#d9eacb}.history-card{padding:17px;border-color:#425338;background:#202c1b;border-radius:14px}.history-card img,.history-card video{border-radius:9px}.history-card h3{font-weight:500}.history-card p{line-height:1.8;color:#adbc9f}.history-card>div:last-child{flex-wrap:wrap}.history-link{font-size:11px}.calendar-cell{border-radius:8px;background:#1b2718;border-color:#3f5133;padding:7px}.calendar-cell.today{background:#314326}.calendar-total,.monthly-total{border:1px solid #4e6938;border-radius:12px;background:#2b3d21;color:#d1edb8}.billing-table th,.billing-table td{padding:10px 5px;text-align:left;border-bottom:1px solid #405233}.login-gate{background:radial-gradient(ellipse at 50% 25%,#344728 0,transparent 60%),radial-gradient(#8ab06418 1px,transparent 1px),#0d130e;background-size:auto,28px 28px,auto;padding:25px;overflow:auto}.login-card{width:min(460px,100%);padding:42px;border:1px solid #6e875144;border-radius:24px;background:linear-gradient(135deg,#293823f5,#141e12fa);box-shadow:0 30px 120px #0008}.login-symbol{width:48px;height:52px;border-radius:15px 15px 15px 3px;background:#d1f5a0;transform:rotate(-5deg);margin-bottom:29px}.login-card .login-kicker{font-size:9px;letter-spacing:2.2px;margin:0 0 12px;color:#b9cda8}.login-card h1{font-size:35px;letter-spacing:-1.5px;font-weight:550;line-height:1.2}.login-card p{font-size:12px;line-height:1.8;color:#a9ba9a}.login-card input{padding:15px;background:#121c10;border:1px solid #526641;border-radius:11px;font-size:12px}.login-card button{padding:15px;border-radius:11px;font-size:13px;background:#d1f5a0;color:#243518}.login-card small{font-size:12px;line-height:1.7}body .comfy-live-progress{border-radius:16px;padding:16px 19px;border-color:#68844b;background:#1c2a16f2;backdrop-filter:blur(16px);box-shadow:0 14px 60px #0008}body .comfy-live-track{height:5px}body .comfy-live-track span{background:#d1f5a0}.batch-queue{border-radius:14px;margin-top:18px}.batch-add-dialog{background:#070c08df}.batch-add-card{border-color:#62784c}.batch-add-submit{background:#d1f5a0}
@media(min-width:1500px){.video-track{aspect-ratio:1.3}}@media(max-width:1200px){.shell{padding:0 30px 26px}.market-grid,.site-footer{margin-left:30px;margin-right:30px}.layout{grid-template-columns:minmax(340px,.9fr) minmax(0,1.1fr);gap:20px}.main{padding:22px}.output-panel{padding:22px}.intro-art{margin-right:30px}.gpu{flex-wrap:wrap}.gpu small{width:100%;margin-left:23px}.shutdown{display:block}.shutdown p{margin-top:5px}.system-health-grid>div{padding:3px 10px}.video-track{aspect-ratio:1.1}.workspace-label,.header-divider{display:none}.brand{margin-right:auto}}
@media(max-width:900px){.shell{padding:0 22px 24px}.layout{grid-template-columns:minmax(300px,.95fr) minmax(0,1fr);gap:16px}.main,.output-panel,.side{padding:20px}.intro-art{margin-right:10px;transform:scale(.85);transform-origin:right center}.page-intro{min-height:235px;padding:30px 0}.page-intro h1{font-size:49px}.uploads{grid-template-columns:1fr}.uploads .upload{min-height:100px;flex-direction:row;align-items:center;padding:18px 15px;gap:12px}.uploads .upload-add{display:none}.upload-preview{width:65px;height:75px;flex-shrink:0}.output-panel>.section-heading h2{font-size:20px}.video-track{aspect-ratio:.95}.slide-nav button{font-size:10px;padding:9px 5px}.market-grid,.site-footer{margin-left:22px;margin-right:22px}.system-health-grid{grid-template-columns:1fr 1fr;gap:18px}.section-label{font-size:7px}.console-grid{gap:10px}.console-grid pre{font-size:9px;padding:12px}}
@media(max-width:760px){.shell{padding:0 16px 22px}.shell>header{min-height:80px;padding:17px 0 15px;gap:6px;flex-wrap:wrap}.brand{flex:1 1 100%;margin:0 0 7px}.brand b{font-size:19px}.history-toggle{padding:8px 12px;font-size:11px}.page-intro{min-height:220px;padding:30px 0;align-items:center}.page-intro h1{font-size:44px;letter-spacing:-2px}.page-intro p:last-child{max-width:240px;font-size:12px}.page-intro .eyebrow{font-size:8px;letter-spacing:1.4px}.intro-art{position:absolute;right:-92px;opacity:.42;transform:scale(.7);z-index:-1}.page-intro>div:first-child{z-index:1}.layout{grid-template-columns:1fr;gap:20px}.main,.output-panel,.side,.activity-panel{padding:22px;border-radius:17px}.uploads{grid-template-columns:1fr 1fr}.uploads .upload{flex-direction:column;align-items:flex-start;min-height:174px;padding:20px 15px}.uploads .upload-add{display:block}.upload-preview{width:100%;height:110px}.gpu{flex-wrap:nowrap}.gpu small{width:auto;margin:0;font-size:9px}.output-column{position:static;gap:18px}.video-track{aspect-ratio:1.18}.output-panel>.section-heading h2{font-size:24px}.slide-nav{margin-bottom:18px}.slide-nav button{font-size:11px;padding:10px 5px}.console-grid{grid-template-columns:1fr;gap:12px}.console-grid pre{height:96px;font-size:10px;padding:15px}.activity-panel{margin-top:20px}.activity-panel .section-heading h2{font-size:19px}.system-health{padding:20px;margin:18px 0 0}.system-health-head{align-items:flex-start;gap:10px}.system-health-head b{font-size:11px}.system-health-head span{font-size:9px;text-align:right}.system-health-grid{grid-template-columns:1fr 1fr}.market-grid{margin:0 16px 25px;gap:12px;grid-template-columns:1fr 1fr}.market-grid .solana-widget{padding:15px}.market-grid .solana-head{flex-direction:column;align-items:flex-start;gap:7px}.market-grid .solana-price{font-size:19px}.site-footer{margin:0 16px;flex-wrap:wrap;line-height:1.7}.login-card{padding:30px}.login-card h1{font-size:32px}.history-panel{padding:22px}.comfy-live-head{font-size:11px!important}.batch-file-preview{height:105px}}
@media(max-width:380px){.main,.output-panel,.side,.activity-panel{padding:17px}.uploads{gap:9px}.uploads .upload{padding:16px 11px}.uploads .upload b{font-size:11px}.gpu{flex-wrap:wrap}.gpu small{width:100%;margin-left:23px}.section-label{display:none}.market-grid{grid-template-columns:1fr}.login-card{padding:25px}.system-health-grid{grid-template-columns:1fr}.page-intro h1{font-size:40px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.top-nav{display:flex;align-items:center;gap:8px;min-width:0}.top-nav .history-toggle{white-space:nowrap}.shell>header>#logoutBtn{flex:0 0 auto}
@media(max-width:760px){.shell>header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand logout" "nav nav";align-items:center;row-gap:10px}.shell>header .brand{grid-area:brand;min-width:0;margin:0}.shell>header #logoutBtn{grid-area:logout;margin:0}.shell>header .header-divider,.shell>header .workspace-label{display:none}.top-nav{grid-area:nav;width:100%;overflow-x:auto;overflow-y:hidden;justify-content:flex-start;gap:7px;padding:3px 1px 6px;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.top-nav::-webkit-scrollbar{display:none}.top-nav .history-toggle{flex:0 0 auto;padding:9px 14px;border:1px solid #ffffff12;background:#151c16;border-radius:10px;font-size:11px}.top-nav .history-toggle:first-child{border-color:#526941;background:#202d1e}.shell>header>#logoutBtn{padding:9px 13px;border:1px solid #536443;border-radius:10px;background:#202b1d;color:#d5e9c5}.shell>header>#logoutBtn:hover{background:#2a3b24}.password-dialog{width:calc(100vw - 28px);max-height:calc(100dvh - 28px);padding:24px;border-radius:18px}.password-dialog h2{font-size:23px}.password-dialog p{margin-bottom:17px}.password-dialog label{margin:11px 0}.password-dialog input{min-height:45px}.password-actions button{min-height:43px}}
@media(min-width:1201px){.market-grid{width:calc(100% - 104px);grid-template-columns:repeat(4,minmax(0,1fr))}.site-footer{width:calc(100% - 104px)}}
@media(min-width:761px) and (max-width:1200px){.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Archive and costs: dedicated, spacious workspace */
body:has(#historyPanel:not([hidden])){overflow:hidden}body:has(#historyPanel:not([hidden])):before{content:'';position:fixed;inset:0;background:#080d09dc;backdrop-filter:blur(12px);z-index:24}.shell #historyPanel{position:fixed;inset:28px auto 28px 50%;transform:translateX(-50%);width:min(1060px,calc(100vw - 56px));max-height:calc(100dvh - 56px);padding:30px 34px;border-radius:24px;border:1px solid #4f6141;background:linear-gradient(135deg,#1d281b,#121b12);box-shadow:0 35px 120px #000a;overflow:auto;scrollbar-color:#52693e transparent}.history-head{position:sticky;top:-30px;z-index:2;background:#1a2418;padding:18px 0 23px;margin-top:-10px;border-bottom:1px solid #3a4c30}.history-head .eyebrow{font-size:9px;letter-spacing:2px;color:#9fb68b}.history-head h2{font-size:30px;font-weight:550;letter-spacing:-1px}.history-head #historyClose{padding:10px 15px;border:1px solid #526840;background:#2b3b23;border-radius:10px;font-size:12px;color:#ddedce}.history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:25px}.history-list .history-card{display:flex;flex-direction:column;gap:0;min-width:0;padding:0;border:1px solid #3d5032;border-radius:17px;overflow:hidden;background:linear-gradient(135deg,#25311f,#1c2718)}.history-media{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:#10190e;min-height:170px}.history-media a{display:block;position:relative;overflow:hidden;min-width:0;height:190px}.history-card .history-media img,.history-card .history-media video{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}.history-media a>span{position:absolute;bottom:12px;left:12px;background:#111b10d9;border:1px solid #64804d77;border-radius:6px;padding:4px 7px;color:#e0efcf;font-size:8px;letter-spacing:1.5px;backdrop-filter:blur(8px)}.history-no-video{display:grid;place-items:center;color:#8b9f7c;font-size:11px;background:radial-gradient(#5d794131 1px,transparent 1px);background-size:16px 16px}.history-details{padding:20px 20px 15px;flex:1}.history-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.history-card-heading time{font-size:10px;color:#a3b393}.history-state{font-size:10px;border:1px solid #6a7543;border-radius:20px;padding:4px 9px;color:#dddba5;background:#343a22}.history-state.is-finished{color:#d4efa7;background:#354923;border-color:#627e40}.history-state.is-error{color:#ffb9aa;background:#4a2c22;border-color:#845442}.history-card .history-details h3{font-size:16px;font-weight:550;letter-spacing:-.3px;overflow-wrap:anywhere;margin:0 0 6px;color:#e7f1dc}.history-card .history-video-name{font-size:11px;line-height:1.6;margin:0;color:#a6b798}.history-card .history-user{font-size:10px;color:#9fb48c;margin:12px 0 0}.history-output-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.history-output-links:empty{display:none}.history-output-links a{font-size:10px;text-decoration:none;background:#304225;border:1px solid #566f40;border-radius:8px;padding:8px 10px;color:#d8eebc}.history-card .history-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 20px;border-top:1px solid #3b4d30;margin-top:auto;background:#172212}.history-saved{font-size:10px;color:#aec994}.history-actions .resume-job{background:#cceb9d;color:#263617;border:0;padding:9px 13px}.history-actions .delete-job{margin-left:auto;color:#c6a997;background:transparent;border:1px solid #60533c;padding:7px 11px}.history-error{padding:10px;border-radius:8px;background:#4c2a21;color:#edb8a8!important;font-size:11px!important}.history-empty{grid-column:1/-1;text-align:center;margin:10px 0;padding:65px 24px;border:1px dashed #4e653c;border-radius:17px;background:#1c2817;color:#adc296;font-size:14px}.billing-intro{margin:27px 0 18px}.billing-intro>p{font-size:9px;letter-spacing:1.8px;color:#a3ba8c;margin:0 0 8px}.billing-intro h3{font-size:25px;letter-spacing:-.7px;font-weight:500;margin:0 0 8px}.billing-intro>span{font-size:12px;color:#a5b896}.billing-people{display:flex;flex-wrap:wrap;gap:10px;margin:21px 0 25px}.billing-people .billing-person{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:10px 14px;border:1px solid #425936;background:#1c2b17;border-radius:12px;font-size:12px}.billing-people .billing-person.active{border-color:#a6c57a;background:#304425;color:#e6f6d2}.billing-avatar{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:9px;background:#435e2f;color:#d7edb9;font-size:11px}.billing-person-check{margin-left:8px;visibility:hidden;color:#d1f5a0}.billing-person.active .billing-person-check{visibility:visible}.billing-summary{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-bottom:24px}.billing-summary article{padding:23px 25px;border:1px solid #5b743f;border-radius:16px;background:radial-gradient(ellipse at 90% 5%,#54773450,transparent 70%),#263a1e;display:grid;gap:11px}.billing-summary article+article{background:#1e2d19;border-color:#425b33}.billing-summary small{font-size:9px;letter-spacing:1.4px;color:#b2c59d}.billing-summary strong{font-size:38px;font-weight:500;line-height:1.2;letter-spacing:-1.6px;color:#dcf5b7;font-variant-numeric:tabular-nums}.billing-summary em{font-style:normal;font-size:22px;color:#a3bf87}.billing-summary span{font-size:11px;color:#acc695;overflow-wrap:anywhere}.full-calendar{border:1px solid #435b34;border-radius:17px;padding:22px;background:#172513}.full-calendar .calendar-nav{margin:0 0 22px;gap:16px}.calendar-nav strong{font-size:17px;font-weight:500;text-transform:capitalize;letter-spacing:-.4px}.calendar-nav button{width:36px;height:36px;padding:0;border-radius:10px}.full-calendar .calendar-grid{gap:8px;margin:0}.calendar-week{font-size:10px;padding:0 0 8px;color:#a7bc94}.calendar-grid .calendar-cell{min-width:0;min-height:86px;padding:11px;border:1px solid #304627;border-radius:10px;background:#1e2e18;color:#a8bd93;font-size:12px;font-variant-numeric:tabular-nums}.calendar-cell b{font-weight:500}.calendar-grid .calendar-cell small{font-size:10px;margin-top:5px;color:#92aa7d}.calendar-grid .calendar-cell.has-usage{background:#344d24;border-color:#668748}.calendar-grid .calendar-cell.has-usage small:last-child{font-weight:600;color:#d7f1af}.calendar-grid .calendar-cell.today{border:1px solid #d1f5a0;box-shadow:inset 0 0 0 1px #d1f5a030;background:#2d431f}.billing-footnote{font-size:10px;color:#a2b88d;line-height:1.6;margin:17px 0 0}
@media(max-width:700px){.shell #historyPanel{inset:10px auto 10px 50%;width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:20px 16px;border-radius:18px}.history-head{top:-20px;padding:14px 0 18px;margin-top:-6px}.history-head h2{font-size:25px}.history-list{grid-template-columns:1fr;gap:16px;margin-top:20px}.history-media a{height:180px}.history-details{padding:17px}.history-card .history-actions{padding:13px 17px}.billing-intro h3{font-size:22px}.billing-summary{gap:10px;margin-bottom:17px}.billing-summary article{padding:17px 14px;gap:9px}.billing-summary strong{font-size:30px}.billing-summary small{font-size:8px;letter-spacing:.8px}.full-calendar{padding:13px;border-radius:13px}.full-calendar .calendar-grid{gap:4px}.calendar-grid .calendar-cell{min-height:67px;padding:6px 3px;border-radius:6px;font-size:10px}.calendar-grid .calendar-cell small{font-size:8px;letter-spacing:-.2px}.calendar-nav strong{font-size:14px}.calendar-week{font-size:9px}.billing-footnote{font-size:9px}.history-head #historyClose{font-size:11px;padding:9px 11px}}
.video-slide.is-generating>.preview-symbol,.video-slide.is-generating>p,.video-slide.is-generating>video,.video-slide.is-generating>.download-link,.video-slide.is-generating>b{visibility:hidden}.output-generating{position:absolute;inset:18px;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;border:1px solid #78955755;border-radius:11px;background:radial-gradient(circle at 50% 44%,#49633466,transparent 48%),linear-gradient(145deg,#172215f5,#0d140ef5);overflow:hidden}.output-generating[hidden]{display:none}.output-generating:before{content:'';position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,#d1f5a012 48%,transparent 66%);animation:outputSweep 2.2s linear infinite}.output-generating span{width:52px;height:52px;border:2px solid #566c45;border-top-color:#d1f5a0;border-radius:50%;box-shadow:0 0 25px #bce68b22;animation:outputSpin 1s linear infinite}.output-generating b{font-size:13px!important;color:#e0f4cc!important;visibility:visible!important}.output-generating small{color:#9fb292;font-size:10px;letter-spacing:.1px}.video-slide.has-output>.output-generating{display:none}@keyframes outputSpin{to{transform:rotate(360deg)}}@keyframes outputSweep{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
.billing-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0 22px}.billing-totals article{padding:18px 20px;border:1px solid #4d6839;border-radius:15px;background:linear-gradient(145deg,#2c4522,#1a2b17);display:grid;gap:8px}.billing-totals article:nth-child(2){background:#1c2f19}.billing-totals article:nth-child(3){background:#263d20;border-color:#89a85e}.billing-totals small{font-size:9px;letter-spacing:1.2px;color:#b7cda4}.billing-totals strong{font-size:28px;font-weight:550;color:#ddf6bd;font-variant-numeric:tabular-nums}@media(max-width:700px){.billing-totals{grid-template-columns:1fr}.billing-totals article{padding:15px 16px}}
