.report-qa-screen {
  min-height: calc(100vh - 74px);
  padding: 24px;
  color: #172033;
  background:
    radial-gradient(circle at 10% 5%, rgba(55, 198, 173, 0.18), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(83, 144, 255, 0.15), transparent 30%),
    #f4f8fb;
}

.report-qa-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  max-width: 1680px;
  margin: 0 auto 20px;
  padding: 22px 26px;
  border: 1px solid rgba(149, 167, 188, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(34, 60, 88, 0.09);
}

.report-qa-header .section-kicker {
  margin: 0 0 6px;
  color: #0a7769;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.report-qa-header h2 {
  margin: 0;
  color: #10243a;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
}

.report-qa-header p:last-child {
  max-width: 780px;
  margin: 9px 0 0;
  color: #66758a;
  line-height: 1.55;
}

.report-qa-header-actions {
  display: none;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.report-qa-screen.has-review .report-qa-header-actions {
  display: flex;
}

.report-qa-header-actions button,
.report-qa-upload-actions button,
.report-qa-document-toolbar button,
.report-qa-filter-bar button,
.report-qa-detail-actions button,
.report-qa-detail-head button,
.report-qa-tab-bar button,
.report-qa-map-panel header button,
.report-qa-comment-popover button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #cdd8e6;
  border-radius: 11px;
  background: #fff;
  color: #34445a;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: 150ms ease;
}

.report-qa-header-actions button:hover,
.report-qa-upload-actions button:hover,
.report-qa-document-toolbar button:hover,
.report-qa-filter-bar button:hover,
.report-qa-detail-actions button:hover,
.report-qa-detail-head button:hover,
.report-qa-tab-bar button:hover,
.report-qa-map-panel header button:hover,
.report-qa-comment-popover button:hover {
  border-color: #6da49c;
  color: #075f55;
  transform: translateY(-1px);
}

.report-qa-header-actions button.primary,
.report-qa-upload-actions button.primary {
  border-color: #087f70;
  background: linear-gradient(135deg, #0a8a79, #087066);
  color: #fff;
  box-shadow: 0 9px 20px rgba(8, 127, 112, 0.2);
}

.report-qa-upload-stage {
  display: grid;
  min-height: calc(100vh - 230px);
  place-items: start center;
  padding: 34px 18px 70px;
}

.report-qa-upload-shell {
  width: min(1160px, 100%);
  padding: 38px;
  border: 1px solid rgba(144, 162, 184, 0.25);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(29, 56, 83, 0.13);
}

.report-qa-upload-heading {
  margin-bottom: 24px;
  text-align: center;
}

.report-qa-step-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #e5f7f2;
  color: #0a7769;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.report-qa-upload-heading h3 {
  margin: 13px 0 7px;
  color: #12283f;
  font-size: clamp(24px, 3.4vw, 34px);
}

.report-qa-upload-heading p {
  max-width: 680px;
  margin: 0 auto;
  color: #68788d;
  line-height: 1.6;
}

.report-qa-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.report-qa-source-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #dbe6ef;
  border-radius: 20px;
  background: #fbfdff;
}

.report-qa-source-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #18354b;
}

.report-qa-source-heading > div {
  display: grid;
  gap: 2px;
}

.report-qa-source-heading strong {
  font-size: 15px;
}

.report-qa-source-heading small {
  color: #718296;
  font-size: 11px;
}

.report-qa-source-number {
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: #e2efff;
  color: #0967d9;
  font-size: 13px;
  font-weight: 900;
}

.report-qa-drop-zone {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 245px;
  padding: 28px;
  border: 2px dashed #9bb7c8;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(234, 249, 245, 0.84), rgba(239, 246, 255, 0.84)),
    #f8fbfd;
  text-align: center;
  cursor: pointer;
  transition: 180ms ease;
}

.report-qa-drop-zone-secondary {
  border-color: #b7c8dd;
  background: linear-gradient(145deg, #f4f8ff, #f7fbff);
}

.report-qa-drop-zone-secondary .report-qa-upload-icon {
  color: #176fd4;
}

.report-qa-mls-file-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.report-qa-mls-file-list:empty {
  display: none;
}

.report-qa-mls-file-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 9px 8px 11px;
  border: 1px solid #dbe6ef;
  border-radius: 11px;
  background: #fff;
  color: #3f5368;
  font-size: 11px;
}

