:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202936;background:#f5f6f8;font-synthesis:none;--ink:#202936;--muted:#7a8493;--line:#e9ecf0;--accent:#ed6b35;--soft:#fff2e9;--green:#228564;--shadow:0 12px 40px #20293610}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,input,textarea,select{outline:none}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #ef9b6d;outline-offset:3px}button{color:inherit}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1{font-size:25px;letter-spacing:-.75px;font-weight:650}h2{font-size:19px;letter-spacing:-.35px;font-weight:650}h3{font-size:14px;font-weight:650}button{border:0;background:none}input,select,textarea{width:100%;border:1px solid #dfe4ea;background:#fff;border-radius:9px;padding:11px 12px;font-size:13px;color:var(--ink)}input::placeholder,textarea::placeholder{color:#939ba8}textarea{resize:vertical;min-height:110px;line-height:1.6}label{display:block;font-size:12px;font-weight:600;line-height:1.5}label input,label select,label textarea{margin-top:7px}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.6}.tiny{font-size:11px;line-height:1.5}.mono{font-variant-numeric:tabular-nums}.nowrap{white-space:nowrap}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row{display:flex;align-items:center;gap:9px}.spread{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:14px}.grow{flex:1;min-width:0}.wrap{flex-wrap:wrap}.hidden{display:none!important}.loading-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px}.loading-screen p{font-size:14px;color:var(--muted)}.loading-logo{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--accent);color:#fff;font-size:30px;font-weight:650}
.shell{display:grid;grid-template-columns:88px minmax(0,1fr);height:100dvh;overflow:hidden}.rail{background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;padding:24px 9px 16px;gap:27px;z-index:3}.brand-mark{background:var(--accent);color:#fff;width:41px;height:41px;border-radius:13px;font-size:27px;line-height:41px;text-align:center;font-weight:700;letter-spacing:-2px}.rail nav{display:flex;flex-direction:column;gap:11px;width:100%}.nav-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:13px 0;border-radius:11px;font-size:10px;font-weight:550;color:#818a98;min-height:65px}.nav-button svg{width:21px;height:21px}.nav-button:hover{background:#f6f7f9;color:#3b4655}.nav-button.active{background:var(--soft);color:#d95c26}.rail-bottom{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:12px}.avatar{flex-shrink:0;display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:#edf0f5;font-weight:650;font-size:13px;color:#627187}.avatar.owner{background:#f1e7db;color:#886841;width:34px;height:34px;border-radius:50%;font-size:11px}.workspace{min-width:0;display:flex;flex-direction:column;overflow:hidden}.topbar{height:92px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 31px;background:#fff;border-bottom:1px solid var(--line)}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.4px;color:#9aa2ad;margin-bottom:6px}.topbar-right{display:flex;align-items:center;gap:17px}.demo-badge{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:500;line-height:1.5;padding:8px 12px;border:1px solid #f2dfcc;border-radius:8px;background:#fffaf4;color:#9e7139}.dot{width:6px;height:6px;display:inline-block;background:currentColor;border-radius:50%;flex-shrink:0}.icon-button{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;color:#77818e;background:#fff}.icon-button:hover{background:#f5f6f8;color:#354254}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border-radius:9px;font-size:12px;font-weight:600;line-height:1.35;border:1px solid var(--line);background:#fff}.button:hover{background:#f7f8fa}.button svg{width:16px;height:16px}.button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.button.primary:hover{background:#df5e29}.button.ghost{color:var(--muted);background:transparent}.button.danger{color:#b94a48;border-color:#f0d7d4;background:#fff}.button.compact{font-size:11px;padding:7px 10px}.text-button{color:var(--accent);padding:3px 0;font-size:12px;font-weight:600}.body{flex:1;min-height:0;overflow:hidden}.inbox{height:100%;display:grid;grid-template-columns:320px minmax(310px,1fr) 270px;background:#fff}.list-panel{display:flex;flex-direction:column;overflow:hidden;border-right:1px solid var(--line)}.list-header{padding:23px 20px 14px}.section-title{font-size:14px;display:flex;align-items:center;gap:8px}.count{min-width:21px;text-align:center;background:#f1f3f6;color:#78818f;border-radius:5px;font-size:11px;font-weight:500;padding:3px 5px}.search-wrap{position:relative;margin-top:17px}.search-wrap svg{position:absolute;left:11px;top:11px;width:16px;height:16px;color:#98a1ad}.search-wrap input{background:#f6f7f9;border-color:#f6f7f9;padding-left:34px;font-size:12px}.filter-tabs{display:flex;gap:6px;margin-top:13px}.filter-tab{font-size:11px;color:#8b93a0;padding:7px 9px;border-radius:6px;white-space:nowrap}.filter-tab.active{background:#f0f3f6;color:#354150;font-weight:600}.channel-filter{margin-top:11px;font-size:11px;padding:8px 10px;color:#78818f;border-color:#e8ebef}.conversation-list{overflow-y:auto;flex:1;padding:2px 8px 12px}.conversation-row{display:flex;gap:11px;width:100%;padding:16px 12px;text-align:left;border-radius:10px;position:relative;margin:3px 0;border:1px solid transparent}.conversation-row:hover{background:#f6f7f9}.conversation-row.selected{background:#fff4ed;border-color:#fae3d4}.conversation-avatar{position:relative;align-self:flex-start}.conversation-avatar .avatar{background:#e8edf2}.conversation-avatar.c-max .avatar{background:#f0ebff;color:#7f6bb0}.conversation-avatar.c-whatsapp .avatar{background:#e6f4ea;color:#5a9a70}.conversation-avatar.c-telegram .avatar{background:#e8f1fb;color:#5189bd}.conversation-avatar.c-avito .avatar{background:#fcebf0;color:#af6881}.channel-mini{position:absolute;bottom:-4px;right:-4px;border:2px solid #fff;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;font-size:8px;font-weight:800;color:#fff}.channel-mini.max{background:#8c6edb}.channel-mini.telegram{background:#4b9cd5}.channel-mini.whatsapp{background:#44a86d}.channel-mini.avito{background:#e481ab}.conversation-name{font-size:12px;font-weight:650;max-width:170px}.conversation-time{font-size:10px;color:#9ca4af;margin-left:auto;white-space:nowrap}.conversation-preview{font-size:11px;color:#7e8795;margin:7px 0 8px;line-height:1.5}.conversation-caption{font-size:9px;color:#9aa1ab}.unread-pill{display:grid;place-items:center;border-radius:5px;min-width:17px;height:17px;background:var(--accent);color:#fff;font-size:9px;font-weight:600}.list-footer{padding:12px 20px;border-top:1px solid var(--line);font-size:10px;color:#9ca4af;display:flex;align-items:center;gap:7px}
.chat-panel{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fafbfc}.chat-header{display:flex;align-items:center;gap:12px;padding:18px 24px;border-bottom:1px solid var(--line);background:#fff;min-height:84px}.chat-header h2{font-size:14px;margin-bottom:5px}.chat-subtitle{font-size:10px;color:#9aa2ac;display:flex;align-items:center;gap:7px;line-height:1.5}.channel-tag{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#747f8d}.channel-tag .dot{width:5px;height:5px}.channel-tag.max{color:#8e72cd}.channel-tag.telegram{color:#4b98c9}.channel-tag.whatsapp{color:#3f9f71}.channel-tag.avito{color:#c46c94}.chat-scroll{flex:1;overflow-y:auto;padding:21px 28px 15px;display:flex;flex-direction:column;gap:16px}.date-divider{font-size:10px;color:#a6adb7;align-self:center;padding:4px 11px;background:#f1f3f6;border-radius:6px;margin:2px 0 7px}.message{max-width:85%;align-self:flex-start;display:flex;flex-direction:column;gap:6px}.message.outgoing{align-self:flex-end}.message-bubble{background:#fff;border:1px solid #e8ecf1;border-radius:12px 12px 12px 3px;padding:13px 15px;font-size:12px;line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap;box-shadow:0 2px 4px #2c394802}.outgoing .message-bubble{background:#edf4ec;border-color:#e2edde;border-radius:12px 12px 3px 12px}.message.note{align-self:stretch;max-width:100%;margin:4px 0}.note .message-bubble{background:#fff6db;border-color:#f4e8bd;border-radius:9px;color:#8a7239;font-size:11px}.message.system{max-width:100%;align-self:center;gap:0}.system .message-bubble{background:transparent;border:0;box-shadow:none;padding:3px 4px;text-align:center;color:#95a0ad;font-size:10px;line-height:1.7}.message-meta{display:flex;gap:5px;align-items:center;font-size:9px;color:#9aa4b1;padding:0 3px}.outgoing .message-meta{justify-content:flex-end}.message-meta svg{width:12px;height:12px}.composer{background:#fff;border-top:1px solid var(--line);padding:15px 23px 13px}.composer-tools{display:flex;gap:7px;align-items:center;margin-bottom:11px;flex-wrap:wrap}.mode-pill{font-size:10px;font-weight:550;padding:6px 9px;border-radius:6px;color:#8e96a1}.mode-pill.active{color:#4d5e71;background:#eef2f6}.mode-pill.note-mode.active{color:#947c38;background:#fff6da}.template-picker{font-size:10px;color:#85909e;display:flex;gap:6px;align-items:center;padding:5px;margin-left:auto}.template-picker svg{width:14px;height:14px}.composer textarea{border:0;padding:0;background:transparent;min-height:64px;max-height:160px;font-size:12px;line-height:1.7;resize:none}.composer textarea:focus-visible{outline:0}.composer-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:11px}.composer-hint{font-size:9px;color:#a5adb7;line-height:1.5}.composer .button{font-size:11px;padding:9px 12px}.local-banner{font-size:10px;color:#a68a60;padding:9px 20px;text-align:center;background:#fffcf6;border-bottom:1px solid #f6ecd9;line-height:1.6}.chat-back{display:none}.details-panel{background:#fff;border-left:1px solid var(--line);overflow:auto;padding:23px 21px}.detail-section{padding:20px 0;border-bottom:1px solid var(--line)}.detail-section:first-child{padding-top:0}.detail-section:last-child{border-bottom:0}.detail-title{font-size:10px;font-weight:600;letter-spacing:.65px;text-transform:uppercase;color:#9fa7b2;margin-bottom:16px}.client-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:10px 0 5px}.client-card .avatar{width:53px;height:53px;border-radius:18px;font-size:18px;background:#e8eef5;color:#6b86a4}.client-card h3{font-size:13px}.client-card p{font-size:10px;color:#a2aab5}.field-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;font-size:11px;margin:14px 0;line-height:1.6}.field-row>span:first-child{color:#9aa2ae}.field-row>span:last-child{text-align:right;max-width:150px;overflow-wrap:anywhere}.deal-box{padding:13px;border:1px solid var(--line);border-radius:9px;background:#fcfcfd}.deal-box h3{font-size:11px;line-height:1.6;margin-bottom:6px}.deal-box p{font-size:10px;color:#929ca9;line-height:1.7}.subtle-box{padding:12px 13px;border-radius:8px;background:#f6f8fa;font-size:10px;line-height:1.8;color:#8a94a2}.stop-button{font-size:10px;color:#b57774;padding:10px 0;text-align:left}.empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:11px;padding:35px 20px;text-align:center;flex:1;min-height:180px}.empty svg{color:#bac2ce;width:30px;height:30px}.empty h3{font-size:13px;color:#697586}.empty p{font-size:11px;line-height:1.8;color:#99a3b0;max-width:285px}.empty .button{margin-top:4px}.template-tray{border:1px solid var(--line);border-radius:10px;max-height:210px;overflow:auto;background:white;margin-bottom:12px;box-shadow:var(--shadow)}.template-option{padding:12px;text-align:left;width:100%;border-bottom:1px solid var(--line)}.template-option:hover{background:#f8f9fb}.template-option strong{font-size:11px;display:block;margin-bottom:4px}.template-option span{font-size:10px;line-height:1.5;color:#8d97a4;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.content-page{height:100%;overflow:auto;padding:28px 32px 38px;max-width:1700px;margin:auto}.page-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:23px}.page-intro h2{font-size:20px;letter-spacing:-.5px;margin-bottom:9px}.page-intro p{font-size:12px;color:#8a94a2;line-height:1.8;max-width:620px}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:25px}.metric-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px 21px}.metric-label{font-size:11px;color:#8c96a3;margin-bottom:13px}.metric-value{font-size:29px;font-weight:600;letter-spacing:-1px;display:flex;gap:8px;align-items:baseline}.metric-value small{font-size:12px;color:#b1b8c2;font-weight:400;letter-spacing:0}.metric-foot{font-size:10px;color:#a1aab5;margin-top:8px;line-height:1.6}.channel-tabs{display:flex;gap:7px;border-bottom:1px solid var(--line);margin-bottom:20px;overflow:auto}.channel-tab{padding:11px 14px 14px;color:#8c96a3;font-size:12px;border-bottom:2px solid transparent;display:flex;align-items:center;gap:8px;white-space:nowrap}.channel-tab.active{color:#e06a34;border-bottom-color:#e06a34}.channel-tab .count{font-size:10px;padding:2px 5px}.notice{border:1px solid #f0e2d0;background:#fffbf6;padding:14px 17px;border-radius:10px;color:#a1835a;font-size:11px;line-height:1.8;display:flex;gap:11px;margin-bottom:21px}.notice svg{flex-shrink:0;width:17px;height:17px;margin-top:2px}.notice.neutral{background:#f8fafc;border-color:#e4e9ef;color:#8291a3}.account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.account-card{border:1px solid var(--line);background:#fff;border-radius:12px;padding:19px}.account-card h3{font-size:12px}.account-card .identifier{font-size:10px;color:#9ca5b0;margin-top:5px}.channel-square{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;font-weight:700;font-size:11px;background:#eff3f9;color:#6d85a8}.channel-square.max{background:#f1ebfc;color:#9477cb}.channel-square.telegram{background:#eaf3fb;color:#599bc6}.channel-square.whatsapp{background:#e9f4ed;color:#5a9e77}.channel-square.avito{background:#f8edf3;color:#b47999}.connection-label{display:flex;gap:5px;align-items:center;font-size:9px;color:#aaa4a0;margin:18px 0 17px}.connection-label .dot{background:#c9c0b9;width:5px;height:5px}.account-stat{font-size:10px;color:#9ba5b2;display:flex;justify-content:space-between;gap:10px}.account-stat strong{font-weight:550;color:#5e6b7b}.progress-track{height:5px;background:#f0f3f6;border-radius:5px;margin:9px 0 15px;overflow:hidden}.progress-fill{height:100%;background:#eda77d;border-radius:5px}.account-controls{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:14px;padding-top:13px;border-top:1px solid #f0f2f5}.simulation-status{font-size:9px;color:#55a183;display:flex;align-items:center;gap:5px}.simulation-status.paused,.simulation-status.offline{color:#9ca5b2}.simulation-status.restricted{color:#bd6b64}.account-controls .button{font-size:9px;padding:6px 8px}.templates-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.template-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:21px;display:flex;flex-direction:column;gap:15px}.template-card h3{font-size:13px}.template-content{font-size:12px;color:#8994a2;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;flex:1}.template-footer{padding-top:13px;border-top:1px solid var(--line);display:flex;gap:8px;align-items:center}.template-footer .text-button{font-size:10px;margin-right:auto}.template-footer .icon-button{width:29px;height:29px}.template-footer .icon-button svg{width:14px;height:14px}.settings-columns{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:22px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px}.panel h3{font-size:14px;margin-bottom:9px}.panel>.small{color:#96a0ae}.panel+.panel{margin-top:20px}.route-list{margin:21px 0 18px;display:flex;flex-direction:column;gap:10px}.route-row{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:9px;padding:11px 13px}.route-number{font-size:11px;color:#b3bbc5;width:13px}.route-row strong{font-size:12px}.route-row small{display:block;font-size:10px;color:#9fa7b3;margin-top:4px}.route-controls{margin-left:auto;display:flex;gap:5px}.route-controls .icon-button{width:27px;height:27px;border:0;background:#f6f7fa}.route-controls svg{width:14px;height:14px}.rule-list{display:flex;flex-direction:column;gap:17px;margin-top:20px}.rule{display:flex;gap:12px;align-items:flex-start}.rule-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:#f3f6f9;color:#8b9aac;flex-shrink:0}.rule-icon svg{width:15px;height:15px}.rule strong{font-size:11px;display:block;margin-bottom:5px;font-weight:600}.rule p{font-size:10px;color:#96a0ae;line-height:1.8}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid>.full{grid-column:1/-1}.check-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px}.check-row label{display:flex;gap:6px;align-items:center;font-size:11px;font-weight:500;color:#8190a0}.check-row input{width:15px;height:15px;margin:0;accent-color:var(--accent)}.approval{display:flex;gap:15px;align-items:center;margin:20px 0}.approval-counter{width:52px;height:52px;border:1px solid #f0dfd0;border-radius:12px;background:#fff9f3;color:#bd8b58;display:grid;place-items:center;font-size:19px;font-weight:600}.approval p{font-size:10px;color:#97a0ad;line-height:1.9;max-width:270px}.approval-list{font-size:10px;color:#8f9aa8;line-height:1.9;display:flex;flex-direction:column;gap:10px}.approval-list span{display:flex;gap:9px;align-items:flex-start}.approval-list svg{width:14px;height:14px;flex-shrink:0;margin-top:3px;color:#b3bcc8}.demo-result-box{margin:16px 0;padding:14px;border:1px solid #ecdac5;border-radius:9px;background:#fffcf6}.demo-result-box h3{font-size:11px;color:#a38863;margin-bottom:7px}.demo-result-box p{font-size:10px;line-height:1.7;color:#9e927f;margin-bottom:10px}.demo-result-buttons{display:flex;gap:6px;flex-wrap:wrap}.demo-result-buttons .button{font-size:9px;padding:7px 8px}.audit-list{margin-top:18px;display:flex;flex-direction:column;gap:11px;max-height:260px;overflow:auto}.audit-row{font-size:10px;color:#8d99a7;line-height:1.7;border-bottom:1px solid var(--line);padding-bottom:10px;display:flex;gap:12px}.audit-row time{flex-shrink:0;color:#b0b8c3}.modal-backdrop{position:fixed;inset:0;background:#172b4659;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:24px;z-index:20}.modal{width:100%;max-width:520px;max-height:90dvh;overflow:auto;background:#fff;border-radius:16px;box-shadow:0 24px 90px #12233d40;padding:27px}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.modal-header h2{font-size:18px}.modal-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.modal-description{font-size:11px;color:#98a1ac;line-height:1.8;margin:-9px 0 20px}.modal-error{font-size:11px;color:#b75f57;line-height:1.6;margin-top:12px}.toast{position:fixed;bottom:23px;left:50%;transform:translate(-50%,14px);background:#28394c;color:white;border:1px solid #ffffff20;border-radius:10px;box-shadow:var(--shadow);padding:13px 20px;max-width:min(90vw,540px);font-size:12px;line-height:1.7;z-index:30;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.error{background:#8f514a}.status-chip{font-size:9px;border-radius:5px;background:#eef4f0;color:#7d9b88;padding:4px 6px;display:inline-block;line-height:1.4}.status-chip.warning{color:#b29970;background:#faf3e6}
@media(min-width:1650px){.inbox{grid-template-columns:350px minmax(450px,1fr) 300px}.chat-scroll{padding:28px 45px}.message{max-width:72%}}
@media(max-width:1250px){.inbox{grid-template-columns:290px minmax(300px,1fr)}.details-panel{display:none}.topbar{padding:0 24px}.account-grid,.templates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-scroll{padding:20px}.content-page{padding:25px}.metrics-grid{gap:10px}.metric-card{padding:16px}.demo-badge{font-size:10px}.topbar-right{gap:10px}.settings-columns{gap:16px}}
@media(max-width:900px){.shell{grid-template-columns:74px minmax(0,1fr)}.rail{padding:22px 6px 14px}.nav-button{font-size:9px}.inbox{grid-template-columns:250px minmax(260px,1fr)}.list-header{padding:20px 14px 12px}.conversation-row{padding:13px 8px;gap:9px}.conversation-name{font-size:11px}.chat-header{padding:15px}.chat-scroll{padding:16px}.composer{padding:13px 15px}.topbar{height:81px;padding:0 20px}h1{font-size:22px}.topbar .eyebrow{font-size:9px}.topbar-right>.avatar{display:none}.demo-badge{max-width:240px;padding:7px 10px}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-columns{grid-template-columns:1fr}.settings-columns>.stack{gap:0}.page-intro h2{font-size:19px}.panel{padding:19px}.account-grid{gap:11px}}
@media(max-width:680px){.shell{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 65px}.rail{grid-row:2;flex-direction:row;padding:0 10px;border-right:0;border-top:1px solid var(--line);gap:0}.brand-mark,.rail-bottom{display:none}.rail nav{flex-direction:row;justify-content:space-around;gap:5px;height:100%}.nav-button{flex:1;padding:9px 0;min-height:0;border-radius:0;font-size:9px;gap:5px}.nav-button.active{background:transparent;color:var(--accent)}.nav-button svg{width:21px;height:21px}.workspace{grid-row:1}.topbar{height:73px;padding:0 16px;gap:10px}.topbar h1{font-size:19px;letter-spacing:-.6px}.eyebrow{font-size:8px;letter-spacing:1.1px}.topbar-right{gap:0}.topbar-right>.icon-button{display:none}.demo-badge{font-size:8px;padding:7px 8px;max-width:159px;border-radius:7px;gap:5px;line-height:1.6}.demo-badge .dot{width:4px;height:4px}.inbox{grid-template-columns:1fr}.inbox .chat-panel{display:none}.inbox.mobile-chat .list-panel{display:none}.inbox.mobile-chat .chat-panel{display:flex}.chat-back{display:grid;border:0;width:24px;padding:0}.chat-header{min-height:73px;padding:13px;gap:9px}.chat-header>.avatar{width:34px;height:34px;border-radius:11px;font-size:11px}.chat-header h2{font-size:12px}.chat-header .button{font-size:9px;padding:8px 9px}.chat-subtitle{font-size:9px}.list-header{padding:21px 18px 12px}.conversation-list{padding:0 9px 9px}.conversation-row{padding:16px 11px;gap:12px}.conversation-name{font-size:13px;max-width:200px}.conversation-preview{font-size:12px}.conversation-caption{font-size:10px}.conversation-time{font-size:10px}.conversation-avatar .avatar{width:42px;height:42px}.chat-scroll{padding:18px 14px 12px;gap:14px}.message{max-width:90%}.message-bubble{font-size:12px;padding:11px 13px}.composer{padding:12px 14px}.composer-hint{max-width:145px;font-size:8px}.composer textarea{min-height:54px}.composer-tools{gap:5px;margin-bottom:9px}.mode-pill{font-size:9px;padding:6px 7px}.template-picker{font-size:9px}.local-banner{font-size:9px;padding:7px 12px}.content-page{padding:21px 16px 28px}.page-intro{gap:12px;flex-wrap:wrap;margin-bottom:19px}.page-intro p{font-size:11px;line-height:1.8}.page-intro h2{font-size:19px}.page-intro .button{font-size:11px}.metric-card{padding:14px}.metric-label{font-size:10px;margin-bottom:10px}.metric-value{font-size:26px}.metric-foot{font-size:9px}.metrics-grid{gap:10px;margin-bottom:18px}.channel-tabs{gap:0;margin-bottom:17px}.channel-tab{font-size:10px;padding:9px 9px 12px;gap:5px}.account-grid,.templates-grid{grid-template-columns:1fr}.account-card{padding:18px}.account-card h3{font-size:13px}.account-card .identifier{font-size:11px}.simulation-status{font-size:10px}.account-controls .button{font-size:10px}.account-stat{font-size:11px}.connection-label{font-size:10px}.notice{font-size:10px;padding:12px}.form-grid{grid-template-columns:1fr;gap:15px}.form-grid>.full{grid-column:auto}.modal-backdrop{padding:14px}.modal{padding:21px;border-radius:13px;max-height:88dvh}.modal-header h2{font-size:16px}.modal-footer{flex-wrap:wrap}.toast{bottom:80px;font-size:11px;padding:12px 15px;width:max-content}.panel{padding:18px}.template-content{font-size:12px}.template-card{padding:19px}.approval-counter{width:47px;height:47px;flex-shrink:0}.template-tray{max-height:180px}.route-row{padding:10px}.route-list{gap:8px}.section-title{font-size:15px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.mobile-tools{display:none}
@media(max-width:1250px){.mobile-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:9px}.mobile-tools .text-button,.mobile-tools .stop-button{font-size:9px;padding:2px 0}}
.attachments{display:flex;flex-direction:column;gap:7px;margin-top:12px;white-space:normal;min-width:0}.attachment-chip{display:flex;align-items:center;gap:7px;border:1px solid #e1e6ec;border-radius:9px;background:#ffffffb8;min-width:0;max-width:100%;overflow:hidden}.attachment-content{display:flex;align-items:center;gap:9px;min-width:0;flex:1;padding:9px;color:#607184;text-decoration:none!important}.attachment-content>svg{width:15px;height:15px;flex-shrink:0;color:#9daab8}.attachment-icon{display:grid;place-items:center;width:30px;height:34px;background:#eef2f6;border-radius:6px;flex-shrink:0}.attachment-icon svg{width:16px;height:16px}.attachment-caption{display:flex;flex-direction:column;min-width:0;gap:4px;line-height:1.4;flex:1}.attachment-caption strong{font-size:10px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}.attachment-caption small{font-size:9px;color:#9aa5b2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-remove{width:28px;height:28px;display:grid;place-items:center;margin-right:5px;flex-shrink:0;color:#a6aeb8}.attachment-remove:hover{color:#c36e59;background:#fff0eb;border-radius:6px}.attachment-remove svg{width:13px;height:13px}.attachment-unavailable{font-size:10px;color:#ad8c85}.attachment-chip.has-preview .attachment-content{flex-wrap:wrap;max-width:300px}.attachment-image{display:block;width:100%;height:auto;max-height:230px;object-fit:contain;background:#f4f6f8;border-radius:5px;margin-bottom:3px}.message-bubble .attachment-previews{min-width:170px}.template-content .attachments{margin-top:16px}.template-content .attachment-caption strong{max-width:180px}.composer .attachments{max-height:150px;overflow:auto;margin-top:8px}.composer .upload-trigger{width:29px;height:29px;flex-shrink:0}.composer .upload-trigger svg{width:16px;height:16px}.composer-bottom>.row{min-width:0}.composer-bottom .button{flex-shrink:0}
@media(max-width:680px){.attachment-caption strong{max-width:190px}.attachment-caption small{font-size:8px}.composer-bottom .row{gap:7px}.composer-hint{max-width:120px}.composer .attachments{max-height:125px}.attachment-chip.has-preview .attachment-content{max-width:245px}.attachment-image{max-height:190px}.composer-bottom .button{font-size:10px;padding:9px}.message-bubble .attachment-previews{min-width:150px}}
/* Operational workspace: no seeded accounts or conversations. */
.integration-read-result{padding:16px;border:1px solid var(--line);border-radius:10px;margin-top:18px}.integration-read-result>p{font-size:12px;line-height:1.75;color:#8b98a8;margin-top:10px}.integration-users{max-height:250px;overflow:auto}.integration-read-result>.text-button{font-size:11px;margin-top:10px}
.workspace-forwarded{border-left:3px solid #d5dde5;padding:6px 0 6px 12px;margin:10px 0;white-space:normal}.workspace-forwarded>small{font-size:10px;color:#95a1ae}.workspace-forwarded>p{font-size:12px;line-height:1.75;white-space:pre-wrap;margin-top:5px}
.workspace-amo-context{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;padding:10px;border:1px solid #efdcca;border-radius:8px;background:#fff8f1;color:#ab815a;font-size:10px;line-height:1.6}.workspace-amo-context .text-button{font-size:9px;white-space:nowrap}.integration-summary{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);margin-bottom:14px}.integration-summary>div{display:flex;flex-direction:column;gap:6px}.integration-summary strong{font-size:12px}.integration-summary small{font-size:10px;color:#8f9ba9;line-height:1.6}.workspace-integrations>p{margin-top:14px}.integration-modal{max-width:620px}.integration-details{border:1px solid #e8ecf1;border-radius:9px;margin-top:15px}.integration-details>summary{padding:14px;font-size:12px;color:#697b8e;cursor:pointer}.integration-details>form{padding:0 14px 15px}.integration-result{margin-top:19px}.integration-account-state{margin-top:20px}.integration-modal>a.button{margin-top:15px}.integration-modal .connection-actions{margin-bottom:20px}
.attachment-file-row{display:flex;align-items:center;width:100%;min-width:0}.attachment-chip.has-preview{flex-direction:column;align-items:stretch;gap:0;max-width:320px}.attachment-image-link{display:block;padding:8px 8px 0}.attachment-image-link .attachment-image{margin:0}.attachment-player{display:block;width:100%;max-width:320px;max-height:300px;background:#f3f5f7}.attachment-chip audio.attachment-player{height:48px;margin:9px 0 2px;background:none}.attachment-pending{padding:10px;gap:10px}.attachment-pending .text-button{font-size:10px;max-width:105px;line-height:1.55}.attachment-pending .attachment-caption small{white-space:normal;line-height:1.6}.message-bubble .attachment-file-row .attachment-caption strong{max-width:220px}
.connection-requirements{margin:9px 0 0;padding-left:17px;font-size:11px;line-height:1.9}.connection-requirements>li+li{margin-top:5px}
.workspace-media-batch{align-self:stretch;border:1px solid #e3e9ee;background:#f4f7fa;border-radius:10px;padding:13px 15px;margin-top:8px}.workspace-media-batch strong{font-size:11px;font-weight:600;color:#788b9b}.workspace-media-batch .row>span{font-size:11px;color:#8f9eaa;font-variant-numeric:tabular-nums}.workspace-media-batch p{font-size:10px;color:#95a2ae;line-height:1.75;margin-top:7px}.workspace-media-batch.needs-review{background:#fffbf2;border-color:#eee1c5}.workspace-media-batch.needs-review strong{color:#aa8f5b}
.workspace-login{min-height:100dvh;display:grid;place-items:center;padding:32px;background:radial-gradient(ellipse at 18% 0%,#ffefe3 0%,transparent 55%),#f5f6f8}.workspace-login-card{width:100%;max-width:430px;padding:35px;background:#fff;border:1px solid #e8ebee;border-radius:20px;box-shadow:0 20px 70px #2634490d}.workspace-login-card>.loading-logo{margin-bottom:28px}.workspace-login-card>.eyebrow{margin-bottom:9px}.workspace-login-card>h1{font-size:23px;margin-bottom:12px}.workspace-login-card>p{font-size:12px;line-height:1.9;color:#8893a1;margin-bottom:25px}.workspace-login-card form{gap:17px}.workspace-login-card .modal-error{margin:0}.workspace-login-card .workspace-login-foot{font-size:10px;margin:25px 0 0;padding-top:20px;border-top:1px solid var(--line);line-height:1.8}.workspace-session{display:flex;align-items:center;gap:12px;padding-left:17px;border-left:1px solid var(--line)}.workspace-session>span{display:flex;flex-direction:column;gap:5px;text-align:right}.workspace-session strong{font-size:11px;font-weight:600;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-session small{font-size:9px;color:#99a3af}.workspace-session .text-button{font-size:10px}.connection-card-actions{display:flex;align-items:center;gap:12px;margin-top:18px}.connection-card-actions>.tiny{font-size:9px;line-height:1.6}.connection-card-actions>.button{flex-shrink:0}.connection-state{display:flex;gap:13px;align-items:center;padding:17px;background:#f7f8fa;border:1px solid #e9edf1;border-radius:11px;margin-bottom:18px;color:#7f8c9b}.connection-state>svg{width:25px;height:25px;flex-shrink:0}.connection-state strong{font-size:12px;font-weight:600}.connection-state p{margin-top:5px;font-size:10px;color:#98a3b0}.connection-state.is-ready{background:#edf8f2;color:#398c69;border-color:#daecdf}.connection-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:20px}.connection-actions>.text-button{font-size:11px;padding:8px}.connection-modal>.stack{margin:20px 0}.connection-modal>.button{margin-top:18px}.connection-footnote{margin-top:15px;line-height:1.8}.connection-qr{text-align:center;padding:20px 0 6px}.connection-qr img{display:block;width:220px;max-width:100%;height:auto;margin:0 auto 15px;border:1px solid var(--line);padding:10px;border-radius:12px;background:#fff}.connection-qr p{font-size:11px;line-height:1.8;color:#8e9ba8;max-width:300px;margin:0 auto}.connection-modal .workspace-file-notice{margin:15px 0}.workspace-session+.icon-button{flex-shrink:0}
@media(max-width:1100px){.workspace-session strong{max-width:110px}.workspace-session{gap:9px;padding-left:10px}.workspace-session small{display:none}.workspace-shell .workspace-connection{font-size:9px}}
@media(max-width:680px){.workspace-login{padding:18px}.workspace-login-card{padding:27px 22px}.workspace-login-card>h1{font-size:21px}.workspace-session{margin-left:9px;padding-left:9px;gap:7px}.workspace-session>span{display:none}.workspace-session .text-button{font-size:10px}.workspace-session:has(>span:only-child){display:none}.workspace-shell .topbar-right{gap:0}.workspace-shell .workspace-connection{font-size:8px;max-width:145px;padding:6px 8px}.connection-card-actions>.tiny{font-size:10px}.connection-qr img{width:200px}.connection-actions>.button{font-size:11px}}
.workspace-connection{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:500;line-height:1.6;padding:8px 12px;border:1px solid #e6e9ee;border-radius:8px;background:#f8f9fb;color:#8b96a5}.workspace-connection.is-connected{color:#2c8a67;background:#eef8f1;border-color:#dbeee1}.workspace-lock{color:#aab2bd}.workspace-version{font-size:8px;letter-spacing:1.7px;color:#b1b8c2;font-weight:600}.workspace-list-filters{display:flex;gap:7px}.workspace-list-filters select{min-width:0;flex:1;font-size:10px;padding:8px}.workspace-empty{min-height:220px}.workspace-empty p{max-width:245px}.workspace-welcome{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:35px;max-width:620px;margin:0 auto}.workspace-welcome-icon{width:78px;height:78px;display:grid;place-items:center;border:1px solid #f1e2d7;background:#fff7f0;color:#e8a47f;border-radius:25px;margin-bottom:26px;box-shadow:0 10px 24px #d9834210}.workspace-welcome-icon svg{width:34px;height:34px;stroke-width:1.3}.workspace-welcome>.eyebrow{font-size:9px;letter-spacing:1.8px;color:#b4a396;margin-bottom:13px}.workspace-welcome h2{font-size:25px;letter-spacing:-.7px;margin-bottom:14px}.workspace-welcome>p{font-size:12px;color:#96a0ae;line-height:1.95;max-width:390px}.workspace-welcome-actions{display:flex;gap:10px;justify-content:center;margin-top:25px;flex-wrap:wrap}.workspace-welcome-foot{border-top:1px solid #e9edf1;margin-top:34px;padding-top:20px;max-width:340px;font-size:10px;line-height:1.9;color:#a6afbb}.workspace-start-step{display:flex;align-items:center;gap:12px;margin:17px 0}.workspace-start-step>span{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#f3f5f8;color:#9da8b5;font-size:10px}.workspace-start-step p{font-size:11px;color:#8794a5}.workspace-thread-banner{font-size:10px;color:#a68a60;padding:10px 20px;text-align:center;background:#fffcf6;border-bottom:1px solid #f6ecd9;line-height:1.7}.workspace-thread-banner.is-stopped{color:#b16f68;background:#fff7f5;border-color:#f5e1dc}.workspace-file-notice{margin:11px 0 0;padding:9px 11px;background:#fff8e9;border:1px solid #f5e5c4;border-radius:7px;font-size:10px;line-height:1.75;color:#aa8b52}.workspace-save-draft{font-size:10px;padding:7px;color:#919dac}.workspace-draft{align-self:stretch;border:1px solid #e8dfcb;background:#fffcf4;border-radius:11px;padding:16px;margin:6px 0}.workspace-draft strong{font-size:11px;color:#a38b5d;font-weight:600}.workspace-draft time{font-size:9px;color:#b6aa94}.workspace-draft p{font-size:11px;color:#9b8e76;line-height:1.8;white-space:pre-wrap;margin:10px 0 0;overflow-wrap:anywhere}.workspace-draft .text-button{font-size:10px}.workspace-queue-row{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:10px;color:#99a3b1;padding:11px 0;border-bottom:1px solid var(--line)}.workspace-queue-row .text-button{font-size:10px}.workspace-request-view{padding:30px;overflow:auto;max-width:650px;width:100%;margin:0 auto}.workspace-request-status{display:flex;align-items:center;gap:9px;background:#fff7e8;border:1px solid #f4e3c4;color:#ae8f56;border-radius:9px;padding:13px 15px;margin-bottom:28px}.workspace-request-status strong{font-size:12px;font-weight:550}.workspace-request-status svg{width:17px;height:17px}.workspace-request-view>h3{font-size:13px;margin-bottom:13px}.workspace-request-text{padding:18px;border:1px solid var(--line);background:#fff;border-radius:12px;font-size:12px;line-height:1.9;white-space:pre-wrap;color:#6b798b;overflow-wrap:anywhere}.workspace-request-fields{margin:24px 0}.workspace-request-fields .field-row>span:last-child{max-width:65%}.request-avatar{background:#f9f0e2!important;color:#bfa271!important}.request-avatar svg{width:19px;height:19px}.workspace-full-empty{grid-column:1/-1;background:#fff;border:1px dashed #e2e7ed;border-radius:13px;min-height:280px}.workspace-connected{color:#579b7c}.workspace-connected .dot{background:#70b18e}.workspace-managers{display:flex;flex-direction:column;gap:18px;margin-top:22px}.workspace-managers>.row{font-size:12px}.workspace-managers .text-button{font-size:10px}.workspace-consent{display:flex;align-items:flex-start;gap:10px;font-size:11px;color:#7e8b9b;font-weight:500;line-height:1.8}.workspace-consent input{width:16px;height:16px;flex-shrink:0;margin:3px 0 0;accent-color:var(--accent)}.workspace-shell .composer .attachments{max-height:150px}.workspace-shell .message-bubble .attachments{white-space:normal}.workspace-shell .template-card .attachment-caption strong{max-width:165px}.workspace-shell .attachment-chip.has-preview .attachment-content{max-width:285px}.workspace-shell .template-content{min-height:70px}.workspace-shell .template-footer .text-button{font-size:10px}.workspace-shell .inbox>.chat-panel{background:#fafbfc}
@media(max-width:1250px){.workspace-welcome{padding:28px;max-width:540px}.workspace-welcome h2{font-size:23px}.workspace-connection{font-size:10px}.workspace-list-filters{flex-direction:column;gap:0}.workspace-list-filters select{margin-top:8px}.workspace-request-view{padding:23px}}
@media(max-width:680px){.workspace-connection{font-size:9px;padding:7px 9px;max-width:175px;gap:6px}.workspace-connection .dot{width:5px;height:5px}.workspace-shell .topbar h1{font-size:18px}.workspace-shell .topbar{gap:7px;padding:0 14px}.workspace-list-filters{flex-direction:row;gap:7px}.workspace-list-filters select{font-size:10px}.workspace-welcome{padding:28px 20px}.workspace-welcome-icon{width:65px;height:65px;border-radius:21px;margin-bottom:22px}.workspace-welcome h2{font-size:22px}.workspace-welcome>p{font-size:11px}.workspace-welcome-foot{font-size:10px;margin-top:26px}.workspace-welcome-actions .button{font-size:11px}.workspace-request-view{padding:22px 16px}.workspace-request-status{font-size:11px;margin-bottom:22px}.workspace-request-text{font-size:12px;padding:15px}.workspace-file-notice{font-size:9px;padding:8px 10px}.workspace-draft{padding:13px}.workspace-draft strong{font-size:10px}.workspace-shell .composer-bottom .button{font-size:10px;max-width:190px}.workspace-shell .composer-bottom .row{gap:3px}.workspace-shell .message-bubble .attachments{min-width:155px}.workspace-save-draft{font-size:9px;padding:5px}.workspace-shell .attachment-chip.has-preview .attachment-content{max-width:235px}.workspace-shell .chat-header .button{font-size:9px;max-width:120px}.workspace-shell .chat-header .grow{min-width:0}.workspace-shell .chat-header h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}.workspace-thread-banner{font-size:9px;padding:8px 12px}}
.workspace-automation{margin-bottom:20px}.workspace-automation>.row{gap:14px;align-items:flex-start}.workspace-automation h3{margin-bottom:10px}.workspace-automation.compact>.row{align-items:center}.workspace-automation.compact p{margin:0}.automation-status{flex-shrink:0;border:1px solid #e4e9ef;border-radius:20px;padding:5px 10px;color:#7f8c9b;background:#f8fafc;font-size:10px;line-height:1.6}.automation-steps{list-style:none;padding:0;margin:20px 0;display:grid;gap:15px}.automation-steps li{display:flex;gap:12px;align-items:flex-start}.automation-steps li>span{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;border-radius:8px;background:#fff2e8;color:#c58d65;font-size:11px}.automation-steps strong{font-size:12px;font-weight:600}.automation-steps p{margin:5px 0 0;font-size:11px;line-height:1.75;color:#8c98a7}.automation-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.automation-actions .text-button{font-size:11px}.automation-note{margin-top:15px;line-height:1.8}.automation-client{padding:10px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.automation-client .field-row{gap:12px}.automation-client strong{font-size:10px;font-weight:500;flex-shrink:0}.automation-client p{margin:0 0 4px;line-height:1.7}.workspace-external-provider{margin-bottom:18px}
@media(max-width:680px){.workspace-automation>.row{flex-wrap:wrap}.automation-status{font-size:9px}.automation-steps{gap:13px}.workspace-automation.compact .button{width:100%}.automation-client .field-row{align-items:flex-start}.automation-actions>.button{width:100%}.automation-actions{gap:10px}}
.workspace-welcome>.workspace-parallel-note{margin-top:13px;font-size:11px;color:#8a97a6;line-height:1.8}.workspace-automation h3{line-height:1.6}
