/* Faqat Yordam yo‘nalishidagi panel. */
#fh-help-panel {
  display: none;
  --fh-help-line: var(--fh-panel-line, #afc1d54d);
  --fh-help-card: var(--fh-panel-paint, linear-gradient(145deg, #293b53, #182539));
  --fh-help-control: var(--fh-control-paint, linear-gradient(145deg, #334962, #203148));
  --fh-help-highlight: var(--fh-glass-paint, linear-gradient(145deg, #456483, #314962));
  --fh-help-muted: var(--fh-mode-muted, #b5c5db);
  --fh-help-focus: var(--fh-mode-accent, #faead2);
  color: var(--fh-mode-text, #fff9ee);
}

html body.fh-desktop-fit:has(.sidebar [data-view="help"][aria-current="page"]) #detail-view:not([hidden]) {
  padding: clamp(14px, 2.6vw, 36px);
}

html body.fh-desktop-fit:has(.sidebar [data-view="help"][aria-current="page"]) #detail-view:not([hidden]) > #detail-title {
  display: none !important;
}

html body.fh-desktop-fit:has(.sidebar [data-view="help"][aria-current="page"]) #detail-view:not([hidden]) > #fh-help-panel:not([hidden]) {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
  max-width: 1180px;
  min-width: 0;
  margin: 0 auto;
}

#fh-help-panel :is(h1, h2, p, ol) { margin: 0; }
#fh-help-panel :is(h1, h2, strong, summary) { overflow-wrap: anywhere; }
#fh-help-panel :is(#fh-help-start, #fh-help-faq, #fh-help-contact) { scroll-margin-top: 20px; }
#fh-help-panel .fh-help-hero,
#fh-help-panel .fh-help-card {
  min-width: 0;
  padding: clamp(16px, 3vw, 30px);
  border: 1px solid var(--fh-help-line);
  border-radius: clamp(16px, 2vw, 24px);
  background: var(--fh-help-card);
}

#fh-help-panel .fh-help-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 3vw, 36px);
  border-top-color: var(--fh-help-focus);
  background: linear-gradient(120deg, var(--fh-mode-panel, #1b2738), var(--fh-mode-active, #354f70));
}

#fh-help-panel #fh-help-title { font-size: clamp(31px, 4.6vw, 58px); line-height: 1.05; }
#fh-help-panel .fh-help-kicker {
  margin-bottom: 8px;
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .13em;
}
#fh-help-panel .fh-help-hero h1 + p { max-width: 58ch; margin-top: 12px; }
#fh-help-panel .fh-help-card h2 { margin-bottom: 14px; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.12; }
#fh-help-panel .fh-help-card p,
#fh-help-panel .fh-help-hero h1 + p { line-height: 1.48; }
#fh-help-panel .fh-help-count,
#fh-help-panel .fh-help-hero h1 + p,
#fh-help-panel .fh-help-shortcuts small {
  color: var(--fh-help-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}

#fh-help-panel :is(.fh-help-hero-icon, .fh-help-shortcut-icon) {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid var(--fh-help-line);
  border-radius: 12px;
  color: var(--fh-help-focus);
  background: var(--fh-badge-paint, var(--fh-help-control));
}
#fh-help-panel .fh-help-hero-icon {
  width: clamp(50px, 8vw, 92px);
  border-radius: 22%;
  box-shadow: inset 0 1px 0 #fff4, 0 6px 22px #0003;
}
#fh-help-panel .fh-help-hero-icon svg { width: 54%; height: 54%; }
#fh-help-panel .fh-help-shortcut-icon svg { width: 21px; height: 21px; }

#fh-help-panel :is(.fh-help-shortcuts, .fh-help-steps, .fh-help-bottom) {
  display: grid;
  gap: clamp(10px, 1.65vw, 18px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
#fh-help-panel .fh-help-bottom { grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)); }
#fh-help-panel .fh-help-shortcuts a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--fh-help-line);
  border-radius: 16px;
  background: var(--fh-help-control);
  color: inherit;
  text-decoration: none;
}
#fh-help-panel .fh-help-shortcuts a:is(:hover, :focus-visible) { background: var(--fh-help-highlight); }
#fh-help-panel .fh-help-shortcuts :is(strong, small) { display: block; line-height: 1.2; }
#fh-help-panel .fh-help-shortcuts small { margin-top: 4px; overflow-wrap: anywhere; }
#fh-help-panel .fh-help-arrow { width: 16px; height: 16px; }

#fh-help-panel .fh-help-steps { padding: 0; list-style: none; counter-reset: fh-help-step; }
#fh-help-panel .fh-help-steps li {
  position: relative;
  padding-inline-start: 38px;
  counter-increment: fh-help-step;
}
#fh-help-panel .fh-help-steps li::before {
  content: counter(fh-help-step);
  position: absolute;
  inset: 0 auto auto 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--fh-help-line);
  border-radius: 50%;
  background: var(--fh-help-control);
  font-weight: 700;
}
#fh-help-panel .fh-help-steps strong { display: block; margin: 3px 0 4px; }

