/* Student-only native-style Inbox; existing branded fonts, no synthetic messages. */
#messagesRoot.student-messages-simple .topbar,#messagesRoot.student-messages-simple>.messages-paths{display:none}
.student-message-inbox{max-width:760px;margin:auto;background:var(--surface,#fff);color:var(--text,#161616);padding:12px 0 24px}
.student-inbox-title{text-align:center;font:600 25px Helvetica,Arial,sans-serif;margin:12px 0 30px;text-transform:lowercase}
.student-inbox-list{display:flex;flex-direction:column}
.student-inbox-row{display:flex;align-items:center;gap:15px;width:100%;min-height:98px;padding:19px 14px;border:0;border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:0;background:transparent;color:inherit;text-align:left;cursor:pointer;box-shadow:none}
.student-inbox-row:focus-visible,.student-inbox-history:focus-visible{outline:2px solid #054ff0;outline-offset:2px}
.student-inbox-avatar{display:grid;place-items:center;flex:0 0 52px;height:52px;border-radius:50%;background:#e1d2f3;color:#161616;font:500 22px Helvetica,Arial,sans-serif}
.student-inbox-row:nth-child(2) .student-inbox-avatar{background:#dcfc73}.student-inbox-row:nth-child(3) .student-inbox-avatar{background:#054ff0;color:white}
.student-inbox-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:7px;font:15px/1.35 Helvetica,Arial,sans-serif}.student-inbox-copy strong{font-weight:600;font-size:17px}
.student-inbox-preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;opacity:.65}
.student-inbox-row time{align-self:flex-start;font:12px/1.4 Helvetica,Arial,sans-serif;white-space:nowrap;opacity:.55;margin-top:3px}
.student-inbox-unread{width:7px;height:7px;border-radius:50%;background:#054ff0;flex-shrink:0}
.student-inbox-history{border:0;background:transparent;color:inherit;padding:20px 14px;font:14px Helvetica,Arial,sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.student-messages-simple [data-student-inbox-back]{margin-bottom:14px}
@media(max-width:420px){.student-inbox-row{gap:11px;padding:17px 8px}.student-inbox-avatar{flex-basis:46px;height:46px}.student-inbox-row time{font-size:11px}.student-inbox-title{margin-bottom:18px}}


/* Direct student threads never expose the legacy category or conversation list. */
#messagesRoot.student-messages-simple .dm-sidebar,
#messagesRoot.student-messages-simple .messages-actions,
#messagesRoot.student-messages-simple .dm-back,
#messagesRoot.student-messages-simple .dm-recipient-picker{display:none!important}
#messagesRoot.student-messages-simple .dm-layout{grid-template-columns:minmax(0,1fr)}
#messagesRoot.student-messages-simple .dm-thread{display:flex!important;width:100%;min-width:0}
#messagesRoot.student-messages-simple .dm-route-archive{padding:14px;border-top:1px solid #ddd}
#messagesRoot.student-messages-simple .dm-route-archive button{display:block;margin:8px 0}
