.help-root {
  --help-ink: #17352f;
  --help-muted: #526761;
  --help-accent: #176a52;
  --help-line: #d8e3de;
  --help-soft: #f3f7f4;
  color: var(--help-ink);
  width: 100%;
  min-width: 0;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.help-root *, .help-root *::before, .help-root *::after { box-sizing: border-box; }
.help-root [hidden] { display: none !important; }
.help-root button, .help-root input, .help-root select { font: inherit; }
.help-root button, .help-root summary, .help-root select { touch-action: manipulation; }
.help-root button { cursor: pointer; }
.help-root button:disabled { cursor: default; opacity: .5; }
.help-root :is(button, input, select, summary):focus-visible {
  outline: 3px solid #1167b1;
  outline-offset: 3px;
}
.help-header { margin-bottom: 1.25rem; }
.help-title { margin: 0 0 .35rem; font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.3; letter-spacing: -.02em; }
.help-intro { color: var(--help-muted); margin: 0; max-width: 64rem; }
.help-capability-note {
  margin: 0;
  padding: .9rem 1rem;
  border: 1px solid var(--help-line);
  border-left: 3px solid var(--help-accent);
  border-radius: .5rem;
  background: var(--help-soft);
  font-size: .9rem;
}
.help-reviewed { margin: .6rem 0 1.7rem; color: var(--help-muted); font-size: .8rem; }
.help-manual { margin: 0 0 2rem; }
.help-section-title { margin: 0 0 .85rem; font-size: 1.15rem; font-weight: 700; line-height: 1.4; }
.help-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; list-style: none; counter-reset: help-steps; }
.help-step { padding: 1rem; background: #fff; border: 1px solid var(--help-line); border-radius: .65rem; counter-increment: help-steps; }
.help-step::before { content: counter(help-steps); display: grid; place-items: center; width: 1.7rem; height: 1.7rem; background: #e5f2eb; color: #13563e; border-radius: 50%; font-size: .8rem; font-weight: 700; margin-bottom: .65rem; }
.help-step-title { font-size: .9rem; line-height: 1.5; margin: 0 0 .4rem; }
.help-step-body { font-size: .82rem; color: var(--help-muted); margin: 0; }
.help-filter-area { display: grid; grid-template-columns: minmax(0, 2fr) minmax(11rem, 1fr); gap: 1rem; margin-bottom: 1.25rem; }
.help-label { display: block; font-size: .83rem; font-weight: 650; margin: 0 0 .4rem; }
.help-search-row { display: flex; gap: .5rem; min-width: 0; }
.help-search, .help-category-select { width: 100%; min-width: 0; min-height: 2.9rem; padding: .65rem .85rem; color: var(--help-ink); background: #fff; border: 1px solid #a9beb4; border-radius: .5rem; font-size: .9rem; }
.help-search::placeholder { color: #63746d; opacity: 1; }
.help-clear-button { flex: 0 0 auto; max-width: 8rem; min-height: 2.9rem; border: 1px solid var(--help-line); border-radius: .5rem; padding: .5rem .75rem; background: #fff; color: var(--help-accent); font-size: .8rem !important; }
.help-layout { display: grid; grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.help-categories { border: 1px solid var(--help-line); border-radius: .65rem; padding: .85rem .6rem; background: #fff; }
.help-categories > .help-label { margin-left: .5rem; }
.help-category-list { padding: 0; margin: 0; list-style: none; }
.help-category-item { margin: .1rem 0; }
.help-category-button { display: flex; align-items: start; justify-content: space-between; gap: .6rem; width: 100%; min-height: 2.75rem; padding: .6rem .65rem; text-align: left; color: var(--help-muted); background: transparent; border: 1px solid transparent; border-radius: .4rem; font-size: .82rem !important; line-height: 1.5; }
.help-category-button:hover { background: var(--help-soft); }
.help-category-button[aria-pressed="true"] { background: #e7f3ed; color: #14583f; border-color: #bcdbcb; font-weight: 700; }
.help-category-name { min-width: 0; }
.help-category-count { flex-shrink: 0; font-size: .73rem; color: var(--help-muted); padding-top: .05rem; }
.help-results-main { min-width: 0; }
.help-results-toolbar { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; min-height: 2.5rem; margin-bottom: .9rem; }
.help-results-count { margin: 0; color: var(--help-muted); font-size: .83rem; }
.help-answer-controls { display: flex; gap: .75rem; flex-wrap: wrap; }
.help-text-button { padding: .4rem 0; min-height: 2.75rem; background: transparent; border: 0; color: var(--help-accent); text-decoration: underline; text-underline-offset: .2em; font-size: .8rem !important; }
.help-header > .help-text-button { margin-top: .5rem; }
.help-text-button:hover { color: #0b4734; }
.help-result-group { margin-bottom: 1.8rem; }
.help-group-title { margin: 0; font-size: 1rem; line-height: 1.5; }
.help-group-description { margin: .25rem 0 .8rem; color: var(--help-muted); font-size: .84rem; }
.help-question { border: 1px solid var(--help-line); border-radius: .5rem; margin-top: .55rem; background: #fff; }
.help-question-title { padding: .85rem 1rem; cursor: pointer; font-size: .88rem; font-weight: 600; min-height: 2.85rem; line-height: 1.6; }
.help-question-title::marker { color: var(--help-accent); }
.help-question-title:hover { background: var(--help-soft); border-radius: .5rem; }
.help-question[open] > .help-question-title { border-bottom: 1px solid var(--help-line); border-radius: .5rem .5rem 0 0; background: var(--help-soft); }
.help-answer { padding: .9rem 1rem 1rem; color: #344d43; font-size: .88rem; }
.help-answer p { margin: 0 0 .75rem; white-space: pre-line; }
.help-answer p:last-child { margin-bottom: 0; }
.help-state, .help-empty { padding: 1.5rem; background: #fff; border: 1px solid var(--help-line); border-radius: .65rem; }
.help-state-error, .help-state-invalid { border-color: #dbb3ab; background: #fff7f4; }
.help-state-message { margin: 0 0 .7rem; }
.help-state-loading .help-state-message { margin: 0; }
.help-button { min-height: 2.8rem; padding: .55rem .95rem; border: 1px solid var(--help-accent); border-radius: .5rem; background: var(--help-accent); color: #fff; font-size: .85rem !important; }
.help-button:hover { background: #11523f; }
.help-empty-title { margin: 0 0 .35rem; font-size: 1rem; }
.help-empty-hint { color: var(--help-muted); margin: 0 0 1rem; font-size: .9rem; }

@media (max-width: 1120px) {
  .help-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .help-layout { grid-template-columns: 12rem minmax(0, 1fr); gap: 1rem; }
}
@media (max-width: 760px) {
  .help-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-layout { grid-template-columns: minmax(0, 1fr); }
  .help-categories { display: none; }
  .help-filter-area { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .help-results-toolbar { align-items: start; }
}
@media (max-width: 440px) {
  .help-steps { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
  .help-step { display: grid; grid-template-columns: 1.7rem minmax(0, 1fr); gap: 0 .7rem; padding: .85rem; }
  .help-step::before { grid-row: 1 / 3; margin: .05rem 0 0; }
  .help-step-title { margin: 0 0 .2rem; }
  .help-step-body { grid-column: 2; }
  .help-search-row { flex-wrap: wrap; }
  .help-search { flex-basis: 100%; }
  .help-clear-button { max-width: none; min-height: 2.75rem; }
  .help-question-title { padding: .85rem .75rem; }
  .help-answer { padding: .85rem .75rem; }
  .help-answer-controls { gap: .6rem; }
  .help-empty, .help-state { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .help-root *, .help-root *::before, .help-root *::after { scroll-behavior: auto !important; }
}
