@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-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-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%;tab-size:4;line-height:1.5;font-family:var(--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: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: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{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]){appearance:button}::file-selector-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{.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.static{position:static}.hidden{display:none}.inline{display:inline}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{color:#303030;font-synthesis:none;text-rendering:optimizelegibility;--background:#fafafb;--foreground:#303030;--heading:#181818;--surface:#fff;--surface-foreground:#303030;--surface-muted:#f1f2f4;--surface-soft:#eeeef2;--muted-foreground:#666873;--border:#dfe0e5;--input:#dfe0e5;--primary:#191a21;--primary-foreground:#fff;--focus:#7657ff;--danger:#d93f35;--success:#08796d;--warning:#945900;--selection:#6846e6;--chat-send:#2e6ddd;--chat-send-foreground:#fff;--badge-new:#0e817c;--badge-new-foreground:#fff;--action-flare:#d13f25;--action-ion:#7657ff;--action-plasma:#2e6ddd;--action-foreground:#fff;--shadow:0 20px 60px #11121714;background:#fafafb;font-family:Inter,SF Pro Text,Segoe UI,Arial,sans-serif}:root[data-theme=dark]{color:#c4c6ce;--background:#101116;--foreground:#c4c6ce;--heading:#d0d2d9;--surface:#17181e;--surface-foreground:#c9cbd3;--surface-muted:#202128;--surface-soft:#26272f;--muted-foreground:#9396a3;--border:#30313a;--input:#393a44;--primary:#e2e3e8;--primary-foreground:#15161b;--focus:#8b72ff;--danger:#ff6b60;--success:#66d8cc;--warning:#edc06b;--selection:#9d89ff;--chat-send:#2855b0;--chat-send-foreground:#d1d2d8;--badge-new:#174d35;--badge-new-foreground:#a3e4bc;--action-flare:#9a3a22;--action-ion:#5c3ec9;--action-plasma:#2855b0;--action-foreground:#d1d2d8;--shadow:0 20px 60px #0000003d;background:#101116}*{box-sizing:border-box}body{background:var(--background);min-width:320px;min-height:100vh;color:var(--foreground);margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled,textarea:disabled,select:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--focus)}@supports (color:color-mix(in lab,red,red)){button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid color-mix(in srgb,var(--focus) 42%,transparent)}}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px}.auth-loading{min-height:100vh;color:var(--muted-foreground);place-items:center;display:grid}.auth-shell{background:var(--background);flex-direction:column;min-height:100dvh;display:flex}.auth-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:68px;padding:12px clamp(16px,3vw,40px);display:flex}.auth-brand{align-items:center;gap:12px;display:flex}.auth-brand img{width:32px;height:32px}.auth-brand>div{gap:3px;display:grid}.auth-brand strong{color:var(--heading);font-size:14px}.auth-main{flex:1;place-items:center;padding:48px 20px;display:grid}.auth-form{gap:10px;width:min(100%,380px);display:grid}.auth-form h1{color:var(--heading);margin:2px 0 24px;font-size:28px;font-weight:650;line-height:1.15}.auth-form label{color:var(--foreground);font-size:13px;font-weight:600}.auth-form input{border:1px solid var(--input);background:var(--surface);width:100%;min-height:44px;color:var(--foreground);border-radius:8px;margin-bottom:10px;padding:9px 12px}.auth-form input:hover{border-color:var(--muted-foreground)}.auth-error{color:var(--danger);margin:0;font-size:13px;line-height:1.5}.auth-submit{justify-content:space-between;min-height:44px;margin-top:8px;padding:0 16px;font-size:14px}.app-shell{background:var(--background);flex-direction:column;min-height:100vh;display:flex}.app-shell.is-builder{height:100dvh;min-height:0;overflow:hidden}.spectral-line{background:linear-gradient(90deg,#ffb224,#ff5c45 25%,#7657ff 54%,#2e7bff 76%,#13b8a6);flex:none;width:100%;height:3px}.topbar{border-bottom:1px solid var(--border);background:var(--background);justify-content:space-between;align-items:center;gap:24px;min-height:68px;padding:12px 18px 12px 22px;display:flex}@supports (color:color-mix(in lab,red,red)){.topbar{background:color-mix(in srgb,var(--background) 92%,var(--surface))}}.brand-lockup,.topbar-actions,.preview-actions,.composer-footer,.composer-controls,.overlay-actions,.project-open,.row-actions{align-items:center;display:flex}.brand-lockup{gap:10px;min-width:220px}.brand-home-link{color:inherit;text-align:left;background:0 0;border:0;padding:0}.brand-home-link:hover strong{color:var(--focus)}.brand-mark{width:30px;height:30px;color:inherit;background:0 0;border-radius:0;place-items:center;display:grid}.brand-mark img{width:30px;height:30px;display:block}.eyebrow{color:var(--muted-foreground);letter-spacing:.12em;text-transform:uppercase;font-size:10px;line-height:1.2}.brand-lockup strong,.panel-heading h1,.overlay-header h2{color:var(--heading)}.brand-lockup strong{font-size:14px;font-weight:650}.topbar-actions{gap:7px}.topbar-model-select{border:1px solid var(--border);min-height:34px;color:var(--muted-foreground);background:var(--surface);white-space:nowrap;border-radius:8px;align-items:center;gap:6px;padding:0 9px;font-size:11px;display:inline-flex;position:relative}.topbar-model-select select{appearance:none;min-width:0;max-width:148px;color:var(--foreground);font:inherit;text-overflow:ellipsis;background:0 0;border:0;outline:0;padding:2px 15px 2px 0}.topbar-model-select>svg:last-child{pointer-events:none;position:absolute;right:8px}.icon-button,.send-button{min-width:34px;height:34px;color:var(--muted-foreground);background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;transition:background .16s,color .16s,border-color .16s;display:inline-grid}.icon-button:hover,.icon-button.subtle:hover{background:var(--surface-soft);color:var(--foreground);border-color:var(--border)}.icon-button.subtle{border-color:var(--border);background:var(--surface)}.icon-button.is-active{border-color:var(--focus);color:var(--focus);background:var(--focus)}@supports (color:color-mix(in lab,red,red)){.icon-button.is-active{background:color-mix(in srgb,var(--focus) 10%,var(--surface))}}.danger-icon:hover{color:var(--danger)}.status-chip{border:1px solid var(--border);background:var(--surface);color:var(--muted-foreground);border-radius:99px;align-items:center;gap:8px;padding:7px 11px;font-size:12px;display:inline-flex}.status-dot,.live-dot{background:var(--success);border-radius:50%;width:7px;height:7px;display:inline-block}.status-dot.is-running{background:var(--warning);box-shadow:0 0 0 4px var(--warning)}@supports (color:color-mix(in lab,red,red)){.status-dot.is-running{box-shadow:0 0 0 4px color-mix(in srgb,var(--warning) 12%,transparent)}}.export-button,.primary-button{background:linear-gradient(100deg,var(--action-flare) 0%,var(--action-ion) 58%,var(--action-plasma) 100%);color:var(--action-foreground);border:0;border-radius:8px;align-items:center;gap:7px;min-height:34px;padding:0 12px;font-size:12px;font-weight:650;transition:box-shadow .16s,transform .16s;display:inline-flex;box-shadow:0 2px 8px #7657ff14}.export-button:hover:not(:disabled),.primary-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #7657ff24}.workspace{grid-template-columns:minmax(320px,var(--chat-width,35%)) 8px minmax(0,1fr);flex:auto;min-height:0;display:grid;overflow:hidden}.workspace.preview-focus{grid-template-columns:minmax(0,1fr)}.chat-panel{border-right:1px solid var(--border);background:var(--surface);flex-direction:column;min-width:0;min-height:0;display:flex}.resize-handle{z-index:2;cursor:col-resize;touch-action:none;background:var(--surface-muted);width:8px;min-width:8px;position:relative}.resize-handle:after{content:"";border-left:1px solid #0000;border-right:1px solid #0000;transition:background .16s,border-color .16s;position:absolute;inset:0 3px}.resize-handle:hover:after,.resize-handle:focus-visible:after,.is-resizing .resize-handle:after{background:var(--focus)}@supports (color:color-mix(in lab,red,red)){.resize-handle:hover:after,.resize-handle:focus-visible:after,.is-resizing .resize-handle:after{background:color-mix(in srgb,var(--focus) 18%,transparent)}}.resize-handle:hover:after,.resize-handle:focus-visible:after,.is-resizing .resize-handle:after{border-color:var(--focus)}@supports (color:color-mix(in lab,red,red)){.resize-handle:hover:after,.resize-handle:focus-visible:after,.is-resizing .resize-handle:after{border-color:color-mix(in srgb,var(--focus) 36%,transparent)}}.is-resizing,.is-resizing *{-webkit-user-select:none;user-select:none;cursor:col-resize!important}.panel-heading{border-bottom:1px solid var(--border);justify-content:space-between;gap:12px;min-height:80px;padding:20px 20px 14px;display:flex}.panel-heading h1{letter-spacing:0;margin:4px 0 0;font-size:20px;font-weight:650;line-height:1.15}.chat-scroll{flex:1;min-height:0;padding:20px;overflow:auto}.chat-empty{max-width:300px;color:var(--muted-foreground);gap:12px;margin-top:24px;display:grid}.chat-empty svg{color:var(--focus)}.chat-empty p,.message-card p{margin:0;font-size:14px;line-height:1.55}.message-card{border:1px solid var(--border);background:var(--surface-muted);border-radius:10px;width:fit-content;max-width:92%;margin:0 0 12px;padding:12px 14px}.user-message{background:var(--focus);margin-left:auto}@supports (color:color-mix(in lab,red,red)){.user-message{background:color-mix(in srgb,var(--focus) 9%,var(--surface))}}.message-card p{white-space:pre-wrap;overflow-wrap:anywhere}.message-label{color:var(--muted-foreground);margin-bottom:6px;font-size:11px}.message-card time{color:var(--muted-foreground);margin-top:8px;font-size:10px;display:block}.message-attachments{color:var(--muted-foreground);overflow-wrap:anywhere;align-items:center;gap:5px;margin-top:8px;font-size:11px;display:flex}.conversation-empty,.conversation-loading{color:var(--muted-foreground);margin:24px 0;font-size:13px}.conversation-error{color:var(--danger);margin:24px 0;font-size:13px}.composer-wrap{overscroll-behavior:contain;border:1px solid var(--input);background:var(--background);border-radius:12px;flex:none;max-height:min(42vh,420px);padding:10px;transition:border-color .16s,background .16s;overflow:auto}.composer-wrap.is-dragging{border-color:var(--focus);background:var(--focus)}@supports (color:color-mix(in lab,red,red)){.composer-wrap.is-dragging{background:color-mix(in srgb,var(--focus) 7%,var(--background))}}.attachment-list{flex-wrap:wrap;gap:8px;margin:0 0 6px;display:flex}.attachment-item{border:1px solid var(--border);background:var(--surface-muted);border-radius:8px;width:54px;height:54px;position:relative;overflow:hidden}.attachment-item img{object-fit:cover;width:100%;height:100%;display:block}.attachment-remove{color:#fff;background:#111217c7;border:0;border-radius:50%;place-items:center;width:18px;height:18px;padding:0;display:grid;position:absolute;top:3px;right:3px}.attachment-remove:hover{background:var(--danger)}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.composer-wrap textarea{resize:vertical;width:100%;min-height:104px;max-height:min(30vh,280px);color:var(--foreground);background:0 0;border:0;border-radius:8px;outline:none;padding:8px 4px;line-height:1.5;overflow:auto}.composer-wrap textarea::placeholder{color:var(--muted-foreground)}.composer-wrap:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px var(--focus)}@supports (color:color-mix(in lab,red,red)){.composer-wrap:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--focus) 16%,transparent)}}.composer-footer{justify-content:space-between;align-items:flex-end;gap:12px;margin-top:5px}.composer-controls{flex-direction:column;flex:auto;align-items:stretch;gap:8px;width:100%;min-width:0}.composer-tools{align-items:center;gap:8px;min-height:32px;display:flex}.attachment-button{flex:none;position:relative}.attachment-button input{cursor:pointer}.attachment-error{min-width:0;color:var(--danger);align-items:center;gap:5px;font-size:10px;line-height:1.3;display:inline-flex}.model-select{min-height:32px;color:var(--muted-foreground);align-self:flex-start;align-items:center;gap:7px;min-width:0;max-width:100%;font-size:12px;display:inline-flex;position:relative}.model-select span{white-space:nowrap}.model-select select{appearance:none;color:var(--foreground);text-overflow:ellipsis;background:0 0;border:0;outline:none;min-width:0;max-width:170px;padding:2px 18px 2px 0;font-size:12px}.model-select svg{pointer-events:none;position:absolute;right:0}.reasoning-slider{width:min(300px,100%);color:var(--muted-foreground);gap:3px;font-size:11px;display:grid}.reasoning-slider-head,.reasoning-slider-labels{justify-content:space-between;gap:8px;display:flex}.reasoning-slider-head strong{color:var(--foreground);font-weight:600}.reasoning-slider input{width:100%;height:16px;accent-color:var(--focus);margin:0}.reasoning-slider-labels{font-size:9px;line-height:1.1}.send-button{background:var(--chat-send);color:var(--chat-send-foreground);width:36px;min-width:36px;height:34px;box-shadow:0 2px 8px var(--chat-send);flex:none;align-self:flex-end;padding:0}@supports (color:color-mix(in lab,red,red)){.send-button{box-shadow:0 2px 8px color-mix(in srgb,var(--chat-send) 16%,transparent)}}.send-button:hover:not(:disabled){box-shadow:0 4px 12px var(--chat-send)}@supports (color:color-mix(in lab,red,red)){.send-button:hover:not(:disabled){box-shadow:0 4px 12px color-mix(in srgb,var(--chat-send) 24%,transparent)}}.stop-generation-button{background:var(--danger);color:var(--action-foreground)}.stop-generation-button:hover:not(:disabled){box-shadow:0 4px 12px var(--danger)}@supports (color:color-mix(in lab,red,red)){.stop-generation-button:hover:not(:disabled){box-shadow:0 4px 12px color-mix(in srgb,var(--danger) 28%,transparent)}}.send-button:disabled{opacity:1;background:var(--chat-send)}@supports (color:color-mix(in lab,red,red)){.send-button:disabled{background:color-mix(in srgb,var(--chat-send) 58%,var(--surface-muted))}}.send-button:disabled{color:var(--chat-send-foreground)}@supports (color:color-mix(in lab,red,red)){.send-button:disabled{color:color-mix(in srgb,var(--chat-send-foreground) 72%,var(--muted-foreground))}}.preview-panel{background:var(--surface-muted);flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.preview-panel:fullscreen{background:var(--surface-muted);width:100vw;min-width:0;height:100dvh}.preview-panel:fullscreen .preview-stage{flex:1}.preview-panel:fullscreen .preview-frame{height:min(760px,100%);min-height:0}.preview-toolbar{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:10px 16px;display:flex}.preview-title{color:var(--heading);align-items:center;gap:8px;font-size:13px;font-weight:650;display:flex}.muted-label{color:var(--muted-foreground);font-size:12px;font-weight:400}.preview-actions{gap:12px}.preview-control-group{align-items:center;gap:8px;display:flex}.preview-edit-actions{border-right:1px solid var(--border);padding-right:12px}.segmented-control{border:1px solid var(--border);background:var(--surface-muted);border-radius:8px;gap:2px;padding:2px;display:flex}.segmented-control button{min-height:27px;color:var(--muted-foreground);background:0 0;border:0;border-radius:6px;padding:0 8px;font-size:11px}.segmented-control button.is-active{background:var(--surface);color:var(--foreground);box-shadow:0 1px 3px #00000014}.preview-stage{background:radial-gradient(circle at 50% 0%,var(--focus),transparent 38%),var(--surface-muted);flex:1;place-items:center;min-height:0;padding:26px;display:grid;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.preview-stage{background:radial-gradient(circle at 50% 0%,color-mix(in srgb,var(--focus) 7%,transparent),transparent 38%),var(--surface-muted)}}.preview-frame{border:1px solid var(--border);max-width:100%;height:min(760px,100%);min-height:0;max-height:100%;box-shadow:var(--shadow);background:#fff;border-radius:10px;transition:width .18s;overflow:hidden}.preview-frame iframe{background:#fff;border:0;width:100%;height:100%;display:block}.text-edit-popover{z-index:3;border:1px solid var(--border);background:var(--surface);width:min(390px,100% - 24px);max-height:min(45%,310px);color:var(--foreground);box-shadow:var(--shadow);border-radius:9px;padding:12px;position:absolute;bottom:14px;left:50%;overflow:auto;transform:translate(-50%)}.text-edit-popover form{gap:8px;display:grid}.text-edit-popover label{color:var(--heading);font-size:12px;font-weight:600}.text-edit-popover textarea{resize:vertical;border:1px solid var(--input);background:var(--background);width:100%;min-height:76px;max-height:170px;color:var(--foreground);border-radius:7px;padding:8px;font-size:13px;line-height:1.45}.text-edit-hint,.text-edit-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.text-edit-hint{min-height:34px;color:var(--foreground);font-size:12px}.text-edit-actions{justify-content:flex-end}.text-edit-error{color:var(--danger);margin:0;font-size:11px;line-height:1.4}.overlay-backdrop{z-index:20;background:#07080c61;justify-content:flex-end;padding:14px;display:flex;position:fixed;inset:0}.overlay-panel{border:1px solid var(--border);background:var(--surface);width:min(480px,100%);max-height:100%;box-shadow:var(--shadow);border-radius:14px;padding:18px;overflow:auto}.overlay-panel-wide{width:min(720px,100%)}.image-prompt-settings{gap:10px;display:grid}.image-prompt-settings>label{color:var(--heading);font-size:13px;font-weight:600}.image-prompt-settings textarea{resize:vertical;border:1px solid var(--input);background:var(--background);width:100%;min-height:320px;max-height:calc(100vh - 250px);color:var(--foreground);border-radius:8px;padding:12px;font-size:12px;line-height:1.55}.prompt-settings-note{color:var(--muted-foreground);font-size:11px;line-height:1.5}.prompt-settings-footer,.prompt-settings-footer>div{align-items:center;display:flex}.prompt-settings-footer{color:var(--muted-foreground);justify-content:space-between;gap:12px;font-size:10px}.prompt-settings-footer>div{gap:8px}.secondary-button{border:1px solid var(--border);background:var(--surface);min-height:34px;color:var(--foreground);border-radius:8px;padding:0 10px;font-size:12px}.secondary-button:hover{border-color:var(--focus)}.overlay-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.overlay-header h2{margin:5px 0 0;font-size:22px;line-height:1.1}.overlay-actions{justify-content:flex-end;margin-bottom:14px}.project-list,.event-list{gap:8px;display:grid}.project-row{border:1px solid var(--border);background:var(--surface);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;min-height:60px;padding:8px;display:flex}.project-row.is-active{border-color:var(--selection);box-shadow:0 0 0 2px var(--selection)}@supports (color:color-mix(in lab,red,red)){.project-row.is-active{box-shadow:0 0 0 2px color-mix(in srgb,var(--selection) 14%,transparent)}}.project-open{min-width:0;color:var(--foreground);text-align:left;background:0 0;border:0;flex:1;gap:10px}.project-open strong,.project-open small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.project-open strong{color:var(--heading);font-size:13px}.project-open small{color:var(--muted-foreground);margin-top:3px;font-size:11px}.project-avatar{background:var(--focus);border-radius:8px;flex:none;place-items:center;width:30px;height:30px;display:grid}@supports (color:color-mix(in lab,red,red)){.project-avatar{background:color-mix(in srgb,var(--focus) 15%,var(--surface-muted))}}.project-avatar{color:var(--focus);font-weight:700}.row-actions{gap:3px}.home-main{flex:1 0 auto;align-self:center;width:min(1440px,100%);padding:clamp(24px,4vw,52px)}.home-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px;display:flex}.home-heading h1{color:var(--heading);margin:6px 0 0;font-size:28px;font-weight:650;line-height:1.15}.home-heading p{color:var(--muted-foreground);margin:8px 0 0;font-size:14px;line-height:1.45}.home-create-button{min-height:40px;padding:0 15px;font-size:13px}.home-topbar-actions{margin-left:auto}.home-state{min-height:180px;color:var(--muted-foreground);justify-content:center;align-items:center;gap:12px;font-size:13px;display:flex}.home-error{text-align:center;color:var(--danger);flex-direction:column}.home-empty{border:1px dashed var(--border);text-align:center;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;min-height:340px;display:flex}.home-empty-mark{border:1px solid var(--border);background:var(--surface);width:44px;height:44px;color:var(--focus);border-radius:8px;place-items:center;display:grid}.home-empty h2{color:var(--heading);margin:14px 0 0;font-size:18px;line-height:1.25}.home-empty p{color:var(--muted-foreground);margin:6px 16px 18px;font-size:13px;line-height:1.45}.project-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:16px;display:grid}.project-card{border:1px solid var(--border);background:var(--surface);border-radius:8px;min-width:0;transition:border-color .16s,box-shadow .16s,transform .16s;position:relative;overflow:hidden}.project-card:hover{border-color:var(--focus)}@supports (color:color-mix(in lab,red,red)){.project-card:hover{border-color:color-mix(in srgb,var(--focus) 45%,var(--border))}}.project-card:hover{box-shadow:0 8px 24px var(--foreground)}@supports (color:color-mix(in lab,red,red)){.project-card:hover{box-shadow:0 8px 24px color-mix(in srgb,var(--foreground) 7%,transparent)}}.project-card:hover{transform:translateY(-2px)}.project-card-open{width:100%;min-width:0;color:inherit;text-align:left;background:0 0;border:0;padding:0;display:block}.project-cover{aspect-ratio:16/9;background:var(--surface-muted);width:100%;display:block;position:relative;overflow:hidden}.project-cover img{object-fit:cover;object-position:center 28%;width:100%;height:100%;transition:transform .24s;display:block}.project-card:hover .project-cover img{transform:scale(1.025)}.project-status{border:1px solid var(--border);align-items:center;min-height:23px;padding:0 8px;display:inline-flex;position:absolute;top:10px;left:10px}@supports (color:color-mix(in lab,red,red)){.project-status{border:1px solid color-mix(in srgb,var(--border) 70%,transparent)}}.project-status{background:var(--surface);border-radius:99px}@supports (color:color-mix(in lab,red,red)){.project-status{background:color-mix(in srgb,var(--surface) 88%,transparent)}}.project-status{color:var(--muted-foreground);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font-size:10px;line-height:1}.status-ready{color:var(--success)}.project-card-copy{gap:5px;min-width:0;padding:12px 84px 14px 14px;display:grid}.project-card-copy strong{color:var(--heading);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:620;line-height:1.3;overflow:hidden}.project-card-copy small{color:var(--muted-foreground);font-size:11px;line-height:1.2}.project-card-actions{gap:2px;display:flex;position:absolute;bottom:7px;right:8px}.project-card-actions .icon-button{width:32px;height:32px}.empty-list{text-align:center;color:var(--muted-foreground);justify-items:center;gap:8px;padding:30px 12px;display:grid}.empty-list strong{color:var(--heading);font-size:14px}.empty-list span{max-width:260px;font-size:12px;line-height:1.45}.event-row{border-bottom:1px solid var(--border);grid-template-columns:28px 1fr;gap:10px;padding:11px 0;display:grid}.event-icon{color:var(--muted-foreground);padding-top:2px}.state-error .event-icon,.state-error .event-title{color:var(--danger)}.event-title{color:var(--heading);gap:7px;font-size:13px;font-weight:600;display:flex}.event-title span{color:var(--focus);text-transform:uppercase;letter-spacing:.05em;font-size:11px}.event-row p{color:var(--muted-foreground);margin:5px 0;font-size:12px;line-height:1.45}.event-row time{color:var(--muted-foreground);font-size:10px}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.diagnostics-grid{gap:8px;display:grid}.diagnostic-item{border:1px solid var(--border);background:var(--surface-muted);border-radius:9px;justify-content:space-between;gap:16px;padding:12px;font-size:12px;display:flex}.diagnostic-item span{color:var(--muted-foreground)}.diagnostic-item strong{color:var(--heading);text-align:right;font-weight:600}.diagnostic-note{color:var(--muted-foreground);align-items:flex-start;gap:8px;margin-top:14px;font-size:12px;line-height:1.45;display:flex}.diagnostic-note svg{color:var(--focus);flex:none}@media(max-width:880px){.app-shell.is-builder{height:auto;min-height:100dvh;overflow:visible}.topbar{flex-direction:column;align-items:flex-start;gap:12px}.topbar-actions{flex-wrap:wrap}.topbar.home-topbar{flex-direction:row;align-items:center}.home-topbar-actions{align-self:auto;margin-top:0}.home-main{padding:28px 20px}.workspace{grid-template-columns:1fr;overflow:visible}.resize-handle{display:none}.chat-panel{border-right:0;border-bottom:1px solid var(--border);min-height:48vh}.preview-panel{min-height:52vh}.preview-toolbar{flex-wrap:wrap}.preview-actions{justify-content:flex-end;width:100%}.preview-stage{overflow:visible}.preview-frame{height:min(620px,72vh);min-height:360px}}@media(min-width:881px)and (max-width:1120px){.topbar-actions{flex-wrap:wrap;justify-content:flex-end}.preview-toolbar{flex-wrap:wrap}.preview-actions{flex-wrap:wrap;justify-content:flex-end;width:100%}}@media(max-width:520px){.home-main{padding:24px 14px}.home-heading{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:20px}.home-heading h1{font-size:24px}.home-create-button{justify-content:center;align-self:stretch}.project-grid{grid-template-columns:minmax(0,1fr);gap:12px}}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
