@import"https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500;700;900&family=Roboto:wght@400;500;700&display=swap";:root{--sidebar-w: 340px;--copilot-w: 450px;--font-display: "Red Hat Display", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--red-rgb: 233, 74, 74;--yellow-rgb: 241, 175, 15;--blue-rgb: 33, 154, 214;--green-rgb: 41, 190, 79;--on-error: #fca5a5;--on-warn: #fcd34d;--on-info: #93c5fd;--bg-darkest: #08060e;--bg-dark: #1a1623;--bg-medium: #0c0a12;--bg-copilot: #110e18;--bg-hover: rgba(255, 255, 255, .045);--bg-selected: #2a2140;--bg-input: #241f30;--border: #2a2438;--border-subtle: #221c2f;--text-primary: #eceaf5;--text-secondary: #b7b2c7;--text-muted: #837e96;--accent: #ab9de8;--accent-hover: #c3b6f0;--accent-muted: #2a2140;--accent-dim: #59399e;--accent-strong: #59399e;--on-accent: #ffffff;--sent-bubble: #5a3da0;--sent-bubble-text: #ffffff;--received-bubble: #241f30;--received-bubble-text: #eceaf5;--green: #29be4f;--yellow: #f1af0f;--red: #e94a4a;--blue: #219ad6;--overlay: rgba(0, 0, 0, .55);--shadow-1: 0 1px 4px rgba(0, 0, 0, .35);--shadow-2: 0 2px 6px rgba(0, 0, 0, .4);--shadow-3: 0 8px 30px rgba(0, 0, 0, .5);--scroll: #34304a}[data-theme=dark-lime]{--bg-darkest: #08060e;--bg-dark: #1a1623;--bg-medium: #0c0a12;--bg-copilot: #110e18;--bg-hover: rgba(255, 255, 255, .045);--bg-selected: #2c330a;--bg-input: #241f30;--border: #2a2438;--border-subtle: #221c2f;--text-primary: #eceaf5;--text-secondary: #b7b2c7;--text-muted: #837e96;--accent: #bee41e;--accent-hover: #d4f04e;--accent-muted: #2c330a;--accent-dim: #4e6212;--accent-strong: #a6cd15;--on-accent: #222e05;--sent-bubble: #4e6212;--sent-bubble-text: #f5fccb;--received-bubble: #241f30;--received-bubble-text: #eceaf5;--green: #29be4f;--yellow: #f1af0f;--red: #e94a4a;--blue: #219ad6;--overlay: rgba(0, 0, 0, .55);--shadow-1: 0 1px 4px rgba(0, 0, 0, .35);--shadow-2: 0 2px 6px rgba(0, 0, 0, .4);--shadow-3: 0 8px 30px rgba(0, 0, 0, .5);--scroll: #34304a}[data-theme=light-purple]{--bg-darkest: #e4e2ef;--bg-dark: #ffffff;--bg-medium: #ecebf3;--bg-copilot: #f0eff6;--bg-hover: #f5f5fa;--bg-selected: #eeecfb;--bg-input: #f2f1f8;--border: #e9e9f2;--border-subtle: #eef0f6;--text-primary: #201f26;--text-secondary: #444152;--text-muted: #79778c;--accent: #59399e;--accent-hover: #6b44bd;--accent-muted: #eeecfb;--accent-dim: #59399e;--on-error: #7c2020;--on-warn: #763d11;--on-info: #1a3d47;--accent-strong: #59399e;--on-accent: #ffffff;--sent-bubble: #59399e;--sent-bubble-text: #ffffff;--received-bubble: #ffffff;--received-bubble-text: #201f26;--green: #268041;--yellow: #b8860b;--red: #e94a4a;--blue: #219ad6;--overlay: rgba(32, 31, 38, .32);--shadow-1: 0 1px 4px rgba(145, 144, 160, .12);--shadow-2: 0 1px 2px rgba(145, 144, 160, .08), 0 4px 12px rgba(145, 144, 160, .16);--shadow-3: 0 1px 4px rgba(145, 144, 160, .08), 0 8px 32px rgba(145, 144, 160, .28);--scroll: #d6d4e2}[data-theme=light-lime]{--bg-darkest: #e4e6dd;--bg-dark: #ffffff;--bg-medium: #ecebf3;--bg-copilot: #f0eff6;--bg-hover: #f5f5fa;--bg-selected: #f5fccb;--bg-input: #f2f1f8;--border: #e9e9f2;--border-subtle: #eef0f6;--text-primary: #201f26;--text-secondary: #444152;--text-muted: #79778c;--accent: #617c0f;--accent-hover: #50660c;--accent-muted: #f5fccb;--accent-dim: #4e6212;--on-error: #7c2020;--on-warn: #763d11;--on-info: #1a3d47;--accent-strong: #a6cd15;--on-accent: #222e05;--sent-bubble: #d9f363;--sent-bubble-text: #33400f;--received-bubble: #ffffff;--received-bubble-text: #201f26;--green: #268041;--yellow: #b8860b;--red: #e94a4a;--blue: #219ad6;--overlay: rgba(32, 31, 38, .32);--shadow-1: 0 1px 4px rgba(145, 144, 160, .12);--shadow-2: 0 1px 2px rgba(145, 144, 160, .08), 0 4px 12px rgba(145, 144, 160, .16);--shadow-3: 0 1px 4px rgba(145, 144, 160, .08), 0 8px 32px rgba(145, 144, 160, .28);--scroll: #d6d4e2}*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}html,body,#root{height:100%}html,body{overflow:hidden;font-family:var(--font-body);background:var(--bg-darkest);color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:14px}button{font-family:inherit;background:transparent;border:none;color:inherit;cursor:pointer}button:hover:not(:disabled){opacity:.85}input{font-family:inherit;outline:none}input:focus{border-color:var(--accent)!important;box-shadow:0 0 0 2px #9b6dff26}::placeholder{color:var(--text-muted)}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.app{display:grid;grid-template-columns:var(--sidebar-w) 1fr var(--copilot-w);height:100vh;width:100vw;overflow:hidden;transition:grid-template-columns .25s ease}.pane{min-height:0;min-width:0;overflow:hidden;display:flex;flex-direction:column}@media (max-width: 1100px){.app{grid-template-columns:var(--sidebar-w) 1fr 0}.app.copilot-open{grid-template-columns:0 1fr var(--copilot-w)}}.sidebar{display:flex;flex-direction:column;flex:1;min-height:0;background:var(--bg-dark);border-right:1px solid var(--border);overflow:hidden}.sidebar-header{padding:20px 20px 8px;display:flex;align-items:center;gap:10px}.sidebar-title{font-size:20px;font-weight:700}.sidebar-count{font-size:12px;font-weight:600;color:var(--accent);background:var(--accent-muted);padding:2px 8px;border-radius:10px}.sidebar-status{margin-left:auto;font-size:11px;color:var(--text-muted);display:flex;align-items:center;gap:5px}.sidebar-status .dot{width:7px;height:7px;border-radius:50%;background:var(--text-muted)}.sidebar-status.online .dot{background:var(--green);box-shadow:0 0 6px var(--green)}.sidebar-status.warn .dot{background:var(--yellow)}.sidebar-status.err .dot{background:var(--red)}.sidebar-search{margin:12px 16px 4px;position:relative}.sidebar-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-muted)}.sidebar-search input{width:100%;padding:10px 12px 10px 38px;border-radius:10px;border:1px solid var(--border);background:var(--bg-input);color:var(--text-primary);font-size:13px;transition:border-color .2s}.sidebar-filters{display:flex;gap:4px;padding:10px 16px 6px;overflow-x:auto}.filter-btn{padding:5px 12px;border-radius:8px;font-size:12px;font-weight:500;color:var(--text-secondary);transition:all .15s;white-space:nowrap;flex-shrink:0}.filter-btn.active{background:var(--accent-muted);color:var(--accent)}.sidebar-list{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}.sidebar-empty{padding:24px;text-align:center;color:var(--text-muted);font-size:13px}.chat-item{display:flex;gap:12px;padding:14px 16px;cursor:pointer;border-left:3px solid transparent;transition:background .12s ease,border-color .12s ease;position:relative}.chat-item:hover{background:var(--bg-hover)}.chat-item:hover .chat-item-menu{opacity:1;pointer-events:auto}.chat-item-menu{position:absolute;right:8px;top:8px;width:24px;height:24px;border-radius:6px;background:#0006;color:var(--text-secondary);display:inline-flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .12s ease}.chat-item-menu:hover{background:var(--bg-input);color:var(--text-primary)}.chat-flag{margin-right:4px;font-size:11px;opacity:.85}.chat-actions-menu{background:var(--bg-dark);border:1px solid var(--border);border-radius:10px;padding:4px;min-width:220px;box-shadow:0 12px 32px #00000073;display:flex;flex-direction:column}.chat-actions-menu button{text-align:left;padding:9px 12px;border-radius:6px;background:transparent;color:var(--text-primary);font-size:13px;border:none}.chat-actions-menu button:hover{background:var(--bg-hover)}.chat-item.selected{background:var(--bg-selected);border-left-color:var(--accent)}.chat-item .avatar{flex-shrink:0;position:relative}.chat-item .body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.chat-item .row1{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-item .name{font-size:14px;font-weight:600;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-item .time{font-size:11px;color:var(--text-muted);flex-shrink:0}.chat-item .subtitle{font-size:12px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-item .row3{display:flex;align-items:center;gap:6px}.chat-item .last{font-size:12px;color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.unread-badge{background:var(--accent-strong);color:var(--on-accent);font-size:10px;font-weight:700;border-radius:10px;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;flex-shrink:0}.chat-item .row4{display:flex;align-items:center;gap:6px;margin-top:2px}.tag-badge{font-size:10px;font-weight:600;padding:2px 7px;border-radius:4px;white-space:nowrap}.prob-dot{display:flex;align-items:center;gap:4px;margin-left:auto}.prob-dot .dot{width:7px;height:7px;border-radius:50%}.prob-dot span{font-size:11px;color:var(--text-muted);font-weight:600}.avatar{border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:#fff;flex-shrink:0;background-size:cover;background-position:center}.avatar.online:after{content:"";position:absolute;bottom:0;right:0;width:10px;height:10px;border-radius:50%;background:var(--green);border:2px solid var(--bg-dark)}.chat{display:flex;flex-direction:column;flex:1;min-height:0;background:var(--bg-medium);position:relative;overflow:hidden}.chat-header{display:flex;align-items:center;padding:12px 20px;gap:12px;border-bottom:1px solid var(--border);background:var(--bg-dark);flex-shrink:0}.chat-header .info{display:flex;align-items:center;gap:12px;flex:1;min-width:0;background:none;border:none;padding:4px 6px;margin:-4px -6px;border-radius:10px;cursor:pointer;text-align:left;color:inherit;transition:background .15s}.chat-header .info:hover{background:var(--bg-hover)}.chat-header .meta{min-width:0}.chat-header .name{font-size:14px;font-weight:600}.chat-header .sub{font-size:12px;color:var(--text-muted);display:flex;gap:4px}.chat-header .sub.online{color:var(--green)}.chat-header .actions{display:flex;gap:4px;align-items:center}.chat-search{display:inline-flex;align-items:center;gap:6px;padding:4px 8px 4px 10px;border-radius:10px;background:var(--bg-input);border:1px solid var(--border);color:var(--text-muted)}.chat-search input{background:transparent;border:none;outline:none;color:var(--text-primary);font-size:13px;width:180px}.chat-search .icon-btn{width:22px;height:22px;border-radius:6px;font-size:12px}.chat-menu{position:relative}.chat-menu-popover{position:absolute;right:0;top:calc(100% + 6px);min-width:220px;background:var(--bg-dark);border:1px solid var(--border);border-radius:10px;padding:4px;box-shadow:0 12px 32px #00000073;z-index:20;display:flex;flex-direction:column}.chat-menu-popover button{text-align:left;padding:9px 12px;border-radius:6px;background:transparent;color:var(--text-primary);font-size:13px;border:none}.chat-menu-popover button:hover{background:var(--bg-hover)}.search-summary{font-size:11px;color:var(--text-muted);text-align:center;padding:6px 12px;border-bottom:1px dashed var(--border);margin-bottom:8px}.load-more-spinner{font-size:12px;color:var(--text-muted);text-align:center;padding:10px 12px}.icon-btn{width:36px;height:36px;border-radius:10px;color:var(--text-secondary);display:inline-flex;align-items:center;justify-content:center;transition:all .15s}.icon-btn:hover{background:var(--bg-hover);color:var(--text-primary)}.message-list{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;background:var(--bg-medium)}.messages-inner{max-width:780px;margin:0 auto;padding:16px 24px;display:flex;flex-direction:column}.bubble-row{display:flex;padding:1px 0}.bubble-row.starts-block{padding-top:8px}.bubble-row.starts-block:first-child{padding-top:0}.bubble-row:has(.reactions-chip){margin-bottom:14px}.bubble-row.me{justify-content:flex-end}.bubble{max-width:65%;padding:10px 14px;border-radius:16px;border:1px solid rgba(255,255,255,.04);background:var(--received-bubble);word-break:break-word;position:relative}.bubble.me{background:var(--sent-bubble);border-top-right-radius:4px}.bubble:not(.me){border-top-left-radius:4px}.bubble p{margin:0;font-size:14px;line-height:1.5;color:var(--received-bubble-text);white-space:pre-wrap}.bubble.me p{color:var(--sent-bubble-text)}.bubble.me .footer,.bubble.me .ts{color:var(--sent-bubble-text);opacity:.7}.day-divider{display:flex;justify-content:center;margin:14px 0 10px}.day-divider span{background:var(--bg-dark);color:var(--text-muted);font-size:11px;font-weight:700;padding:4px 12px;border-radius:9999px;box-shadow:var(--shadow-1)}.bubble-sender{font-size:12px;font-weight:600;color:var(--accent);margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reactions-chip{position:absolute;bottom:-10px;left:8px;display:inline-flex;gap:4px;padding:2px 6px;border-radius:12px;background:var(--bg-dark);border:1px solid var(--border);box-shadow:0 2px 6px #00000040;z-index:1}.bubble.me .reactions-chip{left:auto;right:8px}.reaction-item{display:inline-flex;align-items:center;gap:2px;font-size:13px;line-height:1}.reaction-count{font-size:10px;color:var(--text-secondary);font-weight:600}.ctx-menu{background:var(--bg-medium);border:1px solid var(--border);border-radius:10px;box-shadow:0 10px 32px #00000073;padding:6px;z-index:1000;display:flex;flex-direction:column;gap:2px;min-width:200px}.ctx-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;color:var(--text-primary);font-size:13px;text-align:left;width:100%;background:transparent}.ctx-item:hover{background:var(--bg-hover)}.ctx-item.danger{color:var(--red, #ef4444)}.ctx-icon{font-size:14px;width:18px;text-align:center;opacity:.85}.ctx-reactions{display:flex;gap:4px;padding:4px}.ctx-reaction-btn{font-size:22px;line-height:1;padding:6px 8px;border-radius:6px;background:transparent;transition:transform .1s}.ctx-reaction-btn:hover{background:var(--bg-hover);transform:scale(1.15)}.ctx-reaction-more{font-size:18px;padding:6px 8px;border-radius:6px;background:transparent;color:var(--text-secondary)}.ctx-reaction-more:hover{background:var(--bg-hover)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;display:flex;align-items:center;justify-content:center;z-index:900;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal{background:var(--bg-medium);border:1px solid var(--border);border-radius:12px;box-shadow:0 24px 60px #00000080;width:min(440px,92vw);max-height:80vh;display:flex;flex-direction:column;overflow:hidden}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--border-subtle)}.modal-header h3{margin:0;font-size:14px;font-weight:600;color:var(--text-primary)}.modal-body{padding:12px 16px;overflow:auto;flex:1;min-height:0}.forward-search{width:100%;padding:8px 12px;border-radius:8px;border:1px solid var(--border);background:var(--bg-input);color:var(--text-primary);font-size:13px}.forward-list{display:flex;flex-direction:column;gap:2px;margin-top:12px}.forward-item{display:flex;align-items:center;gap:10px;padding:8px;border-radius:8px;background:transparent;text-align:left;width:100%}.forward-item:hover:not(:disabled){background:var(--bg-hover)}.forward-item:disabled{opacity:.6;cursor:default}.forward-info{flex:1;min-width:0}.forward-name{font-size:13px;font-weight:500;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forward-sub{font-size:11px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forward-status{font-size:11px;color:var(--accent);font-weight:600}.forward-empty{color:var(--text-muted);font-size:13px;text-align:center;padding:24px}.reply-preview{display:flex;align-items:center;gap:10px;padding:8px 16px;background:var(--bg-medium);border-top:1px solid var(--border-subtle);border-left:3px solid var(--accent);flex-shrink:0}.reply-preview-body{flex:1;min-width:0}.reply-preview-author{font-size:11px;font-weight:600;color:var(--accent)}.reply-preview-text{font-size:12px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bubble-quote{border-left:3px solid var(--accent);padding:4px 8px;margin-bottom:6px;background:#9b6dff12;border-radius:0 6px 6px 0;font-size:12px}.bubble-quote-author{font-weight:600;color:var(--accent);font-size:11px;margin-bottom:2px}.bubble-quote-text{color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bubble .footer{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:4px}.bubble .ts{font-size:10px;color:var(--text-muted)}.msg-star{font-size:11px;color:#f5c518;line-height:1}.msg-edited{font-size:10px;color:var(--text-muted);font-style:italic}.status-failed{color:var(--red);font-weight:700;font-size:12px;line-height:1}.status-pending{font-size:10px;opacity:.7}.bubble-failed{display:flex;align-items:center;gap:8px;margin-top:4px;font-size:11px;color:#fca5a5}.bubble-failed button{font-size:11px;font-weight:600;color:var(--accent);padding:2px 8px;border-radius:6px;background:var(--accent-muted)}.bubble-failed button:hover{filter:brightness(1.1)}.location-link{display:block;text-decoration:none;color:inherit}.location-card,.contact-card{display:flex;align-items:flex-start;gap:10px;padding:8px 12px;border-radius:10px;background:#ffffff0a;max-width:280px}.location-link:hover .location-card{background:#ffffff14}.location-pin,.contact-icon{font-size:22px;line-height:1.2}.location-name,.contact-name{font-size:13px;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.location-address,.contact-phone{font-size:12px;color:var(--text-secondary)}.location-coords{font-size:11px;color:var(--text-muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.location-open{font-size:11px;font-weight:600;color:var(--accent);margin-top:2px}.media-image-wrap{display:block;max-width:320px;border-radius:10px;overflow:hidden}.media-image{display:block;max-width:100%;max-height:360px;border-radius:10px;background:#000}.media-sticker{display:block;max-width:160px;max-height:160px;background:transparent}.media-video{display:block;max-width:320px;max-height:360px;border-radius:10px;background:#000}.media-audio{display:block;width:280px;height:38px}.msg-placeholder{font-style:italic;color:var(--text-muted);margin:0;opacity:.85}.voice-player{display:flex;align-items:center;gap:10px;width:260px;max-width:60vw;padding:4px 2px}.voice-player--error{gap:8px;color:var(--text-muted)}.voice-play-btn{flex:0 0 auto;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--accent-strong);color:var(--on-accent);border:none;cursor:pointer;transition:filter .15s ease}.voice-play-btn:hover{filter:brightness(1.1)}.voice-wave{flex:1 1 auto;display:flex;align-items:center;gap:2px;height:32px;cursor:pointer;min-width:0}.voice-bar{flex:1 1 0;min-width:2px;border-radius:2px;background:var(--text-muted);opacity:.45;transition:opacity .1s ease,background .1s ease}.voice-bar--played{background:var(--accent);opacity:1}.voice-time{flex:0 0 auto;font-size:11px;color:var(--text-secondary);font-variant-numeric:tabular-nums;min-width:30px;text-align:right}.media-doc-link{display:inline-flex;align-items:center;gap:10px;padding:8px 12px;border-radius:10px;background:#ffffff0a;color:var(--text-primary);text-decoration:none;max-width:280px}.media-doc-link:hover{background:#ffffff14}.media-doc-name{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-doc-mime{font-size:11px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-pending{display:inline-flex;align-items:center;gap:8px;color:var(--text-muted);font-size:12px;padding:6px 10px;border-radius:8px;background:#ffffff0a}.media-wrap{min-width:120px}.media-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:200px;min-height:100px;border-radius:10px;background:#9b6dff14;border:1px dashed var(--border);padding:16px;color:var(--text-secondary)}.media-unavailable{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:180px;min-height:80px;border-radius:10px;background:#ef444414;border:1px dashed rgba(239,68,68,.3);padding:12px}.media-thumb{width:240px;height:140px;border-radius:10px;background:linear-gradient(135deg,#9b6dff33,#9b6dff0d);display:flex;align-items:center;justify-content:center;margin-bottom:6px;border:1px dashed rgba(155,109,255,.25);font-size:11px;color:#ffffff80;font-family:monospace}.audio-msg{display:flex;align-items:center;gap:10px}.audio-play{width:32px;height:32px;border-radius:50%;background:var(--accent-strong);color:var(--on-accent);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.waveform{display:flex;align-items:center;gap:1.5px;height:24px}.waveform .bar{width:2.5px;border-radius:2px;background:var(--text-secondary);opacity:.6}.system-msg{display:flex;justify-content:center;padding:12px 0}.system-msg span{font-size:11px;color:var(--text-muted);background:#ffffff0d;padding:4px 14px;border-radius:8px;font-weight:500}.input-area{display:flex;align-items:center;gap:8px;padding:12px 20px;border-top:1px solid var(--border);background:var(--bg-dark);flex-shrink:0}.input-btn{width:38px;height:38px;border-radius:10px;color:var(--text-secondary);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .15s}.input-btn:hover{background:var(--bg-hover);color:var(--text-primary)}.input-btn.send{background:var(--accent-strong);color:var(--on-accent)}.input-btn.send:hover{background:var(--accent-strong);color:var(--on-accent);filter:brightness(1.08)}.input-wrap{flex:1}.emoji-wrap{position:relative;flex-shrink:0}.emoji-picker{position:absolute;bottom:46px;left:0;z-index:40;width:280px;max-height:220px;overflow-y:auto;display:grid;grid-template-columns:repeat(8,1fr);gap:2px;padding:8px;background:var(--bg-dark);border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 28px #00000073}.emoji-cell{font-size:20px;line-height:1;padding:5px;border-radius:8px;transition:background .1s}.emoji-cell:hover{background:var(--bg-hover)}.chat-dropzone{position:absolute;top:0;right:0;bottom:0;left:0;z-index:45;display:grid;place-items:center;background:#9b6dff1f;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);pointer-events:none}.chat-dropzone-inner{padding:24px 32px;border:2px dashed var(--accent);border-radius:16px;background:var(--bg-dark);color:var(--accent);font-size:15px;font-weight:600}.input-wrap input{width:100%;padding:10px 16px;border-radius:12px;border:1px solid var(--border);background:var(--bg-input);color:var(--text-primary);font-size:13px;transition:border-color .2s}.attach-preview{display:flex;align-items:center;gap:12px;padding:10px 20px;background:var(--bg-medium);border-top:1px solid var(--border-subtle);flex-shrink:0}.attach-preview img,.attach-preview video{max-height:80px;max-width:140px;border-radius:8px;background:#000}.attach-doc{display:flex;align-items:center;gap:10px;color:var(--text-primary);font-size:13px;flex:1;min-width:0}.attach-doc>div{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rec-indicator{flex:1;display:inline-flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:13px}.rec-dot{width:10px;height:10px;border-radius:50%;background:var(--red, #ef4444);animation:rec-pulse 1s ease-in-out infinite}@keyframes rec-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)}}.chat-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--bg-medium);color:var(--text-muted);gap:12px;padding:32px;text-align:center}.chat-empty p{margin:0}.copilot{display:flex;flex-direction:column;flex:1;min-height:0;background:var(--bg-copilot);border-left:1px solid var(--border);overflow:hidden}.copilot-header{padding:16px 16px 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);flex-shrink:0}.copilot-header .title{font-size:14px;font-weight:700;display:flex;align-items:center;gap:6px}.copilot-header .sub{font-size:11px;color:var(--text-muted)}.copilot-header .deal{font-size:12px;color:var(--accent);font-weight:600;background:var(--accent-muted);padding:3px 10px;border-radius:6px;white-space:nowrap}.ai-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 8px var(--accent);animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1;box-shadow:0 0 8px var(--accent)}50%{opacity:.6;box-shadow:0 0 16px var(--accent)}}.copilot-tools{flex:1;overflow-y:auto;overflow-x:hidden;padding:12px 0;display:flex;flex-direction:column;gap:2px;min-height:0}.cop-card{margin:0 10px 6px;border-radius:10px;border:1px solid var(--border);background:#ffffff05;overflow:hidden;transition:border-color .2s}.cop-card:hover{border-color:#9b6dff33}.cop-card-header{width:100%;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;color:var(--text-secondary)}.cop-card-header .title{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--text-primary)}.cop-card-body{padding:0 14px 14px}.chev{transition:transform .2s}.chev.open{transform:rotate(180deg)}.gauge-row{display:flex;align-items:center;gap:16px}.factor-list{flex:1;display:flex;flex-direction:column;gap:4px}.factor-row{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text-secondary)}.factor-row .dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.sentiment-row{display:flex;align-items:center;gap:12px}.sentiment-bar{flex:1;height:6px;border-radius:3px;background:#ffffff0f;overflow:hidden}.sentiment-bar>div{height:100%;border-radius:3px;transition:width .6s ease}.product-card{padding:10px 12px;border-radius:8px;background:#ffffff08;border:1px solid rgba(255,255,255,.04)}.product-card .row{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.product-card .name{font-size:13px;font-weight:600}.interest-badge{font-size:10px;font-weight:600;padding:2px 8px;border-radius:4px}.product-card .meta{font-size:11px;color:var(--text-muted);margin-bottom:4px}.product-card .stage{font-size:12px;color:var(--text-secondary)}.product-card .notes{font-size:11px;color:var(--text-muted);margin-top:4px;font-style:italic}.strategy-row{display:flex;gap:10px;align-items:flex-start}.strategy-row p{margin:0;font-size:12px;color:var(--text-primary);line-height:1.4}.priority-tag{font-size:10px;font-weight:600}.summary-row{display:flex;gap:8px;align-items:flex-start;font-size:12px;color:var(--text-secondary);line-height:1.5}.summary-row .b{color:var(--accent);font-size:6px;margin-top:6px;flex-shrink:0}.timeline-row{display:flex;gap:12px;align-items:flex-start;position:relative}.timeline-row .line{position:absolute;left:4px;top:14px;width:2px;bottom:-16px;background:#ffffff0f}.timeline-row .dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;margin-top:3px;z-index:1}.timeline-row .event{margin:0;font-size:12px;font-weight:500}.timeline-row .date{font-size:10px;color:var(--text-muted)}.copilot-chat{flex-shrink:0;border-top:1px solid var(--border);display:flex;flex-direction:column}.cop-chat-messages{max-height:200px;overflow-y:auto;padding:10px 12px;display:flex;flex-direction:column;gap:8px}.cop-chat-msg{padding:8px 12px;border-radius:10px;font-size:12px;line-height:1.5;max-width:90%;white-space:pre-wrap}.cop-chat-msg.user{background:var(--accent-muted);color:var(--accent);align-self:flex-end}.cop-chat-msg.ai{background:#ffffff0a;color:var(--text-secondary);align-self:flex-start}.cop-chat-input-wrap{display:flex;align-items:center;gap:8px;padding:10px 12px}.cop-chat-input-wrap input{flex:1;padding:9px 14px;border-radius:10px;border:1px solid var(--border);background:var(--bg-input);color:var(--text-primary);font-size:12px}.cop-chat-send{width:34px;height:34px;border-radius:8px;background:var(--accent-muted);color:var(--accent);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:opacity .2s}.cop-chat-send:disabled{opacity:.4;cursor:not-allowed}.cop-chat-typing{display:inline-block;font-size:16px;color:var(--accent);animation:typingBounce 1.2s infinite}@keyframes typingBounce{0%,60%,to{transform:translateY(0);opacity:.3}30%{transform:translateY(-4px);opacity:1}}.widget-card-header{gap:8px}.cop-card-titlebtn{flex:1;display:flex;align-items:center;text-align:left;min-width:0;padding:0}.cop-card-titlebtn .title{min-width:0}.cop-card-titlebtn .title>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.widget-drag-handle{color:var(--text-muted);font-size:14px;line-height:1;cursor:grab;opacity:0;transition:opacity .15s;-webkit-user-select:none;user-select:none}.cop-card:hover .widget-drag-handle{opacity:.7}.widget-drag-handle:active{cursor:grabbing}.cop-card.dragging{opacity:.5}.cop-card.drop-before{box-shadow:inset 0 2px 0 0 var(--accent)}.cop-card.drop-after{box-shadow:inset 0 -2px 0 0 var(--accent)}.widget-actions{display:flex;align-items:center;gap:2px;position:relative}.widget-menu-btn,.cop-card-chev{display:inline-flex;align-items:center;justify-content:center;color:var(--text-muted);padding:2px;border-radius:6px}.widget-menu-btn:hover{color:var(--text-primary);background:var(--accent-muted)}.widget-menu{position:absolute;top:100%;right:0;z-index:20;margin-top:4px;background:var(--bg-input);border:1px solid var(--border);border-radius:8px;padding:4px;min-width:180px;box-shadow:0 8px 24px #0006}.widget-menu button{width:100%;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-secondary);padding:7px 9px;border-radius:6px}.widget-menu button:hover{background:var(--accent-muted);color:var(--text-primary)}.add-widget{position:relative;margin:4px 10px 6px}.add-widget-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:500;color:var(--text-muted);padding:9px;border:1px dashed var(--border);border-radius:10px;transition:border-color .2s,color .2s}.add-widget-btn:hover{color:var(--accent);border-color:#9b6dff66}.add-widget-menu{position:absolute;bottom:100%;left:0;right:0;z-index:20;margin-bottom:4px;background:var(--bg-input);border:1px solid var(--border);border-radius:10px;padding:4px;max-height:280px;overflow-y:auto;box-shadow:0 8px 24px #0006}.add-widget-menu button{width:100%;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-secondary);padding:8px 9px;border-radius:6px}.add-widget-menu button:hover{background:var(--accent-muted);color:var(--text-primary)}.copilot-chat-header{width:100%;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;color:var(--text-secondary)}.copilot-chat-header .title{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--text-primary)}.cop-ask{display:flex;flex-direction:column}.widget-empty{font-size:12px;color:var(--text-muted)}.widget-skeleton{height:64px;margin:0 10px 6px;border-radius:10px;border:1px solid var(--border);background:linear-gradient(90deg,#ffffff05,#ffffff0f,#ffffff05);background-size:200% 100%;animation:widgetShimmer 1.4s infinite}@keyframes widgetShimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.banner{background:rgba(var(--red-rgb),.12);color:var(--on-error);font-size:12px;padding:8px 16px;border-bottom:1px solid rgba(var(--red-rgb),.25)}.banner.warn{background:rgba(var(--yellow-rgb),.14);color:var(--on-warn);border-bottom-color:rgba(var(--yellow-rgb),.28)}.banner.info{background:rgba(var(--blue-rgb),.12);color:var(--on-info);border-bottom-color:rgba(var(--blue-rgb),.25)}.phone-link,.msg-link{display:inline;padding:0;border:none;background:none;color:inherit;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px;cursor:pointer;word-break:break-word}.phone-link:hover,.msg-link:hover{opacity:.8}.phone-menu-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5000}.phone-menu{position:fixed;z-index:5001;min-width:190px;padding:4px;background:var(--bg-dark);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-3)}.phone-menu-num{font-size:11px;font-weight:700;color:var(--text-muted);padding:6px 10px 4px;word-break:break-all}.phone-menu-item{display:block;width:100%;text-align:left;padding:8px 10px;font-size:13px;color:var(--text-primary);border-radius:7px;background:none;border:none;cursor:pointer}.phone-menu-item:hover{background:var(--bg-hover)}
