/* V279: purposeful accents and compact, readable staff screens. */
@media screen {
 html body :is(#app,#modalWrap) .dm-course-context279{margin:6px 0 0;display:flex;flex-direction:column;gap:3px;min-width:0}
 html body :is(#app,#modalWrap) .dm-course-context279 :is(p,span,strong){margin:0!important;font-size:12px!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:anywhere!important;color:var(--dm-muted)!important}
 html body :is(#app,#modalWrap) .dm-course-context279 :is(strong,.dm-teacher-course-level){color:var(--dm-accent-text)!important;font-weight:650!important}
 html body #app .dm-teacher-overview>button:nth-child(1) .icon{color:var(--dm-accent-text)!important;background:var(--dm-brand-soft)!important}
 html body #app .dm-teacher-overview>button:nth-child(2) .icon{color:#168065!important;background:#def5ed!important}
 html body #app .dm-teacher-overview>button:nth-child(3) .icon{color:#a66512!important;background:#fff1d5!important}
 html body #app .dm-teacher-overview>button:nth-child(4) .icon{color:#2869a6!important;background:#e2efff!important}
 html body #app .dm-teacher-overview>button>span{display:flex!important;align-items:center!important;gap:8px!important}
 html body #app .dm-teacher-overview>button .icon{width:32px!important;height:32px!important;padding:7px!important;box-sizing:border-box!important;border-radius:10px!important;flex:none!important}
 html body #app .dm-teacher-agenda-icon,html body #app .dm-teacher-shortcuts>button>span:first-child{color:var(--dm-accent-text)!important;background:var(--dm-brand-soft)!important;border:1px solid var(--dm-brand-border)!important;border-radius:13px!important}
 html body #app .dm-teacher-shortcuts>button:nth-child(1)>span:first-child{color:#168065!important;background:#def5ed!important;border-color:#bce6d8!important}
 html body #app .dm-teacher-shortcuts>button:nth-child(3)>span:first-child{color:#a66512!important;background:#fff1d5!important;border-color:#edd4a4!important}
 html body #app .dm-teacher-shortcuts>button:nth-child(4)>span:first-child{color:#2869a6!important;background:#e2efff!important;border-color:#c7ddfa!important}
 html body #app .dm-teacher-notices279 h2{display:flex;align-items:center;gap:8px}
 html body #app .dm-teacher-notices279 h2>.icon{color:var(--dm-accent-text);width:22px;height:22px;flex:none}
 html body #app .dm-teacher-notice279{border-top:1px solid var(--dm-line);padding:12px 0;min-width:0}
 html body #app .dm-teacher-notice279 small{color:var(--dm-muted);font-size:12px}
 html body #app .dm-teacher-notice279 p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;margin:8px 0;color:var(--dm-ink)}
 html body #app .dm-teacher-broadcast-entry279{margin:0 0 14px}
 .dm-teacher-recipient-tools279{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}
 .dm-teacher-recipient-list279{max-height:230px;overflow:auto;margin-bottom:16px;display:grid;gap:6px}
 .dm-teacher-recipient-list279 label{display:flex;align-items:center;gap:10px;padding:10px 12px;min-height:44px;box-sizing:border-box;background:var(--surface-2);border:1px solid var(--dm-line);border-radius:12px;color:var(--dm-ink)}
 .dm-teacher-recipient-list279 input{flex:none;accent-color:var(--dm-accent-text)}
 html body #modalWrap .teacher-modal-icon{color:var(--dm-accent-text)!important;background:var(--dm-brand-soft)!important;border:1px solid var(--dm-brand-border)!important;border-radius:14px!important;box-shadow:none!important}
}
@media screen and (max-width:780px){
 html[data-dm-theme] body #app #content .hero.admin-dashboard-hero .admin-dashboard-head-actions{display:flex!important;flex-wrap:wrap!important;flex:1 1 100%!important;max-width:100%!important;width:100%!important;gap:8px!important;margin:0!important}
 html[data-dm-theme] body #app #content .admin-dashboard-hero{flex-wrap:wrap!important}
 html[data-dm-theme] body #app #content .hero.admin-dashboard-hero .admin-dashboard-head-actions .btn.btn{display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 120px!important;width:auto!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:44px!important;gap:8px!important;padding:10px 12px!important;white-space:normal!important;font-size:13px!important;line-height:1.4!important;box-sizing:border-box!important}
 html body #app .students-table-wrap{padding:12px!important;box-sizing:border-box!important}
 html body #app .students-table-wrap tbody>tr{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;padding:14px!important;gap:10px!important;width:100%!important;box-sizing:border-box!important;margin:0!important}
 html body #app .students-table-wrap tbody>tr>td:first-child{grid-column:1/-1!important;grid-row:1!important;min-width:0!important;width:100%!important}
 html body #app .students-table-wrap tbody>tr>.dm-student-balance{grid-column:1!important;grid-row:2!important;text-align:left!important;padding:0!important}
 html body #app .students-table-wrap tbody>tr>.dm-student-actions{grid-column:2!important;grid-row:2!important;padding:0!important;min-width:0!important}
 html body #app .students-table-wrap .student-table-person{min-width:0!important;align-items:center!important;gap:12px!important}
 html body #app .students-table-wrap .student-table-person>div:last-child{min-width:0!important;flex:1!important}
 html body #app .students-table-wrap .student-name-link{white-space:normal!important;overflow-wrap:anywhere!important;min-height:0!important;line-height:1.4!important}
 html body #app .students-table-wrap .dm-student-mobile-detail{overflow-wrap:anywhere!important;white-space:normal!important}
 html body #app .students-table-wrap .dm-student-actions .btn.btn{min-height:44px!important;height:auto!important;padding:8px 12px!important;border-radius:12px!important}
 html body #modalWrap .teacher-modal-title{min-width:0!important;align-items:flex-start!important;gap:12px!important}
 html body #modalWrap .teacher-modal-title>div:last-child{min-width:0!important}
 html body #modalWrap .teacher-modal-title>div:last-child>strong{white-space:normal!important;overflow-wrap:anywhere!important}
 html body #modalWrap .teacher-student-row{display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;padding:12px!important}
 html body #modalWrap .teacher-student-avatar{width:36px!important;height:36px!important}
 html body #modalWrap .teacher-student-copy{min-width:0!important}
 html body #modalWrap .teacher-student-copy small{white-space:normal!important;overflow-wrap:anywhere!important}
 html body #modalWrap .teacher-edit-action{grid-column:2!important;width:auto!important;min-height:44px!important;justify-self:start!important;padding:8px 12px!important;gap:8px!important;font-size:12px!important}
 html body #modalWrap .teacher-edit-action>span{display:inline!important}
 html body #modalWrap .attendance-row:not(.teacher-student-row){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:12px!important}
 html body #modalWrap .attendance-row:not(.teacher-student-row) .grow{min-width:0!important}
 html body #modalWrap .attendance-row:not(.teacher-student-row) .grow :is(strong,small){white-space:normal!important;overflow-wrap:anywhere!important;overflow:visible!important;text-overflow:clip!important}
 html body #modalWrap .attendance-choice{justify-self:end!important;gap:8px!important}
 html body #modalWrap .attendance-choice .att-btn{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border-radius:12px!important;box-shadow:none!important}
}
@media screen {
 html body #app .teacher-bottom-nav button .dm-tab-icon{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:11px!important;transition:background .18s ease,color .18s ease}
 html body #app .teacher-bottom-nav button.active[data-teacher-section=teacherToday] .dm-tab-icon{background:#ede7ff!important;color:#6845bf!important}
 html body #app .teacher-bottom-nav button.active[data-teacher-section=teacherLessons] .dm-tab-icon{background:#def5ed!important;color:#168065!important}
 html body #app .teacher-bottom-nav button.active[data-teacher-section=teacherCourses] .dm-tab-icon{background:#e2efff!important;color:#2869a6!important}
 html body #app .teacher-bottom-nav button.active[data-teacher-section=teacherRenewals] .dm-tab-icon{background:#fff1d5!important;color:#a66512!important}
 html[data-dm-theme=dark] body #app .dm-teacher-overview>button:nth-child(2) .icon,html[data-dm-theme=dark] body #app .dm-teacher-shortcuts>button:nth-child(1)>span:first-child{background:#173d32!important;color:#7de0ba!important;border-color:#295e4d!important}
 html[data-dm-theme=dark] body #app .dm-teacher-overview>button:nth-child(3) .icon,html[data-dm-theme=dark] body #app .dm-teacher-shortcuts>button:nth-child(3)>span:first-child{background:#44341c!important;color:#f5c475!important;border-color:#69502b!important}
 html[data-dm-theme=dark] body #app .dm-teacher-overview>button:nth-child(4) .icon,html[data-dm-theme=dark] body #app .dm-teacher-shortcuts>button:nth-child(4)>span:first-child{background:#233b56!important;color:#9dc9f6!important;border-color:#365575!important}
 html body #modalWrap .dm-teacher-broadcast279 .field textarea{width:100%;box-sizing:border-box;min-width:0}
 html body #app .dm-chat-sidebar-head .dm-teacher-broadcast-entry279{width:100%;margin:10px 0 0;white-space:normal;gap:8px;box-sizing:border-box}
}
