/* Rapor SMP v6.3 — Professional data table controls (all workspaces) */
.tableui-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:16px 0 10px;padding:12px 15px;background:linear-gradient(115deg,#f8fbff,#f3f8fd);border:1px solid #dfebf5;border-radius:14px;color:#3a5877;font-size:.81rem;box-shadow:0 3px 12px rgba(24,66,111,.035)}
.tableui-toolbar label{display:flex;align-items:center;gap:9px;font-weight:700;white-space:nowrap}.tableui-toolbar .field{border:1px solid #cadbec;background:white;border-radius:10px;font-size:.84rem;padding:8px 10px;min-height:36px;color:#244567}.tableui-size select{min-width:92px}.tableui-search{flex:1;min-width:180px;max-width:330px}.tableui-search input{flex:1;min-width:120px;width:100%;font-weight:400}.tableui-nav{display:flex;gap:9px;align-items:center;white-space:nowrap;color:#526b84}.tableui-nav .btn{min-width:34px;min-height:34px;font-weight:800;border:1px solid #d7e4f0;background:#fff;padding:5px 10px;border-radius:9px}.tableui-nav [data-tableui="count"]{font-weight:700;color:#28527e}.tableui-nav .btn:disabled{opacity:.35;cursor:not-allowed}.tableui-toolbar :focus-visible{outline:2px solid #2786cc;outline-offset:2px}
.registry-selectionbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0;padding:11px 14px;border-radius:13px;border:1px solid #dce8f3;background:#f7fbff}.registry-selectionbar .registry-selected-count{font-weight:700;color:#295579;margin-right:auto}.registry-selectionbar .btn{font-size:.82rem}.registry-selectionbar .registry-danger{background:#fff5f5;color:#ac363a;border-color:#ebc5c7}.registry-selectionbar .registry-danger:hover:not(:disabled){background:#fce8e8}.registry-selectionbar .btn:disabled{opacity:.45;cursor:not-allowed}
.registry-rowselect{width:18px;height:18px;cursor:pointer;accent-color:#3182c7}.registry-selectionbar .mini{flex-basis:100%;margin:0}.registry-editor{scroll-margin-top:26px}
.s6-pick{width:18px;height:18px;accent-color:#3182c7;cursor:pointer}.s6-batchbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0}.s6-batchbar .mini{flex:1;min-width:185px}.s6-batchbar .btn{border:1px solid #dce6f0;border-radius:10px;font-size:.79rem}.s6-batchbar .s6-clear{color:#a5493d;background:#fff6f3;border-color:#f1d6cf}.s6-batchbar .s6-clear:hover{background:#ffe9e3}.s6-batchbar .s6-clear:disabled{opacity:.5}
.data-table tbody tr:focus-within{outline:2px solid #93c5ef;outline-offset:-2px}.data-table tbody tr:hover{background:#f7fbff}
@media(max-width:780px){.tableui-toolbar{align-items:stretch}.tableui-search{max-width:none;width:100%}.tableui-nav{width:100%;justify-content:space-between}.tableui-toolbar label{white-space:normal}.registry-selectionbar .registry-selected-count{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.tableui-toolbar *{scroll-behavior:auto}}

/* Rombel/academic: batch actions stay below the table, not inside the scroll area. */
.mr-selectionbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0;padding:12px 14px;border:1px solid #dce9f3;border-radius:13px;background:linear-gradient(100deg,#f7fbff,#f4fafb)}
.mr-selectionbar .mini{flex:1;min-width:175px;font-weight:600;color:#315b78}
.mr-selectionbar .btn{font-size:.8rem;padding:9px 12px;border-radius:10px;border:1px solid #d2e3ef;background:white;white-space:nowrap}
.mr-selectionbar .mr-selection-danger{background:#fff7f5;color:#a43d3c;border-color:#f0cecb}
.mr-selectionbar .mr-selection-danger:hover:not(:disabled){background:#fce9e5}
.mr-selectionbar .btn:disabled{opacity:.48;cursor:not-allowed}
.mr-rowpick{height:18px;width:18px;accent-color:#3182c7;cursor:pointer}
.mr-rowpick:disabled{cursor:not-allowed;opacity:.4}
.mr-grades th:first-child,.mr-grades td:first-child,.mr-formative-layout th:first-child,.mr-formative-layout td:first-child{min-width:42px;text-align:center}
.tableui-toolbar{position:relative;z-index:1}
.tableui-toolbar .tableui-size select{cursor:pointer}
.tableui-nav [data-tableui="page"]{font-variant-numeric:tabular-nums}
.data-table tbody tr:has(.mr-rowpick:checked),.data-table tbody tr:has(.s6-pick:checked),.data-table tbody tr:has(.registry-rowselect:checked){background:#edf7ff}
@media(max-width:600px){.mr-selectionbar{align-items:stretch}.mr-selectionbar .mini{flex-basis:100%}.mr-selectionbar .btn{flex:1}}