.report-qa-mls-file-row span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-qa-mls-file-row button {
  min-width: 30px;
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 9px;
  color: #6b7c90;
}

.report-qa-drop-zone:hover,
.report-qa-drop-zone:focus-visible,
.report-qa-drop-zone.is-dragging {
  border-color: #0b8b7a;
  background:
    linear-gradient(145deg, rgba(220, 248, 240, 0.94), rgba(229, 241, 255, 0.94)),
    #f8fbfd;
  box-shadow: 0 15px 35px rgba(25, 102, 94, 0.12);
  transform: translateY(-2px);
}

.report-qa-drop-zone.has-file {
  border-style: solid;
  border-color: #38a590;
  background: linear-gradient(145deg, #e6faf3, #f1f7ff);
}

.report-qa-upload-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 22px;
  background: #fff;
  color: #0a7d6e;
  box-shadow: 0 12px 28px rgba(24, 75, 96, 0.12);
}

.report-qa-upload-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.report-qa-drop-zone strong {
  color: #18354b;
  font-size: 20px;
}

.report-qa-drop-zone > span:not(.report-qa-upload-icon) {
  margin-top: 7px;
  color: #52667b;
}

.report-qa-drop-zone small {
  margin-top: 8px;
  color: #8795a7;
}

.report-qa-notes-field {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.report-qa-notes-field > span {
  color: #3e5064;
  font-size: 13px;
  font-weight: 850;
}

.report-qa-notes-field textarea,
.report-qa-recommendation textarea {
  width: 100%;
  min-height: 82px;
  padding: 13px 14px;
  border: 1px solid #cbd8e4;
  border-radius: 13px;
  background: #fbfdff;
  color: #25364a;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.report-qa-upload-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.report-qa-upload-actions button {
  min-width: 150px;
}

.report-qa-depth-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #cdd8e6;
  border-radius: 11px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  user-select: none;
}

.report-qa-depth-control input {
  accent-color: #087f70;
}

.report-qa-privacy-note {
  max-width: 720px;
  margin: 14px auto 0;
  padding: 11px 13px;
  border: 1px solid #dbe6ef;
  border-radius: 12px;
  background: #f8fbfd;
  color: #637386;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

.report-qa-upload-actions button:disabled,
.report-qa-header-actions button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.4);
  opacity: 0.55;
  transform: none;
}

.report-qa-draft-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: #0a766a;
  font-size: 12px;
  font-weight: 750;
}

.report-qa-status {
  min-height: 22px;
  margin: 13px 0 0;
  color: #5c7084;
  font-size: 13px;
  text-align: center;
}

.report-qa-status[data-tone="error"],
.report-qa-map-status[data-tone="error"] {
  color: #b42318;
}

.report-qa-progress {
  margin-top: 18px;
  padding: 17px;
  border: 1px solid #bfddd6;
  border-radius: 16px;
  background: #f1fbf8;
}

.report-qa-progress-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.report-qa-progress-head > div {
  display: grid;
  gap: 3px;
}

.report-qa-progress-head strong {
  color: #15443f;
}

.report-qa-progress-head span:last-child {
  color: #5f756f;
  font-size: 13px;
}

.report-qa-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #c5e9e1;
  border-top-color: #078371;
  border-radius: 50%;
  animation: report-qa-spin 800ms linear infinite;
}

.report-qa-progress-track {
  height: 7px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: #d6eee9;
}

.report-qa-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b8b7a, #5f9eff);
  transition: width 220ms ease;
}

