/* Base docs theme.
   Provides the same structure Help Scout Docs had (markup, classes, icon slots) so the
   site's own custom stylesheet (Settings → Docs site → Custom stylesheet URL) controls the look.
   Keep this file "structural"; brand styling belongs in the custom stylesheet. */

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.5;color:#333;background:#fff}
:where(img){max-width:100%;height:auto}
:where(a){text-decoration:none}
:where(a:hover){text-decoration:underline}
:where(ul),:where(ol){margin-top:0}
:where(.container-fluid){max-width:1234px;margin:0 auto;padding:0 20px}
.sr-only,.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
:where(.muted){color:#888}

/* ---------- Icons (Font Awesome free,mapped onto Help Scout's icon class names) ---------- */
:where([class^="icon-"]):before,:where([class*=" icon-"]):before{font-family:"Font Awesome 6 Free";font-weight:900;font-style:normal;font-variant:normal;line-height:1;-webkit-font-smoothing:antialiased;display:inline-block}
:where(.icon-search):before{content:"\f002"}
:where(.icon-print):before{content:"\f02f"}
:where(.icon-arrow):before{content:"\f054";font-size:.8em}
:where(.icon-article-doc):before{content:"\f15c";font-weight:400}
:where(.icon-contact):before{content:"\f0e0"}
:where(i[class^="icon-"]){font-style:normal}
:where(.icon-bar):before{content:none!important}

/* ---------- Staff bar ---------- */
.agent-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;background:#1f2328;color:#c9d1d9;font:13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;padding:7px 20px}
.agent-bar a{color:#fff}
.agent-bar .agent-who{opacity:.75}
.agent-bar .agent-edit{background:#2f6fb0;padding:2px 10px;border-radius:4px}
.agent-toggle{margin:0 0 0 8px;padding-left:16px;border-left:1px solid #444}
.agent-toggle button{background:none;border:0;color:#c9d1d9;font:inherit;cursor:pointer;display:flex;align-items:center;gap:8px}
.agent-toggle .sw{width:30px;height:16px;border-radius:8px;background:#555;position:relative;transition:background .15s}
.agent-toggle .sw:after{content:"";position:absolute;left:2px;top:2px;width:12px;height:12px;border-radius:50%;background:#fff;transition:left .15s}
.agent-toggle .sw.on{background:#3aa76d}.agent-toggle .sw.on:after{left:16px}
.agent-note{background:#fff3cd;border-bottom:1px solid #f0d78a;font-size:13px;padding:6px 20px;text-align:center}

/* ---------- Header ---------- */
:where(#mainNav .navbar-inner){padding:10px 0}
:where(#mainNav .container-fluid){display:flex;align-items:center;flex-wrap:wrap;gap:16px}
:where(#mainNav .brand){display:block;line-height:0;padding:0}
:where(#mainNav .brand span){color:#fff;font-size:22px;font-weight:600;line-height:1.4}
:where(#mainNav .nav-collapse){margin-left:auto}
:where(#mainNav ul.nav){list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 0}
:where(#mainNav ul.nav li a){display:block;padding:6px 0;font-size:14px}
:where(#mainNav ul.nav li a:hover){text-decoration:none}
:where(#mainNav .caret){display:none}
:where(#contactMobile){display:none}
:where(.btn-navbar){display:none;margin-left:auto;background:transparent;border:1px solid rgba(255,255,255,.4);border-radius:4px;padding:8px 10px;cursor:pointer}
:where(.btn-navbar .icon-bar){display:block;width:22px;height:2px;background:#fff;margin:0}
:where(.btn-navbar .icon-bar+.icon-bar){margin-top:5px}
@media (max-width:860px){
  :where(.btn-navbar){display:block}
  :where(#mainNav .nav-collapse){display:none;width:100%}
  :where(#mainNav .nav-collapse.in){display:block}
  :where(#mainNav ul.nav){flex-direction:column;align-items:flex-start}
  :where(.navbar-inner ul.nav li:not(:first-child) a):before{display:none}
}

/* ---------- Search ---------- */
:where(#docsSearch){position:relative;text-align:center;padding:50px 20px 60px;background:#f7f7f7;border-bottom:1px solid #eee}
:where(#docsSearch h1){margin:0 0 24px;font-size:32px;font-weight:600}
:where(#searchBar){position:relative;display:block;max-width:680px;margin:0 auto}
:where(#searchBar .search-query){display:block;width:100%;font-size:16px;padding:14px 130px 14px 16px;border:1px solid #ccc;border-radius:6px;outline:none}
:where(#searchBar button){display:flex;align-items:center;justify-content:center;gap:8px;position:absolute;right:6px;top:6px;height:44px;border:0;background:#4381b5;color:#fff;padding:0 22px;font-size:15px;border-radius:5px;cursor:pointer}
:where(#searchBar button .icon-search){display:none;margin:0;font-size:16px;line-height:1;color:inherit}
:where(#searchBar.sm){margin:0 0 24px}
:where(#searchBar.sm .search-query){font-size:14px;padding:10px 44px 10px 12px}
#searchBar.sm button{top:50%;transform:translateY(-50%);right:4px;height:34px;width:auto;padding:0 10px;background:transparent;color:#8d8d8d;box-shadow:none;border-radius:6px}
#searchBar.sm button .icon-search{display:block;font-size:16px;margin:0;color:inherit}
:where(#serp-dd){position:absolute;left:0;right:0;top:100%;background:#fff;border:1px solid #ddd;border-radius:0 0 6px 6px;box-shadow:0 8px 20px rgba(0,0,0,.1);z-index:50;text-align:left}
:where(#serp-dd ul){list-style:none;margin:0;padding:0}
:where(#serp-dd li a){display:block;padding:10px 14px;color:#333;border-bottom:1px solid #f0f0f0;font-size:15px}
:where(#serp-dd li a:hover),:where(#serp-dd li a.focus){background:#f3f7fb;text-decoration:none}

/* ---------- Layout: sidebar on the left,content on the right (as Help Scout) ---------- */
:where(#contentArea){padding-top:30px;padding-bottom:40px}
:where(.row-fluid){display:flex;flex-direction:row-reverse;gap:2.5%;align-items:flex-start}
:where(.row-fluid .span9){flex:1;min-width:0}
:where(.row-fluid .span3){width:23%;flex-shrink:0}
@media (max-width:860px){:where(.row-fluid){flex-direction:column}:where(.row-fluid .span3){width:100%}}

/* ---------- Home ---------- */
:where(.collection-category){margin-bottom:40px}
:where(.collection-category h2){font-size:22px;margin:0 0 16px}
:where(.collection-category h2 a){color:inherit}
:where(.category-list){display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}
:where(.category-list .category){display:block;border:1px solid #e5e5e5;border-radius:8px;padding:22px;text-align:center;color:#333;background:#fff}
:where(.category-list .category:hover){text-decoration:none}
:where(.category-list .category h3){margin:8px 0 6px;font-size:17px}
:where(.category-list .category p){margin:4px 0}
:where(.category-list .category i[class*="fa-"]){display:block;margin:0 auto 14px;color:#5C9DFF}

/* Home: topic jump links, popular articles, help card */
#mainNav .brand img{display:block;height:46px;width:auto;max-width:200px;margin:12px 0}
@media (max-width:768px){#mainNav .navbar-inner .brand{padding:0;margin:0;background:none}#mainNav .brand img{height:38px;margin:10px 0}}
.home-jump{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;max-width:900px;margin:22px auto 0}
.home-jump-label{font-size:14px;color:#545F85;margin-right:2px}
.home-jump a{display:inline-block;padding:6px 14px;border:1px solid #CAD8E3;border-radius:999px;background:#fff;color:#14245B;font-size:14px;font-weight:500;line-height:1.3;transition:border-color .15s,background .15s}
.home-jump a:hover{border-color:#5C9DFF;background:#F5F9FF;text-decoration:none}
.home-quick{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;margin:0 0 44px}
@media (max-width:860px){.home-quick{grid-template-columns:1fr}}
.home-popular,.home-help{background:#fff;border:1px solid #e5e9f2;border-radius:10px;padding:22px 24px}
.home-quick h2{font-size:20px;margin:0 0 12px;color:#14245B}
.home-popular ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
@media (max-width:600px){.home-popular ul{grid-template-columns:1fr}}
.home-popular li a{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-bottom:1px solid #f0f2f7;color:#14245B;font-size:15px;line-height:1.35}
.home-popular li a:hover{text-decoration:none;color:#005994}
.home-popular li a:hover span{text-decoration:underline}
.home-popular li i{color:#5C9DFF;margin-top:3px}
.home-popular small{display:block;color:#8a93ad;font-size:12px;margin-top:2px}
.home-help{display:flex;flex-direction:column;align-items:flex-start;background:#EFF2FB;border-color:#dfe5f5}
.home-help>i{font-size:28px;color:#005994;margin-bottom:10px}
.home-help p{color:#545F85;font-size:15px;line-height:1.5;margin:0 0 18px}
.home-help-btn{margin-top:auto;display:inline-block;background:#005994;color:#fff!important;padding:10px 20px;border-radius:6px;font-weight:600;font-size:15px}
.home-help-btn:hover{background:#14245B;text-decoration:none}
.home-collection-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;scroll-margin-top:20px}
.collection-category h2{scroll-margin-top:20px}
.home-viewall{font-size:14px;font-weight:600;white-space:nowrap}
.home-viewall i{font-size:12px;margin-left:4px}
.home-top{display:block;text-align:center;font-size:14px;margin-top:10px}
html{scroll-behavior:smooth}

/* ---------- Article lists ---------- */
:where(.articleList){list-style:none;margin:0 0 2em;padding:0}
:where(.articleList li){margin:0}
:where(.articleList li a){display:block;padding:8px 0}
:where(.articleList li a:hover){text-decoration:none}
:where(.articleList .icon-article-doc){display:block;font-size:26px;line-height:1;margin:6px 0 12px}
:where(.category-section){margin-bottom:30px}
:where(.category-section h2){font-size:22px;margin:0 0 12px}
:where(.category-section h2 a){color:inherit}
:where(.browse){display:inline-block;margin-top:-1em;font-weight:600}
:where(#categoryHead){position:relative;margin-bottom:20px}
:where(#categoryHead h1){margin:0}
:where(#categoryHead .sort){position:absolute;right:0;top:6px}
:where(#sortBy){padding:6px;border-radius:4px;border:1px solid #ccc}
:where(.search-results .snippet){margin:0 0 6px;color:#666;font-size:14px;text-align:left}
:where(mark){background:#fff3a3}
:where(.collectionDescription){margin-bottom:24px}

/* ---------- Sidebar ---------- */
:where(#sidebar h3){margin:0 0 8px}
:where(#sidebar .nav-list){list-style:none;margin:0 0 24px;padding:0}
:where(#sidebar .nav-list li a){display:block;padding:8px 0}
:where(#sidebar .nav-list li a:hover){text-decoration:none}
#sidebar .nav-list .icon-arrow{display:none}
#sidebar .nav-list .active .icon-arrow{display:inline-block;font-size:12px;margin:0 0 0 6px;vertical-align:middle;line-height:1}

/* ---------- Article ---------- */
:where(.contentWrapper){background:#fff}
:where(#fullArticle){position:relative;overflow-wrap:break-word}
:where(#fullArticle .title){margin:0 40px 20px 0}
:where(#fullArticle .printArticle){position:absolute;right:0;top:0;color:#a8a8a8}
:where(#fullArticle .printArticle .icon-print){font-size:18px;margin:0}
:where(#fullArticle img){border-radius:4px}
:where(#fullArticle iframe){max-width:100%}
:where(#fullArticle table){border-collapse:collapse;max-width:100%}
:where(#fullArticle p),:where(#fullArticle li){margin-bottom:.8em}
:where(#fullArticle blockquote){margin:16px 0;padding:10px 16px;border-left:4px solid #5C9DFF}
:where(#fullArticle .callout),:where(#fullArticle .callout-blue),:where(#fullArticle .callout-yellow),:where(#fullArticle .callout-red),:where(#fullArticle .callout-green){padding:12px 16px;border-radius:6px;margin:16px 0;background:#eef5fb}
:where(#fullArticle .callout-yellow){background:#fff8e1}:where(#fullArticle .callout-red){background:#fdecea}:where(#fullArticle .callout-green){background:#eaf7ee}
:where(#fullArticle pre){padding:12px;overflow:auto;background:#f5f5f5;border-radius:4px}
:where(.articleFoot){margin-top:40px;display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 16px}
:where(.articleFoot .icon-contact){flex-basis:100%;font-size:20px;margin:0}
:where(.articleFoot .help){margin:0;flex:1;font-size:15px}
:where(.articleFoot .help a){margin-left:4px}
:where(.articleFoot #sbContactMobile){display:none}
:where(.articleFoot .lu){color:#999;font-size:13px}
:where(.related){margin-top:40px;padding:30px;background:#fff}
:where(.related h3){margin:0 0 16px}
:where(.related ul){list-style:none;padding:0;margin:0}
:where(.related ul li a){display:block}
:where(.related .icon-article-doc){display:block;font-size:26px;line-height:1;margin:6px 0 12px;color:#5C9DFF}
:where(.draft-banner){background:#fff3cd;border:1px solid #f0d78a;padding:8px 12px;border-radius:6px;margin-bottom:16px;font-size:14px}
:where(.badge-private),:where(.badge-draft){display:inline-block;font-size:11px;font-weight:600;padding:1px 6px;border-radius:10px;background:#eee;color:#666;vertical-align:middle}
:where(.badge-draft){background:#fff3cd;color:#8a6d00}

/* ---------- Contact page ---------- */
:where(.contact-form){max-width:640px}
:where(.contact-form label){display:block;font-weight:600;font-size:15px;margin:16px 0 6px;color:#14245B}
:where(.contact-form input:not([type=file])),:where(.contact-form textarea){width:100%;padding:12px 14px;border:1px solid #cfd6e4;border-radius:8px;font:inherit;font-size:15px}
:where(.contact-form input:focus),:where(.contact-form textarea:focus){outline:none;border-color:#5C9DFF;box-shadow:0 0 0 3px rgba(92,157,255,.15)}
:where(.btn-primary){margin-top:20px;background:#005994;color:#fff;border:0;padding:14px 30px;border-radius:11px;font-size:16px;font-weight:600;cursor:pointer}
:where(.btn-primary:hover){background:#0065a8}
:where(.notice-ok){background:#eaf7ee;border:1px solid #b8e0c4;padding:14px 16px;border-radius:8px;margin:16px 0}
:where(.notice-err){background:#fdecea;border:1px solid #f5c2bd;padding:10px 14px;border-radius:8px;margin:12px 0;color:#a12a1e}

:where(footer.center){text-align:center;color:#999;font-size:13px;padding:30px 20px}
:where(footer.center a){color:#999}
@media print{.agent-bar,.agent-note,:where(#mainNav),:where(#sidebar),:where(#docsSearch),:where(footer),:where(.articleFoot),:where(.related),:where(#defined-support-widget){display:none!important}}
:where(#fullArticle .admin-edit){display:inline-block;margin:0 0 18px;padding:8px 18px;border-radius:8px;background:#5C9DFF;color:#fff;font-weight:600}
:where(#fullArticle .admin-edit):hover{text-decoration:none}
#searchBar:not(.sm) button .icon-search.lp{display:none}
#searchBar:not(.sm) button span{display:inline}
