/* RESET EXISTING STYLES */
.steps--narrow {
  padding: 40px 0;
}
.steps--narrow .container {
  max-width: 1041px;
}
.steps__table {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.steps__colText {
  width: auto;
}
.steps__text {
  font-size: 15px;
}
.steps__arrow {
  height: 22px;
  width: 10px;
  display: block;
  background-size: contain;
}
.popup {
  width: 366px;
  max-width: 100%;
  margin: 0 auto;
  background: #F5F9FB;
}
.popup__formWrap {
  padding: 12px 22px 0px;
}
.popup__header {
  font-size: 14px;
}
.popup__label {
  margin-bottom: 13px;
}
.popup__input {
  border-radius: 10px;
  padding: 14px 20px;
  color: #848484;
  background: white;
  box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.07);
}
.popup__labelCheckbox {
  font-weight: 400;
  color: #848484;
}
.popup__rowRadio {
  margin: 30px 0 32px;
}
.popup__checkboxText {
  text-decoration: none;
  color: #848484;
}
.popup__labelCheckboxIcon {
  border-radius: 0;
}
.buttonWrap--popup {
  margin-bottom: 30px;
}
.button--popup {
  padding: 15px 32px;
  font-weight: 600;
  min-width: 145px;
  font-size: 14px;
}
.popup__bottomText,
.popup__bottomText a {
  color: #848484;
}

/* USELESS STYLES */
.popups-wrapper {
  padding: 15px;
  background: #848484;
}

/* NEW STYLES */
.step-page {
  margin-top: 18px;
}

.step-page__title {
  font-family: "Open Sans";
  font-weight: 600;
  font-size: 22px;
  color: #4C4C4C;
  margin: 0 0 12px;
  text-align: center;
}
.step-page__text {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: #898989;
}

.steps-select-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 38px;
  padding: 0 15px;
  width: 100%;
  max-width: 1138px;
  margin: 55px auto;
}
.steps-select-grid__item {
  padding: 21px 25px 17px;
  border-radius: 10px;
  border: 1px solid;
  border-color: transparent;
  box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.07);
  cursor: pointer;
  transition: border-color 0.2s;
}
.steps-select-grid__item.active {
  border-color: #FF912D;
}
.steps-select-grid__img {
  display: block;
  margin: 0 auto;
  height: 107px;
  width: 107px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transition: transform 0.2s;
}
.steps-select-grid__item:not(.active):hover .steps-select-grid__img {
  transform: scale(1.1);
}
.steps-select-grid__text {
  text-align: center;
  margin: 20px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: #898989;
}

