:root{--mirae-release:"3.8.0"}.credential-warning{border:1px solid #e7a6a1;border-left:4px solid #c83c38;background:#fff2f0;color:#982a28;border-radius:10px;padding:15px 17px;margin:0 0 14px}.credential-warning strong{font-size:15px}.credential-warning p{margin:7px 0 0;line-height:1.65}.enroll-identity-legend{display:flex;gap:12px;flex-wrap:wrap;margin:4px 0 12px;font-size:12px;font-weight:700}.enroll-new-label{color:#1e6b4d}.enroll-existing-label{color:#9a6320}.enroll-sheet input.enroll-new-id{border:1.5px solid #4d9876;color:#216747;background:#f1faf4;border-radius:5px;font-weight:700}.enroll-sheet input.enroll-existing-id{border:1.5px solid #c5a16b;color:#916329;background:#faf5eb;border-radius:5px;font-weight:700;cursor:default}.enroll-sheet tr[data-identity=existing] td[data-enroll-state]{color:#916329}.homework-maximum{display:flex;align-items:center;gap:8px;margin-left:auto}.homework-maximum .input{width:100px}.homework-maximum[hidden]{display:none}.message-settings{display:grid;gap:12px;max-width:980px}.message-template-panel{background:#fff;border:1px solid #d8e1d8;border-radius:13px;overflow:hidden}.message-template-panel summary{cursor:pointer;padding:20px;display:flex;align-items:center;justify-content:space-between;font-weight:700}.message-template-panel summary span{font-size:12px;color:#748274;font-weight:400}.message-template-panel form{padding:0 20px 22px;border-top:1px solid #edf1eb}.message-template-panel label{display:grid;gap:9px;padding-top:18px;font-size:13px}.message-template-panel textarea{width:100%;resize:vertical;line-height:1.65}.template-tokens{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.template-preview{padding:13px 16px;background:#f3f6f2;border-radius:9px;margin-bottom:15px}.template-preview small{color:#6c796b}.template-preview p{margin:8px 0 0;line-height:1.7}.audit-filters{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.audit-filters label{display:grid;gap:7px;flex:1;min-width:140px;font-size:12px;color:#647164}.audit-filters .audit-query{flex:2}.audit-pages{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding-top:16px}.messenger-shell{display:grid;grid-template-columns:290px minmax(0,1fr);height:min(740px,calc(100dvh - 205px));min-height:440px;border:1px solid #d5dfd5;border-radius:16px;background:#fff;overflow:hidden}.messenger-list{border-right:1px solid #e1e8df;overflow-y:auto;background:#f9fbf7}.messenger-list-tools{padding:17px;display:grid;gap:9px;position:sticky;top:0;background:#f9fbf7;z-index:1}.messenger-thread{position:relative;display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #e8eee5;background:transparent;padding:16px 18px;cursor:pointer}.messenger-thread.active{background:#e8f0e5;box-shadow:inset 3px 0 #557d55}.messenger-thread>span:first-child{display:flex;justify-content:space-between;gap:7px;align-items:center}.messenger-thread strong{font-size:13px;color:#304332}.messenger-thread small{font-size:10px;color:#7a8579}.messenger-preview{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:7px;color:#687765;font-size:12px;max-width:90%}.messenger-unread{position:absolute;right:12px;bottom:14px;background:#527554;color:#fff;padding:2px 6px;border-radius:20px;font-size:10px}.messenger-chat{min-width:0;min-height:0;display:flex;flex-direction:column}.messenger-chat>header{padding:19px 23px;font-weight:700;border-bottom:1px solid #e7eee3;color:#344c35}.messenger-privacy{font-size:11px;color:#81917d;margin:10px 22px}.messenger-messages{flex:1;overflow-y:auto;padding:18px 22px;display:flex;flex-direction:column;gap:13px;background:#fdfefd;min-height:100px}.chat-bubble{align-self:flex-start;max-width:80%;min-width:105px;padding:12px 15px;background:#eef3ea;border-radius:3px 15px 15px 15px}.chat-bubble.mine{align-self:flex-end;background:#e0edda;border-radius:15px 3px 15px 15px}.chat-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6;margin:5px 0 7px}.chat-bubble small,.chat-bubble time{font-size:10px;color:#677a5f}.messenger-compose{display:flex;gap:10px;padding:15px 18px;border-top:1px solid #e3eade;align-items:flex-end}.messenger-compose[hidden]{display:none}.messenger-compose textarea{flex:1;resize:none;min-width:0;max-height:150px;line-height:1.5}.messenger-status{font-size:12px;margin:0;padding:0 18px 9px;color:#94744b}.messenger-older{align-self:center;margin:4px}.messenger-staff-list{display:grid;gap:6px;margin-top:16px;max-height:50dvh;overflow:auto}.messenger-tabs{margin-bottom:15px}
.message-template-panel textarea{height:auto;min-height:130px}.messenger-compose textarea{height:auto;min-height:56px}.enroll-sheet [data-enroll-login],.enroll-sheet [data-enroll-password]{min-width:0;width:100%;max-width:none}.password-reset-dialog .field{display:grid;gap:7px;margin-top:12px}.password-reset-dialog [data-reset-message]{margin:12px 0}.password-reset-dialog .check-label{display:flex;gap:8px;align-items:flex-start;margin:12px 0}
@media(max-width:700px){.messenger-shell{grid-template-columns:110px minmax(0,1fr);height:calc(100dvh - 240px);min-height:350px;border-radius:10px}.messenger-list-tools{padding:9px;gap:6px}.messenger-list-tools input{font-size:12px;padding:8px;min-width:0;width:100%}.messenger-list-tools button{font-size:12px;padding:8px}.messenger-thread{padding:13px 10px}.messenger-thread>span:first-child{display:block}.messenger-thread small{display:none}.messenger-thread strong{font-size:12px}.messenger-preview{font-size:10px}.messenger-chat>header{padding:13px 12px;font-size:13px}.messenger-privacy{font-size:10px;margin:8px 10px}.messenger-messages{padding:12px 10px;gap:10px}.chat-bubble{padding:9px 10px;max-width:94%;min-width:80px}.chat-bubble p{font-size:13px}.messenger-compose{padding:9px;gap:6px}.messenger-compose textarea{font-size:16px}.messenger-compose button{font-size:12px;padding:9px}.messenger-tabs button{font-size:12px}.audit-filters label{min-width:125px}.homework-maximum{margin:8px 0 0;flex-basis:100%}.message-template-panel summary{padding:16px}.message-template-panel form{padding:0 16px 17px}.credential-warning{padding:12px}.audit-pages{justify-content:center}}
