.profile-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.profile-section-nav .icon,
.help-guide .icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.profile-section-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text-soft);
  font-weight: 650;
  text-decoration: none;
}
.profile-section-nav a[aria-current="page"] {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
}
.help-guide {
  --help-accent: var(--brand-accent-500);
  --help-accent-soft: var(--info-soft);
  min-width: 0;
}
.help-intro,
.help-controls {
  padding: 26px 30px;
  margin-bottom: 20px;
}
.help-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: 30px;
  border-top: 3px solid var(--help-accent);
}
.help-intro h2 {
  margin: 8px 0 12px;
  font-size: clamp(21px, 2.4vw, 28px);
  letter-spacing: -0.6px;
}
.help-intro p {
  max-width: 720px;
  color: var(--text-soft);
  line-height: 2;
  margin: 0;
}
.help-context {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-soft);
}
.help-controls > label {
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
}
.help-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.help-search-row > .icon {
  color: var(--text-soft);
  flex-shrink: 0;
}
.help-search-row .input {
  min-width: 0;
  flex: 1;
}
.help-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.help-scope {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-soft);
  cursor: pointer;
}
.help-scope input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}
.help-result-count {
  margin: 0;
  font-size: 12px;
  color: var(--text-soft);
}
.help-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}
.help-toc {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  padding: 20px 14px;
}
.help-toc h3 {
  font-size: 14px;
  margin: 0 10px 12px;
}
.help-toc-list {
  overflow: auto;
  max-height: calc(100dvh - var(--header-height) - 140px);
}
.help-toc-list a {
  display: block;
  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
}
.help-toc-list a:hover,
.help-toc-list a:focus-visible {
  background: var(--surface-soft);
}
.help-toc-list a span {
  display: block;
  font-size: 12px;
  line-height: 1.9;
}
.help-toc-list a small {
  display: block;
  color: var(--text-soft);
  margin-top: 2px;
  font-size: 10px;
}
.help-chapters {
  min-width: 0;
  display: grid;
  gap: 14px;
}
.help-chapter {
  scroll-margin-top: calc(var(--header-height) + 20px);
  overflow: hidden;
}
.help-chapter summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}
.help-chapter summary::-webkit-details-marker {
  display: none;
}
.help-chapter-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--surface-strong);
  color: var(--text-soft);
  font-size: 13px;
}
.help-chapter-title {
  flex: 1;
  min-width: 0;
}
.help-chapter-title small {
  display: block;
  font-size: 10px;
  color: var(--text-soft);
  margin-bottom: 4px;
}
.help-chapter-title strong {
  display: block;
  font-size: 14px;
  line-height: 1.9;
}
.help-chevron {
  flex-shrink: 0;
  transform: rotate(-90deg);
}
.help-chapter[open] .help-chevron {
  transform: rotate(90deg);
}
.help-chapter-body {
  padding: 0 28px 28px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 2.15;
  overflow-wrap: anywhere;
}
.help-chapter-intro {
  margin: 0 0 22px;
  color: var(--text);
}
.help-chapter-body h3 {
  margin: 22px 0 10px;
  font-size: 13px;
  color: var(--text);
}
.help-chapter-body ol,
.help-chapter-body ul {
  padding-inline-start: 24px;
  margin: 0 0 18px;
}
.help-chapter-body li + li {
  margin-top: 12px;
}
.help-chapter-body li::marker {
  color: var(--text);
  font-weight: 700;
}
.help-notes {
  background: var(--surface-soft);
  border-inline-start: 3px solid var(--border-strong);
  padding: 18px 20px;
  border-radius: 14px;
  margin: 22px 0;
  font-size: 12px;
}
.help-notes ul {
  margin: 0;
}
.help-access-note {
  margin: 16px 0 0;
  font-size: 12px;
}
.help-no-results {
  padding: 30px;
  text-align: center;
}
.help-no-results h3 {
  margin-top: 0;
}
.help-no-results p {
  color: var(--text-soft);
  line-height: 2;
}
.help-guide [hidden] {
  display: none !important;
}
.help-map {
  margin: 0;
  min-width: 0;
}
.help-map-screen {
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--surface-soft);
  overflow: hidden;
}
.help-map-bar {
  display: flex;
  justify-content: space-between;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  font-size: 11px;
  font-weight: 800;
}
.help-map-bar > span:last-child {
  display: flex;
  gap: 12px;
  color: var(--text-soft);
}
.help-map-content {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  min-height: 136px;
}
.help-map-menu {
  border-inline-end: 1px solid var(--border);
  padding: 14px 10px;
  background: var(--surface);
}
.help-map-screen i {
  display: block;
  background: var(--border-strong);
  border-radius: 4px;
  height: 7px;
  margin: 9px 0;
}
.help-map-menu i.is-active {
  background: var(--help-accent);
  height: 12px;
}
.help-map-main {
  padding: 10px 14px;
}
.help-map-heading,
.help-map-status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.help-map-heading i {
  width: 70%;
}
.help-map-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-block: 6px;
}
.help-map-row i {
  height: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.help-map-status i {
  width: 34%;
  background: var(--help-accent);
}
.help-map-pin,
.help-map figcaption b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--help-accent);
  font-size: 11px;
  font-style: normal;
  flex-shrink: 0;
}
.help-map figcaption {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-soft);
}
.help-map figcaption b {
  width: 18px;
  height: 18px;
  margin-inline-end: 5px;
  background: var(--surface-strong);
  color: var(--text);
  font-size: 10px;
}
.help-visual {
  margin-block: 30px 40px;
}
.help-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.help-section-heading h2 {
  font-size: 20px;
  margin: 6px 0 0;
}
.help-section-heading p {
  font-size: 12px;
  line-height: 2;
  color: var(--text-soft);
  max-width: 340px;
  margin: 0;
}
.help-eyebrow {
  font-size: 11px;
  color: var(--text-soft);
  line-height: 1.9;
}
.help-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.help-journey-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  text-align: start;
  cursor: pointer;
  min-width: 0;
}
.help-journey-choice:hover,
.help-journey-choice[aria-pressed="true"] {
  border-color: var(--help-accent);
  background: var(--help-accent-soft);
}
.help-journey-choice[aria-pressed="true"] {
  box-shadow: inset 0 0 0 1px var(--help-accent);
}
.help-journey-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 42px;
  color: var(--help-accent);
  background: var(--help-accent-soft);
  border-radius: 10px;
  flex-shrink: 0;
}
.help-journey-label {
  flex: 1;
  min-width: 0;
}
.help-journey-label strong {
  display: block;
  font-size: 12px;
  line-height: 1.9;
}
.help-journey-label small {
  display: block;
  font-size: 10px;
  line-height: 1.8;
  color: var(--text-soft);
  margin-top: 4px;
}
.help-journey-count {
  align-self: start;
  font-size: 10px;
  white-space: nowrap;
  color: var(--text-soft);
}
.help-walkthrough {
  padding: 24px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}
