/* Compact owner screens, mobile first; keep existing forms and business logic. */
#studentsPanel>p.muted:first-of-type,#classesPanel>p.muted:first-of-type{display:none}
#studentsPanel>label[for="studentSearch"],#classesPanel>label[for="ownerClassSearch"]{display:block;margin-top:10px}
#studentsPanel #studentSearchCount:empty,#studentsPanel #simpleStudentHint:not(.has-selection){display:none}
#studentsPanel #studentAddTools:not([open]),#classesPanel #addClassPanel:not([open]){display:none!important}
#studentsPanel #studentAddTools>summary,#classesPanel #addClassPanel>summary{display:none}
#compactClassTools{margin:10px 0 0}
#compactClassTools>label{display:block}
#compactClassTools input[type=date]{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.compact-action-buttons{display:flex;gap:8px;margin:10px 0}
.compact-action-buttons button{flex:1;min-width:0;padding:10px 7px}
#compactClassStatus:empty{display:none}
#studentsPanel .calendar-open-bar,#classesPanel .calendar-open-bar{margin:7px 0 11px}
#studentsPanel .calendar-open-bar button,#classesPanel .calendar-open-bar button{min-height:43px}
#simpleStudentTools{margin:10px 0 0}
#simpleStudentTools .simple-student-buttons{margin:10px 0}
#simpleStudentTools #simpleReturnTools{margin-top:12px}
#classesPanel #classesList{margin-top:8px}
#studentsPanel #studentAddTools[open],#classesPanel #addClassPanel[open]{margin-top:12px}
@media(max-width:600px){
 #studentsPanel,#classesPanel{padding:17px}
 #studentsPanel h2,#classesPanel h2{margin:0 0 12px}
 #studentsPanel input[type=search],#classesPanel input[type=search]{max-width:100%;box-sizing:border-box}
 #simpleStudentTools .simple-student-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #simpleStudentTools .simple-student-row input,#simpleStudentTools .simple-student-row select{min-width:0;width:100%;box-sizing:border-box}
 #simpleStudentTools .simple-student-buttons button{min-width:0}
}
/* Only one Big Picture calendar: existing ownerMonthPanel via Open Calendar. */
#classesPanel .class-month-workspace,#classesPanel .classes-old-list{display:none!important}
#classesPanel .class-month-layout{display:contents}
#classesPanel #classesList .item.hidden{display:none!important}
#studentsPanel #simpleReturnTools{margin-top:8px}
