.users-page{display:grid;gap:24px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.page-heading h1{margin:0;font-size:32px;letter-spacing:-.04em}.page-heading>div>p:last-child{margin:9px 0 0;color:#7a808c;font-size:14px}.primary-action{padding:11px 16px;border:0;border-radius:9px;color:#fff;background:#6259dd;font-weight:750;cursor:pointer}.primary-action:disabled{opacity:.55}.user-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:26px;border:1px solid #e0e2e8;border-radius:16px;background:#fff;box-shadow:0 12px 34px #2d2c430d}.form-title{grid-column:1/-1}.form-title h2{margin:0 0 5px}.form-title span{color:#9196a1;font-size:12px}.user-form label{display:grid;gap:8px;color:#4b505a;font-size:12px;font-weight:700}.user-form input,.user-form select{width:100%;padding:12px;border:1px solid #dfe1e7;border-radius:9px;outline:none;background:#fafbfc}.user-form input:focus,.user-form select:focus{border-color:#7168e7;box-shadow:0 0 0 3px #efedff;background:#fff}.user-form .form-error{grid-column:1/-1;margin:0}.form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:9px}.form-actions>button:first-child{padding:11px 16px;border:1px solid #dfe1e7;border-radius:9px;background:#fff;cursor:pointer}.users-card{overflow:hidden;border:1px solid #e0e2e8;border-radius:15px;background:#fff}.user-row{display:grid;grid-template-columns:42px minmax(180px,1.4fr) minmax(190px,1.3fr) 120px 105px minmax(150px,auto);align-items:center;gap:14px;padding:17px 20px;border-bottom:1px solid #ececf0}.user-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:3px 8px}.delete-action{border:0;color:#b34250;background:transparent;font-size:11px;cursor:pointer}.user-edit-form{width:min(680px,calc(100vw - 40px))!important;max-height:calc(100vh - 48px);overflow:auto}.full-width-field{grid-column:1 / -1}.user-row:last-child{border-bottom:0}.user-avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;color:#fff;background:#6259dd;font-size:12px;font-weight:800}.user-person,.user-contact{display:grid;gap:4px;min-width:0}.user-person strong,.user-contact span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.user-person span,.user-contact small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9297a2;font-size:11px}.role-select,.status-badge{width:max-content;padding:5px 8px;border:0;border-radius:7px;color:#676d78;background:#f0f1f4;font-size:10px;font-weight:700}.role-select.admin{color:#5d55c6;background:#efedff}.role-select:disabled{appearance:none;opacity:1}.status-badge{color:#277859;background:#e7f5ef}.status-badge.blocked{color:#a4424d;background:#faeaec}.status-action{border:0;color:#6860d6;background:transparent;font-size:11px;cursor:pointer}.status-action:disabled{color:#aaaeb7;cursor:default}.users-state{margin:0;padding:32px;text-align:center;color:#808692}.users-state.error{color:#b33846}@media(max-width:1050px){.user-row{grid-template-columns:42px 1fr 1fr}.role-select,.status-badge,.status-action{margin-left:56px}.user-row{align-items:start}}@media(max-width:760px){.page-heading{align-items:flex-start;flex-direction:column}.page-heading .primary-action{width:100%;min-height:46px}.user-form{grid-template-columns:1fr;padding:20px 16px}.user-row{grid-template-columns:48px minmax(0,1fr);grid-template-areas:"avatar person" ". contact" ". role" ". status" ". actions";align-items:start;gap:10px 14px;padding:18px 14px}.user-avatar{grid-area:avatar;width:44px;height:44px}.user-person{grid-area:person}.user-person strong{overflow:visible;font-size:14px;line-height:1.35;text-overflow:clip;white-space:normal}.user-contact{grid-area:contact}.user-contact span,.user-contact small{overflow-wrap:anywhere;text-overflow:clip;white-space:normal}.role-select{grid-area:role;max-width:100%}.status-badge{grid-area:status}.role-select,.status-badge{width:fit-content;margin-left:0;padding:7px 9px;font-size:11px}.user-actions{grid-area:actions;justify-content:flex-start;gap:6px}.status-action,.delete-action{min-height:36px;margin-left:0;padding:7px 9px;border:1px solid var(--color-border);border-radius:8px;font-size:11px}.status-action{background:var(--color-surface-soft)}.delete-action{border-color:color-mix(in srgb,#b34250 30%,transparent);background:color-mix(in srgb,#b34250 8%,transparent)}.users-card{width:100%;overflow:hidden}.user-edit-form{width:100%!important;max-height:calc(100dvh - env(safe-area-inset-top))}}.teams-page{display:grid;gap:24px}.team-create{display:grid;grid-template-columns:1fr 1.5fr auto;align-items:end;gap:14px;padding:20px;border:1px solid #e0e2e8;border-radius:14px;background:#fff}.team-create label{display:grid;gap:7px;color:#555a65;font-size:12px;font-weight:700}.team-create input{padding:11px;border:1px solid #dfe1e7;border-radius:9px;outline:none}.team-create .form-error{grid-column:1/-1;margin:0}.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.team-card{display:flex;flex-direction:column;min-height:220px;padding:22px;border:1px solid #e0e2e8;border-radius:14px;background:#fff}.team-card-head{display:flex;justify-content:space-between;gap:12px}.team-card-head h2{margin:0;font-size:17px}.team-card-head p{margin:6px 0 0;color:#9297a2;font-size:11px}.team-card-head>span{min-width:30px;height:30px;display:grid;place-items:center;border-radius:9px;color:#5d55c6;background:#efedff;font-size:11px;font-weight:800}.member-list{display:grid;gap:10px;margin:20px 0}.member-list>div{display:grid;gap:2px}.member-list b{font-size:12px}.member-list span,.member-list small{color:#959aa4;font-size:10px}.team-edit{margin-top:auto;padding:9px;border:1px solid #dddfe6;border-radius:8px;color:#6259dd;background:#fff;cursor:pointer}.team-actions{display:flex;gap:7px;margin-top:auto}.team-actions .team-edit{flex:1;margin-top:0}.team-delete{padding:9px;border:1px solid #f0d3d7;border-radius:8px;color:#b34250;background:#fff;cursor:pointer}.team-edit-card{display:grid;gap:16px}.team-edit-card label{display:grid;gap:7px;color:#555a65;font-size:12px;font-weight:700}.team-edit-card input,.team-edit-card textarea{width:100%;padding:11px;border:1px solid #dfe1e7;border-radius:9px;font:inherit}.team-edit-card textarea{min-height:90px;resize:vertical}.member-editor{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:24px;background:#19192b6b;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.member-editor-card{width:min(520px,100%);max-height:80vh;overflow:auto;padding:25px;border-radius:16px;background:#fff;box-shadow:0 24px 70px #14142438}.editor-head{display:flex;justify-content:space-between}.editor-head h2{margin:0}.editor-head>button{width:34px;height:34px;border:0;border-radius:9px;background:#f0f1f4;font-size:20px;cursor:pointer}.member-options{display:grid;gap:6px;margin:22px 0}.member-options label{display:flex;align-items:center;gap:11px;padding:11px;border:1px solid #e7e8ec;border-radius:9px;cursor:pointer}.member-options label>span{display:grid;gap:3px}.member-options b{font-size:12px}.member-options small{color:#9297a2;font-size:10px}@media(max-width:1000px){.team-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.team-create,.team-grid{grid-template-columns:1fr}}.channels-page{height:calc(100dvh - 94px);display:grid;grid-template-columns:285px minmax(0,1fr);grid-template-rows:minmax(0,1fr);overflow:hidden;border:1px solid #e2e3e9;border-radius:18px;background:#fff}.channel-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:20px 12px;border-right:1px solid #e8e9ee;background:#fafafd}.channel-list-head{display:flex;align-items:center;justify-content:space-between;padding:0 6px 14px}.channel-list-head h1{margin:0;font-size:25px}.channel-list-head button{width:36px;height:36px;border:0;border-radius:11px;color:#fff;background:#6259dd;font-size:24px;cursor:pointer}.channel-create-actions{display:flex;gap:6px}.channel-create-actions button:first-child{font-size:15px;background:#45406f}.channel-list-search{min-width:0;display:flex;align-items:center;gap:8px;margin:0 2px 12px;padding:10px 11px;border:1px solid var(--color-border);border-radius:11px;color:var(--color-muted);background:var(--color-surface)}.channel-list-search>span{flex:0 0 auto;font-size:15px}.channel-list-search input{min-width:0;width:100%;padding:0;border:0;outline:0;color:var(--color-text);background:transparent;font:inherit;font-size:12px}.channel-list-search input::placeholder{color:var(--color-muted)}.channel-list-group+.channel-list-group{margin-top:7px}.channel-list-group-label{display:flex;align-items:center;gap:5px;margin:10px 10px 5px;color:var(--color-muted);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.channel-item{width:100%;min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;padding:9px 8px;border:0;border-radius:11px;text-align:left;color:#626875;background:transparent;cursor:pointer}.channel-item:hover{background:var(--color-surface-soft)}.channel-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#fff;background:#6259dd;font-size:12px;font-weight:800}.channel-avatar-public{background:#43a981}.channel-avatar-private{background:#6259dd}.channel-item-copy{min-width:0;display:grid;gap:3px}.channel-item b{overflow:hidden;color:#30343e;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.channel-item small{color:#999eaa}.channel-item.active{color:#564dd2;background:#e7e4fb}.channel-item.unread b{color:#252936;font-weight:800}.channel-item-title,.channel-item-preview{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.channel-item-title b{min-width:0}.channel-item-title time{flex:0 0 auto;color:#9a9faa;font-size:10px}.channel-item-preview small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-item-preview strong{min-width:20px;height:20px;display:grid;place-items:center;padding:0 5px;border-radius:10px;color:#fff;background:#6259dd;font-size:10px}.channel-search-empty{padding-top:28px;text-align:center}.channel-note{padding:10px;color:#8a909c;font-size:13px}.conversation{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.file-drop-overlay{position:absolute;z-index:20;inset:12px;display:grid;place-content:center;justify-items:center;gap:7px;border:2px dashed #7770e8;border-radius:15px;color:#5149c8;background:#f5f4fff2;pointer-events:none}.file-drop-overlay span{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;color:#fff;background:#6259dd;font-size:28px}.file-drop-overlay b{font-size:17px}.file-drop-overlay small{color:#7c8190}.conversation-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 26px;border-bottom:1px solid #e8e9ee}.conversation-identity{min-width:0;display:flex;align-items:center;gap:11px}.conversation-identity>div{min-width:0}.conversation-identity-icon{width:40px;height:40px;display:grid;flex:0 0 40px;place-items:center;border-radius:12px;color:#fff;background:var(--color-brand-600)}.conversation-identity-icon svg{width:19px;height:19px}.mobile-channel-back{display:none}.conversation-head h2{margin:0 0 4px}.conversation-head p{margin:0;color:#848a96;font-size:13px}.pinned-message-bar{display:flex;align-items:stretch;gap:8px;padding:8px 14px;border-bottom:1px solid var(--color-border);background:var(--color-surface-soft)}.pinned-message-preview{min-width:0;display:grid;flex:1;grid-template-columns:max-content 1fr;gap:2px 10px;padding:3px 8px;border:0;border-left:3px solid var(--color-brand-500);color:var(--color-text);text-align:left;background:transparent;cursor:pointer}.pinned-message-preview>span{grid-row:1 / 3;display:grid;align-content:center;gap:2px;color:var(--color-brand-700);font-size:11px;font-weight:800}.pinned-message-preview>span small{color:var(--color-muted);font-size:9px;font-weight:600}.pinned-message-preview>b,.pinned-message-preview>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pinned-message-preview>b{font-size:12px}.pinned-message-preview>small{color:var(--color-muted);font-size:11px}.pinned-message-actions{display:flex;align-items:center;gap:4px}.pinned-message-actions button{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--color-border);border-radius:9px;color:var(--color-muted);background:var(--color-surface);cursor:pointer}.channel-actions{position:relative;display:flex;align-items:center;gap:7px}.channel-actions .channel-header-action{position:relative;width:38px;height:38px;display:grid;flex:0 0 38px;place-items:center;padding:0;border:1px solid var(--color-border);border-radius:11px;color:var(--color-text-soft);background:var(--color-surface);cursor:pointer}.channel-actions .channel-header-action:hover{color:var(--color-brand-600);border-color:var(--color-brand-300);background:var(--color-brand-50)}.channel-header-action svg,.channel-overflow-menu svg{width:18px;height:18px}.channel-actions .channel-pin-button.pinned{color:var(--color-brand-600);border-color:var(--color-brand-300);background:var(--color-brand-50)}.channel-participant-count{position:absolute;top:-5px;right:-5px;min-width:18px;padding:2px 5px;border:2px solid var(--color-surface);border-radius:9px;color:#fff;background:var(--color-brand-600);font-size:9px;font-weight:800;line-height:1.2}.channel-overflow-menu{position:absolute;z-index:15;top:calc(100% + 9px);right:0;width:220px;display:grid;gap:2px;padding:6px;border:1px solid var(--color-border);border-radius:12px;color:var(--color-text);background:var(--color-surface);box-shadow:var(--shadow-card)}.channel-overflow-menu button{width:100%;display:flex;align-items:center;gap:9px;padding:9px 10px;border:0;border-radius:8px;color:inherit;text-align:left;background:transparent;cursor:pointer}.channel-overflow-menu button:hover{background:var(--color-surface-soft)}.channel-overflow-menu .channel-overflow-delete{color:var(--color-danger, #b83242)}.channel-search-card{width:min(680px,calc(100vw - 40px));max-height:min(720px,calc(100vh - 50px));display:flex;flex-direction:column;padding:24px;border-radius:17px;background:#fff;box-shadow:0 24px 70px #1f1d3c38}.channel-search-input{padding:12px 14px;border:1px solid #dcdde5;border-radius:11px;font:inherit}.channel-search-results{min-height:150px;overflow:auto;display:grid;align-content:start;gap:7px;margin-top:14px}.channel-search-results>p{color:#898f9a;text-align:center}.channel-search-results>button{display:grid;gap:6px;padding:11px 13px;border:1px solid #e2e3e9;border-radius:10px;text-align:left;background:#fff;cursor:pointer}.channel-search-results>button:hover{border-color:#bcb7ef;background:#faf9ff}.channel-search-results>button span{display:flex;justify-content:space-between;gap:12px}.channel-search-results time{color:#999eaa;font-size:10px}.channel-search-results small{overflow:hidden;color:#5f6570;text-overflow:ellipsis;white-space:nowrap}.message-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:26px}.load-earlier-messages{padding:8px 12px;border:1px solid var(--color-brand-200);border-radius:18px;color:var(--color-brand-700);background:var(--color-surface);box-shadow:var(--shadow-card);font-family:inherit;font-size:11px;font-weight:750;cursor:pointer}.load-earlier-messages:disabled{opacity:.65;cursor:wait}.jump-to-latest{position:absolute;z-index:8;right:22px;bottom:94px;padding:8px 12px;border:1px solid var(--color-brand-200);border-radius:18px;color:var(--color-brand-700);background:var(--color-surface);box-shadow:var(--shadow-card);font-size:11px;font-weight:750;cursor:pointer}.jump-to-latest b{margin-left:5px;font-size:14px}.message{position:relative;width:fit-content;max-width:min(76%,760px);display:flex;align-items:flex-end;gap:9px;margin:0 auto 10px 0;outline:0}.message.own{margin-right:0;margin-left:auto;flex-direction:row-reverse}.message.message-with-video{width:min(440px,76%)}.message.message-with-video>div:last-child{width:100%;min-width:0;box-sizing:border-box}.message>div:last-child{position:relative;min-width:120px;padding:10px 13px 9px;border:1px solid var(--color-border);border-radius:15px 15px 15px 5px;background:var(--color-surface);box-shadow:0 2px 8px #1c1b380f}.message.own>div:last-child{border-color:var(--color-brand-200);border-radius:15px 15px 5px;background:var(--color-brand-50)}.message.own .message-avatar,.message.own p>b{display:none}.unread-divider{display:flex;align-items:center;gap:10px;margin:15px 0;color:#6259dd;font-size:11px;font-weight:800}.unread-divider:before,.unread-divider:after{content:"";height:1px;flex:1;background:#dcd9ff}.message-avatar{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:11px;color:#fff;background:#7770e8;font-size:12px;font-weight:800}.message p{display:flex;align-items:center;gap:7px;margin:0 0 4px}.message p>b{color:var(--color-brand-700);font-size:12px}.message time{color:#a1a5ad;font-size:11px}.message-actions{position:absolute;z-index:12;top:-52px;right:0;width:max-content;max-width:none;display:inline-flex;flex-wrap:nowrap;align-items:center;gap:2px;padding:5px;border:1px solid var(--color-border);border-radius:14px;color:var(--color-text);background:var(--color-surface);box-shadow:0 12px 32px #1f1d3c29;white-space:nowrap;opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .13s ease,transform .13s ease,visibility 0s linear .35s;transition-delay:.22s,.22s,.35s}.message-actions:after{content:"";position:absolute;top:100%;right:0;left:0;height:12px}.message:not(.own) .message-actions{right:auto;left:0}.message-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 10px;border:0;border-radius:9px;color:var(--color-text-soft);background:transparent;font-size:12px;line-height:1;white-space:nowrap;cursor:pointer}.message-actions button:hover,.message-actions button:focus-visible,.message-actions .message-more-trigger[aria-expanded=true]{color:var(--color-brand-700);background:var(--color-brand-50)}.message-actions .message-more-trigger{width:34px;padding:0;border-left:1px solid var(--color-border);border-radius:0 9px 9px 0;font-size:20px;letter-spacing:2px}.message-overflow-menu{position:absolute;z-index:14;top:calc(100% + 7px);right:0;width:max-content;min-width:178px;display:grid;padding:6px;border:1px solid var(--color-border);border-radius:12px;color:var(--color-text);background:var(--color-surface);box-shadow:0 16px 38px #1f1d3c33}.message:not(.own) .message-overflow-menu{right:auto;left:0}.message-actions .message-overflow-menu button{width:100%;justify-content:flex-start}.message-actions .message-overflow-menu span{color:inherit;line-height:1;white-space:nowrap}.message-actions .message-overflow-danger,.message-actions .message-overflow-danger:hover{color:var(--color-danger-600)}.message-action-icon{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.send-icon{display:none}.message:hover .message-actions,.message-actions:focus-within{opacity:1;visibility:visible;transform:translateY(0);transition-delay:0s}.edited-label{margin-left:7px;color:#999eaa;font-size:10px}.deleted-message{color:#999eaa!important;font-style:italic}.message-edit-form{display:grid;gap:7px;max-width:650px}.message-edit-form textarea{min-height:74px;padding:9px 11px;border:1px solid #bcb7ef;border-radius:9px;font:inherit;resize:vertical}.message-edit-form div{display:flex;justify-content:flex-end;gap:7px}.message-edit-form button{padding:6px 10px;border:1px solid #d9d7ed;border-radius:8px;background:#fff;cursor:pointer}.message-edit-form button:last-child{color:#fff;background:#6259dd}.message-reply-quote{max-width:560px;display:grid;gap:2px;margin:0 0 7px;padding:7px 10px;border:0;border-left:3px solid #7770e8;border-radius:0 8px 8px 0;text-align:left;background:#f5f4ff;cursor:pointer}.message-reply-quote b{color:#5b53ce;font-size:11px}.message-reply-quote span{overflow:hidden;color:#686e79;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.forwarded-message-label{display:block;margin:0 0 6px;color:var(--color-brand-600);font-size:11px;font-weight:750}.message span{white-space:pre-wrap;color:#454a54;line-height:1.42;overflow-wrap:anywhere}.message-body-wrap{min-width:0}.message-formatted-body{display:grid;gap:4px;color:var(--color-text);line-height:1.42;overflow-wrap:anywhere}.message-body-line{min-height:1.42em}.message-formatted-body strong{font-weight:850}.message-formatted-body code{padding:2px 5px;border:1px solid var(--color-border);border-radius:6px;color:var(--color-brand-700);background:var(--color-surface-soft);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.92em}.message-formatted-body blockquote{margin:1px 0;padding:4px 9px;border-left:3px solid var(--color-brand-400);color:var(--color-text-soft);background:color-mix(in srgb,var(--color-brand-50) 72%,transparent)}.message-formatted-body ul,.message-formatted-body ol{display:grid;gap:2px;margin:1px 0;padding-left:22px}.message-files{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;min-width:0;max-width:100%}.message-files img{display:block;width:100%;height:100%;border-radius:11px;object-fit:contain}.message-image-button{width:min(420px,100%);aspect-ratio:4 / 3;overflow:hidden;padding:0;border:0;border-radius:11px;background:transparent;cursor:zoom-in}.message-image-button:hover img{filter:brightness(.94)}.message-media-player{display:grid;gap:5px;width:min(420px,100%);margin-top:6px}.message-video-player{width:100%}.message-media-player audio,.message-media-player video{display:block;width:100%;max-width:100%;border-radius:11px}.message-media-player video{max-height:320px;background:#111}.message-media-player>small{overflow:hidden;color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap}.message-video-preview{position:relative;display:grid;width:100%;aspect-ratio:16 / 9;place-items:center;overflow:hidden;padding:16px;border:1px solid color-mix(in srgb,var(--color-brand-400) 30%,var(--color-border));border-radius:11px;color:#fff;background:radial-gradient(circle at 50% 42%,rgba(116,103,255,.26),transparent 42%),linear-gradient(145deg,#272638,#161622);cursor:pointer}.message-video-preview:hover .message-video-play{transform:scale(1.06);background:var(--color-brand-600)}.message-video-play{display:grid;width:54px;height:54px;padding-left:4px;border-radius:50%;place-items:center;color:#fff;background:color-mix(in srgb,var(--color-brand-600) 84%,transparent);box-shadow:0 10px 28px #0000004d;transition:transform .14s ease,background .14s ease}.message-video-caption{position:absolute;right:12px;bottom:10px;left:12px;display:grid;gap:2px;text-align:left}.message-video-caption b{font-size:13px}.message-video-caption small{overflow:hidden;color:#ffffffb8;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.viewer-open{overflow:hidden}.image-viewer{position:fixed;z-index:1000;inset:0;padding:72px 76px 24px;background:#14141cf0}.image-viewer-stage{width:100%;height:100%;overflow:auto;display:flex;align-items:flex-start;justify-content:flex-start;overscroll-behavior:contain;scrollbar-gutter:stable}.image-viewer-stage img{display:block;border-radius:8px;box-shadow:0 24px 80px #00000073}.image-viewer-stage.fit{align-items:center;justify-content:center}.image-viewer-stage.fit img{max-width:100%;max-height:100%;object-fit:contain}.image-viewer-stage.zoomed img{max-width:none;max-height:none;height:auto;margin:0 auto}.image-viewer-toolbar{position:absolute;top:16px;left:22px;right:22px;display:flex;align-items:center;justify-content:flex-end;gap:12px;color:#fff}.image-viewer-title{min-width:0;margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-viewer-zoom{display:flex;align-items:center;gap:5px}.image-viewer-zoom button:nth-child(2){min-width:92px;font-size:12px}.image-viewer-zoom button.active{border-color:#9189ffb3;background:#6259dd59}.image-viewer-toolbar a,.image-viewer-toolbar button{padding:8px 12px;border:1px solid rgba(255,255,255,.24);border-radius:9px;color:#fff;background:#ffffff1a;font:inherit;text-decoration:none;cursor:pointer}.image-viewer-toolbar button{padding:4px 12px;font-size:24px}.image-viewer-prev,.image-viewer-next{position:absolute;top:50%;width:48px;height:64px;border:0;border-radius:12px;color:#fff;background:#ffffff1a;font-size:44px;cursor:pointer;transform:translateY(-50%)}.image-viewer-prev{left:18px}.image-viewer-next{right:18px}@media(max-width:800px){.image-viewer{padding:106px 8px 12px}.image-viewer-toolbar{top:max(8px,env(safe-area-inset-top));left:8px;right:8px;flex-wrap:wrap;gap:7px}.image-viewer-title{width:100%}.image-viewer-toolbar a{margin-left:auto}.image-viewer-prev,.image-viewer-next{width:36px;height:52px;font-size:32px}.image-viewer-prev{left:6px}.image-viewer-next{right:6px}}.document-file{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%;padding:10px 13px;border:1px solid #dedfe7;border-radius:11px;color:#343943;text-decoration:none;background:#fafbfc}.document-file>span{font-size:22px;color:#6259dd}.document-file div{display:grid;gap:3px;min-width:0}.document-file b{overflow-wrap:anywhere}.document-file small{color:#8b909b}.message mark{padding:1px 4px;border-radius:5px;color:#5149c8;background:#eceafd;font-weight:700}.message-status{display:block;margin-top:5px;color:#9a9faa;font-size:11px}.message-status.read{color:#6259dd}.message.own .message-avatar{background:#43a87d}.message-target{animation:message-highlight 2.4s ease-out}@keyframes message-highlight{0%,35%{filter:drop-shadow(0 0 7px rgba(98,89,221,.38))}to{filter:none;box-shadow:none}}.message-composer{position:relative;display:flex;align-items:flex-end;gap:8px;margin:0 24px 20px;padding:7px;border:1px solid var(--color-border);border-radius:18px;background:var(--color-surface);box-shadow:0 7px 24px #23204c14}.message-format-toolbar{position:absolute;z-index:13;right:7px;bottom:calc(100% + 8px);display:flex;align-items:center;gap:2px;padding:5px;border:1px solid var(--color-border);border-radius:12px;color:var(--color-text);background:var(--color-surface);box-shadow:0 14px 34px #1f1d3c2e}.message-format-toolbar>button,.message-composer>.format-toggle{min-width:34px;height:34px;display:grid;place-items:center;padding:0 8px;border:0;border-radius:8px;color:var(--color-text-soft);background:transparent;font-size:13px;font-weight:750;line-height:1;cursor:pointer}.message-format-toolbar>button:hover,.message-format-toolbar>button:focus-visible,.message-composer>.format-toggle:hover,.message-composer>.format-toggle[aria-expanded=true]{color:var(--color-brand-700);background:var(--color-brand-50)}.message-format-toolbar .format-underline{text-decoration:underline}.message-format-toolbar .format-strike{text-decoration:line-through}.message-format-toolbar .format-code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px}.message-composer>.format-toggle{width:36px;min-width:36px;height:42px;align-self:flex-end;border:1px solid var(--color-border);border-radius:11px;font-size:12px}.composer-reply{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin:0 24px 6px;padding:9px 12px;border:1px solid var(--color-brand-100);border-left:3px solid var(--color-brand-500);border-radius:12px;background:var(--color-brand-50)}.composer-reply>span{color:#6259dd}.composer-reply div{min-width:0;display:grid;gap:2px}.composer-reply b{color:#5149c8;font-size:11px}.composer-reply small{overflow:hidden;color:#747985;text-overflow:ellipsis;white-space:nowrap}.composer-reply button{width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:8px;color:#777c87;background:transparent;font-size:19px;cursor:pointer}.composer-reply button:hover{color:var(--color-text);background:#6259dd14}.mention-suggestions{position:absolute;left:10px;bottom:calc(100% + 7px);width:min(360px,calc(100% - 20px));display:grid;padding:7px;border:1px solid #dedfe6;border-radius:12px;background:#fff;box-shadow:0 14px 36px #25234729}.mention-suggestions button{display:grid;gap:3px;padding:9px 11px;border:0;border-radius:8px;text-align:left;color:#343842;background:transparent}.mention-suggestions button:hover{background:#f0effd}.mention-suggestions small{color:#8b909b}.message-composer textarea{flex:1;min-width:0;min-height:42px;max-height:180px;resize:none;overflow-y:hidden;padding:10px 13px;border:1px solid transparent;border-radius:13px;outline:0;color:var(--color-text);background:var(--color-surface-soft);line-height:1.4}.message-composer textarea:focus{border-color:var(--color-brand-200);background:var(--color-surface);box-shadow:0 0 0 3px #6259dd17}.attach-button{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;align-self:flex-end;border-radius:12px;color:#6259dd;background:#efedff;cursor:pointer;transition:color .15s ease,background .15s ease,transform .15s ease}.attach-button:hover{color:#fff;background:var(--color-brand-600);transform:translateY(-1px)}.attach-button svg,.send-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.attach-button input{display:none}.pending-files{display:flex;flex-wrap:wrap;gap:7px;margin:-10px 24px 14px}.pending-files>span{display:flex;align-items:center;gap:7px;padding:6px 9px;border-radius:8px;color:#555b66;background:#e9e7fb;font-size:12px}.pending-files button{border:0;color:#7770a4;background:transparent;cursor:pointer}.upload-status{margin:-10px 28px 14px;color:#7770a4;font-size:12px}.message-composer>.message-send-button{min-height:42px;align-self:flex-end;padding:10px 17px;border:0;border-radius:12px;color:#fff;background:#6259dd;font-weight:700;cursor:pointer;transition:opacity .15s ease,transform .15s ease,box-shadow .15s ease}.message-composer>.message-send-button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 7px 16px #6259dd3d}.message-composer>.message-send-button:disabled{opacity:.42;cursor:default}.composer-error{margin:-13px 30px 12px;color:#b33846;font-size:12px}.first-message,.empty-conversation{height:100%;display:grid;place-content:center;justify-items:center;gap:8px;color:#858b97}.first-message b,.empty-conversation b{color:#373b45}.channel-media-modal{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:20px;background:#1817308c}.channel-media-card{width:min(920px,100%);height:min(760px,calc(100dvh - 40px));min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--color-border);border-radius:18px;color:var(--color-text);background:var(--color-surface);box-shadow:var(--shadow-modal)}.channel-media-card>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px 14px}.channel-media-card>header h2{margin:2px 0 0}.channel-media-card>header>button{width:38px;height:38px;border:1px solid var(--color-border);border-radius:11px;color:var(--color-muted);background:var(--color-surface-soft);font-size:24px;cursor:pointer}.channel-media-tabs{display:flex;gap:5px;padding:0 22px 13px;border-bottom:1px solid var(--color-border)}.channel-media-tabs button{padding:8px 15px;border:0;border-radius:10px;color:var(--color-muted);background:transparent;font:inherit;font-weight:700;cursor:pointer}.channel-media-tabs button.active{color:var(--color-brand-700);background:var(--color-brand-100)}.chat-media-grid,.chat-file-list{min-height:0;flex:1;overflow:auto;padding:18px 22px 24px}.chat-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));align-content:start;gap:13px}.chat-media-item{min-width:0;overflow:hidden;border:1px solid var(--color-border);border-radius:13px;background:var(--color-surface-soft)}.chat-media-image{width:100%;aspect-ratio:1 / .78;display:block;overflow:hidden;padding:0;border:0;background:var(--color-canvas);cursor:zoom-in}.chat-media-image img{width:100%;height:100%;display:block;object-fit:cover}.chat-media-item>div{display:grid;gap:7px;padding:9px 10px 10px}.chat-media-item>div>span{min-width:0;display:flex;justify-content:space-between;gap:8px}.chat-media-item b{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.chat-media-item time{color:var(--color-muted);font-size:9px}.chat-media-item>div>button,.chat-file-item>button,.chat-file-item>a{padding:5px 8px;border:0;border-radius:7px;color:var(--color-brand-700);text-align:center;text-decoration:none;background:var(--color-brand-100);font:inherit;font-size:10px;font-weight:750;cursor:pointer}.chat-file-list{display:grid;align-content:start;gap:8px}.chat-file-item{min-width:0;display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface-soft)}.chat-file-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;color:var(--color-brand-700);background:var(--color-brand-100)}.chat-file-item>div{min-width:0;display:grid;gap:3px}.chat-file-item>div b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-file-item>div small{color:var(--color-muted)}.chat-attachments-empty{grid-column:1 / -1;min-height:230px;display:grid;place-content:center;justify-items:center;gap:5px;color:var(--color-muted)}.chat-attachments-empty b{color:var(--color-text)}.chat-attachments-more{grid-column:1 / -1;justify-self:center;padding:9px 16px;border:1px solid var(--color-border);border-radius:10px;color:var(--color-brand-700);background:var(--color-surface);cursor:pointer}.channel-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:#1817307a}.channel-modal>form{width:min(520px,100%);display:grid;gap:17px;padding:27px;border-radius:18px;background:#fff}.channel-members-card{width:min(560px,100%);display:grid;gap:17px;padding:27px;border-radius:18px;background:#fff}.channel-member-list{max-height:420px;display:grid;gap:7px;overflow:auto}.channel-member-filter{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end}.channel-member-filter label{display:grid;gap:6px;color:var(--color-muted);font-size:12px}.channel-member-filter select{width:100%;min-width:0;height:42px}.channel-member-filter button{min-height:42px;padding:0 13px;border:1px solid var(--color-border);border-radius:10px;color:var(--color-primary);background:var(--color-surface);cursor:pointer}.channel-member-filter button:disabled{opacity:.55;cursor:default}.channel-member-summary{margin:-7px 0 0;color:var(--color-muted);font-size:12px}.channel-member-list label{display:flex;align-items:center;gap:12px;padding:11px;border:1px solid #e7e8ed;border-radius:11px;cursor:pointer}.channel-member-list label>span{display:grid;gap:3px}.channel-member-list small{color:#8d929d}.channel-member-list .channel-member-teams{color:var(--color-primary);font-size:10px}.channel-member-list input{width:17px;height:17px;accent-color:#6259dd}.direct-search{width:100%;height:44px;min-height:44px;padding:12px 14px;border:1px solid #dfe1e7;border-radius:10px;background:#fafbfc}.direct-user-list{min-height:0;max-height:420px;display:grid;grid-auto-rows:max-content;align-content:start;gap:6px;overflow:auto}.direct-user-list>button{display:flex;align-items:center;gap:11px;padding:10px;border:0;border-radius:11px;text-align:left;background:transparent;cursor:pointer}.direct-user-list>button:hover{background:#f0effd}.direct-user-list>button>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:#fff;background:#6259dd;font-size:12px;font-weight:800}.direct-user-list div{display:grid;gap:3px}.direct-user-list small{color:#898f9a}.channel-modal-head{display:flex;justify-content:space-between}.channel-modal-head h2{margin:0}.channel-modal-head>button{border:0;background:transparent;font-size:27px;cursor:pointer}.channel-modal label{display:grid;gap:8px;color:#4a4f59;font-size:13px;font-weight:700}.channel-modal input,.channel-modal textarea,.channel-modal select{padding:12px;border:1px solid #dfe1e7;border-radius:10px;background:#fafbfc}.channel-modal textarea{min-height:80px;resize:vertical}.forward-message-card{width:min(520px,100%);max-height:min(720px,calc(100dvh - 40px));display:flex;flex-direction:column;gap:14px;padding:24px;border-radius:var(--radius-lg);color:var(--color-text);background:var(--color-surface);box-shadow:var(--shadow-card)}.forward-file-summary{display:flex;align-items:center;gap:11px;padding:11px 13px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-soft)}.forward-file-summary>span{color:var(--color-brand-600);font-size:24px}.forward-file-summary>div{min-width:0;display:grid;gap:3px}.forward-file-summary b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forward-file-summary small{color:var(--color-muted)}.forward-channel-list{min-height:120px;overflow-y:auto;display:grid;align-content:start;gap:5px;padding-right:3px}.forward-channel-list label{display:grid;grid-template-columns:20px 28px minmax(0,1fr);align-items:center;gap:9px;padding:10px;border:1px solid transparent;border-radius:var(--radius-sm);cursor:pointer}.forward-channel-list label:hover{border-color:var(--color-border);background:var(--color-surface-soft)}.forward-channel-list input{width:17px;height:17px;margin:0}.forward-channel-list label>span{color:var(--color-brand-600);text-align:center;font-weight:800}.forward-channel-list label>div{min-width:0;display:grid;gap:2px}.forward-channel-list b,.forward-channel-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forward-channel-list small{color:var(--color-muted)}.channel-hint{margin:0;color:#8d929d;font-size:12px;line-height:1.5}@media(max-width:800px){.channels-page{height:calc(100dvh - 164px - env(safe-area-inset-bottom));grid-template-columns:1fr;border-radius:14px}.channel-list{min-width:0;min-height:0;overflow-y:auto;padding:16px 10px;border-right:0}.channel-member-filter{grid-template-columns:1fr}.channel-member-filter button{width:100%}.channel-list-head{padding:0 4px 14px}.channel-list-head h1{display:block;font-size:23px}.channel-list-search input{font-size:16px}.channel-item{min-height:62px;align-items:center;justify-content:flex-start;padding:10px}.channel-item div{display:grid}.channels-page .conversation,.channels-page.has-selection .channel-list{display:none}.channels-page.has-selection .conversation{display:flex}.conversation-head{min-height:60px;align-items:center;gap:9px;padding:9px 10px}.conversation-head>div:first-of-type{min-width:0;flex:1}.conversation-identity-icon{width:36px;height:36px;flex-basis:36px;border-radius:11px}.conversation-head h2,.conversation-head p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-head h2{margin-bottom:2px;font-size:16px}.conversation-head p{font-size:11px}.mobile-channel-back{width:40px;height:40px;display:grid;flex:0 0 auto;place-items:center;border:1px solid var(--color-border);border-radius:11px;color:var(--color-text);background:var(--color-surface);font-size:29px}.channel-actions{gap:5px}.channel-actions .channel-header-action:not(.channel-more-button){display:none}.channel-actions .channel-header-action{width:36px;height:36px;flex-basis:36px;border-radius:11px}.channel-overflow-menu{top:calc(100% + 7px);right:0}.message-list{padding:12px 10px 6px}.message{grid-template-columns:30px minmax(0,1fr);gap:8px;margin-bottom:13px}.message-avatar{width:30px;height:30px;border-radius:9px;font-size:10px}.message p{flex-wrap:nowrap;gap:5px;margin-bottom:3px}.message p>b{min-width:0;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.message time{flex:0 0 auto;font-size:9px}.message>div>span{font-size:15px;line-height:1.4}.message-actions{margin-left:auto;flex:0 0 auto;gap:1px;opacity:1}.message-actions button{width:28px;height:28px;display:grid;place-items:center;padding:0;border-radius:7px;background:var(--color-surface-soft);font-size:13px}.message-action-label{display:none}.message-composer textarea{min-width:0;height:42px;min-height:42px;max-height:96px;padding:10px 6px;font-size:16px;line-height:1.35}.message-composer{gap:6px;margin:0 8px 8px;padding:6px;border-radius:13px}.attach-button{width:42px;height:42px;flex:0 0 42px;border-radius:10px}.message-composer>.message-send-button{width:42px;height:42px;min-height:42px;display:grid;flex:0 0 42px;place-items:center;padding:0;border-radius:10px}.send-label{display:none}.send-icon{display:inline;font-size:21px;line-height:1}.pending-files{margin:0 10px 10px}.jump-to-latest{right:14px;bottom:70px}.channel-modal,.channel-media-modal{align-items:stretch;padding:0}.channel-media-card{width:100%;height:100dvh;border:0;border-radius:0}.channel-media-card>header{padding:max(12px,env(safe-area-inset-top)) 14px 10px}.channel-media-card>header h2{font-size:18px}.channel-media-tabs{padding:0 14px 10px}.chat-media-grid,.chat-file-list{padding:12px 10px calc(20px + env(safe-area-inset-bottom))}.chat-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.chat-file-item{grid-template-columns:34px minmax(0,1fr) auto;gap:8px;padding:9px}.chat-file-item>button{grid-column:2 / -1}.chat-file-item>a{grid-column:3;grid-row:1}.channel-modal>form,.channel-members-card,.channel-search-card,.forward-message-card{width:100%;max-height:calc(100dvh - env(safe-area-inset-top));padding:20px 16px calc(20px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0}.forward-message-card{height:min(78dvh,680px)}.direct-chat-card{grid-template-rows:auto auto minmax(0,1fr) auto;align-content:start;min-height:0}.direct-chat-card .direct-search{display:block;grid-row:2;align-self:start;width:100%;height:46px;min-height:46px;max-height:46px;line-height:20px;resize:none}.direct-chat-card .direct-user-list{grid-row:3;min-height:0;max-height:none;overflow-y:auto}}@media(max-width:800px){.direct-chat-modal{z-index:200;display:block;padding:0;overflow:hidden;background:var(--color-surface);-webkit-backdrop-filter:none;backdrop-filter:none}.direct-chat-modal .direct-chat-card{width:100%;height:100dvh;max-height:100dvh;grid-template-rows:auto auto minmax(0,1fr) auto;gap:12px;padding:max(18px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));border:0;border-radius:0;box-shadow:none}.direct-chat-modal .channel-modal-head h2{font-size:clamp(25px,7vw,32px);line-height:1.15}.direct-chat-modal .direct-search{font-size:16px}.direct-chat-modal .direct-user-list{padding-top:2px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.direct-chat-modal .direct-user-list>button{min-height:58px;padding:8px 4px}}@media(max-width:800px){.channels-page.has-selection{position:fixed;z-index:70;inset:0;bottom:calc(66px + env(safe-area-inset-bottom));width:100%;height:auto;border:0;border-radius:0;background:var(--color-canvas)}.channels-page.has-selection.composer-focused{bottom:0}html.chat-composer-focused .sidebar{visibility:hidden;opacity:0;pointer-events:auto}.channels-page.has-selection .conversation{width:100%;height:100%;background:var(--color-canvas)}.conversation-head{min-height:54px;padding:max(7px,env(safe-area-inset-top)) 9px 7px;background:var(--color-surface)}.conversation-head h2{font-size:15px}.conversation-head p{font-size:10px}.pinned-message-bar{gap:4px;padding:5px 7px}.pinned-message-preview{grid-template-columns:90px minmax(0,1fr);gap:1px 7px;padding:2px 6px}.pinned-message-preview>span{font-size:9px}.pinned-message-preview>b,.pinned-message-preview>small{font-size:10px}.pinned-message-actions button{width:30px;height:30px;border-radius:50%}.mobile-channel-back,.channel-actions .channel-header-action{width:36px;height:36px;min-height:36px;border-radius:11px}.message-list{padding:10px 8px 8px;scroll-padding-bottom:12px}.message{width:fit-content;max-width:88%;display:flex;align-items:flex-end;gap:6px;margin:0 auto 7px 0;outline:0}.message.own{margin-right:0;margin-left:auto;flex-direction:row-reverse}.message.message-with-video{width:88%}.message-avatar{width:27px;height:27px;flex:0 0 27px;border-radius:50%;font-size:9px}.message.own .message-avatar{display:none}.message>div:last-child{position:relative;min-width:82px;padding:7px 10px 6px;border:1px solid var(--color-border);border-radius:13px 13px 13px 4px;background:var(--color-surface);box-shadow:0 1px 3px #14132c14}.message.own>div:last-child{border-color:var(--color-brand-200);border-radius:13px 13px 4px;background:var(--color-brand-50)}.message.own p>b{display:none}.message p{gap:5px;margin-bottom:2px}.message p>b{max-width:190px;color:var(--color-brand-700);font-size:10px}.message time{font-size:8px}.message>div>span{display:block;color:var(--color-text);font-size:14px;line-height:1.32;overflow-wrap:anywhere}.message-actions{display:none}.mobile-message-sheet-backdrop{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-end;background:#0a0a147a}.mobile-message-sheet{width:100%;padding:12px 14px calc(14px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;background:var(--color-surface);box-shadow:0 -12px 30px #0000003d}.mobile-message-sheet-handle{width:42px;height:4px;margin:0 auto 10px;border-radius:4px;background:var(--color-border-strong)}.mobile-message-sheet p{margin:0 0 10px;color:var(--color-text-muted);font-size:13px;text-align:center}.mobile-message-sheet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mobile-message-sheet-grid button,.mobile-message-sheet-cancel{min-height:58px;display:grid;place-items:center;gap:4px;border:1px solid var(--color-border);border-radius:12px;color:var(--color-text);background:var(--color-surface-soft);font-size:11px;touch-action:manipulation}.mobile-message-sheet-grid .message-action-icon{width:21px;height:21px;color:var(--color-brand-700)}.mobile-message-sheet-grid .mobile-message-danger{color:#c24d55}.mobile-message-sheet-cancel{width:100%;min-height:44px;margin-top:9px;background:transparent}.message-status{margin-top:3px;font-size:8px;text-align:right}.message-files{margin-top:5px}.message-media-player{display:grid;gap:4px;max-width:min(420px,100%);margin-top:6px}.message-media-player audio,.message-media-player video{display:block;max-width:100%;border-radius:10px}.message-media-player video{max-height:320px;background:#111}.message-media-player small{overflow:hidden;color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap}.message-files img{width:100%;height:100%;border-radius:9px}.message-image-button{width:min(72vw,340px)}.message-reply-quote{max-width:72vw;margin-bottom:4px;padding:5px 7px}.unread-divider{width:calc(100vw - 16px);margin-bottom:9px}.composer-reply{margin:0 6px 3px;padding:6px 9px}.message-composer{flex:0 0 auto;gap:5px;margin:0;padding:6px max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));border:0;border-top:1px solid var(--color-border);border-radius:0;background:var(--color-surface)}.message-composer textarea{height:auto;min-height:40px;max-height:min(180px,36dvh);padding:9px 10px;border:1px solid var(--color-border);border-radius:20px;outline:0;color:var(--color-text);background:var(--color-surface-soft);box-shadow:none;font-size:16px;line-height:1.32}.message-composer textarea:focus{border-color:var(--color-brand-300);box-shadow:none}.attach-button,.message-composer>.message-send-button{width:40px;height:40px;min-height:40px;flex-basis:40px;border-radius:50%}.pending-files{margin:0;padding:5px 7px;background:var(--color-surface)}.jump-to-latest{right:10px;bottom:58px;width:42px;height:42px;display:grid;place-items:center;padding:0;border-radius:50%;font-size:0}.jump-to-latest span{display:none}.jump-to-latest b{margin:0;font-size:21px}}.message-inline-link{color:var(--accent, #6256d9);text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}.message-inline-link:hover{opacity:.82}.message.message-selectable{position:relative;padding-left:40px;cursor:pointer}.message.message-selected{background:var(--color-surface-soft);outline:2px solid var(--color-brand-600);outline-offset:-2px;border-radius:12px}.message-select-checkbox{position:absolute;left:10px;top:18px;width:20px;height:20px;margin:0;accent-color:var(--color-brand-600)}.message-selection-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 16px;background:var(--color-surface);border-top:1px solid var(--color-border);flex-shrink:0}.message-selection-bar b{margin-right:auto}.message-selection-bar button,.forward-tabs button,.forward-selected button{padding:8px 12px;border:1px solid var(--color-border);border-radius:10px;cursor:pointer;background:var(--color-surface);color:var(--color-text)}.message-selection-bar small{flex-basis:100%;color:var(--color-danger, #b33846)}.forward-selected{display:flex;flex-wrap:wrap;gap:6px;max-height:110px;overflow-y:auto;flex-shrink:0}.forward-selected:empty{display:none}.forward-selected button{font-size:12px}.forward-tabs{display:flex;gap:8px}.forward-tabs button[aria-pressed=true]{background:var(--color-brand-600);color:#fff}.forward-delivery{overflow-y:auto}.forward-delivery .form-error{margin:8px 0}.forward-file-summary small{overflow-wrap:anywhere}.forward-notice{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 16px;color:var(--color-text);background:var(--color-surface-soft)}.forward-notice button{border:0;background:transparent;color:inherit;cursor:pointer}.message-readers{display:flex;align-items:center;width:fit-content;gap:0;margin:7px 0 0 auto;padding:2px;border:0;background:transparent;color:var(--color-brand-600);cursor:pointer;border-radius:16px}.message-readers:focus-visible{outline:2px solid var(--color-brand-600)}.readers-check{display:inline-flex;margin-left:6px}.read-checks{width:17px;height:11px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.reader-avatar,.reader-overflow{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:23px;height:23px;border-radius:50%;border:2px solid var(--reader-ring, var(--color-surface));background:var(--color-brand-600);color:#fff;font-size:8px;font-weight:750;letter-spacing:-.02em}.message-readers>.reader-avatar:nth-child(1){background:#6259dd}.message-readers>.reader-avatar:nth-child(2){background:#248e8b}.message-readers>.reader-avatar:nth-child(3){background:#b34d70}.message-readers .reader-avatar+.reader-avatar{margin-left:-7px}.reader-overflow{width:auto;min-width:23px;padding:0 5px;margin-left:-5px;color:var(--color-text);background:var(--color-surface-soft)}.message-readers-list{list-style:none;margin:0;padding:0;overflow-y:auto}.message-readers-list li{display:flex;gap:12px;align-items:center;padding:10px 0}.message-readers-list .reader-avatar{width:36px;height:36px;font-size:12px}.message-readers-list li>div{display:grid;gap:4px}.message-readers-list small{color:var(--color-muted)}@media(max-width:800px){.message-format-toolbar{right:6px;left:6px;overflow-x:auto;justify-content:flex-start;scrollbar-width:none}.message-format-toolbar::-webkit-scrollbar{display:none}.message-format-toolbar>button{flex:0 0 34px}.message-selection-bar{gap:6px;padding:8px}.message-readers{min-height:40px}.message.message-selectable{padding-left:36px}.message-select-checkbox{left:6px}}.message.own>div:last-child{--reader-ring: var(--color-brand-50)}.message .message-readers .reader-avatar{color:#fff;line-height:1}.message .message-readers .reader-overflow{color:var(--color-text);white-space:nowrap}.message .message-readers .readers-check{color:var(--color-brand-600)}.message-status{width:fit-content;display:flex;align-items:center;gap:4px;margin-left:auto}.message-status-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.message-selection-bar .primary-action{background:var(--color-brand-600);color:#fff}.forward-message-card .form-actions{flex-shrink:0}.forward-message-card .form-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}.forward-message-card .form-actions>button{padding:10px 14px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface);color:var(--color-text);cursor:pointer}.forward-message-card .form-actions>.primary-action{background:var(--color-brand-600);color:#fff;border-color:transparent}.forward-message-card button:disabled{cursor:default;opacity:.6}.forward-message-card .form-actions>.primary-action{flex:1}.notifications-page{max-width:980px}.notification-list{display:grid;gap:20px;margin-top:26px}.notification-group{display:grid;gap:9px}.notification-group>header{display:flex;align-items:center;gap:8px;padding:0 4px 2px;color:var(--color-muted);font-size:12px}.notification-group>header b{color:var(--color-text-soft)}.notification-group>header span{min-width:23px;padding:3px 7px;border-radius:999px;color:#fff;text-align:center;background:var(--color-brand-500);font-size:9px;font-weight:800}.notification-row{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px;border:1px solid var(--color-border);border-radius:15px;color:var(--color-text);background:var(--color-surface);box-shadow:0 3px 12px #2825530e;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.notification-row:hover{border-color:var(--color-brand-200);box-shadow:0 8px 22px #322e6e17;transform:translateY(-1px)}.notification-row.unread{border-color:var(--color-brand-200);background:var(--color-brand-50)}.notification-row.unread:before{content:"";position:absolute;top:13px;bottom:13px;left:-1px;width:3px;border-radius:0 4px 4px 0;background:var(--color-brand-500)}.notification-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:#fff;background:var(--color-brand-500);font-size:12px;font-weight:900}.notification-icon.task{background:var(--color-warning-500, #d99a35)}.notification-icon.request{background:var(--color-success-500, #43a87d)}.notification-main{min-width:0;display:grid;gap:4px;padding:0;border:0;color:inherit;text-align:left;background:transparent;font:inherit;cursor:pointer}.notification-main b{overflow:hidden;color:var(--color-text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.notification-main span{overflow:hidden;color:var(--color-text-soft);font-size:12px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.notification-meta{display:grid;justify-items:end;gap:8px}.notification-meta time{color:var(--color-muted);font-size:10px}.notification-actions{display:flex;gap:5px}.notification-actions button{padding:6px 9px;border:1px solid var(--color-brand-200);border-radius:8px;color:var(--color-brand-700);background:var(--color-surface);font:inherit;font-size:10px;font-weight:700;cursor:pointer}.notification-actions button:last-child{color:var(--color-muted);border-color:transparent;background:transparent}.notification-actions button:disabled{opacity:.55;cursor:default}.notification-empty{padding:42px;border:1px dashed var(--color-border);border-radius:15px;color:var(--color-muted);text-align:center;background:var(--color-surface)}html[data-theme=dark] .notification-row{color:var(--color-text);border-color:var(--color-border);background:var(--color-surface)}html[data-theme=dark] .notification-row.unread{border-color:#56517d;background:#29273d}html[data-theme=dark] .notification-row:hover{border-color:var(--color-brand-500)}html[data-theme=dark] .notification-actions button{color:#d5d1ff;border-color:#555078;background:#302e49}html[data-theme=dark] .notification-actions button:last-child{color:var(--color-muted);border-color:transparent;background:transparent}@media(max-width:760px){.notification-list{gap:17px;margin-top:18px}.notification-row{grid-template-columns:38px minmax(0,1fr);align-items:start;gap:10px;padding:12px;border-radius:14px}.notification-icon{width:38px;height:38px;border-radius:11px}.notification-main b{white-space:normal}.notification-main span{display:-webkit-box;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.notification-meta{grid-column:2;justify-items:start}.notification-actions{flex-wrap:wrap}.notification-actions button{min-height:34px}}.user-picker{position:relative;display:grid;gap:7px;min-width:0}.user-picker-search{width:100%;min-width:0}.user-picker-selected{min-width:0;min-height:42px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;border:1px solid var(--color-border-strong);border-radius:9px;background:var(--color-surface-soft)}.user-picker-current{min-width:0;display:grid;gap:2px;padding:7px 10px;border:0;text-align:left;color:var(--color-text);background:transparent;cursor:pointer}.user-picker-current span,.user-picker-current small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-picker-current span{font-size:12px;font-weight:750}.user-picker-current small{color:var(--color-muted);font-size:10px}.user-picker-clear{width:38px;border:0;border-left:1px solid var(--color-border);color:var(--color-muted);background:transparent;font-size:18px;cursor:pointer}.user-picker-selected:focus-within{border-color:var(--color-brand-500);box-shadow:0 0 0 3px var(--color-brand-100)}.user-picker-results{position:absolute;z-index:120;top:calc(100% + 5px);right:0;left:0;max-height:260px;overflow-y:auto;display:grid;gap:3px;padding:6px;border:1px solid var(--color-border);border-radius:11px;background:var(--color-surface);box-shadow:var(--shadow-modal)}.user-picker-results>button{min-width:0;display:grid;gap:3px;padding:9px 10px;border:0;border-radius:8px;text-align:left;color:var(--color-text);background:transparent;cursor:pointer}.user-picker-results>button:hover,.user-picker-results>button.selected{background:var(--color-brand-50)}.user-picker-results b,.user-picker-results small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-picker-results b{font-size:12px}.user-picker-results small{color:var(--color-muted);font-size:10px}.user-picker-results p{margin:0;padding:14px;color:var(--color-muted);text-align:center;font-size:12px}.user-picker-chips{display:flex;flex-wrap:wrap;gap:5px}.user-picker-chips>span{max-width:100%;display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border-radius:8px;color:var(--color-brand-700);background:var(--color-brand-100);font-size:11px}.user-picker-chips button{padding:0;border:0;color:inherit;background:transparent;font-size:16px;cursor:pointer}@media(max-width:760px){.user-picker-search{min-height:46px!important;font-size:16px}.user-picker-results{position:absolute;z-index:150;top:calc(100% + 5px);right:0;bottom:auto;left:0;max-height:min(32dvh,260px);padding:8px;border-radius:13px;overscroll-behavior:contain}.user-picker-results>button{min-height:52px;padding:9px 11px}.user-picker-results b{font-size:13px}.user-picker-selected{min-height:46px}.user-picker-current span{white-space:normal}}.tasks-page,.user-workspace{max-width:1180px}.user-workspace-tabs{width:fit-content;display:flex;gap:4px;margin:0 0 20px;padding:4px;border:1px solid var(--color-border);border-radius:13px;background:var(--color-surface);box-shadow:var(--shadow-card)}.user-workspace-tabs button{min-height:38px;padding:8px 18px;border:0;border-radius:9px;color:var(--color-text-soft);background:transparent;font:inherit;font-size:13px;font-weight:750;cursor:pointer}.user-workspace-tabs button.active{color:var(--color-brand-700);background:var(--color-brand-50)}.task-readonly-summary{display:grid;gap:16px;padding:16px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface-soft)}.task-readonly-summary>p{margin:0;color:var(--color-text);line-height:1.55;white-space:pre-wrap}.task-readonly-summary>div{display:flex;flex-wrap:wrap;gap:8px}.task-readonly-status{padding:5px 9px;border-radius:999px;color:var(--color-text-soft);background:var(--color-surface);font-size:11px;font-weight:800}.task-readonly-summary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.task-readonly-summary dl>div{min-width:0}.task-readonly-summary dt{margin-bottom:4px;color:var(--color-muted);font-size:10px}.task-readonly-summary dd{margin:0;color:var(--color-text);font-size:12px;font-weight:750}.tasks-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.task-filters{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 18px}.task-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.task-view-switch{flex:0 0 auto}.task-board{overflow-x:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:2px 2px 12px}.task-column{height:clamp(420px,calc(100dvh - 330px),680px);min-height:360px;min-width:0;display:flex;flex-direction:column;padding:12px;border:1px solid var(--color-border);border-top:4px solid #aaa7bd;border-radius:16px;background:#f4f4f8;box-shadow:inset 0 1px #ffffffb3}.task-column.status-new{border-top-color:#7068de}.task-column.status-in_progress{border-top-color:#e5a43c}.task-column.status-review{border-top-color:#4d8fc4}.task-column.status-done{border-top-color:#4aa37e}.task-column.status-cancelled{border-top-color:#9a9da6}.task-column>header{display:flex;align-items:center;justify-content:space-between;padding:2px 3px 12px;font-size:12px}.task-column>header b{color:var(--color-text);font-size:12px;font-weight:800}.task-column>header span{min-width:25px;padding:4px 7px;border-radius:999px;color:var(--color-muted);text-align:center;background:var(--color-surface);font-weight:800}.task-column>div{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;display:grid;align-content:start;gap:8px;padding-right:3px}.task-kanban-card{padding:14px;border:1px solid #e0e0e7;border-radius:14px;background:#fff;box-shadow:0 3px 10px #2825530e;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.task-kanban-card:hover{transform:translateY(-2px)}.task-kanban-card[draggable=true]{cursor:grab}.task-kanban-card[draggable=true]:active{cursor:grabbing}.task-kanban-card.overdue{border-left:3px solid #d95757}.task-kanban-card h3{margin:10px 0 6px;font-size:14px;line-height:1.32}.task-kanban-card>p{overflow:hidden;display:-webkit-box;margin:0 0 9px;color:#686e79;font-size:12px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}.task-kanban-card>small{display:block;margin-bottom:9px;color:#777d88;font-size:11px}.task-kanban-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:10px;border-top:1px solid #ececf1;color:#8b909a;font-size:10px}.task-kanban-status{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;margin-top:10px;color:#777d88;font-size:10px}.task-kanban-status select{min-width:0;width:100%;padding:7px 26px 7px 8px;border:1px solid var(--color-border, #dcdde5);border-radius:9px;color:var(--color-text, #3c4050);background:var(--color-surface, #fafafd);font:inherit;cursor:pointer}.task-column-more{width:100%;padding:9px;border:1px dashed var(--color-border, #c9c7db);border-radius:9px;color:var(--color-brand-600, #5b53ce);background:transparent;cursor:pointer}.task-filters button{padding:9px 12px;border:1px solid #dfe0e7;border-radius:10px;color:#666c77;background:#fff;cursor:pointer}.task-filters button.active{border-color:#bdb8ef;color:#5149c8;background:#efedff}.task-filters b{margin-left:5px}.task-list{display:grid;gap:10px}.task-card{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:22px;padding:19px;border:1px solid #e1e2e8;border-radius:14px;background:#fff;cursor:pointer}.task-card.overdue{border-left:4px solid #d95757}.task-card.focused{animation:message-highlight 2.4s ease-out}.task-card h2{margin:8px 0 7px;font-size:18px}.task-card-main>p{margin:0 0 12px;color:#676d78;white-space:pre-wrap}.task-badges{display:flex;flex-wrap:wrap;gap:7px}.task-badges span{padding:4px 8px;border-radius:999px;font-size:9px;font-weight:800;text-transform:uppercase}.priority{color:#53606c;background:#eef1f4}.priority.high{color:#a76112;background:#fff0d8}.priority.urgent,.overdue-label{color:#b43c3c;background:#ffe5e5}.priority.low{color:#397b63;background:#e5f5ee}.task-people{display:flex;flex-wrap:wrap;gap:8px 18px;color:#8b909a;font-size:12px}.task-status{display:grid;align-content:start;gap:6px;color:#898e99;font-size:11px}.task-status select{width:100%;padding:9px;border:1px solid #dcdde5;border-radius:9px;font:inherit;background:#fafafd}.task-empty{padding:45px;border:1px dashed #d9dbe2;border-radius:14px;color:#8b909b;text-align:center;background:#fff}.channel-modal>form.task-create-card{width:min(680px,calc(100vw - 40px));max-height:calc(100vh - 50px);overflow-x:hidden;overflow-y:auto;display:grid;gap:15px;padding:24px;border-radius:17px;background:#fff;box-shadow:0 24px 70px #1f1d3c38;box-sizing:border-box}.task-create-card>label,.task-form-grid label{display:grid;gap:7px;color:#5e6470;font-size:13px;font-weight:700}.task-create-card input,.task-create-card textarea,.task-create-card select{width:100%;min-width:0;box-sizing:border-box;padding:11px 12px;border:1px solid #dcdde5;border-radius:10px;font:inherit}.task-create-card textarea{min-height:110px;resize:vertical}.task-form-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(140px,1fr);gap:12px}.task-observers{max-height:145px;overflow:auto;display:flex;flex-wrap:wrap;gap:7px 14px;padding:12px;border:1px solid #dcdde5;border-radius:10px}.task-observers legend{padding:0 5px;color:#5e6470;font-size:13px;font-weight:700}.task-observers label{display:flex;align-items:center;gap:6px;font-weight:500}.task-observers input,.remote-toggle input{width:16px}.task-observers.searchable-observers{max-height:none;display:block;overflow:visible}.task-observers.searchable-observers .user-picker{width:100%}.task-observers.searchable-observers .user-picker-search{width:100%;min-width:0}.dispatcher-setting>.user-picker{width:min(420px,100%);flex:1 1 280px}.task-create-files{display:grid;gap:8px}.task-create-files .request-files span{display:inline-flex;align-items:center;gap:7px}.task-create-files .request-files button{padding:0;border:0;color:inherit;background:transparent;cursor:pointer}.request-list{display:grid;gap:10px;margin-top:24px}.incoming-requests{margin-top:24px;padding:18px;border:1px solid #e1e2e8;border-radius:15px;background:#fafafd}.kanban-section{display:grid;gap:10px}.kanban-section-title{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:3px 9px}.kanban-section-title span{grid-row:1 / 3;align-self:center;padding:5px 8px;border-radius:7px;color:var(--color-brand-600);background:var(--color-brand-100);font-size:10px;font-weight:800;text-transform:uppercase}.kanban-section-title b{color:var(--color-text);font-size:14px}.kanban-section-title small{color:var(--color-muted);font-size:10px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-title h2{margin:2px 0 0}.section-title>b{padding:6px 9px;border-radius:8px;color:#5b53ce;background:#efedff;font-size:11px}.request-view-switch{display:flex;gap:5px;padding:4px;border-radius:10px;background:#ececf2}.request-view-switch button,.request-toolbar button{padding:7px 10px;border:0;border-radius:8px;color:#707580;background:transparent;cursor:pointer}.request-view-switch button.active,.request-toolbar button.active{color:#5149c8;background:#fff;box-shadow:0 2px 7px #28255317}.request-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 170px 190px auto;gap:8px;margin-bottom:14px}.request-toolbar input,.request-toolbar select{min-width:0;padding:9px 10px;border:1px solid #dcdde5;border-radius:9px;font:inherit;background:#fff}.dispatcher-setting{display:flex;align-items:center;gap:9px;margin-bottom:14px;padding:10px 12px;border-radius:10px;background:#eeedf8}.dispatcher-name{min-width:0;overflow:hidden;color:var(--color-text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.dispatcher-label{margin-right:auto;padding:5px 8px;border-radius:7px;color:var(--color-brand-700);background:var(--color-brand-100);font-size:10px;font-weight:750}.dispatcher-setting select{min-width:210px;padding:8px;border:1px solid #d5d4e4;border-radius:8px;background:#fff}.dispatcher-setting>.dispatcher-save-button{padding:8px 10px;border:0;border-radius:8px;color:#fff;background:#5b53ce;cursor:pointer}.dispatcher-edit-button,.dispatcher-cancel-button{padding:8px 10px;border:1px solid var(--color-border);border-radius:8px;color:var(--color-brand-600);background:var(--color-surface);cursor:pointer}.request-board{overflow-x:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:2px 2px 12px}.request-column{height:clamp(420px,calc(100dvh - 330px),680px);min-height:310px;min-width:0;display:flex;flex-direction:column;padding:12px;border:1px solid var(--color-border);border-top:4px solid #aaa7bd;border-radius:16px;background:#f4f4f8;box-shadow:inset 0 1px #ffffffb3}.request-column.status-new{border-top-color:#7068de}.request-column.status-accepted{border-top-color:#4d8fc4}.request-column.status-in_progress{border-top-color:#e5a43c}.request-column.status-waiting_user{border-top-color:#bd7bc8}.request-column.status-resolved{border-top-color:#4aa37e}.request-column>header{display:flex;align-items:center;justify-content:space-between;padding:2px 3px 12px;font-size:12px}.request-column>header b{color:var(--color-text);font-size:12px;font-weight:800}.request-column>header span{min-width:25px;padding:4px 7px;border-radius:999px;color:var(--color-muted);text-align:center;background:var(--color-surface);font-weight:800}.request-column>div{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;display:grid;align-content:start;gap:8px;padding-right:3px}.kanban-card{padding:14px;border:1px solid #e0e0e7;border-radius:14px;background:#fff;box-shadow:0 3px 10px #2825530e;cursor:grab;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.kanban-card:hover{transform:translateY(-2px)}.kanban-card:active{cursor:grabbing}.kanban-card>span{color:#6259dd;font-size:10px;font-weight:800;letter-spacing:.015em}.kanban-card h3{margin:9px 0 5px;font-size:14px;line-height:1.32}.kanban-card p{overflow:hidden;display:-webkit-box;margin:0 0 9px;color:#686e79;font-size:12px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}.kanban-card small{display:flex;align-items:center;gap:6px;padding-top:9px;border-top:1px solid var(--color-border);color:#858b97;font-size:11px}.kanban-card small:before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--color-brand-400)}.request-list.compact{margin-top:0}.incoming-requests .request-card{margin-top:8px}.incoming-requests .request-card>select{flex:0 0 160px;padding:8px;border:1px solid #dcdde5;border-radius:9px}.request-card-clickable{cursor:pointer}.request-card-clickable:hover{border-color:#beb9ef;box-shadow:0 7px 22px #39348014}.request-detail-card{width:min(760px,calc(100vw - 40px));max-height:calc(100vh - 50px);overflow-y:auto;display:grid;gap:14px;padding:24px;border-radius:17px;background:#fff;box-sizing:border-box}.request-detail-card>.channel-modal-head,.task-editor-card>.channel-modal-head{position:sticky;z-index:4;top:-24px;margin:-24px -24px 2px;padding:20px 24px 16px;border-bottom:1px solid var(--color-border);background:color-mix(in srgb,var(--color-surface) 96%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.request-detail-card .channel-modal-head h2,.task-editor-card .channel-modal-head h2{margin-top:3px;line-height:1.25}.channel-modal>form.task-editor-card{width:min(760px,calc(100vw - 40px));max-height:calc(100dvh - 40px);overflow:hidden;gap:14px!important;grid-template-rows:auto minmax(0,1fr) auto}.task-editor-card>.channel-modal-head{position:relative;top:auto;margin-bottom:0}.task-editor-card .channel-modal-head>div{min-width:0}.task-editor-card .channel-modal-head h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-editor-card .channel-modal-head>button{flex:0 0 auto}.task-editor-scroll{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;display:grid;align-content:start;gap:14px;padding:2px 4px 2px 0}.task-editor-scroll>*{min-width:0}.task-readonly-summary,.task-readonly-summary p,.support-conversation,.support-message{overflow-wrap:anywhere}.task-editor-actions{z-index:4;margin:0 -24px -24px;padding:14px 24px;border-top:1px solid var(--color-border);background:var(--color-surface);box-shadow:0 -10px 28px #14132a1a}.task-editor-actions>button:only-child{margin-left:auto}.task-editor-scroll>label,.task-editor-scroll>.task-form-grid,.task-editor-scroll>.task-observers,.task-editor-scroll>.task-checklist{margin:0}.task-editor-scroll>label>input,.task-editor-scroll>label>textarea,.task-editor-scroll>label>select,.task-editor-card .task-form-grid input,.task-editor-card .task-form-grid select{background:var(--color-surface-soft)}.task-editor-scroll>label>textarea{min-height:92px;line-height:1.45}.request-detail-card>label{display:grid;gap:7px;color:#5e6470;font-size:13px;font-weight:700}.request-detail-card select{width:100%;padding:11px 12px;border:1px solid #dcdde5;border-radius:10px;font:inherit;background:#fff}.request-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.request-detail-grid div,.request-description,.request-attachments{display:grid;gap:5px;padding:13px 14px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface-soft)}.request-detail-grid span,.request-description>span,.request-attachments>span{color:#9297a1;font-size:11px;font-weight:700;letter-spacing:.02em}.request-description p,.request-attachments p{margin:0;color:var(--color-text);line-height:1.5;white-space:pre-wrap}.request-attachments a{color:#554ccd;font-size:13px;font-weight:700}.support-conversation{display:grid;gap:10px;margin-top:2px;padding:16px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface-soft)}.support-chat-title{display:flex;align-items:center;justify-content:space-between}.support-chat-title span{padding:3px 7px;border-radius:7px;color:#5b53ce;background:#efedff;font-size:11px}.support-message-list{max-height:280px;overflow-y:auto;display:grid;gap:8px;padding:12px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface)}.thread-message-row{display:grid}.thread-unread-divider{display:flex;align-items:center;gap:9px;margin:5px 0 8px;color:var(--color-brand-600);font-size:10px;font-weight:800}.thread-unread-divider:before,.thread-unread-divider:after{content:"";height:1px;flex:1;background:var(--color-brand-200)}.thread-jump-to-latest{align-self:flex-end;margin-top:-2px;padding:7px 11px;border:1px solid var(--color-brand-200);border-radius:16px;color:var(--color-brand-700);background:var(--color-surface);box-shadow:var(--shadow-card);font-size:10px;font-weight:750;cursor:pointer}.support-message{width:fit-content;max-width:82%;padding:10px 12px;border-radius:11px 11px 11px 3px;background:#fff;box-shadow:0 2px 8px #221f450f}.support-message.mine{justify-self:end;border-radius:11px 11px 3px;background:#efedff}.support-message>div{display:flex;gap:12px;color:#676d78;font-size:11px}.support-message time{color:#a0a4ad}.support-message p{margin:6px 0 0;white-space:pre-wrap}.support-message a{display:block;margin-top:6px;color:#554ccd;font-size:12px}.support-message-form{display:grid;gap:8px}.support-message-form textarea{min-height:75px;padding:10px;border:1px solid #dcdde5;border-radius:10px;resize:vertical;font:inherit}.support-message-form>div{width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px}.support-message-form>div>.primary-action{flex:0 0 auto}.support-file-button{min-height:40px;display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);color:var(--color-text-soft);background:var(--color-surface-soft);font-size:12px;font-weight:750;line-height:1;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease}.support-file-button:hover{border-color:var(--color-brand-400);color:var(--color-brand-600);background:var(--color-brand-50)}.support-file-button input{display:none}.clipboard-button{width:max-content;font:inherit}.task-create-files{grid-template-columns:max-content max-content;align-items:center}.task-create-files .request-files,.task-create-files .form-error,.clipboard-paste-zone,.task-create-files .pending-attachment-grid,.task-create-files .form-success{grid-column:1 / -1}.clipboard-paste-zone{min-height:58px!important;border:1px dashed var(--color-brand-400)!important;color:var(--color-text)!important;background:var(--color-brand-50)!important;text-align:center;resize:none!important}.pending-attachment-grid{display:grid;gap:8px}.pending-attachment{min-width:0;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-soft)}.pending-attachment img{width:58px;height:44px;object-fit:cover;border-radius:7px}.pending-attachment>span{min-width:0;display:grid;gap:3px}.pending-attachment b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.pending-attachment small{color:#3ca472;font-size:10px}.pending-attachment>button{border:0;color:var(--color-muted);background:transparent;cursor:pointer}.form-success{margin:0;color:#3ca472;font-size:11px;font-weight:700}.task-delivery{display:block;margin-top:5px;color:var(--color-muted);font-size:9px;text-align:right}.history-load-more{align-self:center;margin:4px auto 10px;padding:7px 12px;border:1px solid var(--color-border);border-radius:8px;color:var(--color-brand-600);background:var(--color-surface);font-size:11px;font-weight:700;cursor:pointer}.history-load-more:disabled{opacity:.6;cursor:wait}.task-delete-button{justify-self:start;padding:9px 12px;border:1px solid color-mix(in srgb,var(--color-danger-600) 35%,transparent);border-radius:8px;color:var(--color-danger-600);background:var(--color-danger-50);font-size:11px;font-weight:750;cursor:pointer}.task-delete-button:disabled{opacity:.6;cursor:wait}.task-delivery.read{color:var(--color-brand-500)}.support-history{padding-top:8px;border-top:1px solid #e7e7ee}.support-history summary{color:#5b53ce;font-size:12px;font-weight:800;cursor:pointer}.support-history>div{display:grid;gap:7px;margin-top:10px}.support-history article{padding-left:10px;border-left:2px solid #d8d5f7}.support-history time{color:#999da6;font-size:10px}.support-history p{margin:2px 0 0;font-size:12px}.request-card{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px;border:1px solid #e1e2e8;border-radius:14px;background:#fff}.request-card h2{margin:7px 0;font-size:17px}.request-card p{margin:0 0 9px;color:#626874;white-space:pre-wrap}.request-card small{color:#969ba5}.request-number{color:#6259dd;font-size:11px;font-weight:900}.request-unread{display:inline-block;margin-left:7px;padding:3px 7px;border-radius:999px;color:#fff;background:#d85573;font-size:9px;font-weight:900}.kanban-card{position:relative}.kanban-card>.request-unread{position:absolute;top:9px;right:9px}.request-status{flex:0 0 auto;padding:6px 9px;border-radius:8px;color:#5b53ce;background:#efedff;font-size:11px}.request-status.resolved,.request-status.closed{color:#397b63;background:#e5f5ee}.request-status.rejected{color:#a84242;background:#ffe5e5}.remote-toggle{display:flex!important;grid-template-columns:auto 1fr;align-items:center;justify-content:start}.request-file input{padding:8px}.support-request-file-actions{display:flex;flex-wrap:wrap;gap:8px}.request-files{display:flex;flex-wrap:wrap;gap:6px}.request-files span{padding:5px 8px;border-radius:7px;color:#5b53ce;background:#efedff;font-size:11px}@media(max-width:760px){.user-workspace-tabs{width:100%}.user-workspace-tabs button{flex:1}.task-readonly-summary dl{grid-template-columns:1fr}.tasks-heading{align-items:stretch;flex-direction:column}.tasks-heading .primary-action{width:100%;min-height:46px}.task-board,.request-board{grid-template-columns:repeat(5,minmax(calc(100vw - 56px),1fr));scroll-snap-type:x mandatory}.task-column,.request-column{height:min(620px,calc(100dvh - 235px));scroll-snap-align:center}.incoming-requests{padding:14px 10px}.section-title{align-items:flex-start;flex-direction:column}.task-card{grid-template-columns:1fr;gap:14px;padding:16px}.task-form-grid,.request-detail-grid,.request-toolbar{grid-template-columns:1fr}.dispatcher-setting{align-items:stretch;flex-direction:column}.dispatcher-name{white-space:normal}.dispatcher-label{width:fit-content;margin-right:0}.dispatcher-edit-button,.dispatcher-cancel-button,.dispatcher-save-button{min-height:44px}.dispatcher-setting select{min-width:0;width:100%}.task-toolbar{align-items:stretch;flex-direction:column}.task-filters{flex-wrap:nowrap;overflow-x:auto;margin-bottom:0}.task-filters button{flex:0 0 auto}.channel-modal>form.task-create-card{width:100%;height:100dvh;max-height:100dvh;padding:calc(16px + env(safe-area-inset-top)) 16px calc(12px + env(safe-area-inset-bottom));border-radius:0}.channel-modal>.request-detail-card{width:100%;height:100dvh;max-height:100dvh;padding:calc(16px + env(safe-area-inset-top)) 16px calc(12px + env(safe-area-inset-bottom));border-radius:0}.request-detail-card>.channel-modal-head{top:calc(-16px - env(safe-area-inset-top));margin:calc(-16px - env(safe-area-inset-top)) -16px 0;padding:calc(16px + env(safe-area-inset-top)) 16px 12px;background:var(--color-surface)}.task-create-card>.channel-modal-head{position:sticky;z-index:3;top:calc(-16px - env(safe-area-inset-top));margin:calc(-16px - env(safe-area-inset-top)) -16px 0;padding:calc(16px + env(safe-area-inset-top)) 16px 12px;border-bottom:1px solid var(--color-border);background:var(--color-surface)}.task-create-card>.task-create-actions{position:sticky;z-index:3;bottom:0;margin:0 -16px calc(-12px - env(safe-area-inset-bottom));padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--color-border);background:var(--color-surface);box-shadow:0 -10px 28px #14132a1f}.task-create-card>.task-create-actions>button{min-height:46px;flex:1}.channel-modal>form.task-editor-card{grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.task-editor-card>.channel-modal-head{position:relative;top:auto}.task-editor-card>.task-editor-actions{position:relative;bottom:auto;margin:0 -16px calc(-12px - env(safe-area-inset-bottom));padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.task-create-checklist .task-checklist-add{align-items:stretch;flex-direction:column}.task-create-checklist .task-checklist-add button{min-height:44px}.support-message-list{min-height:260px;max-height:48dvh}.support-message-form textarea{font-size:16px}}.task-checklist{display:grid;gap:10px;padding:14px;border:1px solid #e1e2e8;border-radius:14px;background:#f8f8fb}.task-checklist-head,.task-checklist-items>div,.task-checklist-add{display:flex;align-items:center;gap:10px}.task-checklist-head{justify-content:space-between}.task-checklist-head span{color:#777d88;font-size:12px}.task-checklist-progress{height:5px;overflow:hidden;border-radius:999px;background:#e1e2e8}.task-checklist-progress span{display:block;height:100%;border-radius:inherit;background:#655bd8;transition:width .16s ease}.task-checklist-items{display:grid;gap:6px}.task-checklist-items>div{justify-content:space-between}.task-checklist-items label{display:flex;flex:1;flex-direction:row;align-items:center;gap:9px;min-width:0}.task-checklist-items label span{overflow-wrap:anywhere}.task-create-card .task-checklist-items input[type=checkbox]{width:17px;height:17px;min-height:0;flex:0 0 17px;margin:0;padding:0;accent-color:var(--color-brand-500)}.task-checklist-items .completed label span{color:#777d88;text-decoration:line-through}.task-checklist-items button{padding:2px 8px;color:#777d88;background:transparent;border:0}.task-checklist-add input{flex:1;min-width:0}.task-checklist-add button{white-space:nowrap}.task-create-checklist{background:var(--color-surface-soft, #f8f8fb)}.task-create-checklist .task-checklist-items>div>span{min-width:0;overflow-wrap:anywhere}.task-card-checklist{display:grid;gap:5px;margin:0 0 12px;color:#686e79;font-size:12px}.task-card-checklist>div{height:4px;overflow:hidden;border-radius:999px;background:#e7e7ed}.task-card-checklist i{display:block;height:100%;border-radius:inherit;background:#655bd8}.task-media-player{display:grid;gap:4px;max-width:min(460px,100%);margin:6px 0}.task-media-player audio,.task-media-player video{display:block;max-width:100%;border-radius:10px}.task-media-player video{max-height:320px;background:#111}.task-media-player small{overflow:hidden;color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap}.files-page{display:grid;gap:24px}.drive-actions{display:flex;gap:9px}.drive-actions>button{padding:10px 16px;border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-brand-600);background:var(--color-surface);cursor:pointer}.drive-actions label{display:grid;place-items:center;cursor:pointer}.drive-actions input{display:none}.drive-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:5px;color:var(--color-muted)}.drive-breadcrumbs span{display:flex;gap:5px}.drive-breadcrumbs button{padding:3px 5px;border:0;color:var(--color-muted);background:transparent;cursor:pointer}.drive-breadcrumbs button.active{color:var(--color-text);font-weight:700}.drive-table{overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-card)}.drive-table-head,.drive-row{display:grid;grid-template-columns:minmax(260px,1fr) 110px 130px 40px;align-items:center;gap:15px}.drive-table-head{padding:12px 18px;color:var(--color-muted);background:var(--color-surface-soft);font-size:11px;font-weight:700}.drive-row{width:100%;padding:14px 18px;border:0;border-top:1px solid var(--color-border);color:var(--color-text);text-align:left;text-decoration:none;background:var(--color-surface);cursor:pointer}.drive-row:hover{background:var(--color-brand-50)}.drive-row.folder>button:first-child{grid-column:1 / 4;display:grid;grid-template-columns:minmax(260px,1fr) 110px 130px;align-items:center;gap:15px;width:100%;padding:0;border:0;color:inherit;text-align:left;background:transparent;cursor:pointer}.drive-row>span,.drive-file-name{min-width:0;display:flex;align-items:center;gap:11px}.drive-file-name{color:var(--color-text);text-decoration:none}.drive-row i{font-style:normal;font-size:21px}.drive-row b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.drive-row small,.drive-row time{color:var(--color-muted);font-size:11px}.drive-delete-file{width:32px;height:32px;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:var(--radius-sm);color:var(--color-muted);background:transparent;font-size:20px;line-height:1;cursor:pointer}.drive-delete-file:hover{border-color:color-mix(in srgb,var(--color-danger) 35%,transparent);color:var(--color-danger);background:color-mix(in srgb,var(--color-danger) 9%,transparent)}.drive-delete-file:disabled{opacity:.55;cursor:wait}.drive-empty{margin:0;padding:48px 20px;color:var(--color-muted);text-align:center}.drive-folder-form{width:min(460px,100%);display:grid;gap:18px;padding:26px}.drive-folder-form>label{display:grid;gap:7px;font-size:12px;font-weight:700}.drive-folder-form input{width:100%;padding:11px;border:1px solid var(--color-border-strong);border-radius:var(--radius-sm)}@media(max-width:760px){.drive-actions{width:100%}.drive-actions>*{flex:1}.drive-table{overflow-x:auto}.drive-table-head,.drive-row{min-width:675px}}.admin-home{max-width:1780px;margin:0 auto}@media(min-width:1200px)and (min-height:760px){.admin-home-content{height:100dvh;min-height:0;padding-top:22px;padding-bottom:22px;overflow:hidden}.admin-home{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px}.admin-home-header,.admin-home-system-health{margin:0}.admin-home-layout,.admin-home-main,.admin-home-side,.admin-home-tasks,.admin-home-calendar{min-height:0}.admin-home-main,.admin-home-side{gap:12px}.admin-home-main,.admin-home-side{grid-template-rows:auto minmax(0,1fr)}.admin-home-tasks,.admin-home-calendar{overflow:auto}.admin-home-metrics button{padding:12px}.admin-home-metrics button>span{width:30px;height:30px;margin-bottom:2px}.admin-home-metrics small{min-height:0}.admin-home-metrics strong{font-size:26px}.admin-home-online{min-height:0}.admin-home-avatars,.admin-home-calendar-grid{margin-top:10px}.admin-home-calendar-grid button{height:28px}.admin-home-day-title{margin-top:12px;padding-top:12px}.admin-home-system-health{padding:14px 18px}.admin-home-system-health .system-health-grid{gap:7px;margin-top:10px}.admin-home-system-health .system-health-grid article{padding:8px 10px}.admin-home-system-health>footer{margin-top:8px}}@media(min-width:1600px)and (min-height:760px){.admin-home-system-health .system-health-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}.admin-dashboard-workspace .sidebar{background:var(--color-surface);color:var(--color-text);border-right:1px solid var(--color-border)}.admin-dashboard-workspace .sidebar .brand{color:var(--color-text)}.admin-dashboard-workspace .sidebar a{color:var(--color-text-soft)}.admin-dashboard-workspace .sidebar a.active{color:var(--color-brand-600);background:var(--color-brand-100)}.admin-dashboard-workspace .sidebar .theme-toggle,.admin-dashboard-workspace .sidebar .notification-sound-toggle,.admin-dashboard-workspace .sidebar .logout{color:var(--color-text-soft);border-color:var(--color-border)}html[data-theme=dark] .admin-dashboard-workspace .sidebar{background:var(--color-navy-900)}html[data-theme=dark] .admin-dashboard-workspace .sidebar .brand{color:#fff}html[data-theme=dark] .admin-dashboard-workspace .sidebar a.active{color:#fff;background:var(--color-navy-800)}.admin-home button{cursor:pointer}.admin-home-header{gap:20px;margin-bottom:24px}.admin-home-header h1{margin:0;font-size:clamp(30px,3vw,42px)!important}.admin-home-header p:last-child{margin:4px 0 0;color:var(--color-text-soft)}.admin-home-header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.admin-home-health{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--color-text-soft)}.admin-home-health i{width:8px;height:8px;border-radius:50%;background:var(--color-muted)}.admin-home-health.status-ok i{background:var(--color-success-600)}.admin-home-health.status-error i,.admin-home-health.status-warning i{background:var(--color-danger-600)}.admin-home-restore{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-soft);border-radius:9px;padding:9px 12px;font-size:12px}.admin-home-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(285px,330px);gap:18px}.admin-home-system-health{margin-top:18px}@media(min-width:761px)and (max-width:1100px){.admin-home-system-health .system-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.admin-home-main,.admin-home-side{min-width:0;display:grid;align-content:start;gap:18px}.admin-home-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.admin-home-metrics button,.admin-home-card{border:1px solid var(--color-border);border-radius:16px;background:var(--color-surface);box-shadow:var(--shadow-card)}.admin-home-metrics button{min-width:0;padding:18px;display:grid;justify-items:start;text-align:left;gap:4px;color:var(--color-text)}.admin-home-metrics button:hover,.admin-home-task:hover,.admin-home-day-tasks button:hover{border-color:var(--color-brand-200);background:var(--color-brand-50)}.admin-home-metrics button>span{display:grid;place-items:center;width:37px;height:37px;margin-bottom:7px;border-radius:10px;color:var(--color-brand-600);background:var(--color-brand-100);font-size:20px;font-style:normal}.admin-home-metrics small{min-height:2.5em;font-size:12px;font-weight:700}.admin-home-metrics strong{color:var(--color-brand-600);font-size:31px;line-height:1.2}.admin-home-metrics em{color:var(--color-muted);font-size:11px;font-style:normal}.admin-home-card{padding:21px}.admin-home-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.admin-home-card-title h2{margin:0;font-size:17px}.admin-home-card-title h3{margin:0;font-size:14px}.admin-home-card-title>button{border:0;background:transparent;color:var(--color-brand-600);font-size:12px;font-weight:700;white-space:nowrap}.admin-home-card-title>small{color:var(--color-muted)}.admin-home-tabs{display:flex;gap:22px;margin-top:18px;border-bottom:1px solid var(--color-border);overflow-x:auto}.admin-home-tabs button{flex:none;padding:0 0 12px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--color-muted);font-size:12px}.admin-home-tabs button.active{border-color:var(--color-brand-500);color:var(--color-brand-600);font-weight:800}.admin-home-task-list{display:grid}.admin-home-task{display:grid;grid-template-columns:30px minmax(0,1fr) auto 105px;gap:12px;align-items:center;width:100%;min-height:72px;padding:12px 4px;border:0;border-bottom:1px solid var(--color-border);background:transparent;text-align:left;color:var(--color-text)}.admin-home-task:last-child{border-bottom:0}.admin-home-task-icon{display:grid;place-items:center;width:26px;height:26px;border:1px solid var(--color-brand-200);border-radius:50%;color:var(--color-brand-600)}.admin-home-task-copy{display:grid;gap:2px;min-width:0}.admin-home-task-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.admin-home-task-copy small,.admin-home-task time{color:var(--color-muted);font-size:11px}.admin-home-task-status{justify-self:end;padding:6px 9px;border-radius:7px;background:var(--color-brand-50);color:var(--color-brand-600);font-size:10px;white-space:nowrap}.admin-home-task-status.overdue{background:var(--color-danger-50);color:var(--color-danger-600)}.admin-home-online{min-height:142px}.admin-home-avatars{display:flex;align-items:start;gap:11px;margin-top:19px}.admin-home-person{width:44px;min-width:0;display:grid;justify-items:center;gap:5px}.admin-home-person b,.admin-home-more{position:relative;display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:var(--color-brand-100);color:var(--color-brand-600);font-size:12px}.admin-home-person b i{position:absolute;right:-1px;bottom:1px;width:9px;height:9px;border:2px solid var(--color-surface);border-radius:50%;background:#43ad7e}.admin-home-person small{max-width:44px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--color-muted);font-size:9px}.admin-home-more{flex:none;font-weight:700;border:0;cursor:pointer}.admin-home-online-list{display:grid;gap:8px;max-height:210px;overflow-y:auto;margin-top:16px;padding-top:12px;border-top:1px solid var(--color-border)}.admin-home-online-list span{display:flex;align-items:center;gap:8px;min-width:0;font-size:11px}.admin-home-online-list i{flex:none;width:7px;height:7px;border-radius:50%;background:#43ad7e}.admin-home-month-buttons{display:flex}.admin-home-month-buttons button{width:27px;height:27px;border:0;background:transparent;color:var(--color-text-soft);font-size:23px;line-height:1}.admin-home-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-top:18px}.admin-home-calendar-grid .weekday{display:grid;place-items:center;height:28px;color:var(--color-muted);font-size:10px}.admin-home-calendar-grid button{position:relative;display:grid;place-items:center;min-width:0;height:32px;border:0;border-radius:50%;background:transparent;color:var(--color-text);font-size:11px}.admin-home-calendar-grid button.outside{color:var(--color-muted);opacity:.6}.admin-home-calendar-grid button.selected{color:#fff;background:var(--color-brand-600)}.admin-home-calendar-grid button i{position:absolute;bottom:2px;width:4px;height:4px;border-radius:50%;background:var(--color-brand-500)}.admin-home-calendar-grid button.selected i{background:#fff}.admin-home-day-title{margin-top:24px;padding-top:18px;border-top:1px solid var(--color-border)}.admin-home-day-tasks{display:grid;margin-top:10px}.admin-home-day-tasks button{display:flex;align-items:start;gap:10px;width:100%;padding:10px 2px;border:0;border-bottom:1px solid var(--color-border);background:transparent;color:var(--color-text);text-align:left;font-size:11px}.admin-home-day-tasks time{color:var(--color-brand-600);font-weight:800}.admin-home-empty{margin:17px 0 5px;color:var(--color-muted);font-size:12px}.admin-home-empty button{border:0;background:none;color:var(--color-brand-600)}@media(max-width:1380px){.admin-home-layout{grid-template-columns:minmax(0,1fr) 290px}.admin-home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1060px){.admin-home-layout{grid-template-columns:1fr}.admin-home-side{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.admin-home-header{align-items:start!important;flex-direction:column}.admin-home-header-actions{justify-content:flex-start}.admin-home-side{grid-template-columns:1fr}.admin-home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-home-task{grid-template-columns:26px minmax(0,1fr)}.admin-home-task time,.admin-home-task-status{grid-column:2;justify-self:start}}html[data-theme=dark] .admin-home-metrics button:hover,html[data-theme=dark] .admin-home-task:hover,html[data-theme=dark] .admin-home-day-tasks button:hover{background:var(--color-navy-800)}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAn4ABMAAAAAEwQAAAmOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGjQbgnQcLj9IVkFSgQEGYD9TVEFUgQIAgQovahEICok0h0ULIAAwhzoBNgIkAzwEIAWHJgeBDgwHG6QQUdRKTmoBFD8K42bniObKrG3LZFcMWZzFmrjTFhQ6TVTqPJcInrfrvzq3b2PGn1wwMiNYGTy9ViREYARlL1zAGcPdPqBt3gNWrfKthv4xnM+b9caw+wmjgEUVRjHXhS6jgCK6zf5HiWQacJpGdAgdrbV6g/Rf1BfxRqZVQnrxRVWSJb6RLFnyu0elilmjeoSQCKnxsmwLaddUMjnksriSYuuPl06EAl7KfAiWQjCUETz0zNZ3EII94CDQtzkMfZ/9IkkY8tZRZTDky5ZVwBAM+GYpdd4ZVAWYImnLkiTg48l79gGx3D+VBtLeyg8u7bJAd4uo0pFuQBFysE9C95l0W4Fkiao6GfrDbu77lVU7wk9cV3uqOsXmQiMkhVKl1ugjzUAJBSIkkVWHijkpkVSyUFsgVBuJMA0N+ZnXtyUv5yMigGdfQRmwL1AAjQ3YXG6iIFNSUdPQo8+AISPGAltBMDQRAtyf4ZspLlZkpyOVoMZPvFGWzvk8p5SUC/NWPMj6T2/Yas2EdlON5GkfdkeFwVGjta825H89NIenlLWAPAp5h1KDtRhCaAQWMsFKtEvOKpIhgLHlXPARokkgEGEOAkqxJRQpKYq4ezahIiLHP6hZpqMbV0pUF2vdvEimLEQ/iIUYLgYWs0VXGVlLTOPdaPmFfCC/XrtzqVo1ez7vz6+Kd2+7o11ZJ+4MreLbB5BKVGxobAq4jZYalZ5aX2CKJiwUuc9GNJyi4M8bGyKcdjSRrG4JohdF8buJfmQefbYYREnMFsOoiNliFDVxmRgL0XUmUMLqzW0A4gCQAhWGYCQpFNukwXhIkPMsbRI19ewtw8Cp2Wj/Ro5cM2OTAbJAvZ/L4opBXb9+UHscYuOKM/W8isgwN26Exexjizmfnlp9dE3hOSqdZ/F5QqbckIlPb+oKfXxd6hftJ7Sm/uyPYpONza84CRlMNk/uhOrLpyf53982++zRkXNu3g3VF8qFbx1+7fbHZ9DrB3VXWNSmhnT2vrwS1+1Z+kHGBaZIhnnvuLBTNDeA340D1DWu5/jEa9pVfl6+Jij+yo3EELNixXCLjr173Q5eDP7Y7/L4iQFHbjpaJLFoP4cCsYP6sAPL7gMHNg53yYjqxqTDrYqLDl5DzW/eTLjYxCvucprjI3yl2ykKowKUC2Ox2FJLFo6Fa1HBWLC2jMCIIBEmklkYhmkpmBhTm/LCvJAH5oGcMKcgFEP1xUdho8ANPa6RFD99/PN60fjj9eXy2Eex4B5MpmRapXidzFk1p4uLk3+hn6jAP9ovJcXPPwk8o/0ltizbdbnTprvx4PSxT0VZ3Xc772aN7RflgbXRYwc3hLNO+k878nxGwfuVM8m8Gs7WEoVGWLHwSpx4vNSHBCMNqJ4m15Kp/TfHHVkQd++eY7PGN4W5byTs+6Ft8Ozvb/D60btv37de8ER0mS3P/0sLW84qGjEVkwztPzz06eGUWwKLwPb0D/WFd3vltl2aP276KpM0JNz6AfnAnZ5ADlF2zVyZ2OkxHSMxWPMnSZLbbDR3F1UjPVqp4d68da13F1YZujdWw7271iecO2l9+/4p47Oztjck355/75wFOI+VdGDqbNGs+ISgxg3iB2jb2r+b0CWsNLHIM4sdv8SDSFBP/Oromz6FNCWw2iMTxV0R8QLyBTkpe0j5+pSSJOOTB5Mck/gh3IopuNQnhKj02t3FL80gGbEh89SZcwTxcYt5cZT/nMnB3uXfPy8BSpVMBuRx+ZhACGzDBmwHsJRAjhotOnzuj2wDz3ug2wOUAY2NgZln9/TK/enG/oE4rO1wxvGUFMAxsZ0qNjRC7hl9d17e7imbgDt6uJXhUobDg7v3RX/yRCKxgMhfyiKcZfbpk0wmCcdQlIAOHeakXLvCNt++WfKiozNqSZxxJotn+c0a7DdPsx7DPYgKIDxwwYUZDg9aJbxocTjcwovr9WAsVV32mQoiiIOCHc60Oltst9qCQYuCqN1yHo0Kj60OgI2OqmiuBUWrNA0NDhYCDcdpmMrs1fZZ0xdTzMr1HdPtIHstYhqaPDDA5YxUDx7J4fJiisBSDI/L6G/bn34GNy8Q2g044ZTulAdFLb0tI6NNxfj3DzLjWiNGxje1pz7aXOcNV68lDPEd2SXl6VfBuwmHzdf1gxFy1HvA7pD8I2BnnmyGw852Cg5XbgIdEEGE5UCzen5jTlG6JCU5iajlxVcsXvbcS0SAcg1dcesWJLVK8+hYHOYQ+Pjy+EyVGXP0aPTFagrV9E03hCQvYx+g47KGq+1GsLj8uBIyihNw33YUe8PNC4BOJ3Lm1AglLV3nCuvUdIP+v15tVGbWIwgxLVpPkfpthCGpTKG+oA/DQfsKKvxhScqaN6FuElAUtTKv2UYgOmQegsN/n7njHUju8wM4VTcm+Q8xfX9SFwjTzdVqu95UOWSIGOabH8OGBEba//8Yxl3GcPdP/dMBOoSX/0z5SZmBoLbaPs+9asaMpb36yknKaw6FqWZa6A5vDa02mhkOba1q6KtLV208xrkwmW5C4VD6n2fvRjADy2qDYYnNy+H10Fq0LMbNzS863gkO7iQ8eC48/Ny5m59tOcEso3u7Qg3yrqDL6eKXwJAuWnhylfbWrRObe66rzX59+XDtzusnL66dI/86ArmtLlzED860Ef3bFPV78OX/zFTA11fcBn2Vntb7qiGBSgLBHyuv/uEaqqoTgSpOyjlzh86me1Vriv7i9rLPLvtghWmSnblRbAsBJL/4dScSQTBxOivHMO5QvBBY0iheJvfwWLxLOGzYKZyM4zVc2Cll46zEpeUV4MqGEWZj22SdOxhGAjgs9AEnfT+RoiMfcDb0GS5NncKVxju4Nt/mRk13O9Gz3FLct5oCD6wkwUNrCfHIUg6SMf8LwQGyVaBUqpLPW5BaMpRshEpl8nS1qw5dgnzlik8QBXmdy5UrIH74heTKZKMSilQso4hsRiGraQZRzxpNGqlEJMsXuAU7GlcR8mWSykUpVkWGyIf0a8v4qEQp5CtGsMiZa+4ESYQy+WilCiguHzxMXO54ogShooTV2bj2z1zL6DYSoImoQ8lFUWxMLBNQQgLkV2tHYgUoIbkuREz+fJHKxxWBcnvu3KQppFCxLkguB1NyVSp/TknRvNwYlCdbblWu3ze6owHdWluhE5tgQ6ej2SV65CijijoaRfSiH4Nqz1OpfEW+WeI/oU0ly60zkV9YzOQSYtZVEGYmrysTZAJkY4qZtIBD9/LYTIK7Nww3vMiYBwA=) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-greek-wght-normal-DL7QRZyv.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:Manrope,Inter,system-ui,sans-serif;color:#20232b;background:#f4f5f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(380px,46%) 1fr;background:#fff}.auth-intro{display:flex;flex-direction:column;padding:48px 9%;color:#fff;background:radial-gradient(circle at 10% 15%,rgba(255,255,255,.13),transparent 30%),linear-gradient(145deg,#655ce5,#443abb)}.brand{display:flex;align-items:center;gap:11px;font-size:19px;font-weight:800}.brand>span,.mobile-brand>span,.logo{width:38px;height:38px;display:inline-grid;place-items:center;border-radius:11px;color:#5c53db;background:#fff;font-weight:900}.intro-copy{max-width:520px;margin:auto 0}.eyebrow{margin:0 0 12px;color:#7770e8;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.auth-intro .eyebrow{color:#c9c5ff}.intro-copy h1{margin:0;font-size:clamp(39px,5vw,66px);line-height:1.03;letter-spacing:-.055em}.intro-copy>p:last-child{max-width:460px;margin:25px 0 0;color:#dddafe;font-size:17px;line-height:1.7}.copyright{margin:0;color:#aaa4ee;font-size:12px}.auth-panel{display:grid;place-items:center;padding:40px}.login-card{width:min(410px,100%)}.mobile-brand{display:none}.login-card h2{margin:0;font-size:36px;letter-spacing:-.04em}.login-help{margin:12px 0 34px;color:#818794;font-size:14px}.login-card label{display:grid;gap:9px;margin:0 0 18px;color:#444955;font-size:13px;font-weight:700}.login-card input{width:100%;padding:14px 15px;border:1px solid #dfe1e7;border-radius:10px;outline:none;color:#242832;background:#fafbfc;transition:.2s}.login-card input:focus{border-color:#7168e7;box-shadow:0 0 0 4px #efedff;background:#fff}.login-card button{width:100%;margin-top:5px;padding:14px;border:0;border-radius:10px;color:#fff;background:#6259dd;font-weight:800;cursor:pointer}.login-card button:disabled{opacity:.65}.form-error{margin:-5px 0 14px;color:#b33846;font-size:13px}.support{margin:22px 0 0;text-align:center;color:#9297a2;font-size:12px}.loading{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:14px}.loading .logo{color:#fff;background:#6259dd}.loading p{color:#737985}.workspace{min-height:100vh;display:grid;grid-template-columns:240px 1fr}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:27px 20px;color:#eef0ff;background:#252347}.sidebar .brand{margin:0 7px 40px}.sidebar .brand>span{color:#fff;background:#655ce5}.sidebar nav{display:grid;gap:6px}.sidebar a{display:flex;align-items:center;gap:13px;padding:12px 13px;border-radius:9px;color:#aaa9c2;text-decoration:none;font-size:14px}.sidebar a.active{color:#fff;background:#373466}.sidebar a b{margin-left:auto;padding:2px 7px;border-radius:8px;color:#fff;background:#655ce5;font-size:10px}.logout{margin-top:auto;padding:11px;border:1px solid #454269;border-radius:9px;color:#b9b8cc;background:transparent;cursor:pointer}.content{padding:35px clamp(24px,5vw,72px)}.content header{display:flex;align-items:center;justify-content:space-between}.content header h1{margin:0;font-size:31px;letter-spacing:-.035em}.avatar{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;color:#fff;background:#6259dd;font-size:13px;font-weight:800}.welcome-card{margin-top:42px;padding:34px;border:1px solid #e2e3e9;border-radius:18px;background:linear-gradient(120deg,#fff,#f5f3ff);box-shadow:0 13px 38px #2c2b450f}.welcome-card>div{color:#388163;font-size:12px;font-weight:800}.ready-dot{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:#43ad7e}.welcome-card h2{margin:16px 0 9px;font-size:25px}.welcome-card p{max-width:680px;margin:0;color:#747b88;line-height:1.6}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}.metric-grid article{display:grid;padding:24px;border:1px solid #e3e4e9;border-radius:14px;background:#fff}.metric-grid span{color:#7a808c;font-size:12px}.metric-grid strong{margin:14px 0;font-size:32px}.metric-grid small{color:#a1a5ad}@media(max-width:760px){.auth-page{grid-template-columns:1fr}.auth-intro{display:none}.auth-panel{padding:28px;align-items:start}.mobile-brand{display:flex;align-items:center;gap:10px;margin:15px 0 65px;color:#5149c8;font-weight:800}.mobile-brand>span{color:#fff;background:#6259dd}.workspace{grid-template-columns:72px 1fr}.sidebar{padding:20px 10px}.sidebar .brand{margin:0 auto 38px;font-size:0}.sidebar nav span,.sidebar nav b{display:none}.sidebar a{justify-content:center;font-size:18px}.content{padding:25px 18px}.metric-grid{grid-template-columns:1fr}.content header h1{font-size:25px}}.toast-notification{position:fixed;right:24px;bottom:24px;z-index:40;width:min(390px,calc(100vw - 32px));display:flex;align-items:flex-start;padding:10px;border:1px solid #d7d3fa;border-radius:15px;background:#fff;box-shadow:0 18px 50px #201d483d;animation:toast-in .25s ease-out}.toast-notification>button:first-child{min-width:0;flex:1;display:flex;gap:11px;padding:6px;border:0;text-align:left;background:transparent;cursor:pointer}.toast-notification>button:first-child>span{width:36px;height:36px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;color:#fff;background:#6259dd;font-weight:900}.toast-notification div{min-width:0;display:grid;gap:5px}.toast-notification small{overflow:hidden;color:#6f7581;text-overflow:ellipsis;white-space:nowrap}.toast-close{padding:2px 7px;border:0;color:#8b909b;background:transparent;font-size:20px;cursor:pointer}@keyframes toast-in{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}:root{--color-brand-50: #f4f3ff;--color-brand-100: #e9e7ff;--color-brand-200: #d4d0ff;--color-brand-500: #655bd8;--color-brand-600: #574dc6;--color-brand-700: #4941a8;--color-navy-900: #22213f;--color-navy-800: #2c2a50;--color-success-50: #eaf7f1;--color-success-600: #288064;--color-warning-50: #fff5df;--color-warning-600: #a96916;--color-danger-50: #fff0f1;--color-danger-600: #b34250;--color-canvas: #f5f6f9;--color-surface: #ffffff;--color-surface-soft: #fafafd;--color-border: #e1e3e9;--color-border-strong: #d5d7df;--color-text: #20232c;--color-text-soft: #5f6672;--color-muted: #7f8692;--radius-sm: 9px;--radius-md: 12px;--radius-lg: 16px;--shadow-card: 0 8px 28px rgba(36, 34, 69, .055);--shadow-modal: 0 24px 72px rgba(28, 27, 54, .2);font-family:Manrope Variable,Manrope,Inter,system-ui,sans-serif;color:var(--color-text);background:var(--color-canvas)}body{color:var(--color-text);background:var(--color-canvas);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button,input,textarea,select{font:inherit}button{transition:border-color .14s ease,background .14s ease,color .14s ease,box-shadow .14s ease,transform .14s ease}button:not(:disabled):active{transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--color-brand-200);outline-offset:2px}.mobile-topbar{display:none}@media(max-width:760px){body{overflow-x:hidden}.auth-page{min-height:100dvh}.auth-panel{padding:24px}.login-card h2{font-size:30px}.login-card input,.login-card button{min-height:48px}.login-card input{font-size:16px}.mobile-brand{margin:8px 0 48px}.workspace{display:block;min-height:100dvh}.sidebar{position:fixed;z-index:50;inset:auto 0 0;width:auto;height:calc(66px + env(safe-area-inset-bottom));display:block;padding:6px 8px env(safe-area-inset-bottom);border-top:1px solid rgba(255,255,255,.1);box-shadow:0 -10px 30px #13122929}.sidebar .brand,.sidebar>.theme-toggle,.sidebar>.notification-sound-toggle,.sidebar>.logout{display:none}.sidebar nav{height:60px;display:flex;gap:3px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none}.sidebar a{min-width:64px;height:56px;flex:1 0 64px;flex-direction:column;justify-content:center;gap:2px;padding:5px 6px;font-size:17px}.sidebar a span{display:block;max-width:100%;overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.sidebar a b{position:absolute;display:grid;min-width:17px;height:17px;place-items:center;margin:-28px 0 0 30px;padding:0 4px;border-radius:9px;font-size:9px}.sidebar a.active{box-shadow:inset 0 3px var(--color-brand-500)}.content{min-height:100dvh;padding:76px 14px calc(88px + env(safe-area-inset-bottom))}.mobile-topbar{position:fixed;z-index:45;top:0;right:0;left:0;height:62px;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid var(--color-border);background:color-mix(in srgb,var(--color-surface) 94%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.mobile-topbar-brand{min-width:0;display:flex;align-items:center;gap:9px}.mobile-topbar-brand img{width:34px;height:34px;flex:0 0 auto;border-radius:10px}.mobile-topbar-brand b{overflow:hidden;color:var(--color-text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.mobile-topbar-actions{display:flex;gap:7px}.mobile-topbar-actions button{width:40px;height:40px;border:1px solid var(--color-border);border-radius:11px;color:var(--color-text-soft);background:var(--color-surface);font-size:19px}.welcome-card{margin-top:26px;padding:24px 20px}.welcome-card h2{font-size:21px}.metric-grid article{padding:19px}.toast-notification{right:12px;bottom:calc(78px + env(safe-area-inset-bottom));left:12px;width:auto}}.workspace{grid-template-columns:232px minmax(0,1fr);background:var(--color-canvas)}.sidebar{padding:28px 18px 20px;background:linear-gradient(180deg,var(--color-navy-900),#201f3b);box-shadow:inset -1px 0 #ffffff09}.sidebar .brand{margin:0 8px 38px;letter-spacing:-.02em}.sidebar a{min-height:44px;padding:11px 13px;border-radius:var(--radius-sm);color:#b8b8cd;font-size:13px;font-weight:570}.sidebar a:hover{color:#f5f5ff;background:#ffffff0e}.sidebar a.active{color:#fff;background:linear-gradient(135deg,#3b386b,#34315e);box-shadow:inset 3px 0 var(--color-brand-500)}.sidebar a b,.avatar,.loading .logo,.toast-notification>button:first-child>span{background:var(--color-brand-500)}.logout{border-color:#454363;border-radius:var(--radius-sm);color:#c7c7d7}.logout:hover{border-color:#65627f;color:#fff;background:#ffffff0a}.theme-toggle,.notification-sound-toggle{display:flex;align-items:center;gap:10px;padding:11px;border:0;border-radius:var(--radius-sm);color:#c7c7d7;background:transparent;text-align:left;cursor:pointer}.notification-sound-toggle{margin-top:auto}.theme-toggle:hover,.notification-sound-toggle:hover{color:#fff;background:#ffffff0e}.theme-toggle+.logout{margin-top:8px}.content{min-width:0;padding:38px clamp(28px,4.5vw,68px) 56px}.page-heading h1,.content header h1{color:var(--color-text);font-size:clamp(27px,2.4vw,34px);font-weight:760;letter-spacing:-.035em}.page-heading>div>p:last-child,.content header+p{color:var(--color-text-soft)}.eyebrow{margin-bottom:9px;color:var(--color-brand-600);font-size:10px;font-weight:760;letter-spacing:.14em}.primary-action,.login-card button{min-height:42px;padding:10px 17px;border:0;border-radius:var(--radius-sm);color:#fff;background:linear-gradient(135deg,var(--color-brand-500),var(--color-brand-600));box-shadow:0 5px 14px #574dc62e;font-weight:720}.primary-action:not(:disabled):hover,.login-card button:not(:disabled):hover{background:linear-gradient(135deg,#6c62df,#5046b9);box-shadow:0 7px 18px #574dc63d}input,textarea,select{color:var(--color-text)}.user-form input,.user-form select,.team-form input,.team-form textarea,.channel-modal input,.channel-modal textarea,.channel-modal select,.task-create-card input,.task-create-card textarea,.task-create-card select,.request-toolbar input,.request-toolbar select,.direct-search{min-height:42px;border-color:var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface-soft)}.user-form input:focus,.user-form select:focus,.team-form input:focus,.team-form textarea:focus,.channel-modal input:focus,.channel-modal textarea:focus,.channel-modal select:focus,.task-create-card input:focus,.task-create-card textarea:focus,.task-create-card select:focus,.request-toolbar input:focus,.request-toolbar select:focus,.direct-search:focus{border-color:var(--color-brand-500);outline:none;background:#fff;box-shadow:0 0 0 3px var(--color-brand-100)}.welcome-card,.metric-grid article,.user-form,.user-card,.team-card,.notification-card,.task-card,.request-card,.incoming-requests,.channel-shell{border-color:var(--color-border);box-shadow:var(--shadow-card)}.welcome-card{border-radius:var(--radius-lg);background:linear-gradient(120deg,#fff 20%,var(--color-brand-50))}.welcome-card>div,.ready-dot{color:var(--color-success-600)}.metric-grid article,.task-card,.request-card,.notification-card{border-radius:var(--radius-md)}.metric-grid span,.metric-grid small,.task-people,.channel-note,.support-message time,.request-card small{color:var(--color-muted)}.online-metric small{display:flex;align-items:center;gap:6px}.online-metric small i{width:7px;height:7px;border-radius:50%;background:#43ad7e;box-shadow:0 0 0 3px #43ad7e24}.system-health-card{margin-top:18px;padding:22px 24px;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-card)}.system-health-card>header{gap:16px}.system-health-card h2{margin:0;font-size:20px}.system-health-card>header>b{padding:7px 10px;border-radius:9px;color:var(--color-success-600);background:#43ad7e1f;font-size:12px}.system-health-card.status-warning>header>b{color:#9a681a;background:#e5a43c29}.system-health-card.status-error>header>b{color:#b43c4a;background:#c9485621}.system-health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}.system-health-grid article{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border-radius:10px;background:var(--color-surface-soft)}.system-health-grid article>i{width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:#43ad7e}.system-health-grid article.status-warning>i{background:#e5a43c}.system-health-grid article.status-error>i{background:#c94856}.system-health-grid article>span{min-width:0;display:grid;gap:3px}.system-health-grid strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.system-health-grid small{overflow:hidden;color:var(--color-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.system-health-card>footer{margin-top:14px;color:var(--color-muted);font-size:10px}@media(max-width:760px){.system-health-card{padding:18px}.system-health-card>header{align-items:flex-start}.system-health-grid{grid-template-columns:1fr}}.channel-modal{background:#1b1a3385;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.channel-modal>form,.channel-members-card,.request-detail-card,.channel-modal>form.task-create-card{border:1px solid rgba(255,255,255,.7);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-modal)}.channel-modal-head>button{width:36px;height:36px;display:grid;place-items:center;padding:0;border-radius:50%;color:var(--color-muted)}.channel-modal-head>button:hover{color:var(--color-text);background:#f0f0f5}.request-view-switch,.task-filters button{border-color:var(--color-border);border-radius:var(--radius-sm)}.request-view-switch{background:#eaeaef}.request-view-switch button.active,.request-toolbar button.active,.task-filters button.active{color:var(--color-brand-700);background:#fff;box-shadow:0 2px 8px #28255314}.incoming-requests,.task-column,.request-column{background:#eff0f4}.task-kanban-card,.kanban-card{border-color:var(--color-border);border-radius:var(--radius-md);box-shadow:0 3px 12px #2825530e}.task-kanban-card:hover,.kanban-card:hover,.task-card:hover,.request-card-clickable:hover{border-color:var(--color-brand-200);box-shadow:0 8px 22px #322e6e17}.priority.high{color:var(--color-warning-600);background:var(--color-warning-50)}.priority.urgent,.overdue-label{color:var(--color-danger-600);background:var(--color-danger-50)}.priority.low,.request-status.resolved,.request-status.closed{color:var(--color-success-600);background:var(--color-success-50)}.toast-notification{border-color:var(--color-brand-200);border-radius:var(--radius-md);box-shadow:var(--shadow-modal)}@media(max-width:760px){.workspace{grid-template-columns:72px minmax(0,1fr)}.content{padding:26px 18px 42px}.theme-toggle,.notification-sound-toggle{justify-content:center;font-size:0}.theme-toggle span,.notification-sound-toggle span{font-size:18px}}html[data-theme=dark]{color-scheme:dark;--color-canvas: #171821;--color-surface: #20212c;--color-surface-soft: #252631;--color-border: #343641;--color-border-strong: #424450;--color-text: #f0f1f5;--color-text-soft: #c0c3cc;--color-muted: #969ba8;--color-brand-50: #2c2a47;--color-brand-100: #37335d;--color-brand-200: #514b84;--shadow-card: 0 8px 28px rgba(0, 0, 0, .16);--shadow-modal: 0 24px 72px rgba(0, 0, 0, .42)}html[data-theme=dark] body,html[data-theme=dark] .workspace,html[data-theme=dark] .content,html[data-theme=dark] .auth-panel,html[data-theme=dark] .loading{color:var(--color-text);background:var(--color-canvas)}html[data-theme=dark] .welcome-card,html[data-theme=dark] .metric-grid article,html[data-theme=dark] .user-form,html[data-theme=dark] .users-card,html[data-theme=dark] .user-row,html[data-theme=dark] .team-create,html[data-theme=dark] .team-card,html[data-theme=dark] .member-editor-card,html[data-theme=dark] .notification-card,html[data-theme=dark] .task-card,html[data-theme=dark] .request-card,html[data-theme=dark] .request-detail-card,html[data-theme=dark] .channel-modal>form,html[data-theme=dark] .channel-members-card,html[data-theme=dark] .channel-shell,html[data-theme=dark] .channel-list,html[data-theme=dark] .conversation,html[data-theme=dark] .support-message,html[data-theme=dark] .toast-notification{color:var(--color-text);border-color:var(--color-border);background:var(--color-surface)}html[data-theme=dark] .welcome-card{background:linear-gradient(120deg,#22232d,#292640)}html[data-theme=dark] .request-detail-grid div,html[data-theme=dark] .request-description,html[data-theme=dark] .request-attachments,html[data-theme=dark] .support-message-list{color:var(--color-text);background:var(--color-surface-soft)}html[data-theme=dark] .support-message.mine{color:var(--color-text);background:#302d4d}html[data-theme=dark] .support-message>div,html[data-theme=dark] .request-detail-grid span,html[data-theme=dark] .request-description>span,html[data-theme=dark] .request-attachments>span{color:var(--color-muted)}html[data-theme=dark] .support-message-form textarea,html[data-theme=dark] .request-detail-card select{color:var(--color-text);border-color:var(--color-border-strong);background:var(--color-surface-soft)}html[data-theme=dark] .incoming-requests,html[data-theme=dark] .task-column,html[data-theme=dark] .request-column,html[data-theme=dark] .task-checklist,html[data-theme=dark] .channel-sidebar{color:var(--color-text);border-color:var(--color-border);background:#1c1d26}html[data-theme=dark] .task-kanban-card,html[data-theme=dark] .kanban-card,html[data-theme=dark] .channel-item,html[data-theme=dark] .member-options label,html[data-theme=dark] .channel-member-list label{color:var(--color-text);border-color:var(--color-border);background:var(--color-surface)}html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select,html[data-theme=dark] .direct-search{color:var(--color-text);border-color:var(--color-border-strong);background:var(--color-surface-soft)}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#777d89}html[data-theme=dark] input:focus,html[data-theme=dark] textarea:focus,html[data-theme=dark] select:focus{color:var(--color-text);background:var(--color-surface)}html[data-theme=dark] .task-observers,html[data-theme=dark] .task-observers legend,html[data-theme=dark] .task-observers label{color:var(--color-text);border-color:var(--color-border-strong)}html[data-theme=dark] .dispatcher-setting,html[data-theme=dark] .notification-empty{color:var(--color-text-soft);border-color:var(--color-border);background:var(--color-surface-soft)}html[data-theme=dark] .task-filters button,html[data-theme=dark] .request-view-switch,html[data-theme=dark] .request-toolbar button,html[data-theme=dark] .team-edit,html[data-theme=dark] .form-actions>button:first-child{color:var(--color-text-soft);border-color:var(--color-border);background:var(--color-surface-soft)}html[data-theme=dark] .task-filters button.active,html[data-theme=dark] .request-view-switch button.active,html[data-theme=dark] .request-toolbar button.active{color:#dedbff;background:#393654}html[data-theme=dark] .page-heading h1,html[data-theme=dark] .content header h1,html[data-theme=dark] .welcome-card h2,html[data-theme=dark] .task-card h2,html[data-theme=dark] .task-kanban-card h3,html[data-theme=dark] .kanban-card h3,html[data-theme=dark] .team-card h2,html[data-theme=dark] .channel-modal h2,html[data-theme=dark] .login-card h2{color:var(--color-text)}html[data-theme=dark] .task-card-main>p,html[data-theme=dark] .task-kanban-card>p,html[data-theme=dark] .kanban-card p,html[data-theme=dark] .request-card p,html[data-theme=dark] .welcome-card p,html[data-theme=dark] .login-help{color:var(--color-text-soft)}html[data-theme=dark] .channels-page{border-color:#454754;background:#1f202a}html[data-theme=dark] .channel-list{border-right-color:#353743;background:#1b1c25}html[data-theme=dark] .channel-list-search{color:#949aa8;border-color:#3d3f4d;background:#242631}html[data-theme=dark] .channel-list-search input{color:#eef0f5;background:transparent}html[data-theme=dark] .channel-list-group-label{color:#8f95a3}html[data-theme=dark] .channel-list-head h1,html[data-theme=dark] .conversation-head h2,html[data-theme=dark] .message p b{color:#f2f3f7}html[data-theme=dark] .channel-item{color:#aeb2be;background:transparent}html[data-theme=dark] .channel-item:hover{background:#252733}html[data-theme=dark] .channel-item.active{color:#dedbff;background:#34314f}html[data-theme=dark] .channel-item b,html[data-theme=dark] .channel-item.unread b{color:#e5e7ed}html[data-theme=dark] .channel-item small,html[data-theme=dark] .channel-item-title time{color:#949aa8}html[data-theme=dark] .channel-item-preview small{color:#adb2bd}html[data-theme=dark] .conversation{background:#20212b}html[data-theme=dark] .conversation-head{border-bottom-color:#3b3d49}html[data-theme=dark] .conversation-head p,html[data-theme=dark] .message time,html[data-theme=dark] .edited-label,html[data-theme=dark] .message-status{color:#969ca9}html[data-theme=dark] .channel-actions .channel-header-action{color:#d7d3ff;border-color:#555078;background:#302e49}html[data-theme=dark] .channel-overflow-menu{color:var(--color-text);border-color:var(--color-border);background:#292a35}html[data-theme=dark] .channel-overflow-menu button:hover{background:#353743}html[data-theme=dark] .message span{color:#d5d8e0}html[data-theme=dark] .message>div:last-child{border-color:#3c3e4b;background:#292a35;box-shadow:0 2px 10px #0000002e}html[data-theme=dark] .message.own>div:last-child{--reader-ring: #34314f;border-color:#56517d;background:#34314f}html[data-theme=dark] .message-actions,html[data-theme=dark] .message-overflow-menu{border-color:#454754;background:#292a35;box-shadow:0 16px 38px #00000057}html[data-theme=dark] .message p>b{color:#b8b3ff}html[data-theme=dark] .message-actions button{color:#aeb3bf}html[data-theme=dark] .message-actions button:hover{color:#fff;background:#333541}html[data-theme=dark] .message mark{color:#dedbff;background:#464168}html[data-theme=dark] .message-reply-quote,html[data-theme=dark] .composer-reply{border-color:#47435f;border-left-color:#8880ef;background:#29283a}html[data-theme=dark] .message-reply-quote b,html[data-theme=dark] .composer-reply b,html[data-theme=dark] .composer-reply>span{color:#bdb8ff}html[data-theme=dark] .message-reply-quote span,html[data-theme=dark] .composer-reply small{color:#b5bac5}html[data-theme=dark] .document-file{color:#e2e4ea;border-color:#41434f;background:#272832}html[data-theme=dark] .document-file small{color:#9da2ae}html[data-theme=dark] .message-composer{border-color:#444652;background:#24252f;box-shadow:0 8px 26px #0003}html[data-theme=dark] .message-composer textarea{color:#eef0f5;background:#2b2c37}html[data-theme=dark] .message-composer textarea:focus{border-color:#6962a4;background:#292a35;box-shadow:0 0 0 3px #8880ef1c}html[data-theme=dark] .message-composer textarea::placeholder{color:#858b99}html[data-theme=dark] .attach-button{color:#d8d4ff;background:#3a3758}html[data-theme=dark] .mention-suggestions,html[data-theme=dark] .channel-search-card,html[data-theme=dark] .channel-search-results>button{color:var(--color-text);border-color:var(--color-border);background:#292a35}html[data-theme=dark] .mention-suggestions button{color:#e5e7ed}html[data-theme=dark] .mention-suggestions button:hover,html[data-theme=dark] .channel-search-results>button:hover{background:#353743}html[data-theme=dark] .channel-search-results small{color:#c1c5ce}html[data-theme=dark] .first-message,html[data-theme=dark] .empty-conversation{color:#9ba1ae}html[data-theme=dark] .first-message b,html[data-theme=dark] .empty-conversation b{color:#e5e7ed}html[data-theme=dark] .unread-divider{color:#aaa4ff}html[data-theme=dark] .unread-divider:before,html[data-theme=dark] .unread-divider:after{background:#504b7a}.app-update-banner{position:fixed;z-index:1000;top:14px;left:50%;width:min(560px,calc(100% - 28px));display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;transform:translate(-50%);border:1px solid var(--color-brand-200);border-radius:var(--radius-md);color:var(--color-text);background:var(--color-surface);box-shadow:var(--shadow-modal)}.app-update-banner>div{min-width:0;display:grid;gap:2px}.app-update-banner span{color:var(--color-muted);font-size:12px}.app-update-banner button{flex:0 0 auto;padding:9px 12px;border:0;border-radius:var(--radius-sm);color:#fff;background:var(--color-brand-600);font-weight:750;cursor:pointer}@media(max-width:760px){.app-update-banner{top:max(8px,env(safe-area-inset-top));align-items:stretch;flex-direction:column;gap:9px}.app-update-banner button{width:100%}}@media(max-width:760px){html,body,#root{width:100%;height:100%;overflow:hidden}.workspace{position:fixed;inset:0;display:block;width:100%;height:100dvh;min-height:0;overflow:hidden}.sidebar{position:absolute;z-index:50;inset:auto 0 0;width:100%;height:calc(66px + env(safe-area-inset-bottom));display:block;padding:6px 6px env(safe-area-inset-bottom)}.sidebar .brand,.sidebar>.theme-toggle,.sidebar>.notification-sound-toggle,.sidebar>.logout{display:none}.sidebar nav{width:100%;height:60px;display:flex;gap:1px;overflow:hidden}.sidebar a{width:auto;min-width:0;height:56px;flex:1 1 0;flex-direction:column;justify-content:center;gap:2px;padding:5px 2px;font-size:16px}.sidebar a span{display:block;width:100%;overflow:hidden;font-size:8px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.sidebar a b{position:absolute;display:grid;min-width:16px;height:16px;place-items:center;margin:-28px 0 0 26px;padding:0 3px;font-size:8px}.content{width:100%;height:100%;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:80px 14px calc(88px + env(safe-area-inset-bottom))}.mobile-topbar{position:absolute;z-index:45;top:0;right:0;left:0;height:64px;display:flex}.home-page>header{min-width:0;gap:10px}.home-page>header>div:first-child{min-width:0}.content header h1{overflow-wrap:anywhere;font-size:clamp(21px,6.4vw,25px);line-height:1.18}.avatar{width:38px;height:38px;flex:0 0 38px;border-radius:11px}}
