.ews-chat{--chat-line:#e6dbe9;--chat-muted:#786d7d;--chat-purple:var(--primary,#4b1768);color:var(--text,#302735);min-width:0;scroll-margin-top:100px}.ews-chat [hidden]{display:none!important}.ews-chat__heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.ews-chat .ews-chat__heading h2{font:600 clamp(23px,3vw,30px) var(--font-display);color:var(--primary-dark);margin:0 0 7px}.ews-chat__heading p{color:var(--chat-muted);margin:0;font-size:14px;line-height:1.6}.ews-chat .ews-chat__preference{cursor:pointer;flex-shrink:0;align-items:center;gap:8px;margin:5px 0;font-size:12px;font-weight:500;line-height:1.5;display:flex}.ews-chat .ews-chat__preference input{width:16px;height:16px;min-height:16px;accent-color:var(--chat-purple);flex:none;margin:0;padding:0}.ews-chat__badge{background:var(--chat-purple);color:#fff;min-width:21px;height:21px;font:600 11px var(--font-body);vertical-align:middle;border-radius:20px;place-items:center;padding:0 6px;display:inline-grid}.ews-chat__notice{color:#863448;background:#fcf0ee;border:1px solid #ebc9cf;border-radius:8px;margin:0 0 15px;padding:11px 14px;font-size:13px}.ews-chat__notice a{color:inherit;text-decoration:underline}.ews-chat__workspace{border:1px solid var(--chat-line);background:#fff;border-radius:14px;grid-template-columns:minmax(240px,30%) minmax(0,1fr);height:clamp(520px,72vh,760px);min-height:0;display:grid;overflow:hidden}.ews-chat--student .ews-chat__workspace{grid-template-columns:1fr;max-width:940px;margin:auto}.ews-chat__directory{border-right:1px solid var(--chat-line);background:#fbf8fb;flex-direction:column;min-height:0;display:flex}.ews-chat .ews-chat__search{color:#54405f;gap:7px;margin:0;padding:18px 16px 8px;font-size:12px;font-weight:600;display:grid}.ews-chat .ews-chat__search input{width:100%;min-width:0;min-height:40px;font:13px var(--font-body);color:var(--text);background:#fff;border:1px solid #d9c9df;border-radius:8px;padding:9px 11px}.ews-chat__directory-status{color:var(--chat-muted);min-height:16px;margin:4px 0 12px;padding:0 16px;font-size:11px;line-height:1.4}.ews-chat__conversations{overscroll-behavior:contain;flex:1;min-height:0;padding:0 7px 9px;overflow-y:auto}.ews-chat button.ews-chat__conversation{text-align:left;cursor:pointer;width:100%;box-shadow:none;color:var(--text);line-height:1.4;font-family:var(--font-body);background:0 0;border:0;border-left:3px solid #0000;border-radius:9px;margin:2px 0;padding:14px 10px;display:block}.ews-chat button.ews-chat__conversation:hover{background:#f2eaf5}.ews-chat button.ews-chat__conversation[aria-pressed=true]{border-left-color:var(--chat-purple);background:#eee3f3}.ews-chat__person-line{justify-content:space-between;align-items:center;gap:9px;display:flex}.ews-chat__person-line strong{color:#3a2447;overflow-wrap:anywhere;font-size:13px;font-weight:700}.ews-chat__person-line time{color:var(--chat-muted);white-space:nowrap;font-size:10px}.ews-chat__person-email{color:var(--chat-muted);overflow-wrap:anywhere;margin:2px 0 6px;font-size:11px;display:block}.ews-chat__preview-line{align-items:center;gap:8px;display:flex}.ews-chat__preview{color:#786b7e;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:12px;overflow:hidden}.ews-chat__conversation[data-unread=true] .ews-chat__preview{color:#493052;font-weight:600}.ews-chat button.ews-chat__more,.ews-chat button.ews-chat__older{color:var(--chat-purple);font:600 12px var(--font-body);text-underline-offset:3px;cursor:pointer;box-shadow:none;background:0 0;border:0;padding:12px 16px;text-decoration:underline}.ews-chat__choose{text-align:center;color:var(--chat-muted);align-content:center;justify-items:center;padding:30px;font-size:14px;line-height:1.7;display:grid}.ews-chat__choose svg{color:#a085b2;width:48px;height:48px;margin-bottom:14px}.ews-chat .ews-chat__choose h3{font:600 22px var(--font-display);color:#4c2c60;margin:0 0 6px}.ews-chat__choose p{max-width:280px;margin:0}.ews-chat__thread{background:#fdfbfd;flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.ews-chat__thread-header{border-bottom:1px solid var(--chat-line);background:#fff;flex:none;align-items:center;gap:11px;padding:15px 20px;display:flex;position:static}.ews-chat .ews-chat__thread-header h3{font:700 14px var(--font-body);color:var(--primary-dark);margin:0 0 3px}.ews-chat__thread-header p{color:var(--chat-muted);overflow-wrap:anywhere;margin:0;font-size:11px}.ews-chat__avatar{width:36px;height:36px;color:var(--chat-purple);background:#eee3f3;border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:700;display:grid}.ews-chat__connection{color:var(--chat-muted);flex-shrink:0;margin-left:auto;font-size:10px}.ews-chat button.ews-chat__back{color:var(--chat-purple);font:600 20px var(--font-body);cursor:pointer;background:0 0;border:0;padding:8px;display:none}.ews-chat__scroll{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;padding:20px 24px;overflow-y:auto}.ews-chat__day{text-align:center;color:#88738f;padding:6px 0 19px;font-size:10px;font-weight:600}.ews-chat__message{flex-direction:column;align-items:flex-start;margin:0 0 15px;display:flex}.ews-chat__message--own{align-items:flex-end}.ews-chat__bubble{color:#3c3044;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4;background:#fff;border:1px solid #eadfea;border-radius:12px 12px 12px 3px;max-width:min(88%,540px);margin:0;padding:11px 14px;font-size:14px;line-height:1.65}.ews-chat__message--own .ews-chat__bubble{color:#422057;background:#eee2f5;border-color:#e5d3ee;border-radius:12px 12px 3px}.ews-chat__message--pending .ews-chat__bubble{background:#f5eff8;border-style:dashed}.ews-chat__meta{color:#8a7b91;align-items:center;gap:6px;margin:5px 3px 0;font-size:10px;display:flex}.ews-chat button.ews-chat__retry{font:600 11px var(--font-body);color:#994052;cursor:pointer;background:0 0;border:0;padding:2px 5px;text-decoration:underline}.ews-chat__empty{color:var(--chat-muted);text-align:center;max-width:340px;margin:48px auto;font-size:14px;line-height:1.7}.ews-chat button.ews-chat__new{color:var(--chat-purple);font:600 12px var(--font-body);cursor:pointer;background:#fff;border:1px solid #d6bfdf;border-radius:30px;padding:8px 14px;position:absolute;bottom:146px;left:50%;transform:translate(-50%);box-shadow:0 2px 12px #39234a12}.ews-chat .ews-chat__composer{border-top:1px solid var(--chat-line);background:#fff;flex:none;margin:0;padding:13px 18px 9px}.ews-chat .ews-chat__composer textarea{resize:vertical;width:100%;min-height:62px;max-height:140px;color:var(--text);font:14px/1.55 var(--font-body);box-sizing:border-box;background:#fefcfe;border:1px solid #ddcde3;border-radius:9px;padding:10px 12px;display:block}.ews-chat__composer-footer{align-items:center;gap:10px;margin-top:9px;display:flex}.ews-chat__hint{color:var(--chat-muted);font-size:10px;line-height:1.4}.ews-chat__counter{color:var(--chat-muted);white-space:nowrap;margin-left:auto;font-size:10px}.ews-chat button.ews-chat__send{background:var(--chat-purple);color:#fff;min-height:37px;font:600 12px var(--font-body);box-shadow:none;cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:8px 14px;display:inline-flex}.ews-chat__send svg{width:16px;height:16px}.ews-chat button:disabled{opacity:.5;cursor:default}.ews-chat__send-status{color:#8c344c;min-height:15px;margin:5px 0 0;font-size:11px;line-height:1.4}.ews-chat__footnote{color:var(--chat-muted);max-width:800px;margin:12px 2px 0;font-size:11px;line-height:1.7}.ews-chat__activity{border-top:1px solid var(--chat-line);margin-top:20px;padding-top:16px}.ews-chat__activity>summary{color:var(--chat-purple);cursor:pointer;font-size:13px;font-weight:600}.ews-chat__activity p{color:var(--chat-muted);font-size:12px}.ews-chat__activity-row{border-top:1px solid var(--chat-line);overflow-wrap:anywhere;justify-content:space-between;gap:16px;padding:10px 0;font-size:12px;line-height:1.6;display:flex}.ews-chat__activity-row span{color:var(--chat-muted);font-size:11px;display:block}.ews-chat :is(button,input,textarea,summary):focus-visible{outline-offset:3px;outline:3px solid #b32e53}.ews-chat__sr{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;padding:0;overflow:hidden;position:absolute!important}@media (width<=760px){.ews-chat__heading{margin-bottom:17px;display:block}.ews-chat .ews-chat__preference{margin-top:14px}.ews-chat__workspace{height:clamp(500px,74dvh,720px);display:block}.ews-chat__directory,.ews-chat__thread{height:100%}.ews-chat__directory{border:0}.ews-chat__choose,.ews-chat[data-thread-open=true] .ews-chat__directory,.ews-chat:not([data-thread-open=true]):not(.ews-chat--student) .ews-chat__thread{display:none}.ews-chat button.ews-chat__back{display:block}.ews-chat--student button.ews-chat__back{display:none}.ews-chat__thread-header{padding:12px}.ews-chat__connection{text-align:right;max-width:80px;line-height:1.5}.ews-chat__scroll{padding:16px 13px}.ews-chat__bubble{max-width:92%;font-size:14px}.ews-chat .ews-chat__composer{padding:10px 11px 6px}.ews-chat__hint{display:none}.ews-chat__counter{margin-left:0}.ews-chat button.ews-chat__send{min-height:41px;margin-left:auto;padding:9px 17px}.ews-chat__activity-row{display:block}.ews-chat__footnote{font-size:10px}}.ews-chat__tools{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.ews-chat__tools button.ews-chat__more{min-height:36px;padding:7px 0;text-decoration:none}.ews-chat button.ews-chat__send:hover:not(:disabled){background:var(--primary-dark)}.ews-chat .ews-chat__composer textarea:focus{border-color:var(--chat-purple)}@media (width<=760px){.ews-chat .ews-chat__composer textarea,.ews-chat .ews-chat__search input{font-size:16px}.ews-chat__tools{justify-content:space-between;gap:8px;margin-top:10px}.ews-chat .ews-chat__tools .ews-chat__preference{margin:0}.ews-chat__thread-header>div{min-width:0}.ews-chat__thread-header p{font-size:10px}}.ews-chat .ews-chat__thread-header h3{overflow-wrap:anywhere}