.report-qa-review-contract {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.report-qa-review-contract article {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #e0e8f0;
  border-radius: 14px;
  background: #fbfdff;
}

.report-qa-review-contract strong {
  color: #203b50;
  font-size: 13px;
}

.report-qa-review-contract span {
  color: #718094;
  font-size: 12px;
  line-height: 1.45;
}

.report-qa-workspace {
  max-width: 1680px;
  margin: 0 auto;
}

.report-qa-overview {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(300px, 0.8fr) minmax(480px, 1.2fr);
  gap: 14px;
  margin-bottom: 16px;
}

.report-qa-summary,
.report-qa-summary-copy,
.report-qa-assignment-facts {
  border: 1px solid #dce5ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(28, 51, 76, 0.07);
}

.report-qa-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.report-qa-summary article {
  display: grid;
  min-height: 92px;
  padding: 15px;
  place-content: center;
  text-align: center;
}

.report-qa-summary article + article {
  border-left: 1px solid #e5ebf1;
}

.report-qa-summary span {
  color: #7b8898;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-qa-summary strong {
  margin-top: 4px;
  color: #23364b;
  font-size: 26px;
}

.report-qa-summary article[data-tone="critical"] strong,
.report-qa-severity[data-severity="critical"] {
  color: #9d0e0e;
}

.report-qa-summary article[data-tone="high"] strong,
.report-qa-severity[data-severity="high"] {
  color: #d13b22;
}

.report-qa-summary article[data-tone="medium"] strong,
.report-qa-severity[data-severity="medium"] {
  color: #b36c06;
}

.report-qa-summary article[data-tone="suggestion"] strong,
.report-qa-severity[data-severity="suggestion"] {
  color: #3572b8;
}

.report-qa-summary article[data-tone="open"] strong { color: #52667b; }
.report-qa-summary article[data-tone="needs-fix"] strong { color: #c13b27; }

.report-qa-summary-copy {
  display: grid;
  align-content: center;
  padding: 18px 20px;
}

.report-qa-summary-copy span {
  color: #718095;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.report-qa-summary-copy p {
  margin: 7px 0 0;
  color: #34485c;
  font-size: 13px;
  line-height: 1.5;
}

.report-qa-assignment-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.report-qa-assignment-facts > div {
  display: grid;
  gap: 4px;
  min-height: 46px;
  padding: 10px 13px;
}

.report-qa-assignment-facts > div:nth-child(n + 4) {
  border-top: 1px solid #e7edf3;
}

.report-qa-assignment-facts span {
  color: #8490a1;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.report-qa-assignment-facts strong {
  overflow: hidden;
  color: #2d4257;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-qa-workbench {
  display: grid;
  grid-template-columns: minmax(600px, 0.95fr) minmax(650px, 1.05fr);
  min-height: 820px;
  overflow: hidden;
  border: 1px solid #d5e0e9;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(28, 54, 80, 0.11);
}

.report-qa-document-panel {
  min-width: 0;
  border-right: 1px solid #dce5ed;
  background: #dce3e9;
}

.report-qa-document-toolbar {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 20;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 10px 15px;
  border-bottom: 1px solid #cbd5de;
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(10px);
}

.report-qa-document-toolbar > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-qa-document-toolbar strong {
  color: #26394d;
}

.report-qa-document-toolbar span {
  color: #748295;
  font-size: 12px;
}

.report-qa-document-toolbar button {
  min-width: 40px;
  min-height: 36px;
  padding: 7px 10px;
}

.report-qa-document-scroll {
  display: grid;
  height: 760px;
  overflow: auto;
  padding: 28px;
  place-items: start center;
}

.report-qa-page-wrap {
  position: relative;
  flex: none;
  background: #fff;
  box-shadow: 0 15px 40px rgba(25, 35, 48, 0.27);
}

.report-qa-page-wrap canvas {
  display: block;
}

.report-qa-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.report-qa-pdf-marker {
  display: flex;
  position: absolute;
  z-index: 5;
  align-items: center;
  gap: 4px;
  max-width: 38%;
  min-width: 82px;
  padding: 2px 5px;
  overflow: hidden;
  border: 2px solid #d32020;
  border-radius: 4px;
  background: rgba(255, 248, 248, 0.18);
  color: #9f1414;
  font-size: clamp(6px, 0.7vw, 10px);
  line-height: 1.12;
  text-align: left;
  box-shadow: 0 4px 10px rgba(126, 12, 12, 0.16);
  pointer-events: auto;
  cursor: pointer;
}

.report-qa-pdf-marker:hover,
.report-qa-pdf-marker.is-selected {
  z-index: 8;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 6px 15px rgba(126, 12, 12, 0.28);
  transform: translateY(-1px);
}

.report-qa-pdf-marker > span {
  flex: none;
  padding: 1px 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.94);
  font-weight: 950;
}

.report-qa-pdf-marker > em {
  padding: 1px 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.94);
  font-style: normal;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-qa-comment-popover {
  display: grid;
  position: absolute;
  z-index: 30;
  width: min(360px, 48%);
  max-height: 48%;
  padding: 14px;
  overflow: auto;
  border: 2px solid #d32020;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(62, 16, 16, 0.28);
  pointer-events: auto;
}

.report-qa-comment-popover header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.report-qa-comment-popover header strong {
  color: #9f1414;
  font-size: 12px;
  line-height: 1.35;
}

.report-qa-comment-popover header button {
  min-width: 28px;
  min-height: 28px;
  padding: 3px;
}

.report-qa-comment-popover p {
  margin: 9px 0;
  color: #3c4656;
  font-size: 11px;
  line-height: 1.45;
}

.report-qa-comment-popover label {
  display: grid;
  gap: 4px;
}

.report-qa-comment-popover label span {
  color: #6a7686;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.report-qa-comment-popover textarea {
  min-height: 72px;
  padding: 8px;
  border: 1px solid #e5b8b8;
  border-radius: 8px;
  background: #fffafa;
  color: #333f50;
  font: inherit;
  font-size: 10px;
  line-height: 1.4;
  resize: vertical;
}

.report-qa-comment-popover > button {
  justify-self: start;
  min-height: 32px;
  margin-top: 8px;
  padding: 6px 10px;
  border-color: #e2abab;
  color: #a01a1a;
  font-size: 10px;
}

.report-qa-review-panel {
  min-width: 0;
  background: #f8fafc;
}

.report-qa-tab-bar {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 15;
  gap: 7px;
  min-height: 62px;
  padding: 10px 14px;
  border-bottom: 1px solid #d9e3eb;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.report-qa-tab-bar button {
  flex: 1 1 0;
}

.report-qa-tab-bar button.is-active,
.report-qa-filter-bar button.is-active {
  border-color: #0b8172;
  background: #e4f6f1;
  color: #096b60;
}

.report-qa-tab-panel {
  padding: 15px;
}

.report-qa-filter-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.report-qa-filter-bar button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
}

.report-qa-search-field {
  display: block;
  margin: 10px 0;
}

.report-qa-search-field input {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #ccd8e3;
  border-radius: 11px;
  background: #fff;
  color: #2e4055;
}

.report-qa-findings-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.88fr) minmax(330px, 1.12fr);
  gap: 12px;
  height: 675px;
}