.steps-select-grid--color {
  grid-template-columns: repeat(8, 1fr);
  gap: 24px;
}
.steps-select-grid--color .steps-select-grid__item {
  padding: 29px 0 15px;
}
.steps-select-grid--color .steps-select-grid__text {
  margin-top: 27px;
}
.steps-select-grid--color .steps-select-grid__img {
  border-radius: 5px;
  height: 62px;
  width: 62px;
}
.steps-select-grid__img.red {
  background-color: #F53327;
}
.steps-select-grid__img.pink {
  background-color: #E85087;
}
.steps-select-grid__img.purple {
  background-color: #8C48AA;
}
.steps-select-grid__img.blue {
  background-color: #1788CE;
}
.steps-select-grid__img.light-blue {
  background-color: #4ABAFF;
}
.steps-select-grid__img.turquoise {
  background-color: #28BAB0;
}
.steps-select-grid__img.green {
  background-color: #1FAB54;
}
.steps-select-grid__img.light-green {
  background-color: #BBEA00;
}
.steps-select-grid__img.yellow {
  background-color: #FFF507;
}
.steps-select-grid__img.orange {
  background-color: #FF8423;
}
.steps-select-grid__img.brown {
  background-color: #6D3C1E;
}
.steps-select-grid__img.gray {
  background-color: #919191;
}
.steps-select-grid__img.black {
  background-color: #000000;
}
.steps-select-grid__img.hack {
  background-color: #978E37;
}
.steps-select-grid__img.gold {
  background: linear-gradient(180deg, #E3A118 0%, #7D590D 100%);
}

.steps-button-next {
  position: sticky;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 5;
}
.step-page.page--step_2,
.step-page.page--step_3 {
  padding-bottom: 96px;
}
.step-page .steps-button-next {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  width: 100%;
  max-width: none;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}
.steps-button-next .button {
  margin: 0 auto;
  display: block;
  padding: 0;
  height: 48px;
  width: 200px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 0 36px 18px white;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font-family: "Open Sans", sans-serif;
  background: #7ed321;
  border-color: #7ed321;
  border-radius: 999px !important;
  filter: none;
}
.steps-button-next .button:hover,
.steps-button-next .button:focus,
.steps-button-next .button:active {
  background: #8fe03a;
  border-color: #8fe03a;
}

.steps-prompt {
  width: 366px;
  border-radius: 20px;
  padding: 25px 22px 29px;
  margin: 41px auto;
  background-color: #F5F9FB;
}
.steps-prompt__input {
  width: 100%;
  height: 56px;
  line-height: 56px;
  padding: 0 24px;
  background: white;
  border: none;
  box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.07);
  border-radius: 10px;
  margin-bottom: 24px;
}
.steps-prompt__text {
  padding: 0 21px;
  color: #B0B0B0;
  font-size: 13px;
  line-height: 22px;
  margin: 0;
}
.steps-prompt__list {
  padding: 0 21px;
  margin-bottom: 28px;
}
.steps-prompt__list li {
  margin-left: 17px;
  color: #B0B0B0;
  font-size: 13px;
  line-height: 22px;
}
.button__steps-prompt {
  padding: 0;
  width: 255px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: auto;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font-family: "Open Sans", sans-serif;
  background: #7ed321;
  border-color: #7ed321;
  border-radius: 999px !important;
  filter: none;
}
.button__steps-prompt:hover,
.button__steps-prompt:focus,
.button__steps-prompt:active {
  background: #8fe03a;
  border-color: #8fe03a;
}
.popup__text {
  color: #848484;
  font-size: 12px;
  margin: 14px 0;
}

