.ace-evidence-records {
  margin: 32px 0 0;
  padding-top: 28px;
  color: #001858;
  border-top: 1px solid #bdccda;
}
.ace-evidence-records > h3 {
  margin: 0 0 22px;
  color: #001858;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.65;
}
.ace-evidence-records > h3 > span,
.ace-evidence-theory > summary > span {
  display: inline-block;
  max-width: 100%;
}
.ace-evidence-records-row {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 26px;
}
.ace-evidence-records-row > div {
  min-width: 0;
  padding-top: 16px;
  border-top: 2px solid #a9bdcf;
}
.ace-evidence-records-row h4 {
  margin: 0 0 10px;
  color: #183a5d;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.65;
}
.ace-evidence-records-row p {
  margin: 0;
  color: #294760;
  font-size: 21px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.ace-evidence-theory {
  margin: 28px 0 18px;
  color: #001858;
  border-block: 1px solid #bdccda;
}
.ace-evidence-theory > summary {
  position: relative;
  padding: 20px 18px 20px 34px;
  color: #183a5d;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.65;
  list-style: none;
  cursor: pointer;
}
.ace-evidence-theory > summary::-webkit-details-marker { display: none; }
.ace-evidence-theory > summary::before {
  position: absolute;
  top: 32px;
  left: 5px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #708da7;
  content: '';
}
.ace-evidence-theory[open] > summary::before {
  transform: rotate(90deg);
}
.ace-evidence-theory > summary:focus-visible {
  outline: 3px solid #b9843f;
  outline-offset: 4px;
}
.ace-evidence-theory-body { padding: 0 0 24px; }
.ace-evidence-theory-intro {
  max-width: 48em;
  margin: 0 0 24px;
  color: #294760;
  font-size: 21px;
  line-height: 1.85;
}
.ace-evidence-learning-flow {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  align-items: stretch;
  gap: 30px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.ace-evidence-learning-flow > li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 18px 8px;
  background: #edf3f8;
  border-block: 1px solid #b8c8d6;
  text-align: center;
}
.ace-evidence-learning-flow > li + li::before {
  position: absolute;
  top: calc(50% - 16px);
  left: -29px;
  width: 28px;
  color: #708da7;
  font-size: 28px;
  line-height: 32px;
  content: '→';
}
.ace-evidence-learning-flow strong {
  color: #183a5d;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.65;
}
.ace-evidence-theory-meanings { margin: 0; }
.ace-evidence-theory-meanings > div {
  display: grid;
  grid-template-columns: 180px minmax(0,1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #c9d5df;
}
.ace-evidence-theory-meanings dt {
  margin: 0;
  color: #183a5d;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.7;
}
.ace-evidence-theory-meanings dd {
  margin: 0;
  color: #294760;
  font-size: 21px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
@media (max-width: 1000px) {
  .ace-evidence-records-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .ace-evidence-learning-flow { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .ace-evidence-learning-flow > li { padding: 12px 16px; }
  .ace-evidence-learning-flow > li + li::before {
    top: -31px;
    left: calc(50% - 14px);
    content: '↓';
  }
  .ace-evidence-learning-flow br { display: none; }
}
@media (max-width: 680px) {
  .ace-evidence-records { margin-top: 28px; padding-top: 24px; }
  .ace-evidence-records > h3 { font-size: 28px; }
  .ace-evidence-theory > summary { padding-right: 0; font-size: 25px; }
  .ace-evidence-theory-meanings > div { grid-template-columns: minmax(0,1fr); gap: 6px; padding-block: 16px; }
}
@media (max-width: 480px) {
  .ace-evidence-records-row { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .ace-evidence-records-row h4 { margin-bottom: 6px; }
}
@media print {
  .ace-evidence-records-row > div,
  .ace-evidence-theory-meanings > div { break-inside: avoid; }
  .ace-evidence-theory-body { display: block; }
}
