.reviewLauncher {
  width: 100%;
  margin-top: 12px;
  background: #111;
  color: #fff;
  border: 2px solid #111;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}
.reviewLauncher:hover {
  background: #2a2a2a;
}
.reviewCount {
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fdc708;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.reviewModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  z-index: 9999;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reviewModal.hidden {
  display: none;
}
.reviewDialog {
  width: min(1020px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border: 4px solid #fdc708;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
.reviewHeader {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #111;
  color: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.reviewHeader h2 {
  margin: 0;
  font-size: 24px;
}
.reviewHeader p {
  margin: 5px 0 0;
  color: #ddd;
}
.reviewClose {
  border: 0;
  background: #fdc708;
  color: #000;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}
.reviewBody {
  padding: 18px;
}
.moduleTabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-bottom: 16px;
}
.moduleTab {
  border: 2px solid #111;
  background: #fff;
  border-radius: 12px;
  padding: 11px 8px;
  font-weight: 900;
  cursor: pointer;
}
.moduleTab.active {
  background: #fdc708;
}
.reviewSummary {
  background: #fff8d6;
  border-left: 6px solid #fdc708;
  border-radius: 12px;
  padding: 13px 15px;
  margin-bottom: 14px;
  font-weight: 800;
}
.errorList {
  display: grid;
  gap: 12px;
}
.errorCard {
  border: 2px solid #ddd;
  border-radius: 15px;
  padding: 14px;
  background: #fff;
}
.errorCard.pending {
  border-left: 8px solid #d32f2f;
}
.errorCard.corrected {
  border-left: 8px solid #17823b;
}
.errorTop {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.errorNumber {
  font-size: 18px;
  font-weight: 950;
}
.errorStatus {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
  background: #fdebea;
  color: #9d1111;
}
.corrected .errorStatus {
  background: #e5f7ec;
  color: #146c31;
}
.errorQuestion {
  font-weight: 800;
  margin: 10px 0;
}
.errorDetail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  font-size: 14px;
}
.errorDetail div {
  background: #f6f6f6;
  border-radius: 10px;
  padding: 9px;
}
.errorExplanation {
  margin-top: 9px;
  background: #fff8d6;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
}
.errorActions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 13px;
}
.errorActions button,
.reviewTools button {
  border: 0;
  border-radius: 10px;
  padding: 10px 13px;
  font-weight: 900;
  cursor: pointer;
}
.goError {
  background: #fdc708;
}
.removeError {
  background: #eee;
}
.reviewTools {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.emptyErrors {
  text-align: center;
  padding: 28px 15px;
  background: #f7f7f7;
  border-radius: 14px;
  color: #555;
  font-weight: 800;
}
@media (max-width: 700px) {
  .moduleTabs {
    grid-template-columns: 1fr 1fr;
  }
  .errorDetail {
    grid-template-columns: 1fr;
  }
  .reviewHeader {
    position: static;
  }
  .reviewDialog {
    max-height: 95vh;
  }
}
@media print {
  body > * {
    display: none !important;
  }
  .reviewModal {
    display: block !important;
    position: static;
    background: #fff;
    padding: 0;
  }
  .reviewDialog {
    border: 0;
    box-shadow: none;
    max-height: none;
    width: 100%;
  }
  .reviewHeader {
    position: static;
  }
  .reviewClose,
  .moduleTabs,
  .reviewTools,
  .errorActions {
    display: none !important;
  }
}
