:root{font-family:Inter,Pretendard,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#202439;background:#f6f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}.app-shell{min-height:100vh}.topbar{height:72px;padding:0 clamp(24px,4vw,72px);display:flex;align-items:center;gap:60px;border-bottom:1px solid #e8eaf0;background:#fff}.brand{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:700;white-space:nowrap;letter-spacing:-.035em}.brand b{color:#616b80}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#3435ab;color:#fff;font-size:12px;font-weight:900;letter-spacing:-.02em}.topbar nav{display:flex;align-items:center;gap:34px;height:100%;font-size:13px;color:#738098}.topbar nav a{height:100%;display:flex;align-items:center;gap:8px;white-space:nowrap}.topbar nav a:hover,.topbar nav a:focus-visible{color:#3935aa}.topbar nav .topbar__active{color:#3435ab;border-bottom:2px solid #5146d8;font-weight:700}.topbar nav small{padding:3px 7px;border-radius:5px;background:#f0f1f5;color:#8991a1;font-size:10px}.language-switch{display:inline-flex;align-items:center;gap:2px;margin-left:auto;padding:3px;border:1px solid #e4e7ef;border-radius:9px;background:#f5f6fa;white-space:nowrap}.language-switch button{min-width:34px;height:27px;padding:0 6px;border:0;border-radius:6px;background:transparent;color:#738098;font-size:11px;font-weight:800;cursor:pointer}.language-switch button:hover,.language-switch button:focus-visible{color:#3435ab}.language-switch button.is-active{background:#fff;color:#3435ab;box-shadow:0 1px 4px #17214d1c}.topbar__version{margin-left:0;color:#a0a7b7;font-size:10px;font-weight:800;letter-spacing:.12em;white-space:nowrap}.app-content{--page-gutter: clamp(24px, 4vw, 72px);max-width:1600px;margin:auto;padding:0 var(--page-gutter) 88px}.app-content--palette{padding-bottom:160px}.intro{display:flex;justify-content:space-between;align-items:end;gap:32px;padding:62px 0 54px}.eyebrow,.section-index{color:#5149ba;font-size:11px;font-weight:800;letter-spacing:.16em}.eyebrow{display:flex;align-items:center;gap:8px}.eyebrow>span{width:7px;height:7px;border-radius:50%;background:#9c83f2;box-shadow:0 0 0 4px #e9e3ff}.intro h1{margin:18px 0 20px;font-size:clamp(35px,4vw,58px);letter-spacing:-.07em;line-height:1.19;font-weight:800}.intro h1 em{font-style:normal;color:#6359cd}.intro p{color:#737d90;font-size:14px;line-height:1.8}.intro__steps{display:flex;align-items:center;gap:15px;white-space:nowrap;padding:14px 0;color:#908ab9;font-size:11px;font-weight:800}.intro__steps span{display:flex;gap:5px;align-items:center}.intro__steps b{color:#5a6276;font-weight:600}.intro__steps i{width:24px;height:1px;background:#cdd1dc}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:22px}.workspace-grid--code{grid-template-columns:minmax(0,1fr)}.workspace-main{min-width:0}.mode-strip{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.mode-strip>div,.mode-strip>a{min-width:0;display:flex;align-items:center;gap:13px;padding:19px 21px;border:1px solid #e4e7ef;border-radius:13px;background:#fff;transition:box-shadow .18s,border-color .18s}.mode-strip>a:hover{border-color:#9995e2;box-shadow:0 6px 20px #302ba513}.mode-strip__active{border-color:#8278db!important;box-shadow:0 0 0 3px #e8e5ff;background:#fbfaff!important}.mode-strip span{display:grid;place-items:center;width:31px;height:31px;flex:none;border-radius:9px;background:#eeecff;color:#5d54c5;font-size:11px;font-weight:800}.mode-strip strong{font-size:14px;white-space:nowrap}.mode-strip small{color:#929bae;font-size:11px;white-space:nowrap}.mode-strip svg{margin-left:auto;color:#969db0;flex:none}.code-starter{overflow:hidden;border:1px solid #e4e7ef;border-radius:16px;background:#fff;box-shadow:0 12px 36px #20243908}.code-starter__hero{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:30px;align-items:center;padding:clamp(28px,5vw,64px);background:linear-gradient(125deg,#fff 40%,#f0edff)}.code-starter__hero h2{margin:12px 0;font-size:clamp(30px,3.6vw,48px);letter-spacing:-.065em}.code-starter__hero p{max-width:570px;color:#677289;line-height:1.8}.code-starter__download{display:inline-flex;align-items:center;gap:28px;margin-top:28px;padding:15px 19px;border-radius:9px;background:#4841bb;color:#fff;font-size:14px;font-weight:800;box-shadow:0 12px 24px #4841bb32}.code-starter__download:hover,.code-starter__download:focus-visible{background:#36309e}.code-starter__download span{font-size:20px;line-height:1}.code-starter__visual{min-height:250px;display:grid;grid-template-columns:1fr 1fr;place-content:center;gap:10px;padding:30px;border:1px solid #ded9ff;border-radius:20px;background:#fff9;transform:rotate(3deg);box-shadow:0 20px 60px #5149ba26}.code-starter__visual span{display:grid;place-items:center;height:72px;border:1px solid #e5e2f6;border-radius:12px;background:#fff;color:#615bb2;font-size:11px;font-weight:800;letter-spacing:.07em}.code-starter__visual .code-starter__file{color:#fff;background:#5149ba;font-size:25px;letter-spacing:-.05em}.code-starter__details{display:grid;grid-template-columns:1fr 1fr;gap:34px;padding:34px clamp(28px,5vw,64px);border-top:1px solid #e9eaf2}.code-starter__details h3{margin:9px 0;font-size:18px;letter-spacing:-.035em}.code-starter__details p,.code-starter__footnote{color:#788298;font-size:13px;line-height:1.8}.code-starter__details code{color:#4a44a8}.code-starter__details pre{overflow:auto;margin:18px 0;padding:18px;border-radius:9px;background:#222436;color:#edf0ff;font-size:13px;line-height:1.8}.code-starter__details pre code{color:inherit}.code-starter__footnote{padding:16px clamp(28px,5vw,64px) 24px;border-top:1px solid #f0f1f5}.code-starter__footnote a{color:#4841bb;font-weight:700}.saved-projects{margin-top:28px;padding:24px;border:1px solid #dddff0;border-radius:14px;background:#f8f8fd}.saved-projects__head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.saved-projects__head h2{margin:5px 0;color:#252b43;font-size:21px;letter-spacing:-.04em}.saved-projects__head p,.saved-projects__note{color:#7f899c;font-size:11px;line-height:1.65}.saved-projects__head>span{padding:5px 9px;border-radius:20px;background:#ececf7;color:#686898;font-size:11px;font-weight:800;white-space:nowrap}.saved-projects__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.saved-project{display:flex;align-items:flex-start;justify-content:space-between;min-width:0;border:1px solid #e2e4f0;border-radius:10px;background:#fff}.saved-project:hover{border-color:#b9b5e9}.saved-project>a{display:flex;flex-direction:column;flex:1;gap:5px;min-width:0;padding:16px;color:inherit;text-decoration:none}.saved-project__colors{display:flex;gap:3px;margin-bottom:3px}.saved-project__colors i{width:17px;height:17px;border-radius:5px;border:1px solid #29366d12}.saved-project strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#252b43;font-size:13px}.saved-project small{color:#858da5;font-size:11px}.saved-project>button{flex:none;margin:10px 10px 0 0;padding:7px;border:0;border-radius:6px;background:transparent;color:#929ab0}.saved-project>button:hover{background:#fff0f0;color:#b44a4a}.saved-projects__empty{margin:0 0 14px;padding:20px;border:1px dashed #d5d8eb;border-radius:9px;color:#858da5;background:#fff;font-size:12px}.saved-projects__note{display:block}.delete-dialog{width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;padding:25px;border:1px solid #e3e4ee;border-radius:14px;background:#fff;color:#252b43;box-shadow:0 24px 70px #171a4755}.delete-dialog::backdrop{background:#171a4780}.delete-dialog h2{margin:6px 0 8px;font-size:22px;letter-spacing:-.04em}.delete-dialog>p{color:#707991;font-size:12px;line-height:1.6}.delete-dialog>p strong{color:#252b43}.delete-dialog__choices{display:grid;gap:11px;margin-top:20px}.delete-dialog__choices>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:15px;border:1px solid #e4e6f0;border-radius:9px;background:#f9fafe}.delete-dialog__choices strong{font-size:12px}.delete-dialog__choices span{color:#7d879a;font-size:11px;line-height:1.55}.delete-dialog__choices button{margin-top:3px;padding:9px 12px;border:1px solid #d9ddec;border-radius:7px;background:#fff;color:#4d52a4;font-size:11px;font-weight:800}.delete-dialog__choices .delete-dialog__danger{border-color:#f0d4d7;background:#fff9f9}.delete-dialog__danger>strong{color:#a9424b}.delete-dialog__danger>label{display:flex;flex-direction:column;gap:5px;width:100%;color:#727e94;font-size:10px;font-weight:700}.delete-dialog__danger input{width:100%;padding:9px 10px;border:1px solid #dedfe8;border-radius:6px;background:#fff}.delete-dialog__choices .delete-dialog__danger button{border-color:#b74b55;background:#b74b55;color:#fff}.delete-dialog__error{margin-top:13px;color:#a9424b!important}.delete-dialog__cancel{display:block;margin:18px 0 0 auto;padding:6px 0;border:0;background:transparent;color:#717b90;font-size:12px;font-weight:700}.project-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 20px}.project-heading h2{margin:6px 0 5px;font-size:28px;letter-spacing:-.045em}.project-heading p,.section-title p{color:#8490a2;font-size:12px;line-height:1.65}.project-heading__actions{display:flex;align-items:center;gap:12px}.project-heading__actions>a{color:#5651ae;font-size:12px;font-weight:700;white-space:nowrap;text-decoration:none}.project-heading__actions>a:hover{text-decoration:underline}.status-pill{padding:6px 10px;border-radius:20px;font-size:11px;font-weight:800;color:#7763a8;background:#f1ecfb;white-space:nowrap}.status-pill--ready{color:#147558;background:#ddf5e9}.status-pill--error{color:#bd4e4e;background:#fff0ed}.view-tabs{display:flex;gap:8px;border-bottom:1px solid #dfe3ec;margin-bottom:22px}.view-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:12px 18px;color:#8b95a7;font-weight:700;font-size:13px}.view-tabs .is-active{border-color:#5148bf;color:#403bb0}.alert{margin:0 0 18px;padding:13px 16px;border:1px solid #d8d1ff;border-radius:10px;background:#f2efff;color:#4d4598;font-size:12px;white-space:pre-wrap}.alert--error{border-color:#fac8cb;background:#fff2f3;color:#a84451}.alert details{margin-top:8px}.alert pre{max-height:180px;overflow:auto;font-size:10px;white-space:pre-wrap}.project-name{display:flex;flex-direction:column;gap:7px;margin-bottom:20px;padding:21px 24px;border:1px solid #e4e7ee;border-radius:13px;background:#fff}.project-name>span,.field>span{color:#7e899d;font-size:10px;font-weight:800;letter-spacing:.06em}.project-name input{padding:10px 0;border:0;border-bottom:1px solid #e6e9f1;outline:none;color:#252b43;font-size:20px;font-weight:700}.project-name input:focus{border-color:#6d61d6}.project-name small{color:#9ba4b3;font-size:10px}.palette-section,.preview-section,.storybook-section{padding:26px;border:1px solid #e4e7ee;border-radius:14px;background:#fff;box-shadow:0 7px 24px #29366d08}.preview-section,.storybook-section{margin-top:18px}.section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:22px}.section-title h3,.storybook-section h3{margin:7px 0 6px;font-size:22px;letter-spacing:-.045em}.count-badge{padding:7px 10px;border-radius:7px;background:#f4f5fa;color:#777f93;font-size:10px;font-weight:700;white-space:nowrap}.palette-list{display:flex;flex-direction:column;gap:11px}.palette-row{padding:18px;border:1px solid #e7e9ef;border-radius:11px;background:#fff}.palette-row__top{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:16px}.palette-row__identity,.palette-row__controls{display:flex;align-items:end;gap:11px}.palette-row__seed-dot{width:30px;height:30px;flex:none;margin-bottom:4px;border:1px solid #e5e7ef;border-radius:9px}.field{display:flex;flex-direction:column;gap:5px}.field input:not([type=color]),.field select{height:34px;padding:0 9px;border:1px solid #e2e5ee;border-radius:7px;outline:none;background:#fff;color:#373c54;font-size:12px}.field input:focus,.field select:focus,.chip-editor input:focus{border-color:#8a7fe9;box-shadow:0 0 0 3px #eae7ff}.field--name input{width:133px;font-weight:700}.field--hex input:last-child{width:89px;font-family:ui-monospace,SFMono-Regular,monospace}.field__color{display:flex;gap:5px;align-items:center}.field__color input[type=color]{width:34px;height:34px;padding:2px;border:1px solid #e2e5ee;border-radius:7px;background:#fff;cursor:pointer}.field--steps select{width:78px}.icon-button{display:grid;place-items:center;width:34px;height:34px;border:1px solid #e5e7ef;border-radius:7px;background:#fff;color:#929aad}.icon-button:hover:not(:disabled){color:#b64762;border-color:#f0bcc9}.palette-strip{display:flex;gap:3px;width:100%;overflow:hidden;border-radius:8px}.palette-chip{position:relative;display:flex;flex:1 1 0;min-width:0;min-height:72px;flex-direction:column;align-items:center;justify-content:end;gap:3px;padding:9px 1px;border:0;border-radius:0;outline-offset:-3px;text-align:center}.palette-chip:hover,.palette-chip--selected{outline:3px solid #161b37;outline-offset:-3px;z-index:1}.palette-chip strong{font-size:10px}.palette-chip small{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:9px;font-family:ui-monospace,SFMono-Regular,monospace}.palette-chip i{position:absolute;top:7px;right:7px;width:5px;height:5px;border-radius:50%;background:currentColor}.chip-editor{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-top:15px;padding:13px;border:1px solid #e6e4f6;border-radius:9px;background:#fbfaff}.chip-editor>div:first-child{display:flex;flex-direction:column;min-width:120px;gap:2px}.chip-editor>div:first-child strong{font-size:12px}.chip-editor>div:first-child span{font-size:10px;color:#8c94a6}.chip-editor__picker{display:flex;align-items:center;gap:5px;color:#657088;font-size:10px;cursor:pointer}.chip-editor__picker input{width:30px;height:30px;padding:2px;border:1px solid #dedff0;border-radius:6px;background:#fff;cursor:pointer}.chip-editor__hex{width:92px;height:31px;padding:0 9px;border:1px solid #dfe2ea;border-radius:6px;font-size:11px;font-family:ui-monospace,SFMono-Regular,monospace}.chip-editor__light{display:flex;align-items:center;gap:7px;min-width:145px;color:#657088;font-size:10px}.chip-editor__light input{width:84px;accent-color:#6558d1}.text-button{padding:5px;border:0;background:transparent;color:#5c53ba;font-size:10px;font-weight:700}.text-button:hover{text-decoration:underline}.add-button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;margin-top:14px;padding:11px;border:1px dashed #b5b2d9;border-radius:8px;background:#faf9ff;color:#6057bc;font-size:12px;font-weight:700}.add-button:hover:not(:disabled){background:#f0eeff}.sample-card{max-width:650px;margin:auto;overflow:hidden;border:1px solid #e9eaf0;border-radius:12px;box-shadow:0 14px 38px #292a5b10}.sample-card__top{height:48px;display:flex;align-items:center;gap:9px;padding:0 18px;border-bottom:1px solid #eef0f4;color:#454c62;font-size:11px;font-weight:700}.sample-card__logo{display:grid;place-items:center;width:22px;height:22px;border-radius:6px;color:#fff;font-weight:800}.sample-card__top small{margin-left:auto;color:#7a71d6;font-size:9px;letter-spacing:.12em}.sample-card__body{padding:28px}.sample-card__tag{display:inline-block;padding:6px 10px;border-radius:5px;font-size:10px;font-weight:800}.sample-card h4{margin:14px 0 7px;font-size:24px;letter-spacing:-.05em}.sample-card p{color:#858da0;font-size:12px}.sample-card__body>div:last-child{display:flex;gap:8px;margin-top:21px}.sample-card button{display:flex;align-items:center;gap:8px;padding:9px 14px;border:0;border-radius:6px;color:#fff;font-size:11px;font-weight:700}.sample-card .sample-card__secondary{border:1px solid #e4e6ed;background:#fff;color:#596075}.generate-bar{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));left:max(var(--page-gutter),calc(50vw - 800px + var(--page-gutter)));width:calc(min(100vw,1600px) - var(--page-gutter) - var(--page-gutter) - 362px);z-index:10;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 23px;border-radius:12px;background:#2b2b66;color:#fff;box-shadow:0 14px 36px #1b1b5338}.generate-bar>div{display:flex;flex-direction:column;gap:5px}.generate-bar strong{font-size:13px}.generate-bar span{color:#c9c9e6;font-size:11px}.generate-bar button{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;padding:12px 17px;border:0;border-radius:8px;background:#fff;color:#3d3ba1;font-size:12px;font-weight:800}.generate-bar button:hover:not(:disabled){background:#f0eeff}.storybook-section__head{display:flex;justify-content:space-between;align-items:center;gap:10px}.open-link{color:#5549be;font-size:12px;font-weight:700}.share-row{display:flex;align-items:center;gap:11px;margin:15px 0 16px;padding:10px 11px;border-radius:8px;background:#f5f6fa}.share-row span{font-size:10px;font-weight:800;color:#6f7790;white-space:nowrap}.share-row code{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#434866;font-size:11px}.share-row button{display:flex;align-items:center;gap:4px;flex:none;border:0;background:transparent;color:#5147b9;font-size:11px;font-weight:800}.export-card{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-bottom:18px;padding:22px;border:1px solid #dcd8f6;border-radius:10px;background:#f8f7ff}.export-card>div{flex:1 1 300px}.export-card h4{margin:7px 0 6px;color:#282847;font-size:17px;letter-spacing:-.035em}.export-card p{max-width:520px;color:#707991;font-size:12px;line-height:1.65}.export-card button{display:inline-flex;align-items:center;justify-content:center;gap:14px;flex:none;padding:12px 15px;border:0;border-radius:8px;background:#5147bd;color:#fff;font-size:12px;font-weight:800}.export-card button:hover:not(:disabled){background:#3f36a6}.export-card button span{font-size:17px;line-height:1}.export-card__key{display:flex;align-items:center;gap:10px;flex-basis:100%;color:#555e75;font-size:12px;font-weight:700}.export-card__key input{min-width:0;width:min(100%,280px);padding:9px 11px;border:1px solid #d5d5e8;border-radius:7px;background:#fff}.export-card>small{flex-basis:100%;color:#308063;font-size:11px}.export-card>.export-card__error{color:#b44a4a}.storybook-frame{display:block;width:100%;height:780px;border:1px solid #e1e3ed;border-radius:8px;background:#fff}.build-progress{min-height:510px;margin-top:18px;padding:clamp(22px,4vw,40px);border:1px solid #dedbf3;border-radius:12px;background:linear-gradient(145deg,#f8f7ff,#fff 70%)}.build-progress__top{display:flex;align-items:center;gap:9px;color:#5b53b4;font-size:12px;font-weight:800}.build-progress__top strong{margin-left:auto;padding:6px 10px;border-radius:6px;background:#e9e6ff;color:#4b43aa;font-size:12px;white-space:nowrap}.build-progress__pulse{width:9px;height:9px;border-radius:50%;background:#6c5ce7;box-shadow:0 0 0 5px #6c5ce727;animation:build-pulse 1.6s ease-in-out infinite}.build-progress h4{margin:18px 0 20px;color:#242641;font-size:clamp(20px,2.6vw,28px);letter-spacing:-.045em}.build-progress__track{height:8px;overflow:hidden;border-radius:8px;background:#e9e8f3}.build-progress__track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#766bea,#5145c3);transition:width .4s ease}.build-progress__steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:30px 0 26px;padding:0;list-style:none}.build-progress__steps li{display:flex;align-items:center;gap:12px;min-height:50px;padding:9px 12px;border:1px solid #e9e9f2;border-radius:8px;background:#fff;color:#a1a5b7;font-size:12px;font-weight:600}.build-progress__steps li span{display:grid;place-items:center;width:27px;height:27px;flex:none;border-radius:7px;background:#f2f2f7;color:#a1a5b7;font-size:10px;font-weight:800}.build-progress__steps li.is-current{border-color:#8f85e7;background:#f8f7ff;color:#3d369f;box-shadow:0 0 0 2px #eae7ff}.build-progress__steps li.is-current span{background:#6255d1;color:#fff}.build-progress__steps li.is-done{color:#566078}.build-progress__steps li.is-done span{background:#e1f3ec;color:#23845c;font-size:14px}.build-progress>p{color:#858ba1;font-size:11px}@keyframes build-pulse{50%{box-shadow:0 0 0 8px #6c5ce708}}@media(prefers-reduced-motion:reduce){.build-progress__pulse{animation:none}.build-progress__track span,.ai-progress__track span{transition:none}}.build-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:410px;gap:11px;border:1px dashed #d8d8ef;border-radius:9px;background:#fbfaff;color:#8589a3;font-size:12px}.build-placeholder strong{color:#343457;font-size:16px}.build-placeholder__orb{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#eae7ff;color:#5c52c4}.ai-panel{position:sticky;top:22px;display:flex;flex-direction:column;min-height:655px;max-height:calc(100vh - 44px);overflow:hidden;border:1px solid #e1e3eb;border-radius:14px;background:#fff;box-shadow:0 12px 34px #26336811}.ai-panel__head{display:flex;align-items:center;gap:10px;padding:19px;border-bottom:1px solid #ecedf3}.ai-panel__icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#f0edff;color:#6257c8}.ai-panel__head>div{display:flex;flex-direction:column;gap:3px}.ai-panel__head strong{font-size:13px}.ai-panel__head small{color:#97a0af;font-size:10px}.ai-panel__dot{width:7px;height:7px;margin-left:auto;border-radius:50%;background:#c9ccd5}.ai-panel__dot.is-ready{background:#43b98c}.ai-panel__content{display:flex;flex:1;flex-direction:column;gap:12px;min-height:0;overflow-y:auto;padding:22px 19px}.ai-welcome>span{display:grid;place-items:center;width:34px;height:34px;border:1px solid #e7e6f7;border-radius:10px;color:#6b63bc}.ai-welcome h3{margin:18px 0 10px;font-size:20px;line-height:1.35;letter-spacing:-.04em}.ai-welcome p{margin-bottom:23px;color:#919aab;font-size:11px;line-height:1.75}.ai-welcome>div{margin-top:8px;padding:11px 12px;border:1px solid #edeef3;border-radius:8px;color:#747d93;font-size:11px}.chat-bubble{max-width:95%;padding:11px 13px;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6}.chat-bubble--user{align-self:end;background:#5c52c6;color:#fff}.chat-bubble--assistant{align-self:start;background:#f3f4f8;color:#343b51}.ai-progress{padding:15px;border:1px solid #dedbf3;border-radius:11px;background:linear-gradient(145deg,#f8f7ff,#fff 80%)}.ai-progress__top{display:flex;align-items:center;gap:8px;color:#5b53b4;font-size:11px}.ai-progress__top strong{flex:1;font-weight:800}.ai-progress__top>span:last-child{white-space:nowrap;font-weight:800}.ai-progress h3{margin:17px 0 13px;color:#242641;font-size:15px;line-height:1.35;letter-spacing:-.025em}.ai-progress__meta{display:flex;justify-content:space-between;margin-bottom:7px;color:#8187a0;font-size:10px;font-variant-numeric:tabular-nums}.ai-progress__track{height:6px;overflow:hidden;border-radius:6px;background:#e9e8f3}.ai-progress__track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#766bea,#5145c3);transition:width .4s ease}.ai-progress__steps{display:flex;flex-direction:column;gap:6px;margin:16px 0 12px;padding:0;list-style:none}.ai-progress__steps li{display:flex;align-items:center;gap:9px;min-height:34px;padding:6px 8px;border:1px solid #ececf4;border-radius:7px;background:#fff;color:#9298aa;font-size:10px;line-height:1.3}.ai-progress__steps li span{display:grid;place-items:center;width:22px;height:22px;flex:none;border-radius:6px;background:#f2f2f7;font-size:10px;font-weight:800}.ai-progress__steps li.is-current{border-color:#958ae5;background:#f6f4ff;color:#3d369f;font-weight:800}.ai-progress__steps li.is-current span{background:#6255d1;color:#fff}.ai-progress__steps li.is-done{color:#566078}.ai-progress__steps li.is-done span{background:#e1f3ec;color:#23845c}.ai-progress>p{color:#858ba1;font-size:10px;line-height:1.4}.ai-panel__error{display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid #f0d6d6;border-radius:9px;background:#fff7f7;color:#903c3c;overflow-wrap:anywhere;font-size:11px;line-height:1.5}.ai-progress__activity{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:10px 0 0;color:#343b51;font-size:10px}.ai-progress__activity code{overflow-wrap:anywhere;padding:1px 5px;border-radius:4px;background:#eeedf8}.ai-panel__error details{color:#8a5a5a;font-size:10px}.ai-panel__error pre{max-height:180px;margin:6px 0 0;overflow:auto;white-space:pre-wrap}.ai-panel__error small{color:#a46868;font-size:10px}.ai-panel__error strong{font-size:12px}.ai-panel__composer{display:flex;flex-direction:column;gap:9px;padding:14px;border-top:1px solid #eceef4}.ai-panel textarea{width:100%;resize:vertical;min-height:76px;padding:11px;border:1px solid #e0e3eb;border-radius:8px;outline:none;color:#2d344d;font-size:11px;line-height:1.5}.ai-panel textarea:focus{border-color:#8b7fda}.ai-panel__composer>button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:11px;border:0;border-radius:7px;background:#5b50c5;color:#fff;font-size:11px;font-weight:800}.ai-panel__composer>small{color:#a4aaba;text-align:center;font-size:9px}.access-key{display:flex;flex-direction:column;gap:5px;color:#727e94;font-size:10px;font-weight:700}.access-key input{height:34px;padding:0 9px;border:1px solid #e2e5ed;border-radius:7px;outline:none}@media(max-width:1250px){.intro__steps{display:none}.mode-strip>div,.mode-strip>a{flex-wrap:wrap}.mode-strip small{width:100%;padding-left:44px}.palette-row__top{align-items:start;flex-direction:column}.palette-row__controls{width:100%;justify-content:flex-end}}@media(max-width:980px){.generate-bar{width:calc(100vw - var(--page-gutter) - var(--page-gutter))}.workspace-grid{grid-template-columns:1fr}.ai-panel{position:static;min-height:420px;max-height:550px}.ai-panel__content{min-height:220px}.intro{padding:46px 0 36px}.code-starter__hero{grid-template-columns:minmax(0,1fr) 220px}}@media(min-width:621px)and (max-width:767px){.topbar{padding:0 22px;gap:16px}.brand>span:last-child,.topbar__version{display:none}.topbar nav{gap:18px}}@media(max-width:620px){.saved-projects{padding:18px}.saved-projects__list{grid-template-columns:1fr}.project-heading{align-items:flex-start;flex-direction:column}.topbar{height:61px;padding:0 18px;gap:14px}.brand{font-size:13px}.brand-mark{width:30px;height:30px}.brand>span:last-child{display:none}.topbar nav{gap:10px;font-size:10px}.language-switch{flex-shrink:0}.topbar__version{display:none}.app-content{--page-gutter: 15px;padding:0 var(--page-gutter) 48px}.app-content--palette{padding-bottom:210px}.intro{padding:36px 2px 30px}.intro h1{font-size:34px}.intro p{font-size:12px}.intro p br{display:none}.mode-strip{gap:8px}.mode-strip>div,.mode-strip>a{padding:12px;gap:8px}.mode-strip span{width:25px;height:25px}.mode-strip strong{font-size:11px;white-space:normal}.mode-strip small{padding:0;font-size:9px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.mode-strip svg{display:none}.code-starter__hero,.code-starter__details{grid-template-columns:1fr;gap:24px}.code-starter__visual{min-height:160px;padding:12px}.code-starter__visual span{height:58px}.palette-section,.preview-section,.storybook-section{padding:17px}.section-title{align-items:start;flex-direction:column}.palette-row{padding:12px}.palette-row__controls{justify-content:start;flex-wrap:wrap}.palette-chip{min-height:63px}.palette-chip small{display:none}.palette-chip strong{font-size:9px}.generate-bar{align-items:stretch;flex-direction:column}.generate-bar button{width:100%}.storybook-frame{height:650px}.export-card button{width:100%}.build-progress__steps{grid-template-columns:1fr}.share-row{flex-wrap:wrap}.share-row code{order:3;flex-basis:100%}}@media(max-width:380px){.topbar{padding:0 8px;gap:6px}.topbar nav{gap:5px;font-size:9px}.language-switch button{min-width:28px;padding:0 3px}}
