/* Help Center (support/*) — category, article and "all articles" pages.
   Mirrors the Brainfish help-center layout used by support.html; generated pages come from
   scripts/help-center-build.mjs. Utility classes live in support.css. */

.bf-content { background-color: #f7f7f3 !important; }
.bf-content .bg-gradient-to-br:not(.bf-hero) { background-image: none !important; background-color: #f7f7f3 !important; }
.bf-category__title, .bf-guide__title { color: #203130 !important; }
.bf-category__item { border: none !important; color: #203130; text-decoration: none; }
.bf-category__item:hover { background-color: #ffffff; }
.bf-category__item-icon, .bf-accordion__item-icon { flex-shrink: 0; }
.bf-accordion__content .mb-2.flex { border: none; }

/* icons drawn with Postlane's stroke icon set */
.pl-help-icon { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pl-help-icon--fill { fill: currentColor; stroke: none; }

/* breadcrumb */
.bf-breadcrumb a { text-decoration: none; color: inherit; }
.bf-breadcrumb a:hover { text-decoration: underline; }
.bf-breadcrumb__item--collection a { align-items: center; }

/* article */
@media (min-width: 1536px) { .\32xl\:w-\[1400px\] { width: 1400px; } }
.bf-article__content { border: none !important; }
.bf-article__title { font-family: Figtree, Inter, sans-serif !important; font-weight: 700 !important; color: #203130; }
.bf-article__share { display: none; }
.bf-article-share__button { display: inline-flex; color: #203130; }
.bf-article-share__button:hover { opacity: .7; }
.bf-article__body { color: #203130; }
.bf-article__body h2 { font-family: Figtree, Inter, sans-serif !important; font-size: 1.5em !important; font-weight: 700 !important; margin-top: 1.75em; margin-bottom: .5em; scroll-margin-top: 90px; }
.bf-article__body h3 { font-family: Figtree, Inter, sans-serif !important; font-size: 1.25em !important; font-weight: 700 !important; margin-top: 1.5em; margin-bottom: .5em; scroll-margin-top: 90px; }
.bf-article__body h4 { font-family: Figtree, Inter, sans-serif !important; font-size: 1.05em !important; font-weight: 700 !important; margin-top: 1.25em; margin-bottom: .4em; scroll-margin-top: 90px; }
.bf-article__body p, .bf-article__body li { font-family: Figtree, Inter, sans-serif !important; font-size: 15.5px !important; line-height: 1.4 !important; letter-spacing: .12px !important; }
.bf-article__body h2 strong, .bf-article__body h3 strong, .bf-article__body h4 strong { font-weight: inherit !important; }
/* block rhythm of Brainfish's article editor: paragraphs 4px padding, headings 16px above */
.bf-article__ssr-body { font-size: 16px; line-height: 24px; }
.bf-article__ssr-body p { margin: 0 !important; padding: 4px 0; }
.bf-article__ssr-body ul, .bf-article__ssr-body ol { margin: 4px 0 !important; }
.bf-article__ssr-body li { margin: 0 !important; padding: 0 0 0 .25em; }
.bf-article__ssr-body li > p { padding: 4px 0; }
.bf-article__ssr-body h2, .bf-article__ssr-body h3, .bf-article__ssr-body h4 { margin: 16px 0 2px !important; padding-top: 2px; line-height: 1.3; }
.bf-article__ssr-body > :first-child { margin-top: 0 !important; }
@media (min-width: 1024px) { .bf-article__sidebar.lg\:block { display: block; } }
.bf-article__body a { color: #203130; text-decoration: underline; text-underline-offset: 2px; }
.bf-article__body code { font-size: .9em; background: #efefe9; padding: .1em .35em; border-radius: 4px; }
.bf-article__body code::before, .bf-article__body code::after { content: none; }
.bf-article__body pre { background: #203130; color: #f7f7f3; border-radius: 8px; overflow-x: auto; }
.bf-article__body pre code { background: transparent; padding: 0; color: inherit; }
.bf-article__body hr { border-color: #dcdcd4; }

/* article images (slots under assets/help-center/) — same block as Brainfish's image-block */
.bf-article__ssr-body .pl-doc-figure { display: block; margin: 4px 0; text-align: center; }
.bf-article__ssr-body .pl-doc-figure img { display: block; margin: 0 auto; max-width: 100%; height: auto; border-radius: 0; }
.bf-article__ssr-body .pl-doc-figure__caption { display: block; margin-top: 4px; font-family: Figtree, Inter, sans-serif; font-size: 16px; line-height: 24px; color: #1b1c1d; text-align: center; }
.bf-article__ssr-body li .pl-doc-figure, .pl-doc-notice .pl-doc-figure, .pl-doc-table .pl-doc-figure { margin: 8px 0; }
.pl-doc-table .pl-doc-figure img { max-width: 320px; }

.pl-doc-notice { color: #203130; }
.pl-doc-notice__body > *:first-child { margin-top: 0 !important; }
.pl-doc-notice__body > *:last-child { margin-bottom: 0 !important; }
.pl-doc-notice__body p { margin: .35em 0; }
.pl-doc-notice__body ul, .pl-doc-notice__body ol { margin: .35em 0; }

.pl-doc-table { overflow-x: auto; margin: 1em 0; }
.pl-doc-table table { width: auto; min-width: 100%; border-collapse: collapse; margin: 0; }
.pl-doc-table th, .pl-doc-table td { border: 1px solid #dcdcd4; padding: 8px 10px; vertical-align: top; font-size: 14.5px; }
.pl-doc-table th { background: #efefe9; }

/* table of contents */
.box-shadow-sidebar { padding: 4px 0; }
.text-sidebar-text { color: #203130; }
.bf-toc__item { list-style: none; }
.bf-toc__link { color: #203130; text-decoration: none; }
.bf-toc__link:hover { text-decoration: underline; }
.bf-toc__item--active { border-right-color: #000 !important; }
.bf-toc__item--active .bf-toc__link { font-weight: 700; }

/* accordion (all articles) */
.bf-accordion { margin-bottom: 8px; }
.bf-accordion__header { width: 100%; border: 0; text-align: left; font: inherit; }
.bf-accordion__toggle svg { transition: transform .2s ease; }
.bf-accordion[data-open="true"] .bf-accordion__toggle svg { transform: rotate(180deg); }
.bf-accordion__content[hidden] { display: none; }
.bf-accordion__content a { text-decoration: none; }
.bf-accordion__content a:hover { background-color: #ffffff; }

/* search results (home search box + guide page) */
.pl-help-results { margin-top: 8px; max-height: 360px; overflow-y: auto; border: 1px solid hsl(60 3% 85%); border-radius: 8px; background: #fff; text-align: left; }
.pl-help-results[hidden] { display: none; }
.pl-help-result { display: block; padding: 10px 14px; color: #203130; text-decoration: none; border-bottom: 1px solid #efefe9; }
.pl-help-result:last-child { border-bottom: 0; }
.pl-help-result:hover, .pl-help-result[aria-selected="true"] { background: #f7f7f3; }
.pl-help-result__title { display: block; font-weight: 600; font-size: 15px; }
.pl-help-result__meta { display: block; font-size: 13px; opacity: .7; margin-top: 2px; }
.pl-help-result--empty { padding: 12px 14px; font-size: 14px; color: #5b6665; }
.pl-help-collections { position: absolute; z-index: 30; margin-top: 4px; min-width: 240px; max-height: 320px; overflow-y: auto; background: #fff; border: 1px solid hsl(60 3% 85%); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.08); padding: 4px; }
.pl-help-collections[hidden] { display: none; }
.pl-help-collections button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 8px 10px; border-radius: 6px; font: inherit; font-size: 14px; color: #203130; cursor: pointer; }
.pl-help-collections button:hover, .pl-help-collections button[aria-checked="true"] { background: #f7f7f3; }
[data-name="search-button"] button.pl-help-ready { pointer-events: auto; opacity: 1; cursor: pointer; }
.pl-help-guide-results h2 { font-size: 1.125rem; font-weight: 700; margin: 0 0 12px; color: #203130; }

@media (max-width: 640px) {
  .bf-article__content { padding: 24px 16px !important; }
  .bf-article__breadcrumb-wrapper { height: auto !important; padding: 0 16px !important; }
  .bf-category__content { padding: 0 16px; }
  .bf-breadcrumb__list { flex-wrap: wrap; }
}
