/* Plant IDEA Lab · restrained academic design system
   Original navy #124966 · comfortable 18px article text · no external dependencies */
:root{color-scheme:light;--navy:#124966;--navy-strong:#0c354e;--ink:#203547;--ink-strong:#122b3e;--muted:#617584;--blue-soft:#eaf2f6;--blue-palest:#f5f9fb;--border:#dce7ed;--background:#fff;--paper:#fff;--tint:#f6f9fb;--accent:#2c8193;--shadow:0 10px 27px rgba(17,62,87,.055);--radius:14px;--max-width:1180px}
:root[data-theme="dark"]{color-scheme:dark;--navy:#a3d6ec;--navy-strong:#e1f2f9;--ink:#d5e4ec;--ink-strong:#f2f8fb;--muted:#a1b7c4;--blue-soft:#1e3747;--blue-palest:#1d3441;--border:#334d5d;--background:#142735;--paper:#1c303e;--tint:#182e3c;--accent:#76bccc;--shadow:0 10px 24px rgba(0,0,0,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--background);color:var(--ink);font-family:Inter,"Segoe UI",Arial,"Noto Sans",sans-serif;font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a{touch-action:manipulation}a{color:var(--navy);text-decoration:none}a:hover{color:var(--accent)}img{max-width:100%;height:auto}button{cursor:pointer}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{color:var(--ink-strong);line-height:1.22;letter-spacing:-.025em}h1{font-size:clamp(2.2rem,4.5vw,3.6rem)}h2{font-size:clamp(1.65rem,2.9vw,2.24rem)}h3{font-size:1.2rem}.container{width:min(var(--max-width),calc(100% - 64px));margin-inline:auto}.skip-link{position:fixed;left:12px;top:-120px;background:var(--paper);padding:12px 20px;z-index:1000}.skip-link:focus{top:12px}.site-header{position:sticky;top:0;z-index:30;background:var(--paper);border-bottom:1px solid var(--border);box-shadow:0 1px 9px rgba(18,56,77,.025)}.navbar{height:83px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0;color:var(--ink-strong)}.brand img{height:47px;width:47px;object-fit:contain;border-radius:9px}.brand-text{display:flex;flex-direction:column;line-height:1.2;gap:3px}.brand-text strong{font-size:18px;letter-spacing:-.02em;color:var(--navy-strong)}.brand-text small{font-size:12px;letter-spacing:.025em;color:var(--muted)}.nav-links{display:flex;align-items:center;gap:4px}.nav-link{padding:9px 12px;border-radius:7px;display:inline-flex;align-items:center;gap:4px;color:var(--ink);font-size:14.5px;font-weight:600;white-space:nowrap;background:transparent;border:0}.nav-link:hover,.nav-link.current,.dropdown-toggle[aria-expanded=true]{color:var(--navy);background:var(--blue-soft)}.nav-dropdown{position:relative}.dropdown-list{position:absolute;top:100%;right:0;min-width:212px;padding:8px;background:var(--paper);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow);display:none}.nav-dropdown:hover .dropdown-list,.nav-dropdown:focus-within .dropdown-list,.nav-dropdown.is-open .dropdown-list{display:block}.dropdown-list a{display:block;padding:9px 12px;border-radius:7px;color:var(--ink);font-size:14px}.dropdown-list a:hover{background:var(--blue-soft)}.nav-toggle{display:none;border:0;background:none;padding:10px}.nav-toggle span{display:block;width:24px;height:2px;background:var(--navy);margin:5px}.theme-toggle{border:1px solid var(--border);background:var(--paper);border-radius:50%;height:34px;width:34px;margin-left:6px;color:var(--navy);font-size:19px;line-height:1}
/* Home: restrained banner and real scientific imagery */
.hero{padding:64px 0 68px;background:linear-gradient(130deg,var(--blue-palest) 0%,var(--background) 74%);border-bottom:1px solid var(--border)}.hero-grid{display:grid;grid-template-columns:1.07fr .93fr;gap:64px;align-items:center}.eyebrow,.section-kicker,.card-kicker{color:var(--accent);font-weight:800;letter-spacing:.12em;font-size:11px}.hero .eyebrow{font-size:11.7px;letter-spacing:.115em;margin-bottom:27px}.hero h1{margin-bottom:23px;font-weight:770;font-size:clamp(2.6rem,4.4vw,4rem);line-height:1.13}.hero h1 span{color:var(--navy)}.hero-lead{font-size:19px;line-height:1.7;color:var(--ink);max-width:550px;margin-bottom:29px}.hero-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.primary-button,.secondary-button,.outline-button,.ghost-button{display:inline-flex;align-items:center;justify-content:center;gap:13px;border-radius:8px;font-weight:700;line-height:1.25;transition:background .15s,transform .15s}.primary-button{background:#124966;color:white!important;border:1px solid #124966;padding:15px 20px;font-size:15px}.primary-button:hover{background:#0c354e;transform:translateY(-1px)}.primary-button.inverted{background:white;color:#124966!important;border-color:white}.secondary-button{font-size:15px;padding:13px 0;color:var(--navy)}.hero-motto{font-size:14px;margin:40px 0 0;color:var(--muted);font-style:italic}.hero-visual{background:var(--paper);border:1px solid var(--border);padding:18px;box-shadow:0 18px 42px rgba(23,67,92,.09);border-radius:14px;min-width:0}.hero-visual-top{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.11em;margin-bottom:17px}.hero-visual img{display:block;width:100%;height:280px;object-fit:contain;background:var(--blue-palest);border:1px solid var(--border);border-radius:9px;padding:12px}.hero-visual-bottom{display:flex;align-items:center;gap:12px;padding:16px 2px 2px}.visual-mark{height:39px;width:4px;border-radius:3px;background:var(--accent)}.hero-visual-bottom strong{display:block;font-size:15px;color:var(--ink-strong)}.hero-visual-bottom small{display:block;font-size:12.8px;color:var(--muted)}.intro-strip{border-bottom:1px solid var(--border)}.intro-grid{display:grid;grid-template-columns:170px 1fr;gap:40px;padding-top:35px;padding-bottom:35px;align-items:start}.intro-label{letter-spacing:.1em;color:var(--navy);font-size:12px;font-weight:800;margin:6px 0}.intro-text.prose{font-size:17px}.intro-text p:last-child{margin-bottom:0}.intro-text p:nth-child(n+2){font-size:15px;font-style:italic;color:var(--muted)}.section-pad{padding:76px 0}.section-tinted{background:var(--tint);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:27px}.section-title h2{margin:7px 0 0}.section-all{font-size:15px;font-weight:750;white-space:nowrap;padding-bottom:7px}.card-surface{background:var(--paper);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.project-card{display:flex;flex-direction:column}.project-thumb{display:block;overflow:hidden;aspect-ratio:1.48;background:var(--blue-palest);padding:12px}.project-thumb img{width:100%;height:100%;object-fit:contain;transition:transform .2s}.project-card:hover .project-thumb img{transform:scale(1.035)}.project-copy{padding:24px 22px;display:flex;flex:1;flex-direction:column}.project-copy h3{font-size:20px;line-height:1.34;margin:10px 0 11px}.project-copy h3 a,.post-body h3 a,.resource-copy h3 a{color:var(--ink-strong)}.project-copy h3 a:hover,.post-body h3 a:hover,.resource-copy h3 a:hover{color:var(--navy)}.project-copy p,.post-body p,.resource-copy p{font-size:15.5px;color:var(--muted);line-height:1.6}.project-copy p{flex:1;margin-bottom:21px}.text-link{font-size:14px;font-weight:750;color:var(--navy)}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.post-card{display:flex;flex-direction:column}.post-cover{aspect-ratio:1.68;display:block;overflow:hidden;background:#edf3f5}.post-cover img{width:100%;height:100%;object-fit:cover;transition:transform .18s}.post-cover:hover img{transform:scale(1.035)}.post-graphic{height:100%;display:grid;place-items:center;color:var(--navy);font-size:30px;font-weight:900;letter-spacing:.1em}.post-body{padding:22px;display:flex;flex-direction:column;flex:1}.post-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:var(--muted);font-size:12px;font-weight:650;letter-spacing:.02em}.post-body h3{font-size:19px;line-height:1.36;margin:12px 0 9px}.post-body p{flex:1;margin:0 0 18px}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.resource-card{display:flex;gap:14px;padding:23px;min-width:0}.resource-symbol{background:var(--blue-soft);color:var(--navy);font-weight:900;font-size:24px;width:43px;height:47px;border-radius:10px;flex-shrink:0;display:grid;place-items:center}.resource-copy{min-width:0;flex:1}.resource-card-top{display:flex;flex-direction:column;align-items:start;gap:9px;margin-bottom:10px}.resource-card h3{font-size:19px;margin:0}.resource-status{display:inline-flex;font-size:11px;color:var(--navy);background:var(--blue-soft);border-radius:99px;padding:3px 9px;font-weight:700}.resource-copy p{font-size:14px;margin-bottom:22px;min-height:62px}.resource-actions{display:flex;flex-direction:column;gap:8px}.resource-external{font-size:13px;font-weight:700}.contact-band{background:#124966;color:white;padding:46px 0}.contact-band-inner{display:flex;align-items:center;justify-content:space-between;gap:32px}.contact-band .section-kicker{color:#9dd2df}.contact-band h2{color:white;margin:8px 0 9px}.contact-band p{margin:0;color:#c7dce7;font-size:17px}
/* Interior, typography and rich Markdown */
.page-heading{background:var(--blue-palest);border-bottom:1px solid var(--border);padding:52px 0 44px}.page-heading .eyebrow{margin:0 0 18px;font-size:11px}.eyebrow-line{display:inline-block;width:18px;height:1px;background:currentColor;vertical-align:middle;margin:0 9px}.page-heading h1{font-size:clamp(2.2rem,4vw,3.15rem);margin:0}.page-heading p{margin:13px 0 0;max-width:780px;color:var(--muted);font-size:17px}.listing-page{padding:47px 0 86px}.section-intro{max-width:850px;margin-bottom:35px}.section-intro p{margin-top:0}.project-grid-list{grid-template-columns:repeat(3,minmax(0,1fr))}.cooperation-note{margin-top:34px;font-size:16px;color:var(--muted)}.explore-more{display:flex;gap:24px;margin-top:34px;font-weight:700;font-size:16px}.prose{color:var(--ink);font-size:18px;line-height:1.76;overflow-wrap:anywhere}.prose p,.prose ul,.prose ol,.prose blockquote{margin-bottom:1.15em}.prose h1,.prose h2,.prose h3,.prose h4{scroll-margin-top:110px}.prose h2{font-size:1.6em;margin:1.65em 0 .65em}.prose h3{font-size:1.25em;margin:1.4em 0 .55em}.prose h4{font-size:1.1em}.prose ul,.prose ol{padding-left:1.5em}.prose li{padding-left:.15em;margin-bottom:.3em}.prose a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.prose a:hover{text-decoration-thickness:2px}.prose hr{border:0;border-top:1px solid var(--border);margin:30px 0}.prose blockquote{border-left:4px solid var(--accent);background:var(--blue-palest);border-radius:0 8px 8px 0;padding:16px 22px;margin-left:0;margin-right:0;color:var(--ink)}.prose blockquote p:last-child{margin-bottom:0}.prose pre{overflow:auto;background:#163242;color:#e9f2f7;padding:18px;border-radius:8px;font-size:14px}.prose img{height:auto;max-width:100%;border-radius:8px}.prose table{border-collapse:collapse;width:100%;display:block;overflow-x:auto}.prose th,.prose td{border:1px solid var(--border);padding:10px;text-align:left}.prose th{background:var(--tint)}.prose code{font-size:.85em}.single-page{padding:49px 0 85px}.single-page>h1{font-size:clamp(2.15rem,4vw,3.1rem);margin:14px 0}.single-page .single-subtitle{font-size:19px;color:var(--muted);max-width:850px;line-height:1.55}.back-link{display:inline-block;color:var(--muted);font-size:14px;font-weight:700;margin-bottom:26px}.back-link:hover{color:var(--navy)}.article-content{max-width:880px;margin-top:35px}.single-feature-image{max-width:950px;max-height:550px;display:grid;place-items:center;background:var(--blue-palest);padding:20px;border:1px solid var(--border);border-radius:14px;margin:30px 0}.single-feature-image img{max-height:480px;object-fit:contain}.post-single h1{max-width:950px}.post-single .single-feature-image{max-width:900px}.tag-row{display:flex;gap:8px;margin-top:30px;flex-wrap:wrap}.tag-chip{background:var(--blue-soft);color:var(--navy);font-size:12px;padding:6px 11px;border-radius:50px}.resource-detail-meta{display:flex;flex-wrap:wrap;gap:12px;margin:21px 0 30px}.resource-detail-meta span{padding:8px 14px;background:var(--tint);border:1px solid var(--border);border-radius:7px;font-size:14px}.resource-single .primary-button{margin-top:8px}.general-content{max-width:880px}.not-found{text-align:center;padding:100px 0}.not-found h1{font-size:100px}
/* Team listing, full profiles saved as Markdown pages */
.members-section{padding-top:40px;padding-bottom:85px}.toolbar{display:flex;flex-direction:column;align-items:stretch;gap:20px;margin-bottom:43px}.search-field{border:1px solid var(--border);background:var(--paper);border-radius:10px;display:flex;align-items:center;gap:10px;color:var(--muted);padding:0 16px;max-width:460px;width:100%;height:48px}.search-field input{background:transparent;border:0;outline:0;width:100%;min-width:0;color:var(--ink-strong);font-size:15px}.search-field:focus-within{outline:2px solid var(--accent);outline-offset:1px}.member-filters{display:flex;gap:9px;flex-wrap:wrap}.chip{border:1px solid var(--border);background:var(--paper);border-radius:99px;color:var(--muted);font-size:13.5px;font-weight:700;padding:9px 15px;transition:background .15s}.chip:hover,.chip.is-active{color:var(--navy);border-color:var(--accent);background:var(--blue-soft)}.member-group{margin-bottom:54px}.member-group:last-child{margin-bottom:0}.group-title{margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid var(--border)}.group-title h2{font-size:25px}.group-count{font-size:12px;font-weight:800;display:inline-block;background:var(--blue-soft);border-radius:99px;color:var(--navy);padding:4px 9px;letter-spacing:0;vertical-align:middle;margin-left:6px}.member-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}.member-grid.is-hidden{display:none}.member-card{min-width:0;transition:border-color .15s,transform .15s}.member-card:hover{border-color:#8ab9c8;transform:translateY(-2px)}.member-open{width:100%;display:block;text-align:left;border:0;background:none;padding:0;color:inherit}.portrait-wrap{height:180px;display:flex;justify-content:center;align-items:center;overflow:hidden;background:#eef3f5;border-bottom:1px solid var(--border)}.portrait-wrap img{width:100%;height:100%;object-fit:cover;object-position:center 30%}.member-info{padding:16px 14px;min-height:147px}.member-info h3{font-size:16px;line-height:1.35;margin:0 0 5px}.member-role{font-size:13.2px;color:var(--muted);margin:0 0 6px}.member-interest{font-size:12.4px;line-height:1.4;color:var(--muted);margin:7px 0}.member-details{display:block;margin-top:11px;font-size:12px;font-weight:800;color:var(--navy)}.member-grid.is-condensed:not(.is-expanded) .member-card:nth-child(n+11){display:none}.more-row{display:flex;justify-content:center;padding-top:22px}.outline-button,.ghost-button{border:1px solid var(--border);background:var(--paper);padding:11px 16px;color:var(--navy);font-size:13.5px}.outline-button:hover,.ghost-button:hover{background:var(--blue-soft)}.ghost-button{padding:9px 11px}.member-card[hidden],.member-group[hidden],.post-card[hidden]{display:none!important}.no-results{font-size:18px;color:var(--muted);padding:30px 0}.profile-dialog{width:min(850px,calc(100% - 32px));max-height:min(85vh,800px);padding:0;border:1px solid var(--border);border-radius:16px;box-shadow:0 30px 80px rgba(0,0,0,.25);background:var(--paper);color:var(--ink)}.profile-dialog::backdrop{background:rgba(7,30,47,.63);backdrop-filter:blur(3px)}.profile-dialog-inner{display:grid;grid-template-columns:220px 1fr;gap:30px;padding:42px;overflow-y:auto;max-height:85vh}.profile-side img{aspect-ratio:4/5;object-fit:cover;width:100%;border-radius:10px;background:var(--blue-soft)}.profile-group-label{font-size:13px;color:var(--muted);font-weight:700}.profile-main h2{font-size:31px;margin:5px 0}.profile-position{font-size:16px;color:var(--muted);margin-bottom:20px}.profile-content{font-size:16px;line-height:1.75}.profile-content ul{padding-left:21px}.profile-content li{margin-bottom:3px}.dialog-close{position:absolute;top:10px;right:14px;font-size:29px;border:0;background:var(--paper);color:var(--muted);width:38px;height:38px;border-radius:50%}.member-single{display:grid;grid-template-columns:230px minmax(0,1fr);gap:44px;padding:42px}.single-portrait img{width:100%;border-radius:10px;aspect-ratio:4/5;object-fit:cover}.single-portrait p{font-size:14px;color:var(--muted);margin-top:10px}.member-single h1{margin:8px 0}.member-single .prose{margin-top:25px}.listing-toolbar{margin:10px 0 25px}.news-grid-list{grid-template-columns:repeat(3,minmax(0,1fr))}
/* Publications: respect original rich citation markdown */
.publications-layout{padding-top:43px;padding-bottom:90px}.pub-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:13px}.pub-year-label{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:700;color:var(--muted)}.pub-year-label select{min-width:145px;height:47px;border:1px solid var(--border);padding:0 14px;border-radius:9px;background:var(--paper);color:var(--ink)}.publication-hint{font-size:13px;color:var(--muted);margin:0 0 35px}.publication-list{max-width:1040px}.publication-list>h2{font-size:28px;margin:42px 0 16px;border-bottom:2px solid var(--blue-soft);padding-bottom:10px}.publication-list>h2:first-of-type{margin-top:18px}.publication-list>ul{list-style:none;padding:0;margin:0}.publication-list>ul>li{position:relative;background:var(--paper);border:1px solid var(--border);border-radius:10px;padding:18px 22px;margin:0 0 12px;font-size:16.5px;line-height:1.68;box-shadow:0 3px 14px rgba(16,48,70,.025)}.publication-list>ul>li::before{content:"";position:absolute;left:0;top:20px;bottom:20px;width:3px;background:var(--accent);border-radius:4px}.publication-list>ul>li p{margin-bottom:6px}.publication-list>ul>li blockquote{font-size:14px;margin-top:12px;margin-bottom:0}.publication-list a{font-weight:650;color:var(--navy)}.publication-list>ul>li[hidden]{display:none}.publication-list>h2[hidden],.publication-list>ul[hidden]{display:none}.directory-terms{display:flex;flex-wrap:wrap;gap:12px}
/* Directory, contact and footer */
.directory-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:54px;padding-top:46px;padding-bottom:90px}.directory-sidebar{position:sticky;top:106px;align-self:start;max-height:calc(100vh - 130px);overflow-y:auto;padding:20px;background:var(--tint);border-radius:12px;border:1px solid var(--border)}.directory-sidebar strong{font-size:14px;color:var(--navy)}.directory-sidebar nav ul{list-style:none;margin:12px 0;padding-left:0}.directory-sidebar nav ul ul{padding-left:14px;margin:4px 0 10px}.directory-sidebar nav a{font-size:13px;line-height:1.6;display:block;margin:6px 0;color:var(--muted)}.directory-sidebar nav a:hover{color:var(--navy)}.directory-content{max-width:830px}.directory-content>h2:first-child{margin-top:0}.directory-content li{margin-bottom:5px}.contact-layout{display:grid;grid-template-columns:1.35fr .65fr;gap:55px;padding:50px 0 100px}.contact-article{min-width:0}.contact-aside{align-self:start;padding:26px}.contact-aside h2{font-size:22px;margin:12px 0}.contact-aside p{font-size:16px;color:var(--muted)}.contact-line{height:1px;background:var(--border);margin:23px 0}.contact-aside .small-note{font-size:14px}.gallery-strip{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:16px 0}.gallery-strip a{flex:0 0 70%;max-width:500px;scroll-snap-align:start}.gallery-strip img{width:100%;height:275px;object-fit:cover;border-radius:12px}.feature-quote cite{display:block;font-size:13px;margin-top:10px}.site-footer{background:var(--tint);border-top:1px solid var(--border);padding:58px 0 20px}.footer-main{display:grid;grid-template-columns:1.6fr 1fr 1.2fr;gap:80px;padding-bottom:52px}.footer-main>div>strong{font-size:15px;color:var(--ink-strong);display:block;margin-bottom:14px}.footer-main .footer-brand>strong{font-size:23px;color:var(--navy)}.footer-main p,.footer-main a{display:block;font-size:14px;color:var(--muted);line-height:1.75;max-width:330px;margin-bottom:9px}.footer-main a:hover{color:var(--navy)}.footer-tagline{font-size:13px;color:var(--navy);font-style:italic}.footer-bottom{border-top:1px solid var(--border);padding-top:21px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12px;color:var(--muted)}
@media(max-width:1100px){.navbar{gap:10px}.nav-link{padding:7px 8px;font-size:13px}.hero-grid{gap:35px}.hero h1{font-size:3rem}.member-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.project-grid,.resource-grid,.news-grid{gap:14px}.project-copy{padding:20px 17px}.resource-card{padding:17px}.footer-main{gap:35px}}
@media(max-width:1120px){.container{width:min(var(--max-width),calc(100% - 38px))}.nav-toggle{display:block}.navbar{height:73px}.nav-links{display:none;position:absolute;top:73px;left:0;right:0;padding:12px 19px 18px;background:var(--paper);border-bottom:1px solid var(--border);box-shadow:0 13px 25px rgba(0,0,0,.08);flex-direction:column;align-items:stretch;gap:1px;max-height:calc(100vh - 75px);overflow-y:auto}.nav-links.is-open{display:flex}.nav-link{font-size:16px;padding:13px 15px;width:100%}.nav-dropdown{width:100%}.dropdown-toggle{justify-content:space-between}.dropdown-list{position:static;display:none;box-shadow:none;border:0;background:var(--tint);padding:4px 12px}.nav-dropdown.is-open .dropdown-list{display:block}.theme-toggle{margin:12px 0 0 12px}.hero-grid{grid-template-columns:1fr}.hero{padding:46px 0 48px}.hero h1{font-size:clamp(2.5rem,7vw,3.6rem)}.hero-visual{max-width:660px}.intro-grid{grid-template-columns:1fr;gap:6px}.section-pad{padding:54px 0}.project-grid{grid-template-columns:repeat(2, minmax(0,1fr))}.project-grid .project-card:last-child{grid-column:span 2;max-width:100%}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-grid{grid-template-columns:1fr}.resource-card{padding:22px}.resource-copy p{min-height:0}.resource-actions{flex-direction:row;gap:24px}.member-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.portrait-wrap{height:185px}.directory-layout{grid-template-columns:1fr}.directory-sidebar{position:static;max-height:220px}.contact-layout{grid-template-columns:1fr;gap:10px}.footer-main{grid-template-columns:1.4fr 1fr;gap:30px}.footer-main>div:last-child{grid-column:1/-1}}
@media(max-width:560px){body{font-size:16.5px}.container{width:calc(100% - 34px)}.brand img{width:41px;height:41px}.brand-text strong{font-size:16px}.brand-text small{font-size:11px}.hero h1{font-size:clamp(2.35rem,10vw,3rem)}.hero-lead{font-size:18px}.hero .eyebrow{font-size:10px;line-height:1.7}.hero-grid{gap:30px}.hero-visual{padding:12px}.hero-visual img{height:225px}.hero-visual-top{font-size:9px}.intro-grid{padding-top:28px;padding-bottom:28px}.intro-text.prose{font-size:17px}.section-title{align-items:start}.section-title h2{font-size:28px}.section-all{font-size:13px}.project-grid,.news-grid{grid-template-columns:1fr}.project-grid .project-card:last-child{grid-column:auto}.project-thumb{aspect-ratio:1.55}.project-copy h3{font-size:19px}.resource-card{gap:12px;padding:17px}.resource-symbol{width:38px;height:41px}.resource-actions{flex-wrap:wrap;gap:12px}.contact-band-inner{flex-direction:column;align-items:start}.contact-band{padding:39px 0}.page-heading{padding:36px 0 32px}.page-heading h1{font-size:2.25rem}.page-heading p{font-size:16px}.listing-page{padding-top:32px}.prose{font-size:18px;line-height:1.72}.prose h2{font-size:1.5em}.member-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portrait-wrap{height:160px}.member-info{padding:12px 11px;min-height:125px}.member-info h3{font-size:15px}.member-role{font-size:12px}.member-interest{font-size:11.7px}.member-group{margin-bottom:44px}.group-title h2{font-size:21px}.section-title{gap:8px}.ghost-button{font-size:12px}.toolbar{margin-bottom:30px}.member-filters{gap:7px}.chip{font-size:12px;padding:8px 11px}.profile-dialog-inner{grid-template-columns:1fr;padding:23px 23px 35px;gap:10px}.profile-side{display:flex;align-items:center;gap:15px}.profile-side img{width:95px;height:116px}.profile-side .profile-group-label{max-width:130px}.profile-main h2{font-size:26px}.profile-content{font-size:16px}.member-single{grid-template-columns:1fr;padding:24px;gap:17px}.single-portrait img{max-width:230px}.single-page{padding-top:32px}.pub-toolbar{flex-direction:column;align-items:stretch}.pub-toolbar .search-field{max-width:100%}.pub-year-label{justify-content:space-between}.publication-list>ul>li{font-size:16px;padding:15px 15px}.publication-hint{line-height:1.6}.directory-layout{gap:20px;padding-top:28px}.footer-main{grid-template-columns:1fr;gap:23px}.footer-main>div:last-child{grid-column:auto}.footer-bottom{flex-direction:column}.hero-actions{gap:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* V2 refinements: original Plant IDEA palette and readable body text. */
body{font-size:18px}.nav-link{font-size:17px;font-weight:700;padding:11px 13px}.brand-text strong{font-size:21px}.brand-text small{font-size:13px}.dropdown-list a{font-size:16.5px;padding:12px 14px}.navbar{gap:18px}
.post-card-tags{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 14px}.tag-pill{display:inline-block;border:1px solid var(--border);background:var(--blue-palest);color:var(--navy);font-weight:650;font-size:12.5px;padding:4px 9px;border-radius:20px;line-height:1.5}.tag-pill:hover{background:var(--blue-soft);color:var(--navy-strong)}
.tag-toolbar{margin:17px 0 0;display:flex;flex-direction:column;gap:12px}.tag-toolbar-label{font-weight:700;font-size:15.5px;color:var(--ink-strong)}.tag-filter-chips{display:flex;gap:8px;flex-wrap:wrap}.tag-filter-chips .chip{font-size:13px}.listing-toolbar .search-field{max-width:520px}
.directory-sidebar strong{font-size:17px}.directory-sidebar nav a{font-size:15px;line-height:1.55;padding:5px 7px;border-radius:6px}.directory-sidebar nav a:hover{background:var(--blue-soft)}.directory-content h2,.directory-content h3{scroll-margin-top:105px}
.post-detail-tags{margin-top:30px;display:flex;align-items:center;flex-wrap:wrap;gap:10px;border-top:1px solid var(--border);padding-top:22px}.post-detail-tags strong{font-size:16px;margin-right:7px}
.member-grid{max-height:none!important;overflow:visible!important}.member-group .group-title{margin-bottom:18px}
@media(max-width:1120px){.nav-link{font-size:18px;padding:13px 15px}.dropdown-list a{font-size:17px;padding:12px 15px}}
@media(max-width:560px){body{font-size:17px}.brand-text strong{font-size:18px}.brand-text small{font-size:12px}.post-body p,.project-copy p{font-size:16px}.directory-sidebar nav a{font-size:15px}}

/* V3: restrained Links caret. Keep original navy and typography. */
.dropdown-toggle .dropdown-caret{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid currentColor;margin-left:6px;transition:transform .2s ease;vertical-align:middle;flex-shrink:0}
.nav-dropdown.is-open .dropdown-caret,.dropdown-toggle[aria-expanded="true"] .dropdown-caret{transform:rotate(180deg)}
/* V3: genuine photo carousel for existing gallery-slider shortcodes. */
.lab-carousel{margin:28px auto 35px;width:100%;max-width:1050px;--carousel-paper:var(--tint)}
.lab-carousel-viewport{height:clamp(260px,45vw,540px);position:relative;border:1px solid var(--border);border-radius:12px;background:var(--carousel-paper);overflow:hidden}
.lab-carousel-slide{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .42s ease,visibility .42s ease;display:flex;align-items:center;justify-content:center}
.lab-carousel-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.lab-carousel-slide a{display:flex;height:100%;width:100%;align-items:center;justify-content:center}
.lab-carousel-slide img{display:block;width:100%;height:100%;object-fit:contain}
.lab-carousel-arrow{position:absolute;top:50%;z-index:3;transform:translateY(-50%);display:grid;place-items:center;border-radius:50%;width:45px;height:45px;color:#fff;background:rgba(12,53,78,.78);font-size:32px;line-height:1;border:1px solid rgba(255,255,255,.5);box-shadow:0 2px 10px rgba(0,0,0,.12)}
.lab-carousel-arrow:hover{background:#124966;color:white}.lab-carousel-prev{left:16px}.lab-carousel-next{right:16px}
.lab-carousel-counter{position:absolute;bottom:17px;right:18px;z-index:3;color:#fff;background:rgba(12,53,78,.75);font-size:13px;line-height:1.3;letter-spacing:.01em;padding:7px 11px;border-radius:30px;font-weight:700}
.lab-carousel-dots{display:flex;justify-content:center;align-items:center;gap:12px;padding:15px 8px 0;flex-wrap:wrap}
.lab-carousel-dot{height:11px;width:11px;min-width:11px;border-radius:50%;background:var(--border);border:1px solid var(--muted);padding:0;transition:background .2s,transform .2s}
.lab-carousel-dot.is-active{background:var(--navy);transform:scale(1.18);border-color:var(--navy)}
.lab-carousel-arrow:focus-visible,.lab-carousel-dot:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:600px){.lab-carousel-viewport{height:290px}.lab-carousel-arrow{width:39px;height:39px;font-size:27px}.lab-carousel-prev{left:8px}.lab-carousel-next{right:8px}.lab-carousel-counter{bottom:10px;right:10px}}
@media(prefers-reduced-motion:reduce){.lab-carousel-slide{transition:none}.dropdown-toggle .dropdown-caret{transition:none}}

/* V4: the same navy-and-white design, now with a data-driven home research carousel. */
.hero-science-stage{height:280px;position:relative;overflow:hidden;border-radius:9px}
.hero-science-slide{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .6s ease,visibility .6s ease}
.hero-science-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.hero-science-slide img{width:100%;height:100%;display:block;object-fit:contain}
.hero-science-caption{flex:1;min-width:0}
.hero-science-caption strong{display:block;white-space:normal}
.hero-science-caption small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hero-science-dots{display:flex;align-items:center;justify-content:center;gap:9px;margin-left:auto;flex-shrink:0;padding-left:8px}
.hero-science-dot{appearance:none;display:block;width:10px;height:10px;min-width:10px;min-height:10px;border:1px solid var(--accent);background:transparent;border-radius:50%;padding:0;margin:0;line-height:0}
.hero-science-dot.is-active{background:var(--navy);border-color:var(--navy);box-shadow:0 0 0 2px var(--blue-soft)}
.hero-science-dot:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
/* Optical and geometric centering of the carousel chevrons and their indicator dots. */
.lab-carousel-arrow{display:flex;align-items:center;justify-content:center;appearance:none;padding:0;margin:0;line-height:0}
.lab-carousel-arrow svg{width:21px;height:21px;display:block;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.lab-carousel-dots{display:flex;align-items:center;justify-content:center;gap:12px;min-height:35px;padding:11px 0 0;margin:0 auto;width:100%;line-height:0}
.lab-carousel-dot{appearance:none;display:block;flex:0 0 11px;min-height:11px;width:11px;height:11px;padding:0;margin:0;border-radius:50%}
.lab-carousel-dot.is-active{transform:none;box-shadow:0 0 0 2px var(--blue-soft),0 0 0 3px var(--navy)}
@media(max-width:560px){.hero-science-stage{height:225px}.hero-science-caption small{font-size:11px}.hero-science-dots{gap:7px}.hero-science-dot{width:8px;height:8px;min-width:8px;min-height:8px}}
@media(prefers-reduced-motion:reduce){.hero-science-slide{transition:none}}

/* V5 refinements: maintain the original Plant IDEA palette and readable 18px text. */
/* Titles and prose now use a consistent editorial measure, removing the unused right strip. */
.post-single,.project-single,.resource-single{width:min(var(--max-width),calc(100% - 64px))}
.post-single .preview-article-content,.project-single .preview-article-content,.resource-single .preview-article-content{width:100%;min-width:0}
.post-single h1,.project-single h1,.resource-single h1{max-width:1080px}
.post-single .article-content,.project-single .article-content,.resource-single .article-content{width:100%;max-width:1080px;margin-top:26px}
.post-single .single-subtitle,.project-single .single-subtitle,.resource-single .single-subtitle{max-width:1080px}
.project-single .single-feature-image{max-width:1080px}
/* Preview has an inline research illustration, while Hugo wraps it in .single-feature-image. */
.project-single .preview-article-content>img{display:block;max-height:480px;max-width:100%;width:min(100%,1060px);object-fit:contain;object-position:left center;margin:24px 0 30px;padding:14px;border:1px solid var(--border);background:var(--blue-palest);border-radius:12px}
/* Article topics appear directly after the title, not after the article body. */
.post-single .post-detail-tags{margin:17px 0 30px;padding:0;max-width:1080px;border:0;gap:8px 9px}
.post-single .post-detail-tags strong{margin-right:5px;font-size:16px}
.post-single .post-detail-tags+.article-content{margin-top:0}
.news-page-heading .tag-toolbar-under-title{margin:21px 0 0;gap:10px;max-width:1090px}
.news-page-heading .tag-toolbar-label{color:var(--navy);font-size:16px}
.news-page-heading .tag-filter-chips{gap:9px}
.news-page-heading .chip{font-size:13px}
.news-page-heading .news-header-description{margin-top:17px}
/* Hugo's ToC creates links; the offline preview uses buttons. Style both identically. */
.directory-layout{grid-template-columns:250px minmax(0,1fr);gap:42px}
.directory-sidebar{padding:19px 14px 20px;min-width:0}
.directory-sidebar>strong{font-size:16px;display:block;padding:2px 11px 10px;color:var(--navy-strong)}
.directory-sidebar nav ul{list-style:none;margin:0;padding:0}
.directory-sidebar nav ul ul{padding-left:9px}
.directory-sidebar nav li{margin:0;padding:0}
.directory-sidebar nav a,.directory-sidebar nav .toc-jump{font:inherit;font-size:14.5px;font-weight:550;line-height:1.5;display:block;width:100%;text-align:left;border:0;border-left:3px solid transparent;background:transparent;color:var(--muted);padding:8px 10px;margin:1px 0;border-radius:4px;white-space:normal;cursor:pointer;text-decoration:none;transition:background .15s,border-color .15s,color .15s}
.directory-sidebar nav a:hover,.directory-sidebar nav a:focus-visible,.directory-sidebar nav .toc-jump:hover,.directory-sidebar nav .toc-jump:focus-visible{background:var(--blue-soft);color:var(--navy);border-left-color:var(--accent);outline:none}
.directory-sidebar nav a.active,.directory-sidebar nav .toc-jump.is-active{background:var(--blue-soft);color:var(--navy-strong);border-left-color:var(--navy);font-weight:730}
.directory-sidebar nav .toc-top .toc-jump{font-weight:720;color:var(--ink-strong)}
.directory-sidebar nav .toc-sub .toc-jump{padding-left:17px}
.directory-content{max-width:none;min-width:0;font-size:18px}
.directory-content ul,.directory-content ol{padding-left:1.45em}
.directory-content li{margin-bottom:7px}
.directory-content h2:first-child{margin-top:0}
.directory-content a,.resource-single .article-content a{text-underline-offset:3px}
.directory-content a:hover,.resource-single .article-content a:hover{text-decoration:underline}
/* Resources: page detail rather than unstyled popup, matching the actual Hugo route. */
.resource-single>.section-kicker{display:block;margin:-6px 0 15px}
.resource-single>.back-link{display:block;width:fit-content}
.resource-single .resource-detail-meta{margin:16px 0 25px}
.resource-single .resource-detail-meta span{font-size:15px}
.resource-single .article-content{min-height:110px}
.resource-single .primary-button{margin-top:20px}
@media(max-width:920px){.directory-layout{grid-template-columns:1fr;gap:25px}.directory-sidebar{position:static;max-height:270px}.post-single,.project-single,.resource-single{width:min(var(--max-width),calc(100% - 38px))}}
@media(max-width:560px){.post-single,.project-single,.resource-single{width:calc(100% - 34px)}.news-page-heading .tag-filter-chips{gap:7px}.directory-sidebar nav a,.directory-sidebar nav .toc-jump{font-size:14.5px;padding:8px 10px}.project-single .preview-article-content>img{padding:8px}}

/* ========================================================================
   V6 • Editorial collections, preserving Plant IDEA's original color system.
   Main prose remains 18px. All journal/publication records come from Markdown.
   ======================================================================== */
/* Global polish without changing the chosen site identity */
:where(a,button,input,select):focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.page-heading{position:relative;overflow:hidden}
.page-heading:after{content:"";position:absolute;right:-100px;bottom:-190px;width:460px;height:350px;border:1px solid var(--border);border-radius:50%;pointer-events:none;opacity:.48}
.page-heading .container{position:relative;z-index:1}
.card-surface{transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease}
.card-surface:hover{box-shadow:0 16px 36px rgba(17,62,87,.09);border-color:var(--accent)}
@media (prefers-reduced-motion:reduce){.card-surface{transition:none}}

/* Publications: compact overview + sticky year rail + editorial records */
.publications-layout{padding-top:43px;padding-bottom:95px}
.pub-toolbar{background:var(--blue-palest);border:1px solid var(--border);border-radius:16px;padding:19px 23px;margin:0 0 13px;display:flex;gap:19px;align-items:center;justify-content:space-between}
.pub-toolbar .search-field{height:51px;max-width:650px;flex:1;border-color:var(--border);background:var(--paper)}
.pub-toolbar .search-field input{font-size:17px}
.pub-toolbar .pub-year-label{font-size:15px}
.pub-collection-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:7px 3px 23px;font-size:16px;color:var(--muted)}
.pub-collection-summary strong{color:var(--ink-strong);font-weight:800}
.pub-collection-summary .pub-note{font-size:15px;display:inline-flex;gap:9px;align-items:center}
.pub-note-mark{background:var(--blue-soft);color:var(--navy);padding:5px 9px;border-radius:8px;font-size:12px;font-weight:800}
.pub-reading-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:42px;align-items:start}
.pub-year-rail{position:sticky;top:108px;background:var(--paper);border:1px solid var(--border);border-radius:14px;padding:18px 13px;box-shadow:var(--shadow);max-height:calc(100vh - 130px);overflow:auto}
.pub-rail-caption{display:block;color:var(--navy-strong);font-size:14px;text-transform:uppercase;letter-spacing:.105em;font-weight:800;margin:0 9px 14px}
.pub-year-buttons{display:grid;gap:3px}
.pub-year-btn{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;border:0;border-left:3px solid transparent;border-radius:6px;background:transparent;color:var(--muted);padding:9px 9px;text-align:left;font-size:16px;line-height:1.25;font-weight:700}
.pub-year-btn:hover,.pub-year-btn.is-active{color:var(--navy-strong);background:var(--blue-soft);border-left-color:var(--navy)}
.pub-year-btn .pub-count{font-size:12px;font-weight:800;min-width:27px;text-align:center;background:var(--tint);color:var(--muted);border:1px solid var(--border);padding:2px 5px;border-radius:8px}
.pub-year-btn.is-active .pub-count{background:var(--paper);color:var(--navy)}
.pub-reading-main{min-width:0}
.pub-reading-main .publication-hint{display:none}
.pub-reading-main .publication-list{font-size:18px;line-height:1.68}
.publication-list>hr{display:none}
.pub-year-section{margin:0 0 32px;scroll-margin-top:125px}
.publication-list .pub-year-section>h2{font-size:27px;line-height:1.2;border-bottom:1px solid var(--border);padding:0 0 14px;margin:3px 0 17px;display:flex;align-items:baseline;gap:12px;color:var(--navy-strong)}
.pub-year-heading-count{font-size:13px;color:var(--muted);font-weight:700;letter-spacing:0;border-radius:6px;padding:4px 8px;background:var(--blue-soft)}
.publication-list .pub-year-section>ul{padding:0;list-style:none;margin:0;display:grid;gap:10px}
.publication-list .publication-item{margin:0;padding:0;list-style:none}
.publication-item .pub-entry{display:grid;grid-template-columns:32px minmax(0,1fr);gap:13px;background:var(--paper);border:1px solid var(--border);border-radius:12px;padding:22px 23px;transition:border-color .18s,box-shadow .18s}
.publication-item:hover .pub-entry{border-color:#9cbcc9;box-shadow:0 5px 20px rgba(18,57,80,.055)}
.pub-entry-number{font-size:12px;color:var(--accent);font-weight:800;padding-top:6px;font-variant-numeric:tabular-nums}
.pub-entry-main{min-width:0}
.pub-entry .pub-title{font-size:19px;font-weight:760;line-height:1.42;margin:0 0 10px;letter-spacing:-.012em}
.pub-entry .pub-title a{color:var(--navy-strong);text-decoration:none}
.pub-entry .pub-title a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.pub-entry .pub-authors{font-size:16.5px;line-height:1.65;color:var(--ink);margin:0 0 9px;overflow-wrap:normal}
.pub-entry .pub-citation{font-size:16px;line-height:1.6;color:var(--muted)}
.pub-entry .pub-citation em strong{font-style:italic;color:var(--navy-strong);font-weight:750}
.pub-entry .pub-citation a{font-size:15px}
.pub-entry .pub-citation p{display:inline;margin:0}
.pub-entry .pub-extra{font-size:15.5px;color:var(--ink);margin-top:11px;border-top:1px dashed var(--border);padding-top:11px}
.pub-entry .pub-extra blockquote{margin:0;padding:9px 14px;border-left-width:3px;font-size:15px}
.pub-entry .pub-extra blockquote p{margin:0}
.pub-entry .pub-extra a{font-size:15px}
.pub-entry .pub-authors u{font-weight:650;text-decoration-color:var(--accent);text-underline-offset:3px}
.pub-entry mark{background:#fce5a4;color:#243446;padding:0 2px;border-radius:3px}
.pub-empty-state{padding:32px 24px;background:var(--blue-palest);border-radius:12px;border:1px dashed var(--border);font-size:17px;color:var(--muted)}
.pub-year-label select{background:var(--paper)}
/* Journal and tools directories: searchable indexes, scan-friendly link tiles */
.directory-layout{padding-top:43px;padding-bottom:90px;grid-template-columns:252px minmax(0,1fr);gap:38px;align-items:start}
.directory-sidebar{border-radius:14px;border:1px solid var(--border);box-shadow:var(--shadow);background:var(--paper);top:108px;max-height:calc(100vh - 125px);overflow:auto}
.directory-sidebar>strong{font-size:15px}
.directory-sidebar .toc-jump,.directory-sidebar nav a{font-size:14.5px}
.directory-sidebar .directory-side-footer{margin:16px 11px 2px;padding-top:15px;border-top:1px solid var(--border);color:var(--muted);font-size:13px;line-height:1.5}
.directory-side-footer a{display:inline-block;margin-top:8px;font-size:13px;font-weight:800}
.directory-content{min-width:0}
.directory-explore{background:var(--blue-palest);border:1px solid var(--border);border-radius:15px;padding:23px 25px;margin:0 0 32px}
.directory-explore-title{color:var(--navy-strong);font-weight:800;font-size:21px;letter-spacing:-.015em;margin:0 0 5px}
.directory-explore p{font-size:16px;line-height:1.5;color:var(--muted);margin:0 0 17px}
.directory-explore-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.directory-explore .search-field{max-width:550px;flex:1 1 250px;background:var(--paper);height:50px}
.directory-explore .search-field input{font-size:17px}
.directory-explore .directory-tally{font-size:14px;color:var(--muted);font-weight:650}
.directory-explore .directory-tally strong{color:var(--navy-strong)}
.directory-major{margin:0 0 41px}
.directory-content .directory-major>h2{font-size:29px;margin:0 0 23px;padding:0 0 13px;border-bottom:1px solid var(--border);color:var(--navy-strong)}
.directory-category{margin:0 0 25px;scroll-margin-top:115px}
.directory-content .directory-category>h3{font-size:21px;font-weight:760;margin:0 0 12px;display:flex;align-items:center;gap:12px;color:var(--ink-strong)}
.directory-category>h3:before{content:"";display:inline-block;width:5px;height:20px;border-radius:4px;background:var(--accent)}
.directory-content .directory-link-grid{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0!important;padding:0!important}
.directory-content .directory-link-grid>li{min-width:0;margin:0!important;padding:0!important;list-style:none}
.directory-link-grid>li>a{display:flex;align-items:center;justify-content:space-between;min-height:58px;width:100%;padding:13px 16px;border:1px solid var(--border);border-radius:9px;background:var(--paper);color:var(--ink-strong);font-size:16.5px;line-height:1.42;font-weight:610;text-decoration:none!important;transition:border-color .16s,background .16s,transform .16s;overflow-wrap:anywhere}
.directory-link-grid>li>a:hover{background:var(--blue-palest);border-color:var(--accent);color:var(--navy-strong);transform:translateY(-1px)}
.directory-link-grid>li>a:after{content:'↗';font-size:15px;font-weight:700;color:var(--accent);margin-left:13px;opacity:.66;flex-shrink:0}
.directory-link-grid>li>a strong,.directory-link-grid>li>a em{font:inherit}
.directory-link-grid>li:not(:has(>a)){font-size:17px;padding:12px!important;line-height:1.55}
.directory-major>.directory-link-grid{margin-top:14px!important}
.directory-content .directory-major>hr{display:none}
.directory-no-results{padding:25px;margin:20px 0;background:var(--blue-palest);border:1px dashed var(--border);border-radius:12px;font-size:17px}
.directory-content>hr{display:none}
/* Keep large reading sizes on all article and info pages. */
.directory-content,.article-content{font-size:18px}
@media(max-width:1020px){.pub-reading-layout{grid-template-columns:145px minmax(0,1fr);gap:23px}.directory-layout{grid-template-columns:205px minmax(0,1fr);gap:22px}.directory-content .directory-link-grid{grid-template-columns:1fr}}
@media(max-width:760px){.pub-reading-layout{grid-template-columns:1fr}.pub-year-rail{position:static;max-height:none;padding:12px}.pub-year-buttons{display:flex;gap:5px;overflow-x:auto}.pub-year-btn{width:auto;min-width:72px;flex-shrink:0}.pub-rail-caption{margin:4px 7px 9px}.pub-toolbar{padding:13px;flex-wrap:wrap}.pub-toolbar .search-field{max-width:none}.pub-toolbar .pub-year-label{display:none}.pub-collection-summary{padding:8px 2px 18px}.directory-layout{grid-template-columns:1fr;gap:22px}.directory-sidebar{position:static;max-height:230px}.directory-content .directory-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:570px){.publication-item .pub-entry{grid-template-columns:1fr;padding:18px 17px;gap:4px}.pub-entry-number{display:none}.pub-entry .pub-title{font-size:19px}.pub-entry .pub-authors{font-size:16px}.pub-collection-summary{font-size:15px}.directory-explore{padding:18px 16px}.directory-content .directory-link-grid{grid-template-columns:1fr}.directory-content .directory-major>h2{font-size:25px}.directory-link-grid>li>a{font-size:16.5px}.pub-year-section{margin-bottom:25px}}
@media(prefers-reduced-motion:reduce){.directory-link-grid>li>a,.publication-item .pub-entry{transition:none}}

/* V7: edit-only Markdown accolades, clean search, refined long-page rhythm */
.pub-toolbar{justify-content:flex-start;padding:15px 19px;margin-bottom:9px}
.pub-toolbar .search-field{max-width:none;width:100%;height:52px}
.pub-collection-summary{padding:7px 3px 21px;font-size:15px;color:var(--muted)}
.pub-collection-summary strong{color:var(--navy-strong)}
.pub-entry-badges{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:13px}
.pub-accolade{display:inline-flex;align-items:center;padding:4px 9px;border-radius:6px;line-height:1.45;font-size:13px;letter-spacing:.005em;font-weight:750;border:1px solid transparent;white-space:nowrap}
.pub-accolade--featured{background:var(--blue-soft);border-color:var(--border);color:var(--navy-strong)}
.pub-accolade--cited{background:#e6f2f0;color:#21695f;border-color:#c9e6de}
:root[data-theme="dark"] .pub-accolade--cited{background:#1f4342;color:#b4e6d8;border-color:#366b63}
.pub-entry .pub-citation:empty{display:none}
.pub-entry .pub-title a:focus-visible{outline-offset:3px;border-radius:3px}
.pub-year-section>h2{scroll-margin-top:110px}
.site-back-to-top{display:grid;place-items:center;position:fixed;right:25px;bottom:25px;z-index:15;width:44px;height:44px;border:1px solid var(--border);border-radius:50%;background:var(--paper);color:var(--navy);box-shadow:0 7px 20px rgba(10,40,56,.13);font-size:22px;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(9px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease}
.site-back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.site-back-to-top:hover{background:var(--blue-soft);border-color:var(--accent)}
@media(max-width:570px){.pub-toolbar{padding:12px}.site-back-to-top{right:15px;bottom:15px;width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){.site-back-to-top{transition:none}}

/* V8: optional graphical abstract illustrations, dark top button, WeChat footer */
.publication-item .pub-entry.has-figure{grid-template-columns:32px minmax(0,1fr) 168px;gap:13px 17px;align-items:start}
.pub-entry.has-figure .pub-entry-number{grid-column:1;grid-row:1}
.pub-entry.has-figure .pub-entry-main{grid-column:2;grid-row:1}
.pub-illustration{grid-column:3;grid-row:1;align-self:center;margin:0;min-width:0;background:var(--blue-palest);border:1px solid var(--border);border-radius:9px;padding:6px;overflow:hidden}
.pub-illustration img{width:100%;height:120px;object-fit:contain;display:block;border-radius:5px}
.pub-illustration figcaption{text-align:center;font-size:10px;font-weight:650;color:var(--muted);line-height:1.25;margin-top:5px}
.publication-item .pub-entry-number{display:inline-flex;align-items:center;justify-content:center;width:30px;min-height:29px;background:var(--blue-soft);border-radius:7px;color:var(--navy-strong);font-size:12px;padding:0;font-variant-numeric:tabular-nums}
.pub-entry.has-figure .pub-extra:empty{display:none}
.hero-science-slide img{transition:transform 1.05s ease;transform:scale(1.035)}
.hero-science-slide.is-active img{transform:scale(1)}
.hero-science-caption strong{animation:hero-caption-in .43s both}
@keyframes hero-caption-in{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}
.footer-main{grid-template-columns:1.35fr .8fr 1.05fr 166px;gap:32px}
.footer-main .footer-wechat{min-width:0}
.footer-wechat strong{display:block;margin-bottom:12px;font-size:15px;color:var(--ink-strong)}
.footer-wechat img{background:#fff;display:block;width:142px;height:142px;border:1px solid var(--border);padding:7px;border-radius:10px;object-fit:contain}
.footer-wechat span{display:block;max-width:160px;margin-top:7px;font-size:11px;color:var(--muted);line-height:1.45}
.site-back-to-top{width:51px;height:51px;right:23px;bottom:24px;background:#124966!important;border-color:#124966!important;color:#fff!important;box-shadow:0 10px 28px rgba(10,45,68,.25);z-index:50}
.site-back-to-top:hover{background:#0b3651!important;border-color:#0b3651!important;transform:translateY(-3px)}
.site-back-to-top svg{display:block;flex-shrink:0}
.site-back-to-top:focus-visible{outline:3px solid #6dc7d0;outline-offset:3px}
.site-back-to-top:not(.is-visible){pointer-events:none}
@media(max-width:1120px){.footer-main{grid-template-columns:1fr 1fr;gap:26px}.footer-main>div:last-child{grid-column:auto}}
@media(max-width:860px){.publication-item .pub-entry.has-figure{grid-template-columns:30px minmax(0,1fr) 124px}.pub-illustration img{height:100px}}
@media(max-width:570px){.footer-main{grid-template-columns:1fr;gap:21px}.footer-main>div:last-child{grid-column:auto}.publication-item .pub-entry.has-figure{grid-template-columns:1fr}.pub-entry.has-figure .pub-entry-number{grid-column:1;grid-row:1}.pub-entry.has-figure .pub-entry-main{grid-column:1;grid-row:2}.pub-entry.has-figure .pub-illustration{grid-column:1;grid-row:3;width:min(100%,230px);margin-top:4px}.site-back-to-top{right:15px;bottom:15px;width:48px;height:48px}}
@media(prefers-reduced-motion:reduce){.hero-science-slide img{transition:none;transform:none}.hero-science-caption strong{animation:none!important}}

/* V9 — concise page titles and consistent square publication numbers */
.page-heading{padding-top:45px;padding-bottom:42px}
.page-heading h1{margin-top:0}
.hero-copy h1{margin-top:0}
.single-page>h1{margin-top:9px}
/* The square is anchored inside the upper-left corner of each paper card.
   Use the same layout for plain citations and optional graphical abstracts. */
.publication-item .pub-entry,
.publication-item .pub-entry.has-figure{position:relative;display:grid;grid-template-columns:minmax(0,1fr);padding:22px 23px 22px 73px;gap:0;align-items:start}
.publication-item .pub-entry.has-figure{grid-template-columns:minmax(0,1fr) 168px;column-gap:17px}
.publication-item .pub-entry-number,
.pub-entry.has-figure .pub-entry-number{position:absolute;top:22px;left:23px;width:32px;height:32px;min-height:32px;display:grid;place-items:center;border-radius:6px;background:var(--blue-soft);color:var(--navy-strong);font-size:13px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;padding:0;grid-column:auto!important;grid-row:auto!important}
.pub-entry .pub-entry-main,.pub-entry.has-figure .pub-entry-main{grid-column:1;grid-row:1;min-width:0}
.pub-entry.has-figure .pub-illustration{grid-column:2;grid-row:1}
@media(max-width:860px){.publication-item .pub-entry.has-figure{grid-template-columns:minmax(0,1fr) 126px;column-gap:12px}}
@media(max-width:570px){
 .page-heading{padding-top:34px;padding-bottom:31px}
 .publication-item .pub-entry,
 .publication-item .pub-entry.has-figure{grid-template-columns:minmax(0,1fr);padding:18px 16px 18px 61px;gap:6px}
 .publication-item .pub-entry-number,
 .pub-entry.has-figure .pub-entry-number{left:16px;top:18px;width:31px;height:31px;min-height:31px;display:grid}
 .pub-entry.has-figure .pub-illustration{grid-column:1;grid-row:2;max-width:230px;margin:9px 0 0}
}

/* V10: homepage content controls, readable tagline, and full-width Projects introduction. */
.project-listing-page > .section-intro{max-width:none;width:100%}
.hero-motto{font-size:28px;line-height:1.4;font-weight:650;letter-spacing:-.015em;font-style:normal;color:var(--navy-strong);margin-top:34px}
.hero-science-slide .hero-slide-link{display:block;width:100%;height:100%;border-radius:9px;overflow:hidden}
.hero-science-slide .hero-slide-link:focus-visible{outline:3px solid var(--accent);outline-offset:-4px}
.hero-science-slide.is-cover img{object-fit:cover;padding:0}
@media(max-width:800px){.hero-motto{font-size:clamp(22px,5vw,28px)}}


/* V11: lab responsibility badges, brighter publication accolades, journal mini-marks. */
.member-info h3,.member-profile-heading{display:flex;align-items:center;flex-wrap:wrap;gap:5px 7px}
.member-lab-badges{display:inline-flex;align-items:center;gap:5px;vertical-align:middle}
.member-lab-badge{position:relative;display:inline-grid;place-items:center;flex:none;width:24px;height:24px;border-radius:7px;background:#e2f0f5;border:1px solid #c4dde8;color:#145775;cursor:help}
.member-lab-badge svg{width:15px;height:15px;display:block}
.member-lab-badge:hover,.member-open:focus-visible .member-lab-badge{background:#124966;border-color:#124966;color:white}
.member-lab-badge::after{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 9px);left:50%;transform:translate(-50%,4px);z-index:90;white-space:normal;width:max-content;max-width:225px;min-width:135px;padding:9px 11px;border-radius:8px;background:#123d58;box-shadow:0 7px 20px rgba(14,45,64,.22);color:white;font:600 12px/1.4 system-ui,-apple-system,sans-serif;text-align:left;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .13s,transform .13s}
.member-lab-badge:hover::after,.member-open:focus-visible .member-lab-badge::after{opacity:1;visibility:visible;transform:translate(-50%,0)}
.member-profile-heading .member-lab-badge{width:30px;height:30px}
.member-profile-heading .member-lab-badge svg{width:18px;height:18px}
.member-card .member-info{overflow:visible}
.member-card{overflow:visible}
.pub-entry-badges{display:flex!important;align-items:center;gap:7px;flex-wrap:wrap;margin-top:11px;margin-bottom:3px}
.pub-entry .pub-accolade{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:5px 10px;line-height:1.25;font-size:12.5px;font-weight:800;letter-spacing:.012em;box-shadow:0 2px 6px rgba(11,51,74,.08)}
.pub-entry .pub-accolade--featured{color:#fff;background:#124966;border:1px solid #124966}
.pub-entry .pub-accolade--cited{color:#07564c;background:#d9f1e9;border:1px solid #95d3bf}
:root[data-theme="dark"] .pub-entry .pub-accolade--featured{background:#3787a8;color:#fff;border-color:#3787a8}
:root[data-theme="dark"] .pub-entry .pub-accolade--cited{background:#215b51;color:#d3fff0;border-color:#468c7c}
.directory-content .directory-link-grid>li>a{justify-content:flex-start;gap:11px}
.directory-link-grid>li>a:after{margin-left:auto}
.directory-link-grid .journal-logo{width:36px;height:36px;min-width:36px;flex:0 0 36px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;object-fit:contain}
.directory-link-grid .journal-logo--image{background:#fff;padding:2px;border:1px solid var(--border)}
.directory-link-grid .journal-logo--fallback{color:#fff;font-size:11px;letter-spacing:-.025em;font-weight:800;border:1px solid transparent}
.directory-link-grid .journal-logo--marine{background:#23607c}
.directory-link-grid .journal-logo--forest{background:#4c846d}
.directory-link-grid .journal-logo--slate{background:#5a728a}
.directory-link-grid .journal-logo--teal{background:#267b82}
.directory-link-grid .journal-logo--violet{background:#686b9d}
.directory-link-grid>li>a strong,.directory-link-grid>li>a em{min-width:0}
@media (max-width:680px){.member-lab-badge::after{left:0;transform:translateY(4px)}.member-lab-badge:hover::after,.member-open:focus-visible .member-lab-badge::after{transform:translateY(0)}.directory-link-grid .journal-logo{width:32px;height:32px;min-width:32px;flex-basis:32px}}

/* V12 — Compact, accessible live filter counts for News topics and Members. */
.tag-filter-chips .chip,.member-filters .chip{display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap}
.filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:7px;background:var(--blue-soft);color:var(--navy);font-size:11.5px;font-weight:800;line-height:1;letter-spacing:0;font-variant-numeric:tabular-nums}
.chip.is-active .filter-count{background:var(--navy);color:#fff}
.chip:hover:not(.is-active) .filter-count{background:var(--tint)}
@media(max-width:560px){.tag-filter-chips .chip,.member-filters .chip{gap:6px}.filter-count{height:20px;min-width:20px;padding:0 5px;font-size:11px}}

/* Resources category sections (V13). Kept scoped to Resources only. */
.resources-listing-page .resource-category-section + .resource-category-section{margin-top:55px;padding-top:39px;border-top:1px solid var(--border)}
.resources-listing-page .resource-category-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 24px}
.resources-listing-page .resource-category-heading h2{margin:0;padding-left:15px;border-left:4px solid var(--navy);font-size:clamp(22px,2.6vw,28px);line-height:1.3;color:var(--ink-strong);font-weight:800}
.resources-listing-page .resource-category-count{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:var(--blue-soft);color:var(--navy);font-size:13px;font-weight:750;white-space:nowrap;padding:7px 12px}
@media(max-width:560px){.resources-listing-page .resource-category-section + .resource-category-section{margin-top:38px;padding-top:27px}.resources-listing-page .resource-category-heading{margin-bottom:18px}.resources-listing-page .resource-category-heading h2{font-size:23px}.resources-listing-page .resource-category-count{font-size:12px}}
