.mhl-header-control {
  position: relative;
  flex: none;
  margin: 0;
  color: #fff;
  font: 650 13px/1.5 'IRANYekanX', 'IRANYekan', 'IRANYekanWeb', sans-serif;
}
.mhl-header-control > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #6885a5;
  border-radius: 12px;
  background: #102b49;
  color: #fff;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}
.mhl-header-control > summary::-webkit-details-marker { display: none; }
.mhl-header-control > summary:hover,
.mhl-header-control[open] > summary { background: #193e64; border-color: #a6caff; }
.mhl-header-control svg {
  flex: none;
  stroke: #b9dbff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mhl-header-control[open] .mhl-header-chevron { transform: rotate(180deg); }
.mhl-header-control > .mhl-header-panel {
  position: absolute;
  z-index: 20;
  display: grid;
  min-width: 186px;
  max-width: calc(100vw - 24px);
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  padding: 5px;
  border: 1px solid #dbe7f4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px #0b213b33;
}
.mhl-header-control:not([open]) > .mhl-header-panel { display: none; }
.mhl-header-control .mhl-header-panel :is(a, button) {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: #0b213b;
  font: inherit;
  text-align: start;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
}
.mhl-header-control .mhl-header-panel img { flex: 0 0 16px; margin: 0; }
.mhl-header-control .mhl-header-panel form { display: block; margin: 0; }
.mhl-header-control .mhl-header-panel :is(a, button):hover { background: #edf6ff; color: #0753a5; }
.mhl-header-control :is(summary, a, button):focus-visible { outline: 2px solid #287bce; outline-offset: 2px; }
#mh7-header .mh7-actions:has(> .mhl-header-control) > .mhl-header-account { display: none; }

@media (max-width: 1100px) {
  #mh7-header .mhl-header-control :is(.mhl-header-label, .mhl-header-chevron) { display: none; }
}
