.core-help-button {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.core-help-button:hover,
.core-help-button[aria-expanded="true"] {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
}

.core-help-button:active {
  transform: translateY(1px);
}

.core-help-button[hidden] {
  display: none;
}

.core-help-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(6,10,12,.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.core-help-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.core-help-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1100;
  width: min(390px, 100vw);
  height: 100vh;
  height: 100dvh;
  padding: 22px;
  border-left: 1px solid var(--ui-border, rgba(255,255,255,.08));
  background: var(--ui-surface, #fff);
  color: var(--ui-text, #172126);
  box-shadow: -18px 0 42px rgba(0,0,0,.18);
  transform: translateX(102%);
  visibility: hidden;
  overflow-y: auto;
  transition: transform .22s ease, visibility .22s ease;
}

.core-help-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.core-help-open {
  overflow: hidden;
}

.core-help-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ui-border, rgba(0,0,0,.08));
}

.core-help-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--core-orange, #FF5C33);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
}

.core-help-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.core-help-close {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid var(--ui-border, rgba(0,0,0,.1));
  border-radius: 10px;
  background: var(--ui-surface-secondary, rgba(0,0,0,.03));
  color: var(--ui-text, #172126);
  font: inherit;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.core-help-body {
  display: grid;
  gap: 14px;
  padding-top: 18px;
}

.core-help-description {
  margin: 0 0 2px;
  color: var(--ui-muted-strong, #657177);
  font-size: 12px;
  line-height: 1.55;
}

.core-help-resource {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--ui-border, rgba(0,0,0,.08));
  border-radius: 14px;
  background: var(--ui-surface-secondary, rgba(0,0,0,.02));
}

.core-help-resource-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--core-orange, #FF5C33);
  background: rgba(255,92,51,.10);
  font-size: 18px;
}

.core-help-resource-copy {
  min-width: 0;
}

.core-help-resource-copy strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}

.core-help-resource-copy span {
  display: block;
  color: var(--ui-muted-strong, #657177);
  font-size: 10.5px;
  line-height: 1.45;
}

.core-help-resource-action {
  color: var(--core-orange, #FF5C33);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.core-help-resource-action.is-pending {
  color: var(--ui-muted-strong, #657177);
  cursor: default;
  opacity: .72;
}

@media (max-width: 640px) {
  .core-help-drawer {
    width: 100vw;
    padding: 18px;
  }

  .core-help-resource {
    grid-template-columns: 38px minmax(0,1fr);
  }

  .core-help-resource-action {
    grid-column: 2;
  }
}
