.header .cabinet i svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Shared account-button icon sizing prevents the SVG from using its intrinsic desktop size. */
.header .cabinet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.header .cabinet i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  line-height: 1;
}

.header .cabinet i svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 850px) {
  .client-summary.client-summary--three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .header {
    padding-right: 16px;
    padding-left: 16px;
    gap: 12px;
  }

  .header .logo {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .header .cabinet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-left: auto;
    padding: 11px 15px;
    border: 1px solid #53635c;
    border-radius: 5px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }

  .header .cabinet i {
    display: inline-block;
    margin-left: 0;
    color: var(--green);
    font-size: 20px;
    font-style: normal;
    line-height: 1;
  }

  .header .cabinet i svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--green);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .header .cabinet-back {
    max-width: 145px;
    white-space: normal;
  }

  .client-summary article {
    min-width: 0;
  }

  .client-summary strong {
    max-width: 100%;
    font-size: 20px;
    line-height: 1.2;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .header .logo {
    font-size: 0;
  }

  .header .logo span {
    width: 34px;
    height: 34px;
    margin-right: 6px;
    font-size: 11px;
  }

  .header .cabinet {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 13px;
  }

  .client-summary strong {
    font-size: 18px;
  }
}
