/* Единая шапка сайта: главная, кабинет, админка, документы и служебные страницы. */
.puh-site-header.brandbar.shell,
body .puh-site-header.brandbar.shell {
  box-sizing:border-box!important;
  width:min(calc(100% - 48px),1000px)!important;
  min-height:92px!important;
  height:92px!important;
  margin:0 auto!important;
  padding:0!important;
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  gap:14px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.puh-site-header .puh-site-brand,
.puh-site-header .puh-site-brand:visited {
  display:inline-flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  gap:11px!important;
  padding:0!important;
  margin:0!important;
  font-family:Inter, 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif!important;
  font-size:28px!important;
  font-weight:800!important;
  letter-spacing:-.8px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  color:#4a3f35!important;
  background:transparent!important;
  text-decoration:none!important;
  border:0!important;
}
.puh-site-header .puh-site-brand img {
  display:block!important;
  width:49px!important;
  height:49px!important;
  object-fit:contain!important;
  flex:0 0 auto!important;
}
.puh-site-header .puh-site-brand em {
  font:inherit!important;
  color:#4a3f35!important;
  text-transform:none!important;
}
.puh-site-header .puh-site-actions {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex:0 1 auto!important;
  min-width:0!important;
  gap:12px!important;
  margin:0!important;
}
.puh-site-header .puh-header-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:8px 12px;
  border:1px solid #e8e1d8;
  border-radius:12px;
  background:#fff;
  color:#645345;
  font:700 13px/1.2 Inter,'Segoe UI',system-ui,sans-serif;
  text-decoration:none;
  white-space:nowrap;
}
.puh-site-header .puh-header-link:hover {background:#f4eee7;}
.puh-site-header .puh-site-brand:focus-visible,
.puh-site-header .puh-header-link:focus-visible {outline:3px solid #a88765;outline-offset:3px;}
/* Кабинет: шапка находится внутри контейнера шириной 1053px. */
.cabinet .puh-site-header.brandbar.shell {width:100%!important;}
/* Страницы входа и ошибки учитывают высоту общей шапки. */
.puh-site-header + .auth-shell {min-height:calc(100svh - 92px);}
/* 404: вычесть общую шапку из высоты блока ошибки. */
.not-found-page .not-found {min-height:calc(100svh - 92px);}
@media (max-width:650px) {
  .puh-site-header.brandbar.shell,
  body .puh-site-header.brandbar.shell {
    width:calc(100% - 32px)!important;
    min-height:64px!important;
    height:64px!important;
    gap:8px!important;
  }
  .cabinet .puh-site-header.brandbar.shell {width:100%!important;}
  .puh-site-header .puh-site-brand,
  .puh-site-header .puh-site-brand:visited {font-size:21px!important;gap:7px!important;letter-spacing:-.6px!important;}
  .puh-site-header .puh-site-brand img {width:34px!important;height:34px!important;}
  .puh-site-header .puh-site-actions {gap:7px!important;}
  .puh-site-header .puh-header-link {min-height:34px;padding:7px 10px;font-size:12px;}
  .puh-site-header + .auth-shell {min-height:calc(100svh - 64px);}
  .not-found-page .not-found {min-height:calc(100svh - 64px);}
}
@media(max-width:360px) {
  .puh-site-header.brandbar.shell, body .puh-site-header.brandbar.shell {width:calc(100% - 24px)!important;}
  .puh-site-header .puh-site-brand, .puh-site-header .puh-site-brand:visited {font-size:19px!important;}
  .puh-site-header .puh-site-brand img {width:32px!important;height:32px!important;}
}
