@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-family:Manrope,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#171a20;background:#eceef2;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #171a20;--muted: #727985;--line: #e5e7eb;--panel: #ffffff;--soft: #f5f6f8;--blue: #4c6fff;--blue-soft: #eef2ff;--sidebar: #11151b}*{box-sizing:border-box}html,body,#root{width:100%;height:100%}body{margin:0;min-width:320px;min-height:100vh;overflow:hidden}button,input,textarea,select{font:inherit}button{border:0;cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(76,111,255,.28);outline-offset:1px}.boot-screen{min-height:100vh;display:grid;place-content:center;gap:24px;background:#11151b}.boot-line{width:80px;height:3px;border-radius:9px;background:#2a303a;overflow:hidden;position:relative}.boot-line:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;width:40%;background:#5a7bff;animation:loading 1s infinite ease-in-out}@keyframes loading{0%{transform:translate(-100%)}to{transform:translate(250%)}}.brand-mark{width:66px;height:66px;display:grid;place-items:center}.brand-mark img{width:100%;height:100%;object-fit:contain;display:block}.brand-mark.small{width:42px;height:42px}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:#fff;position:relative}.login-card{position:relative;width:min(100%,470px);padding:46px;border-radius:28px;background:#fff;border:1px solid rgba(17,21,27,.08);box-shadow:0 30px 80px #11151b1f}.eyebrow{margin:32px 0 10px;color:#6b7280;font-size:.72rem;font-weight:800;letter-spacing:.12em}.login-card h1{margin:0;font-size:clamp(2rem,7vw,3rem);line-height:1.04;letter-spacing:-.055em}.login-copy{margin:16px 0 30px;color:var(--muted);font-size:1rem;line-height:1.55}.login-card form{display:grid;gap:10px}.login-card label{font-size:.84rem;font-weight:700}.login-card input{height:52px;padding:0 16px;border:1px solid #d9dde4;border-radius:13px;background:#fafbfc;font-size:1rem}.primary-button{height:52px;margin-top:6px;border-radius:13px;background:#171b22;color:#fff;font-weight:750}.primary-button:hover{background:#2a3039}.primary-button:disabled{opacity:.55;cursor:default}.form-error{margin:0;color:#c53b3b;font-size:.84rem}.secure-note{display:flex;gap:8px;align-items:center;justify-content:center;color:#838995;font-size:.78rem;margin:24px 0 0}.app-shell{width:100%;max-width:100%;height:100vh;min-height:0;display:flex;overflow:hidden;background:#eceef2}.sidebar{flex:0 0 90px;padding:22px 14px 16px;background:var(--sidebar);color:#b2b7c0;display:flex;flex-direction:column;z-index:40}.sidebar-head{display:flex;justify-content:center;margin-bottom:26px}.sidebar nav{display:grid;gap:8px}.nav-item{width:100%;min-height:58px;border-radius:14px;color:#8f96a2;background:transparent;display:flex;align-items:center;justify-content:center;position:relative;transition:.16s ease}.nav-item:hover{background:#1b2028;color:#fff}.nav-item.active{background:#242a34;color:#fff}.nav-item.active:before{content:"";position:absolute;left:-14px;width:3px;height:24px;border-radius:0 3px 3px 0;background:#6985ff}.nav-item>span{display:none}.nav-item>b{position:absolute;top:8px;right:9px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#5a7bff;color:#fff;font-size:.66rem;display:grid;place-items:center}.sidebar-bottom{margin-top:auto;display:grid;gap:10px}.operator-chip{width:100%;padding:8px;border-radius:13px;background:#20252e;color:#fff;display:flex;align-items:center;justify-content:center}.operator-chip>span:nth-child(2),.operator-chip>svg{display:none}.operator-avatar{flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:#e5e8ee;color:#2c3440;display:grid;place-items:center;font-weight:800;font-size:.8rem}.sidebar-close{display:none!important}.workspace{flex:1;min-width:0;min-height:0;height:100%;display:grid;grid-template-columns:348px minmax(410px,1fr) 286px;grid-template-rows:minmax(0,1fr);gap:1px;padding:12px 12px 12px 0;overflow:hidden}.conversation-panel,.thread-panel,.details-panel{min-width:0;background:var(--panel);border-top:1px solid #dde0e6;border-bottom:1px solid #dde0e6}.conversation-panel{border-left:1px solid #dde0e6;border-radius:20px 0 0 20px;overflow:hidden;display:flex;flex-direction:column}.thread-panel{height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column}.details-panel{height:100%;min-width:0;min-height:0;border-right:1px solid #dde0e6;border-radius:0 20px 20px 0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.mobile-topbar{display:none}.panel-title-row{padding:24px 22px 14px;display:flex;align-items:center;justify-content:space-between}.panel-title-actions{display:flex;align-items:center;gap:7px}.mobile-dashboard-button,.overview-mobile-back{display:none}.panel-title-row .eyebrow{margin:0 0 2px;font-size:.66rem}.panel-title-row h1{margin:0;font-size:1.6rem;letter-spacing:-.04em}.icon-button{width:39px;height:39px;border-radius:11px;display:grid;place-items:center;background:#f4f5f7;color:#575e69;position:relative}.icon-button:hover{background:#e9ebef;color:#20242b}.notification-dot{position:absolute;width:8px;height:8px;border:2px solid #f4f5f7;border-radius:50%;background:#ef596f;top:8px;right:8px}.search-wrap{margin:0 16px;height:44px;padding:0 12px;border:1px solid #dfe2e7;border-radius:12px;display:flex;align-items:center;gap:9px;color:#9298a2;background:#fafbfc}.search-wrap:focus-within{border-color:#8fa3ff;box-shadow:0 0 0 3px #4c6fff17;background:#fff}.search-wrap input{border:0;outline:0!important;flex:1;min-width:0;background:transparent;font-size:.83rem}.search-wrap kbd{padding:3px 6px;border:1px solid #e1e3e7;border-radius:6px;color:#9ca1aa;background:#fff;font-size:.65rem;box-shadow:0 1px #d7dae0}.filter-row{padding:15px 16px 11px;display:flex;gap:5px;border-bottom:1px solid #eceef1}.filter-row button{padding:7px 10px;border-radius:9px;background:transparent;color:#767d88;font-size:.75rem;font-weight:700;white-space:nowrap}.filter-row button:hover,.filter-row button.active{color:#242831;background:#eef0f4}.filter-row button span{min-width:17px;height:17px;padding:0 4px;margin-left:5px;border-radius:8px;background:#5a7bff;color:#fff;display:inline-grid;place-items:center;font-size:.62rem}.list-meta{padding:12px 18px 8px;display:flex;justify-content:space-between;color:#9298a2;font-size:.68rem}.list-meta button{padding:0;display:flex;gap:2px;align-items:center;background:transparent;color:#747b86}.conversation-list{flex:1;min-height:0;overflow-y:auto;padding:0 8px 12px;outline:none}.conversation-list:focus-visible{outline:2px solid rgba(76,111,255,.45);outline-offset:-2px}.conversation-item{width:100%;padding:13px 10px;border-radius:14px;background:transparent;text-align:left;display:grid;grid-template-columns:46px 1fr;gap:11px;color:inherit;position:relative}.conversation-item:hover{background:#f5f6f8}.conversation-item.has-unread{background:#f8faff;box-shadow:inset 0 0 0 1px #e4e9ff}.conversation-item.has-unread:hover{background:#f2f5ff}.conversation-item.has-unread .conversation-name strong{color:#1c2230;font-weight:800}.conversation-item.selected{background:var(--blue-soft)}.conversation-item.selected:after{content:"";position:absolute;right:0;top:16px;bottom:16px;width:3px;border-radius:3px 0 0 3px;background:#5877ff}.avatar{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:#e7eaf0;color:#39414d;font-weight:800;font-size:.8rem;position:relative}.avatar>img{width:100%;height:100%;border-radius:inherit;object-fit:cover;display:block}.avatar-large{width:76px;height:76px;border-radius:24px;font-size:1.2rem}.channel-icon{position:absolute;right:-4px;bottom:-3px;width:21px;height:21px;display:grid;place-items:center;border:3px solid #fff;border-radius:50%;color:#fff}.channel-icon.telegram{background:#2ca5e0}.channel-icon.max{background:#7d58eb;font-weight:800;font-size:.67rem;line-height:1}.channel-icon.vk{background:#07f;font-weight:800;font-size:.6rem;line-height:1;letter-spacing:-.02em}.channel-icon.vk>span{display:block;transform:translateY(.5px)}.channel-icon.unknown{background:#8b94a3}.avatar-large .channel-icon{width:25px;height:25px}.avatar-large .channel-icon.vk{font-size:.68rem}.conversation-copy{min-width:0;display:block}.conversation-name{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.conversation-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.83rem}.conversation-name time{color:#989ea8;font-size:.65rem}.conversation-preview{margin-top:4px;height:34px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#717884;font-size:.72rem;line-height:1.45}.conversation-preview.with-unread{display:flex;align-items:center;gap:7px;white-space:nowrap}.new-message-label{flex:0 0 auto;padding:4px 7px;border-radius:7px;color:#3f5fd8;background:#e8edff;font-size:.59rem;font-weight:800;line-height:1}.new-message-label:before{content:"";width:5px;height:5px;margin-right:5px;border-radius:50%;background:#5877ff;display:inline-block;vertical-align:1px}.preview-text{min-width:0;overflow:hidden;text-overflow:ellipsis}.conversation-footer{margin-top:7px;min-height:19px;display:flex;align-items:center;justify-content:space-between}.unread-badge{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#5373ff;color:#fff;display:grid;place-items:center;font-size:.65rem}.status-pill{display:inline-flex;align-items:center;gap:7px;color:#515863;font-size:.73rem;font-weight:700;white-space:nowrap}.status-pill.compact{gap:5px;font-size:.65rem;font-weight:650}.status-dot{width:8px;height:8px;border-radius:50%;background:currentColor}.status-pill.cyan{color:#17819a}.status-pill.blue{color:#4668ec}.status-pill.violet{color:#8058d8}.status-pill.amber{color:#bc7624}.status-pill.rose{color:#c65372}.status-pill.green{color:#27835c}.empty-list{height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#9aa0aa;text-align:center;font-size:.8rem}.empty-list strong{color:#545b65}.loading-line{height:2px;position:sticky;top:0;background:#5a7bff;animation:pulse 1.2s infinite;z-index:2}@keyframes pulse{50%{opacity:.3}}.thread-header{height:76px;flex:0 0 76px;padding:0 18px;border-bottom:1px solid #e7e9ed;display:flex;align-items:center;justify-content:space-between;gap:14px}.thread-person{min-width:0;display:flex;align-items:center;gap:11px}.thread-person .avatar{width:42px;height:42px;border-radius:14px}.thread-person>span{display:flex;flex-direction:column;min-width:0}.thread-person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem}.thread-person small{color:#818894;font-size:.69rem;margin-top:2px}.thread-actions{display:flex;gap:8px;align-items:center}.status-select{min-width:124px;height:38px;padding:0 11px;border:1px solid #e0e3e8;border-radius:11px;display:flex;align-items:center;justify-content:space-between;gap:7px;position:relative;background:#fff}.status-select select{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.mobile-details-button{display:none}.message-scroll{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#b8bec7 transparent;padding:22px clamp(18px,4vw,58px);background:#f4f5f7}.message-scroll::-webkit-scrollbar,.conversation-list::-webkit-scrollbar,.details-panel::-webkit-scrollbar{width:9px}.message-scroll::-webkit-scrollbar-track,.conversation-list::-webkit-scrollbar-track,.details-panel::-webkit-scrollbar-track{background:transparent}.message-scroll::-webkit-scrollbar-thumb,.conversation-list::-webkit-scrollbar-thumb,.details-panel::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:999px;background:#c5cad2;background-clip:padding-box}.message-scroll::-webkit-scrollbar-thumb:hover,.conversation-list::-webkit-scrollbar-thumb:hover,.details-panel::-webkit-scrollbar-thumb:hover{background:#9fa6b1;background-clip:padding-box}.day-divider{display:flex;align-items:center;gap:12px;color:#969ca5;font-size:.65rem;margin-bottom:16px}.day-divider:before,.day-divider:after{content:"";height:1px;flex:1;background:#e0e3e7}.system-note{width:fit-content;max-width:90%;margin:0 auto 22px;padding:9px 12px;border:1px solid #e0e3e7;border-radius:10px;color:#828893;background:#ffffffb8;display:flex;align-items:center;gap:7px;font-size:.68rem}.message-row{display:flex;margin:10px 0}.message-row.outgoing{justify-content:flex-end}.message-bubble{max-width:min(520px,78%);padding:12px 14px 8px;border-radius:17px 17px 17px 5px;border:1px solid #e2e4e8;background:#fff;box-shadow:0 2px 5px #191f2a09}.outgoing .message-bubble{color:#fff;border:0;border-radius:17px 17px 5px;background:#4e6ff3;box-shadow:0 7px 18px #405ede2e}.message-bubble p{margin:0;font-size:.86rem;line-height:1.55;white-space:pre-wrap}.message-attachments{margin-top:10px;display:grid;gap:7px}.attachment-card{min-width:220px;max-width:340px;padding:8px;border:1px solid #e2e5e9;border-radius:11px;background:#f7f8fa;color:#4f5661;display:flex;align-items:center;gap:9px;text-align:left;text-decoration:none;transition:.16s ease;overflow:hidden}.attachment-card:hover{border-color:#bdc8f7;background:#f0f3ff;color:#334fc6}.attachment-card.attachment-image{padding:0;position:relative;display:block}.attachment-image img{display:block;width:100%;max-height:260px;object-fit:cover;background:#eceef2}.attachment-image .attachment-info{padding:9px 38px 9px 10px}.attachment-image>svg{position:absolute;right:11px;bottom:14px}.attachment-file-icon{flex:0 0 38px;width:38px;height:38px;border-radius:9px;background:#e8ecfa;color:#526fe8;display:grid;place-items:center}.attachment-info{min-width:0;flex:1;display:flex;flex-direction:column}.attachment-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem}.attachment-info small{margin-top:2px;color:#8b929d;font-size:.59rem}.attachment-unavailable{padding:7px 9px;border-radius:8px;background:#f0f2f5;color:#737a84;display:inline-flex;align-items:center;gap:5px;font-size:.66rem}.outgoing .attachment-card{border-color:#ffffff2e;background:#ffffff1f;color:#fff}.outgoing .attachment-info small{color:#ffffffb3}.attachment-audio{min-width:280px;max-width:390px;padding:9px;border:1px solid #e2e5e9;border-radius:12px;background:#f7f8fa;color:#4f5661;display:grid;grid-template-columns:38px minmax(0,1fr) 34px;align-items:center;gap:9px}.audio-content{min-width:0;display:grid;gap:5px}.audio-content strong{overflow:hidden;color:currentColor;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.audio-content audio{width:100%;height:32px;display:block}.audio-download{width:34px;height:34px;border-radius:9px;color:currentColor;display:grid;place-items:center}.audio-download:hover{background:#4c6fff1a}.outgoing .attachment-audio{border-color:#ffffff2e;background:#ffffff1f;color:#fff}.outgoing .attachment-file-icon{background:#ffffff29;color:#fff}.attachment-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;padding:24px;background:#0a0d12c7;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center;animation:preview-in .16s ease-out}.attachment-preview{width:min(920px,100%);max-height:min(860px,calc(100dvh - 48px));border:1px solid rgba(255,255,255,.14);border-radius:20px;background:#11151b;color:#fff;box-shadow:0 30px 90px #0006;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.attachment-preview>header{min-width:0;padding:14px 15px 14px 18px;border-bottom:1px solid rgba(255,255,255,.1);display:flex;align-items:center;gap:14px}.attachment-preview>header>span{min-width:0;flex:1;display:flex;flex-direction:column}.attachment-preview>header strong{overflow:hidden;font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.attachment-preview>header small{margin-top:3px;color:#929aa7;font-size:.65rem}.preview-close{flex:0 0 40px;width:40px;height:40px;border-radius:11px;background:#242a33;color:#d8dce2;display:grid;place-items:center}.preview-close:hover{color:#fff;background:#323945}.preview-stage{min-height:300px;padding:34px;background:#0b0e13;display:grid;place-items:center;overflow:auto}.preview-stage.image-stage{background-image:linear-gradient(45deg,#11151b 25%,transparent 25%),linear-gradient(-45deg,#11151b 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#11151b 75%),linear-gradient(-45deg,transparent 75%,#11151b 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px}.preview-stage img,.preview-stage video{display:block;max-width:100%;max-height:calc(100dvh - 210px);border-radius:8px;object-fit:contain;box-shadow:0 16px 50px #00000052}.preview-stage video{width:min(760px,100%)}.document-preview-placeholder{width:min(440px,100%);padding:40px 28px;text-align:center;display:flex;flex-direction:column;align-items:center}.document-preview-placeholder>span{width:76px;height:76px;margin-bottom:18px;border-radius:20px;color:#7f98ff;background:#1b2233;display:grid;place-items:center}.document-preview-placeholder strong{max-width:100%;overflow-wrap:anywhere;font-size:1rem}.document-preview-placeholder p{max-width:370px;margin:10px 0 0;color:#8f97a4;font-size:.77rem;line-height:1.55}.attachment-preview>footer{padding:14px 16px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:flex-end;gap:9px}.attachment-preview>footer a{min-height:42px;padding:0 16px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-size:.75rem;font-weight:750}.preview-secondary{color:#d9dde4;background:#242a33}.preview-download{color:#fff;background:#4e6ff3}.preview-secondary:hover{background:#303743}.preview-download:hover{background:#6683f7}@keyframes preview-in{0%{opacity:0}}.message-bubble>span{margin-top:6px;display:flex;align-items:center;justify-content:flex-end;gap:4px;color:#979da7;font-size:.62rem}.message-bubble>span b{margin-right:auto;color:#d64848;font-weight:750}.outgoing .message-bubble>span{color:#ffffffb3}.composer{flex:0 0 auto;padding:13px 16px 14px;border-top:1px solid #e2e5e9;background:#fff}.composer-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:8px}.composer-channel{color:#737a85;display:flex;align-items:center;gap:7px;font-size:.7rem}.composer-channel .channel-icon{position:relative;right:auto;bottom:auto;width:18px;height:18px;border:0}.composer-toolbar>span{margin-left:auto;color:#a0a5ad;font-size:.64rem}.composer-toolbar>.composer-channel{margin-left:0}.composer-input-row{display:flex;align-items:flex-end;gap:8px}.composer textarea{min-width:0;min-height:42px;max-height:140px;flex:1;padding:10px 12px;border:1px solid #e2e5e9;border-radius:11px;resize:none;overflow-y:auto;outline:0!important;color:#21252c;background:#fafbfc;font-size:.85rem;line-height:1.4}.composer textarea:focus{border-color:#9bafff;background:#fff;box-shadow:0 0 0 3px #4c6fff14}.composer-actions{min-width:0;display:flex;align-items:center;gap:7px}.composer-tool{flex:0 0 38px;width:38px;height:38px;border-radius:10px;background:#f1f3f6;color:#656d79;display:grid;place-items:center}.composer-tool:hover{color:#334fc6;background:#e9edff}.composer-tool.recording{color:#fff;background:#e34d5e}.composer-tool:disabled{opacity:.45;cursor:default}.pending-attachment{margin:0 0 10px;padding:8px;border:1px solid #e0e3e8;border-radius:12px;background:#f7f8fa;display:flex;align-items:center;gap:9px}.pending-copy{min-width:0;flex:1;display:flex;flex-direction:column}.pending-copy strong{overflow:hidden;color:#3c434d;font-size:.71rem;text-overflow:ellipsis;white-space:nowrap}.pending-copy small{margin-top:2px;color:#8b929d;font-size:.61rem}.pending-attachment audio{width:min(250px,40%);height:34px}.pending-attachment .icon-button{flex:0 0 36px;width:36px;height:36px;color:#858c96}.recording-status{min-height:44px;margin:0 0 10px;padding:0 11px;border-radius:11px;background:#fff0f2;color:#bd3444;display:flex;align-items:center;gap:8px;font-size:.7rem}.recording-status time{color:#7d5056;font-variant-numeric:tabular-nums}.recording-status button{margin-left:auto;padding:6px 8px;border-radius:7px;color:#a93140;background:#be304214;font-size:.66rem;font-weight:700}.recording-pulse{width:8px;height:8px;border-radius:50%;background:#e34d5e;box-shadow:0 0 0 5px #e34d5e1f;animation:record-pulse 1.2s ease-in-out infinite}@keyframes record-pulse{50%{opacity:.45;transform:scale(.8)}}.send-button{min-height:42px;padding:9px 13px 9px 15px;border-radius:10px;background:#161a20;color:#fff;display:flex;align-items:center;justify-content:center;gap:7px;font-size:.74rem;font-weight:750}.send-button:hover{background:#2b313a}.send-button:disabled{opacity:.4;cursor:default}.empty-thread{align-items:center;justify-content:center;color:#9ba1aa;background:#f5f6f8}.empty-thread h2{margin:12px 0 2px;color:#3f4650;font-size:1.1rem}.empty-thread p{margin:0;font-size:.8rem}.inbox-overview{grid-column:2 / -1;border-right:1px solid #dde0e6;border-radius:0 20px 20px 0;background:#f6f7f9}.overview-header{flex:0 0 auto;min-height:124px;padding:25px 28px 22px;border-bottom:1px solid #e2e5e9;background:#fff;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.overview-header .eyebrow,.overview-card .eyebrow{margin:0 0 5px}.overview-header h2{margin:0;color:#20242b;font-size:1.7rem;letter-spacing:-.045em}.overview-header>div>p:last-child{margin:7px 0 0;color:#858c97;font-size:.75rem}.overview-actions{display:flex;align-items:center;gap:8px}.overview-actions button{min-height:39px;padding:0 13px;border-radius:10px;color:#545c68;background:#f0f2f5;display:flex;align-items:center;gap:7px;font-size:.68rem;font-weight:750}.overview-actions button:first-child{color:#fff;background:#506ff0}.overview-actions button:hover{filter:brightness(.97)}.overview-actions b{min-width:18px;height:18px;padding:0 5px;border-radius:9px;color:#4a64d0;background:#fff;display:grid;place-items:center;font-size:.58rem}.overview-scroll{min-height:0;padding:22px 24px 28px;overflow-y:auto;overscroll-behavior:contain}.overview-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}@media(min-width:1181px){.overview-stats-five{grid-template-columns:repeat(5,minmax(0,1fr))}.overview-stats-five .overview-stat{min-height:84px;padding:13px 11px;gap:8px}.overview-stats-five .overview-stat>span{display:none}.overview-stats-five .overview-stat strong{font-size:1.18rem}.overview-stats-five .overview-stat small{white-space:normal;line-height:1.25}}@media(min-width:1280px){.overview-stats-five .overview-stat{min-height:94px;padding:16px;gap:12px}.overview-stats-five .overview-stat>span{display:grid}}.overview-stat{min-width:0;min-height:94px;padding:16px;border:1px solid #e1e4e9;border-radius:15px;background:#fff;display:flex;align-items:center;gap:12px}.overview-stat>span{flex:0 0 39px;width:39px;height:39px;border-radius:11px;color:#68717e;background:#f0f2f5;display:grid;place-items:center}.overview-stat>div{min-width:0;display:flex;flex-direction:column}.overview-stat strong{color:#232831;font-size:1.35rem;letter-spacing:-.04em}.overview-stat small{margin-top:2px;overflow:hidden;color:#898f99;font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.overview-stat.primary{color:#fff;border-color:#4e6ff3;background:#4e6ff3}.overview-stat.primary>span{color:#fff;background:#ffffff26}.overview-stat.primary strong,.overview-stat.primary small{color:#fff}.overview-stat.primary small{opacity:.75}.overview-stat.revenue{grid-column:1 / -1;min-height:76px;border-color:#cfe8db;background:linear-gradient(145deg,#f7fcf9,#eef9f3)}.overview-stat.revenue>span{color:#247451;background:#dff2e8}.overview-stat.revenue strong{color:#216646;font-size:1.15rem;white-space:nowrap}.overview-stat.revenue small{color:#59806b}.overview-grid{margin-top:12px;display:grid;grid-template-columns:minmax(240px,.85fr) minmax(330px,1.15fr);gap:12px}.overview-card{min-width:0;min-height:272px;padding:20px;border:1px solid #e1e4e9;border-radius:16px;background:#fff}.overview-card>header{min-height:48px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.overview-card h3{margin:0;color:#303640;font-size:.9rem;letter-spacing:-.02em}.overview-card>header>span{color:#8d949e;font-size:.64rem}.funnel-card{grid-column:1 / -1;min-height:0}.funnel-steps{margin-top:17px;display:grid;grid-template-columns:repeat(auto-fit,minmax(98px,1fr));gap:8px}.funnel-step{--stage: #74808c;min-width:0;min-height:116px;padding:11px;border:1px solid #e5e7eb;border-top:3px solid var(--stage);border-radius:11px;background:#fafbfc;display:flex;flex-direction:column}.funnel-step.cyan{--stage: #2593ac}.funnel-step.blue{--stage: #5272ed}.funnel-step.amber{--stage: #c98938}.funnel-step.rose{--stage: #cf6681}.funnel-step.violet{--stage: #865fd8}.funnel-step.green{--stage: #33916a}.funnel-step-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.funnel-step-head>span{width:22px;height:22px;border-radius:7px;color:var(--stage);background:color-mix(in srgb,var(--stage) 11%,white);display:grid;place-items:center;font-size:.6rem;font-weight:800}.funnel-step-head>strong{color:#262c35;font-size:1.05rem;letter-spacing:-.04em}.funnel-step>b{margin-top:12px;overflow:hidden;color:#454c57;font-size:.66rem;text-overflow:ellipsis;white-space:nowrap}.funnel-step>small{margin-top:4px;color:#9298a2;font-size:.56rem;line-height:1.35}.channel-summary{margin-top:20px;display:grid;gap:9px}.channel-summary>div:not(.channel-meter){display:flex;align-items:center;justify-content:space-between}.channel-summary>div>span{display:flex;align-items:center;gap:9px;color:#535b67;font-size:.7rem}.channel-summary .channel-icon{position:relative;inset:auto;border:0}.channel-summary b{color:#303640;font-size:.75rem}.channel-meter{height:7px;margin-bottom:12px;border-radius:99px;background:#edf0f4;overflow:hidden}.channel-meter i{height:100%;min-width:2px;border-radius:inherit;background:#2ca5e0;display:block}.channel-meter.max i{background:#7d58eb}.channel-meter.vk i{background:#07f}.overview-recent-list{margin-top:11px;display:grid;gap:3px}.overview-recent-list>button{width:100%;min-width:0;padding:8px;border-radius:11px;color:inherit;background:transparent;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;text-align:left}.overview-recent-list>button:hover{background:#f3f5f8}.overview-recent-list .avatar{width:36px;height:36px;border-radius:11px;font-size:.66rem}.overview-recent-list .channel-icon{width:18px;height:18px;border-width:2px}.overview-recent-list button>span{min-width:0;display:flex;flex-direction:column}.overview-recent-list strong,.overview-recent-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-recent-list strong{color:#343a44;font-size:.7rem}.overview-recent-list small{margin-top:2px;color:#8b929c;font-size:.61rem}.overview-recent-list time{color:#9aa0a9;font-size:.6rem}.overview-empty{min-height:150px;color:#9aa0aa;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:.68rem}.details-panel>header{height:76px;padding:0 18px;border-bottom:1px solid #e7e9ed;display:flex;align-items:center;justify-content:space-between}.details-panel>header p{font-size:.82rem;font-weight:800}.details-close{display:none}.contact-hero{padding:24px 18px 17px;text-align:center;display:flex;flex-direction:column;align-items:center}.contact-hero h2{margin:13px 0 2px;font-size:1.02rem;letter-spacing:-.02em}.contact-hero p{margin:0;color:#838995;font-size:.71rem}.quick-actions-wrap{position:relative}.quick-actions{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0 14px 18px}.quick-actions button,.quick-actions a{padding:9px 4px 7px;border-radius:11px;border:0;color:#656c77;background:#f3f4f6;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:.62rem;text-decoration:none}.quick-actions button:hover,.quick-actions a:hover{color:#303640;background:#e9ebef}.quick-actions button.active{color:#405ed6;background:#e9edff}.quick-actions span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-actions button:disabled{opacity:.45;cursor:default}.more-actions{position:absolute;z-index:12;top:calc(100% - 11px);left:14px;right:14px;margin:0;padding:6px;border:1px solid #e1e4e8;border-radius:11px;background:#fff;box-shadow:0 14px 30px #191f2a29;display:grid;gap:2px}.more-actions button{padding:8px 9px;border-radius:7px;background:transparent;color:#555d68;text-align:left;display:flex;align-items:center;gap:6px;font-size:.65rem}.more-actions button:hover{background:#f1f3f6}.detail-section{padding:17px 18px;border-top:1px solid #eceef1}.detail-row{padding:7px 0;display:flex;justify-content:space-between;gap:16px;font-size:.68rem}.detail-row>span{color:#9298a2}.detail-row strong{min-width:0;max-width:62%;overflow-wrap:anywhere;color:#4d545e;text-align:right;font-size:.68rem;font-weight:650;display:flex;align-items:center;justify-content:flex-end;gap:6px}.detail-row .channel-icon{position:relative;right:auto;bottom:auto;width:18px;height:18px;border:0}.detail-status-row label{min-width:142px;height:34px;padding:0 9px;border:1px solid #e1e4e8;border-radius:9px;display:flex;align-items:center;justify-content:flex-end;gap:5px;position:relative}.detail-status-row label select{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.detail-status-row label>svg{color:#8c929c;pointer-events:none}.section-heading{display:flex;align-items:center;justify-content:space-between;color:#69707b;font-size:.69rem;font-weight:750}.section-heading span{display:flex;align-items:center;gap:6px}.section-heading button{padding:0;color:#5573ef;background:transparent;font-size:.64rem}.tags{min-width:0;max-width:100%;margin-top:11px;display:flex;flex-wrap:wrap;gap:6px;overflow:hidden}.tags button,.tags span{max-width:100%;padding:5px 8px;border-radius:7px;overflow-wrap:anywhere;white-space:normal;text-align:left;color:#59616c;background:#eff1f4;font-size:.62rem;font-weight:650}.tags button:hover{background:#feecec;color:#b94949}.tag-editor{margin-top:10px;display:flex;gap:5px}.tag-editor input{width:100%;min-width:0;flex:1;height:33px;padding:0 9px;border:1px solid #e0e3e8;border-radius:8px;font-size:.65rem}.tag-editor button{width:33px;border-radius:8px;background:#eef1ff;color:#506ee8;font-weight:800}.note-section textarea{width:100%;min-width:0;max-width:100%;margin-top:10px;padding:10px;border:1px solid #e0e3e8;border-radius:10px;resize:vertical;overflow-wrap:anywhere;font-size:.68rem;line-height:1.45;outline:0}.note-section>button{width:100%;margin-top:6px;padding:8px;border-radius:9px;background:#eef1ff;color:#506ee8;font-size:.65rem;font-weight:750}.assignment-card{margin:16px;padding:10px;border:1px solid #e2e5e9;border-radius:12px;display:flex;align-items:center;gap:9px}.assignment-card>span:nth-child(2){display:flex;flex:1;flex-direction:column}.assignment-card small{color:#949aa4;font-size:.59rem}.assignment-card strong{font-size:.7rem}.assignment-card{position:relative;cursor:pointer}.assignment-card select{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.assignment-card>svg{pointer-events:none}.mobile-back-button{display:none;flex:0 0 39px;font-size:1.25rem}.toast{position:fixed;left:50%;bottom:24px;z-index:80;transform:translate(-50%);padding:11px 16px;border-radius:12px;background:#171b22;color:#fff;box-shadow:0 14px 36px #11151b40;font-size:.78rem;font-weight:650}.connection-banner{position:fixed;top:calc(12px + env(safe-area-inset-top));left:50%;z-index:90;transform:translate(-50%);width:max-content;max-width:calc(100vw - 24px);padding:8px 9px 8px 14px;border-radius:11px;background:#7a3b12;color:#fff;box-shadow:0 14px 36px #11151b3d;display:flex;align-items:center;gap:10px;font-size:.72rem;font-weight:650}.connection-banner button{flex:0 0 auto;padding:6px 9px;border-radius:7px;background:#ffffff29;color:#fff;font-size:.66rem;font-weight:750}.workspace.page-mode{grid-template-columns:minmax(0,1fr)}.content-page{min-width:0;overflow-y:auto;padding:34px clamp(24px,5vw,72px);border:1px solid #dde0e6;border-radius:20px;background:#f8f9fb}.content-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.content-page-header .eyebrow{margin:0 0 4px}.content-page-header h1{margin:0;font-size:2rem;letter-spacing:-.045em}.content-page-header p:not(.eyebrow){margin:8px 0 0;color:#7c838e;font-size:.82rem}.funnel-page{display:flex;flex-direction:column;overflow:hidden;padding-inline:clamp(22px,3vw,46px)}.funnel-page-header{flex:0 0 auto;align-items:center;margin-bottom:22px}.funnel-picker{min-width:min(320px,100%);max-width:100%;height:38px;margin-top:14px;padding:0 11px;border:1px solid #d9dee6;border-radius:9px;color:#343a44;background:#fff;font-size:.72rem;font-weight:750}.funnel-summary{display:flex;align-items:stretch;gap:8px}.funnel-summary>span{min-width:112px;padding:11px 13px;border:1px solid #e1e4e9;border-radius:12px;background:#fff;display:flex;flex-direction:column}.funnel-summary small{color:#8a919b;font-size:.57rem}.funnel-summary strong{margin-top:3px;color:#303640;font-size:.88rem}.funnel-summary>.funnel-summary-money{min-width:150px;border-color:#cfe8db;background:#eff9f4}.funnel-summary-money small{color:#59806b}.funnel-summary-money strong{color:#216646}.funnel-board{flex:1;min-height:0;padding:2px 2px 12px;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,280px);gap:12px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#b8bec7 transparent}.funnel-board::-webkit-scrollbar{height:10px}.funnel-board::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:99px;background:#b8bec7;background-clip:padding-box}.funnel-column{--stage: #74808c;height:100%;min-height:280px;padding:12px;border:1px solid #e0e3e8;border-top:3px solid var(--stage);border-radius:15px;background:#f1f3f6;display:flex;flex-direction:column;transition:border-color .15s ease,background .15s ease,transform .15s ease}.funnel-column.cyan{--stage: #2593ac}.funnel-column.blue{--stage: #5272ed}.funnel-column.amber{--stage: #c98938}.funnel-column.rose{--stage: #cf6681}.funnel-column.violet{--stage: #865fd8}.funnel-column.green{--stage: #33916a}.funnel-column.drag-over{border-color:var(--stage);background:color-mix(in srgb,var(--stage) 7%,#f1f3f6);transform:translateY(-2px)}.funnel-column>header{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}.funnel-column>header>div{min-width:0;display:flex;align-items:flex-start;gap:9px}.funnel-column-number{flex:0 0 24px;width:24px;height:24px;border-radius:8px;color:var(--stage);background:color-mix(in srgb,var(--stage) 11%,white);display:grid;place-items:center;font-size:.61rem;font-weight:850}.funnel-column h2{margin:1px 0 0;overflow:hidden;color:#343a44;font-size:.74rem;text-overflow:ellipsis;white-space:nowrap}.funnel-column header p{margin:3px 0 0;color:#9298a2;font-size:.55rem;line-height:1.35}.funnel-column>header>b{min-width:25px;height:25px;padding:0 7px;border-radius:8px;color:#69717d;background:#fff;display:grid;place-items:center;font-size:.63rem}.funnel-column-value{margin:12px 0 9px;padding:8px 9px;border-radius:9px;color:#747c87;background:#ffffffb8;font-size:.59rem;font-weight:700}.funnel-column-cards{min-height:0;flex:1;padding:1px;display:flex;flex-direction:column;gap:8px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c7cbd2 transparent}.funnel-client-card{padding:11px;border:1px solid #e0e3e8;border-radius:12px;background:#fff;box-shadow:0 3px 10px #1c222d0a;cursor:grab;outline:0;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.funnel-client-card:hover,.funnel-client-card:focus-visible{border-color:#bbc6f5;box-shadow:0 7px 20px #2d396017;transform:translateY(-1px)}.funnel-client-card:active{cursor:grabbing}.funnel-client-head{min-width:0;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:8px}.funnel-client-head .avatar{width:36px;height:36px;border-radius:11px;font-size:.65rem}.funnel-client-head .channel-icon{width:18px;height:18px;border-width:2px}.funnel-client-head>span{min-width:0;display:flex;flex-direction:column}.funnel-client-head strong{overflow:hidden;color:#303640;font-size:.69rem;text-overflow:ellipsis;white-space:nowrap}.funnel-client-head small,.funnel-client-head time{color:#9298a2;font-size:.55rem}.funnel-client-card>p{min-height:32px;margin:10px 0;overflow:hidden;color:#747b86;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:.62rem;line-height:1.45}.funnel-client-foot{min-width:0;display:flex;align-items:center;gap:6px}.funnel-client-foot>span{color:#8b929c;font-size:.54rem}.funnel-client-foot>b{padding:4px 6px;border-radius:6px;color:#4863d0;background:#e9edff;font-size:.52rem}.funnel-client-foot label{margin-left:auto;padding:5px 18px 5px 7px;border-radius:7px;color:#59616d;background:#f0f2f5;position:relative;font-size:.53rem;font-weight:700;cursor:pointer}.funnel-client-foot label select{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.funnel-client-foot label svg{position:absolute;right:4px;top:50%;transform:translateY(-50%);pointer-events:none}.funnel-column-empty{min-height:108px;border:1px dashed #d5d9df;border-radius:11px;color:#a0a6af;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:.59rem;text-align:center}.leads-header{align-items:center}.leads-header-actions{display:flex;align-items:center;gap:12px}.leads-header-actions>.page-primary{flex:0 0 auto}.leads-summary>span{min-width:82px}.leads-summary .summary-today{border-color:#f1d5a9;background:#fff8ed}.leads-summary .summary-today strong{color:#9c6522}.leads-summary .summary-overdue{border-color:#f0c4c4;background:#fff1f1}.leads-summary .summary-overdue strong{color:#bd4141}.leads-toolbar{flex:0 0 44px;margin:-7px 0 14px;padding:0 13px;border:1px solid #e0e3e8;border-radius:12px;background:#fff;color:#8d949f;display:flex;align-items:center;gap:9px}.leads-toolbar input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#353b44;font-size:.72rem}.leads-toolbar select{height:30px;max-width:190px;padding:0 8px;border:1px solid #e0e3e8;border-radius:8px;outline:0;background:#f6f7f9;color:#68707b;font-size:.61rem}.leads-toolbar>span{font-size:.62rem;white-space:nowrap}.leads-board{min-height:0}.lead-card{cursor:pointer}.lead-card.overdue{border-color:#edb9b9;box-shadow:0 4px 14px #b0393914}.lead-card.today{border-color:#e8cb99}.lead-card-head{display:grid;grid-template-columns:38px minmax(0,1fr);gap:9px;align-items:center}.lead-avatar{width:38px;height:38px;border-radius:12px;color:#4a5fbd;background:#e9edff;display:grid;place-items:center;font-size:.64rem;font-weight:850}.lead-card-head>div{min-width:0;display:flex;flex-direction:column}.lead-card-head strong{overflow:hidden;color:#303640;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.lead-card-head small{margin-top:2px;overflow:hidden;color:#9298a2;font-size:.55rem;text-overflow:ellipsis;white-space:nowrap}.lead-phone{margin-top:10px;color:#425fd2;display:flex;align-items:center;gap:5px;text-decoration:none;font-size:.65rem;font-weight:750}.lead-outcome-pill{width:fit-content;margin-top:8px;padding:5px 7px;border-radius:7px;color:#5d6571;background:#eef0f4;font-size:.54rem;font-weight:800}.lead-outcome-pill.self_callback,.lead-outcome-pill.callback_later,.lead-outcome-pill.no_answer{color:#96621f;background:#fff2dd}.lead-outcome-pill.manager_handoff,.lead-outcome-pill.thinking,.lead-outcome-pill.interested{color:#5368bd;background:#eaf0ff}.lead-outcome-pill.not_interested{color:#ae4a4a;background:#fceaea}.lead-card>p{min-height:auto;margin:9px 0}.lead-callback{margin-top:10px;padding:7px 8px;border-radius:8px;color:#7e858f;background:#f1f3f6;display:flex;align-items:center;gap:6px;font-size:.56rem;font-weight:750}.lead-callback.today,.lead-callback.soon{color:#95601f;background:#fff3df}.lead-callback.overdue{color:#b43f3f;background:#feebeb}.lead-card-foot{margin-top:10px;padding-top:9px;border-top:1px solid #edf0f3}.lead-modal{width:min(720px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 48px);margin:auto;padding:0;overflow-y:auto;border:1px solid rgba(255,255,255,.5);border-radius:22px;color:#171a20;background:#fff;box-shadow:0 30px 90px #0b0f1647}.lead-modal::backdrop{background:#0d11178a;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.lead-modal-confirm{margin:16px 24px 0;padding:12px 14px;border:1px solid #f0c4c4;border-radius:12px;background:#fff5f5;display:grid;gap:10px}.lead-modal-confirm p{margin:0;color:#8c3d3d;font-size:.7rem;line-height:1.5}.lead-modal-confirm>div{display:flex;justify-content:flex-end;gap:8px}.lead-modal-confirm .secondary-button,.lead-modal-confirm .settings-danger-button{width:auto;min-height:36px;padding:0 12px}.lead-modal-confirm .settings-danger-button{background:#fbe3e3}.lead-modal>header{padding:22px 24px 18px;border-bottom:1px solid #eceef2;display:flex;align-items:center;justify-content:space-between;gap:20px}.lead-modal header .eyebrow{margin:0 0 3px;font-size:.62rem}.lead-modal header h2{margin:0;color:#242a33;font-size:1.25rem;letter-spacing:-.025em}.lead-modal form{padding:21px 24px 24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lead-modal form label{min-width:0;display:grid;gap:6px}.lead-modal form label>span{color:#636b76;font-size:.65rem;font-weight:750}.lead-modal input,.lead-modal select,.lead-modal textarea{width:100%;min-width:0;padding:0 11px;border:1px solid #dce0e6;border-radius:10px;outline:0;background:#fafbfc;color:#333942;font-size:.72rem}.lead-modal input,.lead-modal select{height:42px}.lead-modal textarea{padding-block:10px;resize:vertical;line-height:1.5}.lead-modal input:focus,.lead-modal select:focus,.lead-modal textarea:focus{border-color:#8da1f8;box-shadow:0 0 0 3px #4c6fff17;background:#fff}.quick-schedule-buttons{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.quick-schedule-buttons button{min-width:0;padding:6px 4px;border-radius:7px;color:#5f6b99;background:#eef1ff;font-size:.53rem;font-weight:750;white-space:nowrap}.quick-schedule-buttons button:hover{background:#e1e7ff}.lead-outcomes-field{grid-column:1 / -1;padding:13px;border:1px solid #dfe4f3;border-radius:12px;background:#f8f9fd}.lead-outcomes-field>span{color:#515a67;font-size:.66rem;font-weight:800}.lead-outcomes-field>div{margin-top:9px;display:flex;flex-wrap:wrap;gap:6px}.lead-outcomes-field button{padding:7px 9px;border:1px solid #e0e4eb;border-radius:8px;color:#616976;background:#fff;font-size:.58rem;font-weight:700}.lead-outcomes-field button:hover,.lead-outcomes-field button.active{border-color:#8ca0f5;color:#405bc6;background:#eaf0ff}.lead-outcomes-field small{margin-top:8px;color:#949aa4;display:block;font-size:.54rem;line-height:1.45}.lead-note-field,.lead-form-error,.lead-form-actions{grid-column:1 / -1}.lead-form-actions{padding-top:4px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.lead-form-actions .page-primary{min-height:40px}.page-primary,.secondary-button{min-height:40px;padding:0 14px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:.72rem;font-weight:750}.page-primary{background:#171b22;color:#fff}.page-primary:hover{background:#2c323b}.page-primary:disabled{opacity:.5}.secondary-button{width:100%;background:#f0f2f5;color:#58606b}.inline-form{max-width:720px;margin:-10px 0 24px;padding:12px;border:1px solid #e0e3e8;border-radius:13px;background:#fff;display:grid;grid-template-columns:1fr 190px auto;gap:8px}.inline-form input,.inline-form select{height:40px;padding:0 11px;border:1px solid #dde1e6;border-radius:9px;background:#fafbfc;font-size:.74rem}.inline-form button{padding:0 15px;border-radius:9px;background:#4f6ff2;color:#fff;font-size:.7rem;font-weight:750}.team-grid,.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.team-card,.settings-card{padding:18px;border:1px solid #e1e4e9;border-radius:16px;background:#fff;box-shadow:0 3px 10px #1a202b09}.team-card{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center}.team-card.inactive{opacity:.64}.team-avatar{width:48px;height:48px;border-radius:15px;background:#e8ecfa;color:#4c66cb;display:grid;place-items:center;font-weight:800}.team-copy h2,.settings-card h2{margin:0;color:#282d35;font-size:.86rem}.team-copy p,.settings-card header p{margin:3px 0 0;color:#8c929c;font-size:.65rem}.member-state{padding:5px 7px;border-radius:7px;color:#8b6d46;background:#fff4e7;font-size:.58rem;font-weight:750}.member-state.online{color:#2d7e59;background:#eaf8f1}.team-stats{grid-column:1 / -1;padding:11px 0;border-top:1px solid #edf0f3;border-bottom:1px solid #edf0f3;display:flex;gap:22px;color:#8c929c;font-size:.64rem}.team-stats strong{color:#373d46;font-size:.76rem}.team-card .secondary-button{grid-column:1 / -1}.settings-page .content-page-header{margin-bottom:22px}.settings-tabs{width:fit-content;max-width:100%;padding:5px;display:flex;gap:4px;overflow-x:auto;border:1px solid #dfe4ed;border-radius:14px;background:#edf0f5;scrollbar-width:none}.settings-tabs::-webkit-scrollbar{display:none}.settings-tab{min-height:42px;padding:0 17px;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;color:#707987;background:transparent;font-size:.72rem;font-weight:750;white-space:nowrap;transition:background .15s ease,color .15s ease,box-shadow .15s ease}.settings-tab:hover{color:#354050;background:#ffffff8c}.settings-tab.active{color:#3559ca;background:#fff;box-shadow:0 2px 9px #1c2a4a17}.settings-tab:focus-visible,.settings-funnel-tile:focus-visible,.settings-modal button:focus-visible{outline:3px solid #9bacfb;outline-offset:2px}.settings-tab-panel{padding-top:27px;outline:none}.settings-tab-panel:focus-visible{outline:2px solid #9bacfb;outline-offset:4px;border-radius:8px}.settings-section-header{margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:18px}.settings-section-header h2{margin:0;color:#262d38;font-size:1.12rem;letter-spacing:-.025em}.settings-section-header p{margin:5px 0 0;color:#7b8490;font-size:.72rem;line-height:1.5}.settings-section-header .page-primary{min-height:38px;padding:0 14px;flex:0 0 auto}.settings-grid-narrow{max-width:530px}.settings-info-strip{margin:15px 0 0;padding:12px 14px;border:1px solid #e0e7f4;border-radius:11px;display:flex;align-items:center;gap:9px;color:#61718d;background:#f1f5fd;font-size:.68rem;line-height:1.45}.settings-info-strip svg{flex:0 0 auto}.settings-card header{display:flex;align-items:center;gap:10px}.settings-card header>div{flex:1}.settings-card header>b{padding:5px 7px;border-radius:7px;background:#f0f2f5;color:#66707d;font-size:.57rem}.settings-card header>b.ok{background:#e9f8f0;color:#287a55}.settings-card header>b.error{background:#feecec;color:#b94444}.settings-card header>b.off{color:#747c88;background:#eef0f3}.settings-icon{flex:0 0 40px;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:#fff}.settings-icon.telegram{background:#2ca5e0}.settings-icon.max{background:#7d58eb;font-weight:850}.settings-icon.vk{background:#e8f1ff;color:#07f;font-weight:800;letter-spacing:-.02em}.settings-icon.push{background:#526ff0}.settings-icon.neutral{color:#596270;background:#edf0f4}.settings-card dl{margin:17px 0 0;display:grid;gap:9px}.settings-card dl div{display:flex;justify-content:space-between;gap:12px;font-size:.66rem}.settings-card dt{color:#9197a1}.settings-card dd{margin:0;color:#4e5661;font-weight:650}.funnel-catalog-card,.funnel-settings-card{grid-column:1 / -1}.settings-funnel-tiles{margin-top:19px;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}.settings-funnel-tile,.settings-funnel-create{min-width:0;min-height:76px;padding:12px;border:1px solid #e0e5ed;border-radius:12px;display:flex;align-items:center;gap:10px;color:#353d4a;background:#fafbfc;text-align:left;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.settings-funnel-tile:hover{border-color:#b9c7ed;background:#f7f9fe}.settings-funnel-tile.selected{border-color:#89a0f2;background:#f3f6ff;box-shadow:inset 0 0 0 1px #5370e326}.settings-funnel-tile-icon{width:36px;height:36px;flex:0 0 36px;border-radius:10px;display:grid;place-items:center;color:#5970ca;background:#e9eefd}.settings-funnel-tile-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.settings-funnel-tile-copy strong{overflow:hidden;font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.settings-funnel-tile-copy small{color:#858d99;font-size:.61rem}.settings-funnel-default{padding:4px 6px;border-radius:6px;color:#548061;background:#e8f6ed;font-size:.54rem;font-weight:800}.settings-funnel-tile-check{flex:0 0 auto;color:#4f6ff2}.settings-funnel-create{justify-content:center;border-style:dashed;color:#526bd4;background:#fff;font-size:.69rem;font-weight:800}.settings-funnel-create:hover:not(:disabled){border-color:#8fa5ef;background:#f6f8ff}.settings-funnel-selected{margin-top:18px;padding-top:16px;border-top:1px solid #edf0f3;display:flex;align-items:center;justify-content:space-between;gap:20px}.settings-funnel-selected>div:first-child{min-width:0}.settings-funnel-selected>div:first-child>span{color:#8e97a5;font-size:.56rem;font-weight:850;letter-spacing:.11em}.settings-funnel-selected h3{margin:4px 0 0;color:#313946;font-size:.83rem}.settings-funnel-selected p{margin:5px 0 0;color:#868e9a;font-size:.65rem;line-height:1.4}.funnel-catalog-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:7px}.funnel-catalog-actions button{min-height:34px;width:auto;padding:0 11px;border-radius:8px;font-size:.62rem;font-weight:750}.funnel-catalog-actions button:disabled{opacity:.45;cursor:default}.settings-danger-button{min-height:38px;padding:0 14px;border-radius:9px;color:#b44747;background:#fff0f0;font-size:.69rem;font-weight:800}.settings-danger-button:hover:not(:disabled){background:#ffe4e4}.settings-danger-button:disabled{opacity:.5;cursor:default}.settings-stage-toolbar{margin:15px 0;display:flex;align-items:center;justify-content:space-between;gap:16px}.settings-stage-toolbar p{max-width:620px;margin:0;color:#808895;font-size:.67rem;line-height:1.5}.settings-stage-toolbar .page-primary{min-height:36px;padding:0 12px;flex:0 0 auto}.funnel-settings-list{display:grid;gap:8px}.funnel-settings-row{--stage: #5272ed;min-width:0;padding:12px 14px;border:1px solid #e5e9ef;border-left:4px solid var(--stage);border-radius:10px;display:flex;align-items:center;flex-wrap:wrap;gap:11px;background:#fff}.funnel-settings-row.cyan{--stage: #2593ac}.funnel-settings-row.blue{--stage: #5272ed}.funnel-settings-row.amber{--stage: #c98938}.funnel-settings-row.rose{--stage: #cf6681}.funnel-settings-row.violet{--stage: #865fd8}.funnel-settings-row.green{--stage: #33916a}.funnel-settings-position{width:24px;height:24px;flex:0 0 24px;border-radius:7px;color:var(--stage);background:color-mix(in srgb,var(--stage) 12%,white);display:grid;place-items:center;font-size:.65rem;font-weight:800}.funnel-settings-name{min-width:130px;flex:1;display:flex;flex-direction:column;gap:2px}.funnel-settings-name strong{color:#343a44;font-size:.73rem}.funnel-settings-name small,.funnel-settings-count{color:#858d98;font-size:.63rem}.funnel-settings-final{padding:4px 7px;border-radius:7px;color:#287a55;background:#e9f8f0;font-size:.6rem;font-weight:750}.funnel-settings-actions{display:flex;flex-wrap:wrap;gap:5px}.funnel-settings-actions button{min-height:30px;padding:5px 8px;border-radius:7px;color:#4e5661;background:#edf0f4;font-size:.62rem;font-weight:700}.funnel-settings-actions button:hover:not(:disabled){color:#242831;background:#e0e6ed}.funnel-settings-actions button:disabled{opacity:.45;cursor:default}.funnel-settings-actions .settings-stage-delete{color:#aa5353;background:#fff0f0}.funnel-settings-actions .settings-stage-delete:hover:not(:disabled){color:#963a3a;background:#ffe3e3}.settings-modal{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow-y:auto;border:1px solid #e2e6ed;border-radius:20px;color:#2c3440;background:#fff;box-shadow:0 28px 100px #0c132042}.settings-modal::backdrop{background:#171f2f7a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.settings-modal-header{padding:23px 25px 18px;border-bottom:1px solid #eef0f3;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.settings-modal-header .eyebrow{margin:0 0 5px;color:#6e81bd;font-size:.57rem}.settings-modal-header h2{margin:0;color:#242b35;font-size:1.21rem;letter-spacing:-.03em}.settings-modal-header p:not(.eyebrow){margin:7px 0 0;color:#858d98;font-size:.68rem;line-height:1.5}.settings-modal-close{width:32px;height:32px;flex:0 0 32px;border-radius:8px;display:grid;place-items:center;color:#79818c;background:#f2f4f7}.settings-modal-close:hover{color:#303a47;background:#e9edf2}.settings-modal-form{padding:21px 25px 25px;display:grid;gap:15px}.settings-modal-form label{display:grid;gap:7px;color:#4d5664;font-size:.69rem;font-weight:750}.settings-modal-form label small{display:inline;color:#9aa1ab;font-size:.62rem;font-weight:500}.settings-modal-form input,.settings-modal-form textarea,.settings-modal-form select{width:100%;min-width:0;min-height:42px;padding:10px 12px;border:1px solid #dce2eb;border-radius:10px;outline:0;color:#303946;background:#fbfcfe;font-size:.72rem;font-weight:500}.settings-modal-form textarea{min-height:88px;resize:vertical;line-height:1.5}.settings-modal-form input:focus,.settings-modal-form textarea:focus,.settings-modal-form select:focus{border-color:#7892ec;background:#fff;box-shadow:0 0 0 3px #4f6ff21f}.settings-modal-form .form-error,.settings-modal-confirm .form-error{padding:10px 12px;border-radius:8px;background:#fff0f0;font-size:.68rem}.settings-modal-form footer,.settings-modal-confirm footer{display:flex;justify-content:flex-end;gap:9px;padding-top:5px}.settings-modal-form footer button,.settings-modal-confirm footer button{width:auto;min-height:40px;padding:0 15px;border-radius:9px;font-size:.7rem;font-weight:750}.settings-modal-confirm{padding:18px 25px 25px}.settings-modal-confirm>p:first-child{margin:0 0 20px;color:#687180;font-size:.72rem;line-height:1.55}.settings-modal.danger .settings-modal-header .eyebrow{color:#b65c5c}.download-backup{margin-top:14px;height:38px;border-radius:9px;background:#eef1ff;color:#506ee8;display:flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;font-size:.66rem;font-weight:750}.push-settings-card{border-color:#dce3ff;background:linear-gradient(145deg,#fff,#f7f9ff)}.push-description{min-height:54px;margin:16px 0 13px;color:#717986;font-size:.66rem;line-height:1.55}.push-hint{margin:-4px 0 12px;color:#a35a45;font-size:.62rem;line-height:1.45}.push-settings-card .push-button,.push-settings-card>.secondary-button{width:100%}.storage-bar{height:7px;margin-top:21px;border-radius:5px;background:#edf0f4;overflow:hidden}.storage-bar span{height:100%;display:block;border-radius:inherit;background:#5c78f5}.system-summary{margin-top:14px;padding:16px 18px;border:1px solid #e1e4e9;border-radius:14px;background:#fff;display:flex;flex-wrap:wrap;gap:28px;color:#8a919b;font-size:.66rem}.system-summary strong{margin-right:4px;color:#353c46;font-size:.84rem}.page-loading{display:grid;place-content:center}.mobile-scrim{display:none}@media(max-width:1180px){.workspace{grid-template-columns:330px minmax(400px,1fr)}.details-panel{position:fixed;right:12px;top:12px;bottom:12px;width:300px;height:auto;transform:translate(calc(100% + 24px));transition:transform .22s ease;z-index:32;border:1px solid #dfe2e7;border-radius:20px;box-shadow:0 24px 60px #161b2333}.details-panel.mobile-open{transform:translate(0)}.details-close,.mobile-details-button{display:grid}.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-stats-five .overview-stat:last-child{grid-column:1 / -1}.overview-grid{grid-template-columns:1fr}.funnel-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:820px){html,body,#root{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;max-width:100%;height:100%;overflow:hidden;overscroll-behavior:none}button,a,select{-webkit-tap-highlight-color:transparent}.app-shell{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;max-width:100%;min-height:100dvh;height:100dvh;overflow:hidden;overflow:clip}.sidebar{position:fixed;inset:0 auto 0 0;width:min(82vw,290px);max-width:calc(100% - 48px);padding:calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));transform:translate3d(-100%,0,0);transition:transform .22s ease,visibility .22s ease;visibility:hidden;pointer-events:none;box-shadow:none}.sidebar.mobile-open{transform:translateZ(0);visibility:visible;pointer-events:auto;box-shadow:20px 0 50px #00000040}.sidebar-head{justify-content:space-between}.sidebar-close{display:grid!important;background:#20252d;color:#fff}.sidebar nav{gap:5px}.nav-item{padding:0 14px;justify-content:flex-start;gap:13px;min-height:52px}.nav-item>span{display:inline;font-size:.83rem;font-weight:700}.nav-item>b{position:static;margin-left:auto}.nav-item.active:before{left:-16px}.operator-chip{padding:10px;justify-content:flex-start;gap:10px}.operator-chip>span:nth-child(2){flex:1;display:flex;flex-direction:column;text-align:left}.operator-chip>span:nth-child(2) strong{font-size:.76rem}.operator-chip>span:nth-child(2) small{color:#848b96;font-size:.62rem}.operator-chip>svg{display:block;color:#868d98}.mobile-scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0c0f147a;z-index:35}.workspace{--mobile-topbar-height: calc(56px + env(safe-area-inset-top)) ;width:100%;max-width:100%;height:100dvh;padding:0;display:grid;grid-template-columns:minmax(290px,320px) minmax(0,1fr);grid-template-rows:var(--mobile-topbar-height) minmax(0,1fr);overflow:hidden;overflow:clip}.workspace.page-mode{grid-template-columns:1fr}.content-page{min-height:0;grid-column:1 / -1;border:0;border-radius:0;padding:24px 20px calc(24px + env(safe-area-inset-bottom));overscroll-behavior:contain}.leads-page{padding-inline:16px}.leads-header{align-items:flex-start}.leads-header-actions{width:100%;align-items:stretch;flex-direction:column}.leads-summary{width:100%;overflow-x:auto;padding-bottom:2px}.leads-summary>span{min-width:92px}.leads-header-actions>.page-primary{width:100%}.leads-toolbar{height:auto;min-height:44px;margin-top:-10px;padding-block:7px;flex-wrap:wrap}.leads-toolbar input{flex-basis:calc(100% - 65px)}.leads-toolbar select{order:3;width:100%;max-width:none}.leads-toolbar>span{margin-left:auto}.lead-modal{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto auto 12px;border-radius:20px 20px 14px 14px}.lead-modal>header{padding:18px}.lead-modal form{padding:17px 18px calc(18px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr);gap:12px}.lead-note-field,.lead-form-error,.lead-form-actions{grid-column:1}.mobile-topbar{min-height:var(--mobile-topbar-height);grid-column:1 / -1;padding:calc(7px + env(safe-area-inset-top)) 12px 7px;background:var(--sidebar);display:flex;align-items:center;justify-content:space-between}.mobile-topbar .icon-button{background:#1f242c;color:#fff}.conversation-panel{min-height:0;border-radius:0;border-left:0;border-top:0}.thread-panel{border-top:0}.inbox-overview{grid-column:2;border-right:0;border-radius:0}.overview-header{padding:20px;align-items:flex-start}.overview-header h2{font-size:1.45rem}.overview-actions{flex-direction:column;align-items:stretch}.overview-scroll{padding:18px}.details-panel{top:64px;right:8px;bottom:8px;visibility:hidden;pointer-events:none}.details-panel.mobile-open{visibility:visible;pointer-events:auto}}@media(max-width:650px){.workspace{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--mobile-topbar-height) minmax(0,1fr);position:relative;contain:layout paint}.mobile-topbar{height:var(--mobile-topbar-height);display:flex}.connection-banner{top:calc(64px + env(safe-area-inset-top));width:calc(100vw - 20px);justify-content:center;flex-wrap:wrap}.lead-modal{width:100%;max-width:100%;margin:auto auto 0;border-radius:20px 20px 0 0;border-bottom:0}.lead-modal-confirm{margin:12px 18px 0}.lead-modal-confirm>div{display:grid;grid-template-columns:1fr}.conversation-panel{grid-row:2;width:100%;height:auto;min-height:0}.panel-title-row{padding:18px 16px 12px}.mobile-dashboard-button{display:grid}.panel-title-row h1{font-size:1.45rem}.search-wrap{margin:0 12px}.search-wrap kbd{display:none}.filter-row{padding:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.filter-row button{min-width:0;padding:9px 5px;overflow:hidden;text-overflow:ellipsis}.list-meta{padding-inline:15px}.conversation-list{padding:0 6px calc(12px + env(safe-area-inset-bottom));scrollbar-width:none}.conversation-list::-webkit-scrollbar{display:none}.conversation-item{min-height:78px;padding:12px 9px}.thread-panel{display:none;position:absolute;inset:var(--mobile-topbar-height) 0 0;height:auto;z-index:5}.workspace.mobile-thread-open .thread-panel{display:flex}.workspace.mobile-thread-open .conversation-panel{visibility:hidden}.inbox-overview{grid-column:1;width:100%;max-width:100%}.thread-header{height:66px;flex-basis:66px;padding:0 9px;gap:8px}.thread-person{flex:1;gap:8px;overflow:hidden}.thread-person>span{min-width:0}.thread-actions{flex:0 0 auto;gap:5px}.thread-actions .icon-button,.mobile-back-button{width:38px;height:38px}.mobile-back-button{display:grid}.status-select{display:none}.overview-mobile-back{display:grid;flex:0 0 40px;width:40px;height:40px;font-size:1.25rem}.inbox-overview .overview-header{min-height:112px;padding:15px 13px;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:11px}.inbox-overview .overview-header>div{min-width:0}.inbox-overview .overview-header h2{font-size:1.35rem}.inbox-overview .overview-header>div>p:last-child{font-size:.68rem}.inbox-overview .overview-actions{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr}.inbox-overview .overview-actions button{justify-content:center}.inbox-overview .overview-scroll{padding:12px}.inbox-overview .overview-stats{grid-template-columns:1fr 1fr}.inbox-overview .overview-stat{min-height:82px;padding:12px}.inbox-overview .overview-stat.revenue{grid-column:1 / -1}.inbox-overview .overview-grid{grid-template-columns:1fr}.inbox-overview .funnel-steps{grid-template-columns:1fr 1fr}.message-scroll{padding:16px 10px 20px;scrollbar-width:none;scrollbar-gutter:auto}.message-scroll::-webkit-scrollbar{display:none}.message-bubble{max-width:92%;padding:11px 12px 7px}.message-bubble p{overflow-wrap:anywhere}.attachment-card{width:100%;min-width:0;max-width:100%}.attachment-info strong{white-space:normal;overflow-wrap:anywhere}.composer{padding:7px 10px calc(7px + env(safe-area-inset-bottom))}.composer textarea{min-height:62px;max-height:104px;padding:9px 10px}.composer-toolbar{min-width:0;margin-bottom:5px}.composer-channel{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-input-row{gap:6px}.composer-actions{gap:5px}.composer-tool{flex-basis:40px;width:40px;height:40px}.attachment-audio{width:100%;min-width:0;max-width:100%;grid-template-columns:34px minmax(0,1fr) 34px}.attachment-audio .attachment-file-icon{width:34px;height:34px}.pending-attachment{flex-wrap:wrap}.pending-attachment audio{order:4;width:100%}.attachment-preview-backdrop{padding:0;place-items:stretch}.attachment-preview{width:100%;max-height:none;height:100dvh;border:0;border-radius:0}.attachment-preview>header{padding:calc(10px + env(safe-area-inset-top)) 12px 10px}.preview-stage{min-height:0;padding:14px}.preview-stage img,.preview-stage video{max-height:calc(100dvh - 180px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.attachment-preview>footer{padding:11px 12px calc(11px + env(safe-area-inset-bottom))}.attachment-preview>footer a{flex:1}.send-button{min-width:42px;min-height:42px;padding-inline:13px}.send-button{width:42px;padding:0}.send-button span{display:none}.details-panel{top:0;right:0;bottom:0;left:0;width:100%;max-width:100%;height:auto;border:0;border-radius:0;z-index:45}.details-panel>header{height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;position:sticky;top:0;z-index:4;background:#fff}.details-close{width:42px;height:42px}.quick-actions button,.quick-actions a{min-height:58px}.more-actions{left:12px;right:12px}.tag-editor input,.note-section textarea,.search-wrap input,.composer textarea,.inline-form input,.inline-form select,.login-card input,.settings-modal-form input,.settings-modal-form textarea,.settings-modal-form select{font-size:16px}.login-page{padding:16px}.login-card{padding:28px 21px;border-radius:22px}.workspace.page-mode{display:grid;grid-template-rows:var(--mobile-topbar-height) minmax(0,1fr)}.content-page{padding:22px 16px calc(24px + env(safe-area-inset-bottom))}.content-page-header{margin-bottom:20px;align-items:stretch;flex-direction:column;gap:16px}.content-page-header h1{font-size:1.7rem}.content-page-header .page-primary{width:100%}.funnel-page{padding:18px 12px calc(14px + env(safe-area-inset-bottom))}.funnel-page-header{gap:13px}.funnel-summary{display:grid;grid-template-columns:1fr 1fr}.funnel-summary>span{min-width:0}.funnel-summary>.funnel-summary-money{min-width:0;grid-column:1 / -1}.funnel-board{grid-auto-columns:minmax(244px,82vw)}.inline-form,.team-grid,.settings-grid{grid-template-columns:1fr}.settings-page .content-page-header{margin-bottom:17px}.settings-tabs{width:100%;scroll-snap-type:x mandatory}.settings-tab{min-width:127px;min-height:44px;padding-inline:12px;scroll-snap-align:start}.settings-tab-panel{padding-top:23px}.settings-section-header{align-items:flex-start;flex-direction:column;gap:12px}.settings-section-header .page-primary{width:100%}.settings-funnel-tiles{grid-template-columns:1fr}.settings-funnel-selected{align-items:stretch;flex-direction:column;gap:14px}.funnel-catalog-actions{justify-content:flex-start}.settings-stage-toolbar{align-items:stretch;flex-direction:column;gap:11px}.settings-stage-toolbar .page-primary{width:100%}.funnel-settings-row{align-items:flex-start}.funnel-settings-name{flex-basis:calc(100% - 38px)}.funnel-settings-actions{width:100%}.funnel-settings-actions button{min-height:36px}.settings-modal{width:100%;max-height:calc(100dvh - 28px);margin:auto auto 0;border-radius:20px 20px 0 0;border-bottom:0}.settings-modal-header{padding:20px 19px 16px}.settings-modal-form{padding:18px 19px calc(20px + env(safe-area-inset-bottom))}.settings-modal-confirm{padding:17px 19px calc(20px + env(safe-area-inset-bottom))}.settings-modal-form footer,.settings-modal-confirm footer{display:grid;grid-template-columns:1fr 1fr}.settings-modal-form footer button,.settings-modal-confirm footer button{width:100%}.system-summary{gap:14px;display:grid;grid-template-columns:1fr 1fr}}@media(max-width:380px){.thread-person .avatar{display:none}.thread-person small{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.panel-title-row .icon-button{width:38px;height:38px}.conversation-item{grid-template-columns:42px minmax(0,1fr);gap:9px}.conversation-item .avatar{width:42px;height:42px;border-radius:13px}.system-summary{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.ai-draft-panel{flex:0 0 auto;max-height:46vh;overflow-y:auto;overscroll-behavior:contain;padding:11px 16px 12px;border-top:1px solid #dfe6f8;background:#f7f9ff;scrollbar-width:thin;scrollbar-color:#b8bec7 transparent}.ai-draft-panel::-webkit-scrollbar{width:8px}.ai-draft-panel::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#c5cad2;background-clip:padding-box}.ai-draft-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.ai-draft-title-wrap{min-width:0;display:flex;align-items:center;gap:7px;color:#3f5bc8}.ai-draft-title{min-width:0;margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#2c3550;font-size:.8rem;font-weight:800}.ai-draft-subtitle{padding:3px 7px;border-radius:6px;color:#5c6dab;background:#eaefff;font-size:.6rem;font-weight:700}.ai-draft-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.ai-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:7px;font-size:.6rem;font-weight:750;white-space:nowrap;background:#eef0f4;color:#5b6472}.ai-badge.pending{background:#eef0f4;color:#5b6472}.ai-badge.draft{background:#e9edff;color:#405bc6}.ai-badge.auto{background:#e9f8f0;color:#287a55}.ai-badge.handoff{background:#fff2dd;color:#96621f}.ai-badge.failed{background:#feecec;color:#b94444}.ai-badge.skipped{background:#eff1f4;color:#6d727b}.ai-status-note{display:flex;align-items:flex-start;gap:7px;margin:9px 0 0;color:#4d5664;font-size:.68rem;line-height:1.45}.ai-status-note svg{flex:0 0 auto;margin-top:1px}.ai-status-note.muted{color:#7c8592}.ai-status-note.error{color:#a63c3c}.ai-status-note.handoff{color:#96621f}.ai-error-code{margin-left:auto;padding:2px 6px;border-radius:5px;background:#f1f3f7;color:#7b8490;font-size:.56rem}.ai-hint{margin:6px 0 0;color:#8a919b;font-size:.62rem;line-height:1.45}.ai-hint.warn{color:#96621f}.ai-textarea{width:100%;min-height:86px;max-height:200px;margin-top:8px;padding:10px 12px;border:1px solid #d9e1f2;border-radius:11px;outline:0;resize:vertical;color:#2f3742;background:#fff;font-size:.74rem;line-height:1.5}.ai-textarea:focus{border-color:#8da1f8;box-shadow:0 0 0 3px #4c6fff1a}.ai-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.ai-chip{padding:4px 8px;border-radius:7px;color:#5e6773;background:#eaeef6;font-size:.6rem;font-weight:700}.ai-chip.warn{color:#96621f;background:#fff2dd}.ai-confidence-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}.ai-confidence{min-width:0;font-size:.62rem}.ai-confidence-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;color:#6d7581}.ai-confidence-head strong{color:#343a44;font-size:.68rem}.ai-confidence-bar{height:6px;margin-top:4px;border-radius:99px;background:#e7ebf3;overflow:hidden}.ai-confidence-bar>span{display:block;height:100%;border-radius:inherit;background:#7b94f7}.ai-confidence.low .ai-confidence-bar>span{background:#d17979}.ai-confidence.mid .ai-confidence-bar>span{background:#d3a24a}.ai-confidence.high .ai-confidence-bar>span{background:#3aa377}.ai-sources{margin-top:10px}.ai-sources>summary{color:#506ee8;font-size:.62rem;font-weight:750;cursor:pointer}.ai-sources>ul{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:6px}.ai-sources>ul>li{min-width:0;padding:7px 8px;border:1px solid #e7ecf5;border-radius:8px;background:#fff;display:flex;align-items:flex-start;gap:8px}.ai-source-ref{flex:0 0 auto;padding:2px 5px;border-radius:5px;color:#405bc6;background:#eef1ff;font-size:.56rem;font-weight:800}.ai-source-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.ai-source-copy strong{color:#3d4550;font-size:.64rem;overflow-wrap:anywhere}.ai-source-copy small{color:#8b929c;font-size:.57rem;line-height:1.35;overflow-wrap:anywhere}.ai-sources-note{margin:6px 0 0;color:#98a0aa;font-size:.57rem;line-height:1.4}.ai-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.ai-actions .secondary-button,.ai-actions .page-primary,.ai-actions .settings-danger-button{width:auto;min-height:40px;padding:0 13px}.ai-action{font-size:.68rem}.ai-action-danger{color:#a24c4c;background:#fff0f0}.ai-action-danger:hover:not(:disabled){color:#8f3c3c;background:#ffe4e4}.ai-pause{position:relative}.ai-pause-summary{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border-radius:8px;color:#5c6570;background:#eef0f4;font-size:.61rem;font-weight:700;cursor:pointer;list-style:none}.ai-pause-summary::-webkit-details-marker{display:none}.ai-pause-summary:hover{background:#e5e9ef}.ai-pause-menu{margin-top:6px;padding:5px;border:1px solid #e4e8ef;border-radius:10px;background:#fff;display:grid;gap:2px;box-shadow:0 10px 24px #191f2a1f}.ai-pause-menu button{padding:7px 9px;border-radius:7px;color:#4d5661;background:transparent;text-align:left;font-size:.64rem;font-weight:650}.ai-pause-menu button:hover:not(:disabled){background:#f2f4f7}.ai-pause-menu button:disabled{opacity:.45;cursor:default}.ai-pause-menu .ai-pause-forever{color:#b44747}.ai-spinner{flex:0 0 auto;width:14px;height:14px;border:2px solid #c7d2f7;border-top-color:#4f6ff2;border-radius:50%;animation:ai-spin .8s linear infinite}.ai-spin{animation:ai-spin .8s linear infinite}@keyframes ai-spin{to{transform:rotate(360deg)}}.ai-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:46px 20px;color:#7b8490;font-size:.72rem}.ai-settings{display:grid;gap:14px;min-width:0}.ai-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.ai-settings-grid>.ai-card{min-width:0}.ai-card{min-width:0}.ai-icon{color:#4f6ff2;background:#edf1ff}.ai-card>header{align-items:flex-start}.ai-card>header>div{min-width:0}.ai-card>header>b{flex:0 0 auto}.ai-banner{margin-top:14px;padding:11px 13px;border:1px solid #e6eaf1;border-radius:11px;display:flex;align-items:flex-start;gap:9px;background:#f6f8fb;color:#5b6472;font-size:.68rem;line-height:1.5}.ai-banner>svg{flex:0 0 auto;margin-top:1px}.ai-banner-copy{min-width:0}.ai-banner-copy strong{display:block;color:inherit;font-size:.7rem}.ai-banner-copy p{margin:4px 0 0}.ai-banner.warn{border-color:#f0d9b5;background:#fff8ed;color:#8a5a12}.ai-banner.error{border-color:#f3cccc;background:#fff2f2;color:#9c3838}.ai-banner.info{border-color:#d6e0fa;background:#f2f5ff;color:#3f5bb5}.ai-form{display:grid;gap:14px;margin-top:16px}.ai-field{display:grid;gap:6px;min-width:0;color:#4d5664}.ai-field-label{color:#5a6370;font-size:.67rem;font-weight:750}.ai-field>small{color:#9298a2;font-size:.59rem;line-height:1.4}.ai-input{width:100%;min-width:0;min-height:40px;padding:9px 11px;border:1px solid #dce2eb;border-radius:10px;outline:0;color:#303946;background:#fbfcfe;font-size:.72rem;font-weight:500;line-height:1.45;resize:vertical}textarea.ai-input{min-height:74px}.ai-input:focus{border-color:#7892ec;background:#fff;box-shadow:0 0 0 3px #4f6ff21f}.ai-input:disabled{color:#8a919b;background:#f4f6f9;cursor:default}.ai-input-suffix{position:relative;display:flex;align-items:center}.ai-input-suffix>input{width:100%;min-width:0;min-height:40px;padding:9px 30px 9px 11px;border:1px solid #dce2eb;border-radius:10px;outline:0;color:#303946;background:#fbfcfe;font-size:.72rem}.ai-input-suffix>input:focus{border-color:#7892ec;background:#fff;box-shadow:0 0 0 3px #4f6ff21f}.ai-input-suffix>input:disabled{color:#8a919b;background:#f4f6f9}.ai-input-suffix>em{position:absolute;right:10px;color:#8a919b;font-size:.64rem;font-style:normal;pointer-events:none}.ai-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ai-form-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.ai-form-actions .page-primary,.ai-form-actions .secondary-button,.ai-form-actions .settings-danger-button{width:auto;min-height:40px;padding:0 14px}.ai-mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ai-mode-option{min-width:0;padding:10px;border:1px solid #e1e6ef;border-radius:11px;background:#fafbfc;display:flex;align-items:flex-start;gap:8px;cursor:pointer;transition:border-color .15s ease,background .15s ease}.ai-mode-option:hover{border-color:#b9c7ed}.ai-mode-option.selected{border-color:#89a0f2;background:#f3f6ff;box-shadow:inset 0 0 0 1px #5370e326}.ai-mode-option.disabled{opacity:.58;cursor:not-allowed}.ai-mode-option input{flex:0 0 auto;margin:2px 0 0;accent-color:#4f6ff2}.ai-mode-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.ai-mode-copy strong{color:#343a44;font-size:.7rem}.ai-mode-copy small{color:#8a919b;font-size:.58rem;line-height:1.35}.ai-channels{margin:0;padding:10px 12px;border:1px solid #edf0f4;border-radius:12px}.ai-channels>legend{padding:0 4px;color:#5a6370;font-size:.67rem;font-weight:750}.ai-channel-row{display:flex;flex-wrap:wrap;gap:10px 18px}.ai-check{display:flex;align-items:flex-start;gap:8px;cursor:pointer;color:#4d5664}.ai-check.disabled{opacity:.6;cursor:default}.ai-check>input{flex:0 0 auto;margin:2px 0 0;accent-color:#4f6ff2}.ai-check-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.ai-check-copy strong{font-size:.67rem;font-weight:750}.ai-check-copy small{color:#8a919b;font-size:.58rem;line-height:1.4}.ai-status-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:8px;margin:15px 0 0}.ai-status-list>div{min-width:0;padding:8px 10px;border:1px solid #edf0f4;border-radius:9px;background:#fafbfc}.ai-status-list dt{color:#9298a2;font-size:.57rem}.ai-status-list dd{margin:3px 0 0;color:#3f4753;font-size:.68rem;font-weight:700;overflow-wrap:anywhere}.ai-status-list.small{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px}.ai-usage-block{margin-top:15px;padding:12px 13px;border:1px solid #e6eaf1;border-radius:12px;background:#fbfcfe}.ai-usage-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;color:#6d7581;font-size:.63rem}.ai-usage-head strong{color:#343a44;font-size:.69rem}.ai-usage-bar{height:8px;margin:8px 0;border-radius:99px;background:#eceff5;overflow:hidden}.ai-usage-bar>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5a7bff,#8aa0ff)}.ai-usage-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;color:#8b929c;font-size:.59rem;line-height:1.4}.ai-usage-days{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:6px}.ai-usage-days>li{min-width:0;display:grid;grid-template-columns:72px 66px minmax(0,1fr);align-items:center;gap:8px}.ai-usage-day{color:#8b929c;font-size:.59rem}.ai-usage-day-bar{height:6px;border-radius:99px;background:#edf0f4;overflow:hidden}.ai-usage-day-bar>span{display:block;height:100%;border-radius:inherit;background:#8aa0ff}.ai-usage-day-copy{min-width:0;display:flex;flex-direction:column;gap:1px}.ai-usage-day-copy strong{color:#3f4753;font-size:.63rem}.ai-usage-day-copy small{color:#9298a2;font-size:.56rem}.ai-empty{margin:14px 0 0;padding:14px;border:1px dashed #dfe4ec;border-radius:11px;color:#8b929c;font-size:.66rem;text-align:center;line-height:1.5}.ai-confirm{margin-top:12px;padding:13px;border:1px solid #dfe4f3;border-radius:12px;background:#f8f9fd;display:grid;gap:8px}.ai-confirm h3{margin:0;color:#333b47;font-size:.78rem}.ai-confirm p{margin:0;color:#687180;font-size:.65rem;line-height:1.5}.ai-confirm ul{margin:0;padding-left:18px;color:#687180;font-size:.63rem;line-height:1.55}.ai-confirm .ai-form-actions{margin-top:4px}.ai-history{margin-top:16px;padding-top:12px;border-top:1px solid #edf0f3}.ai-history>summary{color:#506ee8;font-size:.65rem;font-weight:750;cursor:pointer}.ai-version-list{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:5px}.ai-version-list>li{min-width:0;display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:8px;background:#fafbfc;font-size:.6rem;color:#7d8591}.ai-version-list code{color:#45507a;font-size:.58rem}.ai-version-list small{margin-left:auto;color:#9298a2;font-size:.56rem}.ai-knowledge-toolbar{display:grid;grid-template-columns:180px minmax(0,1fr) 230px;align-items:end;gap:10px;margin-top:16px}.ai-field-inline{margin:0}.ai-upload{display:grid;gap:6px;justify-items:start}.ai-upload .page-primary{width:auto;min-height:40px}.ai-upload small{color:#9298a2;font-size:.57rem;line-height:1.4}.ai-knowledge-summary{margin:12px 0 0;color:#8b929c;font-size:.61rem;line-height:1.45}.ai-knowledge-list{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:7px}.ai-knowledge-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:9px 10px;border:1px solid #e6eaf1;border-radius:10px;background:#fbfcfe}.ai-knowledge-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.ai-knowledge-copy strong{color:#343a44;font-size:.67rem;overflow-wrap:anywhere}.ai-knowledge-copy small{color:#8b929c;font-size:.57rem;line-height:1.4;overflow-wrap:anywhere}.ai-knowledge-tags{display:flex;flex-wrap:wrap;gap:5px}.ai-index-status,.ai-doc-status{padding:3px 6px;border-radius:6px;font-size:.55rem;font-weight:800;white-space:nowrap;color:#5b6472;background:#eef0f4}.ai-index-status.pending{color:#7b6a43;background:#fff4e2}.ai-index-status.indexing{color:#4b61b8;background:#eaf0ff}.ai-index-status.ready{color:#287a55;background:#e9f8f0}.ai-index-status.failed{color:#b94444;background:#feecec}.ai-doc-status.published{color:#287a55;background:#e9f8f0}.ai-doc-status.draft{color:#7b6a43;background:#fff4e2}.ai-doc-status.archived{color:#6d727b;background:#eff1f4}.ai-row-actions{display:flex;flex-wrap:wrap;gap:4px}.ai-row-actions button{min-height:32px;padding:5px 8px;border-radius:7px;display:inline-flex;align-items:center;gap:4px;color:#4e5661;background:#eef1f6;font-size:.59rem;font-weight:700}.ai-row-actions button:hover:not(:disabled){background:#e3e8f0}.ai-row-actions button:disabled{opacity:.45;cursor:default}.ai-row-actions .ai-row-delete{color:#a24c4c;background:#fff0f0}.ai-row-actions .ai-row-delete:hover:not(:disabled){background:#ffe4e4}.ai-test-result{margin-top:14px;padding:12px;border:1px solid #e0e6f2;border-radius:12px;background:#fbfcff;display:grid;gap:8px}.ai-test-verdict{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.ai-test-answer{margin:0;padding:10px 12px;border:1px solid #e7ecf5;border-radius:9px;background:#fff;color:#333b47;font-family:inherit;font-size:.69rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow-y:auto}.ai-blockers{color:#8a4a2a;font-size:.61rem;line-height:1.5}.ai-blockers strong{display:block;font-size:.63rem}.ai-blockers ul{margin:4px 0 0;padding-left:17px}@media(max-width:820px){.ai-settings-grid,.ai-mode-options{grid-template-columns:1fr}.ai-knowledge-toolbar{grid-template-columns:1fr 1fr}.ai-upload{grid-column:1 / -1}}@media(max-width:650px){.ai-draft-panel{max-height:42vh;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}.ai-draft-head{align-items:flex-start}.ai-draft-title{font-size:.76rem}.ai-actions button,.ai-actions .secondary-button,.ai-actions .page-primary,.ai-actions .settings-danger-button{flex:1 1 140px;min-height:44px;width:auto}.ai-textarea,.ai-settings .ai-input,.ai-input-suffix>input{font-size:16px}.ai-form-grid,.ai-confidence-row,.ai-knowledge-toolbar,.ai-usage-days>li{grid-template-columns:1fr}.ai-status-list,.ai-status-list.small{grid-template-columns:1fr 1fr}.ai-knowledge-row{grid-template-columns:1fr;align-items:start}.ai-knowledge-tags{justify-content:flex-start}.ai-row-actions{width:100%}.ai-row-actions button{min-height:38px}.ai-form-actions{justify-content:stretch}.ai-form-actions .page-primary,.ai-form-actions .secondary-button,.ai-form-actions .settings-danger-button{flex:1 1 100%;width:100%}.ai-usage-day-bar{display:none}.ai-upload .page-primary{width:100%}.ai-version-list>li{flex-wrap:wrap}.ai-version-list small{margin-left:0}.ai-banner{padding:10px 11px}}.ai-page .content-page-header{margin-bottom:22px}.ai-page-header{align-items:center}.ai-page-header>div:first-child{min-width:0}.ai-page-header p:not(.eyebrow){max-width:680px}.ai-header-status{flex:0 0 auto;min-width:158px;padding:10px 13px;border:1px solid #e1e5ec;border-radius:14px;background:#fff;display:flex;align-items:center;gap:10px;box-shadow:0 3px 10px #1a202b09}.ai-status-dot{flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#a2a9b3;box-shadow:0 0 0 4px #f0f2f5}.ai-header-status small{display:block;color:#8a919c;font-size:.56rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.ai-header-status strong{display:block;margin-top:2px;color:#252c36;font-size:.74rem;line-height:1.25}.ai-header-status.ok .ai-status-dot{background:#2f9166;box-shadow:0 0 0 4px #e9f7f0}.ai-header-status.warn .ai-status-dot{background:#c58a2e;box-shadow:0 0 0 4px #fdf3e3}.ai-header-status.error .ai-status-dot{background:#c34a4a;box-shadow:0 0 0 4px #fdeeee}.ai-header-status.off .ai-status-dot{background:#8a919c;box-shadow:0 0 0 4px #f0f2f5}.ai-workspace{display:grid;grid-template-columns:216px minmax(0,1fr);gap:22px;align-items:start}.ai-rail{position:sticky;top:0;display:grid;gap:12px;min-width:0}.ai-rail-card{padding:6px;display:grid;gap:3px;border:1px solid #e1e4e9;border-radius:16px;background:#fff;box-shadow:0 3px 10px #1a202b09}.ai-rail-item{width:100%;min-height:42px;padding:0 10px;border-radius:11px;display:flex;align-items:center;gap:9px;color:#707987;background:transparent;font-size:.7rem;font-weight:750;text-align:left;transition:background .15s ease,color .15s ease}.ai-rail-item:hover{background:#f4f6f9;color:#252c36}.ai-rail-item.active{background:#eef2ff;color:#3554d1}.ai-rail-item>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-rail-count{flex:0 0 auto;min-width:20px;padding:2px 6px;border-radius:999px;background:#f0f2f5;color:#7b8490;font-size:.58rem;text-align:center}.ai-rail-item.active .ai-rail-count{background:#fff;color:#3554d1}.ai-rail-help{padding:14px;border:1px solid #e3e8f3;border-radius:16px;background:#f7f9ff;color:#5b6780;display:grid;gap:6px}.ai-rail-help>svg{color:#4f6ff2}.ai-rail-help strong{color:#333d50;font-size:.7rem}.ai-rail-help p{margin:0;font-size:.62rem;line-height:1.5}.ai-content{min-width:0;display:grid;gap:16px}.ai-panel{min-width:0;display:grid;gap:16px;outline:none}.ai-panel:focus-visible{outline:2px solid #9bacfb;outline-offset:4px;border-radius:8px}.ai-section-intro h2{margin:0;color:#262d38;font-size:1.16rem;letter-spacing:-.03em}.ai-section-intro p{margin:6px 0 0;max-width:780px;color:#7b8490;font-size:.75rem;line-height:1.55}.ai-overview{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.85fr);gap:16px;align-items:start}.ai-overview-main{min-width:0}.ai-overview-side{min-width:0;display:grid;gap:16px}.ai-readiness{padding:18px;border:1px solid #e1e4e9;border-radius:16px;background:#fff;box-shadow:0 3px 10px #1a202b09;display:grid;gap:14px}.ai-readiness-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ai-readiness-head strong{display:block;color:#282d35;font-size:.82rem}.ai-readiness-head small{display:block;margin-top:3px;color:#8c929c;font-size:.64rem}.ai-readiness-head b{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:#eef2ff;color:#3554d1;font-size:.62rem}.ai-readiness-list{list-style:none;margin:0;padding:0;display:grid;gap:11px}.ai-readiness-step{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:9px;align-items:start}.ai-readiness-mark{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:#f2f4f7;color:#8a919c}.ai-readiness-step.done .ai-readiness-mark{background:#e9f7f0;color:#2f9166}.ai-readiness-step.todo .ai-readiness-mark{background:#fff4e5;color:#b2741f}.ai-readiness-step strong{display:block;color:#2b333e;font-size:.72rem}.ai-readiness-step small{display:block;margin-top:2px;color:#8a919c;font-size:.62rem;line-height:1.45}.ai-readiness-link{align-self:center;padding:5px 8px;border-radius:8px;background:#f4f6f9;color:#5a6370;font-size:.58rem;font-weight:750;white-space:nowrap}.ai-readiness-link:hover{background:#eef2ff;color:#3554d1}.ai-quick{display:grid;gap:7px;padding-top:13px;border-top:1px solid #edf0f4}.ai-quick-title{color:#8a919c;font-size:.56rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.ai-quick-action{width:100%;min-height:38px;padding:0 10px;border-radius:10px;display:flex;align-items:center;gap:8px;background:#f7f8fa;color:#333c4d;font-size:.68rem;font-weight:700;text-align:left}.ai-quick-action:hover{background:#eef2ff;color:#3554d1}.ai-quick-action svg:last-child{margin-left:auto;color:#9aa1ab}.ai-pair{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:16px;align-items:start}.ai-pair>.ai-card{min-width:0}.ai-skeleton{display:grid;gap:16px}.ai-skeleton-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.85fr);gap:16px}.ai-skeleton-card{border:1px solid #e5e8ee;border-radius:16px;background:#f1f3f7;animation:ai-skeleton-pulse 1.4s ease-in-out infinite}.ai-skeleton-card.tall{height:360px}.ai-skeleton-card.short{height:300px}.ai-skeleton-card.wide{height:190px}@keyframes ai-skeleton-pulse{0%,to{opacity:.55}50%{opacity:1}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1100px){.ai-overview,.ai-skeleton-grid,.ai-pair{grid-template-columns:1fr}}@media(max-width:1024px){.ai-workspace{grid-template-columns:1fr;gap:16px}.ai-rail{position:static}.ai-rail-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:5px;overflow:visible}.ai-rail-item{width:100%;min-height:40px;padding:0 10px}.ai-rail-item>span{overflow:hidden;text-overflow:ellipsis}.ai-rail-help{display:none}}@media(max-width:560px){.ai-rail-card{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.ai-page-header{align-items:stretch;flex-direction:column;gap:14px}.ai-header-status{width:100%}.ai-section-intro h2{font-size:1.06rem}.ai-overview{gap:12px}.ai-readiness{padding:16px}.ai-quick-action{min-height:42px}}@media(prefers-reduced-motion:reduce){.ai-skeleton-card{animation:none;opacity:.8}}.ai-knowledge-empty{margin-top:16px;padding:28px 20px;border:1px dashed #d9e0ea;border-radius:14px;background:#fafbfe;display:grid;justify-items:center;gap:8px;text-align:center}.ai-knowledge-empty-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#eef2ff;color:#4f6ff2}.ai-knowledge-empty strong{color:#2b333e;font-size:.82rem}.ai-knowledge-empty p{margin:0;max-width:440px;color:#7b8490;font-size:.7rem;line-height:1.55}.ai-knowledge-empty .page-primary{width:auto;min-height:38px;padding:0 14px;display:inline-flex;align-items:center;gap:7px}.ai-knowledge-empty .secondary-button{width:auto;min-height:36px;padding:0 12px}.ai-knowledge-empty small{color:#9298a2;font-size:.6rem}.ai-knowledge-empty.compact{padding:20px}.ai-behavior{display:flex;align-items:center;gap:12px;padding:14px 18px;border:1px solid #e1e4e9;border-radius:16px;background:#fff;box-shadow:0 3px 10px #1a202b09}.ai-behavior-dot{flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#8a919c;box-shadow:0 0 0 4px #f0f2f5}.ai-behavior.ok .ai-behavior-dot{background:#2f9166;box-shadow:0 0 0 4px #e9f7f0}.ai-behavior.warn .ai-behavior-dot{background:#c58a2e;box-shadow:0 0 0 4px #fdf3e3}.ai-behavior.off .ai-behavior-dot{background:#8a919c;box-shadow:0 0 0 4px #f0f2f5}.ai-behavior-copy{min-width:0;flex:1}.ai-behavior-label{display:block;color:#8a919c;font-size:.56rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.ai-behavior-copy strong{display:block;margin-top:2px;color:#252c36;font-size:.8rem}.ai-behavior-copy p{margin:3px 0 0;color:#6f7784;font-size:.66rem;line-height:1.45}.ai-behavior>small{flex:0 0 auto;color:#9aa1ab;font-size:.6rem}.ai-guide{padding:18px;border:1px solid #e1e4e9;border-radius:16px;background:#fff;box-shadow:0 3px 10px #1a202b09;display:grid;gap:14px}.ai-guide-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.ai-guide-head h3{margin:0;color:#282d35;font-size:.92rem;letter-spacing:-.02em}.ai-guide-head p{margin:4px 0 0;color:#7b8490;font-size:.66rem;line-height:1.45}.ai-guide-test{width:auto;min-height:36px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;font-size:.64rem}.ai-guide-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ai-guide-highlights article{padding:12px;border:1px solid #e8ecf2;border-radius:12px;background:#f8f9fc;display:grid;gap:6px;align-content:start}.ai-guide-icon{width:28px;height:28px;border-radius:9px;display:grid;place-items:center}.ai-guide-icon.mode{background:#eef2ff;color:#4f6ff2}.ai-guide-icon.trust{background:#e9f7f0;color:#2f9166}.ai-guide-icon.knowledge{background:#fff4e5;color:#b2741f}.ai-guide-highlights strong{color:#2b333e;font-size:.7rem}.ai-guide-highlights p{margin:0;color:#6f7784;font-size:.63rem;line-height:1.5}.ai-guide-highlights b{color:#3a4351}.ai-guide-more{border-top:1px solid #edf0f4;padding-top:12px}.ai-guide-more summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;color:#3a4351;font-size:.7rem;font-weight:750;list-style:none}.ai-guide-more summary::-webkit-details-marker{display:none}.ai-guide-more summary svg{transition:transform .2s ease}.ai-guide-more[open] summary svg{transform:rotate(180deg)}.ai-guide-list{margin:12px 0 0;display:grid;gap:9px}.ai-guide-list>div{display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px;padding-top:9px;border-top:1px solid #f0f2f5}.ai-guide-list>div:first-child{padding-top:0;border-top:0}.ai-guide-list dt{color:#3a4351;font-size:.64rem;font-weight:750}.ai-guide-list dd{margin:0;color:#6f7784;font-size:.63rem;line-height:1.5}.ai-guide-list dd b{color:#3a4351}.ai-guide-note{margin:10px 0 0;color:#8a919c;font-size:.61rem;line-height:1.45}.ai-persona{padding:14px;border:1px solid #e6eaf2;border-radius:14px;background:#f8f9fc;display:grid;gap:10px}.ai-persona-head strong{display:block;color:#2b333e;font-size:.74rem}.ai-persona-head small{display:block;margin-top:3px;color:#7b8490;font-size:.63rem;line-height:1.45}.ai-persona-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ai-persona-option{min-width:0;padding:10px;border:1px solid #e1e5ec;border-radius:11px;background:#fff;display:flex;align-items:flex-start;gap:9px;text-align:left;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.ai-persona-option:hover{border-color:#c9d4f5;background:#fbfcff}.ai-persona-option.active{border-color:#7d95ef;background:#eef2ff;box-shadow:0 0 0 2px #4f6ff214}.ai-persona-option:disabled{opacity:.6;cursor:default}.ai-persona-icon{flex:0 0 auto;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#eef2ff;color:#4f6ff2}.ai-persona-option.active .ai-persona-icon{background:#fff}.ai-persona-copy{min-width:0;display:grid;gap:3px}.ai-persona-copy strong{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:#2b333e;font-size:.68rem;line-height:1.3}.ai-persona-copy strong em{padding:2px 5px;border-radius:999px;background:#eef2ff;color:#3554d1;font-size:.5rem;font-style:normal;font-weight:800;letter-spacing:.02em}.ai-persona-copy small{color:#7b8490;font-size:.6rem;line-height:1.45}.ai-persona-check{flex:0 0 auto;margin-left:auto;color:#3554d1}.ai-persona-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ai-persona-actions .secondary-button{width:auto;min-height:34px;padding:0 11px;display:inline-flex;align-items:center;gap:6px;font-size:.61rem;flex:0 0 auto}.ai-persona-actions small{flex:1 1 200px;color:#8a919c;font-size:.6rem;line-height:1.4}.ai-preset-confirm{padding:11px 12px;border:1px solid #f0d9b5;border-radius:11px;background:#fff8ed;color:#8a5a12;display:grid;gap:9px}.ai-preset-confirm p{margin:0;font-size:.63rem;line-height:1.5}.ai-preset-confirm>div{display:flex;gap:8px}.ai-preset-confirm .secondary-button,.ai-preset-confirm .page-primary{width:auto;min-height:32px;padding:0 11px;font-size:.61rem}.ai-prompt-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:-4px;color:#8a919c;font-size:.59rem}@media(max-width:700px){.ai-behavior{align-items:flex-start;flex-wrap:wrap}.ai-behavior>small{width:100%}.ai-guide-head{flex-direction:column;align-items:stretch;gap:10px}.ai-guide-test{width:100%;justify-content:center}.ai-guide-highlights{grid-template-columns:1fr}.ai-guide-list>div{grid-template-columns:1fr;gap:3px}.ai-persona-grid{grid-template-columns:1fr}.ai-persona-actions small{flex-basis:100%}}.ai-source-panel{margin:14px 0 4px;display:grid;gap:12px}.ai-source-form{padding:14px;border:1px solid #e6eaf2;border-radius:14px;background:#f8f9fc;display:grid;gap:10px}.ai-source-form-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ai-source-form-head strong{display:block;color:#2b333e;font-size:.74rem}.ai-source-form-head small{display:block;margin-top:3px;color:#7b8490;font-size:.62rem;line-height:1.45}.ai-source-form-badge{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:#eef2ff;color:#3554d1;display:inline-flex;align-items:center;gap:4px;font-size:.58rem;font-weight:750}.ai-source-form-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(160px,.7fr) auto;gap:10px;align-items:end}.ai-source-submit{min-height:40px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.ai-source-form>small{color:#8a919c;font-size:.6rem;line-height:1.45}.ai-source-list{display:grid;gap:8px}.ai-source-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px}.ai-source-list-head strong{color:#2b333e;font-size:.72rem}.ai-source-list-head small{min-width:20px;padding:2px 6px;border-radius:999px;background:#eef2ff;color:#3554d1;font-size:.58rem;font-weight:750;text-align:center}.ai-source-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid #e5e8ee;border-radius:12px;background:#fff}.ai-source-copy{min-width:0;display:grid;gap:2px}.ai-source-copy strong{color:#2b333e;font-size:.68rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-source-copy small{color:#7b8490;font-size:.6rem;line-height:1.4}.ai-source-copy em{color:#b2741f;font-size:.58rem;font-style:normal}.ai-source-status{padding:4px 7px;border-radius:999px;background:#f0f2f5;color:#6f7784;display:inline-flex;align-items:center;gap:4px;font-size:.56rem;font-weight:800;white-space:nowrap}.ai-source-status.ready{background:#e9f7f0;color:#2f9166}.ai-source-status.crawling{background:#fff4e5;color:#b2741f}.ai-source-status.pending{background:#eef2ff;color:#3554d1}.ai-source-status.failed{background:#fdeeee;color:#c34a4a}.ai-source-status.paused{background:#fff4e5;color:#b2741f}.ai-source-row .ai-row-actions{display:flex;gap:6px}@media(max-width:700px){.ai-source-form-row{grid-template-columns:1fr}.ai-source-submit{width:100%}.ai-source-row{grid-template-columns:1fr;align-items:start}.ai-source-row .ai-row-actions{justify-content:flex-start;flex-wrap:wrap}}.ai-latency{margin-top:14px;padding:11px 13px;border:1px solid #e6eaf2;border-radius:11px;background:#f8f9fc;display:grid;gap:3px}.ai-latency span{color:#8a919c;font-size:.58rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.ai-latency strong{color:#2b333e;font-size:.72rem}.ai-latency small{color:#7b8490;font-size:.6rem}.ai-knowledge-scope-hint{margin:2px 0 10px}.ai-scope-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:4px 0 12px;padding:11px 13px;border:1px solid #e6eaf2;border-radius:12px;background:#fbfcfe}.ai-scope-banner.scoped{border-color:#cfe0ff;background:linear-gradient(90deg,#f4f8ff,#fbfcff)}.ai-scope-banner strong{display:block;color:#27303c;font-size:.72rem}.ai-scope-banner small{display:block;margin-top:3px;color:#7c8694;font-size:.6rem}.ai-scope-toggle{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;color:#4d5867;font-size:.63rem;font-weight:700;cursor:pointer}.ai-scope-toggle input{width:15px;height:15px;accent-color:#2f6fed}@media(max-width:640px){.ai-scope-banner{align-items:flex-start;flex-direction:column}}.bot-page{max-width:1240px}.bot-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;align-items:start}.bot-list{display:grid;gap:8px;position:sticky;top:18px}.bot-list-item{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;border:1px solid #e3e8f1;border-radius:12px;background:#fff;text-align:left;cursor:pointer}.bot-list-item:hover{border-color:#c9d6ee}.bot-list-item.active{border-color:#2f6fed;box-shadow:0 0 0 2px #2f6fed1a}.bot-list-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#eef4ff;color:#2f6fed;flex:0 0 auto}.bot-list-item span:nth-child(2){min-width:0;flex:1}.bot-list-item strong{display:block;color:#27303c;font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bot-list-item small{display:block;margin-top:2px;color:#87909d;font-size:.58rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bot-list-item b{display:inline-flex;align-items:center;gap:3px;color:#15803d;font-size:.55rem}.bot-editor{display:grid;gap:14px;min-width:0}.bot-editor-head{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.bot-editor-head .ai-field{flex:1 1 240px}.bot-active{white-space:nowrap;padding-bottom:8px}.bot-channels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.bot-channel{display:flex;align-items:center;gap:9px;padding:11px;border:1px solid #e5e9f1;border-radius:10px;background:#fafbfe;cursor:pointer}.bot-channel.ready{border-color:#cfe8d8;background:#f6fcf8}.bot-channel strong{display:block;font-size:.66rem;color:#2c3541}.bot-channel small{display:block;margin-top:2px;font-size:.55rem;color:#8993a0}.bot-button-list{display:grid;gap:10px;margin:12px 0}.bot-button-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;align-items:start;padding:10px;border:1px solid #e8ecf4;border-radius:11px;background:#fbfcfe}.bot-button-main{display:grid;gap:7px;min-width:0}.bot-button-route{display:grid;grid-template-columns:1fr 1fr;gap:6px}.bot-auto-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}.bot-auto-stages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bot-preview-row{display:flex;gap:8px}.bot-preview-row .ai-input{flex:1}.bot-preview-result{margin-top:10px;padding:12px;border-radius:11px;background:#f5f8ff;border:1px solid #dfe8fb}.bot-preview-result small{color:#657184;font-size:.59rem}.bot-preview-result p{margin:6px 0 8px;white-space:pre-wrap;font-size:.7rem;color:#28313d}.bot-preview-button{display:inline-block;margin:2px 4px 0 0;padding:5px 9px;border-radius:8px;background:#fff;border:1px solid #d8e1f2;font-size:.6rem;color:#2f5da8}.bot-editor .ai-card{padding:14px}@media(max-width:900px){.bot-layout{grid-template-columns:1fr}.bot-list{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.bot-channels,.bot-auto-grid,.bot-auto-stages,.bot-button-row,.bot-button-route,.bot-list{grid-template-columns:1fr}.bot-editor-head .page-primary,.bot-editor-head .secondary-button{width:100%;justify-content:center}}.bot-final{font-size:.58rem;color:#6f7784}.bot-final input{width:14px;height:14px}.bot-editor .ai-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.bot-editor .ai-card-head>span{display:inline-flex;align-items:center;gap:7px;color:#2b3441;font-size:.7rem;font-weight:800}.bot-editor .ai-card-head small{color:#8993a0;font-size:.58rem;text-align:right}.bot-studio-page{max-width:1500px}.bot-studio-shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:14px;align-items:start}.bot-workspace{min-width:0;border:1px solid #e3e8f1;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 12px 34px #1f2d460d}.bot-topbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px 12px;border-bottom:1px solid #e8edf5;background:#fbfcfe}.bot-name{width:190px;font-weight:800}.bot-channel-pill{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border:1px solid #e3e8f1;border-radius:999px;color:#8b94a1;font-size:.58rem;font-weight:750;cursor:pointer}.bot-channel-pill.on{color:#2f5da8;border-color:#c9d9f7;background:#f2f7ff}.bot-channel-pill.ready span:before{content:"";display:inline-block;width:5px;height:5px;margin-right:4px;border-radius:50%;background:#22a06b}.bot-validation{display:inline-flex;align-items:center;gap:4px;margin-left:auto;font-size:.6rem;font-weight:800}.bot-validation.ok{color:#15803d}.bot-issues{display:flex;gap:6px;flex-wrap:wrap;padding:7px 12px;border-bottom:1px solid #f5e6c8;background:#fffbf2}.bot-issues span{display:inline-flex;align-items:center;gap:4px;color:#a16207;font-size:.58rem}.bot-studio{display:grid;grid-template-columns:156px minmax(0,1fr) 288px;min-height:620px}.bot-palette{padding:12px 9px;border-right:1px solid #e9edf4;background:#fbfcfe;display:flex;flex-direction:column;gap:5px}.bot-palette strong{color:#323b48;font-size:.7rem;padding:0 4px}.bot-palette p{margin:0 4px 5px;color:#93a0b0;font-size:.56rem;line-height:1.35}.bot-palette-item{display:flex;align-items:center;gap:7px;padding:8px;border:1px solid transparent;border-radius:8px;background:transparent;color:#4c5868;font-size:.62rem;font-weight:700;text-align:left;cursor:pointer}.bot-palette-item:hover{background:#eef4ff;border-color:#dbe6fb;color:#2c5bad}.bot-palette-item:disabled{opacity:.4;cursor:default}.bot-palette-tip{display:flex;gap:6px;margin-top:auto;padding:9px 5px;color:#8a95a4;font-size:.55rem;line-height:1.45}.bot-canvas-wrap{min-width:0;display:flex;flex-direction:column;background:#f7f9fc}.bot-canvas-toolbar{display:flex;align-items:center;gap:7px;height:36px;padding:0 9px;border-bottom:1px solid #e6ebf3;background:#fbfcfe;color:#7e8998;font-size:.58rem}.bot-canvas-toolbar>span{min-width:32px;text-align:center;font-weight:800}.bot-canvas-hint{margin-left:auto;color:#9aa4b1}.bot-canvas{position:relative;flex:1;min-height:580px;overflow:hidden;cursor:grab;background-color:#f7f9fc;background-image:linear-gradient(#e9eef6 1px,transparent 1px),linear-gradient(90deg,#e9eef6 1px,transparent 1px);background-size:24px 24px}.bot-canvas:active{cursor:grabbing}.bot-canvas-plane{position:absolute;left:0;top:0;width:3000px;height:2000px;transform-origin:0 0}.bot-edges{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}.bot-edges path{fill:none;stroke:#93a9ca;stroke-width:1.6}.bot-edges text{fill:#7b8797;font-size:9px;font-family:inherit;text-anchor:middle}.bot-node{position:absolute;width:222px;border:1px solid #dbe3ef;border-radius:12px;background:#fff;box-shadow:0 4px 14px #2737520f;cursor:pointer;-webkit-user-select:none;user-select:none;transition:box-shadow .15s,border-color .15s}.bot-node:hover{border-color:#b9cbea}.bot-node.selected{border-color:#2f6fed;box-shadow:0 0 0 2px #2f6fed21,0 8px 22px #2f6fed1a}.bot-node.connect-target{box-shadow:0 0 0 2px #2f6fed4d}.bot-node header{display:flex;align-items:center;gap:7px;padding:8px 9px;border-bottom:1px solid #f0f3f8;cursor:grab}.bot-node-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#eef4ff;color:#2f6fed;flex:0 0 auto}.bot-node-icon.start{background:#e9f8ef;color:#14935c}.bot-node-icon.end{background:#fff4e8;color:#c77716}.bot-node-icon.ai_route{background:#f3edff;color:#7c4dff}.bot-node-icon.choice{background:#e9f6ff;color:#137cae}.bot-node-title{min-width:0;flex:1}.bot-node-title strong{display:block;color:#2b3441;font-size:.64rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bot-node-title small{display:block;margin-top:1px;color:#929dab;font-size:.51rem}.bot-node-body{padding:8px 9px}.bot-node-body p{margin:0;color:#5d6878;font-size:.57rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.bot-node-body code{display:inline-block;margin-top:5px;padding:2px 5px;border-radius:4px;background:#f1f5fb;color:#5d7190;font-size:.53rem}.bot-node-chip{display:inline-block;margin-top:5px;padding:3px 6px;border-radius:5px;background:#f2f7ff;color:#4c6e9f;font-size:.52rem;font-weight:700}.bot-node-button{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:4px;padding:4px 6px;border:1px solid #e5ecf7;border-radius:6px;color:#3a5f91;background:#fbfdff;font-size:.54rem}.bot-node-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bot-port{width:9px;height:9px;border-radius:50%;border:2px solid #fff;background:#7f9cc4;box-shadow:0 0 0 1px #7f9cc4;cursor:crosshair;padding:0;flex:0 0 auto}.bot-port.out{margin-left:auto}.bot-port.mini{width:7px;height:7px}.bot-node-input{position:absolute;left:-5px;top:31px;width:8px;height:8px;border-radius:50%;background:#a9b8cd;border:2px solid #fff;box-shadow:0 0 0 1px #a9b8cd}.bot-canvas-empty{position:absolute;left:80px;top:90px;display:grid;gap:5px;color:#9aa6b6;text-align:center}.bot-connect-hint{position:absolute;left:50%;bottom:13px;transform:translate(-50%);display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;background:#2f6fed;color:#fff;font-size:.58rem;font-weight:800;box-shadow:0 6px 18px #2f6fed47}.bot-inspector{padding:12px;border-left:1px solid #e9edf4;background:#fbfcfe;display:flex;flex-direction:column;gap:9px;max-height:620px;overflow:auto}.bot-inspector.empty{align-items:center;justify-content:center;color:#9aa5b4;text-align:center}.bot-inspector.empty strong{color:#5e6a7a;font-size:.7rem}.bot-inspector.empty p{max-width:190px;margin:0;font-size:.58rem;line-height:1.45}.bot-inspector>header{display:flex;align-items:center;gap:7px;padding-bottom:8px;border-bottom:1px solid #eef1f6}.bot-inspector>header>div{min-width:0;flex:1}.bot-inspector>header strong{display:block;color:#2e3743;font-size:.67rem}.bot-inspector>header small{display:block;margin-top:1px;color:#929daa;font-size:.53rem}.bot-inspector-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.bot-inspector-buttons{display:grid;gap:7px}.bot-inspector-section{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#6e7988;font-size:.58rem;font-weight:800}.bot-inspector-section .secondary-button{padding:4px 7px;font-size:.55rem}.bot-inspector-button{display:grid;gap:5px;padding:7px;border:1px solid #e7ecf5;border-radius:8px;background:#fff}.bot-inspector-actions{margin-top:auto;padding-top:8px}.bot-inspector .ai-field{gap:3px}.bot-inspector .ai-input{font-size:.63rem;padding:6px 7px}.bot-inspector .ai-field-label{font-size:.55rem}.bot-preview-panel{position:fixed;right:18px;bottom:18px;z-index:50;width:360px;max-height:560px;display:flex;flex-direction:column;border:1px solid #dce5f1;border-radius:16px;background:#fff;box-shadow:0 18px 50px #14243e38;overflow:hidden}.bot-preview-panel>header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #eef2f7}.bot-preview-panel>header strong{font-size:.68rem;color:#2b3441}.bot-preview-chat{flex:1;display:flex;flex-direction:column;gap:7px;padding:12px;overflow:auto;background:#f8fafd;min-height:200px}.bot-chat-message{max-width:85%;padding:8px 10px;border-radius:10px;font-size:.64rem;line-height:1.45;white-space:pre-wrap}.bot-chat-message.bot{align-self:flex-start;background:#fff;border:1px solid #e5ebf4;color:#34404f}.bot-chat-message.user{align-self:flex-end;background:#2f6fed;color:#fff}.bot-preview-buttons{display:flex;gap:5px;flex-wrap:wrap}.bot-preview-buttons .secondary-button{font-size:.57rem;padding:5px 8px}.bot-preview-input{display:flex;gap:6px;padding:8px;border-top:1px solid #eef2f7}.bot-preview-input .ai-input{flex:1}.bot-preview-panel>.secondary-button{margin:0 8px 8px;justify-content:center}@media(max-width:1200px){.bot-studio{grid-template-columns:140px minmax(0,1fr) 260px}.bot-name{width:150px}}@media(max-width:900px){.bot-studio-shell{grid-template-columns:1fr}.bot-list{grid-template-columns:repeat(2,minmax(0,1fr));position:static}.bot-studio{grid-template-columns:1fr}.bot-palette{flex-direction:row;flex-wrap:wrap;border-right:0;border-bottom:1px solid #e9edf4}.bot-palette p,.bot-palette-tip{display:none}.bot-palette strong{width:100%}.bot-palette-item{border:1px solid #e6ecf5}.bot-inspector{border-left:0;border-top:1px solid #e9edf4;max-height:none}.bot-canvas{min-height:440px}}@media(max-width:640px){.bot-topbar{gap:6px}.bot-name{width:100%}.bot-channel-pills{width:100%;overflow-x:auto}.bot-validation{margin-left:0}.bot-preview-panel{left:8px;right:8px;bottom:8px;width:auto;max-height:70vh}.bot-studio{min-height:0}.bot-canvas{min-height:380px}.bot-canvas-hint{display:none}}.bot-preview-note{margin:0 8px 6px;font-size:.53rem;line-height:1.4}.bot-edge-preview{fill:none;stroke:#2f6fed;stroke-width:2;stroke-dasharray:5 4;opacity:.8}.bot-studio-page{max-width:1680px}.bot-studio-shell{display:block}.bot-workspace{border-radius:18px}.bot-topbar{gap:10px;padding:10px 14px;min-height:58px;flex-wrap:nowrap;overflow-x:auto}.bot-switcher{width:210px;min-width:160px;font-size:13px;font-weight:750}.bot-name{width:230px;min-width:170px;font-size:14px;padding:9px 11px}.bot-active{font-size:12px;white-space:nowrap}.bot-channel-pills{gap:5px}.bot-channel-pill{padding:6px 9px;font-size:10.5px}.bot-validation{font-size:10.5px;white-space:nowrap}.bot-topbar .page-primary,.bot-topbar .secondary-button{font-size:12px;padding:8px 12px;white-space:nowrap}.bot-studio{position:relative;grid-template-columns:184px minmax(0,1fr);min-height:min(720px,calc(100vh - 245px))}.bot-palette{padding:16px 11px;gap:7px}.bot-palette strong{font-size:13px}.bot-palette p{font-size:11px;line-height:1.45}.bot-palette-item{gap:9px;padding:10px 9px;border-radius:9px;font-size:12px}.bot-palette-item svg{width:17px;height:17px}.bot-palette-tip{font-size:10.5px;line-height:1.5}.bot-canvas-toolbar{height:42px;padding:0 12px;font-size:11px}.bot-canvas-toolbar .icon-button{width:28px;height:28px}.bot-canvas{min-height:min(650px,calc(100vh - 320px));background-color:#f5f8fc;background-image:radial-gradient(circle,#cbd7e6 1.1px,transparent 1.2px),linear-gradient(to right,rgba(206,219,235,.5) 1px,transparent 1px),linear-gradient(to bottom,rgba(206,219,235,.5) 1px,transparent 1px);background-size:var(--grid-minor, 32px) var(--grid-minor, 32px),var(--grid-major, 160px) var(--grid-major, 160px),var(--grid-major, 160px) var(--grid-major, 160px)}.bot-canvas-hint{font-size:10.5px}.bot-node{width:264px;border-radius:14px;box-shadow:0 6px 20px #24355014}.bot-node header{gap:9px;padding:11px 12px}.bot-node-icon{width:30px;height:30px;border-radius:8px}.bot-node-icon svg{width:17px;height:17px}.bot-node-title strong{font-size:13.5px}.bot-node-title small{font-size:10px;margin-top:2px}.bot-node-body{padding:10px 12px 12px}.bot-node-body p{font-size:11.5px;line-height:1.5}.bot-node-body code{font-size:10.5px}.bot-node-chip{font-size:10px;padding:4px 7px}.bot-node-button{margin-top:6px;padding:6px 8px;font-size:11px;border-radius:7px}.bot-port{width:11px;height:11px}.bot-port.mini{width:9px;height:9px}.bot-node-input{left:-6px;top:38px;width:10px;height:10px}.bot-edges path{stroke-width:2}.bot-edges text{font-size:11px}.bot-inspector{width:330px;padding:16px;gap:13px;max-height:min(720px,calc(100vh - 245px))}.bot-inspector>header{gap:9px;padding-bottom:12px}.bot-inspector>header strong{font-size:13px}.bot-inspector>header small{font-size:10.5px}.bot-inspector .ai-field{gap:5px}.bot-inspector .ai-field-label{font-size:11px}.bot-inspector .ai-input{font-size:12.5px;padding:8px 9px}.bot-inspector .ai-hint{font-size:10.5px;line-height:1.45}.bot-inspector-section{font-size:11px}.bot-inspector-button{padding:10px;gap:8px}.bot-validation.warn{color:#b45309}.bot-issues{padding:9px 14px}.bot-issues span{font-size:11px}.bot-preview-panel{width:410px;max-height:620px}.bot-preview-chat{padding:14px}.bot-chat-message{font-size:12.5px;padding:10px 12px}.bot-preview-buttons .secondary-button{font-size:11px;padding:7px 10px}.bot-preview-panel>header strong{font-size:13px}.bot-preview-panel .ai-hint{font-size:10.5px}@media(max-width:1250px){.bot-studio{grid-template-columns:168px minmax(0,1fr) 300px}.bot-name{width:190px}.bot-switcher{width:180px}}@media(max-width:900px){.bot-topbar{flex-wrap:wrap;overflow:visible}.bot-studio{grid-template-columns:1fr}.bot-palette{flex-direction:row;flex-wrap:wrap}.bot-palette strong{width:100%}.bot-palette p,.bot-palette-tip{display:none}.bot-inspector{width:auto;max-height:none}.bot-canvas{min-height:480px}}@media(max-width:640px){.bot-name,.bot-switcher{width:100%;min-width:0}.bot-channel-pills{width:100%;overflow-x:auto}.bot-validation{margin-left:0}.bot-canvas{min-height:420px}.bot-preview-panel{width:auto;left:8px;right:8px}}.bot-studio{grid-template-columns:184px minmax(0,1fr)}.bot-inspector{position:absolute;right:0;top:0;bottom:0;width:342px;z-index:12;max-height:none;box-shadow:-18px 0 40px #1c2c4621;background:#fbfcfe}.bot-inspector>header{position:sticky;top:0;background:#fbfcfe;z-index:1}@media(max-width:900px){.bot-inspector{position:static;width:auto;box-shadow:none}}.bot-palette-item{font-size:12.5px}.bot-channel-pill,.bot-validation{font-size:11px}.bot-node-title strong{font-size:14px}.bot-node-title small{font-size:10.5px}.bot-node-body p{font-size:12px}.bot-node-button{font-size:11.5px}.bot-inspector>header strong{font-size:14px}.bot-inspector>header small{font-size:11.5px}.bot-inspector .ai-field-label{font-size:12px}.bot-inspector .ai-input{font-size:13.5px}.bot-inspector .ai-hint{font-size:11px}.bot-chat-message{font-size:13px}.bot-studio{display:block;position:relative;height:min(760px,calc(100vh - 220px));min-height:560px}.bot-canvas-wrap{position:relative;width:100%;height:100%;background:#f5f8fc}.bot-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;min-height:0;touch-action:none}.bot-palette{position:absolute;top:18px;left:18px;right:18px;z-index:9;width:auto;height:52px;padding:7px 9px;display:flex;flex-direction:row;align-items:center;gap:4px;border:1px solid rgba(211,222,237,.9);border-radius:12px;background:#ffffffeb;box-shadow:0 8px 24px #20324e17;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);overflow-x:auto}.bot-palette strong{flex:0 0 auto;padding:0 8px 0 4px;color:#536174;font-size:10px;letter-spacing:.05em;text-transform:uppercase}.bot-palette p,.bot-palette-tip{display:none}.bot-palette-item{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid transparent;border-radius:8px;background:transparent;color:#4f5c6d;font-size:11.5px;font-weight:750}.bot-palette-item:hover{background:#edf4ff;border-color:#d7e4fb;color:#2458b8}.bot-canvas-toolbar{position:absolute;left:18px;bottom:18px;z-index:9;height:38px;padding:0 7px;border:1px solid rgba(211,222,237,.9);border-radius:10px;background:#fffffff0;box-shadow:0 6px 18px #20324e14;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.bot-canvas-toolbar .bot-canvas-hint{display:none}.bot-inspector{position:absolute;right:18px;top:18px;bottom:18px;width:342px;z-index:12;max-height:none;border:1px solid rgba(211,222,237,.95);border-radius:14px;background:#fffffff7;box-shadow:-10px 10px 34px #1c2c4624;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.bot-inspector>header{position:sticky;top:0;background:#fffffffa;z-index:1;border-radius:14px 14px 0 0}.bot-topbar{min-height:72px;height:auto;flex-wrap:nowrap;gap:11px;padding:10px 14px}.bot-identity{display:flex;align-items:center;gap:9px;min-width:0;flex:0 1 auto}.bot-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;color:#2f6fed;background:linear-gradient(145deg,#eef4ff,#dfeaff);border:1px solid #d3e1fb;flex:0 0 auto}.bot-identity-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.bot-identity-meta{display:flex;align-items:center;gap:7px;color:#8c97a6;font-size:9.5px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}.bot-identity-meta b{font-size:9.5px;letter-spacing:0;text-transform:none}.bot-identity-meta b.saved{color:#16865b}.bot-identity-meta b.dirty{color:#b26a0b}.bot-identity-fields{display:flex;align-items:center;gap:6px}.bot-switcher{width:168px;min-width:132px;max-width:168px;height:32px;padding:5px 7px;font-size:12px}.bot-name{width:210px;min-width:150px;height:32px;padding:5px 8px;font-size:13px}.bot-topbar-sep{width:1px;height:34px;background:#e7ecf4;flex:0 0 auto}.bot-publish,.bot-channels{display:flex;flex-direction:column;gap:5px;flex:0 0 auto}.bot-toolbar-label{color:#9aa5b3;font-size:9px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.bot-switch{display:inline-flex;align-items:center;gap:7px;cursor:pointer;color:#778392}.bot-switch input{position:absolute;opacity:0;pointer-events:none}.bot-switch-track{position:relative;width:32px;height:18px;border-radius:999px;background:#d9e0ea;transition:background .15s}.bot-switch-track>span{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #14233c2e;transition:transform .15s}.bot-switch.on .bot-switch-track{background:#2f6fed}.bot-switch.on .bot-switch-track>span{transform:translate(14px)}.bot-switch strong{font-size:11px;font-weight:800;color:#687484}.bot-switch.on strong{color:#1f63c9}.bot-channel-pills{display:flex;gap:4px}.bot-channel-pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #e1e7f1;border-radius:7px;color:#87919f;background:#fafbfe;font-size:10.5px;font-weight:750;cursor:pointer;white-space:nowrap}.bot-channel-pill svg{width:13px;height:13px}.bot-channel-pill.on{color:#255db9;border-color:#c9dbf8;background:#f1f7ff}.bot-channel-pill.ready.on:after{content:"";width:5px;height:5px;border-radius:50%;background:#19a66b;margin-left:1px}.bot-channel-pill input{display:none}.bot-topbar-actions{display:flex;align-items:center;gap:7px;margin-left:auto;flex:0 0 auto}.bot-validation{font-size:10.5px;padding:6px 8px;border-radius:7px;background:#f5f8fd}.bot-validation.ok{color:#15803d;background:#f1fbf5}.bot-validation.warn{color:#a16207;background:#fffaf0}.bot-save-button{min-width:104px;justify-content:center}.bot-test-button{min-width:70px;justify-content:center}@media(max-width:1180px){.bot-topbar{flex-wrap:wrap;height:auto}.bot-topbar-sep{display:none}.bot-topbar-actions{margin-left:0}.bot-identity-fields{flex-wrap:wrap}.bot-studio{height:680px}}@media(max-width:780px){.bot-palette{top:10px;left:10px;right:10px;height:48px}.bot-canvas-toolbar{left:10px;bottom:10px}.bot-inspector{top:66px;left:10px;right:10px;bottom:62px;width:auto;max-height:none}.bot-studio{height:620px;min-height:520px}.bot-identity,.bot-name{width:100%}.bot-switcher{width:100%;max-width:none}.bot-identity-fields,.bot-publish,.bot-channels{width:100%}.bot-topbar-actions{width:100%;justify-content:flex-end}.bot-channel-pills{overflow-x:auto}}:root{--modal-z: 2147483000}.lead-modal,.settings-modal{z-index:var(--modal-z);animation:modal-in .24s cubic-bezier(.22,.9,.3,1)}.lead-modal::backdrop,.settings-modal::backdrop{animation:modal-fade .2s ease-out}.attachment-preview-backdrop{z-index:var(--modal-z);animation:modal-fade .18s ease-out}.attachment-preview{animation:modal-in .22s cubic-bezier(.22,.9,.3,1)}.ai-confirm,.ai-preset-confirm{animation:modal-in .18s ease-out}.bot-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--modal-z);display:grid;place-items:center;padding:20px;background:#1119277a;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);animation:modal-fade .18s ease-out}.bot-modal{width:min(430px,100%);border:1px solid #e0e6f0;border-radius:18px;background:#fff;box-shadow:0 28px 90px #0f192b47;overflow:hidden;animation:modal-in .24s cubic-bezier(.22,.9,.3,1)}.bot-modal>header{display:flex;align-items:center;gap:11px;padding:19px 20px 15px;border-bottom:1px solid #eef2f7}.bot-modal-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#fff0f0;color:#c73b3b;flex:0 0 auto}.bot-modal>header>div{flex:1;min-width:0}.bot-modal>header strong{display:block;color:#2b3441;font-size:.9rem}.bot-modal>header small{display:block;margin-top:2px;color:#8a95a4;font-size:.64rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bot-modal-body{padding:16px 20px 6px}.bot-modal-body p{margin:0;color:#667181;font-size:.71rem;line-height:1.55}.bot-modal>footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px 19px}.bot-modal-danger{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 14px;border:0;border-radius:10px;background:#fde8e8;color:#b42828;font-size:.7rem;font-weight:800;cursor:pointer}.bot-modal-danger:hover{background:#fbd6d6}.bot-inspector,.bot-preview-panel{animation:panel-in .18s ease-out}.bot-palette{animation:palette-in .2s ease-out}.bot-node{animation:node-in .18s ease-out}@keyframes modal-fade{0%{opacity:0}to{opacity:1}}@keyframes modal-in{0%{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes panel-in{0%{opacity:0;transform:translate(10px)}to{opacity:1;transform:translate(0)}}@keyframes palette-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@keyframes node-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.lead-modal,.settings-modal,.attachment-preview,.attachment-preview-backdrop,.ai-confirm,.ai-preset-confirm,.bot-modal,.bot-modal-backdrop,.bot-inspector,.bot-preview-panel,.bot-palette,.bot-node{animation:none}}.bot-page.bot-studio-page{max-width:1680px;padding:22px 28px 26px;border:0;border-radius:0;background:transparent}.bot-studio-page .ai-section-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 12px}.bot-studio-page .ai-section-intro>div{min-width:0}.bot-studio-page .ai-section-intro h2{font-size:1.42rem}.bot-studio-page .ai-section-intro p{max-width:820px;font-size:.78rem}.bot-studio-page .ai-section-intro>.secondary-button{flex:0 0 auto;margin-bottom:2px}.bot-studio-page>.ai-hint{max-width:none;margin:0 0 14px;padding:0;color:#8b96a5;font-size:.68rem;line-height:1.5}.bot-workspace{border:1px solid #e4e9f1;border-radius:16px;background:#fff;box-shadow:0 14px 38px #1b2a420f}.bot-topbar{min-height:70px;padding:11px 16px;background:#fff;border-bottom:1px solid #edf1f6}.bot-palette{top:16px;left:16px;right:auto;width:fit-content;max-width:calc(100% - 32px);height:50px;padding:6px 8px}.bot-palette strong{padding:0 7px 0 3px;color:#7c8797;font-size:9.5px}.bot-palette-item{padding:7px 8px;font-size:11px}.bot-canvas-toolbar{left:16px;bottom:16px}.bot-inspector{right:16px;top:16px;bottom:16px}.bot-studio{height:min(780px,calc(100vh - 190px))}@media(max-width:900px){.bot-page.bot-studio-page{padding:16px 14px 20px}.bot-studio-page .ai-section-intro{align-items:flex-start;flex-direction:column;gap:10px}.bot-studio-page .ai-section-intro>.secondary-button{width:100%}.bot-palette{left:10px;right:10px;width:auto;max-width:none}.bot-studio{height:640px}}.bot-studio-page .ai-section-intro>div{flex:1 1 auto;min-width:0}.bot-studio-page .ai-section-intro>.secondary-button{flex:0 0 auto;width:auto;min-width:0}.bot-page.bot-studio-page{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:none}.bot-page.bot-studio-page .ai-section-intro,.bot-page.bot-studio-page>.ai-hint,.bot-page.bot-studio-page>.form-error{flex:0 0 auto}.bot-studio-shell,.bot-workspace{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.bot-topbar{flex:0 0 auto}.bot-studio,.bot-canvas-wrap{flex:1 1 auto;min-height:0;height:auto}.bot-canvas{min-height:0}@media(max-width:900px){.bot-page.bot-studio-page{height:auto;max-height:none;min-height:calc(100dvh - 24px);overflow:visible}.bot-studio{height:620px;flex:0 0 620px}}.bot-studio{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.bot-canvas-wrap{position:relative;flex:1 1 auto;min-height:0;height:auto}.bot-studio-shell{align-items:stretch}.bot-workspace{width:100%}.bot-issues{flex:0 0 auto}.bot-preview-panel{max-height:min(620px,max(280px,calc(100dvh - 420px)));bottom:calc(18px + env(safe-area-inset-bottom))}@media(max-width:1350px){.bot-identity-meta{display:none}.bot-switcher{width:148px;min-width:128px}.bot-name{width:185px;min-width:145px}.bot-topbar{gap:8px}.bot-channel-pill{padding:5px 7px}.bot-toolbar-label{font-size:8.5px}}@media(min-width:901px)and (max-width:1250px){.bot-palette{max-width:calc(100% - 390px)}}@media(max-width:900px){.bot-page.bot-studio-page{height:100%;max-height:100%;min-height:0;display:block;overflow-y:auto;overscroll-behavior:contain}.bot-studio-shell{display:block}.bot-workspace{display:block;width:100%}.bot-studio{display:flex;flex-direction:column;flex:0 0 620px;height:620px;min-height:620px}.bot-palette{flex-wrap:nowrap;height:auto;min-height:50px;overflow-x:auto;overflow-y:hidden}.bot-palette-item{flex:0 0 auto}.bot-inspector{position:fixed;top:auto;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));width:auto;max-height:70dvh;z-index:30}.bot-preview-panel{bottom:calc(8px + env(safe-area-inset-bottom))}}.bot-topbar,.bot-palette,.bot-page.bot-studio-page{scrollbar-width:none;-ms-overflow-style:none}.bot-topbar::-webkit-scrollbar,.bot-palette::-webkit-scrollbar,.bot-page.bot-studio-page::-webkit-scrollbar{width:0;height:0;display:none}.bot-connect-hint{pointer-events:none}@media(min-width:901px){.bot-canvas-toolbar .bot-canvas-hint{display:inline;margin-left:8px;color:#8d98a7;font-size:10px;white-space:nowrap}}@media(max-width:900px){.bot-page.bot-studio-page{height:100%;max-height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.bot-page.bot-studio-page>.ai-hint{display:none}.bot-page.bot-studio-page .ai-section-intro p{display:none}.bot-page.bot-studio-page .ai-section-intro{flex:0 0 auto;margin-bottom:8px}.bot-studio-shell{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.bot-workspace{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;width:100%}.bot-studio{flex:1 1 auto;height:auto;min-height:0;display:flex}}.bot-preview-panel.shifted{right:376px}@media(max-width:900px){.bot-preview-panel.shifted{right:8px}}.bot-channel-pill input{position:absolute;width:1px;height:1px;opacity:0;clip:rect(0 0 0 0);clip-path:inset(50%)}.bot-channel-pill:has(input:focus-visible),.bot-switch:has(input:focus-visible){outline:2px solid #2f6fed;outline-offset:2px}.bot-node:focus-visible{outline:3px solid #2f6fed;outline-offset:3px}
