:root{--bg:#f3f6fa;--surface:#fff;--ink:#132037;--muted:#778196;--line:#e5eaf1;--blue:#2e77e5;--nav:#101b2d;--red:#e45d65;--green:#42b883}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--ink);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}body{padding-bottom:92px}button,input,select{font:inherit}header{background:var(--nav);color:#fff;justify-content:space-between;align-items:center;height:72px;padding:0 max(20px,50% - 560px);display:flex}.brand+select{color:#fff;background:#182842;border:1px solid #ffffff26;border-radius:10px;max-width:220px;margin-left:auto;margin-right:18px;padding:8px 30px 8px 10px}.brand{align-items:center;gap:11px;display:flex}.brandmark{background:linear-gradient(145deg,#4e96ff,#1c5fc4);border-radius:12px;place-items:center;width:38px;height:38px;font-weight:900;display:grid;box-shadow:0 7px 20px #07101e}.brand div{flex-direction:column;line-height:1.1;display:flex}.brand small{color:#92a2b9;text-transform:uppercase;letter-spacing:.11em;margin-top:5px;font-size:10px}.status,.secure{color:#a9b6c9;font-size:12px}.status i{background:#45d795;border-radius:50%;width:7px;height:7px;margin-right:5px;display:inline-block;box-shadow:0 0 0 4px #45d79520}.page{width:min(100% - 32px,1080px);margin:0 auto;padding:30px 0}.title{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.title h1{letter-spacing:-.04em;margin:2px 0 0;font-size:28px}.title small{color:var(--muted)}.secure{color:#51715f;background:#dff6e9;border-radius:20px;padding:8px 11px}.count{color:#61708a;background:#e4ebf5;border-radius:12px;padding:5px 10px;font-size:13px}.stats{grid-template-columns:repeat(5,1fr);gap:12px;display:grid}.stat{background:var(--surface);border:1px solid var(--line);border-radius:16px;grid-template-columns:1fr auto;padding:17px;display:grid;box-shadow:0 5px 20px #20345d08}.stat>span{width:34px;height:34px;color:var(--blue);background:#edf4ff;border-radius:10px;grid-area:1/2/3;align-self:center;place-items:center;font-weight:800;display:grid}.stat strong{font-size:25px}.stat small{color:var(--muted);margin-top:3px}.sectiontitle{margin:30px 0 14px}.sectiontitle h2,.settings h2{margin:0;font-size:16px}.search{border:1px solid var(--line);background:#fff;border-radius:14px;align-items:center;gap:10px;height:48px;padding:0 14px;display:flex}.search span{color:#93a0b3;font-size:22px}.search input{width:100%;color:var(--ink);background:0 0;border:0;outline:0}.filters{align-items:center;gap:8px;margin-top:10px;display:flex}.filters input{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:10px;padding:8px}.tabs,.conversationchips{scrollbar-width:none;gap:7px;padding:15px 0 12px;display:flex;overflow:auto}.tabs button,.conversationchips button{border:1px solid var(--line);color:#657087;white-space:nowrap;cursor:pointer;background:#fff;border-radius:20px;padding:8px 13px}.tabs button.active,.conversationchips button.active{background:var(--nav);color:#fff;border-color:var(--nav)}.eventlist{border:1px solid var(--line);background:#fff;border-radius:16px;padding:4px 18px;position:relative}.event{border-bottom:1px solid var(--line);cursor:pointer;gap:15px;padding:18px 0;display:flex}.event:last-child{border-bottom:0}.dot{border:3px solid var(--blue);box-sizing:content-box;background:#fff;border-radius:50%;flex:none;width:10px;height:10px;margin-top:4px}.message_deleted .dot{border-color:var(--red)}.message_edited .dot{border-color:#f1a33b}.media_archived .dot{border-color:var(--green)}.eventbody{flex:1;min-width:0}.eventtop{justify-content:space-between;gap:10px;display:flex}.eventtop b{font-size:14px}.event time,.version time{color:var(--muted);white-space:nowrap;font-size:11px}.event p{color:#455167;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}.event small{color:#9b732e;margin-top:6px;display:block}.empty{text-align:center;color:var(--muted);border:1px solid var(--line);background:#fff;border-radius:16px;padding:40px}.center{text-align:center;place-content:center;gap:12px;min-height:100vh;display:grid}.loader{border:3px solid #dce5f2;border-top-color:var(--blue);border-radius:50%;width:34px;height:34px;margin:auto;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.list{border:1px solid var(--line);background:#fff;border-radius:16px;margin-top:14px;overflow:hidden}.person{color:inherit;border-bottom:1px solid var(--line);grid-template-columns:auto 1fr auto auto;align-items:center;gap:13px;padding:14px 16px;text-decoration:none;display:grid}.person:last-child{border:0}.person div:nth-child(2){flex-direction:column;gap:4px;display:flex}.person small,.person time{color:var(--muted);font-size:12px}.avatar{color:#2e67ad;background:linear-gradient(145deg,#dceaff,#bfd7fb);border-radius:14px;place-items:center;width:42px;height:42px;font-size:13px;font-weight:800;display:grid}.avatar.large{border-radius:24px;width:74px;height:74px;font-size:20px}.contactcard{flex-direction:column;align-items:center;margin-bottom:24px;display:flex}.contactcard h1{margin:12px 0 2px}.contactcard p{color:var(--muted);margin:0}.settings{border:1px solid var(--line);background:#fff;border-radius:16px;padding:20px}.settings h2{color:#7a8598;text-transform:uppercase;letter-spacing:.1em;margin:3px 0 11px;font-size:11px}.settings h2:not(:first-child){margin-top:27px}.settings label{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:14px 0;display:flex}.settings label div{flex-direction:column;gap:4px;display:flex}.settings label small{color:var(--muted)}.settings input[type=checkbox]{width:42px;height:23px;accent-color:var(--blue)}.retention input{border:1px solid var(--line);border-radius:9px;width:80px;margin-left:auto;padding:8px}.retention>span{color:var(--muted);margin-left:8px}.primary{background:var(--blue);color:#fff;cursor:pointer;border:0;border-radius:12px;width:100%;margin-top:20px;padding:13px;font-weight:700}.privacy{color:var(--muted);text-align:center;font-size:12px}nav{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid var(--line);z-index:20;background:#fffffff0;justify-content:space-between;align-items:center;height:72px;padding:0 max(20px,50% - 280px);display:flex;position:fixed;bottom:0;left:0;right:0}.nav a,nav a{color:#8893a5;flex-direction:column;align-items:center;gap:4px;min-width:60px;font-size:10px;text-decoration:none;display:flex}.nav a span,nav a span{font-size:22px;line-height:1}.nav a.active,nav a.active{color:var(--blue);font-weight:700}.modalback{z-index:50;background:#0b152580;justify-content:center;align-items:flex-end;padding:16px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:22px;width:min(100%,620px);max-height:85vh;padding:24px;position:relative;overflow:auto;box-shadow:0 20px 80px #0004}.modal h2{margin:0 0 18px}.close{color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:28px;position:absolute;top:12px;right:16px}.version{border-left:2px solid #b7c9e5;margin-left:4px;padding:2px 0 12px 14px}.version b{margin-right:8px;font-size:13px}.version p{white-space:pre-wrap;margin:7px 0}.media{background:#f3f6fa;border-radius:10px;justify-content:space-between;margin-top:8px;padding:11px;display:flex}.media a{color:var(--blue)}@media (max-width:760px){header{padding:0 16px}.page{width:calc(100% - 24px);padding-top:22px}.stats{grid-template-columns:repeat(2,1fr)}.stat:last-child{grid-column:1/3}.title h1{font-size:24px}.status{font-size:0}.status i{margin:0}.eventtop{flex-direction:column;align-items:flex-start;gap:5px}.person time{display:none}}
