:root{--bg:#eef0f4;--surface:#fff;--surface-2:#f3f4f7;--border:#e6e8ee;--text:#1b1e24;--text-2:#6b7280;--accent:#3b5bdb;--accent-2:#e8edfc;--on-accent:#fff;--ok:#1f8a4c;--ok-bg:#e6f4ec;--warn:#b25e09;--warn-bg:#fdf0dc;--bad:#c62f2f;--bad-bg:#fbe8e8;--muted-bg:#eef0f3;--hidden:#1b1e24;--on-hidden:#fff;--hidden-bar:#2a2e37;--hidden-bubble:#dfe2e9;--radius:22px;--foot:100px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#0e1014;--surface:#171a21;--surface-2:#1f232c;--border:#2a2f3a;--text:#e7e9ee;--text-2:#9aa3b2;--accent:#6f8bff;--accent-2:#6f8bff29;--on-accent:#0e1014;--ok:#4cc27f;--ok-bg:#4cc27f24;--warn:#f0b252;--warn-bg:#f0b25224;--bad:#ff7272;--bad-bg:#ff727224;--muted-bg:#232833;--hidden:#e7e9ee;--on-hidden:#0e1014;--hidden-bar:#d7dbe3;--hidden-bubble:#2a2f3a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}@font-face{font-family:Ellipsis;src:local(Helvetica Neue),local(Helvetica),local(Arial),local(Liberation Sans),local(DejaVu Sans);unicode-range:U+2026}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font:14px/1.45 Ellipsis,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}h1,h2,p{margin:0}h1{font-size:20px;font-weight:600}h2{font-size:16px;font-weight:600}a{color:inherit;text-decoration:none}.muted{color:var(--text-2);font-size:12px}.error{color:var(--bad);font-size:12px}.hint{color:var(--text-2);font-size:12px}.button{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;white-space:nowrap;cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:9px 16px;font-size:13px;display:inline-flex}.button:hover{background:var(--surface-2)}.button.primary{border-color:var(--accent);background:var(--accent);color:var(--on-accent)}.button.primary:hover{filter:brightness(1.08)}.button.danger{border-color:var(--bad);color:var(--bad)}.button:disabled{opacity:.5;cursor:default}.pill{white-space:nowrap;background:var(--muted-bg);color:var(--text-2);border-radius:8px;padding:1px 9px;font-size:12px;display:inline-block}.pill.ok{background:var(--ok-bg);color:var(--ok)}.pill.warn{background:var(--warn-bg);color:var(--warn)}.pill.bad{background:var(--bad-bg);color:var(--bad)}svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.app{gap:14px;height:100%;padding:14px;display:flex}.panel{border-radius:var(--radius);background:var(--surface);flex-direction:column;min-height:0;display:flex;overflow:hidden}.panel-head{align-items:center;padding:22px 20px 14px;display:flex}.menu{border-radius:var(--radius);background:var(--surface);flex-direction:column;flex:none;gap:2px;width:224px;padding:14px 8px;transition:width .15s;display:flex}.menu.collapsed{width:64px}.menu-head{justify-content:space-between;align-items:center;margin-bottom:10px;padding-left:4px;display:flex}.menu-brand{border-radius:10px;width:40px;height:40px}.menu.collapsed .menu-head{justify-content:center;padding:0}.menu-brand-toggle{width:40px;height:40px;color:var(--text-2);cursor:pointer;background:0 0;border:none;border-radius:10px;place-items:center;padding:0;display:grid;position:relative}.menu-brand-toggle>*{grid-area:1/1;transition:opacity .15s}.menu-brand-toggle svg{opacity:0;width:22px;height:22px}.menu-brand-toggle:hover,.menu-brand-toggle:focus-visible{background:var(--surface-2);color:var(--text)}.menu-brand-toggle:hover .menu-brand,.menu-brand-toggle:focus-visible .menu-brand{opacity:0}.menu-brand-toggle:hover svg,.menu-brand-toggle:focus-visible svg{opacity:1}.menu.collapsed .menu-label{display:none}.menu-item{min-height:40px;color:var(--text-2);font:inherit;text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:14px;align-items:center;gap:12px;padding:0 10px;display:flex}.menu-item:hover{background:var(--surface-2);color:var(--text)}.menu-item.active{background:var(--accent-2);color:var(--accent)}.menu-item svg{width:22px;height:22px}.menu-toggle{padding:0 13px}.menu.collapsed .menu-item:not(.menu-toggle){justify-content:center;padding:0}.menu-bottom{flex-direction:column;gap:2px;margin-top:auto;display:flex}.segments{border-bottom:1px solid var(--border);flex-direction:column;gap:4px;padding:6px 4px;display:flex}.segment{background:var(--surface-2);border-radius:12px;padding:3px;display:flex}.segment button{height:30px;color:var(--text-2);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:9px;flex:1;justify-content:center;align-items:center;gap:6px;font-size:13px;display:flex}.segment button:hover{color:var(--text)}.segment button.on{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #0003}.segment svg{width:16px;height:16px}.menu-foot{height:var(--foot);border-top:1px solid var(--border);flex-direction:column;gap:2px;margin-bottom:-14px;padding-top:6px;display:flex}.menu.collapsed .menu-foot{height:auto;margin-bottom:0}.menu-profile{align-items:center;gap:2px;display:flex;position:relative}.menu-pop{z-index:20;border:1px solid var(--border);background:var(--surface);border-radius:14px;flex-direction:column;gap:2px;width:240px;padding:6px;display:flex;position:absolute;bottom:0;left:calc(100% + 10px);box-shadow:0 10px 28px #141e3c29}.menu-pop-who{border-bottom:1px solid var(--border);overflow-wrap:anywhere;flex-direction:column;gap:2px;padding:8px 10px 10px;font-size:13px;display:flex}.menu-pop-item{color:var(--text);border-radius:10px;align-items:center;gap:10px;padding:9px 10px;font-size:14px;text-decoration:none;display:flex}.menu-pop-item:hover{background:var(--surface-2)}.menu-pop-item svg{width:18px;height:18px}.menu.collapsed .menu-profile{flex-direction:column;align-items:stretch}.menu-me{text-align:left;flex:1;min-width:0;padding:4px 6px}.menu-avatar{background:var(--accent-2);width:36px;height:36px;color:var(--accent);border-radius:50%;flex:none;place-items:center;font-size:12px;font-weight:600;display:grid}.menu-me .menu-label{flex-direction:column;min-width:0;display:flex;overflow:hidden}.menu-name{color:var(--text)}.menu-me .menu-label>*{text-overflow:ellipsis;overflow:hidden}.menu-version{color:var(--text-2);white-space:nowrap;padding:6px 10px 0;font:12px ui-monospace,SFMono-Regular,Menlo,monospace}.menu.collapsed .menu-version{text-align:center;padding:6px 0 0}.card{border:1px solid var(--border);border-radius:18px;margin:0 20px 20px;padding:20px}.avatar{border-radius:50%;flex:none;place-items:center;width:46px;height:46px;font-size:14px;font-weight:500;display:grid;position:relative}.tg-badge{border:2px solid var(--surface);stroke:none;border-radius:50%;width:18px;height:18px;position:absolute;bottom:-2px;right:-2px}.tone-blue{color:#3b5bdb;background:#e8edfc}.tone-green{color:#2b8a4e;background:#e4f4ea}.tone-amber{color:#b25e09;background:#fcf0dc}.tone-rose{color:#c2364a;background:#fce8ea}.tone-violet{color:#7048c8;background:#efe8fc}.tone-teal{color:#138076;background:#e0f4f3}[data-theme=dark] .avatar{filter:saturate(.9)brightness(.85)}.conversation{flex:1;min-width:0}.messages{background:var(--surface-2);flex:1;padding:12px 32px 20px;overflow-y:auto}.day{justify-content:center;margin:16px 0 8px;display:flex}.day span{background:var(--surface);color:var(--text-2);border-radius:999px;padding:3px 12px;font-size:12px}.message{flex-direction:column;align-items:flex-start;max-width:min(640px,75%);margin-top:10px;display:flex}.message.out{align-items:flex-end;margin-left:auto}.album{grid-template-columns:repeat(3,1fr);gap:4px;width:min(420px,100%);display:grid}.album a{aspect-ratio:1;background:var(--muted-bg);border-radius:10px;display:block;overflow:hidden}.album img{object-fit:cover;width:100%;height:100%;display:block}.file{background:var(--surface-2);border-radius:12px;align-items:center;gap:8px;padding:8px 12px;display:inline-flex}.message.out .file{background:#ffffff26}.page{flex:1;overflow-y:auto}.bots{margin:0;padding:0;list-style:none}.bot{border-top:1px solid var(--border);align-items:center;gap:14px;padding:12px 0;display:flex}.connect{gap:10px;display:flex}.connect input{border:1px solid var(--border);background:var(--surface-2);min-width:0;color:inherit;border-radius:999px;outline:none;flex:1;padding:9px 16px;font:13px ui-monospace,SFMono-Regular,Menlo,monospace}.connect input:focus{border-color:var(--accent)}.input{border:1px solid var(--border);background:var(--surface-2);min-width:0;min-height:38px;color:inherit;font:inherit;border-radius:12px;outline:none;padding:8px 14px;font-size:13px}.input:focus{border-color:var(--accent)}.input:disabled{opacity:.5;cursor:not-allowed}.input.bad{border-color:var(--bad)}.field{flex-direction:column;gap:8px;display:flex}.switch{cursor:pointer;align-items:center;gap:10px;font-size:13px;display:inline-flex}.switch input{opacity:0;pointer-events:none;position:absolute}.switch-track{background:var(--muted-bg);width:42px;height:26px;box-shadow:inset 0 0 0 1px var(--border);border-radius:999px;flex:none;transition:background .2s;position:relative}.switch-track:after{content:"";background:#fff;border-radius:999px;width:20px;height:20px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}.switch input:checked+.switch-track{box-shadow:none;background:#34c759}.switch.disabled{opacity:.5;cursor:not-allowed}.switch.busy input:checked+.switch-track{background:var(--warn)}.switch.danger input:checked+.switch-track{background:var(--bad)}.switch.traffic input:not(:checked)+.switch-track{background:var(--bad);box-shadow:none}.switch input:checked+.switch-track:after{transform:translate(16px)}.switch input:focus-visible+.switch-track{outline:2px solid var(--accent);outline-offset:2px}.icon-button{width:36px;height:36px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:999px;place-items:center;display:grid}.icon-button:hover{background:var(--surface-2)}.pipelines{flex:1;gap:14px;min-width:0;display:flex}.pl-side{flex:none;gap:14px;width:420px;padding:22px 16px}.pl-side h1{margin:0 4px;font-size:20px}.pl-tabs{flex-wrap:wrap;gap:6px;display:flex}.pl-tab{background:var(--surface-2);color:var(--text-2);white-space:nowrap;border-radius:999px;flex:auto;justify-content:center;align-items:center;gap:6px;padding:6px 12px;font-size:13px;text-decoration:none;display:flex}.pl-tab:hover{color:var(--text)}button.pl-tab{font:inherit;cursor:pointer;border:0;font-size:13px}.pl-tab.on{background:var(--accent-2);color:var(--accent);font-weight:500}.pl-count{background:var(--muted-bg);color:var(--text-2);font-variant-numeric:tabular-nums;border-radius:999px;padding:1px 7px;font-size:11px;font-weight:500}.pl-count.warn{background:var(--warn-bg);color:var(--warn)}.pl-tab.on .pl-count{background:var(--surface);color:var(--accent)}.pl-about{height:var(--foot);border-top:1px solid var(--border);color:var(--text-2);flex:none;margin:0 -16px -22px;padding:12px 20px 0;font-size:12px;line-height:1.5;overflow-y:auto}.pl-list-head{gap:8px;display:flex}.pl-list-head .search{border-radius:999px;flex:1}.pl-add{justify-content:center;width:38px;padding:0;text-decoration:none}.pl-add svg{width:14px;height:14px}.pl-items{flex-direction:column;flex:1;gap:2px;min-height:0;display:flex;overflow-y:auto}.pl-item{color:var(--text);border-radius:14px;align-items:center;gap:12px;padding:10px;text-decoration:none;display:flex}.pl-item:hover{background:var(--surface-2)}.pl-item.on{background:var(--accent-2)}.pl-item-main{flex:1;min-width:0}.pl-item-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.pl-item-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:500;overflow:hidden}.pl-item-archived{color:var(--text-2);margin-right:auto;display:flex}.archive-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6px;width:15px;height:15px}.pl-item-side{color:var(--text-2);flex:none;font-size:12px}.pl-item-side code{background:var(--surface-2);border-radius:6px;padding:1px 6px;font-size:11px}.pl-item.on .pl-item-side{color:var(--accent)}.pl-item.on .pl-item-side code{background:var(--surface)}.pl-item-sub{color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:12px;overflow:hidden}.pl-detail{flex:1;min-width:0;padding:26px 30px;overflow-y:auto}.pl-placeholder{color:var(--text-2);justify-content:center;align-items:center}.pl-detail>.pl-placeholder{flex:1;display:flex}.pl-form{flex-direction:column;flex:1;gap:24px;display:flex}.pl-fields{display:contents}.pl-title-row{align-items:center;gap:10px;display:flex}.pl-title{min-width:0;color:var(--text);font:inherit;background:0 0;border:0;border-bottom:1px solid #0000;outline:none;flex:1;padding:4px 0;font-size:22px;font-weight:600}.pl-title:focus,.pl-title:hover{border-bottom-color:var(--border)}.pl-code{background:var(--surface-2);color:var(--text-2);border-radius:8px;padding:3px 9px;font-size:12px}.pl-label{color:var(--text-2);align-items:center;gap:6px;font-size:12px;display:flex}.info{color:var(--text-2);cursor:help;outline:none;flex:none;display:inline-flex}.info svg{stroke-width:1.3px;width:14px;height:14px}.info .info-dot{fill:currentColor;stroke:none}.info:hover,.info:focus-visible{color:var(--accent)}.info-tip{z-index:100;background:var(--text);width:max-content;max-width:280px;color:var(--surface);text-align:left;white-space:pre-line;pointer-events:none;border-radius:12px;padding:9px 12px;font:400 12px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;position:fixed;transform:translate(-50%);box-shadow:0 8px 24px #1418282e}.pl-add-member{align-self:flex-start;width:300px;margin-top:14px}.select-round .select-button{border-radius:50%;justify-content:center;width:38px;height:38px;padding:0}.select-round .select-button>svg{fill:none;width:20px;height:20px;stroke:var(--text-2);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6px}.select-round .select-button>.tile{border-radius:50%;width:100%;height:100%}.select-round .select-menu{min-width:260px}.menu-accepting{border-bottom:1px solid var(--border);padding:8px 10px;font-size:14px}.menu-busy{color:var(--warn);margin-top:2px;font-size:12px;display:block}.menu-avatar{position:relative}.menu-status{border:2px solid var(--surface);border-radius:50%;width:11px;height:11px;position:absolute;bottom:-1px;right:-1px}.menu-status.on{background:var(--ok)}.menu-status.busy{background:var(--warn)}.menu-status.off{background:var(--bad)}.denied{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;height:100%;padding:20px;display:flex}.mobile-menu,.mobile-back{display:none}@media (width<=760px){.app{flex-direction:column;gap:8px;padding:8px}.app:not(.on-menu)>.menu{display:none}.menu,.menu.collapsed{flex:1;width:auto;padding:10px 8px 14px;overflow-y:auto}.menu-head,.menu kbd{display:none}.menu.collapsed .menu-label{display:inline}.menu-item{min-height:48px;font-size:16px}.menu-foot,.menu.collapsed .menu-foot{height:auto;margin:0}.menu.collapsed .menu-profile{flex-direction:row}.menu-pop{width:auto;bottom:calc(100% + 10px);left:0;right:0}.messages{padding:8px 14px 14px}.app{padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left))}.app>*{min-height:0}.menu-pop-item{padding:11px 10px;font-size:15px}.pipelines{flex:1;min-height:0}.pl-side{flex:1;width:auto;min-width:0}.app.detail-open .pl-side,.app:not(.detail-open) .pl-detail{display:none}.pl-detail{padding:14px 16px}.pl-tabs{scrollbar-width:none;flex-wrap:nowrap;flex:none;overflow-x:auto}.pl-tabs::-webkit-scrollbar{display:none}.pl-tab{flex:none;padding:8px 14px}.pl-about{display:none}.mobile-menu,.mobile-back{color:var(--text-2);font:inherit;cursor:pointer;background:0 0;border:0;align-self:flex-start;align-items:center;gap:4px;margin:0 0 10px -6px;padding:6px;text-decoration:none;display:inline-flex}.mobile-menu{margin:-2px 0 -4px 2px}.pl-title-row{flex-wrap:wrap}.pl-title-row>.pl-title{flex-basis:100%}input,textarea,select{font-size:16px!important}}.tile{border-radius:12px;flex:none;place-items:center;width:40px;height:40px;font-size:14px;font-weight:600;display:grid;position:relative}.tile.small{border-radius:8px;width:28px;height:28px;font-size:11px}.tile.round{border-radius:50%}.tile.dot:after{content:"";border:2px solid var(--surface);background:#34c759;border-radius:50%;width:12px;height:12px;position:absolute;bottom:-3px;right:-3px}.select{min-width:0;position:relative}.select-button{border:1px solid var(--border);background:var(--surface-2);width:100%;min-height:38px;color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:12px;align-items:center;gap:10px;padding:5px 10px 5px 8px;font-size:13px;display:flex}.select-button:hover:not(:disabled){border-color:var(--text-2)}.select-button:disabled{opacity:.5;cursor:not-allowed}.select.open .select-button,.select-button:focus-visible{border-color:var(--accent);outline:none}.select-button.bad{border-color:var(--bad)}.select-text{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.select-label,.select-sub{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-label{font-weight:500}.select-sub{color:var(--text-2);font-size:11.5px}.select-placeholder{color:var(--text-2);padding-left:6px}.select-chevron,.select-check{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;flex:none;width:18px;height:18px}.select-chevron{color:var(--text-2);transition:transform .15s}.select.open .select-chevron{transform:rotate(180deg)}.select-check{color:var(--accent)}.select-menu{z-index:20;border:1px solid var(--border);background:var(--surface);border-radius:14px;min-width:100%;max-height:320px;margin:0;padding:6px;list-style:none;position:absolute;top:calc(100% + 6px);left:0;overflow-y:auto;box-shadow:0 12px 32px #14182829}.dt-icon{color:var(--text-2)}.select.open .dt-icon,.select.open .dt-menu .select-chevron{transform:none}.dt-menu{width:304px;max-height:none;padding:10px;left:auto;right:0}.dt-menu.dt-left{left:0;right:auto}.dt-menu.dt-up{top:auto;bottom:calc(100% + 6px)}.dt-head{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.dt-title{font-size:13px;font-weight:600}.dt-grid{grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.dt-weekday{color:var(--text-2);text-align:center;padding:4px 0;font-size:11px}.dt-day{height:34px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;font-size:13px}.dt-day:hover{background:var(--surface-2)}.dt-day.dt-other{color:var(--text-2);opacity:.6}.dt-day.dt-today{border-color:var(--accent)}.dt-day.dt-picked{background:var(--accent);color:#fff;opacity:1}.dt-foot{border-top:1px solid var(--border);align-items:center;gap:8px;margin-top:10px;padding-top:10px;display:flex}.dt-time{align-items:center;gap:4px;margin-right:auto;font-weight:600;display:flex}.dt-unit-box{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;align-items:stretch;height:38px;display:flex;overflow:hidden}.dt-unit-box:focus-within{border-color:var(--accent)}.dt-unit{width:30px;color:inherit;font:inherit;text-align:center;background:0 0;border:none;outline:none;padding:0 0 0 8px;font-weight:600}.dt-steps{flex-direction:column;display:flex}.dt-step{width:22px;color:var(--text-2);cursor:pointer;background:0 0;border:none;flex:1;place-items:center;padding:0;display:grid}.dt-step:hover{background:var(--border);color:var(--text)}.dt-step svg{width:14px;height:14px}.select-option{cursor:pointer;border-radius:10px;align-items:center;gap:10px;padding:7px 8px;font-size:13px;display:flex}.select-option.active{background:var(--surface-2)}.select-option[aria-selected=true]{background:var(--accent-2)}.select-option[aria-selected=true] .select-label{color:var(--accent)}.select .tg-badge{border:0;flex:none;width:28px;height:28px;position:static}.landing-icon{background:var(--surface-2);width:28px;height:28px;color:var(--text-2);object-fit:contain;border-radius:8px;flex:none;place-items:center;display:grid}.pl-title-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pl-value-archive{color:var(--text-2)}.pl-value-archive .archive-icon{width:18px;height:18px}.select-search{width:100%}.select-note{color:var(--text-2);padding:7px 8px;font-size:12px}.pager{align-items:center;gap:4px;display:flex}.select-find{z-index:1;background:var(--surface);margin:-6px -6px 0;padding:6px 6px 10px;position:sticky;top:-6px}.select-find .input{width:100%}.input[aria-invalid=true]{border-color:var(--bad)}.tile-picture,.menu-avatar img{border-radius:inherit;object-fit:cover;width:100%;height:100%}.pay.off{opacity:.6}.pay{background:var(--surface-2);border-radius:14px;flex-direction:column;gap:3px;padding:10px 12px;display:flex}.star-icon.on{fill:#f5b301;stroke:#f5b301}.top-star{border-radius:50%;flex:none;display:inline-flex;position:relative}.top-star.on>:first-child{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px #f5b301}.top-star-badge{background:var(--surface);border-radius:50%;place-items:center;width:18px;height:18px;display:grid;position:absolute;top:calc(14.6% - 11px);right:calc(14.6% - 11px)}.top-star-badge svg{width:16px;height:16px}.pin-icon.on{fill:currentColor}.chat-row-marks .pin-icon{color:var(--text-2)}.earlier{justify-content:center;margin:8px 0;display:flex}.sc-archived{color:var(--bad)}.ap{flex:1;gap:14px;min-width:0;display:flex}.ap-main{flex:1;gap:12px;min-width:0;padding:22px 20px}.ap-scroll{flex:1;min-height:0;overflow:auto}.ap-side{flex:none;width:340px;padding:22px 20px;overflow-y:auto}.ap-head{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.ap-head h1{margin:0 12px 0 4px;font-size:20px}.ap-week{align-items:center;gap:6px;margin-right:auto;display:flex}.ap-range{color:var(--text-2);margin-left:6px}.ap-who{min-width:200px}.ap-pending{background:var(--warn-bg);color:var(--warn);border-radius:12px;margin:0;padding:8px 12px}.link{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.ap-grid{grid-template-columns:48px repeat(var(--days,7), minmax(84px, 1fr));min-width:calc(48px + var(--days,7) * 84px);display:grid}.ap-corner,.ap-day-head{z-index:1;background:var(--surface);position:sticky;top:0}.ap-day-head{border-bottom:1px solid var(--border);color:var(--text-2);padding:6px 8px;font-size:12px}.ap-day-head.today{color:var(--accent);font-weight:600}.ap-hours{position:relative}.ap-hours span{color:var(--text-2);font-size:11px;position:absolute;right:8px;transform:translateY(-50%)}.ap-hours span:first-child{transform:none}.ap-day{border-left:1px solid var(--border);background:repeating-linear-gradient(to bottom, transparent 0 59px, var(--border) 59px 60px);position:relative}.ap-block{border:1px solid var(--accent);background:var(--accent-2);color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:8px;flex-direction:column;padding:3px 6px;font-size:12px;display:flex;position:absolute;left:3px;right:3px;overflow:hidden}.ap-block.on{outline:2px solid var(--accent)}.ap-block.st-confirmed{border-left-width:4px}.ap-block.st-done{border-color:var(--ok);background:var(--ok-bg)}.ap-block.st-missed{border-color:var(--bad);background:var(--bad-bg)}.ap-block-name{white-space:nowrap;text-overflow:ellipsis;font-weight:500;overflow:hidden}.ap-empty{text-align:center;margin:0}.ap-view{flex-direction:column;gap:12px;display:flex}.ap-view-head{justify-content:space-between;align-items:center;gap:8px;font-size:15px;display:flex}.ap-props{grid-template-columns:auto 1fr;gap:6px 12px;margin:0;font-size:13px;display:grid}.ap-props dt{color:var(--text-2)}.ap-props dd{overflow-wrap:anywhere;min-width:0;margin:0}.ap-person{align-items:center;gap:6px;display:flex}.ap-result{background:var(--surface-2);white-space:pre-wrap;border-radius:12px;margin:0;padding:10px 12px}.ap-outcome{flex-direction:column;gap:8px;display:flex}.ap-row{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;font-size:13px;display:flex}.ap-row-main{flex-direction:column;min-width:0;display:flex}.ap-card{border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.client-appointments{flex-direction:column;gap:8px;max-width:560px;display:flex}.bk{border:1px solid var(--border);border-radius:14px;flex-direction:column;gap:10px;padding:12px;display:flex}.bk-days{gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.bk-day,.bk-slot{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;white-space:nowrap;cursor:pointer;border-radius:999px;flex:none;padding:5px 10px;font-size:12px}.bk-day.on,.bk-slot.on{border-color:var(--accent);background:var(--accent);color:var(--on-accent)}.bk-slots{flex-wrap:wrap;gap:6px;display:flex}.sch{flex-direction:column;gap:12px;display:flex}.sch h2{margin:0;font-size:17px}.sch h3{margin:8px 0 0;font-size:14px}.sch-fields{border:0;flex-direction:column;gap:10px;min-width:0;margin:0;padding:0;display:flex}.sch-day{align-items:flex-start;gap:8px;display:flex}.sch-day-name{width:28px;color:var(--text-2);padding-top:8px}.sch-intervals{flex-direction:column;flex:1;gap:6px;padding-top:2px;display:flex}.sch-intervals .muted{padding-top:6px}.sch-interval{align-items:center;gap:6px;display:flex}.sch-interval .input{width:104px;min-width:0;padding:6px 8px}.sch-exceptions-add{flex-wrap:wrap}.sch-exception{justify-content:space-between;align-items:center;gap:8px;font-size:13px;display:flex}@media (width<=760px){.ap{flex-direction:column}.ap-main,.ap-side{padding:16px}.ap-side{flex:1;width:auto}.ap:not(.side-open) .ap-side,.ap.side-open .ap-main{display:none}.ap-head h1{width:100%}.ap-week{margin-right:0}.ap-who{flex-basis:100%;order:1;min-width:0}.ap-head .button.primary{margin-left:auto}}.sch-days{flex-direction:column;gap:8px;display:flex}.sch-interval-text{padding-top:6px}.co-members{flex-wrap:wrap;gap:6px;display:flex}.co-member{border:1px solid var(--border);color:var(--text);border-radius:999px;align-items:center;gap:6px;padding:4px 10px 4px 4px;font-size:13px;text-decoration:none;display:inline-flex}.co-member:not(:has(.tile)){padding-left:10px}.co-exceptions{margin-top:18px}.co-row{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.co-dismiss{border-color:var(--bad);color:var(--bad)}.ap-cancel{align-self:flex-start}.pad{padding:0 20px}.integration{border:1px solid var(--border);border-radius:18px;flex-direction:column;gap:16px;margin:0 20px 20px;padding:20px;display:flex}.integration-head{align-items:center;gap:14px;display:flex}.integration-logo{stroke:none;width:44px;height:44px}.bot-main{flex:1;min-width:0}.bot-name{font-weight:500}.integrations-tabs{gap:10px;margin:2px 0 22px}.integrations-tabs .pl-tab{flex:none;gap:8px;padding:10px 20px;font-size:14px}.integrations-tabs .pl-tab svg{width:18px;height:18px}.connect-provider{flex-wrap:wrap}.notify-urls{flex-direction:column;gap:6px;margin-bottom:0;display:flex}.notify-url{align-items:center;gap:8px;display:flex}.notify-kind{flex:0 0 56px;font-size:13px}.notify-url .input{flex:1;font:13px ui-monospace,SFMono-Regular,Menlo,monospace}.connect-provider input{flex:180px}.form-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1.4fr) 140px 220px;align-items:center;column-gap:16px;display:grid}.form-grid.vk{grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr) 130px 130px 140px 210px}.form-utm{font:13px ui-monospace,SFMono-Regular,Menlo,monospace}.form-head{color:var(--text-2);padding:8px 0;font-size:12px}.form-pipeline{align-items:center;gap:10px;min-width:0;display:flex}.form-pipeline-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.form-copy{justify-self:start}.form-copy svg{width:14px;height:14px}.form-status{justify-content:flex-end;align-items:center;gap:14px;display:flex}.connect-select{flex:220px}.connect-form>*{height:40px}.connect-form:has(>.connect-break){row-gap:0}.connect-form>.connect-break{flex-basis:100%;height:10px}.connect-form input{font:inherit;font-size:13px}.connect-form .select-button{background:var(--surface);border-radius:999px;height:40px;min-height:0;padding:0 14px 0 16px}.connect-form .select-button:has(.tile){padding-left:6px}.connect-form .select-button .select-sub{display:none}.integrations-head{justify-content:space-between;gap:12px}.bot.archived .bot-main{opacity:.6}.bot-archive .archive-icon{width:18px;height:18px}.bot-archive.on{color:var(--bad)}.register-settings{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.register-settings>*{flex:160px;min-width:0}.integration-sub{color:var(--text-2);letter-spacing:.04em;text-transform:uppercase;font-size:12px;font-weight:600}.integration-connect{background:var(--surface-2);border-radius:14px;flex-direction:column;gap:12px;padding:16px;display:flex}.integration-connect .connect input,.integration-connect .input{background:var(--surface)}.bot.open{flex-wrap:wrap}.bot-history svg{width:18px;height:18px}.bot-history.on{background:var(--accent-2);color:var(--accent)}.history{background:var(--surface-2);border-radius:14px;flex-direction:column;flex:1 0 100%;gap:12px;padding:16px;display:flex}.history-drop{border:1.5px dashed color-mix(in srgb, var(--text-2) 45%, transparent);background:var(--surface);text-align:center;cursor:pointer;border-radius:14px;flex-direction:column;align-items:center;gap:6px;padding:22px;display:flex}.history-drop.over{border-color:var(--accent)}.history-drop.chosen{cursor:default;border-style:solid}.history-drop input{display:none}.history-drop>svg{width:26px;height:26px;color:var(--accent)}.history-choose{color:var(--accent);font-weight:500}.history-file{align-items:center;gap:10px;max-width:100%;display:flex}.history-file svg{flex:none;width:18px;height:18px}.history-form{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;display:flex}.history-days{flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.history-days .input{text-align:center;font-variant-numeric:tabular-nums;width:64px}.history-list{flex-direction:column;margin:0;padding:0;font-size:13px;list-style:none;display:flex}.history-load{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:10px 0;display:grid}.history-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:500;overflow:hidden}.history-counts{font-variant-numeric:tabular-nums;grid-column:1/-1}.history-bar{background:var(--border);border-radius:4px;grid-column:1/-1;height:4px;overflow:hidden}.history-bar i{background:var(--warn);height:100%;transition:width .4s;display:block}.history-error{grid-column:1/-1;font-size:12px}@media (width<=760px){.integrations-tabs{margin-bottom:16px}.integrations-tabs .pl-tab{padding:8px 14px}.pad{padding:0 12px}.integration{margin:0 12px 12px;padding:16px}.integration-connect{padding:14px}.connect{flex-direction:column;align-items:stretch}.connect>*,.connect input,.connect-select{flex:none;width:100%}.connect .button{justify-content:center}.connect-break{display:none}.bot-name{overflow-wrap:anywhere}}.promo-codes{flex-direction:column;flex-basis:100%;gap:6px;display:flex}.promo-code{align-items:center;gap:8px;display:flex}.promo-code .input{flex:160px;min-width:0}.promo-code .promo-code-code{font:13px ui-monospace,SFMono-Regular,Menlo,monospace}.promo-link{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:0;font-size:13px}.promo-link:hover{text-decoration:underline}.promo-codes-edit{flex-direction:column;gap:8px;margin-top:6px;display:flex}.promo-codes-actions{gap:8px;display:flex}.integration-add{align-self:flex-start}.integration-add svg{width:16px;height:16px}.integration-connect-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.plan-group{flex-direction:column;gap:6px;display:flex}.plan-group+.plan-group{margin-top:6px}.plan-group-name{font-size:13px;font-weight:600}.notify-kind.plan-name{flex-basis:96px}.plan-summary{flex-wrap:wrap;align-items:center;gap:4px 12px;font-size:13px;display:flex}.st-list{background:var(--surface-2);border-radius:18px;overflow:hidden}.st-row{align-items:center;gap:16px;padding:14px 20px;display:flex}.st-row+.st-row{border-top:1px solid var(--border)}.st-text{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.st-name{font-size:14px;font-weight:500}.st-pill{border:1px solid var(--border);background:var(--surface);min-height:34px;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;white-space:nowrap;cursor:pointer;border-radius:12px;flex:none;align-items:center;gap:6px;padding:0 12px;display:inline-flex}.st-pill:hover{border-color:var(--accent)}.st-pill svg{width:14px;height:14px;color:var(--text-2)}.st-pill.editing{cursor:default;background:0 0;border-color:#0000;padding:0}.st-pill .input{appearance:textfield;border-color:var(--accent);background:var(--surface);text-align:right;width:100px;min-height:30px;padding:4px 12px}@media (width<=520px){.st-row{flex-wrap:wrap}}.st-row-text{flex-direction:column;align-items:stretch}.st-textarea{background:var(--surface);resize:vertical;min-height:240px;font-size:13px;line-height:1.5}.ss-list{flex:none;margin-top:24px}.st-list .input,.st-list .select-button{background:var(--surface)}.st-row.ss-edit{border:1px solid var(--accent);background:var(--surface);border-radius:16px;gap:12px;margin:12px;padding:18px 20px;box-shadow:0 6px 24px #0000000f}.st-row+.st-row.ss-edit{border-top:1px solid var(--accent)}.st-list .ss-edit .input,.st-list .ss-edit .select-button{background:var(--surface-2)}.st-row.ss-open{background:var(--accent-2)}.ss-fields{flex-direction:column;gap:16px;display:flex}.ss-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.ss-actions .error{flex:1;margin:0}.ss-off{opacity:.55}.ss-placement{max-width:240px}.ss-code{box-sizing:border-box;resize:vertical;width:100%;min-height:240px;font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}.ss-logo{flex:none;width:24px;height:24px}.ss-logo,.ss-logo *{stroke:none}.ss-kind{max-width:360px}.st-pill .st-ok svg{color:var(--accent)}.st-pill.editing .icon-button svg{width:16px;height:16px}.st-pill .input::-webkit-outer-spin-button{appearance:none;margin:0}.st-pill .input::-webkit-inner-spin-button{appearance:none;margin:0}.ss-model{flex:none;width:320px;max-width:50%}.st-list:has(.ss-model){overflow:visible}.st-pill .st-hour{width:56px}.call-round,.call-grip{flex:none}.call-round svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.call-pill{background:var(--ok-bg);color:var(--ok);font-variant-numeric:tabular-nums;font-weight:600}svg.filled{fill:currentColor;stroke:none}.call-bar{background:var(--ok-bg);border-radius:16px;flex:none;align-items:center;gap:10px;padding:10px 10px 10px 14px;display:flex}.client-card:not(.full)>.call-bar{margin:0 12px 8px}.call-bar.full{border-radius:var(--radius);padding:12px 14px 12px 22px}.call-bar-text{flex-direction:column;flex:1;min-width:0;display:flex}.call-bar-text>*{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.call-state{color:var(--ok);font-variant-numeric:tabular-nums;font-weight:600}.call-name{font-weight:600}.call-controls{flex:none;gap:8px;display:flex}.call-round{background:var(--surface);width:36px;height:36px;color:var(--text);cursor:pointer;border:none;border-radius:50%;place-items:center;padding:0;display:grid}.call-round svg{width:18px;height:18px}.call-round.on{background:var(--text);color:var(--surface)}.call-round.hangup{background:var(--bad);color:#fff}.call-round.hangup svg{transform:rotate(135deg)}.call-round.answer{background:var(--ok);color:#fff}.call-keypad-wrap{position:relative}.call-keypad{z-index:20;background:var(--surface);border-radius:16px;grid-template-columns:repeat(3,44px);gap:6px;padding:10px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 36px #14182833}.call-keypad button{background:var(--surface-2);height:44px;color:var(--text);font:inherit;cursor:pointer;border:none;border-radius:12px;font-size:18px}.call-widget{z-index:50;background:var(--surface);box-shadow:0 12px 36px #14182833, inset 0 0 0 2px var(--ok);border-radius:20px;align-items:center;gap:10px;padding:10px 10px 10px 4px;display:flex;position:fixed}.call-widget .call-round:not(.hangup,.on,.answer){background:var(--surface-2)}.call-grip{width:20px;height:40px;color:var(--text-2);cursor:grab;touch-action:none;background:0 0;border:none;place-items:center;padding:0;display:grid}.call-grip svg{width:10px;height:18px}.call-who{min-width:0;max-width:220px;color:inherit;align-items:center;gap:10px;text-decoration:none;display:flex}.client-call-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(150px,1fr) minmax(140px,1fr) minmax(120px,1fr) 80px minmax(140px,1fr);align-items:center;gap:12px;padding:10px 4px;display:grid}.client-call-row>*{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.client-call-row .bad{color:var(--bad)}.client-call-row .ok{color:var(--ok);font-weight:600}.search-scrim{z-index:50;background:#0e101452;justify-content:center;align-items:flex-start;padding:10vh 16px 16px;display:flex;position:fixed;inset:0}:root[data-theme=dark] .search-scrim{background:#0000008c}.client-search{border-radius:var(--radius);background:var(--surface);flex-direction:column;width:640px;max-width:100%;max-height:72vh;display:flex;overflow:hidden;box-shadow:0 24px 60px #00000038}.search-input{border-bottom:1px solid var(--border);color:var(--text-2);align-items:center;gap:10px;padding:16px 18px;display:flex}.search-input input{min-width:0;color:var(--text);font:inherit;background:0 0;border:none;outline:none;flex:1;font-size:16px}.client-search kbd,.menu-search kbd{border:1px solid var(--border);background:var(--surface);color:var(--text-2);border-bottom-width:2px;border-radius:6px;padding:1px 6px;font:11px ui-monospace,SF Mono,Menlo,monospace;display:inline-flex}.search-list{padding:6px;overflow-y:auto}.search-group{color:var(--text-2);letter-spacing:.05em;text-transform:uppercase;padding:8px 12px 4px;font-size:11px;font-weight:600}.search-empty{color:var(--text-2);text-align:center;padding:24px 12px}.search-hit{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:14px;align-items:center;gap:12px;padding:10px 12px;display:flex}.search-hit.sel{background:var(--accent-2)}.search-hit .avatar{width:38px;height:38px;font-size:13px}.search-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.search-line{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.search-name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.search-contact{color:var(--text-2);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px}.search-meta{color:var(--text-2);flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:12px;display:flex;overflow:hidden}.client-search mark{background:var(--warn-bg);color:inherit;border-radius:3px}.search-foot{border-top:1px solid var(--border);color:var(--text-2);flex-wrap:wrap;gap:6px 16px;padding:10px 18px;font-size:12px;display:flex}.search-foot span{align-items:center;gap:4px;display:inline-flex}.menu-search{border:1px solid var(--border);background:var(--surface-2);margin-bottom:6px}.menu-search kbd{margin-left:auto}.menu.collapsed .menu-search kbd{display:none}@media (width<=760px){.search-scrim{padding-top:16px}.search-contact,.search-foot,.menu-search kbd{display:none}}.chat-rows{flex:1;min-height:0;margin:0;padding:0;list-style:none;overflow-y:auto}.chat-row{border-radius:18px;gap:14px;padding:14px 12px;display:flex}.chat-row:hover{background:var(--surface-2)}.chat-row.active{background:var(--accent-2)}.chat-row-main{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.chat-row-top{justify-content:space-between;gap:8px;display:flex}.chat-name{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.chat-row time{color:var(--text-2);font-size:12px}.chat-preview{color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-row-bottom{align-items:center;gap:8px;min-width:0;display:flex}.chat-preview{flex:1 0 33%;min-width:0}.chat-row-pills{flex:none;align-items:center;gap:6px;display:flex}.chat-unassigned{background:var(--muted-bg);width:22px;height:22px;color:var(--text-2);border-radius:50%;place-items:center;display:grid}.chat-unassigned svg{width:14px;height:14px}.empty{color:var(--text-2);padding:8px 20px}.conversation.placeholder{color:var(--text-2);justify-content:center;place-items:center}.conversation-head{border-bottom:1px solid var(--border);align-items:center;gap:14px;padding:16px 24px;display:flex}.conversation-title{font-size:16px;font-weight:500}.bubble{background:var(--surface);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:20px;flex-direction:column;gap:8px;padding:11px 16px;display:flex}.message.in .bubble{border-top-left-radius:6px}.message.out .bubble{background:var(--accent);color:var(--on-accent);border-top-right-radius:6px}.message-meta{color:var(--text-2);margin:3px 6px 0;font-size:12px}.message.out.hidden-message .bubble{background:var(--hidden-bubble);color:var(--text)}.hidden-mark{vertical-align:-2px;width:13px;height:13px;margin-right:4px;display:inline-block}.hidden-mark svg{width:100%;height:100%;display:block}.unsupported{opacity:.7;font-style:italic}.photo{border-radius:12px;max-width:100%;max-height:360px;display:block}.sticker{max-width:160px;max-height:160px;display:block}.message .bubble.sticker-bubble{background:0 0;padding:0}.sticker-emoji{font-size:56px;line-height:1}.album-bubble{padding:6px}.album.two{grid-template-columns:repeat(2,1fr)}.album-bubble p{margin:4px 10px 6px}.agent-bar{border-top:1px solid var(--border);background:var(--warn-bg);color:var(--warn);align-items:center;gap:12px;padding:10px 20px;font-size:13px;display:flex}.agent-bar.on{background:var(--accent-2);color:var(--accent)}.agent-bar-text{flex:1;min-width:0}.agent-bar.hidden-bar{background:var(--hidden-bar);color:var(--on-hidden)}.composer{border-top:1px solid var(--border);padding:12px 20px 16px}.composer .error{margin:0 8px 8px}.composer-box{border:1px solid var(--border);background:var(--surface);border-radius:20px;flex-direction:column;gap:4px;min-width:0;margin:0;padding:10px 10px 8px;display:flex}.composer-box:focus-within{border-color:var(--accent)}.composer-input{min-height:24px;max-height:180px;color:inherit;font:inherit;resize:none;background:0 0;border:0;outline:none;padding:2px 8px;line-height:20px}.composer-bar{align-items:center;gap:2px;display:flex}.composer-spacer{flex:1}.composer-tool{width:36px;height:36px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;display:grid;position:relative}.composer-tool:hover:not(:disabled),.composer-tool.on,.composer-tool[aria-pressed=true]{color:var(--text);background:var(--surface-2)}.composer-tool:disabled{opacity:.35;cursor:default}.agent-spent{--agent:var(--accent);flex:none;display:flex;position:relative}.agent-spent.warn{--agent:var(--warn)}.agent-spent.over{--agent:var(--bad)}.agent-spent-ring{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:32px;height:32px;padding:0;display:grid}.agent-spent-ring:before{content:"";background:conic-gradient(var(--agent) 0 var(--p), var(--border) var(--p) 100%);border-radius:50%;width:20px;height:20px;-webkit-mask:radial-gradient(circle,#0000 6.5px,#000 7px);mask:radial-gradient(circle,#0000 6.5px,#000 7px)}.agent-spent-ring:hover,.agent-spent-ring[aria-expanded=true]{background:var(--muted-bg)}.agent-spent-pop{z-index:5;border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-direction:column;gap:4px;width:max-content;max-width:260px;padding:12px 14px;display:flex;position:absolute;bottom:calc(100% + 8px);right:-8px;box-shadow:0 8px 24px #0000001f}.agent-spent-title{color:var(--text-2);letter-spacing:.05em;text-transform:uppercase;font-size:11px;font-weight:600}.agent-spent-amounts{font-variant-numeric:tabular-nums;font-size:16px;font-weight:600}.agent-spent.warn .agent-spent-amounts,.agent-spent.over .agent-spent-amounts,.agent-spent-over{color:var(--agent)}.agent-switch{height:36px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;align-items:center;gap:8px;margin-right:6px;padding:0 8px;display:flex}.agent-switch-track{background:var(--border);border-radius:10px;width:34px;height:20px;transition:background .15s;display:block;position:relative}.agent-switch-knob{background:#fff;border-radius:50%;width:16px;height:16px;transition:left .15s;display:block;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #0003}.agent-switch.on{color:var(--ok)}.agent-switch.on .agent-switch-track{background:var(--ok)}.agent-switch.on .agent-switch-knob{left:16px}.agent-switch.failed{color:var(--bad)}.agent-switch:hover:not(:disabled){background:var(--surface-2)}.agent-switch:disabled{opacity:.35;cursor:default}.send-button{background:var(--accent);width:40px;height:40px;color:var(--on-accent);cursor:pointer;border:none;border-radius:50%;flex:none;place-items:center;transition:opacity .15s,transform .15s;display:grid}.send-button svg{stroke-width:2.2px}.send-button:hover:not(:disabled){filter:brightness(1.08)}.send-button:disabled{opacity:.35;cursor:default;transform:scale(.9)}.composer{position:relative}.composer-file{background:var(--surface-2);border-radius:14px;align-items:center;gap:8px;width:fit-content;max-width:100%;margin:0 0 8px;padding:4px 6px 4px 12px;display:flex}.composer-file-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.composer-file button{width:28px;height:28px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;font-size:18px;line-height:1}.composer-send{flex:none;display:flex}.hidden-composer .composer-box{border:1px dashed var(--hidden)}.hidden-composer .send-button{background:var(--hidden);color:var(--on-hidden)}.script-button{border:1px solid var(--border);background:var(--surface-2);width:44px;height:44px;color:var(--text-2);cursor:pointer;border-radius:50%;flex:none;place-items:center;display:grid}.script-button:hover:not(:disabled),.script-button.on{color:var(--accent);border-color:var(--accent)}.call-message-icon{fill:currentColor;width:18px;height:18px}.call-message{white-space:nowrap;align-items:center;gap:6px;margin:0;display:flex}.call-message-result{opacity:.8}.script-button:disabled{opacity:.35;cursor:default}.script-picker{z-index:5;border:1px solid var(--border);background:var(--surface);border-radius:16px;flex-direction:column;gap:8px;max-height:360px;padding:10px;display:flex;position:absolute;bottom:calc(100% - 4px);left:20px;right:20px;box-shadow:0 8px 28px #00000024}.script-picker-list{flex-direction:column;display:flex;overflow-y:auto}.script-picker-item{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex-direction:column;gap:2px;padding:8px 10px;display:flex}.script-picker-item:hover,.script-picker-item:focus-visible{background:var(--surface-2)}.script-picker-item .muted{white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.script-picker-name{font-weight:500}.conversation-who{flex:1;min-width:0}.head-select{align-self:center}.close-pick .select-menu{left:auto;right:0}.close-pick .finish-checks{fill:var(--text-2);stroke:none}.close-pick.won .select-button{background:var(--ok-bg);border-color:#0000}.close-pick.won .select-button>svg{stroke:var(--ok);stroke-width:2.2px}.close-pick.lost .select-button{background:var(--bad-bg);border-color:#0000}.close-pick.lost .select-button>svg{stroke:var(--bad);stroke-width:2.2px}.head-actions{flex:none;align-items:stretch;gap:8px;display:flex}.head-select .select-menu{left:auto;right:0}.conversation-back{display:none}@media (width<=760px){.chat-list{flex:1;width:100%}.chat-list+.placeholder{display:none}.chat-list:has(+.conversation:not(.placeholder)){display:none}.chat-list:has(+.client-card.full){display:none}.conversation-head{flex-wrap:wrap;gap:10px;padding:10px 12px}.conversation-back{margin-right:-4px;display:grid}.conversation-who{flex:1;min-width:0}.head-actions{width:100%}.head-actions>:not(.card-toggle){flex:1}.head-actions .head-read,.head-actions .select,.head-actions .select-round .select-button{border-radius:19px;width:100%}.head-actions .select-round .select-button>.tile{width:30px;height:30px}.head-actions{position:relative}.head-actions .select,.head-actions .head-select{position:static}.head-actions .select-menu{min-width:0;top:calc(100% + 6px);left:0;right:0}.composer{padding:10px 12px 12px}.composer-bar{gap:0}.composer-input::placeholder{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.head-actions .card-toggle,.card-collapse{display:none}}.pay-form .pay-actions .pay-btn{flex:1;justify-content:center}.pay-provider .select-text>.select-sub:first-child{margin-bottom:4px}.select .pay-logo{flex:none;width:34px;height:34px}.head-actions .card-toggle{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;width:46px;height:auto}.head-actions .card-toggle:hover{border-color:var(--text-2);color:var(--text)}.head-actions .card-toggle.on{border-color:var(--accent-2);background:var(--accent-2);color:var(--accent)}.avatar-button{cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;padding:0}.avatar-button:hover .avatar{box-shadow:0 0 0 3px var(--accent-2)}.name-button{max-width:100%;color:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:0;font-family:inherit;display:block;overflow:hidden}.name-button:hover{color:var(--accent)}.conversation-where{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.client-card{flex:none;width:360px;overflow-y:auto}.client-card.placeholder{color:var(--text-2);justify-content:center;align-items:center}.client-bar{justify-content:space-between;align-items:center;gap:12px;padding:10px 12px 0 22px;display:flex}.client-bar-title{color:var(--text-2);letter-spacing:.06em;text-transform:uppercase;font-size:12px;font-weight:500}.client-head{align-items:center;gap:12px;padding:6px 12px 12px 22px;display:flex}.client-head .avatar{width:48px;height:48px}.client-head h2{overflow-wrap:break-word;flex:1;min-width:0;font-size:18px}.client-name{flex-direction:column;line-height:1.25;display:flex}.client-props{grid-template-columns:auto 1fr;gap:6px 14px;margin:0;padding:0 22px 16px;font-size:13px;display:grid}.client-props dt{color:var(--text-2)}.client-props dd{margin:0}.client-data{grid-template-columns:minmax(0,max-content) minmax(0,360px);align-items:center;gap:8px 14px;font-size:13px;display:grid}.client-data-row{display:contents}.client-data>.error{grid-column:1/-1}.client-data-name{color:var(--text-2);overflow-wrap:anywhere}.client-ribbon{background:var(--bad-bg);color:var(--bad);flex:none;padding:9px 22px;font-size:13px}.client-card.full .client-ribbon{border-radius:var(--radius)}.icon-button.bad{color:var(--bad)}.client-head-actions{flex:none;align-items:center;gap:2px;display:flex}.client-actions-divider{background:var(--border);width:1px;height:20px;margin:0 6px}.client-actions-divider:first-child{display:none}.client-card.full{flex-direction:column;flex:1;gap:12px;width:auto;min-width:0;display:flex}.client-card.full.placeholder{background:var(--surface)}.client-tiles-row{flex-wrap:wrap;flex:none;gap:12px;display:flex}.client-tile{border-radius:var(--radius);background:var(--surface);flex-direction:column;flex:none;gap:10px;min-width:0;padding:18px 22px;display:flex;position:relative}.client-tile h3{margin:0;font-size:14px;font-weight:600}.client-tile-who{flex-direction:row;flex:5 340px;align-items:center;gap:16px}.client-tile-who .avatar{flex:none;width:64px;height:64px;font-size:20px}.client-tile-who h2{overflow-wrap:break-word;margin-bottom:4px;font-size:20px}.client-tile-who .client-name-form{margin-top:32px}.client-tile-who .client-head-actions{position:absolute;top:10px;right:10px}.client-tile-money{flex:2 200px;justify-content:center;gap:4px}.client-money{font-variant-numeric:tabular-nums;font-size:30px;font-weight:600;line-height:1.15}.client-money-pills{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.client-tile-memory{background:var(--accent-2);gap:6px}.client-tile-memory h3{color:var(--accent)}.client-tile-memory .client-memory{margin:0}.client-memory.clamped{-webkit-line-clamp:6;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.client-tile-memory.mini{margin:0 16px 14px;padding:12px 14px;font-size:13px}.client-tile-memory.mini .client-memory.clamped{-webkit-line-clamp:3}.client-memory-foot{flex-wrap:wrap;align-items:baseline;gap:2px 12px;font-size:13px;display:flex}.client-memory-more{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:500}.client-tile-head{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.client-tile-head .pay-form{flex:100%}.client-contacts-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px 16px;display:grid}.client-contacts-grid .client-item{margin:0;padding:2px 0;position:relative}.client-contacts-grid .client-item.clickable{margin:0 -8px;padding:2px 8px}.client-contacts-grid .client-item.clickable:hover .client-contact-actions{background:var(--surface-2)}.client-contacts-grid .client-contact-actions{background:var(--surface);padding:0;position:absolute;right:8px}.client-tile-tabs{flex:1 0 auto;gap:12px}.client-tab-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.client-tabs{background:var(--surface-2);border-radius:12px;flex-wrap:wrap;gap:2px;padding:3px;display:flex}.client-tab{height:34px;color:var(--text-2);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:6px;padding:0 12px;font-weight:500;display:flex}.client-tab:hover,.client-tab.on{color:var(--text)}.client-tab.on{background:var(--surface)}.client-tab .muted{font-size:13px;font-weight:400}.client-tab-bar>.pay-new{border-color:var(--accent);background:var(--accent);color:var(--on-accent);align-self:center}.client-tab-bar>.pay-form,.client-tab-bar>.pay-hint{flex:100%}.pay-hint{margin:0}.client-tab-bar>.client-invite{display:contents}.client-tab-bar>.client-invite>.select{flex:0 300px;min-width:0}.client-tab-bar>.client-invite>.muted,.client-tab-bar>.client-invite>.error,.client-tab-bar>.client-invite>.client-invite-link{flex:100%}.client-tab-pane{flex-direction:column;display:flex;container-type:inline-size}.client-tab-pane .pay{margin-bottom:8px}.client-chat-row{border-top:1px solid var(--border);grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 150px 130px;align-items:center;gap:4px 12px;margin:0 -12px;padding:10px 12px;display:grid}.client-chat-row:hover{background:var(--surface-2)}.client-chat-row.current{background:var(--accent-2)}.client-chat-bot{overflow-wrap:anywhere;align-items:center;gap:10px;min-width:0;font-weight:500;display:flex}.client-leads-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;display:grid}.tl{flex-direction:column;gap:14px;display:flex}.tl-day h4{color:var(--text-2);margin:0 0 6px;font-size:13px;font-weight:600}.tl-day h4:first-letter{text-transform:uppercase}.tl-item{gap:12px;display:flex}.tl-date{text-align:right;white-space:nowrap;flex-direction:column;flex:0 0 44px;padding-top:8px;font-size:13px;display:flex}.tl-date .muted{font-size:12px}.tl-rail{flex:0 0 12px;position:relative}.tl-rail:before{background:var(--border);content:"";width:2px;position:absolute;top:0;bottom:0;left:5px}.tl-day:first-child .tl-item:first-of-type .tl-rail:before{top:14px}.tl-day:last-child .tl-item:last-child .tl-rail:before{height:14px;bottom:auto}.tl-dot{border:2px solid var(--surface);box-sizing:content-box;background:var(--text-2);border-radius:50%;width:10px;height:10px;position:absolute;top:12px;left:1px;transform:translate(-2px,-2px)}.tl-dot.tl-accent{background:var(--accent)}.tl-dot.tl-ok{background:var(--ok)}.tl-dot.tl-warn{background:var(--warn)}.tl-body{overflow-wrap:anywhere;border-radius:12px;flex:1;min-width:0;margin-bottom:6px;padding:6px 12px}.tl-body.boxed{background:var(--surface-2)}.tl-body.boxed.tl-warn{background:var(--warn-bg)}.tl-body.boxed.tl-warn .pill{background:var(--surface)}.tl-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:2px 10px;font-weight:500;display:flex}.tl-body .muted,.tl-body .error{font-size:13px}.client-card .pay{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:12px;display:grid}.client-card .pay>*,.client-card .pay-dates>*{grid-column:1/-1}.client-card .pay-dates{display:contents}.client-card .pay-desc{grid-row:1;font-size:14px;font-weight:500}.client-card .pay-check{grid-row:2}.client-card .pay-dates>.pay-date{grid-area:3/1;font-size:13px}.client-card .pay-status{flex-direction:row;grid-area:3/2;align-items:center;gap:4px}.client-card .pay-dates>.pay-credit-line{grid-row:4}.pay-status .pay-action-link{border-radius:999px;place-items:center;width:28px;height:28px;margin:-4px -6px -4px 0;text-decoration:none;display:grid}.pay-status .pay-action-link svg{width:16px;height:16px}.pay-action-text{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.pay-check{--check-bg:var(--surface);background:var(--check-bg);font-variant-numeric:tabular-nums;border-radius:12px 12px 0 0;flex-direction:column;gap:4px;margin-bottom:7px;padding:10px 12px 8px;font-size:13px;display:flex;position:relative}.pay-check:after{content:"";background:conic-gradient(from -45deg at 50% 100%, var(--check-bg) 90deg, transparent 0) 0 0 / 14px 7px repeat-x;height:7px;position:absolute;top:100%;left:0;right:0}.pay-check-row,.pay-check-total{justify-content:space-between;gap:8px;display:flex}.pay-check-row>:first-child{color:var(--text-2)}.pay-check-fee{color:var(--warn)}.pay-check-refund{color:var(--bad)}.pay-check-total{border-top:1.5px dashed color-mix(in srgb, var(--text-2) 70%, transparent);margin-top:2px;padding-top:5px;font-size:15px;font-weight:600}@container (width>=640px){.client-tab-pane .pay{border-top:1px solid var(--border);background:0 0;border-radius:0;grid-template-columns:260px minmax(0,1fr) minmax(260px,1.4fr) 200px;grid-template-areas:"sum desc dates status""sum declined dates status""sum actions dates status";align-items:start;gap:2px 20px;margin:0;padding:12px 0;display:grid}.client-tab-pane .pay-check{--check-bg:var(--surface-2);grid-area:sum}.client-tab-pane .pay-status{flex-direction:column;align-items:flex-end}.client-tab-pane .pay-status .pay-action-link{border-radius:0;width:auto;height:auto;margin:0;-webkit-text-decoration:underline dashed;text-decoration:underline dashed;display:inline}.client-tab-pane .pay-status .pay-action-link svg{display:none}.client-tab-pane .pay-action-text{clip-path:none;width:auto;height:auto;position:static;overflow:visible}.client-tab-pane .pay-dates{display:flex}.client-tab-pane .pay-date{font-size:13px}.client-tab-pane .pay-status{grid-area:status;justify-self:end}.client-tab-pane .pay-desc{grid-area:desc;font-size:14px}.client-chat-bot-name{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.client-tab-pane .pay-credit-line>*,.client-tab-pane .pay-credit .select-button,.client-tab-pane .pay-credited{min-width:0;max-width:100%}.client-tab-pane .pay-credited{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.client-tab-pane .pay-status{white-space:nowrap}.client-tab-pane .pay-declined{grid-area:declined}.client-tab-pane .pay-dates{grid-area:dates}.client-tab-pane .pay>.pay-actions{grid-area:actions}.client-tab-pane .pay>.pay-refund,.client-tab-pane .pay>p.error{grid-column:1/-1}}@container (width<=639px){.client-chat-row{grid-template-columns:1fr 1fr}.client-chat-head{display:none}}.client-chat-row>*{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.client-chat-row>.client-chat-status{justify-self:start;margin-left:0}.client-chat-row.client-chat-head{color:var(--text-2);border-top:none;padding-top:4px;padding-bottom:6px;font-size:12px}.client-contact-actions{opacity:0;gap:4px;margin-left:auto;padding-right:6px;display:flex}.client-contact:hover .client-contact-actions,.client-contact-actions:focus-within{opacity:1}.client-contact .pay-icon:hover{background:var(--surface-2);color:var(--text)}.client-contact .pay-icon.danger:hover{color:var(--bad)}.client-divider{border:none;border-top:1px dashed var(--border);margin:2px 0}.client-add{gap:8px;display:flex}.client-section{border-top:1px solid var(--border);flex-direction:column;gap:10px;padding:16px 22px;display:flex}.client-section h3{color:var(--text-2);letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:12px;font-weight:500}.client-item{border-radius:12px;align-items:center;gap:12px;margin:0 -8px;padding:4px 8px;display:flex}a.client-item:hover,.client-item.clickable:hover{background:var(--surface-2)}.client-item.clickable{cursor:pointer}.client-item.clickable:focus-visible{outline:2px solid var(--accent)}.client-item.current{background:var(--accent-2)}.client-logo{stroke:none;color:#fff;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;font-size:11px;font-weight:700;display:grid}.client-logo svg{stroke:#fff;width:18px;height:18px}.client-logo.phone{background:#23a55a}.client-logo.email{background:#e8912d}.client-chat-status{flex:none;margin-left:auto}.client-text{overflow-wrap:anywhere;flex-direction:column;min-width:0;display:flex}.client-item .client-text:has(.client-chat-line){flex:1}.client-chat-line{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.client-chat-result{text-overflow:ellipsis;white-space:nowrap;flex:none;max-width:40%;margin-left:auto;display:block;overflow:hidden}.client-lead{background:var(--surface-2);border-radius:14px;flex-direction:column;gap:3px;padding:10px 12px;display:flex}.client-lead-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.client-lead-title{overflow-wrap:anywhere;font-weight:500}.client-lead-details{overflow-wrap:anywhere;font-size:13px}.pill.accent{background:var(--accent-2);color:var(--accent)}.client-event{gap:10px;display:flex}.client-day{flex-direction:column;gap:8px;display:flex}.client-day h4{color:var(--text-2);margin:0;font-size:12.5px;font-weight:600}.client-day h4:first-letter{text-transform:uppercase}.client-dot{background:var(--accent);border-radius:50%;flex:none;width:8px;height:8px;margin-top:6px}.client-dot.muted-dot{background:var(--border)}@media (width<=1200px){.client-card:not(.full){z-index:20;max-width:calc(100vw - 28px);position:fixed;top:14px;bottom:14px;right:14px;box-shadow:-12px 0 40px #0000002e}}@media (width<=760px){.client-card:not(.full){width:auto;max-width:none;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);border-radius:0;inset:0}}.client-invite{flex-direction:column;gap:8px;margin-bottom:4px;display:flex}.client-invite-link{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.client-invite-link .input{flex:200px;min-width:0}.pay-new{align-self:flex-start}.client-card:not(.full) .button.pay-new{background:var(--accent-2);color:var(--accent);border-color:#0000;font-weight:500}.client-card:not(.full) .button.pay-new:hover:not(:disabled){background:color-mix(in srgb, var(--accent) 18%, var(--surface))}.pay-status{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.pay-action-link{color:var(--text-2);font:inherit;white-space:nowrap;text-underline-offset:3px;cursor:pointer;background:0 0;border:none;padding:0;font-size:13px;-webkit-text-decoration:underline dashed;text-decoration:underline dashed}.pay-action-link:hover,.pay-action-link[aria-expanded=true]{color:var(--accent)}.pay-pop-anchor{position:relative}.pay-pop{z-index:20;background:var(--surface);white-space:normal;border-radius:14px;flex-direction:column;gap:8px;width:240px;padding:14px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 32px #1418282e}.pay-pop-label{color:var(--text-2);font-size:13px}.pay-pop .pay-amount.input{flex:none;width:100%;height:38px}.pay-pop-actions{gap:8px;display:flex}.pay-icon{width:26px;height:26px;color:var(--text-2);cursor:pointer;background:0 0;border:none;border-radius:999px;place-items:center;margin:-4px -6px -4px 0;display:grid}.pay-icon svg{width:16px;height:16px}.pay-icon:hover{background:var(--surface);color:var(--bad)}.pay-desc{overflow-wrap:anywhere;font-size:13px}.pay-dates{flex-direction:column;gap:3px;display:flex}.pay .pay-actions{margin-top:6px}.pay-form,.pay-refund{flex-direction:column;gap:6px;display:flex}.pay-refund{margin-top:6px}.pay-refund .pay-actions{align-items:center;margin-top:0}.pay-form-row{gap:8px;display:flex}.pay-form-row .input{flex:1;min-width:0}.pay-amount.input{flex:0 0 96px;width:96px}.pay-actions{flex-wrap:wrap;gap:8px;display:flex}.pay-btn{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;white-space:nowrap;cursor:pointer;border-radius:999px;align-items:center;gap:5px;padding:5px 12px;font-size:12px;display:inline-flex}.pay-btn svg{width:14px;height:14px}.pay-btn:hover{filter:brightness(.97)}.pay-btn.primary{border-color:var(--accent);background:var(--accent);color:var(--on-accent)}.pay-btn.accent{border-color:var(--accent);color:var(--accent)}.pay-btn.danger{border-color:var(--bad);background:var(--bad);color:#fff}.pay-btn:disabled{opacity:.5;cursor:default}.chat-row-wrap{position:relative}.chat-row-actions{gap:2px;display:flex;position:absolute;bottom:12px;right:10px}.chat-mark{width:26px;height:26px;color:var(--text-2);opacity:.35;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.chat-mark svg{width:15px;height:15px}.chat-row-wrap:hover .chat-mark,.chat-row-wrap:focus-within .chat-mark{opacity:.7}.chat-mark.on,.chat-row-wrap .chat-mark:hover{opacity:1}.chat-mark:hover{background:var(--surface);color:var(--text)}.chat-row-wrap:has(.chat-mark) .chat-row-bottom{padding-right:56px}.head-read{background:var(--warn-bg);width:38px;height:38px;color:var(--warn);cursor:pointer;border:0;border-radius:50%;align-self:center;place-items:center;padding:0;display:grid}.head-read:hover{background:var(--warn);color:var(--surface)}.head-read svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:22px;height:22px}.chat-order{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:-4px;display:flex}.chat-order .select{flex:1 1 0}.chat-search{width:100%}.chat-rows.pinned{border-bottom:1px solid var(--border);flex:none;max-height:40%;padding-bottom:8px}.pay-receipts{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.pay-receipt{border:1px solid color-mix(in srgb, var(--accent) 20%, var(--border));background:var(--surface);height:28px;color:var(--accent);white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:0 10px;font-size:13px;text-decoration:none;display:inline-flex}a.pay-receipt:hover{border-color:var(--accent);background:var(--accent-2)}.pay-receipt.bad{border-color:color-mix(in srgb, var(--bad) 35%, transparent);background:color-mix(in srgb, var(--bad) 8%, var(--surface));color:var(--bad)}.pay-receipt-error{font-size:12px}.pay-receipt svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.pay-receipt svg:last-child:not(:first-child){opacity:.7;width:12px;height:12px}.client-memory{white-space:pre-wrap;margin:0 0 6px;line-height:1.45}.composer-box:disabled{opacity:.55}.composer-box:disabled *{cursor:not-allowed}.client-tile-money.paid{background:var(--ok-bg);color:var(--ok)}.client-money-label{color:var(--text-2);font-size:13px}.client-tile-money.paid .client-money-label{color:inherit;font-weight:600}.client-money-sub{flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:13px;display:flex}.client-money-sub .pill{font-weight:600}.pay-credit-line{align-items:center;gap:3px 6px;min-width:0;display:flex;position:relative}.pay-credit{display:flex}.pay-credit-line>.muted{white-space:nowrap;flex:none;font-size:13px}.pay-credit,.pay-credit .select-button,.pay-credited{min-width:0;max-width:100%}.pay-credit .select-label,.pay-credited-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pay-credit .tile,.pay-credited .tile,.pay-credit .select-chevron{flex:none}.pay-credit .tile,.pay-credited .tile{width:20px;height:20px;font-size:9px}.pay-credit .select-button,.pay-credited{background:0 0;border:none;align-items:center;gap:6px;width:auto;min-height:0;padding:0;font-size:13px;display:inline-flex}.pay-credit .select-button:hover:not(:disabled) .select-label{color:var(--accent)}.pay-credit .select-label{font-weight:400}.pay-credit .select-chevron{width:14px;height:14px}.pay-credit.select{position:static}.pay-credit .select-menu{min-width:260px;max-width:100%}.pay-link{position:relative}.pay-link-menu{z-index:20;background:var(--surface);border-radius:14px;flex-direction:column;min-width:210px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 32px #14182829}.pay-link-menu button{color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;display:flex}.pay-link-menu button:hover{background:var(--surface-2)}.pay-link-menu button.danger{color:var(--bad)}.pay-link-menu svg{width:16px;height:16px}.client-money-refund{color:var(--bad)}.client-money-fee{color:var(--warn)}.task-chip{align-items:center;gap:4px;display:inline-flex}.task-chip svg{width:13px;height:13px}.chat-now{color:var(--bad);align-items:center;gap:8px;padding:4px 20px;font-size:12px;font-weight:600;display:flex}.chat-now:after{background:var(--bad);content:"";opacity:.4;flex:1;height:1px}.chat-row-top .task-chip{flex:none;align-self:center;margin-left:auto}.chat-row-top .chat-name{min-width:0}.script-button{position:relative}.plus-task-dot{border:2px solid var(--surface);border-radius:50%;width:10px;height:10px;position:absolute;top:1px;right:1px}.plus-task-dot.ok{background:var(--ok)}.plus-task-dot.warn{background:var(--warn)}.plus-task-dot.bad{background:var(--bad)}.task-pop{z-index:5;border:1px solid var(--border);background:var(--surface);border-radius:16px;flex-direction:column;gap:10px;width:min(340px,100% - 40px);padding:14px;display:flex;position:absolute;bottom:calc(100% - 4px);left:20px;box-shadow:0 12px 32px #00000024}.task-pop-title{justify-content:space-between;align-items:center;gap:8px;font-weight:600;display:flex}.task-presets{flex-wrap:wrap;gap:6px;display:flex}.task-presets .button{padding:4px 10px;font-size:13px}.task-text{resize:vertical}.task-pop-actions{justify-content:flex-end;gap:8px;display:flex}.task-pop-actions .task-remove{color:var(--bad);margin-right:auto}.composer-send .send-button.call-send{background:var(--ok);color:#fff}.composer-send .send-button.call-send svg{fill:currentColor;stroke:none}@media (width<=760px){.client-tab-bar{flex-flow:column;align-items:stretch}.client-tabs{scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.client-tabs::-webkit-scrollbar{display:none}.client-tab{white-space:nowrap;flex:none}}.client-name-form{flex:1;min-width:0}.client-name-field{color:var(--text-2);flex-direction:column;gap:4px;font-size:12px;display:flex}.client-name-row{align-items:flex-start;gap:4px;padding-right:170px;display:flex}.client-name-row h2{flex:1;min-width:0}.pl-kinds{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.pl-kind{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:14px;padding:14px}.pl-kind.on{border:2px solid var(--accent);background:var(--accent-2);padding:13px}.pl-kind-name{font-weight:500}.pl-kind.on .pl-kind-name{color:var(--accent)}.pl-kind-hint{color:var(--text-2);margin-top:4px;font-size:12px}.pl-members{flex-direction:column;display:flex}.pl-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(160px,1fr) 72px minmax(140px,260px) 56px 110px 36px;align-items:center;gap:16px;padding:10px 4px;display:grid}.pl-row.simple{grid-template-columns:minmax(160px,1fr) 110px 36px}.pl-row.head{color:var(--text-2);padding-bottom:8px;font-size:12px}.pl-row.off{color:var(--text-2)}.pl-who{align-items:center;gap:10px;min-width:0;display:flex}.pl-avatar{border-radius:999px;flex:none;place-items:center;width:32px;height:32px;font-size:12px;font-weight:600;display:grid}.pl-row.off .pl-avatar{filter:grayscale();opacity:.6}.pl-weight{box-sizing:border-box;width:72px}.pl-range{width:100%;accent-color:var(--accent)}.pl-share{text-align:right;font-variant-numeric:tabular-nums}.pl-sum{color:var(--text-2);flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px;font-size:12px;display:flex}.pl-sum.warn{color:var(--warn)}.pl-bar{background:var(--muted-bg);border-radius:5px;width:260px;height:10px;display:flex;overflow:hidden}.pl-pauses{flex-direction:column;display:flex}.pl-pause{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:10px;padding:8px 4px;display:flex}.pl-pause-name{width:90px;font-weight:600}.pl-unit{width:120px}.pl-reminders{flex-direction:column;display:flex}.pl-reminder{border-bottom:1px solid var(--border);flex-direction:column;gap:8px;padding:10px 4px;display:flex}.pl-reminder-when{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.pl-reminder-remove{margin-left:auto}.pl-add-pause{align-self:flex-start;margin-top:12px}.pl-usage{background:var(--surface-2);color:var(--text-2);border-radius:14px;margin:auto 0 0;padding:14px 16px;font-size:13px}.pl-select{align-self:flex-start;width:360px;max-width:100%}.pl-description{resize:vertical;font:inherit}.pl-default{flex-direction:column;gap:6px;display:flex}.pl-default-name{font-weight:500}.pl-pipeline{flex:1;gap:24px;min-height:0;display:flex}.pl-prompt{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.pl-prompt-text{resize:none;flex:1;min-height:360px;padding:16px 18px;line-height:1.6}.pl-prompt.with-tools .pl-prompt-text{min-height:220px}.pl-tools{flex-direction:column;flex:1;gap:8px;min-height:260px;display:flex}.pl-tools-head{flex-direction:column;gap:2px;display:flex}.pl-tools-count{background:var(--muted-bg);color:var(--text-2);border-radius:8px;margin-left:4px;padding:1px 7px;font-size:12px}.pl-tools-frame{flex:1;min-height:0;display:flex;position:relative}.pl-tools-box{background:var(--surface-2);border-radius:18px;flex-direction:column;gap:14px;padding:14px 16px;display:flex;position:absolute;inset:0;overflow-y:auto}.pl-tools-group{flex-direction:column;gap:8px;display:flex}.pl-tools-group-title{color:var(--text-2);letter-spacing:.04em;text-transform:uppercase;font-size:11px;font-weight:600}.pl-tools-rows{flex-direction:column;gap:4px;display:flex}.pl-tool{background:var(--surface);border-radius:10px;align-items:center;gap:8px;min-height:40px;padding:6px 10px;display:flex}.pl-tool.off{opacity:.55}.pl-tool-top{align-items:center;gap:8px;min-width:0;display:flex}.pl-tool-code{border:1px solid var(--border);background:var(--surface);color:var(--text);white-space:nowrap;cursor:pointer;border-radius:8px;flex:none;padding:2px 7px;font:600 12px ui-monospace,SFMono-Regular,Menlo,monospace}.pl-tool-code:hover{border-color:var(--accent);color:var(--accent)}.pl-tool-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13px;overflow:hidden}.pl-tool-info{cursor:pointer;background:0 0;border:0;padding:4px}.pl-tool-info svg{width:16px;height:16px}.pl-tools-fade{background:linear-gradient(transparent, var(--surface-2) 70%);pointer-events:none;border-radius:0 0 18px 18px;justify-content:center;align-items:flex-end;height:64px;padding-bottom:10px;display:flex;position:absolute;bottom:0;left:0;right:0}.pl-tools-fade span{border:1px solid var(--border);background:var(--surface);color:var(--accent);border-radius:12px;padding:4px 12px;font-size:12px;font-weight:600}.pl-tool-when-off{color:var(--warn)}.pl-tool-example{background:var(--surface-2);border-radius:14px;align-items:flex-start;gap:10px;padding:10px 8px 10px 14px;line-height:1.5;display:flex}.pl-tool-example span{flex:1}.pl-settings-col{flex-direction:column;flex:0 0 300px;gap:8px;display:flex}.pl-settings{box-sizing:border-box;background:var(--surface-2);border-radius:18px;flex-direction:column;flex:1;gap:18px;padding:20px;display:flex}.pl-settings .pl-select{width:100%}.pl-agent{gap:18px}.pl-settings .select-button{background:var(--surface)}@media (width<=760px){.pl-pipeline{flex-direction:column}.pl-settings-col{flex-basis:auto}}.pl-sep{border:0;border-top:1px solid var(--border);width:100%;margin:0}.pl-off-shift{color:var(--warn);font-size:11px;display:block}:is(.tile:has(.tile-picture),.pl-avatar:has(.tile-picture)){background:var(--surface-2);overflow:hidden}.menu-avatar:has(img){background:var(--surface-2)}.pl-reason-dot{border-radius:50%;flex:none;width:8px;height:8px}.pl-reason-dot.ok{background:var(--ok)}.pl-reason-dot.bad{background:var(--bad)}.pl-checks{flex-direction:column;gap:8px;display:flex}.pl-check-name{font-weight:500}.info.pl-item-warning{color:var(--bad);margin-right:auto}.info.pl-item-warning svg{stroke-width:1.6px;width:15px;height:15px}.sg-conditions{background:var(--surface-2);border-radius:16px;flex-direction:column;gap:4px;padding:8px;display:flex}.sg-row{background:var(--surface);border-radius:12px;align-items:center;gap:10px;min-height:44px;padding:6px 6px 6px 14px;display:flex}.sg-field{flex:none;width:150px;font-weight:500}.sg-op{width:60px;color:var(--text-2);flex:none;font-size:13px}.sg-values{flex-wrap:wrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex}.sg-chip{background:var(--accent-2);height:28px;color:var(--accent);border-radius:14px;align-items:center;gap:2px;padding:0 4px 0 10px;font-size:13px;display:flex}.sg-chip button{width:22px;height:22px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;font-size:16px;line-height:1}.sg-pick,.sg-add{width:auto;min-width:140px}.sg-dates{color:var(--text-2);flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.sg-dates .input{width:auto}.sg-members{flex-direction:column;gap:8px;display:flex}.sg-members-head{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.sg-table{border:1px solid var(--border);border-radius:14px;overflow-x:auto}.sg-tr{border-top:1px solid var(--border);color:inherit;grid-template-columns:minmax(140px,2fr) minmax(80px,1fr) minmax(100px,1.3fr) minmax(90px,1fr) 80px;align-items:center;gap:12px;padding:9px 16px;font-size:13px;text-decoration:none;display:grid}.sg-tr:first-child{border-top:0}a.sg-tr:hover{background:var(--surface-2)}.sg-th{background:var(--surface-2);color:var(--text-2);font-size:12px}.sg-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sg-reason{background:var(--warn-bg);height:22px;color:var(--warn);border-radius:11px;align-items:center;padding:0 8px;font-size:12px;display:inline-flex}.sg-more{color:var(--accent);display:block}.sg-backdrop{z-index:50;background:#14182459;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.sg-dialog{box-sizing:border-box;background:var(--surface);border-radius:22px;flex-direction:column;gap:16px;width:min(560px,100%);max-height:calc(100vh - 32px);padding:24px 26px 20px;display:flex;overflow-y:auto;box-shadow:0 24px 60px #00000040}.sg-dialog-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.sg-dialog-head h2{margin:0 0 4px;font-size:20px;font-weight:500}.sg-text{resize:vertical;min-height:96px;font:inherit}.sg-summary{background:var(--surface-2);border-radius:14px;flex-direction:column;gap:6px;padding:12px 14px;font-size:13px;display:flex}.sg-summary>div{color:var(--text-2);justify-content:space-between;gap:12px;display:flex}.sg-summary>.sg-summary-main{color:var(--text);font-weight:500}.sg-summary-main span:last-child{color:var(--ok)}.sg-dialog-actions{justify-content:flex-end;gap:8px;display:flex}@media (width<=760px){.sg-row{flex-wrap:wrap}.sg-field,.sg-op{width:auto}}.sg-values .segment button{white-space:nowrap;padding:0 12px}.sg-pick{min-width:0}.sg-pick .select-button{height:28px;min-height:28px;color:var(--text-2);white-space:nowrap;background:0 0;border-style:dashed;border-radius:14px;gap:4px;padding:0 8px 0 12px}.sg-pick .select-chevron{width:14px;height:14px}.sg-dates .select{width:auto}.sg-dates .select-button{background:var(--accent-2);height:28px;min-height:28px;color:var(--accent);white-space:nowrap;border:0;border-radius:14px;gap:6px;padding:0 8px 0 10px}.sg-dates .select-button .select-chevron{width:14px;height:14px;color:var(--accent)}.sg-values .segment{border-radius:14px;padding:2px}.sg-values .segment button{border-radius:12px;height:24px}.sg-dates{flex-wrap:nowrap}.sg-dates .select{flex:none}.sg-dates .dt-icon{display:none}.sg-period{flex:none;width:auto;min-width:0}.sg-period .select-button{background:var(--accent-2);height:28px;min-height:28px;color:var(--accent);white-space:nowrap;border:0;border-radius:14px;gap:4px;padding:0 8px 0 12px}.sg-period .select-chevron{width:14px;height:14px;color:var(--accent)}.dict-rows{grid-template-columns:minmax(120px,.6fr) minmax(0,1fr) auto auto;align-items:center;gap:6px 10px;margin-top:8px;display:grid}.dict-row{display:contents}.dict-rows>.hint{grid-column:1/-1}.dict-code{overflow-wrap:anywhere;min-width:0;color:var(--text-2)}.dict-reason{overflow-wrap:anywhere;min-width:0;padding:8px 0}.dict-row.off>.dict-code,.dict-row.off>.dict-reason,.dict-row.off>.input,.dict-row.off>.pill{opacity:.55}.home{grid-template-rows:auto 1fr auto;grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start;gap:14px;padding:0 20px 20px;display:grid}.home-tile{border:1px solid var(--border);border-radius:18px;flex-direction:column;gap:14px;min-width:0;padding:20px;display:flex}.home-revenue{grid-area:2/1}.home-agent{grid-area:2/2;align-self:stretch}.home-team{grid-column:1/-1}.home-chats{contain:size;grid-area:1/2;align-self:stretch}.home-chats-box{flex:1;min-height:0;margin:0 -8px;overflow:hidden}.home-chats-box .home-rows{margin:0}.home-tile-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.home-label{color:var(--text-2);letter-spacing:.05em;text-transform:uppercase;margin:0;font-size:11px;font-weight:600}.home-nothing{margin:0}.home-who{align-items:center;gap:14px;display:flex}.home-avatar{cursor:pointer;border:none;padding:0;position:relative}.home-avatar-change{color:#fff;text-align:center;opacity:0;background:#0000008c;border-radius:50%;place-items:center;padding:6px;font-size:11px;font-weight:500;line-height:1.2;transition:opacity .15s;display:grid;position:absolute;inset:0}.home-avatar:hover .home-avatar-change,.home-avatar:focus-visible .home-avatar-change{opacity:1}.home-who-text{flex-direction:column;gap:2px;min-width:0;display:flex}.home-name{font-size:17px;font-weight:600}.home-roles{flex-wrap:wrap;gap:4px;margin-top:4px;display:flex}.home-accepting{background:var(--surface-2);border-radius:14px;padding:12px}.home-accepting-text{flex-direction:column;min-width:0;display:flex}.home-rows{flex-direction:column;margin:0 -8px;padding:0;list-style:none;display:flex}.home-row{border-radius:14px;align-items:center;gap:12px;height:56px;padding:8px;display:flex}.home-row:hover{background:var(--surface-2)}.home-row .avatar{width:40px;height:40px;font-size:13px}.home-row-body{flex-direction:column;flex:1;min-width:0;display:flex}.home-row-top{white-space:nowrap;justify-content:space-between;gap:10px;display:flex}.home-row-name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.home-row-last{color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.home-team-table{border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums;width:100%}.home-team-table th{color:var(--text-2);letter-spacing:.05em;text-align:left;text-transform:uppercase;white-space:nowrap;padding:0 8px 6px;font-size:11px;font-weight:600}.home-th-info{align-items:center;gap:4px;display:inline-flex}.home-team-table td{border-top:1px solid var(--border);padding:8px}.home-team-table .num{text-align:right;width:140px}.home-team-table td.num{font-size:15px}.home-team-table td.num.warn{color:var(--warn);font-weight:600}.home-member{align-items:center;gap:10px;min-width:0;display:flex}.home-member-tile{flex:none;position:relative}.home-dot{border:2px solid var(--surface);background:var(--border);border-radius:50%;width:11px;height:11px;position:absolute;bottom:-1px;right:-1px}.home-dot.on{background:var(--ok)}.home-member-text{flex-direction:column;min-width:0;display:flex}.home-member-name{align-items:center;gap:6px;min-width:0;display:flex}.home-top-seller{background:var(--warn-bg);color:var(--warn);white-space:nowrap;border-radius:999px;flex:none;padding:1px 7px;font-size:11px;font-weight:600}.home-member-text .muted{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.home-rings{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;padding:6px 0;display:grid}.home-revenue{gap:22px;padding:24px}.home-ring-col{align-items:flex-start;gap:24px;min-width:0;display:flex}.home-ring-facts{flex-direction:column;align-items:flex-start;gap:6px;min-width:0;padding-top:12px;display:flex}.home-sum{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:20px;font-weight:600}@property --p{syntax:"<percentage>";inherits:true;initial-value:0%}.home-ring{flex:none;place-items:center;width:104px;height:104px;transition:--p .9s cubic-bezier(.2,.8,.2,1);display:grid;position:relative}.home-ring b{font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:24px;font-weight:700;position:relative}.home-ring:before{background:conic-gradient(var(--c) var(--p), var(--border) 0);content:"";border-radius:50%;position:absolute;inset:0;-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 12px),#000 calc(100% - 11px));mask:radial-gradient(farthest-side,#0000 calc(100% - 12px),#000 calc(100% - 11px))}.home-ring.done:before{filter:drop-shadow(0 0 6px color-mix(in srgb, var(--c) 45%, transparent))}@media (prefers-reduced-motion:reduce){.home-ring{transition:none}}.home-owed{background:var(--warn-bg);color:var(--warn);border-radius:14px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:8px 8px 8px 14px;display:grid}.home-owed-stat{flex-direction:column;min-width:0;display:flex}.home-owed-stat+.home-owed-stat{border-left:1px solid color-mix(in srgb, var(--warn) 25%, transparent);padding-left:12px}.home-owed-stat b{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:15px}.home-owed-stat span{opacity:.8;font-size:11px}.home-owed-list{background:var(--surface);color:var(--warn);font:inherit;cursor:pointer;border:none;border-radius:999px;justify-self:end;padding:6px 12px;font-size:12px}.home-ring:after{background:conic-gradient(transparent var(--p), color-mix(in srgb, var(--accent) 55%, transparent) var(--p) var(--q), transparent var(--q));content:"";border-radius:50%;position:absolute;inset:0;-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 12px),#000 calc(100% - 11px));mask:radial-gradient(farthest-side,#0000 calc(100% - 12px),#000 calc(100% - 11px))}.home-potential{align-items:center;gap:6px;display:inline-flex}.home-potential i{background:color-mix(in srgb, var(--accent) 55%, transparent);border-radius:3px;flex:none;width:14px;height:6px}.home-pay-sum{font-variant-numeric:tabular-nums;font-weight:600}.home-plan{color:var(--text-2);font:inherit;cursor:pointer;background:0 0;border:none;border-bottom:1px dashed;padding:0;font-size:12px}.home-plan:hover{color:var(--accent)}.home-plan-wrap{display:inline-flex;position:relative}.home-money-input{z-index:5;border:1px solid var(--accent);background:var(--surface);height:36px;box-shadow:0 0 0 3px var(--accent-2), 0 10px 24px #00000024;border-radius:10px;align-items:center;gap:4px;padding:0 5px 0 12px;display:inline-flex;position:absolute;top:calc(100% + 6px);right:0}.home-money-input.bad{border-color:var(--bad);box-shadow:0 0 0 3px var(--bad-bg)}.home-money-input input{width:11.5ch;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;text-align:right;background:0 0;border:none;outline:none;padding:0;font-size:14px;font-weight:600}.home-money-currency{color:var(--text-2);font-size:13px}.home-money-currency+.home-money-btn{margin-left:8px}.home-money-btn+.home-money-btn{margin-left:4px}.home-money-btn{background:var(--surface-2);width:26px;height:26px;color:var(--text-2);cursor:pointer;border:none;border-radius:7px;place-items:center;padding:0;font-size:12px;display:grid}.home-money-btn svg{stroke-width:2px;width:14px;height:14px}.home-money-btn.ok{background:var(--accent);color:var(--on-accent)}.home-revenue-cell{flex-direction:column;align-items:flex-end;gap:2px;max-width:100%;display:inline-flex}.home-revenue-cell .muted,.home-revenue-cell .home-plan{white-space:nowrap}@media (width<=900px){.home,.home-rings{grid-template-columns:minmax(0,1fr)}.home-revenue,.home-team,.home-agent,.home-chats{grid-area:auto}.home-chats{height:420px}}.profile-avatar{background:var(--accent-2);width:72px;height:72px;color:var(--accent);border-radius:50%;flex:none;place-items:center;font-size:22px;font-weight:600;display:grid;overflow:hidden}.profile-avatar img{object-fit:cover;width:100%;height:100%}.profile dl{grid-template-columns:max-content 1fr;gap:8px 24px;margin:14px 0 0;display:grid}.profile dt{color:var(--text-2)}.profile dd{gap:6px;margin:0;display:flex}.profile-crop{background:var(--surface-2);border-radius:12px;width:260px;height:260px;position:relative;overflow:hidden}.profile-zoom{width:260px}.profile-actions{gap:8px;display:flex}.profile-busy{z-index:1;background:#00000059;place-items:center;display:grid;position:absolute;inset:0}.spinner{border:4px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:40px;height:40px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.home-tokens{background:var(--surface-2);border-radius:14px;flex-direction:column;gap:10px;padding:12px;display:flex}.home-tokens-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.token-new,.token-value{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.token-new .input{flex:180px}.home-tokens .input,.home-tokens .select-button{background:var(--surface)}.token-created{flex-direction:column;gap:8px;display:flex}.token-value .input{flex:220px;font:13px ui-monospace,SFMono-Regular,Menlo,monospace}.token-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.token-row{border-top:1px solid var(--border);align-items:center;gap:10px;padding:8px 0;display:flex}.token-row .muted{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.home-busy{color:var(--warn);align-items:center;gap:4px;font-size:12px;display:inline-flex}.home-agent{--agent:var(--accent)}.home-agent.warn{--agent:var(--warn)}.home-agent.over{--agent:var(--bad)}.home-agent-body{flex-direction:column;gap:10px;margin:auto 0;display:flex}.home-agent-sum{align-items:baseline;gap:6px;min-width:0;display:flex}.home-agent-sum b{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:26px;font-weight:600}.home-agent-sum a{color:var(--accent);white-space:nowrap;text-decoration:none}.home-agent-pct{font-variant-numeric:tabular-nums;margin-left:auto;font-weight:600}.home-agent-bar{background:var(--muted-bg);border-radius:5px;height:10px;overflow:hidden}.home-agent-bar span{background:var(--agent);border-radius:5px;height:100%;display:block}.home-agent-state{color:var(--ok);align-items:center;gap:8px;display:flex}.home-agent-state i{background:currentColor;border-radius:50%;flex:none;width:8px;height:8px}.home-agent.warn .home-agent-state,.home-agent.over .home-agent-state{color:var(--agent)}.kb{flex:1;min-width:0}.kb-pad{padding:14px 24px}.kb-head{flex-wrap:wrap;align-items:center;gap:14px;padding:20px 24px 0;display:flex}.kb-search{flex:260px;max-width:420px}.kb-head .button{margin-left:auto}.kb-head .button svg{width:18px;height:18px}.kb-tabs{border-bottom:1px solid var(--border);flex:none;gap:4px;padding:12px 24px 0;display:flex;overflow-x:auto}.kb-tab{color:var(--text-2);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;margin-bottom:-1px;padding:10px 14px}.kb-tab:hover{color:var(--text)}.kb-tab.on{border-bottom-color:var(--accent);color:var(--text);font-weight:600}.kb-empty{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:6px;padding:40px 24px;display:flex}.kb-body{flex:1;min-height:0;display:flex}.kb-side{border-right:1px solid var(--border);flex-direction:column;flex:none;gap:18px;width:260px;padding:18px 12px 24px 16px;display:flex;overflow-y:auto}.kb-group{flex-direction:column;gap:2px;display:flex}.kb-group h2,.kb-caption{color:var(--text-2);letter-spacing:.06em;text-transform:uppercase;margin:0 0 6px 10px;font-size:11px;font-weight:600}.kb-link{border-radius:10px;padding:7px 10px}.kb-link:hover{background:var(--surface-2)}.kb-link.on{background:var(--accent-2);color:var(--accent);font-weight:500}.kb-found{flex-direction:column;gap:4px;display:flex}.kb-found-item{border-radius:12px;flex-direction:column;gap:2px;padding:9px 10px;display:flex}.kb-found-item:hover{background:var(--surface-2)}.kb-found-title{font-weight:500}.kb-found-snippet{color:var(--text-2);font-size:12px}.kb-article{flex:1;align-items:flex-start;min-width:0;display:flex;overflow-y:auto}.kb-placeholder{color:var(--text-2);justify-content:center;align-items:center}.kb-main{flex:1;min-width:0;max-width:820px;padding:28px 48px 48px}.kb-title{letter-spacing:-.01em;margin:6px 0 4px;font-size:32px;font-weight:700;line-height:1.2}.kb-content{overflow-wrap:break-word;margin-top:24px;font-size:16px;line-height:1.65}.kb-content>*{margin:0 0 16px}.kb-content h2{margin-top:32px;scroll-margin-top:16px;font-size:22px}.kb-content h3{margin-top:24px;scroll-margin-top:16px;font-size:18px;font-weight:600}.kb-content h4,.kb-content h5,.kb-content h6{font-size:16px;font-weight:600}.kb-content a{color:var(--accent);text-underline-offset:2px;text-decoration:underline}.kb-content ul,.kb-content ol{padding-left:24px}.kb-content li+li{margin-top:4px}.kb-content li.kb-task{margin-left:-20px;list-style:none}.kb-content li.kb-task input{vertical-align:-2px;accent-color:var(--accent);margin:0 6px 0 0}.kb-content img{border-radius:12px;max-width:100%}.kb-content code{background:var(--surface-2);border-radius:6px;padding:1px 6px;font-size:.9em}.kb-content pre{background:var(--surface-2);border-radius:14px;padding:14px 16px;font-size:14px;overflow-x:auto}.kb-content pre code{background:0 0;padding:0}.kb-content blockquote{border-left:3px solid var(--border);color:var(--text-2);padding:12px 16px}.kb-content blockquote>:last-child{margin-bottom:0}.kb-content .kb-note{background:var(--accent-2);color:var(--text);border:none;border-radius:14px;font-size:15px}.kb-content .kb-note-tip{background:var(--ok-bg)}.kb-content .kb-note-warning{background:var(--warn-bg)}.kb-content .kb-note-caution{background:var(--bad-bg)}.kb-content table{border-collapse:collapse;max-width:100%;font-size:14px;display:block;overflow-x:auto}.kb-content th,.kb-content td{border:1px solid var(--border);text-align:left;padding:8px 12px}.kb-content th{background:var(--surface-2);font-weight:600}.kb-content hr{border:none;border-top:1px solid var(--border)}.kb-pager{gap:12px;margin-top:36px;display:flex}.kb-pager>*{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.kb-pager-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.kb-pager a{border:1px solid var(--border);border-radius:14px;padding:14px 16px;font-weight:500}.kb-pager a:hover{border-color:var(--accent)}.kb-pager-next{text-align:right}.kb-toc{flex-direction:column;flex:none;align-self:flex-start;gap:6px;width:210px;padding:32px 20px 24px 8px;font-size:13px;display:flex;position:sticky;top:0}.kb-toc hr{border:none;border-top:1px solid var(--border);width:100%;margin:8px 0}.kb-toc-item,.kb-action{color:var(--text-2);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;padding:2px 0 2px 10px;display:inline-flex}.kb-toc-item:hover,.kb-action:hover{color:var(--accent)}.kb-toc-item.level-3{padding-left:22px}.kb-action svg{width:16px;height:16px}.kb-action.danger:hover{color:var(--bad)}.kb-upload{border-radius:var(--radius);background:var(--surface);flex-direction:column;gap:16px;width:640px;max-width:100%;max-height:80vh;padding:22px 24px;display:flex;overflow-y:auto;box-shadow:0 24px 60px #00000038}.kb-upload-head{justify-content:space-between;align-items:center;display:flex}.kb-drop{border:2px dashed var(--border);background:var(--surface-2);text-align:center;border-radius:18px;flex-direction:column;align-items:center;gap:6px;padding:24px 20px;display:flex}.kb-drop.over{border-color:var(--accent);background:var(--accent-2)}.kb-drop>svg{width:28px;height:28px;color:var(--accent)}.kb-drop-buttons{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:6px;display:flex}.kb-upload-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.kb-upload-fields label{flex-direction:column;gap:6px;display:flex}.kb-files{border:1px solid var(--border);border-radius:14px;flex-direction:column;display:flex}.kb-file{align-items:center;gap:12px;padding:10px 14px;display:flex}.kb-file+.kb-file{border-top:1px solid var(--border)}.kb-file>svg{width:18px;height:18px;color:var(--text-2);flex:none}.kb-file-main{flex-direction:column;flex:1;min-width:0;display:flex}.kb-file-main .muted{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.kb-file-title{font-weight:500}.kb-badge{text-overflow:ellipsis;white-space:nowrap;border-radius:999px;flex:none;max-width:200px;padding:3px 10px;font-size:12px;font-weight:500;overflow:hidden}.kb-badge.ok{background:var(--ok-bg);color:var(--ok)}.kb-badge.warn{background:var(--warn-bg);color:var(--warn)}.kb-badge.bad{background:var(--bad-bg);color:var(--bad)}.kb-upload-foot{justify-content:flex-end;gap:10px;display:flex}@media (width<=1180px){.kb-article{flex-direction:column;align-items:stretch}.kb-toc{flex-flow:wrap;align-self:stretch;gap:16px;width:auto;padding:0 48px 32px;position:static}.kb-toc-item,.kb-toc .kb-caption,.kb-toc hr{display:none}.kb-action{padding-left:0}}@media (width<=760px){.kb-head{padding:14px 16px 0}.kb-head .button{margin-left:0}.kb-tabs{padding:8px 16px 0}.kb-side{border-right:none;flex:1;width:auto}.app.detail-open .kb-side,.app.detail-open .kb-head,.app.detail-open .kb-tabs,.app:not(.detail-open) .kb-article{display:none}.kb-main{padding:14px 16px 24px}.kb-toc{padding:0 16px 24px}.kb-upload-fields{grid-template-columns:minmax(0,1fr)}}.pl-code,.pl-item-side code,.pl-link code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.pl-link{border:1px solid var(--border);border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px;display:flex}.pl-link code{overflow-wrap:anywhere;flex:1;min-width:0;font-size:13px}.pl-grid2{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.pl-utm-optional{border-block:1px solid var(--border);flex-direction:column;gap:10px;padding:20px 0;display:flex}.pl-utm-optional .hint{margin:0}.pl-utm-optional .pl-grid2{margin-top:6px}.pl-links{background:var(--surface-2);border-radius:18px;flex-direction:column;gap:10px;padding:14px 18px;display:flex}.pl-links-row{grid-template-columns:240px minmax(0,1fr);align-items:center;gap:6px 12px;display:grid}.pl-links-row>.pl-label{grid-column:1/-1}.pl-links-row .pl-link{background:var(--surface);flex-wrap:nowrap;gap:6px;padding:4px 4px 4px 14px}.pl-links-row .select-button{background:var(--surface)}.pl-links-empty,.pl-links-wide{grid-column:1/-1;margin:0}.pl-links-row .pl-link code{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=760px){.pl-grid3,.pl-links-row{grid-template-columns:minmax(0,1fr)}}.pl-values{grid-template-columns:minmax(0,1fr) minmax(0,2fr) auto;align-items:center;gap:6px 8px;margin-top:8px;display:grid}.pl-value{display:contents}.pl-values>.hint{grid-column:1/-1}.pl-value.off>.input{opacity:.55}.pl-value.off .pl-value-archive,.pl-value-archive[aria-pressed=true]{color:var(--bad)}.pl-values-bar{justify-content:space-between;align-items:center;gap:8px;margin-top:8px;display:flex}.pl-grid3{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.pl-chips{flex-wrap:wrap;gap:6px;display:flex}.pl-chip{background:var(--surface);color:var(--text-2);cursor:pointer;border:0;border-radius:999px;padding:4px 10px;font:12px ui-monospace,SFMono-Regular,Menlo,monospace}.pl-chip.on{background:var(--accent-2);color:var(--accent)}.pl-tbox{flex-direction:column;margin-top:12px;display:flex;position:relative}.pl-pills{flex-wrap:wrap;gap:8px;display:flex}.pl-pill{border:1px solid var(--border);background:var(--surface-2);max-width:100%;color:var(--text);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:6px 10px 6px 14px;display:inline-flex}.pl-pill:hover{border-color:var(--text-2)}.pl-pill.on{border-color:var(--accent)}.pl-pill-name{white-space:nowrap;font-weight:500}.pl-pill-values{min-width:0;max-width:220px;color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;font:12px ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden}.set>.pl-pill-values{color:var(--accent)}.pl-pill-caret{color:var(--text-2);font-size:11px}.pl-pop{z-index:20;border:1px solid var(--border);background:var(--surface);border-radius:14px;flex-direction:column;gap:10px;width:340px;max-width:100%;padding:14px;display:flex;position:absolute;box-shadow:0 12px 32px #0000002e}.pl-pop-head{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.pl-pop-head code{color:var(--text-2);font-size:12px}.pl-pop .pl-chip{background:var(--accent-2)}.pl-pop-foot{border-top:1px solid var(--border);gap:14px;padding-top:10px;display:flex}.pl-pop-foot button{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:13px}.pl-pop-foot button:disabled{color:var(--text-2);opacity:.5;cursor:default}.pl-pop-foot .danger{color:var(--bad);margin-left:auto}.sc-add{align-self:flex-start}.sc-messages{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.sc-message{border:1px solid var(--border);background:var(--surface-2);border-radius:14px;flex-direction:column;gap:8px;padding:12px;display:flex}.sc-message-head{justify-content:space-between;align-items:center;display:flex}.sc-number{color:var(--text-2);font-weight:600}.sc-message-actions{gap:4px;display:flex}.sc-text{resize:vertical;background:var(--surface)}.sc-pictures{flex-wrap:wrap;gap:8px;display:flex}.sc-picture{background:var(--muted-bg);border-radius:10px;width:96px;height:96px;margin:0;position:relative;overflow:hidden}.sc-picture img{object-fit:cover;width:100%;height:100%;display:block}.sc-picture-actions{opacity:0;background:#00000073;justify-content:center;gap:2px;padding:2px;transition:opacity .15s;display:flex;position:absolute;inset:auto 0 0}.sc-picture:hover .sc-picture-actions,.sc-picture:focus-within .sc-picture-actions{opacity:1}.sc-picture-actions button{color:#fff;font:inherit;cursor:pointer;background:0 0;border:0;padding:2px 6px}.sc-picture-actions button:disabled{opacity:.4;cursor:default}.sc-picture-add{border:1px dashed var(--border);background:var(--surface);color:var(--text-2);font:inherit;cursor:pointer}.sc-picture a{width:100%;height:100%;display:block}.st-detail{flex-direction:column;gap:28px;display:flex}.st-address{flex-direction:column;gap:4px;display:flex}.st-address a{color:var(--accent);overflow-wrap:anywhere;align-self:flex-start}.st-address a:hover{text-decoration:underline}.st-slug{max-width:360px}.st-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.st-upload,.st-versions{flex-direction:column;gap:12px;display:flex}.st-warnings{background:var(--warn-bg);color:var(--warn);border-radius:12px;margin:0;padding:10px 14px 10px 30px;font-size:12px}.st-version-list{grid-template-columns:max-content 132px max-content minmax(80px,1fr) repeat(5,32px);column-gap:8px;margin:0;padding:0;list-style:none;display:grid}.st-version{grid-column:1/-1;grid-template-columns:subgrid;border-top:1px solid var(--border);align-items:center;padding:10px 0;font-size:13px;display:grid}.st-version-date{font-variant-numeric:tabular-nums;white-space:nowrap}.st-version-no,.st-version .pill{white-space:nowrap}.st-intro{color:var(--text-2);margin:0;font-size:14px;line-height:1.5}.st-version-who{text-align:center;text-overflow:ellipsis;white-space:nowrap;padding-left:16px;overflow:hidden}.st-version .button{justify-content:center}.st-howto{border-radius:var(--radius);background:var(--accent-2);flex-direction:column;gap:6px;margin-bottom:12px;padding:18px 22px;display:flex}.st-howto h3{color:var(--accent);margin:0;font-size:14px;font-weight:600}.st-howto-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.st-howto p{white-space:pre-wrap;margin:0;font-size:13px;line-height:1.5}.st-version-no{white-space:nowrap;font-weight:600}.st-version.on{border-radius:var(--radius);background:var(--accent-2);margin:0 -12px;padding-inline:12px}.st-version .pill{justify-self:start}.st-review svg{color:var(--text-2)}.st-review.ok svg{color:var(--ok)}.st-review.warn svg{color:var(--warn)}.st-review.bad svg{color:var(--bad)}.st-review.checking svg{animation:1s ease-in-out infinite st-pulse}@keyframes st-pulse{50%{opacity:.3}}.st-version .icon-button.st-review:disabled{opacity:1;cursor:default}.st-review-reasons{grid-column:1/-1;margin-top:8px}.st-head{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.st-url{background:var(--surface-2);color:var(--text);border-radius:10px;align-items:center;gap:8px;padding:7px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;text-decoration:none;display:inline-flex}a.st-url:hover{background:var(--accent-2);color:var(--accent)}.st-url.off{color:var(--text-2)}.st-url svg{flex:none;width:16px;height:16px}.st-progress{flex-direction:column;align-items:center;gap:10px;width:min(360px,100%);display:flex}.st-bar{background:var(--border);border-radius:6px;width:100%;height:6px;position:relative;overflow:hidden}.st-bar i{background:var(--accent);border-radius:6px;height:100%;transition:width .2s;display:block}.st-bar.running i{width:35%;animation:1.1s ease-in-out infinite st-run;position:absolute}@keyframes st-run{0%{left:-35%}to{left:100%}}.st-uploading svg{animation:1s ease-in-out infinite st-bob}@keyframes st-bob{50%{transform:translateY(-4px)}}.st-publish:not(:disabled) svg{color:var(--accent)}.st-version .icon-button:disabled{opacity:.35}.st-unpublish svg{color:var(--accent)}.st-version-date{justify-self:center}.st-archive.ok svg{color:var(--ok)}.st-archive.bad svg{color:var(--bad)}.st-ring{transform:rotate(-90deg)}.st-ring circle{fill:none;stroke-width:2.2px}.st-ring-track{stroke:var(--border)}.st-ring-fill{stroke:var(--accent);stroke-linecap:round;transition:stroke-dashoffset .2s}.st-ring.spinning{animation:.9s linear infinite st-spin}@keyframes st-spin{0%{transform:rotate(-90deg)}to{transform:rotate(270deg)}}.st-delete svg{color:var(--bad)}.st-head-wrap .st-head{margin-bottom:6px}.vk-banner img{border-radius:12px;max-width:100%;max-height:180px;margin-bottom:8px;display:block}.vk-banner-actions{align-items:center;gap:8px;display:flex}.vk-backdrop{z-index:50;background:#14182459;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.vk-dialog{box-sizing:border-box;background:var(--surface);border-radius:22px;flex-direction:column;gap:12px;width:min(400px,100%);max-height:calc(100vh - 32px);padding:18px 18px 20px;display:flex;overflow-y:auto}.vk-dialog-head{justify-content:space-between;align-items:center;display:flex}.vk-dialog-head h2{margin:0;font-size:18px;font-weight:500}.vk-phone{border:1px solid var(--border);color:#000;background:#fff;border-radius:24px;overflow:hidden}.vk-phone img{width:100%;display:block}.vk-phone-body{padding:16px;font-size:14px;line-height:1.45}.vk-phone-body h2{margin:0 0 10px;font-size:18px}.vk-phone-body p,.vk-phone-body ul{white-space:pre-line;margin:0 0 10px}.vk-phone-body ul{white-space:normal;padding-left:20px}.vk-phone-button{text-align:center;color:#fff;background:#07f;border-radius:10px;padding:11px;font-weight:600}.vk-phone-body .vk-phone-consent{color:#818c99;text-align:center;margin:10px 0 0;font-size:11px}.vk-phone-body strong{font-weight:700}.vk-step{border:1px solid var(--border);border-radius:18px;flex-direction:column;gap:16px;padding:18px 20px 20px;display:flex}.vk-step h3{align-items:center;gap:10px;margin:0;font-size:16px;font-weight:500;display:flex}.vk-step-n{background:var(--accent-2);width:24px;height:24px;color:var(--accent);border-radius:50%;place-items:center;font-size:13px;font-weight:600;display:grid}