.report-qa-finding-list,
.report-qa-finding-detail {
  min-width: 0;
  overflow: auto;
  border: 1px solid #dbe4ec;
  border-radius: 15px;
  background: #fff;
}

.report-qa-finding-list {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 8px;
}

.report-qa-finding-card {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  gap: 8px;
  width: 100%;
  min-height: 68px;
  padding: 10px;
  border: 1px solid #dde5ed;
  border-left: 4px solid #b8c2ce;
  border-radius: 11px;
  background: #fff;
  color: #2e4155;
  text-align: left;
  cursor: pointer;
}

.report-qa-finding-card:hover,
.report-qa-finding-card.is-selected {
  border-color: #90b7ae;
  background: #f3faf8;
  box-shadow: 0 7px 18px rgba(31, 75, 71, 0.09);
}

.report-qa-finding-card[data-severity="critical"] {
  border-left-color: #9d0e0e;
}

.report-qa-finding-card[data-severity="high"] {
  border-left-color: #d13b22;
}

.report-qa-finding-card[data-severity="medium"] {
  border-left-color: #cc7a09;
}

.report-qa-finding-card[data-severity="suggestion"] {
  border-left-color: #3572b8;
}

.report-qa-finding-number {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: #edf2f6;
  color: #516071;
  font-size: 10px;
  font-weight: 950;
}

.report-qa-finding-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.report-qa-finding-copy strong {
  color: #293d51;
  font-size: 12px;
  line-height: 1.35;
}

