.mc-trigger{margin-left:12px;flex:none;background:#edf4ff;color:#1759b5;border:1px solid #d6e3f7;border-radius:10px;padding:9px 13px;font-weight:700;cursor:pointer}.mc-trigger span{background:#c54a59;color:white;border-radius:10px;padding:1px 5px;margin-left:5px;font-size:11px}.mc-trigger span[hidden]{display:none}.mc-dialog{width:min(900px,94vw);max-height:90dvh;border:1px solid #dae4f3;border-radius:18px;padding:20px;color:#19385e;background:#fff;box-shadow:0 20px 80px #132f5b33}.mc-dialog::backdrop{background:#10284966}.mc-dialog header{display:flex;align-items:center;justify-content:space-between}.mc-dialog h2{font-size:21px;margin:0}.mc-dialog button{cursor:pointer;border:1px solid #d8e4f3;border-radius:8px;background:#f3f7fe;color:#165dbf;padding:9px 14px;font:inherit}.mc-dialog button:disabled{opacity:.5;cursor:wait}.mc-dialog .mc-close{font-size:25px;background:none;border:0}.mc-dialog nav{display:flex;gap:10px;margin:12px 0}.mc-dialog nav [aria-pressed=true]{background:#1665d8;color:white}.mc-status{font-size:13px;color:#9d4b30;min-height:18px;margin:5px 0}.mc-layout{display:grid;grid-template-columns:200px 1fr;min-height:430px}.mc-contacts{border-right:1px solid #e2eaf5;padding-right:12px;max-height:55dvh;overflow:auto}.mc-contacts button{display:block;text-align:left;width:100%;margin-bottom:8px;position:relative}.mc-contacts small{display:block;color:#6a7d96;font-size:11px;margin-top:5px}.mc-contacts [aria-current=true]{border-color:#1665d8;background:#e9f2ff}.mc-contacts em{font-style:normal;background:#df4f63;color:white;border-radius:20px;padding:1px 5px;font-size:10px}.mc-thread{padding-left:18px;min-width:0;display:flex;flex-direction:column}.mc-thread h3{font-size:16px;margin:0 0 10px}.mc-history{height:280px;overflow:auto;overscroll-behavior:contain;padding:4px 8px 10px;display:flex;flex-direction:column;gap:10px}.mc-bubble{background:#eff3f9;border-radius:12px;padding:10px 13px;max-width:85%;align-self:flex-start}.mc-bubble.mine{align-self:flex-end;background:#e7f1ff}.mc-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.6}.mc-bubble small{display:block;font-size:10px;color:#73849b;margin-top:5px}.mc-bubble>b{display:block;color:#986432;font-size:12px;margin-bottom:6px}.mc-compose{border-top:1px solid #e2eaf5;padding-top:10px;display:flex;gap:8px;flex-wrap:wrap}.mc-compose textarea{width:100%;resize:vertical;max-height:130px;border:1px solid #d1dff0;border-radius:10px;padding:10px;font:inherit}.mc-compose label{font-size:12px}.mc-compose [type=submit]{background:#1665d8;color:white;margin-left:auto}.mc-input-label{position:absolute;clip-path:inset(50%);height:1px;overflow:hidden}.mc-empty{color:#7c8da3;font-size:14px;text-align:center;padding:25px}.mc-requests{max-height:60dvh;overflow:auto}.mc-requests article{display:flex;justify-content:space-between;gap:20px;padding:16px 4px;border-bottom:1px solid #e0e9f5;align-items:center}.mc-requests p{margin:6px 0}.mc-requests small{color:#778ca6}.mc-requests button{margin-left:6px}.mc-older{align-self:center;font-size:11px!important;padding:4px 12px!important}
@media(max-width:640px){.mc-trigger{font-size:11px;padding:6px;margin-left:4px}.mc-dialog{padding:14px}.mc-layout{grid-template-columns:1fr;min-height:0}.mc-contacts{border:0;display:flex;gap:6px;max-height:100px;padding:0;flex:none}.mc-contacts button{width:120px;flex:none;font-size:12px}.mc-thread{padding:10px 0 0}.mc-history{height:34dvh}.mc-requests article{align-items:flex-start;font-size:13px}.mc-requests button{padding:7px}.mc-dialog nav button{font-size:13px}}
.mc-compose select{border:1px solid #d8e4f3;border-radius:6px;padding:5px 8px;color:#1e528c;background:#f4f8ff;font:inherit}.student-mode .mc-trigger{order:3}.student-mode .cm-header .student-bottom{order:2}
.mc-trigger{position:relative;width:40px;height:40px;padding:8px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}.mc-trigger span{position:absolute;right:-5px;top:-4px;margin:0;min-width:16px;line-height:16px;font-size:10px}.mc-trigger svg{flex:none}@media(max-width:640px){.mc-trigger{width:32px;height:32px;padding:6px}.mc-trigger svg{width:19px;height:19px}}
