/* v3 editorial design: readable Chinese, asymmetrical science exhibits, restrained use of the original palette. */
:root {
  --ink: #203d35;
  --green: #315a47;
  --muted: #58685d;
  --line: #d6ddcf;
  --bg: #f5f4ed;
  --paper: #fffef7;
  --serif: 'Songti SC', 'Noto Serif CJK SC', 'SimSun', serif;
}
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
}
h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
}
button,
input {
  font-family: inherit;
}
p {
  line-height: 1.95;
}
.button {
  font-size: 14px;
  font-weight: 500;
  border-radius: 3px;
  min-height: 44px;
}
.button.small {
  font-size: 12px;
}
.pill {
  font-size: 12px;
  border-radius: 2px;
}
.eyebrow,
.editorial-kicker {
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.8;
  color: #68775e;
}
.microcopy,
.muted,
small {
  font-size: 12px;
  color: #5d6d60;
}
.text-link {
  font-size: 13px;
}
.refs,
.refs a {
  font-size: 12px;
  color: #536f45;
  line-height: 1.9;
}
.refs a {
  border-bottom-color: #a9bb99;
}
.science-note {
  font-size: 13px !important;
  color: #53694d;
  background: transparent;
  border: 0;
  border-left: 3px solid #b99b5c;
  border-radius: 0;
  padding: 11px 15px;
  line-height: 1.9;
}
.science-note .icon {
  width: 17px;
  height: 17px;
  margin-top: 4px;
}
.safe-note {
  background: #f0eddf;
  border-left-color: #baa267;
  border-radius: 0;
}
.safe-note b {
  font-size: 14px;
  color: #495f41;
}
.safe-note p {
  font-size: 14px !important;
  color: #3f5548 !important;
  line-height: 1.95;
}
.sidebar {
  width: 235px;
  padding: 26px 18px 18px;
}
.workspace {
  margin-left: 235px;
}
.brand {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
}
.brand small {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #a9bdb0;
}
.nav-caption {
  font-size: 12px;
  color: #9db4a6;
  margin: 30px 10px 13px;
}
nav {
  gap: 5px;
}
nav a {
  font-size: 13px;
  font-weight: 400;
  padding: 12px 10px;
  gap: 10px;
  border-radius: 3px;
  color: #c1cfc5;
}
nav a.active {
  font-weight: 500;
  background: #d3dfc5;
  color: #224535;
}
nav a.active:before {
  left: -18px;
}
nav small {
  font-size: 11px;
  color: inherit;
}
.side-note {
  font-size: 11px !important;
  color: #a5bdad !important;
  line-height: 1.9;
}
.identity strong {
  font-size: 12px;
}
.identity small,
.side-progress,
.side-link {
  font-size: 12px;
}
.side-link .icon {
  width: 16px;
  height: 16px;
}
.side-progress {
  padding-bottom: 10px;
}
.identity {
  padding-top: 15px;
}
.sidebar-bottom {
  padding-top: 15px;
}
.topbar {
  height: 64px;
  padding: 0 34px;
}
.breadcrumb,
.breadcrumb #page-label {
  font-size: 12px;
  letter-spacing: 0;
  color: #526655;
}
.header-tools .local-state {
  font-size: 12px;
  color: #64765f;
}
.motion-toggle {
  font-size: 12px;
  border-radius: 3px;
  color: #536f49;
}
.header-tools {
  gap: 10px;
}
#main {
  padding: 0 34px 35px;
}
.footer {
  padding: 18px 34px;
  font-size: 12px;
  color: #627259;
}
.page-heading {
  padding: 28px 0 22px;
  gap: 24px;
}
.page-heading h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.45;
  margin: 8px 0 10px;
}
.page-heading p {
  font-size: 15px;
  color: #4c6252;
}
.page-heading > .text-link {
  font-size: 13px;
}
.section-no {
  font-size: 16px;
}
.hero {
  min-height: 340px;
  grid-template-columns: 1.2fr 1fr;
  margin-top: 24px;
  border-top: 1px solid #ccd7c3;
  padding-top: 9px;
}
.hero-copy {
  padding: 20px 0;
}
.hero h1 {
  font-size: 42px !important;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}
.hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0;
}
.hero-pretitle {
  font-size: 14px;
  margin-top: 14px;
  margin-bottom: 9px;
  color: #4f694c;
}
.hero-description {
  font-size: 15px !important;
  line-height: 1.9;
  margin-top: 15px;
  color: #4b6252;
}
.hero-actions {
  margin-top: 18px;
}
.hero-actions .button {
  font-size: 14px;
}
.hero-secondary {
  font-size: 13px !important;
}
.hero-meta {
  font-size: 12px !important;
  color: #5c7152;
  margin-top: 16px;
}
.hero-art {
  max-height: 350px;
}
.hero-art > img {
  max-height: 350px;
  width: 100%;
  object-fit: contain;
  animation: none;
}
.art-tag,
.art-caption {
  display: none;
}
.underline-word:after {
  height: 3px;
}
.mission-banner {
  padding: 18px 21px;
  margin-top: 15px;
  background: transparent;
  border-radius: 0;
  border-width: 1px 0;
  border-color: #cbd5c2;
}
.mission-banner:after {
  display: none;
}
.mission-banner h2 {
  font-size: 20px;
}
.mission-banner p {
  font-size: 14px !important;
  color: #52664c;
}
.mission-banner .eyebrow {
  font-size: 12px;
}
.mission-symbol {
  background: #ede8d5;
  border-radius: 0;
  border-color: #cfbf90;
}
.section-heading h2 {
  font-size: 26px;
  font-weight: 600;
}
.section-heading .eyebrow {
  font-size: 12px;
}
.journey {
  margin-top: 28px;
}
.journey-grid {
  gap: 0;
  border-top: 1px solid #c8d5be;
  border-bottom: 1px solid #c8d5be;
}
.journey-card {
  border: 0;
  border-right: 1px solid #d9e1cf;
  border-radius: 0;
  background: transparent;
  padding: 20px;
}
.journey-card:last-child {
  border-right: 0;
}
.journey-card:hover {
  box-shadow: none;
  transform: none;
  background: #edeedf;
}
.journey-card h3 {
  font-size: 18px !important;
  font-weight: 600;
}
.journey-card p {
  font-size: 14px !important;
  color: #556a4e;
  min-height: 54px;
}
.journey-card-bottom {
  font-size: 12px !important;
  color: #5c7550;
}
.journey-number {
  font-size: 27px;
  color: #8ba275;
}
.journey-icon {
  background: transparent !important;
  border: 0;
  border-radius: 0;
  width: 25px;
  height: 25px;
}
.journey-card-top {
  margin-bottom: 12px;
}
.home-principle p,
.home-principle a,
.principle-label {
  font-size: 13px !important;
}
.home-principle {
  margin-top: 22px;
}
.quest-intro {
  background: #efeadb;
  border-color: #d6c9a5;
  border-radius: 2px;
  margin-top: 20px;
  padding: 20px 22px;
}
.quest-intro h2 {
  font-size: 24px;
}
.quest-intro .eyebrow {
  font-size: 12px;
}
.quest-intro p {
  font-size: 14px;
  color: #5e674e;
}
.quest-route-preview span,
.quest-route-preview b {
  font-size: 12px;
}
.quest-intro > .button {
  font-size: 13px;
}
.quest-hud {
  background: #eeefe3;
  border-radius: 2px;
}
.quest-hud-head small,
.quest-hud.complete small {
  font-size: 12px;
}
.quest-hud-head b {
  font-size: 16px;
}
.quest-hud > p,
.quest-trail > span {
  font-size: 13px;
}
.quest-hud-head > .button {
  font-size: 12px;
}
.quest-hud.complete b {
  font-size: 14px;
}
.quest-trail i {
  font-size: 10px;
}
.quest-context {
  background: #eeefe0;
  border-radius: 2px;
}
.quest-context > span {
  font-size: 13px;
}
.quest-context > .button {
  font-size: 12px;
}
.market-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 25px;
}
.market-scene,
.ingredient-panel {
  border-radius: 2px;
}
.scene-header {
  font-size: 12px;
  color: #526d4a;
  font-family: inherit;
  padding: 14px 18px;
}
.scene-header small {
  font-size: 12px;
}
.product-category {
  font-size: 12px;
  color: #61784f;
}
.product-name {
  font-size: 17px;
}
.product-name small {
  display: none;
}
.shelf-caption,
.shelf-caption span {
  font-size: 12px;
  color: #536c47;
  line-height: 1.8;
}
.mission-card {
  background: #f8f6ec;
  padding: 22px;
}
.mission-card .eyebrow,
.mission-card-head {
  font-size: 12px;
}
.mission-card :is(h2, h3) {
  font-size: 21px;
}
.mission-card p {
  font-size: 14px;
  color: #4f6547;
}
.task-bottom .text-link {
  font-size: 12px;
}
.ingredient-panel {
  padding: 23px;
  background: #fffef8;
}
.ingredient-panel h2 {
  font-size: 26px;
}
.clue {
  font-size: 15px;
  color: #546a4d;
}
.panel-kicker {
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0;
  color: #586e4f;
}
.label-sheet {
  background: #f3f1e7;
  border-radius: 0;
  padding: 17px;
}
.label-sheet-title b {
  font-size: 16px;
}
.label-sheet-title small {
  font-size: 12px;
}
.ingredient-list,
.ingredient-chip {
  font-size: 16px;
  line-height: 2.2;
}
.label-disclaimer {
  font-size: 12px;
  color: #5d704f;
  line-height: 1.9;
}
.ingredient-detail h3 {
  font-size: 27px;
  font-weight: 600;
}
.ingredient-detail p {
  font-size: 15px !important;
  color: #354f3d;
  line-height: 1.95;
}
.ingredient-detail h4 {
  font-size: 18px;
  margin-top: 22px;
}
.chemical-symbol {
  font-size: 24px;
  color: #627b4f;
}
.role-pill {
  font-size: 12px;
  color: #536b43;
}
.detective-note b {
  font-size: 14px;
}
.detective-note p {
  font-size: 14px;
  color: #506747;
}
.detective-note {
  border-top-style: solid;
}
.package-reveal {
  background: #f1f0e4 !important;
  border-radius: 0;
  min-height: 135px;
}
.package-reveal small {
  font: 12px inherit;
  color: #61794f;
}
.package-reveal b {
  font-size: 20px;
}
.package-reveal p {
  font-size: 14px;
  color: #536c45;
}
.package-reveal > div:last-child > span {
  font-size: 12px;
  color: #5f754e;
}
.package-platform img {
  animation: none;
}
.ingredient-motion {
  border-radius: 0;
  background: #f3f5ea;
}
.ingredient-motion > summary {
  font-size: 14px;
  color: #48653e;
  padding: 12px;
}
.ingredient-motion > summary > span {
  font-size: 12px;
}
.process-label,
.process-label span:last-child {
  font: 12px inherit !important;
  letter-spacing: 0;
  color: #596f4b;
}
.process-steps > span {
  font-size: 12px !important;
  color: #627850;
  line-height: 1.8;
}
.process-steps i {
  width: 21px;
  height: 21px;
  line-height: 19px;
  font-size: 11px;
}
.process-reading {
  padding: 13px 3px 8px;
  min-height: 0;
}
.process-phase-name {
  font-size: 17px;
  color: #385a31;
  font-weight: 600;
}
.process-phase-detail,
.compact-process .process-phase-detail {
  font-size: 14px !important;
  line-height: 1.95;
  color: #435f38;
}
.process-player button,
.compact-process .process-player button {
  font-size: 13px;
  min-height: 37px;
  padding: 7px 11px;
}
.process-mode,
.indicator-legend {
  font-size: 12px;
  color: #556e45;
}
.science-process {
  border-radius: 0;
  background: #f4f6ea;
}
.diagram-reading-caption {
  font-size: 13px !important;
  color: #506744 !important;
  line-height: 1.9 !important;
  margin: 10px 0 0 !important;
}
.network-process > p {
  font-size: 15px !important;
  color: #3d5833 !important;
}
.network-process > small {
  font-size: 12px;
  color: #5e744d;
}
.compact-process .process-phase-name {
  font-size: 16px;
}
.workbench-label {
  font-size: 12px;
  color: #5a734c;
  font-family: inherit;
}
.workbench-label .pill {
  font-size: 12px;
}
.molecule-title h2 {
  font-size: 28px;
}
.molecule-title > span {
  font-size: 24px;
  color: #537144;
}
.model-help,
.atom-legend {
  font-size: 13px !important;
  color: #4b6841;
}
.molecule-tools .small {
  font-size: 12px;
}
.group-focus {
  font-size: 13px !important;
}
.demo-panel :is(h2, h3) {
  font-size: 24px;
}
.demo-panel > p {
  font-size: 15px;
  color: #4b6640;
}
.control-field legend {
  font-size: 14px;
  color: #425f37;
}
.segmented {
  border-radius: 2px;
  background: #e8ecdd;
}
.segmented button {
  font-size: 14px;
  border-radius: 1px;
  color: #4e6840;
  min-height: 39px;
}
.demo-feedback b {
  font-size: 17px;
  color: #3e6033;
}
.demo-feedback p {
  font-size: 14px;
  color: #49663b;
}
.lab-tabs button {
  font-size: 16px;
  color: #4f6e40;
  line-height: 1.8;
}
.lab-tabs span {
  font-size: 12px;
  color: #6e815e;
}
.lab-tabs i {
  font-size: 12px;
}
.lab-workbench {
  display: contents;
}
.knowledge-grid {
  display: contents;
}
body[data-view='lab'] #main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  grid-template-areas: 'quest quest' 'heading heading' 'tabs tabs' 'molecule demonstration' 'facts demonstration' 'uses uses' 'next next';
  column-gap: 24px;
  row-gap: 18px;
}
body[data-view='lab'] .page-heading {
  grid-area: heading;
}
body[data-view='lab'] .lab-tabs {
  grid-area: tabs;
  margin: 0;
}
body[data-view='lab'] #quest-hud {
  grid-area: quest;
}
body[data-view='lab'] .molecule-panel {
  grid-area: molecule;
  border: 1px solid #ccd8c2;
  border-radius: 2px;
  padding: 22px;
  background: #ecefe2;
}
body[data-view='lab'] .demo-panel {
  grid-area: demonstration;
  border-left: 1px solid #cbd7bf;
  padding: 20px 0 20px 24px;
}
body[data-view='lab'] .knowledge-grid > section:first-child {
  grid-area: facts;
  background: #23473b;
  color: #f1efdf;
  padding: 24px;
  border: 0;
}
body[data-view='lab'] .knowledge-grid > section:last-child {
  grid-area: uses;
  padding: 23px 0;
  border-top: 1px solid #c9d7bd;
}
body[data-view='lab'] .next-stop {
  grid-area: next;
  margin: 0;
}
body[data-view='lab'] .knowledge-grid .knowledge-title {
  font-size: 23px;
  margin-top: 9px;
}
body[data-view='lab'] .knowledge-grid .knowledge-subtitle {
  font-size: 18px;
  margin-top: 20px;
}
body[data-view='lab'] .knowledge-grid p {
  font-size: 16px;
  line-height: 1.95;
  color: #354f3d;
}
body[data-view='lab'] .knowledge-grid > section:first-child p {
  color: #f0efdd;
}
body[data-view='lab'] .knowledge-grid > section:first-child > span {
  font-size: 12px;
  color: #d5bf7a;
}
body[data-view='lab'] .knowledge-grid > section:last-child > span {
  font-size: 12px;
  color: #61764e;
}
#molecule {
  height: 245px;
}
.next-stop {
  font-size: 14px;
}
.experiment-tabs > button {
  font-size: 16px;
  color: #4d6741;
  line-height: 1.8;
}
.experiment-tabs span {
  font-size: 12px;
  color: #62764f;
}
.experiment-layout {
  gap: 25px;
  grid-template-columns: 1.35fr 1fr;
}
.apple-studio,
.preserve-studio {
  background: #f0f1e6;
  border-radius: 2px;
}
.apple-pair {
  padding-top: 22px;
}
.specimen-tag {
  font-size: 12px;
  border-radius: 1px;
  color: #5b7249;
}
.apple-pair :is(h2, h3) {
  font-size: 18px;
}
.apple-pair p {
  font-size: 13px;
  color: #586f48;
}
.timeline-label,
.timeline-label b,
.timeline-label small {
  font-size: 13px;
  color: #4d6740;
}
.timeline-ends {
  font-size: 12px;
  color: #5a724a;
}
.experiment-actions .button {
  font-size: 14px;
  min-height: 42px;
}
.experiment-controls > .eyebrow {
  font-size: 12px;
}
.treatment-list button {
  border-radius: 2px;
  background: #fdfcf4;
}
.treatment-list b {
  font-size: 15px;
  color: #405f36;
}
.treatment-list small {
  font-size: 12px;
  color: #5a7148;
}
.prediction > .eyebrow {
  font-size: 12px;
}
.prediction p {
  font-size: 14px;
  color: #48633d;
}
.prediction > small {
  font-size: 12px;
  color: #566d46;
}
.apple-lane > b,
.apple-lane > span,
.apple-lane > i,
.apple-lane > em {
  font-size: 12px;
  line-height: 1.8;
}
.apple-lane {
  gap: 7px;
  flex-wrap: wrap;
  padding: 9px;
}
.apple-status b {
  font-size: 13px;
  color: #4b673d;
}
.inquiry-order {
  background: transparent;
  border-radius: 0;
}
.inquiry-order > span,
.inquiry-order > small {
  font-size: 12px;
  color: #5b714a;
}
.inquiry-order > b {
  font-size: 14px;
  color: #4c673d;
}
.experiment-conclusion {
  border-radius: 0;
  background: transparent;
  border: 1px solid #cad8be;
  padding: 24px;
}
.experiment-conclusion :is(h2, h3) {
  font-size: 21px;
}
.experiment-conclusion p,
.experiment-conclusion ul {
  font-size: 15px;
  color: #3f5c35;
}
.experiment-conclusion p.muted {
  font-size: 13px;
  color: #596f49;
}
.conclusion-number {
  color: #8a986a;
}
.completed-pill {
  font-size: 12px;
  border-radius: 1px;
}
.preserve-controls .safe-note p {
  font-size: 14px;
}
.quality-trends > div,
.quality-trends strong {
  font-size: 13px;
  color: #47643b;
}
.simulation-boundary {
  font-size: 12px;
  color: #536b43;
}
.preserve-studio > .button {
  font-size: 14px;
}
.chamber-caption {
  font-size: 12px;
  color: #566e47;
}
.necessity-layout {
  border-radius: 0;
  background: #fffef7;
}
.decision-scene {
  background: #eae6d5;
}
.decision-scene h2 {
  font-size: 30px;
  font-weight: 600;
}
.decision-scene > p {
  font-size: 14px;
  color: #566545;
}
.decision-panel h3 {
  font-size: 26px;
}
.decision-panel > p {
  font-size: 15px;
  color: #435d39;
}
.answer-options > button,
.decision-panel .answer-options > button,
.quiz-panel .answer-options > button {
  font-size: 15px !important;
  font-weight: 400;
  border-radius: 2px;
  padding: 15px 17px;
  line-height: 1.85;
}
.answer-options > button > span {
  font-size: 13px;
  border-radius: 2px;
}
.answer-feedback {
  border-radius: 0;
}
.answer-feedback b {
  font-size: 17px;
}
.answer-feedback p {
  font-size: 15px;
  color: #3d5b32;
}
.answer-feedback.wrong p {
  color: #77563d;
}
.quiz-panel {
  border-radius: 2px;
  padding: 30px;
  max-width: 900px;
}
.quiz-panel h1 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.6;
}
.quiz-tip,
.quiz-bottom,
.quiz-top {
  font-size: 13px;
  color: #526b42;
}
.quiz-progress small {
  font-size: 12px;
  color: #5f764c;
}
.challenge-intro {
  background: #e8eadb;
  border-radius: 0;
  padding: 27px 32px;
}
.challenge-intro h2 {
  font-size: 32px;
  font-weight: 600;
}
.challenge-intro p {
  font-size: 15px;
  color: #4b6540;
}
.challenge-intro .eyebrow {
  font-size: 12px;
}
.challenge-seal {
  display: none;
}
.level-grid {
  gap: 20px;
}
.level-card {
  border-radius: 0;
  padding: 23px;
  background: #fffef7;
  border-width: 1px 0 0;
}
.level-top,
.level-top .eyebrow {
  font-size: 12px;
  color: #5b744a;
}
.level-illustration {
  height: 84px;
}
.level-illustration > span {
  font-size: 48px;
  color: #9aaa83;
}
.level-illustration .icon {
  width: 40px;
  height: 40px;
}
.level-card h3 {
  font-size: 25px;
}
.level-card > p {
  font-size: 15px;
  color: #4b6540;
}
.level-stats {
  font-size: 13px;
  color: #526d43;
}
.level-stats strong {
  color: #48633a;
}
.level-card > .button {
  font-size: 14px;
}
.level-card > .text-link {
  font-size: 13px;
}
.level-result {
  border-radius: 0;
}
.level-result > p {
  font-size: 15px;
  color: #506a41;
}
.result-review > button {
  font-size: 14px;
  border-radius: 1px;
}
.result-review small {
  font-size: 12px;
}
.result-actions .button {
  font-size: 14px;
}
.report-card {
  border-radius: 0;
  box-shadow: none;
}
.report-card h2 {
  font-size: 30px;
  font-weight: 600;
}
.name-field {
  font-size: 13px;
  color: #5b714d;
}
.name-field input {
  font-size: 15px;
  width: 190px;
}
.report-card-top .eyebrow {
  font-size: 12px;
}
.report-stamp {
  font-size: 13px;
}
.report-score h3 {
  font-size: 23px;
}
.report-score p {
  font-size: 14px;
  color: #506b40;
}
.score-ring span {
  font-size: 12px;
  color: #5d754a;
}
.report-bars > div,
.report-bars b {
  font-size: 13px;
  color: #516b41;
}
.earned-badge > span {
  font-size: 12px;
}
.earned-badge > small {
  font-size: 12px;
}
.report-actions > .button {
  font-size: 14px;
}
.report-card > .muted {
  font-size: 12px;
  color: #596f49;
}
.report-insights > h2 {
  font-size: 26px;
}
.report-insights > p {
  font-size: 15px;
}
.insight h3 {
  font-size: 18px;
  color: #3f6132;
}
.insight p,
.takeaway p {
  font-size: 14px;
  color: #435f37;
  line-height: 1.95;
}
.takeaway {
  background: #ede9d9;
  border: 0;
  border-left: 3px solid #b89e64;
  border-radius: 0;
}
.takeaway .eyebrow {
  font-size: 12px;
}
.reset-record {
  font-size: 12px;
}
.report-insights > .button {
  font-size: 14px;
}
.knowledge-journal .section-heading .eyebrow {
  font-size: 12px;
}
.knowledge-journal .section-heading h2 {
  font-size: 26px;
}
.journal-grid {
  gap: 0;
  display: block;
  border-top: 1px solid #cbd8bf;
}
.journal-entry {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d5dfcb;
  border-radius: 0;
  background: transparent;
  padding: 18px 0;
}
.journal-entry p {
  font-size: 14px;
  color: #49623c;
}
.journal-entry h3 {
  font-size: 19px;
}
.journal-entry small {
  font-size: 12px;
}
.journal-entry-icon {
  border: 0;
  background: transparent;
}
.quest-archive {
  border-radius: 0;
  background: #ebeddf;
}
.quest-archive li > span {
  font-size: 14px;
}
.quest-archive li > small {
  font-size: 12px;
  color: #536c43;
}
.certificate p {
  font-size: 14px !important;
  color: #4e683e !important;
}
.certificate .eyebrow {
  font-size: 12px;
}
.certificate > small {
  font-size: 12px;
}
.quest-question {
  border-radius: 0;
}
.quest-question > .eyebrow {
  font-size: 12px;
}
.quest-question h2 {
  font-size: 26px;
}
.quest-question > p {
  font-size: 15px;
}
.source-intro {
  background: transparent;
  border: 0;
  border-top: 2px solid #536e46;
  border-bottom: 1px solid #cbd8bf;
  border-radius: 0;
  padding: 24px 0;
  grid-template-columns: 1.5fr 1fr;
}
.source-intro h2 {
  font-size: 27px;
}
.source-intro p {
  font-size: 15px;
  color: #3e5934;
}
.source-boundaries {
  font-size: 14px;
  color: #4b6540;
}
.sources-list .eyebrow {
  font-size: 12px;
  letter-spacing: 0;
  color: #59714a;
}
.sources-list h2 {
  font-size: 21px;
}
.sources-list article p:not(.eyebrow) {
  font-size: 15px;
  color: #405c36;
}
.source-link {
  font-size: 12px;
  border-radius: 1px;
}
.mirror-link small {
  font-size: 12px;
}
.work-notes h2 {
  font-size: 25px;
}
.work-notes h3 {
  font-size: 20px;
}
.work-notes p {
  font-size: 15px;
  color: #455f3b;
}
.work-notes p.muted {
  font-size: 13px;
}
.notebook {
  border-radius: 3px;
  max-width: min(650px, calc(100vw - 30px));
}
#notebook-body h2 {
  font-size: 27px;
}
#notebook-body p {
  font-size: 16px;
  color: #405c35;
}
.dialog-top .eyebrow {
  font-size: 12px;
}
.mobile-back {
  font-size: 13px;
}
#toast {
  font-size: 14px;
  border-radius: 3px;
}
#science-reward b {
  font-size: 14px;
}
#science-reward small {
  font-size: 12px;
}
.atlas-reading-record {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid #d2ddc7;
  margin-top: 20px;
  padding-top: 17px;
  font-size: 14px;
}
.atlas-reading-record strong {
  font-weight: 500;
}
.atlas-reading-record a {
  font-size: 13px;
  color: #4e6a3e;
}
/* The atlas is a reading exhibit, with a compact directory and one complete, substantial case. */
.atlas-cover {
  padding: 28px 0 20px;
  border-top: 3px solid #3c5d48;
  border-bottom: 1px solid #c8d4bd;
  margin-top: 27px;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.3fr);
  gap: 25px 34px;
}
.atlas-cover-copy h2 {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.45;
  margin: 10px 0 16px;
  letter-spacing: 0.03em;
}
.atlas-cover-copy p {
  font-size: 16px;
  color: #435a43;
  line-height: 1.95;
  max-width: 470px;
}
.atlas-cover-copy .button {
  margin-top: 20px;
}
.cover-foods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
}
.cover-foods > a {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  border-bottom: 1px solid #d4dfca;
  padding: 5px 0 12px;
}
.cover-foods .food-plate {
  width: 160px;
  max-height: 112px;
  margin: 0 auto;
}
.cover-foods b {
  font-size: 14px;
  font-weight: 500;
  color: #435f3b;
  line-height: 1.8;
  text-align: center;
}
.cover-food-num {
  position: absolute;
  top: 6px;
  left: 5px;
  font-family: var(--serif);
  font-size: 19px;
  color: #8f9b78;
}
.atlas-cover-foot {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #5f7451;
  border-top: 1px solid #d2ddc7;
  padding-top: 13px;
}
.atlas-heading {
  padding: 30px 0 23px;
  border-bottom: 1px solid #c9d6bf;
}
.atlas-heading h1 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.5;
  margin: 8px 0 9px;
  letter-spacing: 0.02em;
}
.atlas-heading > p {
  font-size: 18px;
  color: #4b6243;
}
.atlas-intro-note {
  font-size: 14px;
  line-height: 1.9;
  color: #576c4b;
  margin-top: 15px;
  max-width: 900px;
}
.atlas-layout {
  display: grid;
  grid-template-columns: 195px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 25px;
}
.atlas-index {
  position: sticky;
  top: 20px;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 0 17px 10px 0;
  border-right: 1px solid #d1ddc6;
  scrollbar-width: thin;
}
.atlas-index label {
  display: block;
  font-size: 13px;
  color: #4c6741;
  font-weight: 500;
}
.atlas-index input {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  padding: 9px;
  border: 1px solid #b8c9a9;
  border-radius: 2px;
  background: #fcfcf3;
  color: #334f33;
  font-size: 13px;
  outline-offset: 2px;
}
.atlas-directory section {
  margin-top: 21px;
}
.atlas-directory h2 {
  font-size: 15px;
  color: #3b5934;
  font-weight: 600;
  border-bottom: 1px solid #d5dfca;
  padding-bottom: 7px;
  margin-bottom: 4px;
}
.atlas-directory button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  border-left: 2px solid transparent;
  width: 100%;
  text-align: left;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 400;
  color: #526b47;
  line-height: 1.8;
}
.atlas-directory button small {
  font: 12px var(--serif);
  color: #7b8f68;
}
.atlas-directory button i {
  font-size: 11px;
  font-style: normal;
  color: #82946f;
  margin-left: auto;
}
.atlas-directory button.active {
  background: #e4e8d8;
  border-left-color: #688751;
  color: #2e5030;
}
.atlas-compare-link {
  font-size: 13px;
  line-height: 1.9;
  border: 0;
  border-top: 1px solid #c5d5b8;
  background: transparent;
  color: #4d6b3e;
  text-align: left;
  padding: 15px 0 0;
  margin-top: 20px;
}
.atlas-no-result {
  font-size: 14px;
  color: #637954;
  margin-top: 20px;
}
.atlas-body {
  min-width: 0;
}
.atlas-case-heading {
  padding: 0 0 23px;
}
.case-folio {
  font-size: 13px;
  color: #667d55;
  border-bottom: 1px solid #cedbc1;
  padding-bottom: 7px;
  display: block;
}
.atlas-case-heading > h2 {
  font-size: 30px;
  font-weight: 600;
  margin: 15px 0 20px;
  line-height: 1.55;
  color: #294b32;
}
.case-life {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}
.case-life .food-plate {
  width: 150px;
  display: block;
}
.case-life h3 {
  font-size: 16px;
  color: #657c54;
  font-weight: 500;
}
.case-life .case-question {
  font-size: 18px;
  color: #2d4a32;
  margin: 8px 0 10px;
  line-height: 1.8;
}
.case-life p {
  font-size: 15px;
  color: #4c6245;
  line-height: 1.95;
}
.atlas-core {
  background: #1e4035;
  color: #f1efdd;
  border-radius: 1px;
  padding: 27px 27px 25px;
  position: relative;
}
.core-label {
  font-size: 14px;
  font-weight: 500;
  color: #ddc58c;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 13px;
  border-bottom: 1px solid #5d7560;
}
.core-label > span {
  color: #b5c6ad;
  font-size: 12px;
  font-weight: 400;
}
.atlas-core > h3 {
  font-size: 24px;
  font-weight: 500;
  color: #f7f0d9;
  margin: 18px 0 14px;
  line-height: 1.7;
}
.core-prose p {
  font-size: 16px;
  line-height: 2;
  color: #f0eedc;
  margin: 0 0 13px;
}
.atlas-pathway {
  padding: 16px 18px;
  margin: 20px 0 24px;
  background: #2e5143;
  border-left: 3px solid #d6ba73;
}
.atlas-pathway figcaption {
  font-size: 12px;
  color: #cfdbbd;
  margin-bottom: 8px;
}
.atlas-pathway p {
  font-size: 17px;
  color: #efdbac;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.atlas-animation {
  border-top: 1px solid #5a735b;
  padding-top: 19px;
}
.atlas-animation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.atlas-animation-head h4 {
  font-size: 18px;
  color: #eee9cd;
  font-weight: 500;
}
.atlas-animation-head > span {
  font-size: 12px;
  color: #c1d1b3;
}
.atlas-condition {
  border: 0;
  padding: 0;
  margin: 16px 0 6px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
.atlas-condition legend {
  font-size: 13px;
  color: #d1ddbd;
  margin-bottom: 9px;
}
.atlas-button {
  font: 400 13px/1.7 inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #b9c9a5;
  background: #fafbf2;
  color: #38592d;
  border-radius: 2px;
  cursor: pointer;
}
.atlas-button:hover {
  background: #e7eddc;
}
.atlas-button.selected {
  background: #d8dfc1;
  border-color: #829767;
  color: #264629;
}
.atlas-button.solid {
  background: #3c614a;
  border-color: #3c614a;
  color: #faf5df;
}
.atlas-core .atlas-button {
  font-family: inherit;
  background: #2d5041;
  border-color: #83977a;
  color: #e4ebd1;
  font-size: 13px;
}
.atlas-core .atlas-button:hover {
  background: #42634d;
}
.atlas-core .atlas-button.selected,
.atlas-core .atlas-button.solid {
  background: #d6c18c;
  border-color: #d6c18c;
  color: #233f2c;
}
.atlas-core .atlas-button:focus-visible {
  outline-color: #f1d388;
}
#atlas-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 640/300;
  max-height: 330px;
  min-height: 190px;
  contain: paint;
}
.atlas-legend {
  display: flex;
  gap: 8px 17px;
  flex-wrap: wrap;
  padding: 8px 0 14px;
  border-bottom: 1px solid #536e55;
}
.atlas-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #d2ddbd;
}
.atlas-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.atlas-phase-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 15px 0;
}
.atlas-phase-tabs .atlas-button {
  padding: 9px 6px;
  gap: 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 12px;
  text-align: left;
  border-width: 0 0 2px;
  background: transparent;
  border-color: #6b8368;
  color: #b6c9aa;
  justify-content: flex-start;
  min-width: 0;
  white-space: normal;
  line-height: 1.8;
}
.atlas-phase-tabs .atlas-button b {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}
.atlas-phase-tabs .atlas-button.current {
  border-color: #ddc58a;
  color: #f1dfad;
  background: #2c4e40;
}
.atlas-stage-explanation {
  min-height: 91px;
  margin-top: 9px;
  padding: 15px 0 4px;
}
.atlas-stage-explanation h4 {
  font-size: 18px;
  color: #f2dfad;
  font-weight: 500;
}
.atlas-stage-explanation p {
  font-size: 15px;
  color: #f0efdc;
  line-height: 1.95;
  margin-top: 7px;
}
.atlas-playback {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.atlas-playback > label {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  min-width: 175px;
  font-size: 12px;
  color: #d2ddbd;
  margin-left: 2px;
}
.atlas-playback input {
  accent-color: #d6bd81;
  min-width: 80px;
  flex: 1;
}
.atlas-sim-note {
  font-size: 12px !important;
  line-height: 1.95 !important;
  color: #627653 !important;
  margin-top: 14px;
}
.atlas-core .atlas-sim-note {
  color: #c5d1b8 !important;
}
.case-application {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  padding: 27px 0 24px;
  border-bottom: 1px solid #cdd9c3;
}
.case-application h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 7px 0 11px;
}
.case-application p {
  font-size: 15px;
  color: #3e5a35;
  line-height: 1.95;
}
.case-application aside {
  background: #ede8d6;
  border-left: 3px solid #bd9e5b;
  padding: 17px 19px;
}
.case-application aside h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
.case-application .editorial-kicker {
  font-size: 12px;
}
.atlas-case-links {
  font-size: 12px;
  color: #5b734a;
  padding: 20px 0;
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.atlas-case-links > div {
  flex: 1;
  min-width: 180px;
}
.atlas-case-links a {
  display: block;
  font-size: 12px;
  color: #4d6d3c;
  line-height: 1.9;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
}
.atlas-text-link {
  font-size: 13px;
  background: none;
  border: 0;
  border-bottom: 1px solid #b5c7a2;
  color: #466637;
  padding: 5px 0;
}
.atlas-case-pager {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #cedac2;
  padding-top: 16px;
}
.atlas-comparisons {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 3px solid #55754a;
  scroll-margin-top: 25px;
}
.comparison-heading h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.6;
  margin: 9px 0 11px;
}
.comparison-heading p {
  font-size: 15px;
  color: #46623c;
}
.comparison-tabs {
  display: flex;
  gap: 9px;
  margin: 19px 0 22px;
}
.comparison-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #c7d6b9;
  border-width: 1px 0;
  gap: 0;
}
.comparison-figures figure {
  margin: 0;
  padding: 18px 15px;
  border-right: 1px solid #d0ddc3;
  min-width: 0;
}
.comparison-figures figure:first-child {
  padding-left: 0;
}
.comparison-figures figure:last-child {
  padding-right: 0;
  border-right: 0;
}
.comparison-figures figcaption strong {
  font-size: 17px;
  font-weight: 600;
  display: block;
  color: #31542e;
  line-height: 1.8;
}
.comparison-figures figcaption span {
  font-size: 12px;
  color: #627c50;
  display: block;
  margin-top: 4px;
}
.comparison-figures canvas {
  width: 100%;
  height: 145px;
  display: block;
  contain: paint;
}
.comparison-figures p {
  font-size: 14px;
  color: #405f34;
  line-height: 1.95;
}
.comparison-figures .atlas-button.link {
  padding: 5px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid #a6bc90;
  border-radius: 0;
  min-height: 30px;
  margin-top: 12px;
  font-size: 12px;
}
.comparison-player {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 20px 0 4px;
}
.comparison-player input {
  flex: 1;
  min-width: 130px;
  accent-color: #60814e;
}
.comparison-conclusion {
  font-size: 16px;
  line-height: 1.95;
  color: #354f2f;
  margin-top: 17px;
  border-left: 3px solid #8ea772;
  padding: 9px 15px;
  background: #ebeede;
}
.atlas-sources {
  padding-top: 27px;
  margin-top: 31px;
  border-top: 1px solid #cbd8bd;
}
.atlas-sources h2 {
  font-size: 24px;
  font-weight: 600;
  color: #34562f;
}
.atlas-sources > p {
  font-size: 14px;
  color: #526e44;
  line-height: 1.95;
  margin-top: 13px;
}
.atlas-reference-list article {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border-bottom: 1px solid #d0ddc3;
  padding: 17px 0;
}
.atlas-reference-list article > span {
  font-size: 13px;
  font-family: var(--serif);
  color: #5d794c;
  min-width: 28px;
  padding-top: 2px;
}
.atlas-reference-list h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.atlas-reference-list p {
  font-size: 13px;
  color: #556e47;
  line-height: 1.95;
  margin: 6px 0;
}
.atlas-reference-list a {
  font-size: 12px;
  color: #456935;
  border-bottom: 1px solid #bacfa4;
  line-height: 1.9;
  display: inline-block;
  margin-right: 10px;
}
.atlas-case-heading {
  scroll-margin-top: 23px;
}
@media (max-width: 1250px) {
  .sidebar {
    width: 215px;
    padding: 24px 15px 16px;
  }
  .workspace {
    margin-left: 215px;
  }
  nav a {
    font-size: 12px;
    gap: 8px;
    padding: 11px 8px;
  }
  nav .icon {
    width: 17px;
    height: 17px;
  }
  .brand {
    font-size: 20px;
  }
  .brand-mark {
    width: 35px;
    height: 38px;
    font-size: 24px;
  }
  nav a.active:before {
    left: -15px;
  }
  #main {
    padding-left: 27px;
    padding-right: 27px;
  }
  .topbar {
    padding: 0 27px;
  }
  .header-tools .local-state {
    display: none;
  }
  .atlas-layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 22px;
  }
  .atlas-core {
    padding: 24px 22px;
  }
  .atlas-heading h1 {
    font-size: 33px;
  }
  .atlas-case-heading > h2 {
    font-size: 28px;
  }
  .case-life {
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 18px;
  }
  .case-life .food-plate {
    width: 115px;
  }
  .atlas-cover {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .atlas-cover-copy h2 {
    font-size: 34px;
  }
  .atlas-cover-copy p {
    font-size: 15px;
  }
  .cover-foods {
    gap: 10px;
  }
  .cover-foods b {
    font-size: 13px;
  }
  .cover-foods .food-plate {
    width: 125px;
  }
  .market-layout {
    grid-template-columns: 1fr;
  }
  .shelf-grid {
    padding-left: 22px;
    padding-right: 22px;
  }
  .product img {
    height: 195px;
  }
  .lab-tabs button {
    font-size: 14px;
  }
  .quest-trail > span {
    font-size: 12px;
  }
  .quest-hud-head small {
    font-size: 11px;
  }
  .comparison-figures figcaption strong {
    font-size: 16px;
  }
  .comparison-figures figure {
    padding: 16px 10px;
  }
  .case-application {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .atlas-case-links > div {
    min-width: 160px;
  }
  .atlas-playback > label {
    flex-basis: 100%;
    margin-top: 8px;
  }
  .quest-intro p {
    font-size: 14px;
  }
  .journey-card {
    padding: 17px 14px;
  }
  .journey-card h3 {
    font-size: 17px !important;
  }
  .report-layout {
    grid-template-columns: 1fr 1fr;
  }
  .report-card {
    padding: 26px;
  }
  .report-score {
    gap: 20px;
  }
  .score-ring {
    width: 120px;
    height: 120px;
  }
  .report-score h3 {
    font-size: 20px;
  }
  .source-intro {
    grid-template-columns: 1fr 1fr;
  }
  .source-boundaries {
    padding-left: 20px;
  }
  .level-card {
    padding: 20px 16px;
  }
  .level-card h3 {
    font-size: 23px;
  }
}
@media (max-width: 1000px) {
  .atlas-layout {
    grid-template-columns: 1fr;
  }
  .atlas-index {
    position: static;
    max-height: none;
    overflow: visible;
    border-right: 0;
    padding: 0 0 20px;
    border-bottom: 1px solid #cad8be;
  }
  .atlas-index label {
    display: flex;
    gap: 15px;
    align-items: center;
  }
  .atlas-index input {
    flex: 1;
    width: auto;
    max-width: 480px;
    margin: 0;
    font-size: 14px;
  }
  .atlas-directory {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 16px;
  }
  .atlas-directory section {
    margin-top: 16px;
  }
  .atlas-directory h2 {
    font-size: 13px;
  }
  .atlas-directory button {
    font-size: 12px;
    padding: 7px 2px;
    gap: 5px;
  }
  .atlas-directory button small {
    font-size: 11px;
  }
  .atlas-directory button i {
    display: none;
  }
  .atlas-compare-link {
    border: 0;
    padding-top: 0;
    margin-top: 13px;
  }
  .atlas-core {
    padding: 27px;
  }
  .case-life {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 23px;
  }
  .case-life .food-plate {
    width: 140px;
  }
  .atlas-case-heading > h2 {
    font-size: 30px;
  }
  .case-application {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .atlas-cover-copy h2 {
    font-size: 31px;
  }
  .cover-foods b {
    font-size: 12px;
  }
  .atlas-cover-copy p {
    font-size: 15px;
  }
  .cover-foods .food-plate {
    width: 110px;
    max-height: 95px;
  }
  .atlas-cover-copy .button {
    font-size: 13px;
  }
  .atlas-cover-foot {
    font-size: 12px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero h1 {
    font-size: 36px !important;
  }
  .hero-description {
    font-size: 14px !important;
  }
  .hero-actions {
    gap: 13px;
  }
  .hero-actions .button {
    font-size: 13px;
    padding: 12px 15px;
  }
  .hero-secondary {
    font-size: 12px !important;
  }
  .hero-pretitle {
    font-size: 13px;
  }
  .hero .eyebrow {
    font-size: 12px;
  }
  .journey-grid {
    grid-template-columns: 1fr 1fr;
  }
  .journey-card:nth-child(2) {
    border-right: 0;
  }
  .journey-card:nth-child(-n + 2) {
    border-bottom: 1px solid #d1dcc6;
  }
  .journey-card h3 {
    font-size: 19px !important;
  }
  .journey-card p {
    font-size: 14px !important;
    min-height: 0;
  }
  .journey-card-bottom {
    margin-top: 16px;
  }
  .quest-route-preview span {
    font-size: 12px;
  }
  body[data-view='lab'] #main {
    grid-template-columns: 1fr;
    grid-template-areas: 'quest' 'heading' 'tabs' 'molecule' 'facts' 'demonstration' 'uses' 'next';
    row-gap: 20px;
  }
  body[data-view='lab'] .demo-panel {
    border: 0;
    padding: 22px 0;
    border-top: 1px solid #c6d4b9;
  }
  .molecule-panel #molecule {
    height: 260px;
  }
  .experiment-layout {
    grid-template-columns: 1fr;
  }
  .experiment-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
  .experiment-controls > .eyebrow {
    grid-column: 1/-1;
  }
  .prediction {
    border: 0;
    margin-top: 18px;
    padding: 0;
  }
  .treatment-list {
    margin-top: 17px;
  }
  .inquiry-order {
    grid-column: 1/-1;
  }
  .preserve-layout {
    grid-template-columns: 1.15fr 1fr;
  }
  .report-layout {
    grid-template-columns: 1fr;
  }
  .report-score {
    gap: 28px;
  }
  .score-ring {
    width: 145px;
    height: 145px;
  }
  .report-score h3 {
    font-size: 24px;
  }
  .report-score p {
    font-size: 14px;
  }
  .earned-badge > span,
  .earned-badge > small {
    font-size: 12px;
  }
  .source-intro {
    grid-template-columns: 1fr;
  }
  .source-boundaries {
    border-left: 0;
    border-top: 1px solid #d0ddc2;
    padding: 20px 0 0;
  }
  .sources-list article {
    flex-wrap: wrap;
  }
  .source-link {
    margin-left: 52px;
  }
  .sources-list article > .source-link + .source-link {
    margin-left: 0;
  }
  .work-notes {
    gap: 27px;
  }
  .quest-hud-head small {
    font-size: 10px;
  }
  .quest-hud-head b {
    font-size: 15px;
  }
  .quest-hud-head > .button {
    font-size: 11px;
  }
  .quest-hud > p {
    font-size: 13px;
  }
  .quest-trail {
    gap: 8px;
  }
  .quest-trail > span {
    font-size: 10px;
  }
  .quest-question h2 {
    font-size: 24px;
  }
  .quiz-panel h1 {
    font-size: 28px;
  }
  .level-card > p {
    font-size: 14px;
  }
  .level-stats {
    font-size: 12px;
  }
  .level-card > .button {
    font-size: 13px;
  }
  .side-link,
  .side-progress,
  .identity strong {
    font-size: 11px;
  }
  .side-note {
    font-size: 10px !important;
  }
  .atlas-stage-explanation {
    min-height: 87px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 0;
    background: #16372f;
  }
  .workspace {
    margin-left: 0;
  }
  .brand {
    padding: 12px 18px 10px;
    font-size: 21px;
    gap: 10px;
  }
  .brand small {
    display: inline;
    margin-left: 12px;
    font-size: 11px;
    letter-spacing: 0.05em;
  }
  .brand-mark {
    width: 30px;
    height: 32px;
    font-size: 22px;
  }
  .brand > span:last-child {
    display: flex;
    align-items: center;
  }
  .nav-caption,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    flex-direction: row;
    gap: 2px;
    padding: 0 9px 8px;
    overflow-x: auto;
  }
  nav a {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
    padding: 7px 3px;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
    white-space: normal;
  }
  nav a[data-nav='atlas'] {
    flex: 1.25;
  }
  nav a span:nth-child(2) {
    min-height: 18px;
  }
  nav a.active:before {
    display: none;
  }
  nav .icon {
    width: 17px;
    height: 17px;
  }
  nav small {
    display: none;
  }
  .topbar {
    height: 49px;
    padding: 0 20px;
  }
  .breadcrumb,
  .breadcrumb #page-label {
    font-size: 11px;
  }
  .breadcrumb .crumb-line {
    margin: 0;
  }
  .breadcrumb {
    gap: 8px;
  }
  .motion-toggle {
    font-size: 11px;
    padding: 5px 8px;
    min-height: 29px;
  }
  .header-tools .icon-button {
    width: 29px;
    height: 29px;
  }
  .header-tools .local-state {
    display: none;
  }
  #main {
    padding: 0 20px 30px;
  }
  .footer {
    padding: 17px 20px;
    font-size: 12px;
    gap: 8px 18px;
  }
  .footer > span:nth-child(2) {
    margin-left: 0;
  }
  .footer a {
    font-size: 12px;
  }
  .atlas-cover {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .atlas-cover-copy h2 {
    font-size: 33px;
  }
  .atlas-cover-copy p {
    font-size: 15px;
  }
  .cover-foods b {
    font-size: 12px;
  }
  .atlas-heading h1 {
    font-size: 32px;
  }
  .atlas-heading > p {
    font-size: 17px;
  }
  .atlas-case-heading > h2 {
    font-size: 29px;
  }
  .atlas-directory h2 {
    font-size: 14px;
  }
  .atlas-directory button {
    font-size: 13px;
  }
  .case-life {
    grid-template-columns: 130px 1fr;
  }
  .atlas-core > h3 {
    font-size: 23px;
  }
  .comparison-figures figcaption strong {
    font-size: 17px;
  }
  .comparison-figures p {
    font-size: 14px;
  }
  .page-heading h1 {
    font-size: 32px;
  }
  .page-heading p {
    font-size: 15px;
  }
  .page-heading .eyebrow {
    font-size: 12px;
  }
  .hero {
    min-height: 330px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
  }
  .hero .eyebrow {
    font-size: 12px;
  }
  .hero h1 {
    font-size: 36px !important;
  }
  .hero-description {
    font-size: 14px !important;
  }
  .hero-meta {
    font-size: 12px !important;
  }
  .hero-art {
    height: auto;
    max-height: 315px;
  }
  .hero-art > img {
    height: auto;
    max-height: 315px;
  }
  .hero-pretitle {
    font-size: 13px;
  }
  .mission-banner h2 {
    font-size: 20px;
  }
  .mission-banner p {
    font-size: 14px !important;
  }
  .journey-card {
    padding: 20px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-heading .microcopy {
    font-size: 12px;
  }
  .quest-intro .eyebrow {
    font-size: 12px;
  }
  .quest-intro h2 {
    font-size: 24px;
  }
  .quest-intro p {
    font-size: 14px;
  }
  .quest-intro > .button {
    font-size: 13px;
  }
  .quest-hud-head small {
    font-size: 11px;
  }
  .quest-hud-head b {
    font-size: 15px;
  }
  .quest-trail > span {
    font-size: 12px;
  }
  .quest-hud-head > .button {
    font-size: 12px;
  }
  .quest-hud.complete small {
    font-size: 11px;
  }
  .quest-hud.complete b {
    font-size: 14px;
  }
  .quest-hud.complete > .button {
    font-size: 12px;
  }
  .quest-fraction {
    font-size: 17px;
  }
  .market-layout {
    grid-template-columns: 1fr;
  }
  .product img {
    height: 195px;
  }
  .product-category {
    font-size: 12px;
  }
  .product-name {
    font-size: 17px;
  }
  .ingredient-panel {
    padding: 23px;
  }
  .panel-kicker,
  .panel-kicker .pill {
    font-size: 12px;
  }
  .ingredient-panel h2 {
    font-size: 26px;
  }
  .label-sheet-title small {
    font-size: 12px;
  }
  .ingredient-list,
  .ingredient-chip {
    font-size: 16px;
  }
  .ingredient-detail p {
    font-size: 15px !important;
  }
  .package-reveal small {
    font-size: 12px;
  }
  .package-reveal b {
    font-size: 20px;
  }
  .package-reveal p {
    font-size: 14px;
  }
  .package-reveal > div:last-child > span {
    font-size: 12px;
  }
  .process-label,
  .process-label span:last-child {
    font-size: 12px !important;
  }
  .process-steps > span {
    font-size: 12px !important;
  }
  .process-phase-name {
    font-size: 18px;
  }
  .process-phase-detail {
    font-size: 14px !important;
  }
  .process-player button,
  .compact-process .process-player button {
    font-size: 13px;
  }
  .demo-panel :is(h2, h3) {
    font-size: 24px;
  }
  .demo-panel > p {
    font-size: 15px;
  }
  .science-process {
    padding: 15px;
  }
  .model-help,
  .atom-legend {
    font-size: 13px !important;
  }
  .molecule-tools .small {
    font-size: 12px;
  }
  .molecule-title h2 {
    font-size: 28px;
  }
  .molecule-title > span {
    font-size: 24px;
  }
  .lab-tabs button {
    font-size: 15px;
  }
  .lab-tabs span {
    display: block;
    font-size: 12px;
  }
  .experiment-tabs > button {
    font-size: 15px;
  }
  .experiment-tabs span {
    font-size: 12px;
  }
  .apple-pair :is(h2, h3) {
    font-size: 18px;
  }
  .apple-pair p {
    font-size: 13px;
  }
  .apple-status b {
    font-size: 13px;
  }
  .apple-lane > b,
  .apple-lane > span,
  .apple-lane > i,
  .apple-lane > em {
    font-size: 12px;
  }
  .treatment-list b {
    font-size: 15px;
  }
  .treatment-list small {
    font-size: 12px;
  }
  .prediction p {
    font-size: 14px;
  }
  .segmented button {
    font-size: 14px;
  }
  .control-field legend {
    font-size: 14px;
  }
  .experiment-conclusion :is(h2, h3) {
    font-size: 21px;
  }
  .experiment-conclusion p {
    font-size: 15px;
  }
  .preserve-controls .safe-note p {
    font-size: 14px;
  }
  .decision-panel > p {
    font-size: 15px;
  }
  .decision-panel h3 {
    font-size: 25px;
  }
  .decision-scene h2 {
    font-size: 28px;
  }
  .decision-scene > p {
    font-size: 14px;
  }
  .answer-feedback b {
    font-size: 17px;
  }
  .answer-feedback p {
    font-size: 15px;
  }
  .quiz-panel h1 {
    font-size: 27px;
  }
  .level-card h3 {
    font-size: 24px;
  }
  .level-card > p {
    font-size: 15px;
  }
  .report-card h2 {
    font-size: 29px;
  }
  .report-score h3 {
    font-size: 23px;
  }
  .report-score p {
    font-size: 14px;
  }
  .report-score .eyebrow {
    font-size: 12px;
  }
  .report-card-top .eyebrow {
    font-size: 12px;
  }
  .report-card > .muted {
    font-size: 12px;
  }
  .report-actions > .button {
    font-size: 14px;
  }
  .report-insights > h2 {
    font-size: 26px;
  }
  .insight p,
  .takeaway p {
    font-size: 14px;
  }
  .source-intro h2 {
    font-size: 27px;
  }
  .source-intro p {
    font-size: 15px;
  }
  .sources-list h2 {
    font-size: 21px;
  }
  .sources-list article p:not(.eyebrow) {
    font-size: 15px;
  }
  .work-notes p {
    font-size: 15px;
  }
  .work-notes h2 {
    font-size: 25px;
  }
  .work-notes h3 {
    font-size: 20px;
  }
  .footer,
  .footer a {
    font-size: 12px;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 15px;
  }
  .brand {
    font-size: 21px;
    padding: 12px 16px 10px;
  }
  .brand small {
    font-size: 11px;
  }
  .brand-mark {
    font-size: 21px;
  }
  .sidebar nav {
    padding: 0 6px 7px;
    gap: 1px;
  }
  nav a {
    font-size: 10px;
    padding: 7px 2px;
    gap: 3px;
    line-height: 1.55;
  }
  nav a span:nth-child(2) {
    max-width: 62px;
  }
  nav a[data-nav='atlas'] span:nth-child(2) {
    max-width: 67px;
  }
  .topbar {
    height: 47px;
    padding: 0 16px;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 6px;
  }
  .breadcrumb #page-label {
    font-size: 10px;
  }
  .motion-toggle {
    font-size: 10px;
    gap: 4px;
    padding: 5px 7px;
  }
  .motion-toggle .icon {
    display: none;
  }
  .header-tools {
    gap: 6px;
  }
  .header-tools .icon-button {
    width: 27px;
    height: 27px;
  }
  #main {
    padding: 0 16px 28px;
  }
  .footer {
    padding: 16px;
    font-size: 12px;
    display: block;
    line-height: 1.9;
  }
  .footer > span,
  .footer > a {
    display: block;
    margin: 4px 0;
  }
  .atlas-cover {
    display: block;
    padding: 22px 0 17px;
    margin-top: 23px;
    border-top-width: 2px;
  }
  .atlas-cover-copy h2 {
    font-size: 33px;
    margin: 9px 0 13px;
    line-height: 1.45;
  }
  .atlas-cover-copy p {
    font-size: 15px;
    line-height: 1.95;
  }
  .atlas-cover-copy .button {
    font-size: 14px;
    margin-top: 17px;
    min-height: 44px;
    padding: 11px 16px;
  }
  .editorial-kicker {
    font-size: 12px;
  }
  .cover-foods {
    margin-top: 22px;
    gap: 7px 18px;
  }
  .cover-foods .food-plate {
    width: 135px;
    max-height: 104px;
  }
  .cover-foods b {
    font-size: 13px;
    font-weight: 500;
  }
  .cover-food-num {
    font-size: 18px;
  }
  .atlas-cover-foot {
    font-size: 12px;
    margin-top: 17px;
    display: block;
    padding-top: 12px;
    line-height: 1.9;
  }
  .atlas-cover-foot > span {
    display: block;
    margin: 3px 0;
  }
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 23px;
    padding: 15px 0 0;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: 34px !important;
    line-height: 1.4;
  }
  .hero .eyebrow {
    font-size: 12px;
  }
  .hero-pretitle {
    font-size: 13px;
    margin-top: 13px;
  }
  .hero-description {
    font-size: 15px !important;
    margin-top: 14px;
    line-height: 1.9;
  }
  .hero-actions {
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
  }
  .hero-actions .button {
    font-size: 14px;
    padding: 11px 16px;
    min-height: 43px;
  }
  .hero-secondary {
    font-size: 13px !important;
  }
  .hero-meta {
    font-size: 12px !important;
    gap: 12px;
    margin-top: 14px;
  }
  .hero-meta span:last-child {
    display: none;
  }
  .hero-art {
    height: 205px;
    max-height: 205px;
    width: 100%;
    margin: 5px 0 0;
  }
  .hero-art > img {
    width: 100%;
    height: 225px;
    max-height: 225px;
    margin: 0;
    object-fit: contain;
  }
  .mission-banner {
    padding: 16px 0;
    margin-top: 14px;
    gap: 12px;
  }
  .mission-banner h2 {
    font-size: 19px;
  }
  .mission-banner p {
    font-size: 14px !important;
    max-width: none;
    line-height: 1.9;
  }
  .mission-banner .eyebrow {
    font-size: 12px;
  }
  .mission-banner .circle-arrow {
    flex-shrink: 0;
  }
  .journey {
    margin-top: 24px;
  }
  .section-heading {
    margin-bottom: 17px;
  }
  .section-heading h2 {
    font-size: 24px;
    line-height: 1.6;
  }
  .section-heading .eyebrow {
    font-size: 12px;
  }
  .section-heading .microcopy {
    font-size: 12px;
    margin-top: 9px;
  }
  .journey-card {
    padding: 17px 13px;
  }
  .journey-card h3 {
    font-size: 17px !important;
    line-height: 1.65;
  }
  .journey-card p {
    font-size: 14px !important;
    line-height: 1.9;
    margin-top: 9px;
  }
  .journey-card-bottom {
    font-size: 12px !important;
    gap: 8px;
  }
  .journey-number {
    font-size: 24px;
  }
  .journey-icon .icon {
    width: 19px;
    height: 19px;
  }
  .journey-card-top {
    margin-bottom: 13px;
  }
  .home-principle p,
  .home-principle a,
  .principle-label {
    font-size: 13px !important;
  }
  .quest-intro {
    padding: 20px 16px;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 15px;
  }
  .quest-intro h2 {
    font-size: 22px;
  }
  .quest-intro .eyebrow {
    font-size: 12px;
    line-height: 1.8;
  }
  .quest-intro p {
    font-size: 14px;
    line-height: 1.95;
  }
  .quest-route-preview {
    gap: 7px 12px;
  }
  .quest-route-preview span,
  .quest-route-preview b {
    font-size: 12px;
  }
  .quest-intro > .button {
    font-size: 13px;
    min-height: 42px;
    padding: 10px 13px;
  }
  .quest-mini-island {
    width: 58px;
    margin-top: 25px;
  }
  .quest-mini-island > img {
    width: 80px;
    height: 120px;
    margin-left: -8px;
  }
  .quest-orbit {
    display: none;
  }
  .page-heading {
    padding: 25px 0 21px;
  }
  .page-heading h1 {
    font-size: 30px;
    font-weight: 600;
    margin: 8px 0 12px;
  }
  .page-heading p {
    font-size: 15px;
    line-height: 1.9;
  }
  .page-heading .eyebrow {
    font-size: 12px;
  }
  .section-no {
    font-size: 15px;
  }
  .quest-hud {
    padding: 15px 13px;
    margin-top: 18px;
  }
  .quest-hud-head {
    gap: 9px;
  }
  .quest-hud-head small {
    font-size: 11px;
    line-height: 1.8;
  }
  .quest-hud-head b {
    font-size: 15px;
  }
  .quest-hud-head > .button {
    font-size: 12px;
    padding: 7px 9px;
    min-height: 35px;
  }
  .quest-hud-head > div {
    flex-basis: calc(100% - 45px);
  }
  .quest-fraction {
    margin-left: 0;
    font-size: 17px;
  }
  .quest-hud-head > .button {
    margin-left: auto;
  }
  .quest-trail {
    gap: 9px 12px;
  }
  .quest-trail > span {
    font-size: 12px;
    white-space: normal;
  }
  .quest-trail i {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }
  .quest-hud > p {
    font-size: 13px;
    line-height: 1.9;
  }
  .quest-hud.complete {
    flex-wrap: wrap;
  }
  .quest-hud.complete small {
    font-size: 11px;
  }
  .quest-hud.complete b {
    font-size: 14px;
  }
  .quest-hud.complete > .button {
    font-size: 12px;
    margin: 2px 0 0 auto;
  }
  .quest-context > span {
    font-size: 13px;
  }
  .quest-context > .button {
    font-size: 13px;
    min-height: 39px;
  }
  .scene-header,
  .scene-header small {
    font-size: 12px;
    line-height: 1.8;
    flex-wrap: wrap;
  }
  .product-category {
    font-size: 12px;
  }
  .product img {
    height: 142px;
  }
  .product-name {
    font-size: 16px;
  }
  .product {
    padding-bottom: 20px;
  }
  .shelf-grid {
    gap: 0 3px;
    padding: 8px 8px 0;
  }
  .shelf-caption {
    font-size: 12px;
    padding: 19px 14px 12px;
    display: block;
    line-height: 1.9;
  }
  .shelf-caption > span {
    display: block;
    font-size: 12px;
  }
  .mission-card {
    padding: 20px 17px;
  }
  .mission-card .eyebrow,
  .mission-card-head {
    font-size: 12px;
  }
  .mission-card :is(h2, h3) {
    font-size: 21px;
  }
  .mission-card p {
    font-size: 14px;
  }
  .task-bottom .text-link {
    font-size: 12px;
  }
  .ingredient-panel {
    padding: 20px 17px;
  }
  .ingredient-panel h2 {
    font-size: 24px;
  }
  .panel-kicker,
  .panel-kicker .pill {
    font-size: 12px;
    letter-spacing: 0;
  }
  .clue {
    font-size: 15px;
  }
  .label-sheet {
    padding: 15px 13px;
  }
  .label-sheet-title {
    display: block;
  }
  .label-sheet-title b {
    font-size: 16px;
    display: block;
  }
  .label-sheet-title small {
    font-size: 12px;
    display: block;
    margin-top: 5px;
    line-height: 1.8;
  }
  .ingredient-list,
  .ingredient-chip {
    font-size: 16px;
  }
  .ingredient-detail h3 {
    font-size: 26px;
  }
  .ingredient-detail p {
    font-size: 15px !important;
  }
  .ingredient-detail h4 {
    font-size: 18px;
  }
  .chemical-symbol {
    font-size: 23px;
  }
  .role-pill {
    font-size: 12px;
  }
  .label-disclaimer {
    font-size: 12px;
    line-height: 1.9;
  }
  .ingredient-detail > .button {
    font-size: 14px;
    min-height: 41px;
  }
  .safe-note b {
    font-size: 14px;
  }
  .safe-note p {
    font-size: 14px !important;
  }
  .refs,
  .refs a {
    font-size: 12px;
  }
  .detective-note b {
    font-size: 14px;
  }
  .detective-note p {
    font-size: 14px;
  }
  .package-reveal {
    padding: 11px 10px;
    gap: 17px;
  }
  .package-platform {
    width: 65px;
  }
  .package-platform img {
    width: 90px;
    height: 124px;
  }
  .package-platform:after {
    width: 72px;
  }
  .package-reveal small {
    font-size: 12px;
    line-height: 1.8;
  }
  .package-reveal b {
    font-size: 19px;
    margin-top: 5px;
  }
  .package-reveal p {
    font-size: 14px;
    line-height: 1.9;
  }
  .package-reveal > div:last-child > span {
    font-size: 12px;
    line-height: 1.8;
  }
  .ingredient-motion > summary {
    font-size: 14px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .ingredient-motion > summary > span {
    font-size: 12px;
    margin-left: 0;
  }
  .science-process {
    padding: 13px;
  }
  .process-label,
  .process-label span:last-child {
    font-size: 12px !important;
    line-height: 1.8;
  }
  .process-phase-name,
  .compact-process .process-phase-name {
    font-size: 17px;
  }
  .process-phase-detail,
  .compact-process .process-phase-detail {
    font-size: 14px !important;
    line-height: 1.95;
  }
  .process-steps {
    gap: 5px;
  }
  .process-steps > span {
    font-size: 12px !important;
    line-height: 1.75;
  }
  .process-steps i {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
  .process-reading,
  .compact-process .process-reading {
    min-height: 0;
    padding: 14px 2px 8px;
  }
  .process-player button,
  .compact-process .process-player button {
    font-size: 13px;
    min-height: 39px;
    padding: 7px 10px;
  }
  .process-player {
    gap: 7px;
  }
  .indicator-legend {
    font-size: 12px;
    line-height: 1.9;
  }
  .science-note {
    font-size: 13px !important;
    padding: 10px 13px;
    line-height: 1.95;
  }
  .network-process > p {
    font-size: 15px !important;
  }
  .network-process > small {
    font-size: 12px;
  }
  .lab-tabs {
    gap: 3px;
  }
  .lab-tabs button {
    font-size: 14px;
    line-height: 1.8;
    padding: 11px 2px;
  }
  .lab-tabs span {
    font-size: 12px;
    margin-bottom: 4px;
  }
  .molecule-title h2 {
    font-size: 27px;
  }
  .molecule-title > span {
    font-size: 23px;
  }
  .molecule-tools {
    gap: 7px;
    flex-wrap: wrap;
  }
  .molecule-tools .small {
    font-size: 12px;
    padding: 7px 10px;
    min-height: 35px;
  }
  .model-help,
  .atom-legend {
    font-size: 13px !important;
    line-height: 1.9;
  }
  .atom-legend {
    gap: 11px;
  }
  .group-focus {
    font-size: 13px !important;
    min-height: 37px;
  }
  .demo-panel :is(h2, h3) {
    font-size: 24px;
  }
  .demo-panel > p {
    font-size: 15px;
  }
  .control-field legend {
    font-size: 14px;
  }
  .segmented button {
    font-size: 14px;
    padding: 9px 6px;
  }
  .demo-feedback b {
    font-size: 17px;
  }
  .demo-feedback p {
    font-size: 14px;
  }
  .knowledge-grid .knowledge-title {
    font-size: 23px;
  }
  .knowledge-grid .knowledge-subtitle {
    font-size: 18px;
  }
  body[data-view='lab'] .knowledge-grid p {
    font-size: 16px;
  }
  .next-stop {
    font-size: 14px;
  }
  .next-stop .button {
    font-size: 14px;
  }
  .experiment-tabs {
    gap: 13px;
  }
  .experiment-tabs > button {
    font-size: 14px;
    line-height: 1.8;
    padding: 10px 0 13px;
  }
  .experiment-tabs span {
    font-size: 12px;
  }
  .apple-studio .scene-header {
    font-size: 12px;
  }
  .apple-studio .scene-header span:last-child {
    display: none;
  }
  .apple-pair {
    padding: 23px 15px;
  }
  .apple-pair :is(h2, h3) {
    font-size: 18px;
  }
  .apple-pair p {
    font-size: 13px;
  }
  .specimen-tag {
    font-size: 12px;
    padding: 4px 7px;
  }
  .timeline-label,
  .timeline-label b,
  .timeline-label small {
    font-size: 13px;
  }
  .timeline-control {
    padding: 0 18px;
  }
  .timeline-ends {
    font-size: 12px;
  }
  .experiment-actions .button {
    font-size: 14px;
    min-height: 42px;
  }
  .experiment-controls {
    display: block;
  }
  .experiment-controls > .eyebrow {
    font-size: 12px;
  }
  .treatment-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .treatment-list button {
    padding: 12px 10px;
    align-items: flex-start;
    gap: 8px;
  }
  .treatment-list b {
    font-size: 14px;
    line-height: 1.8;
  }
  .treatment-list small {
    font-size: 12px;
    line-height: 1.8;
  }
  .radio-dot {
    margin-top: 7px;
  }
  .prediction {
    border-top: 1px solid #c9d8bd;
    padding-top: 18px;
    margin-top: 20px;
  }
  .prediction .eyebrow {
    font-size: 12px;
  }
  .prediction p {
    font-size: 15px;
    margin: 10px 0;
  }
  .prediction .segmented {
    flex-direction: row;
  }
  .prediction .segmented button {
    font-size: 14px;
  }
  .prediction > small {
    font-size: 12px;
  }
  .inquiry-order {
    padding: 13px 0;
  }
  .inquiry-order > span,
  .inquiry-order > small {
    font-size: 12px;
  }
  .inquiry-order > b {
    font-size: 14px;
  }
  .apple-lane > b,
  .apple-lane > span,
  .apple-lane > i,
  .apple-lane > em {
    font-size: 12px;
  }
  .apple-reaction-lanes {
    padding: 0 15px 12px;
  }
  .apple-status {
    margin: 0 15px 15px;
  }
  .apple-status b {
    font-size: 13px;
  }
  .experiment-conclusion {
    padding: 20px 17px;
    gap: 12px;
    display: block;
  }
  .conclusion-number {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
  }
  .experiment-conclusion .eyebrow {
    font-size: 12px;
  }
  .experiment-conclusion :is(h2, h3) {
    font-size: 21px;
    line-height: 1.75;
  }
  .experiment-conclusion p,
  .experiment-conclusion ul {
    font-size: 15px;
  }
  .experiment-conclusion p.muted {
    font-size: 13px;
  }
  .experiment-conclusion .completed-pill {
    position: static;
    display: inline-block;
    font-size: 12px;
    margin-top: 15px;
  }
  .preserve-layout {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .preserve-controls {
    display: block;
  }
  .preserve-controls > .eyebrow {
    font-size: 12px;
  }
  .preserve-controls .segmented button {
    font-size: 14px;
  }
  .quality-trends > div,
  .quality-trends strong {
    font-size: 13px;
  }
  .simulation-boundary {
    font-size: 12px;
    line-height: 1.9;
  }
  .preserve-studio > .button {
    font-size: 14px;
  }
  .necessity-layout {
    display: block;
  }
  .decision-scene {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    padding: 22px 18px;
  }
  .decision-scene h2 {
    font-size: 25px;
  }
  .decision-scene > p {
    font-size: 14px;
  }
  .decision-scene > .eyebrow {
    font-size: 12px;
  }
  .decision-foods img {
    height: 150px;
  }
  .decision-panel {
    padding: 23px 18px;
  }
  .decision-panel h3 {
    font-size: 24px;
  }
  .decision-panel > p {
    font-size: 15px;
  }
  .answer-options > button,
  .decision-panel .answer-options > button,
  .quiz-panel .answer-options > button {
    font-size: 15px !important;
    padding: 14px 13px;
    gap: 12px;
  }
  .answer-feedback b {
    font-size: 17px;
  }
  .answer-feedback p {
    font-size: 15px;
  }
  .challenge-intro {
    padding: 23px 20px;
  }
  .challenge-intro .eyebrow {
    font-size: 12px;
  }
  .challenge-intro h2 {
    font-size: 29px;
  }
  .challenge-intro p {
    font-size: 15px;
    max-width: none;
  }
  .level-grid {
    display: block;
  }
  .level-card {
    display: block;
    margin-bottom: 22px;
    padding: 21px 4px;
    background: none;
  }
  .level-top,
  .level-top .eyebrow {
    font-size: 12px;
  }
  .level-illustration {
    display: none;
  }
  .level-card h3 {
    font-size: 25px;
    margin-top: 15px;
  }
  .level-card > p {
    font-size: 15px;
    max-width: none;
  }
  .level-stats {
    font-size: 13px;
  }
  .level-card > .button {
    font-size: 14px;
    min-height: 43px;
  }
  .level-card > .text-link {
    display: block;
    font-size: 13px;
    margin-top: 13px;
  }
  .quiz-panel {
    padding: 25px 20px;
  }
  .quiz-panel h1 {
    font-size: 26px;
    line-height: 1.65;
  }
  .quiz-panel .eyebrow,
  .quiz-progress small {
    font-size: 12px;
  }
  .quiz-top,
  .quiz-top > span,
  .quiz-top strong,
  .quiz-top .text-link {
    font-size: 12px;
  }
  .quiz-tip,
  .quiz-bottom {
    font-size: 13px;
    line-height: 1.9;
  }
  .quiz-bottom .button {
    font-size: 14px;
  }
  .level-result h1 {
    font-size: 27px;
  }
  .level-result .eyebrow {
    font-size: 12px;
  }
  .level-result > p {
    font-size: 15px;
  }
  .result-review > button {
    font-size: 14px;
  }
  .result-review small {
    font-size: 12px;
  }
  .result-actions .button {
    font-size: 14px;
  }
  .result-actions .text-link {
    font-size: 13px;
  }
  .report-card {
    padding: 25px 20px;
  }
  .report-card-top {
    gap: 13px;
  }
  .report-card-top .eyebrow {
    font-size: 12px;
  }
  .report-stamp {
    font-size: 12px;
  }
  .name-field {
    font-size: 13px;
    gap: 12px;
  }
  .name-field input {
    font-size: 15px;
    width: 175px;
  }
  .report-card h2 {
    font-size: 27px;
  }
  .report-score {
    gap: 20px;
    flex-wrap: wrap;
  }
  .score-ring {
    width: 132px;
    height: 132px;
  }
  .score-ring span {
    font-size: 12px;
  }
  .score-ring strong {
    font-size: 45px;
  }
  .report-score .eyebrow {
    font-size: 12px;
  }
  .report-score h3 {
    font-size: 21px;
  }
  .report-score p {
    font-size: 14px;
  }
  .report-bars > div,
  .report-bars b {
    font-size: 13px;
  }
  .badge-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }
  .earned-badge .icon {
    width: 28px;
    height: 28px;
  }
  .earned-badge > span,
  .earned-badge > small {
    font-size: 12px;
  }
  .report-actions {
    flex-wrap: wrap;
    gap: 12px;
  }
  .report-actions > .button {
    font-size: 14px;
    min-height: 42px;
    padding: 11px 13px;
  }
  .report-card > .muted {
    font-size: 12px;
  }
  .report-insights > h2 {
    font-size: 26px;
  }
  .report-insights > .eyebrow,
  .takeaway .eyebrow {
    font-size: 12px;
  }
  .report-insights > p {
    font-size: 15px;
  }
  .insight h3 {
    font-size: 18px;
  }
  .insight p,
  .takeaway p {
    font-size: 15px;
  }
  .takeaway {
    padding: 20px 17px;
  }
  .report-insights > .button {
    font-size: 14px;
  }
  .reset-record {
    font-size: 12px;
  }
  .quest-archive {
    padding: 22px 18px;
  }
  .quest-archive li > span {
    font-size: 14px;
  }
  .quest-archive li > small {
    font-size: 12px;
  }
  .certificate .eyebrow {
    font-size: 12px;
  }
  .certificate p {
    font-size: 14px !important;
  }
  .certificate > small {
    font-size: 12px;
    line-height: 1.9;
  }
  .certificate h2 {
    font-size: 25px;
  }
  .certificate > .button {
    font-size: 14px;
  }
  .quest-question {
    padding: 23px 18px;
  }
  .quest-question > .eyebrow {
    font-size: 12px;
  }
  .quest-question h2 {
    font-size: 25px;
  }
  .quest-question > p {
    font-size: 15px;
  }
  .quest-question .answer-options > button {
    font-size: 15px !important;
  }
  .knowledge-journal .section-heading h2 {
    font-size: 25px;
  }
  .knowledge-journal .section-heading .eyebrow {
    font-size: 12px;
  }
  .journal-entry p {
    font-size: 14px;
  }
  .journal-entry h3 {
    font-size: 19px;
  }
  .journal-entry small {
    font-size: 12px;
  }
  .source-intro {
    padding: 22px 0;
    gap: 22px;
  }
  .source-intro h2 {
    font-size: 26px;
  }
  .source-intro p {
    font-size: 15px;
  }
  .source-boundaries {
    font-size: 14px;
    line-height: 1.9;
  }
  .sources-list article {
    gap: 14px;
  }
  .sources-list h2 {
    font-size: 20px;
  }
  .sources-list .eyebrow {
    font-size: 12px;
  }
  .sources-list article p:not(.eyebrow) {
    font-size: 15px;
  }
  .source-link {
    font-size: 12px;
    margin-left: 44px;
  }
  .work-notes {
    grid-template-columns: 1fr;
  }
  .work-notes h2 {
    font-size: 25px;
  }
  .work-notes h3 {
    font-size: 20px;
  }
  .work-notes p {
    font-size: 15px;
  }
  .work-notes p.muted {
    font-size: 13px;
  }
  .notebook {
    padding: 23px 20px;
  }
  .dialog-top .eyebrow {
    font-size: 12px;
  }
  #notebook-body h2 {
    font-size: 26px;
  }
  #notebook-body p {
    font-size: 16px;
  }
  .notebook .certificate .eyebrow {
    font-size: 12px;
  }
  .notebook .certificate p {
    font-size: 15px !important;
  }
  .mobile-back {
    font-size: 13px;
    margin-top: 17px;
  }
  #toast {
    font-size: 14px;
    line-height: 1.85;
  }
  #science-reward b {
    font-size: 14px;
  }
  #science-reward small {
    font-size: 12px;
  }
  .atlas-heading {
    padding: 25px 0 21px;
  }
  .atlas-heading h1 {
    font-size: 30px;
    line-height: 1.6;
    letter-spacing: 0;
    margin: 8px 0 11px;
  }
  .atlas-heading > p {
    font-size: 17px;
    line-height: 1.9;
  }
  .atlas-intro-note {
    font-size: 14px;
    line-height: 1.95;
    margin-top: 12px;
  }
  .atlas-layout {
    gap: 24px;
    margin-top: 22px;
  }
  .atlas-index label {
    display: block;
    font-size: 13px;
  }
  .atlas-index input {
    display: block;
    width: 100%;
    max-width: none;
    padding: 10px;
    font-size: 14px;
    margin-top: 8px;
  }
  .atlas-directory {
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
  }
  .atlas-directory section {
    margin-top: 16px;
  }
  .atlas-directory h2 {
    font-size: 14px;
    padding-bottom: 7px;
  }
  .atlas-directory button {
    font-size: 13px;
    padding: 8px 2px;
    gap: 7px;
  }
  .atlas-directory button small {
    font-size: 12px;
  }
  .atlas-compare-link {
    font-size: 13px;
    line-height: 1.9;
  }
  .atlas-case-heading > h2 {
    font-size: 28px;
    line-height: 1.65;
    margin: 14px 0 18px;
  }
  .case-folio {
    font-size: 13px;
  }
  .case-life {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
  }
  .case-life .food-plate {
    width: 90px;
    margin-top: 20px;
  }
  .case-life h3 {
    font-size: 15px;
  }
  .case-life .case-question {
    font-size: 17px;
    line-height: 1.9;
    margin: 7px 0 11px;
  }
  .case-life p {
    font-size: 15px;
    line-height: 1.95;
  }
  .atlas-case-heading {
    padding-bottom: 22px;
  }
  .atlas-core {
    padding: 22px 18px;
  }
  .core-label {
    font-size: 14px;
    gap: 8px;
  }
  .core-label > span {
    font-size: 12px;
    line-height: 1.85;
  }
  .atlas-core > h3 {
    font-size: 22px;
    line-height: 1.75;
    margin-top: 17px;
  }
  .core-prose p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 14px;
  }
  .atlas-pathway {
    padding: 15px 14px;
    margin: 19px 0 21px;
  }
  .atlas-pathway figcaption {
    font-size: 12px;
    line-height: 1.9;
  }
  .atlas-pathway p {
    font-size: 16px;
    line-height: 2;
  }
  .atlas-animation-head h4 {
    font-size: 18px;
  }
  .atlas-animation-head > span {
    font-size: 12px;
  }
  .atlas-condition {
    gap: 7px;
    margin-top: 16px;
  }
  .atlas-condition legend {
    font-size: 13px;
  }
  .atlas-core .atlas-button {
    font-size: 13px;
    min-height: 39px;
    padding: 8px 10px;
  }
  #atlas-canvas {
    min-height: 190px;
    aspect-ratio: 640/390;
  }
  .atlas-legend {
    gap: 8px 14px;
  }
  .atlas-legend span {
    font-size: 12px;
    line-height: 1.9;
  }
  .atlas-phase-tabs {
    gap: 5px;
    margin-top: 15px;
  }
  .atlas-phase-tabs .atlas-button {
    font-size: 12px;
    line-height: 1.85;
    padding: 8px 4px;
    min-height: 90px;
  }
  .atlas-phase-tabs .atlas-button b {
    font-size: 17px;
  }
  .atlas-stage-explanation {
    padding-top: 12px;
    min-height: 112px;
  }
  .atlas-stage-explanation h4 {
    font-size: 18px;
  }
  .atlas-stage-explanation p {
    font-size: 15px;
    line-height: 1.95;
  }
  .atlas-playback {
    gap: 8px;
  }
  .atlas-playback > label {
    font-size: 12px;
    min-width: 0;
    flex-basis: 100%;
    margin: 9px 0 0;
    gap: 10px;
  }
  .atlas-sim-note {
    font-size: 12px !important;
    line-height: 1.95 !important;
  }
  .case-application {
    grid-template-columns: 1fr;
    gap: 21px;
    padding-top: 25px;
  }
  .case-application h3 {
    font-size: 21px;
  }
  .case-application p {
    font-size: 15px;
  }
  .case-application aside {
    padding: 18px 16px;
  }
  .case-application aside h3 {
    font-size: 18px;
  }
  .atlas-case-links {
    display: block;
    padding: 20px 0;
  }
  .atlas-case-links > span {
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
  }
  .atlas-case-links > div {
    margin-bottom: 14px;
    min-width: 0;
  }
  .atlas-case-links a {
    font-size: 12px;
    line-height: 1.95;
  }
  .atlas-case-links .atlas-button {
    margin-top: 10px;
  }
  .atlas-text-link {
    font-size: 13px;
    margin: 10px 0;
  }
  .atlas-case-pager .atlas-button {
    font-size: 13px;
    min-height: 41px;
  }
  .atlas-comparisons {
    margin-top: 30px;
    padding-top: 23px;
    scroll-margin-top: 137px;
  }
  .comparison-heading .editorial-kicker {
    font-size: 12px;
  }
  .comparison-heading h2 {
    font-size: 27px;
    line-height: 1.7;
  }
  .comparison-heading p {
    font-size: 15px;
  }
  .comparison-tabs {
    gap: 8px;
  }
  .comparison-tabs .atlas-button {
    font-size: 13px;
    padding: 8px 12px;
  }
  .comparison-figures {
    grid-template-columns: 1fr;
  }
  .comparison-figures figure,
  .comparison-figures figure:first-child,
  .comparison-figures figure:last-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid #cfdcc2;
  }
  .comparison-figures figure:last-child {
    border-bottom: 0;
  }
  .comparison-figures figcaption {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
  }
  .comparison-figures figcaption strong {
    font-size: 20px;
  }
  .comparison-figures figcaption span {
    font-size: 13px;
    margin: 0;
  }
  .comparison-figures canvas {
    height: 170px;
  }
  .comparison-figures p {
    font-size: 15px;
  }
  .comparison-figures .atlas-button.link {
    font-size: 13px;
    margin-top: 13px;
  }
  .comparison-player .atlas-button {
    font-size: 13px;
    padding: 8px 10px;
  }
  .comparison-player {
    gap: 8px;
  }
  .comparison-player input {
    flex-basis: 100%;
    margin-top: 8px;
  }
  .comparison-conclusion {
    font-size: 16px;
    line-height: 1.95;
  }
  .atlas-sources {
    padding-top: 25px;
    margin-top: 28px;
  }
  .atlas-sources h2 {
    font-size: 24px;
  }
  .atlas-sources > p {
    font-size: 14px;
  }
  .atlas-reference-list article {
    gap: 11px;
    padding: 18px 0;
  }
  .atlas-reference-list h3 {
    font-size: 16px;
  }
  .atlas-reference-list p {
    font-size: 13px;
  }
  .atlas-reference-list a {
    font-size: 12px;
  }
  .atlas-case-heading {
    scroll-margin-top: 140px;
  }
}
@media (max-width: 360px) {
  nav a {
    font-size: 9px;
    padding: 7px 1px;
  }
  nav a span:nth-child(2) {
    max-width: 49px;
  }
  nav a[data-nav='atlas'] span:nth-child(2) {
    max-width: 57px;
  }
  .breadcrumb,
  .breadcrumb #page-label {
    font-size: 9px;
  }
  .motion-toggle {
    font-size: 9px;
    padding: 5px 6px;
  }
  .atlas-cover-copy h2 {
    font-size: 30px;
  }
  .cover-foods .food-plate {
    width: 115px;
  }
  .cover-foods b {
    font-size: 12px;
  }
  .atlas-heading h1 {
    font-size: 28px;
  }
  .atlas-case-heading > h2 {
    font-size: 26px;
  }
  .case-life {
    grid-template-columns: 1fr;
  }
  .case-life > div:first-child {
    display: none;
  }
  .atlas-core {
    padding: 20px 16px;
  }
  .atlas-core > h3 {
    font-size: 21px;
  }
  .atlas-core .atlas-button {
    font-size: 12px;
    padding: 8px 9px;
  }
  .atlas-phase-tabs .atlas-button {
    font-size: 12px;
    padding: 8px 3px;
  }
  .atlas-condition {
    gap: 7px;
  }
  .atlas-directory {
    gap: 10px 14px;
  }
  .atlas-directory button {
    font-size: 12px;
  }
  .atlas-directory button small {
    font-size: 12px;
  }
  .atlas-playback {
    gap: 7px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .hero h1 {
    font-size: 32px !important;
  }
  .journey-card {
    padding: 16px 11px;
  }
  .journey-card h3 {
    font-size: 16px !important;
  }
  .quest-intro {
    grid-template-columns: 1fr;
  }
  .quest-mini-island {
    display: none;
  }
  .quest-intro > .button {
    grid-column: 1;
  }
  .quest-hud-head small {
    font-size: 11px;
  }
  .quest-hud-head b {
    font-size: 14px;
  }
  .quest-trail > span {
    font-size: 12px;
  }
  .product img {
    height: 126px;
  }
  .product-name {
    font-size: 15px;
  }
  .package-reveal {
    gap: 12px;
  }
  .package-platform {
    width: 56px;
  }
  .package-platform img {
    width: 82px;
  }
  .package-reveal b {
    font-size: 18px;
  }
  .package-reveal p {
    font-size: 14px;
  }
  .package-reveal small {
    font-size: 12px;
  }
  .ingredient-panel {
    padding: 18px 15px;
  }
  .process-player button,
  .compact-process .process-player button {
    font-size: 12px;
  }
  .lab-tabs button {
    font-size: 13px;
  }
  .experiment-tabs > button {
    font-size: 13px;
  }
  .treatment-list {
    grid-template-columns: 1fr;
  }
  .report-card h2 {
    font-size: 25px;
  }
  .report-score {
    gap: 16px;
  }
  .report-score p {
    font-size: 14px;
  }
  .quiz-panel h1 {
    font-size: 25px;
  }
  .atlas-legend span {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .atlas-cover * {
    animation: none !important;
  }
}
.atlas-directory-fold > summary {
  display: none;
}
.atlas-source-fold {
  border-top: 1px solid #cbd8bd;
  margin-top: 17px;
}
.atlas-source-fold > summary {
  font-size: 14px;
  color: #3f6134;
  padding: 13px 0;
  cursor: pointer;
  line-height: 1.9;
}
.atlas-directory-fold > summary {
  font-size: 14px;
  color: #425f37;
  padding: 13px 0;
  cursor: pointer;
  line-height: 1.9;
}
.atlas-directory-fold[open] > summary {
  border-bottom: 1px solid #cbd8bd;
}
.atlas-button {
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}
@media (min-width: 561px) {
  .atlas-directory-fold:not([open]) > .atlas-directory {
    display: grid;
  }
  .atlas-directory-fold:not([open]) {
    display: block;
  }
}
@media (min-width: 1001px) {
  .atlas-directory-fold:not([open]) > .atlas-directory {
    display: block;
  }
}
@media (max-width: 560px) {
  .atlas-directory-fold > summary {
    display: list-item;
    list-style-position: inside;
  }
  .atlas-directory-fold:not([open]) > .atlas-directory {
    display: none;
  }
  .atlas-index {
    padding-bottom: 14px;
  }
  .atlas-compare-link {
    margin-top: 4px;
  }
  .atlas-source-fold > summary {
    font-size: 14px;
  }
  .atlas-phase-tabs .atlas-button {
    font-size: 12px;
  }
  .atlas-core .atlas-playback .atlas-button {
    font-size: 13px;
  }
}
@media (max-width: 760px) {
  .sidebar nav {
    padding-left: 4px;
    padding-right: 4px;
    gap: 1px;
  }
  nav a {
    font-size: 12px;
    padding: 7px 0;
    flex: 1;
    min-width: 0;
  }
  nav a[data-nav='atlas'] {
    flex: 1.15;
  }
  nav a span:nth-child(2),
  nav a[data-nav='atlas'] span:nth-child(2) {
    max-width: none;
    white-space: nowrap;
    font-size: 12px;
  }
  .brand small {
    font-size: 12px;
  }
}
@media (max-width: 560px) {
  .breadcrumb {
    font-size: 12px;
    gap: 7px;
  }
  .breadcrumb .crumb-line,
  .breadcrumb #page-label {
    display: none;
  }
  .motion-toggle {
    font-size: 12px;
  }
  .header-tools {
    gap: 7px;
  }
}
.process-label,
.process-label span:last-child {
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1.8;
}
.package-reveal small {
  font-family: inherit;
  font-size: 12px;
  line-height: 1.8;
}
.phenomenon-label {
  font-size: 14px;
  color: #586e49;
  font-weight: 500;
  margin: 12px 0 6px;
}
body[data-view='lab'] #main:not(:has(#quest-hud)) {
  grid-template-areas: 'heading heading' 'tabs tabs' 'molecule demonstration' 'facts demonstration' 'uses uses' 'next next';
}
@media (max-width: 1000px) {
  body[data-view='lab'] #main:not(:has(#quest-hud)) {
    grid-template-areas: 'heading' 'tabs' 'molecule' 'facts' 'demonstration' 'uses' 'next';
  }
}
.atlas-heading h1 > span {
  white-space: nowrap;
}
.case-life:after {
  content: '';
  display: block;
  clear: both;
}
@media (max-width: 560px) {
  .atlas-heading h1 > span {
    display: block;
  }
  .atlas-heading h1 > span:last-child {
    font-size: 34px;
    margin-top: 2px;
  }
  .case-life {
    display: block;
  }
  .case-life > div:first-child {
    display: block;
    float: left;
    width: 90px;
    height: 95px;
    margin: 3px 15px 9px 0;
  }
  .case-life .food-plate {
    width: 90px;
    margin: 0;
  }
  .case-life > div:last-child {
    display: block;
  }
  .case-life .case-question {
    font-size: 17px;
  }
  .case-life .phenomenon-label {
    clear: both;
    padding-top: 1px;
  }
  .atlas-case-heading {
    padding-bottom: 22px;
  }
}
@media (max-width: 360px) {
  .atlas-heading h1 > span:first-child {
    font-size: 28px;
  }
  .atlas-heading h1 > span:last-child {
    font-size: 32px;
  }
  .case-life > div:first-child {
    display: block;
  }
}

