/* Shared header, including reader and editor pages. */
body>.site-header.site-header{position:fixed;inset:0 0 auto;z-index:100;display:flex;align-items:center;min-height:46px;height:46px;padding:3px clamp(18px,4vw,76px);gap:20px;background:rgb(10 18 27 / 74%);border:0;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#faf6ef;overflow:visible}
.site-header .header-brand-row,.site-header .header-account-row{display:contents}
.site-header .compact-identity{display:none}
.site-header .identity{flex:none;margin:0;z-index:2}
body>.site-header .identity img{display:block;width:90px;height:32px;object-fit:contain;object-position:left center;transform-origin:left top;transition:transform .45s ease}
.site-header #main-nav{margin-left:auto;display:flex;align-items:center;gap:24px;position:static;background:none;padding:0;flex-wrap:nowrap}
.site-header #main-nav a{color:inherit;font-size:14px;white-space:nowrap}
.site-header .site-account{display:flex;align-items:center;gap:6px}
.site-header .site-account summary{min-height:34px;padding:3px 9px;font-size:13px}
.site-header .account-avatar{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;background:#d9ba8b;color:#172330;font:600 11px/1 Manrope,Arial,sans-serif}
.site-header .site-account summary .account-avatar{max-width:none}
.site-header .menu-toggle{display:none}
.site-header .header-people{display:none}
.site-header .menu-toggle .ui-icon,.site-header .header-people .ui-icon{display:block;width:23px;height:23px;flex:none}
.site-header .site-account .header-moderation{display:grid;grid-template-rows:20px 12px;gap:1px;width:44px;height:40px;padding:3px 2px;min-height:40px}
.site-header .header-moderation svg{width:19px;height:19px}
.site-header .moderation-counts{display:flex;align-items:center;justify-content:center;gap:3px;font:500 9px/1 Manrope,Arial,sans-serif;white-space:nowrap}
.site-header .moderation-counts b{color:#f7d59f;font-weight:800}
body:not(.home-page):not(.reader-page):not(.section-page):not(.editor-page){padding-top:46px}
@media(hover:hover) and (min-width:761px){body>.site-header .identity:hover img,body>.site-header .identity:focus-visible img{transform:scale(2)}}
@media(min-width:761px) and (max-width:1100px){.site-header #main-nav{gap:12px}.site-header .header-moderation{display:none}.site-header .site-account summary .account-name{max-width:90px}}
@media(max-width:760px){
 body>.site-header.site-header{position:sticky;inset:auto;top:-80px;display:block;height:130px;min-height:130px;margin:0;padding:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;transition:height .2s ease,min-height .2s ease}
 .site-header .header-brand-row{height:80px;padding:10px 18px;display:flex;align-items:center;background:rgb(10 18 27 / 94%)}
 body>.site-header .identity img{width:152px;height:56px}
 .site-header .header-account-row{height:50px;display:flex;align-items:center;gap:9px;padding:5px 16px;background:rgb(10 18 27 / 90%);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:height .2s ease,background .2s ease,padding .2s ease}
 .site-header .site-account{flex:1;min-width:0;justify-content:flex-end;gap:7px;order:0}
 .site-header .site-account details{order:-1;margin-right:auto;min-width:0}
 .site-header .site-account summary{min-height:34px;border:0;padding:2px 0;gap:7px}
 .site-header .site-account summary .account-name{max-width:140px}
 .site-header .site-account .header-quick{display:grid;width:32px;height:32px;min-height:32px;padding:6px;background:transparent}
 .site-header .site-account .header-quick[href="/people"]{display:none}
 .site-header .header-people{position:absolute;top:18px;right:66px;display:grid;place-items:center;width:44px;height:44px;color:inherit;z-index:5}
 .site-header .compact-identity{display:block;width:0;opacity:0;overflow:hidden;flex:none;transition:width .25s ease,opacity .25s ease}
 .site-header .compact-identity img{display:block;width:30px;height:30px;object-fit:contain}
 .site-header .menu-toggle{position:absolute;display:grid;place-content:center;gap:5px;top:18px;right:16px;margin:0;width:44px;height:44px;min-height:44px;border:0;border-radius:50%;padding:10px;background:#10192355;color:#faf6ef;z-index:5;transition:top .25s ease,background .25s ease}
 .site-header .menu-toggle span{display:block;height:1px;width:20px;background:currentColor}
 .site-header #main-nav{display:none;position:absolute;top:100%;left:0;right:0;margin:0;padding:18px;gap:8px;background:#0e1825f5;box-shadow:0 12px 24px #0004;max-height:calc(100dvh - 50px);overflow:auto}
 .site-header #main-nav.open{display:grid}.site-header #main-nav a{padding:10px;font-size:17px;white-space:normal}
 body>.site-header.is-compact{height:124px;min-height:124px}
 .site-header.is-compact .header-account-row{height:48px;padding:2px 110px 2px 12px;gap:20px;background:rgb(10 18 27 / 68%)}
 .site-header.is-compact .compact-identity{width:30px;opacity:1}
 .site-header.is-compact .site-account summary .account-name{display:none}
 body>.site-header.is-compact{height:128px;min-height:128px}
 .site-header.is-compact .menu-toggle{top:82px;right:12px;width:44px;height:44px;min-height:44px}
 .site-header.is-compact .header-people{top:82px;right:60px}
 .site-header.is-compact .site-account{gap:2px}
 .site-header.is-compact .site-account summary{width:40px;min-height:44px;justify-content:center;padding:0}
 .site-header.is-compact .site-account summary img,.site-header.is-compact .account-avatar{width:28px;height:28px}
 .site-header.is-compact .site-account .header-quick{width:36px;height:44px;min-height:44px;padding:8px}
 .site-header.is-compact .site-account .header-moderation{width:36px;padding:4px 0}
 body:not(.home-page):not(.reader-page):not(.section-page):not(.editor-page){padding-top:0}
}
@media(prefers-reduced-motion:reduce){body>.site-header .identity img,.site-header .menu-toggle,.site-header .header-account-row,.site-header .compact-identity{transition:none}}
@media(max-width:360px){.site-header.is-compact .site-account{gap:0}.site-header.is-compact .header-account-row{gap:16px}}
.header-create{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;color:#f6eddd;background:#ffffff09}.header-create .ui-icon,.service-nav-link .ui-icon{width:22px;height:22px}.service-nav-link{display:inline-grid;place-items:center;min-width:32px}.header-create:hover{background:#ffffff20}
.site-header .header-quick{position:relative}.header-count{position:absolute;right:-3px;top:-3px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 3px;box-sizing:border-box;border-radius:12px;background:#c72f3c;color:white;font:700 10px/1 Arial,sans-serif;box-shadow:0 0 0 1px #142133}.header-count[hidden]{display:none!important}.site-header .mod-counter{display:inline-grid;place-items:center;min-width:14px;border-radius:8px;padding:2px;font:700 9px/1 Arial,sans-serif}.site-header .mod-counter.is-zero{background:#777b8130;color:#a3a6ab}.site-header .mod-total.has-count{background:#2869b4;color:#fff}.site-header .mod-new.has-count{background:#c72f3c;color:#fff}
.school-medal-badge{display:inline-flex;align-items:center;gap:3px;vertical-align:middle;color:#e5bd54;white-space:nowrap;font:10px/1 Manrope,Arial,sans-serif}.school-medal-badge svg{width:15px;height:19px;display:block;flex:none}.school-medal-badge small{font:10px/1 Manrope,Arial,sans-serif}.profile-story h1>.school-medal-badge{margin-left:7px}.profile-story h1>.school-medal-badge svg{width:19px;height:23px}

.service-nav-title{display:none}@media(max-width:760px){#main-nav .service-nav-link{display:flex;justify-content:flex-start;gap:12px}#main-nav .service-nav-title{display:inline}}

.service-nav-title.has-custom-title{display:inline}.service-nav-link:has(.has-custom-title){display:inline-flex;gap:8px}
.parent-section-link{position:fixed;z-index:15;inset:112px auto auto clamp(12px,4vw,72px);display:flex;align-items:center;gap:6px;max-width:140px;padding:7px 10px;border:1px solid #bda68086;border-radius:18px;background:rgb(17 38 55 / 50%);color:#fff3df!important;font:600 12px/1.25 Manrope,Arial,sans-serif;text-decoration:none;backdrop-filter:blur(9px)}
.parent-section-link svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.parent-section-link span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
@media(max-width:760px){.parent-section-link{inset:90px auto auto 8px;padding:7px}.parent-section-link span{display:none}}
.publication-updates{position:fixed;z-index:24;left:50%;bottom:24px;transform:translateX(-50%);padding:10px 17px;border:1px solid #c6ad87;border-radius:20px;background:#18334af5;color:#fff5df;box-shadow:0 5px 18px #0007;cursor:pointer;white-space:nowrap}

.section-floating-nav{
 position:fixed;z-index:15;inset:112px auto auto clamp(12px,4vw,72px);
 display:flex;flex-direction:column;align-items:flex-start;gap:6px
}
.section-floating-nav .parent-section-link{position:static;box-sizing:border-box;cursor:pointer}
.section-floating-nav [hidden]{display:none}
.section-floating-nav [aria-pressed=true]{border-color:#f0d3aa;background:rgb(17 38 55 / 78%)}
.section-publications[data-section-reversible]{scroll-margin-top:var(--site-header-height,72px)}
@media(max-width:760px){
 .section-floating-nav{inset:90px auto auto 8px}
}

.section-floating-nav{align-items:stretch}
.section-page .section-floating-nav button.parent-section-link{
 display:flex;align-items:center;justify-content:flex-start;gap:6px;max-width:140px;
 padding:7px 10px;border:1px solid #bda68086;border-radius:18px;
 background:rgb(17 38 55 / 50%);color:#fff3df;font:600 12px/1.25 Manrope,Arial,sans-serif;
 text-align:left;backdrop-filter:blur(9px)
}
.section-page .section-floating-nav button.parent-section-link[hidden]{display:none}
.section-page .section-floating-nav button.parent-section-link[aria-pressed=true]{border-color:#f0d3aa}
@media(max-width:760px){
 .section-page .section-floating-nav button.parent-section-link{padding:7px}
}