.popup__texto {
  color: #ff912c;
  font-size: 14px;
  margin: 14px 0;
  text-align: center;
}
.popup__text:first-child {
  margin-top: 0;
}
.popup__fast-login {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.popup__fast-login img {
  max-width: 100%;
  display: block;
}
.popup__free-text {
  margin: 13px 0 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #77B933;
  font-weight: 600;
}

.popup__free-text2 {
  margin: 6px 0 0px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #77B933;
  font-weight: 600;
}


.popup__rowRadio2 {
  margin: 14px 0;
  display: flex;
  align-items: flex-start;
}
.popup__rowRadio2 .popup__labelCheckboxIcon {
  top: 0;
  margin-top: -1px;
}
.popup__rowRadio2 span {
  font-size: 14px;
  font-weight: 400;
  color: #848484;
}
.popup__rowRadio2 span a {
  color: #848484;
  text-decoration: underline;
}
.popup__rowRadio2 span a:hover {
  text-decoration: none;
}
.popup__label + .popup__rowRadio2 {
  margin-top: 23px;
}
.popup__checkbox:checked + .popup__labelCheckbox .popup__labelCheckboxIcon {
  background-position: -21px 0;
}
.popup__rowRadio2 + .buttonWrap--popup {
  margin-top: 25px;
}
.popup__header.red {
  background: #FF912D;
}
.radio-rate-wrapper {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(2, 1fr);
  padding: 10px 0px 10px 0px;
}
.radio-rate {
  position: relative;
  cursor: pointer;
  margin: 0;
}
.radio-rate__content {
  border: 2px solid;
  border-color: #D8D8D8;
  padding: 11px 21px 17px;
  display: block;
  box-shadow: 0 0 0 0 rgba(255, 145, 45, 0);
  transition: .2s border-color, .2s box-shadow;
}
.radio-rate__title {
  position: relative;
  font-size: 42px;
  color: #8C8B8B;
  margin-bottom: 6px;
  font-weight: 900;
  display: inline-block;
  transition: .2s color;
}
.radio-rate__title svg {
  position: absolute;
  left: 100%;
  top: 4px;
}
.radio-rate__title svg path {
  transition: .2s fill;
}
.radio-rate__text {
  display: block;
  font-size: 12px;
  color: #8C8B8B;
  font-weight: 400;
  transition: .2s color;
}
.radio-rate input {
  opacity: 0;
  position: absolute;
}
.radio-rate input:checked + .radio-rate__content {
  border-color: #FF912D;
  box-shadow: 0 0 18px 0 rgba(255, 145, 45, 0.3);
}
.radio-rate input:checked + .radio-rate__content .radio-rate__title {
  color: #FF912D;
}
.radio-rate input:checked + .radio-rate__content .radio-rate__title path {
  fill: #FF912D;
}
.radio-rate input:checked + .radio-rate__content .radio-rate__text {
  color: #FF912D;
}
.popup-rate-currency {
  margin: 25px 0 11px;
}

/* ACCOUNT */
.header-account {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  padding: 14px 0;
  background: white;
  z-index: 10;
  border-bottom: 1px solid #ccc;
}
.lkHeader__buttonMobile {
  display: block;
  justify-self: end;
  background: url(/ai/images/icon_burger_lk.svg) no-repeat center;
  background-size: 24px 24px;
  width: 38px;
  height: 40px;
  cursor: pointer;
}
.lkHeader__buttonMobile.active {
  background: url("/ai/images/icon_burger_lk-active.svg") no-repeat center;
  background-size: 18px 18px;
  transform: translateX(46px);
}
.lk-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(0, 0, 0, 15%);
  opacity: 0;
  pointer-events: none;
  transition: .2s opacity;
}
.lk-menu.active {
  opacity: 1;
  pointer-events: all;
  z-index: 20;
}
.lk-menu .container {
  position: relative;
}
.lk-menu .container::before {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  cursor: pointer;
}
.lk-menu__wrapper {
  position: absolute;
z-index: 21;
  background: white;
  top: 14px;
  right: 15px;
  padding: 20px;
  border-radius: 12px;
}
.lk-menu__wrapper .lkHeader__buttonMobile {
  display: none;
}
.lk-menu__link {
  display: grid;
  grid-template-columns: 42px max-content;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  height: 38px;
  width: 240px;
  transition: background .2s;
}
.lk-menu__link:hover {
  background: #E6EDF1;
}
.lk-menu__link:not(:last-child) {
  margin-bottom: 10px;
}
.lk-menu__title {
  color: #135878;
}
.lk-menu__icon {
  display: flex;
  justify-content: center;
  align-items: center;
}
.lkHeader__buttonMobileClose {
  display: none;
  cursor: pointer;
}
@media (max-width: 825px){
  .lkHeader__buttonMobile.active {
    transform: none;
  }
}
@media (max-width: 400px){
  .lk-menu .lkHeader__buttonMobile {
    position: absolute;
    top: 30px;
    right: 23px;
    z-index: 2;
  }
  .lk-menu__wrapper {
    border-radius: 0;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
  }
  .lkHeader__buttonMobileClose {
    display: block;
    background: url("/ai/images/icon_burger_lk-active.svg") no-repeat center;
    width: 38px;
    height: 40px;
    position: absolute;
    z-index: 2;
    right: 22px;
    top: 17px;
  }
  .lk-menu__link {
    margin-left: auto;
    margin-right: auto;
  }
}

/* LK header: always 3 cols — logo | centered tabs | account.
   Must beat redesign.css .header-inner{display:flex} and
   new_styles.css 4-col grid (old balance/burger layout). */
.header-account__top,
.header-account__top.header-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
  justify-content: stretch !important;
  gap: 10px !important;
}
.header-account__top > .header-account__logo,
.header-account__top.header-inner > .header-account__logo {
  justify-self: start !important;
  min-width: 0;
}
.header-account__top > .top-tabs,
.header-account__top.header-inner > .top-tabs {
  justify-self: center !important;
  margin-left: 0 !important;
  margin-right: 0 !important; /* kill redesign.css margin-right:135px */
}
.header-account__top > .header-account-pill,
.header-account__top > .lkHeader__buttonMobile,
.header-account__top.header-inner > .header-account-pill,
.header-account__top.header-inner > .lkHeader__buttonMobile {
  justify-self: end !important;
  min-width: 0;
}
.header-account__top img {
  max-width: 100%;
}
.account-menu {
  display: grid;
  width: 400px;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #135878;
  border-radius: 11px;
  overflow: hidden;
}
.account-menu__link {
  color: #135878;
  transition: .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 10px 10px 10px 14px;
  font-size: 13px;
}
.account-menu__link.active {
  background: #135878;
  color: #fff;
}
.account-menu__link.active svg path {
  fill: #fff;
}

