/* One sticky band for identity, location, status and contextual navigation. */
body.kg-header-ready > header{position:sticky;top:0;z-index:30;margin:0;padding:12px max(24px,6%);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;background:var(--paper,#f5f0e8);border-bottom:1px solid var(--sand,#d7c4b2);}
.kg-header-identity{display:flex;align-items:center;gap:22px;min-width:0;flex:1;}
body.kg-header-ready > header .brand,body.kg-header-ready > header .curation-client-brand{flex-shrink:0;gap:12px;}
body.kg-header-ready > header .brand img,body.kg-header-ready > header .curation-client-brand img{width:48px;height:48px;object-fit:contain;}
.kg-header-title{font:normal 22px/1.25 Newsreader,Georgia,serif;margin:0;overflow-wrap:normal;min-width:0;}
.kg-has-overview .kg-header-title{font:13px/1.5 Manrope,Arial,sans-serif;}
body.kg-header-ready > header .kg-header-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px;border:0;padding:0;margin:0;width:auto;}
.kg-header-extra-actions{display:contents;}
.kg-admin-account{position:relative;margin:0;padding:0;border:0;}
.kg-admin-account > summary{list-style:none;min-height:44px;padding:8px 12px;border:1px solid var(--sand);background:#fbf7f1;font:13px/1.8 Manrope,Arial,sans-serif;cursor:pointer;}
.kg-admin-account > summary::-webkit-details-marker{display:none;}
.kg-admin-account > summary::after{content:' ▾';}
.kg-admin-account > div{position:absolute;right:0;top:calc(100% + 8px);z-index:45;display:flex;flex-direction:column;gap:6px;width:210px;max-width:calc(100vw - 32px);padding:12px;border:1px solid var(--sand);background:var(--paper);box-shadow:0 8px 20px #59453b18;}
body.kg-header-ready > header .kg-admin-account > div a,body.kg-header-ready > header .kg-admin-account > div button{width:100%;justify-content:flex-start;}
body.kg-header-ready > header .kg-header-actions:has(.kg-admin-account){overflow:visible;}
.kg-header-context{min-width:0;flex-basis:100%;display:flex;flex-direction:column;gap:4px;}
body.kg-header-ready > header .kg-header-actions a,body.kg-header-ready > header .kg-header-actions button,.kg-header-menu a,.kg-header-menu button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:44px;width:auto;margin:0;padding:8px 12px;border:1px solid var(--sand,#d7c4b2);background:#fbf7f1;color:var(--ink,#59453b);font:13px/1.5 Manrope,Arial,sans-serif;text-decoration:none;white-space:nowrap;word-break:normal;overflow-wrap:normal;cursor:pointer;}
.kg-header-menu{flex:0 0 100%;display:flex;flex-wrap:nowrap;gap:6px;margin:0;padding:4px 0;overflow-x:auto;overscroll-behavior-inline:contain;border:0;scrollbar-width:thin;scroll-padding-inline:4px;}
.kg-header-menu [aria-current],.kg-header-menu a:hover,.kg-header-menu button:hover{border-color:var(--ink,#59453b);background:#eee4d8;}
.kg-header-menu button:disabled{opacity:.55;cursor:wait;}
.kg-header-menu a,.kg-header-menu button{min-width:44px;}
.kg-header-overview{flex-basis:100%;display:flex;flex-wrap:wrap;gap:4px 16px;font:13px/1.5 Manrope,Arial,sans-serif;border-top:1px solid var(--sand,#d7c4b2);padding-top:8px;}
.kg-header-overview span:first-child{font-weight:600;}
.kg-header-ready main{padding-top:24px;}
.kg-header-ready main [id]{scroll-margin-top:calc(var(--kg-header-height,120px) + 16px);}
.kg-header-source{display:none!important;}
.kg-header-source-heading{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;}
.kg-header-description{display:none;}
.kg-header-ready .space-shortcuts,.kg-header-ready .section-shortcuts,.kg-header-ready .testimonial-nav,.kg-header-ready .contract-context{position:static;}
.kg-header-ready .curation-client-title{font:12px/1.4 Manrope,Arial,sans-serif;}
.kg-header-ready .curation-client-title small{font-size:12px;}
@media(max-width:768px){
 body.kg-header-ready > header{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:10px 16px;gap:8px 12px;}
 .kg-header-identity{grid-column:1;gap:14px;}
 body.kg-header-ready > header .brand img,body.kg-header-ready > header .curation-client-brand img{width:40px;height:40px;}
 body.kg-header-ready > header .brand span{font-size:11px;}
 .kg-header-title{font-size:20px;}
 body.kg-header-ready > header .kg-header-actions{grid-column:2;width:auto;max-width:45vw;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;}
 body.kg-header-ready > header .kg-many-actions{grid-column:1/-1;max-width:100%;width:100%;}
 body.kg-header-ready > header:has(.kg-many-actions) .kg-header-identity{grid-column:1/-1;}
 .kg-header-menu{grid-column:1/-1;width:100%;min-width:0;}
 .kg-header-context{grid-column:1/-1;width:100%;}
 .kg-header-overview{grid-column:1/-1;gap:2px 10px;font-size:12px;}
 .kg-header-ready main{padding-top:20px;}
}
@media(min-width:1101px){
 body.kg-header-ready > header{display:grid;grid-template-columns:minmax(200px,270px) minmax(0,1fr) auto;gap:12px 28px;}
 .kg-header-identity{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;gap:0;}
 .kg-header-title{font-size:20px;margin-left:60px;margin-top:-4px;}
 .kg-header-context > .kg-header-title{margin:0;font-size:22px;}
 .kg-has-overview .kg-header-title{font-size:13px;margin-top:-8px;}
 .kg-header-context{grid-column:2;grid-row:1;min-width:0;align-self:center;}
 body.kg-header-ready > header .kg-header-actions{grid-column:3;grid-row:1;}
 .kg-header-overview{border-top:0;padding-top:0;gap:3px 14px;}
 .kg-header-menu{padding:2px 0;border:0;}
}
@media(max-width:420px){.kg-header-identity{align-items:center;gap:12px;}.kg-header-identity .brand span{display:none;}.kg-header-title{font-size:20px;}}
@media print{body.kg-header-ready > header{display:none!important}.kg-header-ready main{padding-top:0}.kg-header-source-heading{position:static!important;width:auto!important;height:auto!important;clip-path:none!important;white-space:normal!important;margin:0 0 16px!important;overflow:visible!important}.kg-header-ready main [id]{scroll-margin-top:0}}
