@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@400;500;600;700;800&display=swap');
:root{--green:#0a7c71;--green-2:#0f9d8e;--ink:#14231f;--muted:#6d7f79;--line:#e4ece9;--panel:#f7faf9;--bubble:#dff7ee;--shadow:0 24px 60px rgba(16,54,45,.14)}*{box-sizing:border-box}body{margin:0;background:linear-gradient(135deg,#eaf6f2,#f8fbfa 46%,#e6f3ef);font-family:Alexandria,system-ui;color:var(--ink);height:100vh;overflow:hidden}.install-bar{height:58px;background:#063d39;color:white;display:flex;align-items:center;gap:11px;padding:7px max(18px,calc((100vw - 1440px)/2));box-shadow:0 1px 0 rgba(255,255,255,.12)}.install-bar .brand-dot{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#2fd0b5,#0a7c71);font-weight:800}.install-bar div{display:flex;flex-direction:column;gap:2px}.install-bar b{font-size:13px}.install-bar small{font-size:9px;color:#acd8d0}.install-bar a{margin-inline-start:auto;background:#f0bd58;color:#17332d;text-decoration:none;padding:10px 18px;border-radius:13px;font-size:11px;font-weight:800}.app-shell{height:calc(100vh - 58px);max-width:1500px;margin:auto;display:grid;grid-template-columns:minmax(340px,420px) 1fr;background:white;box-shadow:var(--shadow)}.sidebar{min-width:0;border-inline-end:1px solid var(--line);position:relative;background:white}.topbar,.conversation-head{height:74px;display:flex;align-items:center;padding:0 18px;background:#f4f8f7;border-bottom:1px solid var(--line)}button{font:inherit}.avatar{width:48px;height:48px;flex:0 0 48px;border:0;border-radius:17px;color:white;font-weight:800;font-size:17px;display:grid;place-items:center;position:relative}.avatar i{width:11px;height:11px;position:absolute;bottom:-1px;left:-1px;border-radius:50%;background:#22bf75;border:3px solid white}.mine{background:linear-gradient(145deg,#0f9d8e,#064b47)}.gradient-a{background:linear-gradient(145deg,#367dcd,#1e4678)}.gradient-b{background:linear-gradient(145deg,#b676dc,#6d3b98)}.gradient-c{background:linear-gradient(145deg,#ef8f5b,#aa4d2b)}.gradient-d{background:linear-gradient(145deg,#e96e91,#9b3153)}.gradient-e{background:linear-gradient(145deg,#5aac78,#277349)}.topbar h1{font-size:15px;margin:0 12px;display:flex;flex-direction:column;gap:4px}.topbar h1 small{font-size:9px;font-weight:500;color:var(--green)}.tools,.conversation-tools{margin-inline-start:auto;display:flex;gap:5px}.tools button,.conversation-tools button,.mobile-back{border:0;background:transparent;color:#48615a;width:38px;height:38px;border-radius:12px;font-size:20px}.tools button:hover,.conversation-tools button:hover{background:#e3edeb}.tabs{height:51px;display:flex;padding:7px 10px;border-bottom:1px solid var(--line);gap:5px}.tabs button{flex:1;border:0;background:transparent;border-radius:12px;color:var(--muted);font-size:10px;font-weight:700;position:relative}.tabs button.active{background:#e1f4ef;color:var(--green)}.tabs i{position:absolute;background:var(--green);color:white;padding:2px 6px;border-radius:9px;margin-right:5px;font-style:normal;font-size:8px}.search{height:58px;margin:0 12px;display:flex;align-items:center;background:var(--panel);border-radius:16px;padding:0 13px;gap:8px}.search span{font-size:21px;color:#789089}.search input{border:0;outline:0;background:transparent;width:100%;font:inherit;font-size:10px}.list{display:none;height:calc(100% - 183px);overflow-y:auto;padding:7px}.list.active{display:block}.chat{width:100%;height:76px;border:0;background:white;border-radius:18px;display:flex;align-items:center;padding:10px;gap:11px;text-align:right;cursor:pointer}.chat:hover,.chat.active{background:#f0f7f5}.chat-copy{min-width:0;flex:1}.chat-copy b{display:flex;font-size:12px;justify-content:space-between}.chat-copy time{font-size:8px;color:#7d918a;font-weight:500}.chat-copy small{font-size:9px;color:var(--muted);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:7px}.chat-copy em{font-style:normal;color:#27a7b7}.badge{background:var(--green-2);color:white;min-width:21px;height:21px;padding:0 5px;border-radius:11px;display:grid;place-items:center;font-size:8px}.new-chat{position:absolute;left:20px;bottom:22px;width:53px;height:53px;border:0;border-radius:18px;background:linear-gradient(145deg,var(--green-2),var(--green));color:white;font-size:22px;box-shadow:0 12px 24px rgba(10,124,113,.3)}.conversation{min-width:0;display:flex;flex-direction:column;background:#edf3f0;position:relative}.conversation::before{content:"";position:absolute;inset:74px 0 70px;opacity:.2;background-image:radial-gradient(circle at 20px 20px,#82a79f 1.2px,transparent 1.3px);background-size:34px 34px}.conversation-head{z-index:1;background:#f7faf9}.conversation-head>div:not(.conversation-tools){margin:0 12px;display:flex;flex-direction:column}.conversation-head b{font-size:13px}.conversation-head small{font-size:9px;color:var(--green);margin-top:4px}.mobile-back{display:none}.messages{z-index:1;flex:1;overflow-y:auto;padding:24px clamp(18px,6vw,100px);display:flex;flex-direction:column;gap:8px}.day{align-self:center;background:rgba(255,255,255,.9);padding:7px 13px;border-radius:10px;color:#668079;font-size:9px;box-shadow:0 2px 8px rgba(24,62,53,.08)}.bubble{max-width:min(72%,620px);padding:10px 12px 7px;border-radius:15px;background:white;box-shadow:0 2px 6px rgba(30,70,61,.08);font-size:11px;position:relative}.bubble p{margin:0;line-height:1.9}.bubble time{display:block;text-align:left;margin-top:3px;color:#738981;font-size:7px}.bubble.outgoing{align-self:flex-start;background:var(--bubble);border-bottom-left-radius:4px}.bubble.incoming{align-self:flex-end;border-bottom-right-radius:4px}.bubble em{font-style:normal;color:#2599aa}.file-card{display:flex;align-items:center;gap:9px;min-width:260px;background:#edf3f1;padding:9px;border-radius:11px}.file-card>span{background:#d45d5d;color:white;padding:8px 5px;border-radius:8px;font-size:8px;font-weight:800}.file-card b{display:flex;flex-direction:column;font-size:9px;flex:1}.file-card small{font-size:7px;color:var(--muted);font-weight:400;margin-top:4px}.file-card button{border:0;background:white;width:30px;height:30px;border-radius:9px}.voice{display:flex;gap:10px;align-items:center;min-width:255px}.voice>button{border:0;width:36px;height:36px;border-radius:50%;background:var(--green);color:white}.voice>div{flex:1}.voice i{display:block;height:26px;background:repeating-linear-gradient(90deg,#8dafaa 0 2px,transparent 2px 5px);mask:linear-gradient(90deg,#000 var(--wave),#0004 var(--wave));border-radius:9px}.voice small{font-size:7px}.typing{align-self:flex-end;background:white;border-radius:14px;padding:10px 13px;display:flex;gap:4px;align-items:center;box-shadow:0 2px 6px rgba(30,70,61,.08)}.typing i{width:5px;height:5px;border-radius:50%;background:#91aaa3;animation:bounce 1.2s infinite}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}.typing span{font-size:7px;color:var(--muted);margin-right:5px}@keyframes bounce{50%{transform:translateY(-4px)}}.composer{z-index:1;min-height:70px;background:#f7faf9;border-top:1px solid var(--line);display:flex;align-items:center;gap:6px;padding:10px 14px}.composer>button{border:0;background:transparent;color:#58716a;width:39px;height:39px;border-radius:12px;font-size:19px}.composer label{flex:1;background:white;border:1px solid var(--line);border-radius:17px;padding:0 15px}.composer input{height:45px;border:0;outline:0;width:100%;font:inherit;font-size:10px}.send{background:var(--green)!important;color:white!important;border-radius:50%!important}.send .arrow{display:none}.composer.has-text .send .mic{display:none}.composer.has-text .send .arrow{display:inline}.status-intro,.status-item,.call-item{width:100%;border:0;background:white;display:flex;align-items:center;gap:12px;text-align:right;padding:12px;border-radius:16px}.status-intro .avatar b{position:absolute;bottom:-4px;left:-4px;background:var(--green);border:3px solid white;width:21px;height:21px;border-radius:50%;display:grid;place-items:center}.status-intro div,.status-item b,.call-item b{display:flex;flex-direction:column;font-size:11px}.status-intro small,.status-item small,.call-item small{font-size:8px;color:var(--muted);margin-top:5px;font-weight:400}.section-label{font-size:8px;color:var(--muted);padding:8px 14px}.story{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;color:white;border:3px solid var(--green)}.call-item i{margin-inline-start:auto;color:var(--green);font-style:normal}.missed{color:#d95c5c!important}.incoming{color:var(--green)!important}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#102c27;color:white;padding:11px 17px;border-radius:13px;font-size:10px;opacity:0;pointer-events:none;transition:.25s;z-index:10}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:760px){body{height:100dvh}.install-bar{height:54px;padding:6px 10px}.install-bar small{display:none}.install-bar a{padding:9px 12px}.app-shell{height:calc(100dvh - 54px);display:block}.sidebar{height:100%;border:0}.conversation{display:none;position:fixed;inset:54px 0 0}.app-shell.chat-open .sidebar{display:none}.app-shell.chat-open .conversation{display:flex}.mobile-back{display:block}.conversation-tools button:nth-child(n+3){display:none}.messages{padding:18px 10px}.bubble{max-width:87%}.list{height:calc(100% - 183px)}.topbar,.conversation-head{height:68px;padding:0 12px}.conversation::before{inset:68px 0 67px}.composer{min-height:67px;padding:8px}.composer .emoji{display:none}.install-bar .brand-dot{width:34px;height:34px}.install-bar b{font-size:11px}}
.auth-screen{position:fixed;inset:0;z-index:100;background:radial-gradient(circle at 20% 10%,#daf3ec,transparent 32%),linear-gradient(145deg,#f7fbfa,#e7f3ef);display:grid;place-content:center;padding:20px}.auth-screen[hidden]{display:none}.auth-brand{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:18px}.auth-brand>span{width:60px;height:60px;border-radius:20px;background:linear-gradient(145deg,#18aa97,#07544f);display:grid;place-items:center;color:white;font-size:28px;font-weight:800;box-shadow:0 15px 32px #0a7c7133}.auth-brand h1{margin:0;font-size:24px;display:flex;flex-direction:column}.auth-brand small{font-size:10px;color:#6b817a;margin-top:6px}.auth-card{width:min(430px,calc(100vw - 28px));background:#fff;border:1px solid #ddeae6;border-radius:30px;box-shadow:var(--shadow);padding:22px}.auth-tabs{display:flex;background:#f0f6f4;padding:5px;border-radius:15px;margin-bottom:18px}.auth-tabs button{flex:1;border:0;background:transparent;padding:11px;border-radius:11px;font-size:10px;font-weight:700;color:#71867f}.auth-tabs button.active{background:#fff;color:var(--green);box-shadow:0 3px 12px #0a7c7114}.auth-card>label{display:flex;flex-direction:column;gap:7px;font-size:9px;font-weight:700;margin:12px 0}.auth-card input{height:48px;border:1px solid #dce8e4;border-radius:14px;padding:0 14px;font:inherit;outline:0}.auth-card input:focus{border-color:var(--green);box-shadow:0 0 0 3px #0a7c7118}.auth-submit{width:100%;height:50px;border:0;border-radius:15px;background:linear-gradient(145deg,#149f8f,#08756b);color:#fff;font-weight:800;margin-top:6px}.auth-card>small{display:block;text-align:center;color:#879992;font-size:7px;margin-top:14px}.auth-error{min-height:18px;color:#d24e4e;font-size:9px;margin:0}.empty-state,.empty-chat{height:100%;display:grid;place-content:center;text-align:center;color:#789089;padding:24px}.empty-state b,.empty-chat b{color:#31564d;font-size:16px}.empty-state small,.empty-chat p{font-size:9px;line-height:1.8}.empty-chat{position:relative;z-index:1}.empty-chat b{font-size:28px;color:#0a7c71}.new-chat-modal{position:fixed;inset:0;z-index:50;background:#062f2a88;display:grid;place-items:center;padding:20px}.new-chat-modal>form{width:min(420px,100%);background:white;border-radius:25px;padding:20px;box-shadow:var(--shadow)}.new-chat-modal h2{margin:0 0 8px}.new-chat-modal p{font-size:9px;color:var(--muted)}.new-chat-modal input{width:100%;height:48px;border:1px solid var(--line);border-radius:14px;padding:0 13px;font:inherit}.new-chat-modal .actions{display:flex;gap:8px;margin-top:12px}.new-chat-modal button{flex:1;height:43px;border:0;border-radius:13px}.new-chat-modal button[type=submit]{background:var(--green);color:white}.message-file{display:block;color:inherit;text-decoration:none;background:#eef4f2;padding:10px;border-radius:10px;font-weight:700}.message-file small{display:block;font-weight:400;color:var(--muted);margin-top:4px}
