.flow-shell{--flow-bg:#121017;--flow-surface:#1d1925;--flow-hover:#292330;--flow-line:#ffffff12;--flow-text:#f1edf5;--flow-muted:#a49bab;--studio-line:var(--flow-line);height:var(--flow-height,calc(100dvh - 56px));background:var(--flow-bg);min-height:180px;color:var(--flow-text);font-family:var(--font-sans), Arial, sans-serif;isolation:isolate;font-size:14px;line-height:1.5;display:flex;position:relative;overflow:hidden}.flow-shell *{box-sizing:border-box;min-width:0}.flow-shell h1,.flow-shell h2,.flow-shell h3{color:var(--flow-text);letter-spacing:-.025em;font-family:inherit}.flow-shell button,.flow-shell select,.flow-dialog button{border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:7px 11px;font-size:13px;font-weight:500;transition:background .15s;display:inline-flex}.flow-shell button:hover:not(:disabled),.flow-dialog button:hover:not(:disabled){background:var(--flow-hover,#302936)}.flow-shell .primary,.flow-dialog .primary{color:#201a29;background:#eee9f5;border-color:#0000;border-radius:10px;font-weight:600}.flow-shell .primary:hover:not(:disabled),.flow-dialog .primary:hover:not(:disabled){background:#fff}.flow-shell :focus-visible,.flow-dialog :focus-visible{outline-offset:2px;outline:2px solid #b990ed}.flow-shell a{color:inherit;text-decoration:none}.flow-shell .muted{color:var(--flow-muted)}.flow-sidebar{border-right:1px solid var(--flow-line);scrollbar-width:thin;background:#17131d;flex-direction:column;flex:none;gap:18px;width:218px;padding:20px 14px 16px;display:flex;overflow:auto}.flow-sidebar-label{color:#b9aec7;letter-spacing:.13em;text-transform:uppercase;justify-content:space-between;align-items:center;padding:0 10px;font-size:11px;display:flex}.flow-new{background:#24202c;border:1px solid #ffffff18;border-radius:10px;align-items:center;gap:9px;padding:10px 13px;display:flex}.flow-sidebar nav,.flow-mobile-nav nav{gap:3px;display:grid}.flow-sidebar nav a,.flow-mobile-nav nav a,.flow-recents a{border-radius:8px;align-items:center;gap:10px;min-height:38px;padding:9px 10px;display:flex}.flow-sidebar a:hover,.flow-mobile-nav a:hover{background:#ffffff08}.flow-sidebar a[aria-current=page],.flow-mobile-nav a[aria-current=page]{color:#e0c6ff;background:#302638}.flow-recents{gap:2px;display:grid}.flow-recents>p{color:#92869e;margin:0 10px 6px;font-size:11px}.flow-recents a{color:#c7bdcf;font-size:12px}.flow-recents a span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.flow-recents svg,.flow-sidebar nav svg{color:#9d8fa9;flex-shrink:0}.flow-nav-note{color:#82778e;margin:auto 10px 0;padding-top:20px;font-size:11px;line-height:1.6}.flow-main{flex-direction:column;flex:1;display:flex;overflow:hidden}.flow-topbar{border-bottom:1px solid var(--flow-line);align-items:center;gap:10px;height:56px;min-height:56px;padding:0 28px;display:flex}.flow-page-title{text-overflow:ellipsis;white-space:nowrap;color:#d4cadf;flex:1;font-size:13px;overflow:hidden}.flow-header-action{align-items:center;gap:8px;max-width:52%;display:flex}.flow-project-link{align-items:center;gap:6px;font-size:12px;display:flex;color:#c6acd9!important}.flow-project-link span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.flow-main .flow-menu{display:none}.flow-scroll{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;padding:30px 36px 40px;overflow:auto}.flow-list-heading{justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px;display:flex}.flow-list-heading h1{margin-bottom:6px;font-size:27px;font-weight:650}.flow-list-heading p,.flow-section-hint{color:var(--flow-muted);font-size:13px}.flow-shell .flow-search{border-bottom:1px solid #ffffff25;align-items:center;gap:6px;max-width:260px;margin:0;display:flex}.flow-shell .flow-search input{box-shadow:none;background:0 0;border:0;border-radius:0;padding:10px 5px;font-size:13px}.flow-project-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;display:grid}.flow-project-card{border:1px solid var(--flow-line);background:#1a1620;border-radius:15px;padding-bottom:16px;transition:border-color .15s;overflow:hidden}.flow-project-card:hover{border-color:#b990ed60}.flow-project-cover{aspect-ratio:16/9;color:#ab8bc9;background:linear-gradient(125deg,#2f253b,#17131d);place-items:center;display:grid}.flow-project-cover img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.flow-project-card h2{margin:14px 16px 4px;font-size:16px;line-height:1.5}.flow-project-card p{color:var(--flow-muted);margin:0 16px;font-size:12px}.flow-empty{text-align:center;color:#a99bb9;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:270px;padding:40px 24px;display:flex}.flow-empty h2{font-size:22px;font-weight:500}.flow-empty p{max-width:380px;color:var(--flow-muted);font-size:14px}.flow-empty .primary{margin-top:6px}.flow-history-list{max-width:940px;display:grid}.flow-history-list>a{border-bottom:1px solid var(--flow-line);align-items:center;gap:14px;padding:17px 10px;display:flex}.flow-history-list>a:hover{background:#ffffff03}.flow-history-icon{color:#b4a0c6;background:#26202e;border-radius:10px;flex:none;place-items:center;width:38px;height:38px;display:grid}.flow-history-list h2{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.flow-history-list>a>div{flex:1;overflow:hidden}.flow-history-list p{color:var(--flow-muted);margin-top:3px;font-size:12px}.flow-history-list time{color:#998aa7;white-space:nowrap;font-size:11px}.flow-load-more{margin:24px auto 0;border:1px solid var(--flow-line)!important;display:flex!important}.flow-project-heading{align-items:center;gap:14px;padding:24px 36px 20px;display:flex}.flow-project-heading>svg{color:#b8a0cd;flex:none}.flow-project-heading h1{overflow-wrap:anywhere;font-size:25px;font-weight:600}.flow-project-heading p{color:var(--flow-muted);margin-top:3px;font-size:12px}.flow-project-heading>div{flex:1}.flow-tabs{border-bottom:1px solid var(--flow-line);scrollbar-width:none;flex:none;gap:16px;padding:0 28px;display:flex;overflow-x:auto}.flow-tabs button{color:#a49bab;white-space:nowrap;background:0 0;border-bottom:2px solid #0000;border-radius:0;min-height:43px;padding:8px 3px;font-size:13px}.flow-tabs button[aria-current=page]{color:#f0e7fa;border-bottom-color:#c2a1e2}.flow-mobile-section{display:none!important}.flow-section-toolbar{justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;display:flex}.flow-section-toolbar p{color:var(--flow-muted);max-width:520px;font-size:13px}.flow-section-toolbar button{border:1px solid var(--flow-line);flex:none}.flow-character-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:22px;margin-top:22px;display:grid}.flow-character-grid article{max-width:320px}.flow-character-grid img,.flow-character-placeholder{aspect-ratio:1;-o-object-fit:cover;object-fit:cover;background:#221b2b;border-radius:13px;width:100%}.flow-character-grid h3{margin:12px 0 5px;font-size:16px}.flow-character-grid p{color:var(--flow-muted);white-space:pre-wrap;font-size:13px}.flow-result-grid{grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:22px;display:grid}.flow-result-grid.compact{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));max-width:580px;margin:24px 0}.flow-result-card{border:1px solid var(--flow-line);background:#19151f;border-radius:13px;align-self:start;overflow:hidden}.flow-shell .flow-result-image{aspect-ratio:4/3;background:#0c0b0f;border:0;border-radius:0;width:100%;min-height:0;padding:0;display:block;overflow:hidden}.flow-result-image img{-o-object-fit:contain;object-fit:contain;width:100%;height:100%}.flow-result-card video{aspect-ratio:4/3;-o-object-fit:contain;object-fit:contain;background:#09070d;width:100%;max-height:460px}.flow-result-caption{padding:12px 13px 0}.flow-result-caption h3{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;overflow:hidden}.flow-result-caption p{color:#9c8eaa;margin-top:4px;font-size:10px}.flow-result-actions{flex-wrap:wrap;align-items:center;gap:3px;padding:7px;display:flex}.flow-result-actions a,.flow-result-actions button{justify-content:center;align-items:center;min-width:34px;min-height:36px;padding:7px;font-size:11px;display:inline-flex}.flow-result-actions .flow-source{color:#b9a9c7;text-underline-offset:3px;margin-left:auto;text-decoration:underline}.flow-expired{aspect-ratio:4/3;color:#a895bb;place-items:center;font-size:13px;display:grid}.flow-segments{flex-wrap:wrap;gap:5px;margin-bottom:22px;display:flex}.flow-segments button{color:#a89cb6;border-radius:8px}.flow-segments button[aria-pressed=true]{color:#eadcf7;background:#302638}.flow-conversation{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.flow-shell .flow-messages{overscroll-behavior:contain;flex:1;min-height:0;padding:22px 28px 12px;overflow:auto}.flow-message-column{max-width:780px;min-height:100%;margin:0 auto}.flow-shell .chat-message{background:0 0;border:0;border-radius:0;max-width:100%;margin:26px 0;padding:0;display:block}.flow-shell .chat-message.user{color:#eee6f5;background:#292330;border-radius:17px 17px 5px;width:fit-content;max-width:86%;margin-left:auto;padding:12px 17px;font-size:14px}.flow-shell .chat-message.user .message-text{background:0 0;border:0;max-width:100%;padding:0}.flow-shell .chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:10px;font-size:14px;line-height:1.8}.flow-shell .chat-message p:last-child{margin-bottom:0}.flow-shell .message-text{width:100%}.flow-shell .message-text h4{margin:14px 0 8px;font-size:16px}.flow-shell .message-actions{opacity:1;gap:4px;margin-top:10px;display:flex}.cartoon.flow-shell .message-actions button{box-shadow:none;color:#a79ab3;background:0 0;border:0;border-radius:5px;gap:5px;width:auto;min-width:0;min-height:30px;padding:4px 6px;font-size:12px;font-weight:400}.flow-shell .flow-proposal .message-actions{flex-wrap:wrap;margin-top:8px}.flow-shell .flow-draft-hint{color:var(--flow-muted);margin:5px 8px 0;font-size:11px}.flow-shell .flow-applied{color:#b9a2cd;align-items:center;gap:5px;font-size:12px;display:flex}.flow-shell .flow-choose-idea{min-height:34px;margin-top:10px;padding:5px 9px;font-size:12px}.flow-chat-welcome{padding:70px 0 30px}.flow-chat-welcome h2{font-size:26px;font-weight:550}.flow-chat-welcome p{color:var(--flow-muted);max-width:450px;margin:10px 0 25px;font-size:14px}.flow-suggestions{flex-wrap:wrap;gap:8px;display:flex}.flow-suggestions button{color:#cbbbd9;border:1px solid #ffffff15}.flow-proposal{flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin:9px 0;display:flex}.flow-shell .flow-suggestion{color:#ddc6f2;text-align:left;background:#251e2d;border-radius:7px;justify-content:flex-start;max-width:100%;padding:8px 11px;font-size:13px}.flow-suggestion svg{flex:none}.flow-proposal details{color:#92849f;max-width:100%;font-size:11px}.flow-proposal details[open]{background:#1e1826;border-radius:10px;width:100%;padding:12px}.flow-proposal details summary{cursor:pointer;align-items:center;min-height:28px;display:flex}.flow-proposal-detail{color:#d0c3db;max-width:100%;font-size:13px;overflow:hidden}.flow-message-quote{text-overflow:ellipsis;border-left:2px solid #a983cb;gap:7px;max-width:100%;margin-bottom:8px;padding-left:9px;font-size:11px;display:flex;overflow:hidden;color:#b5a3c4!important}.flow-message-attachments{color:#baa3cf;flex-wrap:wrap;gap:7px;margin-top:6px;font-size:10px;display:flex}.flow-shell .studio-composer-dock{z-index:5;width:100%;max-width:836px;padding:8px 28px max(18px, env(safe-area-inset-bottom));background:var(--flow-bg);border:0;flex:none;margin:0 auto;position:relative}.flow-shell .studio-composer{background:#211b2a;border:1px solid #ffffff1d;border-radius:16px;overflow:visible;box-shadow:0 8px 28px #0002}.flow-shell .studio-mode-tabs{background:0 0;border:0;border-radius:14px 14px 0 0;gap:3px;height:auto;padding:7px 9px 0;display:flex;overflow:hidden}.flow-shell .studio-mode-tabs button{color:#a194ad;background:0 0;border:0;border-radius:8px;flex:none;min-width:0;height:32px;min-height:32px;padding:5px 10px;font-size:11px;line-height:1.2}.flow-shell .studio-mode-tabs button[aria-selected=true]{color:#ddc4f5;box-shadow:none;background:#382a45;border:0}.flow-shell .studio-mode-tabs button:before,.flow-shell .studio-mode-tabs button:after{display:none!important}.flow-shell .studio-mode-tabs button svg{width:15px;height:15px}.flow-shell .studio-composer-body{box-shadow:none;background:0 0;border:0;border-radius:0 0 16px 16px;padding:12px 13px 10px}.flow-shell .composer-input-row{align-items:flex-start;gap:8px;display:flex}.flow-shell .reference-add{color:#ae8ccf;background:0 0;border:0;border-radius:8px;flex:0 0 30px;width:30px;height:32px;min-height:32px;margin:0;padding:4px;transform:none}.flow-shell .reference-add span{display:none}.flow-shell .reference-add svg{width:20px;height:20px}.flow-shell .prompt-editor{color:#eee5f6;background:0 0;border:0;min-height:46px;max-height:140px;padding:3px 0 8px;font-size:15px;line-height:1.6;overflow-y:auto}.flow-shell .prompt-editor[data-empty=true]:before{color:#96899f;font-size:14px}.flow-shell .composer-toolbar{align-items:flex-end;gap:8px;margin-top:6px}.flow-shell .composer-tools{flex-wrap:wrap;gap:4px}.flow-shell .composer-tools button{background:0 0;border:0;border-radius:7px;min-height:30px;padding:5px 7px;font-size:11px}.flow-shell .composer-tools svg{width:16px;height:16px}.flow-shell .composer-submit{border-radius:50%;flex:none;width:38px;height:38px;min-height:38px;padding:7px}.flow-shell .composer-submit svg{width:20px;height:20px}.flow-shell .composer-price{color:#d2badf;gap:4px;font-size:12px}.flow-shell .composer-price svg{width:15px;height:15px}.flow-shell .composer-actions{flex:none;gap:8px}.flow-shell .composer-footnote{color:#9b8ca8;text-align:center;margin:6px 0 0;font-size:10px}.flow-shell .composer-references{max-height:80px;margin:6px 0;overflow:auto}.flow-shell .composer-reference{background:#302737;border-radius:8px}.flow-shell .composer-reference img{border-radius:5px;width:25px;height:25px}.flow-shell .composer-reference button{min-height:30px;padding:4px 6px;font-size:10px}.flow-shell .composer-selected-skill{margin:0 0 8px}.flow-reply{color:#baa6cb;background:#32273d;border-left:2px solid #ac80d3;border-radius:6px;align-items:center;gap:8px;margin-bottom:10px;padding:5px 8px;font-size:12px;display:flex}.flow-reply>span{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.flow-reply>svg{flex:none}.flow-reply button{min-height:28px;padding:3px}.flow-shell .chat-to-bottom{background:#2a2135;border:1px solid #ffffff1d;border-radius:50%;width:32px;height:32px;min-height:32px;padding:5px;position:absolute;top:-40px;right:32px;box-shadow:0 4px 14px #0004}.flow-project-invite{border-top:1px solid var(--flow-line);color:#b2a1c1;justify-content:space-between;align-items:center;gap:18px;margin:22px 0;padding:12px 0;font-size:12px;display:flex}.flow-project-invite button{color:#d5b3f2;flex:none}.flow-run-error{color:#dbb2bc;background:#301e26;border-radius:9px;padding:12px;font-size:12px}.flow-shell .direct-studio{background:0 0;border:0;flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.flow-shell .direct-results{overscroll-behavior:contain;flex:1;min-height:0;padding:28px;overflow:auto}.flow-shell .direct-results>div,.flow-shell .direct-results>section{max-width:780px;margin-left:auto;margin-right:auto}.flow-shell .direct-result-grid{grid-template-columns:1fr;gap:18px;max-width:780px}.flow-shell .direct-result{background:0 0;border:0;padding:0}.flow-shell .direct-result-status{color:#b6a3c8;margin:8px 0;font-size:11px}.flow-shell .studio-mode-welcome{text-align:left;padding:65px 0 45px}.flow-shell .mode-welcome-icon,.flow-shell .mode-feature-line{display:none}.flow-shell .studio-mode-welcome h2{font-size:26px;font-weight:550}.flow-shell .studio-mode-welcome p{color:var(--flow-muted);font-size:14px}.flow-shell .flow-entry{flex:1;width:100%;max-width:820px;min-height:0;margin:0 auto;padding:clamp(40px,12vh,110px) 28px 30px;overflow:auto}.flow-shell .studio-entry-heading{text-align:center;margin-bottom:30px}.flow-shell .studio-entry-heading .cartoon-eyebrow{display:none}.flow-shell .studio-entry-heading h1{margin:0 0 14px;font-size:clamp(28px,3vw,40px);font-weight:650;line-height:1.2}.flow-shell .studio-entry-heading p{color:var(--flow-muted);font-size:14px}.flow-shell .studio-entry-links{flex-wrap:wrap;gap:15px;margin-top:16px;font-size:12px}.flow-shell .studio-entry-links>span{color:#96869f;font-size:10px}.flow-shell .studio-entry-links>a:first-child{display:none}.flow-dialog{--studio-line:#ffffff1b;color:#eee5f4;width:min(480px,100vw - 28px);max-height:calc(100dvh - 32px);font-family:var(--font-sans), Arial, sans-serif;background:#211a2a;border:1px solid #ffffff20;border-radius:18px;margin:auto;padding:24px;font-size:14px;overflow:auto;box-shadow:0 24px 100px #0008}.flow-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#07060bb3}.flow-dialog-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.flow-dialog-heading h2{letter-spacing:-.02em;font-size:19px;font-weight:600}.flow-dialog-heading button{color:#b9a8c8;width:32px;height:32px;min-height:32px;padding:5px}.flow-dialog-description{color:#afa0bd;margin:0 0 20px;font-size:13px;line-height:1.7}.flow-dialog label{color:#cbbcd8;margin:14px 0;font-size:12px}.flow-dialog input:not([type=radio]),.flow-dialog textarea{color:#f3eaf9;width:100%;margin-top:7px;font-size:16px;background:#15101d!important;border:1px solid #ffffff2b!important;border-radius:10px!important;padding:12px!important}.flow-dialog-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:24px;display:flex}.flow-dialog-actions a{justify-content:center;align-items:center;min-height:38px;padding:8px 14px;font-size:13px;display:inline-flex}.flow-dialog .flow-segments{gap:8px;margin-bottom:18px}.flow-dialog .flow-segments button{font-size:12px}.flow-project-options{max-height:240px;overflow:auto}.flow-project-options label{border-bottom:1px solid #ffffff12;align-items:center;gap:12px;min-height:46px;margin:0;padding:10px;display:flex}.flow-project-options input{accent-color:#ba8cde;width:16px;height:16px}.flow-saved{text-align:center;padding:12px 0}.flow-saved>svg{color:#baa0d6;margin:0 auto 14px}.flow-saved h3{font-size:18px}.flow-saved p{color:#b8a6c5;margin-top:10px;font-size:12px}.flow-preview img,.flow-preview video{-o-object-fit:contain;object-fit:contain;border-radius:8px;width:100%;max-height:65dvh}.flow-download{align-items:center;gap:8px;margin-top:16px;font-size:13px;display:flex}.flow-character-thumb{-o-object-fit:cover;object-fit:cover;border-radius:12px;width:80px;height:80px}.flow-mobile-nav{gap:18px;display:grid}.flow-mobile-nav a{color:#ded1e9;text-decoration:none}.flow-shell .flow-work{background:0 0;max-width:100%}.flow-work>section{max-width:1020px;margin:auto}@media (max-width:900px){.flow-sidebar{width:186px;padding-left:9px;padding-right:9px}.flow-scroll{padding:24px}.flow-list-heading{flex-direction:column;align-items:flex-start;gap:14px}.flow-search{width:100%;max-width:100%!important}.flow-result-grid{grid-template-columns:repeat(auto-fill,minmax(215px,1fr))}}@media (max-width:650px){.flow-shell{font-size:14px}.flow-sidebar{display:none}.flow-main .flow-menu{width:40px;min-height:40px;margin-left:-8px;padding:8px;display:inline-flex}.flow-topbar{gap:7px;height:48px;min-height:48px;padding:0 16px}.flow-page-title{font-size:13px}.flow-header-action{max-width:45%}.flow-icon-action{min-height:40px!important}.flow-icon-action>span{display:none}.flow-project-link{font-size:11px}.flow-scroll{padding:22px 16px 28px}.flow-list-heading h1{font-size:25px}.flow-list-heading{margin-bottom:22px}.flow-project-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px}.flow-project-card h2{margin:12px 12px 4px;font-size:14px}.flow-project-card p{margin:0 12px;font-size:10px}.flow-project-heading{gap:11px;padding:20px 16px 16px}.flow-project-heading h1{font-size:23px}.flow-project-heading p{font-size:11px}.flow-project-tabs{display:none}.flow-mobile-section{border-bottom:1px solid #ffffff12;padding:0 16px 12px;margin:0!important;display:block!important}.flow-mobile-section select{background:#251e2e!important;border:1px solid #ffffff16!important;border-radius:9px!important;min-height:44px!important;padding:10px 12px!important;font-size:14px!important}.flow-tabs{gap:15px;padding:0 16px}.flow-tabs button{min-height:43px;font-size:12px}.flow-history-list>a{gap:10px;padding:15px 0}.flow-history-list h2{font-size:14px}.flow-history-list time{font-size:10px}.flow-history-icon{width:35px;height:35px}.flow-history-list>a>svg{display:none}.flow-result-grid,.flow-result-grid.compact{grid-template-columns:1fr;gap:20px;max-width:430px}.flow-result-actions button,.flow-result-actions a{min-width:42px;min-height:44px}.flow-result-caption p{font-size:11px}.flow-result-card video,.flow-shell .flow-result-image{aspect-ratio:4/3;max-height:370px}.flow-shell .flow-messages{padding:10px 16px}.flow-shell .chat-message{margin:22px 0}.flow-shell .chat-message.user{max-width:92%;padding:11px 14px}.flow-shell .chat-message p{font-size:14px;line-height:1.75}.cartoon.flow-shell .message-actions button{min-height:44px;padding:6px}.flow-shell .flow-suggestion{min-height:40px}.flow-proposal details summary{min-height:36px}.flow-chat-welcome{padding:35px 0 20px}.flow-chat-welcome h2{font-size:24px}.flow-suggestions{justify-items:start;display:grid}.flow-suggestions button{min-height:42px}.flow-shell .studio-composer-dock{padding:6px 10px max(10px, env(safe-area-inset-bottom));background:var(--flow-bg);max-width:100%}.flow-shell .studio-composer-body{padding:9px 10px}.flow-shell .studio-mode-tabs{gap:2px;padding:6px 7px 0}.flow-shell .studio-mode-tabs button{flex:1;justify-content:center;height:36px;min-height:36px;padding:6px 7px;font-size:11px}.flow-shell .studio-mode-tabs button svg{width:14px;height:14px}.flow-shell .prompt-editor{min-height:42px;max-height:min(120px,22dvh);padding:6px 0 4px;font-size:16px;line-height:1.5}.flow-shell .prompt-editor[data-empty=true]:before{font-size:14px}.flow-shell .reference-add{flex-basis:30px;width:30px;height:40px;min-height:40px}.flow-shell .composer-toolbar{gap:3px;margin-top:4px}.flow-shell .composer-tools{flex:1;gap:1px}.flow-shell .composer-tools button{min-height:38px;padding:5px 6px;font-size:10px}.flow-shell .composer-tools svg{width:14px;height:14px}.flow-shell .composer-submit{width:42px;height:42px;min-height:42px}.flow-shell .composer-price{gap:3px;font-size:11px}.flow-shell .composer-actions{gap:4px}.flow-shell .composer-footnote{margin-top:4px;font-size:10px}.flow-shell .chat-to-bottom{width:38px;height:38px;min-height:38px;top:-42px;right:16px}.flow-project-invite{flex-direction:column;align-items:flex-start;gap:5px}.flow-shell .direct-results{padding:20px 16px}.flow-shell .studio-mode-welcome{padding:32px 0}.flow-shell .studio-mode-welcome h2{font-size:24px}.flow-shell .flow-entry{padding:clamp(24px,7vh,65px) 16px 24px}.flow-shell .studio-entry-heading{margin-bottom:25px}.flow-shell .studio-entry-heading h1{font-size:29px}.flow-shell .studio-entry-heading p{font-size:13px}.flow-shell .studio-entry-links{text-align:center;justify-content:center;margin-top:14px}.flow-shell .flow-entry .studio-composer-body{padding:14px 10px}.flow-shell .flow-entry .prompt-editor{min-height:76px}.flow-shell .flow-entry .studio-mode-tabs button{font-size:12px}.flow-dialog{border-radius:17px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:20px}.flow-dialog button{min-height:42px}.flow-dialog-heading h2{font-size:18px}.flow-dialog-actions{gap:8px}.flow-dialog-actions button{font-size:12px}.flow-dialog .flow-segments{gap:4px;display:flex}.flow-dialog .flow-segments button{flex:1;font-size:11px}.flow-mobile-nav nav a,.flow-mobile-nav .flow-recents a{min-height:44px}.flow-section-toolbar{align-items:flex-start}.flow-section-toolbar button{min-height:44px}.flow-character-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.flow-character-grid p{font-size:12px}}@media (prefers-reduced-motion:reduce){.flow-shell *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.flow-shell .workflow{max-width:1140px;margin:0 auto;padding:4px 0 28px}.flow-shell .workflow-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.flow-shell .workflow-heading h2{margin:4px 0 8px;font-size:25px;font-weight:650;line-height:1.25}.flow-shell .workflow-eyebrow{color:#a99bb8;margin:0;font-size:11px}.flow-shell .workflow p{line-height:1.65}.flow-shell .workflow .muted{font-size:12px}.flow-shell .workflow-status{color:#b5a8c1;border:1px solid var(--flow-line);border-radius:7px;flex-shrink:0;align-items:center;gap:6px;padding:6px 9px;font-size:11px;display:inline-flex}.flow-shell .is-approved,.flow-shell .production-approved{color:#a5d3b4}.flow-shell .workflow-brief{border:1px solid var(--flow-line);background:#19161f;border-radius:12px;margin-bottom:28px}.flow-shell .workflow-brief>summary{color:#e1d8e9;align-items:center;gap:10px;padding:14px 16px;font-size:13px;display:flex}.flow-shell .workflow-brief .brief-summary{color:var(--flow-muted);margin-left:auto;font-size:11px;font-weight:400}.flow-shell .workflow summary{cursor:pointer}.flow-shell .workflow-brief>summary:after{display:none}.flow-shell .workflow-brief>summary::-webkit-details-marker{display:none}.flow-shell .scene-menu>summary::-webkit-details-marker{display:none}.flow-shell .workflow-brief form{border-top:1px solid var(--flow-line);padding:0 16px 14px}.flow-shell .workflow label{color:#c8bdcf;gap:6px;margin:14px 0;font-size:12px;display:grid}.flow-shell .workflow input:not([type=checkbox]),.flow-shell .workflow textarea,.flow-shell .workflow select{width:100%;color:var(--flow-text);background:#231e2b;border:1px solid #ffffff13;border-radius:8px;min-height:40px;padding:9px 11px;font-size:14px;line-height:1.5;display:block}.flow-shell .workflow input::placeholder{color:#887d93}.flow-shell .workflow textarea{resize:vertical}.flow-shell .workflow label.check{align-items:center;gap:9px;display:flex}.flow-shell .workflow input[type=checkbox]{accent-color:#b48adb;flex-shrink:0;width:16px;height:16px}.flow-shell .workflow-fields{grid-template-columns:2fr 1fr 1fr 1fr;gap:14px;display:grid}.flow-shell .workflow-form-footer{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.flow-shell .workflow-form-footer .check{margin-right:auto}.flow-shell .workflow-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:28px;display:grid}.flow-shell .workflow-section-heading{justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;display:flex}.flow-shell .workflow-section-heading h3{margin:0;font-size:15px;font-weight:600}.flow-shell .workflow-section-heading>span,.flow-shell .workflow-section-heading>svg{color:#a397af;font-size:11px}.flow-shell .workflow-scene{border:1px solid var(--flow-line);background:#19161e;border-radius:12px;margin:0 0 12px;padding:18px}.flow-shell .scene-preview-list{gap:12px;margin:12px 0;display:grid}.flow-shell .scene-preview-list>section{background:#18151f;border:1px solid #ffffff0c;border-radius:9px;padding:15px}.flow-shell .skill-scene-preview{margin:0}.flow-shell .scene-preview-heading{align-items:baseline;gap:10px;margin:0 0 9px;display:flex}.flow-shell .scene-preview-heading h5{color:#eee7f5;flex:1;margin:0;font-size:15px;font-weight:600;line-height:1.4}.flow-shell .scene-index{color:#9f88b7;font-variant-numeric:tabular-nums;flex-shrink:0;font-size:11px}.flow-shell .scene-time{color:#b2a6be;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11px}.flow-shell .skill-scene-preview .scene-setting{color:#9d90ab;align-items:center;gap:6px;margin:0 0 10px;font-size:11px;display:flex}.flow-shell .skill-scene-preview .scene-action{color:#d6cedf;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.75}.flow-shell .skill-scene-preview .scene-dialogue{color:#bfb2cc;white-space:pre-line;background:#ffffff03;border-left:2px solid #9a76bb66;align-items:flex-start;gap:8px;margin:12px 0 0;padding:9px 11px;font-size:12px;line-height:1.65;display:flex}.flow-shell .scene-dialogue svg{flex-shrink:0;margin-top:3px}.flow-shell .skill-scene-preview .shot-timeline{background:0 0;border:0;margin:12px 0 0;padding:0}.flow-shell .skill-scene-preview .shot-timeline summary{font-size:11px}.flow-shell .scene-tools{border-top:1px solid #ffffff08;align-items:center;gap:4px;margin-top:14px;padding-top:10px;display:flex}.flow-shell .scene-tools button{color:#b8aac5;min-height:30px;padding:5px 8px;font-size:11px}.flow-shell .scene-menu{margin:0 0 0 auto;position:relative}.flow-shell .scene-menu>summary{color:#ac9cbb;cursor:pointer;border-radius:7px;place-items:center;width:32px;height:32px;list-style:none;display:grid}.flow-shell .scene-menu>summary:after{display:none}.flow-shell .scene-menu[open]>summary{background:#302637}.flow-shell .scene-menu>div{z-index:3;background:#292131;border:1px solid #ffffff1a;border-radius:9px;min-width:145px;padding:5px;display:grid;position:absolute;top:36px;right:0;box-shadow:0 8px 24px #0006}.flow-shell .scene-menu button{justify-content:flex-start}.flow-shell .workflow-add{color:#c5b5d2;border:1px dashed #ffffff20;width:100%;min-height:40px}.flow-shell .workflow-production{gap:16px;display:grid}.flow-shell .workflow-panel{border:1px solid var(--flow-line);background:#1b1721;border-radius:12px;padding:18px}.flow-shell .workflow-panel>p.muted{margin:0 0 14px}.flow-shell .workflow-paths{gap:8px;margin-top:16px;display:grid}.flow-shell .workflow-paths button{text-align:left;background:#231c2b;border:1px solid #ffffff15;border-radius:9px;justify-content:flex-start;gap:10px;padding:12px}.flow-shell .workflow-paths button>svg{color:#b396cc;flex-shrink:0}.flow-shell .workflow-paths button>span{flex:1}.flow-shell .workflow-paths strong{font-size:12px;font-weight:550;display:block}.flow-shell .workflow-paths small{color:#a69aaf;margin-top:4px;font-size:11px;line-height:1.55;display:block}.flow-shell .turn-arrow{transform:rotate(-90deg)}.flow-shell .workflow-character-tags{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.flow-shell .workflow-character-tags span{background:#ffffff08;border-radius:6px;align-items:center;gap:5px;padding:4px 8px;font-size:11px;display:flex}.flow-shell .workflow-warning{color:#d6b993;margin-top:10px;font-size:12px;line-height:1.6}.flow-shell .production-panel{scroll-margin-top:16px}.flow-shell .production-settings{border:0;min-width:0;margin:0;padding:0}.flow-shell .production-settings>label{margin-top:0}.flow-shell .production-settings summary,.flow-shell .production-breakdown summary{color:#b8a8c7;padding:10px 0;font-size:12px;line-height:1.5}.flow-shell .production-selection,.flow-shell .production-options{border-top:1px solid var(--flow-line);margin:0}.flow-shell .production-selection label{align-items:flex-start;padding:3px 0;font-size:12px}.flow-shell .production-selection .check span{flex:1}.flow-shell .production-selection small{white-space:nowrap;font-size:10px}.flow-shell .production-options p{font-size:11px}.flow-shell .production-approval{border-top:1px solid var(--flow-line);padding-top:12px}.flow-shell .production-approval>p{color:#b5a7c2;margin-bottom:12px;font-size:12px}.flow-shell .production-approval button{width:100%}.flow-shell .production-approved{align-items:center;gap:7px;margin:8px 0 14px;font-size:11px;display:flex}.flow-shell .production-price{border-top:1px solid #ffffff18;gap:5px;margin-top:14px;padding-top:18px;display:grid}.flow-shell .production-price>span{color:#b4a4c3;font-size:12px}.flow-shell .production-price>strong{font-variant-numeric:tabular-nums;font-size:28px;font-weight:650;line-height:1.3}.flow-shell .production-price>strong small{color:#b5a7c0;font-size:12px;font-weight:400}.flow-shell .production-price>p,.flow-shell .production-price>small{color:#a699b3;margin:0;font-size:11px}.flow-shell .production-price.is-outdated>strong{color:#9687a3}.flow-shell .production-breakdown article{border-top:1px solid #ffffff0c;padding:10px 0}.flow-shell .production-breakdown article>div{justify-content:space-between;gap:10px;font-size:12px;display:flex}.flow-shell .production-breakdown article>p{color:#a699b3;margin-top:6px;font-size:11px}.flow-shell .production-breakdown pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;font-size:11px;overflow:auto}.flow-shell .production-action{gap:9px;margin-top:16px;display:grid}.flow-shell button.primary:hover:not(:disabled){background:#fff}.flow-shell .workflow select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23bcacc9' stroke-width='1.5'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E");background-position:right 11px center;background-repeat:no-repeat;padding-right:32px}.flow-shell .production-action button{min-height:42px;padding:10px 12px;line-height:1.4}.flow-shell .production-action small{text-align:center;color:#9f90ac;font-size:10px}.flow-shell .workflow-secondary{color:#e0d3eb;background:#2b2233;border:1px solid #ffffff25;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:8px 12px;font-size:12px;display:inline-flex}.flow-shell .workflow button:disabled{opacity:.42;cursor:not-allowed}.flow-shell .workflow-empty{text-align:center;color:#b6a3c7;border:1px dashed #ffffff15;border-radius:12px;justify-items:center;gap:12px;margin-bottom:12px;padding:32px 20px;display:grid}.flow-shell .workflow-empty h3{margin:0;font-size:17px}.flow-shell .workflow-empty p{max-width:400px;margin:0 0 4px;font-size:13px}.flow-shell .results-empty{background:#1b1721;max-width:600px;margin:60px auto;padding:42px 24px}.flow-shell .workflow-results-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:24px;display:grid}.flow-shell .workflow-player video{aspect-ratio:16/9;-o-object-fit:contain;object-fit:contain;background:#07060a;border-radius:12px;width:100%;max-height:460px;display:block}.flow-shell .workflow-player-footer{justify-content:space-between;align-items:center;gap:14px;margin:16px 0;font-size:13px;display:flex}.flow-shell .workflow-batches{gap:12px;display:grid}.flow-shell .generation-scene-list{grid-template-columns:1fr;gap:5px;margin:0;display:grid}.flow-shell .generation-scene-list button{text-align:left;background:#ffffff04;border-radius:8px;justify-content:flex-start;align-items:center;gap:9px;width:100%;padding:11px 9px;display:flex}.flow-shell .generation-scene-list button[aria-pressed=true]{background:#37283f;border-color:#b18ac544}.flow-shell .generation-scene-list button:disabled{opacity:1;cursor:default}.flow-shell .generation-scene-list button>span:nth-child(2){flex:1}.flow-shell .generation-scene-list strong{font-size:12px;font-weight:500;display:block}.flow-shell .generation-scene-list small{color:#ac9cbb;margin-top:3px;font-size:10px;display:block}.flow-shell .workflow .scene-form{border:0;border-top:1px solid var(--flow-line);border-radius:0;margin:0;padding:16px 0 0}.flow-shell .workflow .scene-form-new{background:#19161e;border:1px solid #b990ed33;border-radius:12px;margin-top:12px;padding:18px}.flow-shell .scene-form-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.flow-shell .scene-form-heading h4{color:var(--flow-text);margin:0 0 4px;font-size:15px;font-weight:600}.flow-shell .scene-form-heading p{color:var(--flow-muted);margin:0;font-size:12px}.flow-shell .scene-form-close{width:36px;color:var(--flow-muted);flex-shrink:0;padding:0}.flow-shell .scene-editing-label{color:var(--flow-muted);font-size:11px}.flow-shell .scene-menu .scene-delete{color:#f1b2be}.flow-shell .scene-form .scene-form-fields{border:0;gap:16px;min-width:0;margin:0;padding:0;display:grid}.flow-shell .scene-form-fields label{margin:0}.flow-shell .scene-form-topline{grid-template-columns:minmax(0,1fr) 105px;gap:14px;display:grid}.flow-shell .scene-form-grid{gap:16px;display:grid}.flow-shell .scene-form-advanced{border:1px solid var(--flow-line);background:#ffffff03;border-radius:9px;padding:0 12px}.flow-shell .scene-form-advanced label{margin:0 0 12px}.flow-shell .scene-form summary{color:#b5a1c8;padding:12px 0;font-size:12px}.flow-shell .scene-form .scene-form-characters{border:0;flex-wrap:wrap;gap:8px;margin:0;padding:0;display:flex}.flow-shell .scene-form-characters legend{color:#c8bdcf;margin-bottom:8px;font-size:12px}.flow-shell .scene-form-characters>p{flex-basis:100%;margin:0 0 4px}.flow-shell .scene-form-characters label.check{border:1px solid var(--flow-line);border-radius:8px;min-height:40px;margin:0;padding:7px 10px}.flow-shell .scene-form-characters label:has(:checked){background:#b990ed0d;border-color:#b990ed66}.flow-shell .scene-form-footer{border-top:1px solid var(--flow-line);justify-content:flex-end;align-items:center;gap:8px;margin-top:20px;padding-top:14px;display:flex}.flow-shell .scene-form-footer>span{color:var(--flow-muted);max-width:190px;margin-right:auto;font-size:11px}.flow-shell .scene-form-footer button{min-height:40px}.flow-shell .proposal-apply{margin:12px 0 4px}.flow-shell .workflow-back{color:#cbb8dc;margin-bottom:18px}@keyframes workflow-spin{to{transform:rotate(360deg)}}.flow-shell .workflow-spinner{animation:1.2s linear infinite workflow-spin}@media (prefers-reduced-motion:reduce){.flow-shell .workflow-spinner{animation:none}}@media (max-width:1120px){.flow-shell .workflow-layout{grid-template-columns:minmax(0,1fr) 290px;gap:18px}.flow-shell .workflow-fields{grid-template-columns:1fr 1fr}.flow-shell .workflow-results-layout{grid-template-columns:1fr}}@media (max-width:850px){.flow-shell .workflow-layout,.flow-shell .workflow-production{grid-template-columns:1fr}}@media (max-width:650px){.flow-shell .workflow{padding:0 0 24px}.flow-shell .workflow-heading{flex-wrap:wrap;gap:10px;margin-bottom:18px}.flow-shell .workflow-heading h2{font-size:23px}.flow-shell .workflow-heading .muted{max-width:36ch;font-size:12px}.flow-shell .workflow-brief{margin-bottom:22px}.flow-shell .workflow-brief>summary{flex-wrap:wrap;gap:7px;padding:12px}.flow-shell .workflow-brief .brief-summary{order:3;width:100%;margin:0 0 0 24px}.flow-shell .workflow-brief>summary>svg:last-child{margin-left:auto}.flow-shell .workflow-brief form{padding:0 12px 12px}.flow-shell .workflow-fields{gap:0 12px}.flow-shell .workflow input:not([type=checkbox]),.flow-shell .workflow textarea,.flow-shell .workflow select{min-height:44px;font-size:16px}.flow-shell .workflow-panel,.flow-shell .workflow-scene{padding:15px}.flow-shell .workflow-section-heading{flex-wrap:wrap;gap:5px}.flow-shell .workflow-section-heading h3{font-size:15px}.flow-shell .workflow button,.flow-shell .workflow summary,.flow-shell .workflow-secondary{min-height:44px}.flow-shell .scene-menu>summary{width:44px;height:44px}.flow-shell .scene-menu>div{top:46px}.flow-shell .scene-preview-heading h5{font-size:15px}.flow-shell .skill-scene-preview .scene-action{font-size:14px}.flow-shell .skill-scene-preview .scene-dialogue{font-size:13px}.flow-shell .production-action{padding:6px 0 0}.flow-shell .production-selection label{align-items:center;min-height:44px}.flow-shell .production-settings summary,.flow-shell .production-breakdown summary{padding:13px 0}.flow-shell .workflow .scene-form{padding-top:10px}.flow-shell .workflow-player-footer{flex-wrap:wrap}.flow-shell .results-empty{margin-top:20px;padding:28px 16px}}.flow-shell .workflow-jump{display:none}@media (max-width:850px){.flow-shell .workflow-jump{color:#dcc8ed;border:1px solid #ffffff20;display:inline-flex}}@media (max-width:600px){.flow-shell .workflow .scene-form-new{padding:14px}.flow-shell .scene-form-close{width:44px;min-height:44px}.flow-shell .scene-form-topline{grid-template-columns:minmax(0,1fr) 90px;gap:10px}.flow-shell .scene-form-footer{grid-template-columns:1fr 1fr;display:grid}.flow-shell .scene-form-footer>span{grid-column:1/-1;max-width:none;margin:0 0 4px}.flow-shell .scene-form-footer button,.flow-shell .scene-form-characters label.check{min-height:44px}}