:root{font-family:'DM Sans',sans-serif;color:#1d2333;background:#edf0f5;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(ellipse at 30% 0%,#f8f9fc 0%,#eef1f6 62%,#e9edf3 100%)}button,input,textarea{font:inherit}.app-shell{width:min(1280px,100%);height:min(820px,calc(100vh - 56px));min-height:560px;display:grid;grid-template-columns:248px 1fr;background:#fff;border:1px solid #e9ebf0;border-radius:19px;overflow:hidden;box-shadow:0 28px 80px #27324717,0 3px 12px #2732470a}.sidebar{display:flex;flex-direction:column;background:#f8f9fb;border-right:1px solid #eceef2;padding:24px 15px 14px}.brand{height:44px;display:flex;align-items:center;gap:10px;padding:0 8px;font:800 23px Manrope,sans-serif;letter-spacing:-1.3px;color:#171e2e}.brand-mark{width:27px;height:27px;border-radius:9px;background:#5551e8;display:grid;grid-template-columns:repeat(2,5px);grid-template-rows:repeat(2,5px);place-content:center;gap:3px;transform:rotate(-8deg)}.brand-mark span{width:5px;height:5px;border-radius:50%;background:white}.workspace{height:59px;margin:22px 0 29px;padding:8px 8px;display:flex;align-items:center;gap:9px;border:1px solid #eceef2;border-radius:11px;background:#fff}.workspace-icon{width:32px;height:32px;border-radius:9px;background:#e9e8ff;color:#5551e8;display:grid;place-items:center;font-weight:700}.workspace strong,.profile-copy strong{display:block;font-size:12px;font-weight:700}.workspace small,.profile-copy small{display:block;color:#8a90a0;font-size:10px;margin-top:3px}.chevron{margin-left:auto;color:#969bad;font-size:17px}.section-label{height:24px;padding:0 8px;display:flex;justify-content:space-between;align-items:center;color:#a0a5b2;font-size:9px;letter-spacing:1px;font-weight:700}.section-label button{border:0;background:none;color:#9499a7;font-size:18px;cursor:pointer}.channels{display:grid;gap:3px;margin-top:7px}.channel{height:37px;display:flex;align-items:center;gap:10px;padding:0 10px;border:0;border-radius:8px;text-align:left;color:#737a8b;background:transparent;font-size:12px;cursor:pointer;transition:.15s}.channel:hover{background:#eff0f5}.channel.active{color:#4f4bd2;background:#eeedff;font-weight:600}.hash{color:#a3a8b6;font-size:16px;font-weight:400}.channel.active .hash{color:#7470e4}.channel i{margin-left:auto;width:6px;height:6px;background:#635fea;border-radius:50%}.sidebar-bottom{margin-top:auto;border-top:1px solid #e9ebef;padding:14px 5px 0;display:flex;align-items:center;gap:9px}.profile-avatar{width:32px;height:32px;border-radius:10px;background:linear-gradient(140deg,#ffc493,#fa8f88);color:white;display:grid;place-items:center;font-size:12px;font-weight:700}.profile-copy{flex:1}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#4abe90;vertical-align:1px;margin-right:4px}.icon-button{width:32px;height:32px;border:0;background:transparent;border-radius:8px;color:#9096a5;font-size:18px;cursor:pointer}.icon-button:hover{background:#f0f1f6;color:#4c5260}.chat-panel{min-width:0;display:flex;flex-direction:column}.topbar{height:82px;border-bottom:1px solid #eef0f3;display:flex;align-items:center;justify-content:space-between;padding:0 30px}.channel-heading{display:flex;gap:12px;align-items:center}.heading-hash{width:32px;height:32px;display:grid;place-items:center;background:#f1f0ff;border-radius:10px;color:#6964e2;font-size:21px}.channel-heading h1{font:700 15px Manrope,sans-serif;margin:0;letter-spacing:-.2px}.channel-heading p{margin:4px 0 0;font-size:10px;color:#989eaa}.top-actions{display:flex;align-items:center;gap:13px}.online-pill{font-size:10px;color:#8b91a0;background:#f7f8fa;border:1px solid #eff0f2;border-radius:20px;padding:7px 10px}.online-pill b{color:#424959;margin-right:2px}.search-button{font-size:24px}.more-button{font-size:20px;letter-spacing:1px}.messages{overflow:auto;flex:1;padding:23px 30px 28px}.welcome-card{margin:5px 0 23px;padding:14px 15px;display:flex;align-items:center;gap:12px;border:1px solid #edecfb;background:linear-gradient(110deg,#faf9ff,#fff);border-radius:11px}.welcome-icon{width:34px;height:34px;border-radius:10px;background:#f0efff;color:#736eed;display:grid;place-items:center;font-size:17px}.welcome-card strong{font-size:11px;color:#42465b}.welcome-card p{font-size:10px;color:#9499a7;margin:4px 0 0}.day-divider{display:flex;align-items:center;gap:12px;color:#b1b5bf;font-size:9px;margin:21px 0 16px}.day-divider:before,.day-divider:after{content:'';height:1px;background:#eff0f3;flex:1}.message{display:flex;gap:11px;margin:16px 0;animation:appear .2s ease-out}.message-avatar{width:33px;height:33px;flex:none;border-radius:10px;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:700}.message-body{min-width:0;flex:1}.message-meta{display:flex;gap:8px;align-items:baseline;margin:1px 0 4px}.message-name{font-size:11px;font-weight:700;color:#303647}.message-time{font-size:9px;color:#aeb2bd}.message-text{font-size:12px;line-height:1.55;color:#51596b;white-space:pre-wrap;overflow-wrap:anywhere}.composer{margin:0 30px;border:1px solid #e7e9ee;border-radius:12px;background:#fff;box-shadow:0 4px 14px #2e39510a;padding:10px 13px 9px}.composer-tools{display:flex;align-items:center;gap:8px;height:24px}.tool-button{border:0;background:#f4f5f8;color:#838999;width:20px;height:20px;line-height:18px;border-radius:6px;font-size:17px;cursor:pointer}.composer-hint{font-size:9px;color:#a1a6b2}.composer-hint b{font-weight:600;color:#73798a}.composer textarea{width:100%;resize:none;border:0;outline:0;padding:7px 0 4px;min-height:38px;max-height:140px;font-size:12px;line-height:1.5;color:#3b4251}.composer textarea::placeholder{color:#b5bac4}.composer-footer{display:flex;align-items:center;justify-content:space-between}.keyboard-hint{font-size:9px;color:#b2b6c0}.send-button{width:29px;height:29px;border:0;border-radius:9px;background:#5d58e8;color:white;font-weight:600;font-size:18px;line-height:1;cursor:pointer;box-shadow:0 3px 8px #5d58e833}.send-button:hover{background:#4f4bd4}.send-button:disabled{opacity:.5;cursor:wait}.chat-footer{height:42px;margin:0 30px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#b0b4bf}.secure-label{color:#a4a9b5}.lock-icon{font-size:8px;margin-right:4px;color:#9a9fe4}.search-bar{padding:11px 30px;border-bottom:1px solid #f0f1f4;display:flex;gap:10px}.search-bar input{flex:1;border:1px solid #e7e9ef;border-radius:8px;padding:9px 11px;font-size:11px;outline:none}.search-bar button{border:0;background:none;color:#777d8d;font-size:10px;cursor:pointer}.hidden{display:none!important}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,10px);opacity:0;background:#252b3b;color:white;padding:10px 15px;border-radius:9px;font-size:11px;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}@keyframes appear{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:720px){body{padding:0;background:#fff}.app-shell{width:100%;height:100dvh;min-height:500px;border:0;border-radius:0;grid-template-columns:66px 1fr}.sidebar{padding:17px 8px 10px;align-items:center}.brand{padding:0;height:38px;font-size:0}.brand-mark{width:30px;height:30px}.workspace{margin:18px 0 24px;padding:0;width:40px;height:40px;justify-content:center;border:0;background:#e9e8ff}.workspace-icon{background:transparent}.workspace>div:not(.workspace-icon),.workspace .chevron,.section-label span,.section-label button,.channel>span:not(.hash),.sidebar-bottom .profile-copy,.sidebar-bottom .icon-button{display:none}.section-label{padding:0}.channels{width:100%;gap:7px}.channel{width:42px;height:42px;padding:0;justify-content:center;font-size:0}.channel .hash{font-size:18px}.channel i{position:absolute;margin:0 0 0 30px}.sidebar-bottom{width:100%;justify-content:center;padding:12px 0 0}.profile-avatar{width:38px;height:38px}.topbar{height:70px;padding:0 16px}.top-actions{gap:5px}.online-pill{padding:7px}.search-button{display:none}.messages{padding:18px 16px}.composer{margin:0 13px;padding:9px 11px}.chat-footer{margin:0 15px}.keyboard-hint{font-size:8px}.welcome-card{padding:12px}.message{gap:9px}}
