/* V269: contained native date controls and compact mobile management screens. */
@media screen and (max-width:780px){
 html body #app :is(input[type=date],input[type=datetime-local]){
  display:block;box-sizing:border-box!important;width:100%!important;max-width:100%!important;
  min-width:0!important;min-inline-size:0!important;min-height:44px!important;
  font-size:16px!important;line-height:normal!important;padding:10px!important;
 }
 html body #app input[type=date]::-webkit-date-and-time-value{text-align:left;min-width:0}
 html body #app input[type=date]::-webkit-datetime-edit{padding:0}
 html body #app #content .dm-finance-filters:has(#dmFinanceStart){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px}
 html body #app #content .dm-finance-filters .field{min-width:0!important;max-width:100%}
 html body #app #content .dm-finance-filters:has(#dmFinanceStart)>.btn{width:100%;min-width:0;min-height:44px}
 html body #app #content .dm-finance-filters:has(#dmFinanceStart)>.btn-primary{grid-column:1/-1}
 html body #app #content .hero{min-height:0!important;padding:14px!important;margin-bottom:14px!important;gap:12px!important}
 html body #app #content .hero h1{font-size:25px!important;line-height:1.2!important;margin-bottom:6px!important}
 html body #app #content .hero p{font-size:13px!important;line-height:1.45!important;margin:6px 0!important}
 html body #app #content .hero>.btn{min-height:44px!important;padding:10px 14px!important;margin:0!important}
 html body #app #content .admin-scope-bar{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)!important;padding:12px!important;gap:10px!important;margin-bottom:14px!important}
 html body #app #content .admin-scope-copy{min-width:0!important}
 html body #app #content .admin-scope-copy strong{font-size:13px!important;white-space:normal!important;line-height:1.3!important}
 html body #app #content .location-filter select,html body #app #content .admin-scope-bar select{
  box-sizing:border-box!important;min-width:0!important;width:100%!important;max-width:100%!important;
  height:44px!important;min-height:44px!important;padding:8px 12px!important;font-size:16px!important;line-height:normal!important;
 }
 html body #app #content .attendance-date-card{grid-template-columns:42px minmax(0,1fr) auto!important;gap:10px!important;padding:14px!important}
 html body #app #content .attendance-date-card>.grow{grid-column:2/-1}
 html body #app #content .attendance-date-card>input[type=date]{grid-column:1/3!important}
 html body #app #content .attendance-date-card>.btn{grid-column:3!important;width:auto!important;padding:10px!important}
 html body #app #content .attendance-date-card small{font-size:12px!important;line-height:1.4!important}
 html body #app #content .premium-course-card.dm-course-compact{padding:14px!important}
 html body #app #content .dm-course-top{margin-bottom:10px!important;gap:10px!important}
 html body #app #content .dm-course-heading h3{font-size:18px!important;line-height:1.3!important}
 html body #app #content .dm-course-badges{gap:6px;margin-top:6px}
 html body #app #content .dm-course-badges>span{padding:5px 8px;min-width:0}
 html body #app #content .dm-course-facts{gap:6px!important}
 html body #app #content .dm-course-bottom{margin-top:10px!important;padding-top:10px!important}
 html body #app #content .dm-course-actions{margin-top:10px!important;gap:8px!important}
 html body #app #content .dm-course-actions .btn{min-height:44px!important;padding:10px!important}
 html body #app #content .dm-student-chips{gap:6px!important}
 html body #app #content .dm-student-chips button{min-height:44px!important;padding:8px 10px!important;font-size:12px!important}
}
.dm-holiday-name{display:block;padding:6px;border-radius:8px;background:#fff1f4;color:#a6214d;font-size:11px;line-height:1.4;font-weight:650;overflow-wrap:anywhere}
html body #app #content .dm-student-calendar>button.dm-holiday{background:#fff1f4;color:#a6214d;border-color:#edb5c7}
.dm-student-calendar>button.dm-holiday small{font-size:9px;line-height:1.3}
html[data-dm-theme=dark] .dm-holiday-name,html[data-dm-theme=dark] body #app #content .dm-student-calendar>button.dm-holiday{background:#341c30;color:#ffc0d3;border-color:#80435e}
