/* Forma is an opt-in layer. Classic's existing layout and behaviour stay intact. */
html[data-zoo-theme="forma"] body[data-wiki-page] {
  --bg: #fdfdfb;
  --panel: #fdfdfb;
  --card: #f6f2f5;
  --text: #2d252b;
  --muted: #766672;
  --accent: #67475e;
  --accent-ink: #ffffff;
  --line: #e4dce2;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", "Manrope", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  padding: 0 5.5% 95px;
  overflow-x: clip;
}
html[data-zoo-theme="forma"] [data-wiki-page] button,
html[data-zoo-theme="forma"] [data-wiki-page] input,
html[data-zoo-theme="forma"] [data-wiki-page] textarea,
html[data-zoo-theme="forma"] [data-wiki-page] select { font: inherit; }
html[data-zoo-theme="forma"] [data-wiki-page] button,
html[data-zoo-theme="forma"] [data-wiki-page] a,
html[data-zoo-theme="forma"] [data-wiki-page] summary { touch-action: manipulation; }
html[data-zoo-theme="forma"] [data-wiki-page] a { color: #73516b; text-underline-offset: 4px; }
html[data-zoo-theme="forma"] [data-wiki-page] button { cursor: pointer; }
html[data-zoo-theme="forma"] [data-wiki-page] :is(a, button, input, textarea, summary, select):focus-visible { outline: 2px solid #957b8d; outline-offset: 4px; }
html[data-zoo-theme="forma"] [data-wiki-page] [hidden] { display: none !important; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-classic-only,
html[data-zoo-theme="forma"] [data-wiki-page] .topbar .nav-inline,
html[data-zoo-theme="forma"] [data-wiki-page] .topbar .nav-mobile,
html[data-zoo-theme="forma"] [data-wiki-page] .toggle-theme,
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-original-gallery { display: none; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-forma-only { display: block; }
html[data-zoo-theme="forma"] [data-wiki-page] .shell { width: min(100%, 1280px); gap: 0; }
html[data-zoo-theme="forma"] [data-wiki-page] .topbar { gap: 0; }
html[data-zoo-theme="forma"] [data-wiki-page] .topbar-main { min-height: 98px; border-bottom: 1px solid var(--line); gap: 35px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-wordmark { display: inline-flex; align-items: baseline; font-size: 29px; font-weight: 750; line-height: 1; letter-spacing: -1.3px; color: #2d252b; text-decoration: none; white-space: nowrap; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-wordmark span { font-weight: 400; margin-left: 2px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-wordmark i { width: 7px; height: 7px; border-radius: 50%; background: #79566d; margin-left: 5px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-header-nav { display: flex; gap: 36px; align-items: center; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-header-nav a { color: #81737c; text-decoration: none; font-size: 14px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-header-nav a[aria-current] { color: #2d252b; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-header-note { color: #806b7a; font-size: 13px; text-decoration: none; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-header-note span { margin-left: 10px; }
html[data-zoo-theme="forma"] [data-wiki-page] .hero { padding: 56px 0 42px; border: 0; border-radius: 0; background: transparent; gap: 16px; }
html[data-zoo-theme="forma"] [data-wiki-page] .hero h1 { font-size: clamp(40px, 4.7vw, 66px); line-height: 1.14; letter-spacing: -2.7px; font-weight: 500; max-width: 1000px; text-wrap: balance; }
html[data-zoo-theme="forma"] [data-wiki-page] .hero .wiki-eyebrow { font-size: 11px; letter-spacing: 1.7px; font-weight: 500; color: #8c7887; margin: 0 0 4px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-hero-description { font-size: 16px; line-height: 1.85; max-width: 830px; color: #80717b; }
html[data-zoo-theme="forma"] [data-wiki-page] .hero-meta { color: #806e7b; font-size: 13px; }
html[data-zoo-theme="forma"] [data-wiki-page] .hero > .hero-actions { gap: 25px; padding-top: 4px; }
html[data-zoo-theme="forma"] [data-wiki-page] .hero > .hero-actions a { background: transparent; color: #79586f; box-shadow: none; padding: 3px 0; border: 0; border-bottom: 1px solid #cbbcc6; border-radius: 0; font-size: 13px; font-weight: 400; }
html[data-zoo-theme="forma"] [data-wiki-page="intro"] .hero { grid-template-columns: 1fr 390px; align-items: center; column-gap: 45px; padding-bottom: 44px; }
html[data-zoo-theme="forma"] [data-wiki-page="intro"] .hero .wiki-eyebrow { grid-column: 1 / -1; margin-bottom: 8px; }
html[data-zoo-theme="forma"] [data-wiki-page="intro"] .hero h1 { font-size: 72px; letter-spacing: -3.5px; }
html[data-zoo-theme="forma"] [data-wiki-page="intro"] .wiki-hero-description { font-size: 15px; max-width: 350px; justify-self: end; }
html[data-zoo-theme="forma"] [data-wiki-page="intro"] .hero > .hero-actions { display: none; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection { padding: 0 0 58px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 30px; border-bottom: 1px solid #ddd5db; padding-bottom: 18px; margin-bottom: 30px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-toolbar nav { display: flex; gap: 38px; align-items: center; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-toolbar nav a { font-size: 14px; color: #8c7786; text-decoration: none; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-toolbar nav a[aria-current] { color: #2f262d; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-toolbar nav a > span { font-size: 11px; margin-left: 6px; background: #eee8ed; border-radius: 15px; padding: 4px 7px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-search { display: flex; align-items: center; gap: 11px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-search > span:first-child { font-size: 24px; line-height: 1; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-search input { width: 185px; background: transparent; border: 0; color: #5e4256; font-size: 15px; min-width: 0; padding: 6px 0; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-search input::placeholder { color: #8a7482; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 33px 28px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-card { background: transparent; border: 0; padding: 0; color: var(--text); text-align: left; min-width: 0; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-image { display: flex; align-items: center; justify-content: center; background: #eeebe6; aspect-ratio: 1.15; position: relative; overflow: hidden; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-image img { width: 100%; height: 100%; object-fit: cover; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-image.is-cutout img { width: 88%; height: 88%; object-fit: contain; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-image.is-icon img { width: 54%; height: 54%; object-fit: contain; image-rendering: pixelated; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-fallback { font-size: 60px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-index { position: absolute; top: 16px; left: 17px; font-size: 11px; padding: 3px 7px; background: #fffffff0; color: #796171; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; font-size: 17px; font-weight: 500; letter-spacing: -.3px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-name > span { color: #9c8493; font-size: 17px; font-weight: 400; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-caption { display: block; color: #8c7684; font-size: 12px; margin-top: 4px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-bottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 30px; color: #8c7483; font-size: 13px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-bottom button { display: flex; align-items: center; gap: 23px; border: 0; background: transparent; color: #77516b; padding: 8px 0; font-size: 14px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-empty { color: #7c6272; padding: 30px 0; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-note { border: 1px solid #e0d3dc; border-radius: 4px; background: #f5eff3; padding: 27px 30px; margin-top: 25px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-note h3 { font-size: 25px; line-height: 1.3; font-weight: 500; letter-spacing: -.7px; margin: 0 0 13px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-note p { color: #786170; margin: 0; font-size: 15px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-note > div { display: flex; gap: 25px; flex-wrap: wrap; margin-top: 20px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-note a { font-size: 14px; text-decoration: none; border-bottom: 1px solid #b69bad; padding-bottom: 3px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-description { margin: 20px 0 0; color: #8c7b86; font-size: 13px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-reading-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 62px; padding: 35px 0 20px; border-top: 1px solid var(--line); align-items: start; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-doc-content { display: block; min-width: 0; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-doc-content h2[id] { scroll-margin-top: 30px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-sidebar { position: sticky; top: 25px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 15px; scrollbar-width: thin; scrollbar-color: #d4c6d0 transparent; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-sidebar details { border: 0; padding: 0; margin: 0 0 27px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-sidebar summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: #68505f; cursor: pointer; padding: 2px 0 15px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-sidebar summary::-webkit-details-marker { display: none; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-sidebar summary > span { color: #af92a4; font-size: 20px; font-weight: 300; line-height: 1; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-sidebar details[open] > summary > span { transform: rotate(45deg); }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-guide-search { display: block; margin-bottom: 14px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-guide-search input { width: 100%; min-width: 0; border: 1px solid #e4dbe2; border-radius: 3px; background: #faf7f9; padding: 9px 10px; font-size: 13px; color: #715568; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-guide-links { display: grid; gap: 2px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-guide-link { display: block; text-decoration: none; padding: 6px 10px; margin-left: -10px; color: #89727f; border-radius: 3px; font-size: 14px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-guide-link:hover { background: #f3edf1; color: #513347; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-guide-link.is-current { background: #ede5eb; color: #5f3d54; font-weight: 500; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-guide-empty { font-size: 13px; color: #8c7382; margin: 10px 0; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-page-menu { border-top: 1px solid #e4d9e0 !important; padding-top: 22px !important; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-page-links { display: grid; gap: 10px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-page-links a { display: block; font-size: 12px; color: #8f7885; text-decoration: none; line-height: 1.6; padding-left: 12px; border-left: 1px solid #e0d3dc; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-page-links a:hover { color: #634158; border-color: #937087; }
html[data-zoo-theme="forma"] [data-wiki-page] .section { gap: 30px; }
html[data-zoo-theme="forma"] [data-wiki-page] .panel { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0 35px; background: transparent; min-width: 0; }
html[data-zoo-theme="forma"] [data-wiki-page] .panel h2 { display: block; font-size: 30px; line-height: 1.3; letter-spacing: -.9px; font-weight: 500; margin: 0 0 18px; }
html[data-zoo-theme="forma"] [data-wiki-page] .panel p { font-size: 15px; line-height: 1.9; color: #7d6977; margin: 0 0 17px; }
html[data-zoo-theme="forma"] [data-wiki-page] .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
html[data-zoo-theme="forma"] [data-wiki-page] .card { border: 1px solid #e9e0e6; border-radius: 4px; padding: 22px; background: #faf7f9; gap: 13px; min-width: 0; }
html[data-zoo-theme="forma"] [data-wiki-page] .card h3 { font-size: 20px; letter-spacing: -.4px; line-height: 1.4; font-weight: 500; }
html[data-zoo-theme="forma"] [data-wiki-page] .card p { font-size: 14px; line-height: 1.85; margin: 0; }
html[data-zoo-theme="forma"] [data-wiki-page] .tag { font-size: 11px; letter-spacing: .3px; background: #ede5eb; color: #8a637b; border-radius: 3px; width: fit-content; padding: 4px 8px; }
html[data-zoo-theme="forma"] [data-wiki-page] .tag.hidden { background: #e9dfe6; color: #724760; }
html[data-zoo-theme="forma"] [data-wiki-page] .btn,
html[data-zoo-theme="forma"] [data-wiki-page] .ghost { font-size: 14px; font-weight: 500; border-radius: 3px; padding: 10px 16px; text-decoration: none; box-shadow: none; min-height: 42px; transition: none; justify-content: center; width: fit-content; }
html[data-zoo-theme="forma"] [data-wiki-page] .btn { background: #65445a; color: #fff; border: 1px solid #65445a; }
html[data-zoo-theme="forma"] [data-wiki-page] .btn:hover { background: #503346; }
html[data-zoo-theme="forma"] [data-wiki-page] .ghost { background: transparent; color: #74516a; border-color: #dacbd5; }
html[data-zoo-theme="forma"] [data-wiki-page="intro"] .card { background: transparent; border: 0; border-bottom: 1px solid #e6dce3; border-radius: 0; padding: 10px 0 24px; }
html[data-zoo-theme="forma"] [data-wiki-page="intro"] .card .ghost { padding: 4px 0; border: 0; border-bottom: 1px solid #c2aebe; border-radius: 0; min-height: 32px; font-size: 13px; }
html[data-zoo-theme="forma"] [data-wiki-page] .note-box,
html[data-zoo-theme="forma"] [data-wiki-page] .callout { background: #f2eaf0; color: #755569; border: 0; border-left: 2px solid #b194a7; border-radius: 0 3px 3px 0; padding: 19px 22px; font-size: 14px; line-height: 1.8; margin: 20px 0 0; }
html[data-zoo-theme="forma"] [data-wiki-page] .list { font-size: 15px; color: #7b6875; line-height: 1.9; padding-left: 21px; }
html[data-zoo-theme="forma"] [data-wiki-page] .list li { margin-bottom: 10px; }
html[data-zoo-theme="forma"] [data-wiki-page] code { font-size: .88em; padding: 3px 6px; border-radius: 3px; color: #774c66; background: #eee5eb; overflow-wrap: anywhere; }
html[data-zoo-theme="forma"] [data-wiki-page] .timeline { gap: 18px; }
html[data-zoo-theme="forma"] [data-wiki-page] .timeline-step,
html[data-zoo-theme="forma"] [data-wiki-page] .stat-card { background: #f7f2f5; border: 1px solid #e5dbe2; border-radius: 3px; padding: 20px; font-size: 14px; }
html[data-zoo-theme="forma"] [data-wiki-page] .stat-grid { grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 17px; }
html[data-zoo-theme="forma"] [data-wiki-page] .stats-row { color: #8a7482; font-size: 13px; }
html[data-zoo-theme="forma"] [data-wiki-page] .quote-block { color: #89697e; border-color: #b191a5; }
html[data-zoo-theme="forma"] [data-wiki-page] .filter-bar { border-radius: 4px; padding: 20px; border: 1px solid #e4d9e1; background: #f5f0f3; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; top: 12px; }
html[data-zoo-theme="forma"] [data-wiki-page] .filter-row { gap: 12px; min-width: 0; }
html[data-zoo-theme="forma"] [data-wiki-page] .search { background: #fffdfa; border-color: #dfd2db; border-radius: 3px; min-width: 0; padding: 10px 13px; }
html[data-zoo-theme="forma"] [data-wiki-page] .search input { font-size: 16px; min-width: 0; color: #644759; }
html[data-zoo-theme="forma"] [data-wiki-page] .chip,
html[data-zoo-theme="forma"] [data-wiki-page] .toggle { border-radius: 3px; border: 1px solid #dfd3dc; background: #fffcfe; color: #8b697f; padding: 8px 12px; font-size: 13px; transition: none; }
html[data-zoo-theme="forma"] [data-wiki-page] .chip.active,
html[data-zoo-theme="forma"] [data-wiki-page] .toggle.active { background: #69445d; border-color: #69445d; color: #fff; }
html[data-zoo-theme="forma"] [data-wiki-page] .results { color: #907284; font-size: 13px; }
html[data-zoo-theme="forma"] [data-wiki-page] .ach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
html[data-zoo-theme="forma"] [data-wiki-page] .ach-card { background: #faf6f8; border-color: #e6dce3; border-radius: 4px; padding: 22px; transition: none; }
html[data-zoo-theme="forma"] [data-wiki-page] .ach-card:hover { transform: none; border-color: #b69bac; }
html[data-zoo-theme="forma"] [data-wiki-page] .ach-meta { color: #997e8e; font-size: 12px; }
html[data-zoo-theme="forma"] [data-wiki-page] .ach-how,
html[data-zoo-theme="forma"] [data-wiki-page] .ach-tip,
html[data-zoo-theme="forma"] [data-wiki-page] .ach-desc { font-size: 14px; line-height: 1.85; }
html[data-zoo-theme="forma"] [data-wiki-page] .media-grid { grid-template-columns: repeat(auto-fit, minmax(min(185px, 100%), 1fr)); gap: 23px; margin: 24px 0; }
html[data-zoo-theme="forma"] [data-wiki-page] .media-card { padding: 0; border: 0; background: transparent; border-radius: 0; gap: 9px; }
html[data-zoo-theme="forma"] [data-wiki-page] .media-card img,
html[data-zoo-theme="forma"] [data-wiki-page] .media-fallback { border: 0; border-radius: 3px; background: #eee8ec; height: 175px; object-fit: contain; }
html[data-zoo-theme="forma"] [data-wiki-page] .media-title { font-size: 16px; font-weight: 500; }
html[data-zoo-theme="forma"] [data-wiki-page] .media-note { font-size: 13px; line-height: 1.75; }
html[data-zoo-theme="forma"] [data-wiki-page] .icon-row { gap: 12px; margin-top: 22px; }
html[data-zoo-theme="forma"] [data-wiki-page] .icon-chip { border-radius: 3px; background: #f3edf1; border: 1px solid #e8dde4; font-size: 12px; color: #8c6e80; font-weight: 400; padding: 8px 11px; }
html[data-zoo-theme="forma"] [data-wiki-page] .field textarea { background: #fffdfa; border-color: #d9c8d4; color: #553b4c; border-radius: 4px; padding: 14px; }
html[data-zoo-theme="forma"] [data-wiki-page] .field input[type="checkbox"] { accent-color: #6b475e; }
html[data-zoo-theme="forma"] [data-wiki-page] .form .btn { border: 0; }
html[data-zoo-theme="forma"] [data-wiki-page] table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; overscroll-behavior-x: contain; }
html[data-zoo-theme="forma"] [data-wiki-page] th,
html[data-zoo-theme="forma"] [data-wiki-page] td { padding: 12px; text-align: left; border-bottom: 1px solid #e8dee5; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-quick-links { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 0; margin-top: 24px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-quick-links h2 { font-size: 21px; margin-bottom: 20px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-quick-links .ghost { font-size: 13px; min-height: 37px; padding: 8px 12px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-footer { border-top: 1px solid var(--line); padding: 27px 0 0; gap: 26px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-footer .ghost { border: 0; font-weight: 400; font-size: 12px; padding: 0; color: #967b8b; background: transparent; min-height: 30px; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-visually-hidden { position: absolute; height: 1px; width: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 12px 20px; background: #624258; color: white; border-radius: 4px; text-decoration: none; }
html[data-zoo-theme="forma"] [data-wiki-page] .wiki-skip-link:focus { top: 15px; }
@media (max-width: 1100px) {
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-reading-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 38px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .hero h1 { font-size: 52px; }
  html[data-zoo-theme="forma"] [data-wiki-page="intro"] .hero { grid-template-columns: 1fr 310px; }
  html[data-zoo-theme="forma"] [data-wiki-page="intro"] .hero h1 { font-size: 62px; }
}
@media (max-width: 960px) {
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-reading-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 25px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-sidebar { position: static; max-height: none; overflow: visible; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 0; border-bottom: 1px solid var(--line); }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-sidebar details { margin-bottom: 20px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-page-menu { border: 0 !important; padding: 0 !important; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-sidebar summary { padding: 4px 0; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-guide-search { margin-top: 18px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-page-links { margin-top: 18px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-toolbar { flex-wrap: wrap; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-toolbar nav { gap: 28px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-grid { gap: 28px 20px; }
}
@media (max-width: 720px) {
  html[data-zoo-theme="forma"] body[data-wiki-page] { padding: 0 6% 95px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .topbar-main { min-height: 83px; gap: 22px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-wordmark { font-size: 26px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-header-nav { gap: 23px; margin-left: auto; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-header-note { display: none; }
  html[data-zoo-theme="forma"] [data-wiki-page] .hero { padding: 40px 0 34px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .hero h1 { font-size: 46px; letter-spacing: -1.8px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .hero .wiki-eyebrow { font-size: 10px; letter-spacing: 1.4px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-hero-description { font-size: 15px; line-height: 1.85; }
  html[data-zoo-theme="forma"] [data-wiki-page="intro"] .hero { display: grid; grid-template-columns: 1fr; gap: 17px; }
  html[data-zoo-theme="forma"] [data-wiki-page="intro"] .hero .wiki-eyebrow { margin-bottom: 1px; }
  html[data-zoo-theme="forma"] [data-wiki-page="intro"] .hero h1 { font-size: 54px; letter-spacing: -2.3px; }
  html[data-zoo-theme="forma"] [data-wiki-page="intro"] .wiki-hero-description { max-width: 340px; justify-self: start; font-size: 14px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-toolbar { gap: 22px; padding-bottom: 19px; margin-bottom: 23px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-toolbar nav { justify-content: space-between; gap: 15px; width: 100%; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-toolbar nav a { font-size: 13px; white-space: nowrap; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-toolbar nav a > span { margin-left: 4px; padding: 3px 6px; font-size: 10px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-search { background: #f0eaee; padding: 9px 13px; border-radius: 3px; width: 100%; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-search input { width: 100%; font-size: 16px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-image { aspect-ratio: .95; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-index { top: 10px; left: 10px; font-size: 9px; padding: 2px 6px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-name { font-size: 15px; gap: 7px; margin-top: 13px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-name > span { font-size: 14px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-caption { font-size: 11px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection { padding-bottom: 36px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-bottom { font-size: 11px; gap: 15px; align-items: flex-start; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-bottom button { font-size: 12px; gap: 12px; padding: 0; max-width: 155px; text-align: right; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-description { font-size: 12px; margin-top: 22px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-note { padding: 22px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-note > div { gap: 17px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-reading-layout { gap: 25px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-sidebar { grid-template-columns: 1fr; gap: 0; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-sidebar details { margin-bottom: 18px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-sidebar summary { font-size: 14px; min-height: 30px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-guide-search input { font-size: 16px; padding: 11px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-guide-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 17px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-guide-link { font-size: 13px; padding: 8px 10px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-page-links { max-height: 310px; overflow-y: auto; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-page-links a { font-size: 13px; padding: 3px 0 3px 12px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .section { gap: 28px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .panel { padding: 0 0 28px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .panel h2 { font-size: 28px; letter-spacing: -.7px; margin-bottom: 18px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .panel p { font-size: 15px; line-height: 1.9; }
  html[data-zoo-theme="forma"] [data-wiki-page] .grid,
  html[data-zoo-theme="forma"] [data-wiki-page] .ach-grid { grid-template-columns: 1fr; gap: 18px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .card,
  html[data-zoo-theme="forma"] [data-wiki-page] .ach-card { padding: 20px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .card h3 { font-size: 20px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .card p { font-size: 14px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .note-box,
  html[data-zoo-theme="forma"] [data-wiki-page] .callout { padding: 17px 19px; font-size: 14px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .filter-bar { position: static; padding: 17px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .section-head { align-items: flex-start; gap: 15px; flex-wrap: wrap; }
  html[data-zoo-theme="forma"] [data-wiki-page] .list { font-size: 14px; padding-left: 18px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .media-card img,
  html[data-zoo-theme="forma"] [data-wiki-page] .media-fallback { height: 140px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .media-title { font-size: 15px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .media-note { font-size: 12px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-quick-links { padding: 25px 0; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-quick-links h2 { font-size: 23px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-footer { gap: 13px 20px; padding-top: 23px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-footer .ghost { font-size: 11px; }
}
@media (max-width: 350px) {
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-wordmark { font-size: 23px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-header-nav { gap: 17px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-header-nav a { font-size: 13px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .hero h1 { font-size: 39px; }
  html[data-zoo-theme="forma"] [data-wiki-page="intro"] .hero h1 { font-size: 47px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-toolbar nav { gap: 11px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-toolbar nav a { font-size: 11px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-collection-grid { gap: 24px 14px; }
  html[data-zoo-theme="forma"] [data-wiki-page] .wiki-animal-name { font-size: 14px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-zoo-theme="forma"] [data-wiki-page] *,
  html[data-zoo-theme="forma"] [data-wiki-page] *::before,
  html[data-zoo-theme="forma"] [data-wiki-page] *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
