.rs-report-identity-stage2 {
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid rgba(8, 24, 29, .10);
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 34px rgba(5, 16, 20, .06);
  color: var(--rs-ink, #08181d);
}

#rsWorkspaceReportIdentity:not([hidden]) {
  display: block;
  margin: 7px 0 0;
  color: var(--rs-muted, #607178);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.rs-report-identity-head,
.rs-report-property-group-head,
.rs-report-identity-mappings > div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.rs-report-identity-head h2 {
  margin: 3px 0 0;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.rs-report-identity-head p {
  max-width: 700px;
  margin: 7px 0 0;
  color: var(--rs-muted, #607178);
  font-size: 14px;
  line-height: 1.5;
}

.rs-report-identity-kicker,
.rs-report-property-group-head span,
.rs-report-identity-summary span {
  display: block;
  color: var(--rs-muted, #607178);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#rsApp .rs-report-identity-refresh,
#rsApp .rs-report-property-toggle,
#rsApp .rs-report-property-open,
#rsApp .rs-report-identity-remove {
  min-height: 38px !important;
  padding: 8px 12px !important;
  border: 1px solid rgba(8, 24, 29, .13) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--rs-ink, #08181d) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  white-space: nowrap;
}

#rsApp .rs-report-identity-refresh:hover,
#rsApp .rs-report-property-toggle:hover,
#rsApp .rs-report-property-open:hover {
  border-color: rgba(24, 145, 105, .34) !important;
  background: rgba(66, 215, 159, .08) !important;
  transform: none !important;
}

.rs-report-identity-status,
.rs-report-property-group-status {
  min-height: 18px;
  margin-top: 10px;
  color: var(--rs-muted, #607178);
  font-size: 12px;
  font-weight: 800;
}

.rs-report-identity-status.is-error,
.rs-report-property-group-status.is-error {
  color: #9a3d3a;
}

.rs-report-identity-status.is-success {
  color: #176b50;
}

.rs-report-identity-status.is-warning {
  color: #8a641f;
}

.rs-report-identity-empty,
.rs-report-identity-safe,
.rs-report-identity-setup,
.rs-report-identity-review,
.rs-report-identity-manual,
.rs-report-identity-mappings {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(8, 24, 29, .09);
  border-radius: 17px;
  background: #fff;
}

.rs-report-identity-empty,
.rs-report-identity-safe,
.rs-report-identity-setup,
.rs-report-identity-review {
  display: grid;
  gap: 5px;
}

.rs-report-identity-empty span,
.rs-report-identity-safe span,
.rs-report-identity-setup span,
.rs-report-identity-review span,
.rs-report-identity-manual p,
.rs-report-identity-mappings > div:first-child span,
.rs-report-identity-no-mappings {
  color: var(--rs-muted, #607178);
  font-size: 13px;
  line-height: 1.5;
}

.rs-report-identity-safe {
  border-color: rgba(66, 215, 159, .28);
  background: rgba(66, 215, 159, .07);
}

.rs-report-identity-setup,
.rs-report-identity-review.is-warning {
  border-color: rgba(207, 151, 45, .27);
  background: rgba(255, 248, 228, .78);
}

.rs-report-identity-review ul {
  margin: 5px 0 0 18px;
  padding: 0;
  color: var(--rs-ink, #08181d);
  font-size: 13px;
}

.rs-report-identity-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 8px;
}

.rs-report-identity-summary > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(8, 24, 29, .08);
  border-radius: 15px;
  background: rgba(243, 248, 247, .72);
}

.rs-report-identity-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  line-height: 1;
}

.rs-report-identity-manual > div:first-child > strong,
.rs-report-identity-mappings > div:first-child strong {
  font-size: 15px;
}

.rs-report-identity-manual p {
  margin: 5px 0 0;
}

.rs-report-identity-fields {
  display: grid;
  grid-template-columns: minmax(150px, .6fr) minmax(220px, 1.25fr) minmax(220px, 1.25fr);
  gap: 10px;
  margin: 12px 0;
}

.rs-report-identity-fields label {
  display: block;
  color: var(--rs-muted, #607178);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rs-report-identity-fields select {
  width: 100%;
  min-height: 43px;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid rgba(8, 24, 29, .13);
  border-radius: 12px;
  background: #fff;
  color: var(--rs-ink, #08181d);
  font: inherit;
  font-size: 13px;
  text-transform: none;
}

.rs-report-identity-mapping-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 9px;
  padding: 11px;
  border: 1px solid rgba(8, 24, 29, .08);
  border-radius: 13px;
  background: rgba(243, 248, 247, .58);
}

.rs-report-identity-mapping-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.rs-report-identity-mapping-row strong,
.rs-report-identity-mapping-row span {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.rs-report-identity-mapping-row span {
  color: var(--rs-muted, #607178);
}

#rsApp .rs-report-identity-remove {
  color: #8a3532 !important;
  border-color: rgba(169, 68, 66, .20) !important;
  background: #fff7f6 !important;
}

.rs-report-property-anchor {
  position: relative;
}

.rs-report-property-member[hidden],
.rs-bottom-property-card.rs-report-property-member[hidden],
.rs-cloud-master-property.rs-report-cloud-member[hidden] {
  display: none !important;
}

.rs-report-property-group {
  display: grid;
  gap: 6px;
  margin-top: 9px;
  padding: 8px 9px;
  border: 1px solid rgba(66, 215, 159, .25);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(66, 215, 159, .08), rgba(243, 248, 247, .70));
}

.rs-report-property-group-head {
  align-items: center;
}

.rs-report-property-group-head > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 7px;
  min-width: 0;
}

.rs-report-property-group-head strong {
  display: block;
  margin-top: 0;
  font-size: 13px;
}

.rs-report-property-unsaved {
  display: inline-block;
  margin-left: 7px;
  color: #8a641f;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.rs-report-property-list {
  display: grid;
  gap: 7px;
}

.rs-report-property-list[hidden] {
  display: none !important;
}

.rs-report-property-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(8, 24, 29, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
}

.rs-report-property-row.is-current {
  border-color: rgba(66, 215, 159, .34);
  box-shadow: inset 3px 0 0 rgba(42, 176, 127, .72);
}

.rs-report-property-row-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.rs-report-property-row-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.rs-report-property-row-copy strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.rs-report-property-row-copy span,
.rs-report-property-current,
.rs-report-property-cloud {
  color: var(--rs-muted, #607178);
  font-size: 11px;
  font-weight: 800;
}

.rs-report-property-current {
  color: #176b50;
}

.rs-report-property-cloud {
  max-width: 125px;
  text-align: right;
}

.rs-report-property-group-status:empty {
  display: none;
}

.rs-report-identity-stage2.is-busy {
  opacity: .82;
}

@media (max-width: 780px) {
  .rs-report-identity-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rs-report-identity-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .rs-report-identity-stage2 {
    padding: 14px;
    border-radius: 18px;
  }

  .rs-report-identity-head,
  .rs-report-identity-mappings > div:first-child {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rs-report-property-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  #rsApp .rs-report-identity-refresh,
  #rsApp .rs-report-property-open {
    width: 100%;
  }

  #rsApp .rs-report-property-toggle {
    width: auto;
    min-height: 38px !important;
    padding: 7px 10px !important;
  }

  .rs-report-identity-summary {
    grid-template-columns: 1fr 1fr;
  }

  .rs-report-property-row,
  .rs-report-identity-mapping-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .rs-report-property-cloud {
    max-width: none;
    text-align: left;
  }

  .rs-report-property-row-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
}
