.ia-exam-solutions { min-width: 0; overflow-wrap: anywhere; }
.ia-exam-solutions h1 { max-width: 25ch; font-size: clamp(1.8rem, 6vw, 3rem); }
.ia-solution-index { display: flex; flex-wrap: wrap; gap: 1rem; }
.ia-solution-index a, .ia-exam-solutions summary { padding-block: .7rem; }
.ia-exam-solutions h2, .ia-exam-solutions h3 { scroll-margin-top: 6rem; }
.ia-exam-solutions .ia-solution { padding: 1rem; border: 1px solid var(--ia-border); border-radius: .6rem; }
.ia-exam-solutions summary { cursor: pointer; color: var(--ia-brand); font-weight: 700; }
.ia-exam-solutions summary:focus-visible { outline: 3px solid #f5a800; outline-offset: 3px; }
.ia-solution__caution { border-inline-start: .25rem solid #c98d13; padding-inline-start: .8rem; }
.ia-exam-solutions pre { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
.ia-exam-solutions pre code { white-space: inherit; }
.ia-structure { margin-block: 1rem; font-family: ui-monospace, monospace; font-size: .85rem; line-height: 1.5; }
.ia-structure__block { min-width: 0; border: 1px solid #5d6c85; background: #fff; }
.ia-structure__label { padding: .45rem; overflow-wrap: anywhere; }
.ia-structure__branches { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid #5d6c85; }
.ia-structure__branches > div { min-width: 0; padding: .25rem; }
.ia-structure__branches > div + div { border-left: 1px solid #5d6c85; }
.ia-structure__branches strong { display: block; padding: .25rem; }
.ia-structure__loop { padding: .25rem .25rem .25rem .6rem; border-top: 1px solid #5d6c85; border-left: .4rem solid #dce5f4; }
@media (max-width: 30rem) { .ia-structure__branches { grid-template-columns: minmax(0, 1fr); } .ia-structure__branches > div + div { border-left: 0; border-top: 1px dashed #5d6c85; } }

.ia-exam-solutions .ia-solution__followup{margin-block:1.25rem .25rem;padding:1rem;border-inline-start:4px solid #2945ac;background:#f2f5fb;color:#172033}
.ia-exam-solutions .ia-solution__followup h4{margin-top:0}
.ia-original-exam-solutions pre{padding:.8rem;background:#f2f5fb;color:#172033}
.ia-original-exam-solutions pre code{color:inherit}
