/* Reading hierarchy for the five approved copy revisions. */
body.human-interface-v2.detail-page-active #page-detail [data-copy-revision] .case-copy-summary {
  margin: 16px 0 28px;
  max-width: 70ch;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.8;
}

body.human-interface-v2.detail-page-active #page-detail [data-copy-revision] .case-copy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 36px;
  margin-top: 24px;
}

body.human-interface-v2.detail-page-active #page-detail [data-copy-revision] .case-copy-item {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

body.human-interface-v2.detail-page-active #page-detail [data-copy-revision] .case-copy-item :is(h3, h4) {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-serif-cn);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.5;
}

body.human-interface-v2.detail-page-active #page-detail [data-copy-revision] .case-copy-item p,
body.human-interface-v2.detail-page-active #page-detail [data-copy-revision] .case-copy-group-desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.8;
}

body.human-interface-v2.detail-page-active #page-detail [data-copy-revision] .case-copy-group + .case-copy-group {
  margin-top: 40px;
}

body.human-interface-v2.detail-page-active #page-detail [data-copy-revision] .case-copy-group > h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-serif-cn);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

body.human-interface-v2.detail-page-active #page-detail [data-copy-revision] .case-copy-privacy {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.7;
}

body.human-interface-v2.detail-page-active #page-detail #lkkDetail .case-copy-dashboard {
  grid-template-columns: minmax(0, 1fr);
}

body.human-interface-v2.detail-page-active #page-detail #gacDetail[data-copy-revision] .gac-phase-copy {
  grid-template-rows: none;
  grid-auto-rows: auto;
  align-content: start;
}

body.human-interface-v2.detail-page-active #page-detail #gacDetail[data-copy-revision] .gac-phase-layout {
  align-items: start;
}

body.human-interface-v2.detail-page-active #page-detail #gacDetail[data-copy-revision] .gac-phase-visual img {
  flex: none;
  min-height: 0;
  height: auto;
  object-fit: contain;
}

body.human-interface-v2.detail-page-active #page-detail #gacDetail .case-copy-diamond-note {
  margin: 12px 4px 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.7;
}

body.human-interface-v2.detail-page-active #page-detail #robamDetail .case-copy-metrics-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.human-interface-v2.detail-page-active #page-detail [data-copy-revision] :is(.sleepace-deliverable-metric, .robam-deliverable-summary-card) > p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

body.human-interface-v2.detail-page-active #page-detail #robamDetail .case-copy-metrics-five .robam-deliverable-summary-value {
  display: block;
  margin-bottom: 16px;
}

@media (max-width: 980px) {
  body.human-interface-v2.detail-page-active #page-detail #robamDetail .case-copy-metrics-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.human-interface-v2.detail-page-active #page-detail #robamDetail .case-copy-metrics-five .robam-deliverable-summary-value {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
  }
}

@media (max-width: 640px) {
  body.human-interface-v2.detail-page-active #page-detail [data-copy-revision] .case-copy-list,
  body.human-interface-v2.detail-page-active #page-detail #robamDetail .case-copy-metrics-five {
    grid-template-columns: minmax(0, 1fr);
  }

  body.human-interface-v2.detail-page-active #page-detail [data-copy-revision] .case-copy-list {
    gap: 20px;
  }

}
