:root{color-scheme:light;--bg: #f4f4f1;--surface: #fcfcfb;--surface-2: #f0efec;--border: rgba(11, 11, 11, .1);--text: #0b0b0b;--text-2: #52514e;--muted: #898781;--grid: #e1e0d9;--axis: #c3c2b7;--brand: #0a57e3;--primary: #2a78d6;--primary-hover: #256abf;--primary-soft: #e6f0fc;--danger: #d03b3b;--ok: #006300;--ok-soft: #e5f4e5;--warn-soft: #fff4dc;--err-soft: #fbe9e9;--ig: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);--st-new: #2a78d6;--st-talk: #eb6834;--st-warm: #eda100;--st-cold: #6250d6;--st-sold: #1baf7a;--st-cancel: #898781;--radius: 10px;--shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 2px 8px rgba(0, 0, 0, .04)}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){color-scheme:dark;--bg: #0d0d0d;--surface: #1a1a19;--surface-2: #242422;--border: rgba(255, 255, 255, .1);--text: #f0efec;--text-2: #c3c2b7;--muted: #898781;--grid: #2c2c2a;--axis: #383835;--brand: #4b8ff5;--primary: #3987e5;--primary-hover: #5598e7;--primary-soft: #16263a;--ok: #0ca30c;--ok-soft: #142614;--warn-soft: #2d2410;--err-soft: #2e1616;--st-new: #3987e5;--st-talk: #d95926;--st-warm: #c98500;--st-cold: #9085e9;--st-sold: #199e70}}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3{margin:0;font-weight:650}h1{font-size:22px}h2{font-size:18px}h3{font-size:15px;margin-bottom:12px}code{background:var(--surface-2);padding:2px 6px;border-radius:5px;font-size:12.5px;word-break:break-all}.muted{color:var(--muted)}.small{font-size:12.5px}.center{text-align:center}.grow{flex:1;min-width:0}.splash{display:grid;place-items:center;height:100%;color:var(--muted)}input,select,textarea{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:8px 10px;width:100%;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}textarea{resize:vertical}input[type=checkbox]{width:auto}label{display:flex;flex-direction:column;gap:5px;font-size:13px;color:var(--text-2);font-weight:500}label.check{flex-direction:row;align-items:flex-start;gap:10px;color:var(--text);font-weight:400}label.check input{margin-top:3px}.hint{font-weight:400;color:var(--muted);font-size:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;font:inherit;font-weight:550;cursor:pointer;white-space:nowrap;padding:8px 14px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text)}.btn:hover{background:var(--surface-2);text-decoration:none}.btn:disabled{opacity:.55;cursor:default}.btn-primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover)}.btn-danger-ghost{color:var(--danger)}.btn-link{border:none;background:none;color:var(--primary);padding:8px 4px}.btn-sm{padding:4px 10px;font-size:12.5px}.btn-block{width:100%}.btn-payme{background:#00baba;border-color:#00baba}.icon-btn{border:none;background:none;cursor:pointer;font-size:16px;color:var(--text-2);padding:6px;border-radius:6px;line-height:1}.icon-btn:hover{background:var(--surface-2)}.alert{padding:10px 12px;border-radius:8px;margin-bottom:12px}.alert.small{margin:8px 12px 0;font-size:12.5px}.alert-error{background:var(--err-soft);color:var(--danger)}.alert-ok{background:var(--ok-soft);color:var(--ok)}.alert-warn{background:var(--warn-soft);color:var(--text)}.pill{background:var(--danger);color:#fff;border-radius:10px;font-size:11px;font-weight:700;padding:1px 7px;min-width:20px;text-align:center}.tag{background:var(--primary-soft);color:var(--primary);font-size:12px;border-radius:6px;padding:2px 8px;font-weight:600;vertical-align:middle}.empty{color:var(--muted);text-align:center;padding:40px 16px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow);margin-bottom:16px}.form{display:flex;flex-direction:column;gap:12px}.row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.inline-form{display:flex;gap:8px;margin-top:12px}.avatar{display:inline-grid;place-items:center;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-weight:700;flex-shrink:0;object-fit:cover}.shell{display:flex;height:100%}.sidebar{width:232px;flex-shrink:0;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:14px 10px}.brand{display:flex;align-items:center;gap:10px;padding:4px 8px 16px}.logo{width:34px;height:34px;border-radius:9px;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:800;font-size:17px;flex-shrink:0}.brand-name{font-weight:750;font-size:16px}.brand-name.big{font-size:22px}.logo-mark{display:block;flex-shrink:0;object-fit:contain;-webkit-user-select:none;user-select:none}.wordmark{font-weight:800;letter-spacing:-.015em;color:var(--text);white-space:nowrap}.wordmark b{font-weight:800;color:var(--brand)}.topbar-mobile .wordmark{font-size:16px}.mock-app-img{width:34px;height:34px;object-fit:contain}.brand-sub{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}.sidebar nav{display:flex;flex-direction:column;gap:2px;flex:1}.sidebar nav a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;color:var(--text-2);font-weight:500}.sidebar nav a:hover{background:var(--surface-2);text-decoration:none}.sidebar nav a.active{background:var(--primary-soft);color:var(--primary)}.nav-icon{width:20px;text-align:center}.me{display:flex;align-items:center;gap:10px;padding:10px 6px 2px;border-top:1px solid var(--border)}.me-info{flex:1;min-width:0}.me-name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.me-role{font-size:12px;color:var(--muted)}.main{flex:1;min-width:0;overflow:auto;display:flex;flex-direction:column}.topbar-mobile{display:none}.banner{background:var(--warn-soft);padding:8px 24px;font-size:13px;border-bottom:1px solid var(--border)}.page{padding:20px 24px}.page.narrow{max-width:760px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.locked{display:grid;place-items:center;flex:1;padding:24px}.locked-card{max-width:480px;text-align:center;display:flex;flex-direction:column;gap:12px;align-items:center}.auth-page{min-height:100%;display:grid;place-items:center;padding:24px 16px}.auth-card{width:100%;max-width:420px;display:flex;flex-direction:column;gap:14px;padding:28px}.auth-brand{padding:0}.page-board{display:flex;flex-direction:column;height:100%;min-height:0}.filters{display:flex;gap:8px;flex-wrap:wrap}.filters .search{width:260px}.filters select{width:auto}.board{flex:1;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,1fr);gap:12px;overflow-x:auto;min-height:0;padding-bottom:8px}.column{background:var(--surface-2);border-radius:var(--radius);display:flex;flex-direction:column;min-height:0;border:2px solid transparent;transition:border-color .15s}.column.drag-over{border-color:var(--primary);background:var(--primary-soft)}.column-head{display:flex;align-items:center;gap:8px;padding:12px 12px 4px;font-weight:650}.column-dot{width:10px;height:10px;border-radius:50%;background:var(--col)}.column-title{flex:1}.column-count{color:var(--muted);font-weight:600;font-size:13px}.column-sum{font-size:12px;color:var(--text-2);padding:0 12px 0 30px}.column-body{flex:1;overflow-y:auto;padding:8px;display:flex;flex-direction:column;gap:8px}.column-empty{color:var(--muted);text-align:center;font-size:12.5px;padding:18px 0}.lead-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:10px;cursor:pointer;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:6px}.lead-card:hover{border-color:var(--primary)}.lead-card:active{cursor:grabbing}.lead-card-top{display:flex;align-items:center;gap:8px}.lead-name{font-weight:600;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lead-msg{font-size:12.5px;color:var(--text-2);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.lead-phone{font-size:12.5px;color:var(--text-2)}.lead-card-foot{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--muted);flex-wrap:wrap}.lead-amount{color:var(--ok);font-weight:600}.lead-assignee{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--text-2)}.source b{font-size:10px;background:var(--surface-2);color:var(--text-2);border-radius:4px;padding:1px 5px;font-weight:700}.source-ig b{background:var(--ig);color:#fff}.drawer-wrap{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:40;display:flex;justify-content:flex-end}.drawer{width:100%;max-width:560px;background:var(--surface);height:100%;display:flex;flex-direction:column;box-shadow:-8px 0 24px #0000001f;animation:slide .18s ease-out}@keyframes slide{0%{transform:translate(30px);opacity:0}}.drawer-head{display:flex;gap:12px;align-items:flex-start;padding:16px;border-bottom:1px solid var(--border)}.drawer-title{flex:1;min-width:0}.drawer-title h3{margin:0 0 4px;font-size:17px}.drawer-sub{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12.5px}.drawer-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 16px}.readonly{padding:8px 0;color:var(--text);font-weight:500}.drawer-body{padding:16px;overflow-y:auto;flex:1}.drawer>.alert{margin:8px 16px 0}.tabs{display:flex;gap:4px;padding:0 16px;border-bottom:1px solid var(--border)}.tabs button{font:inherit;font-weight:550;background:none;border:none;border-bottom:2px solid transparent;padding:10px 8px;cursor:pointer;color:var(--text-2);display:flex;gap:6px;align-items:center}.tabs button.active{color:var(--primary);border-bottom-color:var(--primary)}.comment-form{display:flex;gap:8px;margin-bottom:16px}.timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.timeline li{padding:8px 0 8px 16px;border-left:2px solid var(--grid);position:relative}.timeline li:before{content:"";position:absolute;left:-5px;top:13px;width:8px;height:8px;border-radius:50%;background:var(--axis)}.timeline li.is-comment .tl-text{background:var(--warn-soft);padding:6px 10px;border-radius:8px;white-space:pre-wrap}.tl-meta{font-size:12px;color:var(--muted);margin-top:2px}.chat{display:flex;flex-direction:column;flex:1;min-height:0}.chat-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:6px;background:var(--bg)}.bubble-row{display:flex}.bubble-row.out{justify-content:flex-end}.bubble{max-width:78%;padding:8px 12px;border-radius:14px;background:var(--surface);border:1px solid var(--border)}.bubble-row.out .bubble{background:var(--primary);color:#fff;border-color:var(--primary)}.bubble-text{white-space:pre-wrap;word-wrap:break-word}.bubble-meta{font-size:11px;opacity:.7;margin-top:3px}.bubble-img{max-width:220px;border-radius:8px;display:block;margin-top:4px}.bubble-file{color:inherit;text-decoration:underline}.chat-input{display:flex;gap:8px;padding:12px;border-top:1px solid var(--border);align-items:flex-end}.page-inbox{display:flex;flex-direction:column;height:100%;min-height:0}.inbox{flex:1;display:grid;grid-template-columns:320px 1fr;gap:12px;min-height:0}.inbox .card{margin:0;padding:0;overflow:hidden;display:flex;flex-direction:column;min-height:0}.inbox-list{overflow-y:auto!important}.inbox-list .search{margin:10px;width:calc(100% - 20px)}.conv{display:flex;gap:10px;align-items:center;padding:10px 12px;border:none;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer;border-top:1px solid var(--border)}.conv:hover{background:var(--surface-2)}.conv.active{background:var(--primary-soft)}.conv-body{flex:1;min-width:0}.conv-top,.conv-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center}.conv-text{color:var(--text-2);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inbox-chat-head{display:flex;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid var(--border)}.inbox-chat-head select{width:auto}.table{width:100%;border-collapse:collapse}.table th{text-align:left;font-size:12px;color:var(--muted);font-weight:600;padding:8px 10px;border-bottom:1px solid var(--border);white-space:nowrap}.table td{padding:10px;border-bottom:1px solid var(--border);vertical-align:middle}.table tr:last-child td{border-bottom:none}.table .num{text-align:right;font-variant-numeric:tabular-nums}.table-scroll{overflow-x:auto}.row-muted td{opacity:.55}.row-actions{display:flex;gap:6px;justify-content:flex-end}.user-cell{display:flex;align-items:center;gap:10px}.role{font-size:12px;font-weight:600;padding:2px 8px;border-radius:6px;background:var(--surface-2)}.role-admin{background:var(--primary-soft);color:var(--primary)}.roles-help p{margin:4px 0}.quick-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.quick-steps div{display:flex;gap:10px;align-items:center;background:var(--surface-2);border-radius:8px;padding:10px 12px;font-size:13px;color:var(--text-2)}.quick-steps span{flex-shrink:0;width:24px;height:24px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:700;font-size:12px}.btn-fb{background:#1877f2;border-color:#1877f2}.btn-fb:hover{background:#166fe5}.manual-form{margin-top:12px}.page-pick{display:grid;gap:8px}.page-option{display:flex;align-items:center;gap:12px;text-align:left;font:inherit;color:inherit;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:10px 12px;cursor:pointer}.page-option:hover{border-color:var(--primary)}.page-option small{display:block;color:var(--muted);font-size:12px}.guide-wrap{margin-top:14px;border-top:1px solid var(--border);padding-top:4px}.guide-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;font:inherit;font-weight:600;background:none;border:none;color:var(--primary);cursor:pointer;padding:10px 0}.guide-chev{font-size:12.5px;color:var(--muted);font-weight:500}.guide-tabs{display:flex;gap:4px;margin-bottom:14px;border-bottom:1px solid var(--border)}.guide-tabs button{font:inherit;font-weight:600;background:none;border:none;border-bottom:2px solid transparent;padding:8px 10px;cursor:pointer;color:var(--text-2)}.guide-tabs button.active{color:var(--primary);border-bottom-color:var(--primary)}.guide-steps{list-style:none;margin:0;padding:0;display:grid;gap:14px}.guide-step{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:center;background:var(--bg);border-radius:12px;padding:18px}.guide-text{display:flex;gap:14px;align-items:flex-start}.guide-num{flex-shrink:0;width:32px;height:32px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:800}.guide-text h4{margin:4px 0 6px;font-size:15.5px}.guide-text p{margin:0 0 8px;color:var(--text-2);line-height:1.55}.guide-path{display:flex;flex-wrap:wrap;gap:4px 0;align-items:center;font-size:13px;margin:6px 0}.guide-path b{background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:3px 8px;font-weight:600}.guide-arrow{color:var(--muted);margin:0 5px}.guide-alt{font-size:12px;color:var(--muted);margin-top:6px}.guide-tip{font-size:12.5px;background:var(--warn-soft);border-radius:8px;padding:8px 10px;margin-top:8px;color:var(--text)}.guide-shot{display:flex;justify-content:center}.shot-img{max-width:100%;max-height:420px;border-radius:10px;border:1px solid var(--border);box-shadow:var(--shadow)}.guide-trouble{display:grid;gap:8px}.guide-trouble details{background:var(--bg);border-radius:10px;padding:12px 14px}.guide-trouble summary{cursor:pointer;font-weight:600}.guide-trouble details>div{margin-top:8px;color:var(--text-2);line-height:1.55}.guide-trouble ul{margin:0;padding-left:18px;display:grid;gap:4px}.mock-phone{width:250px;background:var(--surface);border:7px solid #1f2937;border-radius:30px;overflow:hidden;box-shadow:0 10px 30px #00000026;font-size:12.5px}.mock-phone-notch{width:80px;height:16px;background:#1f2937;border-radius:0 0 10px 10px;margin:0 auto 4px}.mock-phone-head{display:flex;align-items:center;gap:8px;padding:6px 12px 10px;border-bottom:1px solid var(--border)}.mock-back{font-size:20px;line-height:1;color:var(--text-2)}.mock-phone-body{padding:4px 0 10px;min-height:180px}.mock-row{position:relative;display:flex;align-items:center;gap:10px;padding:9px 12px}.mock-row.section{font-size:11px;color:var(--muted);padding:10px 12px 2px;font-weight:600}.mock-row.dim{opacity:.45}.mock-row.hl{background:var(--primary-soft);outline:2px solid var(--primary);outline-offset:-2px;border-radius:8px;margin:2px 6px}.mock-icon{width:20px;text-align:center}.mock-label{flex:1;min-width:0}.mock-label small{display:block;color:var(--muted);font-size:11px;line-height:1.35;margin-top:2px}.mock-chev{color:var(--muted);font-size:16px}.mock-toggle{width:34px;height:20px;border-radius:10px;background:var(--axis);position:relative;flex-shrink:0}.mock-toggle:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff}.mock-toggle.on{background:var(--primary)}.mock-toggle.on:after{left:16px}.mock-tap{position:absolute;right:-2px;bottom:-10px;font-size:18px}.mock-footer{font-size:11px;color:var(--muted);padding:8px 12px;line-height:1.4}.mock-browser{width:100%;max-width:320px;background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden;box-shadow:0 10px 30px #0000001f;font-size:12.5px}.mock-browser-bar{display:flex;align-items:center;gap:5px;padding:7px 10px;background:var(--surface-2);border-bottom:1px solid var(--border)}.mock-browser-bar .dot{width:9px;height:9px;border-radius:50%}.mock-url{flex:1;margin-left:6px;background:var(--surface);border-radius:6px;padding:2px 8px;font-size:11px;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mock-browser-body{padding:14px;display:grid;gap:10px;justify-items:start}.mock-card{display:flex;gap:10px;align-items:center;width:100%}.mock-ig{width:30px;height:30px;border-radius:8px;background:var(--ig);color:#fff;display:inline-grid;place-items:center;font-weight:800;font-size:11px;flex-shrink:0}.mock-ig.fb{background:#1877f2;font-size:15px}.mock-ig.big{width:44px;height:44px;font-size:22px;border-radius:10px}.mock-muted{color:var(--muted);font-size:11.5px}.mock-btn{display:inline-block;border:1px solid var(--border);border-radius:7px;padding:6px 12px;font-weight:600;font-size:12px;background:var(--surface)}.mock-btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.mock-btn.hl,.mock-item.hl,.mock-lead.hl{box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 35%,transparent)}.mock-consent{display:grid;gap:8px;width:100%}.mock-consent-apps{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:4px}.mock-app{width:34px;height:34px;border-radius:9px;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:800}.mock-app.alt{background:var(--ig)}.mock-dots{color:var(--muted)}.mock-consent ul{list-style:none;margin:0;padding:0;display:grid;gap:4px;color:var(--text-2)}.mock-consent-note{font-size:11px;color:var(--muted)}.mock-consent-btns{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.mock-check{border:1px solid var(--border);border-radius:7px;padding:7px 10px}.mock-check.on{border-color:var(--primary);background:var(--primary-soft)}.mock-check small,.mock-item small{display:block;color:var(--muted);font-size:11px}.mock-item{border:1px solid var(--border);border-radius:7px;padding:7px 10px;width:100%}.mock-title{font-size:13px}.mock-split{display:grid;grid-template-columns:100px 1fr;gap:10px;width:100%}.mock-side{display:grid;gap:5px;font-size:11px;color:var(--muted);align-content:start}.mock-side .on{color:var(--primary);font-weight:600}.mock-main{display:grid;gap:8px;justify-items:start}.mock-kanban{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.mock-col{background:var(--surface-2);border-radius:8px;padding:6px;display:grid;gap:6px;align-content:start;min-height:90px}.mock-col-h{display:flex;align-items:center;gap:5px;font-weight:700;font-size:11.5px}.mock-col-h i{width:7px;height:7px;border-radius:50%}.mock-col-h span{color:var(--muted);margin-left:auto}.mock-lead{background:var(--surface);border:1px solid var(--primary);border-radius:6px;padding:6px 8px;display:grid;gap:2px}.mock-lead span{color:var(--text-2);font-size:11.5px}.mock-lead small{color:var(--muted);font-size:10.5px}.mock-lead em{font-style:normal;background:var(--ig);color:#fff;border-radius:3px;padding:0 4px;font-weight:700;font-size:9.5px}.mock-form{display:grid;gap:8px;width:100%}.mock-form label{display:flex;flex-direction:row;justify-content:space-between;align-items:center;font-size:12px}.mock-form label span{border:1px solid var(--border);border-radius:6px;padding:4px 8px;color:var(--text);font-weight:400}@media (max-width: 900px){.guide-step,.quick-steps{grid-template-columns:1fr}}.label-like{font-size:13px;color:var(--text-2);font-weight:500;margin-bottom:4px}.periods-table{max-width:560px;margin-bottom:8px}.periods-table td{padding:6px 8px}.periods-table input{max-width:110px}.integ-logo.tc{background:#0f766e;font-size:14px}.extend-form{display:inline-flex;align-items:center;gap:6px}.extend-form input{width:72px;padding:4px 8px;font-size:12.5px;text-align:right}.secret-row{display:flex;gap:8px;align-items:center}.copy-field{display:flex;gap:8px;align-items:center;margin:6px 0 8px}.copy-field code{flex:1;padding:7px 10px}.status-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.status-tabs button{font:inherit;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:20px;border:1px solid var(--border);background:var(--surface);color:var(--text-2);cursor:pointer;font-weight:550}.status-tabs button:hover{background:var(--surface-2)}.status-tabs button.active{background:var(--primary-soft);border-color:var(--primary);color:var(--primary)}.status-tabs i{width:8px;height:8px;border-radius:50%;display:inline-block}.status-tabs span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.clients-card{padding:0}.clients-table th:first-child,.clients-table td:first-child{padding-left:16px}.table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.table th.sortable:hover{color:var(--text)}.table tr.clickable{cursor:pointer}.table tr.clickable:hover td{background:var(--surface-2)}.client-name{font-weight:600;display:flex;align-items:center;gap:6px}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:7px;vertical-align:1px}.nowrap{white-space:nowrap}.pager{display:flex;justify-content:center;align-items:center;gap:12px;margin-bottom:16px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:4px}.stat-label{font-size:12.5px;color:var(--text-2)}.stat-value{font-size:24px;font-weight:650;margin:4px 0 2px}.stat-sub{font-size:12px;color:var(--muted)}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.seg{display:inline-flex;background:var(--surface-2);border-radius:8px;padding:3px;gap:2px;flex-wrap:wrap}.seg button{font:inherit;border:none;background:none;padding:6px 12px;border-radius:6px;cursor:pointer;color:var(--text-2);font-weight:550}.seg button.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.chart-wrap{position:relative}.chart{width:100%;height:auto;display:block}.chart .grid{stroke:var(--grid);stroke-width:1}.chart .axis{stroke:var(--axis);stroke-width:1}.chart .tick{fill:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.chart .bar{fill:var(--primary)}.chart .bar-hover{fill:var(--primary-hover)}.tooltip{position:absolute;top:0;transform:translate(-50%);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:8px;padding:6px 10px;font-size:12.5px;pointer-events:none;white-space:nowrap}.barlist{display:flex;flex-direction:column;gap:8px}.barlist-row{display:grid;grid-template-columns:140px 1fr 48px;gap:10px;align-items:center;font-size:13px}.barlist-track{height:10px;background:var(--surface-2);border-radius:4px;overflow:hidden}.barlist-fill{display:block;height:100%;background:var(--primary);border-radius:0 4px 4px 0}.barlist-value{text-align:right;font-variant-numeric:tabular-nums}.integ-head{display:flex;gap:14px;align-items:flex-start}.integ-head p{margin:0}.integ-head h3{margin-bottom:4px}.integ-logo{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;color:#fff;font-weight:800;flex-shrink:0}.integ-logo.ig{background:var(--ig)}.integ-logo.ad{background:#1877f2}.integ-logo.test{background:var(--surface-2);color:var(--text-2)}.integ-body{margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}.status-tag{font-size:12.5px;font-weight:600;color:var(--muted);white-space:nowrap}.status-tag.on{color:var(--ok)}.ig-account{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.steps{margin:0 0 12px;padding-left:20px;color:var(--text-2)}.steps li{margin-bottom:4px}.sub-status{display:flex;gap:40px;flex-wrap:wrap}.sub-status.expired{border-color:var(--danger);background:var(--err-soft)}.sub-plan{font-size:18px;font-weight:650}.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.plan{display:flex;flex-direction:column;gap:8px}.plan h3{margin:0}.plan-current{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.plan-price{font-size:22px;font-weight:700}.plan-price .muted{font-size:14px;font-weight:400}.plan-features{margin:0;padding-left:18px;color:var(--text-2);flex:1}.plan-total{padding:8px 0}.checklist{list-style:none;padding:0;margin:0 0 14px;display:grid;gap:6px}.checklist li span{display:inline-block;width:18px;font-weight:800}.checklist .ok span{color:var(--ok)}.checklist .no span{color:var(--danger)}.kv{display:grid;gap:8px}.kv div{display:grid;grid-template-columns:220px 1fr;gap:10px;align-items:center}.kv span{color:var(--text-2);font-size:13px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;display:grid;place-items:center;z-index:50;padding:16px}.modal{background:var(--surface);border-radius:12px;width:100%;padding:20px;box-shadow:0 10px 40px #0003;max-height:90vh;overflow-y:auto}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.modal-head h3{margin:0}.auth-brand{color:var(--text)}.auth-brand:hover{text-decoration:none}.lp{background:var(--surface);min-height:100%;scroll-behavior:smooth}html:has(.lp){scroll-behavior:smooth;scroll-padding-top:72px}.lp-wrap{max-width:1120px;margin:0 auto;padding:0 24px}.lp-narrow{max-width:780px}.lp-center{display:flex;justify-content:center;margin-bottom:24px}.btn-lg{padding:12px 22px;font-size:15px}.lp-header{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--surface) 88%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}.lp-header-in{display:flex;align-items:center;gap:32px;height:64px}.lp-logo{display:flex;align-items:center;gap:10px;font-size:22px}.lp-logo:hover{text-decoration:none}.lp-nav{display:flex;gap:24px;flex:1}.lp-nav a{color:var(--text-2);font-weight:550}.lp-nav a:hover{color:var(--text);text-decoration:none}.lp-header-cta{display:flex;gap:8px}.lp-hero{background:linear-gradient(180deg,var(--primary-soft) 0%,var(--surface) 100%);padding:64px 0 80px}.lp-hero-in{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:center}.lp-badge{display:inline-block;background:var(--surface);color:var(--primary);border:1px solid color-mix(in srgb,var(--primary) 25%,transparent);padding:5px 12px;border-radius:20px;font-size:13px;font-weight:600}.lp-hero h1{font-size:44px;line-height:1.12;letter-spacing:-.02em;margin:18px 0 16px;font-weight:800;text-wrap:balance}.lp-lead{font-size:17px;color:var(--text-2);margin:0 0 20px;line-height:1.55}.lp-checks{list-style:none;padding:0;margin:0 0 20px;display:grid;gap:8px}.lp-checks li{padding-left:26px;position:relative}.lp-checks li:before{content:"✓";position:absolute;left:2px;color:var(--ok);font-weight:800}.lp-price-hint{font-size:16px;margin:0 0 20px}.lp-hero-cta{display:flex;gap:10px;flex-wrap:wrap}.lp-mock{background:var(--surface);border-radius:14px;border:1px solid var(--border);box-shadow:0 24px 60px #2a78d62e,0 4px 12px #0000000f;overflow:hidden}.lp-mock-bar{display:flex;align-items:center;gap:6px;padding:10px 14px;background:#1f2937}.lp-mock-bar .dot{width:11px;height:11px;border-radius:50%}.dot.r{background:#ef4444}.dot.y{background:#f59e0b}.dot.g{background:#22c55e}.lp-mock-title{color:#cbd5e1;font-size:12.5px;margin-left:8px}.lp-mock-body{padding:18px;background:var(--bg)}.lp-dm{display:flex;gap:10px;align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:10px 12px;font-size:13px;max-width:300px}.lp-ig{width:34px;height:34px;border-radius:9px;background:var(--ig);color:#fff;display:grid;place-items:center;font-weight:800;font-size:12px;flex-shrink:0}.lp-arrow{font-size:12.5px;color:var(--primary);font-weight:600;margin:10px 0 10px 14px}.lp-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.lp-col{background:var(--surface-2);border-radius:10px;padding:8px;display:grid;gap:6px;align-content:start}.lp-col-head{font-size:12px;font-weight:700;display:flex;align-items:center;gap:6px;padding:2px 2px 4px}.lp-col-head i{width:8px;height:8px;border-radius:50%}.lp-card{background:var(--surface);border:1px solid var(--border);border-radius:7px;padding:7px 8px;display:grid;font-size:12px}.lp-card span{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lp-card.fresh{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft);animation:lp-pop 2.4s ease-in-out infinite}@keyframes lp-pop{0%,to{transform:none}50%{transform:translateY(-2px)}}@media (prefers-reduced-motion: reduce){.lp-card.fresh{animation:none}}.lp-section{padding:80px 0}.lp-alt{background:var(--bg)}.lp-h2{font-size:32px;text-align:center;letter-spacing:-.01em;margin-bottom:40px;font-weight:800}.lp-sub{text-align:center;color:var(--text-2);margin:-28px 0 24px}.lp-features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.lp-feature{border:1px solid var(--border);border-radius:12px;padding:22px;background:var(--surface)}.lp-feature-icon{font-size:22px;display:inline-grid;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--primary-soft);color:var(--primary)}.lp-feature h3{font-size:17px;margin:14px 0 6px}.lp-feature p,.lp-step p{margin:0;color:var(--text-2);line-height:1.55}.lp-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.lp-step{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:22px}.lp-step-n{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--primary);color:#fff;font-weight:800}.lp-step h3{font-size:17px;margin:14px 0 6px}.lp-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:start}.lp-plan{position:relative;border:1px solid var(--border);border-radius:14px;padding:26px;display:flex;flex-direction:column;gap:8px;background:var(--surface)}.lp-plan.featured{border:2px solid var(--primary);box-shadow:0 16px 40px #2a78d624}.lp-plan-tag{position:absolute;top:-12px;left:24px;background:var(--primary);color:#fff;font-size:12px;font-weight:700;padding:3px 10px;border-radius:20px}.lp-plan h3{margin:0;font-size:18px}.lp-plan-price{font-size:30px;font-weight:800;letter-spacing:-.01em}.lp-plan-price span{font-size:15px;font-weight:400;color:var(--muted)}.lp-plan-old{color:var(--muted);text-decoration:line-through;font-size:14px;margin-top:-6px}.lp-plan p{margin:0}.lp-plan ul{list-style:none;padding:0;margin:8px 0 16px;display:grid;gap:8px}.lp-plan li{padding-left:24px;position:relative;color:var(--text-2)}.lp-plan li:before{content:"✓";position:absolute;left:0;color:var(--ok);font-weight:800}.lp-faq{display:grid;gap:10px}.lp-faq-item{background:var(--surface);border:1px solid var(--border);border-radius:12px}.lp-faq-item button{width:100%;display:flex;justify-content:space-between;gap:16px;align-items:center;text-align:left;font:inherit;font-size:15.5px;font-weight:650;background:none;border:none;padding:16px 20px;cursor:pointer;color:var(--text)}.lp-faq-item button span{font-size:20px;color:var(--primary)}.lp-faq-item p{margin:0;padding:0 20px 18px;color:var(--text-2);line-height:1.6}.lp-final{background:var(--primary);color:#fff;border-radius:18px;padding:48px 32px;text-align:center}.lp-final h2{font-size:28px;font-weight:800;text-wrap:balance}.lp-final p{margin:10px 0 24px;opacity:.9;font-size:16px}.lp-final-btn{background:#fff;color:var(--primary);border-color:#fff}.lp-final-btn:hover{background:#eef4fd}.lp-footer{border-top:1px solid var(--border);padding:24px 0;color:var(--muted);font-size:13.5px}.lp-footer-in{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.lp-footer nav{display:flex;gap:20px}.lp-footer a{color:var(--text-2)}@media (max-width: 960px){.lp-hero-in{grid-template-columns:1fr;gap:40px}.lp-hero h1{font-size:34px}.lp-features,.lp-plans,.lp-steps{grid-template-columns:1fr 1fr}.lp-nav{display:none}.lp-header-in{justify-content:space-between}}@media (max-width: 600px){.lp-wrap{padding:0 16px}.lp-hero{padding:40px 0 56px}.lp-hero h1{font-size:28px}.lp-section{padding:56px 0}.lp-h2{font-size:25px;margin-bottom:28px}.lp-features,.lp-plans,.lp-steps{grid-template-columns:1fr}.lp-header-cta .btn:first-child{display:none}.lp-cols{grid-template-columns:1fr 1fr}.lp-cols .lp-col:last-child{display:none}}@media (max-width: 900px){.sidebar{position:fixed;z-index:60;inset:0 auto 0 0;transform:translate(-100%);transition:transform .2s}.sidebar.open{transform:none;box-shadow:4px 0 24px #0003}.sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:55}.topbar-mobile{display:flex;align-items:center;gap:8px;padding:8px 16px;background:var(--surface);border-bottom:1px solid var(--border)}.page{padding:16px}.stats{grid-template-columns:1fr 1fr}.grid2,.plans{grid-template-columns:1fr}.inbox{grid-template-columns:1fr;grid-template-rows:240px 1fr}.filters .search{width:100%}.kv div{grid-template-columns:1fr;gap:2px}.barlist-row{grid-template-columns:110px 1fr 40px}}@media (max-width: 520px){.row2,.drawer-controls{grid-template-columns:1fr}.inline-form{flex-direction:column}}
