.mg-danger{background:#a43c36!important;color:#fff!important;border-color:#a43c36!important}.mg-danger:hover{background:#8d302c!important}.mg-danger-text{color:#a43c36!important}.mg-impact-head{display:flex;align-items:center;gap:13px;margin-bottom:18px}.mg-impact-head .eyebrow{margin:0 0 4px}.mg-impact-head h3{font-size:19px;line-height:1.4;margin:0}.mg-description{font-size:13px;line-height:1.8;color:var(--muted);margin:14px 0}.mg-impact-list{font-size:12px;line-height:1.8;padding-left:21px;margin:15px 0 20px}.mg-impact-list li+li{margin-top:7px}.mg-history-note{font-size:11px;line-height:1.8}.mg-confirm-check{align-items:flex-start;font-size:12px;line-height:1.6;margin:18px 0}.mg-confirm-check input{margin-top:3px}.mg-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.mg-counts>div{border:1px solid var(--line);border-radius:12px;padding:18px 22px;background:#fff}.mg-counts strong{font-size:26px;color:var(--green-dark);display:block;margin-bottom:3px}.mg-counts span{font-size:11px;color:var(--muted)}.mg-scope-note{line-height:1.8;font-size:12px}.mg-scope-note b{display:block}.mg-roster-filters{display:flex;gap:12px;align-items:flex-end;border-bottom:1px solid var(--line);padding-bottom:18px;flex-wrap:wrap}.mg-roster-filters .field{margin:0;min-width:140px}.mg-roster-filters .field:nth-child(2){flex:1}.mg-roster-filters .field label{font-size:11px}.mg-roster-filters input,.mg-roster-filters select{font-size:12px}.mg-roster-filters .btn{white-space:nowrap}.mg-student-row{display:flex;gap:15px;align-items:flex-start;padding:22px 0;border-bottom:1px solid var(--line)}.mg-student-row:last-child{border:0;padding-bottom:0}.mg-student-row>.avatar{flex-shrink:0}.mg-student-main{flex:1;min-width:150px}.mg-student-main h4{font-size:14px;margin:0 0 4px}.mg-student-main p{font-size:11px;color:var(--muted);margin:0 0 9px}.mg-row-actions{display:flex;align-items:flex-end;flex-direction:column;gap:6px;max-width:250px}.mg-row-actions>small{font-size:10px;color:var(--muted);line-height:1.7;text-align:right;max-width:240px}.mg-branch-wrap{border-top:1px solid var(--line);padding-bottom:14px}.mg-branch-wrap:first-of-type{border-top:0}.mg-branch-wrap .af-branch-row{border-top:0;padding-bottom:10px}.mg-branch-actions{display:flex;gap:5px;margin-left:48px}.mg-branch-actions .btn{padding:6px 9px;font-size:10px}.af-user-table .mg-danger-text .icon{width:13px;height:13px}.mg-roster .card-header{align-items:flex-start}.mg-roster .card-header small{display:block;margin-top:5px}.mg-roster .card-header .total-chip{white-space:nowrap}.mg-edit-delete-actions{display:flex;gap:5px;flex-wrap:wrap}
@media(max-width:760px){.mg-student-row{flex-wrap:wrap;gap:10px}.mg-student-main{min-width:0}.mg-row-actions{flex-direction:row;align-items:center;flex-wrap:wrap;max-width:none;width:100%;margin-left:49px}.mg-row-actions>small{max-width:none;flex-basis:100%;text-align:left}.mg-counts{gap:8px}.mg-counts>div{padding:14px}.mg-counts strong{font-size:23px}.mg-roster-filters .field{min-width:135px;flex:1}.mg-roster-filters .field:nth-child(2){min-width:150px}.mg-roster .card-header{gap:10px}}
@media(max-width:480px){.mg-counts>div{padding:13px 10px}.mg-counts span{font-size:10px}.mg-roster-filters .field{flex-basis:100%}.mg-row-actions{margin-left:0;gap:5px}.mg-row-actions .btn{font-size:10px}.mg-student-row>.avatar{width:32px;height:32px;font-size:11px}.mg-roster .card-header{flex-wrap:wrap}.mg-impact-head h3{font-size:17px}}
