/**
 * OW Onboarding Tool v0.90.0
 * More map space and structured cluster details in review mode.
 */

body.content-review-mode .owr-stage-shell {
  grid-template-rows: minmax(0, 1fr) !important;
}

body.content-review-mode .owr-stage-toolbar {
  display: none !important;
}

body.content-review-mode .owr-cluster-detail-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.content-review-mode .owr-cluster-detail-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--cluster, #3157d5);
}

body.content-review-mode .owr-cluster-detail-scroll {
  padding-top: 14px;
}

body.content-review-mode .owr-cluster-content-section {
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid #e3e4e6;
  border-radius: 14px;
  background: #fff;
}

body.content-review-mode .owr-cluster-content-section > header {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #ecece8;
  background: #fafaf8;
}

body.content-review-mode .owr-cluster-content-section > header span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #292929;
  font-size: 12px;
  font-weight: 600;
}

body.content-review-mode .owr-cluster-content-section > header svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

body.content-review-mode .owr-cluster-content-section > header b {
  min-width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #ecece9;
  color: #5d5d5d;
  font-size: 11px;
  font-weight: 600;
}

body.content-review-mode .owr-cluster-content-section > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px;
}

body.content-review-mode .owr-cluster-content-item {
  width: 100%;
  min-width: 0;
  min-height: 66px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e4e6eb;
  border-radius: 11px;
  background: #fff;
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.content-review-mode .owr-cluster-content-item.existing {
  border-left: 3px solid #3157d5;
  background: #f8faff;
}

body.content-review-mode .owr-cluster-content-item.planned {
  border-left: 3px solid #168653;
  background: #f5fbf7;
}

body.content-review-mode .owr-cluster-content-item:hover {
  border-color: #bfc5d0;
  box-shadow: 0 5px 14px rgba(35,35,31,.055);
  transform: translateY(-1px);
}

body.content-review-mode .owr-cluster-content-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe3ec;
  border-radius: 9px;
  background: #fff;
}

body.content-review-mode .owr-cluster-content-icon svg {
  width: 14px;
  height: 14px;
}

body.content-review-mode .owr-cluster-content-item.existing .owr-cluster-content-icon { color: #3157d5; }
body.content-review-mode .owr-cluster-content-item.planned .owr-cluster-content-icon { color: #168653; }

body.content-review-mode .owr-cluster-content-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

body.content-review-mode .owr-cluster-content-copy strong {
  min-width: 0;
  color: #292929;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

body.content-review-mode .owr-cluster-content-copy small {
  color: #8b8b86;
  font-size: 10px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  body.content-review-mode .owr-cluster-content-item {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px;
  }
}
