*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:#fafbfa;color:#1a1a1a}button{cursor:pointer}.shell{display:flex;height:100vh;height:100dvh;overflow:hidden}.sidebar{width:250px;flex-shrink:0;background:#fff;border-right:1px solid #e5e7eb;padding:16px 12px;position:sticky;top:0;height:100vh;height:100dvh;overflow-y:auto}.sidebar h1{font-size:20px;margin:4px 8px 16px;color:#059669}.sidebar button{display:block;width:100%;text-align:left;background:none;border:none;padding:10px 12px;border-radius:8px;font-size:15px;color:#374151}.sidebar button.active,.sidebar button:hover{background:#ecfdf5;color:#059669}.sidebar button span{display:inline-flex;align-items:center;gap:10px}.nav-ic{flex-shrink:0}.main{flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden}.topbar{height:64px;flex-shrink:0;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;padding:0 20px;position:sticky;top:0;z-index:10}.content{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:24px;display:flex;flex-direction:column}.chat{flex:1;min-height:0;width:100%;max-width:768px;margin:0 auto;display:flex;flex-direction:column}.messages{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding-bottom:8px}.msg{padding:12px 16px;border-radius:12px;margin-bottom:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:break-word;word-break:break-word;min-width:0}.msg-img{display:block;margin-top:4px;position:relative}.msg-img img{max-width:100%;border-radius:10px;display:block;margin:8px 0 6px}.msg-img .img-dl{font-size:13px;color:#059669;text-decoration:none}.msg-img .img-dl:hover{text-decoration:underline}.msg a{color:#059669;overflow-wrap:break-word;word-break:break-word}.msg a:hover{text-decoration:underline}.code-box{display:block;position:relative;background:#fff;color:#111827;border:1px solid #e5e7eb;border-radius:10px;padding:12px 14px;margin:8px 0;overflow-x:auto}.code-box .code-text{display:block;font-size:14px;line-height:1.6;color:#111827}.code-box .code-text a{color:#059669}.code-box code{display:block;white-space:pre-wrap;overflow-wrap:break-word;word-break:break-word;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:13px;line-height:1.5}.code-copy{float:right;margin:0 0 6px 10px;padding:4px 12px;border:none;border-radius:8px;background:#059669;color:#fff;font-size:12px;font-weight:600}.code-copy:hover{background:#047857}.inline-code{background:#f3f4f6;border-radius:6px;padding:1px 6px;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.9em}.msg.user .inline-code{background:#d1fae5}.msg-list{margin:4px 0 4px 4px;padding-left:20px}.msg-list li{margin:2px 0}.msg.user{background:#ecfdf5;margin-left:80px}.msg.assistant{background:#fff;border:1px solid #e5e7eb}.typing{display:inline-flex;align-items:center;gap:8px;color:#6b7280;font-style:italic}.typing-text{animation:typing-pulse 1.2s ease-in-out infinite}@keyframes typing-pulse{0%,to{opacity:.5}50%{opacity:1}}.skel{border-radius:12px;background:linear-gradient(90deg,#eef1f0 25%,#e0e7e4,#eef1f0 75%);background-size:200% 100%;animation:skel-shimmer 1.2s ease-in-out infinite}@keyframes skel-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.skel-line{height:14px;margin:12px 8px}.skel-bubble{height:64px;margin-bottom:12px}.skel-bubble.skel-user{margin-left:80px}.skel-composer{flex:1;height:56px;border-radius:28px}.composer{display:flex;gap:10px;padding:16px 0 0;flex-shrink:0;background:#fafbfa;width:100%;max-width:100%;align-items:flex-start}.composer input{flex:1 1 0;min-width:0;min-height:56px;padding:16px 20px;border:1px solid #d1d5db;border-radius:28px;font-size:16px;outline:none}.composer .btn{flex-shrink:0;white-space:nowrap;margin-top:4px;padding:12px 22px}.composer .mic-btn{flex:0 0 48px;width:48px;height:48px;margin-top:4px;padding:0;border-radius:50%;border:1px solid #a7f3d0;background:#fff;color:#059669;display:flex;align-items:center;justify-content:center;transition:background .15s ease,color .15s ease,box-shadow .15s ease}.composer .mic-btn:hover{background:#ecfdf5}.composer .send-btn{flex:0 0 48px;width:48px;height:48px;margin-top:4px;padding:0;border-radius:50%;border:none;background:#059669;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease}.composer .send-btn:hover{background:#047857}.composer .send-btn svg{display:block}.composer .mic-btn svg{display:block}.composer .mic-btn.listening{background:#ef4444;border-color:#ef4444;color:#fff;animation:mic-pulse 1.2s ease-out infinite}.composer .voice-mode-btn{color:#059669}.voice-mode-bar{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:4px 8px 4px 16px;border:1px solid #a7f3d0;border-radius:28px;background:#ecfdf5}.voice-mode-dot{flex:0 0 12px;width:12px;height:12px;border-radius:50%;background:#059669;animation:mic-pulse 1.2s ease-out infinite}.voice-mode-dot.speaking{background:#047857;animation:speaking-pulse 1s ease-in-out infinite}.voice-mode-status{flex:1 1 0;min-width:0;font-size:15px;color:#065f46}.voice-mode-end{flex-shrink:0;padding:8px 14px}.voice-hint{margin:6px 4px 0;font-size:13px;color:#059669}.voice-hint.err{color:#dc2626}.speaking-ind{display:flex;align-items:center;gap:8px;margin:6px 4px 0;font-size:13px;color:#059669}.speaking-dot{width:8px;height:8px;border-radius:50%;background:#059669;animation:speaking-pulse 1s ease-in-out infinite}@keyframes speaking-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.75)}}.speaking-stop{padding:2px 10px;font-size:12px}@keyframes mic-pulse{0%{box-shadow:0 0 #ef444473}70%{box-shadow:0 0 0 10px #ef444400}to{box-shadow:0 0 #ef444400}}.btn{background:#059669;color:#fff;border:none;border-radius:24px;padding:10px 20px;font-size:15px}.btn.ghost{background:#fff;color:#374151;border:1px solid #d1d5db}.guest-banner{display:flex;align-items:center;gap:10px;background:#ecfdf5;color:#047857;border-radius:10px;padding:10px 12px;margin:0 0 8px;font-size:14px}.guest-banner-text{flex:1 1 auto;min-width:0}.guest-banner .btn{flex-shrink:0;white-space:nowrap;padding:8px 16px}@media (max-width: 560px){.guest-banner{flex-direction:column;align-items:stretch}.guest-banner .btn{width:100%;text-align:center}}.sidebar-guest{display:flex;flex-direction:column;gap:8px;padding:10px 12px 0}.sidebar .sidebar-guest .btn{width:100%;text-align:center;background:#059669;color:#fff;border:none;border-radius:24px;padding:10px 20px;font-size:15px}.sidebar .sidebar-guest .btn.ghost{background:#fff;color:#374151;border:1px solid #d1d5db}.sidebar .sidebar-guest .btn:hover{background:#047857;color:#fff}.sidebar .sidebar-guest .btn.ghost:hover{background:#f9fafb;color:#111827}.card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin-bottom:16px;max-width:900px}.card input,.card select{padding:10px;border:1px solid #d1d5db;border-radius:8px;margin:4px 8px 4px 0;font-size:15px}.sources a{color:#059669;font-size:13px;display:block}.auth{max-width:400px;margin:80px auto;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px}.auth input{display:block;width:100%;padding:12px;margin:8px 0;border:1px solid #d1d5db;border-radius:8px}.sidebar h1 img{max-width:100%;height:auto}.sidebar .brand{display:flex;align-items:center;justify-content:space-between;margin:4px 8px 16px}.sidebar .brand img{display:block;height:34px;width:auto;max-width:170px}.sidebar .close-btn{display:none;background:none;border:none;font-size:22px;color:#374151;padding:4px 8px;width:auto}.chats-section{margin-bottom:4px;position:relative;z-index:31}.new-chat-btn{font-weight:600;color:#059669!important}.chat-list{max-height:40vh;overflow-y:auto;overflow-x:hidden;margin:2px 0 6px}.chat-item{display:flex;align-items:center;gap:4px;padding:8px 12px;border-radius:8px;font-size:14px;color:#374151;cursor:pointer}.chat-item:hover{background:#ecfdf5}.chat-item.active{background:#ecfdf5;color:#059669;font-weight:600}.chat-item-title{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-item-del{width:auto!important;flex-shrink:0;background:none;border:none;color:#9ca3af;font-size:12px;padding:2px 6px!important}.chat-item-del:hover{color:#ef4444;background:none!important}.chat-list-empty{font-size:13px;color:#9ca3af;padding:2px 12px;margin:0}.hamburger{display:none;background:none;border:none;font-size:24px;color:#374151;padding:4px 8px;line-height:1}.drawer-backdrop{display:none}.topbar .brand-wrap{display:flex;align-items:center;gap:10px;min-width:0}.topbar .brand-wrap img{height:26px;width:auto;max-width:140px;flex-shrink:0}.view-title{font-size:15px;font-weight:700;color:#065f46;white-space:nowrap}.online{color:#059669;font-size:14px;white-space:nowrap;flex-shrink:0}.topbar-right{display:flex;align-items:center;gap:10px;min-width:0}.topbar .topbar-call-btn{flex:0 0 40px;width:40px;height:40px;padding:0;border-radius:50%;border:1px solid #a7f3d0;background:#fff;color:#059669;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease,color .15s ease}.topbar .topbar-call-btn:hover{background:#ecfdf5}.topbar .topbar-call-btn.active{background:#059669;border-color:#059669;color:#fff}.topbar .topbar-call-btn svg{display:block}@media (max-width: 768px){.hamburger{display:block}.sidebar{position:fixed;left:0;top:0;z-index:50;width:280px;max-width:85vw;height:100dvh;transform:translate(-105%);transition:transform .25s ease;box-shadow:0 0 24px #0000002e}.sidebar.open{transform:translate(0)}.sidebar .close-btn{display:block}.drawer-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#0006;border:none;padding:0}.topbar{padding:0 12px;height:56px;gap:8px}.content{padding:16px 12px}.chat{max-width:100%}.msg{padding:12px 14px;margin-bottom:10px;font-size:15px}.msg.user{margin-left:24px}.msg.assistant{margin-right:8px}.composer{gap:6px;padding:10px 0 0}.composer input{min-width:0;padding:14px 16px;font-size:16px;min-height:52px;border-radius:28px}.composer .btn{padding:10px 14px;white-space:nowrap}.composer .mic-btn,.composer .send-btn{flex-basis:44px;width:44px;height:44px}.sources{margin-top:8px}.sources a{padding:2px 0}.auth{margin:40px 16px}.card input,.card select{width:100%;margin:4px 0}}.receipt{border:1px dashed #a7f3d0;border-radius:12px;background:#f0fdf4;padding:14px 16px;margin-top:12px}.receipt h4{margin:0 0 8px;color:#065f46}.receipt p{margin:4px 0;font-size:14px}.privacy{max-width:720px;margin:40px auto;padding:24px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;line-height:1.7}.privacy h1{font-size:26px;margin:0 0 8px}.privacy h2{font-size:18px;margin:24px 0 6px;color:#065f46}.privacy p{margin:6px 0}.privacy a{color:#059669}@media (max-width: 768px){.privacy{margin:16px 12px;padding:18px 16px}}.status-badge{display:inline-block;border-radius:12px;padding:2px 10px;font-size:13px;font-weight:600}.status-wrap{position:relative;display:inline-block}.action-thinking{display:inline-flex;vertical-align:-4px;margin-right:6px}.status-badge.planning,.status-badge.running{background:#fef3c7;color:#92400e}.status-badge.needs-confirmation{background:#fee2e2;color:#991b1b}.status-badge.done{background:#ecfdf5;color:#059669}.status-badge.failed{background:#fee2e2;color:#991b1b}.status-badge.cancelled{background:#f3f4f6;color:#6b7280}.action-step{padding:6px 0;border-top:1px solid #f3f4f6;font-size:14px;line-height:1.5;overflow-wrap:break-word}.action-step .ok{color:#059669;font-weight:600}.action-step .bad{color:#dc2626;font-weight:600}.action-step .skip{color:#6b7280;font-weight:600}.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:16px;max-width:900px}.plan-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px 16px;display:flex;flex-direction:column}.plan-card.current{border-color:#059669;box-shadow:0 0 0 1px #059669}.plan-card h3{margin:0 0 8px;font-size:18px}.plan-price{font-size:26px;font-weight:800;color:#065f46;margin:0 0 12px}.plan-price span{font-size:14px;font-weight:400;color:#6b7280}.plan-features{list-style:none;margin:0 0 16px;padding:0;flex:1}.plan-features li{padding:4px 0 4px 20px;position:relative;font-size:14px;color:#374151}.plan-features li:before{content:"✓";position:absolute;left:0;color:#059669;font-weight:700}.plan-card .btn{width:100%}.splash{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#fafbfa;display:flex;align-items:center;justify-content:center;animation:splash-out 1.9s ease forwards}.splash-inner{display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px}.splash-stage{position:relative;width:168px;height:168px;display:flex;align-items:center;justify-content:center}.splash-flash{position:absolute;left:50%;top:50%;width:220px;height:220px;margin:-110px 0 0 -110px;border-radius:50%;background:radial-gradient(circle,rgba(5,150,105,.35) 0%,rgba(5,150,105,.12) 45%,transparent 70%);animation:splash-flash 1.9s ease-out forwards}.splash-cape-wrap{position:relative;width:96px;height:96px;animation:splash-lift 1.9s ease-in-out forwards}.splash-cape{position:absolute;left:-14px;top:-14px;width:124px;height:124px;opacity:0;animation:splash-cape 1.9s ease-in-out forwards}.splash-bolt{position:relative;z-index:1;display:block;animation:splash-bolt 1.9s ease-in-out forwards}.splash-sparkles{position:absolute;top:0;right:0;bottom:0;left:0;color:#059669}.splash-sparkles .sp{position:absolute;animation:splash-spark 1.9s ease-out forwards}.splash-sparkles .sp1{left:8px;top:12px;--dx: -28px;--dy: -20px}.splash-sparkles .sp2{right:6px;top:24px;--dx: 28px;--dy: -16px}.splash-sparkles .sp3{left:0;top:76px;--dx: -32px;--dy: 8px;color:#f59e0b}.splash-sparkles .sp4{right:2px;top:70px;--dx: 32px;--dy: 12px}.splash-sparkles .sp5{left:76px;bottom:2px;--dx: 6px;--dy: 28px}.splash-word{font-size:34px;font-weight:800;color:#065f46;letter-spacing:-1px;animation:splash-fadein 1.9s ease forwards}.splash-sub{font-size:14px;color:#6b7280;animation:splash-sub 1.9s ease forwards}.splash-skip{position:absolute;bottom:28px;left:50%;transform:translate(-50%);background:none;border:1px solid #d1d5db;color:#6b7280;border-radius:20px;padding:8px 18px;font-size:13px}.splash-skip:hover{background:#fff;color:#059669;border-color:#059669}@keyframes splash-bolt{0%{transform:scale(1);filter:drop-shadow(0 0 0 rgba(5,150,105,0))}20%{transform:scale(1.05);filter:drop-shadow(0 0 10px rgba(5,150,105,.45))}40%{transform:scale(1.08);filter:drop-shadow(0 0 18px rgba(5,150,105,.65))}48%{transform:scale(1.12);filter:brightness(1.7) drop-shadow(0 0 28px rgba(5,150,105,.9))}60%{transform:scale(1.05);filter:drop-shadow(0 0 12px rgba(5,150,105,.5))}to{transform:scale(1);filter:drop-shadow(0 0 6px rgba(5,150,105,.25))}}@keyframes splash-lift{0%,42%{transform:translateY(0) rotate(0)}55%{transform:translateY(-12px) rotate(-2deg)}75%{transform:translateY(-4px) rotate(0)}to{transform:translateY(0) rotate(0)}}@keyframes splash-cape{0%,42%{opacity:0;transform:scale(.85)}55%{opacity:1;transform:scale(1.03)}70%{opacity:1;transform:scale(1)}88%,to{opacity:0;transform:scale(.95)}}@keyframes splash-flash{0%,30%{opacity:0;transform:scale(.7)}45%{opacity:.9;transform:scale(1.1)}60%,to{opacity:0;transform:scale(1.2)}}@keyframes splash-spark{0%{opacity:0;transform:translate(0) scale(.3) rotate(0)}25%{opacity:1;transform:translate(calc(var(--dx) * .35),calc(var(--dy) * .35)) scale(1) rotate(45deg)}50%{opacity:1;transform:translate(var(--dx),var(--dy)) scale(1.15) rotate(90deg)}75%{opacity:0;transform:translate(calc(var(--dx) * 1.5),calc(var(--dy) * 1.5)) scale(.5) rotate(135deg)}to{opacity:0;transform:translate(calc(var(--dx) * 1.5),calc(var(--dy) * 1.5)) scale(.5) rotate(135deg)}}@keyframes splash-fadein{0%,15%{opacity:0;transform:translateY(6px)}35%,to{opacity:1;transform:translateY(0)}}@keyframes splash-sub{0%,30%{opacity:0}50%,to{opacity:1}}@keyframes splash-out{0%,86%{opacity:1}to{opacity:0}}.think-bolt{position:relative;display:inline-flex;flex-shrink:0;border-radius:6px;overflow:hidden}.think-bolt-core{display:block;animation:think-glow 1.6s ease-in-out infinite}.think-bolt:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:6px;background:linear-gradient(115deg,transparent 40%,rgba(255,255,255,.5) 50%,transparent 60%);background-size:250% 100%;animation:think-shimmer 2.6s ease-in-out infinite;pointer-events:none}.think-orbit{position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px;animation:think-orbit 2.6s linear infinite;pointer-events:none}.think-orbit.o2{top:-10px;right:-10px;bottom:-10px;left:-10px;animation-duration:2.1s;animation-direction:reverse}.think-orbit.o3{top:-9px;right:-9px;bottom:-9px;left:-9px;animation-duration:3.1s}.think-sp,.think-sp-amber{position:absolute;top:0;left:50%;transform:translate(-50%);color:#059669}.think-sp-amber{color:#f59e0b}@keyframes think-glow{0%,to{filter:drop-shadow(0 0 2px rgba(5,150,105,.25));transform:scale(1)}50%{filter:drop-shadow(0 0 8px rgba(5,150,105,.55));transform:scale(1.06)}}@keyframes think-orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes think-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.burst{position:absolute;left:50%;top:40%;width:0;height:0;pointer-events:none;z-index:2}.burst-sp{position:absolute;left:0;top:0;animation:burst-fly .9s ease-out forwards}.burst-sp.b0{--dx: -34px;--dy: -30px;color:#059669}.burst-sp.b1{--dx: 30px;--dy: -34px;color:#059669}.burst-sp.b2{--dx: -38px;--dy: 6px;color:#f59e0b}.burst-sp.b3{--dx: 36px;--dy: 10px;color:#059669}.burst-sp.b4{--dx: -12px;--dy: -42px;color:#059669}.burst-sp.b5{--dx: 14px;--dy: 38px;color:#059669}@keyframes burst-fly{0%{opacity:1;transform:translate(-50%,-50%) scale(.3) rotate(0)}to{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(1.1) rotate(120deg)}}.logo-replay{display:flex;align-items:center;background:none;border:none;padding:0}.logo-replay img{height:26px;width:auto;max-width:140px;flex-shrink:0}@media (prefers-reduced-motion: reduce){.splash,.splash-bolt,.splash-cape,.splash-flash,.splash-sparkles .sp,.splash-word,.splash-sub,.think-bolt-core,.think-orbit,.think-bolt:after,.burst-sp,.typing-text{animation:none!important}.splash-cape,.splash-flash,.splash-sparkles,.burst{display:none!important}}.atts{display:flex;flex-direction:column;gap:8px;margin:6px 0}.att img,.att video{display:block;max-height:320px;object-fit:contain;background:#f3f4f6}.att-name{font-size:12px;color:#6b7280;margin-top:4px;overflow-wrap:anywhere}.att-status{font-size:12px;color:#059669;margin-top:2px}.att-doc{display:inline-block;padding:8px 12px;border:1px solid #d1d5db;border-radius:10px;background:#fff;color:#059669;text-decoration:none;font-size:14px;overflow-wrap:anywhere}.pending-files{display:flex;flex-wrap:wrap;gap:6px;padding:8px 0 0}.pending-file{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid #a7f3d0;border-radius:999px;background:#ecfdf5;color:#065f46;font-size:13px;max-width:100%;overflow-wrap:anywhere}.pending-file button{border:0;background:none;color:#065f46;cursor:pointer;font-size:16px;line-height:1;padding:0 2px}.chat-item{position:relative}.chat-item-menu{opacity:0;flex:0 0 auto;border:0;background:none;color:#6b7280;cursor:pointer;font-size:16px;line-height:1;padding:2px 6px;border-radius:6px;letter-spacing:1px}.chat-item:hover .chat-item-menu,.chat-item-menu:focus-visible{opacity:1;background:#e5e7eb}.chat-item .chat-item-menu{display:inline-flex;align-items:center;justify-content:center;width:auto;padding:2px 6px;border-radius:6px;font-size:16px;color:#6b7280}.project-header .project-del{width:auto;padding:2px 4px;border-radius:6px;font-size:12px;color:#9ca3af}.sidebar .chat-menu-newproj button{width:auto;flex:0 0 auto}@media (hover: none){.chat-item-menu{opacity:1}}.chat-mark{flex:0 0 auto;display:inline-flex;color:#059669}.chat-rename{flex:1 1 0;min-width:0;border:1px solid #059669;border-radius:6px;padding:2px 6px;font-size:14px;outline:none}.chat-menu{position:fixed;z-index:100;min-width:190px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 8px 24px #00000024;padding:6px;display:flex;flex-direction:column}.chat-menu>button{text-align:left;border:0;background:none;cursor:pointer;padding:8px 10px;border-radius:8px;font-size:14px;color:#111827}.chat-menu>button:hover{background:#f3f4f6}.chat-menu>button.danger{color:#dc2626}.chat-menu-sub{border-top:1px solid #f3f4f6;margin-top:4px;padding-top:4px;display:flex;flex-direction:column}.chat-menu-sub>button{text-align:left;border:0;background:none;cursor:pointer;padding:7px 10px;border-radius:8px;font-size:13px;color:#374151;overflow-wrap:anywhere}.chat-menu-sub>button:hover{background:#f3f4f6}.chat-menu-newproj{display:flex;gap:6px;padding:6px 4px 2px}.chat-menu-newproj input{flex:1 1 0;min-width:0;border:1px solid #d1d5db;border-radius:8px;padding:6px 8px;font-size:13px;outline:none}.chat-menu-newproj button{border:0;background:#059669;color:#fff;border-radius:8px;padding:6px 10px;cursor:pointer;font-size:13px}.menu-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:transparent;border:0;cursor:default}.project-group{margin:2px 0 6px}.project-header{display:flex;align-items:center;gap:6px;padding:6px 8px 2px}.project-name{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;cursor:pointer;overflow-wrap:anywhere;flex:1 1 0;min-width:0}.project-count{font-size:11px;color:#9ca3af}.team-tag{font-size:11px;color:#059669;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:999px;padding:1px 7px;margin-left:6px;white-space:nowrap;flex:0 0 auto}.project-del{border:0;background:none;color:#9ca3af;cursor:pointer;font-size:12px;padding:2px 4px;border-radius:6px}.project-del:hover{color:#dc2626;background:#fef2f2}.new-project-btn,.archived-toggle{display:block;width:100%;text-align:left;border:0;background:none;cursor:pointer;color:#6b7280;font-size:13px;padding:6px 10px;border-radius:8px}.new-project-btn:hover,.archived-toggle:hover{background:#f3f4f6;color:#111827}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:50}.modal{background:#fff;border-radius:16px;padding:24px;max-width:420px;width:calc(100% - 32px);box-shadow:0 12px 40px #0003}.modal input{border:1px solid #d1d5db;border-radius:10px;padding:10px 12px;font-size:14px;outline:none}.modal-actions{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}.toasts{position:fixed;bottom:24px;left:50%;transform:translate(-50%);z-index:200;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none}.toast{background:#111827;color:#fff;border-radius:24px;padding:10px 18px;font-size:14px;box-shadow:0 8px 24px #0003;max-width:calc(100vw - 32px);overflow-wrap:anywhere}
