/* Full-page assignments in the institute manager */
.mod37-shell .m50-shell{display:grid;gap:18px;max-width:100%;padding:4px 0 24px;min-width:0}
.m50-shell *{box-sizing:border-box}
.m50-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.m50-head h2{font-size:24px;margin:5px 0}.m50-head p{margin:4px 0}
.m50-actions{display:flex;gap:10px;flex-wrap:wrap}
.m50-editor,.m50-filters,.m50-list{border:1px solid var(--border,#dfe4eb);border-radius:14px;padding:18px;background:var(--card,#fff);min-width:0}
.m50-editor[hidden]{display:none!important}
.m50-editor h3{margin:0 0 15px}
.m50-form,.m50-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}
.m50-form label,.m50-filters label{display:grid;gap:6px;min-width:0;font-size:12px;font-weight:700}
.m50-form input,.m50-form select,.m50-filters input,.m50-filters select,.m50-summary select{min-width:0;width:100%;height:42px;border:1px solid var(--border,#d8dfe8);border-radius:9px;padding:7px 10px;background:var(--card,#fff);color:var(--text,#182337)}
.m50-form .m50-submit{display:flex;gap:8px;flex-wrap:wrap;grid-column:span 3}.m50-form .form-error{grid-column:1/-1}
.m50-search{grid-column:span 1}
.m50-summary,.m50-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px;font-size:13px}
.m50-summary label{display:flex;align-items:center;gap:8px}.m50-summary select{width:86px}
.m50-tablewrap{overflow-x:auto;max-width:100%;border:1px solid var(--border,#dfe4eb);border-radius:11px}
.m50-table{width:100%;border-collapse:collapse;min-width:830px}.m50-table th,.m50-table td{text-align:left;padding:11px 13px;vertical-align:middle;border-bottom:1px solid var(--border,#dfe4eb)}.m50-table td{font-size:13px}.m50-table td:first-child{font-weight:650}
.m50-empty{text-align:center!important;padding:28px!important}.m50-foot{margin:14px 0 0}.m50-foot>div{display:flex;gap:8px}
html[data-theme=dark] .m50-editor,html[data-theme=dark] .m50-filters,html[data-theme=dark] .m50-list{background:#1c1f24;border-color:#373e48;color:#f1f3f7}
html[data-theme=dark] .m50-form input,html[data-theme=dark] .m50-form select,html[data-theme=dark] .m50-filters input,html[data-theme=dark] .m50-filters select,html[data-theme=dark] .m50-summary select{background:#121417;color:#f3f5fa;border-color:#434c58}
html[data-theme=dark] .m50-tablewrap,html[data-theme=dark] .m50-table th,html[data-theme=dark] .m50-table td{border-color:#373e48}
@media(max-width:1150px){.m50-form,.m50-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.m50-form,.m50-filters{grid-template-columns:1fr}.m50-form .m50-submit{grid-column:auto}.m50-head{align-items:start}.m50-editor,.m50-filters,.m50-list{padding:12px}}
