:root{font-family:DM Sans,Arial,sans-serif;color:#182337;background:#f7f9fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.52;cursor:not-allowed}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,Arial,sans-serif;letter-spacing:-.035em}a{color:inherit;text-decoration:none}.eyebrow{color:#2176d8;font-size:11px;font-weight:800;letter-spacing:.16em;margin-bottom:12px}.primary,.secondary{border-radius:9px;padding:11px 16px;font-weight:700;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary{border:1px solid #2476d3;background:#2476d3;color:#fff;box-shadow:0 5px 14px #2476d326}.primary:hover:not(:disabled){background:#1765bd}.secondary{border:1px solid #d9e2ed;background:#fff;color:#31415a}.secondary:hover{background:#f5f8fc}.full{width:100%}.attachment-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0}.attachment-button,.attachment-chip{border:1px solid #d9e2ed;border-radius:7px;padding:6px 9px;font-size:12px;color:#31415a;background:#fff}.attachment-button{cursor:pointer}.attachment-button input{display:none}.attachment-chip button{border:0;background:transparent;margin-left:6px}.page-loading{height:100vh;display:grid;place-items:center;font-weight:800;color:#2374d4}.login-page{min-height:100vh;display:grid;grid-template-columns:50% 50%;background:#fff}.login-panel{padding:36px max(40px,calc((100vw - 1320px)/2));display:flex;flex-direction:column;min-height:100vh}.login-brand,.brand{display:flex;align-items:center;gap:10px;color:#172a49;font-family:Manrope,sans-serif;font-size:17px;font-weight:600;white-space:nowrap}.login-brand strong,.brand strong{font-weight:800}.brand-mark{width:31px;height:31px;border-radius:9px;background:#2476d3;color:#fff;display:grid;place-items:center;font-family:Manrope,sans-serif;font-size:19px;font-weight:800;box-shadow:0 5px 15px #2476d344}.login-content{max-width:390px;margin:auto;transform:translateY(-12px)}.login-content h1{font-size:36px;line-height:1.17;margin:0 0 16px}.login-content p{font-size:15px;line-height:1.7;color:#68778d;margin-bottom:30px}.login-content label,.modal label{display:block;color:#34445c;font-size:13px;font-weight:700;margin-bottom:17px}.login-content input,.modal input{display:block;width:100%;height:45px;margin-top:8px;border:1px solid #dce4ee;border-radius:8px;padding:0 13px;color:#182337;outline:none}.login-content input:focus,.modal input:focus,textarea:focus{border-color:#2376d6;box-shadow:0 0 0 3px #2476d320}.login-footer{font-size:12px;color:#a5afbd}.login-art{position:relative;overflow:hidden;background:linear-gradient(150deg,#174d9d,#257bd5 60%,#4b99e8);color:#fff;display:flex;align-items:center;padding:8% 13%}.login-art:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 90% 10%,#ffffff25,transparent 38%)}.art-orbit{position:absolute;width:850px;height:850px;border:1px solid #ffffff1c;border-radius:50%;left:-130px;top:4%}.orbit-two{width:580px;height:580px;left:40%;top:48%}.art-content{position:relative;z-index:1;max-width:550px}.art-pill{display:inline-block;border:1px solid #ffffff6b;background:#ffffff17;border-radius:30px;padding:8px 13px;font-size:12px;font-weight:700;margin-bottom:28px}.art-content h2{font-size:clamp(36px,4vw,64px);line-height:1.16;margin-bottom:22px}.art-content p{font-size:16px;line-height:1.8;color:#e5f0ff;max-width:430px}.form-error{background:#fff0f0;color:#b33030;padding:10px 12px;border-radius:7px;font-size:13px;margin-bottom:15px}.app-shell{display:flex;min-height:100vh}.sidebar{width:232px;background:#fff;border-right:1px solid #e5ebf2;flex-shrink:0;padding:28px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{background:none;border:0;padding:0 8px 30px;text-align:left}.side-label{color:#9aa7b7;font-size:10px;font-weight:800;letter-spacing:.13em;padding:20px 12px 10px}.side-link{border:0;background:transparent;color:#64758d;text-align:left;display:flex;gap:12px;align-items:center;padding:11px 12px;border-radius:9px;font-size:13px;font-weight:700;width:100%;margin-bottom:3px}.side-link:hover,.side-link.active{background:#eef5fd;color:#216cc2}.sidebar-bottom{margin-top:auto;border-top:1px solid #e8edf4;padding:20px 6px 0;display:flex;gap:10px;align-items:center;font-size:12px}.sidebar-bottom strong{display:block;max-width:120px;overflow:hidden;text-overflow:ellipsis}.sidebar-bottom small{display:block;color:#94a0af;margin-top:3px}.avatar{width:32px;height:32px;background:#e8f1fc;color:#216cc2;display:grid;place-items:center;border-radius:9px;font-weight:800}.icon-button{border:0;background:transparent;color:#8190a3;font-size:22px;margin-left:auto}.main{flex:1;min-width:0}.content-wrap,.workspace{max-width:1450px;margin:auto;padding:0 42px 60px}.topline{height:70px;border-bottom:1px solid #e6ecf3;display:flex;align-items:center;gap:10px;color:#8493a7;font-size:12px;font-weight:700}.topline-right{margin-left:auto}.page-header{display:flex;align-items:center;justify-content:space-between;margin:42px 0 30px;gap:20px}.header-actions{display:flex;flex-wrap:wrap;gap:10px}.page-header h1,.workspace-head h1{font-size:31px;margin:0 0 8px}.page-header p{color:#7b8a9e;font-size:14px;margin:0}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:17px}.project-card{border:1px solid #e0e8f2;background:#fff;text-align:left;border-radius:13px;padding:23px;min-height:204px;box-shadow:0 6px 20px #253b5910;display:flex;flex-direction:column}.project-card:hover{border-color:#97c3f1;transform:translateY(-2px);box-shadow:0 10px 25px #253b5918}.project-icon{width:42px;height:42px;border-radius:11px;background:#eaf3ff;color:#2a79d0;display:grid;place-items:center;font-size:23px;margin-bottom:18px}.project-card h2{font-size:16px;margin-bottom:6px}.project-card p{color:#95a2b3;font-size:12px}.project-footer{border-top:1px solid #eef2f6;padding-top:14px;margin-top:auto;color:#2675cc;font-weight:700;font-size:12px;display:flex;justify-content:space-between}.empty-state{border:1px dashed #cbdced;border-radius:14px;background:#fff;text-align:center;padding:75px 25px}.empty-icon{font-size:40px;color:#8ab5e7;margin-bottom:12px}.empty-state h2{font-size:20px}.empty-state p{max-width:410px;margin:0 auto 20px;color:#8290a4;line-height:1.6}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#152b47aa;z-index:10;display:grid;place-items:center;padding:20px}.modal{position:relative;background:#fff;width:min(480px,100%);border-radius:16px;padding:32px;box-shadow:0 25px 80px #09152744}.modal h2{font-size:22px;margin-bottom:10px}.modal p{color:#7d8ba0;font-size:14px;line-height:1.6;margin-bottom:25px}.modal-close{position:absolute;right:22px;top:18px;border:0;background:none;color:#8b98aa;font-size:25px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.alert{background:#fff1ee;color:#9d382d;border:1px solid #f4d7d1;padding:12px 15px;border-radius:8px;font-size:13px;display:flex;justify-content:space-between;margin:15px 0}.alert button{border:0;background:none;color:inherit;font-size:19px}.breadcrumb{border:0;background:none;padding:0;color:#6d829e;font-weight:700}.breadcrumb-sep{color:#c7d1dd}.workspace-head{display:flex;align-items:center;justify-content:space-between;margin:27px 0}.workspace-head .eyebrow{margin-bottom:7px}.export-link{font-size:12px}.workspace-grid{display:grid;grid-template-columns:minmax(480px,1.12fr) minmax(340px,.88fr);gap:18px;height:calc(100vh - 195px);min-height:600px}.workspace-grid.is-running{height:calc(100vh - 325px);min-height:520px}.chat-panel,.right-panel{background:#fff;border:1px solid #e1e8f1;border-radius:13px;box-shadow:0 5px 18px #253b590a;min-width:0;overflow:hidden}.chat-panel{display:flex;flex-direction:column}.panel-heading{height:59px;border-bottom:1px solid #e9eef4;display:flex;align-items:center;justify-content:space-between;padding:0 21px;font-size:13px;font-weight:800;color:#263752}.assistant-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#3085de;margin-right:8px;box-shadow:0 0 0 4px #e4f1ff}.panel-tag{font-size:11px;color:#93a2b5;font-weight:600}.messages{flex:1;overflow:auto;padding:22px;display:flex;flex-direction:column;gap:22px}.welcome-message{margin:auto;text-align:center;max-width:410px}.welcome-symbol{font-size:28px;color:#2476d3;display:block;margin-bottom:14px}.welcome-message h2{font-size:20px;margin-bottom:10px}.welcome-message p{font-size:13px;color:#8190a5;line-height:1.65}.suggestion{background:#f4f8fd;border:1px solid #e2ebf5;border-radius:9px;padding:12px;text-align:left;color:#6d829d;font-size:12px;line-height:1.6;margin-top:22px}.message{max-width:90%;font-size:13px;line-height:1.65}.message.user{align-self:flex-end}.message-label{font-size:11px;color:#8290a4;font-weight:800;margin-bottom:6px}.message.user .message-label{text-align:right}.message-body{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f7fc;padding:13px 15px;border-radius:10px;color:#35445a}.message.user .message-body{background:#2476d3;color:#fff}.message.system .message-body{background:#fff7e8;color:#76541f}.chat-footer{border-top:1px solid #e9eef4;padding:14px 17px}.chat-footer form{border:1px solid #dce5ef;border-radius:9px;overflow:hidden}.chat-footer textarea{width:100%;resize:none;border:0;outline:0;padding:12px 14px;color:#26364d;display:block;font-size:13px}.chat-footer textarea:focus{box-shadow:none}.compose-bottom{display:flex;align-items:center;justify-content:space-between;padding:0 9px 8px 13px}.compose-bottom span{color:#a0adbc;font-size:10px}.compose-bottom .primary{padding:7px 13px}.activity-card{margin:-8px 0 18px;padding:15px 18px 13px;border:1px solid #cfe2f8;border-radius:12px;background:linear-gradient(115deg,#f5faff,#edf6ff);box-shadow:0 4px 16px #2476d30d}.activity-head,.activity-title,.activity-actions{display:flex;align-items:center}.activity-head{justify-content:space-between;gap:18px}.activity-title{gap:11px;min-width:0}.activity-symbol{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:9px;background:#2476d3;color:#fff;font-size:18px}.activity-title strong,.activity-title span:last-child{display:block}.activity-title strong{color:#23456d;font-size:13px}.activity-title span:last-child{color:#2b78c5;font-size:12px;margin-top:3px}.activity-actions{gap:14px;flex-shrink:0}.activity-elapsed{color:#607c9b;font-size:12px;font-variant-numeric:tabular-nums}.activity-progress{height:7px;margin-top:13px;overflow:hidden;position:relative;border-radius:999px;background:#dbeafb}.activity-progress span{position:absolute;top:0;left:0;height:100%;width:35%;border-radius:inherit;background:linear-gradient(90deg,#a1ccf7,#2879d4,#55abed);animation:substi-activity 1.8s ease-in-out infinite}.activity-stages{display:flex;flex-wrap:wrap;gap:6px 20px;margin-top:11px}.activity-stages span{display:inline-flex;align-items:center;gap:6px;color:#8196ae;font-size:10px;font-weight:700}.activity-stages span:before{content:"";width:6px;height:6px;border-radius:50%;background:#b9cce0}.activity-stages span.current{color:#1f69bb}.activity-stages span.current:before{background:#2476d3;box-shadow:0 0 0 3px #d6eaff}@keyframes substi-activity{0%{transform:translate(-110%)}to{transform:translate(290%)}}@media (prefers-reduced-motion: reduce){.activity-progress span{width:100%;animation:none}}.stop-button{border:1px solid #e2e8ef;background:#fff;border-radius:7px;color:#6a7789;padding:6px 10px;font-size:11px;font-weight:700}.right-panel{overflow-y:auto}.preview-empty{height:290px;background:#fbfcfe;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;border-bottom:1px solid #e9eef4}.preview-icon{font-size:38px;color:#afc2d6;margin-bottom:8px}.preview-empty h3{font-size:16px;margin-bottom:8px}.preview-empty p{color:#8b9aab;font-size:12px;line-height:1.6;max-width:280px}.advanced-toggle{width:100%;height:55px;border:0;background:#fff;padding:0 20px;color:#3f526d;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:space-between}.advanced-toggle:hover{background:#f8fbff}.advanced-content{border-top:1px solid #edf1f5;padding:18px 20px}.advanced-content h3{font-size:13px;margin:8px 0 12px}.advanced-content p{color:#98a4b2;font-size:12px}.file-list{display:flex;flex-direction:column;max-height:185px;overflow:auto}.file-list button{border:0;background:none;color:#3c658e;text-align:left;padding:6px 4px;font-family:monospace;font-size:11px}.file-list button:hover{text-decoration:underline}.file-view{border:1px solid #e1e8f2;border-radius:7px;margin-top:12px}.file-view>div{display:flex;justify-content:space-between;padding:8px 10px;background:#f6f9fc;font-size:11px}.file-view button{border:0;background:none}.file-view pre,.changes{white-space:pre-wrap;overflow:auto;font-size:11px;max-height:220px;padding:9px;margin:0;color:#52647b}.changes{background:#f7f9fc;border-radius:6px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.admin-card{background:#fff;border:1px solid #e1e8f1;border-radius:12px;padding:23px}.admin-card h2{font-size:16px;margin-bottom:19px}.admin-row{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid #eef2f6;font-size:13px}.admin-row span:last-child{color:#8391a4}.admin-note{color:#8b99a9;font-size:12px;line-height:1.6;margin:20px 0 0}.diagnostics{margin-top:18px}.diagnostics-head{display:flex;justify-content:space-between}.diagnostics pre{white-space:pre-wrap;max-height:350px;overflow:auto;font-size:11px;background:#f7f9fc;padding:12px;border-radius:7px}@media (max-width: 1050px){.workspace-grid{grid-template-columns:1fr;height:auto}.workspace-grid.is-running{height:auto}.chat-panel{height:650px}.right-panel{min-height:400px}.content-wrap,.workspace{padding:0 24px 40px}}@media (max-width: 700px){.activity-head{align-items:flex-start}.activity-actions{flex-direction:column;align-items:flex-end;gap:5px}.login-page{grid-template-columns:1fr}.login-art{display:none}.login-panel{padding:28px}.sidebar{width:66px;padding:20px 8px}.sidebar .brand span:not(.brand-mark),.side-label,.side-link span,.sidebar-bottom>div:not(.avatar),.sidebar-bottom .icon-button{display:none}.sidebar .brand{padding:0 8px 28px}.side-link{justify-content:center;font-size:21px}.sidebar-bottom{justify-content:center}.content-wrap,.workspace{padding:0 15px 30px}.page-header{align-items:flex-start;flex-direction:column}.page-header h1{font-size:27px}.workspace-grid{display:block}.chat-panel{height:670px;margin-bottom:16px}.workspace-head h1{font-size:24px}.export-link{font-size:11px}.admin-grid{grid-template-columns:1fr}}.preview-live{height:380px;display:flex;flex-direction:column;border-bottom:1px solid #e9eef4}.preview-toolbar{height:40px;flex-shrink:0;background:#f8fbff;border-bottom:1px solid #e5edf5;display:flex;justify-content:space-between;align-items:center;padding:0 12px;color:#2c704e;font-size:11px;font-weight:800}.preview-toolbar button{border:0;background:none;color:#657991;font-size:11px;font-weight:700}.preview-live iframe{flex:1;width:100%;border:0;background:#fff}.preview-progress{width:min(280px,100%);margin-top:16px}
