.help_page {
  box-sizing: border-box;
  max-width: 760px;
  margin: 0 auto;
  padding: 12px;
  text-align: left;
  color: #222;
  background: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.help_page [hidden] {
  display: none !important;
}

.help_form {
  display: flex;
  gap: 6px;
  margin: 0 0 10px;
}

.help_form input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  width: 100%;
  padding: 8px 10px;
  font-size: 16px;
  border: 1px solid #9a8a6a;
  border-radius: 6px;
}

.help_form button {
  flex: none;
}

.help_chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 6px;
  margin: 0 0 8px;
}

.help_chip {
  flex: none;
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #b8a27a;
  border-radius: 14px;
  color: #5a3d12;
  background: #fbf5e8;
  text-decoration: none;
}

.help_chip.on {
  color: #fff;
  background: #8a5a1a;
  border-color: #8a5a1a;
}

.help_popular h2 {
  margin: 8px 0 4px;
  font-size: 15px;
}

.help_popular ul {
  margin: 0;
  padding: 0 0 0 18px;
}

.help_popular li {
  margin: 4px 0;
}

.help_count {
  margin: 4px 0;
  color: #666;
  font-size: 12px;
}

.help_results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.help_card {
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px solid #ddd0b4;
  border-radius: 8px;
  background: #fffdf8;
}

.help_head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  color: #3b2a0e;
  text-decoration: none;
}

.help_title {
  font-weight: bold;
  overflow-wrap: anywhere;
}

.help_cat {
  flex: none;
  padding: 1px 8px;
  border-radius: 10px;
  color: #5a3d12;
  background: #f0e3c4;
  font-size: 12px;
}

.help_snip {
  margin: 4px 0 0;
  color: #444;
  overflow-wrap: anywhere;
}

.help_card.open .help_snip {
  display: none;
}

.help_full {
  margin: 6px 0 0;
  color: #222;
  overflow-x: auto;
  overflow-wrap: anywhere;
}

.help_full *:not(mark):not(a) {
  color: #222 !important;
}

.help_page .help_head,
.help_page .help_head .help_title,
.help_page .help_head mark,
.help_page .help_full mark {
  color: #3b2a0e !important;
}

.help_full a {
  color: #8a5a1a !important;
}

.help_full p {
  margin: 0 0 8px;
}

.help_full img {
  max-width: 100%;
  height: auto;
}

.help_full table {
  border-collapse: collapse;
}

.help_full th,
.help_full td {
  border: 1px solid #ccc;
  padding: 2px 4px;
}

.help_page mark {
  padding: 0 1px;
  color: inherit;
  background: #ffe28a;
}

.help_none {
  margin: 12px 0;
  padding: 10px;
  border: 1px dashed #c8b48c;
  border-radius: 8px;
  text-align: center;
}

.help_none p {
  margin: 0 0 8px;
  font-weight: bold;
}

.help_chat_line {
  margin: 12px 0 0;
  color: #555;
  font-size: 12px;
}

body.phone .help_page {
  max-width: none;
  padding: 8px;
}

body.phone .help_card {
  padding: 10px;
}

.help_closest {
  margin: 8px 0 4px;
  font-weight: bold;
}

body.phone .help_chips {
  flex-wrap: wrap;
  overflow-x: visible;
  white-space: normal;
}
