*{margin:0;padding:0;box-sizing:border-box;font-family:Space Grotesk,-apple-system,BlinkMacSystemFont,sans-serif}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#a855f7,#3b82f6,#10b981);border-radius:10px}::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#9333ea,#2563eb,#059669)}#splash-screen{position:fixed;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#f0f4f8,#e0e7ff,#f0f9ff);display:flex;justify-content:center;align-items:center;z-index:99999;transition:opacity .6s cubic-bezier(.4,0,.2,1),visibility .6s}.splash-content{text-align:center;animation:aurora-float 3s ease-in-out infinite}.splash-content img{width:90px;height:90px;border-radius:24px;margin-bottom:16px;box-shadow:0 20px 40px #a855f733,0 0 0 1px #a855f71a,0 0 60px #3b82f626;animation:aurora-pulse 2s ease-in-out infinite alternate}.splash-text{font-size:2.8rem;font-weight:700;letter-spacing:-2px;margin:0;background:linear-gradient(135deg,#a855f7,#3b82f6,#10b981 60%,#f59e0b);background-size:300% 300%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:aurora-gradient 4s ease infinite;text-shadow:0 10px 30px rgba(168,85,247,.15)}@keyframes aurora-float{0%,to{transform:translateY(0)}50%{transform:translateY(-12px)}}@keyframes aurora-pulse{0%{transform:scale(.98);box-shadow:0 20px 40px #a855f726}to{transform:scale(1.02);box-shadow:0 25px 50px #3b82f640}}@keyframes aurora-gradient{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}html,body{height:100%;width:100%}body{background:linear-gradient(135deg,#f8fafc,#f0f4f8,#ecfdf5);background-attachment:fixed;color:#0f172a;display:flex;flex-direction:column;min-height:100dvh;height:100dvh;overflow:hidden}.top-nav{display:flex;justify-content:space-between;align-items:center;padding:12px 24px;background:#ffffffa6;backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border-bottom:1px solid rgba(226,232,240,.6);z-index:50;flex-shrink:0;position:sticky;top:0;box-shadow:0 4px 20px #00000008}.logo-box{display:flex;align-items:center;gap:12px;font-weight:700;font-size:1.3rem;letter-spacing:-.5px}.logo-box img{width:36px;height:36px;border-radius:10px;box-shadow:0 4px 12px #a855f733}.tabs{display:flex;gap:4px;background:#f1f5f9cc;padding:4px;border-radius:14px;border:1px solid rgba(226,232,240,.6)}.tab-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;border:none;background:transparent;color:#64748b;font-weight:600;border-radius:10px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);font-size:.9rem;letter-spacing:-.3px}.tab-btn i{width:16px;height:16px}.tab-btn:hover{color:#0f172a;background:#ffffff80}.tab-btn.active{background:linear-gradient(135deg,#fff,#f8fafc);color:#0f172a;box-shadow:0 2px 8px #0000000f,0 0 0 1px #a855f71a;font-weight:700}.btn-primary{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;border:none;padding:10px 20px;border-radius:12px;font-weight:700;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);letter-spacing:-.3px;box-shadow:0 4px 14px #0f172a33;position:relative;overflow:hidden}.btn-primary:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 25px #a855f74d}.btn-primary:hover:before{left:100%}.btn-primary:active{transform:translateY(0) scale(.98)}.workspace-page{display:flex;flex-direction:column;height:100dvh;overflow:hidden}.main-content{flex:1;display:flex;flex-direction:column;overflow:hidden;min-height:0}.view-home{flex:1;display:flex;flex-direction:column;padding:0;overflow:hidden;min-height:0}.view-preview{flex:1;display:flex;flex-direction:column;padding:16px;overflow:hidden;min-height:0}.view{display:none;flex:1;flex-direction:column;width:100%;max-width:1000px;margin:0 auto;padding:20px;overflow:hidden;min-height:0}.active-view{display:flex}.view-editor{flex:1;display:flex;flex-direction:column;overflow:hidden;min-height:0}.editor-header{display:flex;justify-content:space-between;align-items:center;padding:8px 20px;background:#f8fafcfa;border-bottom:1px solid rgba(203,213,225,.7);flex-shrink:0;height:48px;z-index:10}.editor-workspace{display:flex;flex-direction:row;flex:1;overflow:hidden;min-height:0}.editor-workspace .file-sidebar{width:220px!important;min-width:220px!important;max-width:220px!important;flex-shrink:0!important;height:100%!important;border-radius:0!important;border:none!important;border-right:1px solid rgba(203,213,225,.6)!important;background:#ffffffe6!important;-webkit-backdrop-filter:blur(20px)!important;backdrop-filter:blur(20px)!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}.editor-workspace .file-sidebar-header{border-radius:0!important;height:40px;display:flex!important;align-items:center;padding:0 12px!important;font-size:.7rem;letter-spacing:1px;background:#f1f5f9f2!important;border-bottom:1px solid rgba(203,213,225,.5)!important;justify-content:space-between}.editor-workspace .file-list{flex:1;overflow-y:auto;padding:6px!important}.editor-workspace .file-item{padding:7px 10px!important;font-size:.8rem!important;border-radius:6px!important}.editor-monaco-container{flex:1;display:flex;flex-direction:column;overflow:hidden;min-height:0;background:#fff;padding-top:0;position:relative}.view-preview .iframe-container{flex:1;border-radius:16px;overflow:hidden;min-height:0}#view-home.active-view{flex-direction:row;gap:20px}.view-home .chat-wrapper{max-width:800px;width:100%;margin:0 auto}.chat-wrapper{flex:1;display:flex;flex-direction:column;background:#ffffffbf;backdrop-filter:blur(24px) saturate(160%);-webkit-backdrop-filter:blur(24px) saturate(160%);border:1.5px solid rgba(226,232,240,.7);border-radius:24px;overflow:hidden;box-shadow:0 8px 40px #0000000f,0 2px 8px #00000008,0 0 0 1px #fff9 inset;min-height:0;position:relative}.chat-history{flex:1;overflow-y:auto;padding:28px 28px 16px;display:flex;flex-direction:column;gap:16px;scroll-behavior:smooth;mask-image:linear-gradient(to bottom,transparent 0px,rgba(0,0,0,.5) 24px,rgba(0,0,0,1) 56px,rgba(0,0,0,1) 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0px,rgba(0,0,0,.5) 24px,rgba(0,0,0,1) 56px,rgba(0,0,0,1) 100%)}.welcome-box{text-align:center;margin:auto;padding:40px 20px}.welcome-box img{width:72px;height:72px;border-radius:20px;margin-bottom:16px;box-shadow:0 12px 30px #a855f726,0 0 0 1px #a855f71a;animation:aurora-logo-breathe 3s ease-in-out infinite}@keyframes aurora-logo-breathe{0%,to{transform:scale(1);box-shadow:0 12px 30px #a855f726}50%{transform:scale(1.05);box-shadow:0 16px 40px #3b82f633}}.welcome-box h2{font-size:1.8rem;margin-bottom:8px;font-weight:700;letter-spacing:-1px;background:linear-gradient(135deg,#0f172a,#3b82f6);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.welcome-box p{color:#64748b;font-size:1rem;font-weight:500}.msg{max-width:85%;padding:14px 18px;border-radius:16px;font-size:.95rem;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word;white-space:normal;font-weight:500;animation:msgSlideUp .4s cubic-bezier(.2,.8,.2,1) forwards}@keyframes msgSlideUp{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.msg.user{align-self:flex-end;background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;border-bottom-right-radius:4px;box-shadow:0 4px 16px #0f172a26}.msg.ai{align-self:flex-start;background:transparent;border:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;padding:4px 0}.msg.ai-clean{align-self:flex-start;max-width:85%;padding:4px 0;font-size:.95rem;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word;white-space:normal;font-weight:500;background:transparent;border:none;box-shadow:none;animation:msgSlideUp .4s cubic-bezier(.2,.8,.2,1) forwards;color:#0f172a}.typing-cursor{display:inline-block;width:2px;height:1em;background:#3b82f6;margin-left:2px;vertical-align:text-bottom;border-radius:1px;animation:klopCursorBlink .7s step-end infinite}@keyframes klopCursorBlink{0%,to{opacity:1}50%{opacity:0}}.klop-streaming-status{display:inline-flex;align-items:center;gap:10px;padding:8px 20px 4px;background:transparent;flex-shrink:0;align-self:flex-start}.klop-mini-logo{width:18px;height:18px;object-fit:contain;border-radius:4px;animation:klopLogoBreathe 2.2s ease-in-out infinite alternate;flex-shrink:0}.shimmer-text{font-family:Space Grotesk,sans-serif;font-size:.82rem;font-weight:700;letter-spacing:-.3px;background:linear-gradient(90deg,#0f172a,#64748b,#0f172a 50%);background-size:200% auto;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:klopShimmer 2.2s linear infinite}@keyframes klopShimmer{0%{background-position:200% center}to{background-position:0% center}}@keyframes klopLogoBreathe{0%{transform:scale(.96);opacity:.85}to{transform:scale(1.04);opacity:1}}.agent-chips-bar{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 20px 4px;flex-wrap:wrap;flex-shrink:0;position:relative;z-index:5}.agent-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;font-size:.78rem;font-weight:700;font-family:Space Grotesk,sans-serif;cursor:pointer;border:1.5px solid transparent;transition:all .25s cubic-bezier(.2,.8,.2,1);white-space:nowrap;letter-spacing:-.2px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.agent-chip:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0000001f}.agent-chip:active{transform:translateY(0) scale(.97)}.agent-chip.active{box-shadow:0 4px 16px #00000026}.agent-chip.chip-claude{background:linear-gradient(135deg,#e8deffe6,#dbd1ffe6);color:#5b21b6;border-color:#8b5cf640}.agent-chip.chip-claude:hover,.agent-chip.chip-claude.active{background:linear-gradient(135deg,#ddd6fe,#c4b5fd);border-color:#8b5cf666}.agent-chip.chip-gemini{background:linear-gradient(135deg,#dbeafee6,#cffafee6);color:#1d4ed8;border-color:#3b82f640}.agent-chip.chip-gemini:hover,.agent-chip.chip-gemini.active{background:linear-gradient(135deg,#bfdbfe,#a5f3fc);border-color:#3b82f666}.agent-chip.chip-codex{background:linear-gradient(135deg,#d1fae5e6,#ccfbf1e6);color:#065f46;border-color:#10b98140}.agent-chip.chip-codex:hover,.agent-chip.chip-codex.active{background:linear-gradient(135deg,#a7f3d0,#99f6e4);border-color:#10b98166}.agent-chip.chip-plus{background:#f1f5f9e6;color:#64748b;border-color:#cbd5e180;padding:6px 10px}.agent-chip.chip-plus:hover{background:#e2e8f0e6;color:#0f172a}.agent-chip svg,.agent-chip i{width:13px;height:13px;flex-shrink:0}.chat-input-wrapper{position:sticky;bottom:0;left:0;right:0;padding:16px 20px 24px;background:linear-gradient(to top,#fffffffa,#ffffffeb 60%,#fff0);display:flex;justify-content:center;z-index:10;flex-shrink:0}.chat-input-wrapper>*{pointer-events:all}.chat-wrapper.empty-chat .chat-input-wrapper{background:transparent;border-top:none}@supports (-webkit-touch-callout: none){.chat-input-wrapper{padding-bottom:max(20px,env(safe-area-inset-bottom))}}.input-area{display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:20px;transition:all .4s cubic-bezier(.2,.8,.2,1);background:#fffffff5;border:2px solid transparent;box-shadow:0 8px 32px #0000001a,0 2px 8px #0000000f,0 0 0 1px #e2e8f099,0 0 0 1px #fffc inset;background-image:linear-gradient(#fffffff5,#fffffff5),linear-gradient(120deg,#a855f7,#3b82f6,#10b981);background-origin:border-box;background-clip:padding-box,border-box;width:100%;max-width:800px;backdrop-filter:blur(20px) saturate(150%);-webkit-backdrop-filter:blur(20px) saturate(150%)}.input-area:focus-within{box-shadow:0 8px 30px #a855f71f,0 0 0 1px #a855f733;transform:scale(1.01)}.input-locked{opacity:.5;pointer-events:none}#prompt-input{width:100%;border:none;background:transparent;font-size:1rem;padding:6px 10px;outline:none;color:#0f172a;font-family:Space Grotesk,sans-serif;font-weight:500}#prompt-input::placeholder{color:#94a3b8}.input-controls{display:flex;justify-content:space-between;align-items:center;width:100%}.model-dropdown-container,.role-dropdown-container,.agent-dropdown-container{position:relative;display:flex;align-items:center}.agent-dropdown-btn{display:flex;align-items:center;gap:8px;padding:8px 14px;border:none;border-radius:12px;cursor:pointer;font-size:.85rem;font-weight:700;transition:all .3s cubic-bezier(.4,0,.2,1);white-space:nowrap;height:40px;letter-spacing:-.3px;font-family:Space Grotesk,sans-serif}.agent-dropdown-btn.codex-btn{background:linear-gradient(135deg,#e0e7ff,#ede9fe);color:#4c1d95;border:1px solid rgba(139,92,246,.2)}.agent-dropdown-btn.codex-btn:hover{background:linear-gradient(135deg,#ddd6fe,#c4b5fd);transform:translateY(-1px);box-shadow:0 4px 12px #8b5cf633}.agent-dropdown-btn.plan-btn{background:linear-gradient(135deg,#ccfbf1,#d1fae5);color:#065f46;border:1px solid rgba(16,185,129,.2)}.agent-dropdown-btn.plan-btn:hover{background:linear-gradient(135deg,#99f6e4,#a7f3d0);box-shadow:0 4px 12px #10b98133}.agent-dropdown-btn.vision{background:linear-gradient(135deg,#fce7f3,#ffe4e6);color:#be185d;border:1px solid rgba(236,72,153,.2)}.agent-dropdown-btn.vision:hover{background:linear-gradient(135deg,#fbcfe8,#fecdd3);box-shadow:0 4px 12px #ec489933}.agent-dropdown-btn i{width:14px;height:14px}.agent-dropdown-menu{position:absolute;bottom:calc(100% + 12px);left:0;background:#fffffff2;backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:1px solid rgba(226,232,240,.6);border-radius:16px;box-shadow:0 20px 50px #0000001a,0 0 0 1px #ffffff80 inset;padding:8px;width:240px;z-index:50;display:flex;flex-direction:column;gap:4px;transform-origin:bottom left;animation:aurora-scale-up .25s cubic-bezier(.2,.8,.2,1) forwards}.agent-dropdown-menu.hidden{display:none!important}@keyframes aurora-scale-up{0%{opacity:0;transform:scale(.9) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.dropdown-header-text{font-size:.7rem;font-weight:700;color:#94a3b8;padding:8px 12px;text-transform:uppercase;letter-spacing:1px}.dropdown-agent-option{display:flex;align-items:center;gap:12px;width:100%;padding:10px;border:none;background:transparent;border-radius:12px;cursor:pointer;text-align:left;transition:all .2s ease;font-family:Space Grotesk,sans-serif}.dropdown-agent-option:hover{background:linear-gradient(135deg,#f8fafc,#f1f5f9);transform:translate(4px)}.agent-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;flex-shrink:0;box-shadow:0 4px 12px #00000014}.agent-icon.codex-btn{background:linear-gradient(135deg,#0f172a,#334155);color:#fff}.agent-icon.plan-btn{background:linear-gradient(135deg,#059669,#10b981);color:#fff}.agent-icon.vision-agent{background:linear-gradient(135deg,#db2777,#ec4899);color:#fff}.agent-icon i{width:16px;height:16px}.agent-info{display:flex;flex-direction:column}.agent-info b{font-size:.85rem;color:#0f172a;font-weight:700}.agent-info span{font-size:.7rem;color:#64748b;font-weight:600}.icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:none;border-radius:12px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);flex-shrink:0}.send-btn{background:linear-gradient(135deg,#a855f7,#3b82f6,#10b981);color:#fff;box-shadow:0 4px 16px #a855f74d}.send-btn:hover{transform:translateY(-2px) scale(1.05);box-shadow:0 8px 25px #a855f766}.send-btn:active{transform:translateY(0) scale(.95)}.send-btn i{width:18px;height:18px}.pulse-text{animation:aurora-pulse-text 2s infinite}@keyframes aurora-pulse-text{0%,to{opacity:1}50%{opacity:.6}}.preview-header{display:flex;justify-content:space-between;align-items:center;padding:14px 24px;background:#fffc;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid rgba(226,232,240,.5);border-radius:16px;margin-bottom:16px;flex-shrink:0;box-shadow:0 4px 20px #00000008}.preview-title{font-weight:700;font-size:1rem;letter-spacing:-.3px}.preview-actions{display:flex;gap:12px;align-items:center}.btn-outline{background:#fffc;border:1px solid rgba(226,232,240,.6);padding:10px 18px;border-radius:12px;display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:600;font-size:.9rem;transition:all .3s ease;font-family:Space Grotesk,sans-serif;color:#0f172a}.btn-outline:hover{background:#fff;border-color:#cbd5e1;transform:translateY(-1px);box-shadow:0 4px 12px #0000000d}.iframe-container{flex:1;background:#ffffff80;border:1px solid rgba(226,232,240,.5);border-radius:16px;overflow:hidden;min-height:0;box-shadow:0 4px 20px #00000008}iframe{width:100%;height:100%;border:none}.modal{position:fixed;top:0;left:0;width:100%;height:100%;background:#0f172a80;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:1000}.modal.hidden{display:none!important}.modal-content{background:#fffffff2;-webkit-backdrop-filter:blur(30px) saturate(180%);backdrop-filter:blur(30px) saturate(180%);padding:32px;border-radius:24px;width:90%;max-width:360px;display:flex;flex-direction:column;gap:14px;position:relative;box-shadow:0 25px 50px -5px #0000001a,0 0 0 1px #ffffff80 inset;border:1px solid rgba(226,232,240,.5)}.close-modal{position:absolute;top:16px;right:16px;background:#f1f5f9cc;border:none;cursor:pointer;color:#64748b;width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.close-modal:hover{background:#fee2e2;color:#ef4444;transform:rotate(90deg)}.auth-input{width:100%;padding:14px 18px;border:2px solid rgba(226,232,240,.6);border-radius:14px;font-size:1rem;outline:none;transition:all .3s ease;background:#f8fafccc;font-family:Space Grotesk,sans-serif;font-weight:500}.auth-input:focus{border-color:#a855f7;background:#fff;box-shadow:0 0 0 4px #a855f71a}.auth-buttons{display:flex;gap:10px;margin-top:10px}.profile-container{position:relative;display:inline-block}.avatar-circle{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#a855f7,#3b82f6,#10b981);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.1rem;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 16px #a855f74d;border:2px solid rgba(255,255,255,.3)}.avatar-circle:hover{transform:scale(1.1) rotate(5deg);box-shadow:0 8px 25px #a855f766}.profile-dropdown{position:absolute;right:0;top:55px;background:#fffffff2;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid rgba(226,232,240,.5);border-radius:16px;box-shadow:0 20px 50px #0000001a;width:220px;padding:10px;z-index:100;display:flex;flex-direction:column;animation:aurora-scale-up .2s ease forwards}.dropdown-header{padding:10px 14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-item{display:flex;align-items:center;gap:10px;padding:10px 14px;border:none;background:transparent;width:100%;text-align:left;cursor:pointer;border-radius:10px;transition:all .2s ease;font-size:.9rem;color:#0f172a;font-family:Space Grotesk,sans-serif;font-weight:600}.dropdown-item:hover{background:linear-gradient(135deg,#f8fafc,#f1f5f9);transform:translate(4px)}.dropdown-item i{width:16px;height:16px}.text-red{color:#dc2626}.text-red:hover{background:#fef2f2}.hidden{display:none!important}.toast-container{position:fixed;bottom:24px;right:24px;display:flex;flex-direction:column;gap:12px;z-index:999999}.toast{display:flex;align-items:center;gap:12px;min-width:280px;padding:16px 22px;background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-left:4px solid #0f172a;border-radius:14px;box-shadow:0 10px 40px #0000001a;font-size:.95rem;font-weight:600;color:#0f172a;font-family:Space Grotesk,sans-serif;animation:aurora-toast-in .4s cubic-bezier(.2,.8,.2,1) forwards}@keyframes aurora-toast-in{0%{transform:translate(120%) scale(.9);opacity:0}to{transform:translate(0) scale(1);opacity:1}}.toast.success{border-left-color:#10b981}.toast.success i{color:#10b981}.toast.error{border-left-color:#ef4444}.toast.error i{color:#ef4444}.toast.fadeOut{animation:aurora-toast-out .4s ease forwards}@keyframes aurora-toast-out{0%{transform:translate(0) scale(1);opacity:1}to{transform:translate(120%) scale(.9);opacity:0}}.fullscreen-mode{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:100dvh!important;z-index:99999!important;background:#fff!important;border-radius:0!important;padding:0!important;margin:0!important}.fullscreen-mode iframe{width:100%!important;height:100%!important;border:none!important}.sidebar{position:fixed;top:0;left:0;width:300px;height:100dvh!important;background:#ffffffe6;backdrop-filter:blur(30px) saturate(180%);-webkit-backdrop-filter:blur(30px) saturate(180%);border-right:1px solid rgba(226,232,240,.5);display:flex;flex-direction:column;z-index:999;transform:translate(-100%);transition:transform .4s cubic-bezier(.4,0,.2,1);box-shadow:20px 0 60px #00000014;margin:0!important}.sidebar.open{transform:translate(0)}.sidebar-header{padding:20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(226,232,240,.5);background:linear-gradient(135deg,#f8fafccc,#f1f5f9cc)}.sidebar-header h3{font-size:1rem;margin:0;color:#0f172a;font-weight:700;letter-spacing:-.3px}.sidebar-header-actions{display:flex;gap:8px}.sidebar-action-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;border-radius:10px;cursor:pointer;transition:all .3s ease;padding:0}.sidebar-action-btn i{width:16px;height:16px}.sidebar-action-btn.new-btn{background:linear-gradient(135deg,#e0e7ff,#ede9fe);color:#4c1d95}.sidebar-action-btn.new-btn:hover{background:linear-gradient(135deg,#c4b5fd,#a78bfa);color:#fff;transform:scale(1.1)}.sidebar-action-btn.close-btn{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#dc2626}.sidebar-action-btn.close-btn:hover{background:linear-gradient(135deg,#fca5a5,#f87171);color:#fff;transform:scale(1.1)}#sidebar-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#0f172a4d;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:998;transition:.3s}#view-home.active-view{flex-direction:column;gap:0;padding:0;max-width:100%}.chat-list{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:8px}.chat-item{padding:12px 14px;background:#f8fafccc;border:1px solid transparent;border-radius:12px;font-size:.85rem;color:#334155;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:10px;width:100%;font-weight:600;font-family:Space Grotesk,sans-serif}.chat-item:hover{background:linear-gradient(135deg,#e0e7ff,#ede9fe);border-color:#a855f733;transform:translate(6px);box-shadow:0 4px 12px #a855f71a}.chat-item.active{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;box-shadow:0 4px 16px #0f172a33}.chat-item-text{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.badge-new{color:#ef4444;font-size:.35rem;background:linear-gradient(135deg,#fee2e2,#fecaca);padding:2px 4px;border-radius:4px;margin-left:6px;font-weight:800;letter-spacing:.5px}.add-img-btn{background:linear-gradient(135deg,#f1f5f9,#e2e8f0);color:#64748b;border:1px dashed #cbd5e1}.add-img-btn:hover{background:linear-gradient(135deg,#e2e8f0,#cbd5e1);color:#0f172a;border-color:#94a3b8}#image-preview-container{padding:0 8px 8px;display:flex}.image-thumbnail{position:relative;width:64px;height:64px;border-radius:14px;border:2px solid rgba(226,232,240,.6);overflow:hidden;box-shadow:0 4px 12px #0000000f;transition:all .3s ease}.image-thumbnail:hover{transform:scale(1.05);box-shadow:0 8px 20px #a855f733}.image-thumbnail img{width:100%;height:100%;object-fit:cover}.remove-image-btn{position:absolute;top:4px;right:4px;width:22px;height:22px;background:#0f172ab3;color:#fff;border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .2s ease}.remove-image-btn i{width:12px;height:12px}.remove-image-btn:hover{background:#ef4444;transform:scale(1.2)}.action-icon-group{display:flex;gap:8px;align-items:center}.btn-outline:disabled{opacity:.4;cursor:not-allowed;background:#f1f5f9;color:#94a3b8;border-color:#e2e8f0}.btn-icon-outline{background:#fffc;border:1px solid rgba(226,232,240,.6);border-radius:10px;display:flex;align-items:center;justify-content:center;width:38px;height:38px;cursor:pointer;color:#0f172a;transition:all .3s ease;flex-shrink:0}.btn-icon-outline i{width:16px;height:16px}.btn-icon-outline:hover:not(:disabled){background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 4px 12px #0000000f}.btn-icon-outline:disabled{opacity:.4;cursor:not-allowed;background:#f1f5f9;color:#94a3b8;border-color:#e2e8f0}.active-file-btn{background:linear-gradient(135deg,#0f172a,#1e293b)!important;color:#fff!important;border-color:#0f172a!important;box-shadow:0 4px 12px #0f172a33!important}.preview-workspace{display:flex;flex:1;gap:14px;overflow:hidden;min-height:0;flex-direction:row;margin-top:10px}.file-sidebar{width:260px;background:#fffc;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid rgba(226,232,240,.5);border-radius:16px;display:flex;flex-direction:column;flex-shrink:0;transition:all .3s ease;box-shadow:0 4px 20px #00000008}.file-sidebar-header{padding:14px 18px;font-weight:700;font-size:.75rem;border-bottom:1px solid rgba(226,232,240,.5);background:linear-gradient(135deg,#f8fafccc,#f1f5f9cc);color:#64748b;text-transform:uppercase;letter-spacing:1px;border-radius:16px 16px 0 0}.file-list{flex:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:4px}.file-item{display:flex;align-items:center;gap:10px;padding:10px 14px;font-size:.85rem;color:#334155;border-radius:10px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);font-family:Space Grotesk,ui-monospace,monospace;font-weight:600}.file-item:hover{background:linear-gradient(135deg,#e0e7ff,#ede9fe);color:#4c1d95;transform:translate(6px)}.file-item.active{background:linear-gradient(135deg,#00c7b71a,#00c7b70d);color:#00c7b7;font-weight:700;box-shadow:0 2px 8px #00c7b71a}#code-editor-container{position:absolute;top:0;left:0;width:100%;height:100%;background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);z-index:10;display:flex;flex-direction:column;border-radius:16px;overflow:hidden;box-shadow:0 8px 32px #00000014}#code-editor-header{padding:14px 18px;background:linear-gradient(135deg,#f8fafce6,#f1f5f9e6);border-bottom:1px solid rgba(226,232,240,.5);font-family:Space Grotesk,ui-monospace,monospace;font-size:.85rem;color:#475569;display:flex;justify-content:space-between;align-items:center}#code-editor-title{display:flex;align-items:center;gap:8px;font-weight:700}.code-copy-btn{background:transparent;border:none;color:#64748b;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:6px;border-radius:8px;transition:all .2s ease}.code-copy-btn:hover{background:#e2e8f0;color:#0f172a;transform:scale(1.1)}#code-editor{flex:1;width:100%;border:none;resize:none;padding:18px;font-family:Space Grotesk,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.85rem;line-height:1.6;color:#1e293b;background:#fff;outline:none;white-space:pre;overflow-wrap:normal;overflow-x:auto}.api-project-card{display:flex;justify-content:space-between;align-items:center;padding:14px;background:#f8fafccc;border:1px solid rgba(226,232,240,.5);border-radius:12px;margin-bottom:10px;cursor:pointer;transition:all .3s ease;font-weight:600}.api-project-card:hover{border-color:#a855f7;background:linear-gradient(135deg,#fff,#f8fafc);box-shadow:0 4px 16px #a855f71a;transform:translate(4px)}.api-key-row{display:flex;gap:8px;margin-bottom:8px}.api-key-input{flex:1;padding:12px 14px;border:2px solid rgba(226,232,240,.6);border-radius:10px;font-size:.85rem;font-family:Space Grotesk,monospace;outline:none;background:#fff;transition:all .3s ease;font-weight:500}.api-key-input:focus{border-color:#a855f7;box-shadow:0 0 0 4px #a855f71a}.api-key-item{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#f1f5f9,#f8fafc);border:1px solid rgba(226,232,240,.5);padding:12px 14px;border-radius:10px;margin-bottom:8px;font-size:.85rem;font-weight:600;transition:all .2s ease}.api-key-item:hover{border-color:#a855f7;box-shadow:0 2px 8px #a855f714}.btn-delete-key{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#ef4444;border:none;padding:8px;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.btn-delete-key:hover{background:linear-gradient(135deg,#fca5a5,#f87171);color:#fff;transform:scale(1.1)}.btn-vercel{background:linear-gradient(135deg,#0f172a,#3b82f6,#a855f7);color:#fff;border:none;padding:10px 20px;border-radius:12px;display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:700;font-size:.9rem;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 16px #3b82f64d;font-family:Space Grotesk,sans-serif;letter-spacing:-.3px;position:relative;overflow:hidden}.btn-vercel:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .6s}.btn-vercel:hover{transform:translateY(-2px);box-shadow:0 8px 30px #3b82f666}.btn-vercel:hover:before{left:100%}.btn-vercel:active{transform:translateY(0) scale(.98)}.btn-supabase{background:linear-gradient(135deg,#0f172a,#10b981,#059669);color:#fff;border:none;padding:10px 20px;border-radius:12px;display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:700;font-size:.9rem;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 16px #10b9814d;font-family:Space Grotesk,sans-serif;letter-spacing:-.3px;position:relative;overflow:hidden}.btn-supabase:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .6s}.btn-supabase:hover{transform:translateY(-2px);box-shadow:0 8px 30px #10b98166}.btn-supabase:hover:before{left:100%}.btn-supabase:active{transform:translateY(0) scale(.98)}.btn-supabase.connected{background:#f8fafce6;color:#10b981;border:2px solid #10b981;box-shadow:0 2px 8px #10b9811a}.btn-supabase.connected:hover{background:#10b9811a}.file-tool-btn{background:transparent;border:none;color:#64748b;cursor:pointer;padding:6px;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.file-tool-btn:hover{background:linear-gradient(135deg,#e0e7ff,#ede9fe);color:#4c1d95;transform:scale(1.15)}.file-tool-btn i{width:14px;height:14px}.delete-file-btn{background:transparent;border:none;color:#ef4444;cursor:pointer;opacity:0;transition:all .2s ease;padding:6px;border-radius:6px;display:flex;align-items:center;justify-content:center}.file-item:hover .delete-file-btn{opacity:1}.delete-file-btn:hover{background:linear-gradient(135deg,#fee2e2,#fecaca);transform:scale(1.2)}.delete-file-btn i{width:14px;height:14px}.editor-tool-btn{background:#fffc;border:1px solid rgba(226,232,240,.5);color:#475569;padding:8px 12px;border-radius:8px;cursor:pointer;display:flex;align-items:center;gap:6px;font-size:.8rem;font-weight:700;transition:all .2s ease;font-family:Space Grotesk,sans-serif}.editor-tool-btn:hover{background:linear-gradient(135deg,#f8fafc,#f1f5f9);color:#0f172a;border-color:#cbd5e1;transform:translateY(-1px)}.editor-tool-btn i{width:14px;height:14px}.save-btn{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;border-color:#0f172a;box-shadow:0 4px 12px #0f172a33}.save-btn:hover{background:linear-gradient(135deg,#1e293b,#334155);color:#fff;border-color:#334155;transform:translateY(-2px);box-shadow:0 6px 20px #0f172a4d}.save-btn i{color:#10b981}.domain-item{display:flex;justify-content:space-between;align-items:center;background:#ffffffe6;border:1px solid rgba(203,213,225,.5);padding:14px;border-radius:10px;margin-bottom:8px;transition:all .2s ease}.domain-item:hover{border-color:#a855f7;box-shadow:0 2px 8px #a855f714}.domain-badge{font-size:.7rem;background:linear-gradient(135deg,#e2e8f0,#f1f5f9);color:#475569;padding:3px 8px;border-radius:6px;font-weight:700;margin-left:8px}.dns-record-box{background:linear-gradient(135deg,#f8fafce6,#f1f5f9e6);border:1px dashed rgba(203,213,225,.6);padding:14px;border-radius:12px;margin-top:16px}.voice-waves{display:flex;align-items:center;justify-content:center;gap:6px;height:50px}.wave{width:6px;border-radius:3px;background:#475569;height:10px;transition:all .2s}.wave-listening .wave{background:linear-gradient(135deg,#a855f7,#ec4899);animation:aurora-jarvis-listen 1.2s infinite ease-in-out}.wave-listening .wave1{animation-delay:-.3s}.wave-listening .wave2{animation-delay:-.1s}.wave-listening .wave3{animation-delay:-.2s}.wave-listening .wave4{animation-delay:0s}.wave-listening .wave5{animation-delay:-.1s}.wave-speaking .wave{background:linear-gradient(135deg,#3b82f6,#10b981);animation:aurora-jarvis-speak .8s infinite ease-in-out}.wave-speaking .wave1{animation-delay:-.4s;height:25px}.wave-speaking .wave2{animation-delay:-.2s;height:45px}.wave-speaking .wave3{animation-delay:0s;height:30px}.wave-speaking .wave4{animation-delay:-.3s;height:40px}.wave-speaking .wave5{animation-delay:-.1s;height:20px}@keyframes aurora-jarvis-listen{0%,to{transform:scaleY(.8);height:15px}50%{transform:scaleY(1.2);height:25px}}@keyframes aurora-jarvis-speak{0%,to{transform:scaleY(.6);height:15px}50%{transform:scaleY(1.4);height:45px}}.iframe-shrink{height:calc(100% - 140px)!important;flex:none!important;transition:height .4s cubic-bezier(.2,.8,.2,1)}.chat-wrapper.empty-chat{justify-content:center;align-items:center}.chat-wrapper.empty-chat .chat-history{flex:none;overflow:visible;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:800px}.chat-wrapper.empty-chat .welcome-box{margin:0;padding:0 0 24px;animation:aurora-slide-down .6s cubic-bezier(.2,.8,.2,1);width:100%;text-align:center}.chat-wrapper.empty-chat .welcome-box img{width:90px;height:90px;box-shadow:0 15px 40px #a855f726}.chat-wrapper.empty-chat .welcome-box h2{font-size:2.4rem;font-weight:700;margin-top:20px;letter-spacing:-1.5px;background:linear-gradient(135deg,#0f172a,#3b82f6,#a855f7);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.chat-wrapper.empty-chat .welcome-box p{font-size:1.1rem;color:#64748b;margin-top:8px;font-weight:500}.chat-wrapper.empty-chat .chat-input-wrapper{position:relative;bottom:auto;left:auto;right:auto;width:100%;max-width:800px;padding:0 20px;background:transparent;border-top:none;display:flex;justify-content:center}@keyframes aurora-slide-down{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}@media (min-width: 1024px){.top-nav{padding:0 20px;height:44px;min-height:44px;background:#fff!important;border-bottom:1px solid #e2e8f0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;position:relative;gap:16px}.logo-box{font-size:1rem;gap:8px;font-weight:700;letter-spacing:-.5px;z-index:10}.logo-box img{width:26px;height:26px;border-radius:7px;box-shadow:none}.tabs{display:flex!important;position:absolute;left:50%;transform:translate(-50%);background:#f1f5f9;padding:3px;border-radius:10px;border:1px solid #e2e8f0;gap:2px;z-index:20}.tab-btn{padding:5px 16px;font-size:.8rem;font-weight:600;border-radius:7px;color:#64748b;gap:6px;height:28px;letter-spacing:0}.tab-btn.active{background:#fff;color:#0f172a;box-shadow:0 1px 3px #00000014,0 0 0 1px #0000000a;font-weight:700}.tab-btn:hover:not(.active){background:#fff9;color:#334155;transform:none}.tab-btn i{width:14px;height:14px}.btn-primary{padding:6px 16px;font-size:.8rem;height:30px;border-radius:8px}.view{max-width:100%!important;padding:0!important;height:calc(100dvh - 44px)!important;display:none!important;flex-direction:column!important;overflow:hidden!important}.active-view{display:flex!important}#view-home.active-view{display:grid!important;grid-template-columns:260px 1fr!important;flex-direction:unset!important;gap:0!important;background:#f8fafc}#view-home .sidebar-panel{border-right:1px solid #e2e8f0;background:#fff;display:flex;flex-direction:column;overflow:hidden}#view-home .chat-wrapper{border-radius:0!important;border:none!important;box-shadow:none!important;background:#fff!important;height:100%!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.chat-history{padding:32px 40px 160px}.chat-input-wrapper{padding:12px 40px 28px;background:linear-gradient(to top,#fff 75%,#fff0);border-top:none}.input-area{border-radius:14px!important;max-width:780px}.msg{font-size:.9rem!important;max-width:88%!important}.chat-wrapper.empty-chat .chat-input-wrapper{max-width:100%;padding:12px 40px 28px;border-top:none;background:transparent}.view-editor{background:#fff}.editor-header{height:44px;padding:0 16px!important;background:#f8fafc!important;border-bottom:1px solid #e2e8f0!important;display:flex!important;align-items:center!important;flex-shrink:0}.editor-header .preview-title{font-size:.8rem;font-weight:600;color:#94a3b8;letter-spacing:.5px;text-transform:uppercase;font-size:.7rem}.editor-workspace .file-sidebar{width:210px!important;min-width:210px!important;max-width:210px!important;background:#f8fafc!important;border-right:1px solid #e2e8f0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;border-radius:0!important}.editor-workspace .file-sidebar-header{height:36px;padding:0 14px!important;font-size:.67rem;letter-spacing:1.2px;color:#94a3b8;background:#f1f5f9!important;border-bottom:1px solid #e2e8f0!important;border-radius:0!important;font-weight:700;display:flex!important;align-items:center!important}.editor-workspace .file-list{padding:6px!important}.editor-workspace .file-item{padding:7px 10px!important;font-size:.8rem!important;border-radius:5px!important;font-weight:500!important}.editor-workspace .file-item:hover{background:#e8edf5!important;color:#1e293b!important;transform:none!important}.editor-workspace .file-item.active{background:#dbeafe!important;color:#1d4ed8!important;font-weight:600!important;box-shadow:none!important}.editor-monaco-container{background:#fff;position:relative}#code-editor-container{border-radius:0!important;box-shadow:none!important;border:none!important;background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;position:relative!important}#code-editor-header{height:40px;padding:0!important;background:#f1f5f9!important;border-bottom:1px solid #e2e8f0!important;border-radius:0!important;font-size:.8rem!important;display:flex!important;align-items:stretch!important}#code-editor-title{font-family:JetBrains Mono,Cascadia Code,Fira Code,ui-monospace,monospace;font-size:.78rem;font-weight:600;color:#334155;background:#fff;padding:0 18px;display:flex;align-items:center;gap:8px;border-right:1px solid #e2e8f0;border-bottom:2px solid #3b82f6;position:relative}.editor-toolbar{padding:0 12px;display:flex;align-items:center;gap:6px;margin-left:auto}.editor-tool-btn{padding:4px 10px!important;font-size:.74rem!important;height:26px!important;border-radius:5px!important;border-color:#e2e8f0!important}.save-btn{background:#0f172a!important;color:#fff!important;border-color:#0f172a!important;box-shadow:none!important}.save-btn:hover{background:#1e293b!important;transform:none!important;box-shadow:0 2px 8px #0f172a33!important}#view-preview.active-view{display:flex!important;flex-direction:column!important;background:#fff}.preview-header{display:flex!important;flex-shrink:0!important;border-radius:0!important;border:none!important;border-bottom:1px solid #e2e8f0!important;margin-bottom:0!important;padding:0 16px!important;height:44px!important;background:#f8fafc!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;z-index:10;align-items:center!important}.preview-title{font-size:.82rem;color:#64748b;font-weight:600;letter-spacing:0}.preview-actions{gap:8px}.preview-workspace{display:grid!important;grid-template-columns:210px 1fr 340px!important;grid-template-rows:1fr!important;flex:1!important;margin:0!important;gap:0!important;overflow:hidden!important;background:#fff}.file-sidebar{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;border-radius:0!important;border:none!important;border-right:1px solid #e2e8f0!important;background:#f8fafc!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important}.file-sidebar-header{border-radius:0!important;height:36px;display:flex;align-items:center;padding:0 14px!important;font-size:.67rem;letter-spacing:1.2px;color:#94a3b8;background:#f1f5f9!important;border-bottom:1px solid #e2e8f0!important;font-weight:700}.file-list{padding:6px!important}.file-item{padding:7px 10px!important;font-size:.8rem!important;border-radius:5px!important;font-weight:500!important;color:#475569!important}.file-item:hover{background:#e8edf5!important;color:#1e293b!important;transform:none!important}.file-item.active{background:#dbeafe!important;color:#1d4ed8!important;font-weight:600!important;box-shadow:none!important}.iframe-container{height:100%!important;border-radius:0!important;border:none!important;border-right:1px solid #e2e8f0!important;box-shadow:none!important;background:#fff!important}#desktop-chat-container{display:flex!important;flex-direction:column!important;height:100%!important;width:100%!important;overflow:hidden!important;background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-left:none!important}.chat-wrapper{border-radius:0!important;border:none!important;box-shadow:none!important;height:100%!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}#desktop-chat-container .chat-history{padding:16px 16px 20px}#desktop-chat-container .chat-input-wrapper{padding:8px 14px 16px;background:linear-gradient(to top,#fff 75%,#fff0)}#desktop-chat-container .input-area{border-radius:12px!important;max-width:100%;box-shadow:0 4px 20px #00000012,0 0 0 1px #e2e8f0cc!important}#desktop-chat-container .msg{font-size:.85rem!important;max-width:96%!important;line-height:1.55!important}#desktop-chat-container .agent-dropdown-btn{padding:4px 10px!important;font-size:.75rem!important;height:28px!important}#desktop-chat-container .agent-chips-bar{padding:6px 14px 2px;gap:6px}#desktop-chat-container .agent-chip{padding:4px 10px;font-size:.72rem}.btn-vercel,.btn-supabase{padding:5px 14px!important;font-size:.78rem!important;height:30px!important;border-radius:7px!important}.btn-icon-outline{width:30px!important;height:30px!important;border-radius:7px!important}.action-icon-group{gap:6px}.file-list::-webkit-scrollbar,.chat-history::-webkit-scrollbar{width:4px}.file-list::-webkit-scrollbar-thumb,.chat-history::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.file-list::-webkit-scrollbar-track,.chat-history::-webkit-scrollbar-track{background:transparent}.toast-container{bottom:20px!important;right:20px!important;left:auto!important}}@media (min-width: 768px) and (max-width: 1023px){.top-nav{padding:0 16px;height:48px;background:#fff!important;border-bottom:1px solid #e2e8f0!important;box-shadow:none!important}.tabs{position:static;transform:none;background:#f1f5f9;padding:3px;border-radius:10px;border:1px solid #e2e8f0}.tab-btn{padding:5px 14px;font-size:.8rem;height:28px}.tab-btn.active{background:#fff;color:#0f172a;box-shadow:0 1px 3px #00000014;font-weight:700}#desktop-chat-container{display:none!important}.preview-workspace{display:grid!important;grid-template-columns:200px 1fr!important;flex-direction:unset!important;gap:0!important}.file-sidebar{width:100%!important;height:100%!important;border-radius:0!important;border:none!important;border-right:1px solid #e2e8f0!important;background:#f8fafc!important;box-shadow:none!important;max-height:none!important}.file-sidebar-header{border-radius:0!important;background:#f1f5f9!important;border-bottom:1px solid #e2e8f0!important}.iframe-container{border-radius:0!important;border:none!important;box-shadow:none!important}.preview-header{border-radius:0!important;border:none!important;border-bottom:1px solid #e2e8f0!important;margin-bottom:0!important;padding:0 16px!important;height:44px!important;background:#f8fafc!important;box-shadow:none!important}#view-preview.active-view{display:flex!important;flex-direction:column!important}.editor-workspace .file-sidebar{width:190px!important;min-width:190px!important;max-width:190px!important}.btn-icon-outline{width:34px!important;height:34px!important}.btn-vercel,.btn-supabase{height:34px!important;font-size:.8rem!important}}@media (max-width: 768px){#view-home.active-view{flex-direction:column;gap:0}.view-home{padding:0}.view-home .chat-wrapper{border-radius:0;border:none;box-shadow:none}.chat-history{padding:18px 18px 16px}.input-area{border-radius:18px!important;box-shadow:0 6px 24px #0000001a,0 2px 8px #0000000f!important}.agent-chips-bar{padding:6px 12px 2px;gap:6px}.agent-chip{padding:5px 11px;font-size:.73rem}.top-nav{flex-wrap:wrap;padding:12px 16px;gap:10px;background:#fffc}.logo-box{order:1}.auth-box{order:2}.tabs{order:3;width:100%;justify-content:center}.view{padding:12px}.chat-history{padding:18px}.preview-header{flex-direction:column;align-items:flex-start;gap:12px;padding:16px 0}.preview-title{display:block!important;font-size:.95rem;color:#64748b;font-weight:600;padding:0 16px}.preview-actions{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;align-items:center;gap:10px;width:100%;padding:4px 16px 12px}.preview-actions::-webkit-scrollbar{display:none}.preview-actions:after{content:"";flex:0 0 6px}.action-icon-group{display:flex;flex-direction:row;flex-shrink:0;justify-content:flex-start;gap:10px}.toast-container{bottom:20px;left:20px;right:20px}.toast{width:100%;min-width:auto;padding:14px 18px}.hide-mobile{display:none!important}.agent-dropdown-btn{padding:10px;justify-content:center}.preview-workspace{flex-direction:column!important;margin-top:0!important;gap:10px!important}.file-sidebar{width:100%!important;max-height:180px;border-radius:14px!important;border-bottom:1px solid rgba(226,232,240,.5)}.btn-vercel,.btn-supabase{width:auto;flex-shrink:0;white-space:nowrap;justify-content:center;padding:0 16px;font-size:.85rem;height:38px;border-radius:10px}.btn-icon-outline{height:38px!important;width:38px!important}#code-editor-header{flex-direction:column;align-items:flex-start!important;gap:12px;padding:12px!important}#code-editor-header .editor-toolbar{width:100%;justify-content:space-between}#code-editor-header .editor-tool-btn{flex:1;justify-content:center;padding:8px 4px;font-size:.75rem}#view-preview.active-view{overflow-y:auto!important}.preview-workspace{min-height:550px!important;flex:none!important;margin-bottom:20px!important}.msg{max-width:92%;font-size:.9rem}.welcome-box h2{font-size:1.4rem}.welcome-box img{width:56px;height:56px}}@keyframes spin{to{transform:rotate(360deg)}}.glass-panel{background:#ffffffe6!important;-webkit-backdrop-filter:blur(30px) saturate(180%)!important;backdrop-filter:blur(30px) saturate(180%)!important;border:1px solid rgba(226,232,240,.5)!important;box-shadow:0 20px 50px #00000014,0 0 0 1px #ffffff80 inset!important}@keyframes aurora-glow{0%,to{box-shadow:0 0 5px #a855f74d,0 0 20px #3b82f61a}50%{box-shadow:0 0 15px #a855f780,0 0 30px #3b82f633}}button,.chat-item,.file-item,.api-project-card,.api-key-item,.domain-item{transition:all .3s cubic-bezier(.4,0,.2,1)}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #a855f7;outline-offset:2px}::selection{background:linear-gradient(135deg,#a855f74d,#3b82f64d);color:#0f172a}@media (max-width: 1023px){#desktop-chat-container{display:none!important}.preview-workspace{flex-direction:column!important;gap:10px!important}}.fullscreen-mode{display:flex!important;flex-direction:column!important}.fullscreen-mode>div{flex:1!important;height:100%!important}.editor-fullscreen{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:100vw!important;height:100dvh!important;z-index:99999!important;background:#fff!important;border-radius:0!important;padding:0!important;margin:0!important}.editor-fullscreen .editor-header{border-radius:0!important;border-bottom:1px solid rgba(203,213,225,.7)}.editor-fullscreen .editor-workspace{height:calc(100dvh - 48px)!important}.editor-fullscreen .editor-monaco-container{border-radius:0!important}@media (max-width: 768px){.editor-fullscreen .editor-workspace{flex-direction:column!important}.editor-fullscreen .editor-workspace .file-sidebar{width:100%!important;min-width:100%!important;max-width:100%!important;max-height:120px!important;height:120px!important;border-right:none!important;border-bottom:1px solid rgba(226,232,240,.5)!important}.editor-fullscreen .editor-workspace .file-list{overflow-x:auto!important;overflow-y:hidden!important;flex-direction:row!important;display:flex!important;flex-wrap:nowrap!important}}.monaco-editor .margin,.monaco-editor .margin-view-overlays{min-width:48px!important}.monaco-editor .line-numbers{min-width:30px!important;padding-left:6px!important;padding-right:8px!important;text-align:right!important}#monaco-editor-host{overflow:hidden!important;min-width:0!important}.monaco-editor,.monaco-editor .overflow-guard{border-radius:0!important}body.news-page{overflow:auto!important;height:auto!important;min-height:100dvh!important;background:#f8fafc!important}.news-navbar{position:sticky;top:0;z-index:100;width:100%;background:#ffffffe0;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border-bottom:1px solid rgba(226,232,240,.7);box-shadow:0 2px 16px #0000000a}.news-nav-container{display:flex;align-items:center;justify-content:space-between;max-width:1200px;margin:0 auto;padding:0 24px;height:64px;gap:16px}.news-logo{display:flex;align-items:center;gap:10px;cursor:pointer;text-decoration:none;flex-shrink:0;min-width:0}.news-logo img{width:34px;height:34px;border-radius:9px;object-fit:cover;flex-shrink:0;box-shadow:0 4px 12px #a855f72e}.news-logo-text{font-family:Space Grotesk,sans-serif;font-weight:800;font-size:1.15rem;letter-spacing:-.5px;color:#0f172a;white-space:nowrap}.news-logo-text span{color:#7c3aed}.news-nav-badge{display:flex;align-items:center;gap:7px;background:linear-gradient(135deg,#f3e8ff,#ede9fe);border:1px solid #ddd6fe;border-radius:20px;padding:5px 14px;font-family:Space Grotesk,sans-serif;font-size:.78rem;font-weight:700;color:#6d28d9;letter-spacing:.3px;white-space:nowrap}.news-nav-badge:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#7c3aed;animation:news-pulse 2s ease-in-out infinite}@keyframes news-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}.news-back-btn{display:flex;align-items:center;gap:7px;background:transparent;border:1px solid #e2e8f0;border-radius:10px;padding:8px 16px;font-family:Space Grotesk,sans-serif;font-size:.88rem;font-weight:600;color:#475569;cursor:pointer;transition:all .2s ease;white-space:nowrap;flex-shrink:0}.news-back-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#0f172a;transform:translate(-2px)}.news-page-root{min-height:100vh;display:flex;flex-direction:column;background:#f8fafc;position:relative}.news-hero{text-align:center;padding:72px 24px 60px;max-width:720px;margin:0 auto;width:100%}.news-hero-badge{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,#faf5ff,#f0fdf4);border:1px solid #e9d5ff;border-radius:30px;padding:6px 18px;font-family:Space Grotesk,sans-serif;font-size:.78rem;font-weight:700;color:#7c3aed;letter-spacing:1px;text-transform:uppercase;margin-bottom:24px}.news-hero-title{font-family:Space Grotesk,sans-serif;font-weight:800;font-size:clamp(2.4rem,5vw,3.8rem);line-height:1.1;letter-spacing:-1.5px;color:#0f172a;margin:0 0 18px}.news-hero-title span{background:linear-gradient(135deg,#7c3aed,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.news-hero-subtitle{font-family:-apple-system,BlinkMacSystemFont,Sora,sans-serif;font-size:1.08rem;color:#64748b;line-height:1.65;max-width:520px;margin:0 auto}.news-grid-container{width:100%;max-width:1200px;margin:0 auto;padding:0 24px 100px;flex:1}.news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px}.news-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;overflow:hidden;cursor:pointer;display:flex;flex-direction:column;transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s cubic-bezier(.16,1,.3,1),border-color .3s ease;box-shadow:0 2px 12px #0000000a}.news-card:hover{transform:translateY(-5px);box-shadow:0 20px 50px #7c3aed1a,0 8px 20px #0000000f;border-color:#ddd6fe}.news-card-img-wrap{height:210px;width:100%;overflow:hidden;position:relative;background:#090514}.news-card-img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.16,1,.3,1)}.news-card:hover .news-card-img-wrap img{transform:scale(1.05)}.news-card-body{padding:26px;flex:1;display:flex;flex-direction:column}.news-card-title{font-family:Space Grotesk,sans-serif;font-size:1.25rem;font-weight:700;color:#0f172a;line-height:1.3;margin:0 0 10px;letter-spacing:-.3px}.news-card-excerpt{font-family:-apple-system,BlinkMacSystemFont,Sora,sans-serif;font-size:.93rem;color:#64748b;line-height:1.65;flex:1;margin:0 0 22px}.news-card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f1f5f9;padding-top:18px;margin-top:auto}.news-card-author{display:flex;align-items:center;gap:10px}.news-card-author img{width:34px;height:34px;border-radius:50%;object-fit:cover;border:2px solid #f1f5f9;flex-shrink:0}.news-card-author-name{display:block;font-family:Space Grotesk,sans-serif;font-size:.84rem;font-weight:700;color:#0f172a}.news-card-author-date{display:block;font-family:-apple-system,BlinkMacSystemFont,Sora,sans-serif;font-size:.75rem;color:#94a3b8;margin-top:1px}.news-card-read{display:flex;align-items:center;gap:5px;font-family:Space Grotesk,sans-serif;font-size:.85rem;font-weight:700;color:#7c3aed;transition:gap .2s ease}.news-card:hover .news-card-read{gap:9px}@keyframes news-skeleton-blink{0%,to{opacity:.7}50%{opacity:.35}}.news-skeleton{animation:news-skeleton-blink 1.5s infinite ease-in-out;background:#e2e8f0;border-radius:6px}.news-empty{text-align:center;padding:100px 20px;color:#94a3b8;font-family:Space Grotesk,sans-serif;font-size:1.05rem}.news-empty span{display:block;font-size:2.5rem;margin-bottom:16px}.news-article-main{width:100%;max-width:860px;margin:0 auto;padding:40px 24px 100px;flex:1}.news-article-panel{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:52px 48px;box-shadow:0 8px 32px #0000000a}.news-article-title{font-family:Space Grotesk,sans-serif;font-size:clamp(1.9rem,4vw,2.7rem);font-weight:800;color:#0f172a;line-height:1.15;letter-spacing:-.8px;margin:0 0 24px}.news-article-author-row{display:flex;align-items:center;gap:14px;padding-bottom:24px;border-bottom:1px solid #f1f5f9;margin-bottom:32px}.news-article-author-row img{width:46px;height:46px;border-radius:50%;object-fit:cover;border:2px solid #f1f5f9;flex-shrink:0}.news-article-author-name{font-family:Space Grotesk,sans-serif;font-weight:700;color:#0f172a;font-size:.97rem}.news-article-author-meta{font-family:-apple-system,BlinkMacSystemFont,Sora,sans-serif;font-size:.8rem;color:#94a3b8;margin-top:3px}.news-article-cover{width:100%;overflow:hidden;border-radius:14px;border:1px solid #f1f5f9;background:#090514;margin-bottom:36px}.news-article-cover img{width:100%;max-height:460px;object-fit:contain;display:block}.news-footer{width:100%;text-align:center;padding:36px 20px;border-top:1px solid #f1f5f9;background:#fff;flex-shrink:0}.news-footer-brand{font-family:Space Grotesk,sans-serif;font-size:1.1rem;font-weight:800;color:#0f172a;letter-spacing:-.3px;margin-bottom:6px}.news-footer-brand span{color:#7c3aed}.news-footer-copy{font-family:-apple-system,BlinkMacSystemFont,Sora,sans-serif;font-size:.82rem;color:#94a3b8}.news-glow{position:fixed;pointer-events:none;border-radius:50%;filter:blur(80px);opacity:.25;z-index:0}.news-glow-purple{width:500px;height:500px;background:radial-gradient(circle,#a855f7 0%,transparent 70%);top:-150px;right:-100px}.news-glow-blue{width:400px;height:400px;background:radial-gradient(circle,#3b82f6 0%,transparent 70%);bottom:100px;left:-100px}@media (max-width: 768px){.news-nav-badge{display:none}.news-hero{padding:48px 20px 40px}.news-grid-container{padding:0 16px 80px}.news-grid{grid-template-columns:1fr;gap:20px}.news-article-main{padding:24px 16px 80px}.news-article-panel{padding:28px 22px}}@media (max-width: 480px){.news-back-btn span{display:none}.news-back-btn{padding:8px 12px}}
