:root {
  --sidebar: 244px;
  --bg: #f7f7f1;
  --ink: #233e32;
}
body {
  background: var(--bg);
}
main {
  max-width: 1720px;
  padding: 0 42px 24px;
}
.sidebar {
  background: #eef1e8;
  padding: 30px 18px 20px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.brand {
  padding-bottom: 32px;
}
.space-label {
  font-size: 9px;
  margin-bottom: 14px;
}
.study-nav .nav-item {
  padding: 12px 13px;
  margin-bottom: 4px;
  font-size: 12px;
  border-radius: 8px;
  gap: 10px;
}
.study-nav .nav-item small {
  margin-left: auto;
  color: #a5af9c;
  font-size: 9px;
  font-weight: 400;
}
.study-nav .nav-item.selected {
  background: #dfe8d5;
}
.study-nav .nav-symbol {
  font-size: 17px;
}
.study-nav .nav-item:last-child {
  margin-top: 6px;
  background: #e6ecde;
}
.sidebar-note {
  display: none;
}
.study-progress {
  border: 1px solid #dbe3d1;
  background: #e8eedf;
  border-radius: 12px;
  margin: 26px 8px 24px;
  padding: 20px 17px;
  position: relative;
}
.study-progress .tiny-label {
  letter-spacing: 1.3px;
  font-size: 8px;
}
.study-progress h3 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 18px;
  font-weight: 500;
  margin: 12px 0 15px;
}
.progress-icon {
  position: absolute;
  right: 13px;
  top: 12px;
  color: #9aac85;
  font-size: 24px;
}
.study-progress p {
  font-size: 10px;
  color: #81916f;
  margin: 0 0 9px;
}
.study-progress p strong {
  color: #426346;
  font-size: 20px;
  font-weight: 500;
}
.study-progress progress {
  appearance: none;
  height: 4px;
  width: 100%;
  display: block;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #d6e0ca;
}
.study-progress progress::-webkit-progress-bar {
  background: #d6e0ca;
}
.study-progress progress::-webkit-progress-value {
  background: #789a5f;
  border-radius: 4px;
}
.study-progress progress::-moz-progress-bar {
  background: #789a5f;
}
.progress-caption {
  font-size: 8px;
  margin-top: 10px;
  color: #92a17e;
  line-height: 1.7;
}
.sidebar-bottom {
  margin-top: auto;
  font-size: 9px;
}
.topbar {
  height: 78px;
  font-size: 11px;
}
.study-hero {
  padding: 43px 42px 30px;
  min-height: 415px;
  background: #1f4a3b;
  border: 1px solid #315b42;
  border-radius: 18px;
  isolation: isolate;
  color: #f3f6e8;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 99%, #d6e6a709 99%),
    linear-gradient(transparent 99%, #d6e6a709 99%);
  background-size: 42px 42px;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000);
  z-index: -1;
}
.study-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: #90ba7c0a;
  right: -160px;
  top: -180px;
  z-index: -1;
}
.hero-edition {
  position: absolute;
  top: 24px;
  right: 28px;
  color: #a9be9c;
  font-size: 8px;
  letter-spacing: 2px;
}
.study-hero .eyebrow {
  color: #b1c49f;
  letter-spacing: 1.6px;
  font-size: 9px;
}
.study-hero .eyebrow i {
  background: #cbda91;
  box-shadow: 0 0 0 4px #d7e3a20b;
}
.study-hero h1 {
  font-size: clamp(35px, 3.5vw, 53px);
  letter-spacing: -1px;
  line-height: 1.3;
  font-weight: 500;
  margin: 23px 0 15px;
  white-space: normal;
}
.study-hero h1 span {
  color: #d2df9b;
}
.study-hero .hero-copy > p {
  font-size: 11px;
  line-height: 2;
  letter-spacing: 0.7px;
  color: #9eb49f;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
}
.primary-link {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 12px 17px;
  background: #d8e5ac;
  color: #2b5238;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 550;
  border: 1px solid transparent;
  cursor: pointer;
}
.primary-link:hover {
  background: #e3edc5;
}
.secondary-link {
  font-size: 10px;
  color: #b2c5a9;
}
.secondary-link span {
  margin-left: 9px;
}
.hero-footnote {
  display: flex;
  gap: 18px;
  margin-top: 26px;
  color: #94ad91;
  font-size: 9px;
}
.hero-footnote span:first-child {
  font-family: Georgia, serif;
  font-style: italic;
}
.study-hero .hero-art {
  width: 350px;
  min-height: 300px;
  display: block;
}
.study-hero .orbit {
  border-color: #bbd7a91b;
  width: 260px;
  height: 260px;
  left: 48px;
  top: 24px;
}
.study-hero .orbit-two {
  width: 320px;
  height: 320px;
  left: 18px;
  top: -6px;
}
.study-hero .orbit-three {
  width: 380px;
  height: 380px;
  left: -12px;
  top: -36px;
}
.study-hero .bean {
  top: 91px;
  width: 85px;
  height: 133px;
  animation: bean-float 7s ease-in-out infinite;
}
.study-hero .bean-left {
  left: 79px;
  background: #a5c181;
  box-shadow:
    inset 9px 0 15px #bdd3a0,
    inset -9px -8px 12px #8da66d,
    8px 16px 25px #102d2480;
}
.study-hero .bean-right {
  left: 177px;
  animation-delay: -3s;
  background: #c5d6a1;
}
.study-hero .eye {
  top: 60px;
}
.study-hero .eye-one {
  left: 32px;
}
.study-hero .eye-two {
  left: 49px;
}
.study-hero .cheek {
  top: 76px;
  left: 24px;
}
.study-hero .art-caption {
  top: 267px;
  left: 96px;
  color: #a0b797;
  font-size: 9px;
}
.study-hero .spark-one {
  left: 25px;
  top: 76px;
  color: #c3d592;
}
.study-hero .spark-two {
  right: 11px;
  top: 227px;
  color: #c3d592;
  font-size: 28px;
}
.floating-label {
  position: absolute;
  padding: 8px 12px;
  color: #bbcead;
  font-size: 8px;
  letter-spacing: 1px;
  border: 1px solid #87a68044;
  border-radius: 5px;
  background: #355e4599;
  backdrop-filter: blur(6px);
}
.label-a {
  top: 47px;
  right: -2px;
  transform: rotate(6deg);
}
.label-b {
  top: 224px;
  left: 14px;
  transform: rotate(-6deg);
}
.hero-art-index {
  position: absolute;
  bottom: -20px;
  right: 0;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 74px;
  color: #aac38c0f;
  pointer-events: none;
}
.orbit-dot {
  position: absolute;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  background: #afc68d;
}
.dot-one {
  left: 56px;
  top: 60px;
}
.dot-two {
  right: 42px;
  top: 254px;
  width: 4px;
  height: 4px;
}
.mobile-study-nav {
  display: none;
}
.metric-strip {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #e4e9dc;
  background: #fcfcf8;
  border-radius: 12px;
  padding: 22px 0;
}
.metric-strip > div {
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e5e9dd;
}
.metric-strip > div:last-child {
  border-right: 0;
}
.metric-icon {
  color: #8da576;
  font-size: 19px;
}
.metric-strip strong {
  font-family: Georgia, serif;
  font-size: 30px;
  color: #3c5e40;
  font-weight: 400;
}
.metric-strip > div > span:last-child {
  font-size: 10px;
  color: #6d8061;
  line-height: 1.5;
}
.metric-strip small {
  display: block;
  font-size: 8px;
  color: #a0ac91;
  margin-top: 5px;
}
.study-section {
  margin-top: 52px;
  scroll-margin-top: 24px;
}
.module-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 24px;
}
.module-kicker {
  display: block;
  font-size: 8px;
  letter-spacing: 2.2px;
  color: #94a181;
  font-weight: 500;
}
.module-heading h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
  font-weight: 500;
  margin: 12px 0 9px;
  line-height: 1.5;
}
.module-heading p {
  font-size: 11px;
  color: #8f9c81;
  line-height: 1.9;
  margin: 0;
}
.section-stamp {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #a7af9c;
  white-space: nowrap;
  padding-bottom: 4px;
}
.lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.lesson-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: #f0f2e5;
  border: 1px solid #e2e7d5;
  border-radius: 11px;
  padding: 19px 21px 16px;
  text-align: left;
  min-height: 225px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  isolation: isolate;
}
.lesson-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px #405b2820;
}
.lesson-card::after {
  content: "";
  position: absolute;
  width: 135px;
  height: 135px;
  border: 1px solid #78915c13;
  border-radius: 50%;
  right: -44px;
  top: 8px;
  z-index: -1;
}
.lesson-topline {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #899a75;
}
.lesson-check {
  color: #91a27c;
}
.lesson-symbol {
  position: absolute;
  top: 42px;
  right: 22px;
  font-size: 68px;
  line-height: 1;
  color: #9daf7a35;
  pointer-events: none;
}
.lesson-category {
  font-size: 9px;
  color: #83946f;
  margin-top: 28px;
}
.lesson-card > strong {
  display: block;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 550;
  color: #4a6442;
  margin-top: 9px;
  position: relative;
  z-index: 1;
}
.lesson-intro {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.9;
  color: #8b987b;
  margin: 10px 0 22px;
  max-width: 88%;
}
.lesson-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #96a184;
  padding-top: 12px;
  border-top: 1px solid #9dad8822;
  gap: 10px;
}
.lesson-bottom > span:last-child {
  color: #637f4e;
}
.palette-1 {
  background: #eaf0e9;
  border-color: #dce6dc;
}
.palette-1 .lesson-symbol {
  color: #83a59a40;
}
.palette-2 {
  background: #f3ece1;
  border-color: #e9e0d1;
}
.palette-2 .lesson-symbol {
  color: #bca77b40;
}
.palette-3 {
  background: #edefe7;
  border-color: #dfe5d9;
}
.palette-3 .lesson-symbol {
  color: #9aa48440;
}
.palette-4 {
  background: #eeedf3;
  border-color: #e0deea;
}
.palette-4 .lesson-symbol {
  color: #a699b640;
}
.palette-5 {
  background: #e9f0e2;
  border-color: #dbe5d1;
}
.palette-5 .lesson-symbol {
  color: #9ab47d40;
}
.is-read .lesson-check {
  background: #d5e2ca;
  border-radius: 3px;
  padding: 2px 5px;
  color: #557546;
}
.mechanism-shell {
  background: #fff;
  border: 1px solid #e0e6d8;
  border-radius: 13px;
  overflow: hidden;
}
.mechanism-tabs {
  display: flex;
  border-bottom: 1px solid #e6ebdf;
  background: #fafbf6;
}
.mechanism-tab {
  flex: 1;
  text-align: left;
  padding: 21px 23px;
  border-right: 1px solid #e7ecdf;
  border-bottom: 2px solid transparent;
}
.mechanism-tab:last-child {
  border-right: 0;
}
.mechanism-tab > span {
  display: inline-block;
  color: #a3b291;
  font:
    17px Georgia,
    serif;
  margin-right: 10px;
}
.mechanism-tab strong {
  font-size: 12px;
  color: #82946e;
  font-weight: 500;
}
.mechanism-tab small {
  display: block;
  font-size: 8px;
  color: #a8b29b;
  letter-spacing: 1px;
  margin: 8px 0 0 31px;
}
.mechanism-tab[aria-selected="true"] {
  background: #eef3e6;
  border-bottom-color: #799b58;
}
.mechanism-tab[aria-selected="true"] strong {
  color: #4f703e;
}
.mechanism-panel {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.mechanism-visual {
  min-height: 300px;
  background: #eff3e8;
  border: 1px solid #e2e9d6;
  border-radius: 9px;
  position: relative;
  overflow: hidden;
}
.visual-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#b0bf9c55 0.8px, transparent 0.8px);
  background-size: 15px 15px;
}
.visual-corner {
  position: absolute;
  top: 19px;
  left: 18px;
  color: #93a17f;
  font-size: 8px;
  letter-spacing: 1.5px;
}
.host-cell {
  position: absolute;
  bottom: -103px;
  left: 12%;
  width: 76%;
  height: 210px;
  border: 8px solid #b7cba0;
  border-radius: 50%;
  background: #d7e3c7;
  box-shadow: 0 0 0 6px #dce7ce;
}
.host-cell span {
  position: absolute;
  top: 27px;
  width: 100%;
  text-align: center;
  color: #89a06f;
  font-size: 10px;
}
.microbe-shell {
  position: absolute;
  width: 90px;
  height: 100px;
  top: 94px;
  left: calc(50% - 45px);
  transform: rotate(-25deg);
}
.microbe {
  position: absolute;
  inset: 10px 15px;
  border: 6px solid #8fae6c;
  border-radius: 44% 56% 40% 60%;
  background: #c0d39e;
  box-shadow: inset 0 0 15px #96b478;
  z-index: 2;
}
.microbe-core {
  position: absolute;
  width: 15px;
  height: 28px;
  border: 2px dotted #70924e;
  top: 20px;
  left: 15px;
  border-radius: 50%;
  transform: rotate(-20deg);
}
.pili-line {
  position: absolute;
  width: 2px;
  height: 35px;
  background: #87a969;
  z-index: 1;
  top: 70px;
  left: 40px;
  transform-origin: top center;
}
.pili-a {
  transform: rotate(40deg);
}
.pili-b {
  transform: rotate(-45deg);
  left: 57px;
}
.pili-c {
  transform: rotate(-90deg);
  left: 69px;
  top: 35px;
}
.capsule-ring {
  position: absolute;
  inset: -3px;
  border: 2px dashed #c6d7af;
  border-radius: 50%;
}
.immune-orb {
  position: absolute;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  background: #b0c99c66;
  border: 1px solid #a5bf8d66;
}
.orb-a {
  top: 68px;
  left: 22%;
}
.orb-b {
  top: 120px;
  right: 19%;
  width: 10px;
  height: 10px;
}
.orb-c {
  top: 186px;
  left: 20%;
  width: 9px;
  height: 9px;
}
.orb-d {
  top: 60px;
  right: 23%;
  width: 7px;
  height: 7px;
}
.visual-label {
  position: absolute;
  top: 58px;
  right: 15px;
  font-size: 8px;
  color: #809866;
  border: 1px solid #cad9b6;
  background: #f7faef;
  padding: 6px 9px;
  border-radius: 4px;
}
.visual-scale {
  position: absolute;
  bottom: 13px;
  left: 15px;
  font-size: 8px;
  color: #91a27a;
}
.stage-capsule .microbe-shell {
  transform: rotate(18deg);
  top: 100px;
}
.stage-capsule .capsule-ring {
  border: 9px solid #bfd8b381;
  inset: -20px;
  box-shadow: 0 0 0 2px #a4c29266;
}
.stage-capsule .host-cell {
  background: #e3eada;
  border-color: #c4d2b5;
  bottom: -150px;
}
.stage-capsule .pili-line {
  display: none;
}
.stage-capsule .orb-a {
  background: #c9be9966;
  width: 35px;
  height: 35px;
  top: 110px;
  left: 13%;
  border: 5px solid #e3d9bb;
}
.stage-capsule .orb-b {
  background: #c9be9966;
  width: 25px;
  height: 25px;
  right: 16%;
  top: 180px;
  border: 4px solid #e3d9bb;
}
.stage-inflammation {
  background: #f4eee4;
  border-color: #e9dfce;
}
.stage-inflammation .host-cell {
  background: #e9cbbb;
  border-color: #c99e89;
  box-shadow: 0 0 0 6px #ebd6c7;
}
.stage-inflammation .microbe {
  border-color: #9daa77;
}
.stage-inflammation .immune-orb {
  background: #d19978;
  border: 3px solid #e7c9b0;
  width: 13px;
  height: 13px;
  box-shadow: 0 0 0 6px #d9b19222;
}
.stage-inflammation .orb-a {
  left: 20%;
  top: 175px;
}
.stage-inflammation .orb-b {
  top: 160px;
  right: 20%;
}
.stage-inflammation .orb-c {
  top: 220px;
  left: 35%;
}
.stage-inflammation .visual-label {
  background: #fbf6e9;
  border-color: #e1cbb0;
  color: #a48a69;
}
.mechanism-copy {
  padding: 15px 12px 10px 0;
}
.mechanism-copy h3 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 25px;
  line-height: 1.6;
  font-weight: 500;
  margin: 18px 0 15px;
  color: #45613d;
}
.mechanism-copy > p {
  font-size: 12px;
  line-height: 2.1;
  color: #829173;
}
.memory-line {
  background: #f1f5e9;
  border-left: 2px solid #a4bb88;
  padding: 12px 14px;
  margin: 20px 0 12px;
}
.memory-line span {
  display: block;
  font-size: 8px;
  color: #99a78a;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.memory-line strong {
  font-size: 11px;
  color: #688153;
  font-weight: 500;
}
.mechanism-copy > small {
  display: block;
  font-size: 9px;
  line-height: 1.9;
  color: #a5af98;
}
.small-link {
  color: #78915d;
  font-size: 10px;
}
.mechanism-ask {
  padding: 12px 0 0;
}
.mechanism-note {
  display: flex;
  gap: 8px;
  color: #9aa58c;
  font-size: 9px;
  line-height: 1.8;
  margin: 12px 3px 0;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.case-card {
  background: #fafaf5;
  padding: 23px;
  border: 1px solid #e1e7d7;
  border-radius: 11px;
  position: relative;
  overflow: hidden;
}
.case-card:nth-child(2) {
  background: #f2f3ec;
}
.case-card:nth-child(3) {
  background: #f3f0e8;
}
.case-top {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #96a580;
  letter-spacing: 1px;
}
.case-top > span:last-child {
  border: 1px solid #dce5ce;
  border-radius: 3px;
  padding: 2px 4px;
  letter-spacing: 0;
}
.case-card h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  color: #536e45;
  margin: 21px 0 12px;
}
.case-clues {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.case-clues > span {
  padding: 3px 6px;
  font-size: 8px;
  color: #95a27f;
  background: #e8eddf;
  border-radius: 3px;
}
.case-card > p {
  font-size: 11px;
  line-height: 2;
  color: #939e86;
  margin: 15px 0 22px;
}
.case-discussion {
  border-top: 1px solid #e3e8d9;
  padding-top: 13px;
}
.case-discussion summary {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #69844f;
  list-style: none;
  cursor: pointer;
}
.case-discussion[open] summary > span {
  transform: rotate(45deg);
}
.case-answer {
  margin-top: 20px;
}
.case-answer > strong {
  font-size: 11px;
  font-weight: 550;
  line-height: 2;
  color: #577445;
}
.case-answer > p {
  font-size: 11px;
  line-height: 2.1;
  color: #86977a;
}
.case-takeaway {
  display: block;
  font-size: 10px;
  color: #7e9467;
  margin-top: 18px;
  background: #e8eedf;
  padding: 10px;
  border-radius: 4px;
}
.case-ask {
  display: block;
  margin: 14px 0 0;
  padding: 0;
  text-align: left;
}
.desk-heading {
  margin-top: 52px;
}
.workspace {
  margin-top: 0;
  scroll-margin-top: 24px;
}
.knowledge-column,
.chat-panel {
  scroll-margin-top: 24px;
}
.chat-header h2 {
  font-size: 14px;
}
.chat-panel {
  height: 690px;
}
.message-body {
  font-size: 12px;
}
.question-bank {
  margin-top: 52px;
  padding-top: 32px;
}
.question-bank .section-title h2 {
  font-size: 24px;
  font-weight: 500;
}
.bank-intro {
  font-size: 11px;
}
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.memory-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  align-items: center;
  background: #eaf0df;
  border: 1px solid #dce5ce;
  padding: 30px 36px;
  border-radius: 12px;
  gap: 25px;
}
.memory-section h2 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 27px;
  font-weight: 500;
  color: #58713e;
  margin: 15px 0 10px;
}
.memory-section p {
  font-size: 10px;
  color: #9aaa83;
}
.memory-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.memory-card {
  background: #fafbf3;
  border: 1px solid #dae5c8;
  border-radius: 8px;
  min-height: 140px;
  padding: 15px 6px;
  position: relative;
  transition:
    transform 0.3s,
    background 0.3s;
}
.memory-card > strong {
  display: block;
  font-family: Georgia, "Songti SC", serif;
  font-size: 42px;
  font-weight: 500;
  color: #8eaa65;
}
.memory-card > span {
  display: block;
  font-size: 8px;
  color: #b1bd9a;
  margin-top: 8px;
}
.memory-card > small {
  display: none;
  font-size: 10px;
  color: #748d54;
  line-height: 1.7;
  margin-top: 10px;
}
.memory-card[aria-expanded="true"] {
  transform: rotate(-3deg);
  background: #dce9c5;
}
.memory-card[aria-expanded="true"] > small {
  display: block;
}
.memory-card[aria-expanded="true"] > span {
  display: none;
}
.memory-card:nth-child(2)[aria-expanded="true"] {
  transform: rotate(3deg);
}
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  align-items: start;
}
.glossary-term {
  padding: 18px;
  background: #fcfcf8;
  border: 1px solid #e3e8da;
  border-radius: 8px;
}
.glossary-term summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding-right: 10px;
}
.glossary-term summary > span:first-child {
  display: block;
  font-size: 11px;
  color: #6e8857;
  font-family: Georgia, serif;
  font-style: italic;
  min-height: 28px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.glossary-term summary strong {
  display: block;
  font-size: 10px;
  color: #97a288;
  font-weight: 400;
  line-height: 1.8;
}
.term-plus {
  position: absolute;
  right: 0;
  top: 0;
  color: #a4b38c;
  font-size: 14px;
}
.glossary-term[open] .term-plus {
  transform: rotate(45deg);
}
.glossary-term > p {
  font-size: 11px;
  line-height: 1.9;
  color: #8a9a77;
  padding-top: 12px;
  margin: 13px 0 0;
  border-top: 1px solid #e4eadb;
}
.closing-note {
  margin-top: 48px;
  border-top: 1px solid #dfe5d5;
  padding: 38px 0 12px;
  display: flex;
  align-items: center;
  gap: 23px;
}
.closing-spark {
  font-size: 43px;
  color: #93ab73;
}
.closing-note h2 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 22px;
  font-weight: 500;
  margin: 10px 0;
  color: #5f784a;
}
.closing-note p {
  font-size: 10px;
  color: #9eaa8d;
}
.closing-note .primary-link {
  margin-left: auto;
  flex-shrink: 0;
}
.page-footer {
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid #e1e6d9;
}
.lesson-dialog {
  width: min(760px, calc(100vw - 40px));
  max-height: 86vh;
  border: 1px solid #d9e2cc;
  border-radius: 15px;
  padding: 0;
  color: #526647;
  background: #fafbf6;
  box-shadow: 0 30px 100px #0e2d2344;
  overscroll-behavior: contain;
}
.lesson-dialog::backdrop {
  background: #17382b80;
  backdrop-filter: blur(5px);
}
.reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 27px;
  border-bottom: 1px solid #e2e8d7;
  position: sticky;
  top: 0;
  background: #f4f7ed;
  z-index: 2;
}
.reader-toolbar > span {
  font-size: 10px;
  letter-spacing: 2px;
  color: #93a17f;
}
.reader-toolbar button {
  color: #8c9d76;
  padding: 7px;
}
#reader-content {
  padding: 33px 42px;
}
#reader-title {
  font-size: 29px;
  line-height: 1.6;
  font-weight: 500;
  color: #416039;
  margin: 18px 0;
}
.reader-lead {
  font-size: 13px;
  line-height: 2.2;
  color: #899a76;
  padding: 18px 20px;
  background: #edf2e3;
  border-left: 2px solid #b2c597;
}
.reader-part {
  padding-top: 22px;
}
.reader-part-index {
  font:
    italic 14px Georgia,
    serif;
  color: #b4c39f;
}
.reader-part h3 {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
  color: #607c4b;
  margin: 10px 0;
}
.reader-part p {
  font-size: 13px;
  line-height: 2.3;
  color: #8b9a7a;
}
.reader-source-note {
  margin-top: 30px;
  border-top: 1px solid #e0e7d5;
  padding-top: 18px;
  font-size: 10px;
  color: #a0ad8f;
}
.reader-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  font-size: 9px;
  color: #7b9560;
}
.reader-source-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.reader-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: #f1f5e8;
  border-top: 1px solid #e0e8d3;
  padding: 20px 30px;
}
.reader-ask {
  font-size: 10px;
  color: #8c9f73;
}
.back-top {
  position: fixed;
  bottom: 25px;
  right: 21px;
  width: 38px;
  height: 38px;
  border: 1px solid #d6e1c7;
  background: #f1f6e7ed;
  border-radius: 50%;
  color: #8da46e;
  z-index: 4;
  box-shadow: 0 2px 9px #30491c10;
}
@keyframes bean-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}
@media (min-width: 1600px) {
  main {
    padding-left: 58px;
    padding-right: 58px;
  }
  .study-hero {
    padding: 48px;
  }
  .study-hero h1 {
    font-size: 58px;
  }
  .study-hero .hero-art {
    width: 400px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 208px;
  }
  main {
    padding-left: 28px;
    padding-right: 28px;
  }
  .sidebar {
    padding-left: 10px;
    padding-right: 10px;
  }
  .study-nav .nav-item {
    font-size: 11px;
    gap: 7px;
  }
  .study-hero {
    padding: 36px 30px 28px;
  }
  .study-hero .hero-art {
    width: 270px;
    transform: scale(0.82);
    transform-origin: center right;
  }
  .hero-actions {
    gap: 16px;
  }
  .lesson-grid {
    gap: 12px;
  }
  .lesson-card {
    padding-left: 16px;
    padding-right: 16px;
  }
  .lesson-card > strong {
    font-size: 14px;
  }
  .section-stamp {
    display: none;
  }
  .mechanism-panel {
    gap: 22px;
    padding: 20px;
  }
  .mechanism-copy h3 {
    font-size: 22px;
  }
  .case-card {
    padding: 18px;
  }
  .case-card h3 {
    font-size: 15px;
  }
  .case-top > span:last-child {
    display: none;
  }
  .glossary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .metric-icon {
    display: none;
  }
  .metric-strip > div {
    gap: 10px;
  }
  .metric-strip strong {
    font-size: 26px;
  }
}
@media (max-width: 1000px) {
  .lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .case-card {
    padding: 25px;
  }
  .case-card > p {
    max-width: 90%;
  }
  .case-top > span:last-child {
    display: block;
  }
  .memory-section {
    padding: 25px;
  }
  .memory-section h2 {
    font-size: 23px;
  }
  .memory-cards {
    gap: 8px;
  }
  .memory-card {
    min-height: 125px;
  }
  .mechanism-copy {
    padding-top: 5px;
  }
  .mechanism-copy h3 {
    font-size: 20px;
  }
  .mechanism-copy > p {
    font-size: 11px;
  }
}
@media (max-width: 900px) {
  :root {
    --sidebar: 0px;
  }
  main {
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
  }
  .study-hero {
    min-height: 400px;
  }
  .study-hero h1 {
    font-size: 43px;
  }
  .study-hero .hero-art {
    width: 290px;
  }
  .mobile-study-nav {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 13px 0;
    margin-bottom: -7px;
    scrollbar-width: none;
  }
  .mobile-study-nav a {
    flex-shrink: 0;
    padding: 7px 10px;
    background: #edf2e4;
    border: 1px solid #e0e7d5;
    font-size: 9px;
    color: #8a9b74;
    border-radius: 5px;
  }
  .closing-note h2 {
    font-size: 20px;
  }
}
@media (max-width: 650px) {
  main {
    padding: 0 16px 20px;
  }
  .topbar {
    height: 59px;
    font-size: 9px;
  }
  .study-hero {
    padding: 29px 24px 25px;
    min-height: 410px;
    border-radius: 13px;
    display: block;
  }
  .hero-edition {
    top: 17px;
    right: 17px;
    font-size: 6px;
    letter-spacing: 1px;
  }
  .study-hero .eyebrow {
    font-size: 7px;
    margin-top: 9px;
    letter-spacing: 1px;
  }
  .study-hero h1 {
    font-size: 35px;
    line-height: 1.35;
    margin: 22px 0 16px;
  }
  .study-hero .hero-copy {
    max-width: 100%;
  }
  .study-hero .hero-copy > p {
    font-size: 10px;
    max-width: 235px;
    line-height: 2;
    letter-spacing: 0.2px;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    position: relative;
    z-index: 2;
    gap: 14px;
    margin-top: 27px;
  }
  .hero-actions .primary-link {
    padding: 10px 12px;
    font-size: 9px;
    gap: 15px;
  }
  .secondary-link {
    font-size: 8px;
  }
  .hero-footnote {
    position: relative;
    z-index: 2;
    font-size: 7px;
    margin-top: 27px;
    gap: 12px;
  }
  .study-hero .hero-art {
    display: block;
    position: absolute;
    width: 320px;
    min-height: 330px;
    right: -26px;
    bottom: -82px;
    transform: scale(0.36);
    transform-origin: center right;
    opacity: 0.55;
    pointer-events: none;
    z-index: -1;
  }
  .study-hero .floating-label,
  .study-hero .art-caption,
  .study-hero .hero-art-index {
    display: none;
  }
  .metric-strip {
    grid-template-columns: 1fr 1fr;
    padding: 0;
    margin-top: 14px;
  }
  .metric-strip > div {
    padding: 17px 8px;
    justify-content: flex-start;
    padding-left: 20px;
    gap: 13px;
  }
  .metric-strip > div:nth-child(2) {
    border-right: 0;
  }
  .metric-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid #e5e9dd;
  }
  .metric-strip strong {
    font-size: 27px;
    min-width: 33px;
  }
  .metric-strip small {
    font-size: 7px;
  }
  .metric-strip > div > span:last-child {
    font-size: 9px;
  }
  .study-section,
  .desk-heading {
    margin-top: 37px;
    scroll-margin-top: 15px;
  }
  .module-heading {
    margin-bottom: 19px;
    gap: 10px;
  }
  .module-heading h2 {
    font-size: 21px;
    line-height: 1.6;
    margin-top: 10px;
    letter-spacing: -0.5px;
  }
  .module-heading p {
    font-size: 10px;
  }
  .module-kicker {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  .lesson-grid {
    gap: 9px;
  }
  .lesson-card {
    padding: 13px 12px;
    min-height: 206px;
    border-radius: 9px;
  }
  .lesson-topline {
    font-size: 6px;
    letter-spacing: 0.6px;
  }
  .lesson-symbol {
    font-size: 52px;
    right: 9px;
    top: 40px;
  }
  .lesson-category {
    font-size: 8px;
    margin-top: 26px;
  }
  .lesson-card > strong {
    font-size: 13px;
    line-height: 1.8;
    min-height: 46px;
    margin-top: 6px;
  }
  .lesson-intro {
    font-size: 9px;
    margin: 8px 0 13px;
    max-width: 100%;
  }
  .lesson-bottom {
    font-size: 6px;
    gap: 5px;
    padding-top: 10px;
  }
  .mechanism-tab {
    padding: 15px 9px;
  }
  .mechanism-tab > span {
    display: block;
    font-size: 13px;
    margin-bottom: 7px;
  }
  .mechanism-tab strong {
    font-size: 10px;
  }
  .mechanism-tab small {
    font-size: 6px;
    margin-left: 0;
    letter-spacing: 0.4px;
    line-height: 1.8;
  }
  .mechanism-panel {
    grid-template-columns: 1fr;
    padding: 15px;
    gap: 16px;
  }
  .mechanism-visual {
    min-height: 265px;
  }
  .microbe-shell {
    top: 75px;
  }
  .stage-capsule .microbe-shell {
    top: 75px;
  }
  .mechanism-copy {
    padding: 6px 4px;
  }
  .mechanism-copy h3 {
    font-size: 23px;
    margin-top: 12px;
  }
  .mechanism-copy > p {
    font-size: 11px;
  }
  .mechanism-note {
    font-size: 8px;
  }
  .case-card {
    padding: 21px;
  }
  .case-card h3 {
    font-size: 17px;
  }
  .case-card > p {
    font-size: 11px;
    max-width: 100%;
  }
  .desk-heading > .small-link {
    display: none;
  }
  .workspace {
    margin-top: 0;
    gap: 22px;
  }
  .chat-panel {
    height: 680px;
  }
  .question-bank {
    margin-top: 37px;
    padding-top: 25px;
  }
  .question-bank .section-title h2 {
    font-size: 20px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .memory-section {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 17px;
  }
  .memory-section h2 {
    font-size: 25px;
    margin: 12px 0 9px;
  }
  .memory-card {
    min-height: 125px;
  }
  .memory-card > strong {
    font-size: 37px;
  }
  .memory-card > small {
    font-size: 8px;
  }
  .glossary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .glossary-term {
    padding: 15px 12px;
  }
  .glossary-term summary > span:first-child {
    font-size: 11px;
  }
  .glossary-term summary strong {
    font-size: 9px;
  }
  .closing-note {
    margin-top: 35px;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 25px;
  }
  .closing-spark {
    display: none;
  }
  .closing-note h2 {
    font-size: 21px;
    line-height: 1.8;
  }
  .closing-note .primary-link {
    margin-left: 0;
    font-size: 10px;
  }
  .lesson-dialog {
    width: calc(100vw - 24px);
    max-height: 90dvh;
    border-radius: 12px;
  }
  .reader-toolbar {
    padding: 13px 18px;
  }
  #reader-content {
    padding: 25px 23px;
  }
  #reader-title {
    font-size: 24px;
  }
  .reader-lead {
    font-size: 12px;
    padding: 15px;
  }
  .reader-part h3 {
    font-size: 16px;
  }
  .reader-part p {
    font-size: 12px;
  }
  .reader-bottom {
    padding: 15px;
    gap: 8px;
  }
  .reader-bottom .primary-link {
    padding: 10px 12px;
    font-size: 10px;
    gap: 5px;
  }
  .reader-ask {
    font-size: 8px;
  }
  .back-top {
    width: 33px;
    height: 33px;
    right: 13px;
    bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .study-hero .bean {
    animation: none;
  }
  .lesson-card:hover,
  .memory-card[aria-expanded="true"] {
    transform: none;
  }
}