.help-walkthrough-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.help-walkthrough-heading h3 {
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.8;
}
.help-progress {
  font-size: 11px;
  padding: 7px 11px;
  border-radius: 8px;
  background: var(--surface-soft);
  white-space: nowrap;
  color: var(--text-soft);
}
.help-step-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  gap: 6px;
}
.help-step-rail button {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text-soft);
  text-align: start;
  font: inherit;
  font-size: 10px;
  line-height: 1.7;
  cursor: pointer;
}
.help-step-rail button span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--text);
}
.help-step-rail button[aria-current="step"] {
  background: var(--help-accent-soft);
  border-color: var(--help-accent);
  color: var(--text);
  font-weight: 700;
}
.help-step-rail button[aria-current="step"] span {
  background: var(--help-accent);
  color: #fff;
}
.help-walkthrough-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.help-training-screen {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface-soft);
}
.help-training-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: var(--surface-strong);
  font-size: 11px;
  border-bottom: 1px solid var(--border);
}
.help-training-bar > span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.help-training-bar small {
  font-size: 9px;
  color: var(--text-soft);
  white-space: nowrap;
}
.help-training-content {
  padding: 20px;
  display: grid;
  gap: 13px;
}
.help-example-field {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  background: var(--surface);
  min-width: 0;
}
.help-example-field > span:not(.help-hotspot) {
  display: block;
  font-size: 10px;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.help-example-field strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.9;
}
.help-example-focus {
  outline: 2px solid var(--help-accent);
  outline-offset: 3px;
}
.help-hotspot {
  position: absolute;
  inset-inline-start: -11px;
  top: -11px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--help-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
}
.help-example-action {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--help-accent);
  color: #fff;
  border-radius: 8px;
  padding: 11px 10px;
  font-size: 12px;
  line-height: 1.9;
  margin-top: 4px;
}
.help-example-observe {
  background: var(--surface-strong);
  color: var(--text-soft);
  border-radius: 4px;
  font-size: 11px;
}
.help-training-screen figcaption {
  padding: 12px 16px;
  font-size: 10px;
  line-height: 1.9;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
}
.help-training-art {
  display: grid;
  place-items: center;
  height: 60px;
  color: var(--help-accent);
  background: var(--help-accent-soft);
  border-radius: 8px;
}
.help-training-art .icon {
  width: 34px;
  height: 34px;
}
.help-training-status .help-example-field:first-child,
.help-training-receipt .help-example-field:first-child {
  border-inline-start: 3px solid var(--success);
}
.help-training-branch .help-example-field {
  border-inline-start: 3px solid var(--info);
}
.help-step-copy h4 {
  margin: 8px 0 12px;
  font-size: 20px;
  line-height: 1.8;
}
.help-step-copy > p {
  font-size: 13px;
  line-height: 2.2;
  margin: 0 0 18px;
  color: var(--text-soft);
}
.help-step-result {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 14px;
  margin-block: 18px;
  background: var(--success-soft);
  border-radius: 10px;
  color: var(--success);
}
.help-step-result > .icon {
  margin-top: 4px;
}
.help-step-result strong {
  font-size: 11px;
}
.help-step-result p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 2;
  color: var(--text);
}
.help-reference-link {
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 11px;
  text-underline-offset: 5px;
}
.help-reference-link .icon {
  transform: rotate(180deg);
  width: 14px;
  height: 14px;
}
.help-walkthrough-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border);
  margin-top: 22px;
  padding-top: 16px;
}
.help-walkthrough-footer > span {
  font-size: 10px;
  color: var(--text-soft);
  line-height: 1.9;
}
.help-walkthrough-footer > div {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.help-walkthrough-footer .btn,
.help-topic-flow .btn {
  min-height: 44px;
}
.help-topic-flow {
  padding: 16px;
  background: var(--help-accent-soft);
  border-radius: 12px;
  margin-bottom: 22px;
}
.help-topic-flow ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}
.help-topic-flow li {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
}
.help-topic-flow li + li {
  margin: 0;
}
.help-topic-flow li span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: var(--surface);
  color: var(--help-accent);
  border-radius: 50%;
}
.help-chapter-body .help-instruction-cards {
  list-style: none;
  padding: 0;
}
.help-instruction-cards li {
  display: flex;
  align-items: start;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
}
.help-instruction-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--help-accent);
  font-weight: 750;
  flex-shrink: 0;
}
.help-guide button:focus-visible,
.help-guide a:focus-visible,
.help-guide summary:focus-visible {
  outline: 2px solid var(--help-accent);
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .help-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 16px;
  }
  .help-journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .profile-section-nav {
    margin-bottom: 18px;
  }
  .profile-section-nav a {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
    font-size: 12px;
  }
  .help-intro,
  .help-controls {
    padding: 22px 20px;
  }
  .help-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .help-map-content {
    min-height: 110px;
  }
  .help-map figcaption {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 10px;
  }
  .help-journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .help-journey-choice {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 12px;
    gap: 8px;
  }
  .help-journey-icon {
    width: 32px;
    height: 32px;
  }
  .help-journey-label {
    grid-column: 1 / -1;
  }
  .help-journey-label small {
    display: none;
  }
  .help-journey-count {
    grid-column: 2;
    grid-row: 1;
    text-align: end;
    align-self: center;
  }
  .help-section-heading {
    display: block;
  }
  .help-section-heading p {
    margin-top: 8px;
  }
  .help-walkthrough {
    padding: 18px;
  }
  .help-walkthrough-heading h3 {
    font-size: 16px;
  }
  .help-progress {
    padding: 6px 8px;
    font-size: 10px;
  }
  .help-step-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-block: 16px;
  }
  .help-walkthrough-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .help-step-copy h4 {
    font-size: 18px;
  }
  .help-walkthrough-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .help-walkthrough-footer > div {
    justify-content: space-between;
  }
  .help-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .help-toc {
    position: static;
    padding: 18px 14px;
  }
  .help-toc-list {
    max-height: 190px;
  }
  .help-chapter summary {
    gap: 10px;
    padding: 18px;
  }
  .help-chapter-body {
    padding: 0 20px 22px;
  }
  .help-chapter-number {
    width: 34px;
    height: 34px;
  }
  .help-search-row {
    gap: 8px;
  }
  .help-search-row > .icon {
    display: none;
  }
  .help-search-row .input {
    font-size: 12px;
  }
  .help-notes {
    padding: 14px;
  }
}
