.bio-visual {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid #d1dce0;
  border-radius: 14px;
  background: #f8fafc;
  color: #243d49;
}
.bio-vector-scroll,
.bio-table-scroll {
  overflow-x: auto;
  max-width: 100%;
}
.bio-vector-scroll svg {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 750px;
  height: auto;
  margin: auto;
}
.bio-svg-label {
  font: 16px var(--font-sans);
  fill: #294853;
}
.bio-scientific-asset {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 900px;
  height: auto;
  margin: auto;
}
.bio-axis-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.bio-visual figcaption {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #48626e;
}
.bio-visual table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
  background: white;
}
.bio-visual th,
.bio-visual td {
  padding: 12px;
  text-align: left;
  border: 1px solid #cbd9e0;
  vertical-align: top;
}
.bio-visual th {
  background: #eeedf6;
  color: #524479;
}
.bio-visual caption {
  text-align: left;
  padding: 0 0 12px;
  font-size: 14px;
}
.bio-punnett {
  max-width: 620px;
  margin: auto;
}
.bio-punnett td {
  font-size: 24px;
  font-weight: 750;
  text-align: center;
}
.bio-punnett h4 {
  font-size: 20px;
}
.bio-graph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 12px 0;
  font-size: 14px;
}
.bio-graph-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.bio-graph-legend i {
  width: 18px;
  height: 5px;
  display: inline-block;
}
.bio-data-details {
  margin: 15px 0;
  font-size: 14px;
}
.bio-data-details table {
  margin: 10px 0 18px;
}
.bio-flow {
  display: grid;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 10px;
}
.bio-flow li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #d4cfdf;
  border-radius: 10px;
  background: white;
}
.bio-flow li > span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eee9f7;
  width: 28px;
  height: 28px;
  font-size: 14px;
  font-weight: 750;
}
.bio-flow p {
  margin: 0;
  font-size: 16px;
}
.bio-flow b {
  grid-column: 1/-1;
  text-align: center;
  color: #6651a0;
}
.bio-topic-art {
  background: var(--bio-art-surface);
  width: 100%;
  aspect-ratio: 8 / 5;
  height: auto;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}
