:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#18251d;background:#f2f5f1;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #dce3db;background:#fff;border-radius:9px;padding:9px 13px;color:inherit}button:hover{border-color:#7c9a85}button:disabled{cursor:default;opacity:.5}input,select,textarea{width:100%;border:1px solid #d6dfd4;border-radius:9px;background:#fff;padding:12px;color:#16281b;outline:none}input:focus,select:focus,textarea:focus{border-color:#20814b;box-shadow:0 0 0 3px #20814b15}label{display:block;font-size:12px;font-weight:600;line-height:1.7}label input,label select{margin-top:5px}h1,h2,h3,p{margin-top:0}h2{font-size:18px}.muted{color:#758174}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#688372;margin-bottom:10px}.primary{background:#17633a;border:0;color:#fff;font-weight:650;padding:13px 24px}.primary:hover{background:#114c2c}.brand{font-size:21px;font-weight:850;letter-spacing:-1px;white-space:nowrap}.brand span{font-weight:450;margin-left:4px}.brand small{font-size:9px;letter-spacing:2px;display:block;color:#8faba0;margin-top:3px}.login{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at top,#e1ebde,#f8faf6)}.login-card{max-width:410px;width:100%;padding:36px;background:#fff;border:1px solid #dfe6db;border-radius:20px;box-shadow:0 20px 60px #1a35200b}.login-card .brand{margin-bottom:40px}.login-card h1{font-size:29px;letter-spacing:-1px}.login-card label{margin:18px 0}.login-card .primary{width:100%;margin-top:10px}.error{font-size:12px;color:#a32a21;line-height:1.6}.app{height:100dvh;display:flex;flex-direction:column;overflow:hidden}header{height:76px;flex-shrink:0;background:#14251b;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.header-actions{display:flex;align-items:center;gap:18px}.header-actions button{background:#ffffff0d;color:#d9e5dc;border-color:#ffffff25}.connection{font-size:12px;color:#d5b875}.connection:before{content:"●";margin-right:7px}.connection.ready{color:#90ce9c}.workspace{flex:1;display:grid;grid-template-columns:340px minmax(0,1fr);min-height:0;margin:18px;border:1px solid #dfe5dc;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 6px 35px #203b1c05}aside{display:flex;flex-direction:column;border-right:1px solid #e4e9e1;min-height:0}.list-heading{padding:25px 20px 10px;display:flex;justify-content:space-between;align-items:center}.list-heading h2{margin-bottom:8px}.list-heading h2 span{background:#eef3ea;color:#66745f;font-size:12px;padding:3px 7px;border-radius:7px}.list-heading button{font-size:11px}.search{margin:4px 18px;width:calc(100% - 36px);background:#f6f8f4}.list-note{font-size:11px;color:#8b9586;padding:8px 20px;margin:0}.lead-list{overflow:auto;flex:1}.lead{display:flex;align-items:center;gap:12px;border:0;border-radius:0;width:100%;padding:18px;text-align:left;border-bottom:1px solid #f1f4ef}.lead:hover,.lead.active{background:#eff6ed}.avatar{display:grid;place-items:center;flex-shrink:0;height:42px;width:42px;border-radius:14px;background:#dfebdc;color:#46704a;font-weight:700}.lead-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.lead-info strong{font-size:13px}.lead-info span{font-size:12px;color:#85907f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lead-info small{font-size:10px;color:#85907f}.wa-dot{color:#479b58;font-size:10px}.empty-list{padding:40px 25px;color:#85917e;font-size:13px;line-height:1.8}.empty-list h3{color:#42513b;font-size:16px}.sync-note{border-top:1px solid #eef1eb;padding:14px 20px;font-size:10px;color:#929c8c}.conversation{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f7f9f4}.welcome{margin:auto;text-align:center;padding:24px}.welcome-icon{width:72px;height:72px;border:1px solid #d7e3d0;border-radius:24px;background:#e9f1e3;display:grid;place-items:center;font-size:34px;color:#437446;margin:0 auto 30px}.welcome h1{font-size:clamp(26px,3vw,42px);font-weight:600;letter-spacing:-1.5px;line-height:1.2}.welcome>p:last-child{font-size:13px;color:#8a9483;line-height:1.8}.chat-heading{display:flex;align-items:center;gap:12px;background:#fff;border-bottom:1px solid #e5eadd;padding:18px 25px;min-width:0}.chat-heading h2{font-size:15px;margin-bottom:4px}.chat-heading p{font-size:12px;color:#7e8d77;margin:0}.window{margin-left:auto;font-size:11px;color:#a07c38;background:#faf4e5;border-radius:20px;padding:7px 12px}.window.open{background:#edf7e9;color:#4a7e43}.messages{flex:1;overflow:auto;padding:24px 5%;display:flex;flex-direction:column;gap:12px;background-image:radial-gradient(#617b5012 .7px,transparent .7px);background-size:14px 14px}.bubble{max-width:78%;padding:12px 15px;border-radius:12px;border:1px solid #e1e8dd;box-shadow:0 2px 5px #203b1c04}.bubble.in{align-self:flex-start;background:#fff;border-bottom-left-radius:2px}.bubble.out{align-self:flex-end;background:#e4f0de;border-color:#d5e5cc;border-bottom-right-radius:2px}.bubble p{font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 7px}.bubble>small{font-size:11px;color:#7d8876}.bubble footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;font-size:10px;color:#809175}.failed{color:#b73c32}.composer{padding:17px 24px;background:#fff;border-top:1px solid #e4e9de;max-height:45dvh;overflow:auto}.compose-tabs{display:flex;gap:5px;margin-bottom:12px}.compose-tabs button{border:0;background:#f1f4ed;font-size:12px;padding:8px 14px}.compose-tabs button.active{background:#deecd5;color:#32602e}.composer textarea{resize:vertical;min-height:75px;max-height:160px}.send-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:12px}.send-row small{font-size:11px;color:#85927c;line-height:1.5}.template-preview{font-size:12px;line-height:1.5;color:#718169;background:#f6f8f2;padding:10px;border-radius:8px;white-space:pre-wrap;margin:10px 0}.history-note{text-align:center;font-size:11px;color:#8a977f;padding:20px}.alert{background:#fff0e8;padding:12px 25px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#9b4c2d}.alert button{font-size:11px}.back{display:none}@media(min-width:1500px){.workspace{max-width:1500px;width:calc(100% - 48px);margin:24px auto;grid-template-columns:380px minmax(0,1fr)}}@media(max-width:760px){header{height:65px;padding:0 16px}.brand{font-size:18px}.header-actions{gap:8px}.connection{font-size:10px;max-width:100px}.workspace{margin:8px;grid-template-columns:1fr}.conversation{display:none}.show-chat aside{display:none}.show-chat .conversation{display:flex}.back{display:block;padding:6px}.chat-heading{padding:12px;gap:9px}.chat-heading h2{max-width:160px;overflow-wrap:anywhere}.window{font-size:9px;padding:6px}.composer{padding:12px;max-height:50dvh}.messages{padding:18px 12px}.bubble{max-width:90%}.send-row{gap:12px}.send-row .primary{padding:12px 18px;white-space:nowrap}.alert{padding:8px 12px}.login-card{padding:28px}.header-actions button{font-size:11px}}
