.sbom-goal-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2.5rem;
  border: 1px solid #d4e3ea;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(20, 52, 72, 0.08);
}

.sbom-goal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.sbom-goal-table thead {
  background: #eaf2f6;
  color: #164663;
}

.sbom-goal-table th,
.sbom-goal-table td {
  padding: 1.1rem 1.25rem;
  vertical-align: top;
  border-bottom: 1px solid #d4e3ea;
}

.sbom-goal-table tbody tr:last-child th,
.sbom-goal-table tbody tr:last-child td {
  border-bottom: 0;
}

.sbom-goal-table tbody th {
  color: #164663;
  white-space: nowrap;
}

.sbom-goal-table code {
  font-size: 0.9em;
}

.sbom-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin: 1.5rem 0 2.5rem;
}

.sbom-text-link {
  color: #164663;
  font-weight: 600;
  text-decoration: underline;
}

.sbom-actions .o-btn {
  color: #164663;
  border-color: #164663;
}

.sbom-actions .o-btn:hover {
  color: #fff;
  background: #164663;
}

#dependency-coverage-demo {
  scroll-margin-top: 7rem;
}

.sbom-demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.sbom-demo-card {
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid #d4e3ea;
  border-top: 4px solid #164663;
  border-radius: 10px;
  background: #f6f9fb;
}

.sbom-demo-card--fail {
  border-top-color: #a53135;
}

.sbom-demo-card--pass {
  border-top-color: #256348;
}

.sbom-demo-label {
  margin-top: 0;
  color: #164663;
  font-size: 0.9375rem;
  font-weight: 700;
}

.sbom-demo-card h3 {
  margin-top: 0.5rem;
  font-size: 1.25rem;
}

.sbom-demo-card pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 6px;
  background: #eaf2f6;
  color: #173547;
  font-size: 0.875rem;
  line-height: 1.6;
}

.sbom-actions a:focus-visible,
.sbom-text-link:focus-visible {
  outline: 3px solid #164663;
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .sbom-demo-grid {
    grid-template-columns: 1fr;
  }

  .sbom-demo-card {
    padding: 1rem;
  }

  .sbom-actions .o-btn {
    white-space: normal;
    text-align: center;
  }

  .sbom-goal-table th,
  .sbom-goal-table td {
    padding: 0.8rem;
  }
}