.bio-topic-art .bio-visual {
  margin: 0;
  padding: 12px;
  border: 0;
  background: transparent;
  display: grid;
  height: 100%;
  box-sizing: border-box;
  grid-auto-rows: minmax(0, 1fr);
}
.bio-topic-art .bio-vector-scroll {
  min-height: 0;
  overflow: visible;
}
.bio-topic-art .bio-vector-scroll svg {
  width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: contain;
}
.bio-topic-art .anatomy-thumbnail {
  height: 100%;
  min-height: 0;
}
.bio-topic-art .anatomy-thumbnail svg {
  height: calc(100% - 28px);
}
.bio-topic-art.bio-reference-cover {
  display: flex;
  flex-direction: column;
  padding: 14px 18px 10px;
  box-sizing: border-box;
  background: #fff;
}
.bio-reference-cover > img,
.bio-reference-cover > svg {
  width: 100%;
  height: 0;
  flex: 1 1 0;
  min-height: 0;
  object-fit: contain;
}
.bio-reference-cover > span {
  font:
    11px/1.4 Arial,
    sans-serif;
  color: #526975;
  text-align: center;
  margin-top: 8px;
}
.bio-supporting-model {
  border: 1px solid #cddce3;
  border-radius: 12px;
  padding: 16px;
  margin-block: 16px;
  min-width: 0;
}
.bio-supporting-model > summary {
  cursor: pointer;
  font-weight: 700;
  color: #365366;
  min-height: 44px;
}
.bio-topic-art figcaption {
  display: none;
}
.bio-topic-art .bio-flow {
  gap: 5px;
}
.bio-topic-art .bio-flow li {
  padding: 7px 12px;
  font-size: 14px;
}
.bio-topic-art .bio-flow b {
  display: none;
}
.bio-topic-art .bio-punnett h4,
.bio-topic-art .bio-punnett p,
.bio-topic-art .bio-punnett caption {
  display: none;
}
.bio-topic-art .bio-punnett th,
.bio-topic-art .bio-punnett td {
  padding: 7px;
  font-size: 16px;
}
.bio-page {
  --learning-chem: var(--learning-bio);
}
.bio-topic-folder > summary > .bio-topic-art {
  grid-column: 1/-1;
}
.bio-page :focus-visible {
  outline: 3px solid #b17923;
  outline-offset: 4px;
}
.bio-page .bio-primary {
  background: var(--learning-bio);
}
.bio-page .bio-topic-folder {
  border-color: var(--bio-card-border);
}
.bio-memory-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0;
}
.bio-memory-panel {
  min-width: 0;
  border: 1px solid #d1c9e0;
  border-radius: 12px;
  background: white;
  padding: 18px;
}
.bio-memory-panel h3 {
  margin: 0 0 14px;
  font-size: 19px;
  color: #574183;
}
.bio-memory-panel ol,
.bio-memory-panel ul {
  padding-left: 22px;
}
.bio-memory-panel li {
  margin: 12px 0;
}
.bio-memory-panel .bio-visual {
  margin: 0;
  padding: 8px;
}
.bio-memory-panel .bio-vector-scroll svg {
  min-width: 0;
}
.bio-memory-trap {
  border-left: 4px solid #b5883e;
  padding: 12px 16px;
  background: #fff7e9;
  border-radius: 6px;
}
.bio-teacher-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bio-teacher-grid > article {
  padding: 20px;
  border: 1px solid var(--bio-card-border);
  border-radius: 14px;
  background: white;
}
.bio-teacher-grid > article h3 {
  font-size: 19px;
}
.bio-teacher-grid > article progress {
  width: 100%;
  accent-color: var(--learning-bio);
}
.bio-attempt-table {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.bio-attempt-table > button {
  display: grid;
  gap: 5px;
  text-align: left;
  border: 1px solid #d3dce0;
  border-radius: 10px;
  background: white;
  padding: 16px;
  color: var(--navy);
  font: 16px var(--font-sans);
}
.bio-review-form textarea {
  width: 100%;
}
@media (max-width: 700px) {
  .bio-memory-layout,
  .bio-teacher-grid {
    grid-template-columns: 1fr;
  }
  .bio-visual {
    padding: 12px;
  }
}
@media print {
  .bio-vector-scroll {
    overflow: visible;
  }
  .bio-vector-scroll svg {
    min-width: 0;
    max-width: 100%;
  }
  .bio-visual {
    break-inside: avoid;
  }
  .bio-memory-layout {
    display: block;
  }
  .bio-memory-panel {
    margin: 12px 0;
    break-inside: avoid;
  }
}
@media print {
  .bio-scientific-asset {
    min-width: 0;
    max-width: 100%;
  }
}
.bio-labelled-anatomy {
  margin: 1rem auto;
  max-width: 44rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid #d1dfe6;
  background: #fff;
  border-radius: 1rem;
}
.bio-labelled-anatomy > svg {
  display: block;
  width: 100%;
  max-height: 620px;
  overflow: hidden;
  margin: auto;
}
.bio-labelled-anatomy figcaption {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #294958;
  margin-top: 1rem;
}
.bio-labelled-anatomy .bio-art-credit {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #536b77;
}
.bio-cover-credits {
  max-width: 70rem;
  margin: 1.25rem auto;
  padding: 1rem;
  color: #526b78;
  font-size: 0.8rem;
  line-height: 1.6;
}
.bio-cover-credits summary {
  cursor: pointer;
}
.bio-cover-credits li + li {
  margin-top: 0.65rem;
}
.bio-cover-credits a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.bio-page {
  background: #f5f8fa;
  color: #163547;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.75;
}
.bio-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 5%;
  border-bottom: 1px solid #d8e4e9;
  gap: 18px;
  background: white;
}
.bio-topbar a {
  font-weight: 750;
  color: #176d86;
}
.bio-topbar > span:last-child {
  font-size: 14px;
  color: #4c6d7a;
}
.bio-shell {
  max-width: 1240px;
  margin: auto;
  padding: 36px 26px 80px;
}
.bio-heading {
  margin-bottom: 32px;
}
.bio-heading h1 {
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -1px;
  margin: 14px 0;
}
.bio-heading > p {
  max-width: 780px;
  color: #557280;
}
.subject-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.subject-nav a {
  padding: 11px 18px;
  border: 1px solid #bfced7;
  border-radius: 12px;
  background: white;
  font-weight: 700;
  color: #176c82;
}
.subject-nav a[aria-current] {
  background: #174865;
  color: white;
  border-color: #174865;
}
.bio-layout {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 28px;
}
.bio-rail {
  align-self: start;
  position: sticky;
  top: 20px;
  border: 1px solid #d3e1e7;
  border-radius: 18px;
  background: white;
  padding: 22px;
}
.bio-rail > progress {
  width: 100%;
  accent-color: #197d96;
}
.bio-rail p {
  font-size: 14px;
  color: #607985;
}
.bio-rail button {
  display: flex;
  align-items: start;
  gap: 10px;
  width: 100%;
  padding: 13px 9px;
  border: 0;
  border-radius: 10px;
  text-align: left;
  margin: 7px 0;
  background: transparent;
  line-height: 1.5;
  font-size: 15px;
  color: #254c60;
}
.bio-rail button > span:first-child {
  font-weight: 800;
  color: #167e8f;
}
.bio-rail button small {
  display: block;
  font-size: 13px;
  margin-top: 4px;
  color: #5d7785;
}
.bio-rail .selected {
  background: #e8f4f7;
}
.bio-main {
  min-width: 0;
}
.bio-card {
  border: 1px solid #cedfe6;
  border-radius: 22px;
  background: white;
  padding: 30px;
  margin: 18px 0;
  box-shadow: 0 3px 14px #103c5410;
}
.bio-card h2 {
  font-size: 28px;
  line-height: 1.45;
  white-space: pre-line;
  margin: 12px 0 22px;
}
.bio-card h3 {
  font-size: 23px;
  margin: 30px 0 15px;
}
.bio-card > p {
  margin: 17px 0;
}
.bio-goal {
  font-size: 18px;
  color: #27708a;
}
.bio-terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.bio-terms > div {
  background: #f1f7fa;
  padding: 16px;
  border-radius: 12px;
}
.bio-terms dt {
  font-weight: 800;
  color: #1c5873;
}
.bio-terms dd {
  margin: 6px 0 0;
}
.bio-stage-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bio-stage-nav button {
  padding: 11px 14px;
  border: 1px solid #bed4de;
  border-radius: 10px;
  background: white;
  font-size: 14px;
}
.bio-stage-nav button.selected {
  background: #174865;
  color: white;
}
.bio-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 20px 0;
}
.bio-steps li {
  counter-increment: step;
  position: relative;
  padding: 22px 22px 20px 60px;
  margin: 15px 0;
  background: #f4f8fa;
  border: 1px solid #deeaef;
  border-radius: 16px;
}
.bio-steps li:before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 23px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #1c788a;
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 25px;
}
.bio-steps p {
  margin: 9px 0;
  white-space: pre-line;
}
.bio-equation {
  font-size: 19px;
  font-weight: 650;
  color: #154a60;
  background: #e8f1f6;
  padding: 12px;
  border-radius: 9px;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.bio-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.bio-actions button,
.bio-primary,
.bio-notes nav button {
  padding: 13px 18px;
  border: 1px solid #a8c4d1;
  border-radius: 12px;
  background: white;
  color: #175b74;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.bio-actions .bio-primary,
.bio-primary {
  background: #185b79;
  color: white;
  border-color: #185b79;
}
.bio-actions button:disabled {
  opacity: 0.55;
  cursor: default;
}
.bio-input {
  display: grid;
  gap: 12px;
  font-weight: 700;
  margin: 22px 0;
}
.bio-input input,
.bio-input textarea {
  width: 100%;
  border: 2px solid #a9c4d1;
  border-radius: 12px;
  padding: 15px;
  font-size: 18px;
  line-height: 1.6;
  background: #fff;
  font-weight: 400;
}
.bio-choices {
  border: 0;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}
.bio-choices legend {
  font-weight: 700;
  margin: 10px 0;
}
.bio-choices label {
  display: flex;
  align-items: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid #cadde6;
  border-radius: 14px;
  background: #fbfdfe;
  cursor: pointer;
}
.bio-choices input {
  margin-top: 8px;
  accent-color: #1c7c91;
}
.bio-feedback {
  background: #edf6f7;
  border-left: 4px solid #398392;
  padding: 15px 18px;
}
.bio-help {
  border-top: 2px solid #cce2e8;
  margin-top: 24px;
  padding-top: 15px;
}
.bio-final {
  background: #e3f1ec;
  padding: 18px;
  border-radius: 12px;
  color: #165545;
  white-space: pre-line;
}
.bio-recap summary {
  font-weight: 750;
  color: #1b6b82;
  cursor: pointer;
}
.bio-visual {
  margin: 28px 0;
  padding: 20px;
  background: #fff;
  border: 1px solid #d5e4eb;
  border-radius: 16px;
}
.bio-visual svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  font-family: inherit;
  overflow: visible;
}
.bio-visual figcaption {
  color: #456d80;
  font-size: 14px;
  line-height: 1.65;
  margin-top: 14px;
}
.bio-small {
  font-size: 14px;
  line-height: 1.8;
  color: #5b7684;
}
.bio-home-memory {
  padding: 25px 30px;
  border-radius: 20px;
  background: #e9f3f8;
  margin: 30px 0;
}
.bio-home-memory h2 {
  font-size: 25px;
}
.bio-home-memory ul {
  padding-left: 20px;
}
.bio-home-memory li {
  margin: 8px 0;
}
.bio-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.bio-topic-grid > a {
  background: white;
  border: 1px solid #cfdee6;
  border-radius: 20px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}
.bio-topic-grid > a:hover {
  border-color: #17869a;
}
.bio-topic-grid h2 {
  font-size: 25px;
  line-height: 1.25;
  margin: 4px 0;
}
.bio-topic-grid p {
  font-size: 15px;
  line-height: 1.75;
  color: #557280;
  flex: 1;
}
.bio-topic-grid progress {
  width: 100%;
  accent-color: #218797;
}
.bio-topic-grid div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
}
.bio-topic-grid small {
  font-size: 13px;
  color: #5a7582;
}
.bio-topic-grid strong {
  color: #16728b;
}
.bio-daily {
  max-width: 950px;
}
.bio-notes {
  max-width: 960px;
  margin: auto;
  padding: 35px 28px;
  font-size: 17px;
  line-height: 1.8;
  color: #1b3c4c;
}
.bio-notes nav {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.bio-notes section {
  margin: 30px 0;
  border-top: 1px solid #d4e1e7;
  padding-top: 22px;
}
.bio-notes dt {
  font-weight: 750;
}
.bio-notes dd {
  margin: 4px 0 15px;
}
.bio-notes h1 {
  font-size: 36px;
  line-height: 1.25;
}
.study-guide-panel {
  margin: 22px 0;
  padding: 24px;
  border: 1px solid #cadddf;
  border-radius: 18px;
  background: white;
  font-size: 16px;
  line-height: 1.85;
}
.study-guide-panel summary {
  font-weight: 800;
  color: #156d79;
  cursor: pointer;
}
.study-guide-panel ol {
  padding-left: 26px;
}
.study-guide-panel li {
  margin: 20px 0;
}
.study-guide-panel p {
  margin: 10px 0;
}
.study-guide-panel .study-why {
  background: #f0f6f5;
  padding: 13px;
  border-radius: 10px;
}
.study-free-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.study-free-nav button {
  padding: 12px;
  border: 1px solid #b9ced0;
  border-radius: 10px;
  background: #f6fafb;
  color: #195c68;
  font-weight: 700;
}
.study-full-help {
  margin-top: 20px;
  border-top: 1px solid #d5e2e4;
}
.study-expression {
  font-size: 23px;
}
.bio-page button:focus-visible,
.subject-nav a:focus-visible,
.teacher-page button:focus-visible {
  outline: 3px solid #df9a25;
  outline-offset: 3px;
}
@media (max-width: 850px) {
  .bio-topic-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bio-layout {
    grid-template-columns: 1fr;
  }
  .bio-rail {
    position: static;
  }
  .bio-rail button {
    display: inline-flex;
    width: calc(50% - 4px);
    vertical-align: top;
  }
  .bio-heading h1 {
    font-size: 38px;
  }
  .bio-topbar {
    flex-wrap: wrap;
    font-size: 14px;
  }
  .bio-shell {
    padding: 24px 17px 60px;
  }
}
@media (max-width: 540px) {
  .bio-topic-grid,
  .bio-terms {
    grid-template-columns: 1fr;
  }
  .bio-card {
    padding: 22px 18px;
  }
  .bio-card h2 {
    font-size: 24px;
  }
  .bio-rail button {
    width: 100%;
  }
  .bio-steps li {
    padding: 18px 15px 18px 48px;
  }
  .bio-steps li:before {
    left: 12px;
    top: 20px;
  }
  .bio-visual {
    padding: 10px;
  }
  .bio-stage-nav button {
    flex: 1;
  }
  .bio-topbar > span:last-child {
    width: 100%;
  }
  .bio-heading h1 {
    font-size: 34px;
  }
  .bio-home-memory {
    padding: 22px;
  }
  .study-guide-panel {
    padding: 18px;
  }
}
@media print {
  .bio-notes nav,
  .learning-presence-notice {
    display: none !important;
  }
  .bio-notes {
    padding: 0;
    font-size: 11pt;
    line-height: 1.5;
  }
  .bio-notes h1 {
    font-size: 24pt;
  }
  .bio-notes section {
    break-before: auto;
  }
  .bio-steps li,
  .bio-visual {
    break-inside: avoid;
  }
  .bio-notes h2,
  .bio-notes h3 {
    break-after: avoid;
  }
  .bio-visual svg {
    max-height: 300px;
  }
}

.bio-exam-figure {
  margin: 22px 0;
  border: 1px solid #c7d6e1;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  break-inside: avoid;
}
.bio-exam-figure > figcaption {
  padding: 15px 18px;
  border-bottom: 1px solid #dfe7ed;
  background: #f1f6fb;
  color: #345368;
  font-size: 14px;
  line-height: 1.65;
}
.bio-diagram-scroll,
.bio-data-scroll {
  overflow-x: auto;
  max-width: 100%;
  padding: 12px;
}
.bio-diagram-scroll > svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 680px;
  min-width: 420px;
  margin: auto;
}
.bio-exam-figure table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
}
.bio-exam-figure th,
.bio-exam-figure td {
  padding: 11px 13px;
  border-bottom: 1px solid #dce6ed;
  vertical-align: top;
  min-width: 90px;
}
.bio-exam-figure th {
  background: #eef4f9;
  font-weight: 750;
  color: #274b69;
}
.bio-exam-figure tr:last-child td {
  border-bottom: 0;
}
.bio-data-values {
  margin: 0;
  padding: 12px 17px;
  border-top: 1px solid #dfe7ed;
  font-size: 14px;
}
.bio-data-values > summary {
  cursor: pointer;
  font-weight: 700;
  color: #315b7a;
  min-height: 32px;
}
.bio-particle-panels,
.bio-structure-panels {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.bio-particle-panels > div,
.bio-structure-panels > div {
  flex: 1 1 250px;
  max-width: 360px;
  text-align: center;
  min-width: 220px;
}
.bio-particle-panels svg,
.bio-structure-panels svg {
  display: block;
  width: 100%;
  height: auto;
}
.bio-particle-panels > div > strong,
.bio-structure-panels > div > strong {
  display: block;
  padding: 10px;
  color: #314f72;
  font-size: 16px;
}
.bio-particle-key {
  flex-basis: 100%;
  font-size: 14px;
  color: #435f74;
  padding: 0 10px;
}
.bio-notes > nav > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #cad8e5;
  border-radius: 9px;
  background: #fff;
  color: #315777;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}
@media (max-width: 600px) {
  .bio-exam-figure > figcaption {
    font-size: 14px;
    padding: 12px;
  }
  .bio-data-scroll {
    padding: 5px;
  }
  .bio-exam-figure th,
  .bio-exam-figure td {
    padding: 10px;
    font-size: 14px;
  }
  .bio-diagram-scroll {
    padding: 10px 4px;
  }
  .bio-exam-figure:has(.bio-diagram-scroll > svg):after {
    content: 'Swipe across the diagram if needed';
    display: block;
    padding: 8px 12px;
    background: #f3f7fa;
    color: #506b7c;
    font-size: 12px;
  }
}
@media print {
  .bio-diagram-scroll,
  .bio-data-scroll {
    overflow: visible;
  }
  .bio-diagram-scroll > svg {
    min-width: 0;
  }
  .bio-exam-figure {
    break-inside: avoid;
  }
}
