@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";
*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content:""}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}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-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;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}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.flex{display:flex}.capitalize{text-transform:capitalize}.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{--bg:#f7f7f5;--surface:#fff;--surface-2:#f0f0ed;--surface-3:#e8e8e4;--text:#20211f;--muted:#777973;--line:#e5e5e0;--accent:#20211f;--accent-text:#fff;--soft:#efefeb;--green:#247a4b;--red:#b53a36;--shadow:0 16px 50px #16181414}:root.dark{--bg:#171816;--surface:#20211f;--surface-2:#292b28;--surface-3:#343632;--text:#f1f1ed;--muted:#a2a49d;--line:#353832;--accent:#f1f1ed;--accent-text:#20211f;--soft:#2b2d29;--green:#74c995;--red:#ff8981;--shadow:0 18px 60px #00000047}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:DM Sans,sans-serif;font-size:14px;line-height:1.5}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}::selection{background:var(--text);color:var(--bg)}.studio-shell{background:var(--bg);min-height:100dvh;display:flex}.sidebar{background:var(--surface-2);border-right:1px solid var(--line);flex-direction:column;flex:0 0 264px;width:264px;padding:17px 13px;transition:transform .22s;display:flex}.brand{letter-spacing:-.04em;align-items:center;gap:10px;padding:4px 8px 21px;font-family:Manrope,sans-serif;font-size:15px;font-weight:800;display:flex}.brand-mark{background:var(--text);width:28px;height:28px;color:var(--bg);border-radius:9px;place-items:center;font-size:15px;font-weight:800;display:grid}.new-chat{border:1px solid var(--line);background:var(--surface);height:42px;color:var(--text);text-align:left;border-radius:11px;align-items:center;gap:10px;padding:0 12px;font-weight:600;display:flex}.new-chat:hover,.side-project:hover{background:var(--surface-3)}.side-label{color:var(--muted);text-transform:uppercase;letter-spacing:.09em;padding:22px 9px 8px;font-size:11px;font-weight:700}.project-list{flex-direction:column;gap:3px;min-height:0;display:flex;overflow:auto}.side-project{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:9px;min-width:0;padding:9px 10px;display:flex}.side-project.active{background:var(--surface);font-weight:600}.side-project span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sidebar-bottom{border-top:1px solid var(--line);margin-top:auto;padding-top:14px}.user-row{align-items:center;gap:10px;padding:10px 8px;display:flex}.avatar{background:var(--surface-3);border-radius:50%;flex:none;place-items:center;width:30px;height:30px;font-size:12px;font-weight:700;display:grid}.user-meta{flex:1;min-width:0}.user-meta strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.user-meta small{color:var(--muted);font-size:11px}.icon-btn{width:36px;height:36px;color:var(--muted);background:0 0;border:0;border-radius:9px;place-items:center;display:grid}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.main-shell{flex-direction:column;flex:1;min-width:0;display:flex}.topbar{border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--bg) 92%,transparent);z-index:10;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);flex:0 0 62px;justify-content:space-between;align-items:center;height:62px;padding:0 24px;display:flex;position:sticky;top:0}.topbar-left,.topbar-right{align-items:center;gap:10px;min-width:0;display:flex}.topbar-title{white-space:nowrap;text-overflow:ellipsis;font-family:Manrope,sans-serif;font-size:14px;font-weight:700;overflow:hidden}.topbar-subtitle{color:var(--muted);font-size:12px}.workspace{flex:1;width:min(100%,1120px);margin:0 auto;padding:34px 36px 60px}.welcome{text-align:center;max-width:760px;margin:12vh auto 0}.eyebrow{letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:700}.welcome h1{letter-spacing:-.055em;margin:14px 0 12px;font-family:Manrope,sans-serif;font-size:clamp(28px,4vw,42px);font-weight:700;line-height:1.12}.welcome p{color:var(--muted);max-width:480px;margin:0 auto;font-size:15px}.composer-wrap{max-width:760px;margin:36px auto 0}.composer{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;padding:13px 14px 11px;transition:border-color .2s}.composer:focus-within{border-color:var(--muted)}.composer textarea{resize:vertical;width:100%;min-height:84px;max-height:220px;color:var(--text);background:0 0;border:0;outline:0;padding:5px 4px;font-size:15px;line-height:1.6;display:block}.composer textarea::placeholder{color:var(--muted)}.composer-bottom{justify-content:space-between;align-items:center;gap:10px;padding-top:7px;display:flex}.composer-hint{color:var(--muted);font-size:11px}.primary-btn,.secondary-btn,.quiet-btn{border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:9px 13px;font-size:12px;font-weight:600;transition:background .16s,border-color .16s;display:inline-flex}.primary-btn{background:var(--accent);color:var(--accent-text);border:1px solid var(--accent)}.primary-btn:hover{opacity:.88}.secondary-btn{background:var(--surface);color:var(--text);border:1px solid var(--line)}.secondary-btn:hover{background:var(--surface-2)}.quiet-btn{color:var(--muted);background:0 0;border:1px solid #0000}.quiet-btn:hover{background:var(--surface-2);color:var(--text)}.suggestion-row{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:16px;display:flex}.suggestion{border:1px solid var(--line);color:var(--muted);background:0 0;border-radius:999px;padding:7px 11px;font-size:11px}.suggestion:hover{color:var(--text);background:var(--surface)}.chat-layout{flex-direction:column;max-width:820px;min-height:calc(100dvh - 145px);margin:0 auto;display:flex}.chat-messages{flex-direction:column;flex:1;gap:26px;padding:20px 0 28px;display:flex}.message{align-items:flex-start;gap:13px;display:flex}.message.user{flex-direction:row-reverse}.message-avatar{background:var(--surface-2);width:30px;height:30px;color:var(--text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid}.message.user .message-avatar{background:var(--text);color:var(--bg)}.message-body{min-width:0;max-width:min(100%,690px)}.message.user .message-body{background:var(--surface-2);border:1px solid var(--line);border-radius:16px 5px 16px 16px;padding:12px 15px}.message-content{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.75}.message-label{color:var(--muted);margin-bottom:5px;font-size:11px;font-weight:600}.chat-composer{background:linear-gradient(180deg,transparent,var(--bg) 14%);padding:14px 0 18px;position:sticky;bottom:0}.chat-composer .composer{box-shadow:0 6px 30px #0000000e}.progress-strip{border:1px solid var(--line);background:var(--surface);border-radius:12px;align-items:center;gap:0;margin-bottom:22px;padding:12px 14px;display:flex;overflow-x:auto}.progress-step{white-space:nowrap;color:var(--muted);align-items:center;gap:7px;font-size:11px;display:flex}.progress-step.current{color:var(--text);font-weight:700}.progress-step.done{color:var(--green)}.progress-dot{border:1px solid var(--line);border-radius:50%;place-items:center;width:20px;height:20px;font-size:10px;display:grid}.progress-step.done .progress-dot{background:var(--green);border-color:var(--green);color:#fff}.progress-line{background:var(--line);flex:none;width:24px;height:1px;margin:0 9px}.readiness{background:var(--surface-2);border:1px solid var(--line);border-radius:12px;align-items:center;gap:12px;margin:16px 0;padding:13px 15px;display:flex}.readiness-track{background:var(--surface-3);border-radius:99px;flex:1;height:5px;overflow:hidden}.readiness-fill{background:var(--text);border-radius:99px;height:100%}.readiness strong{font-size:12px}.readiness small{color:var(--muted);font-size:11px}.workspace-tabs{border-bottom:1px solid var(--line);gap:5px;margin:0 0 22px;display:flex;overflow-x:auto}.tab{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;padding:11px 13px;font-size:12px;font-weight:600}.tab.active{color:var(--text);border-bottom-color:var(--text)}.panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:20px}.panel-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.panel-header h2{letter-spacing:-.03em;margin:0;font-family:Manrope,sans-serif;font-size:17px}.panel-header p{color:var(--muted);margin:4px 0 0;font-size:12px}.artifact-content{overflow-wrap:anywhere;font-size:13px;line-height:1.75}.artifact-content h1,.artifact-content h2,.artifact-content h3{letter-spacing:-.03em;margin:1.5em 0 .6em;font-family:Manrope,sans-serif}.artifact-content h1{font-size:24px}.artifact-content h2{font-size:19px}.artifact-content h3{font-size:15px}.artifact-content p{color:var(--text);margin:.65em 0}.artifact-content ul,.artifact-content ol{padding-left:22px}.artifact-content li{margin:5px 0}.artifact-content code{background:var(--surface-2);border-radius:5px;padding:2px 5px}.artifact-content pre{background:var(--surface-2);border-radius:9px;padding:14px;overflow:auto}.artifact-content pre code{padding:0}.artifact-content table{border-collapse:collapse;width:100%;display:block;overflow:auto}.artifact-content th,.artifact-content td{border:1px solid var(--line);text-align:left;padding:8px}.artifact-list{flex-direction:column;gap:8px;display:flex}.artifact-row,.file-row{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:center;gap:12px;padding:12px;display:flex}.artifact-row:hover,.file-row:hover{background:var(--surface-2)}.artifact-row-main{flex:1;min-width:0}.artifact-row strong,.file-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.artifact-row small,.file-row small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.status-pill{background:var(--surface-2);color:var(--muted);border-radius:999px;align-items:center;gap:5px;padding:4px 8px;font-size:10px;font-weight:700;display:inline-flex}.status-pill.good{color:var(--green)}.preview-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px;display:flex}.segmented{background:var(--surface-2);border-radius:9px;gap:2px;padding:3px;display:flex}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:7px;padding:6px 10px;font-size:11px}.segmented button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #00000014}.preview-stage{background:var(--surface-2);border:1px solid var(--line);border-radius:12px;justify-content:center;align-items:flex-start;height:min(70vh,760px);min-height:420px;padding:16px;display:flex;overflow:auto}.preview-frame{border:1px solid var(--line);background:#fff;border-radius:8px;max-width:none;height:100%;min-height:580px;transition:width .2s;box-shadow:0 5px 25px #0000001a}.code-view{color:#e9ece5;background:#171816;border-radius:12px;overflow:hidden}.code-view pre{max-height:65vh;padding:17px;font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.code-head{color:#c2c6bd;border-bottom:1px solid #343832;justify-content:space-between;align-items:center;padding:10px 14px;font-size:11px;display:flex}.code-layout{grid-template-columns:220px minmax(0,1fr);gap:12px;display:grid}.file-tree{border:1px solid var(--line);border-radius:10px;max-height:65vh;padding:8px;overflow:auto}.file-tree button{text-align:left;width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:6px;padding:7px 8px;font-size:11px;display:block;overflow:hidden}.file-tree button.active,.file-tree button:hover{background:var(--surface-2);color:var(--text)}.empty-state{text-align:center;color:var(--muted);padding:45px 20px}.empty-state strong{color:var(--text);margin:8px 0;font-size:13px;display:block}.form-field{flex-direction:column;gap:6px;margin:13px 0;display:flex}.form-field label{color:var(--muted);font-size:11px;font-weight:700}.form-field input,.form-field textarea,.form-field select{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--text);border-radius:9px;outline:0;padding:11px 12px}.form-field input:focus,.form-field textarea:focus{border-color:var(--muted)}.auth-screen{place-items:center;min-height:100dvh;padding:24px;display:grid}.auth-card{background:var(--surface);border:1px solid var(--line);width:min(100%,420px);box-shadow:var(--shadow);border-radius:18px;padding:30px}.auth-card h1{letter-spacing:-.05em;margin:22px 0 7px;font:700 26px Manrope,sans-serif}.auth-card>p{color:var(--muted);margin:0 0 22px;font-size:13px}.error-note{background:color-mix(in srgb,var(--red) 10%,var(--surface));border:1px solid color-mix(in srgb,var(--red) 30%,var(--line));color:var(--red);border-radius:9px;margin:12px 0;padding:10px 12px;font-size:12px}.muted{color:var(--muted)}.mobile-overlay{display:none}.spinner{border:2px solid var(--surface-3);border-top-color:var(--text);border-radius:50%;width:15px;height:15px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:800px){.sidebar{z-index:40;height:100dvh;box-shadow:var(--shadow);position:fixed;inset:0 auto 0 0;transform:translate(-105%)}.sidebar.open{transform:translate(0)}.mobile-overlay.show{z-index:30;background:#00000061;display:block;position:fixed;inset:0}.topbar{padding:0 14px}.workspace{padding:24px 17px 42px}.welcome{margin:8vh auto 0}.chat-layout{min-height:calc(100dvh - 125px)}.code-layout{grid-template-columns:1fr}.file-tree{max-height:none;display:flex;overflow-x:auto}.file-tree button{flex:none;width:auto}.panel{padding:15px}.preview-stage{height:64vh;min-height:380px;padding:9px}.progress-strip{padding:10px}.progress-line{width:12px;margin:0 5px}}@media (max-width:480px){.topbar{flex-basis:56px;height:56px}.topbar-subtitle{display:none}.workspace{padding:20px 12px 34px}.welcome{margin-top:7vh}.welcome h1{font-size:30px}.welcome p{font-size:13px}.composer{border-radius:14px;padding:10px}.composer textarea{min-height:92px;font-size:14px}.composer-hint{display:none}.message{gap:9px}.message-avatar{flex-basis:27px;width:27px;height:27px}.message-content{font-size:13px}.chat-messages{gap:21px}.panel-header{flex-direction:column;align-items:flex-start}.progress-step{font-size:10px}.progress-dot{width:18px;height:18px}.artifact-row,.file-row{padding:10px}.preview-toolbar{align-items:flex-start}.auth-card{padding:23px}}
