*{margin:0;-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;height:100%}body{overflow-x:hidden;font-size:16px}uni-app,uni-page,uni-page-wrapper,uni-page-body{display:block;box-sizing:border-box;width:100%}uni-page-wrapper{position:relative}#app,uni-app,uni-page,uni-page-wrapper{height:100%}.uni-mask{position:fixed;z-index:999;top:0;right:0;left:0;bottom:0;background:rgba(0,0,0,.5)}.uni-fade-enter-active,.uni-fade-leave-active{transition-duration:.25s;transition-property:opacity;transition-timing-function:ease}.uni-fade-enter-from,.uni-fade-leave-active{opacity:0}.uni-loading,uni-button[loading]:before{background-color:transparent;background-image:url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=);background-repeat:no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}html{--primary-color: #007aff;--UI-BG: #fff;--UI-BG-1: #f7f7f7;--UI-BG-2: #fff;--UI-BG-3: #f7f7f7;--UI-BG-4: #4c4c4c;--UI-BG-5: #fff;--UI-FG: #000;--UI-FG-0: rgba(0, 0, 0, .9);--UI-FG-HALF: rgba(0, 0, 0, .9);--UI-FG-1: rgba(0, 0, 0, .5);--UI-FG-2: rgba(0, 0, 0, .3);--UI-FG-3: rgba(0, 0, 0, .1)}uni-page[data-type] uni-page-body{background-color:transparent}body:after{position:fixed;content:"";left:-1000px;top:-1000px;animation:shadow-preload .1s;animation-delay:3s}@keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}to{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}.uni-async-error{position:absolute;left:0;right:0;top:0;bottom:0;color:#999;padding:100px 10px;text-align:center}.uni-async-loading{box-sizing:border-box;width:100%;padding:50px;text-align:center}.uni-async-loading .uni-loading{width:30px;height:30px}:root,[data-theme=warm-dark]{--bg-backdrop: #0d0c0b;--bg-topbar: #161513;--bg-sidebar: #1e1d1b;--bg-sidebar-hover: #272522;--bg-sidebar-active: #302e2a;--bg-chat: #1b1a18;--bg-surface: #23221f;--bg-input: #262523;--bg-field: #171614;--bg-bubble-agent: #2a2926;--bg-bubble-user: #375d2b;--border-bubble-user: #447136;--text-user-bubble: #f4f7f1;--accent: #ea7135;--accent-hover: #f38148;--accent-soft: rgba(234, 113, 53, .16);--accent-glow: rgba(234, 113, 53, .22);--tag-gold: #f3c88b;--border-subtle: #2b2926;--border-strong: #3d3934;--text-primary: #eceae5;--text-secondary: #a7a39b;--text-muted: #6f6b63;--status-online: #3ec96b;--status-busy: #f0a43b;--status-dnd: #e05a5a;--danger: #e25c5c;--success: #45b96b;--shadow-lg: 0 22px 60px rgba(0, 0, 0, .62);--shadow-md: 0 10px 28px rgba(0, 0, 0, .45)}[data-theme=ocean-dark]{--bg-backdrop: #090d14;--bg-topbar: #0d121c;--bg-sidebar: #131a29;--bg-sidebar-hover: #1b2438;--bg-sidebar-active: #222e47;--bg-chat: #111827;--bg-surface: #182235;--bg-input: #1c273d;--bg-field: #0f1522;--bg-bubble-agent: #1d283e;--bg-bubble-user: #1e40af;--border-bubble-user: #2563eb;--text-user-bubble: #eff6ff;--accent: #38bdf8;--accent-hover: #7dd3fc;--accent-soft: rgba(56, 189, 248, .15);--accent-glow: rgba(56, 189, 248, .22);--tag-gold: #93c5fd;--border-subtle: #202c44;--border-strong: #2d3c5c;--text-primary: #e8eef9;--text-secondary: #98a7c2;--text-muted: #64748b;--status-online: #34d399;--status-busy: #fbbf24;--status-dnd: #f87171;--danger: #f87171;--success: #34d399;--shadow-lg: 0 22px 60px rgba(2, 6, 23, .72);--shadow-md: 0 10px 28px rgba(2, 6, 23, .5)}[data-theme=forest-dark]{--bg-backdrop: #0a100d;--bg-topbar: #0f1613;--bg-sidebar: #151f1b;--bg-sidebar-hover: #1c2a24;--bg-sidebar-active: #23352e;--bg-chat: #131c18;--bg-surface: #1a2621;--bg-input: #1e2d27;--bg-field: #101714;--bg-bubble-agent: #213029;--bg-bubble-user: #166534;--border-bubble-user: #22c55e;--text-user-bubble: #f0fdf4;--accent: #22c55e;--accent-hover: #4ade80;--accent-soft: rgba(34, 197, 94, .16);--accent-glow: rgba(34, 197, 94, .2);--tag-gold: #86efac;--border-subtle: #22312a;--border-strong: #2f433a;--text-primary: #e7f0eb;--text-secondary: #97aba0;--text-muted: #607569;--status-online: #4ade80;--status-busy: #facc15;--status-dnd: #f87171;--danger: #f87171;--success: #4ade80;--shadow-lg: 0 22px 60px rgba(0, 0, 0, .65);--shadow-md: 0 10px 28px rgba(0, 0, 0, .45)}[data-theme=violet-dark]{--bg-backdrop: #0b0a12;--bg-topbar: #12101b;--bg-sidebar: #1a1728;--bg-sidebar-hover: #231f36;--bg-sidebar-active: #2b2542;--bg-chat: #171424;--bg-surface: #201c31;--bg-input: #242038;--bg-field: #13101e;--bg-bubble-agent: #27223c;--bg-bubble-user: #5b21b6;--border-bubble-user: #7c3aed;--text-user-bubble: #f5f3ff;--accent: #a855f7;--accent-hover: #c084fc;--accent-soft: rgba(168, 85, 247, .16);--accent-glow: rgba(168, 85, 247, .24);--tag-gold: #d8b4fe;--border-subtle: #2a2440;--border-strong: #3b3358;--text-primary: #f0ecf8;--text-secondary: #a89fc0;--text-muted: #6f6789;--status-online: #34d399;--status-busy: #fbbf24;--status-dnd: #fb7185;--danger: #fb7185;--success: #34d399;--shadow-lg: 0 22px 60px rgba(6, 4, 16, .72);--shadow-md: 0 10px 28px rgba(6, 4, 16, .5)}[data-theme=warm-light]{--bg-backdrop: #ece8df;--bg-topbar: #ffffff;--bg-sidebar: #f6f4ef;--bg-sidebar-hover: #ece8e0;--bg-sidebar-active: #e3ded4;--bg-chat: #fbfaf7;--bg-surface: #ffffff;--bg-input: #ffffff;--bg-field: #f6f4ef;--bg-bubble-agent: #ffffff;--bg-bubble-user: #2f6b3c;--border-bubble-user: #275b32;--text-user-bubble: #ffffff;--accent: #e06227;--accent-hover: #c9521b;--accent-soft: rgba(224, 98, 39, .11);--accent-glow: rgba(224, 98, 39, .16);--tag-gold: #b45309;--border-subtle: #e5e0d6;--border-strong: #d3ccc0;--text-primary: #1c1917;--text-secondary: #57534e;--text-muted: #8c857d;--status-online: #16a34a;--status-busy: #d97706;--status-dnd: #dc2626;--danger: #dc2626;--success: #16a34a;--shadow-lg: 0 20px 50px rgba(28, 25, 23, .14);--shadow-md: 0 8px 22px rgba(28, 25, 23, .09)}*{box-sizing:border-box;margin:0;padding:0}html,body{width:100%;height:100%;overflow:hidden;background:var(--bg-backdrop);color:var(--text-primary);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Segoe UI,Roboto,sans-serif;font-size:13.5px;line-height:1.5;-webkit-font-smoothing:antialiased}.crewchat-root uni-button,.crewchat-root uni-input,.crewchat-root uni-textarea{font-family:inherit;color:inherit}.crewchat-root uni-button{background:none;border:none;cursor:pointer}.crewchat-root .hidden{display:none!important}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:rgba(148,163,184,.25);border-radius:999px}::-webkit-scrollbar-thumb:hover{background:rgba(148,163,184,.42)}.crewchat-root .login-screen{position:relative;width:100%;height:100%;overflow-y:auto;background:var(--bg-chat) url(/static/brand/login-page-bg.jpg) center / cover no-repeat fixed;display:flex;align-items:center;justify-content:center;padding:56px 20px 28px}.crewchat-root .login-ambient-glow{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;background:transparent}.crewchat-root .login-theme-bar{position:fixed;top:14px;right:16px;z-index:30;padding:5px 10px;border-radius:999px;background:var(--bg-surface);border:1px solid var(--border-strong);box-shadow:var(--shadow-md);display:flex;align-items:center;gap:7px}.crewchat-root .login-theme-label{font-size:11px;color:var(--text-secondary);margin-right:2px}.crewchat-root .login-theme-divider{width:1px;height:13px;background:var(--border-strong);margin:0 2px}.crewchat-root .shop-pill-btn{margin:0;padding:2px 8px;border-radius:999px;font-size:11.5px;font-weight:600;color:var(--accent);background:var(--accent-soft);line-height:1.4}.crewchat-root .shop-pill-btn:hover{opacity:.88}.crewchat-root .shop-topbar-btn{color:var(--accent)}.crewchat-root .theme-dot{width:15px;height:15px;border-radius:50%;background:var(--dot);border:1.5px solid var(--ring, rgba(255, 255, 255, .25));transition:transform .14s ease,box-shadow .14s ease}.crewchat-root .theme-dot:hover{transform:scale(1.15)}.crewchat-root .theme-dot.active{box-shadow:0 0 0 2px var(--bg-surface),0 0 0 3.5px var(--accent)}.crewchat-root .code-inbox-toast{position:fixed;top:56px;right:16px;width:286px;z-index:50;background:var(--bg-surface);border:1px solid var(--accent);border-radius:12px;padding:11px 13px;box-shadow:var(--shadow-lg);animation:popIn .18s ease-out}@keyframes popIn{0%{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.crewchat-root .code-inbox-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.crewchat-root .code-inbox-provider{font-size:12px;font-weight:600;color:var(--accent)}.crewchat-root .code-inbox-close{font-size:15px;color:var(--text-muted);padding:0 4px}.crewchat-root .code-inbox-target{font-size:11.5px;color:var(--text-secondary);margin-bottom:7px;word-break:break-all}.crewchat-root .code-inbox-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12.5px}.crewchat-root .code-inbox-digits{font-size:16px;letter-spacing:2px;color:var(--text-primary)}.crewchat-root .code-autofill-btn{padding:4px 10px;border-radius:7px;background:var(--accent);color:#fff;font-size:11.5px;font-weight:600}.crewchat-root .code-autofill-btn:hover{background:var(--accent-hover)}.crewchat-root .login-shell{position:relative;z-index:10;width:100%;max-width:1180px;display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:28px;align-items:center}.crewchat-root .login-showcase{background:var(--bg-sidebar);border:1px solid var(--border-subtle);border-radius:18px;padding:28px;display:flex;flex-direction:column;justify-content:space-between;gap:18px;box-shadow:var(--shadow-lg)}.crewchat-root .login-showcase.login-showcase-image-card{padding:0;overflow:hidden;display:block;width:100%;aspect-ratio:16 / 9;border-radius:20px}.crewchat-root .login-showcase-hero-img{width:100%;height:100%;display:block}.crewchat-root .login-showcase-hero-img img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}.crewchat-root .login-brand-row{display:flex;align-items:center;gap:9px}.crewchat-root .login-brand-name{font-size:18px;font-weight:700;letter-spacing:.2px}.crewchat-root .login-version-tag{font-size:11px;font-weight:600;padding:2px 7px;border-radius:999px;background:var(--accent-soft);color:var(--accent)}.crewchat-root .login-headline{font-size:27px;font-weight:700;line-height:1.25}.crewchat-root .login-subline{font-size:13px;color:var(--text-secondary);line-height:1.6}.crewchat-root .login-avatar-cluster{display:flex;flex-wrap:wrap;gap:9px;padding:12px 14px;border-radius:13px;background:var(--bg-chat);border:1px solid var(--border-subtle)}.crewchat-root .showcase-agent-pill{display:inline-flex;align-items:center;gap:7px;padding:4px 9px 4px 4px;border-radius:999px;background:var(--bg-surface);border:1px solid var(--border-subtle);font-size:11.5px;font-weight:500}.crewchat-root .showcase-agent-pill svg{width:22px;height:22px;border-radius:50%;display:block}.crewchat-root .login-highlights{display:flex;flex-direction:column;gap:11px}.crewchat-root .highlight-item{display:flex;align-items:flex-start;gap:10px;font-size:12.5px}.crewchat-root .highlight-item strong{display:block;font-size:13px;margin-bottom:1px}.crewchat-root .highlight-item .highlight-description{color:var(--text-secondary);font-size:12px}.crewchat-root .highlight-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);margin-top:6px;flex-shrink:0;box-shadow:0 0 0 4px var(--accent-soft)}.crewchat-root .login-card{background:var(--bg-surface);border:1px solid var(--border-strong);border-radius:18px;padding:24px 24px 20px;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;gap:14px}.crewchat-root .login-card-mobile-head{display:none;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--border-subtle)}.crewchat-root .login-mobile-avatars{display:flex;align-items:center}.crewchat-root .login-mobile-avatars span{width:24px;height:24px;border-radius:50%;overflow:hidden;border:2px solid var(--bg-surface);margin-left:-6px}.crewchat-root .login-mobile-avatars span:first-child{margin-left:0}.crewchat-root .login-mobile-avatars svg{width:100%;height:100%;display:block}.crewchat-root .auth-primary-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;border-radius:10px;background:var(--bg-field);border:1px solid var(--border-subtle)}.crewchat-root .auth-primary-tab{display:inline-flex;align-items:center;justify-content:center;height:32px;border-radius:7px;font-size:13px;font-weight:600;color:var(--text-secondary)}.crewchat-root .auth-primary-tab.active{background:var(--accent);color:#fff}.crewchat-root .login-card-header h2{font-size:18px;font-weight:700;margin-bottom:2px}.crewchat-root .login-card-header .login-card-description{font-size:12.5px;color:var(--text-secondary)}.crewchat-root .auth-channel-tabs{display:flex;gap:6px;flex-wrap:wrap}.crewchat-root .auth-channel-tab{padding:5px 11px;border-radius:999px;background:var(--bg-field);border:1px solid var(--border-subtle);font-size:12px;color:var(--text-secondary)}.crewchat-root .auth-channel-tab.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent);font-weight:600}.crewchat-root .login-form{display:flex;flex-direction:column;gap:11px}.crewchat-root .field-label-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.crewchat-root .field-label-row .field-label{margin-bottom:0}.crewchat-root .provider-badge{font-size:10.5px;font-weight:600;padding:1px 7px;border-radius:999px}.crewchat-root .provider-badge.google{background:rgba(66,133,244,.16);color:#60a5fa}.crewchat-root .provider-badge.netease{background:rgba(216,30,6,.16);color:#f87171}.crewchat-root .provider-badge.other{background:var(--accent-soft);color:var(--accent)}.crewchat-root .domain-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.crewchat-root .domain-chip{padding:2px 8px;border-radius:6px;background:var(--bg-field);border:1px solid var(--border-subtle);font-size:11px;color:var(--text-secondary)}.crewchat-root .domain-chip:hover{border-color:var(--accent);color:var(--accent)}.crewchat-root .phone-input-wrap{display:flex;align-items:center}.crewchat-root .phone-prefix{height:36px;padding:0 10px;border-radius:8px 0 0 8px;background:var(--bg-sidebar);border:1px solid var(--border-strong);border-right:none;font-size:12.5px;font-weight:600;color:var(--text-secondary);display:inline-flex;align-items:center}.crewchat-root .phone-input{border-radius:0 8px 8px 0!important}.crewchat-root .code-input-row{display:flex;gap:8px}.crewchat-root .code-input{flex:1;letter-spacing:2px;font-weight:600}.crewchat-root .send-code-btn{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 12px;border-radius:8px;background:var(--accent-soft);border:1px solid var(--accent);color:var(--accent);font-size:12px;font-weight:600;white-space:nowrap;flex-shrink:0}.crewchat-root .send-code-btn:hover:not(:disabled){background:var(--accent);color:#fff}.crewchat-root .send-code-btn:disabled{opacity:.55;cursor:not-allowed;background:var(--accent-soft);color:var(--accent)}.crewchat-root .password-input-wrap{position:relative}.crewchat-root .password-eye-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:13px;padding:3px 5px;color:var(--text-muted)}.crewchat-root .password-strength{font-size:11px;font-weight:600}.crewchat-root .terms-row{display:flex;align-items:center;gap:7px;font-size:11.5px;color:var(--text-secondary);cursor:pointer}.crewchat-root .terms-row uni-input{accent-color:var(--accent)}.crewchat-root .login-error{padding:7px 10px;border-radius:8px;background:rgba(226,92,92,.14);border:1px solid rgba(226,92,92,.38);color:var(--danger);font-size:12px}.crewchat-root .login-submit-btn{height:40px;border-radius:10px;background:var(--accent);color:#fff;font-size:13.5px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 6px 18px var(--accent-glow);transition:background-color .15s ease,transform .1s ease}.crewchat-root .login-submit-btn:hover{background:var(--accent-hover)}.crewchat-root .login-submit-btn:active{transform:scale(.985)}.crewchat-root .quick-providers-divider{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--text-muted);margin-bottom:8px}.crewchat-root .quick-providers-divider:before,.crewchat-root .quick-providers-divider:after{content:"";flex:1;height:1px;background:var(--border-subtle)}.crewchat-root .quick-providers-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.crewchat-root .quick-provider-btn{height:34px;padding:0 10px;border-radius:8px;background:var(--bg-field);border:1px solid var(--border-subtle);font-size:12px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:7px}.crewchat-root .quick-provider-btn:hover{border-color:var(--accent);background:var(--accent-soft)}.crewchat-root .g-dot,.crewchat-root .wy-dot{width:18px;height:18px;border-radius:50%;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;color:#fff}.crewchat-root .g-dot{background:linear-gradient(135deg,#4285f4,#34a853)}.crewchat-root .wy-dot{background:#d81e06}.crewchat-root .login-footer-actions{display:flex;align-items:center;justify-content:space-between;padding-top:6px;border-top:1px solid var(--border-subtle)}.crewchat-root .auth-text-link{font-size:12px;color:var(--accent);font-weight:500}.crewchat-root .auth-text-link.muted{color:var(--text-secondary)}.crewchat-root .auth-text-link:hover{text-decoration:underline}@media (max-width: 859px){.crewchat-root .login-screen{align-items:flex-start;padding-top:56px}.crewchat-root .login-shell{grid-template-columns:1fr;max-width:440px}.crewchat-root .login-showcase{display:none}.crewchat-root .login-card-mobile-head{display:flex}}body.mode-maximized{padding:0}body.mode-restored{padding:20px;display:flex;align-items:center;justify-content:center}.crewchat-root .app-window{width:100%;height:100%;display:flex;flex-direction:column;background:var(--bg-chat);overflow:hidden}body.mode-restored .app-window{max-width:1260px;max-height:840px;border-radius:12px;border:1px solid var(--border-strong);box-shadow:var(--shadow-lg)}.crewchat-root .topbar{height:48px;flex-shrink:0;background:var(--bg-topbar);border-bottom:1px solid var(--border-subtle);padding:0 10px 0 14px;display:flex;align-items:center;justify-content:space-between;gap:8px;z-index:25}.crewchat-root .topbar-left{display:flex;align-items:center;gap:8px;flex-shrink:0;white-space:nowrap}.crewchat-root .brand-logo{display:inline-flex;align-items:center;justify-content:center}.crewchat-root .brand-title{font-size:14px;font-weight:700;letter-spacing:.2px}.crewchat-root .topnav-tabs{display:flex;align-items:center;gap:3px;padding:3px;border-radius:9px;background:var(--bg-sidebar);border:1px solid var(--border-subtle);min-width:0;overflow-x:auto}.crewchat-root .topnav-tab{height:28px;padding:0 10px;border-radius:6px;font-size:12.5px;font-weight:500;color:var(--text-secondary);display:inline-flex;align-items:center;gap:5px;white-space:nowrap;flex-shrink:0}.crewchat-root .topnav-tab:hover{color:var(--text-primary);background:var(--bg-sidebar-hover)}.crewchat-root .topnav-tab.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.crewchat-root .nav-badge{min-width:15px;height:15px;padding:0 4px;border-radius:999px;background:var(--accent);color:#fff;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.crewchat-root .topbar-right{display:flex;align-items:center;gap:7px;flex-shrink:0;white-space:nowrap}.crewchat-root .theme-picker-wrap,.crewchat-root .user-status-wrap{position:relative}.crewchat-root .theme-trigger-btn{height:28px;padding:0 9px;border-radius:999px;background:var(--bg-sidebar);border:1px solid var(--border-subtle);font-size:12px;color:var(--text-secondary);display:inline-flex;align-items:center;gap:6px}.crewchat-root .theme-trigger-btn:hover{border-color:var(--accent);color:var(--text-primary)}.crewchat-root .theme-swatch-dot{width:9px;height:9px;border-radius:50%;background:var(--accent)}.crewchat-root .theme-popover{top:calc(100% + 8px);right:0;width:214px}.crewchat-root .theme-list{display:flex;flex-direction:column;gap:3px}.crewchat-root .theme-option{width:100%;padding:7px 9px;border-radius:7px;display:flex;align-items:center;justify-content:space-between;font-size:12.5px;color:var(--text-primary)}.crewchat-root .theme-option:hover{background:var(--bg-sidebar-hover)}.crewchat-root .theme-option.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.crewchat-root .theme-preview-dots{display:inline-flex;gap:4px;align-items:center}.crewchat-root .theme-preview-dots span{width:10px;height:10px;border-radius:50%;border:1px solid rgba(128,128,128,.3)}.crewchat-root .topbar-user-btn{position:relative;width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center}.crewchat-root .topbar-user-avatar{width:28px;height:28px;border-radius:50%;overflow:hidden;border:1.5px solid var(--border-strong)}.crewchat-root .status-dot{position:absolute;right:0;bottom:0;width:9px;height:9px;border-radius:50%;border:2px solid var(--bg-topbar)}.crewchat-root .status-online{background:var(--status-online)}.crewchat-root .status-busy{background:var(--status-busy)}.crewchat-root .status-dnd{background:var(--status-dnd)}.crewchat-root .status-dot-inline{width:8px;height:8px;border-radius:50%;flex-shrink:0}.crewchat-root .window-controls{display:flex;align-items:center;gap:2px}.crewchat-root .win-btn{width:26px;height:24px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;color:var(--text-secondary)}.crewchat-root .win-btn:hover{background:var(--bg-sidebar-hover);color:var(--text-primary)}.crewchat-root .win-btn-close:hover{background:#c9413b;color:#fff}.crewchat-root .chat-workspace{flex:1;min-height:0;display:flex}.crewchat-root .left-sidebar{width:276px;flex-shrink:0;background:var(--bg-sidebar);border-right:1px solid var(--border-subtle);display:flex;flex-direction:column;min-height:0}.crewchat-root .left-sidebar.collapsed{display:none}.crewchat-root .sidebar-pane{flex:1;min-height:0;display:flex;flex-direction:column}.crewchat-root .sidebar-header{height:52px;padding:0 12px 0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border-subtle);flex-shrink:0}.crewchat-root .sidebar-title{font-size:15px;font-weight:600}.crewchat-root .sidebar-header-btns{display:flex;align-items:center;gap:5px}.crewchat-root .pill-mini-btn{height:26px;padding:0 8px;border-radius:7px;background:var(--bg-surface);border:1px solid var(--border-subtle);font-size:11.5px;font-weight:500;color:var(--text-secondary);white-space:nowrap}.crewchat-root .pill-mini-btn:hover{color:var(--text-primary);border-color:var(--border-strong)}.crewchat-root .pill-mini-btn.accent{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.crewchat-root .sidebar-search-wrap{padding:10px 12px 8px;flex-shrink:0}.crewchat-root .search-box{height:31px;background:var(--bg-field);border:1px solid var(--border-subtle);border-radius:8px;padding:0 9px;display:flex;align-items:center;gap:7px}.crewchat-root .search-box:focus-within{border-color:var(--accent)}.crewchat-root .search-icon{color:var(--text-muted);flex-shrink:0}.crewchat-root .search-input{flex:1;min-width:0;background:transparent;border:none;outline:none;font-size:12.5px}.crewchat-root .search-input::-moz-placeholder{color:var(--text-muted)}.crewchat-root .search-input::placeholder{color:var(--text-muted)}.crewchat-root .search-clear{width:17px;height:17px;border-radius:50%;background:var(--bg-sidebar-hover);color:var(--text-secondary);font-size:12px}.crewchat-root .filter-pills{padding:0 12px 8px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;flex-shrink:0}.crewchat-root .filter-pill{height:26px;border-radius:6px;background:var(--bg-field);font-size:11.5px;color:var(--text-secondary)}.crewchat-root .filter-pill.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.crewchat-root .conversation-list{flex:1;overflow-y:auto;padding:2px 8px 12px;display:flex;flex-direction:column;gap:2px}.crewchat-root .conv-item{width:100%;padding:8px 9px;border-radius:9px;display:flex;align-items:center;gap:10px;text-align:left}.crewchat-root .conv-item:hover{background:var(--bg-sidebar-hover)}.crewchat-root .conv-item.active{background:var(--bg-sidebar-active)}.crewchat-root .conv-avatar{position:relative;width:38px;height:38px;border-radius:50%;flex-shrink:0}.crewchat-root .conv-avatar.group-square{border-radius:9px}.crewchat-root .conv-avatar svg{width:100%;height:100%;border-radius:inherit;display:block}.crewchat-root .conv-unread{position:absolute;top:-3px;right:-3px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--accent);color:#fff;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;border:2px solid var(--bg-sidebar)}.crewchat-root .conv-meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.crewchat-root .conv-top-row{display:flex;align-items:center;justify-content:space-between;gap:6px}.crewchat-root .conv-name{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crewchat-root .conv-time{font-size:11px;color:var(--text-muted);flex-shrink:0}.crewchat-root .conv-preview{font-size:11.5px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crewchat-root .back-btn{font-size:12.5px;font-weight:600;color:var(--accent)}.crewchat-root .inspector-title-sm{font-size:13px;font-weight:600;color:var(--text-secondary)}.crewchat-root .inspector-content{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:14px}.crewchat-root .inspector-section-title{font-size:11px;font-weight:600;color:var(--text-muted);margin-bottom:7px}.crewchat-root .inspector-card{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:10px;padding:11px}.crewchat-root .inspector-member-list{display:flex;flex-direction:column;gap:7px}.crewchat-root .inspector-member-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border-radius:8px;background:var(--bg-surface);border:1px solid var(--border-subtle)}.crewchat-root .inspector-member-info{display:flex;align-items:center;gap:8px;min-width:0}.crewchat-root .inspector-member-avatar{width:26px;height:26px;border-radius:50%;flex-shrink:0;overflow:hidden}.crewchat-root .inspector-member-name{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crewchat-root .invite-chips{display:flex;flex-wrap:wrap;gap:6px}.crewchat-root .invite-chip{padding:4px 9px;border-radius:999px;background:var(--bg-surface);border:1px solid var(--border-strong);font-size:11.5px;color:var(--text-secondary)}.crewchat-root .invite-chip:hover{border-color:var(--accent);color:var(--accent)}.crewchat-root .segmented-control{display:grid;grid-template-columns:repeat(3,1fr);background:var(--bg-field);border-radius:8px;padding:3px;gap:3px}.crewchat-root .segment-btn{padding:5px;border-radius:6px;font-size:12px;color:var(--text-secondary)}.crewchat-root .segment-btn.active{background:var(--bg-sidebar-active);color:var(--text-primary);font-weight:600}.crewchat-root .btn-danger-outline{width:100%;padding:8px 12px;border-radius:8px;border:1px solid rgba(226,92,92,.4);color:var(--danger);font-size:12.5px}.crewchat-root .chat-main{flex:1;min-width:0;background:radial-gradient(circle at 80% 10%,var(--accent-soft),transparent 42%),var(--bg-chat);display:flex;flex-direction:column}.crewchat-root .chat-header{height:52px;flex-shrink:0;border-bottom:1px solid var(--border-subtle);padding:0 14px;display:flex;align-items:center;justify-content:space-between;gap:10px}.crewchat-root .chat-header-left{display:flex;align-items:center;gap:9px;min-width:0}.crewchat-root .chat-header-avatar{width:30px;height:30px;border-radius:50%;overflow:hidden;flex-shrink:0}.crewchat-root .chat-header-avatar.square{border-radius:8px}.crewchat-root .chat-header-avatar svg{width:100%;height:100%;display:block}.crewchat-root .chat-header-meta{min-width:0}.crewchat-root .chat-header-title-row{display:flex;align-items:baseline;gap:6px;min-width:0}.crewchat-root .chat-header-title{font-size:14.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crewchat-root .chat-header-count{font-size:12px;color:var(--text-muted);flex-shrink:0}.crewchat-root .chat-typing-status{font-size:11px;color:var(--accent);line-height:1.2}.crewchat-root .chat-header-right{display:flex;align-items:center;gap:6px;flex-shrink:0}.crewchat-root .member-avatar-stack{display:flex;align-items:center;margin-right:4px}.crewchat-root .mini-stack-btn{width:24px;height:24px;border-radius:50%;overflow:hidden;border:2px solid var(--bg-chat);margin-left:-6px;transition:transform .14s ease}.crewchat-root .mini-stack-btn:first-child{margin-left:0}.crewchat-root .mini-stack-btn:hover{transform:translateY(-2px) scale(1.12);z-index:2}.crewchat-root .mini-stack-btn.selected{border-color:var(--accent);z-index:2}.crewchat-root .mini-stack-btn svg{width:100%;height:100%;display:block}.crewchat-root .header-action-btn{width:30px;height:30px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;color:var(--text-secondary);font-size:18px}.crewchat-root .header-action-btn:hover{background:var(--bg-sidebar-hover);color:var(--text-primary)}.crewchat-root .header-action-btn.active{background:var(--accent-soft);color:var(--accent)}.crewchat-root .message-stream{flex:1;min-height:0;overflow-y:auto;padding:16px 18px 14px;display:flex;flex-direction:column;gap:12px}.crewchat-root .msg-row{display:flex;align-items:flex-start;gap:10px;position:relative;animation:msgFadeIn .18s ease-out}@keyframes msgFadeIn{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.crewchat-root .msg-row.user{flex-direction:row-reverse}.crewchat-root .msg-avatar-btn{width:32px;height:32px;border-radius:50%;flex-shrink:0;margin-top:2px;overflow:hidden;transition:transform .14s ease}.crewchat-root .msg-avatar-btn:hover{transform:scale(1.08);box-shadow:0 0 0 2px var(--accent-soft)}.crewchat-root .msg-avatar-btn svg{width:100%;height:100%;display:block}.crewchat-root .msg-content-col{max-width:min(76%,640px);display:flex;flex-direction:column;align-items:flex-start;position:relative}.crewchat-root .msg-row.user .msg-content-col{align-items:flex-end}.crewchat-root .msg-sender-name{font-size:11.5px;color:var(--text-secondary);margin:0 0 4px 4px;font-weight:500}.crewchat-root .msg-bubble-wrap{position:relative;display:flex;flex-direction:column;align-items:flex-start}.crewchat-root .msg-row.user .msg-bubble-wrap{align-items:flex-end}.crewchat-root .msg-bubble{padding:9px 12px 7px;border-radius:12px;background:var(--bg-bubble-agent);border:1px solid var(--border-subtle);color:var(--text-primary);font-size:13.5px;line-height:1.55;word-break:break-word}.crewchat-root .msg-row.user .msg-bubble{background:var(--bg-bubble-user);border-color:var(--border-bubble-user);color:var(--text-user-bubble)}.crewchat-root .msg-text{white-space:pre-wrap;word-break:break-word}.crewchat-root .msg-quote-block{margin-bottom:6px;padding:5px 8px;border-left:2.5px solid var(--accent);background:rgba(0,0,0,.18);border-radius:4px;font-size:12px}.crewchat-root .msg-quote-sender{font-weight:600;font-size:11px}.crewchat-root .msg-bubble-footer{margin-top:6px;display:flex;align-items:center;justify-content:flex-end;gap:10px}.crewchat-root .msg-bubble-footer.with-tag{justify-content:space-between;min-width:170px}.crewchat-root .route-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;background:rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.12);color:var(--tag-gold);font-size:11px;font-weight:500}.crewchat-root .msg-time{font-size:10.5px;opacity:.65;margin-left:auto}.crewchat-root .msg-hover-actions{position:absolute;top:-14px;right:4px;display:flex;align-items:center;gap:2px;padding:3px 5px;background:var(--bg-surface);border:1px solid var(--border-strong);border-radius:8px;box-shadow:var(--shadow-md);opacity:0;pointer-events:none;transform:translateY(3px);transition:opacity .14s ease,transform .14s ease;z-index:10}.crewchat-root .msg-row.user .msg-hover-actions{right:auto;left:4px}.crewchat-root .msg-row:hover .msg-hover-actions{opacity:1;pointer-events:auto;transform:translateY(0)}.crewchat-root .msg-action-btn{height:22px;padding:0 6px;border-radius:5px;font-size:11.5px;color:var(--text-secondary)}.crewchat-root .msg-action-btn:hover{background:var(--bg-sidebar-hover);color:var(--text-primary)}.crewchat-root .msg-reactions{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}.crewchat-root .reaction-pill{padding:2px 7px;border-radius:999px;background:var(--bg-surface);border:1px solid var(--border-subtle);font-size:11.5px;color:var(--text-secondary)}.crewchat-root .reaction-pill.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.crewchat-root .auth-card{margin-top:8px;padding:10px 12px;background:var(--bg-field);border:1px solid var(--border-strong);border-radius:9px;min-width:240px}.crewchat-root .auth-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.crewchat-root .auth-card-title{font-size:12.5px;font-weight:600;color:var(--tag-gold)}.crewchat-root .auth-badge{font-size:10.5px;padding:2px 7px;border-radius:999px;font-weight:600}.crewchat-root .auth-badge.pending{background:rgba(240,164,59,.16);color:#f0a43b}.crewchat-root .auth-badge.approved{background:rgba(69,185,107,.16);color:var(--success)}.crewchat-root .auth-badge.denied{background:rgba(226,92,92,.16);color:var(--danger)}.crewchat-root .auth-cmd{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;background:#0f1012;border:1px solid var(--border-subtle);border-radius:6px;padding:7px 9px;color:#e2e8f0;margin-bottom:8px;overflow-x:auto}.crewchat-root .auth-card-actions{display:flex;gap:8px}.crewchat-root .btn-allow{padding:5px 12px;border-radius:6px;background:var(--accent);color:#fff;font-size:12px;font-weight:500}.crewchat-root .btn-allow:hover{background:var(--accent-hover)}.crewchat-root .btn-deny{padding:5px 12px;border-radius:6px;background:var(--bg-sidebar-hover);color:var(--text-secondary);font-size:12px}.crewchat-root .btn-rerun{margin-top:8px;padding:5px 11px;border-radius:6px;background:var(--accent-soft);border:1px solid var(--accent);color:var(--accent);font-size:12px;font-weight:500}.crewchat-root .typing-row{display:flex;align-items:center;gap:10px}.crewchat-root .typing-bubble{padding:9px 13px;border-radius:12px;background:var(--bg-bubble-agent);border:1px solid var(--border-subtle);display:inline-flex;gap:4px}.crewchat-root .typing-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);animation:typingBounce 1.2s infinite ease-in-out}.crewchat-root .typing-dot:nth-child(2){animation-delay:.16s}.crewchat-root .typing-dot:nth-child(3){animation-delay:.32s}@keyframes typingBounce{0%,60%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}.crewchat-root .composer-area{flex-shrink:0;padding:6px 16px 14px}.crewchat-root .composer-context-bar{margin-bottom:6px}.crewchat-root .composer-context-chips{display:flex;flex-wrap:wrap;gap:6px}.crewchat-root .context-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:8px;background:var(--bg-surface);border:1px solid var(--border-strong);font-size:12px;color:var(--text-secondary)}.crewchat-root .context-chip-action{color:var(--accent);font-weight:600;font-size:11.5px}.crewchat-root .context-chip-close{width:16px;height:16px;border-radius:50%;color:var(--text-muted)}.crewchat-root .composer-box-wrap{position:relative}.crewchat-root .composer-box{min-height:44px;background:var(--bg-input);border:1px solid var(--border-subtle);border-radius:12px;padding:6px 10px 6px 14px;display:flex;align-items:center;gap:8px}.crewchat-root .composer-box:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.crewchat-root .message-input{flex:1;min-width:0;max-height:120px;resize:none;background:transparent;border:none;outline:none;font-size:13.5px;line-height:1.45}.crewchat-root .message-input::-moz-placeholder{color:var(--text-muted)}.crewchat-root .message-input::placeholder{color:var(--text-muted)}.crewchat-root .composer-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.crewchat-root .optimize-pill-btn{height:28px;padding:0 9px;border-radius:999px;background:var(--accent-soft);border:1px solid rgba(255,255,255,.08);color:var(--accent);font-size:11.5px;font-weight:600;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.crewchat-root .optimize-pill-btn:hover,.crewchat-root .optimize-pill-btn.active{background:var(--accent);color:#fff}.crewchat-root .composer-icon-btn,.crewchat-root .send-btn{width:30px;height:30px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;color:var(--text-secondary)}.crewchat-root .composer-icon-btn:hover{background:var(--bg-sidebar-hover);color:var(--text-primary)}.crewchat-root .composer-icon-btn.active{background:var(--accent-soft);color:var(--accent)}.crewchat-root .send-btn.ready{background:var(--accent);color:#fff}.crewchat-root .send-btn.ready:hover{background:var(--accent-hover)}.crewchat-root .optimizer-popover{bottom:calc(100% + 10px);right:0;width:min(420px,100%);padding:12px}.crewchat-root .optimizer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;font-size:12.5px;font-weight:600}.crewchat-root .optimizer-badge{font-size:11px;padding:2px 8px;border-radius:999px;background:var(--accent-soft);color:var(--accent)}.crewchat-root .optimizer-samples{margin-bottom:9px;padding:8px;border-radius:8px;background:var(--bg-field);border:1px solid var(--border-subtle)}.crewchat-root .optimizer-samples-label{font-size:11px;color:var(--text-muted);margin-bottom:6px}.crewchat-root .optimizer-samples-chips{display:flex;flex-wrap:wrap;gap:5px}.crewchat-root .sample-chip{padding:3px 8px;border-radius:999px;background:var(--bg-surface);border:1px solid var(--border-subtle);font-size:11px;color:var(--text-secondary)}.crewchat-root .sample-chip:hover{border-color:var(--accent);color:var(--accent)}.crewchat-root .optimizer-styles{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-bottom:8px}.crewchat-root .opt-style-tab{padding:5px 4px;border-radius:7px;background:var(--bg-field);font-size:11.5px;color:var(--text-secondary);text-align:center}.crewchat-root .opt-style-tab.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.crewchat-root .optimizer-raw-line{font-size:11.5px;color:var(--text-muted);margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crewchat-root .optimizer-preview-text{width:100%;height:113.75px;padding:9px 10px;border-radius:8px;background:var(--bg-field);border:1px solid var(--border-strong);font-size:12.5px;line-height:1.5;resize:vertical;outline:none;margin-bottom:14.25px}.crewchat-root .optimizer-preview-text:focus{border-color:var(--accent)}.crewchat-root .optimizer-actions{display:flex;justify-content:flex-end;gap:7px}.crewchat-root .popover{position:absolute;background:var(--bg-surface);border:1px solid var(--border-strong);border-radius:11px;box-shadow:var(--shadow-lg);z-index:40;padding:10px}.crewchat-root .composer-popover{bottom:calc(100% + 10px);right:0;width:290px}.crewchat-root .emoji-popover{width:270px}.crewchat-root .route-popover{width:256px}.crewchat-root .status-popover{top:calc(100% + 8px);right:0;width:230px}.crewchat-root .popover-header,.crewchat-root .popover-title{font-size:12px;font-weight:600;color:var(--text-secondary);padding:2px 4px 8px;border-bottom:1px solid var(--border-subtle);margin-bottom:7px}.crewchat-root .popover-account-head{font-size:11.5px;font-weight:600;color:var(--text-primary);padding:3px 6px 8px;border-bottom:1px solid var(--border-subtle);margin-bottom:6px;word-break:break-all}.crewchat-root .popover-divider{height:1px;background:var(--border-subtle);margin:6px 0}.crewchat-root .quick-prompts-list,.crewchat-root .route-agent-list{display:flex;flex-direction:column;gap:3px;max-height:230px;overflow-y:auto}.crewchat-root .quick-prompt-item,.crewchat-root .route-agent-item,.crewchat-root .status-option{width:100%;padding:7px 9px;border-radius:7px;font-size:12.5px;color:var(--text-primary);text-align:left;display:flex;align-items:center;gap:8px}.crewchat-root .quick-prompt-item:hover,.crewchat-root .route-agent-item:hover,.crewchat-root .status-option:hover{background:var(--bg-sidebar-hover)}.crewchat-root .route-agent-item.active,.crewchat-root .status-option.active{background:var(--accent-soft);color:var(--accent)}.crewchat-root .danger-option{color:var(--danger)}.crewchat-root .emoji-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}.crewchat-root .emoji-item{height:34px;border-radius:7px;font-size:17px;display:inline-flex;align-items:center;justify-content:center}.crewchat-root .emoji-item:hover{background:var(--bg-sidebar-hover)}.crewchat-root .agent-profile-popover{position:fixed;width:248px;z-index:60}.crewchat-root .switch-row{display:inline-flex;align-items:center;gap:9px;cursor:pointer;font-size:12.5px;color:var(--text-secondary)}.crewchat-root .switch-row uni-input,.crewchat-root .mini-switch uni-input{display:none}.crewchat-root .switch-track,.crewchat-root .mini-switch-track{width:34px;height:19px;border-radius:999px;background:var(--border-strong);position:relative;display:inline-block;cursor:pointer;flex-shrink:0}.crewchat-root .switch-thumb,.crewchat-root .mini-switch-thumb{position:absolute;top:2.5px;left:2.5px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .16s ease}.crewchat-root uni-input:checked+.switch-track,.crewchat-root uni-input:checked+.mini-switch-track{background:var(--accent)}.crewchat-root uni-input:checked+.switch-track .switch-thumb,.crewchat-root uni-input:checked+.mini-switch-track .mini-switch-thumb{transform:translate(15px)}.crewchat-root .module-workspace{flex:1;min-height:0;background:var(--bg-chat);overflow-y:auto;padding:22px 26px}.crewchat-root .module-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid var(--border-subtle)}.crewchat-root .module-title{font-size:18px;font-weight:600}.crewchat-root .module-subtitle{font-size:12.5px;color:var(--text-secondary);margin-top:2px}.crewchat-root .module-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}.crewchat-root .module-card{background:var(--bg-sidebar);border:1px solid var(--border-subtle);border-radius:12px;padding:15px;display:flex;flex-direction:column;gap:10px}.crewchat-root .module-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.crewchat-root .module-card-title{font-size:14px;font-weight:600}.crewchat-root .module-card-desc{font-size:12.5px;color:var(--text-secondary)}.crewchat-root .tag-row{display:flex;flex-wrap:wrap;gap:6px}.crewchat-root .cap-tag{padding:2px 8px;border-radius:999px;background:var(--bg-surface);border:1px solid var(--border-subtle);color:var(--text-secondary);font-size:11px}.crewchat-root .feed-list{display:flex;flex-direction:column;gap:10px}.crewchat-root .modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.58);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:80;padding:16px}.crewchat-root .modal{width:100%;max-width:440px;background:var(--bg-surface);border:1px solid var(--border-strong);border-radius:13px;box-shadow:var(--shadow-lg);overflow:hidden}.crewchat-root .modal-wide{max-width:540px}.crewchat-root .modal-header{padding:14px 18px;border-bottom:1px solid var(--border-subtle);display:flex;align-items:center;justify-content:space-between}.crewchat-root .modal-header h2{font-size:15px;font-weight:600}.crewchat-root .modal-body{padding:16px 18px;display:flex;flex-direction:column;gap:12px;max-height:70vh;overflow-y:auto}.crewchat-root .modal-footer{padding:12px 18px;border-top:1px solid var(--border-subtle);display:flex;justify-content:flex-end;gap:8px}.crewchat-root .field-label{font-size:12px;font-weight:500;color:var(--text-secondary);margin-bottom:5px;display:block}.crewchat-root .field-input{width:100%;height:36px;padding:0 11px;border-radius:8px;background:var(--bg-field);border:1px solid var(--border-strong);outline:none;font-size:13px}.crewchat-root .field-input:focus{border-color:var(--accent)}.crewchat-root .agent-select-grid,.crewchat-root .preset-agents-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.crewchat-root .agent-check-chip,.crewchat-root .preset-agent-card{padding:8px 10px;border-radius:9px;background:var(--bg-field);border:1px solid var(--border-subtle);display:flex;align-items:center;gap:9px;font-size:12.5px;color:var(--text-secondary);text-align:left}.crewchat-root .preset-agent-card{justify-content:space-between}.crewchat-root .agent-check-chip.selected,.crewchat-root .preset-agent-card:hover{background:var(--accent-soft);border-color:var(--accent);color:var(--text-primary)}.crewchat-root .modal-divider{display:flex;align-items:center;gap:10px;color:var(--text-muted);font-size:11.5px}.crewchat-root .modal-divider:before,.crewchat-root .modal-divider:after{content:"";flex:1;height:1px;background:var(--border-subtle)}.crewchat-root .form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.crewchat-root .align-center{align-items:center}.crewchat-root .color-swatches{display:flex;gap:7px}.crewchat-root .color-swatch{width:24px;height:24px;border-radius:50%;border:2px solid transparent}.crewchat-root .color-swatch.active{border-color:#fff;box-shadow:0 0 0 2px var(--accent)}.crewchat-root .btn-primary{padding:7px 14px;border-radius:8px;background:var(--accent);color:#fff;font-size:12.5px;font-weight:500}.crewchat-root .btn-primary:hover{background:var(--accent-hover)}.crewchat-root .btn-secondary{padding:7px 14px;border-radius:8px;background:var(--bg-sidebar-hover);color:var(--text-primary);font-size:12.5px}.crewchat-root .minimized-pill{position:fixed;right:22px;bottom:22px;padding:10px 16px;border-radius:999px;background:var(--bg-surface);border:1px solid var(--accent);box-shadow:var(--shadow-lg);font-size:13px;display:inline-flex;align-items:center;gap:9px;z-index:90}.crewchat-root .brand-dot{width:10px;height:10px;border-radius:50%;background:var(--accent)}.crewchat-root .toast-container{position:fixed;top:56px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:8px;z-index:100;pointer-events:none}.crewchat-root .toast{padding:8px 14px;border-radius:999px;background:var(--bg-surface);border:1px solid var(--border-strong);box-shadow:var(--shadow-md);font-size:12.5px;color:var(--text-primary)}@media (max-width: 860px){.crewchat-root .tab-icon,.crewchat-root .svg-art.tab-icon{display:none}.crewchat-root .topnav-tab{padding:0 8px;font-size:12px}.crewchat-root .left-sidebar{width:212px}.crewchat-root .member-avatar-stack,.crewchat-root .optimize-btn-label{display:none}.crewchat-root .message-stream{padding:12px 12px 10px}.crewchat-root .composer-area{padding:6px 12px 12px}}@media (max-width: 680px){.crewchat-root .win-hide-narrow,.crewchat-root .theme-btn-text{display:none}.crewchat-root .theme-trigger-btn{padding:0 8px}.crewchat-root .brand-title{font-size:13px}}.theme-warm-dark{--bg-backdrop: #0d0c0b;--bg-topbar: #161513;--bg-sidebar: #1e1d1b;--bg-sidebar-hover: #272522;--bg-sidebar-active: #302e2a;--bg-chat: #1b1a18;--bg-surface: #23221f;--bg-input: #262523;--bg-field: #171614;--bg-bubble-agent: #2a2926;--bg-bubble-user: #375d2b;--border-bubble-user: #447136;--text-user-bubble: #f4f7f1;--accent: #ea7135;--accent-hover: #f38148;--accent-soft: rgba(234, 113, 53, .16);--accent-glow: rgba(234, 113, 53, .22);--tag-gold: #f3c88b;--border-subtle: #2b2926;--border-strong: #3d3934;--text-primary: #eceae5;--text-secondary: #a7a39b;--text-muted: #6f6b63;--status-online: #3ec96b;--status-busy: #f0a43b;--status-dnd: #e05a5a;--danger: #e25c5c;--success: #45b96b;--shadow-lg: 0 22px 60px rgba(0, 0, 0, .62);--shadow-md: 0 10px 28px rgba(0, 0, 0, .45)}.theme-ocean-dark{--bg-backdrop: #090d14;--bg-topbar: #0d121c;--bg-sidebar: #131a29;--bg-sidebar-hover: #1b2438;--bg-sidebar-active: #222e47;--bg-chat: #111827;--bg-surface: #182235;--bg-input: #1c273d;--bg-field: #0f1522;--bg-bubble-agent: #1d283e;--bg-bubble-user: #1e40af;--border-bubble-user: #2563eb;--text-user-bubble: #eff6ff;--accent: #38bdf8;--accent-hover: #7dd3fc;--accent-soft: rgba(56, 189, 248, .15);--accent-glow: rgba(56, 189, 248, .22);--tag-gold: #93c5fd;--border-subtle: #202c44;--border-strong: #2d3c5c;--text-primary: #e8eef9;--text-secondary: #98a7c2;--text-muted: #64748b;--status-online: #34d399;--status-busy: #fbbf24;--status-dnd: #f87171;--danger: #f87171;--success: #34d399;--shadow-lg: 0 22px 60px rgba(2, 6, 23, .72);--shadow-md: 0 10px 28px rgba(2, 6, 23, .5)}.theme-forest-dark{--bg-backdrop: #0a100d;--bg-topbar: #0f1613;--bg-sidebar: #151f1b;--bg-sidebar-hover: #1c2a24;--bg-sidebar-active: #23352e;--bg-chat: #131c18;--bg-surface: #1a2621;--bg-input: #1e2d27;--bg-field: #101714;--bg-bubble-agent: #213029;--bg-bubble-user: #166534;--border-bubble-user: #22c55e;--text-user-bubble: #f0fdf4;--accent: #22c55e;--accent-hover: #4ade80;--accent-soft: rgba(34, 197, 94, .16);--accent-glow: rgba(34, 197, 94, .2);--tag-gold: #86efac;--border-subtle: #22312a;--border-strong: #2f433a;--text-primary: #e7f0eb;--text-secondary: #97aba0;--text-muted: #607569;--status-online: #4ade80;--status-busy: #facc15;--status-dnd: #f87171;--danger: #f87171;--success: #4ade80;--shadow-lg: 0 22px 60px rgba(0, 0, 0, .65);--shadow-md: 0 10px 28px rgba(0, 0, 0, .45)}.theme-violet-dark{--bg-backdrop: #0b0a12;--bg-topbar: #12101b;--bg-sidebar: #1a1728;--bg-sidebar-hover: #231f36;--bg-sidebar-active: #2b2542;--bg-chat: #171424;--bg-surface: #201c31;--bg-input: #242038;--bg-field: #13101e;--bg-bubble-agent: #27223c;--bg-bubble-user: #5b21b6;--border-bubble-user: #7c3aed;--text-user-bubble: #f5f3ff;--accent: #a855f7;--accent-hover: #c084fc;--accent-soft: rgba(168, 85, 247, .16);--accent-glow: rgba(168, 85, 247, .24);--tag-gold: #d8b4fe;--border-subtle: #2a2440;--border-strong: #3b3358;--text-primary: #f0ecf8;--text-secondary: #a89fc0;--text-muted: #6f6789;--status-online: #34d399;--status-busy: #fbbf24;--status-dnd: #fb7185;--danger: #fb7185;--success: #34d399;--shadow-lg: 0 22px 60px rgba(6, 4, 16, .72);--shadow-md: 0 10px 28px rgba(6, 4, 16, .5)}.theme-warm-light{--bg-backdrop: #ece8df;--bg-topbar: #ffffff;--bg-sidebar: #f6f4ef;--bg-sidebar-hover: #ece8e0;--bg-sidebar-active: #e3ded4;--bg-chat: #fbfaf7;--bg-surface: #ffffff;--bg-input: #ffffff;--bg-field: #f6f4ef;--bg-bubble-agent: #ffffff;--bg-bubble-user: #2f6b3c;--border-bubble-user: #275b32;--text-user-bubble: #ffffff;--accent: #e06227;--accent-hover: #c9521b;--accent-soft: rgba(224, 98, 39, .11);--accent-glow: rgba(224, 98, 39, .16);--tag-gold: #b45309;--border-subtle: #e5e0d6;--border-strong: #d3ccc0;--text-primary: #1c1917;--text-secondary: #57534e;--text-muted: #8c857d;--status-online: #16a34a;--status-busy: #d97706;--status-dnd: #dc2626;--danger: #dc2626;--success: #16a34a;--shadow-lg: 0 20px 50px rgba(28, 25, 23, .14);--shadow-md: 0 8px 22px rgba(28, 25, 23, .09)}uni-page-body,uni-page-wrapper,#app{width:100%;height:100%}.crewchat-root{width:100%;height:100vh;height:100dvh;overflow:hidden;position:relative;background:var(--bg-backdrop);color:var(--text-primary);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Segoe UI,Roboto,sans-serif;font-size:13.5px;line-height:1.5;-webkit-font-smoothing:antialiased}.crewchat-root.mode-restored{padding:20px;display:flex;align-items:center;justify-content:center}.crewchat-root.mode-restored .app-window{max-width:1260px;max-height:840px;border-radius:12px;border:1px solid var(--border-strong);box-shadow:var(--shadow-lg)}.crewchat-root uni-view,.crewchat-root uni-text,.crewchat-root uni-button,.crewchat-root uni-input,.crewchat-root uni-textarea,.crewchat-root uni-scroll-view,.crewchat-root uni-form,.crewchat-root uni-label,.crewchat-root uni-image{box-sizing:border-box}.crewchat-root uni-button{display:inline-block;width:auto;margin:0;padding:0;border:0;border-radius:0;background:none;color:inherit;font-family:inherit;font-size:inherit;line-height:normal;cursor:pointer;overflow:visible;text-align:center;text-decoration:none;-webkit-tap-highlight-color:transparent}.crewchat-root uni-button:after{display:none;border:0}.crewchat-root uni-button[disabled]{opacity:.55;cursor:not-allowed;color:var(--text-muted);background:var(--bg-field)}.crewchat-root uni-input,.crewchat-root uni-textarea{color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;min-width:0}.crewchat-root uni-input .uni-input-wrapper,.crewchat-root uni-input .uni-input-input,.crewchat-root uni-textarea .uni-textarea-wrapper,.crewchat-root uni-textarea .uni-textarea-textarea,.crewchat-root uni-textarea .uni-textarea-placeholder{font:inherit;line-height:inherit;color:inherit}.crewchat-root uni-input .uni-input-wrapper{height:100%}.crewchat-root uni-input .uni-input-input{height:100%}.crewchat-root uni-textarea .uni-textarea-textarea{width:100%;outline:none;resize:none}.crewchat-root uni-textarea .uni-textarea-placeholder,.crewchat-root uni-input .uni-input-placeholder{color:var(--text-muted)}.crewchat-root .svg-art{display:block;width:100%;height:100%;flex-shrink:0;line-height:0}.crewchat-root .svg-art svg{display:block;width:100%;height:100%}.crewchat-root .showcase-agent-pill>.svg-art{width:22px!important;height:22px!important}.crewchat-root .login-mobile-avatars>uni-text{width:24px;height:24px;border-radius:50%;border:2px solid var(--bg-surface);overflow:hidden;margin-left:-6px}.crewchat-root .login-mobile-avatars>uni-text:first-child{margin-left:0}.crewchat-root .theme-preview-dots>uni-text{width:10px;height:10px;border-radius:50%;border:1px solid rgba(128,128,128,.3)}.crewchat-root .login-card-header #auth-heading{font-size:18px;font-weight:700;margin-bottom:2px}.crewchat-root .login-card-header #auth-subheading{font-size:12.5px;color:var(--text-secondary)}.crewchat-root .login-form>uni-view{width:100%}.crewchat-root .login-form>span{display:flex;flex-direction:column;gap:11px}.crewchat-root .highlight-item>uni-view>uni-text{display:block;font-size:13px;margin-bottom:1px;font-weight:700;color:var(--text-primary)}.crewchat-root .highlight-item>uni-view>uni-view{font-size:12px;color:var(--text-secondary)}.crewchat-root .terms-check{color:var(--accent);font-size:16px;line-height:1}.crewchat-root .message-stream{display:block}.crewchat-root .message-list-inner{display:flex;flex-direction:column;gap:12px}.crewchat-root .message-stream .uni-scroll-view-content{min-height:100%}.crewchat-root .module-workspace{width:100%}.crewchat-root .switch-row.is-checked .switch-track,.crewchat-root .mini-switch.is-checked .mini-switch-track{background:var(--accent)}.crewchat-root .switch-row.is-checked .switch-thumb,.crewchat-root .mini-switch.is-checked .mini-switch-thumb{transform:translate(15px)}.crewchat-root .mini-switch{display:inline-flex;align-items:center;cursor:pointer}.crewchat-root .mini-switch>uni-text{display:none}.crewchat-root .modal-title{font-size:15px;font-weight:600}.crewchat-root .agent-profile-popover{top:150px;left:334px}.crewchat-root .profile-close{margin-left:auto;color:var(--text-muted);padding:3px 5px}@media (max-width:860px){.crewchat-root .agent-profile-popover{left:min(230px,calc(100vw - 264px));top:110px}}@media (max-width:600px){.crewchat-root.mode-restored{padding:0}.crewchat-root.mode-restored .app-window{border:0;border-radius:0;max-height:none}.crewchat-root .modal-body{max-height:65vh}}.crewchat-root .message-input{height:auto;min-height:20px}.crewchat-root .message-input .uni-textarea-wrapper{max-height:120px}.crewchat-root .field-input:focus-within,.crewchat-root .optimizer-preview-text:focus-within{border-color:var(--accent)}.crewchat-root .pill-mini-btn,.crewchat-root .filter-pill,.crewchat-root .msg-action-btn{display:inline-flex;align-items:center;justify-content:center}.crewchat-root .connection-label{font-size:10px;color:var(--text-muted);line-height:1.2}.crewchat-root .workspace-loading{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:var(--bg-chat);color:var(--text-secondary);z-index:110}.crewchat-root .backend-error{position:fixed;bottom:80px;left:50%;transform:translate(-50%);max-width:90vw;background:var(--bg-surface);border:1px solid var(--danger);border-radius:10px;padding:10px 12px;display:flex;align-items:center;gap:10px;z-index:95;font-size:12px}.crewchat-root .team-settings-body{max-height:65vh;overflow:auto;display:flex;flex-direction:column;gap:10px}.crewchat-root .team-options{display:flex;gap:8px;flex-wrap:wrap}.crewchat-root .team-active{box-shadow:inset 0 0 0 1px var(--accent);color:var(--accent)}.crewchat-root .team-form-row{display:flex;gap:8px;align-items:center}.crewchat-root .team-form-row .field-input{flex:1;min-width:0}.crewchat-root .team-form-row .btn-primary{white-space:nowrap;flex-shrink:0}.crewchat-root .team-member{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid var(--border-subtle)}.crewchat-root .invitation-result{border:1px dashed var(--border-strong);border-radius:8px;padding:10px;display:flex;gap:8px;align-items:center}.crewchat-root .invitation-token{overflow-wrap:anywhere;flex:1;font-size:12px}.crewchat-root .empty-conversation{padding:45px 15px;text-align:center;color:var(--text-muted);font-size:12px}.crewchat-root .load-history-btn{align-self:center;color:var(--text-muted);font-size:11px;padding:5px 12px;border:1px solid var(--border-subtle);border-radius:20px}.crewchat-root .company-logo{display:block;width:28px;height:28px;flex-shrink:0}.crewchat-root .contact-card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.crewchat-root .group-title-link{padding:0;margin:0;background:transparent;border:0;text-align:left;line-height:1.4;color:var(--text-primary);border-radius:4px}.crewchat-root .group-title-link:after{border:0}.crewchat-root .group-title-link:hover{color:var(--accent)}.crewchat-root .canvas-studio{flex:1;min-height:0;display:flex;background:var(--bg-chat);overflow:hidden}.crewchat-root .canvas-sidebar{width:320px;flex-shrink:0;background:var(--bg-sidebar);border-right:1px solid var(--border-subtle);display:flex;flex-direction:column;min-height:0}.crewchat-root .canvas-sidebar-head{padding:14px 16px 10px;border-bottom:1px solid var(--border-subtle)}.crewchat-root .canvas-title{font-size:15px;font-weight:700;color:var(--text-primary)}.crewchat-root .canvas-subtitle{font-size:11.5px;color:var(--text-muted);margin-top:2px}.crewchat-root .canvas-sidebar-scroll{flex:1;min-height:0;padding:14px 16px;box-sizing:border-box}.crewchat-root .canvas-form-block{margin-bottom:14px}.crewchat-root .canvas-label{font-size:12px;font-weight:600;color:var(--text-secondary);margin-bottom:6px}.crewchat-root .canvas-label-sm{font-size:11px;color:var(--text-muted);margin:8px 0 4px}.crewchat-root .canvas-prompt-input{width:100%;min-height:84px;box-sizing:border-box;padding:10px 12px;border-radius:10px;background:var(--bg-input);border:1px solid var(--border-strong);color:var(--text-primary);font-size:12.5px;line-height:1.5}.crewchat-root .canvas-starter-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.crewchat-root .canvas-chip{margin:0;padding:4px 8px;border-radius:999px;background:var(--bg-surface);border:1px solid var(--border-subtle);color:var(--text-secondary);font-size:11px;line-height:1.3}.crewchat-root .canvas-chip:hover{border-color:var(--accent);color:var(--accent)}.crewchat-root .canvas-pill-grid{display:flex;flex-wrap:wrap;gap:6px}.crewchat-root .canvas-pill{margin:0;padding:5px 10px;border-radius:8px;background:var(--bg-surface);border:1px solid var(--border-subtle);color:var(--text-secondary);font-size:11.5px;line-height:1.3}.crewchat-root .canvas-pill.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent);font-weight:600}.crewchat-root .canvas-size-row{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.crewchat-root .canvas-size-btn{margin:0;padding:7px 6px;border-radius:9px;background:var(--bg-surface);border:1px solid var(--border-subtle);display:flex;flex-direction:column;align-items:center;gap:2px;line-height:1.2}.crewchat-root .canvas-size-btn.active{background:var(--accent-soft);border-color:var(--accent)}.crewchat-root .canvas-size-title{font-size:11.5px;font-weight:600;color:var(--text-primary)}.crewchat-root .canvas-size-sub{font-size:10px;color:var(--text-muted)}.crewchat-root .canvas-generate-btn{width:100%;margin:4px 0 8px;padding:10px 14px;border-radius:10px;background:var(--accent);color:#fff;font-size:13px;font-weight:600;line-height:1.4}.crewchat-root .canvas-generate-btn:hover{background:var(--accent-hover)}.crewchat-root .canvas-generate-btn[disabled]{opacity:.6}.crewchat-root .canvas-error-tip{font-size:11.5px;color:var(--danger);background:var(--bg-surface);border:1px solid var(--danger);border-radius:8px;padding:7px 10px;margin-bottom:10px}.crewchat-root .canvas-config-card{margin-top:10px;border:1px solid var(--border-subtle);border-radius:11px;background:var(--bg-surface);overflow:hidden}.crewchat-root .canvas-config-toggle{width:100%;margin:0;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;background:transparent;color:var(--text-secondary);font-size:11.5px;font-weight:600;line-height:1.4}.crewchat-root .canvas-config-body{padding:0 12px 12px;border-top:1px solid var(--border-subtle)}.crewchat-root .canvas-input-sm{font-size:12px;padding:7px 10px}.crewchat-root .canvas-key-row{display:flex;gap:6px;align-items:center}.crewchat-root .canvas-key-row .field-input{flex:1;min-width:0}.crewchat-root .canvas-mini-btn{margin:0;padding:7px 10px;border-radius:8px;background:var(--bg-field);border:1px solid var(--border-subtle);color:var(--text-secondary);font-size:11px;line-height:1.2;flex-shrink:0}.crewchat-root .canvas-save-btn{width:100%;margin-top:10px;padding:8px 12px;border-radius:8px;background:var(--bg-field);border:1px solid var(--border-strong);color:var(--text-primary);font-size:12px;font-weight:600;line-height:1.3}.crewchat-root .canvas-save-btn:hover{border-color:var(--accent);color:var(--accent)}.crewchat-root .canvas-board{flex:1;position:relative;overflow:hidden;background-color:var(--bg-chat);background-image:radial-gradient(var(--border-strong) 1px,transparent 1px);background-size:22px 22px;cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.crewchat-root .canvas-board:active{cursor:grabbing}.crewchat-root .canvas-toolbar{position:absolute;top:14px;left:16px;right:16px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}.crewchat-root .canvas-toolbar>*{pointer-events:auto}.crewchat-root .canvas-stat{padding:6px 12px;border-radius:999px;background:var(--bg-surface);border:1px solid var(--border-subtle);font-size:11.5px;color:var(--text-secondary);box-shadow:var(--shadow-sm)}.crewchat-root .canvas-zoom-group{display:flex;align-items:center;gap:4px;padding:4px 6px;border-radius:999px;background:var(--bg-surface);border:1px solid var(--border-subtle);box-shadow:var(--shadow-sm)}.crewchat-root .canvas-zoom-val{font-size:11.5px;color:var(--text-primary);min-width:42px;text-align:center;font-weight:600}.crewchat-root .canvas-tool-btn{margin:0;padding:4px 10px;border-radius:999px;background:var(--bg-surface);border:1px solid var(--border-subtle);color:var(--text-secondary);font-size:11.5px;line-height:1.3}.crewchat-root .canvas-tool-btn:hover{border-color:var(--accent);color:var(--accent)}.crewchat-root .canvas-tool-btn.danger:hover{border-color:var(--danger);color:var(--danger)}.crewchat-root .canvas-empty{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;pointer-events:none}.crewchat-root .canvas-empty-icon{font-size:40px;margin-bottom:10px}.crewchat-root .canvas-empty-title{font-size:16px;font-weight:700;color:var(--text-primary);margin-bottom:6px}.crewchat-root .canvas-empty-desc{max-width:420px;font-size:12.5px;color:var(--text-secondary);line-height:1.65}.crewchat-root .code-inline{padding:2px 6px;border-radius:5px;background:var(--bg-surface);border:1px solid var(--border-subtle);font-family:monospace;font-size:11.5px;color:var(--accent)}.crewchat-root .canvas-stage{position:absolute;top:0;left:0;width:100%;height:100%}.crewchat-root .canvas-card{position:absolute;background:var(--bg-surface);border:1.5px solid var(--border-subtle);border-radius:14px;overflow:hidden;box-shadow:var(--shadow-lg);cursor:move;transition:border-color .15s}.crewchat-root .canvas-card.selected{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft),var(--shadow-lg)}.crewchat-root .canvas-card-img-wrap{position:relative;width:100%;background:var(--bg-chat);overflow:hidden}.crewchat-root .canvas-card-img{width:100%;height:100%;display:block;cursor:zoom-in}.crewchat-root .canvas-card-badge{position:absolute;top:8px;right:8px;padding:2px 8px;border-radius:999px;background:rgba(15,16,20,.72);color:#fff;font-size:10px}.crewchat-root .canvas-card-body{padding:10px 12px;display:flex;flex-direction:column;gap:6px}.crewchat-root .canvas-card-prompt{font-size:12px;color:var(--text-primary);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.crewchat-root .canvas-card-meta{display:flex;justify-content:space-between;font-size:10.5px;color:var(--text-muted)}.crewchat-root .canvas-card-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:2px}.crewchat-root .canvas-act-btn{margin:0;padding:4px 8px;border-radius:6px;background:var(--bg-field);border:1px solid var(--border-subtle);color:var(--text-secondary);font-size:11px;line-height:1.25}.crewchat-root .canvas-act-btn.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}.crewchat-root .canvas-act-btn.danger:hover{border-color:var(--danger);color:var(--danger)}.crewchat-root .canvas-footer-hint{position:absolute;bottom:12px;left:50%;transform:translate(-50%);padding:5px 14px;border-radius:999px;background:var(--bg-surface);border:1px solid var(--border-subtle);font-size:11px;color:var(--text-muted);pointer-events:none}.crewchat-root .msg-images-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.crewchat-root .msg-image-card{border-radius:10px;overflow:hidden;border:1px solid var(--border-subtle);background:var(--bg-chat);max-width:280px}.crewchat-root .msg-image-thumb{width:260px;height:200px;display:block;cursor:zoom-in}.crewchat-root .msg-image-bar{display:flex;gap:6px;padding:6px 8px;background:var(--bg-surface);border-top:1px solid var(--border-subtle)}.crewchat-root .msg-img-btn{margin:0;padding:3px 8px;border-radius:6px;background:var(--bg-field);border:1px solid var(--border-subtle);color:var(--text-secondary);font-size:11px;line-height:1.25}.crewchat-root .msg-img-btn:hover{border-color:var(--accent);color:var(--accent)}.crewchat-root .img-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:rgba(10,11,15,.84);display:flex;align-items:center;justify-content:center;padding:24px}.crewchat-root .img-lightbox-inner{max-width:90vw;max-height:88vh;display:flex;flex-direction:column;align-items:center;gap:12px}.crewchat-root .img-lightbox-img{max-width:84vw;max-height:72vh;width:720px;height:540px;border-radius:12px;background:#111}.crewchat-root .img-lightbox-caption{color:#f3f4f6;font-size:13px;max-width:640px;text-align:center;line-height:1.5}.crewchat-root .img-lightbox-close{margin:0;padding:7px 16px;border-radius:999px;background:var(--bg-surface);border:1px solid var(--border-strong);color:var(--text-primary);font-size:12px;font-weight:600}@media (max-width: 860px){.crewchat-root .canvas-studio{flex-direction:column}.crewchat-root .canvas-sidebar{width:100%;max-height:46%;border-right:0;border-bottom:1px solid var(--border-subtle)}}
