:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1e2a45;background:#f4f6fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;border:0}header{height:74px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,calc((100vw - 1330px)/2));box-shadow:0 1px 15px #17224610;gap:12px}.brand{font-size:21px;font-weight:800;display:flex;align-items:center;gap:10px;color:#263e86}.brand small{font-size:12px;font-weight:500;color:#98a2b8;margin-left:6px}.brandmark{background:#536bdf;color:#fff;width:35px;height:35px;display:grid;place-items:center;border-radius:12px}.header-actions{display:flex;align-items:center;gap:12px;font-size:13px}.header-actions button{background:none;color:#64718c}.iconbtn{font-size:18px;position:relative}.iconbtn b:not(:empty){background:#f06a7c;border-radius:12px;color:#fff;font-size:11px;position:absolute;right:-4px;top:-7px;padding:1px 5px}.hidden{display:none!important}.panel{background:white;border-radius:18px;box-shadow:0 10px 40px #3645770b;border:1px solid #e9edf7}.auth-container{max-width:1050px;min-height:calc(100vh - 110px);margin:24px auto;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px;padding:15px}.auth-art{padding:45px;background:linear-gradient(140deg,#4762d0,#846fd6);border-radius:27px;color:#fff;min-height:430px;font-size:55px}.auth-art h1{font-size:41px;letter-spacing:-1.6px;line-height:1.15}.auth-art p{font-size:16px;opacity:.88}.authform{padding:42px}.authform h2{font-size:27px;margin:0 0 10px}.subtle{color:#8992aa;font-size:13px;line-height:1.5}.authform label,.modal label{display:block;font-size:13px;font-weight:650;margin:23px 0 8px}input,textarea{border:1px solid #dce3f1;border-radius:11px;padding:13px 14px;outline:none;background:#fff;color:#26334b;min-width:0}input:focus,textarea:focus{border-color:#586fe1;box-shadow:0 0 0 3px #586fe122}.authform input,.modal input,.modal textarea{display:block;width:100%;margin-top:8px}button.primary,.upload.primary{background:#5369dd;color:white;border-radius:10px;padding:12px 17px;font-weight:700;display:inline-block}button.primary:hover,.upload.primary:hover{background:#4359c4}.full{width:100%}.authform .primary{margin-top:25px}.link{background:none;color:#4f68d3;margin-top:15px;width:100%}.workspace{max-width:1370px;margin:26px auto;padding:0 20px;display:grid;grid-template-columns:300px minmax(0,1fr);gap:22px;height:calc(100dvh - 125px);min-height:500px}.sidebar,.content{overflow:hidden}.sidebar{display:flex;flex-direction:column;padding:24px 16px}.section-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.sidebar h2{font-size:17px;margin:0 8px}.square{width:34px;height:34px;border-radius:10px;background:#edf1ff;color:#4661cb;font-size:22px}.group-item{padding:13px;display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;border-radius:13px;color:#33415f;margin-top:7px}.group-item.active{background:#edf0ff;color:#304ac0}.group-avatar{width:40px;height:40px;display:grid;place-items:center;background:linear-gradient(130deg,#9d9bf2,#6178db);color:white;border-radius:13px;font-size:20px;font-weight:700}.group-item span strong{display:block;font-size:14px}.group-item span small{color:#8690a8}.sidebar-footer{margin-top:auto;padding:20px 12px 0;color:#a6acc0;font-size:12px}.content{display:flex;flex-direction:column}.empty{margin:auto;text-align:center;padding:35px}.empty-icon{font-size:75px;color:#657adf}.empty h2{font-size:23px}.empty p{color:#97a0b2}#groupView{display:flex;flex-direction:column;height:100%;min-height:0}.group-heading{padding:25px 30px 18px;display:flex;align-items:center;justify-content:space-between;gap:20px}.group-heading h1{font-size:25px;margin:4px 0}.group-heading p{margin:0}.eyebrow{font-weight:800;font-size:10px;letter-spacing:2px;color:#7187d2}.outline{border:1px solid #dce3f1;color:#5266cb;padding:10px 14px;background:white;border-radius:10px;font-weight:650}.tabs{display:flex;gap:23px;padding:0 30px;border-bottom:1px solid #ecf0f7}.tab{background:none;padding:15px 7px;color:#8791a6;border-bottom:3px solid transparent;font-weight:700;font-size:13px}.tab.active{color:#536ad8;border-color:#536ad8}.tabpanel{flex:1;min-height:0;display:flex;flex-direction:column;padding:22px 30px}.messages{overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:16px;padding:3px 2px 22px}.message{display:flex;gap:10px;max-width:82%;align-items:flex-end}.message.mine{align-self:flex-end;flex-direction:row-reverse}.avatar{border-radius:50%;width:32px;height:32px;background:#e7eaff;color:#6878c7;display:grid;place-items:center;flex-shrink:0;font-weight:750;font-size:13px}.bubble{padding:11px 15px;background:#f1f3fa;border-radius:15px 15px 15px 3px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.mine .bubble{background:#5369dd;color:#fff;border-radius:15px 15px 3px 15px}.message-name{font-weight:700;font-size:11px;color:#56658b;margin-bottom:5px}.mine .message-name{text-align:right}.timestamp{font-size:10px;color:#a0a9ba;margin-top:4px}.mine .timestamp{text-align:right}.composer{display:flex;gap:10px;padding-top:15px;border-top:1px solid #e9edf5}.composer input{flex:1;background:#f8f9fd}.files-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:25px}.files-head h3{margin:0}.file-row,.member-row,.notification-row{display:flex;align-items:center;gap:12px;padding:15px;border-bottom:1px solid #edf0f7}.file-row a{color:#405bca;text-decoration:none;font-weight:700;overflow-wrap:anywhere}.file-row small,.member-row small{color:#97a0b3}.file-row div,.member-row div{flex:1;min-width:0}.delete{color:#bc4960;background:#fceff3;border-radius:8px;padding:7px 10px}.modal-overlay{position:fixed;inset:0;background:#1b254e73;display:grid;place-items:center;padding:20px;z-index:5}.modal{padding:27px;width:min(100%,450px)}.modal h2{margin:0;font-size:20px}.notification-overlay{position:fixed;right:20px;top:80px;background:white;width:min(400px,calc(100vw - 40px));max-height:75dvh;overflow:auto;border:1px solid #dfe5f4;box-shadow:0 15px 35px #1d2d4a30;border-radius:15px;z-index:4;padding:20px}.notification-row{font-size:13px;cursor:pointer}.notification-row.unread{background:#f2f5ff}.notification-row small{display:block;color:#99a3b7;margin-top:5px}#toast{position:fixed;top:80px;left:50%;transform:translateX(-50%);background:#2e385c;color:#fff;padding:10px 18px;border-radius:10px;z-index:10;display:none;max-width:90vw}#toast.show{display:block}@media(max-width:730px){header{padding:0 15px;height:65px}.brand{font-size:17px}.brand small{display:none}.header-actions{gap:4px}#who{display:none}.workspace{display:flex;flex-direction:column;height:calc(100dvh - 78px);min-height:0;margin:8px auto;padding:0 9px;gap:8px}.sidebar{padding:12px;flex-shrink:0;max-height:170px}.sidebar .section-header h2{font-size:14px}#groups{display:flex;overflow:auto;gap:3px}.group-item{min-width:135px;max-width:200px;padding:6px}.group-avatar{width:30px;height:30px;font-size:14px}.sidebar-footer{display:none}.content{flex:1;min-height:0}.group-heading{padding:14px 15px 8px}.group-heading h1{font-size:19px}.group-heading p{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tabs{padding:0 13px}.tabpanel{padding:12px}.message{max-width:95%}.composer input{width:50px}.composer button{padding:9px}.files-head{align-items:flex-start;flex-direction:column}.auth-container{display:block;margin:10px auto}.auth-art{display:none}.authform{padding:30px 22px}.notification-overlay{top:68px}}
