.help-hero {
  background: #f7faf9;
  border-bottom: 1px solid #dde7e4;
}

.help-hero--compact .help-hero__inner {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.help-hero .container,
.help-layout.container {
  max-width: 1180px;
}

.help-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 2rem;
  align-items: end;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.help-kicker {
  margin: 0 0 .5rem;
  color: #087f5b;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.help-hero h1,
.help-role-heading h2 {
  margin: 0;
  color: #10231f;
  font-weight: 750;
}

.help-hero h1 {
  font-size: clamp(2rem, 3rem, 3rem);
}

.help-lede,
.help-role-heading p,
.help-intro {
  color: #50615d;
}

.help-lede {
  max-width: 48rem;
  margin: .75rem 0 0;
  font-size: 1.1rem;
}

.help-search {
  background: #fff;
  border: 1px solid #d7e1de;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(16, 35, 31, .08);
}

.help-search label {
  display: block;
  margin-bottom: .5rem;
  color: #2f4540;
  font-size: .9rem;
  font-weight: 700;
}

.help-search__control {
  display: flex;
  align-items: center;
  gap: .6rem;
  border: 1px solid #c9d7d3;
  border-radius: 6px;
  padding: .7rem .85rem;
}

.help-search__control i {
  color: #087f5b;
}

.help-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
}

.help-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.help-layout--single {
  grid-template-columns: 1fr;
}

.help-sidebar {
  position: sticky;
  top: 5rem;
  align-self: start;
}

.help-role-list {
  display: grid;
  gap: .5rem;
}

.help-role-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  border: 1px solid #d7e1de;
  border-radius: 8px;
  padding: .65rem .8rem;
  color: #263d38;
  text-decoration: none;
  background: #fff;
}

.help-role-link:hover,
.help-role-link.is-active {
  border-color: #087f5b;
  color: #064b37;
  background: #eef8f4;
}

.help-role-link span:last-child {
  color: #6b6252;
  font-size: .82rem;
  font-weight: 700;
}

.help-content {
  min-width: 0;
}

.help-admin-tools {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.help-admin-edit-button,
.help-editor-button,
.help-editor-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid #c9d7d3;
  border-radius: 6px;
  color: #17352e;
  background: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.help-admin-edit-button {
  min-height: 38px;
  padding: .5rem .75rem;
}

.help-admin-edit-button:hover,
.help-editor-button:hover,
.help-editor-icon-button:hover {
  border-color: #087f5b;
  color: #064b37;
  background: #eef8f4;
}

body.help-editor-open {
  overflow: hidden;
}

.help-editor-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 4vh 1rem;
  background: rgba(16, 35, 31, .45);
  overflow: auto;
}

.help-editor-dialog {
  width: min(920px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 8px;
  border: 1px solid #c9d7d3;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 35, 31, .28);
}

.help-editor-header,
.help-editor-footer,
.help-editor-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.help-editor-header {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 1rem;
  border-bottom: 1px solid #dde7e4;
  background: #fff;
}

.help-editor-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.help-editor-actions-bar,
.help-editor-footer {
  padding: 1rem;
}

.help-editor-actions-bar {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.help-editor-footer {
  position: sticky;
  bottom: 0;
  border-top: 1px solid #dde7e4;
  background: #fff;
}

.help-editor-label {
  display: block;
  margin: .75rem 1rem .35rem;
  color: #2f4540;
  font-size: .86rem;
  font-weight: 700;
}

.help-editor-input,
.help-editor-textarea {
  width: calc(100% - 2rem);
  margin: 0 1rem;
  border: 1px solid #c9d7d3;
  border-radius: 6px;
  padding: .65rem .75rem;
  color: #172b26;
  font: inherit;
}

.help-editor-textarea {
  resize: vertical;
}

.help-editor-list {
  display: grid;
  gap: .75rem;
  padding: 0 1rem 1rem;
}

.help-editor-item {
  border: 1px solid #dde7e4;
  border-radius: 8px;
  padding-bottom: 1rem;
  background: #fbfdfc;
}

.help-editor-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 46px;
  padding: .65rem .75rem;
  border-bottom: 1px solid #e5eeeb;
}

.help-editor-item-actions {
  display: flex;
  gap: .35rem;
}

.help-editor-button {
  min-height: 36px;
  padding: .45rem .7rem;
}

.help-editor-button--primary {
  border-color: #087f5b;
  color: #fff;
  background: #087f5b;
}

.help-editor-button--primary:hover {
  color: #fff;
  background: #06684a;
}

.help-editor-button--danger:hover {
  border-color: #b42318;
  color: #b42318;
  background: #fff4f2;
}

.help-editor-button--small {
  margin: .75rem 1rem 0;
}

.help-editor-icon-button {
  width: 34px;
  height: 34px;
  padding: 0;
}

.help-editor-icon-button--danger:hover {
  border-color: #b42318;
  color: #b42318;
  background: #fff4f2;
}

.help-editor-image-fields {
  margin-top: .75rem;
}

.help-editor-image-preview,
.help-editor-image-empty {
  width: calc(100% - 2rem);
  margin: .75rem 1rem 0;
  border: 1px solid #d7e1de;
  border-radius: 8px;
  background: #fff;
}

.help-editor-image-preview {
  overflow: hidden;
}

.help-editor-image-preview-stage {
  position: relative;
  overflow: hidden;
  cursor: crosshair;
  background: #f5f8f7;
}

.help-editor-image-preview img {
  display: block;
  width: 100%;
  background: #f5f8f7;
}

.help-editor-image-preview-stage .help-editor-callout-target {
  cursor: grab;
  pointer-events: auto;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .85);
  touch-action: none;
}

