/* Меню и подсказки */

.mhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.mhead b {
  font-size: 16px;
}

#menu {
  padding: 14px 10px 10px;
  width: min(420px, 94vw);
}

.mlist {
  display: flex;
  flex-direction: column;
}

.mlist button {
  width: 100%;
  justify-content: flex-start;
  gap: 12px;
  padding: 13px 10px;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  background: transparent;
  font-size: 15px;
}

.mlist button:hover {
  background: var(--we);
}

.mlist button .ic svg {
  width: 20px;
  height: 20px;
  color: var(--acc);
}

.mcap {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mut);
  padding: 10px 10px 4px;
}

@media (max-width: 600px) {
  #menu {
    margin: auto auto 0;
    width: 100vw;
    max-width: 100vw;
    border-radius: 20px 20px 0 0;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0));
  }
}

#dlgH {
  width: min(520px, 94vw);
  padding: 16px;
}

#dlgH details {
  border: 1px solid var(--bd);
  border-radius: 14px;
  margin-bottom: 8px;
  overflow: hidden;
}

#dlgH summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

#dlgH summary::after {
  content: "+";
  color: var(--acc);
  font-weight: 700;
}

#dlgH details[open] summary::after {
  content: "–";
}

#dlgH .hl {
  padding: 0 14px 10px;
  font-size: 14px;
  line-height: 1.5;
}

#dlgH .hl p {
  margin: 8px 0;
}

#dlgH .hl .lg {
  min-width: 24px;
  height: 22px;
  font-size: 12px;
  margin-right: 6px;
  vertical-align: -5px;
}
