/* Crystal Structure Generation owns its hero and scientific illustrations. */
.track-crystal-structure-generation .track-path {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 13px;
}

.track-crystal-structure-generation .track-intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 44px;
  margin-bottom: 42px;
}

.track-crystal-structure-generation .track-domain {
  color: var(--muted);
  font-size: 12px;
}

.content-page .track-crystal-structure-generation h1 {
  margin: 16px 0 18px;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: normal;
}

.content-page .track-crystal-structure-generation .track-deck {
  margin: 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.4;
}

.track-crystal-structure-generation .track-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  font-size: 13px;
}

.track-crystal-structure-generation .track-links a {
  color: var(--link);
}


/* Compact methods and aligned held-out generation metrics. */
.track-crystal-structure-generation #results .measured-result-table{min-width:900px}
.track-crystal-structure-generation #results .measured-result-table :is(th,td):first-child{min-width:230px}
.track-crystal-structure-generation #results .measured-result-table tbody td:nth-child(2){font-weight:600}

.track-crystal-structure-generation .crystal-unit-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: center;
  gap: 20px;
}

.content-page .track-crystal-structure-generation .crystal-unit-intro h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.content-page .track-crystal-structure-generation .crystal-unit-intro p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

.track-crystal-structure-generation .crystal-unit-intro p:last-child {
  margin-bottom: 0;
}

.track-crystal-structure-generation .crystal-figure {
  min-inline-size: 0;
  margin: 0;
}

.track-crystal-structure-generation .crystal-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.track-crystal-structure-generation .crystal-figure figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.track-crystal-structure-generation .crystal-workflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.25fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 24px;
  padding: 0;
  margin: 0;
  background: #fff;
  list-style: none;
}

.track-crystal-structure-generation .crystal-workflow > li {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  align-items: start;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #dce7f4;
  background: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
}

.track-crystal-structure-generation .crystal-workflow > li + li::before {
  content: "";
  position: absolute;
  left: -18px;
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-top: 1px solid #6484a7;
  border-right: 1px solid #6484a7;
  transform: rotate(45deg);
}

.track-crystal-structure-generation .crystal-workflow img {
  width: min(100%, 156px);
  margin-inline: auto;
}

.track-crystal-structure-generation .crystal-workflow-cell > img {
  align-self: center;
}

.content-page .track-crystal-structure-generation .crystal-workflow p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.content-page .track-crystal-structure-generation .crystal-workflow p.crystal-workflow-heading {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.track-crystal-structure-generation .crystal-workflow-model dl {
  display: grid;
  gap: 7px;
  width: 100%;
  margin: 0;
  text-align: start;
}

.track-crystal-structure-generation .crystal-workflow-model dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
  border-top: 1px solid #dce7f4;
  padding-top: 6px;
}

.track-crystal-structure-generation .crystal-workflow-model dt {
  color: var(--link);
  font-weight: 600;
}

.track-crystal-structure-generation .crystal-workflow-model dd {
  margin: 0;
}

.track-crystal-structure-generation .crystal-workflow-model .crystal-workflow-change {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 13px minmax(0, 1fr);
  align-items: center;
  gap: 3px;
  color: var(--link);
}

.track-crystal-structure-generation .crystal-workflow-change img {
  display: block;
  width: 100%;
  max-width: 114px;
  max-height: 64px;
  object-fit: contain;
}

.track-crystal-structure-generation .crystal-components {
  margin-block: 12px 16px;
}

.track-crystal-structure-generation .crystal-components > div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 8px;
  padding-block: 5px;
}

.track-crystal-structure-generation .crystal-components dd {
  margin: 0;
}

.track-crystal-structure-generation .crystal-table {
  width: 100%;
  margin-block: 12px 18px;
  border-collapse: collapse;
}

.track-crystal-structure-generation .crystal-table :is(th, td) {
  border-block-end: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.track-crystal-structure-generation .crystal-table thead th {
  color: var(--muted);
}

.track-crystal-structure-generation .crystal-table tbody th {
  font-weight: 500;
}

.track-crystal-structure-generation .crystal-thresholds td {
  white-space: nowrap;
}

@media(max-width:800px) {
  .track-crystal-structure-generation .track-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media(max-width:720px) {
  .content-page .track-crystal-structure-generation h1 {
    font-size: 34px;
  }
}

@media(max-width:640px) {
  .track-crystal-structure-generation .crystal-unit-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .track-crystal-structure-generation .crystal-unit-intro .crystal-figure {
    max-inline-size: 408px;
    margin-inline: auto;
  }
}

@media(max-width:760px) {
  .track-crystal-structure-generation .crystal-workflow {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .track-crystal-structure-generation .crystal-workflow > li {
    grid-template-rows: auto auto;
    justify-items: start;
    padding: 10px 12px;
    text-align: start;
  }

  .track-crystal-structure-generation .crystal-workflow .crystal-workflow-cell {
    grid-template-columns: minmax(0, 100px) minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
  }

  .track-crystal-structure-generation .crystal-workflow-cell .crystal-workflow-heading {
    grid-column: 1 / -1;
  }

  .track-crystal-structure-generation .crystal-workflow > li + li::before {
    top: -14px;
    left: calc(50% - 3px);
    transform: rotate(135deg);
  }
}
