/* Compact cabinet corrections, v40.22. Hidden sections always stay hidden. */
body.glass-cabinet [hidden][hidden][hidden]{display:none!important}
body.page-calendar .calendar-event-menu{grid-column:1/-1;grid-row:auto;margin:0!important;justify-self:end;align-self:end}
body.page-calendar .calendar-event>small{grid-column:1/-1;padding:0!important}
body.page-calendar .calendar-event{align-content:start;row-gap:4px!important}
body.chat-screen .chat-heading{padding:6px 4px 12px;border-bottom:1px solid #ffffff20;justify-content:flex-start}
.chat-contact-avatar{width:44px;height:44px;flex:0 0 44px;border-radius:50%;display:grid;place-items:center;background:#e0ebef;color:#33414a;font-size:25px;overflow:hidden}
.chat-contact-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
body.chat-screen .chat-heading #edit-group{margin-left:auto}
body.chat-screen #thread-people{display:none}
body.chat-screen #chat-messages{gap:5px!important;padding:14px 6px!important}
body.chat-screen .chat-bubble{border:0!important;border-radius:18px 18px 18px 5px!important;background:#ffffff14!important;max-width:min(76%,560px)!important;box-shadow:none!important;margin:0!important;padding:9px 13px!important}
body.chat-screen .chat-bubble.mine{background:#80304b!important;border-radius:18px 18px 5px 18px!important;align-self:flex-end}
body.chat-screen .chat-bubble p{margin:2px 0!important;font-size:14px!important;line-height:1.45!important}
body.chat-screen .chat-bubble small{font-size:10px!important;opacity:.7}
body.chat-screen .chat-bubble.continuation{margin-top:-2px!important}
.chat-day{align-self:center;font-size:11px;color:#bac6cf;margin:12px 0 8px}
body.chat-screen .chat-thread{border:0!important;border-radius:12px!important;box-shadow:none!important;background:transparent!important}
body.chat-screen .chat-thread[aria-current=true]{background:#ffffff15!important}
body.page-learning #profile{max-width:900px}
.profile-notifications{margin-top:20px!important;padding:16px!important}
.notification-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.notification-choices label{display:flex;align-items:center;gap:8px;font-size:13px;margin:0}
.notification-choices input{width:18px!important;height:18px!important;flex:none}
.notification-choices fieldset{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px;border:0;padding:8px 0;margin:0}
.notification-choices legend{font-size:14px;font-weight:600;margin-bottom:8px}
.profile-notifications p{font-size:12px}
.teacher-notification-status{margin-top:16px;border-top:1px solid #ffffff28;padding-top:12px}
.bulk-delete-list{max-height:30vh;overflow:auto;font-size:13px;padding-left:22px}
body.student-dashboard-v40 .homework-pane{grid-column:1/-1!important;grid-row:1!important}
body.student-dashboard-v40 .feed-grid{display:flex!important;flex-direction:column;gap:7px!important}
body.student-dashboard-v40 .feed-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px!important;padding:12px!important;margin:0!important;border-radius:14px!important;min-height:0!important}
body.student-dashboard-v40 .feed-card>small{grid-column:1;font-size:11px!important}
body.student-dashboard-v40 .feed-card>h3{grid-column:1;margin:0!important;font-size:16px!important;line-height:1.35!important}
body.student-dashboard-v40 .feed-card>.homework-due{grid-column:1;font-size:11px!important;margin:0!important}
body.student-dashboard-v40 .feed-card>.homework-actions{grid-column:2;grid-row:1/4;align-self:center;margin:0!important}
body.student-dashboard-v40 .feed-card>.homework-actions>a{width:auto!important;min-height:40px!important;padding:8px 12px!important;font-size:12px!important;margin:0!important}
body.student-dashboard-v40 .feed-card>.task-details{grid-column:1/-1;margin-top:4px!important}
body.student-dashboard-v40 .feed-section>h2{font-size:15px!important;margin:12px 0 6px!important}
body.student-dashboard-v40 .due-group-title{font-size:12px!important;margin:8px 0 0!important}
@media(max-width:400px){body.student-dashboard-v40 .feed-card{gap:3px 8px!important}body.student-dashboard-v40 .feed-card>.homework-actions>a{padding:8px!important}}
body.page-learning .notification-choices label{margin:0!important;padding:0!important;min-height:32px!important;line-height:1.4!important;display:flex!important;align-items:center!important;gap:8px!important}
body.page-learning .notification-choices input{margin:0!important}
body.page-learning .notification-choices{gap:5px!important}
body.student-dashboard-v40 .feed-card{width:100%!important;max-width:none!important;min-width:0!important}
body.student-dashboard-v40 .feed-card>.homework-actions{display:flex!important;flex-direction:column!important;width:auto!important;min-width:0!important;max-width:112px!important;gap:5px!important}
body.student-dashboard-v40 .feed-card>.homework-actions>:is(a,button){width:auto!important;min-width:0!important;max-width:112px!important;font-size:12px!important;min-height:40px!important;line-height:1.3!important;padding:7px 10px!important;margin:0!important}
body.student-dashboard-v40 .feed-card>.homework-actions>:is(a,button){flex:none!important;height:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
