/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;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:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--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{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{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::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:currentColor}@supports (color:color-mix(in lab,red,red)){::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{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-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]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.hidden{display:none}}:root{color-scheme:light;--accent:#14765e;--accent-strong:#0d5c49;--accent-soft:#e7f3ee;--warm:#bf5b24;--blue:#2f68a3;--red:#b64747;--ink:#202321;--muted:#6e736f;--faint:#949994;--canvas:#f4f5f2;--surface:#fff;--surface-raised:#fff;--surface-muted:#f0f1ee;--border:#dfe2dd;--border-strong:#c9cec7;--shadow:0 12px 32px #1c251f14}.dark{color-scheme:dark;--accent:#58b99c;--accent-strong:#77cdb2;--accent-soft:#173b31;--warm:#df8554;--blue:#6fa1d2;--red:#df7777;--ink:#f0f2ef;--muted:#a7ada8;--faint:#737a74;--canvas:#171a18;--surface:#202421;--surface-raised:#262b27;--surface-muted:#2a2f2b;--border:#343a35;--border-strong:#485049;--shadow:0 16px 40px #00000047}*{box-sizing:border-box;letter-spacing:0!important}html{background:var(--canvas)}body{min-width:320px;min-height:100vh;color:var(--ink);background:var(--canvas);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea,select{color:inherit;font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent)}@supports (color:color-mix(in lab,red,red)){button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 60%,transparent)}}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px}.app-shell{background:var(--canvas);min-height:100dvh}.app-shell-embedded .workspace-content{padding-top:20px}.topbar{z-index:50;border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:18px;min-height:58px;padding:8px 24px;display:flex;position:sticky;top:0}@supports (color:color-mix(in lab,red,red)){.topbar{background:color-mix(in srgb,var(--surface) 92%,transparent)}}.topbar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand-lockup{align-items:center;gap:10px;min-width:0;display:flex}.brand-mark{color:#fff;background:var(--ink);border-radius:8px;flex:none;place-items:center;width:34px;height:34px;display:grid}.dark .brand-mark{color:#18211d;background:#e4ece7}.brand-mark svg{width:17px;height:17px}.brand-lockup>span:last-child{flex-direction:column;min-width:0;display:flex}.brand-lockup strong{font-size:14px;line-height:17px}.brand-lockup small{color:var(--muted);font-size:10px;line-height:13px}.topbar-actions{align-items:center;gap:8px;min-width:0;display:flex}.icon-button{border:1px solid var(--border);width:36px;height:36px;color:var(--muted);background:var(--surface);border-radius:8px;flex:none;place-items:center;transition:border-color .16s,color .16s,background .16s;display:inline-grid;position:relative}.icon-button:hover{border-color:var(--border-strong);color:var(--ink);background:var(--surface-muted)}.icon-button svg{width:17px;height:17px}.icon-button.small{border-radius:6px;width:30px;height:30px}.icon-button.small svg{width:15px;height:15px}.icon-button.has-activity:after{border:1px solid var(--surface);background:var(--warm);content:"";border-radius:50%;width:6px;height:6px;position:absolute;top:5px;right:5px}.icon-button.with-count>span{border:2px solid var(--surface);color:#fff;background:var(--warm);text-align:center;border-radius:8px;min-width:16px;height:16px;padding:0 4px;font-size:9px;font-weight:700;line-height:12px;position:absolute;top:-5px;right:-5px}.model-status{border:1px solid var(--border);min-width:0;max-width:240px;height:36px;color:var(--muted);background:var(--surface);border-radius:8px;align-items:center;gap:8px;padding:0 10px;font-size:12px;display:flex}.model-status:hover{border-color:var(--border-strong);color:var(--ink)}.model-status svg{flex:none;width:14px;height:14px}.model-status-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.status-dot{background:var(--faint);border-radius:50%;flex:none;width:7px;height:7px}.model-status.is-connected .status-dot{background:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.theme-switch{border:1px solid var(--border);background:var(--surface);border-radius:8px;align-items:center;gap:2px;height:36px;padding:3px;display:flex}.theme-switch button{width:28px;height:28px;color:var(--faint);background:0 0;border:0;border-radius:5px;place-items:center;display:grid}.theme-switch button:hover{color:var(--ink)}.theme-switch button.active{color:var(--ink);background:var(--surface-muted)}.theme-switch svg{width:14px;height:14px}.workspace-scroll{min-height:calc(100dvh - 58px)}.workspace-content{width:min(100%,1260px);margin:0 auto;padding:34px 32px 72px}.section-heading{justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.section-heading h1,.section-heading h2,.drawer-header h2,.modal-header h2{color:var(--ink);margin:3px 0 0;font-size:24px;font-weight:650;line-height:30px}.section-heading h2,.drawer-header h2,.modal-header h2{font-size:20px;line-height:26px}.eyebrow{color:var(--warm);font-size:10px;font-weight:750;line-height:14px;display:block}.creation-section{width:min(100%,980px);margin:0 auto}.creation-heading{margin-bottom:14px}.mode-switch{border:1px solid var(--border);background:var(--surface-muted);border-radius:8px;padding:3px;display:flex}.mode-switch button{height:30px;color:var(--muted);background:0 0;border:0;border-radius:5px;padding:0 14px;font-size:12px}.mode-switch button.active{color:var(--ink);background:var(--surface);box-shadow:0 1px 3px #00000014}.composer{border:1px solid var(--border-strong);background:var(--surface-raised);box-shadow:var(--shadow);border-radius:8px;overflow:hidden}.composer:focus-within{border-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.composer:focus-within{border-color:color-mix(in srgb,var(--accent) 55%,var(--border-strong))}}.composer:focus-within{box-shadow:0 0 0 3px var(--accent-soft),var(--shadow)}.composer textarea{resize:vertical;width:100%;min-height:148px;color:var(--ink);background:0 0;border:0;outline:0;padding:22px 22px 10px;font-size:16px;line-height:26px;display:block}.composer textarea::placeholder{color:var(--faint)}.reference-strip{padding:14px 14px 0}.reference-preview,.reference-upload{border:1px solid var(--border);background:var(--surface-muted);border-radius:7px;align-items:center;gap:12px;width:100%;min-height:62px;padding:8px;display:flex}.reference-preview img{object-fit:cover;border-radius:6px;flex:none;width:46px;height:46px}.reference-preview>div{flex-direction:column;flex:1;min-width:0;display:flex}.reference-preview strong,.reference-upload span{font-size:12px;font-weight:650}.reference-preview span,.reference-upload small{color:var(--muted);font-size:11px}.reference-upload{color:var(--muted);border-style:dashed;justify-content:center}.reference-upload:hover{border-color:var(--accent);color:var(--accent)}.reference-upload svg{width:17px;height:17px}.composer-toolbar{align-items:center;gap:6px;min-height:58px;padding:8px 10px 10px;display:flex}.tool-button,.generate-button,.primary-button,.secondary-button,.text-button,.danger-button{border-radius:7px;justify-content:center;align-items:center;gap:7px;height:36px;padding:0 11px;font-size:12px;font-weight:600;transition:border-color .16s,color .16s,background .16s;display:inline-flex}.tool-button{color:var(--muted);background:0 0;border:1px solid #0000}.tool-button:hover,.tool-button.active{color:var(--ink);background:var(--surface-muted)}.tool-button:disabled{opacity:.45}.tool-button svg,.generate-button svg,.primary-button svg,.secondary-button svg,.danger-button svg{flex:none;width:15px;height:15px}.model-tool{min-width:0;max-width:210px}.model-tool span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.advanced-toggle{margin-left:auto}.advanced-toggle svg{transition:transform .16s}.advanced-toggle.active svg{transform:rotate(180deg)}.generate-button,.primary-button{border:1px solid var(--accent);color:#fff;background:var(--accent)}.generate-button{min-width:92px}.generate-button:hover,.primary-button:hover{border-color:var(--accent-strong);background:var(--accent-strong)}.generate-button:disabled,.primary-button:disabled{border-color:var(--border);color:var(--faint);background:var(--surface-muted)}.composer-notice{color:var(--muted);margin:-4px 14px 10px;font-size:11px;line-height:16px}.advanced-panel{border-top:1px solid var(--border);background:var(--surface-muted);grid-template-columns:minmax(270px,1.5fr) repeat(3,minmax(118px,1fr));gap:16px;padding:16px;display:grid}.advanced-field,.config-field{flex-direction:column;gap:7px;min-width:0;display:flex}.advanced-field>label,.config-field>label{color:var(--muted);font-size:11px;font-weight:650}.option-group{border:1px solid var(--border);background:var(--surface);border-radius:7px;min-width:0;padding:3px;display:flex}.option-group button{min-width:0;height:30px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:5px;flex:1;padding:0 8px;font-size:11px}.option-group button.active{color:var(--ink);background:var(--surface-muted);box-shadow:inset 0 0 0 1px var(--border)}.advanced-field select,.config-field select,.secret-input input,.custom-size input{border:1px solid var(--border);width:100%;min-width:0;height:38px;color:var(--ink);background:var(--surface);border-radius:7px;outline:0;padding:0 10px;font-size:12px}.custom-size{align-items:center;gap:6px;display:flex}.custom-size input{text-align:center;height:32px}.custom-size span{color:var(--faint);font-size:11px}.stepper{border:1px solid var(--border);background:var(--surface);border-radius:7px;grid-template-columns:34px 1fr 34px;height:38px;display:grid;overflow:hidden}.stepper button{color:var(--muted);background:0 0;border:0;place-items:center;display:grid}.stepper button:hover:not(:disabled){color:var(--ink);background:var(--surface-muted)}.stepper button:disabled{opacity:.3}.stepper svg{width:13px;height:13px}.stepper span{border-right:1px solid var(--border);border-left:1px solid var(--border);place-items:center;font-size:12px;font-weight:650;display:grid}.scenario-section{margin-top:14px}.scenario-header{color:var(--muted);justify-content:space-between;align-items:center;margin-bottom:8px;font-size:11px;font-weight:650;display:flex}.scenario-header button{color:var(--accent);background:0 0;border:0;font-size:11px}.scenario-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.scenario-list button{border:1px solid var(--border);min-width:0;height:50px;color:var(--muted);background:var(--surface);white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;gap:8px;padding:0 9px;font-size:12px;display:flex}.scenario-list button:hover,.scenario-list button.active{border-color:var(--border-strong);color:var(--ink);background:var(--surface-muted)}.scenario-list button.active{border-color:var(--accent);box-shadow:inset 0 -2px 0 var(--accent)}.scenario-list svg{flex:none;width:16px;height:16px}.scenario-list button:first-child svg{color:var(--warm)}.scenario-list button:nth-child(2) svg{color:var(--accent)}.scenario-list button:nth-child(3) svg{color:var(--blue)}.scenario-list button:nth-child(4) svg{color:var(--red)}.scenario-list button:nth-child(5) svg{color:#9a7132}.style-row{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.style-row button{border:1px solid var(--border);height:30px;color:var(--muted);background:0 0;border-radius:7px;padding:0 11px;font-size:11px}.style-row button:hover,.style-row button.active{border-color:var(--accent);color:var(--accent-strong);background:var(--accent-soft)}.results-section{border-top:1px solid var(--border);margin-top:48px;padding-top:24px}.results-heading{margin-bottom:16px}.result-actions{align-items:center;gap:8px;min-width:0;display:flex}.result-actions>span{color:var(--accent);font-size:11px}.text-button{height:34px;color:var(--muted);background:0 0;border:0}.text-button:hover{color:var(--ink);background:var(--surface-muted)}.secondary-button{border:1px solid var(--border);color:var(--ink);background:var(--surface)}.secondary-button:hover{border-color:var(--border-strong);background:var(--surface-muted)}.secondary-button:disabled{color:var(--faint);opacity:.65}.task-status{border:1px solid var(--accent);grid-template-columns:minmax(190px,auto) minmax(120px,1fr) 30px;align-items:center;gap:16px;min-height:66px;margin-bottom:16px;padding:10px 12px;display:grid}@supports (color:color-mix(in lab,red,red)){.task-status{border:1px solid color-mix(in srgb,var(--accent) 32%,var(--border))}}.task-status{background:var(--accent-soft);border-radius:8px}.task-status.is-error{border-color:var(--red)}@supports (color:color-mix(in lab,red,red)){.task-status.is-error{border-color:color-mix(in srgb,var(--red) 35%,var(--border))}}.task-status.is-error{background:var(--red)}@supports (color:color-mix(in lab,red,red)){.task-status.is-error{background:color-mix(in srgb,var(--red) 10%,var(--surface))}}.task-status-main{align-items:center;gap:10px;min-width:0;display:flex}.task-status-main>svg{width:18px;height:18px;color:var(--accent);flex:none}.task-status.is-error .task-status-main>svg{color:var(--red)}.task-status-main>div{flex-direction:column;min-width:0;display:flex}.task-status-main strong{font-size:12px}.task-status-main span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.task-progress{background:var(--accent);border-radius:3px;height:5px;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.task-progress{background:color-mix(in srgb,var(--accent) 16%,var(--surface))}}.task-progress span{background:var(--accent);border-radius:3px;height:100%;transition:width .3s;display:block}.result-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.result-card{border:1px solid var(--border);background:var(--surface);border-radius:8px;min-width:0;transition:border-color .16s,box-shadow .16s,transform .16s;overflow:hidden}.result-card:hover{border-color:var(--border-strong);transform:translateY(-2px);box-shadow:0 10px 24px #1c251f14}.result-card.selected{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.result-media{aspect-ratio:1;cursor:zoom-in;background:var(--surface-muted);position:relative;overflow:hidden}.result-media>img{object-fit:cover;width:100%;height:100%;transition:transform .22s;display:block}.result-card:hover .result-media>img{transform:scale(1.015)}.select-button,.preview-button{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;background:#161b17b3;border:1px solid #ffffff52;border-radius:7px;place-items:center;width:32px;height:32px;transition:opacity .16s,background .16s;display:grid;position:absolute;top:10px}.select-button{left:10px}.preview-button{right:10px}.result-card:hover .select-button,.result-card:hover .preview-button,.select-button.selected{opacity:1}.select-button.selected{border-color:var(--accent);background:var(--accent)}.select-button svg,.preview-button svg{width:15px;height:15px}.result-meta{grid-template-columns:24px minmax(0,1fr) auto;align-items:start;gap:10px;padding:12px;display:grid}.result-index{color:var(--warm);font-size:10px;font-weight:750;line-height:17px}.result-copy{min-width:0}.result-copy p{color:var(--ink);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:17px;display:-webkit-box;overflow:hidden}.result-copy span{color:var(--faint);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:10px;display:block;overflow:hidden}.result-card-actions{gap:3px;display:flex}.result-card-actions button{width:28px;height:28px;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.result-card-actions button:hover{color:var(--ink);background:var(--surface-muted)}.result-card-actions svg{width:14px;height:14px}.empty-workspace{border:1px solid var(--border);background:var(--surface);border-radius:8px;place-items:center;min-height:350px;display:grid;position:relative;overflow:hidden}.empty-grid{opacity:.65;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid;position:absolute;top:20px;right:20px;bottom:20px;left:20px}.empty-grid span{border:1px dashed var(--border-strong);background:var(--surface-muted);border-radius:6px}.empty-workspace-label{z-index:1;border:1px solid var(--border);min-width:150px;min-height:88px;color:var(--muted);background:var(--surface);box-shadow:var(--shadow);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex;position:relative}.empty-workspace-label svg{width:21px;height:21px;color:var(--accent)}.empty-workspace-label strong{font-size:12px}.drawer-backdrop,.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1317146b;justify-content:flex-end;display:flex;position:fixed;top:0;right:0;bottom:0;left:0}.workspace-drawer{border-left:1px solid var(--border);background:var(--surface);flex-direction:column;width:min(400px,100%);height:100dvh;animation:.18s ease-out drawer-in;display:flex;box-shadow:-16px 0 40px #00000029}.drawer-header,.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;min-height:76px;padding:14px 18px;display:flex}.drawer-summary{border-bottom:1px solid var(--border);background:var(--surface-muted);grid-template-columns:1fr 1fr;display:grid}.drawer-summary>div{flex-direction:column;justify-content:center;min-height:70px;padding:12px 18px;display:flex}.drawer-summary>div+div{border-left:1px solid var(--border)}.drawer-summary strong{font-size:20px;line-height:24px}.drawer-summary span{color:var(--muted);font-size:10px}.history-list,.activity-list{flex:1;padding:10px;overflow-y:auto}.history-item{border-bottom:1px solid var(--border);grid-template-columns:72px minmax(0,1fr) 30px;align-items:center;gap:10px;padding:8px;display:grid}.history-image{background:var(--surface-muted);border:0;border-radius:6px;width:72px;height:58px;padding:0;overflow:hidden}.history-image img{object-fit:cover;width:100%;height:100%}.history-item>div{min-width:0}.history-item p,.activity-item p{color:var(--ink);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:11px;line-height:16px;display:-webkit-box;overflow:hidden}.history-item span,.activity-item span{color:var(--faint);margin-top:3px;font-size:10px;display:block}.drawer-empty{min-height:220px;color:var(--faint);flex-direction:column;justify-content:center;align-items:center;gap:9px;font-size:12px;display:flex}.drawer-empty svg{width:24px;height:24px}.drawer-footer,.modal-footer{border-top:1px solid var(--border);justify-content:flex-end;align-items:center;gap:8px;min-height:64px;padding:10px 14px;display:flex}.danger-button{border:1px solid var(--red)}@supports (color:color-mix(in lab,red,red)){.danger-button{border:1px solid color-mix(in srgb,var(--red) 30%,var(--border))}}.danger-button{color:var(--red);background:0 0}.danger-button:hover{background:var(--red)}@supports (color:color-mix(in lab,red,red)){.danger-button:hover{background:color-mix(in srgb,var(--red) 9%,var(--surface))}}.activity-overview{border-bottom:1px solid var(--border);background:var(--surface-muted);align-items:center;gap:12px;min-height:76px;padding:14px 18px;display:flex}.activity-overview>svg{width:20px;height:20px;color:var(--muted)}.activity-overview.is-running>svg{color:var(--accent)}.activity-overview>div{flex-direction:column;display:flex}.activity-overview strong{font-size:12px}.activity-overview span{color:var(--muted);font-size:11px}.activity-item{border-bottom:1px solid var(--border);grid-template-columns:22px minmax(0,1fr);gap:9px;padding:12px 8px;display:grid}.activity-item>svg{width:17px;height:17px}.log-success{color:var(--accent)}.log-error{color:var(--red)}.log-progress{color:var(--blue)}.log-info{color:var(--faint)}.preview-modal{z-index:200;color:#fff;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0b0d0cf0;grid-template-rows:56px minmax(0,1fr) auto;padding:0 18px 18px;display:grid;position:fixed;top:0;right:0;bottom:0;left:0}.preview-topbar{justify-content:space-between;align-items:center;gap:14px;display:flex}.preview-topbar>span{color:#ffffffad;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.preview-topbar>div{gap:7px;display:flex}.preview-topbar button{color:#fff;background:#ffffff14;border:1px solid #ffffff2e;border-radius:7px;align-items:center;gap:6px;height:34px;padding:0 10px;font-size:11px;display:inline-flex}.preview-topbar button:hover{background:#ffffff29}.preview-topbar button.icon-only{justify-content:center;width:34px;padding:0}.preview-topbar svg{width:14px;height:14px}.preview-stage{place-items:center;min-height:0;display:grid}.preview-stage img{object-fit:contain;border-radius:8px;max-width:min(100%,1280px);max-height:calc(100dvh - 130px);display:block;box-shadow:0 18px 60px #00000073}.preview-caption{color:#ffffffb8;text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:900px;margin:10px auto 0;font-size:11px;line-height:16px;overflow:hidden}.modal-backdrop{z-index:150;justify-content:center;align-items:center;padding:20px}.config-modal{border:1px solid var(--border);background:var(--surface);border-radius:8px;flex-direction:column;width:min(620px,100%);max-height:calc(100dvh - 40px);display:flex;overflow:hidden;box-shadow:0 24px 80px #0000004d}.modal-body{padding:18px;overflow-y:auto}.modal-body>*+*{margin-top:16px}.api-mode-options button{height:34px;font-size:12px}.secret-input{position:relative}.secret-input input{padding-right:42px}.secret-input button{width:38px;height:36px;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;display:grid;position:absolute;top:1px;right:1px}.secret-input svg{width:15px;height:15px}.config-field small{color:var(--faint);font-size:10px;line-height:15px}.model-loader-row{border:1px solid var(--border);background:var(--surface-muted);border-radius:8px;justify-content:space-between;align-items:center;gap:14px;padding:12px;display:flex}.model-loader-row>div{flex-direction:column;min-width:0;display:flex}.model-loader-row strong{font-size:12px}.model-loader-row span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.model-fields{grid-template-columns:1fr 1fr;gap:12px;display:grid}.required-mark{color:var(--red);margin-left:3px}.form-message{border-radius:7px;align-items:flex-start;gap:7px;margin:0;padding:9px 10px;font-size:11px;line-height:16px;display:flex}.form-message svg{flex:none;width:14px;height:14px;margin-top:1px}.form-message.error{color:var(--red);background:var(--red)}@supports (color:color-mix(in lab,red,red)){.form-message.error{background:color-mix(in srgb,var(--red) 9%,var(--surface))}}.form-message.success{color:var(--accent-strong);background:var(--accent-soft)}.modal-footer .primary-button{min-width:104px}.spinning{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes drawer-in{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}@media(max-width:980px){.workspace-content{padding-left:22px;padding-right:22px}.advanced-panel{grid-template-columns:1.5fr 1fr}.result-grid,.empty-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.topbar{gap:10px;padding:8px 14px}.brand-lockup small,.theme-switch,.model-status svg{display:none}.model-status{max-width:150px}.workspace-content{padding:24px 14px 48px}.section-heading h1{font-size:21px;line-height:27px}.composer textarea{min-height:132px;padding:18px 16px 8px;font-size:15px;line-height:23px}.composer-toolbar{flex-wrap:wrap}.model-tool{max-width:170px}.advanced-toggle{margin-left:0}.generate-button{margin-left:auto}.advanced-panel{grid-template-columns:1fr}.scenario-list{grid-template-columns:repeat(2,minmax(0,1fr))}.scenario-list button:last-child{grid-column:span 2}.results-section{margin-top:36px}.results-heading{align-items:flex-start}.result-actions>span,.text-button{display:none}.task-status{grid-template-columns:minmax(0,1fr) 30px}.task-progress{grid-area:2/1/auto/-1}.result-grid{grid-template-columns:1fr}.select-button,.preview-button{opacity:1}.empty-workspace{min-height:290px}.empty-grid{gap:8px;top:12px;right:12px;bottom:12px;left:12px}.model-fields{grid-template-columns:1fr}.preview-topbar button span{display:none}.preview-topbar button{justify-content:center;width:34px;padding:0}}@media(max-width:480px){.brand-mark{width:32px;height:32px}.brand-lockup strong{font-size:13px}.topbar-actions{gap:5px}.model-status{justify-content:center;width:36px;padding:0}.model-status svg{display:block}.model-status .status-dot{display:none}.model-status-text{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}.mode-switch button{padding:0 10px}.tool-button span{display:none}.tool-button{width:36px;padding:0}.model-tool{width:36px}.advanced-toggle{width:36px;margin-left:auto}.generate-button{min-width:82px;margin-left:0}.generate-button span{display:inline}.scenario-list button{font-size:11px}.style-row{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.style-row button{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:0 5px;overflow:hidden}.secondary-button span{display:none}.result-meta{grid-template-columns:22px minmax(0,1fr) auto}.modal-backdrop{padding:0}.config-modal{border:0;border-radius:0;width:100%;min-height:100dvh;max-height:100dvh}.model-loader-row{align-items:flex-start}}
