.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-creator{height:100%;display:flex;flex-direction:column;min-height:0;background:light-dark(#fcfaf1,#1a1b1d)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-creator .creator-fields{scrollbar-width:thin;scrollbar-color:#9f5664 transparent;padding:22px 19px;display:grid;grid-gap:22px;gap:22px;overflow:auto;min-height:0;flex:1 1}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-heading>span,.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-stage header>span{font-size:9px;letter-spacing:2px;color:light-dark(#954649,#d294a0)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-heading h1{font-size:23px;line-height:1.2;letter-spacing:-.6px;margin:9px 0;color:light-dark(#27372e,#f5f3f5)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-heading p{font-size:11px;line-height:1.6;color:light-dark(#485c4f,#a7a5a7);margin:0}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-section{display:grid;grid-gap:10px;gap:10px;min-width:0}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:23px;font-size:11px;margin:0!important}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-section-title strong{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:500;color:light-dark(#27372e,#dddbdd)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-section-title strong>span{color:light-dark(#954649,#ce919d);font-size:9px;letter-spacing:1px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-section-title small{font-size:9px;color:light-dark(#556658,#9e9c9e)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-section-title button{display:flex;align-items:center;gap:6px;font-size:10px;background:none;border:0;color:light-dark(#954649,#d2a2ac);padding:3px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:110px;border:1px dashed light-dark(#54684954,#acaaac54);background:light-dark(#ab74730a,#e58fa00a);border-radius:14px;color:light-dark(#954649,#e4b8c1);width:100%}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-upload strong{font-size:12px;font-weight:500}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-upload small{color:light-dark(#556658,#9f9d9f);font-size:9px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-source{display:flex;align-items:flex-start;gap:11px;border:1px solid light-dark(#54684930,#c1bfc130);border-radius:13px;background:light-dark(#ab747309,#e68d9f09);padding:13px;color:light-dark(#954649,#cfa0a9)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-source>div{flex:1 1;min-width:0;display:grid;grid-gap:5px;gap:5px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-source strong{font-size:11px;color:light-dark(#27372e,#e9e7e9);font-weight:500;overflow-wrap:anywhere}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-source small{font-size:10px;color:light-dark(#485c4f,#a4a2a4)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-source button{padding:0;border:0;background:none;color:light-dark(#954649,#ddadb7);font-size:10px;text-align:left;min-height:21px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-source>button{padding:4px;flex-shrink:0}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-section textarea{width:100%;height:110px;min-height:90px;max-height:240px;resize:vertical;background:light-dark(#f4f2e7,#141517);border:1px solid light-dark(#54684955,#7b797b55);border-radius:13px;color:light-dark(#27372e,#efedef);font-size:13px;line-height:1.7;padding:13px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-section textarea::placeholder{color:light-dark(#556658,#828082)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-prompt-note{display:flex;align-items:flex-start;gap:10px;justify-content:space-between;font-size:9px;color:light-dark(#556658,#9e9c9e)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-prompt-note small{font-size:9px;line-height:1.6}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-prompt-note>span{white-space:nowrap}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-note{font-size:10px;line-height:1.6;color:light-dark(#485c4f,#a7a5a7);margin:0}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-add-photos{display:flex;align-items:center;justify-content:center;gap:8px;min-height:35px;border:1px solid light-dark(#54684938,#adabad38);background:light-dark(#ab74730c,#cc8a970c);border-radius:10px;color:light-dark(#954649,#dfaeb8);font-size:11px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-section .photo-reference-grid:empty{display:none}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-bottom{padding:15px 18px;display:grid;grid-gap:11px;gap:11px;background:light-dark(#fcfaf1,#1d1e20);border-top:1px solid light-dark(#54684926,#a7a5a726)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-bottom .studio-choice-trigger{min-height:43px;font-size:12px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-bottom .studio-choice-popup{width:340px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-options{display:flex;align-items:center;justify-content:space-between;gap:8px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-options button{display:flex;align-items:center;gap:5px;min-height:28px;padding:4px 0;border:0;background:none;color:light-dark(#485c4f,#b1afb1);font-size:9px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-options i{display:block;width:22px;height:12px;background:light-dark(#eeeee2,#424345);border-radius:9px;position:relative}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-options i:after{content:"";position:absolute;top:2px;left:2px;width:8px;height:8px;border-radius:50%;background:light-dark(#d9a3a0,#cda1aa)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-options i.is-on{background:light-dark(#e5cac4,#b26474)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-options i.is-on:after{left:12px;background:#f8eff2}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-price{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:light-dark(#485c4f,#b9b7b9)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-price strong{font-size:13px;color:light-dark(#27372e,#eceaec)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-error{font-size:11px;line-height:1.6;color:light-dark(#77562c,#e8b18e);margin:0}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-bottom .composer-generate{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;min-height:43px;font-size:12px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-bottom .composer-generate:disabled{opacity:.4}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-stage{max-width:900px;margin:0 auto;padding:34px 24px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-stage h2{font-size:27px;letter-spacing:-.7px;line-height:1.2;margin:12px 0;color:light-dark(#27372e,#eeecee)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-stage header p{font-size:12px;line-height:1.8;color:light-dark(#485c4f,#aaa8aa);max-width:650px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-canvas{background:radial-gradient(ellipse at 50% 0,light-dark(#ab747324,#8a4b5724),transparent 70%),light-dark(#f4f2e7,#121315);border:1px solid light-dark(#54684947,#a7a5a747);border-radius:20px;overflow:hidden;box-shadow:0 20px 55px light-dark(#27392b1b,#0003);margin-top:24px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-canvas video.composer-edit-preview{width:100%;height:340px;max-height:48dvh;object-fit:contain;background:light-dark(#f4f2e7,#0a0b0d);display:block}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-canvas>small{display:block;padding:13px 16px;color:light-dark(#485c4f,#b7b5b7);font-size:10px;overflow-wrap:anywhere}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-empty{width:100%;min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:light-dark(#954649,#d79ba7)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-empty strong{font-size:16px;font-weight:500}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-empty>span{font-size:11px;color:light-dark(#556658,#969496)}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-preserve{display:flex;align-items:flex-start;gap:8px;font-size:10px;line-height:1.7;color:light-dark(#556658,#908e90);margin:18px 0}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-preserve svg{flex-shrink:0;margin-top:1px}@media(min-width:761px) and (max-height:800px){.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-creator .creator-fields{padding:15px 16px;gap:17px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-heading h1{font-size:20px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-bottom{padding:10px 16px;gap:8px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-section textarea,.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-upload{min-height:90px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-stage{padding:22px 18px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-canvas video.composer-edit-preview{height:280px}}@media(max-width:760px){.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-creator{height:auto}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-creator .creator-fields{overflow:visible}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-section textarea{font-size:16px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-bottom{position:static}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-stage{padding:24px 10px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-stage h2{font-size:23px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-empty{min-height:230px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-canvas video.composer-edit-preview{height:260px}.nemoriq-ui .studio-reference-app .studio-video-page .edit-flow-bottom .studio-choice-popup{max-width:calc(100vw - 48px)}}.replacement-creator{height:100%;min-width:0;display:flex;flex-direction:column}.replacement-creator .creator-fields{padding:20px 16px;display:grid;grid-gap:18px;gap:18px;overflow-y:auto}.replacement-heading{display:flex;gap:12px;align-items:center}.replacement-heading>span{display:grid;place-items:center;width:44px;height:44px;border:1px solid light-dark(#5468495c,#b6b4b65c);border-radius:14px;background:linear-gradient(140deg,light-dark(#edddd5,#9c3d50),light-dark(#f8f7ed,#2b2c2e));box-shadow:0 5px 16px light-dark(#fffef61a,#f0738c1a)}.replacement-heading h1{font-size:20px;margin:0 0 6px}.replacement-heading p{font-size:11px;color:light-dark(#485c4f,#afadaf);margin:0;line-height:1.5}.replacement-model{display:flex;align-items:center;gap:7px;font-size:12px;color:light-dark(#27372e,#e2e0e2);flex-wrap:wrap}.replacement-model>span{width:6px;height:6px;border-radius:50%;background:light-dark(#9cb590,#76dfc5);box-shadow:0 0 10px light-dark(#fffef660,#76dfc560)}.replacement-model small{margin-left:auto;font-size:10px;color:light-dark(#485c4f,#a8a6a8)}.replacement-step{display:grid;grid-gap:10px;gap:10px;min-width:0}.replacement-step-title{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:12px;margin:0!important}.replacement-step-title label,.replacement-step-title>span{display:flex;align-items:center;gap:8px}.replacement-step-title b{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;background:light-dark(#eeeee2,#393a3c);color:light-dark(#954649,#ffb9c7);font-size:11px;margin-right:5px}.replacement-step-title button{font-size:11px;background:none;border:0;color:light-dark(#954649,#e4a5b2);cursor:pointer}.replacement-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:122px;width:100%;border:1px dashed light-dark(#5468498c,#8c8a8c8c)!important;border-radius:14px!important;background:radial-gradient(ellipse at top,light-dark(#ab747325,#9d4a5b25),transparent 75%),light-dark(#fcfaf1,#202123)!important;color:light-dark(#954649,#eec4cc);cursor:pointer;transition:border-color .2s,transform .2s}.replacement-upload:hover{border-color:light-dark(#a86c6c,#ed96a7)!important;transform:translateY(-1px)}.replacement-upload strong{font-size:12px;font-weight:500}.replacement-upload small{font-size:10px;color:light-dark(#485c4f,#a7a5a7)}.replacement-image-upload{min-height:108px}.replacement-hint{font-size:10px!important;line-height:1.7;color:light-dark(#485c4f,#aaa8aa);margin:0}.replacement-media{position:relative;background:light-dark(#f4f2e7,#121315);border:1px solid light-dark(#5468495c,#6a686a5c);border-radius:13px;overflow:hidden}.replacement-media video.composer-edit-preview{width:100%;height:170px;max-height:170px;object-fit:contain;background:light-dark(#f4f2e7,#0a0b0d)}.replacement-media>div{display:grid;grid-gap:5px;gap:5px;padding:10px 12px}.replacement-media strong{font-size:11px;overflow-wrap:anywhere;font-weight:500}.replacement-media small{font-size:10px;color:light-dark(#485c4f,#adabad)}.replacement-media>button,.replacement-photo>button{position:absolute;right:8px;top:8px;border:1px solid light-dark(#54684966,#b3b1b366)!important;background:light-dark(#85987bd9,#1e1f21d9)!important;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;cursor:pointer}.replacement-photo{position:relative;border:1px solid light-dark(#54684971,#8a888a71);border-radius:13px;overflow:hidden;background:light-dark(#f4f2e7,#121315)}.replacement-photo img{display:block;width:100%;height:155px;object-fit:contain}.replacement-photo>span{display:block;overflow-wrap:anywhere;padding:8px 12px;font-size:10px;color:light-dark(#485c4f,#afadaf)}.replacement-step>label:not(.replacement-step-title){font-size:11px;margin:5px 0 0!important}.video-page .video-form .replacement-step input,.video-page .video-form .replacement-step textarea{width:100%;box-sizing:border-box;background:light-dark(#f4f2e7,#151618);border:1px solid light-dark(#54684978,#58565878);border-radius:10px;color:light-dark(#27372e,#eee);font-size:12px;padding:12px;line-height:1.7;min-width:0}.replacement-step textarea{min-height:90px;resize:vertical}.replacement-step input:focus,.replacement-step textarea:focus{outline:2px solid light-dark(#a86c6c77,#e3758b77);outline-offset:1px}.replacement-bottom{display:grid!important;grid-gap:10px;gap:10px;padding:13px 16px!important;border-top:1px solid light-dark(#54684955,#615f6155);background:light-dark(#fcfaf1,#1f2022)}.replacement-settings{display:flex;align-items:center;gap:8px;justify-content:center;padding:10px;border:1px solid light-dark(#5468496b,#7371736b);border-radius:10px;background:light-dark(#f8f7ed,#2a2b2d);color:light-dark(#954649,#eec9d0);font-size:11px;cursor:pointer}.replacement-settings span{overflow-wrap:anywhere}.replacement-audio{display:flex;align-items:center;gap:7px;font-size:11px;margin:0!important;cursor:pointer}.replacement-audio input{width:15px!important;height:15px;accent-color:#ed778f}.replacement-price{display:grid;grid-gap:7px;gap:7px;padding:10px 11px;border:1px solid light-dark(#5468493d,#8482843d);border-radius:10px;background:light-dark(#fcfaf1,#1c1d1f)}.replacement-price>span{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:light-dark(#485c4f,#b9b7b9)}.replacement-price strong{color:light-dark(#27372e,#e7e5e7);white-space:nowrap;font-size:11px}.replacement-price small{font-size:9px;line-height:1.65;color:light-dark(#556658,#9f9d9f)}.replacement-error{font-size:11px;color:light-dark(#77562c,#efbb8b);line-height:1.6;margin:0}.replacement-bottom .composer-generate{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:48px;border-radius:12px!important;background:linear-gradient(115deg,light-dark(#d9a3a0,#ff738f),light-dark(#e5cac4,#c24f66))!important;border:1px solid light-dark(#b8c2ae,#d8d6d8)!important;box-shadow:inset 0 2px 0 light-dark(#fffef633,#fff3),0 4px 0 light-dark(#3f53402b,#8f3144),0 9px 22px light-dark(#27392b14,#df4b6927)!important;color:white;font-weight:600;cursor:pointer}.replacement-bottom .composer-generate:disabled{opacity:.5;cursor:default}.replacement-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));grid-gap:10px;gap:10px;margin:0 0 16px}.replacement-library button{display:flex;align-items:center;gap:12px;padding:16px;background:light-dark(#fcfaf1,#252628);border:1px solid light-dark(#b8c2ae,#626062);border-radius:12px;color:light-dark(#27372e,#e5e3e5);text-align:left;cursor:pointer;min-width:0}.replacement-library button span{font-size:12px;overflow-wrap:anywhere;flex:1 1}.replacement-library button svg{flex-shrink:0}.replacement-parameters{display:grid;grid-gap:10px;gap:10px}.replacement-parameters h3{margin:0;font-size:16px}.replacement-parameters :is(input,select){width:100%;box-sizing:border-box;background:light-dark(#fcfaf1,#18191b);color:light-dark(#27372e,#eee);padding:10px;border:1px solid light-dark(#b8c2ae,#5e5c5e);border-radius:8px}.replacement-parameters label{font-size:12px;margin:5px 0 0}.replacement-parameters small{font-size:11px;line-height:1.7;color:light-dark(#485c4f,#b8b6b8)}.replacement-parameters button{padding:10px;border:1px solid light-dark(#b8c2ae,#646264);border-radius:9px;background:light-dark(#f8f7ed,#2b2c2e);color:light-dark(#954649,#f4c9d2);cursor:pointer}@media(max-width:760px){.replacement-creator{height:auto}.replacement-creator .creator-fields{overflow:visible;padding:18px 14px}.replacement-bottom{position:static}.replacement-heading h1{font-size:19px}.replacement-media video.composer-edit-preview{height:190px;max-height:190px}.replacement-step input,.replacement-step textarea{font-size:16px!important}.generation-mode-switch{max-width:100%;overflow-x:auto;scrollbar-width:thin}.generation-mode-switch button{flex-shrink:0}.replacement-parameters input{font-size:16px}}.replacement-stage{max-width:800px;margin:0 auto;padding:38px 28px;box-sizing:border-box}.replacement-stage-kicker{letter-spacing:3px;color:light-dark(#954649,#e193a3);font-size:10px}.replacement-stage h2{font-size:30px;line-height:1.25;letter-spacing:-.7px;margin:14px 0}.replacement-stage>p{font-size:13px;line-height:1.8;color:light-dark(#485c4f,#aba9ab);max-width:590px}.replacement-stage-inputs{display:grid;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);grid-gap:20px;gap:20px;align-items:center;margin:30px 0}.replacement-stage-inputs>div{min-width:0;display:grid;grid-gap:9px;gap:9px}.replacement-stage-art{height:235px;border-radius:22px;border:1px solid light-dark(#54684977,#74727477);background:radial-gradient(ellipse at top,light-dark(#ab747338,#b2435938),transparent 80%),light-dark(#fcfaf1,#1e1f21);position:relative;display:grid;place-items:center;overflow:hidden;color:light-dark(#954649,#d994a2);box-shadow:inset 0 1px 0 light-dark(#fffef60c,#ffffff0c),0 15px 40px light-dark(#27392b1b,#0003)}.replacement-stage-art img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.replacement-stage-art>span{position:absolute;top:13px;left:13px;border-radius:8px;background:#18191baa;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid light-dark(#5468494d,#9c9a9c4d);padding:6px 9px;font-size:10px;color:light-dark(#954649,#ffd6de)}.replacement-stage-inputs strong{font-size:14px;font-weight:500}.replacement-stage-inputs small{color:light-dark(#485c4f,#aaa8aa);font-size:11px}.replacement-stage-arrow{color:light-dark(#954649,#e98fa1);margin-bottom:42px}.replacement-stage-instruction{display:flex;gap:13px;align-items:center;padding:17px;border-radius:15px;border:1px solid light-dark(#54684942,#89878942);background:linear-gradient(100deg,light-dark(#85987b35,#3d3e4035),light-dark(#85987b44,#21222444));color:light-dark(#954649,#e9b7c1)}.replacement-stage-instruction svg{flex-shrink:0}.replacement-stage-instruction strong{font-size:13px}.replacement-stage-instruction p{font-size:11px;line-height:1.7;color:light-dark(#485c4f,#a7a5a7);margin:6px 0 0}@media(max-width:760px){.replacement-stage{padding:24px 8px}.replacement-stage h2{font-size:23px}.replacement-stage-inputs{gap:9px;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr)}.replacement-stage-art{height:165px;border-radius:14px}.replacement-stage-inputs strong{font-size:12px}.replacement-stage-inputs small{font-size:10px}.replacement-stage-arrow{width:20px}.object-replacement-workbench{display:flex!important;flex-direction:column}.object-replacement-workbench .generation-workspace{display:contents}.object-replacement-workbench .generation-workspace-header{order:-1}.object-replacement-workbench .generation-controls{order:0}.object-replacement-workbench .generation-workspace-body{order:1}}.replacement-stage-instruction strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;overflow-wrap:anywhere}.replacement-step textarea{min-height:200px}.cartoon-studio{display:grid;grid-gap:24px;gap:24px;width:100%;padding-bottom:48px}.cartoon-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.cartoon-intro h1{font-size:clamp(28px,4vw,40px);letter-spacing:-.05em;margin:8px 0}.cartoon-intro p{max-width:650px;opacity:.73}.cartoon-layout{display:grid;grid-template-columns:minmax(200px,255px) minmax(0,1fr);grid-gap:20px;gap:20px;align-items:start}.cartoon-chapters,.cartoon-empty,.cartoon-export,.cartoon-form,.cartoon-list,.cartoon-overview{border:1px solid var(--border,light-dark(#54684966,#3336));border-radius:19px;background:var(--surface,light-dark(#85987b08,#ffffff08));padding:21px;min-width:0}.cartoon-list{display:grid;grid-gap:10px;gap:10px;position:-webkit-sticky;position:sticky;top:16px}.cartoon-list>strong{font-size:13px;opacity:.7;margin-bottom:8px}.cartoon-list>button{color:inherit;text-align:left;display:flex;align-items:center;gap:9px;border:1px solid transparent;border-radius:12px;padding:12px;background:transparent;cursor:pointer}.cartoon-list>button[aria-pressed=true]{background:rgba(40,180,153,.12);border-color:rgba(40,180,153,.35)}.cartoon-list>button>span{flex:1 1;min-width:0;overflow-wrap:anywhere}.cartoon-list small{display:block;opacity:.6;font-size:11px;margin-top:5px}.cartoon-main{display:grid;grid-gap:22px;gap:22px;min-width:0}.cartoon-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}.cartoon-section-heading h2{margin:5px 0 8px;font-size:clamp(21px,3vw,27px);letter-spacing:-.035em}.cartoon-section-heading p{opacity:.75;margin:0}.cartoon-section-heading>button{background:transparent;border:1px solid light-dark(#54684955,#8885);border-radius:10px;color:inherit;cursor:pointer;padding:8px 12px;white-space:nowrap}.cartoon-chapter-form,.cartoon-form{display:grid;grid-gap:15px;gap:15px}.cartoon-chapter-form label,.cartoon-character label:not(.cartoon-image-upload),.cartoon-form label{display:grid;grid-gap:7px;gap:7px;font-size:13px;font-weight:600}.cartoon-chapter-form input,.cartoon-chapter-form select,.cartoon-chapter-form textarea,.cartoon-form input:not([type=file]),.cartoon-form textarea{font:inherit;width:100%;border:1px solid light-dark(#54684955,#8885);border-radius:10px;padding:11px 12px;background:var(--background,light-dark(#f4f2e7,#161818));color:inherit}.cartoon-studio textarea{resize:vertical}.cartoon-cast{display:grid;grid-gap:14px;gap:14px;margin:5px 0 12px}.cartoon-cast h3,.cartoon-chapter-form h3{margin:0}.cartoon-cast>p,.cartoon-chapters>p,.cartoon-export>p{margin:0 0 8px;opacity:.7;font-size:13px;line-height:1.6}.cartoon-character{display:grid;grid-template-columns:140px minmax(0,1fr);grid-gap:16px;gap:16px;padding:14px;background:rgba(128,128,128,.07);border:1px solid light-dark(#54684933,#8883);border-radius:14px}.cartoon-character>div{display:grid;grid-gap:10px;gap:10px;align-content:start}.cartoon-image-upload{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed light-dark(#54684977,#8887);border-radius:11px;min-height:150px;overflow:hidden;cursor:pointer;font-size:12px!important;text-align:center;background:rgba(128,128,128,.05)}.cartoon-image-upload img{width:100%;height:150px;object-fit:contain}.cartoon-image-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.cartoon-add,.cartoon-remove{justify-self:start;border:0;background:transparent;color:inherit;opacity:.8;cursor:pointer;display:flex;gap:7px;align-items:center}.cartoon-remove{font-size:12px}.cartoon-hero-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:13px;gap:13px}.cartoon-hero-grid figure{margin:0;min-width:0;overflow:hidden;background:light-dark(#85987b11,#8881);border:1px solid light-dark(#54684933,#8883);border-radius:12px}.cartoon-hero-grid img{width:100%;height:175px;object-fit:contain;display:block}.cartoon-hero-grid figcaption{display:grid;grid-gap:5px;gap:5px;padding:10px;font-size:13px}.cartoon-hero-grid small{opacity:.65;line-height:1.4;overflow-wrap:anywhere}.cartoon-chapter{display:grid;grid-template-columns:38px minmax(0,1fr) auto;grid-gap:14px;gap:14px;align-items:start;border-top:1px solid light-dark(#54684933,#8883);padding:17px 0}.cartoon-chapter-index{font-size:21px;font-weight:700;opacity:.4}.cartoon-chapter small,.cartoon-chapter strong{display:block}.cartoon-chapter small{font-size:12px;opacity:.68;margin-top:5px}.cartoon-chapter p{font-size:13px;margin:8px 0 0;line-height:1.5;opacity:.7;overflow-wrap:anywhere}.cartoon-open{display:flex;align-items:center;gap:6px;border:1px solid light-dark(#54684955,#8885);padding:9px 10px;border-radius:10px;background:transparent;color:inherit;cursor:pointer;font-size:12px}.cartoon-chapter-form{padding:19px;border-radius:13px;background:rgba(128,128,128,.07);margin-top:12px}.cartoon-chapter-form>button,.cartoon-export>button{justify-self:start}.cartoon-export-row{display:flex;align-items:center;gap:15px;flex-wrap:wrap;border:1px solid light-dark(#54684944,#8884);border-radius:12px;padding:11px 13px;margin:9px 0;font-size:13px}.cartoon-export-row a{display:flex;gap:6px;color:inherit;align-items:center;text-decoration:underline}.cartoon-export-row small{opacity:.7}.cartoon-notice{padding:12px 16px;border:1px solid light-dark(#54684966,#8886);border-radius:11px;margin:0;line-height:1.5}.cartoon-empty{text-align:center;display:flex;align-items:center;flex-direction:column;padding:60px 18px;gap:10px}.cartoon-empty p{max-width:410px;opacity:.7}@media(max-width:760px){.cartoon-layout{grid-template-columns:1fr}.cartoon-list{position:static}.cartoon-list>button{padding:9px}.cartoon-hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cartoon-chapter{grid-template-columns:27px minmax(0,1fr)}.cartoon-open{grid-column:2;justify-self:start}}@media(max-width:430px){.cartoon-character{grid-template-columns:1fr}.cartoon-image-upload{max-width:230px}.cartoon-hero-grid{grid-template-columns:1fr}.cartoon-section-heading{flex-wrap:wrap}}.scenario-studio{--scenario-panel:light-dark(#fcfaf1,#1c1d1f);--scenario-line:light-dark(#b8c2ae,#303133);--scenario-muted:light-dark(#485c4f,#b5b3b5);color:light-dark(#27372e,#f5f3f5);padding:28px;max-width:1600px;margin:auto;box-sizing:border-box}.scenario-studio button,.scenario-studio input,.scenario-studio select,.scenario-studio textarea{font:inherit;box-sizing:border-box}.scenario-studio input,.scenario-studio select,.scenario-studio textarea{background:light-dark(#f4f2e7,#161719);color:light-dark(#27372e,#f5f3f5);border:1px solid var(--scenario-line);border-radius:9px;padding:10px;min-width:0;width:100%}.scenario-studio textarea{resize:vertical;line-height:1.6}.scenario-studio label{display:flex;flex-direction:column;gap:7px;color:light-dark(#27372e,#dcdadc);font-size:12px}.scenario-studio button{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:light-dark(#27372e,#f0eef0);background:light-dark(#fcfaf1,#242527);border:1px solid light-dark(#b8c2ae,#3a3b3d);border-radius:9px;padding:10px 13px;cursor:pointer}.scenario-studio button:disabled{opacity:.45;cursor:default}.scenario-studio button:focus-visible,.scenario-studio input:focus-visible,.scenario-studio select:focus-visible,.scenario-studio textarea:focus-visible{outline:2px solid light-dark(#a86c6c,#fb9aad);outline-offset:3px}.scenario-studio .studio-gold-button{background:light-dark(#d9a3a0,#f5b5c2);color:#1e1f21;border-color:light-dark(#b8c2ae,#d7d5d7);font-weight:650}.scenario-studio .hint{color:var(--scenario-muted);font-size:12px;line-height:1.6}.scenario-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.scenario-heading h1{display:flex;align-items:center;gap:12px;font-size:25px;margin:10px 0}.scenario-heading p{color:var(--scenario-muted);margin:0}.scenario-heading .eyebrow{font-size:10px;letter-spacing:.16em;color:light-dark(#954649,#f0a4b3)}.scenario-project-select{display:flex;align-items:center;gap:14px;margin-bottom:20px}.scenario-project-select select{max-width:530px}.scenario-project-select>label{white-space:nowrap}.scenario-project-select>span{margin-left:auto;color:var(--scenario-muted);font-size:12px}.scenario-start{display:grid;grid-template-columns:1fr 1.25fr;grid-gap:35px;gap:35px;padding:36px;border:1px solid var(--scenario-line);border-radius:18px;background:var(--scenario-panel)}.scenario-start-illustration{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:24px;color:light-dark(#954649,#faa6b7)}.scenario-start-illustration h2{font-size:25px;color:light-dark(#27372e,#f5f3f5);line-height:1.4}.scenario-start-illustration p{color:var(--scenario-muted);line-height:1.7;max-width:400px}.scenario-studio fieldset{border:0;padding:0;margin:0;min-width:0}.scenario-start textarea{min-height:190px;margin:9px 0 18px}.scenario-form-row{display:flex;gap:12px;margin-bottom:18px}.scenario-form-row>label{flex:1 1;min-width:0}.scenario-start-secondary{display:flex;gap:12px;flex-wrap:wrap}.scenario-start-secondary button{font-size:12px;background:transparent}.scenario-layout{display:grid;grid-template-columns:230px minmax(0,1fr);grid-gap:22px;gap:22px;align-items:start}.scenario-scenes{position:-webkit-sticky;position:sticky;top:18px;padding:16px 12px;border:1px solid var(--scenario-line);border-radius:14px;background:var(--scenario-panel)}.scenario-sidebar-title{display:flex;justify-content:space-between;padding:5px 7px 16px}.scenario-sidebar-title small{color:var(--scenario-muted)}.scenario-scenes nav{display:flex;flex-direction:column;gap:8px}.scenario-scenes nav button{justify-content:flex-start;text-align:left;background:transparent;min-width:0;padding:13px 8px;gap:8px}.scenario-scenes nav button[aria-current=step]{background:light-dark(#edddd5,#502830);border-color:light-dark(#a86c6c,#ed99aa)}.scenario-scenes nav button>span{color:light-dark(#954649,#e9b7c1);font-size:11px}.scenario-scenes nav button>div{min-width:0;flex:1 1}.scenario-scenes nav strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scenario-scenes nav small{display:block;font-size:10px;color:var(--scenario-muted);margin-top:7px}.scenario-scenes nav img{width:34px;height:40px;object-fit:cover;border-radius:5px}.scenario-add-scene{width:100%;margin-top:14px}.scenario-scenes>.hint{margin:16px 7px 0}.scenario-new-scene{margin-top:12px}.scenario-new-scene textarea{min-height:90px}.scenario-new-scene button{margin-top:8px}.scenario-main{min-width:0}.scenario-globals{border:1px solid var(--scenario-line);padding:16px;border-radius:12px;margin-bottom:20px;background:var(--scenario-panel)}.scenario-globals summary{cursor:pointer;font-size:13px}.scenario-globals[open]>label{margin-top:16px}.scenario-globals textarea{min-height:80px}.scenario-globals .scenario-form-row{margin-top:16px}.scenario-reference-strip{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.scenario-reference-strip figure{position:relative;margin:0}.scenario-reference-strip img{width:70px;height:70px;object-fit:cover;border-radius:8px}.scenario-reference-strip figure button{position:absolute;right:-4px;top:-4px;width:23px;height:23px;padding:0}.scenario-scene-heading{display:flex;gap:12px;align-items:flex-end;margin-bottom:16px}.scenario-scene-heading>label:first-child{flex:1 1}.scenario-scene-heading>label:nth-child(2){width:110px}.scenario-summary{margin-bottom:22px}.scenario-summary textarea{min-height:75px}.scenario-events,.scenario-voices{padding:20px;border:1px solid var(--scenario-line);border-radius:14px;background:var(--scenario-panel);margin-bottom:22px}.scenario-events>header,.scenario-voices>header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.scenario-events h3,.scenario-voices h3{display:flex;gap:8px;align-items:center;font-size:17px;margin:0 0 6px}.scenario-events header p,.scenario-voices header p{color:var(--scenario-muted);font-size:12px;margin:0;line-height:1.6}.scenario-event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.scenario-event-grid>article{padding:13px;background:light-dark(#fcfaf1,#17181a);border:1px solid var(--scenario-line);border-radius:11px;min-width:0}.scenario-event-grid>article.selected{border-color:light-dark(#a86c6c,#e99bab)}.scenario-event-top{display:flex;gap:7px;align-items:center;margin-bottom:12px}.scenario-event-top>span{color:light-dark(#954649,#edb3bf);margin-right:auto;font-size:11px}.scenario-event-top label{display:flex;flex-direction:row;align-items:center;font-size:10px;gap:4px}.scenario-event-top input{width:61px;padding:6px}.scenario-event-top>small{font-size:10px;color:var(--scenario-muted)}.scenario-event-top>button{padding:5px}.scenario-event-grid .scenario-event-image{width:100%;height:145px;background:light-dark(#fcfaf1,#202123);border:1px dashed light-dark(#b8c2ae,#615f61);display:flex;flex-direction:column;padding:0;overflow:hidden;color:light-dark(#954649,#e5a0ae);font-size:11px;margin-bottom:12px}.scenario-event-image img{width:100%;height:100%;object-fit:cover}.scenario-event-grid article>input{font-weight:600;margin-bottom:12px}.scenario-event-grid label{margin-bottom:6px}.scenario-event-grid textarea{min-height:95px}.scenario-event-grid .scenario-subtle{width:100%;font-size:11px;background:transparent;border:0;padding:8px}.scenario-event-frame{border-top:1px solid var(--scenario-line);margin-top:18px;padding-top:18px}.scenario-event-frame>textarea{min-height:90px;margin-bottom:12px}.scenario-event-frame .scene-frame-layout{display:grid;grid-template-columns:180px minmax(0,1fr);grid-gap:18px;gap:18px}.scenario-event-frame .scene-frame-layout>img{width:100%;max-height:240px;object-fit:contain}.scenario-event-frame .toolkit-card-actions{display:flex;gap:7px;flex-wrap:wrap}.scenario-event-frame .scene-frame-library{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;gap:8px}.scenario-event-frame .scene-frame-library img{width:100%;max-height:150px;object-fit:cover}.scenario-voices>header>label{width:240px;flex-shrink:0}.scenario-voice-settings{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:18px 0}.scenario-voice-settings label{min-width:130px}.scenario-voice-settings strong{font-size:12px;color:light-dark(#954649,#efc5cd);margin-left:auto}.scenario-line{border:1px solid var(--scenario-line);background:light-dark(#fcfaf1,#17181a);border-radius:10px;padding:14px;margin:12px 0}.scenario-line-top{display:grid;grid-template-columns:155px minmax(100px,1fr) 90px auto;grid-gap:8px;gap:8px;align-items:flex-end}.scenario-line-top>button{padding:11px 8px}.scenario-line>textarea{margin-top:12px;min-height:75px}.scenario-line-bottom{display:flex;align-items:flex-end;gap:13px;margin-top:12px}.scenario-line-bottom>label{width:160px}.scenario-line-bottom audio{max-width:380px;width:100%;height:36px}.scenario-add-lines{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.scenario-render-model{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;padding:16px;background:var(--scenario-panel);border:1px solid var(--scenario-line);border-radius:12px}.scenario-render-model label{width:270px}.scenario-render-model strong{color:light-dark(#954649,#f5b5c2);font-size:15px}.scenario-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;position:-webkit-sticky;position:sticky;bottom:0;padding:18px 0;background:#131416ed;border-top:1px solid var(--scenario-line);margin-top:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.scenario-footer>span{font-size:11px;color:var(--scenario-muted);margin-right:auto}@media(max-width:1150px){.scenario-studio{padding:20px}.scenario-layout{grid-template-columns:190px minmax(0,1fr);gap:14px}.scenario-event-grid{grid-template-columns:1fr}.scenario-line-top{grid-template-columns:1fr 1fr}.scenario-line-top>label{width:110px}.scenario-line-top>button{justify-self:flex-end}.scenario-voices>header{flex-wrap:wrap}.scenario-start{gap:18px;padding:22px}}@media(max-width:760px){.scenario-studio{padding:16px 12px}.scenario-heading{align-items:flex-start;flex-wrap:wrap}.scenario-heading h1{font-size:22px}.scenario-heading .eyebrow{font-size:8px}.scenario-project-select{flex-wrap:wrap;gap:8px}.scenario-project-select select{max-width:100%}.scenario-project-select>span{margin-left:0}.scenario-start{grid-template-columns:1fr;padding:18px}.scenario-start-illustration{padding:4px}.scenario-start-illustration>svg{display:none}.scenario-start-illustration h2{font-size:20px;margin:5px 0}.scenario-layout{grid-template-columns:1fr}.scenario-scenes{position:static}.scenario-scenes nav{flex-direction:row;overflow:auto;max-width:100%;padding-bottom:6px}.scenario-scenes nav button{min-width:170px;max-width:210px}.scenario-form-row{flex-wrap:wrap}.scenario-form-row>label{flex-basis:40%}.scenario-event-frame .scene-frame-layout{grid-template-columns:1fr}.scenario-event-frame .scene-frame-layout>img{height:170px}.scenario-events,.scenario-voices{padding:14px}.scenario-event-top input{width:58px}.scenario-line{padding:10px}.scenario-line-bottom{flex-wrap:wrap}.scenario-line-bottom>label{width:100%}.scenario-voice-settings strong{margin-left:0}.scenario-render-model{flex-wrap:wrap}.scenario-render-model label{width:100%}.scenario-footer{flex-wrap:wrap}.scenario-footer>span{width:100%}.scenario-footer>button:last-child{flex:1 1}.scenario-voices>header>label{width:100%}}.scenario-studio input,.scenario-studio label,.scenario-studio textarea{text-align:left}.scenario-recommendations{display:flex;gap:10px;margin:12px 0;flex-wrap:wrap}.scenario-recommendations button{display:flex;flex:1 1;min-width:160px;flex-direction:column;align-items:flex-start;text-align:left;font-size:12px}.scenario-recommendations button.selected{border-color:light-dark(#a86c6c,#ed99aa);background:light-dark(#edddd5,#502830)}.scenario-recommendations small{line-height:1.5;color:light-dark(#485c4f,#c0bec0)}.video-page .studio-workspace-tabs{flex-wrap:wrap;gap:28px}.studio-section-intro{margin:0 0 22px}.studio-section-intro h2{font-size:23px;line-height:1.3;letter-spacing:-.5px;margin:7px 0 9px;font-weight:500}.studio-section-intro p{font-size:13px;line-height:1.7;color:light-dark(#485c4f,#a4a4a4);margin:0;max-width:680px}.studio-spinner{animation:studio-spin 1.3s linear infinite;flex-shrink:0}@keyframes studio-spin{to{transform:rotate(1turn)}}.video-page .studio-gold-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 20px;border-radius:28px;border:1px solid light-dark(#aa8b56,#f1dd8c);background:linear-gradient(light-dark(#e4c692,#f4de78),light-dark(#eee2cd,#d9b632));color:#24200f;font-size:13px;font-weight:600;cursor:pointer}.video-page .studio-gold-button:disabled{opacity:.5;cursor:default}.video-page .studio-gold-button:hover:not(:disabled){filter:brightness(1.08)}.generation-progress{padding:24px;border-radius:20px;border:1px solid light-dark(#b8c2ae,#4b452e);background:radial-gradient(ellipse at top right,light-dark(#ab747325,#66501b25),transparent 60%),light-dark(#fcfaf1,#222);margin:24px 0}.generation-progress-heading{display:flex;align-items:center;gap:14px;color:light-dark(#77562c,#e6cf70)}.generation-progress-heading>div{min-width:0;flex:1 1}.generation-progress-heading h2{color:light-dark(#27372e,#eee);font-size:19px;font-weight:500;margin:0 0 5px}.generation-progress-heading p{font-size:12px;color:light-dark(#485c4f,#b9b6a7);margin:0;line-height:1.6}.generation-elapsed{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;display:flex;align-items:center;gap:6px;font-size:13px;color:light-dark(#485c4f,#b5ae90)}.generation-meter{overflow:hidden;height:6px;border-radius:6px;background:light-dark(#eeeee2,#3d3c35);margin:23px 0 17px}.generation-meter>span{height:100%;display:block;background:light-dark(#e4c692,#e7cd60);border-radius:inherit;transition:width .8s}.generation-meter.is-indeterminate>span{animation:studio-progress 2.3s ease-in-out infinite}@keyframes studio-progress{0%{transform:translateX(-110%)}to{transform:translateX(390%)}}.generation-stages{display:flex;justify-content:space-between;gap:7px;font-size:11px;color:light-dark(#556658,#77786e)}.generation-stages .is-current{color:light-dark(#77562c,#f4df8c)}.generation-stages .is-done{color:light-dark(#286646,#a0b697)}.generation-details{display:flex;gap:16px;flex-wrap:wrap;color:light-dark(#485c4f,#aaa);font-size:11px;margin-top:22px}.generation-help,.generation-progress>p{font-size:12px;line-height:1.7;color:light-dark(#556658,#92938a)}.generation-error{font-size:12px;line-height:1.8;color:light-dark(#77562c,#e9be96);margin:17px 0}.generation-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:15px}.generation-actions a,.generation-actions button{border:1px solid light-dark(#b8c2ae,#525146);border-radius:8px;color:light-dark(#485c4f,#ccc);font-size:12px;padding:8px 12px;background:light-dark(#f8f7ed,#2d2d28);text-decoration:none;cursor:pointer}.generation-actions span{font-size:11px;color:light-dark(#77562c,#a29174)}.generation-progress.has-error{border-color:light-dark(#aa8b56,#71543a);background:light-dark(#fcfaf1,#2b251e)}.generation-progress.is-complete{border-color:light-dark(#7d9a79,#465a43)}.generation-progress.is-complete .generation-meter>span{background:light-dark(#9cb590,#a8c78a)}.prompt-assistant{margin:0 0 18px}.prompt-assistant-trigger{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:light-dark(#77562c,#d3c482);padding:8px 2px;font-size:13px;cursor:pointer}.prompt-assistant-trigger small{margin-left:6px;background:light-dark(#eeeee2,#39372a);border-radius:20px;color:light-dark(#485c4f,#b5ad86);padding:4px 8px;font-size:10px}.prompt-assistant-body,.toolkit-composer{background:light-dark(#fcfaf1,#222);border:1px solid light-dark(#b8c2ae,#444);border-radius:18px;padding:24px;margin-top:11px}.prompt-assistant-body{margin-bottom:24px}.video-page .prompt-assistant-body textarea,.video-page .toolkit-composer textarea{width:100%;box-sizing:border-box;min-height:125px;border:1px solid light-dark(#b8c2ae,#494949)!important;border-radius:12px;background:light-dark(#fcfaf1,#1b1b1b)!important;color:light-dark(#27372e,#eee);padding:13px!important;font-size:14px;line-height:1.7;resize:vertical}.video-page .prompt-assistant-body label,.video-page .toolkit-composer label{font-size:12px;color:light-dark(#485c4f,#b5b5b5);display:block;margin:12px 0 8px}.toolkit-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:15px;gap:15px;margin:8px 0 17px}.prompt-assistant-body .toolkit-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.video-page .toolkit-settings select{box-sizing:border-box;width:100%;margin-top:8px;border:1px solid light-dark(#b8c2ae,#494949)!important;border-radius:9px;background:light-dark(#fcfaf1,#1b1b1b)!important;color:light-dark(#27372e,#e7e7e7);padding:10px;font-size:12px}.assistant-source-duration{display:block;margin-top:15px;font-size:12px;color:light-dark(#77562c,#c9bd87)}.assistant-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.assistant-actions>button:not(.studio-gold-button){border:1px solid light-dark(#b8c2ae,#4a4a4a);background:transparent;color:light-dark(#485c4f,#bbb);border-radius:9px;padding:10px;font-size:12px;cursor:pointer}.assistant-draft{border-top:1px solid light-dark(#b8c2ae,#484438);margin-top:25px;padding-top:22px}.assistant-recommendation{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:light-dark(#77562c,#dfca74);font-size:14px}.assistant-recommendation span{margin-left:auto;font-size:11px;color:light-dark(#485c4f,#b7b39e)}.assistant-draft>p{font-size:13px;line-height:1.8;color:light-dark(#485c4f,#c5c5ba)}.assistant-scenes{display:grid;grid-gap:10px;gap:10px;margin:20px 0}.assistant-scenes>div{padding:15px;border:1px solid light-dark(#b8c2ae,#494636);background:light-dark(#fcfaf1,#1c1c19);border-radius:10px}.assistant-scenes strong{font-size:13px;color:light-dark(#27372e,#ddd)}.assistant-scenes small{display:block;font-size:10px;color:light-dark(#77562c,#c3b878);margin-top:6px}.assistant-scenes p{font-size:12px;line-height:1.8;color:light-dark(#485c4f,#b5b5af)}.toolkit-reference{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.toolkit-reference img{width:85px;max-height:100px;object-fit:contain;border-radius:8px;background:light-dark(#f4f2e7,#111)}.toolkit-card-actions button,.toolkit-reference button{display:inline-flex;align-items:center;gap:7px;background:light-dark(#f8f7ed,#30302d);border:1px solid light-dark(#b8c2ae,#494942);border-radius:9px;color:light-dark(#27372e,#ddd);padding:10px 13px;font-size:12px;cursor:pointer}.image-toolkit>h3{font-size:16px;font-weight:500;margin:30px 0 18px}.toolkit-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));grid-gap:20px;gap:20px}.toolkit-image-card{border-radius:15px;border:1px solid light-dark(#b8c2ae,#42423c);background:light-dark(#fcfaf1,#232320);overflow:hidden;min-width:0}.toolkit-image-card>img{display:block;width:100%;height:260px;object-fit:contain;background:light-dark(#f4f2e7,#171715)}.toolkit-image-card>div:not(.toolkit-image-placeholder){padding:17px}.toolkit-image-card strong{font-size:13px;color:light-dark(#27372e,#ddd)}.toolkit-image-card p{font-size:12px;color:light-dark(#485c4f,#aaa);line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.toolkit-image-card small{font-size:11px;color:light-dark(#77562c,#b6ac77)}.toolkit-image-placeholder{height:160px;display:grid;place-items:center;color:light-dark(#77562c,#a49a71);font-size:13px}.toolkit-card-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px;align-items:center}.toolkit-card-actions button{padding:8px;font-size:11px}.toolkit-card-actions a{color:light-dark(#485c4f,#bbb);padding:7px}@media(max-width:600px){.video-page .studio-workspace-tabs{gap:18px}.video-page .studio-workspace-tabs button{font-size:11px}.generation-progress,.prompt-assistant-body,.toolkit-composer{padding:17px}.studio-section-intro h2{font-size:20px}.prompt-assistant-body .toolkit-settings,.toolkit-settings{grid-template-columns:1fr}.generation-progress-heading{gap:10px;flex-wrap:wrap}.generation-progress-heading h2{font-size:16px}.generation-elapsed{font-size:11px}.generation-stages{font-size:9px;gap:5px;flex-wrap:wrap}.generation-details{gap:9px}.assistant-recommendation span{margin-left:0;flex-basis:100%}.prompt-assistant-trigger{font-size:12px}.prompt-assistant-trigger small{margin-left:auto}.toolkit-gallery{grid-template-columns:1fr}.assistant-actions .studio-gold-button{width:100%}}@media(prefers-reduced-motion:reduce){.generation-meter.is-indeterminate>span,.studio-spinner{animation:none}}.scene-frame-picker{border:1px solid light-dark(#b8c2ae,#3b3b37);border-radius:16px;padding:18px;margin:12px 0 22px;background:light-dark(#fcfaf1,#20201f)}.scene-frame-picker h4{margin:0 0 14px}.scene-frame-layout{display:grid;grid-template-columns:minmax(140px,240px) minmax(0,1fr);grid-gap:20px;gap:20px;align-items:start}.scene-frame-empty,.scene-frame-layout>img{width:100%;max-height:290px;object-fit:contain;border-radius:10px;background:light-dark(#f4f2e7,#161615)}.scene-frame-empty{display:grid;place-items:center;min-height:170px;padding:20px;color:light-dark(#485c4f,#aaa)}.scene-frame-layout label{display:block;margin-top:14px}.scene-frame-layout select{width:100%;margin:6px 0 12px}.scene-frame-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-gap:12px;gap:12px;margin-top:16px;max-height:430px;overflow:auto}.scene-frame-library button{text-align:left;padding:8px;white-space:normal}.scene-frame-library img{width:100%;height:145px;object-fit:contain;background:light-dark(#f4f2e7,#151515)}.scene-frame-library span{display:block;font-size:12px;line-height:1.4;margin-top:8px}.scene-trim{border:1px solid light-dark(#b8c2ae,#3b3b37);border-radius:12px;padding:14px;margin-top:18px}.scene-trim video{display:block;width:100%;max-height:350px;background:light-dark(#f4f2e7,#111);border-radius:8px;margin:12px 0}.scene-trim button{margin:10px 8px 0 0}@media(max-width:650px){.scene-frame-layout{grid-template-columns:1fr}.scene-frame-layout>img{max-height:230px}.scene-frame-library{grid-template-columns:repeat(2,minmax(0,1fr))}}.studio-scene-strip .scene-strip-frame{width:100%;height:76px;object-fit:cover;border-radius:6px;margin-bottom:8px}.current-production-review{border:1px solid light-dark(#aa8b56,#a08d45)!important;border-radius:16px;padding:20px;background:light-dark(#f8f7ed,#302e22);margin:18px 0}.current-production-review h2{font-size:18px;margin:0 0 8px}.current-production-review>p{color:light-dark(#485c4f,#c5bea0);font-size:12px;line-height:1.7}.current-production-review article{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:15px 0;border-top:1px solid light-dark(#b8c2ae,#555039)}.current-production-review article small{font-size:11px;color:light-dark(#556658,#aca78f)}.current-production-review article strong{font-size:13px}.current-production-review article p{font-size:13px;line-height:1.7;margin:0}.current-production-review audio{max-width:100%}.current-production-review article img{max-width:280px;max-height:240px;object-fit:contain}.current-production-review button{display:inline-flex;align-items:center;gap:8px}.video-page .storyboard-workspace{min-width:0;margin-top:12px}.video-page .storyboard-intro h2{font-size:17px;margin:5px 0}.shot-step{font-size:10px;letter-spacing:1.5px;color:#dfadb7}.video-page .storyboard-intro p{margin:5px 0 14px}.video-page .storyboard-actions{gap:8px;align-items:center;flex-wrap:wrap}.video-page .storyboard-actions button{font-size:12px;padding:9px 13px;min-height:36px}.shot-count-label{display:flex!important;align-items:center;gap:9px;color:#aaa!important;font-size:12px!important;margin:0!important}.video-page .shot-count-label select{width:auto!important;max-width:220px;font-size:12px!important;padding:8px!important;margin:0!important}.video-page .storyboard-fields{padding:14px!important;border-radius:14px!important;min-width:0}.video-page .storyboard-fields legend{font-size:12px;padding:0 7px}.video-page .video-start-bar{position:static;padding:14px;gap:14px;border-radius:10px;box-shadow:none;margin-bottom:10px}.video-page .video-start-bar strong{font-size:13px}.video-page .video-start-bar p{font-size:11px;margin:5px 0}.video-page .video-start-bar button{font-size:12px;padding:10px 16px}.video-page .storyboard-global{margin:10px 0}.video-page .storyboard-scene{border:1px solid #3c3d3f;padding:13px;border-radius:10px;margin:10px 0}.storyboard-scene>summary{font-size:13px;cursor:pointer;color:#d9d7d9}.video-page .storyboard-scene .scene-card-heading{margin-top:12px}.video-page .storyboard-scene h3{font-size:14px}.video-page .storyboard-scene textarea{min-height:76px!important;font-size:12px!important;line-height:1.7!important}.video-page .storyboard-scene .scene-action-editor{min-height:160px!important}.video-page .storyboard-fields label{font-size:11px;margin:10px 0 6px}.video-page .storyboard-fields :is(input,select){font-size:12px!important;padding:9px!important;min-width:0;max-width:100%;box-sizing:border-box}.video-page .storyboard-fields .hint{font-size:11px;line-height:1.6;margin:8px 0}.video-page .studio-scene-strip{gap:7px;margin:12px 0;grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}.video-page .studio-scene-strip button{padding:9px;min-height:0;min-width:0}.video-page .studio-scene-strip strong{font-size:11px}.video-page .studio-scene-strip em{font-size:9px}.video-page .studio-scene-strip .scene-strip-frame{height:50px}.video-page .storyboard-final{max-width:580px;margin:12px auto}.video-page .storyboard-final video{max-height:350px}.composer-photo-pack{display:flex;gap:6px}.composer-photo-pack img{width:48px!important;height:60px!important;object-fit:cover!important}.shot-board{border:1px solid #3c3d3f;background:linear-gradient(130deg,#242527,#1f2022 70%);border-radius:16px;padding:18px;margin:18px 0}.shot-board-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.shot-board-heading h3{font-weight:500;font-size:17px;color:#f1eff1;margin:6px 0 0}.shot-board-heading>span{font-size:11px;color:#cac8ca;white-space:nowrap}.shot-reference-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:17px}.shot-reference-row>span{font-size:11px;color:#aaa;margin-right:5px}.shot-reference{position:relative}.shot-reference img{display:block;width:42px;height:52px;border-radius:6px;object-fit:cover;border:1px solid #5b595b}.video-page .shot-reference button{position:absolute;right:-5px;top:-5px;width:19px;height:19px;min-height:0;padding:2px;border-radius:50%;background:#333;color:#eee;border:1px solid #777}.video-page .shot-reference-row>button{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;font-size:11px;background:#292a2c;color:#dad8da;border:1px solid #3e3f41;border-radius:7px}.shot-contact-sheet{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));grid-gap:10px;gap:10px}.video-page .shot-tile{background:#1e1f21;border:1px solid #393a3c;border-radius:11px;overflow:hidden;min-width:0;padding:0;text-align:left;color:#ddd;cursor:pointer}.video-page .shot-tile:hover{border-color:#ca8593}.video-page .shot-tile:focus-visible{outline:2px solid #f5b5c2;outline-offset:3px}.shot-image{height:146px;position:relative;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;background:radial-gradient(ellipse,#313234,#1f2022);color:#b7b5b7}.shot-image>img{display:block;width:100%;height:100%;object-fit:contain;background:#191a1c}.shot-image>span:not(.shot-number):not(.shot-edit){font-size:11px;max-width:140px;text-align:center;line-height:1.5}.shot-number{left:9px;top:9px;letter-spacing:1px;padding:4px 6px;background:#191a1ce6;border-radius:5px;color:#eceaec}.shot-edit,.shot-number{position:absolute;font-size:10px}.shot-edit{right:8px;bottom:8px;gap:5px;background:#222d;padding:5px 8px;border-radius:7px;color:#e9e7e9}.shot-caption,.shot-edit{display:flex;align-items:center}.shot-caption{padding:10px;gap:8px;justify-content:space-between}.shot-caption strong{font-size:11px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shot-caption>span{font-size:10px;color:#aaa;flex-shrink:0;display:flex;align-items:center;gap:5px}.shot-board-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:15px}.shot-board-actions small{font-size:10px;color:#999;line-height:1.6}.video-page .shot-board-actions button:not(.studio-gold-button){display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:9px 12px;background:#28292b;border:1px solid #3e3f41;color:#ddd;border-radius:8px}.shot-board>.hint{font-size:11px;line-height:1.7;color:#aaa;margin:12px 0 0}.shot-dialog{box-sizing:border-box;width:min(800px,calc(100vw - 32px));max-height:90dvh;overflow:auto;padding:20px;border-radius:18px;border:1px solid #5d5b5d;background:#212224;color:#eee}.shot-dialog::-webkit-backdrop{background:#080808cf;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.shot-dialog::backdrop{background:#080808cf;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.shot-dialog-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.shot-dialog-top h3{margin:0;font-size:16px;font-weight:500}.video-page .shot-dialog-top button{background:transparent;border:0;color:#aaa;padding:4px;display:grid;place-items:center}.shot-dialog-preview{background:#191a1c;border-radius:10px;overflow:hidden;display:grid;place-items:center;min-height:150px}.shot-dialog-preview img{width:100%;max-height:48dvh;object-fit:contain}.shot-dialog-preview p{padding:20px;color:#bebcbe;font-size:13px;line-height:1.8}.video-page .shot-edit-form label{font-size:12px;display:block;margin:15px 0 8px}.video-page .shot-edit-form textarea{box-sizing:border-box;width:100%;min-height:110px;padding:12px;border:1px solid #3c3d3f;background:#1a1b1d;border-radius:9px;color:#eee;font-size:13px;line-height:1.7}.shot-dialog p.hint{font-size:12px;line-height:1.7;color:#aaa}.shot-board button:disabled,.shot-dialog button:disabled{opacity:.45;cursor:default}.nemoriq-ui .studio-reference-app.studio-unified .shot-board .studio-gold-button{background:#f5b5c2;border-color:#d7d5d7;color:#242527}.compact-video-library{min-width:0;margin-top:24px}.compact-video-library .video-library-heading{gap:10px;flex-wrap:wrap}.compact-video-library h2 small{font-weight:400;color:#777;font-size:11px;margin-left:7px}.compact-video-library .video-library-heading>div{display:flex;gap:4px}.video-page .compact-video-library .video-library-heading button{font-size:11px;padding:6px 11px;border-radius:20px;border:1px solid transparent;background:transparent;color:#888}.video-page .compact-video-library .video-library-heading button[aria-pressed=true]{background:#36352b;border-color:#514b31;color:#dfd19a}.video-library-list{border:1px solid #3a3a35;border-radius:13px;overflow:hidden}.compact-video-row{background:#232322;border-bottom:1px solid #3a3a35}.compact-video-row:last-child{border-bottom:0}.compact-video-summary{display:flex;align-items:center;gap:12px;padding:12px 15px;min-height:50px}.video-page .compact-video-play{width:38px;height:38px;flex-shrink:0;border-radius:10px;padding:0;display:grid;place-items:center;background:#343329;border:1px solid #494635;color:#cfbd78}.compact-video-description{min-width:0;flex:1 1;display:grid;grid-gap:5px;gap:5px}.compact-video-description strong{font-weight:400;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ddd}.compact-video-description>span{font-size:10px;color:#92928b}.video-status{font-size:10px;border-radius:20px;padding:5px 8px;background:#33332c;color:#aaa;flex-shrink:0}.video-status.status-completed{background:#334130;color:#bbd4a5}.video-status.status-failed,.video-status.status-unknown{background:#47352a;color:#dfb18e}.compact-download{color:#aaa;padding:7px;display:grid;place-items:center}.compact-video-expanded{padding:0 15px 15px}.compact-video-expanded video{width:100%;max-height:340px;background:#151514}.compact-video-expanded>div:first-child{max-width:560px;margin:0 auto 12px}.compact-video-expanded details{font-size:12px;color:#aaa;margin:12px 0}.compact-video-expanded details p{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.video-library-pagination{display:flex;align-items:center;justify-content:center;gap:16px;padding:14px;font-size:11px;color:#999}.video-page .video-library-pagination button{background:transparent;border:1px solid #444;border-radius:7px;font-size:11px;padding:7px 10px;color:#bbb}.video-library-pagination button:disabled{opacity:.3}@media(max-width:600px){.shot-board{padding:13px}.shot-board-heading h3{font-size:15px}.shot-contact-sheet{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shot-image{height:125px}.shot-caption{display:block;padding:8px}.shot-caption>span{margin-top:4px}.shot-caption strong{display:block}.shot-board-actions{gap:9px}.shot-board-actions .studio-gold-button{width:100%}.shot-dialog{padding:14px}.compact-video-summary{gap:8px;padding:10px}.compact-video-description>span{font-size:9px}.video-status{font-size:9px;padding:4px 6px}.video-page .video-start-bar{align-items:stretch;flex-direction:column}.video-page .studio-scene-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.video-page .storyboard-fields{padding:10px!important}}.scenario-studio .scenario-scenes,.scenario-studio .scenario-start{background-color:light-dark(#fcfaf1,#222325);background-image:linear-gradient(130deg,light-dark(#85987b59,#2f303259),transparent 62%);border-color:light-dark(#b8c2ae,#595759);box-shadow:inset 0 1px light-dark(#fffef612,#ffffff12),0 6px 15px light-dark(#27392b15,#0b0c0e29)}.scenario-studio .scenario-scenes nav button[aria-current=step]{color:light-dark(#27372e,#fcf3f6);border-color:light-dark(#a86c6c,#ca8c98);background:linear-gradient(125deg,light-dark(#edddd5,#532c34),light-dark(#edddd5,#44242b));box-shadow:inset 0 0 0 1px light-dark(#27392b35,#ca869466),inset 0 1px light-dark(#fffef61c,#ffffff1c)}.scenario-studio .scenario-scenes nav button[aria-current=step]>span{color:#202123;border-color:light-dark(#aa8b56,#ffc1a0);background:light-dark(#e4c692,#edba9f);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.scenario-studio button.studio-gold-button:not(:disabled){color:var(--nq-ink,#202123);background:var(--nq-action-fill,linear-gradient(110deg,light-dark(#d9a3a0,#ffcad5),light-dark(#d9a3a0,#f4abba)));border:1px solid var(--nq-action-edge,light-dark(#b8c2ae,#e5e3e5));box-shadow:var(--nq-action-shadow,inset 0 1px light-dark(#fffef6cc,#fffc),0 2px light-dark(#3f53402b,#864854))}.scenario-studio button.studio-gold-button:not(:disabled):hover{filter:brightness(1.06)}.scenario-studio button.studio-gold-button:disabled{color:light-dark(#485c4f,#b8b6b8);background:light-dark(#f8f7ed,#2d2e30);border:1px solid light-dark(#b8c2ae,#3e3f41);box-shadow:none;opacity:.78}.scenario-studio .scenario-start-illustration{-webkit-border-start:2px solid light-dark(#b8c2ae,#b8b6b8);border-inline-start:2px solid light-dark(#b8c2ae,#b8b6b8);background:linear-gradient(94deg,light-dark(#85987b7d,#2e2f317d),transparent 80%)}.scenario-studio .scenario-start-illustration>svg{color:light-dark(#77562c,#f0bda4)}.scenario-studio .scenario-start-illustration h2{letter-spacing:-.035em}.studio-app .studio-media-library :is(.studio-media-card,.studio-project-card),body.nemoriq-ui .studio-catalog-board .creative-model-card,body.nemoriq-ui .studio-reference-app.studio-unified .studio-catalog-board button.creative-skill-card{border-color:light-dark(#b8c2ae,#404143);background:linear-gradient(125deg,light-dark(#f8f7ed,#292a2c),light-dark(#fcfaf1,#202123) 85%);box-shadow:inset 0 1px light-dark(#fffef613,#ffffff13),0 5px 14px light-dark(#27392b21,#0c0d0f40)}body.nemoriq-ui .studio-catalog-board .creative-card-art{border-bottom:1px solid light-dark(#b8c2ae,#656365)}.studio-app .studio-media-library button:is(.studio-media-card,.studio-project-card):hover,body.nemoriq-ui .studio-reference-app.studio-unified .studio-catalog-board button.creative-skill-card:hover{border-color:light-dark(#a86c6c,#c28d98);box-shadow:0 5px 18px light-dark(#27392b43,#0c0d0f80),inset 0 0 0 1px light-dark(#fffef61a,#f0b0bd1a)}.studio-app .studio-library .studio-library-states>button[aria-pressed=true]{color:light-dark(#27372e,#fbf2f5);border-color:light-dark(#a86c6c,#c28e98);background:linear-gradient(125deg,light-dark(#edddd5,#562e36),light-dark(#f8f7ed,#2b2c2e));box-shadow:inset 0 -2px light-dark(#fffef6,#e3acb7),inset 0 1px light-dark(#fffef614,#ffffff14)}.spending-history{--history-border:light-dark(#b8c2ae,#3e3f41);--history-surface:light-dark(#fcfaf1,#1c1d1f);display:grid;grid-gap:12px;gap:12px;min-width:0;color:light-dark(#27372e,#f4f2f4)}.studio-dialog .spending-history-profile{margin-top:20px;padding-top:18px;border-top:1px solid light-dark(#b8c2ae,#3f4042)}.spending-history-heading{display:flex;align-items:center;gap:9px;color:light-dark(#954649,#ffc9d4)}.spending-history-heading svg{flex:0 0 auto}.spending-history-heading h3{margin:0;font-size:16px;font-weight:650}.spending-history-email{color:inherit;font-size:14px;overflow-wrap:anywhere}.spending-history-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px;margin:0}.spending-history-totals>div{padding:13px;border:1px solid var(--history-border);border-radius:12px;background:var(--history-surface)}.spending-history-totals>div:first-child{border-color:light-dark(#b8c2ae,#737173);background:var(--nq-grain) 0 0 /72px 72px repeat,linear-gradient(145deg,light-dark(#eeeee2,#343537),light-dark(#fcfaf1,#242527));box-shadow:inset 0 1px light-dark(#fffef635,#fbd3db35)}.spending-history dt,.spending-history-hint,.spending-history-message{color:light-dark(#27372e,#d7d5d7);font-size:12px;line-height:1.45}.spending-history dd{margin:4px 0 0;font-size:clamp(16px,4vw,23px);font-weight:650;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.spending-history-pending,.spending-history-totals>div:last-child dd{color:light-dark(#77562c,#f5cca6)}.spending-history-hint,.spending-history-message{margin:0}.spending-history-message{display:flex;align-items:center;gap:8px}.spending-history .spending-history-scroll{overflow:auto;max-block-size:min(20rem,42dvh);border:1px solid var(--history-border);border-radius:10px;scrollbar-color:#904d5b var(--history-surface);background:var(--history-surface)}.spending-history table{table-layout:fixed;width:100%;border-collapse:separate;border-spacing:0;text-align:start;font-size:13px}.spending-history :is(th,td){padding:10px;overflow-wrap:anywhere;vertical-align:top}.spending-history th{position:-webkit-sticky;position:sticky;top:0;z-index:1;background:light-dark(#f8f7ed,#2d2e30);color:light-dark(#27372e,#ebe9eb);text-align:start;font-size:11px;font-weight:650}.spending-history th:first-child{width:29%}.spending-history th:last-child{width:30%}.spending-history :is(th,td):last-child{text-align:end}.spending-history tr+tr td{border-top:1px solid light-dark(#b8c2ae,#333436)}.spending-history small{display:block;color:light-dark(#485c4f,#c7c5c7);font-size:11px;margin-top:3px}.spending-history small.spending-history-pending{color:light-dark(#77562c,#f5cca6)}.spending-history td:last-child strong{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.spending-history-feedback,.spending-history-page{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.spending-history-page>span{white-space:nowrap}.nemoriq-ui .spending-history-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 10px;min-height:44px;min-width:0;border:1px solid light-dark(#b8c2ae,#727072);border-radius:8px;background:linear-gradient(light-dark(#f8f7ed,#2d2e30),light-dark(#fcfaf1,#252628));box-shadow:inset 0 1px light-dark(#fffef622,#faf1f422);color:light-dark(#27372e,#f1eff1);font:600 12px/1.25 var(--nemoriq-font-body,system-ui,sans-serif);text-align:center}.nemoriq-ui .spending-history-button:not(:disabled):hover{border-color:light-dark(#a86c6c,#c99ca5)}.nemoriq-ui .spending-history-button:disabled{opacity:.5}.nemoriq-ui .spending-history-button svg{flex:0 0 auto}.access-user-history .spending-history-button{justify-self:start}.access-older-accounts{padding-top:16px;border-top:1px solid light-dark(#b8c2ae,#3f4042)}.studio-access .access-older-accounts p[role=alert]{margin:8px 0 0;color:light-dark(#954649,#ffc4cd)}@media (max-width:420px){.nemoriq-ui .studio-dialog:has(.spending-history)>:is(header,.studio-dialog-body){padding-inline:16px}.spending-history :is(th,td){padding:8px 6px}.spending-history table{font-size:12px}.nemoriq-ui .spending-history-page .spending-history-button{padding-inline:6px}}.task-card{flex-shrink:0;margin:0 22px 12px;padding:12px 15px;border:1px solid light-dark(#b8c2ae,#424242);border-radius:10px;background:light-dark(#fcfaf1,#262626);font-size:12px;max-height:42dvh;overflow:auto}.task-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.task-heading strong{font-size:12px;font-weight:500}.task-heading small{color:light-dark(#556658,#999);font-size:10px}.task-card p{margin:7px 0;color:light-dark(#485c4f,#bbb);overflow-wrap:anywhere}.task-card .task-goal{color:light-dark(#27372e,#eee);white-space:pre-wrap}.task-card button{border:1px solid light-dark(#b8c2ae,#4b4b4b);background:light-dark(#eeeee2,#343434);border-radius:7px;padding:6px 10px;font-size:11px;margin-right:8px}.task-card a{color:light-dark(#954649,#edc4cc);font-size:12px}.task-card details{margin-top:9px;font-size:11px}.task-card summary{cursor:pointer;color:light-dark(#485c4f,#aaa)}.task-limits{display:flex;gap:12px;margin-top:18px}.task-limits label{flex:1 1;font-size:11px}.task-limits input{display:block;width:100%;margin-top:6px}.domain-permissions select{display:block;width:100%;margin-top:8px}.task-resume{display:flex;gap:8px;flex-wrap:wrap}.task-resume input{flex:1 1}.task-card .task-stop{color:light-dark(#954649,#d9b7b7)}.task-card .message-content{font-size:12px}:root{color-scheme:dark;--bg:light-dark(#fcfaf1,#212121);--panel:light-dark(#f4f2e7,#171717);--surface:light-dark(#f8f7ed,#2f2f2f);--line:light-dark(#b8c2ae,#3d3d3d);--muted:light-dark(#485c4f,#a5a5a5);--text:light-dark(#27372e,#ececec)}body{background:var(--bg);color:var(--text);font:14px/1.55 Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:2px solid light-dark(#b8c2ae,#b7b7b7);outline-offset:3px}button{color:var(--text)}input,select,textarea{color:var(--text);background:light-dark(#fcfaf1,#252525);border:1px solid var(--line);border-radius:8px;padding:9px 11px;min-width:0}.app{min-height:0}.app,.main{background:var(--bg)}.main{min-width:320px}.sidebar{width:232px;padding:16px 10px;background:var(--panel);border:0;gap:2px}.brand{padding:3px 12px 22px;gap:8px}.brand strong{font-size:19px;letter-spacing:-.6px;font-weight:600}.nav,.new{font-size:13px;padding:10px 12px;gap:10px;border-radius:8px;background:transparent;border:0;color:light-dark(#27372e,#ddd)}.new{margin-bottom:12px}.nav.selected,.nav:hover,.new:hover{background:light-dark(#f8f7ed,#2b2b2b);color:light-dark(#27372e,#fff)}.nav svg{width:17px;height:17px}.section-label{letter-spacing:0;font-size:11px;margin:24px 12px 8px;color:light-dark(#556658,#888)}.sidebar .history{min-height:0;overflow:auto;display:flex;flex-direction:column;gap:2px;flex:1 1}.history-row{display:flex;align-items:center;border-radius:7px;gap:0}.history-active,.history-row:hover{background:light-dark(#f8f7ed,#282828)}.history-row>button:first-child{display:flex;flex:1 1;min-width:0;align-items:center;gap:9px;background:transparent;border:0;padding:9px 11px;text-align:left;color:light-dark(#485c4f,#c5c5c5);font-size:12px}.history-row>button:first-child svg{display:none}.history-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.delete-chat{border:0;background:none;padding:7px;color:light-dark(#556658,#888);opacity:0}.delete-chat:focus-visible,.history-row:hover .delete-chat{opacity:1}.empty-history{color:light-dark(#556658,#777);font-size:12px;padding:8px 12px}.grow{flex:1 1}.account{margin-top:12px;gap:9px;padding:9px 6px}.account b{font-size:12px;font-weight:400}.account small{color:light-dark(#556658,#888);font-size:10px;letter-spacing:0;max-width:145px;overflow:hidden;text-overflow:ellipsis}.avatar,.small-avatar{background:light-dark(#eeeee2,#414141);color:light-dark(#27372e,#eee);width:30px;height:30px;border-radius:50%;font-size:12px}.topbar{height:56px;border:0;padding:0 24px}.top-left,.top-right{gap:12px}.top-left b{font-size:14px;font-weight:500;max-width:40vw;color:light-dark(#27372e,#ddd);overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap}.top-right>button{color:light-dark(#485c4f,#aaa);padding:6px;background:none;border:0}.conversation{overscroll-behavior:contain}.welcome{margin:auto;width:min(760px,95%);padding:30px 20px}.welcome h1{font-size:28px;font-weight:500;letter-spacing:-.7px;margin:8px 0 10px}.welcome p{font-size:13px;color:light-dark(#556658,#999);line-height:1.6;margin:0;text-align:center}.messages{width:min(760px,100%);padding:0 22px;margin:26px auto 36px;gap:30px}.message>span{background:light-dark(#f8f7ed,#303030);border:0;border-radius:18px;padding:10px 16px;max-width:85%;font-size:14px;line-height:1.7}.assistant-message{justify-content:flex-start}.assistant-message .message-content{max-width:100%;min-width:0;line-height:1.8;font-size:14px;overflow-wrap:anywhere;background:none;border:0;padding:0}.message-content>:first-child{margin-top:0}.message-content>:last-child{margin-bottom:0}.message-content ol,.message-content p,.message-content ul{margin:.7em 0}.message-content ol,.message-content ul{padding-left:1.6em}.message-content h1{font-size:1.4em}.message-content h2{font-size:1.25em}.message-content h3{font-size:1.12em}.message-content h1,.message-content h2,.message-content h3{line-height:1.4;margin:1.1em 0 .5em}.message-content pre,.workspace-dialog pre{max-width:100%;overflow:auto;background:light-dark(#f4f2e7,#171717);border-radius:10px;padding:13px;white-space:pre-wrap}.message-content code{font:12px/1.65 ui-monospace,Consolas,monospace}.message-content :not(pre)>code{background:light-dark(#eeeee2,#353535);padding:2px 5px;border-radius:4px}.message-content a{color:light-dark(#954649,#edc4cc)}.message-content table{display:block;overflow:auto;max-width:100%;border-collapse:collapse}.message-content td,.message-content th{border:1px solid var(--line);padding:7px 10px}.footer{width:min(804px,100%);max-width:none;padding:0 22px 12px;margin:0 auto}.composer{padding:10px 12px 8px;background:var(--surface);border:0;border-radius:22px;box-shadow:none}.composer textarea{height:49px;font-size:14px;padding:6px;background:none;outline:0}.composer-controls{gap:10px}.composer select{background:none;border:0;font-size:11px;color:light-dark(#485c4f,#bbb);padding:5px 7px;border-radius:7px}.send{width:30px;height:30px;border-radius:50%;color:#171717;background:#ececec}.footer>p{font-size:10px;color:light-dark(#556658,#7e7e7e);margin:8px 0 0}.notice{background:light-dark(#f8f7ed,#303030);border:1px solid light-dark(#b8c2ae,#4a4a4a);color:light-dark(#27372e,#ddd);font-size:12px;padding:10px 12px;border-radius:9px;line-height:1.5;overflow-wrap:anywhere}.notice button{color:inherit;background:none;border:0}.startup{min-height:100dvh;display:grid;place-items:center;background:var(--bg);padding:20px}.startup-card{width:min(380px,100%);text-align:center;padding:30px 24px;background:none;border:0;border-radius:0;box-shadow:none}.startup-card h1{font-size:26px;letter-spacing:-.5px}.startup-card>p{font-size:13px;color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.1px;color:light-dark(#556658,#929292);text-align:left}.auth-card .eyebrow{text-align:center}.auth-form,.compact-form{display:flex;flex-direction:column;gap:12px;text-align:left;margin-top:22px}.auth-form label,.compact-form label{font-size:12px;color:light-dark(#485c4f,#bcbcbc)}.auth-form input,.compact-form input,.compact-form select{width:100%;display:block;margin-top:5px}.auth-help,.auth-switch{font-size:11px;color:light-dark(#556658,#929292);margin-top:20px}.auth-switch{border:0;background:none}.form-error{padding:10px;border:1px solid light-dark(#a86c6c,#704343);background:light-dark(#f8f7ed,#332323);border-radius:8px;font-size:12px;color:light-dark(#954649,#f2b9b9)}.primary-action{background:#e5e5e5;color:#202020;border:0;border-radius:8px;font-size:12px;font-weight:500;padding:9px 14px;margin:0}.primary-action:hover{background:#fff}.knowledge-page{width:min(830px,100%);padding:0 26px;margin:26px auto 50px}.knowledge-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.knowledge-heading h1{font-size:24px;font-weight:500;letter-spacing:-.5px;margin:5px 0 8px}.knowledge-heading p{font-size:12px;color:var(--muted);max-width:610px;line-height:1.7;margin:0}.knowledge-heading .primary-action{white-space:nowrap}.control-card,.knowledge-form{background:light-dark(#fcfaf1,#242424);border:1px solid light-dark(#b8c2ae,#393939);border-radius:12px;padding:18px}.knowledge-form{display:flex;flex-direction:column;gap:9px}.knowledge-form label{font-size:12px;color:light-dark(#485c4f,#bcbcbc)}.knowledge-form textarea{min-height:150px;resize:vertical}.knowledge-form input,.knowledge-form textarea{width:100%}.knowledge-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.knowledge-actions span{font-size:10px;color:light-dark(#556658,#888)}.knowledge-page h2{font-size:17px;font-weight:500;margin:26px 0 12px}.knowledge-page h2 small{font-size:11px;color:light-dark(#556658,#999)}.knowledge-empty{font-size:12px;color:light-dark(#556658,#999)}.knowledge-list{display:grid;grid-gap:10px;gap:10px}.knowledge-item{border:1px solid light-dark(#b8c2ae,#393939);border-radius:10px;padding:15px}.knowledge-item h3{font-size:14px;font-weight:500;margin:0 0 8px}.knowledge-item p{font-size:12px;color:light-dark(#485c4f,#aaa);white-space:pre-wrap;max-height:130px;overflow:auto}.knowledge-item button,.learning-controls button{border:0;background:none;color:light-dark(#485c4f,#ccc);padding:5px 8px;font-size:12px}.knowledge-item>div{display:flex;gap:10px}.learning-title{align-items:center;justify-content:space-between}.learning-title span{font-size:10px;color:light-dark(#485c4f,#aaa)}.learning-item>.learning-draft{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.75;margin-top:12px}.learning-controls{gap:12px;margin-top:12px}.learning-item>.learning-feedback{display:flex;flex-direction:column;font-size:12px;margin-top:12px}.learning-feedback textarea,.learning-page .knowledge-form textarea{min-height:90px}.control-page{display:flex;flex-direction:column;gap:16px}.control-card h2{font-size:18px;margin:0 0 9px}.control-card h3{font-size:14px;font-weight:500}.control-card p,.control-notice{font-size:12px;color:light-dark(#485c4f,#aaa);line-height:1.7}.control-notice{padding:10px;border:1px solid light-dark(#b8c2ae,#4a4a4a);border-radius:8px}.control-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-top:1px solid light-dark(#b8c2ae,#393939)}.control-row div{min-width:0}.control-row small{display:block;font-size:11px;overflow-wrap:anywhere;color:light-dark(#556658,#969696)}.control-row b{font-size:11px;font-weight:400;color:light-dark(#485c4f,#bdbdbd)}.control-card button:not(.primary-action){border:1px solid light-dark(#b8c2ae,#444);background:light-dark(#f8f7ed,#303030);color:light-dark(#27372e,#ddd);padding:7px 10px;border-radius:7px;font-size:12px}.control-card form{display:flex;flex-direction:column;gap:8px;margin-top:14px}.control-card label{font-size:12px;color:light-dark(#485c4f,#bcbcbc)}.control-card input,.control-card select,.control-card textarea{width:100%}.control-card textarea{min-height:90px;resize:vertical}.control-card input[type=checkbox]{width:auto;accent-color:#ddd}.control-card fieldset{border:1px solid light-dark(#b8c2ae,#454545);border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:10px}.control-card fieldset legend{font-size:12px;color:light-dark(#485c4f,#bbb)}.control-card a{color:light-dark(#954649,#edc4cc)}.control-card summary{cursor:pointer;font-size:12px}.control-proposals{display:grid;grid-gap:10px;gap:10px;overflow-wrap:anywhere;font-size:12px}.control-proposals article{border-top:1px solid light-dark(#b8c2ae,#444);padding-top:10px}.overlay{z-index:50}.modal{background:light-dark(#fcfaf1,#262626);border:1px solid light-dark(#b8c2ae,#444);border-radius:14px;padding:24px}.modal h2{font-size:21px;font-weight:500}.setting{border-color:light-dark(#b8c2ae,#3a3a3a);font-size:12px;padding:14px 0}.setting svg{color:light-dark(#485c4f,#aaa)}.hint,.setting b{color:light-dark(#556658,#999);font-size:11px}.hint{line-height:1.7}.logout{width:100%;border:1px solid light-dark(#b8c2ae,#444);background:light-dark(#f8f7ed,#303030);color:light-dark(#27372e,#ddd);border-radius:8px;padding:10px;display:flex;justify-content:center;gap:9px}.workspace-dialog{background:light-dark(#f8f7ed,#282828);color:light-dark(#27372e,#eee);border:1px solid light-dark(#b8c2ae,#484848);border-radius:14px;width:min(460px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:22px;font-size:13px;box-shadow:0 20px 80px light-dark(#27392b47,#0008)}.workspace-dialog::-webkit-backdrop{background:#0009}.workspace-dialog::backdrop{background:#0009}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.dialog-head h2{font-size:18px;font-weight:500;line-height:1.4;margin:0}.dialog-head button{font-size:22px;border:0;background:none;color:light-dark(#485c4f,#aaa);line-height:1}.dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-top:22px}.browser-dock button:not(.primary-action),.browser-empty button,.dialog-actions button:not(.primary-action),.external-account button{border:1px solid light-dark(#b8c2ae,#454545);background:light-dark(#f8f7ed,#303030);color:light-dark(#27372e,#ddd);border-radius:7px;padding:7px 10px;font-size:11px}.check-row{display:flex;align-items:flex-start;gap:9px;margin:16px 0;font-size:12px;line-height:1.6}.check-row input{width:15px;height:15px;flex-shrink:0;accent-color:#ddd;margin:2px 0}.external-accounts{display:grid;grid-gap:10px;gap:10px}.external-account{border:1px solid light-dark(#b8c2ae,#3b3b3b);border-radius:10px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.external-account strong{font-size:13px;font-weight:500}.external-account small{display:block;color:light-dark(#556658,#999);font-size:11px;margin-top:4px}.account-actions{display:flex;flex-wrap:wrap;gap:6px}.browser-dock{width:clamp(430px,48vw,850px);flex-shrink:0;min-width:0;display:flex;flex-direction:column;border-left:1px solid light-dark(#b8c2ae,#3b3b3b);background:light-dark(#fcfaf1,#1b1b1b)}.browser-dock.expanded{position:fixed;inset:0;width:100%;z-index:40}.dock-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;height:56px;border-bottom:1px solid light-dark(#b8c2ae,#343434);flex-shrink:0}.dock-heading>div{display:flex;align-items:center;gap:8px}.dock-heading strong{font-size:12px;font-weight:500}.browser-dock .dock-heading button{border:0;padding:5px;background:none}.dock-content{padding:12px;overflow:auto;flex:1 1;min-height:0}.browser-account-select{display:flex;gap:8px;margin-bottom:10px}.browser-account-select select{flex:1 1;font-size:11px;padding:7px}.browser-address{display:flex;gap:6px;margin-bottom:10px}.browser-address input{font-size:11px;padding:7px;flex:1 1}.browser-screen{position:relative;background:white;border:1px solid light-dark(#b8c2ae,#444);border-radius:7px;overflow:hidden;line-height:0;isolation:isolate}.browser-screen img{display:block;width:100%;height:auto}.browser-keyboard{position:absolute;inset:0;width:100%;height:100%;opacity:.01;caret-color:transparent;resize:none;padding:0;border:0;cursor:text;z-index:1;background:transparent;color:transparent}.browser-screen:focus-within{outline:2px solid light-dark(#b8c2ae,#aaa);outline-offset:2px}.browser-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:10px 0}.browser-tools span{font-size:10px;color:light-dark(#556658,#999);margin-right:auto}.browser-help{line-height:1.6;margin:12px 0}.browser-activity,.browser-help{font-size:11px;color:light-dark(#556658,#999)}.browser-activity{border-top:1px solid light-dark(#b8c2ae,#353535);margin-top:18px;padding-top:12px}.browser-activity summary{cursor:pointer}.browser-empty{padding:50px 16px;color:light-dark(#556658,#999);font-size:12px;text-align:center}.browser-empty h2{font-size:20px;font-weight:500;color:light-dark(#27372e,#ddd)}.knowledge-heading>div{min-width:0}.app:has(.browser-dock) .knowledge-heading{flex-direction:column;align-items:flex-start}.domain-permissions{display:block;margin-top:20px;font-size:12px}.domain-permissions input{display:block;width:100%;margin-top:8px}.external-account{min-width:0;overflow-wrap:anywhere}.knowledge-page{min-width:0}@media(max-width:1200px){.app:has(.browser-dock) .sidebar{width:190px}.app:has(.browser-dock) .main{min-width:280px}.browser-dock{width:46vw}.app:has(.browser-dock) .topbar{padding:0 16px}.app:has(.browser-dock) .messages{padding:0 16px}}@media(max-width:850px){.app:has(.browser-dock) .sidebar{display:none}.browser-dock{width:53vw}.knowledge-page,.topbar{padding:0 18px}.knowledge-heading{flex-direction:column}.external-account,.knowledge-heading{align-items:flex-start}.workspace-dialog{padding:20px}}@media(max-width:650px){.sidebar{width:min(270px,85vw);z-index:45;display:flex!important}.sidebar.open{transform:translateX(0)}.backdrop{z-index:44}.topbar{height:54px}.top-right>button{display:block}.top-left b{max-width:55vw;font-size:13px}.footer{padding:0 12px 12px}.welcome h1{font-size:25px}.messages{padding:0 18px;gap:24px}.browser-dock{position:fixed;inset:54px 0 0;width:100%;z-index:35;border:0}.browser-dock.expanded{inset:0}.browser-screen{border-radius:4px}.account-actions{gap:5px}.knowledge-actions{align-items:stretch;flex-direction:column}.knowledge-page{margin:20px auto 35px}.history-row .delete-chat{opacity:1}.mobile-close{margin-left:auto}.hint{font-size:11px}}.storyboard-workspace{margin-top:24px;border-top:1px solid light-dark(#b8c2ae,#444);padding-top:20px}.storyboard-intro h2{margin:0 0 8px}.storyboard-intro p{font-size:13px;color:light-dark(#485c4f,#bbb);line-height:1.7}.storyboard-actions{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}.storyboard-actions button,.storyboard-dialogue button,.storyboard-scene>button{border:1px solid light-dark(#b8c2ae,#4a4a4a);border-radius:8px;background:light-dark(#f8f7ed,#303030);color:light-dark(#27372e,#eee);padding:10px 12px;font-size:12px}.storyboard-actions button:disabled{opacity:.45;cursor:not-allowed}.storyboard-fields{min-width:0;border:1px solid light-dark(#b8c2ae,#444);padding:18px;border-radius:12px;margin:22px 0}.storyboard-fields legend{font-size:13px;padding:0 8px}.storyboard-fields input,.storyboard-fields textarea{width:100%}.storyboard-fields h3{font-size:14px;margin:20px 0 12px}.storyboard-scene{border:1px solid light-dark(#b8c2ae,#484848);border-radius:10px;padding:15px!important;margin:18px 0!important;background:light-dark(#fcfaf1,#242424)}.storyboard-scene>summary{font-size:14px;font-weight:500;line-height:1.7}.storyboard-dialogue{border-left:2px solid light-dark(#b8c2ae,#666);padding:0 0 12px 14px;margin:14px 0}.storyboard-source{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;color:light-dark(#485c4f,#bbb)}.storyboard-scene .video-player{margin:15px 0}.storyboard-scene video{width:100%;max-height:360px;display:block}.storyboard-fields:disabled{opacity:.75}.storyboard-fields:disabled video{pointer-events:auto}@media(max-width:650px){.storyboard-fields{padding:10px}.storyboard-scene{padding:10px!important}.storyboard-actions{flex-direction:column;align-items:stretch}.storyboard-actions button{justify-content:center}}.video-page .primary-action,.video-page a,.video-page h1,.video-page label{display:flex;align-items:center;gap:10px}.video-options{display:flex;gap:20px;flex-wrap:wrap}.video-options>div{flex:1 1;min-width:180px}.video-form select{width:100%;padding:12px;background:var(--surface,light-dark(#fcfaf1,#1c1d1f));color:inherit;border:1px solid light-dark(#b8c2ae,#313234);border-radius:10px}.video-form details{margin:14px 0}.video-form summary{cursor:pointer;margin-bottom:10px}.task-show{align-self:flex-start;margin:0 22px 12px;padding:7px 10px;border:1px solid light-dark(#b8c2ae,#424242);border-radius:8px;background:light-dark(#fcfaf1,#262626);color:light-dark(#485c4f,#bbb);font-size:12px}.video-reference{display:flex;align-items:center;gap:12px}.video-reference img{max-width:180px;max-height:120px;object-fit:contain;border-radius:10px}.video-reference span{overflow-wrap:anywhere}.video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));grid-gap:20px;gap:20px}.video-result{min-width:0}.video-result video{display:block;width:100%;max-height:420px;margin:16px 0;background:light-dark(#f4f2e7,#0b0c0e);border-radius:12px}.video-result-heading{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.video-result-heading small{opacity:.65}.video-result p{white-space:pre-wrap;overflow-wrap:anywhere}.video-result a{color:inherit}.video-form .hint{line-height:1.6}.message-loading{display:flex;align-items:center;gap:12px;color:var(--muted,light-dark(#485c4f,#aaa));margin:16px auto;max-width:760px}.loading-dots{display:flex;gap:4px}.loading-dots i{width:6px;height:6px;border-radius:50%;background:currentColor;animation:message-pulse 1s infinite alternate}.loading-dots i:nth-child(2){animation-delay:.2s}.loading-dots i:nth-child(3){animation-delay:.4s}@keyframes message-pulse{0%{opacity:.3}to{opacity:1}}@media(prefers-reduced-motion:reduce){.loading-dots i{animation:none}}.message-failed{display:block;margin-top:8px;color:light-dark(#77562c,#e9b5a4)}.autonomy-settings{border-bottom:1px solid light-dark(#b8c2ae,#444);margin-bottom:20px;padding-bottom:20px}.autonomy-settings fieldset{border:1px solid light-dark(#b8c2ae,#444);border-radius:10px;padding:12px;margin:16px 0}.autonomy-settings .check-row{display:flex;align-items:flex-start;gap:10px;margin:14px 0}.autonomy-settings input[type=number]{width:100%;padding:10px}.modal{max-height:90dvh;overflow-y:auto}.video-player{position:relative;background:#080808;border-radius:10px;overflow:hidden}.video-player video{display:block}.video-buffering{display:block;padding:8px 12px;color:light-dark(#485c4f,#ccc);font-size:13px}.storyboard-fields textarea{min-height:72px;height:84px}.storyboard-scene textarea{min-height:72px;height:104px}.storyboard-scene .scene-action-editor{min-height:240px;height:260px;line-height:1.7}.video-start-bar{position:-webkit-sticky;position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:light-dark(#f8f7ed,#292929);border:1px solid light-dark(#b8c2ae,#666);border-radius:12px;padding:16px;margin:0 0 20px;box-shadow:0 8px 22px light-dark(#27392b23,#0004)}.video-start-bar strong{font-size:16px}.video-start-bar p{font-size:12px;color:light-dark(#485c4f,#bbb);margin:6px 0 0}.video-start-button{background:#e6e6e6!important;color:#161616!important;min-height:46px;padding:12px 20px!important;font-weight:600;border-radius:9px}.video-start-button:disabled{opacity:.55}.video-run-status{border:1px solid light-dark(#b8c2ae,#555);border-radius:10px;padding:14px;margin:14px 0;font-size:13px}.video-run-status p{line-height:1.7}.scene-card-heading button,.scene-order-row button,.video-run-status button{border:1px solid light-dark(#b8c2ae,#555);background:light-dark(#eeeee2,#333);color:light-dark(#27372e,#eee);border-radius:8px;padding:9px 12px}.scene-card-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.scene-card-heading h3{margin:0 0 7px;font-size:15px}.scene-card-heading p{font-size:13px;margin:0 0 8px}.scene-card-heading small{color:light-dark(#485c4f,#aaa)}.scene-card-heading button{font-size:12px}.scene-order-row{display:flex;align-items:center;gap:8px;margin:10px 0;font-size:12px}.scene-order-row span{flex:1 1}.storyboard-final{border:1px solid light-dark(#b8c2ae,#555);border-radius:10px;padding:14px;margin:18px 0}.storyboard-final video{width:100%;max-height:400px}.storyboard-scene>details{margin-bottom:0}.storyboard-scene button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:650px){.video-start-bar{padding:12px;gap:10px}.video-start-bar>div,.video-start-button{width:100%}.video-start-button{justify-content:center}.scene-card-heading{align-items:flex-start}}