.gen-menu-wrapper {
  margin: 85px 0 48px;
}
.gen-menu {
  display: grid;
  grid-template-columns: 56px 56px 2fr 1fr 1fr 188px;
  gap: 22px;
  padding: 24px 35px 16px;
  background: #ebf2f6;
  border-radius: 20px;
}
.gen-menu__title {
  font-size: 13px;
  color: #898989;
  display: block;
  margin-bottom: 15px;
  padding-top: 17px;
}
.gen-menu__button {
  height: 56px;
  width: 56px;
  border-radius: 10px;
  border: none;
  background: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow .2s;
}
.gen-menu__button:hover {
  box-shadow: 0 0 12px 0 rgba(255, 145, 45, 0.6);
}
.gen-menu__button img {
  max-height: 38px;
  max-width: 38px;
}
.gen-menu__button.gen-menu-btn-colors-selection {
  padding: 9px;
}
.gen-menu__button.gen-menu-btn-colors-selection span {
  height: 100%;
  width: 100%;
}
.gen-menu__input {
  height: 56px;
  line-height: 56px;
  border-radius: 10px;
  border: none;
  background: #FFFFFF;
  padding: 0 16px;
  font-size: 16px;
  color: #4C4C4C;
  width: 100%;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow .2s;
}
.gen-menu__input:focus {
  outline: none;
  box-shadow: 0 0 12px 0 rgba(255, 145, 45, 0.6);
}
.gen-menu__actions-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gen-menu__actions-top span {
  color: #FF912D;
  font-size: 14px;
}
.gen-menu__actions-top button {
  border: 1px solid #FF912D;
  border-radius: 14px;
  padding: 0;
  font-size: 13px;
  height: 29px;
  line-height: 25px;
  width: 90px;
  background: transparent;
  color: #FF912D;
  transition: .2s;
}
.gen-menu__actions-top button:hover {
  background: #FF912D;
  color: #fff;
}
.gen-menu__actions-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  border-radius: 12px;
  padding: 0;
  width: 100%;
  height: 56px;
  margin: 22px 0 15px;
}
.gen-menu__actions-bottom {
  margin: 0;
  text-align: center;
  color: #898989;
  font-size: 12px;
}
.mobile-header-info {
  display: none;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  padding-bottom: 50px;
}
.results-grid__item {
border: 2px solid;
    border-color: #f8f9fa;
  background: #FFF;
  border-radius: 12px;
  padding: 14px 15px 22px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0);
  transition: .2s box-shadow, .2s border-color;
}
.results-grid__item:hover {
  border-color: transparent;
  box-shadow: 0 0 18px 0 rgb(156 165 178 / 49%);
}
.results-grid__img {
  height: 220px;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
}

.results-grid__button {
  height: 38px;
  border: none;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f9fa;
  transition: .2s background;
  min-width: 38px;
  border-radius: 6px;
}
.results-grid__button:hover {
    cursor: pointer;
  background: #e1e5e9;
}
.results-grid__button--grid svg:nth-child(2) {
  display: none;
}
.results-grid__button--grid.active svg:nth-child(1) {
  display: none;
}
.results-grid__button--grid.active svg:nth-child(2) {
  display: block;
}
.results-grid__item-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  align-items: center;
}
.results-grid__item-header-center {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.results-grid__item-header-center button {
  min-width: 42px;
}
.results-grid__item-header-center button:nth-child(2) {
  min-width: 62px;
  color: #898989;
  font-size: 13px;
}
.results-grid__save {
  height: 42px;
  width: 198px;
  font-size: 13px;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  background: #135878;
  color: white;
  margin: 15px auto 0;
  border: none;
}
.results-grid__save:hover {
  background: #19698f;
}
.results-grid__save.active {
  background: #FF912C;
}

.results-grid__save.active:hover {
  background: #fe9c42;
}

.to-top {
  display: none;
}


.gen-selection-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: none;
  overflow: hidden;
}
.gen-selection-popup.active {
  display: flex;
  flex-direction: column;
}
.gen-selection-popup .step-page {
  background: white;
  padding: 46px 0 0;
  width: 1170px;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  position: relative;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}
