/* Laat het paneel aansluiten rond de avatar en de invoervelden. */
header.hp-guesthead #hp-guestform:has(> img.hp-baliegast):not([hidden]){
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  justify-self:end;
  width:fit-content;
  max-width:100%;
  gap:6px;
  padding:6px 8px;
}
header.hp-guesthead #hp-guestform > img.hp-baliegast{
  flex:0 0 auto;
  width:54px;
  height:auto;
  margin:0;
  align-self:center;
}
header.hp-guesthead #hp-guestform > form{
  display:flex;
  flex:0 1 auto;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  width:fit-content;
  max-width:100%;
  min-width:0;
  gap:6px;
  margin:0;
}
header.hp-guesthead #hp-guestform > form > div:has(#username-input){
  flex:0 1 auto;
  width:auto;
  margin:0;
}
header.hp-guesthead #hp-guestform :is(#username-input,input[type=password]){
  box-sizing:border-box;
  width:clamp(128px,10.5vw,160px);
  max-width:100%;
  min-height:44px;
  margin:0;
  padding-inline:10px;
}
header.hp-guesthead #hp-guestform form div:has(>button[type=submit]){
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  width:auto;
  gap:6px;
  margin:0;
}
header.hp-guesthead #hp-guestform form :is(button[type=submit],a){
  flex:0 0 auto;
  width:auto;
  margin:0;
}
@media(max-width:600px){
  header.hp-guesthead #hp-guestform:has(> img.hp-baliegast):not([hidden]){
    justify-self:stretch;
    width:auto;
    align-items:flex-start;
  }
  header.hp-guesthead #hp-guestform > img.hp-baliegast{
    width:42px;
    align-self:flex-start;
  }
  header.hp-guesthead #hp-guestform > form{
    flex:1 1 0;
    display:grid;
    grid-template-columns:minmax(0,1fr);
  }
  header.hp-guesthead #hp-guestform :is(#username-input,input[type=password]){
    width:100%;
  }
}
/* HP avatarformaat */
header.hp-guesthead #hp-guestform > img.hp-baliegast {
  width:96px;
  max-width:none;
  height:auto;
  flex:0 0 96px;
  margin:0;
}
@media(min-width:851px) {
  header.hp-guesthead #hp-guestform :is(#username-input,input[type=password]) {
    width:clamp(128px,9.5vw,145px);
  }
}
@media(max-width:600px) {
  header.hp-guesthead #hp-guestform > img.hp-baliegast {
    width:64px;
    flex-basis:64px;
  }
}