#fh-help-panel .fh-help-search label,
#fh-help-panel .fh-help-report label { display: block; margin: 0 0 6px; font-weight: 700; }
#fh-help-panel .fh-help-search-row { display: flex; flex-wrap: wrap; gap: 8px; }
#fh-help-panel .fh-help-search-box {
  display: flex;
  flex: 1 1 215px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-inline-start: 12px;
  border: 1px solid var(--fh-help-line);
  border-radius: 12px;
  background: var(--fh-mode-input, #152132);
}
#fh-help-panel .fh-help-search-box .icon { width: 19px; height: 19px; flex: 0 0 19px; }
#fh-help-panel #fh-help-search {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px 8px 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  font: inherit;
}
#fh-help-panel #fh-help-search::placeholder { color: var(--fh-help-muted); opacity: 1; }
#fh-help-panel .fh-help-topics { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }

#fh-help-panel :is([data-fh-help-reset], [data-fh-help-topic], .fh-help-action) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--fh-help-line);
  border-radius: 10px;
  background: var(--fh-help-control);
  color: inherit;
  font: inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
#fh-help-panel :is([data-fh-help-reset], [data-fh-help-topic], .fh-help-action):is(:hover, [aria-pressed="true"]) {
  background: var(--fh-help-highlight);
  border-color: var(--fh-help-focus);
}
#fh-help-panel .fh-help-action { margin-top: 12px; }
#fh-help-panel .fh-help-action svg { width: 19px; height: 19px; }
#fh-help-panel :is(a, button, input, summary, textarea):focus-visible {
  outline: 2px solid var(--fh-help-focus);
  outline-offset: 3px;
}
#fh-help-panel .fh-help-count { margin: 12px 0 7px; font-size: .93em; }

#fh-help-panel .fh-help-questions { display: grid; gap: 8px; }
#fh-help-panel details {
  border: 1px solid var(--fh-help-line);
  border-radius: 12px;
  background: var(--fh-help-control);
}
#fh-help-panel details summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: inherit;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
#fh-help-panel details summary::-webkit-details-marker { display: none; }
#fh-help-panel details summary::after { content: "+" / ""; font-size: 1.2em; color: var(--fh-help-focus); }
#fh-help-panel details[open] summary::after { content: "−" / ""; }
#fh-help-panel .fh-help-questions details p { padding: 0 13px 12px; }
#fh-help-panel .fh-help-empty { padding: 12px; border: 1px dashed var(--fh-help-line); border-radius: 12px; }

#fh-help-panel .fh-help-report { margin-top: 12px; }
#fh-help-panel .fh-help-report > :not(summary) { margin-inline: 12px; }
#fh-help-panel .fh-help-report textarea {
  display: block;
  width: calc(100% - 24px);
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--fh-help-line);
  border-radius: 8px;
  background: var(--fh-mode-input, #152132);
  color: inherit;
  font: inherit;
  resize: vertical;
}
#fh-help-panel #fh-help-copy-status { padding: 8px 0 12px; }
