/* Help search UI — used by /help. Navy brand accent, Inter, flat surfaces. */

.help-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.help-hero { margin-bottom: 28px; }
.help-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.help-hero p {
  color: #666;
  font-size: 1rem;
  margin: 0 0 20px;
}

.help-search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.help-search-box svg {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: #888;
  pointer-events: none;
}
#help-search-input {
  width: 100%;
  font-family: inherit;
  font-size: 1.05rem;
  padding: 15px 18px 15px 46px;
  border: 1.5px solid #d4d4d4;
  border-radius: 12px;
  color: #111;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
#help-search-input::placeholder { color: #999; }
#help-search-input:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

#help-search-results { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }

.hs-result {
  display: block;
  position: relative;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 16px 44px 16px 18px;
  text-decoration: none;
  transition: border-color 0.12s, box-shadow 0.12s, transform 0.12s;
}
.hs-result:hover,
.hs-result:focus-visible {
  border-color: #1e3a8a;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.08);
  transform: translateY(-1px);
  outline: none;
}
.hs-result-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.hs-q { font-size: 1rem; font-weight: 700; color: #111; }
.hs-a { font-size: 0.9rem; color: #555; line-height: 1.5; }
.hs-go {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #1e3a8a;
  font-size: 1.1rem;
  font-weight: 700;
}
.hs-result mark { background: #fde68a; color: inherit; padding: 0 1px; border-radius: 2px; }

.hs-chip {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef2fb;
  color: #1e3a8a;
  white-space: nowrap;
}
.hs-chip-guide { background: #e1f5ee; color: #0f6e56; }
.hs-chip-troubleshooting { background: #faeeda; color: #854f0b; }
.hs-chip-billing { background: #f1efe8; color: #444441; }

.hs-empty {
  color: #666;
  font-size: 0.95rem;
  padding: 20px 4px;
  text-align: center;
}
.hs-empty a { color: #1e3a8a; font-weight: 600; }

.hs-browse-intro { color: #888; font-size: 0.9rem; margin: 4px 0 18px; }
.hs-browse-cat { margin-bottom: 26px; }
.hs-browse-cat h2 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #999;
  margin: 0 0 10px;
}
.hs-browse-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid #ececec;
  border-radius: 10px;
  margin-bottom: 6px;
  color: #1a1a1a;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.1s, border-color 0.12s;
}
.hs-browse-item:hover,
.hs-browse-item:focus-visible {
  background: #f7f9fd;
  border-color: #c8d4ec;
  outline: none;
}
.hs-browse-item span { color: #1e3a8a; font-weight: 700; }

@media (max-width: 520px) {
  .help-hero h1 { font-size: 1.6rem; }
  .hs-result { padding-right: 18px; }
  .hs-go { display: none; }
}