.help-editor-image-preview-stage .help-editor-callout-target.is-dragging {
  cursor: grabbing;
  border-color: #087f5b !important;
  background: rgba(8, 127, 91, .12);
}

.help-editor-image-empty {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: .75rem;
  color: #6b6252;
}

.help-editor-upload-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
}

.help-editor-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.help-editor-upload-status {
  margin-top: .75rem;
  color: #087f5b;
  font-size: .86rem;
  font-weight: 700;
}

.help-editor-callouts {
  width: calc(100% - 2rem);
  margin: .85rem 1rem 0;
  border: 1px solid #d7e1de;
  border-radius: 8px;
  padding: .75rem;
  background: #fff;
}

.help-editor-callout-head {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
}

.help-editor-callout-head {
  justify-content: space-between;
}

.help-editor-callout-head .help-editor-button--small {
  margin: 0;
}

.help-editor-callout-empty {
  margin: .55rem 0 0;
  color: #6b6252;
  font-size: .9rem;
}

.help-top-actions {
  margin-bottom: 1rem;
}

.help-faq-card {
  display: grid;
  gap: .45rem;
  width: 100%;
  border: 1px solid #d7e1de;
  border-radius: 8px;
  padding: 1rem;
  color: #263d38;
  text-decoration: none;
  background: #fff;
}

.help-faq-card:hover {
  border-color: #087f5b;
  color: #064b37;
  background: #f6fbf9;
}

.help-faq-card strong {
  color: #172b26;
  font-size: 1.05rem;
}

.help-empty {
  border: 1px dashed #c9d7d3;
  border-radius: 8px;
  padding: 1.25rem;
  color: #50615d;
  background: #fff;
}

.help-role-heading {
  margin-bottom: 1.5rem;
}

.help-role-heading h2 {
  font-size: 1.75rem;
}

.help-role-heading p,
.help-intro {
  margin: .5rem 0 0;
}

.help-section {
  margin-top: 2rem;
}

.help-section h2 {
  margin: 0 0 .85rem;
  color: #172b26;
  font-size: 1.15rem;
}

.help-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.help-contact-action {
  margin-top: 1rem;
}

.help-role-card,
.help-guide-card,
.help-contact-card {
  display: grid;
  gap: .45rem;
  border: 1px solid #d7e1de;
  border-radius: 8px;
  padding: 1rem;
  color: #263d38;
  text-decoration: none;
  background: #fff;
}

.help-role-card:hover,
.help-guide-card:hover,
.help-contact-card:hover {
  border-color: #087f5b;
  color: #064b37;
  background: #f6fbf9;
}

.help-role-card strong,
.help-contact-card strong,
.help-guide-card > span:first-child {
  color: #172b26;
  font-size: 1.05rem;
}

