.exam-matrix .col-category {
  position: sticky;
  left: 62px;
  z-index: 3;
  background: #fff;
}

.exam-matrix th.col-category {
  z-index: 8;
  background: #ededf0;
}

.exam-matrix .col-test {
  position: sticky;
  left: 212px;
  z-index: 3;
  background: #fff;
  box-shadow: 4px 0 8px #0000000a;
}

.exam-matrix th.col-test {
  z-index: 8;
  background: #ededf0;
}

.exam-matrix .section-row .col-stt,
.exam-matrix .section-row .col-category,
.exam-matrix .section-row .col-test {
  background: #f5f5f7;
}

@media (max-width: 700px) {
  .exam-matrix .col-category { position: static; }
  .exam-matrix .col-test { left: 62px; }
}

.level-badge {
  display: inline-flex;
  min-width: 54px;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 800;
  background: #f0f0f2;
  color: #6e6e73;
}

.level-green { color: var(--green); background: #eef9f2; }
.level-orange { color: var(--orange); background: #fff7e8; }
.level-red { color: var(--red); background: #fff0ef; }

.upload strong { font-size: 15px; color: #1d1d1f; }
.upload-summary { margin: 12px 0; font-size: 13px; font-weight: 700; color: #48484a; }
.upload-queue { display: grid; gap: 10px; }
.upload-item { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 12px; border: 1px solid #e2e2e6; border-radius: 13px; padding: 10px; background: #fff; }
.upload-item.upload-success { border-color: #9ed8b4; background: #fbfffc; }
.upload-item.upload-warning,.upload-item.upload-error { border-color: #efb0aa; background: #fffafa; }
.upload-preview { width: 76px; height: 76px; overflow: hidden; border-radius: 10px; background: #f0f0f2; display: grid; place-items: center; }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.upload-file-icon { font-size: 11px; font-weight: 800; color: #86868b; }
.upload-item-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.upload-item-head span { min-width: 0; }
.upload-item-head strong,.upload-item-head small { display: block; overflow-wrap: anywhere; }
.upload-item-head small { color: #86868b; margin-top: 2px; }
.upload-item-head b { flex: 0 0 auto; color: #007aff; font-size: 11px; }
.upload-warning .upload-item-head b,.upload-error .upload-item-head b,.upload-error { color: var(--red); }
.upload-progress { height: 5px; border-radius: 9px; background: #e8e8ed; margin: 9px 0; overflow: hidden; }
.upload-progress i { display: block; height: 100%; background: #0a84ff; transition: width .2s ease; }
.upload-success .upload-progress i { background: var(--green); }
.upload-error { margin: 6px 0; font-size: 12px; }
.upload-extraction { margin-top: 9px; padding: 10px; border-radius: 9px; background: #f5f5f7; font-size: 12px; color: #48484a; }
.upload-extraction p { margin: 0 0 6px; }
.upload-extraction ul { margin: 7px 0; padding-left: 18px; }
.upload-extraction li { margin: 4px 0; }
.upload-extraction li span { margin-left: 7px; }
.upload-extraction small { color: #86868b; }
.retry-upload { border: 0; border-radius: 8px; padding: 7px 10px; background: #ffe8e5; color: var(--red); font-weight: 750; cursor: pointer; }
@media(max-width:620px){.upload-item{grid-template-columns:58px minmax(0,1fr)}.upload-preview{width:58px;height:58px}.upload-item-head{display:grid}.upload-item-head b{justify-self:start}}