/* v4: explicit scientific comparison and bidirectional reading routes. */
.atlas-core mark {
  background: none;
  color: #f2d68f;
  font-weight: 500;
}
.comparison-type {
  display: block;
  font-size: 13px;
  line-height: 1.9;
  color: #3f643d;
  border-left: 2px solid #b69b58;
  padding-left: 9px;
  margin-top: 12px;
  min-height: 49px;
}
.comparison-mechanism {
  margin: 17px 0 0;
}
.comparison-mechanism > div {
  padding: 12px 0;
  border-top: 1px solid #d4ddca;
}
.comparison-mechanism dt {
  font-size: 13px;
  font-weight: 600;
  color: #456b41;
  line-height: 1.8;
}
.comparison-mechanism dd {
  font-size: 14px;
  line-height: 1.95;
  color: #2c4c3b;
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}
.comparison-figures p {
  min-height: 0;
}
.comparison-figures .atlas-button.link {
  margin-top: 13px;
}
.source-access-note {
  font-size: 13px !important;
  line-height: 1.9 !important;
  color: #52664c !important;
  border-left: 2px solid #b49d67;
  padding-left: 10px;
  margin-top: 10px !important;
}
.source-backup {
  display: inline-block;
  margin: 5px 13px 0 0;
  font-size: 13px;
  color: #426936;
  overflow-wrap: anywhere;
}
.source-access-guide {
  border-top: 2px solid #42633d;
  border-bottom: 1px solid #cdd8c1;
  padding: 20px 0 22px;
  margin-bottom: 7px;
  max-width: 1100px;
}
.source-access-guide h2 {
  font-size: 23px;
  margin-bottom: 8px;
}
.source-access-guide p {
  font-size: 15px;
  line-height: 1.95;
  margin-top: 9px;
  color: #34513f;
}
.sources-list .source-supplement {
  grid-column: 2/-1;
  min-width: 0;
  padding-top: 0;
}
.sources-list .source-supplement:empty {
  display: none;
}
.atlas-connections {
  padding: 20px 0;
  border-top: 1px solid #cbd8c0;
  border-bottom: 1px solid #cbd8c0;
}
.atlas-connections > h3 {
  font-size: 20px;
  margin-bottom: 13px;
}
.atlas-connections > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px 22px;
}
.atlas-connections p {
  font-size: 14px;
  line-height: 1.9;
  margin-top: 8px;
  color: #3a5944;
}
.atlas-connections .atlas-button {
  text-align: left;
  min-height: 42px;
  color: #244b36;
  border-color: #a2b694;
}
.exhibit-reading {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.1fr);
  gap: 25px;
  border-top: 2px solid #69845b;
  padding: 22px 0 0;
  margin-top: 23px;
  clear: both;
}
.exhibit-reading h3 {
  font-size: 21px;
  margin: 6px 0 10px;
}
.exhibit-reading p {
  font-size: 14px;
  line-height: 1.95;
  color: #395a42;
}
.exhibit-reading-links {
  display: grid;
  align-content: start;
}
.exhibit-reading-links button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #c9d6bc;
  background: transparent;
  padding: 13px 4px;
  color: #294d37;
  cursor: pointer;
}
.exhibit-reading-links button:hover,
.exhibit-reading-links button:focus-visible {
  background: #e6eadc;
}
.exhibit-reading-links span {
  font-size: 16px;
  font-weight: 500;
}
.exhibit-reading-links small {
  font-size: 12px;
  grid-column: 1;
  color: #576d4c;
  line-height: 1.9;
}
.exhibit-reading-links i {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  font-style: normal;
}
.ingredient-panel .exhibit-reading {
  grid-template-columns: 1fr;
  gap: 9px;
}
.knowledge-grid .exhibit-reading {
  grid-column: 1/-1;
  grid-template-columns: 1fr 1.2fr;
  margin: 8px 0 0;
}
.knowledge-grid .exhibit-reading h3 {
  color: #2d4c38;
}
.knowledge-grid .exhibit-reading p {
  color: #395a42;
}
body[data-view='fresh'] #main > .exhibit-reading {
  margin-top: 28px;
}
@media (max-width: 760px) {
  .comparison-type {
    min-height: 0;
    font-size: 13px;
  }
  .comparison-mechanism {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }
  .comparison-mechanism dd {
    font-size: 14px;
  }
  .source-access-guide h2 {
    font-size: 21px;
  }
  .source-access-guide p {
    font-size: 15px;
  }
  .sources-list .source-supplement {
    grid-column: 1/-1;
  }
  .atlas-connections > div {
    grid-template-columns: 1fr;
  }
  .atlas-connections p {
    font-size: 15px;
  }
  .exhibit-reading,
  .knowledge-grid .exhibit-reading {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .exhibit-reading p {
    font-size: 15px;
  }
  .exhibit-reading-links button {
    padding: 14px 3px;
  }
}
@media (max-width: 360px) {
  .comparison-mechanism {
    grid-template-columns: 1fr;
  }
  .atlas-connections .atlas-button {
    font-size: 13px;
  }
}

#atlas-article {
  scroll-margin-top: 82px;
}
@media (max-width: 760px) {
  #atlas-article {
    scroll-margin-top: 145px;
  }
}

