:root{font-family:Inter,Arial,sans-serif;color:#f4f7f8;background:#0b1014;font-synthesis:none;font-size:14px;--accent:#20d6d5;--muted:#a1b1b7;--border:#2a3940}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit;border:1px solid var(--border);background:linear-gradient(150deg,#263139,#182127);padding:10px 14px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px}button:hover{border-color:#57777e}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:var(--accent);text-decoration:none}h1{font-size:25px;letter-spacing:-.5px;margin:0 0 14px}h2{font-size:20px;margin:10px 0}h3{font-size:16px;margin:0 0 12px}p{line-height:1.6;color:var(--muted)}small{font-size:12px;color:var(--muted)}i{font-size:12px;font-weight:800;color:#071315;background:var(--accent);padding:1px 7px;border-radius:4px}input,textarea{width:100%;border:1px solid #33464e;background:#0d151a;color:#f4f7f8;padding:12px;border-radius:7px}textarea{resize:vertical;min-height:110px}label{display:block;color:#c9d5d9}label input,label textarea{margin-top:8px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;color:#bcced4}form{display:grid;gap:20px}.primary{background:linear-gradient(150deg,#4aefea,#0dc6ca);color:#082326;font-weight:700;border-color:#5cf1e9}.primary:hover{background:#36e5e0}.brand{display:flex;align-items:center;gap:10px;min-width:0}.brand img{width:65px;height:65px;object-fit:contain}.brand b{font-size:26px;letter-spacing:-1px}.brand span{display:block;font-size:15px;white-space:nowrap}.brand i{background:#edf4f5;font-size:10px}.app{display:flex;min-height:100dvh}.sidebar{width:264px;flex-shrink:0;background:linear-gradient(140deg,#11181d,#0b1116);border-right:1px solid var(--border);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:20;padding:20px 10px}.sidebar .brand{padding:0 9px 26px}.sidebar nav{display:grid;gap:5px;margin-top:12px}.sidebar nav button{justify-content:flex-start;background:transparent;border:0;height:49px;padding-left:22px;font-weight:600;color:#ccd5d9;position:relative}.sidebar nav button svg{margin-right:8px}.sidebar nav button.active{background:#103037;color:#f2ffff}.sidebar nav button.active:before{content:"";position:absolute;left:0;top:7px;bottom:7px;width:3px;background:var(--accent);border-radius:4px}.sidebar nav button.active svg{color:var(--accent)}.sidebar-bottom{margin-top:auto;padding:20px 18px;color:#a0b1b7;font-size:12px}.sidebar-bottom small{display:block;margin:10px 0 0 15px;font-size:11px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#28c78a;margin-right:6px;box-shadow:0 0 6px #28c78a30}.dot.warn{background:#eab65a}.main{margin-left:264px;flex:1;min-width:0}.topbar{height:62px;display:flex;align-items:center;gap:15px;padding:0 24px;border-bottom:1px solid var(--border);background:linear-gradient(110deg,#161d21,#10171b)}.breadcrumb{display:flex;align-items:center;gap:13px;flex:1;min-width:0;color:#a9b8be;font-size:13px}.breadcrumb strong{color:#e5ebee;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.credit-pill{padding:6px 10px;min-height:35px;font-size:12px;white-space:nowrap}.credit-pill svg:last-child{background:#11787a;border-radius:4px;color:#67f5e9}.icon-btn{border:0;background:transparent;padding:7px;min-width:38px}.profile{background:none;border:0;padding:0;gap:9px;text-align:left}.profile>svg:first-child{width:32px;height:32px;border:1px solid #394950;border-radius:50%;padding:4px}.profile span{font-size:13px}.profile small{display:block;font-size:11px;margin-top:3px}.profile-wrap{position:relative}.profile-menu{position:absolute;right:0;top:46px;z-index:30;background:#172228;padding:8px;border:1px solid var(--border);border-radius:8px;min-width:170px}main{padding:0 23px 22px}.project-heading{display:flex;align-items:center;gap:17px;padding:22px 0 20px;border-bottom:1px solid var(--border)}.project-heading h1{margin:0 0 10px;font-size:25px}.project-icon{background:linear-gradient(140deg,#28343a,#141d23);padding:13px;border:1px solid #35434a;border-radius:10px}.meta{display:flex;align-items:center;gap:15px;font-size:11px;color:#a7b6bd}.badge{display:inline-flex;align-items:center;white-space:nowrap;background:#263139;border-radius:5px;padding:4px 8px;color:#e4e8ea}.switch-project{margin-left:auto}.tabs{display:flex;border-bottom:1px solid var(--border);gap:6px;overflow:auto;scrollbar-width:thin}.tabs button{white-space:nowrap;background:transparent;border:0;border-radius:0;font-size:12px;padding:17px 13px;position:relative;gap:8px}.tabs button.active{color:#bffaf6;font-weight:700}.tabs button.active:after{content:"";position:absolute;height:3px;bottom:0;left:0;right:0;background:var(--accent);border-radius:2px}.workspace{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:17px;padding-top:20px}.chat-column{display:flex;flex-direction:column;min-width:0;min-height:600px}.messages{flex:1;max-height:calc(100dvh - 350px);min-height:350px;overflow:auto;padding-right:1px}.message{display:flex;gap:12px;border:1px solid #354046;border-radius:10px;padding:16px 13px;background:linear-gradient(140deg,#252b30,#1b2227);margin-bottom:15px;line-height:1.55}.avatar{width:35px;height:35px;border-radius:9px;flex-shrink:0;object-fit:contain}.user-message .avatar{border-radius:50%;display:grid;place-items:center;background:#3b434a}.message>div:last-child{min-width:0;flex:1}.message header{display:flex;align-items:center;gap:10px}.message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.55;color:#e4eaed;margin:10px 0}.agent-message{border-color:#3c747a;background:linear-gradient(135deg,#1d2a30,#131c22)}.message-note{border-left:2px solid var(--accent);padding-left:9px;color:#a7bfc5;font-size:12px;margin-top:22px}.welcome h2{font-size:21px;margin-top:21px}.welcome ol{counter-reset:steps;list-style:none;padding:0;margin:25px 0}.welcome li{counter-increment:steps;display:flex;align-items:center;gap:13px;margin:16px 0;font-size:13px}.welcome li:before{content:counter(steps);display:grid;place-items:center;width:25px;height:25px;border-radius:5px;border:1px solid #338487;background:#174247;color:var(--accent);font-weight:700;flex-shrink:0}.composer-wrap{gap:10px;padding-top:14px}.budget{display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:8px}.budget label{display:flex;align-items:center;gap:8px}.budget input{max-width:84px;padding:5px 8px;margin:0;font-size:12px}.budget small{font-size:10px}.composer{display:flex;align-items:center;border:1px solid #3c484f;background:linear-gradient(130deg,#232b31,#171f25);padding:7px;border-radius:10px;gap:3px}.composer textarea{border:0;background:none;min-height:40px;height:40px;max-height:160px;resize:none;font-size:12px;padding:10px 8px;line-height:1.5}.composer>button:not(.primary){border:0;background:none;padding:7px}.composer .send{padding:9px;min-width:38px;min-height:38px}.panel{padding:20px;border:1px solid #344149;border-radius:10px;background:linear-gradient(130deg,#1b242a,#121a20);margin-bottom:16px}.execution-panel{padding:14px 12px}.panel-title{display:flex;justify-content:space-between;gap:10px;align-items:center}.panel-title h3{margin:0}.panel-title small{font-size:10px}.steps{display:flex;justify-content:space-between;padding:18px 0 12px}.steps>div{position:relative;flex:1;text-align:center;min-width:0}.steps>div:before{content:"";height:2px;background:#46525a;position:absolute;top:12px;left:50%;width:100%}.steps>div:last-child:before{display:none}.steps span{display:grid;place-items:center;margin:0 auto 9px;background:#26323a;color:#89989f;border:3px solid #4c5a63;border-radius:50%;width:25px;height:25px;font-size:10px;position:relative;z-index:1}.steps b{display:block;font-size:10px;overflow-wrap:anywhere}.steps small{display:block;font-size:9px;margin-top:4px}.steps .done span{background:var(--accent);border-color:var(--accent);color:#0b1014}.terminal{border:1px solid #43535b;border-radius:6px;overflow:hidden;background:#0c1318;margin:5px 0 12px}.terminal header{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#202a30;font-size:11px;border-bottom:1px solid #3b484f}.terminal header small{margin-left:auto;font-size:9px}.logs{padding:12px;min-height:170px;max-height:230px;overflow:auto;font:10px/1.6 monospace;overflow-wrap:anywhere}.logs time{color:#9aadb5}.logs em{color:var(--accent);font-style:normal}.logs p{font:12px/1.8 monospace;color:#80949d}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stats>div{display:flex;align-items:center;gap:10px;padding:11px 8px;background:linear-gradient(130deg,#263138,#192329);border:1px solid #3b4951;border-radius:7px}.stats svg{width:23px;flex-shrink:0}.stats span{font-size:10px;color:#c4d0d6}.stats b{display:block;font-size:23px;color:#f4f7f8;margin-top:5px}.result{padding:15px 17px}.result>h3{display:flex;gap:10px;align-items:center}.result>h3 svg{color:var(--accent)}.result-content{min-height:190px;border-top:1px solid #2d3a42;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px 12px}.result-content>svg{color:#62818a;margin-bottom:15px}.result-content h3{margin-bottom:0;color:#c7d8dd}.result-content p{font-size:12px;margin-bottom:0;max-width:400px}.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.result-actions button{font-size:12px}.downloads{display:flex;justify-content:space-around;gap:12px;padding-top:14px;font-size:11px}.downloads a{display:inline-flex;align-items:center;gap:6px}.page{padding:35px 0;max-width:1300px;margin:auto}.narrow{max-width:720px}.page-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--accent);margin:12px 0 18px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin-top:25px}.cards .panel{min-height:160px}.project-card,.template{display:block;text-align:left;padding:24px}.project-card>svg,.template>svg{color:var(--accent)}.project-card>svg:last-child{float:right;width:19px}.template span{display:flex;align-items:center;gap:10px;color:var(--accent);margin-top:22px;font-size:12px}.form{padding:26px}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;color:#a7b9c0;min-height:250px}.empty>svg{color:#5a7e89}.empty p{max-width:430px}.empty.large{min-height:400px;border:1px dashed #2d454e;border-radius:12px;margin-top:25px}.history{display:flex;width:100%;justify-content:space-between;text-align:left;gap:30px}.history span{overflow:hidden;text-overflow:ellipsis}.file-layout{display:grid;grid-template-columns:230px 1fr;gap:20px;margin-top:24px;min-height:500px}.file-list{border-right:1px solid var(--border);padding-right:16px}.file-list button{display:flex;width:100%;justify-content:flex-start;font-size:12px;overflow-wrap:anywhere;margin-bottom:7px;background:#172228}.editor{display:flex;flex-direction:column;gap:14px;min-width:0}.editor textarea{font:13px/1.6 monospace;min-height:400px;flex:1;-moz-tab-size:2;tab-size:2}.editor button{align-self:flex-end}.preview-frame{width:100%;height:65dvh;border:1px solid var(--border);border-radius:8px;background:#fff}.alert,.notice{padding:13px 16px;border:1px solid #74454a;background:#342329;border-radius:8px;color:#f6b9bd;font-size:12px;margin:14px 0;line-height:1.5}.notice{border-color:#2f6866;background:#183633;color:#b6e8db}.dismiss{display:flex;align-items:center;gap:10px;cursor:pointer}.dismiss span{margin-left:auto}.auth{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 20%,#19323750,transparent 65%),#0b1014;padding:25px}.auth-card{max-width:440px;width:100%;padding:32px;border:1px solid #34434a;border-radius:15px;background:#121c22;box-shadow:0 22px 90px #0006}.auth-card .brand{margin-bottom:34px}.auth-card .eyebrow{font-size:9px}.auth-card h1{font-size:25px}.auth-card>p{font-size:13px;margin-bottom:25px}.auth-card form{gap:17px}.auth-card label{font-size:12px}.auth-links{display:flex;justify-content:space-between;margin:18px 0}.auth-links button{background:none;border:0;color:#a9c5cd;font-size:11px;padding:0}.auth-card>small{font-size:10px;display:block;text-align:center}.splash{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#061015;display:flex;flex-direction:column;align-items:center;justify-content:center}.splash-art{width:min(86vw,430px);height:min(67dvh,675px);overflow:hidden;position:relative}.splash-art img{width:100%;height:auto;display:block}.splash-footer{width:min(80vw,390px);text-align:center;background:#061015;position:relative;padding-top:18px}.splash-footer>span{color:#c5d5d9;font-size:14px}.splash-track{height:5px;background:#183038;border-radius:6px;overflow:hidden;margin:22px 0 30px}.splash-track i{display:block;background:#20d6d5;width:0;height:100%;padding:0;animation:splash-timer 5s linear forwards}.splash-footer small{letter-spacing:4px;font-size:9px}@keyframes splash-timer{to{width:100%}}.mobile-menu,.scrim{display:none}@media(min-width:1700px){.workspace{gap:24px}.message{padding:22px}.message p{font-size:14px}.logs,.steps b{font-size:12px}}@media(max-width:1200px){.sidebar{width:220px}.main{margin-left:220px}.sidebar .brand{gap:5px;padding-left:2px}.brand img{width:51px;height:51px}.brand b{font-size:23px}.brand span{font-size:12px}.sidebar nav button{font-size:12px;padding-left:15px}.breadcrumb span{display:none}.topbar{gap:8px;padding:0 15px}.profile span{display:none}.workspace{grid-template-columns:1fr 1fr;gap:12px}main{padding:0 15px 20px}.steps b{font-size:9px}.stats>div{gap:5px}.stats svg{display:none}.stats b{font-size:20px}.result-actions{gap:7px}.result-actions button{padding:9px 6px;font-size:11px}.project-heading h1{font-size:22px}}@media(max-width:960px){.sidebar{transform:translate(-100%);transition:transform .2s;width:250px}.sidebar.opened{transform:translate(0)}.main{margin-left:0}.mobile-menu{display:flex}.scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:19;border:0;border-radius:0;background:#0009}.brand b{font-size:26px}.brand img{width:60px;height:60px}.brand span{font-size:14px}.workspace{grid-template-columns:1fr 1fr}.topbar{height:58px}.project-heading{padding:17px 0}.project-heading h1{font-size:23px}.credit-pill span{display:none}}@media(max-width:700px){h1{font-size:23px}.topbar{padding:0 9px;gap:5px}.breadcrumb{font-size:12px;gap:6px}.breadcrumb svg{display:none}.topbar>.icon-btn:not(.mobile-menu){display:none}.profile>svg:first-child{width:29px;height:29px}.profile>svg:last-child{display:none}.credit-pill{font-size:11px;gap:5px;padding:5px 7px}.credit-pill svg{width:15px}.credit-pill svg:last-child{display:none}main{padding:0 12px max(18px,env(safe-area-inset-bottom))}.project-heading{gap:10px;align-items:flex-start}.project-heading>div:nth-child(2){min-width:0}.project-heading h1{font-size:19px;line-height:1.25;overflow-wrap:anywhere;margin-bottom:9px}.project-icon{padding:9px}.project-icon svg{width:24px;height:24px}.meta{gap:8px;flex-wrap:wrap;font-size:10px}.meta>span:last-child{display:none}.switch-project{padding:3px;min-width:27px}.switch-project svg{width:19px}.tabs{gap:0}.tabs button{font-size:11px;padding:13px 10px;gap:5px}.tabs svg{width:17px}.workspace{display:flex;flex-direction:column;padding-top:14px;gap:17px}.chat-column{min-height:0}.messages{min-height:0;max-height:56dvh}.message{padding:13px 10px;gap:9px}.message .avatar{width:30px;height:30px}.message header{font-size:12px;gap:7px}.message header small{font-size:10px}.message p{font-size:12px}.welcome h2{font-size:19px}.welcome li{font-size:12px}.composer-wrap{padding:0 0 5px;position:sticky;bottom:0;background:#0b1014;z-index:2}.composer textarea{font-size:12px}.budget{margin-bottom:0}.budget small{max-width:120px;text-align:right;font-size:9px}.execution-panel{padding:14px 10px}.panel-title h3{font-size:14px}.steps b{font-size:9px}.logs{font-size:10px;min-height:135px;max-height:210px}.stats svg{display:block;width:19px}.stats b{font-size:21px}.stats span{font-size:9px}.stats>div{gap:7px}.result-content{min-height:150px}.result-actions button{font-size:12px}.page{padding:25px 0}.page-title{display:block}.page-title>button{margin-top:8px}.cards{grid-template-columns:1fr}.cards .panel{min-height:120px;margin-bottom:0}.file-layout{display:flex;flex-direction:column}.file-list{border-right:0;border-bottom:1px solid var(--border);padding:0 0 15px}.file-list button{width:auto;display:inline-flex;max-width:100%;margin-right:5px}.editor textarea{min-height:320px}.form{padding:19px}.auth-card{padding:25px 22px}.auth-card .brand{margin-bottom:25px}.auth-card .brand img{width:58px;height:58px}.auth{padding:18px}.splash-art{height:min(65dvh,650px);width:min(90vw,420px)}.splash-footer{padding-top:12px}.history{gap:12px}.history small{white-space:nowrap}}@media(prefers-reduced-motion:reduce){.sidebar{transition:none}.splash-track i{animation:none;width:100%}}.splash-art{width:min(90vw,430px,57.052dvh);height:auto;aspect-ratio:864/1030;flex-shrink:0}.brand img,.message img.avatar{border-radius:24%;clip-path:inset(1% round 24%)}.sidebar .brand img{filter:grayscale(1)}
