/* Supplied PowerPoint vector: preserve its source drawing and scientific labels.
   The guide follows existing arrow coordinates as a reading aid only. */
body.home-reimagined.a2p-fused-home #biology[data-pathway-ready="true"][data-choice="pathway"] > .home-chapter-inner {
  grid-template-columns: minmax(0,1fr);
  max-width: 1440px;
  gap: 22px;
}
body.home-reimagined.a2p-fused-home #biology[data-pathway-ready="true"][data-choice="pathway"] .home-copy {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 0 clamp(30px,4vw,64px);
  max-width: none;
}
body.home-reimagined #biology[data-pathway-ready="true"][data-choice="pathway"] .home-copy > :is(.home-chapter-label,h2,.home-hint,.home-context,p) { grid-column: 1; }
body.home-reimagined #biology[data-pathway-ready="true"][data-choice="pathway"] .home-copy > .home-chapter-label { grid-row: 1; margin-bottom: 10px; }
body.home-reimagined #biology[data-pathway-ready="true"][data-choice="pathway"] .home-copy > h2 { grid-row: 2; margin-bottom: 13px; }
body.home-reimagined #biology[data-pathway-ready="true"][data-choice="pathway"] .home-copy > .home-hint { grid-row: 3; margin-top: 0; }
body.home-reimagined #biology[data-pathway-ready="true"][data-choice="pathway"] .home-copy > p { grid-row: 4; margin-top: 12px; font-size: 14px; }
body.home-reimagined #biology[data-pathway-ready="true"][data-choice="pathway"] .home-copy > .home-context { grid-row: 5; margin-top: 0; }
body.home-reimagined #biology[data-pathway-ready="true"][data-choice="pathway"] .home-copy > .home-tabset { grid-column: 2; grid-row: 1 / 5; align-self: center; }
body.home-reimagined #biology[data-pathway-ready="true"][data-choice="pathway"] .home-copy > .home-source-open { grid-column: 2; grid-row: 5; justify-self: start; align-self: start; margin: 0; }
body.home-reimagined #biology[data-pathway-ready="true"][data-choice="pathway"] .home-visual { width: 100%; min-width: 0; grid-column: 1; }
.a2p-native-pathway { width: 100%; min-width: 0; margin: 0; color: #f5eee8; }
.a2p-pathway-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.a2p-pathway-modules { display: flex; flex-wrap: wrap; gap: 8px; }
.a2p-native-pathway :is(button,a), .a2p-pathway-dialog button {
  appearance: none; min-height: 44px; border: 1px solid #c8b7d348; border-radius: 5px;
  padding: 10px 14px; color: #e9dce8; background: #15172cba;
  font: 500 14px/1.4 var(--sans,Arial,sans-serif); letter-spacing: 0; cursor: pointer;
  text-decoration: none; touch-action: manipulation;
}
.a2p-native-pathway button:hover,.a2p-pathway-dialog button:hover { border-color: #e8b68e; background: #2b2237; }
.a2p-native-pathway button:disabled { opacity: .42; cursor: default; }
.a2p-native-pathway button[aria-pressed="true"] { color: #ffe0bd; border-color: #f1b780; background: #593c3338; box-shadow: inset 0 -2px #f1b780; }
.a2p-native-pathway :is(button,a):focus-visible,.a2p-pathway-scroll:focus-visible,.a2p-pathway-dialog :is(button,a,div[tabindex]):focus-visible { outline: 2px solid #a3dde9; outline-offset: 4px; }
.a2p-pathway-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.a2p-native-pathway .a2p-pathway-play { color: #e2f7f6; background: #244349a8; border-color: #9bcfd6a8; }
.a2p-native-pathway .a2p-pathway-play[aria-pressed="true"] { color: #ffe5ca; background: #4a353cb0; border-color: #efbd94; }
.a2p-native-pathway .a2p-pathway-open { border-color: #bdcdda80; color: #d3edf2; }
.a2p-pathway-progress { height: 2px; width: 100%; margin: 0 0 13px; overflow: hidden; background: #b3a2ca24; }
.a2p-pathway-progress > span { display: block; width: 0; height: 100%; background: linear-gradient(90deg,#a6d9e3,#f5b687); box-shadow: 0 0 12px #f5b68766; transition: width .24s linear; }
.a2p-pathway-scroll {
  position: relative; width: 100%; overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #dbad92 #1a1932;
  border: 1px solid #bdabce39; border-radius: 7px;
  background: radial-gradient(ellipse at 25% 0%,#44304d42,transparent 65%),#16162ac2;
}
.a2p-pathway-scroll > .ppt-pathway-map { display: block; width: 100%; min-width: 1280px; height: auto; overflow: hidden; }
.a2p-native-pathway .ppt-camera { transform: none; }
.a2p-native-pathway .ppt-module-base { opacity: 1; transition: opacity .24s ease; }
.a2p-native-pathway[data-reading-module] .ppt-module-base { opacity: .74; }
.a2p-native-pathway[data-reading-module="0"] .ppt-module-base[href="#ppt-module-source-0"],
.a2p-native-pathway[data-reading-module="1"] .ppt-module-base[href="#ppt-module-source-1"],
.a2p-native-pathway[data-reading-module="2"] .ppt-module-base[href="#ppt-module-source-2"] { opacity: 1; }
.a2p-native-pathway :is(.ppt-module-lit,.ppt-product-ink,.ppt-inspection-layer) { display: none; pointer-events: none; }
.a2p-native-pathway .ppt-flow-layer { pointer-events: none; }
.a2p-native-pathway .ppt-flow-trace { opacity: 0; }
.a2p-native-pathway .ppt-flow-trace:is(.is-reading,.is-reached) { opacity: 1; }
.a2p-native-pathway :is(.ppt-stream-guide,.ppt-flow-haze,.ppt-flow-tail) { display: none; }
.a2p-native-pathway .ppt-flow-progress { display: none; fill: none; stroke: #ffc88f; stroke-width: 2; stroke-opacity: .72; stroke-linecap: round; stroke-linejoin: round; }
.a2p-native-pathway .is-reached .ppt-flow-progress { display: block; }
.a2p-native-pathway .ppt-flow-head {
  display: none; fill: none; stroke: #fff3d8; stroke-width: 4.2; stroke-linecap: round;
  stroke-dasharray: .13 1.87; stroke-dashoffset: .13; filter: drop-shadow(0 0 2px #ed9f55b3);
}
.a2p-native-pathway .is-reading .ppt-flow-head { display: block; }
.a2p-pathway-particles { opacity: 0; pointer-events: none; }
.a2p-pathway-particle-halo { fill: #ffbb76; fill-opacity: .34; filter: blur(2px); }
.a2p-pathway-particle { fill: #fff6dd; stroke: #ffc587; stroke-width: 1; }
.a2p-native-pathway .ppt-source-shape.a2p-node-reached > rect { stroke: #f8bd85; stroke-opacity: .8; stroke-width: 1.6; fill: #f7b278; fill-opacity: .06; }
.a2p-native-pathway .ppt-source-shape.a2p-node-current > rect { stroke: #ffdbac; stroke-opacity: 1; stroke-width: 2.2; fill: #fac189; fill-opacity: .1; }
.a2p-native-pathway .ppt-source-shape.a2p-node-reached > text > tspan { fill: #ffe1bd !important; fill-opacity: 1 !important; }
.a2p-native-pathway .ppt-source-shape.a2p-node-current > text > tspan { fill: #fff1d7 !important; fill-opacity: 1 !important; }
.a2p-native-pathway .ppt-source-shape.a2p-node-reached > path { stroke: #ffd2a4; stroke-opacity: .95; }
.a2p-pathway-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 12px; color: #c9c5d7; font: 400 14px/1.6 var(--sans,Arial,sans-serif); }
.a2p-pathway-caption p { margin: 0; }
body.home-reimagined #biology .a2p-pathway-caption,
body.home-reimagined #biology .a2p-pathway-caption p { text-transform:none; letter-spacing:0; font:400 14px/1.6 var(--sans,Arial,sans-serif); }
.a2p-pathway-status { color: #efc39f; min-height: 3.2em; }
.a2p-pathway-swipe { color: #b2dbe3; }
body.a2p-pathway-view-open { overflow: hidden; }
dialog.a2p-pathway-dialog {
  position: fixed; inset: 20px; box-sizing: border-box; width: calc(100vw - 40px); max-width: 1680px;
  height: calc(100dvh - 40px); max-height: calc(100dvh - 40px); margin: auto; padding: 20px;
  border: 1px solid #bca9d360; border-radius: 10px; color: #f4ede6;
  background: radial-gradient(ellipse at 30% 0%,#3b2a46,#10162b 70%); box-shadow: 0 22px 100px #050b1ecc;
}
.a2p-pathway-dialog::backdrop { background: #040817df; backdrop-filter: blur(5px); }
.a2p-pathway-dialog[open] { display: flex; flex-direction: column; gap: 12px; }
.a2p-pathway-dialog h2 { margin: 0; font: 600 21px/1.4 var(--sans,Arial,sans-serif); }
.a2p-pathway-dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.a2p-pathway-dialog-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.a2p-pathway-dialog-tools output { min-width: 48px; text-align: center; font: 500 14px/1.4 var(--mono,monospace); color: #e9c39f; }
.a2p-pathway-dialog-tools button:disabled { opacity: .4; cursor: default; }
.a2p-pathway-dialog p { margin: 0; color: #cac7d7; font: 400 14px/1.5 var(--sans,Arial,sans-serif); }
.a2p-pathway-viewer { flex: 1; min-height: 0; width: 100%; overflow: auto; overscroll-behavior: contain; scrollbar-color: #caa98d #191a31; border: 1px solid #b8a6cb3d; border-radius: 5px; background: #19152b; }
.a2p-pathway-viewer img { display: block; width: var(--pathway-zoom-width,100%); min-width: var(--pathway-zoom-min,1280px); max-width: none; height: auto; }
@media (min-width:1400px) {
  .a2p-pathway-scroll > .ppt-pathway-map { min-width:0; }
}
@media (max-width:899px) {
  body.home-reimagined.a2p-fused-home #biology[data-pathway-ready="true"][data-choice="pathway"] .home-copy { display: block; }
  body.home-reimagined #biology[data-pathway-ready="true"][data-choice="pathway"] .home-copy > .home-hint { margin: 14px 0; }
  body.home-reimagined #biology[data-pathway-ready="true"][data-choice="pathway"] .home-copy > .home-context { margin: 12px 0; }
  .a2p-pathway-modules { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; width: 100%; }
  .a2p-pathway-modules button { min-width: 0; padding: 10px 8px; font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
  .a2p-pathway-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; gap: 7px; }
  .a2p-pathway-actions button { min-width: 0; padding-inline: 7px; }
  .a2p-pathway-actions .a2p-pathway-play { grid-column: 1 / -1; }
  .a2p-pathway-actions .a2p-pathway-open { grid-column: 2 / -1; }
  .a2p-pathway-caption { display: block; }
  .a2p-pathway-caption p + p { margin-top: 8px; }
  dialog.a2p-pathway-dialog { inset: 8px; width: calc(100vw - 16px); height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); padding: 12px; }
  .a2p-pathway-dialog h2 { font-size: 17px; }
  .a2p-pathway-dialog-tools button { padding-inline: 11px; }
}
@media (prefers-reduced-motion:reduce) {
  .a2p-native-pathway .ppt-module-base { transition: none; }
  .a2p-pathway-progress > span { transition: none; }
  .a2p-native-pathway .is-reading .ppt-flow-head { stroke-dasharray: none; stroke-dashoffset: 0; filter: none; }
  .a2p-pathway-particles { display: none; }
}
