.ao5-sample { --sample-ink: #173a31; --sample-muted: #496259; --sample-line: #cfdfd6; --sample-panel: #eff6f1; color: var(--sample-ink); }
.ao5-sample .ao-hero { margin-bottom: 1.5rem; }
.ao5-sample h2 { line-height: 1.25; margin: 2.1rem 0 .75rem; }
.ao5-sample h3 { line-height: 1.3; }
.ao5-sample p, .ao5-sample li { line-height: 1.65; }
.ao5-sample .ao5-prose { max-width: 76ch; }
.ao5-sample .ao-table-wrap { overflow-x: auto; margin: 1rem 0; }
.ao5-sample table { margin: 0; width: 100%; border-collapse: collapse; }
.ao5-sample th, .ao5-sample td { padding: .75rem; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.ao5-sample th { background: #e3f0e7; }
.ao5-sample td { border-bottom: 1px solid var(--sample-line); }
.ao5-sample .ao5-scene, .ao5-sample .ao5-text, .ao5-sample .ao5-compare, .ao5-sample .ao5-check {
  margin: 1.25rem 0;
  padding: 1rem 1.2rem;
  border-radius: .4rem;
  border-left: 4px solid #34705e;
  background: var(--sample-panel);
}
.ao5-sample .ao5-scene h3, .ao5-sample .ao5-compare h2 { margin-top: 0; }
.ao5-sample .ao5-scene p, .ao5-sample .ao5-text p { margin: .35rem 0; }
.ao5-sample .ao5-compare dl { margin: 0; }
.ao5-sample .ao5-compare dt { font-weight: 700; }
.ao5-sample .ao5-compare dd { margin: .2rem 0 .8rem; }
.ao5-sample .ao5-compare dd:last-child { margin-bottom: 0; }
.ao5-sample .ao5-index-nav, .ao5-sample .ao5-in-page {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  margin-block: 1rem 1.5rem;
}
.ao5-sample .ao5-index-nav a, .ao5-sample .ao5-in-page a {
  padding: .4rem .75rem;
  border-radius: .4rem;
  border: 1px solid var(--sample-line);
  background: #fbfdfb;
  color: var(--sample-ink);
}
.ao5-sample section[id] { scroll-margin-top: 5rem; }
.ao5-sample .ao5-index-section { margin: 1rem 0; padding: .5rem 1rem; border: 1px solid var(--sample-line); border-radius: .55rem; }
.ao5-sample .ao5-index-section h2 { margin: .55rem 0; }
.ao5-sample .ao5-index-section ol { columns: 2; column-gap: 2rem; margin: .6rem 0 1rem; padding-left: 1.35rem; }
.ao5-sample .ao5-index-section li { break-inside: avoid; margin-bottom: .3rem; }
.ao5-sample .ao5-vocab-list { list-style: none; padding: 0; margin: 0; }
.ao5-sample .ao5-vocab-entry { display: grid; grid-template-columns: minmax(11rem, 2fr) minmax(0, 3fr); gap: .25rem 1rem; padding: .8rem .75rem; border-bottom: 1px solid var(--sample-line); }
.ao5-sample .ao5-vocab-entry:nth-child(odd) { background: #f7faf7; }
.ao5-sample .ao5-vocab-entry p { margin: 0; overflow-wrap: anywhere; }
.ao5-sample .ao5-vocab-label { display: flex; gap: .3rem .6rem; flex-wrap: wrap; align-items: baseline; }
.ao5-sample .ao5-vocab-detail { color: var(--sample-muted); font-size: .9em; }
.ao5-sample .ao5-vocab-entry .ao5-word, .ao5-sample .ao5-device-word { margin-left: 0; }
.ao5-sample .ao5-device-word { border: 1px solid #34705e; color: #174737; background: #fff; border-radius: .4rem; padding: .27rem .55rem; font: inherit; font-size: .82rem; cursor: pointer; }
.ao5-sample .ao5-device-word[aria-pressed="true"], .ao5-sample .ao5-word[aria-pressed="true"] { background: #d5ebdd; }
.ao5-sample .ao5-word-status:empty { display: none; }
.ao5-sample .ao5-word-status { padding: .4rem .65rem; background: #fff5dc; }
.ao5-sample .ao5-training { padding: .6rem 0 1.5rem; }
.ao5-sample .ao5-training h2 { margin-top: .9rem; }
.ao5-sample .ao5-training li { margin-bottom: .45rem; }
.ao5-sample .ao-answer summary { cursor: pointer; font-weight: 650; }
.ao5-sample .ao-answer { margin: .65rem 0; }
.ao5-sample .ao5-footer { margin: 1.6rem 0; border-top: 1px solid var(--sample-line); padding-top: 1rem; }
.ao5-sample .ao5-source { color: var(--sample-muted); font-size: .9rem; }
.ao5-sample .ao5-audio-status:empty { min-height: 0; margin: 0; }
.ao5-sample :focus-visible { outline: 2px solid #185f4c; outline-offset: 3px; }
@media (max-width: 680px) {
  .ao5-sample .ao5-vocab-entry { grid-template-columns: minmax(0, 1fr); }
  .ao5-sample .ao5-index-section ol { columns: 1; }
  .ao5-sample th, .ao5-sample td { padding: .45rem; }
}

.ao5-sample .ao5-english {
  font-style: italic;
  font-weight: 600;
  color: #165d50;
}
.ao5-sample .ao5-worked {
  background: #fff7e5;
  border: 1px solid #e9d9ae;
  border-left: 4px solid #a76b21;
  padding: .9rem 1.1rem;
  margin: 1.25rem 0;
  border-radius: .5rem;
}
.ao5-sample .ao5-worked h3 { margin: .2rem 0 .65rem; }
.ao5-sample .ao5-worked p { margin: .55rem 0; }
.ao5-sample .ao5-worked .ao5-worked-label {
  margin-top: 0;
  color: #744513;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.ao5-sample .ao5-worked-answer { border-top: 1px solid #e9d9ae; padding-top: .55rem; }
.ao5-sample .ao5-vocab-focus {
  padding: .25rem 1rem 0;
  border-left: 3px solid #72998a;
  margin: 1.25rem 0 2rem;
}

/* Grade-five exercise banks, answers at the end of each block. */
.ao5-sample.aoex { max-width: 82ch; margin-inline: auto; }
.aoex .aoex-instructions { color: #496259; }
.aoex .aoex-unit { border: 1px solid #cfdfd6; border-radius: .55rem; margin: .8rem 0; background: #fff; scroll-margin-top: 5rem; }
.aoex .aoex-unit > summary { cursor: pointer; padding: .9rem 1rem; font-weight: 700; line-height: 1.4; background: #f4f8f5; border-radius: .55rem; }
.aoex .aoex-unit[open] > summary { border-bottom: 1px solid #cfdfd6; border-radius: .55rem .55rem 0 0; }
.aoex .aoex-unit-body { padding: .35rem 1.1rem 1.1rem; }
.aoex .aoex-unit-body > :last-child { margin-bottom: 0; }
.aoex .aoex-unit-body > ol > li { padding: .3rem 0 .6rem .2rem; border-bottom: 1px solid #e5ede8; }
.aoex .aoex-unit-body > ol > li:last-child { border-bottom: 0; }
.aoex .aoex-unit-body > ol { padding-left: 1.8rem; }
.aoex .aoex-unit-body > ol > li > p { margin: .35rem 0; }
.aoex .aoex-options { list-style: none; margin: .45rem 0 .2rem; padding-left: .8rem; }
.aoex .aoex-options li { margin: .2rem 0; padding: 0; border: 0; }
.aoex blockquote { background: #eff6f1; border-left: 4px solid #34705e; margin: 1rem 0; padding: .7rem 1rem; border-radius: 0 .35rem .35rem 0; }
.aoex blockquote p { line-height: 1.8; margin: .4rem 0; }
.aoex .aoex-gloss { color: #496259; font-size: .92em; }
.aoex .aoex-solutions { border-top: 2px solid #acc8b8; margin: 2rem 0; padding-top: .6rem; }
.aoex .aoex-solutions > h2 { margin-top: .65rem; }
.aoex .aoex-solutions > .ao-answer { padding: .75rem 1rem; border: 1px solid #acc8b8; border-radius: .5rem; background: #f8fbf8; }
.aoex .aoex-solutions .aoex-unit { background: #fff; }
.aoex .ao5-listening audio { width: 100%; max-width: 32rem; }
.aoex .ao5-audio-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.aoex .aoex-back, .ao5-sample .aoex-practice-link { padding: 1rem 0; border-top: 1px solid #cfdfd6; margin-top: 1.4rem; }
@media (max-width: 680px) {
 .aoex .aoex-unit-body { padding: .25rem .75rem .9rem; }
 .aoex .aoex-unit > summary { padding: .8rem; }
 .aoex .aoex-unit-body > ol { padding-left: 1.4rem; }
 .aoex .aoex-solutions > .ao-answer { padding: .65rem; }
}
