@font-face{font-family:"DM Sans";font-style:normal;font-weight:400 750;font-display:swap;src:url("fonts/dmsans.woff2") format("woff2")}
@font-face{font-family:"STIX Two Text";font-style:normal;font-weight:400 700;font-display:swap;src:url("fonts/stixtwotext.woff2") format("woff2")}
:root {
    color-scheme:light;--ink:#172c23;--deep:#163f30;--olive:#557b47;
    --muted:#51665b;--line:#d8e3d8;--wash:#f4f7f0;--paper:#fdfefb;
    font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
    font-synthesis:none;text-rendering:optimizeLegibility;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--paper);color:var(--ink);font-size:16px;line-height:1.55}
h1,h2,h3,p,ul,dl,figure{margin:0}
h1,h2,h3{line-height:1.16;text-wrap:pretty;overflow-wrap:anywhere}
h1,h2{color:var(--deep);font-family:"STIX Two Text",Georgia,serif;font-weight:550;letter-spacing:-.038em}
h1{font-size:clamp(2.3rem,5vw,3.8rem)}h2{font-size:clamp(1.5rem,3.3vw,2.05rem)}h3{font-size:1.12rem}
p,td,dd{overflow-wrap:anywhere}a{color:#27573e;text-underline-offset:.19em;text-decoration-thickness:.08em}a:hover{color:#132e1e}
button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}input,textarea,select{color:var(--ink)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #578d51;outline-offset:3px}
img{max-width:100%}[hidden]{display:none!important}
.shell{width:calc(100% - 72px);max-width:1240px;margin-left:auto;margin-right:auto}.content{flex:1;padding-block:30px 70px}
.content.internal{padding-top:39px}.content.internal:not(:has(.lab-directory)){max-width:1020px}
.mast{border-top:4px solid #204b37;border-bottom:1px solid var(--line);background:#fff}
.mast-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:85px}
.brand{display:inline-flex;align-items:center;min-width:0;color:var(--deep);text-decoration:none}
.brand img{width:42px;height:44px;margin-right:11px;object-fit:contain;flex:none}.brand span{display:grid;min-width:0;gap:2px;line-height:1.12;overflow-wrap:anywhere}
.brand strong{font-size:1.04rem;letter-spacing:-.035em}.brand small{font-size:.77rem;color:var(--muted);font-weight:500;letter-spacing:.02em}
.main-nav,.mast-actions,.workspace-nav,.foot-inner,.foot-inner>div:last-child{display:flex;align-items:center}
.main-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 12px}
.mast-actions a+a{margin-left:16px}
.main-nav a,.mast-actions a,.workspace-nav a,.text-button{color:#344b3e;text-decoration:none;font-weight:650;font-size:.9rem}
.main-nav a:hover,.main-nav a[aria-current],.workspace-nav a:hover,.workspace-nav a[aria-current],.text-button:hover{text-decoration:underline;text-underline-offset:.35em}
.mast-actions .join-link{border-radius:6px;background:#254f3b;color:white;padding:9px 16px;display:flex;gap:9px}.join-link:hover{background:#173e2b}
.mast-actions .edit-profile-nav{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;white-space:nowrap;border-radius:6px;background:#254f3b;color:#fff}
.mast-actions .edit-profile-nav:hover,.mast-actions .edit-profile-nav[aria-current]{background:#173e2b;text-decoration:underline;text-underline-offset:.22em}
.workspace-bar{background:#eff5eb;border-bottom:1px solid var(--line)}.workspace-nav{flex-wrap:wrap;padding:2px 0}
.workspace-nav a,.workspace-nav .text-button{display:inline-flex;align-items:center;min-height:44px;padding:6px 11px}
.workspace-nav form{margin-left:auto}.text-button{border:0;padding:2px 0;cursor:pointer;background:transparent}
.nav-count,.pill{display:inline-block;border-radius:5px;background:#e7f0df;color:#264b32;font-weight:650;font-size:.8rem;padding:3px 8px}
.nav-count{font-size:.72rem;background:#315c43;color:white;padding:0 6px}
.site-footer{border-top:1px solid var(--line);background:#f2f6ef;color:#405748}
.foot-inner{padding-block:26px;gap:20px 50px;justify-content:space-between}.foot-inner strong{font-size:.94rem;color:var(--ink)}.foot-inner p{font-size:.85rem;margin-top:3px}.foot-inner>div:last-child{gap:18px;white-space:nowrap}.foot-inner a{font-size:.83rem}
.skip{position:absolute;left:12px;top:-80px;background:#fff;padding:10px 16px;z-index:4}.skip:focus{top:6px}
.page-head{margin-bottom:24px;max-width:850px}.page-head>p{margin:9px 0;color:var(--muted)}.page-head>a.btn{margin-top:10px}
.eyebrow{font:700 .73rem/1.5 "DM Sans",sans-serif;letter-spacing:.11em;color:#4d6c4d!important;text-transform:uppercase;margin-bottom:8px}
.card,.stat{border:1px solid var(--line);background:#fff;border-radius:12px;padding:clamp(18px,3vw,30px);min-width:0}
.card+.card,.card+section,.internal>section+.card,.card+.notice,.notice+.card,.notice+header,.section-tabs+.stack,.account-links{margin-top:18px}
.stack{display:grid;gap:17px;align-content:start;min-width:0}.stack>.card+.card,.stack>.card+section{margin-top:0}
.notice{border:1px solid #bfd4b4;background:#edf5e7;border-radius:8px;color:#274730;padding:15px 18px;margin:0 0 16px}
.notice[role=alert],.error-card{border-color:#c98155}.notice[role=alert]{color:#6d3517;background:#fff4e8}
.notice code{font-size:clamp(.82rem,1.9vw,1.1rem);overflow-wrap:anywhere}
.grid,.form-grid,.stats-grid,.admin-cols{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-block:18px}
.stat{display:flex;flex-direction:column;gap:3px}.stat span{color:var(--muted);font-size:.87rem}.stat strong{font:550 2.6rem/1.05 "STIX Two Text",Georgia,serif;color:var(--deep)}
.admin-cols{grid-template-columns:1.5fr 1fr;align-items:start}.metric-row,.section-head,.row,.section-tabs{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap}.section-head,.metric-row{justify-content:space-between}.row{align-items:end}.section-tabs{border-bottom:1px solid var(--line);gap:2px 14px;margin-bottom:22px}.section-tabs a{padding:8px 2px;font-size:.91rem;text-decoration:none;border-bottom:2px solid transparent}.section-tabs a[aria-current]{font-weight:700;border-color:#315a3c}
.field{display:flex;flex-direction:column;align-items:stretch;gap:5px;font-weight:620;min-width:0;font-size:.91rem}
.field input,.field select,.field textarea,.row input:not([type=hidden]){width:100%;padding:10px 13px;border:1px solid #b9cbbd;border-radius:6px;background:#fff;color:var(--ink);font-weight:450;min-height:43px}
.field input[type=file]{padding:7px;max-width:100%;font-size:.85rem}
.field input[type=file]::file-selector-button{border:0;border-radius:4px;padding:6px 8px;background:#ebf2e6;color:var(--deep);cursor:pointer;margin-right:8px}
.field textarea{resize:vertical;line-height:1.55;min-height:72px}
.field small,.muted{color:var(--muted);font-weight:400}.field small{font-size:.82rem}
.check{display:flex;gap:10px;align-items:flex-start;font-weight:550}.check input[type=checkbox]{margin:3px 0 0;min-height:18px;min-width:18px;accent-color:#355d40}
.btn,.btn:visited{font-family:inherit;display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:42px;border:1px solid #28533d;border-radius:6px;background:#28533d;color:#fff;padding:8px 15px;font-size:.91rem;font-weight:650;text-decoration:none;cursor:pointer}
.btn:hover{color:#fff;background:#1e422e}.btn.secondary{background:white;color:#2c5039;border-color:#b5c8b3}.btn.secondary:hover{background:#eff5eb}
.table-wrap{max-width:100%;overflow-x:auto}.table-wrap table{width:100%;border-collapse:collapse;text-align:left}.table-wrap th,.table-wrap td{padding:9px 12px;border-bottom:1px solid var(--line);font-size:.88rem}
.table-wrap th{color:var(--muted);font-size:.77rem}.community-item+.community-item{border-top:1px solid var(--line);padding-top:13px}
.community-item p+p,.community-item h3+p,.card>p +p{margin-top:5px}.community-item{overflow-wrap:anywhere}
details>summary{cursor:pointer;color:#30563c;font-weight:600}details[open]>summary{margin-bottom:16px}
.account-links{margin-bottom:20px}.reading,.account-form{max-width:860px}
.internal>form.account-form{max-width:820px}.internal>form.account-form:has(input[autocomplete=username]){max-width:540px}
@media(max-width:800px){.mast-inner{display:grid;grid-template-columns:1fr auto;gap:10px;padding-top:15px}.main-nav{grid-row:2;grid-column:1/-1;border-top:1px solid var(--line);justify-content:center}.mast-actions{grid-column:2;grid-row:1}.shell{width:calc(100% - 40px)}.admin-cols{grid-template-columns:1fr}.foot-inner{flex-wrap:wrap}}
@media(max-width:540px){.shell{width:calc(100% - 28px)}.mast-inner{gap:10px 7px}.brand img{width:32px;height:34px;margin-right:6px}.brand strong{font-size:.85rem}.brand small{font-size:.67rem}.mast-actions a+a{margin-left:8px}.mast-actions a,.main-nav a{font-size:.79rem}.mast-actions .join-link{padding:6px 9px}.content{padding-block:16px 38px}.content.internal{padding-top:24px}.form-grid,.grid,.stats-grid{grid-template-columns:1fr}.workspace-nav a,.workspace-nav .text-button{padding:5px 7px}.workspace-nav a,.text-button{font-size:.8rem}.workspace-nav form{margin-left:0}.foot-inner{padding-block:20px;gap:10px}.reading .card,.card{padding:17px}.stats-grid{gap:7px}.stat{flex-direction:row;align-items:center;justify-content:space-between;padding:12px 16px}.stat strong{font-size:1.8rem}.row{align-items:center}.section-tabs{gap:3px 9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.mast { border-top: 0; }
.network-bar { color: #fff; background: #214b3a; }
.network-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1rem; }
.network-links > span { display: inline-grid; grid-auto-flow: column; align-items: center; column-gap: clamp(.75rem, 2vw, 1.5rem); }
.network-links a { display: inline-flex; align-items: center; min-height: 32px; color: #f5f9ee; font-size: .8rem; line-height: 1.35; font-weight: 550; text-decoration: none; }
.network-links a:hover { color: #fff; text-decoration: underline; }
.network-links a:focus-visible { outline-color: #f4e4a1; outline-offset: 1px; }
@media (min-width: 801px) and (max-width: 1060px) {
    .mast-inner { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding-top: 15px; }
    .main-nav { grid-row: 2; grid-column: 1 / -1; border-top: 1px solid var(--line); justify-content: center; }
    .mast-actions { grid-column: 2; grid-row: 1; }
}
@media (max-width: 540px) {
    .network-links { padding-top: 2px; padding-bottom: 2px; }
    .network-links a { min-height: 29px; }
    .main-nav { display: grid; grid-template-columns: repeat(5, minmax(0, auto)); }
    .main-nav a { padding-inline: clamp(3px, 1.5vw, 8px); line-height: 1.2; text-align: center; }
}
