body {
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  font-family: 'Open Sans', sans-serif;
}

a {
  color: #0066cc;
}

.page-shell {
  max-width: none;
  margin: 0;
  padding: 0;
}

.header {
  text-align: center;
  margin-bottom: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.header h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

#description {
  background-color: #f8f8f8;
  padding: 1.5em;
  margin: 5px auto 5px;
  max-width: 1200px;
  font-size: 1em;
  line-height: 1.6;
  border-radius: 4px;
  text-align: left;
}

#description ul {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.hero-card,
.detail-section,
.supporting-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 5px auto 0;
  box-sizing: border-box;
  max-width: 1200px;
}

.hero-card {
  margin-top: 0;
  text-align: center;
}

.supporting-card h2,
.detail-section h2 {
  margin: 0 0 5px 0;
  font-size: 1.3em;
  text-align: left;
  color: #000;
  border: none;
  padding: 6px 0 5px 0;
  font-weight: bold;
}

.resource-links-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 1em auto 1em auto;
}

.resource-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  gap: 15px;
  text-align: center;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  text-decoration: none;
  line-height: 1.3;
  font-size: 1em;
  font-weight: 400;
  color: inherit;
  transition: all 0.2s ease;
}

.resource-link-icon {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  line-height: 1;
  text-decoration: none;
}

.resource-link-label {
  color: #0066cc;
  text-decoration: underline;
  text-decoration-color: #0066cc;
  text-underline-offset: 0.12em;
}

.resource-link:hover {
  opacity: 0.8;
}

.meta-line {
  margin: 0.25em 0 0;
  color: #000;
  line-height: 1.6;
  font-size: 1em;
  text-align: left;
}

#project-note {
  margin-top: 0.35em;
}

#project-note p {
  margin: 0.35em 0 0;
  line-height: 1.6;
}

.applications-block {
  margin-top: 1.15em;
  margin-bottom: 0;
  text-align: left;
}

.applications-block h2 {
  margin: 0 0 4px 0;
  font-size: 1.15em;
  line-height: 1.35;
  color: #000;
  font-weight: bold;
  font-family: inherit;
}

.applications-copy {
  margin: 0;
  line-height: 1.6;
  color: #333;
  font-size: 1em;
  font-family: inherit;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.section-heading h2 {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.score-badge {
  min-width: 72px;
  margin-left: auto;
  text-align: center;
  padding: 0;
  font-weight: 700;
}

.criterion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.criterion-card {
  background: #f8f8f8;
  border-radius: 4px;
  padding: 1rem;
}

.criterion-card-top {
  display: block;
  margin-bottom: 10px;
}

.criterion-card-top h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.criterion-notes {
  margin: 0;
  line-height: 1.6;
}

.status-pill {
  display: inline-block;
  border-radius: 12px;
  padding: 0.28rem 0.7rem;
  font-size: 0.9rem;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
  border: 1px solid transparent;
}

.status-pill.high {
  background: #d8f3dc;
  color: #245c39;
  border-color: #bde5c5;
}

.status-pill.partial {
  background: #ffe5b4;
  color: #8a5400;
  border-color: #f7d08a;
}

.status-pill.low {
  background: #ffd6d6;
  color: #8f1d21;
  border-color: #f3b4b4;
}

.status-pill.empty {
  background: #eeeeee;
  color: #4b5563;
  border-color: #d8d8d8;
}

.footer-note {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 780px) {
  body {
    padding: 16px;
  }

  .header h1 {
    font-size: 1.7rem;
  }
}
