:root{color-scheme:dark;font-family:Inter,Segoe UI,system-ui,sans-serif;color:#f0f2f5;background:#0a0b0d;--bg: #0a0b0d;--surface: #111318;--surface-soft: #17191f;--surface-raised: #1e2028;--line: rgba(255, 255, 255, .07);--line-strong: rgba(255, 255, 255, .12);--ink: #f0f2f5;--muted: #8b95a6;--accent: #F68721;--on-accent: #0a0a0a;--accent-strong: #E0760E;--accent-soft: rgba(246, 135, 33, .1);--green: #22c55e;--yellow: #fbbf24;--red: #f87171;--shadow: 0 8px 24px rgba(0, 0, 0, .4);--ease: cubic-bezier(.22, 1, .36, 1);--radius: 12px;--bottom-nav-h: 64px}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:none;background:none;transition:background .14s var(--ease),opacity .14s}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid rgba(246,135,33,.5);outline-offset:2px}.mobile-auth-shell{display:grid;place-items:center;min-height:100vh;padding:16px;background:var(--bg)}.mobile-auth-card{width:min(420px,100%);padding:28px 24px;border-radius:16px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}.mobile-auth-brand{display:flex;align-items:center;gap:14px;margin-bottom:10px}.mobile-app-icon{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--accent);color:var(--on-accent);font-size:20px;font-weight:800;flex-shrink:0}.mobile-auth-card h1{font-size:clamp(1.6rem,6vw,2.2rem);letter-spacing:-.04em;line-height:1.05;margin:4px 0 0}.mobile-auth-card>p{margin-top:8px;color:var(--muted);font-size:14px}.mobile-auth-presets{display:flex;gap:8px;margin-top:18px}.mobile-auth-presets button{min-height:34px;padding:0 14px;border-radius:8px;background:var(--surface-soft);border:1px solid var(--line-strong);font-size:13px;font-weight:600}.mobile-auth-presets button:hover{background:var(--surface-raised)}.mobile-field{display:grid;gap:6px;margin-top:14px}.mobile-field span{font-size:11px;font-weight:700;color:var(--muted);letter-spacing:.06em;text-transform:uppercase}.mobile-field input{height:46px;padding:0 14px;border-radius:8px;border:1px solid var(--line-strong);background:var(--surface-soft);font-size:15px;width:100%}.mobile-field input::placeholder{color:var(--muted)}.mobile-primary-button{height:48px;width:100%;margin-top:20px;border-radius:10px;background:var(--accent);color:var(--on-accent);font-size:15px;font-weight:700;letter-spacing:-.01em;box-shadow:0 6px 18px #f6872147}.mobile-primary-button:hover{background:var(--accent-strong)}.mobile-primary-button:disabled{opacity:.45;cursor:not-allowed}.mobile-error{margin-top:10px;color:var(--red);font-size:13px}.mobile-shell-locked{display:block;min-height:100vh}.mobile-lock-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:100vh;min-height:100dvh;padding:calc(36px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));text-align:center;background:radial-gradient(125% 80% at 50% -10%,rgba(246,135,33,.16),transparent 55%),var(--bg)}.mobile-lock-brand{display:inline-flex;align-items:center;gap:9px;color:var(--muted);font-size:13px;font-weight:700;letter-spacing:.01em}.mobile-lock-brand .mobile-app-icon{width:28px;height:28px;border-radius:8px;font-size:14px}.mobile-lock-title{font-size:clamp(1.5rem,6vw,2rem);font-weight:760;letter-spacing:-.03em;line-height:1.1;margin-top:2px}.mobile-lock-fp{position:relative;display:inline-grid;place-items:center;width:clamp(116px,36vw,152px);height:clamp(116px,36vw,152px);margin:14px 0 6px;border-radius:50%;color:var(--accent);background:radial-gradient(circle at 50% 34%,#f687213d,#f687210d 70%),var(--surface);border:1px solid var(--line-strong);box-shadow:0 18px 44px #f6872138,inset 0 1px #ffffff0a;-webkit-tap-highlight-color:transparent;transition:transform .16s var(--ease),box-shadow .2s var(--ease),border-color .2s var(--ease)}.mobile-lock-fp:active{transform:scale(.96)}.mobile-lock-fp:disabled{cursor:default}.mobile-lock-fp-icon{width:52%;height:52%;display:grid;place-items:center}.mobile-lock-fp-icon svg{width:100%;height:100%;display:block}.mobile-lock-fp-ring{position:absolute;inset:-6px;border-radius:50%;border:2px solid rgba(246,135,33,.5);animation:lock-pulse 2s var(--ease) infinite;pointer-events:none}@keyframes lock-pulse{0%{transform:scale(1);opacity:.7}70%{transform:scale(1.3);opacity:0}to{transform:scale(1.3);opacity:0}}.mobile-lock-fp.is-busy{border-color:#f6872180}.mobile-lock-fp.is-busy .mobile-lock-fp-ring{inset:-4px;border-color:#f6872138;border-top-color:var(--accent);animation:lock-spin .8s linear infinite}@keyframes lock-spin{to{transform:rotate(360deg)}}.mobile-lock-fp.is-error{color:var(--red);border-color:#f871718c;box-shadow:0 18px 44px #f8717138;animation:lock-shake .42s var(--ease)}.mobile-lock-fp.is-error .mobile-lock-fp-ring{display:none}@keyframes lock-shake{0%,to{transform:translate(0)}20%{transform:translate(-7px)}40%{transform:translate(7px)}60%{transform:translate(-5px)}80%{transform:translate(5px)}}.mobile-lock-status{min-height:20px;max-width:280px;font-size:14px;color:var(--muted)}.mobile-lock-status.is-error{color:var(--red);font-weight:600}.mobile-lock-signout{margin-top:4px;padding:11px 18px;border-radius:9px;color:var(--muted);font-size:13px;font-weight:600}.mobile-lock-signout:hover{color:var(--ink);background:var(--surface-soft)}@media(prefers-reduced-motion:reduce){.mobile-lock-fp-ring{animation:none;opacity:.5}.mobile-lock-fp.is-error{animation:none}}.mobile-shell{display:flex;flex-direction:column;height:100vh;padding-top:env(safe-area-inset-top,0px);overflow:hidden;background:var(--bg)}.mobile-app-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:var(--surface);border-bottom:1px solid var(--line);flex-shrink:0;height:54px}.mobile-app-header-left{display:flex;align-items:center;gap:10px}.mobile-app-header-text{display:flex;flex-direction:column;gap:1px}.mobile-app-title{font-size:14px;font-weight:600;color:var(--ink);line-height:1.2}.mobile-content{flex:1 1 auto;overflow:hidden;min-height:0}.mobile-bottom-nav{display:flex;align-items:stretch;height:var(--bottom-nav-h);border-top:1px solid var(--line);background:var(--surface);flex-shrink:0;padding-bottom:env(safe-area-inset-bottom,0)}.mobile-bottom-item{flex:1 1 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;font-weight:600;color:var(--muted);letter-spacing:.02em;border-radius:0}.mobile-bottom-item:hover{background:var(--surface-soft);color:var(--ink)}.mobile-bottom-item-active{color:var(--accent)}.mobile-bottom-icon{position:relative;display:inline-flex}.mobile-nav-badge{position:absolute;top:-4px;right:-8px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--red);color:#fff;font-size:9px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.mobile-kicker{display:inline-flex;align-items:center;height:18px;padding:0 8px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.mobile-avatar{display:inline-grid;place-items:center;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-weight:700;flex-shrink:0;-webkit-user-select:none;user-select:none}.mobile-avatar-img{object-fit:cover;background:var(--accent-soft)}.mobile-chip{display:inline-flex;align-items:center;height:18px;padding:0 7px;border-radius:999px;font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.mobile-chip-open{background:#22c55e1f;color:var(--green)}.mobile-chip-waiting{background:#fbbf241f;color:var(--yellow)}.mobile-chip-closed{background:#ffffff12;color:var(--muted)}.mobile-priority-dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}.mobile-priority-low{background:var(--muted)}.mobile-priority-medium{background:var(--yellow)}.mobile-priority-high{background:var(--red)}.mobile-socket-indicator{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.mobile-socket-live{background:#22c55e1f;color:var(--green)}.mobile-socket-connecting{background:#fbbf241f;color:var(--yellow)}.mobile-socket-offline{background:#ffffff0f;color:var(--muted)}.mobile-inline-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#fbbf2414;border-bottom:1px solid rgba(251,191,36,.2);color:var(--yellow);font-size:13px;flex-shrink:0}.mobile-banner-dismiss{padding:2px 6px;color:var(--yellow);opacity:.7;font-size:13px}.mobile-inbox-layout{display:flex;height:100%;overflow:hidden}.mobile-inbox-compact{flex-direction:column}.mobile-inbox-compact .mobile-thread-panel{flex:1 1 auto;min-height:0;overflow:hidden}.mobile-queue-panel{display:flex;flex-direction:column;width:320px;flex-shrink:0;border-right:1px solid var(--line);background:var(--surface);overflow:hidden}.mobile-inbox-compact .mobile-queue-panel{width:100%;border-right:none;flex:1 1 auto}.mobile-search-bar{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--line);flex-shrink:0}.mobile-search-icon{color:var(--muted);font-size:18px;flex-shrink:0;transform:scaleX(-1)}.mobile-search-bar input{flex:1;background:none;border:none;font-size:14px;color:var(--ink);min-width:0}.mobile-search-bar input::placeholder{color:var(--muted)}.mobile-search-clear{color:var(--muted);font-size:12px;padding:2px 6px}.mobile-filter-tabs{display:flex;border-bottom:1px solid var(--line);flex-shrink:0}.mobile-filter-tab{flex:1 1 0;display:flex;align-items:center;justify-content:center;gap:6px;height:44px;padding:0 8px;font-size:14px;font-weight:600;color:var(--muted);white-space:nowrap;border-bottom:2px solid transparent}.mobile-filter-tab:hover{color:var(--ink)}.mobile-filter-tab-active{color:var(--accent);border-bottom-color:var(--accent)}.mobile-filter-count{min-width:20px;height:18px;padding:0 6px;border-radius:999px;background:var(--surface-soft);font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.mobile-filter-tab-active .mobile-filter-count{background:var(--accent-soft);color:var(--accent)}.mobile-unread-banner{padding:6px 12px;background:var(--accent-soft);border-bottom:1px solid rgba(246,135,33,.15);color:var(--accent);font-size:11px;font-weight:600;text-align:center;flex-shrink:0}.mobile-session-list{flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain}.mobile-ptr{display:flex;align-items:flex-end;justify-content:center;overflow:hidden}.mobile-ptr-spin{font-size:18px;color:var(--accent, #F68721);padding-bottom:6px;transition:opacity .1s}.mobile-ptr-spin.spin{animation:mobile-ptr-rotate .8s linear infinite}@keyframes mobile-ptr-rotate{to{transform:rotate(360deg)}}.mobile-session-card{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;width:100%;padding:12px;border-bottom:1px solid var(--line);text-align:left;background:transparent}.mobile-session-card:hover,.mobile-session-card-active{background:var(--surface-soft)}.mobile-session-avatar-wrap{position:relative}.mobile-session-avatar-wrap .mobile-priority-dot{position:absolute;bottom:0;right:0;width:9px;height:9px;border:2px solid var(--surface)}.mobile-session-card-active .mobile-session-avatar-wrap .mobile-priority-dot{border-color:var(--surface-soft)}.mobile-session-body{min-width:0}.mobile-session-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.mobile-session-heading strong{font-size:14px;font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-session-heading-right{display:flex;align-items:center;gap:6px;flex-shrink:0}.mobile-session-heading time{font-size:11px;color:var(--muted);white-space:nowrap}.mobile-unread-badge{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:9px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.mobile-session-card p{margin-top:3px;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-session-preview-typing{color:var(--accent)!important;font-style:italic}.mobile-session-footer{display:flex;align-items:center;gap:6px;margin-top:6px;flex-wrap:wrap}.mobile-session-assignee{font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-session-tag{font-size:9px;font-weight:600;padding:1px 6px;border-radius:4px;background:var(--surface-raised);color:var(--muted);text-transform:lowercase}.mobile-session-site{font-size:10px;font-weight:600;color:var(--accent, #F68721);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:140px}.mobile-load-more{width:100%;padding:14px;font-size:13px;font-weight:600;color:var(--accent);border-top:1px solid var(--line)}.mobile-load-more:hover{background:var(--accent-soft)}.mobile-loading-list{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px 20px;color:var(--muted);font-size:13px}.mobile-loading-spinner{display:block;width:28px;height:28px;border-radius:50%;border:2px solid var(--line-strong);border-top-color:var(--accent);animation:spin .7s linear infinite}.mobile-empty-list{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:40px 20px;text-align:center;color:var(--muted)}.mobile-empty-list strong{color:var(--ink);font-size:15px}.mobile-empty-list p{font-size:13px;line-height:1.5}.mobile-thread-panel{flex:1 1 auto;display:flex;flex-direction:column;min-width:0;overflow:hidden;background:var(--bg)}.mobile-thread-panel-focus{flex:1 1 auto;background:var(--bg)}.mobile-thread-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;background:var(--surface);border-bottom:1px solid var(--line);flex-shrink:0;min-height:56px}.mobile-thread-heading{display:flex;align-items:center;gap:10px;min-width:0}.mobile-back-button{color:var(--accent);font-size:22px;padding:4px;line-height:1;flex-shrink:0}.mobile-thread-avatar-btn{padding:0;border-radius:50%;line-height:0}.mobile-thread-titleblock{display:flex;flex-direction:column;gap:3px;min-width:0}.mobile-thread-titleblock strong{font-size:15px;font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-thread-titleblock span{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:4px}.mobile-thread-titleblock .mobile-thread-site{font-size:11px;font-weight:600;color:var(--accent, #F68721)}.mobile-thread-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.mobile-thread-action{width:32px;height:32px;border-radius:50%;display:inline-grid;place-items:center;color:var(--muted);font-size:18px}.mobile-thread-action:hover{background:var(--surface-raised);color:var(--ink)}.mobile-visitor-profile{background:var(--surface);border-bottom:1px solid var(--line);padding:10px 14px;flex-shrink:0;animation:slideDown .18s var(--ease)}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.mobile-visitor-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:4px 0;font-size:12px;border-bottom:1px solid var(--line)}.mobile-visitor-row:last-child{border-bottom:none}.mobile-visitor-row span:first-child{color:var(--muted);flex-shrink:0}.mobile-visitor-row span:last-child{color:var(--ink);text-align:right;overflow-wrap:anywhere}.mobile-tags-row{display:flex;flex-wrap:wrap;gap:6px;padding:8px 14px;border-bottom:1px solid var(--line);background:var(--surface);flex-shrink:0}.mobile-tag{height:20px;padding:0 8px;border-radius:4px;background:var(--surface-raised);color:var(--muted);font-size:10px;font-weight:600}.mobile-thread-feed{flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:10px;padding:20px 14px 12px;scroll-behavior:smooth}.mobile-system-message{text-align:center;font-size:11px;color:var(--muted);padding:4px 12px;border-radius:999px;background:var(--surface);border:1px solid var(--line);align-self:center}.mobile-message-row{display:flex;align-items:flex-end;gap:7px}.mobile-message-row-agent{justify-content:flex-end}.mobile-message-bubble{max-width:min(72%,300px);padding:9px 13px 7px;border-radius:16px;position:relative}.mobile-message-bubble p{font-size:14px;line-height:1.45;color:var(--ink);word-break:break-word;white-space:pre-wrap}.mobile-message-link{color:inherit;text-decoration:underline;font-weight:600;word-break:break-all}.mobile-message-bubble-visitor{border-top-left-radius:3px;background:var(--surface);border:1px solid var(--line)}.mobile-message-bubble-agent{border-top-right-radius:3px;background:var(--accent-soft);border:1px solid rgba(246,135,33,.18)}.mobile-message-bubble-agent p{color:#7ff0e4}.mobile-message-meta{display:flex;align-items:center;gap:5px;margin-top:4px;font-size:10px;color:var(--muted)}.mobile-delivery-sent,.mobile-delivery-reached{color:var(--muted);font-size:10px}.mobile-delivery-seen{color:var(--accent);font-size:10px}.mobile-bubble-typing{padding:12px 14px}.mobile-typing-dots{display:inline-flex;align-items:center;gap:4px}.mobile-typing-dots span{display:block;width:7px;height:7px;border-radius:50%;background:var(--muted);animation:typingPulse 1.2s ease-in-out infinite}.mobile-typing-dots span:nth-child(2){animation-delay:.2s}.mobile-typing-dots span:nth-child(3){animation-delay:.4s}@keyframes typingPulse{0%,60%,to{transform:scale(1);opacity:.4}30%{transform:scale(1.35);opacity:1}}.mobile-thread-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 14px;background:var(--surface);border-top:1px solid var(--line);font-size:11px;color:var(--muted);flex-shrink:0}.mobile-thread-toolbar>div{display:flex;align-items:center;gap:5px}.mobile-composer{display:flex;align-items:flex-end;gap:4px;padding:8px 10px;background:var(--surface);border-top:1px solid var(--line);flex-shrink:0}.mobile-composer-plus{width:32px;height:32px;border-radius:50%;display:inline-grid;place-items:center;color:var(--muted);font-size:20px;line-height:1;flex-shrink:0}.mobile-composer-plus:hover{background:var(--surface-raised);color:var(--ink)}.mobile-composer-plus:disabled{opacity:.4;cursor:not-allowed}.mobile-composer-plus-loading{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.mobile-emoji-toggle{width:32px;height:32px;border-radius:50%;display:inline-grid;place-items:center;font-size:18px;color:var(--muted);flex-shrink:0}.mobile-emoji-toggle:hover{background:var(--surface-raised)}.mobile-emoji-toggle-active{background:var(--accent-soft);color:var(--accent)}.mobile-emoji-toggle:disabled{opacity:.4;cursor:not-allowed}.mobile-emoji-picker{background:var(--surface);border-top:1px solid var(--line);padding:8px;flex-shrink:0;max-height:200px;overflow-y:auto}.mobile-emoji-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:2px}.mobile-emoji-btn{display:inline-grid;place-items:center;width:100%;aspect-ratio:1;font-size:20px;border-radius:6px;line-height:1}.mobile-emoji-btn:hover{background:var(--surface-raised)}.mobile-upload-error{padding:8px 14px;background:#f871711a;border-bottom:1px solid rgba(248,113,113,.2);color:var(--red);font-size:12px;flex-shrink:0;text-align:center}.mobile-message-image{display:block;max-width:100%;max-height:220px;border-radius:8px;object-fit:contain;cursor:zoom-in}.mobile-lightbox{position:fixed;inset:0;z-index:2000;background:#000000e0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:18px}.mobile-lightbox img{max-width:94vw;max-height:78vh;object-fit:contain;border-radius:10px;box-shadow:0 16px 50px #0000008c}.mobile-lightbox-bar{display:flex;gap:10px}.mobile-lightbox-bar button{appearance:none;border:0;cursor:pointer;font:inherit;font-size:13px;font-weight:700;line-height:1;padding:10px 16px;border-radius:999px;color:#fff;background:#ffffff2e}.mobile-lightbox-bar button:active{background:#ffffff4d}.mobile-message-file{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--accent);text-decoration:none;word-break:break-all}.mobile-message-file:hover{text-decoration:underline}.mobile-composer textarea{flex:1;min-height:36px;max-height:120px;padding:8px 10px;border-radius:18px;border:1px solid var(--line-strong);background:var(--surface-soft);font-size:14px;line-height:1.4;resize:none;color:var(--ink);overflow-y:auto}.mobile-composer textarea::placeholder{color:var(--muted)}.mobile-composer textarea:focus{border-color:var(--accent);outline:none}.mobile-composer textarea:disabled{opacity:.5}.mobile-send-button{width:36px;height:36px;border-radius:50%;background:var(--accent);color:var(--on-accent);font-size:18px;font-weight:700;display:inline-grid;place-items:center;flex-shrink:0;box-shadow:0 4px 12px #f687214d}.mobile-send-button:hover{background:var(--accent-strong)}.mobile-send-button:disabled{opacity:.35;cursor:not-allowed;box-shadow:none}.mobile-closed-notice{display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 14px;background:#ffffff0a;border-top:1px solid var(--line);font-size:12px;color:var(--muted);flex-shrink:0}.mobile-closed-reopen{color:var(--accent);font-size:12px;font-weight:600;padding:2px 8px;border-radius:6px;border:1px solid rgba(246,135,33,.3)}.mobile-closed-reopen:hover{background:var(--accent-soft)}.mobile-empty-thread{flex:1 1 auto;display:grid;place-items:center}.mobile-empty-thread-inner{display:flex;flex-direction:column;align-items:center;gap:8px;padding:32px;text-align:center}.mobile-empty-thread-icon{font-size:40px}.mobile-empty-thread-inner strong{font-size:16px;color:var(--ink)}.mobile-empty-thread-inner p{font-size:13px;color:var(--muted);line-height:1.5}.mobile-sheet-backdrop{position:fixed;inset:0;z-index:100;background:#0009;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:flex-end;animation:fadeIn .14s var(--ease)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.mobile-sheet{width:100%;max-width:520px;margin:0 auto;background:var(--surface);border-radius:20px 20px 0 0;border:1px solid var(--line);border-bottom:none;padding:16px 18px 24px;display:flex;flex-direction:column;gap:16px;animation:slideUp .2s var(--ease)}@keyframes slideUp{0%{transform:translateY(40px);opacity:0}to{transform:translateY(0);opacity:1}}.mobile-sheet-handle{width:40px;height:4px;border-radius:2px;background:var(--line-strong);align-self:center;margin-bottom:4px}.mobile-sheet h3{font-size:16px;font-weight:700;color:var(--ink);letter-spacing:-.02em}.mobile-sheet-section{display:flex;flex-direction:column;gap:8px}.mobile-sheet-label{font-size:11px;font-weight:700;color:var(--muted);letter-spacing:.06em;text-transform:uppercase}.mobile-chip-row{display:flex;gap:8px;flex-wrap:wrap}.mobile-chip-btn{height:34px;padding:0 16px;border-radius:8px;border:1px solid var(--line-strong);background:var(--surface-soft);font-size:13px;font-weight:600;color:var(--ink)}.mobile-chip-btn:hover{background:var(--surface-raised)}.mobile-chip-btn-active{background:var(--accent-soft);border-color:#f6872166;color:var(--accent)}.mobile-chip-btn-high{border-color:#f871714d}.mobile-chip-btn-high.mobile-chip-btn-active{background:#f871711f;color:var(--red);border-color:#f8717166}.mobile-chip-btn-medium.mobile-chip-btn-active{background:#fbbf241f;color:var(--yellow);border-color:#fbbf2466}.mobile-sheet-options{display:flex;flex-direction:column;border-radius:10px;overflow:hidden;border:1px solid var(--line)}.mobile-sheet-option{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line);font-size:14px;font-weight:500;color:var(--ink);text-align:left;background:var(--surface-soft)}.mobile-sheet-option:last-child{border-bottom:none}.mobile-sheet-option:hover{background:var(--surface-raised)}.mobile-sheet-option-active{background:var(--accent-soft)}.mobile-check{margin-left:auto;color:var(--accent);font-weight:700}.mobile-sheet-close{height:44px;border-radius:10px;border:1px solid var(--line-strong);background:var(--surface-soft);font-size:15px;font-weight:600;color:var(--ink)}.mobile-sheet-close:hover{background:var(--surface-raised)}.mobile-stats-tab{height:100%;overflow-y:auto;padding:16px;overscroll-behavior:contain}.mobile-stats-tab h2{font-size:22px;font-weight:700;letter-spacing:-.03em;margin-bottom:12px}.mobile-stats-tab h3{font-size:14px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin:20px 0 10px}.mobile-metrics-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.mobile-metric-card{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--line)}.mobile-metric-card span{font-size:11px;font-weight:700;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}.mobile-metric-card strong{font-size:24px;font-weight:700;color:var(--ink);letter-spacing:-.04em}.mobile-metric-open strong{color:var(--green)}.mobile-metric-waiting strong{color:var(--yellow)}.mobile-metric-closed strong{color:var(--muted)}.mobile-agent-list{display:flex;flex-direction:column;gap:2px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line)}.mobile-agent-row{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--surface);border-bottom:1px solid var(--line)}.mobile-agent-row:last-child{border-bottom:none}.mobile-agent-rank{font-size:11px;font-weight:700;color:var(--muted);width:16px;text-align:center;flex-shrink:0}.mobile-agent-info{display:flex;flex-direction:column;gap:2px;min-width:0}.mobile-agent-info strong{font-size:14px;font-weight:600;color:var(--ink)}.mobile-agent-info span{font-size:11px;color:var(--muted)}.mobile-settings-tab{height:100%;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}.mobile-profile-card{display:flex;align-items:center;gap:14px;padding:16px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--line)}.mobile-profile-info{display:flex;flex-direction:column;gap:3px;min-width:0}.mobile-profile-info strong{font-size:16px;font-weight:600;color:var(--ink)}.mobile-profile-info span{font-size:13px;color:var(--muted)}.mobile-profile-role{font-size:11px!important;color:var(--accent)!important;font-weight:600}.mobile-settings-section{display:flex;flex-direction:column;gap:8px}.mobile-settings-label{font-size:11px;font-weight:700;color:var(--muted);letter-spacing:.06em;text-transform:uppercase;padding-left:2px}.mobile-settings-select{width:100%;height:44px;padding:0 14px;border-radius:10px;border:1px solid var(--line-strong);background:var(--surface);font-size:14px;color:var(--ink)}.mobile-settings-info-card{border-radius:10px;border:1px solid var(--line);background:var(--surface);overflow:hidden}.mobile-settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line);font-size:13px}.mobile-settings-row:last-child{border-bottom:none}.mobile-settings-row span:first-child{color:var(--muted)}.mobile-settings-value-mono{font-family:Fira Code,Courier New,monospace;font-size:11px;color:var(--muted);text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.mobile-toggle{position:relative;width:48px;height:28px;border-radius:14px;border:none;background:var(--border);cursor:pointer;flex-shrink:0;transition:background .2s}.mobile-toggle-on{background:var(--accent)}.mobile-toggle-thumb{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .2s}.mobile-toggle-on .mobile-toggle-thumb{transform:translate(20px)}.mobile-settings-hint{font-size:12px;color:var(--muted);margin:2px 0 0;line-height:1.4;max-width:220px}.mobile-logout-button{height:48px;border-radius:10px;border:1px solid rgba(248,113,113,.25);background:#f8717114;color:var(--red);font-size:15px;font-weight:600;margin-top:auto}.mobile-logout-button:hover{background:#f8717124;border-color:#f8717166}@media(min-width:960px){.mobile-inbox-layout{flex-direction:row}.mobile-queue-panel{width:340px;min-height:0}.mobile-thread-panel-focus{position:static;inset:auto}.mobile-metrics-grid{grid-template-columns:repeat(4,1fr)}.mobile-shell{max-width:1100px;margin:0 auto}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:active:not(:disabled){opacity:.72}button:disabled{opacity:.4;cursor:not-allowed}.mobile-toggle{background:#3a3f4b}.mobile-toggle.mobile-toggle-on{background:var(--accent)}.mobile-avatar-presence{position:relative;display:inline-flex;flex-shrink:0}.mobile-presence-dot{position:absolute;right:-1px;bottom:-1px;width:12px;height:12px;border-radius:50%;border:2px solid var(--surface);background:transparent;display:none}.mobile-presence-dot.mobile-presence-live{display:block;background:var(--green)}.mobile-presence-dot.mobile-presence-away{display:block;background:var(--yellow)}.mobile-presence-line{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}.mobile-presence-line i{width:8px;height:8px;border-radius:50%;background:var(--muted)}.mobile-presence-line.mobile-presence-live{color:var(--green)}.mobile-presence-line.mobile-presence-live i{background:var(--green)}.mobile-presence-line.mobile-presence-away i{background:var(--yellow)}.mobile-search-icon{display:inline-flex;color:var(--muted)}.mobile-search-clear{display:inline-flex;padding:6px;color:var(--muted)}.mobile-view-chips{display:flex;gap:8px;padding:2px 12px 10px;overflow-x:auto;flex-shrink:0;scrollbar-width:none}.mobile-view-chips::-webkit-scrollbar{display:none}.mobile-view-chip{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface-soft);color:var(--muted);font-size:13px;font-weight:600;white-space:nowrap;flex-shrink:0}.mobile-view-chip span{min-width:18px;padding:0 5px;height:18px;border-radius:999px;background:var(--surface-raised);font-size:11px;line-height:18px;text-align:center}.mobile-view-chip.is-active{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.mobile-view-chip.is-active span{background:#0000002e;color:var(--on-accent)}.mobile-website-filter{display:flex;align-items:center;gap:8px;margin:0 12px 10px;padding:0 12px;height:38px;border-radius:10px;border:1px solid var(--line);background:var(--surface-soft);color:var(--muted);flex-shrink:0}.mobile-website-filter select{flex:1;min-width:0;height:100%;border:0;background:transparent;color:var(--ink);font-size:13px;outline:none}.mobile-website-filter option{background:var(--surface);color:var(--ink)}.mobile-session-card{gap:12px;padding:12px 14px;align-items:center;min-height:76px}.mobile-session-card .mobile-presence-dot{border-color:var(--bg)}.mobile-session-heading strong{font-size:15px;font-weight:500}.mobile-session-card.is-unread .mobile-session-heading strong{font-weight:700}.mobile-session-card.is-unread .mobile-session-heading time{color:var(--accent);font-weight:600}.mobile-session-card.is-unread .mobile-session-preview-row p{color:var(--ink)}.mobile-session-preview-row{display:flex;align-items:center;gap:8px;margin-top:2px}.mobile-session-preview-row p{flex:1;min-width:0;margin-top:0;font-size:13px}.mobile-unread-badge{min-width:20px;height:20px;font-size:11px;flex-shrink:0}.mobile-session-footer{margin-top:6px;flex-wrap:nowrap;overflow:hidden}.mobile-session-footer>*{flex-shrink:0}.mobile-session-pill{font-size:10px;font-weight:600;padding:2px 7px;border-radius:999px;background:var(--surface-raised);color:var(--muted)}.mobile-session-pill-red{background:#f8717124;color:var(--red)}.mobile-session-site{font-size:10px;font-weight:600;color:var(--accent)}.mobile-session-assignee{font-size:11px}.mobile-session-assignee.is-unassigned{color:var(--yellow)}.mobile-empty-icon{width:56px;height:56px;border-radius:50%;display:inline-grid;place-items:center;background:var(--surface-soft);color:var(--muted);margin-bottom:6px}.mobile-empty-list{display:flex;flex-direction:column;align-items:center;padding:48px 28px;text-align:center;gap:4px}.mobile-ptr-spin{display:inline-flex}.mobile-skeleton-list{flex:1 1 auto;overflow:hidden}.mobile-skeleton-row{display:flex;align-items:center;gap:12px;padding:14px;border-bottom:1px solid var(--line)}.mobile-skeleton-row>div{flex:1;display:flex;flex-direction:column;gap:9px}.mobile-skeleton{display:block;height:11px;border-radius:6px;background:linear-gradient(90deg,var(--surface-soft) 0%,var(--surface-raised) 50%,var(--surface-soft) 100%);background-size:200% 100%;animation:mobile-shimmer 1.3s linear infinite}.mobile-skeleton-avatar{width:44px;height:44px;border-radius:50%;flex-shrink:0}@keyframes mobile-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.mobile-thread-panel{animation:mobile-thread-in .22s var(--ease)}@keyframes mobile-thread-in{0%{opacity:0;transform:translate(18px)}to{opacity:1;transform:none}}.mobile-thread-header{padding:8px 10px 8px 6px}.mobile-thread-heading{gap:2px;flex:1}.mobile-back-button{width:40px;height:40px;display:inline-grid;place-items:center;border-radius:50%;padding:0}.mobile-thread-identity{display:flex;align-items:center;gap:10px;min-width:0;flex:1;text-align:left;padding:4px 6px;border-radius:10px}.mobile-thread-identity .mobile-thread-titleblock span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-thread-action{width:40px;height:40px}.mobile-thread-action-solve{color:var(--green);background:#22c55e1f}.mobile-context-strip{display:flex;align-items:center;gap:8px;width:100%;padding:8px 14px;background:var(--surface);border-bottom:1px solid var(--line);overflow-x:auto;flex-shrink:0;text-align:left;scrollbar-width:none}.mobile-context-strip::-webkit-scrollbar{display:none}.mobile-context-strip>*{flex-shrink:0}.mobile-context-item{font-size:12px;color:var(--muted);white-space:nowrap}.mobile-context-high{color:var(--red);font-weight:600}.mobile-context-strip .mobile-tag{display:inline-flex;align-items:center}.mobile-thread-feed-wrap{position:relative;flex:1 1 auto;min-height:0;display:flex}.mobile-thread-feed{gap:10px;padding:14px 12px 12px;scroll-behavior:auto;width:100%}.mobile-day-separator{display:flex;justify-content:center;margin:6px 0 2px}.mobile-day-separator span{font-size:11px;font-weight:600;color:var(--muted);padding:3px 10px;border-radius:999px;background:var(--surface-soft)}.mobile-message-row.is-grouped{margin-top:-6px}.mobile-message-row.is-sending{opacity:.6}.mobile-avatar-spacer{width:26px;flex-shrink:0}.mobile-message-stack{display:flex;flex-direction:column;max-width:min(80%,340px);min-width:0}.mobile-message-row-agent .mobile-message-stack{align-items:flex-end}.mobile-message-row-visitor .mobile-message-stack{align-items:flex-start}.mobile-message-bubble{max-width:100%;border-radius:18px;animation:mobile-bubble-in .18s var(--ease);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}@keyframes mobile-bubble-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.mobile-message-bubble p{font-size:15px}.mobile-message-bubble-visitor{border-top-left-radius:6px}.mobile-message-bubble-agent{border-top-right-radius:6px;background:#f6872129;border-color:#f6872138}.mobile-message-bubble-agent p{color:var(--ink)}.mobile-message-row-agent .mobile-message-meta{justify-content:flex-end}.mobile-message-translation{margin-top:6px;padding-top:6px;border-top:1px dashed var(--line-strong);font-size:14px!important;color:var(--muted)!important}.mobile-reply-quote{display:flex;flex-direction:column;gap:1px;margin-bottom:6px;padding:4px 8px;border-left:3px solid var(--accent);border-radius:4px;background:#ffffff0d;font-size:12px;color:var(--muted)}.mobile-reply-quote b{color:var(--ink);font-weight:600}.mobile-reply-quote span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-citations{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.mobile-citations span{font-size:11px;padding:2px 7px;border-radius:6px;background:#ffffff0f;color:var(--muted)}.mobile-reactions{display:flex;gap:4px;margin-top:-6px;padding:0 8px;position:relative;z-index:1}.mobile-reactions button{display:inline-flex;align-items:center;gap:3px;height:24px;padding:0 7px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface-raised);font-size:13px}.mobile-reactions button span{font-size:11px;color:var(--muted)}.mobile-reactions button.is-mine{border-color:#f6872180;background:var(--accent-soft)}.mobile-note-card{align-self:stretch;margin:2px 8px;padding:9px 12px;border-radius:12px;background:#fbbf2417;border:1px solid rgba(251,191,36,.25)}.mobile-note-head{display:block;font-size:11px;font-weight:600;color:var(--yellow);margin-bottom:3px}.mobile-note-card p{font-size:14px;line-height:1.45;color:var(--ink);white-space:pre-wrap;word-break:break-word}.mobile-new-pill{position:absolute;left:50%;bottom:10px;transform:translate(-50%);height:34px;padding:0 16px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:13px;font-weight:700;box-shadow:var(--shadow)}.mobile-approvals{padding:8px 12px 0;display:flex;flex-direction:column;gap:8px;flex-shrink:0}.mobile-approval-card{padding:10px 12px;border-radius:12px;border:1px solid rgba(246,135,33,.45);background:var(--surface);display:flex;flex-direction:column;gap:8px}.mobile-approval-card strong{display:block;font-size:13px}.mobile-approval-card code{display:block;margin-top:3px;font-size:11px;color:var(--muted);word-break:break-all}.mobile-approval-buttons{display:flex;gap:8px;justify-content:flex-end}.mobile-chip-btn-solid{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.mobile-canned-pop{margin:0 12px 6px;background:var(--surface-raised);border:1px solid var(--line-strong);border-radius:12px;overflow-y:auto;max-height:220px;box-shadow:var(--shadow);flex-shrink:0}.mobile-canned-pop-head{display:flex;justify-content:space-between;padding:6px 12px;font-size:11px;color:var(--muted)}.mobile-canned-pop>button{display:block;width:100%;text-align:left;padding:10px 12px;border-top:1px solid var(--line)}.mobile-canned-title{display:block;font-size:13px;color:var(--ink)}.mobile-canned-title b{color:var(--accent);font-weight:700}.mobile-canned-title i{margin-left:6px;font-style:normal;font-size:10px;color:var(--muted);border:1px solid var(--line-strong);border-radius:999px;padding:0 6px}.mobile-canned-body{display:block;margin-top:2px;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-tool-note{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 12px 6px;padding:10px 12px;border-radius:12px;background:var(--surface-raised);border:1px solid var(--line-strong);font-size:13px;color:var(--ink);flex-shrink:0}.mobile-tool-note button{font-size:12px;color:var(--muted);flex-shrink:0;padding:4px}.mobile-composer{flex-direction:column;align-items:stretch;gap:8px;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px))}.mobile-composer-modes{display:flex;gap:4px}.mobile-composer-modes button{height:28px;padding:0 12px;border-radius:999px;font-size:12px;font-weight:600;color:var(--muted)}.mobile-composer-modes button.is-active{background:var(--surface-raised);color:var(--ink)}.mobile-composer-note .mobile-composer-modes button.is-active{background:#fbbf2429;color:var(--yellow)}.mobile-composer-input{display:flex;align-items:flex-end;gap:8px}.mobile-composer textarea{min-height:44px;padding:11px 14px;border-radius:22px;font-size:16px}.mobile-composer-note textarea{background:#fbbf2414;border-color:#fbbf2459}.mobile-composer-note textarea:focus{border-color:var(--yellow)}.mobile-send-button{width:44px;height:44px}.mobile-composer-note .mobile-send-button{background:var(--yellow);box-shadow:none}.mobile-composer-tools{display:flex;justify-content:space-between;gap:2px}.mobile-composer-tools button{flex:1;min-width:0;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:10px;color:var(--muted)}.mobile-composer-tools button span{font-size:10px;font-weight:600;white-space:nowrap}.mobile-composer-tools button.is-active{color:var(--accent);background:var(--accent-soft)}.mobile-emoji-grid{grid-template-columns:repeat(8,1fr)}.mobile-emoji-btn{font-size:24px}.mobile-closed-notice{padding:14px 14px calc(14px + env(safe-area-inset-bottom,0px));font-size:13px}.mobile-closed-reopen{font-size:13px;padding:6px 14px}.mobile-sheet{max-height:88vh;padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))}.mobile-sheet-scroll{display:flex;flex-direction:column;gap:16px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.mobile-sheet-close{flex-shrink:0;width:100%}.mobile-chip-btn{height:40px;border-radius:10px}.mobile-sheet-option{min-height:48px}.mobile-sheet-option .mobile-check{display:inline-flex}.mobile-option-note{font-size:11px;color:var(--yellow)}.mobile-sheet-inline{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink)}.mobile-sheet-inline>span{flex:1}.mobile-sheet-input{flex:1;min-width:0;height:40px;padding:0 12px;border-radius:10px;border:1px solid var(--line-strong);background:var(--surface-soft);color:var(--ink);font-size:16px}.mobile-sheet-input:focus{border-color:var(--accent);outline:none}.mobile-sheet-text{font-size:14px;line-height:1.5;color:var(--ink);white-space:pre-wrap}.mobile-sheet-muted{font-size:13px;line-height:1.5;color:var(--muted)}.mobile-sheet-note{font-size:13px;color:var(--yellow)}.mobile-visitor-head{display:flex;align-items:center;gap:14px}.mobile-visitor-head>div{display:flex;flex-direction:column;gap:3px;min-width:0}.mobile-visitor-head strong{font-size:18px;font-weight:700}.mobile-detail-card{border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);padding:4px 12px}.mobile-detail-pad{padding:12px;display:flex;flex-direction:column;gap:4px}.mobile-detail-card .mobile-visitor-row{padding:9px 0;font-size:13px}.mobile-visitor-row a{color:var(--accent);text-align:right;overflow-wrap:anywhere;text-decoration:none}.mobile-journey{list-style:none;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.mobile-journey li{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:9px 12px;border-bottom:1px solid var(--line)}.mobile-journey li:last-child{border-bottom:none}.mobile-journey div{min-width:0;display:flex;flex-direction:column;gap:2px}.mobile-journey strong{font-size:13px;font-weight:600}.mobile-journey span{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-journey time{font-size:11px;color:var(--muted);flex-shrink:0}.mobile-ai-intro{display:flex;flex-direction:column;gap:12px}.mobile-ai-intro .mobile-sheet-muted{text-align:center}.mobile-suggestion{display:flex;flex-direction:column;gap:8px;width:100%;text-align:left;padding:12px;border-radius:12px;border:1px solid var(--line-strong);background:var(--surface-soft)}.mobile-suggestion span{font-size:14px;line-height:1.45;color:var(--ink);white-space:pre-wrap}.mobile-suggestion em{font-style:normal;font-size:12px;font-weight:700;color:var(--accent)}.mobile-search-bar-sheet{margin:0;flex-shrink:0}.mobile-canned-option{flex-direction:column;align-items:stretch;gap:2px}.mobile-reaction-picker{display:flex;justify-content:space-between;gap:4px}.mobile-reaction-picker button{flex:1;height:52px;border-radius:14px;font-size:26px;background:var(--surface-soft)}.mobile-reaction-picker button.is-on{background:var(--accent-soft);outline:1px solid rgba(246,135,33,.5)}.mobile-stats-tab h3:first-of-type{margin-top:4px}.mobile-metric-alert strong{color:var(--yellow)}.mobile-metrics-grid-3{grid-template-columns:repeat(3,1fr)}.mobile-chart-card{padding:14px 16px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--line)}.mobile-chart-head{display:flex;align-items:baseline;gap:8px;margin-bottom:12px}.mobile-chart-head strong{font-size:24px;font-weight:700;letter-spacing:-.04em}.mobile-chart-head span{font-size:12px;color:var(--muted)}.mobile-bars{display:flex;align-items:flex-end;gap:8px;height:120px}.mobile-bar-col{flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;min-width:0}.mobile-bar-col em{font-style:normal;font-size:10px;color:var(--muted);height:12px}.mobile-bar-col i{display:block;width:100%;max-width:28px;border-radius:6px 6px 2px 2px;background:var(--accent);flex-shrink:1;min-height:4px}.mobile-bar-col i.is-empty{background:var(--surface-raised)}.mobile-bar-col span{font-size:10px;color:var(--muted);white-space:nowrap}.mobile-bottom-nav{height:calc(var(--bottom-nav-h) + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px)}.mobile-queue-panel>.mobile-search-bar{margin:10px 12px;padding:0 12px;height:42px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.mobile-search-bar .mobile-search-icon{transform:none}.mobile-search-bar input{font-size:16px;outline:none;height:100%}.mobile-search-bar input::-webkit-search-cancel-button{display:none}.mobile-session-card .mobile-presence-dot{border-color:var(--surface)}.mobile-app-header-right{display:flex;align-items:center;gap:8px}.mobile-header-avatar{padding:0;border-radius:50%;line-height:0}.mobile-thread-panel-focus .mobile-thread-header{padding-top:8px}.mobile-channel-switch{display:flex;gap:4px;margin:0 12px 10px;padding:4px;border-radius:12px;background:var(--surface-soft);border:1px solid var(--line);flex-shrink:0}.mobile-channel-switch button{flex:1;height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;font-size:14px;font-weight:600;color:var(--muted)}.mobile-channel-switch button.is-active{background:var(--surface-raised);color:var(--ink);box-shadow:0 1px 4px #00000059}.mobile-channel-switch button span{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:11px;line-height:18px}.mobile-view-tabs{display:flex;border-bottom:1px solid var(--line);flex-shrink:0}.mobile-view-tabs button{flex:1;height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent;border-radius:0}.mobile-view-tabs button.is-active{color:var(--accent);border-bottom-color:var(--accent)}.mobile-view-tabs button span{min-width:20px;height:18px;padding:0 6px;border-radius:999px;background:var(--surface-soft);font-size:11px;line-height:18px}.mobile-view-tabs button.is-active span{background:var(--accent-soft)}.mobile-website-filter{margin-top:10px}.mobile-session-preview-row p b{color:var(--ink);font-weight:600}.is-email .mobile-message-stack{max-width:92%}.is-email .mobile-message-bubble{border-radius:14px;padding:12px 14px 9px}.mobile-email-subject{display:block;font-size:15px;font-weight:700;color:var(--ink);margin-bottom:6px;word-break:break-word}.mobile-email-to{display:flex;align-items:center;gap:7px;padding:0 4px;font-size:12px;color:var(--muted);min-width:0}.mobile-email-to svg{flex-shrink:0}.mobile-email-to span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-email-to b{color:var(--ink);font-weight:600}.is-email .mobile-composer textarea{border-radius:14px;min-height:72px}.mobile-inbox-top{display:flex;align-items:center;gap:8px;height:52px;padding:0 10px 0 12px;flex-shrink:0}.mobile-inbox-top .mobile-channel-switch{flex:1;min-width:0;margin:0;padding:3px;border-radius:10px}.mobile-inbox-top .mobile-channel-switch button{height:32px;border-radius:8px;font-size:13px;gap:6px}.mobile-inbox-top .mobile-search-bar{flex:1;min-width:0;margin:0;padding:0 12px;height:38px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.mobile-top-icon{width:38px;height:38px;border-radius:50%;display:inline-grid;place-items:center;color:var(--muted);flex-shrink:0}.mobile-view-tabs button{height:38px;font-size:13px}.mobile-session-card{padding-top:10px;padding-bottom:10px;min-height:70px}.mobile-conn-toast{position:fixed;top:calc(env(safe-area-inset-top,0px) + 8px);left:50%;transform:translate(-50%);z-index:300;display:inline-flex;align-items:center;gap:8px;max-width:calc(100vw - 24px);padding:9px 16px;border-radius:999px;font-size:13px;font-weight:600;line-height:1.3;color:#fff;background:#3a3f4b;box-shadow:0 8px 24px #00000080;pointer-events:none;animation:mobile-toast-in .22s var(--ease)}.mobile-conn-toast.is-low{top:calc(env(safe-area-inset-top,0px) + 62px)}.mobile-conn-toast i{width:8px;height:8px;border-radius:50%;flex-shrink:0;background:var(--red);animation:mobile-toast-pulse 1.2s ease-in-out infinite}.mobile-conn-toast.is-offline{background:#7f1d1d}.mobile-conn-toast.is-offline i{background:#fecaca}.mobile-conn-toast.is-online{background:#166534}.mobile-conn-toast.is-online i{background:#bbf7d0;animation:none}@keyframes mobile-toast-in{0%{opacity:0;transform:translate(-50%,-12px)}to{opacity:1;transform:translate(-50%)}}@keyframes mobile-toast-pulse{0%,to{opacity:1}50%{opacity:.35}}.mobile-conn-toast,.mobile-conn-toast.is-low{top:calc(env(safe-area-inset-top,0px) + 60px)}.mobile-conn-toast{white-space:nowrap}.mobile-session-list{display:flex;flex-direction:column}.mobile-session-list>*{flex-shrink:0}.mobile-session-list>.mobile-empty-list{flex:1 0 auto;justify-content:center;padding:24px 32px 72px;gap:6px}.mobile-empty-list .mobile-empty-icon{width:72px;height:72px;margin-bottom:10px}.mobile-empty-list strong{font-size:17px}.mobile-empty-list p{font-size:14px;max-width:280px}.mobile-empty-action{margin-top:16px;height:42px;padding:0 20px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface-soft);color:var(--accent);font-size:14px;font-weight:600}:root{--spring: cubic-bezier(.32, .72, 0, 1);--pop: cubic-bezier(.34, 1.56, .64, 1);--bg: #08090b;--surface: #101216;--surface-soft: #171a20;--surface-raised: #1f232b;--line: rgba(255, 255, 255, .06);--line-strong: rgba(255, 255, 255, .11);--shadow: 0 12px 32px rgba(0, 0, 0, .5)}html{-webkit-text-size-adjust:100%}body{text-rendering:optimizeLegibility}time,.mobile-unread-badge,.mobile-metric-card strong,.mobile-chart-head strong{font-variant-numeric:tabular-nums}.mobile-shell ::-webkit-scrollbar{width:0;height:0}button{transition:background .16s var(--ease),opacity .16s,transform .16s var(--ease),color .16s,border-color .16s,box-shadow .16s}button:active:not(:disabled){opacity:1}.mobile-session-card:active{background:var(--surface-soft);transform:scale(.985)}.mobile-chip-btn:active:not(:disabled),.mobile-sheet-close:active,.mobile-primary-button:active:not(:disabled),.mobile-suggestion:active,.mobile-logout-button:active{transform:scale(.97)}.mobile-send-button:active:not(:disabled),.mobile-thread-action:active,.mobile-top-icon:active,.mobile-back-button:active,.mobile-composer-tools button:active:not(:disabled),.mobile-reaction-picker button:active{transform:scale(.88)}.mobile-sheet-option:active{background:var(--surface-raised)}.mobile-bottom-item:active .mobile-bottom-icon{transform:scale(.9)}.mobile-inbox-compact{position:relative}.mobile-inbox-compact .mobile-thread-panel{position:absolute;inset:0;z-index:5;animation:mobile-push-in .34s var(--spring) both;box-shadow:-18px 0 40px #00000073}.mobile-inbox-compact .mobile-thread-panel.is-leaving{animation:mobile-push-out .22s cubic-bezier(.4,0,1,1) both}@keyframes mobile-push-in{0%{transform:translate(100%)}to{transform:none}}@keyframes mobile-push-out{0%{transform:none}to{transform:translate(100%)}}.mobile-inbox-compact .mobile-queue-panel{transition:transform .34s var(--spring),opacity .34s var(--ease)}.mobile-inbox-compact .mobile-queue-panel[aria-hidden=true]{transform:translate(-22%);opacity:.5;pointer-events:none}.mobile-channel-switch{position:relative}.mobile-channel-switch:before{content:"";position:absolute;top:3px;bottom:3px;left:3px;width:calc(50% - 5px);border-radius:8px;background:var(--surface-raised);box-shadow:0 1px 4px #0006,inset 0 1px #ffffff0d;transition:transform .3s var(--spring)}.mobile-channel-switch[data-active=email]:before{transform:translate(calc(100% + 4px))}.mobile-channel-switch button{position:relative;z-index:1}.mobile-channel-switch button.is-active,.mobile-inbox-top .mobile-channel-switch button.is-active{background:transparent;box-shadow:none}.mobile-channel-switch button span{animation:mobile-pop .32s var(--pop) both}.mobile-view-tabs{position:relative}.mobile-view-tabs button,.mobile-view-tabs button.is-active{border-bottom-color:transparent}.mobile-view-tabs-ink{position:absolute;left:0;bottom:-1px;width:33.3333%;height:2px;transition:transform .32s var(--spring);pointer-events:none}.mobile-view-tabs-ink:after{content:"";position:absolute;inset:0 22%;border-radius:2px 2px 0 0;background:var(--accent);box-shadow:0 0 12px #f6872199}.mobile-session-card{animation:mobile-row-in .36s var(--spring) both;animation-delay:calc(var(--i, 0) * 26ms)}@keyframes mobile-row-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.mobile-session-heading strong{letter-spacing:-.01em}.mobile-unread-badge,.mobile-nav-badge{animation:mobile-pop .32s var(--pop) both;box-shadow:0 2px 8px #f6872159}.mobile-nav-badge{box-shadow:0 2px 8px #f8717166}@keyframes mobile-pop{0%{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}.mobile-empty-list{animation:mobile-fade-up .38s var(--spring) both}@keyframes mobile-fade-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}.mobile-presence-dot.mobile-presence-live:after{content:"";position:absolute;inset:-2px;border-radius:50%;background:var(--green);animation:mobile-ping 2s ease-out infinite}@keyframes mobile-ping{0%{transform:scale(1);opacity:.55}70%,to{transform:scale(2.4);opacity:0}}.mobile-avatar{letter-spacing:.01em;box-shadow:inset 0 1px #ffffff1f}.mobile-avatar-tone-0{background:var(--surface-raised);color:var(--muted)}.mobile-avatar-tone-1{background:linear-gradient(140deg,#f9a04a,#e0680e);color:#1c0f02}.mobile-avatar-tone-2{background:linear-gradient(140deg,#5eb5f7,#2f6fd6);color:#04122b}.mobile-avatar-tone-3{background:linear-gradient(140deg,#5fd6a4,#1f9d6b);color:#03231a}.mobile-avatar-tone-4{background:linear-gradient(140deg,#c79bfa,#8250d9);color:#170a33}.mobile-avatar-tone-5{background:linear-gradient(140deg,#f78fb3,#d5477e);color:#2e0717}.mobile-avatar-tone-6{background:linear-gradient(140deg,#f5d565,#d99a12);color:#2b1c02}.mobile-thread-header{box-shadow:0 1px 0 var(--line),0 6px 18px #00000040;border-bottom:none;position:relative;z-index:2}.mobile-thread-titleblock strong{letter-spacing:-.01em}.mobile-thread-feed{background:radial-gradient(120% 60% at 50% 0%,rgba(246,135,33,.05),transparent 70%)}.mobile-message-bubble{animation:mobile-bubble-pop .3s var(--spring) both;box-shadow:0 1px 2px #00000040}.mobile-message-row-visitor .mobile-message-bubble{transform-origin:0 100%}.mobile-message-row-agent .mobile-message-bubble{transform-origin:100% 100%}@keyframes mobile-bubble-pop{0%{opacity:0;transform:translateY(8px) scale(.94)}to{opacity:1;transform:none}}.mobile-message-bubble-visitor{background:var(--surface-soft);border-color:var(--line)}.mobile-message-bubble-agent{background:linear-gradient(160deg,#f9953a,#ec7a12);border-color:transparent;box-shadow:0 4px 14px #f6872138}.mobile-message-bubble-agent p{color:#1a0d02}.mobile-message-bubble-agent .mobile-message-meta{color:#1a0d029e}.mobile-message-bubble-agent .mobile-delivery-sent,.mobile-message-bubble-agent .mobile-delivery-reached{color:#1a0d0280}.mobile-message-bubble-agent .mobile-delivery-seen{color:#1a0d02;font-weight:700}.mobile-message-bubble-agent .mobile-message-file{color:#1a0d02;text-decoration:underline}.mobile-message-bubble-agent .mobile-message-translation{color:#1a0d02b3!important;border-top-color:#1a0d0240}.mobile-message-bubble-agent .mobile-reply-quote{background:#1a0d021f;border-left-color:#1a0d02;color:#1a0d02b3}.mobile-message-bubble-agent .mobile-reply-quote b{color:#1a0d02}.mobile-message-bubble-agent .mobile-citations span{background:#1a0d021f;color:#1a0d02bf}.mobile-message-bubble-agent .mobile-email-subject{color:#1a0d02}.mobile-message-row.is-sending .mobile-message-bubble{animation:mobile-bubble-pop .3s var(--spring) both,mobile-sending 1.4s ease-in-out .3s infinite}@keyframes mobile-sending{0%,to{opacity:1}50%{opacity:.55}}.mobile-message-row.is-sending{opacity:1}.mobile-reactions button{animation:mobile-pop .32s var(--pop) both}.mobile-note-card,.mobile-system-message,.mobile-day-separator{animation:mobile-fade-up .3s var(--spring) both}.mobile-new-pill{animation:mobile-pill-in .32s var(--pop) both}@keyframes mobile-pill-in{0%{opacity:0;transform:translate(-50%,14px) scale(.9)}to{opacity:1;transform:translate(-50%) scale(1)}}.mobile-composer{box-shadow:0 -1px 0 var(--line),0 -8px 20px #00000040;border-top:none;position:relative;z-index:2}.mobile-composer textarea{transition:border-color .2s,box-shadow .2s,background .2s}.mobile-composer textarea:focus{box-shadow:0 0 0 3px #f6872129}.mobile-composer-note textarea:focus{box-shadow:0 0 0 3px #fbbf2429}.mobile-send-button{background:linear-gradient(160deg,#f9953a,#ec7a12);box-shadow:0 6px 16px #f6872161;transition:transform .2s var(--pop),opacity .2s,box-shadow .2s,filter .2s}.mobile-send-button:disabled{opacity:1;filter:grayscale(1) brightness(.55);box-shadow:none;transform:scale(.92)}.mobile-composer-modes button{transition:background .22s var(--ease),color .22s}.mobile-emoji-picker,.mobile-canned-pop,.mobile-tool-note,.mobile-approvals{animation:mobile-fade-up .24s var(--spring) both}.mobile-sheet-backdrop{backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:fadeIn .22s var(--ease) both}.mobile-sheet-backdrop.is-closing{animation:mobile-fade-out .2s var(--ease) both}@keyframes mobile-fade-out{0%{opacity:1}to{opacity:0}}.mobile-sheet{border-radius:26px 26px 0 0;background:linear-gradient(180deg,rgba(255,255,255,.035),transparent 120px),var(--surface);box-shadow:0 -20px 60px #0000008c;animation:mobile-sheet-in .38s var(--spring) both;transition:transform .26s var(--spring);padding-top:0;gap:14px}.mobile-sheet.is-dragging{transition:none}.mobile-sheet.is-closing{animation:mobile-sheet-out .2s cubic-bezier(.4,0,1,1) both}@keyframes mobile-sheet-in{0%{transform:translateY(100%)}to{transform:none}}@keyframes mobile-sheet-out{0%{transform:none}to{transform:translateY(100%)}}.mobile-sheet-grab{display:flex;flex-direction:column;gap:12px;padding:10px 0 2px;touch-action:none;flex-shrink:0}.mobile-sheet-handle{width:44px;height:5px;border-radius:3px;margin-bottom:0;background:#ffffff38}.mobile-sheet h3{font-size:18px}.mobile-sheet-section,.mobile-visitor-head,.mobile-detail-card,.mobile-ai-intro{animation:mobile-fade-up .32s var(--spring) both;animation-delay:60ms}.mobile-chip-btn-active{box-shadow:0 0 0 1px #f6872140}.mobile-bottom-nav{border-top:none;box-shadow:0 -1px 0 var(--line),0 -10px 24px #0000004d;position:relative;z-index:3}.mobile-bottom-item{gap:3px;transition:color .22s var(--ease)}.mobile-bottom-item:hover{background:transparent}.mobile-bottom-icon{padding:4px 20px;border-radius:999px;transition:background .28s var(--spring),transform .28s var(--pop)}.mobile-bottom-item-active .mobile-bottom-icon{background:var(--accent-soft);transform:translateY(-1px)}.mobile-bottom-item-active{font-weight:700}.mobile-nav-badge{right:8px;top:-2px}.mobile-stats-tab,.mobile-settings-tab{animation:mobile-fade-up .32s var(--spring) both}.mobile-metric-card,.mobile-chart-card,.mobile-profile-card,.mobile-settings-info-card,.mobile-agent-list,.mobile-detail-card{background:linear-gradient(180deg,rgba(255,255,255,.03),transparent 70%),var(--surface);box-shadow:0 1px #ffffff08 inset,0 8px 22px #00000038;border-radius:16px}.mobile-metric-card{animation:mobile-fade-up .38s var(--spring) both}.mobile-metrics-grid .mobile-metric-card:nth-child(2){animation-delay:40ms}.mobile-metrics-grid .mobile-metric-card:nth-child(3){animation-delay:80ms}.mobile-metrics-grid .mobile-metric-card:nth-child(4){animation-delay:.12s}.mobile-metric-card strong{font-size:28px}.mobile-bar-col i{transform-origin:50% 100%;animation:mobile-bar-grow .62s var(--spring) both;background:linear-gradient(180deg,#fba45a,#ec7a12);box-shadow:0 4px 14px #f6872140}.mobile-bar-col i.is-empty{box-shadow:none}.mobile-bar-col:nth-child(2) i{animation-delay:40ms}.mobile-bar-col:nth-child(3) i{animation-delay:80ms}.mobile-bar-col:nth-child(4) i{animation-delay:.12s}.mobile-bar-col:nth-child(5) i{animation-delay:.16s}.mobile-bar-col:nth-child(6) i{animation-delay:.2s}.mobile-bar-col:nth-child(7) i{animation-delay:.24s}@keyframes mobile-bar-grow{0%{transform:scaleY(0)}to{transform:scaleY(1)}}.mobile-toggle{transition:background .26s var(--ease)}.mobile-toggle-thumb{transition:transform .3s var(--pop);box-shadow:0 2px 6px #00000059}.mobile-profile-card{padding:18px}.mobile-auth-shell{background:radial-gradient(90% 55% at 50% 0%,rgba(246,135,33,.13),transparent 70%),var(--bg)}.mobile-auth-card{animation:mobile-fade-up .52s var(--spring) both;border-radius:22px;box-shadow:0 24px 60px #00000080}.mobile-app-icon{background:linear-gradient(150deg,#fba45a,#ec7a12);box-shadow:0 8px 20px #f6872159,inset 0 1px #ffffff4d;border-radius:12px}.mobile-primary-button{background:linear-gradient(160deg,#f9953a,#ec7a12);box-shadow:0 10px 24px #f6872152,inset 0 1px #ffffff40;border-radius:14px}.mobile-field input{transition:border-color .2s,box-shadow .2s}.mobile-field input:focus{box-shadow:0 0 0 3px #f6872129;outline:none}@media(min-width:960px){.mobile-thread-panel{animation:none}}.mobile-session-site{display:inline-flex;align-items:center;gap:4px;max-width:55%;padding:2px 8px 2px 6px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:10px;font-weight:600}.mobile-session-site svg{flex-shrink:0}.mobile-session-site b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.launch-splash{position:fixed;inset:0;z-index:5000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#08090b;overflow:hidden;transition:opacity .38s var(--ease),transform .38s var(--ease)}.launch-splash.is-out{opacity:0;transform:scale(1.08);pointer-events:none}.launch-glow{position:absolute;top:50%;left:50%;width:150vmax;height:150vmax;margin:-75vmax 0 0 -75vmax;background:radial-gradient(closest-side,rgba(246,135,33,.26),rgba(246,135,33,.07) 38%,transparent 62%);animation:launch-glow 1.4s var(--ease) both}@keyframes launch-glow{0%{opacity:0;transform:scale(.35)}to{opacity:1;transform:scale(1)}}.launch-mark{position:relative;width:104px;height:104px;margin-bottom:22px}.launch-tile{position:relative;width:100%;height:100%;border-radius:26px;overflow:hidden;background:linear-gradient(150deg,#fba45a,#ec7a12);box-shadow:0 22px 50px #f687216b,inset 0 1px #ffffff59;animation:launch-tile .72s var(--pop) both}@keyframes launch-tile{0%{opacity:0;transform:scale(.3) rotate(-14deg)}60%{opacity:1}to{opacity:1;transform:scale(1) rotate(0)}}.launch-bubble{transform-box:fill-box;transform-origin:20% 100%;animation:launch-bubble .52s var(--spring) .18s both}@keyframes launch-bubble{0%{opacity:0;transform:scale(.7)}to{opacity:1;transform:none}}.launch-arrow{animation:launch-arrow .56s var(--spring) .43s both}@keyframes launch-arrow{0%{opacity:0;transform:translate(-26px)}to{opacity:1;transform:none}}.launch-shine{position:absolute;top:-20%;bottom:-20%;left:-60%;width:45%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent);transform:skew(-18deg);animation:launch-shine .8s var(--ease) .7s both}@keyframes launch-shine{0%{left:-60%}to{left:130%}}.launch-ring{position:absolute;inset:0;border-radius:26px;border:2px solid rgba(246,135,33,.55);animation:launch-ring 1.1s var(--ease) .38s both}.launch-ring-2{animation-delay:.6s}@keyframes launch-ring{0%{opacity:.8;transform:scale(1)}to{opacity:0;transform:scale(2.3)}}.launch-name{display:flex;font-size:30px;font-weight:800;letter-spacing:-.03em;color:#f0f2f5}.launch-name span{display:inline-block;animation:launch-letter .52s var(--spring) both}@keyframes launch-letter{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}.launch-tag{font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);animation:launch-letter .52s var(--spring) .88s both}.mobile-inbox-compact .mobile-session-list>.mobile-empty-list{flex:0 0 auto;justify-content:flex-start;padding-top:min(62vw,300px);padding-bottom:24px}:root{--ai-bg: linear-gradient(160deg, #262a44, #1a2036);--ai-line: rgba(140, 150, 255, .28);--ai-ink: #e9ebff;--ai-accent: #a9b2ff}.mobile-message-row.is-ai .mobile-message-bubble-agent{background:var(--ai-bg);border:1px solid var(--ai-line);box-shadow:0 2px 10px #0003}.mobile-message-row.is-ai .mobile-message-bubble-agent p{color:var(--ai-ink)}.mobile-message-row.is-ai .mobile-message-bubble-agent .mobile-message-meta{color:var(--ai-accent)}.mobile-message-row.is-ai .mobile-message-bubble-agent .mobile-message-meta svg{flex-shrink:0}.mobile-message-row.is-ai .mobile-message-bubble-agent .mobile-delivery-sent,.mobile-message-row.is-ai .mobile-message-bubble-agent .mobile-delivery-reached,.mobile-message-row.is-ai .mobile-message-bubble-agent .mobile-delivery-seen{color:var(--ai-accent)}.mobile-message-row.is-ai .mobile-message-bubble-agent .mobile-message-file{color:var(--ai-ink)}.mobile-message-row.is-ai .mobile-message-bubble-agent .mobile-message-translation{color:var(--ai-accent)!important;border-top-color:var(--ai-line)}.mobile-message-row.is-ai .mobile-message-bubble-agent .mobile-citations span{background:#8c96ff29;color:var(--ai-ink)}.mobile-message-row.is-ai .mobile-message-bubble-agent .mobile-reply-quote{background:#8c96ff24;border-left-color:var(--ai-accent);color:var(--ai-accent)}.mobile-message-row.is-ai .mobile-message-bubble-agent .mobile-reply-quote b,.mobile-message-row.is-ai .mobile-message-bubble-agent .mobile-email-subject{color:var(--ai-ink)}.mobile-pill-ai{display:inline-flex;align-items:center;gap:3px;background:#8c96ff29;color:var(--ai-accent)}.mobile-pill-green{background:#22c55e24;color:var(--green)}.mobile-ai-bar{display:flex;align-items:center;gap:10px;margin:0 12px 8px;padding:10px 12px;border-radius:14px;background:var(--ai-bg);border:1px solid var(--ai-line);flex-shrink:0;animation:mobile-fade-up .28s var(--spring) both}.mobile-ai-bar-icon{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#8c96ff33;color:var(--ai-accent);flex-shrink:0}.mobile-ai-bar>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.mobile-ai-bar strong{font-size:13px;color:var(--ai-ink)}.mobile-ai-bar span{font-size:11px;color:var(--ai-accent)}.mobile-ai-bar button{height:36px;padding:0 14px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:13px;font-weight:700;flex-shrink:0}.mobile-visitors-tab{height:100%;overflow-y:auto;overscroll-behavior:contain;padding:16px 0 24px;animation:mobile-fade-up .32s var(--spring) both}.mobile-visitors-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 16px 12px}.mobile-visitors-head h2{font-size:22px;font-weight:700;letter-spacing:-.03em}.mobile-live-pill{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;background:var(--surface-soft);color:var(--muted);font-size:12px;font-weight:600}.mobile-live-pill i{width:7px;height:7px;border-radius:50%;background:var(--muted)}.mobile-live-pill.is-live{background:#22c55e1f;color:var(--green)}.mobile-live-pill.is-live i{background:var(--green);box-shadow:0 0 #22c55e99;animation:mobile-live-dot 1.8s ease-out infinite}@keyframes mobile-live-dot{0%{box-shadow:0 0 #22c55e8c}to{box-shadow:0 0 0 7px #22c55e00}}.mobile-visitors-note{margin:0 16px 12px;padding:10px 12px;border-radius:12px;background:#22c55e1f;color:var(--green);font-size:13px;animation:mobile-fade-up .24s var(--spring) both}.mobile-visitors-empty{padding-top:min(40vw,200px)}.mobile-visitor-list{display:flex;flex-direction:column}.mobile-visitor-card{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);animation:mobile-row-in .36s var(--spring) both;animation-delay:calc(var(--i, 0) * 26ms)}.mobile-visitor-body{flex:1;min-width:0}.mobile-visitor-top{display:flex;align-items:center;gap:6px}.mobile-visitor-top strong{font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-visitor-top .mobile-session-pill{flex-shrink:0}.mobile-visitor-page{display:flex;align-items:center;gap:5px;margin-top:3px;font-size:13px;color:var(--ink);min-width:0}.mobile-visitor-page svg{flex-shrink:0;color:var(--muted)}.mobile-visitor-page span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-visitor-meta{margin-top:3px;font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-visitor-action{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:58px;padding:8px 6px;border-radius:12px;background:var(--accent-soft);color:var(--accent);font-size:10px;font-weight:700;flex-shrink:0}.mobile-visitor-action:active:not(:disabled){transform:scale(.92)}.mobile-sheet-textarea{height:auto;min-height:92px;padding:12px;resize:none;line-height:1.45;flex:none;width:100%}.mobile-sheet .mobile-primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.mobile-sheet-muted b{color:var(--ink);font-weight:600}.mobile-nav-badge-green{background:var(--green);box-shadow:0 2px 8px #22c55e66;color:#04210f}.mobile-bottom-icon{padding:4px 16px}.mobile-bottom-item{font-size:10px}.mobile-live-card{padding:16px;border-radius:18px;border:1px solid var(--line);background:radial-gradient(120% 90% at 100% 0%,rgba(246,135,33,.14),transparent 60%),var(--surface);box-shadow:0 8px 22px #00000038;animation:mobile-fade-up .38s var(--spring) both}.mobile-live-head{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.mobile-live-numbers{display:flex;gap:12px;margin:14px 0 16px}.mobile-live-numbers>div{flex:1;display:flex;flex-direction:column;gap:2px}.mobile-live-numbers strong{font-size:38px;font-weight:700;letter-spacing:-.04em;line-height:1;font-variant-numeric:tabular-nums}.mobile-live-numbers span{font-size:12px;color:var(--muted)}.mobile-split-bar{height:8px;border-radius:999px;background:var(--surface-raised);overflow:hidden;display:flex}.mobile-live-card .mobile-split-bar{background:#4f8ef7}.mobile-live-card .mobile-split-bar:empty{background:var(--surface-raised)}.mobile-split-bar i{display:block;height:100%;background:#a9b2ff;border-right:2px solid var(--surface);transition:width .5s var(--spring)}.mobile-split-legend{display:flex;gap:16px;margin-top:10px;font-size:12px;color:var(--muted)}.mobile-split-legend span{display:inline-flex;align-items:center;gap:6px}.mobile-split-legend i{width:9px;height:9px;border-radius:3px}.mobile-split-legend i.is-ai{background:#a9b2ff}.mobile-split-legend i.is-team{background:#4f8ef7}.mobile-feedback-empty{display:flex;flex-direction:column;gap:3px;text-align:center;padding:20px 16px}.mobile-feedback-empty strong{font-size:14px}.mobile-feedback-empty span{font-size:12px;color:var(--muted)}.mobile-feedback-row{width:100%;text-align:left}.mobile-feedback-row .mobile-agent-info{flex:1}.mobile-feedback-row .mobile-agent-info span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-rating{font-size:13px;font-weight:700;color:var(--green);flex-shrink:0}.mobile-rating.is-low{color:var(--red)}.mobile-settings-choice{width:100%;text-align:left;background:transparent}.mobile-settings-choice .mobile-check{display:inline-flex;color:var(--accent)}.mobile-settings-row>div>span{color:var(--ink)!important;font-weight:500}.mobile-settings-row>span:first-child{color:var(--ink)}.mobile-settings-hint{max-width:none}.mobile-settings-error{color:var(--red);padding-left:2px}.mobile-warning-card{padding:14px;border-radius:14px;background:#fbbf241a;border:1px solid rgba(251,191,36,.35);display:flex;flex-direction:column;gap:6px}.mobile-warning-card strong{font-size:14px;color:var(--yellow)}.mobile-warning-card p{font-size:13px;color:var(--ink);line-height:1.4}.mobile-warning-card button{align-self:flex-start;margin-top:4px;height:36px;padding:0 14px;border-radius:999px;background:var(--yellow);color:#201400;font-size:13px;font-weight:700}:root[data-theme=light]{color-scheme:light;--bg: #f3f4f7;--surface: #ffffff;--surface-soft: #f0f2f5;--surface-raised: #e4e7ec;--line: rgba(16, 24, 40, .08);--line-strong: rgba(16, 24, 40, .15);--ink: #12151a;--muted: #5d6877;--accent: #d96a06;--accent-strong: #c25c02;--accent-soft: rgba(246, 135, 33, .14);--on-accent: #1a0d02;--green: #15803d;--yellow: #a16207;--red: #dc2626;--shadow: 0 10px 28px rgba(16, 24, 40, .14);--ai-bg: linear-gradient(160deg, #eef0ff, #e6ebff);--ai-line: rgba(84, 97, 214, .28);--ai-ink: #1d2355;--ai-accent: #4a57c9;color:#12151a;background:#f3f4f7}:root[data-theme=light] .mobile-toggle{background:#c7ccd4}:root[data-theme=light] .mobile-toggle.mobile-toggle-on{background:#ec7a12}:root[data-theme=light] .mobile-sheet-handle{background:#10182833}:root[data-theme=light] .mobile-sheet{box-shadow:0 -16px 44px #10182833}:root[data-theme=light] .mobile-sheet-backdrop{background:#10182866}:root[data-theme=light] .mobile-chip-closed,:root[data-theme=light] .mobile-socket-offline{background:var(--surface-raised)}:root[data-theme=light] .mobile-closed-notice{background:var(--surface-soft)}:root[data-theme=light] .mobile-reply-quote,:root[data-theme=light] .mobile-citations span{background:#1018280f}:root[data-theme=light] .mobile-metric-card,:root[data-theme=light] .mobile-chart-card,:root[data-theme=light] .mobile-profile-card,:root[data-theme=light] .mobile-settings-info-card,:root[data-theme=light] .mobile-agent-list,:root[data-theme=light] .mobile-detail-card,:root[data-theme=light] .mobile-live-card{box-shadow:0 1px 2px #1018280d,0 6px 16px #1018280f;border:1px solid var(--line)}:root[data-theme=light] .mobile-thread-header{box-shadow:0 1px 0 var(--line),0 4px 12px #1018280f}:root[data-theme=light] .mobile-composer{box-shadow:0 -1px 0 var(--line),0 -6px 14px #1018280d}:root[data-theme=light] .mobile-bottom-nav{box-shadow:0 -1px 0 var(--line),0 -6px 16px #1018280f}:root[data-theme=light] .mobile-inbox-compact .mobile-thread-panel{box-shadow:-12px 0 30px #10182829}:root[data-theme=light] .mobile-message-bubble{box-shadow:0 1px 2px #1018280f}:root[data-theme=light] .mobile-message-bubble-visitor{background:#fff;border-color:var(--line-strong)}:root[data-theme=light] .mobile-message-bubble-agent{box-shadow:0 3px 10px #ec7a1240}:root[data-theme=light] .mobile-message-row.is-ai .mobile-message-bubble-agent{box-shadow:0 1px 3px #4a57c924}:root[data-theme=light] .mobile-channel-switch:before{background:#fff;box-shadow:0 1px 3px #10182824}:root[data-theme=light] .mobile-send-button:disabled{filter:none;opacity:.4}:root[data-theme=light] .mobile-auth-card{box-shadow:0 18px 44px #1018281f}:root[data-theme=light] .mobile-canned-pop,:root[data-theme=light] .mobile-tool-note{box-shadow:0 8px 22px #1018281f}:root[data-theme=light] .mobile-note-card{background:#fff8e6;border-color:#f0d48a}:root[data-theme=light] .mobile-system-message,:root[data-theme=light] .mobile-day-separator span{background:var(--surface-raised);border-color:transparent}:root[data-theme=light] .mobile-thread-feed{background:var(--bg)}:root[data-theme=light] .mobile-view-tabs-ink:after{box-shadow:none}:root[data-theme=light] .mobile-visitor-action,:root[data-theme=light] .mobile-session-site{color:var(--accent-strong)}:root[data-theme=light] .mobile-pill-green,:root[data-theme=light] .mobile-live-pill.is-live,:root[data-theme=light] .mobile-visitors-note{background:#15803d1a}:root[data-theme=light] .mobile-session-pill-red{background:#dc26261a}:root[data-theme=light] .mobile-warning-card{background:#fff7e0}:root[data-theme=light] .mobile-warning-card button{background:#f5b301}:root[data-theme=light] .mobile-lock-fp{color:var(--accent)}.mobile-settings-tab>*,.mobile-stats-tab>*{flex-shrink:0}.mobile-settings-tab{padding-bottom:28px}.mobile-logout-button{margin-top:8px}.mobile-session-card.is-solved .mobile-avatar{opacity:.75}.mobile-session-card.is-solved .mobile-session-heading strong{font-weight:500}.mobile-session-ticks{display:inline-flex;margin-right:4px;vertical-align:-1px}.mobile-session-ticks span{font-size:12px}.mobile-inbox-titlebar{height:58px;padding:6px 8px 0 16px;gap:6px}.mobile-inbox-title{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.mobile-inbox-title strong{font-size:26px;font-weight:800;letter-spacing:-.035em;line-height:1.05;color:var(--ink)}.mobile-inbox-title span{font-size:12px;font-weight:600;color:var(--accent);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-inbox-titlebar .mobile-top-icon{width:42px;height:42px;background:var(--surface-soft);color:var(--ink)}.mobile-channel-chips{display:flex;gap:8px;padding:10px 16px 12px;flex-shrink:0}.mobile-channel-chips button{position:relative;display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 16px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface-soft);color:var(--muted);font-size:14px;font-weight:600;transition:background .22s var(--ease),color .22s,border-color .22s,transform .16s var(--ease)}.mobile-channel-chips button:active{transform:scale(.95)}.mobile-channel-chips button.is-active{background:var(--accent-soft);border-color:#f6872173;color:var(--accent)}.mobile-channel-chips em{font-style:normal;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--surface-raised);color:var(--ink);font-size:11px;line-height:20px;text-align:center}.mobile-channel-chips button.is-active em{background:var(--accent);color:var(--on-accent)}.mobile-channel-chips i{position:absolute;top:-2px;right:-2px;width:10px;height:10px;border-radius:50%;background:var(--red);border:2px solid var(--surface);animation:mobile-pop .32s var(--pop) both}:root{--bg: #1c1c20;--surface: #222226;--surface-soft: #2a2a2f;--surface-raised: #35353c;--line: rgba(255, 255, 255, .07);--line-strong: rgba(255, 255, 255, .13);--ink: #f5f5f6;--muted: #a1a3ac;--accent-soft: rgba(246, 135, 33, .14);--shadow: 0 10px 28px rgba(0, 0, 0, .32);--ai-bg: linear-gradient(160deg, #2d2d49, #272a3f);background:#1c1c20}html,body{background:var(--bg)}.mobile-metric-card,.mobile-chart-card,.mobile-profile-card,.mobile-settings-info-card,.mobile-agent-list,.mobile-detail-card,.mobile-live-card{background:var(--surface-soft);border:1px solid var(--line);box-shadow:none}.mobile-live-card{background:radial-gradient(120% 90% at 100% 0%,rgba(246,135,33,.12),transparent 60%),var(--surface-soft)}.mobile-settings-row,.mobile-agent-row{background:transparent}.mobile-queue-panel,.mobile-thread-header,.mobile-composer,.mobile-bottom-nav,.mobile-app-header,.mobile-context-strip,.mobile-thread-panel,.mobile-thread-feed{background:var(--bg)}.mobile-thread-header{box-shadow:0 1px 0 var(--line)}.mobile-composer,.mobile-bottom-nav{box-shadow:0 -1px 0 var(--line)}.mobile-inbox-compact .mobile-thread-panel{box-shadow:-14px 0 32px #0000004d}.mobile-message-bubble{box-shadow:none}.mobile-message-bubble-visitor{background:var(--surface-soft);border-color:transparent}.mobile-message-bubble-agent{box-shadow:none}.mobile-session-card{border-bottom-color:transparent}.mobile-session-card:active,.mobile-session-card-active{background:var(--surface-soft)}.mobile-session-card .mobile-presence-dot,.mobile-presence-dot{border-color:var(--bg)}.mobile-view-tabs-ink:after{box-shadow:none}.mobile-sheet{background:var(--surface);box-shadow:0 -16px 40px #0006}.mobile-sheet-option,.mobile-chip-btn,.mobile-sheet-input,.mobile-suggestion{background:var(--surface-soft)}.mobile-composer textarea{background:var(--surface-soft);border-color:transparent}.mobile-send-button{box-shadow:none}.mobile-primary-button,.mobile-app-icon{box-shadow:0 6px 16px #f6872138,inset 0 1px #ffffff40}.mobile-unread-badge,.mobile-nav-badge{box-shadow:none}.mobile-channel-chips i{border-color:var(--bg)}.mobile-split-bar i{border-right-color:var(--surface-soft)}.launch-splash{background:#1c1c20}:root[data-theme=light] .mobile-queue-panel,:root[data-theme=light] .mobile-thread-header,:root[data-theme=light] .mobile-composer,:root[data-theme=light] .mobile-bottom-nav,:root[data-theme=light] .mobile-app-header,:root[data-theme=light] .mobile-context-strip{background:var(--surface)}:root[data-theme=light] .mobile-metric-card,:root[data-theme=light] .mobile-chart-card,:root[data-theme=light] .mobile-profile-card,:root[data-theme=light] .mobile-settings-info-card,:root[data-theme=light] .mobile-agent-list,:root[data-theme=light] .mobile-detail-card{background:var(--surface)}:root[data-theme=light] .mobile-live-card{background:radial-gradient(120% 90% at 100% 0%,rgba(246,135,33,.14),transparent 60%),var(--surface)}:root[data-theme=light] .mobile-session-card{border-bottom-color:var(--line)}:root[data-theme=light] .mobile-composer textarea{background:var(--surface-soft);border-color:var(--line-strong)}:root[data-theme=light] .mobile-sheet{background:var(--surface)}:root[data-theme=light] .mobile-session-card .mobile-presence-dot,:root[data-theme=light] .mobile-presence-dot{border-color:var(--surface)}:root[data-theme=light] .mobile-channel-chips i{border-color:var(--surface)}:root[data-theme=light] html,:root[data-theme=light] body{background:var(--bg)}.mobile-list-loading{display:flex;justify-content:center;padding:16px 0 20px}.mobile-list-loading .mobile-loading-spinner{width:22px;height:22px}
