.lineage-condition {
  margin: 0 0 10px;
  color: #087f73;
  font-size: 0.82rem;
  font-weight: 800;
}

.lineage-result-title {
  margin: 0 0 12px !important;
}

.lineage-overall-label {
  display: block;
  margin: 4px 0 0;
  color: #172033;
  font-size: 1.55rem;
  line-height: 1.3;
}

.lineage-difference {
  margin: 10px 0 0;
  color: #33465c;
  font-size: 0.8rem;
  font-weight: 800;
}

.lineage-metrics article[data-tone="best"],
.lineage-metrics article[data-tone="good"] {
  border-top: 3px solid #087f73;
}

.lineage-metrics article[data-tone="low"] {
  border-top: 3px solid #8b3a3a;
}

.lineage-standards {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #fff;
}

.lineage-standards h2 {
  margin: 4px 0 0;
  color: #172033;
  font-size: 1.4rem;
  letter-spacing: 0;
}

.lineage-standards header > p:last-child {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.7;
}

.lineage-table-scroll {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid #dce5ed;
  border-radius: 7px;
}

.lineage-table-scroll table {
  width: 100%;
  min-width: 780px;
  margin: 0;
  border-collapse: collapse;
}

.lineage-table-scroll th,
.lineage-table-scroll td {
  padding: 12px;
  border-right: 1px solid #e1e7ee;
  border-bottom: 1px solid #e1e7ee;
  color: #4f6077;
  font-size: 0.76rem;
  text-align: left;
  vertical-align: top;
}

.lineage-table-scroll tr:last-child th,
.lineage-table-scroll tr:last-child td {
  border-bottom: 0;
}

.lineage-table-scroll th:last-child,
.lineage-table-scroll td:last-child {
  border-right: 0;
}

.lineage-table-scroll thead th {
  background: #eef5f4;
  color: #26443f;
  font-weight: 800;
}

.lineage-table-scroll tbody > tr > th {
  color: #172033;
  font-size: 0.85rem;
}

.lineage-standard-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lineage-standard-list li {
   display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
}

.lineage-standard-list span {
  color: #718096;
}

.lineage-standard-list b {
  color: #33465c;
  white-space: nowrap;
}

.lineage-table-help {
  margin: 10px 0 0;
  color: #718096;
  font-size: 0.74rem;
  line-height: 1.6;
}

.lineage-note strong {
  display: block;
  color: #1d5f57;
}

.lineage-note p {
  margin: 4px 0 0;
  font-size: 0.85rem;
}

.lineage-page :focus-visible {
  outline: 2px solid #087f73;
  outline-offset: 2px;
}

@media (max-width: 736px) {
  .lineage-standards {
    padding: 20px;
  }

  .lineage-table-scroll {
    margin-right: -4px;
  }

  .lineage-table-scroll table {
    min-width: 720px;
  }

  .lineage-table-help {
    font-size: 0.72rem;
  }
}