/* v5: one typography scale; light/dark foregrounds are explicit. */
:root {
  --ink: #183b35;
  --green: #315b48;
  --muted: #52685b;
  --bg: #f7f6ef;
  --paper: #fffef8;
  --line: #ccd6c7;
  --serif: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --read-small: 13px;
  --read-body: 16px;
  --read-title: 28px;
}
body {
  font-size: var(--read-body);
  line-height: 1.8;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', system-ui, sans-serif;
  color: var(--ink);
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4 {
  font-family: inherit;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
p {
  line-height: 1.85;
}
button,
input,
summary {
  font-family: inherit;
}
button {
  line-height: 1.55;
}
small,
.muted,
.microcopy {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}
.eyebrow,
.editorial-kicker {
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0.025em;
  color: #52664e;
}
.button,
.text-link,
.atlas-button {
  font-size: 14px;
  font-weight: 550;
  min-height: 44px;
  line-height: 1.55;
}
.button.small,
.atlas-button.link,
.pill {
  font-size: 13px;
}
.text-link {
  padding-block: 5px;
}
.button.primary,
.atlas-button.solid {
  color: #fffef5;
  background: #315b48;
}
.button.outline {
  color: #315b48;
}
.button:hover,
.atlas-button:hover {
  transform: none;
}
.button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #a97021;
  outline-offset: 4px;
}
.refs,
.refs a,
.atlas-case-links a,
.atlas-reference-list a {
  font-size: 13px;
  color: #365b3e;
  line-height: 1.9;
}
.science-note,
.safe-note p,
.label-disclaimer,
.simulation-boundary {
  font-size: 14px !important;
  line-height: 1.85 !important;
  color: #435d45 !important;
}
.sidebar .brand {
  font-size: 23px;
}
.sidebar .brand small {
  font-size: 12px;
  color: #bdd0c3;
  letter-spacing: 0.05em;
}
.sidebar nav a {
  font-size: 14px;
  color: #cfddd2;
}
.sidebar nav a.active {
  color: #163d31;
}
.sidebar .nav-caption,
.sidebar .side-progress,
.sidebar .side-link,
.sidebar .identity small,
.sidebar .side-note {
  font-size: 12px !important;
  color: #bdd0c3 !important;
}
.sidebar .identity strong {
  font-size: 13px;
  color: #eef2df;
}
.sidebar nav small {
  font-size: 12px;
  opacity: 1;
}
.breadcrumb,
.breadcrumb #page-label,
.header-tools .local-state,
.motion-toggle {
  font-size: 13px;
  color: #48604d;
}
.page-heading h1 {
  font-size: clamp(28px, 2.65vw, 38px);
  line-height: 1.4;
}
.page-heading p {
  font-size: 16px;
  max-width: 55em;
}
.hero {
  margin-top: 18px;
  padding: 26px 0 30px;
  min-height: 410px;
  border-top: 2px solid #315b48;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.hero h1 {
  font-size: clamp(34px, 3.3vw, 48px) !important;
  line-height: 1.35;
}
.hero-pretitle {
  font-size: 14px;
  line-height: 1.75;
  margin-block: 12px;
}
.hero-description {
  font-size: 17px !important;
  line-height: 1.9;
  max-width: 29em;
}
.hero-actions {
  gap: 16px;
  flex-wrap: wrap;
}
.hero-secondary {
  font-size: 14px !important;
}
.hero-meta {
  font-size: 13px !important;
  color: #52664e;
}
.hero-art {
  max-height: 360px;
}
.hero-art > img {
  max-height: 360px;
}
.hero .underline-word {
  color: #315b48;
}
.hero-copy {
  padding-block: 8px;
}
.mission-banner {
  margin-top: 0;
  padding: 18px 0;
}
.mission-banner h2 {
  font-size: 21px;
}
.mission-banner p {
  font-size: 15px !important;
}
.quest-intro {
  padding: 22px;
  margin-block: 24px;
  background: #eee9d8;
  border: 1px solid #cfbd89;
  border-radius: 6px;
}
.quest-intro h2 {
  font-size: 25px;
  line-height: 1.45;
}
.quest-intro p {
  font-size: 16px;
  line-height: 1.85;
}
.quest-route-preview span,
.quest-route-preview b {
  font-size: 13px;
  color: #526245;
}
.quest-hud small,
.quest-hud p,
.quest-trail > span {
  font-size: 13px;
  line-height: 1.8;
}
.quest-hud-head b {
  font-size: 16px;
}
.section-heading h2 {
  font-size: 28px;
}
.journey-card h3 {
  font-size: 20px !important;
}
.journey-card p {
  font-size: 15px !important;
  line-height: 1.85;
}
.journey-card-bottom {
  font-size: 13px;
}
.journey {
  margin-top: 28px;
}
.home-principle p,
.home-principle a {
  font-size: 14px;
}
.atlas-cover {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #ccd6c7;
}
.atlas-cover-copy h2 {
  font-size: 30px;
  line-height: 1.5;
}
.atlas-cover-copy p {
  font-size: 16px;
  line-height: 1.85;
}
.cover-foods b {
  font-size: 14px;
  color: #36513d;
}
.cover-food-num {
  font-size: 16px;
  color: #52664e;
}
.atlas-cover-foot {
  font-size: 13px;
  color: #52664e;
}
.atlas-heading h1 {
  font-family: inherit;
  font-size: 36px;
  line-height: 1.4;
}
.atlas-heading h1 span {
  display: inline;
}
.atlas-heading h1 span + span:before {
  content: ' · ';
  font-weight: 400;
  color: #6b7c65;
}
.atlas-heading > p {
  font-size: 17px;
}
.atlas-intro-note {
  font-size: 14px;
  color: #52664e;
}
.atlas-case-heading > h2 {
  font-size: 30px;
  line-height: 1.5;
}
.case-life h3,
.phenomenon-label {
  font-size: 14px;
  color: #52664e;
}
.case-life p {
  font-size: 16px;
  line-height: 1.9;
}
.case-life .case-question {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}
.case-folio {
  font-size: 13px;
  color: #52664e;
}
.atlas-index label,
.atlas-directory-fold > summary {
  font-size: 14px;
}
.atlas-directory button {
  font-size: 14px;
  min-height: 44px;
}
.atlas-directory h2 {
  font-size: 15px;
}
.atlas-directory button small {
  font-size: 13px;
}
.atlas-index input {
  font-size: 16px;
  min-height: 46px;
}
.atlas-core {
  color: #edf2e3;
  background: #1e4237;
  padding: 28px;
}
.atlas-core > h3 {
  font-size: 24px;
  line-height: 1.6;
  color: #f1f4e6;
}
.atlas-core .core-label,
.atlas-core .core-label > span {
  font-size: 14px;
  color: #e4cd91;
}
.atlas-core .core-prose p {
  font-size: 17px;
  line-height: 1.95;
  color: #edf2e3;
}
.atlas-core mark {
  color: #efd38c;
  background: none;
}
.atlas-core .atlas-pathway p {
  font-size: 16px;
  line-height: 1.9;
  color: #edf2e3;
}
.atlas-core .atlas-pathway figcaption {
  font-size: 13px;
  color: #c8dac6;
}
.atlas-core .atlas-animation-head h4 {
  font-size: 20px;
  color: #edf2e3;
}
.atlas-core .atlas-animation-head > span,
.atlas-core .atlas-condition legend,
.atlas-core .atlas-legend span,
.atlas-core .atlas-playback label,
.atlas-core .atlas-sim-note {
  font-size: 13px !important;
  color: #c8dac6;
}
.atlas-core .atlas-button {
  font-size: 14px;
  min-height: 44px;
  color: #edf2e3;
  border-color: #8ca894;
}
.atlas-core .atlas-button.selected,
.atlas-core .atlas-button.solid {
  color: #203e31;
  background: #e5cd8f;
}
.atlas-phase-tabs .atlas-button {
  font-size: 13px;
}
.atlas-phase-tabs .atlas-button b {
  font-size: 17px;
}
.atlas-stage-explanation h4 {
  font-size: 19px;
  color: #f1f4e6;
}
.atlas-stage-explanation p {
  font-size: 16px;
  line-height: 1.85;
  color: #edf2e3;
}
.atlas-deep-reading {
  margin-top: 14px;
  border-top: 1px solid #597362;
}
.atlas-deep-reading > summary {
  padding: 13px 0;
  font-size: 14px;
  color: #ead195;
  cursor: pointer;
}
.atlas-deep-reading[open] > summary {
  margin-bottom: 4px;
}
.atlas-animation {
  margin-top: 14px;
}
.atlas-sim-note {
  line-height: 1.8 !important;
}
.case-application p,
.case-application aside p,
.comparison-figures p,
.comparison-mechanism dd {
  font-size: 16px;
  line-height: 1.85;
  color: #36513f;
}
.case-application h3,
.atlas-connections > h3,
.exhibit-reading h3 {
  font-size: 23px;
}
.case-application aside h3 {
  font-size: 18px;
}
.comparison-fold {
  margin-top: 26px;
  border-top: 2px solid #68825a;
}
.comparison-fold > summary {
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: #315b48;
  cursor: pointer;
}
.comparison-fold .atlas-comparisons {
  margin-top: 0;
  border-top: 0;
  padding-top: 8px;
}
.comparison-heading h2 {
  font-size: 27px;
}
.comparison-heading p {
  font-size: 16px;
}
.comparison-figures figcaption strong {
  font-size: 20px;
}
.comparison-type {
  font-size: 13px;
  color: #52664e;
}
.comparison-mechanism dt {
  font-size: 13px;
  color: #52664e;
}
.lab-tabs button,
.experiment-tabs > button {
  font-size: 15px;
  line-height: 1.65;
  min-height: 48px;
}
.lab-tabs button small,
.experiment-tabs small {
  font-size: 12px;
}
.knowledge-grid h2,
.ingredient-detail h3 {
  font-size: 25px;
}
.knowledge-grid .knowledge-title {
  font-size: 20px;
}
.knowledge-grid p,
.ingredient-detail p {
  font-size: 16px !important;
  line-height: 1.9 !important;
}
.knowledge-grid > section:first-child {
  color: #edf2e3;
}
.knowledge-grid > section:first-child p {
  color: #edf2e3 !important;
}
.knowledge-grid > section:first-child h2,
.knowledge-grid > section:first-child h3 {
  color: #f1f4e6;
}
.molecule-title h2 {
  font-size: 27px;
}
.molecule-formula {
  font-size: 25px;
}
.molecule-footer {
  font-size: 13px;
}
.molecule-actions button,
.process-player button,
.compact-process .process-player button {
  font-size: 14px;
  min-height: 44px;
}
.process-description h4 {
  font-size: 20px;
}
.process-description p,
.process-description {
  font-size: 16px;
  line-height: 1.85;
}
.process-steps button {
  font-size: 13px;
  line-height: 1.75;
}
.process-steps button b {
  font-size: 16px;
}
.diagram-reading-caption {
  font-size: 14px !important;
  color: #52664e;
  line-height: 1.85;
}
.process-title,
.process-label {
  font-size: 13px;
}
.treatment-list strong,
.treatment-list b {
  font-size: 16px;
}
.treatment-list small {
  font-size: 13px;
}
.prediction p {
  font-size: 16px;
}
.prediction button {
  font-size: 15px;
  min-height: 44px;
}
.experiment-conclusion :is(h2, h3) {
  font-size: 23px;
  line-height: 1.6;
}
.experiment-conclusion p,
.experiment-conclusion li {
  font-size: 16px;
  line-height: 1.9;
}
.control-field legend {
  font-size: 15px;
}
.segmented button {
  font-size: 14px;
  min-height: 44px;
}
.quality-trends strong {
  font-size: 16px;
  line-height: 1.75;
}
.quality-trends span,
.quality-trends small {
  font-size: 13px;
  line-height: 1.8;
}
.quality-trends small {
  display: block;
  margin-top: 6px;
}
.product-name {
  font-size: 18px;
}
.product-category,
.product-name small {
  font-size: 12px;
}
.ingredient-chips button {
  font-size: 14px;
}
.package-reveal b {
  font-size: 22px;
}
.package-reveal p {
  font-size: 15px;
}
.package-reveal small {
  font-size: 13px;
}
.quiz-panel h1 {
  font-size: 30px;
  line-height: 1.6;
}
.answer-options button {
  font-size: 16px;
  line-height: 1.8;
  min-height: 56px;
}
.answer-feedback p {
  font-size: 16px;
  line-height: 1.85;
}
.challenge-intro p,
.level-card > p,
.decision-panel > p,
.decision-panel .answer-feedback p {
  font-size: 16px;
}
.level-card h3 {
  font-size: 25px;
}
.level-stats {
  font-size: 14px;
}
.level-top {
  font-size: 13px;
}
.report-card h2 {
  font-size: 29px;
  line-height: 1.65;
}
.report-score p,
.insight p,
.takeaway p {
  font-size: 16px;
  line-height: 1.85;
}
.name-field {
  font-size: 14px;
}
.name-field input {
  font-size: 16px;
}
.report-bars,
.badge-row small,
.atlas-reading-record {
  font-size: 13px;
}
.knowledge-journal h2 {
  font-size: 26px;
}
.journal-entry h3 {
  font-size: 19px;
}
.journal-entry p {
  font-size: 15px;
  line-height: 1.85;
}
.sources-list article p:not(.eyebrow),
.work-notes p,
.source-access-guide p {
  font-size: 16px;
  line-height: 1.9;
}
.sources-list h2 {
  font-size: 23px;
  line-height: 1.5;
}
.source-link,
.mirror-link,
.mirror-link small {
  font-size: 13px;
}
.atlas-reference-list h3 {
  font-size: 18px;
}
.atlas-reference-list p {
  font-size: 14px;
  line-height: 1.9;
}
.source-access-note,
.source-access-guide p {
  overflow-wrap: anywhere;
}
.footer {
  font-size: 13px;
  color: #52664e;
}
.footer span,
.footer a {
  font-size: 13px;
}
.diagram-tools {
  display: flex;
  justify-content: flex-end;
  margin: 10px 0;
}
.diagram-zoom {
  font: inherit;
  font-size: 13px;
  min-height: 40px;
  background: transparent;
  border: 1px solid #9fb49c;
  color: #365b3e;
  padding: 7px 12px;
  border-radius: 4px;
}
.atlas-core .diagram-zoom {
  color: #edf2e3;
  border-color: #8ca894;
}
.diagram-equation {
  font-size: 16px !important;
  line-height: 1.8;
  color: #315b48;
  padding: 12px 0;
  overflow-wrap: anywhere;
}
.reader-dialog {
  width: min(940px, calc(100vw - 24px));
  max-height: 90dvh;
  padding: 20px;
  border: 1px solid #9eb09b;
  border-radius: 8px;
  color: #183b35;
  background: #f7f6ef;
}
.reader-dialog::backdrop {
  background: #102e2acc;
}
.reader-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.reader-dialog h2 {
  font-size: 23px;
}
.reader-dialog p {
  font-size: 14px;
  color: #52664e;
  margin: 10px 0;
}
.reader-viewport {
  overflow: auto;
  max-height: 65dvh;
  padding: 16px;
  background: #eef0e4;
  border-radius: 5px;
}
.reader-viewport > svg,
.reader-viewport > img {
  display: block;
  width: 760px;
  max-width: none;
  height: auto;
  margin: auto;
}
.reader-viewport.dark {
  background: #1e4237;
}
.reader-viewport.dark > img {
  background: #1e4237;
}
.reader-viewport.dark > svg {
  color: #edf2e3;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .hero {
    grid-template-columns: 1.2fr 1fr;
  }
  .hero h1 {
    font-size: 36px !important;
  }
  .hero-description {
    font-size: 16px !important;
  }
  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-actions {
    gap: 12px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .topbar {
    height: 52px;
    padding-inline: 18px;
  }
  .breadcrumb,
  .breadcrumb #page-label,
  .motion-toggle {
    font-size: 12px;
  }
  #main {
    padding-inline: 18px;
  }
  .sidebar nav a {
    font-size: 12px;
    padding: 8px 2px;
    line-height: 1.5;
  }
  .sidebar nav a span:nth-child(2) {
    max-width: none;
  }
  .sidebar .brand {
    font-size: 22px;
  }
  .sidebar .brand small {
    font-size: 12px;
  }
  .page-heading {
    padding-top: 24px;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading p {
    font-size: 16px;
  }
  .page-heading > .text-link {
    font-size: 13px;
  }
  .hero {
    padding: 24px 0;
    margin-top: 12px;
    gap: 12px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 36px !important;
    line-height: 1.4;
  }
  .hero-description {
    font-size: 16px !important;
    line-height: 1.9;
  }
  .hero-pretitle {
    font-size: 13px;
  }
  .hero .eyebrow {
    font-size: 13px;
  }
  .hero-actions {
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-art {
    max-height: 230px;
  }
  .hero-art > img {
    max-height: 230px;
  }
  .hero-meta {
    font-size: 13px !important;
    gap: 12px;
  }
  .mission-banner h2 {
    font-size: 20px;
  }
  .mission-banner p {
    font-size: 15px !important;
  }
  .quest-intro {
    padding: 18px;
    gap: 15px;
  }
  .quest-intro h2 {
    font-size: 23px;
  }
  .quest-intro p {
    font-size: 15px;
  }
  .quest-mini-island {
    display: none;
  }
  .quest-intro {
    grid-template-columns: 1fr;
  }
  .quest-intro > .button {
    grid-column: 1;
    justify-self: start;
  }
  .journey-card h3 {
    font-size: 19px !important;
  }
  .journey-card p {
    font-size: 15px !important;
    min-height: 0;
  }
  .journey-card {
    padding: 18px 14px;
  }
  .journey-card-bottom {
    font-size: 13px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .atlas-cover {
    padding-top: 24px;
    gap: 18px;
  }
  .atlas-cover-copy h2 {
    font-size: 26px;
  }
  .atlas-cover-copy p {
    font-size: 16px;
  }
  .cover-foods b {
    font-size: 13px;
  }
  .atlas-cover-foot {
    font-size: 13px;
  }
  .atlas-heading h1 {
    font-size: 30px;
    line-height: 1.5;
  }
  .atlas-heading h1 span {
    display: block;
  }
  .atlas-heading h1 span + span:before {
    content: '';
  }
  .atlas-heading > p {
    font-size: 16px;
  }
  .atlas-intro-note {
    font-size: 14px;
  }
  .atlas-case-heading > h2 {
    font-size: 26px;
    line-height: 1.55;
  }
  .case-life {
    gap: 12px;
  }
  .case-life .case-question {
    font-size: 17px;
  }
  .case-life p {
    font-size: 16px;
  }
  .case-life h3 {
    font-size: 14px;
  }
  .atlas-core {
    padding: 20px 16px;
  }
  .atlas-core > h3 {
    font-size: 22px;
    line-height: 1.6;
  }
  .atlas-core .core-prose p {
    font-size: 16px;
    line-height: 1.9;
  }
  .atlas-deep-reading > summary {
    font-size: 14px;
    line-height: 1.8;
  }
  .atlas-core .atlas-animation-head h4 {
    font-size: 19px;
  }
  .atlas-animation-head {
    gap: 8px;
    flex-wrap: wrap;
  }
  .atlas-core .atlas-button {
    font-size: 14px;
    min-height: 44px;
    padding: 9px 10px;
  }
  .atlas-phase-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .atlas-phase-tabs .atlas-button {
    font-size: 14px;
    min-height: 64px;
    padding: 10px;
  }
  .atlas-phase-tabs .atlas-button b {
    display: inline;
    margin-right: 6px;
  }
  .atlas-stage-explanation {
    min-height: 0;
    padding: 16px 0;
  }
  .atlas-stage-explanation p {
    font-size: 16px;
  }
  .atlas-legend {
    gap: 7px 12px;
  }
  .atlas-playback {
    gap: 8px;
  }
  .atlas-core .atlas-playback label {
    font-size: 14px !important;
  }
  .case-application h3 {
    font-size: 23px;
  }
  .case-application p,
  .case-application aside p {
    font-size: 16px;
  }
  .case-application aside h3 {
    font-size: 18px;
  }
  .atlas-connections p,
  .exhibit-reading p {
    font-size: 16px;
  }
  .comparison-fold > summary {
    font-size: 15px;
    line-height: 1.8;
  }
  .comparison-heading h2 {
    font-size: 25px;
  }
  .comparison-mechanism {
    gap: 12px;
  }
  .comparison-mechanism dd {
    font-size: 15px;
  }
  .lab-tabs {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scrollbar-width: thin;
  }
  .lab-tabs button {
    flex: 0 0 auto;
    min-width: 72px;
    font-size: 14px;
    padding: 10px 4px;
  }
  .lab-tabs button small {
    font-size: 12px;
  }
  .molecule-title h2 {
    font-size: 26px;
  }
  .molecule-formula {
    font-size: 24px;
  }
  .molecule-footer {
    font-size: 13px;
  }
  .knowledge-grid h2 {
    font-size: 24px;
  }
  .knowledge-grid .knowledge-title {
    font-size: 19px;
  }
  .knowledge-grid p {
    font-size: 16px !important;
  }
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .process-steps button {
    font-size: 14px;
    line-height: 1.7;
    min-height: 52px;
  }
  .process-player {
    gap: 8px;
    flex-wrap: wrap;
  }
  .process-player button,
  .compact-process .process-player button {
    font-size: 14px;
    padding: 8px 10px;
  }
  .experiment-tabs > button {
    font-size: 14px;
    line-height: 1.8;
    padding: 12px 8px;
  }
  .experiment-conclusion :is(h2, h3) {
    font-size: 22px;
  }
  .experiment-conclusion p {
    font-size: 16px;
  }
  .treatment-list {
    gap: 9px;
  }
  .answer-options button {
    font-size: 16px;
  }
  .quiz-panel h1 {
    font-size: 26px;
  }
  .quiz-panel {
    padding: 22px 18px;
  }
  .level-card h3 {
    font-size: 23px;
  }
  .challenge-intro p,
  .level-card > p {
    font-size: 16px;
  }
  .report-card h2 {
    font-size: 25px;
  }
  .report-score p {
    font-size: 15px;
  }
  .insight p,
  .takeaway p {
    font-size: 16px;
  }
  .report-card {
    padding: 22px 18px;
  }
  .report-actions {
    flex-wrap: wrap;
  }
  .sources-list h2 {
    font-size: 21px;
  }
  .sources-list article p:not(.eyebrow),
  .work-notes p {
    font-size: 16px;
  }
  .source-link,
  .mirror-link,
  .mirror-link small {
    font-size: 13px;
  }
  .atlas-reference-list p {
    font-size: 14px;
  }
  .footer {
    padding-inline: 18px;
  }
  .footer,
  .footer span,
  .footer a {
    font-size: 13px;
  }
  .reader-dialog {
    padding: 16px;
  }
  .reader-dialog h2 {
    font-size: 21px;
  }
}
@media (max-width: 360px) {
  #main {
    padding-inline: 14px;
  }
  .sidebar nav a {
    font-size: 11px;
  }
  .sidebar nav a span:nth-child(2) {
    max-width: none;
  }
  .hero h1 {
    font-size: 32px !important;
  }
  .hero-art {
    max-height: 195px;
  }
  .hero-art > img {
    max-height: 195px;
  }
  .hero-meta {
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .journey-grid {
    grid-template-columns: 1fr;
  }
  .journey-card {
    padding: 18px;
  }
  .atlas-core > h3 {
    font-size: 21px;
  }
  .atlas-core .atlas-button {
    font-size: 13px;
  }
  .comparison-mechanism {
    grid-template-columns: 1fr;
  }
  .knowledge-grid p {
    font-size: 16px !important;
  }
}

.plain-glossary {
  border: 1px solid #ccd6c7;
  border-radius: 5px;
  padding: 12px 16px;
  margin: 0 0 22px;
  color: #36513e;
  background: #eef0e4;
}
.plain-glossary summary {
  font-size: 14px;
  cursor: pointer;
  line-height: 1.8;
}
.plain-glossary dl {
  margin: 14px 0 0;
}
.plain-glossary dt {
  font-size: 15px;
  font-weight: 650;
  margin-top: 12px;
}
.plain-glossary dd {
  font-size: 15px;
  line-height: 1.85;
  margin: 4px 0 0;
}
.source-bibliography {
  overflow-wrap: anywhere;
  font-size: 14px !important;
  color: #3b5746;
  line-height: 1.85 !important;
}
.source-bibliography small {
  display: block;
  font-size: 12px;
}

/* Visual review: avoid narrow mobile hero columns and place glossary with the heading. */
.page-heading .plain-glossary {
  margin-top: 16px;
  margin-bottom: 0;
  max-width: 720px;
}
.hero-copy {
  min-width: 0;
}
.hero-actions .button {
  white-space: nowrap;
}
@media (max-width: 760px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-copy {
    width: 100%;
    max-width: none;
  }
  .hero h1 {
    max-width: none;
  }
  .hero-description {
    max-width: none;
  }
  .hero-art {
    width: 100%;
    height: 210px;
    align-self: center;
    flex: none;
    margin: 0;
  }
  .hero-art > img {
    height: 210px;
    width: 100%;
    object-fit: contain;
  }
  .hero-actions .button {
    padding: 12px 18px;
    font-size: 15px;
  }
  .hero-meta {
    flex-wrap: wrap;
  }
  .page-heading .plain-glossary {
    max-width: 100%;
  }
}
@media (max-width: 360px) {
  .hero-art,
  .hero-art > img {
    height: 180px;
  }
  .hero-actions .button {
    font-size: 14px;
  }
  .hero-pretitle {
    font-size: 13px;
  }
}

/* Contrast audit: replace low-contrast legacy labels without changing the palette. */
.hero .hero-secondary,
.hero .hero-secondary span,
.home-principle .principle-label,
.home-principle p,
.home-principle a,
.footer a,
.breadcrumb .crumb-line {
  color: #52664e;
}
.journey-number,
.level-illustration > span {
  color: #637950 !important;
}
.section-no,
.product-category,
.mission-card-head > span,
.package-reveal small,
.package-reveal b,
.package-reveal span,
.ingredient-list-header small,
.ingredient-panel .list-comma,
.ingredient-list small,
.ingredient-motion summary > span,
.detective-note b,
.next-stop > span,
.source-id,
.sources-list .source-link,
.sources-list .mirror-link small,
.work-notes p.muted,
.journal-empty,
.report-stamp,
.text-link.reset-record {
  color: #486143 !important;
}
.ingredient-chip.chosen,
.ingredient-chip.chosen span {
  color: #315538 !important;
}
.ingredient-chip > span {
  font-size: 12px;
}
.science-process .process-player button:not(:disabled),
.science-process .process-player button:not(:disabled) span {
  color: #3a5a3e;
}
.atlas-directory button small,
.atlas-directory button i {
  font-size: 13px;
  color: #486143;
}
.comparison-figures figcaption span {
  color: #486143;
}
.molecule-title .pill,
.knowledge-journal .pill {
  font-size: 12px !important;
  color: #486143;
}
.process-steps span,
.process-steps span.current {
  font-size: 13px;
  color: #486143;
}
.process-steps i {
  font-size: 12px;
  color: #365139;
}
.apple-lane b,
.apple-lane span,
.apple-lane i,
.apple-lane em,
.specimen-tag.treated,
.apple-studio .scene-header span {
  font-size: 13px;
  color: #486143 !important;
}
.apple-studio .scene-header {
  gap: 10px;
  flex-wrap: wrap;
}
.conclusion-number {
  color: #637950;
}
.report-card h2 > span {
  color: #315b48;
}
.badge-row .earned-badge {
  opacity: 1;
}
.badge-row .earned-badge span,
.badge-row .earned-badge small {
  color: #52664e;
  font-size: 13px;
}
.badge-row .earned-badge.earned span {
  color: #315b48;
}
.journal-empty {
  font-size: 14px;
}
.sidebar nav a {
  transition: none;
}
.sidebar nav a.active,
.sidebar nav a.active span,
.sidebar nav a.active small {
  color: #163d31 !important;
  background-color: transparent;
}
.sidebar nav a.active {
  background-color: #d3dfc5;
}
.sidebar nav a:not(.active),
.sidebar nav a:not(.active) span,
.sidebar nav a:not(.active) small {
  color: #cfddd2 !important;
}
.molecule-footer,
.product-name small,
.mission-card-head > span,
.panel-kicker small,
.ingredient-motion summary > span {
  font-size: 13px;
}

.ingredient-panel small,
.molecule-panel .pill {
  color: #486143 !important;
}
.lab-tabs button > span {
  color: #486143;
}
.process-steps .current i {
  background: #315b48;
  color: #fff;
}

.product .explored-dot {
  color: #315538;
}
.text-link:hover,
.mobile-back:hover {
  color: #855b23;
}
.decision-scene h2 span,
.decision-scene .balance-symbol,
.case-switch button,
.case-switch button.active {
  color: #486143;
}
.answer-options button > span {
  color: #486143;
}
.quiz-top strong {
  color: #315538;
}
.quiz-progress > span {
  color: #486143;
  background: #eef0e4;
}
.quiz-progress > span.current {
  color: #fff;
  background: #315b48;
}
.quiz-progress > span.complete {
  color: #315538;
  background: #d9e7c7;
}
.answer-feedback.wrong b {
  color: #853c2b;
}
.answer-feedback.correct b {
  color: #315538;
}
.report-insights > p,
.journal-entry small,
.journal-entry > span {
  color: #486143;
}
.journal-entry h3 {
  color: #315538;
}

.journal-entry > span:last-child {
  color: #486143 !important;
}

.diagram-atom.oxygen text {
  fill: #422e25;
}
.diagram-atom.hydrogen text {
  fill: #4e3c18;
}
.diagram-atom.dissociated text {
  fill: #514e32;
}
.diagram-atom.undissociated text {
  fill: #25402c;
}
.science-stage .diagram-small {
  fill: #52664e;
}
.molecule-panel > .diagram-tools {
  justify-content: center;
}