.help-guide-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.help-guide-list {
  display: grid;
  gap: .75rem;
}

.help-guide {
  border: 1px solid #d7e1de;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.help-guide[open] {
  box-shadow: 0 12px 28px rgba(16, 35, 31, .08);
}

.help-guide summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 58px;
  padding: 1rem 1.1rem;
  cursor: pointer;
  color: #172b26;
  font-weight: 700;
}

.help-guide summary::-webkit-details-marker {
  display: none;
}

.help-guide summary::after {
  content: "\F282";
  flex: 0 0 auto;
  font-family: bootstrap-icons;
  color: #087f5b;
  transition: transform .18s ease;
}

.help-guide[open] summary::after {
  transform: rotate(180deg);
}

.help-guide__meta {
  margin-left: auto;
  white-space: nowrap;
  color: #6b6252;
  font-size: .85rem;
  font-weight: 700;
}

.help-guide__body {
  border-top: 1px solid #e5ecea;
  padding: 1.25rem;
}

.help-guide__section {
  scroll-margin-top: 5rem;
  margin: 2rem 0 .75rem;
  color: #704a00;
  font-size: 1.2rem;
}

.help-guide__body > .help-guide__section:first-child {
  margin-top: 0;
}

.help-step {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: .9rem;
  margin-top: 1.1rem;
}

.help-step:first-child {
  margin-top: 0;
}

.help-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  color: #07553f;
  background: #dff3eb;
  font-weight: 800;
}

.help-step__content {
  min-width: 0;
}

.help-step__content p,
.help-note p {
  margin: .25rem 0 .75rem;
  color: #263d38;
  line-height: 1.6;
}

.help-step__content a,
.help-note a,
.help-intro a {
  color: #0b7285;
  font-weight: 700;
}

.help-shot {
  margin: .7rem 0 1.25rem;
  max-width: 760px;
}

.help-shot__stage {
  position: relative;
  overflow: hidden;
  border: 1px solid #d7e1de;
  border-radius: 8px;
  background: #eef3f1;
  aspect-ratio: var(--shot-aspect, auto);
}

.help-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.help-click-target {
  position: absolute;
  display: block;
  box-sizing: border-box;
  pointer-events: none;
  border-style: solid;
  border-width: 2px;
  border-radius: 999px;
  background: rgba(251, 146, 60, .08);
  transform: translate(-50%, -50%);
}

.help-note {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: .65rem;
  margin: 1rem 0;
  border: 1px solid #c7dbd5;
  border-left: 4px solid #087f5b;
  border-radius: 8px;
  padding: .85rem 1rem;
  background: #f6fbf9;
}

.help-intro-note {
  margin: 0 0 1.5rem;
}

.help-intro-note p:last-child {
  margin-bottom: .25rem;
}

.help-note i {
  color: #087f5b;
}

.help-note--warning {
  border-color: #f1c27d;
  border-left-color: #d97706;
  background: #fff8ed;
}

.help-note--warning i {
  color: #d97706;
}

.help-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1rem;
  color: #50615d;
  font-size: .9rem;
}

.help-breadcrumb a {
  color: #0b7285;
  font-weight: 700;
  text-decoration: none;
}

.help-article {
  min-width: 0;
}

.help-toc {
  border: 1px solid #d7e1de;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  background: #fff;
}

.help-toc h2 {
  margin: 0 0 .65rem;
  color: #172b26;
  font-size: 1rem;
}

.help-toc ol {
  display: grid;
  gap: .4rem;
  margin: 0;
  padding-left: 1.25rem;
}

.help-toc a {
  color: #0b7285;
  font-weight: 700;
}

@media (max-width: 900px) {
  .help-hero__inner,
  .help-layout {
    grid-template-columns: 1fr;
  }

  .help-sidebar {
    position: static;
  }

  .help-role-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .help-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .help-hero__inner {
    padding-top: 2rem;
  }

  .help-role-list {
    grid-template-columns: 1fr;
  }

  .help-guide summary {
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem;
  }

  .help-guide summary::after {
    position: absolute;
    right: 1rem;
  }

  .help-step {
    grid-template-columns: 1fr;
  }
}
