/* СКГА 5.3.9.58.19: локальные цвета и фильтры истории успеваемости */
.ar5819{color:#182230;font-size:14px}
.ar5819 .modal-title h2{color:inherit}
.ar5819-summary{border:1px solid #dce1e8;border-radius:16px;padding:16px 18px;margin:10px 0 14px;background:#fff}
.ar5819-description{color:#526070;margin-bottom:12px}
.ar5819-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ar5819-stats span{display:block;color:#667085;font-size:12px}.ar5819-stats strong{display:block;font-size:26px;margin-top:4px;color:#182230}
.ar5819-toolbar{display:grid;grid-template-columns:1.5fr 1fr .75fr 1fr;gap:9px;margin-bottom:12px}
.ar5819-toolbar label,.ar5819-bar label{font-size:12px;color:#475467;font-weight:600}
.ar5819-toolbar input,.ar5819-toolbar select,.ar5819-bar select{display:block;width:100%;margin-top:5px;min-width:0;max-width:100%;font-size:13px;padding:9px 10px;border:1px solid #cfd6df;border-radius:9px;background:#fff;color:#182230}
.ar5819-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;color:#526070;font-size:12px}.ar5819-bar label{display:flex;align-items:center;gap:8px}.ar5819-bar select{margin-top:0}
.ar5819-scroll{max-height:52vh;overflow:auto;border:1px solid #dce1e8;border-radius:12px;background:#fff}
.ar5819-table{border-collapse:collapse;width:100%;min-width:540px;color:#182230!important;background:#fff!important;font-size:13px;line-height:1.45}
.ar5819-table thead{position:sticky;top:0;z-index:1;background:#f2f5f9}
.ar5819-table th{color:#475467!important;background:#f2f5f9!important;text-align:left;font-weight:700;font-size:12px}
.ar5819-table th,.ar5819-table td{padding:11px 12px!important;border-bottom:1px solid #e7ebf0;vertical-align:middle;color:#182230!important;opacity:1!important;transform:none!important;text-shadow:none!important}
.ar5819-table tbody tr:hover{background:#f8fafc}.ar5819-table b{font-weight:650;color:#182230!important}.ar5819-table small{display:block;font-size:11px;color:#667085!important;margin-top:3px}
.ar5819-grade{display:inline-flex;align-items:center;justify-content:center;min-width:28px;border-radius:18px;padding:5px 9px;font-size:12px;font-weight:650;color:#14532d!important;background:#dcfce7}
.ar5819-grade-fail{color:#991b1b!important;background:#fee2e2}.ar5819-empty{text-align:center;padding:25px!important}
body.dark .ar5819,body.theme-dark .ar5819,[data-theme="dark"] .ar5819{color:#e9eef5}
body.dark .ar5819-summary,body.theme-dark .ar5819-summary,[data-theme="dark"] .ar5819-summary{background:#20252d;border-color:#3c4654}
body.dark .ar5819-stats strong,body.theme-dark .ar5819-stats strong,[data-theme="dark"] .ar5819-stats strong{color:#f1f5f9}
body.dark .ar5819-scroll,body.theme-dark .ar5819-scroll,[data-theme="dark"] .ar5819-scroll{background:#20252d;border-color:#3c4654}
body.dark .ar5819-table,body.theme-dark .ar5819-table,[data-theme="dark"] .ar5819-table{background:#20252d!important;color:#f1f5f9!important}
body.dark .ar5819-table td,body.theme-dark .ar5819-table td,[data-theme="dark"] .ar5819-table td,body.dark .ar5819-table b,body.theme-dark .ar5819-table b,[data-theme="dark"] .ar5819-table b{color:#f1f5f9!important}
body.dark .ar5819-table th,body.theme-dark .ar5819-table th,[data-theme="dark"] .ar5819-table th{color:#d3dce7!important;background:#303844!important}
body.dark .ar5819-table small,body.theme-dark .ar5819-table small,[data-theme="dark"] .ar5819-table small{color:#aab7c7!important}
body.dark .ar5819-table tbody tr:hover,body.theme-dark .ar5819-table tbody tr:hover,[data-theme="dark"] .ar5819-table tbody tr:hover{background:#2d3541}
body.dark .ar5819-toolbar input,body.dark .ar5819-toolbar select,body.dark .ar5819-bar select,body.theme-dark .ar5819-toolbar input,body.theme-dark .ar5819-toolbar select,body.theme-dark .ar5819-bar select,[data-theme="dark"] .ar5819-toolbar input,[data-theme="dark"] .ar5819-toolbar select,[data-theme="dark"] .ar5819-bar select{background:#20252d;color:#f1f5f9;border-color:#4b5563}
@media(max-width:680px){.ar5819-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.ar5819-summary{padding:12px}.ar5819-scroll{max-height:55vh}.ar5819-stats strong{font-size:22px}}