.report-qa-finding-copy small {
  color: #7d8999;
  font-size: 10px;
}

.report-review-v2-triage {
  display: inline-flex;
  width: max-content;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef2f7;
  color: #334155;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.report-review-v2-triage[data-action-group="must_fix"] {
  background: #fee2e2;
  color: #991b1b;
}

.report-review-v2-triage[data-action-group="optional"] {
  background: #f1f5f9;
  color: #64748b;
}

.report-qa-finding-state {
  align-self: start;
  padding: 3px 6px;
  border-radius: 999px;
  background: #eef2f5;
  color: #788696;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.report-qa-finding-state[data-state="resolved"] {
  background: #def5e9;
  color: #19734b;
}

.report-qa-finding-state[data-state="needs_fix"] {
  background: #e1efff;
  color: #2b67a6;
}

.report-qa-finding-state[data-state="skipped"] {
  background: #f1f1f1;
  color: #777;
}

.report-qa-finding-state[data-state="not_applicable"] {
  background: #eef1f4;
  color: #687686;
}

.report-qa-finding-detail {
  padding: 19px;
}

.report-qa-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.report-qa-detail-head > div {
  display: grid;
  gap: 6px;
}

.report-qa-detail-head strong {
  color: #657488;
  font-size: 11px;
}

.report-qa-severity {
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.report-qa-finding-detail h3 {
  margin: 17px 0 10px;
  color: #263c50;
  font-size: 19px;
  line-height: 1.3;
}

.report-qa-finding-detail blockquote {
  margin: 0 0 13px;
  padding: 11px 13px;
  border-left: 3px solid #d42121;
  border-radius: 0 9px 9px 0;
  background: #fff7f7;
  color: #6a3030;
  font-size: 12px;
  line-height: 1.5;
}

.report-qa-finding-detail > p {
  color: #44576b;
  font-size: 13px;
  line-height: 1.58;
}

.report-qa-recommendation {
  display: grid;
  gap: 7px;
  margin-top: 15px;
}

.report-qa-recommendation > span {
  color: #52667a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-qa-recommendation textarea {
  min-height: 118px;
  background: #f4faf8;
}

.report-qa-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.report-qa-detail-actions button {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 11px;
}

.report-qa-detail-actions button.is-active {
  border-color: #0c8272;
  background: #e1f5ef;
  color: #096b60;
}

.report-qa-empty {
  display: grid;
  min-height: 160px;
  padding: 24px;
  place-content: center;
  color: #738296;
  line-height: 1.5;
  text-align: center;
}

.report-qa-market-panel {
  height: 700px;
  overflow: auto;
}

.report-qa-market-head,
.report-qa-market-table-wrap,
.report-qa-market-warnings,
.report-qa-market-disclaimer,
.report-qa-map-panel {
  border: 1px solid #dbe5ed;
  border-radius: 15px;
  background: #fff;
}

.report-qa-market-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

.report-qa-market-head span,
.report-qa-map-panel header span {
  color: #7b8999;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.report-qa-market-head h3,
.report-qa-map-panel h3 {
  margin: 6px 0 4px;
  color: #263d51;
}

.report-qa-market-head p {
  margin: 0;
  color: #68788b;
  font-size: 12px;
}

.report-qa-market-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.report-qa-market-metrics span {
  display: grid;
  min-width: 72px;
  padding: 9px;
  border-radius: 10px;
  background: #eff7f5;
  text-align: center;
}

.report-qa-market-metrics strong {
  margin-top: 3px;
  color: #0a7467;
  font-size: 16px;
}

.report-qa-market-warnings {
  margin-top: 10px;
  padding: 11px 14px;
  border-color: #ead3a7;
  background: #fff9ed;
}

.report-qa-market-warnings p {
  margin: 3px 0;
  color: #80591b;
  font-size: 11px;
}

.report-qa-market-table-wrap {
  margin-top: 10px;
  overflow: auto;
}

.report-qa-market-table {
  width: 100%;
  border-collapse: collapse;
  color: #3d5064;
  font-size: 11px;
}

.report-qa-market-table th,
.report-qa-market-table td {
  padding: 11px 10px;
  border-bottom: 1px solid #e6edf3;
  text-align: left;
  white-space: nowrap;
}

.report-qa-market-table th {
  background: #f3f7fa;
  color: #647589;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-qa-market-table td:first-child {
  white-space: normal;
}

.report-qa-market-table td small {
  display: block;
  margin-top: 3px;
  color: #8a96a5;
}

.report-qa-market-table td[data-tone="warning"] {
  color: #b85a13;
  font-weight: 850;
}

.report-qa-market-table td[data-tone="ok"] {
  color: #207653;
}

.report-qa-market-disclaimer {
  margin: 10px 0 0;
  padding: 12px 14px;
  color: #6d7b8c;
  font-size: 10px;
  line-height: 1.5;
}

.report-qa-map-panel {
  overflow: hidden;
}

.report-qa-map-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 17px;
  border-bottom: 1px solid #dfe7ee;
}

.report-qa-map-panel h3 {
  margin-bottom: 0;
}

.report-qa-map {
  height: 570px;
  background: #e8eef3;
}

.report-qa-map-status {
  min-height: 42px;
  margin: 0;
  padding: 12px 15px;
  color: #66778b;
  font-size: 11px;
}

.report-qa-map-icon-shell {
  background: transparent;
  border: 0;
}

.report-qa-map-icon-shell > div {
  display: flex;
  align-items: center;
}

.report-qa-map-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 8px;
  background: #147a24;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 4px 10px rgba(17, 48, 39, 0.28);
  transform: rotate(-45deg);
}

