@import url("../react-recheck/reader.css");
.reader {
  max-width: 1140px;
}
.reader .intro {
  max-width: 890px;
}
.intro h1 {
  font-size: clamp(2.3rem, 5.1vw, 4.25rem);
  max-width: 980px;
}
.scenarios {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.scenarios button {
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.5;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d2ddec;
  background: #fff;
  color: #334761;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
}
.scenarios button[aria-pressed="true"] {
  background: #153e72;
  color: #fff;
  border-color: #153e72;
}
.case-intro {
  max-width: 820px;
  line-height: 1.85;
}
.release {
  border-block: 1px solid #dce5ef;
  padding: 1rem 0;
  margin: 1.5rem 0;
}
.release h3 {
  font-size: 0.82rem;
  color: #52647c;
  margin: 0 0 0.7rem;
}
.release ol {
  display: flex;
  gap: 0.5rem 2rem;
  flex-wrap: wrap;
  padding-left: 1.4rem;
  margin: 0;
  font-size: 0.86rem;
}
.release li {
  padding-left: 0.2rem;
}
.implementation-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.implementation {
  border: 1px solid #d4dfec;
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
}
.implementation-heading {
  padding: 1.3rem 1.4rem;
  background: #f2f5f9;
  min-height: 165px;
}
.managed .implementation-heading {
  background: #edf3fc;
}
.number {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #4c6b91;
}
.implementation h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 0.65rem 0;
}
.implementation-heading p {
  font-size: 0.83rem;
  line-height: 1.7;
  color: #53647c;
  margin: 0;
}
.implementation dl {
  padding: 0.6rem 1.4rem;
  margin: 0;
}
.implementation dl > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #e5ebf2;
}
.implementation dl > div:first-child dd {
  font-size: 1.5rem;
  color: #153e72;
  font-weight: 600;
}
.implementation dl > div:last-child {
  border: 0;
}
.decisions {
  padding: 0.5rem 1.4rem 1.2rem;
  border-top: 1px solid #e5ebf2;
}
.decisions h4 {
  font-size: 0.78rem;
  color: #52647c;
  margin: 0.5rem 0;
}
.decisions ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0;
}
.decisions li {
  font-size: 0.78rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.reading a[aria-disabled="true"] {
  color: #67788e;
}
.reader .legend {
  max-width: 900px;
}
@media (max-width: 700px) {
  .implementation-pair {
    grid-template-columns: 1fr;
  }
  .implementation-heading {
    min-height: 0;
    padding: 1.1rem;
  }
  .implementation dl {
    padding: 0.6rem 1.1rem;
  }
  .decisions {
    padding: 0.5rem 1.1rem 1rem;
  }
  .scenarios {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .scenarios button {
    font-size: 0.77rem;
  }
  .release ol {
    display: block;
  }
  .release li + li {
    margin-top: 0.4rem;
  }
  .intro h1 {
    font-size: 2.35rem;
  }
}
@media (max-width: 360px) {
  .scenarios {
    grid-template-columns: 1fr;
  }
  .implementation dl > div {
    gap: 0.5rem;
  }
}
