/* Beginner learning path and reference library. */
.help-home-hero { padding-block: 3rem 2.5rem; }
.hero.help-home-hero > .jzs-shell { min-height: 0; padding-block: 0; }
.site-nav .button--quiet { color: #252830; background: #fff; border-color: #c9ccc8; }
.site-nav .button--quiet:hover,.site-nav .button--quiet:focus-visible { color: #252830; background: #f7f7f5; box-shadow: none; }
.help-home-hero h1 { max-width: 900px; font-size: clamp(2.6rem,5vw,4rem); }
.help-home-hero .hero__lead { max-width: 720px; }
.help-home-hero .hero__stats { margin-block: 1.25rem; }
.help-home-content { padding-block: 1.5rem 3.5rem; }
.help-quick { padding-block: 3rem; }
.help-start { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem; margin-bottom: 3rem; background: #fff3ea; border: 1px solid #f3d7c6; border-radius: 12px; color: var(--jzs-ink); text-decoration: none; }
.help-start h2 { font-size: clamp(1.8rem,3vw,2.5rem); margin-bottom: .7rem; }
.help-start p:last-child { margin-bottom: 0; max-width: 640px; }
.help-start .button { flex-shrink: 0; }
.help-home-content .section-heading h2,.help-quick h2 { font-size: clamp(1.8rem,3vw,2.5rem); }
.help-category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.help-category-card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.5rem; border: 1px solid #dddfdc; border-radius: 10px; text-decoration: none; color: var(--jzs-ink); background: #fff; }
.help-category-card:hover { border-color: var(--jzs-primary); color: var(--jzs-ink); }
.help-category-card__number { color: #b63805; background: #fff1e9; border-radius: 6px; padding: .25rem .6rem; margin-bottom: 1.2rem; font-size: .85rem; font-weight: 700; }
.help-category-card h3 { font-size: 1.25rem; line-height: 1.22; margin-bottom: .75rem; }
.help-category-card p { font-size: .88rem; color: #555a64; margin: 0 0 1.25rem; }
.help-category-card small { margin-top: auto; display: flex; justify-content: space-between; width: 100%; font-weight: 600; }
.help-quick-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.help-quick-grid a { display: flex; justify-content: space-between; gap: 1rem; color: var(--jzs-ink); background: #fff; border: 1px solid #dddfdc; padding: 1rem 1.25rem; border-radius: 8px; text-decoration: none; font-weight: 600; }
.help-resource-link { margin-top: 1.5rem; }
.help-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: clamp(2rem,4vw,4rem); padding-block: 2.5rem 4rem; align-items: start; }
.help-main { min-width: 0; max-width: 800px; width: 100%; }
#main:has(.help-layout) { overflow-x: clip; overflow-y: visible; }
.help-navigation { min-width: 0; position: sticky; top: var(--help-sticky-top, 84px); align-self: start; }
.help-sidebar { max-height: none; overflow: visible; padding: .25rem 1rem 1rem 0; }
.help-sidebar__home { display: block; font-weight: 700; font-size: 1.05rem; color: var(--jzs-ink); text-decoration: none; margin-bottom: 1rem; }
.help-sidebar .search-form { display: flex; flex-direction: row; align-items: stretch; gap: .4rem; margin: 0 0 1.25rem; padding: 0; width: 100%; border: 0; background: none; box-shadow: none; }
.help-sidebar .search-form:focus-within { box-shadow: none; }
.help-sidebar .search-form label { display: flex; min-width: 0; flex: 1; }
.help-sidebar .search-form input[type="search"] { width: 100%; min-width: 0; height: 44px; min-height: 44px; padding: .6rem; font-size: .875rem; line-height: 1.4; border: 1px solid #bfc3bd; border-radius: 6px; background: #fff; }
/* Inset focus stays visible inside the sidebar's scrolling boundary. */
.help-sidebar .search-form input[type="search"]:focus-visible { border-color: #a93200; outline: 2px solid #a93200; outline-offset: -2px; }
.help-sidebar .search-form button { flex: 0 0 auto; width: auto; height: 44px; min-height: 44px; min-width: 60px; font-size: .8rem; padding: .6rem; border-radius: 6px; }
.help-sidebar .search-form button:hover,.help-sidebar .search-form button:focus-visible { transform: none; box-shadow: none; }
.help-sidebar .search-form button:focus-visible { outline: 2px solid #0b0c0f; outline-offset: -4px; }
.help-sidebar .search-suggestions { max-height: 50dvh; }
.help-sidebar .search-suggestion { grid-template-columns: 1fr; }
.help-sidebar .search-suggestion__access { grid-column: 1; grid-row: auto; justify-self: start; }
.help-category { border-bottom: 1px solid #e7e8e4; }
.help-category summary { display: flex; align-items: baseline; gap: .5rem; cursor: pointer; padding: .9rem .25rem; font-size: .85rem; font-weight: 600; line-height: 1.4; list-style: none; }
.help-category summary::-webkit-details-marker { display: none; }
.help-category summary::after { content: '+'; flex: 0 0 .65rem; margin-left: auto; }
.help-category[open] summary::after { content: '−'; }
.help-category__number { font-size: .75rem; color: #666; font-variant-numeric: tabular-nums; }
.help-category__number:empty { display: none; }
.help-category__count { font-size: .7rem; background: #f0f1ee; border-radius: 4px; padding: .05rem .3rem; font-weight: 400; }
.help-category__overview { display: block; padding: .4rem .65rem .75rem; font-size: .78rem; }
.help-category ul { list-style: none; margin: 0 0 .75rem; padding: 0; }
.help-category li a { display: block; font-size: .8rem; line-height: 1.45; padding: .65rem .7rem; border-left: 3px solid transparent; border-radius: 0 6px 6px 0; color: #454950; text-decoration: none; }
.help-category li a:hover { background: #f7f7f5; }
.help-category li a[aria-current="page"] { color: #8d2c05; border-left-color: #c73c00; background: #fff0e6; font-weight: 700; }
.help-category li small { display: block; color: #666; font-size: .67rem; font-weight: 400; margin-top: .2rem; }
.help-sidebar__all { display: block; padding-block: 1rem; font-size: .85rem; font-weight: 600; }
.help-sidebar__contact { border-top: 1px solid #dddfdc; padding-top: 1.25rem; font-size: .8rem; }
.help-sidebar__contact p { margin-block: .5rem; color: #555a64; }
.help-menu-toggle { display: none; }
.help-breadcrumbs { font-size: .78rem; line-height: 1.6; margin-bottom: 1.75rem; color: #60646b; }
.help-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem .5rem; padding: 0; margin: 0; list-style: none; }
.help-breadcrumbs li:not(:last-child)::after { content: '/'; padding-left: .5rem; color: #999; }
.help-breadcrumbs a { color: #555a64; }
.help-page-header { margin-bottom: 2rem; }
.help-page-header h1,.help-main .article-header h1 { font-size: clamp(2.15rem,3.5vw,3.25rem); line-height: 1.12; overflow-wrap: break-word; }
.help-page-header p { color: #555a64; }
.help-page-header small { color: #555a64; font-size: .8rem; }
.help-main .article-header { margin-bottom: 1.75rem; }
.help-main .article-header__meta { font-size: .8rem; }
.help-main .locked-article h2 { font-size: 1.65rem; line-height: 1.25; }
.help-main .locked-article .access-form { max-width: 100%; }
.help-main .article-content :is(h2,h3) { scroll-margin-top: 2rem; }
.article-toc { background: #f7f7f5; border: 1px solid #e0e2dd; border-radius: 8px; margin-bottom: 2rem; padding: 1rem 1.25rem; font-size: .9rem; }
.article-toc summary { cursor: pointer; font-weight: 600; }
.article-toc ol { margin-bottom: 0; padding-left: 1.2rem; }
.article-toc li { margin-top: .45rem; }
.article-toc a { color: #494d54; }
.article-toc .toc-subheading { margin-left: 1rem; }
.help-recommended { background: #fff3ea; border-left: 3px solid #c53c00; padding: 1.1rem 1.25rem; margin-bottom: 1.5rem; }
.help-recommended span { display: block; font-size: .75rem; margin-bottom: .3rem; }
.help-recommended a { color: #8d2c05; font-weight: 600; }
.help-guide-list { list-style: none; padding: 0; margin: 0; }
.help-guide-list li { border-bottom: 1px solid #e4e5e1; }
.help-guide-list a { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .5rem 1rem; padding: 1.25rem .5rem; text-decoration: none; color: var(--jzs-ink); }
.help-guide-list a:hover { background: #fafaf8; }
.help-guide-list__title { font-weight: 600; line-height: 1.4; }
.help-guide-list .badge { align-self: start; white-space: nowrap; }
.help-guide-list p { grid-column: 1/-1; font-size: .88rem; color: #555a64; margin: 0; }
.help-adjacent { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; border-top: 1px solid #dddfdc; padding-top: 2rem; margin-top: 3rem; }
.help-adjacent a { border: 1px solid #dddfdc; border-radius: 8px; padding: 1.25rem; text-decoration: none; color: var(--jzs-ink); }
.help-adjacent a[rel="next"] { grid-column: 2; }
.help-adjacent small { display: block; color: #555a64; margin-bottom: .5rem; }
.help-adjacent strong { font-size: .95rem; line-height: 1.5; }
.help-archive-group { margin-top: 2.5rem; }
.help-archive-group h2 { font-size: 1.5rem; line-height: 1.3; }
.help-archive-group h2 a { color: var(--jzs-ink); }
.help-layout :is(a,button,summary,input):focus-visible,.help-home-content a:focus-visible { outline: 3px solid #a93200; outline-offset: 3px; }
@media (max-width: 1100px) { .help-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .help-start { align-items: flex-start; flex-direction: column; } }
@media (max-width: 800px) {
 .help-sidebar .search-form input[type="search"] { font-size: 1rem; }
 .help-layout { grid-template-columns: minmax(0,1fr); padding-block: 1rem 2.5rem; gap: 1.5rem; }
 .help-navigation { position: static; }
 .help-sidebar { max-height: none; overflow: visible; padding: 1rem 0; }
 .help-menu-toggle:not([hidden]) { display: flex; align-items: center; justify-content: space-between; width: 100%; background: #f7f7f5; color: var(--jzs-ink); border: 1px solid #dddfdc; padding: .85rem 1rem; border-radius: 6px; }
 .help-navigation.is-enhanced .help-sidebar { display: none; }
 .help-navigation.is-enhanced.is-open .help-sidebar { display: block; }
 .help-sidebar .search-suggestion { grid-template-columns: minmax(0,1fr) auto; }
 .help-sidebar .search-suggestion__access { grid-column: 2; }
 .help-category summary { font-size: .95rem; }
 .help-category li a { padding-block: .8rem; font-size: .9rem; }
 .help-breadcrumbs { margin-bottom: 1.25rem; }
 .help-home-hero { padding-block: 2rem; }
 .help-start { padding: 1.4rem; gap: 1.25rem; margin-bottom: 2rem; }
 .help-start .button { width: 100%; white-space: normal; text-align: center; }
 .help-main .article-header h1,.help-page-header h1 { font-size: 2.2rem; }
}
@media (max-width: 480px) {
 .help-category-grid,.help-quick-grid { grid-template-columns: minmax(0,1fr); }
 .help-category-card { padding: 1.25rem; }
 .help-category-card__number { margin-bottom: .8rem; }
 .help-guide-list a { grid-template-columns: minmax(0,1fr); }
 .help-guide-list .badge { justify-self: start; }
 .help-adjacent { grid-template-columns: minmax(0,1fr); }
 .help-adjacent a[rel="next"] { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* A lock indicates missing access, rather than the guide’s audience. */
.help-category__lock { display: inline-block; width: 14px; height: 14px; margin-left: .2rem; vertical-align: -.12em; background: url("icons/lock.svg") center / contain no-repeat; }

.help-category__title { display: flex; align-items: flex-start; gap: .35rem; }
.help-category__lock { flex: 0 0 14px; margin-top: .12rem; margin-left: auto; }
