.top.compact-header {
  min-height: 58px;
  align-items: center;
  flex-wrap: nowrap;
  gap: .5rem;
  padding: .35rem clamp(.65rem, 3vw, 2rem);
}
.staff-app .top.compact-header { padding-top: max(.35rem, var(--safe-top)); }
.header-identity { flex: 1 1 auto; flex-wrap: nowrap; min-width: 0; gap: .55rem; }
.header-identity .identity-text { min-width: 0; font-size: clamp(.83rem, 2.3vw, 1rem); }
.header-identity > img, .header-identity > .origin-mark { flex: 0 0 auto; }
.salon-header-logo { display: block; width: auto; height: auto; max-width: min(26vw, 8.75rem); max-height: 2.4rem; object-fit: contain; }
.public-site .salon-header-logo { max-width: min(52vw, 11rem); }
.top-actions.header-controls { flex: 0 0 auto; width: auto; flex-wrap: nowrap; gap: .32rem; }
.language-control { margin: 0; }
.language-picker, .account-menu > summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding-inline: .48rem;
  gap: .28rem;
  border: 1px solid currentColor;
  border-radius: .55rem;
  color: inherit;
  font-size: .79rem;
  font-weight: 750;
}
.language-picker:focus-within { outline: 2px solid currentColor; outline-offset: 2px; }
.language-picker select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.header-icon { flex: 0 0 auto; }
.header-icon-chevron { width: .8rem; }
.account-menu { position: relative; }
.account-menu > summary { cursor: pointer; list-style: none; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu > summary:hover, .account-menu[open] > summary { background: var(--surface-2, #edf4f3); }
.account-popover {
  position: absolute;
  z-index: 15;
  inset-inline-end: 0;
  top: calc(100% + .38rem);
  width: min(16rem, 85vw);
  padding: .55rem;
  display: grid;
  gap: .15rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: .65rem;
  box-shadow: 0 8px 24px rgb(20 36 44 / .13);
}
.account-popover :is(strong, a, button) { display: block; padding: .55rem; overflow-wrap: anywhere; }
.account-popover a { color: var(--action); }
.account-popover button { width: 100%; text-align: start; }
.header-language-status { margin: .5rem auto; width: min(94%, 76rem); font-size: .9rem; color: var(--ink); }
