[data-screen="redacoes"] .red-register-heading.is-general {
  grid-template-columns: minmax(240px, 1.45fr) minmax(180px, .8fr) minmax(145px, .55fr) auto;
}

.red-general-score {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(150px, .55fr) minmax(150px, .55fr) minmax(150px, .55fr);
  align-items: end;
  gap: 16px;
  padding: 24px;
}

.red-general-score h3 {
  margin: 4px 0 5px;
  font-size: 19px;
}

.red-general-score > div:first-child > span {
  color: #625f57;
  font-size: 9px;
}

.red-general-result {
  display: flex;
  min-height: 43px;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  padding: 0 13px;
  background: var(--semantic-stat);
}

.red-general-result span {
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.red-general-result strong {
  font-size: 18px;
}

.red-general-detail {
  display: grid;
  grid-template-columns: auto auto minmax(140px, 1fr);
  align-content: center;
  align-items: center;
  gap: 9px 14px;
  padding: 24px;
}

.red-general-detail > span {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.red-general-detail > strong {
  font-size: 25px;
}

.red-general-detail > i {
  display: block;
  height: 8px;
  border: 1.5px solid var(--ink);
  background: #e6e2d8;
}

.red-general-detail > i > b {
  display: block;
  height: 100%;
  background: var(--semantic-success);
}

.red-general-detail > small {
  grid-column: 1 / -1;
  color: #625f57;
  font-size: 9px;
}

.red-detail-bottom.without-photo {
  grid-template-columns: 1fr;
}

.red-empty {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.red-empty strong {
  font-size: 13px;
}

.red-empty small {
  max-width: 260px;
  margin-top: 6px;
  color: #625f57;
  font-size: 9px;
  line-height: 1.5;
}

.red-empty-detail {
  min-height: 320px;
}

.red-history-score b {
  max-width: 46px;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.red-upload-file b {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.red-photo-preview {
  width: 58px;
  height: 72px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
}

.red-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.red-photo-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 50px 24px 24px;
  background: rgba(14, 14, 14, .82);
}

.red-photo-modal > img {
  max-width: min(100%, 1040px);
  max-height: calc(100vh - 90px);
  border: 3px solid #151515;
  background: #fff;
  box-shadow: 8px 8px 0 #f5ca3d;
  object-fit: contain;
}

.red-photo-modal > button {
  position: absolute;
  top: 18px;
  right: 22px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid #151515;
  border-radius: 7px;
  background: #f5ca3d;
  box-shadow: 3px 3px 0 #151515;
  font: 900 24px/1 inherit;
}

.red-toast {
  position: fixed;
  z-index: 1100;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100vw - 48px));
  border: 2px solid #151515;
  border-radius: 7px;
  padding: 13px 16px;
  background: #fbfaf6;
  box-shadow: 4px 4px 0 #151515;
  font-size: 12px;
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: .18s ease;
}

.red-toast[data-tone="success"] {
  background: var(--semantic-success-soft, #def1e4);
}

.red-toast[data-tone="error"] {
  background: var(--semantic-danger-soft, #f8dce8);
}

.red-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  [data-screen="redacoes"] .red-register-heading.is-general,
  .red-general-score {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  [data-screen="redacoes"] .red-register-heading.is-general,
  .red-general-score,
  .red-general-detail {
    grid-template-columns: 1fr;
  }

  .red-general-score {
    padding: 20px;
  }

  .red-general-detail > small {
    grid-column: auto;
  }

  .red-toast {
    right: 16px;
    bottom: 16px;
    max-width: calc(100vw - 32px);
  }
}
