@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{font-family:Manrope,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#273733;background:#f7f8fa;font-size:13px;font-synthesis:none;--green:#307b60;--muted:#8b9592;--line:#e9eeeb}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid #4a9d7a}button{border:0;background:none;color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{transition:background .15s,color .15s}button:hover{background:#f0f4f1}h1,h2,h3,p{margin:0}small{font-size:11px;color:var(--muted)}.shell{display:grid;grid-template-columns:218px 1fr;height:100dvh;min-height:540px;overflow:hidden}.sidebar{background:#1d302c;color:#a9b9b1;display:flex;flex-direction:column;padding:30px 17px 16px}.brand{color:#fff;display:flex;gap:11px;align-items:center;font-size:26px;font-weight:750;letter-spacing:-1.1px;padding:0 11px 30px}.brand-mark{display:grid;place-items:center;background:#b8dbc4;color:#233c31;width:32px;height:32px;border-radius:10px;transform:rotate(-8deg)}.brand-mark svg{transform:rotate(8deg);stroke-width:2.6}.workspace{display:flex;align-items:center;gap:10px;border:1px solid #3a4c44;border-radius:9px;padding:12px 10px;margin:0 4px 27px;color:#f1f5f2;text-align:left;width:calc(100% - 8px)}.workspace:hover{background:#2b4037}.workspace-icon{background:#ffffff14;padding:6px;border-radius:6px;font-size:12px;color:#c8dbce}.workspace span:nth-child(2){flex:1;font-weight:650}.workspace svg{width:14px}.nav-label{font-size:10px;letter-spacing:1.35px;color:#748e80;padding:0 14px;margin-bottom:11px}.nav-item{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:7px;width:100%;text-align:left;margin-bottom:4px;font-weight:550;font-size:12px}.nav-item svg{width:19px}.nav-item.active{background:#d2e5ce;color:#244333;font-weight:750}.nav-item:not(.active):hover{background:#ffffff0b;color:white}.nav-item .count{margin-left:auto;font-size:10px;padding:2px 6px;border-radius:4px;background:#24433313}.nav-item .soon{margin-left:auto;font-size:9px;color:#b6d4bd}.channels-nav{margin-top:32px}.channel-nav{display:flex;align-items:center;gap:10px;padding:8px 14px;font-size:11px}.channel-nav .dot{width:6px;height:6px;border-radius:50%;background:#83b99b;margin-left:auto}.channel-nav .channel{width:19px;height:19px;font-size:10px}.sidebar-bottom{margin-top:auto;padding-top:24px}.help-card{background:#ffffff07;border:1px solid #ffffff0b;border-radius:9px;padding:15px 12px;margin:0 4px 16px}.help-card p{color:#d3ded6;font-size:11px;font-weight:650;margin:9px 0 5px}.help-card small{font-size:10px;line-height:1.7;color:#91a99b}.profile{border-top:1px solid #ffffff12;display:flex;align-items:center;gap:9px;padding:16px 8px 0}.profile strong{color:#edf2ed;font-size:11px}.profile small{font-size:9px;display:block;margin-top:3px}.avatar{width:40px;height:40px;border-radius:50%;background:#e9e4d8;display:grid;place-items:center;flex-shrink:0;font-size:12px;font-weight:750;color:#7e7966;position:relative}.profile .avatar{width:31px;height:31px;font-size:10px;background:#cddcc7;color:#3e5b45}.profile button{margin-left:auto;color:#b0c4b6;padding:3px}.main{min-width:0;display:flex;flex-direction:column}.topbar{height:83px;flex-shrink:0;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 29px;border-bottom:1px solid var(--line)}.breadcrumb{font-size:11px;color:#8b9591;display:flex;align-items:center;gap:9px}.breadcrumb svg{width:13px}.breadcrumb strong{font-weight:550;color:#52645b}.top-actions{display:flex;gap:15px;align-items:center}.demo-pill{display:flex;gap:6px;align-items:center;border:1px solid #e7e9df;background:#fafbf4;border-radius:5px;padding:5px 8px;color:#88916e;font-size:10px}.demo-pill:before{content:'';width:5px;height:5px;background:#a2ad7c;border-radius:50%}.icon-btn{display:grid;place-items:center;width:32px;height:32px;border-radius:6px;color:#7c8981}.top-actions .divider{height:20px;width:1px;background:var(--line)}.page-title{height:100px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 29px;background:#fff}.page-title h1{font-size:24px;font-weight:750;letter-spacing:-.8px;display:flex;align-items:center;gap:10px}.title-count{font-size:12px;font-weight:600;letter-spacing:0;color:#839288;background:#f0f3ef;border:1px solid #e8ece5;padding:3px 8px;border-radius:6px}.page-title p{font-size:11px;margin-top:9px;color:#8a9690}.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#307b60;color:#fff;border:1px solid #307b60;padding:10px 14px;border-radius:7px;font-weight:600;font-size:11px}.primary:hover{background:#26694f}.primary svg{width:16px;height:16px}.inbox{display:grid;grid-template-columns:308px minmax(280px,1fr) 277px;flex:1;min-height:0;border-top:1px solid var(--line)}.conversation-list{background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.list-tools{padding:18px 17px 0}.search{display:flex;align-items:center;gap:8px;border:1px solid #e8ece8;background:#fafbf9;border-radius:7px;padding:9px 10px}.search svg{width:16px;color:#9aa39c}.search input{border:0;outline:none;width:100%;min-width:0;background:transparent;font-size:11px;color:#44574c}.search input::placeholder{color:#9aA49e}.search kbd{font:10px inherit;color:#a8afa9;border:1px solid #e4e8e2;border-radius:3px;padding:1px 3px;white-space:nowrap}.list-tabs{display:flex;gap:16px;margin-top:18px;border-bottom:1px solid var(--line)}.list-tabs button{padding:0 0 12px;font-size:10px;position:relative;color:#919b95;white-space:nowrap}.list-tabs button.selected{font-weight:750;color:#34785a}.list-tabs button.selected:after{content:'';position:absolute;bottom:-1px;height:2px;background:#34785a;left:0;right:0}.tab-count{margin-left:4px;font-size:9px;background:#f0f3ed;border-radius:4px;padding:1px 4px}.list-filter{padding:13px 17px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8b958f}.list-filter select{border:0;background:transparent;color:#5a6b61;font-size:10px;max-width:160px}.conversation-items{overflow:auto;flex:1}.chat-row{display:flex;gap:11px;width:100%;padding:17px 17px;text-align:left;border-bottom:1px solid #f1f3f0;position:relative;min-height:93px}.chat-row:hover{background:#f7f9f6}.chat-row.selected{background:#eef5ec}.chat-row.selected:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:#609474}.chat-row .avatar{width:37px;height:37px;margin-top:2px;font-size:11px}.channel{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;color:white;font-weight:750;font-size:10px;background:#39a177}.avatar .channel{position:absolute;right:-3px;bottom:-3px;width:17px;height:17px;border:2px solid white;font-size:8px}.tg{background:#47a4d0}.wa{background:#4bb88a}.vk{background:#5088e7}.avito{background:#f0f0f0;color:#a366c5}.viber{background:#8972bd}.ok{background:#eea34e}.row-body{min-width:0;flex:1}.row-top,.row-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px}.row-top strong{font-size:11px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-top time{font-size:9px;color:#9ca49c;white-space:nowrap}.row-preview{font-size:10px;color:#8b968e;margin:7px 0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-preview.unread{color:#4e6154}.tag{font-size:8px;font-weight:600;padding:3px 6px;border-radius:4px;background:#f1f0eb;color:#94927b}.tag.green{background:#e5efdf;color:#6e9361}.tag.purple{background:#f0eaf7;color:#9b7aba}.unread-badge{background:#438567;color:white;min-width:16px;height:16px;display:grid;place-items:center;border-radius:5px;font-size:9px}.row-bottom small{font-size:8px;color:#9da89f}.list-footer{border-top:1px solid var(--line);padding:13px 17px;color:#a0a9a2;font-size:9px;display:flex;align-items:center;gap:6px}.list-footer span{width:5px;height:5px;background:#6aab83;border-radius:50%}.chat-panel{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fafbf9}.chat-header{height:74px;background:#fff;border-bottom:1px solid var(--line);padding:0 23px;display:flex;align-items:center;gap:11px;flex-shrink:0}.chat-header h2{font-size:13px;font-weight:750}.chat-header p{font-size:9px;color:#8d9990;margin-top:5px;display:flex;align-items:center;gap:5px}.chat-header p .channel{width:11px;height:11px;font-size:7px}.chat-header .header-actions{margin-left:auto;display:flex;gap:5px}.resolve{display:flex;gap:5px;align-items:center;border:1px solid #e4e9e2;border-radius:6px;padding:7px 8px;background:white;font-size:9px;color:#697b6c}.resolve svg{width:13px;height:13px}.mobile-back{display:none}.thread{flex:1;min-height:0;overflow:auto;padding:20px 26px 10px;scroll-behavior:smooth}.date-divider{display:flex;justify-content:center;align-items:center;gap:13px;color:#a1aaa1;font-size:9px;margin:0 0 24px}.date-divider:before,.date-divider:after{content:'';height:1px;background:#edf0e9;flex:1}.thread-event{font-size:9px;color:#a3aca4;text-align:center;margin:18px 0 22px}.message{max-width:83%;margin-bottom:17px;display:flex;gap:8px;align-items:flex-end}.message .avatar{height:26px;width:26px;font-size:8px;margin-bottom:16px}.message-content{min-width:0}.bubble{background:#fff;border:1px solid #e9ede5;border-radius:11px 11px 11px 2px;padding:12px 14px;font-size:11px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 2px 2px #1f3f2510}.message.out{margin-left:auto;justify-content:flex-end}.message.out .bubble{background:#e7efe0;border-color:#dde8d5;border-radius:11px 11px 2px 11px;box-shadow:none}.message.note{max-width:95%;margin-left:0}.message.note .bubble{background:#fff5d9;border:1px solid #f1e7c5}.message.note .meta{color:#b3a371}.meta{display:flex;justify-content:flex-end;gap:4px;font-size:8px;color:#9aa69b;margin-top:5px}.meta svg{width:12px;height:12px;color:#6da98d}.attachment{border:1px solid #d4dfca;padding:10px;display:flex;align-items:center;gap:10px;border-radius:7px;margin-top:9px;width:100%;text-align:left;background:#ffffff70}.attachment svg{width:24px;color:#73946b}.attachment strong{font-size:10px;display:block}.attachment small{font-size:8px}.ai-suggestion{margin:8px 23px 13px;background:linear-gradient(110deg,#f0edf8,#f7f5fb);border:1px solid #e8e0f3;border-radius:8px;padding:12px 13px;flex-shrink:0}.ai-heading{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:700;color:#8a6eb3}.ai-heading svg{width:14px;height:14px}.ai-heading span{margin-left:auto;font-size:8px;font-weight:500;color:#ac9bbf}.ai-suggestion p{font-size:10px;color:#8a8197;line-height:1.8;margin:7px 0 9px}.ai-bottom{display:flex;align-items:center;justify-content:space-between}.ai-use{font-size:9px;background:#fff;border:1px solid #e1d9ed;border-radius:5px;padding:5px 9px;color:#8c72ab;display:flex;gap:6px;align-items:center}.ai-use svg{width:12px;height:12px}.ai-bottom small{font-size:8px;color:#b4a8c0}.composer{background:#fff;margin:0 23px 13px;border:1px solid #dfe6db;border-radius:9px;flex-shrink:0;box-shadow:0 2px 5px #153e1e05}.composer-tabs{display:flex;gap:18px;padding:12px 14px 0;font-size:10px}.composer-tabs button{color:#a0a79e;padding:0 0 9px;border-bottom:2px solid transparent}.composer-tabs button.active{color:#447c59;border-color:#79a484;font-weight:700}.composer.note-mode{background:#fffcf1;border-color:#e8dba9}.composer textarea{display:block;resize:none;border:0;background:transparent;padding:12px 14px 6px;width:100%;height:67px;font-size:11px;line-height:1.7;outline:none;color:#455b4c}.composer textarea::placeholder{color:#afb6ae}.composer-bottom{display:flex;justify-content:space-between;align-items:center;padding:5px 10px 10px}.composer-tools{display:flex;align-items:center;gap:3px}.composer-tools .icon-btn{width:27px;height:27px}.composer-tools svg{width:16px;height:16px;color:#96a28f}.send{font-size:10px;padding:7px 11px}.send:disabled{opacity:.45;cursor:default}.send svg{width:13px;height:13px}.compose-hint{text-align:center;color:#abb3a8;font-size:8px;margin-bottom:13px;flex-shrink:0}.details{background:#fff;border-left:1px solid var(--line);overflow:auto}.details-title{height:57px;display:flex;align-items:center;justify-content:space-between;padding:0 19px;border-bottom:1px solid var(--line);font-size:11px;font-weight:700}.contact-card{text-align:center;padding:24px 18px 20px}.contact-card .avatar{width:58px;height:58px;margin:0 auto 12px;font-size:19px}.contact-card h3{font-size:13px;margin-bottom:5px}.contact-card p{font-size:9px;color:#a2a99f}.contact-tools{display:flex;justify-content:center;gap:8px;margin-top:16px}.contact-tools button{border:1px solid #e7ece3;background:#fff;width:29px;height:29px;border-radius:7px;color:#83917d;display:grid;place-items:center}.contact-tools svg{height:13px;width:13px}.detail-section{padding:18px 19px;border-top:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;font-size:10px;font-weight:750}.section-heading svg{width:13px;height:13px;color:#a3ad9d}.field{margin-top:13px}.field label{display:block;font-size:9px;color:#a2aa9d;margin-bottom:6px}.field p,.field a{font-size:10px;color:#55674e;text-decoration:none}.field a:hover{text-decoration:underline}.field select{width:100%;font-size:10px;padding:7px;border:1px solid #e9ede5;border-radius:5px;color:#617355;background:#fff}.tags{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.tags .tag{font-size:9px;padding:4px 7px}.tags button{border:1px dashed #d6dfcd;width:23px;height:23px;border-radius:4px;color:#9aa98e}.crm-badge{font-size:9px;background:#eaf4fb;color:#6ba4c4;padding:3px 6px;border-radius:4px;font-weight:500}.deal{border:1px solid #e6ebdf;border-radius:7px;padding:12px}.deal strong{display:block;font-size:10px;font-weight:650;line-height:1.8}.deal .amount{font-size:18px;font-weight:750;letter-spacing:-.4px;margin:10px 0}.progress{display:flex;gap:3px;margin-bottom:8px}.progress i{height:4px;border-radius:3px;background:#edf1e6;flex:1}.progress i.on{background:#95b686}.deal small{font-size:8px}.deal-link{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:9px;color:#658655;padding:11px 0 0}.deal-link svg{width:12px;height:12px}.info-line{display:flex;justify-content:space-between;gap:8px;font-size:9px;margin:13px 0;color:#a2aa9a}.info-line span:last-child{color:#647557}.secure-note{padding:17px 19px;font-size:8px;color:#b0b8a7;display:flex;gap:6px;line-height:1.8}.secure-note svg{width:12px;height:12px;margin-top:2px}.empty{padding:45px 22px;text-align:center;color:#97a18f;line-height:1.9;font-size:12px}.empty svg{width:33px;height:33px;margin-bottom:12px}.empty strong{display:block;color:#62745a}.mobile-info{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);padding:13px 20px;background:#243f32;color:#fff;border-radius:9px;box-shadow:0 7px 30px #1a352533;font-size:12px;z-index:10;opacity:0;pointer-events:none;transition:.2s;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #dde5d8;padding:0;width:min(540px,92vw);max-height:85dvh;border-radius:15px;color:#324b37;box-shadow:0 25px 100px #102b2a30}dialog::backdrop{background:#16332b55;backdrop-filter:blur(4px)}.modal-header{padding:22px 24px 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.modal-header h2{font-size:17px}.modal-body{padding:23px 24px}.modal-body>p{color:#8c9986;font-size:12px;line-height:1.9;margin-bottom:17px}.modal-body .field{margin-bottom:15px}.modal-body input,.modal-body select,.modal-body textarea{width:100%;padding:11px;border:1px solid #dfe7d9;border-radius:6px;background:#fff;color:#526849}.modal-body label{font-size:11px}.modal-body .primary{margin-top:8px}.channel-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.channel-card{padding:14px;border:1px solid #e6ebdf;border-radius:8px;text-align:left;display:flex;gap:10px;align-items:center}.channel-card .channel{width:28px;height:28px;font-size:14px}.channel-card strong{display:block;font-size:11px}.channel-card small{font-size:9px;display:block;margin-top:4px}.template-item{display:block;width:100%;padding:14px;text-align:left;border:1px solid #e5ecdf;border-radius:8px;margin-bottom:9px}.template-item strong{display:block;margin-bottom:7px;font-size:12px}.template-item p{color:#8a9883;line-height:1.7;font-size:11px}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat-card{padding:18px;background:#f4f7ef;border-radius:9px}.stat-card strong{font-size:25px;display:block;margin-top:8px}.stats-note{font-size:10px;line-height:1.9;color:#91a086;margin-top:20px}.contact-entry{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid var(--line);width:100%;text-align:left}.contact-entry small{display:block;margin-top:5px}.contact-entry strong{font-size:12px}.team-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.team-row small{color:#7f9f6e}.detail-close{display:none}.offline{position:absolute;top:0;left:50%;transform:translateX(-50%);background:#fff2d3;padding:6px 15px;font-size:11px;z-index:8;border-radius:0 0 7px 7px}.emoji-row{display:flex;gap:8px;flex-wrap:wrap}.emoji-row button{font-size:25px;padding:8px}.file-chip{margin:4px 14px;font-size:10px;color:#8c825e;display:flex;gap:8px;align-items:center}.file-chip button{font-size:16px}.file-input{display:none}
.main{min-height:0}.inbox{grid-template-rows:minmax(0,1fr);overflow:hidden}.chat-panel{overflow:hidden}.mobile-menu{display:none}
@media(min-width:1600px){.inbox{grid-template-columns:350px minmax(300px,1fr) 310px}.shell{grid-template-columns:238px 1fr}.bubble{font-size:12px}.thread{padding:25px 40px}.chat-row{padding:19px 23px}.row-top strong{font-size:12px}.row-preview{font-size:11px}}
@media(max-width:1250px){.shell{grid-template-columns:184px 1fr}.sidebar{padding-left:10px;padding-right:10px}.inbox{grid-template-columns:285px minmax(280px,1fr)}.details{display:none}.details.show{display:block;position:fixed;right:0;top:0;bottom:0;width:290px;z-index:5;box-shadow:-10px 0 50px #16372925}.detail-close{display:grid}.mobile-info{display:grid}.chat-header{padding:0 18px}.topbar,.page-title{padding-left:24px;padding-right:24px}.help-card{display:none}}
@media(max-width:850px){.shell{grid-template-columns:65px 1fr}.sidebar{padding:24px 9px 15px}.brand{padding:0 7px 30px}.brand>span:last-child,.workspace,.nav-label,.nav-item>span,.channels-nav,.profile>div:not(.avatar),.profile button{display:none}.nav-item{justify-content:center;padding:13px 0}.sidebar .profile{padding:16px 7px 0}.inbox{grid-template-columns:265px minmax(260px,1fr)}.ai-suggestion{margin-left:15px;margin-right:15px}.composer{margin-left:15px;margin-right:15px}.thread{padding-left:16px;padding-right:16px}.message{max-width:94%}.chat-header .resolve{font-size:0;gap:0}.chat-header .resolve svg{width:17px;height:17px}.chat-header h2{font-size:12px}.topbar{height:62px}.page-title{height:87px}.demo-pill{font-size:9px}.top-actions{gap:5px}}
@media(max-width:650px){.shell{grid-template-columns:1fr;min-height:0}.sidebar{display:none}.topbar{height:48px;padding:0 18px}.breadcrumb{font-size:10px}.top-actions .icon-btn,.top-actions .divider{display:none}.page-title{height:87px;padding:0 18px}.page-title h1{font-size:23px}.page-title p{font-size:10px}.page-title .primary{font-size:10px;padding:8px 10px}.inbox{display:flex;position:relative}.conversation-list{width:100%;border:0}.list-tools{padding:16px 20px 0}.list-tabs{gap:24px}.list-tabs button{font-size:12px}.list-filter{padding:14px 20px}.chat-row{padding:18px 20px;min-height:100px}.row-top strong{font-size:13px}.row-top time{font-size:10px}.row-preview{font-size:12px}.row-bottom small{font-size:9px}.chat-row .avatar{width:43px;height:43px}.tag{font-size:9px}.chat-panel{display:none}.shell.mobile-chat .chat-panel{display:flex;width:100%}.shell.mobile-chat .conversation-list{display:none}.shell.mobile-chat .page-title{display:none}.mobile-back{display:grid;margin-left:-10px}.chat-header{height:70px;padding:0 14px;gap:7px}.chat-header h2{font-size:13px}.chat-header .avatar{width:32px;height:32px;font-size:10px}.chat-header .header-actions{gap:0}.chat-header p{font-size:8px}.thread{padding:17px 15px 5px}.message{max-width:89%}.bubble{font-size:12px}.ai-suggestion{padding:10px;margin-bottom:10px}.ai-suggestion p{font-size:10px}.composer{margin-bottom:6px}.compose-hint{margin-bottom:8px}.composer textarea{height:64px;font-size:12px}.composer-tabs{font-size:11px}.details.show{width:min(330px,100%)}.channel-grid{grid-template-columns:1fr 1fr}.modal-body{padding:20px}.search input{font-size:12px}}
@media(max-width:650px){.mobile-menu{display:grid;width:25px;height:28px;margin-left:-6px}.breadcrumb{gap:5px}.breadcrumb>.mobile-menu+svg{display:none}.breadcrumb>span{max-width:82px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}
.auth-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#f6f8f2;align-items:center;padding:55px 9%;gap:12%}.auth-logo{font-size:38px;font-weight:800;letter-spacing:-2px;color:#233e31;margin-bottom:50px}.auth-logo span,.auth-intro h1 span{color:#6b9e73}.auth-eyebrow{font-size:9px;font-weight:750;letter-spacing:1.5px;color:#8a9d81}.auth-intro h1{font-size:clamp(34px,4.2vw,64px);line-height:1.18;letter-spacing:-2.5px;margin:22px 0}.auth-intro>p{color:#84917c;line-height:1.9;font-size:14px}.auth-feature{display:flex;gap:10px;align-items:center;margin-top:45px;font-size:11px;color:#8ca080}.auth-feature svg{width:17px}.auth-card{background:white;border:1px solid #e1e8da;border-radius:18px;padding:38px;box-shadow:0 20px 60px #244c3010;max-width:480px;width:100%}.auth-card h2{font-size:24px;line-height:1.4;letter-spacing:-.7px;margin:12px 0}.auth-card p{font-size:12px;color:#92a087;line-height:1.9;margin-bottom:22px}.auth-card .field{margin-top:17px}.auth-card label{font-size:11px;color:#6a7f5e}.auth-card input{width:100%;border:1px solid #dce5d4;border-radius:7px;padding:12px;background:#fcfdfb;color:#405c34}.auth-card small{font-size:9px;display:block;margin-top:6px}.auth-card .primary{width:100%;margin-top:8px;padding:13px;font-size:12px}.auth-demo{border-top:1px solid #edf0e8;padding-top:20px;margin-top:24px;text-align:center}.auth-demo a,.auth-card a{color:#5b8b59;font-size:11px}.form-error{color:#b76e59!important;font-size:11px!important;line-height:1.7!important;margin-top:12px!important;margin-bottom:8px!important}.form-error:empty{display:none}.server-pill{background:#edf6ed!important;color:#6c936c!important}.delivery-error{font-size:10px;color:#b37660;line-height:1.7;margin-top:7px}.connection-status{display:block;color:#6b9661;font-size:11px;margin:8px 0}.integration-row{border:1px solid #e4ebdd;padding:15px;border-radius:8px;margin-bottom:16px}.integration-row small{display:block;line-height:1.8}.text-button{color:#a6816b;font-size:10px;text-decoration:underline;padding:8px 0}.integration-hint{font-size:10px;color:#9aa88c;line-height:1.9;margin-top:20px}.primary:disabled{opacity:.5;cursor:wait}.meta{flex-wrap:wrap}
@media(max-width:750px){.auth-page{grid-template-columns:1fr;padding:30px 20px;gap:25px}.auth-intro{display:none}.auth-card{margin:auto;padding:28px}.auth-card h2{font-size:23px}}
.media-attachment{min-width:min(250px,100%);max-width:360px;margin-top:8px;border:1px solid #dce5d5;background:#ffffff75;border-radius:9px;overflow:hidden}.media-file{display:flex;align-items:center;gap:9px;padding:9px 10px}.media-file-icon{display:grid;place-items:center;color:#78946a;background:#edf3e7;width:31px;height:35px;border-radius:6px;flex-shrink:0}.media-file-icon svg{width:18px}.media-file-name{text-align:left;min-width:0;flex:1;padding:0}.media-file-name strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;max-width:235px}.media-file-name small{display:block;font-size:9px;margin-top:2px}.media-file .icon-btn{width:28px;flex-shrink:0}.media-file .icon-btn svg{width:15px}.photo-preview{padding:0;display:block;width:100%;background:#e8eee3;min-height:100px;color:#87957c;font-size:10px}.photo-preview img{display:block;width:100%;max-height:240px;object-fit:cover}.photo-preview:has(span){padding:20px;display:flex;gap:10px;align-items:center}.voice-preview{padding:13px 12px 7px;display:flex;flex-wrap:wrap;gap:7px;align-items:center;color:#80946e}.voice-preview>span{font-size:10px}.voice-preview>svg{width:15px;height:15px}.voice-preview audio{display:block;width:100%;height:35px;margin-top:5px;min-width:210px}.media-attachment .delivery-error{padding:0 10px 9px}.media-retry{font-size:10px;display:flex;gap:7px;align-items:center;color:#ac8469;padding:13px;width:100%}.pending-attachment{position:relative;margin:3px 13px 10px;max-width:320px;font-size:11px}.pending-attachment .media-attachment{margin-top:0;background:#f9fbf5}.pending-attachment .photo-preview img{max-height:95px;object-fit:cover}.pending-attachment .media-file-name strong{max-width:190px}.remove-attachment{position:absolute;top:-7px;right:-7px;border:1px solid #d8e1d0;border-radius:50%;background:white;width:24px;height:24px;display:grid;place-items:center;box-shadow:0 2px 5px #243e2010}.remove-attachment svg{width:13px;height:13px}.lightbox-image{display:block;max-width:100%;max-height:62dvh;margin:auto;object-fit:contain;border-radius:6px}.pdf-preview{height:60dvh;width:100%;border:1px solid #e5eadf;border-radius:6px}.text-preview{max-height:55dvh;overflow:auto;white-space:pre-wrap;word-break:break-word;background:#f6f8f1;border:1px solid #e2e9db;padding:18px;border-radius:7px;font-size:12px;line-height:1.8}.preview-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:19px;font-size:10px;color:#8c9b7f}.preview-footer>span{min-width:0;overflow-wrap:anywhere}.preview-footer .primary{white-space:nowrap;text-decoration:none;margin-top:0}.document-preview,.record-panel,.audio-lightbox,.upload-status{text-align:center;padding:18px 0}.document-preview>svg{height:45px;width:45px;color:#8fa579}.document-preview h3{font-size:15px;margin:16px 0}.document-preview p,.record-panel p{font-size:11px;line-height:1.9;color:#8e9f7d;margin:13px 0}.audio-lightbox>svg{display:block;width:38px;height:38px;color:#8ba571;margin:0 auto 20px}.audio-lightbox audio,.record-panel audio{width:100%;margin:15px 0}.field-label{display:block;font-size:11px;color:#8c9d7e;margin-bottom:8px}.upload-select{width:100%;padding:11px;border:1px solid #dce5d3;border-radius:6px;color:#647b52;background:#fff}.upload-drop{border:1px dashed #bbcfac;border-radius:11px;background:#f7faf3;text-align:center;display:flex;flex-direction:column;gap:12px;align-items:center;padding:35px 18px;margin-top:20px;cursor:pointer;color:#71905b}.upload-drop>svg{height:32px;width:32px}.upload-drop strong{font-size:13px}.upload-drop span{font-size:10px;line-height:1.8;color:#9aac89}.upload-status>svg{display:block;margin:0 auto 15px;width:35px;height:35px;color:#89a16f}.upload-status strong,.upload-status small{display:block;overflow-wrap:anywhere}.upload-status small{margin-top:8px}.upload-status progress{width:100%;margin:25px 0 15px;height:8px;accent-color:#438767}.upload-status p{font-size:11px;color:#8e9f7e}.record-orb{border-radius:50%;width:85px;height:85px;margin:0 auto 24px;background:#eef3e8;color:#8aaa70;display:grid;place-items:center}.record-orb svg{width:34px;height:34px}.record-orb.recording{background:#f9e8df;color:#c48668;animation:record-pulse 1.5s infinite}.record-orb.ready{background:#e6efdc;color:#7a9b61}.record-panel h3{font-size:20px}.record-panel .primary{margin-top:10px}.media-loading{text-align:center;color:#8a9d7a;padding:35px}.media-attachment audio{color-scheme:light}.bubble:has(.media-attachment){padding:9px;line-height:1.7}.bubble:has(.media-attachment)> .media-attachment{margin-top:6px}.composer:has(.pending-attachment .media-attachment) textarea{height:43px}.composer:has(.pending-attachment .media-attachment) .composer-tabs{padding-top:8px}.composer:has(.pending-attachment .media-attachment) .voice-preview{padding-top:8px}.composer:has(.pending-attachment .media-attachment) .voice-preview audio{height:30px}@keyframes record-pulse{50%{box-shadow:0 0 0 12px #f9e8df66}}@media(max-width:650px){.media-file-name strong{max-width:170px}.media-attachment{max-width:290px;min-width:220px}.voice-preview audio{min-width:190px}.preview-footer{align-items:flex-start}.pending-attachment{max-width:270px}.pending-attachment .photo-preview img{max-height:70px}.pending-attachment .media-file{padding:6px 9px}.composer:has(.pending-attachment .media-attachment) textarea{height:35px}.ai-suggestion:has(+.composer .pending-attachment .media-attachment){display:none}}
.photo-preview img{height:210px}.pending-attachment .photo-preview img{height:95px}@media(max-width:650px){.pending-attachment .photo-preview img{height:70px}}
.crm-sync-status{font-size:10px;display:flex;align-items:center;gap:6px;color:#94a080;margin-bottom:13px;line-height:1.7}.crm-sync-status>span{width:6px;height:6px;border-radius:50%;background:#b7c2a7;flex-shrink:0}.crm-sync-status.synced{color:#729663}.crm-sync-status.synced>span{background:#87ac73}.crm-sync-status.error,.crm-sync-status.unknown{color:#ba8668}.crm-sync-status.error>span,.crm-sync-status.unknown>span{background:#c9997c}.crm-sync-status.syncing>span{background:#91aac2;animation:record-pulse 1.5s infinite}.crm-error{font-size:10px;line-height:1.8;color:#b37d61;margin-bottom:11px;overflow-wrap:anywhere}.crm-hint{font-size:10px;color:#94a185;line-height:1.9}.crm-last-sync{display:block;margin:13px 0;font-size:8px;line-height:1.9}.crm-action{border:1px solid #d9e5cf;border-radius:6px;padding:8px 9px;color:#6f8e58;font-size:10px;width:100%;display:flex;align-items:center;justify-content:center;gap:6px;background:#f8faf5}.crm-action svg{width:14px;height:14px}.crm-secondary{font-size:9px;color:#99a987;text-align:center;display:block;width:100%;padding-top:11px;text-decoration:underline}.crm-identities{margin-top:11px;color:#a2af92;font-size:8px;line-height:1.8}.amo-account{padding:15px;border:1px solid #dce7d2;border-radius:8px;margin-bottom:22px;background:#f8fbf5}.amo-account strong{display:block;font-size:13px}.amo-account small{display:block;margin-top:5px}.checkbox-field{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.8;color:#839771;margin:17px 0}.checkbox-field input{width:15px;height:15px;accent-color:#38845d;margin:3px 0 0;flex-shrink:0}.modal-separator{border:0;border-top:1px solid #e8eee1;margin:22px 0}.amo-form-title{font-size:13px;margin:16px 0}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Channel health stays visible while the operator reads or writes a reply. */
.channel-status-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 20px;background:#eef5fb;color:#386a9e;font-size:11px;border-bottom:1px solid #dce6ef}
.channel-status-bar span{display:flex;align-items:center;gap:7px;min-width:0;overflow-wrap:anywhere}
.channel-status-bar svg{width:14px;height:14px;flex-shrink:0}
.channel-status-bar button{border:0;background:transparent;color:inherit;text-decoration:underline;cursor:pointer;flex-shrink:0}
.channel-status-bar.error,.channel-status-bar.disconnected{background:#fff3e9;color:#925f35}
/* Full-page settings center, sharing existing connection forms and handlers. */
.shell.settings-open{grid-template-columns:76px minmax(0,1fr)}
.settings-open .main{background:linear-gradient(125deg,#f0efd7 0%,#e4eedf 35%,#dcebf0 75%,#e2e9f8 100%);min-height:0}
.settings-open .main>.page-title,.settings-open .main>.inbox{display:none}
.settings-open .topbar{height:54px;flex-shrink:0;background:transparent;border:0;padding:0 28px}
.settings-open .sidebar{padding:25px 10px 18px}
.settings-open .brand{padding:0 8px 28px}
.settings-open .brand>span:last-child,.settings-open .workspace,.settings-open .nav-label,.settings-open .nav-item>span,.settings-open .channels-nav,.settings-open .help-card,.settings-open .profile>div:not(.avatar),.settings-open .profile button{display:none}
.settings-open .nav-item{justify-content:center;padding:14px 0;margin-bottom:5px}
.settings-open .sidebar .profile{justify-content:center;padding:18px 0 0}
.settings-open .nav-item.active{background:#dbeaff;color:#2563bd}
.settings-center{display:flex;flex-direction:column;min-height:0;flex:1;padding:0 28px 24px;color:#243546}
.settings-center[hidden]{display:none}
.settings-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0 24px;flex-shrink:0}
.settings-page-heading>div{display:flex;align-items:center;gap:15px}
.settings-page-heading h1{font-size:32px;letter-spacing:-1px;line-height:1.25;margin:5px 0 4px;color:#162838}
.settings-page-heading p{font-size:13px;color:#67798a;margin:0;max-width:650px;overflow-wrap:anywhere}
.settings-eyebrow{font-size:9px;letter-spacing:1.6px;color:#748493;font-weight:700}
.settings-back{display:grid;place-items:center;width:37px;height:37px;flex-shrink:0;border-radius:9px;background:#ffffff70;color:#6d7f8c}
.settings-back svg{width:21px;height:21px}
.settings-access{display:flex;align-items:center;gap:7px;font-size:11px;color:#6b7e89}
.settings-access svg{width:16px;height:16px}
.settings-frame{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:0;flex:1;background:#ffffffed;border:1px solid #fff;border-radius:17px;overflow:hidden;box-shadow:0 8px 35px #273e4510}
.settings-sections{display:flex;flex-direction:column;background:linear-gradient(#fafbf9,#f0f4f8);border-right:1px solid #e8edf0;padding:10px 0;min-height:0}
.settings-sections>button{display:flex;gap:12px;align-items:center;text-align:left;padding:21px 18px;font-size:14px;color:#536272;font-weight:650;border-left:3px solid transparent}
.settings-sections>button>svg:first-child{width:21px;height:21px;flex-shrink:0}
.settings-sections>button>svg:last-child{width:13px;height:13px;margin-left:auto;color:#99a5ae}
.settings-sections>button.selected{background:#eaf1fc;color:#2667bd;border-left-color:#347de2}
.settings-sections>button:hover{background:#edf2f7}
.settings-nav-footer{display:flex;gap:9px;padding:22px 20px;margin-top:auto;font-size:10px;line-height:1.8;color:#8995a1}
.settings-nav-footer svg{height:17px;width:17px;flex-shrink:0;margin-top:3px}
.settings-workarea{display:flex;min-width:0;min-height:0;overflow:hidden}
.settings-providers{width:230px;flex-shrink:0;border-right:1px solid #e8edf0;overflow:auto;background:#ffffffa0}
.settings-catalog-heading{padding:22px 20px 10px;font-size:10px;text-transform:uppercase;letter-spacing:1.4px;color:#8b98a4}
.settings-provider{display:flex;align-items:center;gap:12px;width:100%;padding:18px 16px;text-align:left;border-bottom:1px solid #f0f3f6;color:#334759}
.settings-provider>span:not(.settings-provider-icon){flex:1;min-width:0}
.settings-provider strong{display:block;font-size:13px;line-height:1.5;font-weight:650}
.settings-provider small{display:block;font-size:10px;margin-top:4px;color:#94a0ab}
.settings-provider>svg{width:15px;height:15px;flex-shrink:0;color:#a7b1ba}
.settings-provider.selected{background:#f1f5fc;box-shadow:inset -3px 0 #347de2}
.settings-provider:hover{background:#f7f9fc}
.settings-provider-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--provider-color);color:#fff;font-size:17px;font-weight:750;letter-spacing:-1px;flex-shrink:0}
.settings-provider small.connected,.settings-provider:has(.connected)>svg{color:#33915e}
.settings-provider small.error,.settings-provider:has(.error)>svg{color:#bb6b46}
.settings-panel{flex:1;min-width:0;overflow:auto;padding:30px 34px;outline:none;background:#ffffff9c}
.settings-panel:focus-visible{box-shadow:inset 0 0 0 2px #4d88d9}
.settings-content-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}
.settings-content-heading h2{font-size:25px;color:#1c3042;margin:0 0 9px;letter-spacing:-.5px}
.settings-content-heading p{font-size:12px;color:#8b98a4;line-height:1.8;margin:0}
.settings-pill{white-space:nowrap;align-self:flex-start;font-size:10px;line-height:1.5;border-radius:30px;padding:6px 11px;background:#edf1f5;color:#7b8a98}
.settings-pill.connected{background:#eaf5ee;color:#348757}
.settings-pill.error{background:#fcf0e7;color:#ae6941}
.settings-workspace-identity{display:flex;align-items:center;gap:22px;margin:12px 0 30px}
.settings-workspace-identity>span{width:92px;height:92px;border-radius:50%;background:#edf2f7;color:#9aaec0;font-size:28px;font-weight:650;display:grid;place-items:center;flex-shrink:0}
.settings-workspace-identity strong{display:block;font-size:18px;line-height:1.7;overflow-wrap:anywhere}
.settings-workspace-identity small{display:block;font-size:10px;color:#9aa7b2;margin-top:6px;overflow-wrap:anywhere}
.settings-general-form{max-width:720px}
.settings-panel .field{margin-bottom:22px}
.settings-panel .field label{display:block;font-size:12px;color:#7d8b9a;margin-bottom:9px}
.settings-panel .field label>span{color:#c27c69}
.settings-panel .field input,.settings-panel .field textarea{width:100%;border:1px solid #d5dfea;background:#fff;border-radius:7px;padding:12px 14px;font-size:14px;color:#34495c;line-height:1.7;font-family:inherit;box-sizing:border-box}
.settings-panel .field textarea{resize:vertical;min-height:130px}
.settings-panel .field input:focus,.settings-panel .field textarea:focus{outline:2px solid #bbd6fb;outline-offset:1px;border-color:#6ca1eb}
.settings-panel .field input[readonly],.settings-panel .field textarea[readonly]{background:#f6f8fa;color:#7e8b96}
.settings-panel .field small{display:block;font-size:10px;color:#9aa7b1;margin-top:6px;line-height:1.7}
.settings-panel .primary{background:#2675dc;color:#fff;padding:11px 18px;border-radius:7px;font-size:12px;gap:7px}
.settings-panel .primary:hover{background:#1f64bf}
.settings-panel .primary svg{width:15px;height:15px}
.settings-save-row{display:flex;align-items:center;gap:17px;margin:25px 0;flex-wrap:wrap}
.settings-save-row>span{font-size:10px;color:#8c9aa6}
.settings-save-row>button:not(.primary){color:#8c9aa6;font-size:12px}
.settings-info-note{display:flex;align-items:flex-start;gap:13px;border:1px solid #e6edf4;background:#f7fafc;border-radius:9px;padding:17px 20px;margin-top:30px;max-width:720px}
.settings-info-note>svg{width:20px;height:20px;color:#8ba5bf;flex-shrink:0;margin-top:2px}
.settings-info-note strong{font-size:11px;color:#758ca1}
.settings-info-note p{font-size:11px;color:#98a6b1;line-height:1.8;margin:6px 0 0}
.settings-connection-content{max-width:760px}
.settings-connection-content>p{font-size:13px;color:#7f8e9c;line-height:1.9;margin-bottom:24px}
.settings-connection-content .integration-row,.settings-connection-content .amo-account{background:#f8fafc;border-color:#e1e9f1;padding:18px;border-radius:9px;margin-bottom:24px}
.settings-connection-content .integration-row strong,.settings-connection-content .amo-account strong{font-size:14px;color:#3c5165}
.settings-connection-content .integration-row small,.settings-connection-content .amo-account small{font-size:11px;color:#9aa6af;line-height:1.8;overflow-wrap:anywhere}
.settings-connection-content .checkbox-field{color:#738597;font-size:12px}
.settings-connection-content .upload-select{color:#60778b;border-color:#d7e0ea;font-size:13px}
.settings-connection-content .field-label{font-size:12px;color:#7e8b9b}
.settings-connection-content .amo-form-title{font-size:15px;margin:23px 0 18px}
.settings-connection-content .integration-hint{border-top:1px solid #e8edf3;padding-top:22px;color:#93a2af;font-size:11px}
.settings-connection-content .text-button{color:#a7755a;font-size:11px}
.settings-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:300px;padding:25px;gap:15px}
.settings-empty>svg{width:47px;height:47px;color:#a1b4c4}
.settings-empty .settings-provider-icon{width:76px;height:76px;font-size:30px;margin-bottom:10px}
.settings-empty h2,.settings-empty h3{font-size:20px;margin:0;color:#526a7e}
.settings-empty p{max-width:420px;font-size:13px;line-height:1.9;color:#93a2ae;margin:0}
.settings-return{display:flex;align-items:center;gap:10px;color:#347bd4;font-size:12px;margin-top:15px}
.settings-return svg{width:15px;height:15px}
.settings-loading{font-size:13px;color:#8b9baa;padding:55px 15px;text-align:center}
.settings-total{font-size:13px;vertical-align:middle;letter-spacing:0;background:#f0f3f6;color:#8c9aa6;border-radius:7px;padding:4px 8px;margin-left:6px}
.settings-team-filters{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:25px}
.settings-team-filters>label{display:flex;align-items:center;gap:10px;font-size:11px;color:#8e9ba8}
.settings-team-filters .settings-team-search{gap:9px;border:1px solid #dce4ed;border-radius:7px;padding:10px 13px;background:#fff}
.settings-team-search svg{width:17px;height:17px;color:#9aaab9}
.settings-team-search input{border:0;outline:0;font-size:12px;width:175px;color:#4e667b;background:transparent}
.settings-team-filters select{border:1px solid #dce4ed;border-radius:7px;padding:10px 12px;background:#fff;color:#6c8194;font-size:12px}
.settings-team-table{overflow-x:auto;max-width:100%;border:1px solid #e7edf3;border-radius:9px}
.settings-team-table table{border-collapse:collapse;width:100%;text-align:left;min-width:620px}
.settings-team-table th{background:#f8fafc;font-size:11px;color:#93a0ac;padding:16px;font-weight:500;white-space:nowrap}
.settings-team-table td{padding:20px 16px;font-size:12px;color:#728698;border-top:1px solid #edf1f5;overflow-wrap:anywhere}
.settings-team-table th:first-child{width:30%}
.settings-member{display:flex;align-items:center;gap:12px}
.settings-member>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#eaf0f7;color:#88a0b5;font-size:11px;flex-shrink:0}
.settings-member strong{font-size:12px;color:#50697f;font-weight:600}
.settings-role{font-size:10px;border-radius:5px;background:#edf3fa;color:#6a88a7;padding:6px 9px;white-space:nowrap}
.settings-role.admin{background:#eaf3ed;color:#689678}
.settings-no-results{text-align:center}
#settings-add-member{margin-top:30px;max-width:720px;padding:25px;background:#f8fafc;border:1px solid #e6edf4;border-radius:10px}
#settings-add-member[hidden]{display:none}
#settings-member-form h3{font-size:18px;margin:0 0 10px;color:#4d6478}
#settings-member-form>p{font-size:12px;color:#8d9da9;line-height:1.8;margin-bottom:25px}
.settings-member-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.settings-center button:focus-visible,.settings-center select:focus-visible{outline:2px solid #5b96e6;outline-offset:-2px}
@media(min-width:1650px){.settings-frame{grid-template-columns:250px minmax(0,1fr)}.settings-providers{width:270px}.settings-panel{padding:38px 45px}}
@media(max-width:1100px){.settings-center{padding:0 20px 20px}.settings-frame{grid-template-columns:170px minmax(0,1fr)}.settings-sections>button{padding:19px 12px;font-size:12px;gap:8px}.settings-providers{width:190px}.settings-provider{gap:8px;padding:16px 10px}.settings-provider strong{font-size:11px}.settings-panel{padding:25px 22px}.settings-provider-icon{width:31px;height:31px;font-size:14px}.settings-page-heading h1{font-size:28px}.settings-access{display:none}.settings-content-heading{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:760px){.settings-open .topbar{padding:0 18px}.settings-center{padding:0 14px 14px}.settings-frame{display:flex;flex-direction:column}.settings-sections{flex-direction:row;overflow-x:auto;padding:0;flex-shrink:0;border-right:0;border-bottom:1px solid #e8edf0}.settings-sections>button{flex:1;white-space:nowrap;justify-content:center;border-left:0;border-bottom:3px solid transparent;padding:15px 14px;font-size:11px}.settings-sections>button.selected{border-bottom-color:#347de2}.settings-sections>button>svg:last-child,.settings-nav-footer{display:none}.settings-sections>button>svg:first-child{width:17px;height:17px}.settings-workarea{flex:1}.settings-providers{width:175px}.settings-panel{padding:23px 20px}.settings-workspace-identity>span{width:65px;height:65px;font-size:22px}.settings-workspace-identity{gap:15px}.settings-workspace-identity strong{font-size:15px}.settings-page-heading{padding-bottom:18px}.settings-page-heading h1{font-size:25px}.settings-content-heading h2{font-size:23px}.settings-save-row{gap:12px}.settings-member-fields{grid-template-columns:1fr;gap:0}}
@media(max-width:650px){.shell.settings-open{grid-template-columns:1fr}.settings-open .sidebar{display:none}.settings-open .topbar{height:43px}.settings-center{padding:0 10px 10px}.settings-page-heading{padding:9px 6px 16px}.settings-page-heading>div{gap:10px}.settings-page-heading h1{font-size:24px}.settings-page-heading p{font-size:11px;max-width:260px}.settings-eyebrow{font-size:8px}.settings-back{width:30px;height:30px}.settings-frame{border-radius:12px}.settings-sections>button{flex:0 0 auto;padding:15px 12px;font-size:11px;gap:6px}.settings-workarea.has-catalog{flex-direction:column}.settings-providers{width:100%;display:flex;overflow-x:auto;flex-shrink:0;max-height:95px;border-right:0;border-bottom:1px solid #e8edf0}.settings-catalog-heading{display:none}.settings-provider{min-width:155px;width:auto;padding:13px 12px;border-bottom:0;border-right:1px solid #eef2f5}.settings-provider.selected{box-shadow:inset 0 -3px #347de2}.settings-provider>svg{display:none}.settings-panel{padding:24px 18px}.settings-content-heading{gap:12px;margin-bottom:23px}.settings-content-heading h2{font-size:22px}.settings-content-heading p{font-size:11px}.settings-pill{font-size:9px}.settings-workspace-identity small{font-size:9px}.settings-panel .field input,.settings-panel .field textarea{font-size:14px;padding:10px 12px}.settings-info-note{padding:14px;margin-top:24px}.settings-info-note p{font-size:10px}.settings-workspace-identity{align-items:flex-start}.settings-save-row>span{display:block;width:100%}.settings-empty{padding:20px 5px;min-height:230px}.settings-empty p{font-size:12px}.settings-team-filters{gap:12px}.settings-team-filters .settings-team-search{width:100%}.settings-team-search input{width:100%}.settings-team-filters select{max-width:210px}#settings-add-member{padding:18px}.settings-team-table table{min-width:590px}}
.settings-account-row{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:720px;border-top:1px solid #e6edf4;margin-top:30px;padding:25px 0 10px}
.settings-account-row strong{display:block;font-size:12px;color:#6b8193}
.settings-account-row small{display:block;font-size:10px;color:#9aa6b1;margin-top:6px;overflow-wrap:anywhere}
.settings-account-row button{display:flex;align-items:center;gap:7px;flex-shrink:0;font-size:11px;color:#9b7968}
.settings-account-row button svg{width:15px;height:15px}
@media(max-width:650px){.settings-account-row{flex-wrap:wrap;gap:18px}}
.shell:not(.settings-open){grid-template-columns:76px minmax(0,1fr)}
.shell:not(.settings-open) .sidebar{padding:25px 10px 18px}
.shell:not(.settings-open) .brand{padding:0 8px 28px}
.shell:not(.settings-open) .brand>span:last-child,.shell:not(.settings-open) .workspace,.shell:not(.settings-open) .nav-label,.shell:not(.settings-open) .nav-item>span,.shell:not(.settings-open) .channels-nav,.shell:not(.settings-open) .help-card,.shell:not(.settings-open) .profile>div:not(.avatar),.shell:not(.settings-open) .profile button{display:none}
.shell:not(.settings-open) .sidebar .nav-item{justify-content:center;padding:14px 0;margin-bottom:5px}
.shell:not(.settings-open) .sidebar .profile{justify-content:center;padding:18px 0 0}
.shell:not(.settings-open) .main{background:linear-gradient(120deg,#f0efd9,#e3eedf 35%,#d9eaf0 75%,#e2e9f6)}
.shell:not(.settings-open) .topbar{height:50px;flex-shrink:0;background:transparent;border:0;padding:0 25px}
.shell:not(.settings-open) .page-title{height:96px;flex-shrink:0;padding:0 25px}
.shell:not(.settings-open) .page-title h1{font-size:32px;color:#193144;letter-spacing:-.7px}
.shell:not(.settings-open) .page-title p{color:#82929e;font-size:11px}
.shell:not(.settings-open) .inbox{display:grid;grid-template-columns:335px minmax(300px,1fr) 310px;flex:1;min-height:0;position:relative;background:#fff;border:1px solid #fff;border-radius:15px;margin:0 25px 22px;overflow:hidden}
.shell:not(.settings-open) .conversation-list{background:#fff;min-height:0}
.shell:not(.settings-open) .chat-panel{background:#fff}
.shell:not(.settings-open) .thread{padding:24px 25px;min-height:0}
.shell:not(.settings-open) .chat-header{height:75px;min-height:75px;background:#fff}
.shell:not(.settings-open) .details{background:#fff}
.shell:not(.settings-open) .bubble{font-size:12px;line-height:1.8}
.shell:not(.settings-open) .message.in .bubble{background:#f3f5f8;border-color:#f3f5f8;border-radius:12px 12px 12px 3px}
.shell:not(.settings-open) .message.out .bubble{background:#eaf1f7;border-color:#eaf1f7;border-radius:12px 12px 3px 12px}
.shell:not(.settings-open) .chat-row{padding:18px 19px;min-height:100px;border-bottom:1px solid #f0f3f6}
.shell:not(.settings-open) .chat-row.selected{background:#f0f5fc;border-left-color:#367de0}
.shell:not(.settings-open) .row-top strong{font-size:12px;color:#2d475d}
.shell:not(.settings-open) .row-preview{font-size:11px;color:#8395a5}
.shell:not(.settings-open) .row-bottom{flex-wrap:wrap;gap:5px}
.shell:not(.settings-open) .list-filter{font-size:10px;color:#9aa8b5;padding:13px 20px}
.list-order{font-size:9px;color:#a5b0ba}
.message-filters{padding:0 25px 13px;flex-shrink:0;color:#587083}
.message-filter-controls{display:flex;flex-wrap:wrap;align-items:stretch;gap:9px}
.message-filter{display:flex;flex-direction:column;gap:2px;background:#fff;border:1px solid #dce4ec;border-radius:7px;padding:7px 12px;min-width:145px}
.message-filter>span{font-size:9px;color:#99a6b2;line-height:1.5}
.message-filter select{border:0;background:transparent;font-size:12px;color:#405970;font-family:inherit;padding:1px 22px 1px 0;max-width:230px;min-width:115px;cursor:pointer;outline:none}
.message-filter:focus-within{outline:2px solid #8fb7ec;outline-offset:1px;border-color:#9abce8}
.message-filter:has(#message-period-filter){min-width:205px}
.message-filter:has(#unanswered-filter){min-width:185px}
.message-filter-reset{display:grid;place-items:center;border:1px solid #dce4ec;background:#ffffffb3;color:#9cacb8;border-radius:7px;width:43px;flex-shrink:0;min-height:45px}
.message-filter-reset svg{height:16px;width:16px}
.message-filter-summary{display:flex;align-items:center;gap:15px;font-size:9px;color:#8c9ea9;margin-top:9px;min-height:14px;flex-wrap:wrap}
.message-filter-summary p{margin:0;color:#b57860;font-size:10px}
.message-filter-summary p:empty{display:none}
.message-date-range{display:flex;align-items:center;gap:15px;padding-top:13px}
.message-date-range[hidden]{display:none}
.message-date-range label{display:flex;align-items:center;gap:8px;font-size:11px}
.message-date-range input{background:#fff;border:1px solid #d6e1ea;border-radius:6px;padding:8px 10px;color:#59748b;font-size:11px;font-family:inherit}
.message-date-range>span{font-size:10px;color:#91a2ae}
.message-filters-mobile{display:none}
.needs-reply{color:#ad7e55;font-size:8px;border-radius:4px;background:#fbf3e9;padding:3px 5px;white-space:nowrap}
.archived-label{font-size:8px;background:#edf0f4;color:#8b9baa;padding:3px 5px;border-radius:4px}
.inbox-empty-state{display:none;align-items:center;justify-content:center;text-align:center;padding:35px;grid-column:2/-1;grid-row:1;background:#fafcfe}
.inbox-empty-state>div{max-width:360px}
.inbox-empty-state svg{width:45px;height:45px;color:#a6b8c8;margin-bottom:20px}
.inbox-empty-state h2{font-size:20px;color:#526e85;line-height:1.6;margin-bottom:12px}
.inbox-empty-state p{font-size:12px;color:#9aaab8;line-height:1.9;margin-bottom:22px}
.inbox.no-matches>.chat-panel,.inbox.no-matches>.details{display:none!important}
.inbox.no-matches>.inbox-empty-state{display:flex}
.conversation-actions{position:sticky;bottom:0;background:#ffffffed;backdrop-filter:blur(9px);padding:15px 19px;border-top:1px solid #edf1f5;display:flex;flex-direction:column;gap:9px;z-index:1}
.conversation-actions .primary{background:#337bd8;color:#fff;justify-content:center;padding:10px;font-size:11px}
.conversation-actions .primary svg,.mark-answered svg{height:15px;width:15px}
.conversation-state{font-size:9px;color:#8fa092;display:flex;align-items:center;gap:5px}
.conversation-state:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}
.conversation-state.unanswered{color:#ba9169}
.conversation-state.archived{color:#9ba9b5}
.mark-answered{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dce7f5;background:#eef4fd;color:#6e96c7;border-radius:6px;padding:9px;font-size:10px}
.mark-answered:disabled{opacity:.55;cursor:default}
.settings-open .message-filters{display:none}
@media(min-width:1650px){.shell:not(.settings-open) .inbox{grid-template-columns:365px minmax(350px,1fr) 340px}.shell:not(.settings-open) .bubble{font-size:13px}}
@media(max-width:1250px){.shell:not(.settings-open) .inbox{grid-template-columns:305px minmax(270px,1fr)}.shell:not(.settings-open) .details.show{width:310px}.shell:not(.settings-open) .thread{padding:22px}.shell:not(.settings-open) .chat-header{padding:0 16px}}
@media(max-width:850px){.shell:not(.settings-open) .inbox{grid-template-columns:265px minmax(230px,1fr);margin:0 16px 16px}.message-filters{padding-left:16px;padding-right:16px}.message-filter{min-width:135px}.message-filter select{max-width:175px}.shell:not(.settings-open) .page-title{padding:0 18px;height:86px}.shell:not(.settings-open) .page-title h1{font-size:28px}.shell:not(.settings-open) .thread{padding:18px 15px}.shell:not(.settings-open) .chat-row{padding:16px}}
@media(max-width:760px){.message-filters-mobile{display:flex;align-items:center;justify-content:space-between;gap:15px}.message-filters-mobile button{display:flex;align-items:center;gap:8px;border:1px solid #d9e3ec;border-radius:7px;padding:9px 13px;background:#ffffffbd;font-size:11px;color:#6a8398}.message-filters-mobile svg{width:15px;height:15px}.message-filters-mobile small{font-size:10px;color:#95a5b2}.message-filter-controls,.message-date-range,.message-filter-summary{display:none}.message-filters.expanded .message-filter-controls{display:flex;margin-top:12px}.message-filters.expanded .message-filter-summary{display:flex}.message-filters.expanded .message-date-range:not([hidden]){display:flex;flex-wrap:wrap;gap:8px}.message-filter{flex:1;min-width:130px;padding:6px 10px}.message-filter select{max-width:100%;min-width:100px}.message-filter:has(#message-period-filter),.message-filter:has(#unanswered-filter){min-width:150px}.message-date-range>span{width:100%}}
@media(max-width:650px){.shell:not(.settings-open){grid-template-columns:1fr}.shell:not(.settings-open) .sidebar{display:none}.shell:not(.settings-open) .topbar{height:43px;padding:0 15px}.shell:not(.settings-open) .page-title{height:77px;padding:0 15px}.shell:not(.settings-open) .page-title h1{font-size:25px}.shell:not(.settings-open) .page-title p{font-size:9px}.shell:not(.settings-open) .inbox{display:flex;grid-template-columns:none;margin:0 9px 9px;border-radius:12px}.shell:not(.settings-open) .conversation-list{width:100%}.shell:not(.settings-open) .chat-row{min-height:99px;padding:17px 16px}.shell:not(.settings-open) .chat-header{height:66px;min-height:66px;padding:0 13px}.shell:not(.settings-open) .chat-header .header-actions{gap:0}.shell:not(.settings-open) .chat-header .icon-btn{width:28px}.shell:not(.settings-open) .bubble{font-size:12px}.shell:not(.settings-open) .thread{padding:17px 13px}.message-filters{padding:0 15px 11px}.shell.mobile-chat:not(.settings-open) .page-title{display:none}.shell.mobile-chat:not(.settings-open) .message-filters:not(.expanded){padding-top:0;padding-bottom:8px}.shell.mobile-chat:not(.settings-open) .conversation-list{display:none}.inbox.no-matches>.inbox-empty-state{display:none}.shell.mobile-chat .inbox.no-matches>.conversation-list{display:block}.conversation-actions{padding:14px 18px}.message-filters.expanded{max-height:43dvh;overflow-y:auto}.message-filter-reset{min-height:42px}.needs-reply{font-size:8px}.settings-open .message-filters{display:none}}
.shell:not(.settings-open) .page-title{background:transparent}
.retry-message{display:block;margin-top:8px;padding:7px 11px;border:1px solid #d7e4de;border-radius:8px;background:#f3f8f5;color:#32644f;font:inherit;font-size:12px;font-weight:600;cursor:pointer}.retry-message:hover{background:#e4f0e9}.retry-message:focus-visible{outline:2px solid #528c74;outline-offset:2px}.retry-message:disabled{opacity:.6;cursor:wait}
