/* Help Center — layered on the marketing theme (assets/css/main.css). */

.help-section { padding-top: 40px; padding-bottom: 60px; }

.help-title { font-size: 30px; margin-bottom: 8px; }
.help-lead  { color: #666; font-size: 16px; line-height: 1.6; max-width: 760px; }
.help-intro { margin-bottom: 36px; }

/* Search */
.help-search { position: relative; max-width: 640px; margin: 20px 0 8px; }
.help-search .fa { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #999; }
.help-search input {
   width: 100%; padding: 12px 14px 12px 40px; font-size: 15px;
   border: 2px solid #dfe5ec; border-radius: 6px; background: #fff;
   transition: border-color .2s;
}
.help-search input:focus { outline: none; border-color: #0069B1; }
.help-search-sm { margin: 0 0 16px; }
.help-search-sm input { padding: 9px 12px 9px 36px; font-size: 14px; }
.help-search-results { max-width: 760px; margin-bottom: 24px; }
.help-hit { display: block; padding: 12px 14px; border: 1px solid #e6ebf1; border-radius: 6px; margin-bottom: 8px; background: #fff; color: #333; }
.help-hit:hover { border-color: #0069B1; color: #333; text-decoration: none; }
.help-hit strong { display: block; color: #0069B1; }
.help-hit-section { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #888; margin: 2px 0; }
.help-hit-summary { display: block; font-size: 13px; color: #666; }
.help-noresults { color: #777; }

/* Index cards */
.help-card { background: #fff; border: 1px solid #e6ebf1; border-radius: 8px; padding: 22px 24px; margin-bottom: 24px; height: calc(100% - 24px); }
.help-card h3 { font-size: 17px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid #0069B1; display: inline-block; }
.help-card ul { list-style: none; padding: 0; margin: 0; }
.help-card li { padding: 7px 0; border-top: 1px solid #f0f3f7; }
.help-card li:first-child { border-top: 0; }
.help-card li a { font-weight: 600; color: #0069B1; }
.help-card li span { display: block; font-size: 13px; color: #777; line-height: 1.45; }

/* Sidebar */
.help-sidebar { margin-bottom: 32px; }
.help-nav h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #888; margin: 18px 0 6px; }
.help-nav h4.open { color: #0069B1; }
.help-nav ul { list-style: none; padding: 0; margin: 0; }
.help-nav li a { display: block; padding: 5px 10px; font-size: 14px; color: #444; border-left: 3px solid transparent; border-radius: 0 4px 4px 0; }
.help-nav li a:hover { background: #f3f6fa; color: #0069B1; text-decoration: none; }
.help-nav li.active a { border-left-color: #0069B1; background: #eef5fb; color: #0069B1; font-weight: 600; }
@media (min-width: 992px) {
   .help-sidebar { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; }
}

/* Article */
.help-breadcrumb { font-size: 13px; color: #888; margin-bottom: 10px; }
.help-breadcrumb span { margin: 0 6px; }
.help-article h1 { font-size: 30px; margin-bottom: 10px; }
.help-toc { background: #f7f9fb; border: 1px solid #e6ebf1; border-radius: 6px; padding: 14px 18px; margin: 20px 0 28px; font-size: 14px; }
.help-toc strong { display: block; margin-bottom: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #888; }
.help-toc ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.help-toc li { padding: 2px 0; break-inside: avoid; }
@media (max-width: 575px) { .help-toc ul { columns: 1; } }

.help-body { font-size: 15.5px; line-height: 1.7; color: #333; }
.help-body p { margin: 0 0 16px; }
.help-body h2 { font-size: 22px; margin: 40px 0 14px; padding-top: 8px; border-top: 1px solid #eef1f5; }
.help-body h3 { font-size: 17px; margin: 28px 0 10px; }
.help-body h4 { font-size: 15px; margin: 20px 0 8px; font-weight: 700; }
.help-body h2 .anchor, .help-body h3 .anchor, .help-body h4 .anchor { opacity: 0; margin-left: 6px; font-weight: 400; color: #9fb4c7; text-decoration: none; }
.help-body h2:hover .anchor, .help-body h3:hover .anchor, .help-body h4:hover .anchor { opacity: 1; }
.help-body ul, .help-body ol { margin: 0 0 16px; padding-left: 1.5em; }
.help-body ul { list-style: disc; }
.help-body ol { list-style: decimal; }
.help-body li { margin: 4px 0; }
.help-body li ul, .help-body li ol { margin: 4px 0 0; }
.help-body strong { font-weight: 700; color: #222; }
.help-body code { background: #f3f5f8; border: 1px solid #e6ebf1; border-radius: 3px; padding: 1px 5px; font-size: 90%; color: #c7254e; }
.help-body pre { background: #f7f9fb; border: 1px solid #e6ebf1; border-radius: 6px; padding: 14px 16px; overflow-x: auto; margin: 0 0 18px; }
.help-body pre code { background: none; border: 0; padding: 0; color: #333; font-size: 13px; }
.help-body hr { border: 0; border-top: 1px solid #e6ebf1; margin: 28px 0; }
.help-body img { max-width: 100%; height: auto; border: 1px solid #e6ebf1; border-radius: 6px; }
.help-body figure { margin: 0 0 20px; }
.help-body figcaption { font-size: 13px; color: #777; margin-top: 6px; }
.help-body a { color: #0069B1; text-decoration: underline; text-decoration-color: #b9d3e8; }
.help-body a:hover { color: #004f85; }

.table-wrap { overflow-x: auto; margin: 0 0 18px; }
.help-body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.help-body th, .help-body td { border: 1px solid #e6ebf1; padding: 8px 10px; vertical-align: top; text-align: left; }
.help-body th { background: #f3f6fa; font-weight: 700; }

/* Callouts */
.callout { border-left: 4px solid #9fb4c7; background: #f7f9fb; padding: 12px 16px; margin: 0 0 18px; border-radius: 0 6px 6px 0; }
.callout p { margin: 0 0 8px; }
.callout p:last-child { margin: 0; }
.callout-tip     { border-color: #28a745; background: #f1faf3; }
.callout-note    { border-color: #0069B1; background: #eef5fb; }
.callout-warning { border-color: #f0ad4e; background: #fff8ea; }
.callout-example { border-color: #6c757d; background: #f6f7f8; }
.callout-pro-plan, .callout-standard-plan { border-color: #6f42c1; background: #f5f1fb; }

/* Pager + contact */
.help-pager { display: flex; justify-content: space-between; gap: 16px; margin: 40px 0 20px; }
.help-pager a { display: block; flex: 1; padding: 12px 14px; border: 1px solid #e6ebf1; border-radius: 6px; color: #0069B1; font-weight: 600; }
.help-pager a:hover { border-color: #0069B1; text-decoration: none; }
.help-pager a small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #888; font-weight: 400; }
.help-pager a.next { text-align: right; }
.help-contact { font-size: 14px; color: #666; border-top: 1px solid #eef1f5; padding-top: 16px; }
