/* Optional [mdmd_summon] student interface: completely scoped, never styles the Student Portal. */
.mdmd-summon-student {--ms-ink:#2d1942;--ms-purple:#7332a0;--ms-line:#e5d8eb;--ms-mute:#74667c;box-sizing:border-box;color:var(--ms-ink);font:400 15px/1.65 'Roboto',Arial,sans-serif;max-width:1060px;margin:30px auto 46px;}
.mdmd-summon-student *, .mdmd-summon-student *::before, .mdmd-summon-student *::after {box-sizing:border-box;}
.mdmd-summon-student .mdmd-student-summon-hero {background:#f7f0fb;border:1px solid #e1ceee;border-radius:14px;padding:35px clamp(20px,4vw,46px);margin-bottom:25px;}
.mdmd-summon-student .mdmd-student-summon-hero > span,.mdmd-summon-student .mdmd-student-summon-kicker {font:600 10px/1.5 'Roboto Mono',monospace;letter-spacing:.09em;text-transform:uppercase;color:#783faa;}
.mdmd-summon-student .mdmd-student-summon-hero h2 {font:600 clamp(42px,6vw,62px)/1 'Cormorant Garamond',Georgia,serif!important;margin:8px 0 11px!important;color:#3f2255!important;}
.mdmd-summon-student .mdmd-student-summon-hero p {margin:0;max-width:620px;color:#6f577e;font-size:14px;line-height:1.7;}
.mdmd-summon-student .mdmd-student-summon-columns {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(250px,.9fr);gap:19px;align-items:start;}
.mdmd-summon-student .mdmd-student-summon-form-wrap,.mdmd-summon-student .mdmd-student-summon-history {background:white;border:1px solid var(--ms-line);border-radius:12px;padding:clamp(20px,3vw,30px);min-width:0;}
.mdmd-summon-student h3 {font:600 34px/1.1 'Cormorant Garamond',Georgia,serif!important;margin:7px 0 23px!important;color:#422456!important;}
.mdmd-summon-student .mdmd-student-summon-form {display:flex;flex-direction:column;gap:10px;}
.mdmd-summon-student .mdmd-student-summon-form label {font:700 13px 'Roboto',sans-serif;color:#513167;margin-top:4px;}
.mdmd-summon-student .mdmd-student-summon-form input,.mdmd-summon-student .mdmd-student-summon-form textarea,.mdmd-summon-student .mdmd-student-summon-form select {min-width:0;width:100%;max-width:100%;border:1px solid #d9c9e3!important;border-radius:7px!important;min-height:43px;padding:10px 13px!important;color:#352047!important;font:400 14px/1.55 'Roboto',sans-serif!important;background:#fefbff!important;box-shadow:none!important;}
.mdmd-summon-student .mdmd-student-summon-form textarea {min-height:136px;resize:vertical;}
.mdmd-summon-student .mdmd-student-summon-form input:focus,.mdmd-summon-student .mdmd-student-summon-form textarea:focus,.mdmd-summon-student .mdmd-student-summon-form select:focus {outline:2px solid #c7a2e5!important;outline-offset:1px;}
.mdmd-summon-student .mdmd-student-summon-form button,.mdmd-summon-student .mdmd-student-summon-empty a {cursor:pointer;display:inline-flex;justify-content:center;align-items:center;min-height:43px;border:0!important;border-radius:7px!important;background:#6e2b9c!important;padding:11px 19px!important;color:#fff!important;font:700 13px/1.4 'Roboto',sans-serif!important;text-decoration:none!important;}
.mdmd-summon-student .mdmd-student-summon-form button:hover,.mdmd-summon-student .mdmd-student-summon-empty a:hover {background:#4e1c77!important;}
.mdmd-summon-student .mdmd-student-summon-form-foot {display:flex;align-items:center;gap:20px;justify-content:space-between;flex-wrap:wrap;margin-top:8px;}
.mdmd-summon-student .mdmd-student-summon-form-foot small {color:#85758b;font-size:11px;flex:1 1 240px;line-height:1.6;}
.mdmd-summon-student .mdmd-student-summon-history a {display:flex;flex-direction:column;gap:5px;padding:14px 0;border-top:1px solid #eee5f2;text-decoration:none!important;}
.mdmd-summon-student .mdmd-student-summon-history a strong {color:#553374;font-size:13px;line-height:1.5;overflow-wrap:anywhere;}
.mdmd-summon-student .mdmd-student-summon-history a small {color:#8768a0;font:500 11px/1.5 'Roboto Mono',monospace;}
.mdmd-summon-student .mdmd-student-summon-history a:hover strong {color:#7621b7;text-decoration:underline;}
.mdmd-summon-student .mdmd-student-summon-history p {font-size:13px;color:#796987;}
.mdmd-summon-student .mdmd-student-summon-title {display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:0 0 10px;}
.mdmd-summon-student .mdmd-student-summon-title h3 {margin:3px 0 7px!important;overflow-wrap:anywhere;}
.mdmd-summon-student .mdmd-student-summon-title a {color:#71309c;text-decoration:underline;font-weight:600;font-size:13px;}
.mdmd-summon-student .mdmd-summon-status {font:600 10px/1.5 'Roboto Mono',monospace;color:#6a3888;background:#f7eefc;padding:4px 9px;border:1px solid #e7d0f2;border-radius:30px;}
.mdmd-summon-student .mdmd-summon-status.is-answered {color:#356c50;background:#eaf5ef;border-color:#cde8d8;}
.mdmd-summon-student .mdmd-summon-status.is-closed {color:#70687a;background:#f0edf3;border-color:#e5dfeb;}
.mdmd-summon-student .mdmd-summon-thread {display:flex;flex-direction:column;gap:13px;background:#fdfbff;border:1px solid var(--ms-line);border-radius:12px;padding:clamp(16px,2.5vw,26px);margin:14px 0 23px;}
.mdmd-summon-student .mdmd-summon-message {background:#f2e8fb;align-self:end;border-radius:10px 10px 2px 10px;padding:14px 17px;max-width:91%;min-width:0;}
.mdmd-summon-student .mdmd-summon-message.is-mentor {background:#e7f3eb;align-self:start;border-radius:10px 10px 10px 2px;}
.mdmd-summon-student .mdmd-summon-message-head {display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;}
.mdmd-summon-student .mdmd-summon-message-head strong {font-size:12px;color:#4b246c;}
.mdmd-summon-student .mdmd-summon-message-head time {color:#8b7499;font-size:11px;}
.mdmd-summon-student .mdmd-summon-message p {color:#4a3755;font-size:13px;line-height:1.7;margin:7px 0 0;overflow-wrap:anywhere;}
.mdmd-summon-student .mdmd-student-summon-empty {background:#fcf8ff;border:1px solid #e7d6f0;border-radius:12px;padding:26px;}
.mdmd-summon-student .mdmd-student-summon-empty strong {display:block;font:600 30px/1.15 'Cormorant Garamond',Georgia,serif;}
.mdmd-summon-student .mdmd-student-summon-empty p {font-size:13px;color:#766488;}
.mdmd-summon-student .mdmd-student-summon-note {background:#fbf5ff;border:1px solid #e6d6ec;border-radius:8px;padding:14px 17px;color:#725d82;font-size:13px;}
.mdmd-summon-student .mdmd-student-summon-bottom {font-size:11px;color:#83708f;max-width:720px;margin:26px 0 0;}
.mdmd-summon-student .mdmd-summon-notice {background:#ebf8ee;border:1px solid #cde3d1;border-radius:7px;padding:12px 16px;color:#2e6942;font-size:12px;font-weight:600;margin:0 0 17px;}
.mdmd-summon-student .mdmd-summon-notice.is-error {background:#fff1f4;color:#8e3755;border-color:#eed1db;}
@media(max-width:790px){.mdmd-summon-student .mdmd-student-summon-columns {grid-template-columns:minmax(0,1fr);}}
@media(max-width:580px){.mdmd-summon-student .mdmd-student-summon-title {align-items:flex-start;}.mdmd-summon-student .mdmd-student-summon-form-foot button {width:100%;}.mdmd-summon-student .mdmd-summon-message {max-width:100%;}.mdmd-summon-student .mdmd-student-summon-hero {padding:24px 20px;}}
