*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:--theme(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:--theme(--default-font-feature-settings, normal);font-variation-settings:--theme(--default-font-variation-settings, normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:--theme(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:--theme(--default-mono-font-feature-settings, normal);font-variation-settings:--theme(--default-mono-font-variation-settings, normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}[hidden]{display:none!important}.skeleton-line{background:var(--surface2);border-radius:8px;width:85%;height:20px;margin-bottom:24px}#budget-notice{align-items:end;min-height:34px;display:flex}#budget-notice .form-note{margin:0 0 4px}@media (width<=640px){#budget-notice{min-height:48px}}body{height:var(--app-height,100dvh);flex-direction:column;display:flex;overflow:hidden}.site-header{border-bottom:1px solid var(--line);background:var(--bg);flex:0 0 60px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;height:60px;padding:0 24px;display:grid}.site-header .logo{white-space:nowrap;justify-self:start}.site-account{border-radius:10px;justify-self:end;padding:10px 12px;font-size:14px}.site-account[aria-current=page]{background:var(--surface2)}.site-account-links{justify-self:end;align-items:center;gap:8px;min-width:0;display:flex}@media (width<=400px){.site-header .logo>span:not(.brand-mark){display:none}.site-account-links{gap:4px}}.site-content{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.site-footer{flex:none;padding:0 16px}.site-links{color:var(--muted);flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:0 16px;font-size:11px;display:flex}.site-links a{align-items:center;min-height:32px;display:inline-flex}@media (width<=899px){.site-links a{min-height:44px}}.site-content>.simple-studio{flex:1;height:100%;min-height:0;position:relative;overflow:hidden}.site-content>.public-main{scrollbar-gutter:auto;flex:1;width:100%;max-width:none;min-height:0;margin:0;padding:24px max(24px,50% - 530px);overflow:auto}.chat-composer-note{min-height:26px}.public-main video{object-fit:contain;height:min(400px,50dvh)}@media (width<=640px){.site-header{height:calc(56px + env(safe-area-inset-top));flex-basis:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(10px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left));grid-template-columns:minmax(0,1fr) auto;gap:6px}.site-header .logo{gap:6px;font-size:18px}.site-account{align-items:center;min-height:44px;padding:8px 10px;font-size:14px;display:flex}.site-footer{padding-bottom:env(safe-area-inset-bottom)}.site-footer a{align-items:center;min-height:44px;display:flex}}.simple-studio{flex-direction:column;min-height:100dvh;display:flex}.chat-studio{height:100dvh;min-height:0;overflow:hidden}.drawer-close{margin-left:auto;display:flex}.chat-markdown{overflow-wrap:anywhere;min-width:0}.chat-markdown>:first-child{margin-top:0}.chat-markdown>:last-child{margin-bottom:0}.chat-markdown p{white-space:normal;margin:0 0 1em}.chat-markdown h2,.chat-markdown h3,.chat-markdown h4,.chat-markdown h5,.chat-markdown h6{margin:1.4em 0 .65em;font-size:1.15em;font-weight:650;line-height:1.4}.chat-markdown strong{font-weight:650}.chat-markdown ul,.chat-markdown ol{margin:.65em 0 1em;padding-left:1.5em}.chat-markdown li,.chat-markdown li p{margin:.3em 0}.chat-markdown code{background:var(--surface2);border-radius:4px;padding:.15em .35em;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88em}.chat-markdown pre{border:1px solid var(--line);background:var(--surface);white-space:pre;overflow-wrap:normal;border-radius:12px;max-width:100%;margin:1em 0;padding:16px;line-height:1.55;overflow-x:auto}.chat-markdown pre code{background:0 0;border-radius:0;padding:0}.chat-markdown a{text-underline-offset:3px;text-decoration:underline}.chat-markdown blockquote{border-left:3px solid var(--line);color:var(--muted);margin:1em 0;padding-left:16px}.chat-markdown hr{border:0;border-top:1px solid var(--line);margin:1.5em 0}.chat-table{max-width:100%;margin:1em 0;overflow-x:auto}.chat-table table{border-collapse:collapse;width:100%}.chat-table th,.chat-table td{border:1px solid var(--line);text-align:start;padding:8px 12px}.chat-composer{border:1px solid var(--line);background:var(--surface);border-radius:20px;align-items:flex-end;gap:8px;padding:8px 12px;display:flex}.chat-composer:focus-within{border-color:var(--muted)}.chat-composer textarea:focus-visible{outline:none}.chat-composer textarea{resize:none;outline-offset:0;background:0 0;border:0;width:100%;min-height:30px;max-height:160px;padding:4px 6px;font-size:16px;line-height:1.5}.chat-composer .chat-send{border-radius:12px;flex-shrink:0;width:38px;min-width:38px;height:38px;min-height:38px;padding:0}.chat-composer-note{text-align:center;color:var(--muted);padding-top:8px;font-size:11px}.recovery-code{overflow-wrap:anywhere;border:1px solid var(--line);border-radius:8px;margin:20px 0;padding:18px;display:block}:root{--bg:#343541;--sidebar:#282933;--surface:#343541;--surface2:#40414f;--line:#565866;--text:#f7f7f8;--muted:#bfc0ca;--accent:#f7f7f8;--accent-solid:#e5e5e8;--green:#a6d4bd;--red:#ffabb1;--amber:#eac69d;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.55}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button{border:0}h1,h2,h3,p{margin:0}h1{letter-spacing:-1.4px;font-size:32px;font-weight:550;line-height:1.2}h2{letter-spacing:-.4px;font-size:18px;font-weight:550}h3{font-size:15px;font-weight:550}small{color:var(--muted);font-size:11px}img{max-width:100%;display:block}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}::selection{color:#fff;background:#626477}.skip{z-index:100;background:var(--accent);color:#000;padding:12px;position:fixed;top:-100px;right:16px}.skip:focus{top:8px}.button{border:1px solid var(--line);background:var(--surface2);white-space:nowrap;min-height:39px;color:var(--text);border-radius:7px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:12px;font-weight:500;transition:background .15s,transform .15s;display:inline-flex}.button:hover:not(:disabled){background:#4b4d5c;transform:translateY(-1px)}.button.primary{background:var(--accent);border-color:var(--accent);color:#282933}.button.primary:hover:not(:disabled){background:#e5e5e8}.button.ghost{background:0 0}.button.danger{color:var(--red);border-color:#563039}.button.small{min-height:30px;padding:6px 10px;font-size:11px}.icon-button{color:var(--muted);background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;min-width:34px;min-height:34px;display:inline-flex}.icon-button:hover{background:var(--surface2);color:#fff}.button-row{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.logo{letter-spacing:-1px;align-items:center;gap:9px;font-size:22px;font-weight:700;display:inline-flex}.brand-domain{color:var(--muted);font-weight:400}.brand-mark{color:#282933;background:#e5e5e8;border-radius:7px;place-items:center;width:31px;height:31px;display:grid}.workspace{width:calc(100% - 224px);margin-left:224px}.stat{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:15px 18px}.stat small{font-size:9px}.section{margin-top:28px}.toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.search{border:1px solid var(--line);background:var(--surface);border-radius:7px;align-items:center;gap:8px;max-width:300px;padding:0 10px;display:flex}.search input{background:0 0;border:0;outline:none;width:100%;min-width:0;padding:9px 0;font-size:11px}.panel{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:23px}.panel h2{margin-bottom:16px}.field{flex-direction:column;gap:7px;min-width:0;margin-bottom:17px;display:flex}.field>span{color:var(--text);font-size:11px}.field>small{font-size:10px}.field input,.field textarea,.field select,input.control,select.control{border:1px solid var(--line);background:var(--sidebar);color:var(--text);border-radius:6px;width:100%;padding:10px 12px;font-size:12px}.field textarea{resize:vertical;min-height:120px;line-height:1.8}.field input[type=range]{accent-color:var(--accent);padding:0}.field input[type=checkbox]{width:auto}.notice{background:var(--surface2);border:1px solid var(--line);color:var(--text);border-radius:7px;margin:15px 0;padding:12px 14px;font-size:11px;line-height:1.7}.notice p+p{margin-top:6px}.scene-script{color:#d7d0e2;white-space:pre-wrap;margin:8px 0;font-size:12px}table{border-collapse:collapse;text-align:left;width:100%;font-size:11px}th{color:var(--muted);border-bottom:1px solid var(--line);background:var(--sidebar);white-space:nowrap;padding:13px 16px;font-size:9px;font-weight:400}td{border-bottom:1px solid var(--line);padding:13px 16px}tr:last-child td{border-bottom:0}.public-main{max-width:1130px;margin:auto;padding:30px 35px 70px}.prose{max-width:760px;margin:25px auto}.prose h1{margin-bottom:18px}.prose h2{margin:28px 0 12px;font-size:19px}.prose p{color:var(--muted);margin:13px 0;font-size:13px;line-height:1.9}.prose ul{color:var(--muted);padding-left:20px;font-size:13px;list-style:outside}.modal{background:var(--surface);border:1px solid var(--line);border-radius:12px;width:min(620px,100%);max-height:90vh;padding:25px;overflow:auto}.form-note{color:var(--muted);font-size:10px;line-height:1.7}.divider{border:0;border-top:1px solid var(--line);margin:22px 0}@media (width<=1150px){.workspace{width:calc(100% - 202px);margin-left:202px}.stat{padding:13px}}@media (width<=850px){.workspace{width:100%;margin:0}.public-main{padding:20px 23px 50px}}@media (width<=560px){h1{font-size:26px}.stat{padding:13px 14px}.toolbar{flex-direction:column;align-items:stretch}.search{max-width:100%}.panel{padding:18px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}.chat-pending{align-items:center;height:40px;padding:8px 0;display:flex}.chat-pulse{background:var(--text);border-radius:50%;width:9px;height:9px;animation:1.2s ease-in-out infinite chat-pulse}@keyframes chat-pulse{0%,to{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.chat-pulse{opacity:.7;animation:none}}.chat-composer .chat-credit-select{color-scheme:dark;border:1px solid var(--line);background:var(--surface);width:160px;max-width:180px;min-height:38px;color:var(--text);cursor:pointer;border-radius:12px;flex:none;padding:8px;font-size:12px}.chat-composer textarea{min-width:0}@media (width<=640px){.chat-composer{flex-wrap:wrap;gap:8px}.chat-composer textarea{flex-basis:100%}.chat-composer .chat-credit-select{max-width:calc(100% - 52px);min-height:44px;margin-left:auto;font-size:16px}.site-footer{gap:12px}input,select,textarea{font-size:16px}.button,.button.small,.icon-button{min-height:44px}.icon-button,.chat-composer .chat-send{min-width:44px;height:44px;min-height:44px}.chat-composer-note{flex-wrap:wrap;justify-content:center;align-items:center;gap:2px 6px;font-size:11px;display:flex}}.chat-retry{margin:-8px 0 0 auto;display:flex}.chat-versions{color:var(--muted);align-items:center;gap:4px;font-size:12px;display:flex}.chat-versions button{justify-content:center;min-width:36px;min-height:36px}.language-menu{direction:ltr;flex-shrink:0;font-size:12px;position:relative}.language-menu summary{cursor:pointer;border-radius:8px;align-items:center;gap:5px;min-height:44px;padding:4px 8px;list-style:none;display:flex}.language-menu summary::-webkit-details-marker{display:none}.language-menu[open] summary,.language-menu summary:hover{background:var(--surface2)}.language-menu nav{inset-inline-end:0;z-index:100;background:var(--surface);border:1px solid var(--line);border-radius:12px;width:210px;max-height:min(65dvh,440px);padding:6px;position:absolute;top:100%;overflow-y:auto;box-shadow:0 12px 36px #0004}.language-menu a{text-align:start;width:100%;min-height:40px;color:var(--text);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:7px;padding:8px 12px;font-size:14px;display:block}.language-menu a:hover,.language-menu a[aria-current=true]{background:var(--surface2)}.site-header{z-index:20;position:relative}.site-header .logo{direction:ltr}html[dir=rtl] .language-menu nav{left:auto;right:0}html[dir=rtl] .chat-bubble,html[dir=rtl] .auth-card,html[dir=rtl] .account-workspace{text-align:start}@media (width<=650px){.site-header .logo>span:not(.brand-mark){display:none}.site-header .brand-mark{display:grid}.site-header{gap:8px;padding:0 12px}.site-account-links{gap:2px}.language-menu summary{padding:4px}.site-account{padding:8px}}.site-header{direction:ltr}