.report-qa-map-icon[data-kind="subject"] {
  background: #bd1b1b;
}

.report-qa-map-icon-shell em {
  max-width: 90px;
  margin-left: 4px;
  overflow: hidden;
  padding: 3px 6px;
  border: 1px solid #cbd6de;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: #314457;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes report-qa-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1320px) {
  .report-qa-overview {
    grid-template-columns: 1fr 1fr;
  }

  .report-qa-assignment-facts {
    grid-column: 1 / -1;
  }

  .report-qa-workbench {
    grid-template-columns: minmax(520px, 0.9fr) minmax(560px, 1.1fr);
  }

  .report-qa-findings-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .report-qa-finding-list {
    max-height: 280px;
  }

  .report-qa-finding-detail {
    min-height: 360px;
    max-height: 385px;
  }
}

@media (max-width: 1040px) {
  .report-qa-screen {
    padding: 14px;
  }

  .report-qa-workbench {
    grid-template-columns: 1fr;
  }

  .report-qa-document-panel {
    border-right: 0;
    border-bottom: 1px solid #dce5ed;
  }

  .report-qa-document-scroll {
    height: 640px;
  }

  .report-qa-overview {
    grid-template-columns: 1fr;
  }

  .report-qa-source-grid {
    grid-template-columns: 1fr;
  }

  .report-qa-assignment-facts {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .report-qa-header {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .report-qa-header-actions {
    flex-wrap: wrap;
  }

  .report-qa-header-actions button {
    flex: 1 1 180px;
  }

  .report-qa-upload-stage {
    padding: 12px 0 45px;
  }

  .report-qa-upload-shell {
    padding: 20px;
    border-radius: 20px;
  }

  .report-qa-drop-zone {
    min-height: 225px;
  }

  .report-qa-review-contract {
    grid-template-columns: 1fr;
  }

  .report-qa-summary,
  .report-qa-assignment-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-qa-summary article:nth-child(3),
  .report-qa-summary article:nth-child(4),
  .report-qa-assignment-facts > div:nth-child(n + 3) {
    border-top: 1px solid #e5ebf1;
  }

  .report-qa-assignment-facts > div:nth-child(4) {
    border-top: 1px solid #e7edf3;
  }

  .report-qa-document-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .report-qa-document-scroll {
    height: 540px;
    padding: 14px;
  }

  .report-qa-tab-bar {
    overflow-x: auto;
  }

  .report-qa-tab-bar button {
    flex: 0 0 150px;
  }

  .report-qa-market-head {
    flex-direction: column;
  }

  .report-qa-market-metrics {
    width: 100%;
  }

  .report-qa-comment-popover {
    left: 3% !important;
    width: 94%;
    max-height: 60%;
  }
}
