.study-main {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.study-header {
  max-width: 820px;
}

.study-header h1 {
  margin-bottom: 12px;
}

.study-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.62;
}

.study-lead {
  max-width: 72ch;
  font-size: 18px;
  line-height: 1.65;
  opacity: 0.78;
}

.study-grid,
.candidate-grid,
.study-knowledge-links {
  list-style: none;
  padding: 0;
}

.study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.study-card {
  border: 1px solid currentColor;
}

.study-card > a {
  display: block;
  height: 100%;
  padding: 20px;
  color: inherit;
  text-decoration: none;
}

.study-card h2,
.candidate-card h3 {
  margin: 8px 0;
}

.study-card p {
  line-height: 1.55;
}

.study-ja,
.study-detail-ja {
  opacity: 0.68;
}

.study-meta,
.study-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.study-meta.compact {
  justify-content: flex-end;
}

.study-badge,
.study-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid currentColor;
  font-size: 12px;
  line-height: 1.2;
}

.study-chip {
  opacity: 0.72;
}

.role-counterexample {
  border-style: dashed;
}

.study-section {
  margin-top: 40px;
}

.study-section > h2,
.study-method h2 {
  margin-bottom: 10px;
  font-size: 18px;
}

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

.study-method > div,
.study-conclusion {
  padding: 18px;
  border: 1px solid currentColor;
}

.study-method ul {
  margin: 0;
  padding-left: 20px;
}

.study-knowledge-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.study-knowledge-links a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid currentColor;
  color: inherit;
  text-decoration: none;
}

.study-knowledge-links span {
  font-size: 12px;
  opacity: 0.66;
}

.study-section-heading,
.candidate-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.candidate-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid currentColor;
}

.candidate-note {
  margin-bottom: 0;
  line-height: 1.55;
  opacity: 0.76;
}

.typography-preview {
  min-height: 280px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid currentColor;
  overflow: auto;
}

.typography-preview > p {
  margin: 0;
}

.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 24px 0 0;
  padding-top: 12px;
  border-top: 1px solid currentColor;
  font-size: 12px;
}

.value-list > div {
  display: flex;
  gap: 6px;
}

.value-list dt {
  opacity: 0.62;
}

.value-list dd {
  margin: 0;
}

.composition-preview {
  position: relative;
  width: 100%;
  margin-top: 18px;
  border: 1px solid currentColor;
  overflow: hidden;
}

.composition-block {
  position: absolute;
  display: block;
}

.tone-strong {
  background: currentColor;
}

.tone-medium {
  background: currentColor;
  opacity: 0.56;
}

.tone-light {
  background: currentColor;
  opacity: 0.22;
}

@media (max-width: 640px) {
  .study-main {
    width: min(100% - 20px, 1200px);
  }

  .study-section-heading,
  .candidate-heading {
    display: block;
  }

  .study-meta.compact {
    justify-content: flex-start;
    margin-top: 8px;
  }

  .candidate-grid {
    grid-template-columns: 1fr;
  }
}
