*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#17212b}.auth-body{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#e9f5f1,#f5f7fa);padding:20px}.auth-card{width:min(420px,100%);background:#fff;padding:34px;border:1px solid #e5ece9;border-radius:22px;box-shadow:0 20px 70px #193a2a12;text-align:center}.brand-mark{width:54px;height:54px;border-radius:18px;background:#0d9b70;color:white;display:grid;place-items:center;font-size:27px;font-weight:800;margin:0 auto 12px}.brand-mark.small{width:34px;height:34px;border-radius:11px;font-size:18px;margin:0}.auth-card h1{margin:8px 0 4px}.muted,.tiny,.empty-hint{color:#819099}.tiny{font-size:12px;line-height:1.5;margin-top:20px}.tabs{display:flex;background:#f1f5f4;border-radius:12px;padding:4px;margin:24px 0;text-align:center}.tab{flex:1;border:0;padding:10px;border-radius:9px;background:transparent;color:#60716b;cursor:pointer}.tab.active{background:white;color:#087c59;box-shadow:0 1px 5px #0001}label{display:block;text-align:left;font-size:13px;font-weight:650;margin:14px 0 6px}input,textarea{font:inherit}#authForm input:not([type=hidden]),.search-wrap input{width:100%;border:1px solid #dce5e2;border-radius:10px;padding:12px;outline:none}input:focus,textarea:focus{border-color:#0d9b70!important;box-shadow:0 0 0 3px #0d9b7014}.primary{background:#0d9b70;color:white;border:0;border-radius:10px;padding:13px;font-weight:700;cursor:pointer;margin-top:22px}.full{width:100%}.alert{background:#fff1f0;color:#b42318;padding:10px;border-radius:9px;font-size:13px}.chat-body{background:#e8efec;height:100vh;overflow:hidden}.app-shell{max-width:1500px;height:100vh;margin:auto;display:grid;grid-template-columns:340px 1fr;background:white;box-shadow:0 0 40px #102b2010}.sidebar{border-right:1px solid #e7eeeb;display:flex;flex-direction:column;min-height:0}.side-head{height:72px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1ef}.brand{display:flex;align-items:center;gap:10px;color:#087c59}.me-menu{font-size:12px;color:#61716b;display:flex;gap:12px;align-items:center}.me-menu a{color:#0d9b70;text-decoration:none;font-size:19px}.search-wrap{padding:14px}.search-wrap input{background:#f3f7f5;border:0}.section-label{padding:8px 18px;color:#8a9993;font-size:10px;font-weight:800;letter-spacing:1.2px}.chat-list,.people-list{overflow:auto}.chat-item,.person-item{width:100%;border:0;background:white;display:flex;align-items:center;gap:12px;text-align:left;padding:12px 16px;cursor:pointer}.chat-item:hover,.person-item:hover,.chat-item.selected{background:#f0f8f5}.avatar{flex:0 0 42px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#dff3eb;color:#087c59;font-weight:750}.chat-meta{min-width:0;display:flex;flex-direction:column;gap:4px;flex:1}.chat-meta b,.person-item b{font-size:13px}.chat-meta small,.person-item small{font-size:11px;color:#84928d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unread{font-style:normal;background:#0d9b70;color:white;border-radius:20px;padding:3px 7px;font-size:10px}.people-label{margin-top:10px}.person-item span:last-child{display:flex;flex-direction:column;gap:4px}.empty-hint{font-size:12px;padding:16px}.side-foot{margin-top:auto;padding:14px;border-top:1px solid #edf1ef;color:#99a49f;font-size:10px}.conversation{min-width:0;display:flex;flex-direction:column;background:#f7faf8;position:relative}.welcome{margin:auto;text-align:center;max-width:400px;padding:25px}.welcome-icon{width:78px;height:78px;border-radius:26px;background:#e1f5ed;color:#0d9b70;display:grid;place-items:center;font-size:40px;font-weight:800;margin:auto}.welcome h2{font-size:21px;margin:22px 0 8px}.welcome p{color:#84928d;line-height:1.6;font-size:14px}.chat-panel{height:100%;display:flex;flex-direction:column}.chat-head{height:72px;background:white;border-bottom:1px solid #e8efec;display:flex;align-items:center;padding:0 22px;gap:12px}.chat-head .avatar{width:40px;height:40px;flex-basis:40px}.chat-person{display:flex;flex-direction:column;gap:4px}.chat-person b{font-size:14px}.chat-person small{font-size:11px;color:#81918a}.secure-label{margin-left:auto;color:#16865f;font-size:11px}.messages{flex:1;overflow:auto;padding:24px max(5%,calc((100% - 850px)/2));display:flex;flex-direction:column;gap:9px;background-color:#f4f8f6;background-image:radial-gradient(#dce9e2 0.7px,transparent .7px);background-size:18px 18px}.message-row{display:flex;justify-content:flex-start}.message-row.mine{justify-content:flex-end}.bubble{max-width:min(75%,560px);background:white;border:1px solid #e7eeea;border-radius:4px 14px 14px 14px;padding:10px 13px;box-shadow:0 1px 2px #102b2008;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.mine .bubble{background:#dff7eb;border-color:#d3efdf;border-radius:14px 4px 14px 14px}.bubble small{display:block;text-align:right;color:#91a099;font-size:9px;margin-top:5px}.file-link{color:#087c59}.composer{display:flex;align-items:flex-end;gap:10px;padding:14px 20px;background:white;border-top:1px solid #e7eeea}.composer textarea{resize:none;flex:1;border:1px solid #e1e9e5;border-radius:13px;padding:12px 14px;max-height:120px;outline:none;font-size:13px}.attach,.send-btn{cursor:pointer;color:#0d9b70;font-size:23px;padding:5px}.send-btn{border:0;background:#0d9b70;color:white;width:42px;height:42px;border-radius:13px;font-size:17px}.typing{height:0}@media(max-width:700px){.app-shell{grid-template-columns:112px 1fr}.side-head{padding:10px;justify-content:center}.brand b,.me-menu,.search-wrap,.section-label,.chat-meta,.unread,.people-list,.side-foot{display:none}.chat-item,.person-item{justify-content:center;padding:12px 4px}.chat-list{padding-top:10px}.chat-head{padding:0 12px}.secure-label{display:none}.messages{padding:16px 10px}.bubble{max-width:88%}.composer{padding:10px}.welcome{padding:12px}.welcome h2{font-size:17px}.welcome p{font-size:12px}}