/* A common field notebook: search desks, reading leaves and numbered records. */
.field-notebook{--notebook-line:#cbd9cf;--notebook-paper:#fffdf7;--notebook-muted:#425b50;--notebook-teal:#08776e}
.field-notebook .notebook-icon{display:block;width:36px;height:36px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.field-notebook .notebook-leaf-icon,.field-notebook .notebook-empty-icon{display:block;color:var(--notebook-teal)}
.field-notebook .notebook-section-number{display:block;font:32px/1.1 Georgia,serif;color:var(--notebook-teal);margin-bottom:14px}
.field-notebook .home-start{display:grid;grid-template-columns:1fr;gap:0;margin-top:20px;border-top:1px solid var(--notebook-line)}
.field-notebook .home-deck{font-size:16px}
.field-notebook .home-start a{display:grid;grid-template-columns:32px minmax(0,1fr) 16px;gap:13px;align-items:center;border-bottom:1px solid var(--notebook-line);padding:14px 0;min-height:64px;text-decoration:none;color:#233e37}
.field-notebook .home-start a strong{font-size:16px;line-height:1.5;display:block}
.field-notebook .home-start a small{font-size:13px;line-height:1.5;color:var(--notebook-muted);display:block;margin-top:3px}
.field-notebook .home-start-icon{color:#08776e}.field-notebook .home-start .notebook-icon{width:28px;height:32px}
.field-notebook .home-start a:hover strong{color:#08776e}
.field-notebook .library-route-index{display:flex;gap:16px 30px;flex-wrap:wrap;align-items:center;padding:10px 0;border-bottom:1px solid var(--notebook-line)}
.field-notebook .library-route-index a{display:inline-flex;align-items:center;gap:14px;min-height:44px;font-size:16px;color:#08776e}
.field-notebook .knowledge-materials,.field-notebook #knowledge-paths-title{scroll-margin-top:110px}
.field-notebook .knowledge-materials:focus{outline:none}
.field-notebook .knowledge-materials:focus-visible>.knowledge-results-heading{outline:2px solid var(--notebook-teal);outline-offset:5px;border-radius:5px}
.passport-page.field-notebook .passport-parent a{display:inline-flex;align-items:center;min-height:44px}
.field-notebook .notebook-library-desk{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:48px;align-items:start;padding:22px 0 32px;border-bottom:1px solid var(--notebook-line)}
.field-notebook .knowledge-page-heading h1{font-size:clamp(38px,4.5vw,64px);max-width:16ch;line-height:1.08;margin:12px 0 22px}
.field-notebook .knowledge-page-deck{font-size:18px;line-height:1.65;max-width:58ch;margin:0;color:var(--notebook-muted)}
.field-notebook .notebook-search-leaf{border-left:1px solid var(--notebook-line);padding:12px 0 8px 28px;min-width:0}
.field-notebook .notebook-search-leaf .editorial-kicker{margin:14px 0 18px}
.field-notebook .notebook-search-leaf .library-search{margin:0;max-width:none}
.field-notebook .notebook-search-note{font-size:13px!important;line-height:1.65;color:var(--notebook-muted);margin:16px 0 0}
.field-notebook .knowledge-topics{border-bottom:1px solid var(--notebook-line);gap:0 22px;padding:0;margin-top:24px}
.field-notebook .knowledge-topics a{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:12px 0;font-size:13px;color:var(--notebook-muted);min-height:48px}
.field-notebook .knowledge-topics a[aria-current=page]{background:transparent;color:#233e37;border-bottom-color:var(--notebook-teal);font-weight:600}
.field-notebook .knowledge-tools{border:1px solid var(--notebook-line);border-radius:18px;background:#f8f7f2;margin:28px 0}
.field-notebook .knowledge-tools a{padding:24px}
.field-notebook .knowledge-paths{background:var(--notebook-paper);border:1px solid var(--notebook-line);border-radius:20px;padding:28px;margin:32px 0}
.field-notebook .knowledge-paths-grid{gap:28px}
.field-notebook .knowledge-path{border-top:0;padding-top:16px}
.field-notebook .knowledge-path>.notebook-section-number{font-size:32px;color:var(--notebook-teal)}
.field-notebook .knowledge-path>p{font-size:16px;line-height:1.65;color:var(--notebook-muted)}
.field-notebook .knowledge-path h3{font-size:27px;line-height:1.25;margin-bottom:12px}
.field-notebook .knowledge-results-heading{margin-top:38px}
.field-notebook .editorial-article-grid{gap:24px;align-items:stretch}
.field-notebook .editorial-article-grid .editorial-article{display:flex;flex-direction:column;align-items:start;border:1px solid var(--notebook-line);border-radius:16px;padding:24px;background:var(--notebook-paper);box-shadow:none;min-width:0;transition:border-color 160ms ease,background-color 160ms ease}
.field-notebook .editorial-article-grid .editorial-article:hover{border-color:#08776e;background:#f7faf2;transform:none}
.field-notebook .editorial-article-grid .card-top{display:flex;align-items:center;gap:10px;width:100%;font-size:13px;flex-wrap:wrap}
.field-notebook .notebook-card-mark{color:var(--notebook-teal)}
.field-notebook .notebook-card-mark .notebook-icon{width:27px;height:27px}
.field-notebook .editorial-article-grid .article-reading-time{margin-left:auto;font-size:13px;color:var(--notebook-muted)}
.field-notebook .editorial-article-grid .editorial-article h3{font:28px/1.25 Georgia,serif;margin:20px 0 14px;letter-spacing:-.025em}
.field-notebook .editorial-article-grid .editorial-article p{font-size:16px;line-height:1.65;color:var(--notebook-muted);margin:0 0 22px}
.field-notebook .editorial-article-grid .article-card-bottom{margin-top:auto;width:100%;border-top:1px solid var(--notebook-line);padding-top:14px;min-height:44px;font-size:13px;color:#233e37}
.field-notebook .knowledge-empty{grid-column:1/-1;max-width:none;padding:36px;border:1px solid var(--notebook-line);border-radius:18px;background:var(--notebook-paper)}
.field-notebook .knowledge-empty h2{margin-top:16px}
.field-notebook .notebook-tool-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;color:var(--notebook-teal)}
.field-notebook .notebook-tool-heading .notebook-section-number{margin:0}
.field-notebook .home-tools{background:#f8f7f2}
.field-notebook .home-tools-layout{gap:24px;align-items:stretch}
.field-notebook .home-genetics-tool,.field-notebook .home-passport-tool{border:1px solid var(--notebook-line);border-radius:20px;padding:30px;background:var(--notebook-paper);min-width:0}
.field-notebook .home-tools h2{font-size:38px;line-height:1.15;margin:10px 0 20px}
.field-notebook .home-tools .editorial-kicker{margin:0}
.field-notebook .home-tools .button{font-size:16px;min-height:48px}
.field-notebook .notebook-passport-heading{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--notebook-line);padding:16px 0;margin:18px 0 28px}
.field-notebook .notebook-passport-heading .eyebrow{margin:0;color:var(--notebook-teal);font-size:13px}
.field-notebook .notebook-passport-caption{margin-left:auto;font-size:13px;line-height:1.5;color:var(--notebook-muted)}
@media screen{
.passport-page.field-notebook .passport-top{background:var(--notebook-paper);border:1px solid var(--notebook-line);border-radius:22px;padding:28px;gap:36px;align-items:start}
.passport-page.field-notebook .passport-photo{border-radius:16px;aspect-ratio:4/5;max-height:470px}
.passport-page.field-notebook .data-list>div{padding:12px 0;border-color:var(--notebook-line)}
.passport-page.field-notebook .panel{border:1px solid var(--notebook-line);border-radius:18px;background:var(--notebook-paper);padding:30px;box-shadow:none}
.passport-page.field-notebook .panel[id]{position:relative;padding-left:86px}
.passport-page.field-notebook .panel[id]>.notebook-section-number{position:absolute;left:28px;top:31px}
.passport-page.field-notebook .passport-handoff{background:#f2f6ed!important}
.passport-page.field-notebook .claim{background:#f4f6ed;border-radius:10px;border:1px solid #d7e1d4}
.passport-page.field-notebook .passport-parent strong{font:24px/1.25 Georgia,serif}
.passport-page.field-notebook .notebook-history>summary{min-height:44px;font-size:16px;padding:10px 0}
}
.field-notebook .notebook-find-desk{border:1px solid var(--notebook-line);border-radius:20px;padding:26px;background:var(--notebook-paper);margin-bottom:20px}
.field-notebook .notebook-find-heading{display:flex;align-items:center;gap:18px;padding-bottom:20px;border-bottom:1px solid var(--notebook-line)}
.field-notebook .notebook-find-heading h2{font:28px/1.2 Georgia,serif;margin:6px 0 0}
.field-notebook .notebook-find-heading .eyebrow{margin:0;font-size:13px;color:var(--notebook-teal)}
.field-notebook .notebook-find-desk .filter-bar{border:0;border-radius:0;background:transparent;padding:20px 0 0;margin:0;box-shadow:none;align-items:start}
.field-notebook .notebook-find-desk .filter-bar .button{align-self:start;margin-top:28px;min-height:48px}
.field-notebook .marketplace-empty{background:var(--notebook-paper);border:1px solid var(--notebook-line);border-radius:20px;padding:36px;align-items:start;text-align:left}
.field-notebook .marketplace-empty h3{font:30px/1.25 Georgia,serif;margin:0 0 14px}
.field-notebook .marketplace-empty p{max-width:65ch;color:var(--notebook-muted)}
@media(max-width:900px){.field-notebook .notebook-library-desk{grid-template-columns:1fr;gap:26px}.field-notebook .notebook-search-leaf{border-left:0;border-top:1px solid var(--notebook-line);padding:20px 0 0}.field-notebook .notebook-find-desk .filter-bar{grid-template-columns:1fr 1fr}.field-notebook .notebook-find-desk .filter-bar .button{margin-top:0}.field-notebook .knowledge-page-deck{font-size:16px}}
@media(max-width:600px){.field-notebook .knowledge-page-heading h1{font-size:40px}.field-notebook .notebook-library-desk{padding-top:8px;gap:22px}.field-notebook .knowledge-tools a{padding:20px}.field-notebook .knowledge-paths{padding:22px 20px}.field-notebook .knowledge-paths-grid{gap:22px}.field-notebook .knowledge-path{padding-top:8px}.field-notebook .editorial-article-grid{gap:18px}.field-notebook .editorial-article-grid .editorial-article{padding:22px 20px}.field-notebook .editorial-article-grid .editorial-article h3{font-size:27px}.field-notebook .home-tools-layout{gap:20px}.field-notebook .home-genetics-tool,.field-notebook .home-passport-tool{padding:24px 20px}.field-notebook .home-tools h2{font-size:32px}.field-notebook .notebook-passport-caption{display:none}.field-notebook .notebook-passport-heading{margin-top:10px}.field-notebook .notebook-find-desk{padding:22px 18px}.field-notebook .notebook-find-desk .filter-bar{grid-template-columns:1fr}.field-notebook .notebook-find-heading h2{font-size:26px}.field-notebook .notebook-find-desk .filter-bar .button{width:100%}.field-notebook .marketplace-empty,.field-notebook .knowledge-empty{padding:26px 22px}.field-notebook .marketplace-empty h3{font-size:28px}}
@media screen and (max-width:700px){.passport-page.field-notebook .passport-top{padding:20px;gap:24px}.passport-page.field-notebook .passport-photo{height:300px;max-height:300px;aspect-ratio:auto}.passport-page.field-notebook .panel{padding:24px 20px}.passport-page.field-notebook .panel[id]{padding-left:20px}.passport-page.field-notebook .panel[id]>.notebook-section-number{position:static;margin:0 0 14px}.passport-page.field-notebook h1{font-size:44px;line-height:1.08}}
@media(prefers-reduced-motion:reduce){.field-notebook *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.field-notebook .notebook-passport-heading,.field-notebook .notebook-section-number,.field-notebook .notebook-card-mark{display:none!important}}

/* Public passport screen photo: retain the full uploaded frame. */
@media screen{.passport-page.field-notebook .passport-photo{height:auto;max-height:none;aspect-ratio:3/2;background:#edf3ed}.passport-page.field-notebook .passport-photo>.animal-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center}}