.gen-selection-popup .step-page > .container {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.gen-selection-popup .steps-select-grid,
.gen-selection-popup .results-grid {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0;
}
.gen-selection-popup .steps-button-next {
  position: relative;
  flex-shrink: 0;
  bottom: auto;
  margin-bottom: 0;
  margin-top: 0;
  padding-top: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: #fff;
}


.gen-selection-popup__close {
  padding: 0;
  border: 0;
  background: transparent;
  position: absolute;
  top: 38px;
  right: 46px;
}

.no-scroll {
  overflow: hidden;
}
.gen-selection-popup__bottom-text {
  font-size: 14px;
  margin: 27px 0 0;
  text-align: center;
  color: #848484;
}
.gen-selection-popup__bottom-text b {
  display: block;
}
.gen-selection-popup .results-grid {
  margin-top: 36px;
}

.headerless-page {
  margin-top: 85px;
}

.popup-style-fonts .results-grid__item {
  cursor: pointer;
}
.popup-style-fonts .results-grid__item.active {
  border-color: #FF912D;
}
.gen-menu-btn-colors-selection__colors {
  display: flex;
  border-radius: 5px;
  overflow: hidden;
  height: 100%;
  width: 100%;
}
#generation_button.loading{
  background-color: #ccc;
  background-image: url("/templates/genlogo_rus/img/loader-ai.svg");
  background-size: 18px;
  background-position: 15px center;
  background-repeat: no-repeat;
}
#generation_button.loading svg{
  display: none;
}

.variation{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 104px;
  background: #72c501;
}

.variation:hover{
  background: #7fd20f;
      cursor: pointer;
}


/* User avatar — account menu + header chip */
.user-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #0D5779;
  color: #fff;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  vertical-align: middle;
  box-sizing: border-box;
}
.user-avatar__initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  user-select: none;
}
.user-avatar__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.header-account-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 240px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #135878;
  cursor: pointer;
  transition: opacity .2s;
  justify-self: end;
  box-shadow: none;
}
.header-account-pill:hover {
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0.88;
}
.header-account-pill__email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  max-width: 180px;
}
.header-account-pill__avatar {
  flex-shrink: 0;
}
.mainHeader a.header-account-btn.header-account-btn--avatar,
.mainHeader--blue a.header-account-btn.header-account-btn--avatar,
.mainHeader--gray a.header-account-btn.header-account-btn--avatar {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 2px 12px 2px 2px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(19, 88, 120, 0.35);
  background: #fff !important;
  color: #135878 !important;
  line-height: 1 !important;
  text-decoration: none;
}
.mainHeader a.header-account-btn.header-account-btn--avatar:hover,
.mainHeader--blue a.header-account-btn.header-account-btn--avatar:hover,
.mainHeader--gray a.header-account-btn.header-account-btn--avatar:hover {
  background: #E6EDF1 !important;
}
@media (max-width: 825px) {
  .header-account-pill__email {
    display: none;
  }
  .header-account-pill {
    padding: 0;
    max-width: none;
    width: 40px;
    height: 40px;
    margin-left: auto !important;
    flex: 0 0 auto !important;
  }
}

/* Mobile/tablet: flex row — tabs grow, avatar stays right (not centered) */
@media (max-width: 991px) {
  .header-account__top,
  .header-account__top.header-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    grid-template-columns: none !important;
  }
  .header-account__top > .header-account__logo,
  .header-account__top.header-inner > .header-account__logo {
    display: none !important;
  }
  .header-account__top > .top-tabs,
  .header-account__top.header-inner > .top-tabs {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 8px 0 0 !important;
    justify-self: unset !important;
  }
  .header-account__top > .header-account-pill,
  .header-account__top.header-inner > .header-account-pill,
  .header-account__top > .lkHeader__buttonMobile,
  .header-account__top.header-inner > .lkHeader__buttonMobile {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    justify-self: unset !important;
    align-self: center !important;
  }
}


/* Account avatar: shared person silhouette */
.user-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #0D5779;
  vertical-align: middle;
}
.user-avatar--silhouette {
  background: #0D5779;
}
.user-avatar--silhouette svg {
  display: block;
}
.user-avatar__initials,
.user-avatar__img {
  display: none !important;
}
.header-account-pill {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  padding: 0 !important;
  gap: 0 !important;
}
.header-account-pill__email {
  display: none !important;
}
