.foundation-create-shell .foundation-content{padding:0}.foundation-create-shell .foundation-header-context{flex:1;gap:16px;min-width:0;display:flex}.foundation-create-shell .foundation-header-context>span:first-child{white-space:nowrap;flex:1;width:auto}.foundation-create-shell .create-breadcrumb{color:var(--ui-muted)}.foundation-create-shell .foundation-header-project{border:1px solid var(--ui-line);background:var(--ui-bg);border-radius:8px;width:165px;height:32px;min-height:32px;padding:4px 28px 4px 10px;font-size:12px}.foundation-create-shell .foundation-header{gap:16px;height:56px;padding-inline:20px}.foundation-create-shell .foundation-credit-link{border:1px solid var(--ui-line);border-radius:8px;min-height:32px;padding:5px 10px;font-size:12px}.foundation-create-shell .foundation-header-account{gap:16px}.foundation-create-shell .theme-toggle{border:0;border-radius:8px;flex-basis:32px;width:32px;height:32px;min-height:32px;margin-left:0}.foundation-create-shell .foundation-notice:empty{display:none}.foundation-create-shell .foundation-notice{padding:8px 20px;font-size:11px}.create-workspace .foundation-image-grid{gap:0}.create-workspace .foundation-editor{background:var(--ui-surface);border-right:1px solid var(--ui-line);padding:20px}.foundation .create-workspace .create-mode{border:1px solid var(--ui-line);background:var(--ui-bg);border-radius:8px;gap:4px;margin-bottom:18px;padding:3px;display:flex}.foundation .create-mode button{border-radius:6px;flex:1;min-height:34px;padding:6px;font-size:12px}.foundation .create-mode button[aria-pressed=true]{color:#081411;background:#2addc0}.foundation .create-workspace .foundation-editor>label{margin:14px 0 5px;font-size:12px;line-height:18px}.foundation .create-workspace .foundation-editor>textarea{border-color:var(--ui-line);background:var(--ui-bg);border-radius:8px;height:104px;min-height:104px;padding:10px;font-size:13px;line-height:20px}.foundation .create-workspace .foundation-editor>.foundation-hint{text-align:right;margin:4px 0 0;font-size:10px;display:block}.foundation .create-workspace select,.foundation .create-workspace input:not([type=range]):not([type=file]):not([type=checkbox]){border-color:var(--ui-line);background:var(--ui-bg);border-radius:7px;height:36px;min-height:36px;padding:6px 10px;font-size:12px}.foundation .create-workspace .foundation-fields{align-items:start;gap:12px;margin-top:12px}.create-workspace .foundation-fields label,.create-audio>span{font-size:12px;line-height:18px}.foundation .create-workspace .foundation-fields select{margin-top:5px}.create-audio{flex-direction:column;gap:5px;display:flex}.foundation .create-audio>button{background:var(--ui-control-line);border-radius:20px;width:36px;height:22px;min-height:22px;margin-top:7px;padding:3px;position:relative}.create-audio button>span{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s;display:block}.foundation .create-audio button[aria-checked=true]{background:#2addc0}.create-audio button[aria-checked=true]>span{transform:translate(14px)}.foundation .create-workspace .workspace-advanced{border:1px solid var(--ui-line);background:var(--ui-bg);border-radius:7px;margin-top:14px;padding:0 10px;font-size:12px}.foundation .create-workspace .workspace-advanced summary{min-height:34px;padding:7px 0;font-size:12px}.foundation .create-workspace .workspace-advanced label{margin-bottom:10px}.foundation .create-workspace .foundation-generation{border-color:var(--ui-line);margin-top:14px;padding-top:14px}.foundation .create-workspace .foundation-generation p{margin:0 0 8px;font-size:11px;line-height:17px}.foundation .create-workspace .foundation-generation strong{font-weight:500}.foundation .create-workspace .foundation-generation button{min-height:40px;box-shadow:none;border-radius:8px;font-size:12px}.foundation .create-workspace .foundation-generation button:not(.foundation-retry-quote){color:#081411;background:#2addc0}.foundation .create-workspace .foundation-generation button:disabled{opacity:.45}.foundation .create-workspace .foundation-references{margin-top:14px}.foundation .create-workspace .foundation-references [class*=tabs]{border:1px solid var(--ui-line);background:var(--ui-bg);border-radius:8px;gap:3px;padding:3px}.foundation .create-workspace .foundation-references [class*=tabs] button{border-radius:5px;gap:5px;min-height:32px;padding:5px;font-size:11px}.foundation .create-workspace .foundation-references [class*=tabs] button[class*=active]{background:var(--ui-soft);color:var(--ui-ink);box-shadow:inset 0 0 0 1px var(--ui-control-line)}.foundation .create-workspace .foundation-references [class*=count]{color:#081411;background:#2addc0;border-radius:50%;flex-basis:18px;width:18px;min-width:18px;height:18px}.create-workspace .foundation-references [role=tabpanel]:not([class*=frames]),.create-workspace .foundation-references [role=group]{flex-wrap:wrap;align-items:start;gap:8px;display:flex}.foundation .create-workspace .foundation-references [class*=referencesUpload]{border:1px dashed var(--ui-control-line);background:var(--ui-bg);border-radius:8px;order:2;width:96px;height:96px;min-height:96px;padding:14px}.foundation .create-workspace .foundation-references [class*=referencesUpload] [class*=label]{text-align:center;font-size:11px;line-height:16px}.foundation .create-workspace .foundation-references [class*=formats]{flex-basis:100%;order:3;margin:0;font-size:10px;line-height:16px}.create-workspace .foundation-references [class*=thumbnails]{display:contents}.create-workspace .foundation-references [data-reference-tile]{flex:0 0 var(--reference-size);width:var(--reference-size)}.create-workspace .foundation-references [data-reference-tile] [class*=thumbnailImage]{width:var(--reference-size);height:var(--reference-size);border-radius:8px}.create-workspace .foundation-references [class*=referenceLabel]{margin-top:2px;font-size:10px;line-height:16px}.create-workspace .foundation-references [class*=frame_]{border-radius:8px;height:78px}.create-workspace .foundation-references [class*=upload_]{padding:12px 4px 4px}.create-workspace .foundation-references [class*=label]{font-size:11px}.foundation .create-workspace .foundation-results{padding:20px}.foundation .create-workspace .foundation-results>.foundation-section-heading{align-items:center;height:auto;min-height:24px;margin-bottom:10px}.foundation .create-workspace .foundation-section-heading h2{font:500 12px/18px var(--font-inter),Arial,sans-serif;margin:0}.create-result-header-actions{gap:12px;display:flex}.foundation .create-result-header-actions button{min-height:28px;color:var(--ui-muted);align-items:center;gap:4px;padding:4px 0;font-size:11px;text-decoration:none;display:flex}.foundation .create-workspace .foundation-result-stage{background:var(--ui-bg);border:1px solid var(--ui-line);border-radius:12px;min-height:300px;overflow:hidden}.foundation .create-workspace .foundation-result-open{background:0 0;justify-content:center;min-width:0;padding:0;display:flex}.foundation .create-workspace .foundation-result-open img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:clamp(300px,56vh,640px)}.create-video-preview{width:100%;min-width:0}.foundation .create-workspace .create-video-preview video{object-fit:contain;background:#080808;width:100%;height:auto;max-height:clamp(300px,54vh,600px);display:block}.create-video-timeline{border:1px solid var(--ui-control-line);border-radius:7px;height:52px;margin:10px 10px 0;position:relative;overflow:hidden}.create-video-timeline input{opacity:0;cursor:ew-resize;width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0}.create-video-timeline:focus-within{outline:2px solid var(--ui-focus);outline-offset:2px}.create-video-times{color:var(--ui-muted);font-variant-numeric:tabular-nums;justify-content:space-between;margin:3px 12px 8px;font-size:10px;display:flex}.create-result-summary{color:var(--ui-muted);flex-wrap:wrap;justify-content:space-between;gap:8px;margin:10px 0;font-size:11px;display:flex}.foundation .create-result-actions{flex-wrap:wrap;align-items:start;gap:6px;margin:10px 0 0;padding:0;display:flex}.foundation .create-result-actions>button,.foundation .create-result-actions summary{border:1px solid var(--ui-line);background:var(--ui-surface);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:32px;padding:6px 10px;font-size:11px;text-decoration:none;display:flex}.foundation .create-result-actions>.create-result-details{min-height:0;margin:0;font-size:12px;text-decoration:none;display:block}.foundation .create-result-actions>button,.foundation .create-result-actions summary{line-height:18px}.create-result-details[open]{border:1px solid var(--ui-line);border-radius:8px;flex-basis:100%;padding:10px}.create-result-details p{margin:10px 0}.create-submitted-prompt{overflow-wrap:anywhere;white-space:pre-wrap;max-height:180px;overflow:auto}.create-recent{margin-top:20px}.foundation .create-recent h2{font:500 12px/18px var(--font-inter),Arial,sans-serif;letter-spacing:0;margin:0 0 10px}.create-history{scrollbar-width:thin;gap:10px;padding:3px;display:flex;overflow-x:auto}.foundation .create-history .create-history-tile{width:calc(92px * var(--preview-ratio));border:1px solid var(--ui-line);background:var(--ui-surface);border-radius:9px;flex:none;max-width:200px;height:92px;padding:0;position:relative;overflow:hidden}.foundation .create-history-tile[aria-pressed=true]{outline-offset:1px;outline:2px solid #2addc0}.create-history-play,.create-history-status{color:#fff;background:#0009;border-radius:5px;padding:4px;font-size:10px;position:absolute;bottom:6px;left:6px}.create-history-status{left:auto;right:5px}.foundation .create-workspace .foundation-result-empty{padding:40px}.foundation .create-workspace .foundation-result-empty h2{font:500 25px/32px var(--font-display);letter-spacing:-.03em;margin:16px 0}.foundation .create-workspace .foundation-result-empty p{font-size:13px;line-height:21px}@media (min-width:1024px){.foundation .create-workspace .foundation-image-grid{grid-template-columns:320px minmax(0,1fr);min-height:calc(100dvh - 56px)}.create-workspace .foundation-editor{align-self:stretch}}@media (max-width:1199px){.foundation-create-shell .foundation-header>.foundation-brand{display:none}.foundation-create-shell .foundation-header-context{font-size:12px}}@media (min-width:768px) and (max-width:1023px){.foundation .create-workspace .foundation-image-grid{grid-template-columns:280px minmax(0,1fr)}.foundation .create-workspace .foundation-results{padding:16px}}@media (max-width:767px){.foundation-create-shell .foundation-header{flex-wrap:wrap;gap:8px;height:auto;min-height:56px;padding:8px 12px}.foundation-create-shell .foundation-header-context{flex-basis:calc(100% - 92px)}.foundation-create-shell .foundation-header-context>span:first-child{font-size:11px}.foundation-create-shell .foundation-header-project{width:140px;height:36px;min-height:36px;font-size:12px}.foundation-create-shell .foundation-menu{min-height:36px}.foundation-create-shell .theme-toggle{order:2}.foundation .create-workspace .foundation-editor{border-right:0;border-bottom:1px solid var(--ui-line);padding:16px}.foundation .create-workspace .foundation-results{padding:16px}.foundation .create-workspace .foundation-editor>textarea{font-size:16px}.foundation .create-workspace select{height:44px;min-height:44px;font-size:14px}.foundation .create-workspace .foundation-result-stage{min-height:260px}.foundation .create-workspace .foundation-result-open img{max-height:65dvh}.foundation .create-workspace .foundation-result-empty{padding:24px}.create-result-header-actions{gap:8px}.foundation .create-history .create-history-tile{height:80px;width:calc(80px * var(--preview-ratio))}.foundation .create-workspace .foundation-generation button,.foundation .create-result-actions>button,.foundation .create-result-actions summary{min-height:44px}}@media (prefers-reduced-motion:reduce){.create-audio button>span{transition:none}}@media (min-width:768px){.foundation .create-workspace .create-video-preview video{max-height:clamp(260px,44vh,520px)}.foundation .create-workspace .foundation-editor{padding:16px 20px}.foundation .create-workspace .foundation-editor>textarea{height:88px;min-height:88px}.foundation .create-workspace .create-mode{margin-bottom:12px}.foundation .create-workspace .foundation-references [class*=frame_]{height:64px}.foundation .create-workspace .foundation-references [class*=hint]{font-size:10px;line-height:15px}}.create-image-composition{grid-template-columns:minmax(0,1fr) 116px;align-items:center;gap:20px;width:100%;padding:16px;display:grid}.create-image-composition:not(:has(.create-image-variants)){grid-template-columns:minmax(0,1fr)}.create-image-variants{flex-direction:column;align-self:start;gap:10px;display:flex}.foundation .create-image-variants>button{border:1px solid var(--ui-line);border-radius:8px;width:116px;height:130px;padding:0;position:relative;overflow:hidden}@media (max-width:1023px){.create-image-composition{grid-template-columns:minmax(0,1fr);padding:8px}.create-image-variants{display:none}}@media (max-width:767px){.foundation-create-shell .foundation-header{flex-wrap:nowrap;min-height:60px}.foundation-create-shell .foundation-header-context{flex:1 1 0}.foundation-create-shell .foundation-header-context>span:first-child{display:none}.foundation-create-shell .foundation-header-project{white-space:nowrap;width:100%;max-width:220px}.foundation-create-shell .theme-toggle{order:0}.foundation-create-shell .foundation-menu{padding-inline:4px;font-size:12px}.foundation .create-workspace .foundation-editor>.foundation-download{min-height:32px;margin:4px 0 0;padding:7px 0;font-size:12px;line-height:18px;display:block}}.create-workspace .foundation-references{--reference-size:96px;--reference-control:24px;--reference-inset:6px;--reference-status-inset:6px}.foundation .create-workspace .foundation-references [class*=referenceToken]{text-align:center;width:100%;min-height:28px;margin:0;padding:5px 4px;font-size:10px;line-height:18px}.foundation .create-workspace .foundation-references [data-reference-tile] :is([class*=thumbnailRemove],[class*=referenceInfo]){width:var(--reference-control);min-width:var(--reference-control);height:var(--reference-control);min-height:var(--reference-control);padding:0}.foundation .create-workspace .foundation-references [data-reference-tile] [class*=referenceInfo]{top:var(--reference-inset);left:var(--reference-inset)}.foundation .create-workspace .foundation-references [data-reference-tile] [class*=thumbnailRemove]{top:calc(var(--reference-size) - var(--reference-control) - var(--reference-inset));right:var(--reference-inset);opacity:1;pointer-events:auto;bottom:auto}.foundation .create-workspace .foundation-references [data-reference-tile] [class*=referenceStatus]{top:var(--reference-status-inset);right:var(--reference-status-inset);width:24px;height:24px}.foundation .create-workspace .foundation-references [data-reference-tile] [class*=referenceControlIcon]{width:24px;height:24px}.foundation .create-workspace .foundation-references [class*=referencesUpload]{flex:0 0 var(--reference-size);width:var(--reference-size);height:var(--reference-size);min-height:var(--reference-size);padding:14px}.foundation .create-workspace .foundation-references [class*=referencesUpload] [class*=label]{overflow-wrap:normal;max-width:100%}@media (pointer:coarse){.create-workspace .foundation-references{--reference-size:104px;--reference-control:44px;--reference-inset:0px;--reference-status-inset:10px}.foundation .create-workspace .foundation-references [class*=referenceToken]{min-height:44px}}.foundation .create-media-notice{border:1px solid var(--ui-line);background:var(--ui-surface);color:var(--ui-muted);border-radius:8px;align-items:flex-start;gap:9px;margin:12px 0 0;padding:11px 12px;display:flex}.foundation .create-media-notice>svg{flex:none;margin-top:2px}.foundation .create-media-notice>p{color:var(--ui-ink);margin:0;font-size:12px;font-weight:500;line-height:1.5}.foundation .create-media-notice>p>span{color:var(--ui-muted);margin-top:2px;font-size:11px;font-weight:400;display:block}
