/* СКГА Портфолио 5.3.9.58.32 */
.ms32 { gap: 14px; }
.ms32 .ms31-head { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; border: 1px solid var(--border,#dce2e9); border-radius: 14px; background: var(--card,#fff); }
.ms32 .ms31-head h2 { margin: 0; font-size: clamp(19px,2vw,23px); line-height: 1.25; }
.ms32 .ms31-head .portfolio-kicker { font-size: 10px; letter-spacing: .08em; }
.ms32 .ms31-head .muted { line-height: 1.45; font-size: 12px; }
.ms32 .ms31-filters { grid-template-columns: minmax(180px, 1.7fr) minmax(155px,1fr) minmax(175px,1.2fr) auto; gap: 12px; padding: 14px; border-radius: 14px; }
.ms32 .ms31-filters label { font-size: 12px; gap: 6px; }
.ms32 .ms31-filters input,.ms32 .ms31-filters select,.ms32 .ms31-filters button { min-height: 42px; height: 42px; border-radius: 9px; }
.ms32 .ms31-toolbar { display:flex; gap: 10px; align-items:center; justify-content:space-between; margin: 2px 0; }
.ms32-actions { display:flex; align-items:center; justify-content:flex-end; gap: 8px; flex-wrap:wrap; }
.ms32-actions button { min-height: 38px; border-radius: 9px; white-space: nowrap; }
.ms32-actions button:disabled { opacity: .5; cursor: not-allowed; }
.ms32 #ms31State { color:var(--muted,#64748b); font-size: 12px; }
.ms32 .ms31-tablewrap { border-radius: 14px; padding: 6px 14px 12px; }
.ms32 .ms31-table th { font-size:12px; font-weight:700; }
.ms32 .ms31-table td { font-size:13px; line-height:1.45; padding:11px 12px; }
.ms32 .ms31-table tbody tr:hover { background:rgba(128,140,158,.075); }
.ms32 .ms31-footer { padding-top: 8px; }
.ms32 #ms31Progress { margin-top: 0; padding: 8px 0; overflow-wrap:anywhere; }
html[data-theme="dark"] .ms32 .ms31-head,
html[data-theme="dark"] .ms32 .ms31-filters,
html[data-theme="dark"] .ms32 .ms31-tablewrap { background:#1d2025; border-color:#353b45; color:#edf1f7; }
html[data-theme="dark"] .ms32 .ms31-filters label,
html[data-theme="dark"] .ms32 .ms31-head h2 { color:#f0f3f8; }
html[data-theme="dark"] .ms32 .ms31-filters input,
html[data-theme="dark"] .ms32 .ms31-filters select { color:#f0f3f8; background:#121417; border-color:#404755; }
html[data-theme="dark"] .ms32 .ms31-filters input::placeholder { color:#a4aec0; }
html[data-theme="dark"] .ms32 #ms31State {color:#b9c5d5;}
@media(max-width:1000px){.ms32 .ms31-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }.ms32 .ms31-toolbar { align-items:flex-start; flex-direction:column; }.ms32-actions {justify-content:flex-start;} }
@media(max-width:620px){.ms32 .ms31-filters { grid-template-columns:minmax(0,1fr); }.ms32 .ms31-filters button { width:100%; }.ms32-actions {width:100%;}.ms32-actions button {width:100%;white-space:normal;} .ms32 .ms31-tablewrap {padding:4px 8px 10px;} }

/* MY STUDENTS MOBILE FIX 539633 — actual my-students-5395832.css */
@media (max-width:760px) {
 html,body {max-width:100%;overflow-x:hidden!important}
 #content,#content .ms31,#content .ms32,#content .ms31 * ,#content .ms32 * {box-sizing:border-box;min-width:0}
 #content {max-width:100%!important;overflow-x:clip!important}
 #content .ms31,#content .ms32 {display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0 12px 20px!important;overflow:visible!important}
 #content .ms31-head {width:100%!important;min-width:0!important;margin:12px 0!important;padding:18px 16px!important;text-align:left!important}
 #content .ms31-head h2 {font-size:24px!important;line-height:1.2!important;text-align:left!important;margin:6px 0 8px!important}
 #content .ms31-head p {font-size:14px!important;line-height:1.5!important;margin:0!important;text-align:left!important}
 #content .ms31-filters {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%!important;min-width:0!important;margin:0 0 12px!important;padding:15px!important}
 #content .ms31-filters label {display:block!important;width:100%!important;min-width:0!important;margin:0!important}
 #content .ms31-filters input,#content .ms31-filters select,#content #ms31Search,#content #ms31Group,#content #ms31Disc {display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:48px!important;margin-top:6px!important;font-size:16px!important;border-radius:11px!important}
 #content #ms31Reset {width:100%!important;min-height:46px!important;margin:0!important}
 #content .ms31-toolbar {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;width:100%!important;min-width:0!important;margin:10px 0 12px!important;padding:0!important}
 #content #ms31State {display:block!important;width:100%!important;margin:0!important;font-size:13px!important;line-height:1.45!important;overflow-wrap:anywhere!important}
 #content .ms32-actions {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
 #content .ms31-toolbar button,#content .ms32-actions button,#content #ms31GroupSend,#content #ms32AllSend {display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:46px!important;margin:0!important;padding:11px 12px!important;white-space:normal!important;line-height:1.35!important;border-radius:11px!important}
 #content #ms31Result,#content #ms31Result>*,#content .ms31-tablewrap,#content .ms32-tablewrap {display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;overflow:visible!important}
 #content #ms31Result .card,#content #ms31Result>.card,#content #ms31Result .ms31-tablewrap,#content #ms31Result .ms32-tablewrap {padding:10px!important;border-radius:14px!important}
 #content #ms31Result table,#content .ms31 table,#content .ms32 table {display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;overflow:visible!important}
 #content #ms31Result table thead,#content .ms31 table thead,#content .ms32 table thead {display:none!important}
 #content #ms31Result table tbody,#content .ms31 table tbody,#content .ms32 table tbody {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%!important;min-width:0!important}
 #content #ms31Result table tbody tr,#content .ms31 table tbody tr,#content .ms32 table tbody tr {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:0 12px!important;position:relative!important;width:100%!important;min-width:0!important;margin:0!important;padding:12px 12px 10px 44px!important;border:1px solid var(--border,#343943)!important;border-radius:13px!important;background:var(--surface,#1b1e23)!important;overflow:hidden!important}
 #content #ms31Result table tbody td,#content .ms31 table tbody td,#content .ms32 table tbody td {display:block!important;width:auto!important;min-width:0!important;max-width:100%!important;padding:7px 0!important;border:0!important;background:transparent!important;font-size:13px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important}
 #content #ms31Result table tbody td:first-child,#content .ms31 table tbody td:first-child,#content .ms32 table tbody td:first-child {position:absolute!important;top:12px!important;left:11px!important;padding:0!important}
 #content #ms31Result table tbody td:first-child input[type=checkbox],#content .ms31 table tbody td:first-child input[type=checkbox],#content .ms32 table tbody td:first-child input[type=checkbox] {width:22px!important;height:22px!important;margin:0!important;accent-color:#8b1717}
 #content #ms31Result table tbody td:nth-child(2),#content .ms31 table tbody td:nth-child(2),#content .ms32 table tbody td:nth-child(2) {grid-column:1/-1!important;padding:1px 0 10px!important;margin:0 0 3px!important;border-bottom:1px solid var(--border,#343943)!important;font-size:15px!important;font-weight:700!important;line-height:1.4!important}
 #content #ms31Result table tbody td:nth-child(3)::before,#content .ms31 table tbody td:nth-child(3)::before,#content .ms32 table tbody td:nth-child(3)::before {content:"Группа";display:block;margin-bottom:3px;color:var(--muted,#9ca3af);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
 #content #ms31Result table tbody td:nth-child(4)::before,#content .ms31 table tbody td:nth-child(4)::before,#content .ms32 table tbody td:nth-child(4)::before {content:"№ зачётки";display:block;margin-bottom:3px;color:var(--muted,#9ca3af);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
 #content #ms31Result table tbody td:last-child {grid-column:1/-1!important;padding-top:8px!important}
 #content #ms31Result table tbody td:last-child button,#content .ms31 table tbody td:last-child button,#content .ms32 table tbody td:last-child button {width:100%!important;min-height:42px!important;margin:0!important}
 #content .ms31-pager,#content #ms31Result .pager {display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:8px!important;width:100%!important;margin:12px 0!important}
 #content .ms31-pager button,#content #ms31Result .pager button {min-width:0!important;min-height:44px!important;padding:8px!important;white-space:normal!important}
}
@media(max-width:390px) {
 #content .ms31,#content .ms32 {padding-left:9px!important;padding-right:9px!important}
 #content #ms31Result table tbody tr,#content .ms31 table tbody tr,#content .ms32 table tbody tr {grid-template-columns:minmax(0,1fr)!important}
 #content #ms31Result table tbody td:nth-child(2),#content .ms31 table tbody td:nth-child(2),#content .ms32 table tbody td:nth-child(2),#content #ms31Result table tbody td:last-child {grid-column:1!important}
}
