/* Shared classroom navigation and community UI. Loaded after brand styles. */
.admin-home{max-width:860px;margin:auto;padding-top:24px}
.admin-home .course-dates{font-size:11px;font-weight:700;letter-spacing:.13em;color:var(--muted);margin:0 0 22px}
.admin-home .portal-greeting{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:34px}
.admin-home .greeting-label{font-size:13px;color:var(--muted)}
.admin-home .portal-greeting h1{font-size:46px;margin:8px 0 0}
.admin-home .home-globe{width:80px;height:80px;flex-basis:80px}
.admin-home .feature-menu-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px}
.admin-home .feature-menu-heading h2{font-size:17px;margin:0;font-weight:600}
.admin-home .feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.admin-home .feature-tile{position:relative;display:flex;flex-direction:column;overflow:hidden;text-decoration:none;min-height:245px;padding:25px;border-radius:20px;border:1px solid #bdcbd9;background:#dce7f0;color:#293b4d;box-shadow:0 4px 0 #c0c5c8,0 10px 22px #2934630b;transition:transform .16s}
.admin-home .feature-homework{background:#f0e1d9;border-color:#d6c4bc;box-shadow:0 4px 0 #d6c4bc,0 10px 22px #2934630b}
.admin-home .feature-forum{background:#e7e1ee;border-color:#cdc3d7;box-shadow:0 4px 0 #cdc3d7,0 10px 22px #2934630b}
.admin-home .feature-inbox,.student-layout .feature-enquiries{background:#dfe9df;border-color:#c0cec0;--tile-colour:#dfe9df;--tile-border:#c0cec0}
.admin-home .feature-inbox{box-shadow:0 4px 0 #c0cec0,0 10px 22px #2934630b}
.admin-home .feature-tile:hover{transform:translateY(-3px)}
.admin-home .feature-tile:active{transform:translateY(2px)}
.admin-home .feature-icon{width:49px;height:49px;display:grid;place-items:center;border-radius:15px;background:#ffffff70;margin-bottom:18px}
.admin-home .feature-icon svg{width:26px;height:26px}
.admin-home .feature-title{font-size:26px;font-weight:700;letter-spacing:-.6px;line-height:1.2}
.admin-home .feature-description{font-size:13px;line-height:1.55;margin:9px 0 20px;max-width:250px}
.admin-home .feature-cta{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:8px;background:var(--brand-navy);color:white;min-height:46px;padding:12px 14px;border-radius:10px;font-size:13px;font-weight:700;box-shadow:0 3px 0 #192244}
.admin-home-count{font-size:11px;font-weight:600;margin-top:12px;color:#356044}
.admin-home-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:30px 0 22px}
.admin-home-tools a{padding:15px 17px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--brand-navy);text-decoration:none;font-size:14px;font-weight:600;min-width:0}
.admin-home-tools a span{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:6px}
.admin-navigation .admin-feature-switcher{display:flex;justify-content:center;overflow-x:auto;gap:4px}
.admin-navigation .admin-feature-switcher a{flex:1;max-width:150px;min-width:62px;min-height:62px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:8px 7px}
.admin-feature-switcher a span{position:relative}
.inbox-unread-badge{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;background:#bb3b2f;color:white;border-radius:20px;font-size:10px;font-weight:700;margin-left:5px;vertical-align:middle}
.inbox-unread-badge[hidden]{display:none}
/* Feed posts have a clear author, content and action hierarchy. */
.forum-space{max-width:800px}
.forum-space .page-head{margin-bottom:18px}
.forum-composer{display:flex;align-items:center;gap:12px;padding:17px;background:white;border:1px solid #dedfe5;border-radius:14px;box-shadow:0 2px 6px #29346308;margin-bottom:18px}
.forum-composer .avatar{flex:0 0 42px;width:42px;height:42px}
.forum-composer button{border:0;border-radius:25px;background:#f0f1f5;text-align:left;flex:1;min-height:46px;padding:12px 18px;color:#555d70;font-size:15px}
.forum-space .forum-filter-panel{border:1px solid #e0dcd8;background:#fff;border-radius:14px;padding:14px;margin-bottom:20px}
.forum-space .discussion-list{gap:20px}
.forum-space .discussion-item.forum-feed-item{border:1px solid #dce0e7;border-radius:14px;box-shadow:0 2px 7px #29346309}
.forum-space .forum-feed-link{padding:20px 22px 0;display:block;text-decoration:none}
.forum-space .forum-card-top{align-items:flex-start;margin-bottom:17px;gap:12px}
.forum-space .forum-card-top .post-meta{display:flex;align-items:center;gap:10px;min-width:0}
.forum-space .forum-card-top .post-meta .avatar{width:42px;height:42px;flex:0 0 42px;font-size:13px}
.forum-space .forum-card-top .post-meta b{font-size:14px;font-weight:700;color:var(--brand-navy)}
.forum-space .forum-card-top .post-meta small{font-size:11px;color:#727784;margin-top:3px;display:block}
.forum-space .forum-badges .pill{font-size:10px;padding:5px 8px;background:#f0ecf5;color:#625178;white-space:nowrap}
.forum-space .forum-card-content{padding:0 0 20px}
.forum-space .forum-card-content h2{font-size:21px;line-height:1.4;letter-spacing:-.35px;margin:0 0 10px;-webkit-line-clamp:3}
.forum-space .forum-feed-link .forum-card-preview{font-size:15px;line-height:1.7;color:#3f4550;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.forum-space .forum-feed-bottom{border-top:1px solid #eceef2;min-height:50px;padding:5px 0;color:#697180;font-size:12px}
.forum-space .forum-feed-bottom .forum-read-action{font-size:13px;min-height:44px;padding:6px 10px;border-radius:7px;color:var(--brand-navy)}
.forum-space .forum-feed-bottom .forum-read-action:hover{background:#f0f1f5}
.forum-space .forum-quick-controls{padding:8px 16px;background:#fafafa;gap:7px;justify-content:flex-start}
.forum-space .forum-quick-controls .btn{background:white!important;color:var(--brand-navy)!important;border:1px solid #d9dce4!important;box-shadow:none!important;font-size:11px;min-height:36px;padding:7px 10px;flex:none}
.forum-space .forum-quick-controls .forum-delete-button{color:#983f35!important;margin-left:auto}
.post.forum-thread{border:1px solid #dce0e7;border-radius:14px;box-shadow:0 2px 7px #29346309;padding:24px}
.forum-thread h1{font-family:var(--font-primary);font-size:25px;font-weight:700;line-height:1.4;margin:22px 0 12px}
.forum-thread>.post-body{font-size:16px;line-height:1.8;color:#343b48}
.forum-thread .post-replies{gap:16px}
.forum-thread .reply.forum-compact-reply{display:flex;gap:9px;border:0!important;padding:0!important;background:none!important;margin-left:10px;align-items:flex-start}
.forum-thread .forum-comment-bubble{background:#f0f2f5;border-radius:16px;padding:12px 16px}
.forum-thread .forum-comment-author b{font-size:13px}
.forum-thread .forum-comment-bubble .post-body{font-size:14px;line-height:1.65;margin:5px 0 0;color:#333b48}
.forum-thread .forum-comment-footer{margin:5px 12px 0;font-size:11px}
.forum-thread #forum-reply-form{margin-top:24px;background:#fafafa;border:1px solid #e1e3e9;border-radius:14px;padding:16px}
/* Inbox uses the same conversation hierarchy in student and admin apps. */
.inbox-space.private-questions-space{max-width:1080px}
.inbox-workspace{display:grid;grid-template-columns:minmax(270px,35%) minmax(0,1fr);border:1px solid #dce0e7;border-radius:16px;overflow:hidden;background:#fff;min-height:540px;box-shadow:0 2px 8px #29346307}
.inbox-sidebar{min-width:0;border-right:1px solid #e7e8ed;padding:16px 10px;background:#fff}
.inbox-list-header{padding:0 8px 12px}
.inbox-list-header h2{font-size:18px!important;font-family:var(--font-primary);font-weight:700;margin:0}
.inbox-count{display:inline-block;font-size:10px;font-weight:500;color:#737989;background:#f0f1f5;border-radius:6px;padding:4px 7px;margin-left:7px;vertical-align:middle}
.inbox-sidebar .private-question-tabs{display:flex;gap:4px;padding:0 5px;flex-wrap:wrap}
.inbox-sidebar .private-question-tabs button{font-size:10px;min-height:36px;padding:7px 10px;border-radius:20px;box-shadow:none}
.inbox-search{display:flex;align-items:center;gap:7px;margin:0 7px 14px;padding:0 8px 0 12px;background:#f0f2f5;border:1px solid transparent;border-radius:24px}
.inbox-search:focus-within{border-color:#7d89a7}
.inbox-search>svg{width:16px;height:16px;flex-shrink:0;color:#7a8291}
.inbox-search .input{background:transparent;border:0!important;padding:11px 0;font-size:13px;min-width:0;box-shadow:none;outline:none}
.inbox-search button{display:grid;place-items:center;flex:0 0 36px;min-height:40px;border:0;background:none;color:var(--brand-navy);padding:4px}
.inbox-search button svg{width:16px;height:16px}
.inbox-sidebar .private-question-list{gap:3px}
.inbox-sidebar .inbox-conversation{display:flex;align-items:center;gap:11px;padding:14px 10px;border:0;border-radius:10px;box-shadow:none;min-height:110px;background:#fff}
.inbox-sidebar .inbox-conversation:hover{background:#f5f6f8}
.inbox-sidebar .inbox-conversation.is-selected{background:#edf0f8}
.inbox-sidebar .inbox-conversation.is-unread{background:#f3f5fc}
.inbox-conversation>.avatar{width:42px;height:42px;flex:0 0 42px;background:#ede8f4;font-size:13px}
.inbox-conversation-copy{min-width:0;flex:1}
.inbox-conversation-top{display:flex;gap:6px;align-items:center;justify-content:space-between;margin-bottom:3px}
.inbox-conversation-top strong{font-size:13px;line-height:1.5;color:#333b54}
.inbox-conversation-top time{font-size:9px;color:#7a8190;white-space:nowrap}
.inbox-sidebar .inbox-conversation h2{font-size:12px;font-weight:500;color:#585f70;margin:0 0 4px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.inbox-sidebar .inbox-conversation p{font-size:12px;line-height:1.45;color:#767c88;margin:0;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.inbox-sidebar .is-unread .inbox-conversation-top strong,.inbox-sidebar .is-unread p{color:var(--brand-navy);font-weight:700}
.inbox-conversation-status{font-size:9px;color:#848894;display:block;margin-top:5px}
.inbox-unread-dot{width:8px;height:8px;border-radius:50%;background:var(--brand-navy);flex:0 0 8px}
.inbox-chat{display:flex;flex-direction:column;min-width:0;padding:0;background:#fff}
.inbox-chat>.private-question-back{margin:0;padding:9px 18px;font-size:12px;min-height:40px;background:#fafbfc;border-bottom:1px solid #eee}
.inbox-chat .private-thread-head{display:flex;align-items:center;gap:12px;padding:18px 22px;margin:0;border-bottom:1px solid #e9ebf0;background:white}
.inbox-chat .private-thread-head>.avatar{width:42px;height:42px;flex-shrink:0}
.inbox-chat .private-thread-head h1{font-family:var(--font-primary);font-size:17px;font-weight:700;line-height:1.5;letter-spacing:-.2px;margin:0;overflow-wrap:anywhere}
.inbox-chat .private-thread-head p{font-size:11px;color:#747b88;margin:3px 0}
.inbox-chat .private-label{font-size:9px;color:#7b8090;display:flex;gap:5px;align-items:center}
.inbox-chat .private-label svg{width:11px;height:11px;margin:0}
.inbox-chat .private-messages{display:flex;flex-direction:column;gap:10px;padding:22px;min-height:290px;max-height:65dvh;overflow-y:auto;overscroll-behavior:auto;flex:1}
.inbox-day{display:flex;justify-content:center;align-items:center;margin:8px 0;font-size:10px;color:#818897}
.inbox-day span{padding:4px 10px;border-radius:20px;background:#f6f7f9}
.inbox-chat .private-message{display:flex;flex-direction:column;max-width:85%;padding:0;border:0;border-radius:0;background:none;gap:4px;margin:0}
.inbox-chat .private-message.message-mine{align-self:flex-end;align-items:flex-end}
.inbox-chat .private-message.message-theirs{align-self:flex-start;align-items:flex-start}
.inbox-message-author{font-size:10px;color:#7a8190;padding:0 10px}
.inbox-message-bubble{border-radius:18px 18px 18px 5px;padding:12px 16px;background:#f0f2f5;color:#333b48}
.message-mine .inbox-message-bubble{background:var(--brand-navy);color:white;border-radius:18px 18px 5px 18px}
.inbox-chat .private-message p{font-size:14px;line-height:1.65;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:inherit}
.inbox-chat .private-message time{font-size:9px;color:#8b909a;padding:0 10px}
.inbox-chat .private-reply-form{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:6px 9px;padding:14px 18px;border:0;border-top:1px solid #e9ebf0;border-radius:0;margin:0;background:#fff}
.inbox-chat .private-reply-form textarea.input{font-size:16px;line-height:1.5;min-height:48px;max-height:160px;resize:vertical;border:1px solid #e2e5eb;border-radius:18px;background:#f4f5f8;padding:12px 15px}
.inbox-chat .private-reply-form .btn{display:grid;place-items:center;border-radius:50%;height:44px;min-height:44px;width:44px;box-shadow:none;padding:10px;margin-top:2px;font-size:9px}
.inbox-chat .private-reply-form .btn svg{width:20px;height:20px}
.inbox-composer-hint{grid-column:1/-1;font-size:9px;color:#9498a3;padding-left:4px}
.inbox-empty-chat{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:9px;text-align:center;padding:34px;color:#9297a2}
.inbox-empty-chat>svg{width:60px;height:60px;padding:15px;border-radius:50%;background:#f0f1f6;color:#7b85a4}
.inbox-empty-chat h2{font-family:var(--font-primary);font-size:19px;font-weight:600;margin:8px 0 0}
.inbox-empty-chat p{max-width:280px;font-size:13px;line-height:1.6;margin:0}
.inbox-sidebar .private-question-refresh{font-size:11px;display:flex;gap:6px;padding:12px;margin:12px 0 0;color:#747c8c;align-items:center}
.inbox-sidebar .private-question-refresh svg{width:13px;height:13px}
@media(max-width:700px){
 .admin-home{padding-top:10px}.admin-home .portal-greeting h1{font-size:36px}.admin-home .feature-grid{gap:13px}.admin-home .feature-tile{min-height:225px;padding:19px 16px;border-radius:17px}.admin-home .feature-title{font-size:23px}.admin-home .feature-description{font-size:12px;margin-bottom:15px}.admin-home .feature-cta{font-size:11px;padding:10px}.admin-home .feature-icon{margin-bottom:14px;width:42px;height:42px}.admin-home .feature-menu-heading h2{font-size:15px}.admin-home .feature-menu-heading .admin-app-label{font-size:9px}.admin-home-tools{gap:8px}.admin-home-tools a{padding:13px;font-size:12px}
 .forum-space .forum-feed-link{padding:17px 16px 0}.forum-space .forum-card-content h2{font-size:20px}.forum-space .forum-feed-link .forum-card-preview{font-size:14px}.forum-composer{padding:14px}.forum-composer button{font-size:13px}.post.forum-thread{padding:20px 16px}.forum-thread h1{font-size:23px}
 .inbox-workspace{grid-template-columns:minmax(0,1fr);min-height:400px}.inbox-workspace:not(.has-conversation) .inbox-chat{display:none}.inbox-workspace.has-conversation .inbox-sidebar{display:none}.inbox-sidebar{border-right:0}.inbox-chat .private-thread-head{padding:16px}.inbox-chat .private-messages{padding:18px 14px;max-height:65dvh;min-height:290px}.inbox-chat .private-reply-form{padding:12px}.inbox-chat .private-message{max-width:89%}.inbox-message-bubble{padding:11px 14px}.inbox-chat .private-thread-head h1{font-size:16px}.inbox-composer-hint{display:none}
}
@media(prefers-reduced-motion:reduce){.admin-home .feature-tile{transition:none}.admin-home .feature-tile:hover{transform:none}}

/* Subject first: make class topics and course-team prompts easy to find. */
.forum-subject-panel{padding:17px 18px;margin:0 0 16px;border-radius:10px;background:#eaf0fb;border:1px solid #d7e1f2;color:#293463}
.forum-subject-panel .forum-badges{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.forum-space .forum-subject-panel h2,.forum-thread .forum-subject-panel h1{margin:0;color:inherit;font-size:22px;font-weight:750;line-height:1.35;letter-spacing:-.25px;overflow-wrap:anywhere}
.forum-testimony .forum-subject-panel{background:#eef4eb;border-color:#dce7d5}
.forum-space .forum-card-top{margin-bottom:12px}
.forum-space .forum-feed-item.forum-course-team,.post.forum-thread.forum-course-team{border:2px solid #8798bb}
.forum-course-team .forum-subject-panel{background:#293b68;border-color:#293b68;color:#fff}
.forum-course-team .forum-subject-panel .pill{background:#ffffff1c;color:#fff;border-color:#ffffff35}
.forum-team-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:6px;background:#f3dba8;color:#493911;font-size:11px;font-weight:750;letter-spacing:.2px;line-height:1.2}
.forum-thread .forum-subject-panel{margin-bottom:20px}
@media(max-width:600px){.forum-subject-panel{padding:15px 14px}.forum-space .forum-subject-panel h2,.forum-thread .forum-subject-panel h1{font-size:20px}}

/* Compact feed and dense discussion replies. */
.forum-space .discussion-list{gap:10px}
.forum-space .forum-feed-link{padding:12px 14px 0}
.forum-subject-panel{display:flex;align-items:center;gap:9px;padding:10px 12px;margin-bottom:9px;border-radius:8px;min-width:0}
.forum-subject-panel .forum-badges{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:4px;margin:0}
.forum-space .forum-subject-panel h2,.forum-thread .forum-subject-panel h1{font-size:17px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1;margin:0}
.forum-space .forum-subject-panel .pill,.forum-thread .forum-subject-panel .pill,.forum-subject-panel .forum-team-badge{font-size:9px;padding:4px 6px;line-height:1.2;white-space:nowrap}
.forum-space .forum-card-top{margin-bottom:7px}
.forum-space .forum-card-top .post-meta{gap:7px}
.forum-space .forum-card-top .post-meta .avatar,.forum-thread>.post-meta .avatar{width:26px;height:26px;flex:0 0 26px;font-size:10px}
.forum-space .forum-card-top .post-meta>span,.forum-thread>.post-meta>span{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px}
.forum-space .forum-card-top .post-meta b,.forum-thread>.post-meta b{font-size:12px}
.forum-space .forum-card-top .post-meta small,.forum-thread>.post-meta small{display:inline;font-size:10px;margin:0}
.forum-space .forum-card-content{padding-bottom:9px}
.forum-space .forum-feed-link .forum-card-preview{font-size:13px;line-height:1.45;-webkit-line-clamp:2}
.forum-space .forum-feed-bottom{min-height:38px;padding:0;font-size:11px}
.forum-space .forum-feed-bottom .forum-read-action{font-size:11px;padding:4px 6px;min-height:38px}
.post.forum-thread{padding:14px}
.forum-thread .forum-subject-panel{margin-bottom:9px}
.forum-thread>.post-meta{margin:0 0 10px;display:flex;gap:7px;align-items:center}
.forum-thread>.post-body{font-size:14px;line-height:1.5;margin:8px 0 12px}
.forum-thread .forum-replies-title{margin:12px 0 7px}
.forum-thread .forum-replies-heading{font-size:14px}
.forum-thread .post-replies{gap:8px}
.forum-thread .reply.forum-compact-reply{gap:7px;margin-left:0}
.forum-compact-reply>.avatar{width:25px;height:25px;flex:0 0 25px;font-size:9px}
.forum-thread .forum-comment-bubble{padding:6px 9px;border-radius:11px}
.forum-thread .forum-comment-author b{font-size:12px}
.forum-thread .forum-comment-bubble .post-body{font-size:13px;line-height:1.4;margin:2px 0 0}
.forum-thread .forum-comment-footer{margin:1px 8px 0;min-height:20px;font-size:10px}
.forum-thread .forum-comment-footer time{font-size:10px}
.forum-thread .forum-text-toggle{font-size:11px;min-height:30px;padding:3px 0}
.forum-thread .forum-reply-menu{margin-left:auto;align-self:flex-start}
.forum-thread .forum-reply-menu>summary{width:30px;min-height:24px}
.forum-thread #forum-reply-form{margin-top:10px;padding:9px}
.forum-thread #forum-reply-form .forum-posting-as{margin-bottom:5px}
.forum-thread #forum-reply-form textarea.input{min-height:48px}
.homework-deadline{font-size:12px;color:#626b7b;margin:-6px 0 18px}
@media(max-width:600px){.forum-space .forum-feed-link{padding:10px 11px 0}.post.forum-thread{padding:11px}.forum-subject-panel{gap:6px;padding:9px 8px}.forum-space .forum-subject-panel h2,.forum-thread .forum-subject-panel h1{font-size:15px}.forum-space .forum-subject-panel .pill,.forum-thread .forum-subject-panel .pill,.forum-subject-panel .forum-team-badge{font-size:8px;padding:4px}.forum-thread>.post-body{font-size:13px}}

/* Lead with the subject; align compact labels at the right. */
.forum-subject-panel{background:#405675;border-color:#405675;color:#fff;text-align:left}
.forum-testimony .forum-subject-panel{background:#42604b;border-color:#42604b;color:#fff}
.forum-course-team .forum-subject-panel{background:#203252;border-color:#203252;color:#fff}
.forum-subject-panel .forum-badges{margin-left:auto;justify-content:flex-end}
.forum-space .forum-subject-panel h2,.forum-thread .forum-subject-panel h1{text-align:left;font-weight:750}

.forum-subject-panel .forum-badges .pill,.forum-subject-panel .forum-team-badge{background:#ffffff1f;color:#fff;border-color:#ffffff45}

/* Dense admin inbox: scan subjects and previews without oversized name icons. */
.inbox-admin .page-head{margin-bottom:10px}
.inbox-admin .private-question-privacy{margin:0 0 10px;font-size:11px}
.inbox-admin .inbox-workspace{grid-template-columns:minmax(320px,38%) minmax(0,1fr);min-height:420px}
.inbox-admin .inbox-workspace:not(.has-conversation){grid-template-columns:minmax(0,1fr)}
.inbox-admin .inbox-workspace:not(.has-conversation) .inbox-chat{display:none}
.inbox-admin .inbox-sidebar{padding:12px 8px}
.inbox-admin .inbox-workspace:not(.has-conversation) .inbox-sidebar{border-right:0}
.inbox-admin .inbox-list-header{padding-bottom:7px}
.inbox-admin .inbox-search{margin-bottom:7px}
.inbox-admin .private-question-list{gap:0}
.inbox-conversation-row{display:flex;align-items:center;gap:4px;border-bottom:1px solid #e5e8ee;min-width:0}
.inbox-admin .inbox-sidebar .inbox-conversation{flex:1;min-width:0;min-height:0;padding:8px;border-radius:6px;gap:6px}
.inbox-admin .inbox-conversation-top{gap:6px;margin-bottom:1px}
.inbox-admin .inbox-conversation-top strong{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.inbox-admin .inbox-conversation-top time{margin-left:auto;font-size:10px}
.inbox-admin .inbox-sidebar .inbox-conversation h2{font-size:13px;font-weight:650;color:#263b5a;line-height:1.3;margin:2px 0}
.inbox-admin .inbox-sidebar .inbox-conversation p{font-size:12px;line-height:1.35}
.inbox-row-status{font-size:9px;white-space:nowrap;color:#546174;flex-shrink:0}
.inbox-row-status.pending{color:#8e3c1c;background:#fff0e7;border-radius:4px;padding:2px 4px}
.inbox-delete-button{flex-shrink:0;background:transparent;border:1px solid #dfc8c4;border-radius:6px;color:#913e32;min-height:36px;padding:6px 8px;font:inherit;font-size:11px;cursor:pointer;margin-right:4px}
.inbox-delete-button:hover{background:#fff0ec}
.inbox-delete-button:focus-visible{outline:3px solid #b84f2a;outline-offset:2px}
.inbox-delete-button:disabled{opacity:.5;cursor:default}
.inbox-admin .inbox-chat .private-thread-head{padding:10px 12px;gap:8px}
.inbox-admin .private-thread-head>div{flex:1;min-width:0}
.inbox-admin .inbox-chat .private-thread-head h1{font-size:15px;line-height:1.35}
.inbox-admin .inbox-chat .private-messages{padding:12px;gap:6px;min-height:230px}
.inbox-admin .inbox-chat .private-message{gap:2px;max-width:92%}
.inbox-admin .inbox-message-bubble{padding:7px 10px;border-radius:10px}
.inbox-admin .inbox-chat .private-message p{font-size:13px;line-height:1.45}
.inbox-admin .inbox-message-author,.inbox-admin .inbox-chat .private-message time{font-size:9px;padding:0 4px}
.inbox-admin .inbox-day{margin:4px 0}
.inbox-admin .inbox-chat .private-reply-form{padding:9px 12px}
@media(max-width:700px){.inbox-admin .inbox-workspace{grid-template-columns:minmax(0,1fr)}.inbox-admin .inbox-sidebar{padding:8px 5px}.inbox-admin .inbox-conversation-top{flex-wrap:wrap}.inbox-admin .inbox-conversation-top strong{max-width:55%}.inbox-admin .inbox-chat .private-thread-head{padding:10px}.inbox-admin .inbox-chat .private-messages{padding:10px}.inbox-delete-button{min-height:40px}}

/* Touch conversations scroll with the page, like forum threads. */
@media(max-width:700px),(pointer:coarse){
 .inbox-workspace.has-conversation{overflow:visible}
 .inbox-chat .private-messages{max-height:none;min-height:0;overflow:visible;overscroll-behavior:auto;flex:none}
 .inbox-chat .private-message{flex-shrink:0}
}

/* Full subjects and compact, addressable forum conversations. */
.forum-subject-panel{align-items:flex-start;flex-wrap:wrap}
.forum-space .forum-subject-panel h2,.forum-thread .forum-subject-panel h1{display:block;flex:1 1 210px;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;-webkit-line-clamp:unset;-webkit-box-orient:initial;max-height:none}
.forum-subject-panel .forum-badges{max-width:100%;flex-wrap:wrap;align-self:flex-start;margin-left:auto}
.forum-thread .reply.forum-compact-reply[data-nested=true]{margin-left:18px;padding-left:9px!important;border-left:1px solid #d4d7e4!important;min-width:0}
.forum-thread .forum-comment-bubble .forum-reply-to{font-size:10px;line-height:1.4;color:#626b7b;margin:2px 0 3px;overflow-wrap:anywhere}
.forum-reply-to strong{font-weight:600;color:var(--brand-navy)}
.forum-thread .forum-reply-action{min-height:32px;min-width:44px;padding:3px 6px;margin:0;background:transparent;border:0;box-shadow:none;color:var(--brand-navy);font-size:11px;font-weight:700;border-radius:5px}
.forum-reply-action:focus-visible{outline:2px solid var(--brand-navy);outline-offset:1px}
.forum-thread #forum-reply-form.forum-targeted-form{margin:5px 0 9px}
.forum-reply-context{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.forum-reply-context .field-label{margin:0 0 5px;overflow-wrap:anywhere}
.forum-reply-context button{background:transparent;color:var(--brand-navy);font-size:11px;min-height:32px;padding:3px 5px;flex-shrink:0}
@media(max-width:380px){.forum-thread .reply.forum-compact-reply[data-nested=true]{margin-left:12px;padding-left:7px!important}}
.inbox-folders{display:flex;gap:6px;flex-wrap:wrap;padding:12px 0}.inbox-folders button{border:1px solid #cdd7d0;border-radius:8px;background:#fff;padding:8px 10px;font:inherit;cursor:pointer}.inbox-folders button[aria-pressed=true]{background:#e1ebe4;border-color:#496951}.inbox-folders b{margin-left:5px}.inbox-assignment{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #e3e6e3}.inbox-assignment label{font-size:13px;font-weight:600}.inbox-assignment select{padding:8px;border:1px solid #cdd7d0;border-radius:6px;background:#fff;max-width:100%}.inbox-assigned-label{font-size:13px;color:#47614d;padding:8px 0}

.inbox-sheet-notice{font-size:.78rem;line-height:1.4;padding:8px 10px;margin:0 0 10px;border-radius:8px;background:#fff3d9;color:#6b4b13;}
/* Student discussions share one palette, including older testimony posts. */
.forum-space .forum-feed-item:not(.forum-course-team) .forum-subject-panel,.post.forum-thread:not(.forum-course-team) .forum-subject-panel{background:#405675;border-color:#405675;color:#fff}
.forum-space .discussion-item.forum-pinned:not(.forum-course-team){border:1px solid #d6d8e0;box-shadow:0 2px 5px #29346308}
