/* v13.14.0: Bulk upload (admins, Courses) */
#modal-root .modal.bu-modal{width:min(1100px,96vw);max-width:96vw}
.bu .mono{font-family:ui-monospace,Consolas,Menlo,monospace}
.bu-warn{color:#BE123C;font-weight:700}
.bu-tabs{display:flex;align-items:center;gap:6px;border-bottom:2px solid #E7E1FA;margin:0 0 12px}
.bu-tab{border:0;background:none;padding:8px 12px;font-weight:800;color:#6B6390;cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px}
.bu-tab.on{color:#5B21B6;border-bottom-color:#7C3AED}
.bu-guide{margin-left:auto;font-weight:700}
.bu-drop{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;padding:22px;border:2px dashed #C4B5FD;border-radius:14px;background:#FAF8FF;text-align:center}
.bu-drop.over{background:#F0EAFF;border-color:#7C3AED}
.bu-picks{display:inline-flex;gap:6px}
.bu-prog{margin:14px 0}
.bu-bar{height:10px;border-radius:999px;background:#EDE9FE;overflow:hidden}
.bu-bar i{display:block;height:100%;background:linear-gradient(90deg,#7C3AED,#C026D3);transition:width .3s}
.bu-notes{margin:12px 0 0;padding:8px 12px;border:2px solid #FDE68A;background:#FFFBEB;border-radius:12px}
.bu-sum{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
.bu-f{border:2px solid #E7E1FA;background:#fff;border-radius:999px;padding:4px 12px;font-weight:700;cursor:pointer;font-size:.9rem}
.bu-f.on{border-color:#7C3AED;background:#F0EAFF;color:#5B21B6}
.bu-week{border:2px solid #E7E1FA;border-radius:12px;margin:0 0 8px;padding:6px 12px;background:#fff}
.bu-week>summary{cursor:pointer;padding:4px 0}
.bu-subj h4{margin:10px 0 4px;color:#4C1D95}
.bu-table{width:100%;table-layout:fixed}
.bu-table td:nth-child(2){width:34%;overflow-wrap:anywhere}
.bu-table td:nth-child(3){width:130px}
.bu-table td{vertical-align:top}
.bu-type{font-weight:900;color:#5B21B6;width:70px}
.bu-chip{display:inline-block;padding:1px 10px;border-radius:999px;font-weight:800;font-size:.78rem;white-space:nowrap;border:2px solid}
.bu-new{background:#ECFDF5;color:#065F46;border-color:#A7F3D0}
.bu-overwrite{background:#FEF3C7;color:#92400E;border-color:#FCD34D}
.bu-unchanged{background:#F3F4F6;color:#4B5563;border-color:#E5E7EB}
.bu-invalid{background:#FFE4E6;color:#BE123C;border-color:#FDA4AF}
.bu-missing{background:#EFF6FF;color:#1E40AF;border-color:#BFDBFE}
.bu-r-invalid td{background:#FFF7F8}
.bu-tag{display:inline-block;padding:0 8px;border-radius:999px;background:#F0EAFF;color:#5B21B6;font-size:.72rem;font-weight:800}
.bu-probs{margin:4px 0 0;padding-left:18px}
.bu-probs li{margin:2px 0;color:#9F1239}
.bu-fix{display:block;color:#3F3A5A}
.bu-rule{display:inline-block;font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:#9CA3AF}
.bu-warns summary{cursor:pointer;color:#92400E}
.bu-skip{margin:10px 0}
.bu-foot{position:sticky;bottom:0;display:flex;align-items:center;gap:10px;justify-content:space-between;margin-top:12px;padding:10px 0 2px;background:#fff;border-top:2px solid #E7E1FA;box-shadow:0 24px 0 #fff;z-index:2}
@media (max-width:700px){.bu-type{width:auto}.bu-foot{flex-direction:column;align-items:stretch}}
/* v13.15.0: import results and history */
.bu-res-importing{background:#F0EAFF;color:#5B21B6;border-color:#C4B5FD}
.bu-res-created{background:#ECFDF5;color:#065F46;border-color:#6EE7B7}
.bu-res-updated{background:#FEF3C7;color:#92400E;border-color:#FCD34D}
.bu-res-unchanged{background:#F3F4F6;color:#4B5563;border-color:#E5E7EB}
.bu-res-failed{background:#FFE4E6;color:#BE123C;border-color:#FDA4AF}
.bu-res-rolled_back{background:#E0F2FE;color:#075985;border-color:#7DD3FC}
.bu-msg{display:inline-block;margin-bottom:2px}
.bu-hist td{vertical-align:middle}
