html { scroll-padding-top: 6rem }
header.ph-portal-head { position: sticky; inset-block-start: 0; z-index: 1000; display: block; width: 100%; max-width: none; box-sizing: border-box; margin: 0; padding: 0; background: #fff; color: #153d3d; border: 0; border-bottom: 1px solid #dbe3e1; font: 600 .92rem/1.25 system-ui, sans-serif }
.ph-portal-head > .ph-head-inner { display: flex; flex-flow: row wrap; align-items: center; gap: .6rem 1rem; width: min(100%,82rem); box-sizing: border-box; margin: 0 auto; padding: .6rem clamp(.65rem,2vw,1.75rem) }
.ph-portal-head a { color: inherit; text-decoration: none }
.ph-portal-head a:hover { text-decoration: underline }
.ph-portal-head .ph-head-brand { display: inline-flex; align-items: center; gap: .35rem; color: #134947; font: 700 1.45rem/1 Georgia,serif; white-space: nowrap }
.ph-portal-head .ph-head-brand img { height: 2rem; width: 2rem; margin: 0; border: none; background: none; object-fit: contain }
.ph-portal-head .ph-head-brand small { display: block; margin-top: .12rem; color: #48625d; font: 600 .61rem/1 system-ui,sans-serif }
.ph-portal-head nav.ph-head-links,.ph-portal-head .ph-head-account { display: flex; flex-flow: row wrap; align-items: center; gap: .8rem; margin: 0; padding: 0 }
.ph-portal-head .ph-head-account { margin-inline-start: auto }
.ph-portal-head .ph-head-publish { display: inline-block; padding: .63rem .85rem; background: #a84724; color: #fff; border-radius: .45rem }
.ph-portal-head details.ph-head-mobile { display: none }
.ph-portal-head .ph-language,.ph-portal-head .ph-head-mobile { position: relative; width: auto; padding: 0; margin: 0 }
.ph-portal-head summary { cursor: pointer; padding: .45rem; font: inherit }
.ph-portal-head .ph-language:not([open]) nav,.ph-portal-head .ph-head-mobile:not([open]) nav { display: none }
.ph-portal-head details[open] nav { position: absolute; inset: 100% 0 auto auto; width: max-content; min-width: 10rem; max-width: 90vw; max-height: 60vh; overflow-y: auto; display: grid; padding: .4rem; gap: .1rem; background: white; color: #153d3d; border: 1px solid #cdd8d6; border-radius: .5rem; box-shadow: 0 4px 14px #193c3922 }
.ph-portal-head details nav a { display: block; padding: .5rem .7rem }
@media(max-width:1000px) {
  .ph-portal-head nav.ph-head-links { display: none }
  .ph-portal-head details.ph-head-mobile { display: block; margin: 0 }
  .ph-portal-head details.ph-head-mobile[open] nav { inset-inline-start: 0; inset-inline-end: auto }
}
@media(max-width:570px) {
  html { scroll-padding-top: 8.5rem }
  .ph-portal-head > .ph-head-inner { gap: .25rem .55rem; padding: .4rem .65rem }
  .ph-portal-head .ph-head-brand { margin-inline-end: auto }
  .ph-portal-head .ph-head-account { order: 1; width: 100%; justify-content: space-between }
  .ph-portal-head details.ph-head-mobile[open] nav { inset-inline: auto 0 }
}
