/* ==========================================================================
   Vibility theme for Help Scout Docs  (v2, "program map")

   Upload at:
   Settings -> Docs Sites -> [site] -> Custom Code -> External CSS

   One file serves both Docs sites (Practice Help and Member Help).
   Tokens match vibility.com as measured in September 2026: Roboto only,
   pale-blue ground, ink headings, indigo for structure, teal for action.

   v2 idea: the help center reads like a Vibility program. Getting Started
   is a dark "start here" banner above an even grid of compact category
   cards; article steps get step chips; every article closes on the
   brand's dark closing panel.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap");

:root {
  --vib-bg: #e1f0fb;
  --vib-panel: #f0f7fd;
  --vib-cyan: #bde9fb;
  --vib-white: #ffffff;
  --vib-indigo: #535eaa;
  --vib-indigo-dk: #454f92;
  --vib-teal: #438e90;
  --vib-teal-dk: #3a7b7d;
  --vib-teal-soft: #e4f0ef;
  --vib-ink: #082648;
  --vib-muted: #5e6875;
  --vib-rule: #d2e6f6;
  --vib-dark: linear-gradient(135deg, #0e3555 0%, #123f63 55%, #155a5c 100%);
  --vib-dark-body: #c3dcec;
  --vib-dark-label: #9fe3e4;
  --vib-dark-icon: #7fd4d6;
  --vib-font: "Roboto", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --vib-r: 14px;
  --vib-r-btn: 11px;
  --vib-shadow: 0 1px 2px rgba(8, 38, 72, 0.05), 0 8px 24px rgba(8, 38, 72, 0.07);
  --vib-shadow-lg: 0 2px 4px rgba(8, 38, 72, 0.06), 0 18px 48px rgba(8, 38, 72, 0.12);
  --vib-focus: 0 0 0 3px rgba(83, 94, 170, 0.22);
  /* Page gutter that lines the hero up with the 1180px content column. */
  --vib-gutter: max(24px, calc((100% - 1132px) / 2));
  /* Teal arrow glyph, used wherever something is a way forward. */
  --vib-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233A7B7D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E");
}

/* Foundation ------------------------------------------------------------- */
html {
  background: var(--vib-bg);
}

body {
  min-height: 100vh;
  padding: 0;
  overflow-x: clip;
  color: var(--vib-muted);
  background: var(--vib-bg);
  font-family: var(--vib-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--vib-font);
}

h1,
h2,
h3,
h4 {
  color: var(--vib-ink);
  font-weight: 700;
  text-wrap: balance;
}

a {
  color: var(--vib-indigo);
}

a:hover,
a:focus {
  color: var(--vib-indigo-dk);
}

/* Keyboard focus: a solid indigo ring (a translucent halo fails the 3:1
   non-text contrast minimum). Inputs keep the softer halo plus a border. */
a:focus-visible,
button:focus-visible,
.category:focus-visible {
  outline: 2px solid var(--vib-indigo);
  outline-offset: 2px;
}

::selection {
  color: var(--vib-ink);
  background: var(--vib-cyan);
}

/* Header: flat bar on the page ground, as on vibility.com ---------------- */
#mainNav {
  position: relative;
  z-index: 20;
  margin: 0;
  padding: 0;
}

#mainNav.navbar .navbar-inner {
  box-sizing: border-box;
  min-height: 68px;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--vib-rule);
  border-radius: 0;
  background: rgba(225, 240, 251, 0.86);
  box-shadow: none;
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}

#mainNav .container-fluid {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  max-width: 1180px;
  min-height: 68px;
  margin: 0 auto;
  padding: 0 24px;
}

#mainNav .brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 0 !important;
}

/* The logo is a lockup: size by height and let the width follow. */
#mainNav .brand img {
  width: auto;
  height: 32px;
  max-height: none;
}

#mainNav .nav-collapse {
  margin-left: auto;
}

/* Help Scout absolutely positions the nav inside a zero-height collapse,
   which drops the links below the logo's centre line. Put it back in flow. */
@media (min-width: 768px) {
  #mainNav .nav-collapse {
    height: auto !important;
    overflow: visible;
  }

  #mainNav .nav {
    position: static;
  }
}

#mainNav .nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

#mainNav .nav > li > a {
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--vib-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-shadow: none;
  background: transparent;
}

#mainNav .nav > li > a:hover,
#mainNav .nav > li > a:focus,
#mainNav .nav > li.active > a {
  color: var(--vib-indigo);
  background: transparent;
}

/* Active section: an indigo underline sits on the header rule, the way a
   tab marks its page. */
#mainNav .nav > li.active > a {
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--vib-indigo);
  border-radius: 0;
}

/* Help Scout draws a pointer under the active item; drop it. */
#mainNav .nav .caret,
#mainNav .nav > li.active > a::after {
  display: none;
}

/* Contact opens Beacon: it is the page's action, so it takes the teal
   button, matching "Book a demo" on vibility.com. */
#mainNav .nav > li#contact > a,
#mainNav .nav > li#contactMobile > a {
  margin-left: 10px;
  padding: 9px 18px;
  border-radius: var(--vib-r-btn);
  background: var(--vib-teal-dk);
  box-shadow: 0 6px 16px rgba(58, 123, 125, 0.24);
  color: var(--vib-white);
  font-weight: 600;
}

#mainNav .nav > li#contact > a:hover,
#mainNav .nav > li#contact > a:focus,
#mainNav .nav > li#contactMobile > a:hover,
#mainNav .nav > li#contactMobile > a:focus {
  background: #336c6e;
  color: var(--vib-white);
}

#mainNav .btn-navbar {
  margin: 0 0 0 auto;
  padding: 10px 12px;
  border: 1px solid var(--vib-rule);
  border-radius: var(--vib-r-btn);
  background: var(--vib-white);
  background-image: none;
  box-shadow: none;
  text-shadow: none;
}

#mainNav .btn-navbar .icon-bar {
  background: var(--vib-ink);
  box-shadow: none;
}

/* Homepage hero ----------------------------------------------------------
   Left-aligned on the content column like the vibility.com hero, with the
   soft diagonal and an authored illustration of the page's own idea: a
   stack of index cards, the front one checked off in teal. */
#docsSearch {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  margin: -69px 0 0;
  padding: 150px var(--vib-gutter) 84px;
  border: 0;
  background: transparent;
  text-align: left;
}

/* Full-bleed so the fade finishes on its own: a boxed 64% layer leaves
   visible left and bottom edges once the hero is shorter than 430px. */
#docsSearch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    203deg,
    rgba(189, 233, 251, 0.95) 0%,
    rgba(189, 233, 251, 0.55) 34%,
    rgba(189, 233, 251, 0) 66%
  );
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
  pointer-events: none;
}

#docsSearch::after {
  content: "";
  position: absolute;
  top: 104px;
  right: var(--vib-gutter);
  width: 400px;
  height: 290px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 290' fill='none'%3E%3Ccircle cx='250' cy='140' r='128' fill='%23fff' fill-opacity='.45'/%3E%3Ccircle cx='250' cy='140' r='128' stroke='%23BDE9FB' stroke-width='1.5'/%3E%3Ccircle cx='250' cy='140' r='86' stroke='%23BDE9FB' stroke-width='1.5' stroke-dasharray='2 7' stroke-linecap='round'/%3E%3Cg transform='rotate(7 300 90)'%3E%3Crect x='214' y='30' width='168' height='112' rx='14' fill='%23F0F7FD' stroke='%23D2E6F6'/%3E%3Crect x='234' y='52' width='28' height='28' rx='8' fill='%23fff'/%3E%3Crect x='234' y='94' width='96' height='7' rx='3.5' fill='%23D2E6F6'/%3E%3Crect x='234' y='110' width='60' height='5' rx='2.5' fill='%23D2E6F6'/%3E%3C/g%3E%3Crect x='96' y='84' width='206' height='132' rx='14' fill='%23082648' fill-opacity='.06' transform='translate(0 8)'/%3E%3Crect x='96' y='84' width='206' height='132' rx='14' fill='%23fff'/%3E%3Crect x='118' y='106' width='38' height='38' rx='10' fill='%23F0F7FD'/%3E%3Cg stroke='%23535EAA' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M131 114h8l5 5v13a1.5 1.5 0 0 1-1.5 1.5h-11.5a1.5 1.5 0 0 1-1.5-1.5v-16.5a1.5 1.5 0 0 1 1.5-1.5z'/%3E%3Cpath d='M134 124h6M134 128h6'/%3E%3C/g%3E%3Crect x='118' y='160' width='128' height='9' rx='4.5' fill='%23082648'/%3E%3Crect x='118' y='181' width='52' height='5' rx='2.5' fill='%23535EAA'/%3E%3Cpath d='M180 183.5h14M190 179.5l4 4-4 4' stroke='%233A7B7D' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='44' y='214' width='150' height='46' rx='23' fill='%23fff'/%3E%3Crect x='44' y='214' width='150' height='46' rx='23' stroke='%23D2E6F6'/%3E%3Ccircle cx='68' cy='237' r='13' fill='%23438E90'/%3E%3Cpath d='M62.5 237.5l3.5 3.5 7-7.5' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='90' y='230' width='78' height='6' rx='3' fill='%23082648' fill-opacity='.8'/%3E%3Crect x='90' y='242' width='48' height='5' rx='2.5' fill='%23D2E6F6'/%3E%3Ccircle cx='340' cy='232' r='5' fill='%23438E90'/%3E%3Ccircle cx='360' cy='216' r='3' fill='%23535EAA' fill-opacity='.5'/%3E%3Ccircle cx='60' cy='60' r='4' fill='%23535EAA' fill-opacity='.35'/%3E%3C/svg%3E")
    center / contain no-repeat;
  pointer-events: none;
}

#docsSearch > * {
  position: relative;
  z-index: 1;
}

/* Keep the copy column clear of the illustration. */
#docsSearch h1,
#docsSearch #searchBar {
  max-width: calc(100% - 440px);
}

/* A short indigo rule stands where an eyebrow would: structure, no words. */
#docsSearch h1::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--vib-indigo) 0 60%, var(--vib-teal) 60% 100%);
}

#docsSearch h1 {
  margin: 0 0 30px;
  text-align: left;
  padding: 0;
  color: var(--vib-ink);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.022em;
}

#docsSearch #searchBar {
  position: relative;
  box-sizing: border-box;
  width: 620px;
  height: 62px;
  margin: 0;
  padding: 0 !important;
}

#docsSearch #searchBar input.search-query,
#docsSearch #searchBar input[type="text"] {
  box-sizing: border-box;
  width: 100%;
  height: 62px;
  padding: 0 140px 0 52px;
  border: 1px solid var(--vib-rule);
  border-radius: var(--vib-r-btn);
  outline: 0;
  background: var(--vib-white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23535EAA' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 20 20'/%3E%3C/svg%3E")
    20px center / 20px 20px no-repeat;
  box-shadow: var(--vib-shadow-lg);
  color: var(--vib-ink);
  font-size: 16px;
  line-height: 62px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

#docsSearch #searchBar input.search-query::placeholder {
  color: var(--vib-muted);
}

#docsSearch #searchBar input.search-query:focus,
#docsSearch #searchBar input[type="text"]:focus {
  border-color: var(--vib-indigo);
  box-shadow: var(--vib-shadow-lg), var(--vib-focus);
}

#docsSearch #searchBar button {
  position: absolute;
  top: 7px;
  right: 7px;
  box-sizing: border-box;
  width: auto;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 9px;
  background: var(--vib-teal-dk);
  background-image: none;
  box-shadow: 0 6px 16px rgba(58, 123, 125, 0.24);
  color: var(--vib-white);
  font-size: 15px;
  font-weight: 600;
  line-height: 48px;
  text-shadow: none;
  transition: background 160ms ease;
}

#docsSearch #searchBar button:hover,
#docsSearch #searchBar button:focus {
  background: #336c6e;
}

#docsSearch #searchBar button .icon-search {
  display: none;
}

#serp-dd {
  overflow: hidden;
  margin-top: 8px;
  border: 1px solid var(--vib-rule);
  border-radius: var(--vib-r-btn);
  background: var(--vib-white);
  box-shadow: var(--vib-shadow-lg);
  text-align: left;
}

#serp-dd .result a {
  color: var(--vib-ink);
}

#serp-dd .result a:hover,
#serp-dd .result li.selected,
#serp-dd .result > li.active {
  color: var(--vib-indigo);
  background: var(--vib-panel);
}

/* Main width and homepage cards ----------------------------------------- */
#contentArea {
  box-sizing: border-box;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

.collection-category {
  margin-top: 8px;
  margin-bottom: 52px;
}

/* The collection name is the section heading (the sections follow the
   onboarding journey), carried by a hairline out to the column edge. */
.collection-category h2 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
  padding-left: 0;
}

.collection-category h2::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--vib-rule);
}

.collection-category h2,
.collection-category h2 a {
  color: var(--vib-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.collection-category h2 a:hover {
  color: var(--vib-indigo);
}

/* A collection with no published categories renders an empty grid. */
.collection-category:not(:has(.category)) {
  display: none;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  width: 100%;
  padding: 0;
}

.category-list.one-col {
  grid-template-columns: minmax(0, 1fr);
}

.category-list.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-list .category,
.category {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 16px;
  /* Title, description, count. The icon and arrow span all three. */
  grid-template-rows: repeat(3, auto);
  column-gap: 16px;
  row-gap: 4px;
  align-content: center;
  align-items: center;
  width: auto !important;
  min-height: 92px;
  margin: 0;
  padding: 18px 20px;
  border: 0;
  border-radius: var(--vib-r);
  background: var(--vib-white);
  box-shadow: var(--vib-shadow);
  text-align: left;
  text-decoration: none;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

/* Icon well beside the text. The glyph fills most of the well so the card
   reads at a glance; category icons override the image by id below. */
.category-list .category::before,
.category::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: start;
  display: block;
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 14px;
  background: var(--vib-panel)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23535EAA' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4h10l6 6v16a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3Cpath d='M19 4v6h6M11.5 16h9M11.5 20.5h9'/%3E%3C/svg%3E")
    center / 32px 32px no-repeat;
  transition: background-color 160ms ease;
}

/* The arrow sits in its own column, centred on the card. */
.category-list .category::after,
.category::after {
  content: "";
  grid-column: 3;
  grid-row: 1 / -1;
  width: 16px;
  height: 16px;
  background: var(--vib-arrow) center / 16px 16px no-repeat;
  transition: transform 160ms ease;
}

.category-list .category:hover,
.category-list .category:focus,
.category:hover,
.category:focus {
  box-shadow: var(--vib-shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
}

.category-list .category:hover::before,
.category-list .category:focus::before {
  background-color: #e6f1fb;
}

.category-list .category:hover::after,
.category-list .category:focus::after {
  transform: translateX(3px);
}

.category h3,
.category-list .category h3 {
  grid-column: 2;
  align-self: end;
  margin: 0;
  color: var(--vib-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Descriptions are capped at two lines so cards stay even. */
.category p,
.category-list .category p {
  grid-column: 2;
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 2px;
  color: var(--vib-muted);
  font-size: 13.5px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Categories without a description print an empty <p>. */
.category-list .category p:empty {
  display: none;
}

.category .article-count,
.category-list .category .article-count,
.category-list .category:hover .article-count {
  grid-column: 2;
  align-self: start;
  margin: 0;
  padding: 0;
  color: var(--vib-indigo);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

/* Every collection is three even columns with equal-height rows. Getting
   Started (#category-11) is a full-width dark "start here" banner at the
   top of its collection. Help Scout ids are stable per category. */
.category-list {
  grid-auto-rows: minmax(92px, auto);
}

.category-list > #category-11 {
  grid-column: 1 / -1;
  grid-template-columns: 64px minmax(0, 1fr) 40px;
  column-gap: 20px;
  min-height: 116px;
  padding: 24px 28px;
  overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 320' fill='none' stroke='%239FE3E4'%3E%3Ccircle cx='160' cy='160' r='158' stroke-opacity='.16' stroke-width='1.5'/%3E%3Ccircle cx='160' cy='160' r='112' stroke-opacity='.2' stroke-width='1.5' stroke-dasharray='2 8' stroke-linecap='round'/%3E%3Ccircle cx='160' cy='160' r='66' stroke-opacity='.14' stroke-width='1.5'/%3E%3C/svg%3E")
      right 40px center / 300px 300px no-repeat,
    var(--vib-dark);
  box-shadow: var(--vib-shadow-lg);
}

.category-list > #category-11::before {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background-color: var(--vib-white);
  background-size: 38px 38px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.category-list > #category-11::after {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--vib-teal-dk)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E")
    center / 16px 16px no-repeat;
}

.category-list > #category-11 h3 {
  color: var(--vib-white);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.category-list > #category-11 p {
  max-width: 60ch;
  color: var(--vib-dark-body);
  font-size: 15px;
}

.category-list > #category-11 .article-count {
  color: var(--vib-dark-label);
}

/* BEGIN category icons */
/* Category icons, keyed by Help Scout's stable category id.
   Generated by category_icons.py; edit there, not here. A category
   without a rule keeps the generic document icon. */
/* Getting Started */
#category-11::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%23535EAA'%3E%3Ccircle cx='16' cy='16' r='12'/%3E%3C/g%3E%3Cg stroke='%23438E90'%3E%3Cpath d='M20.5 11.5 17.8 17.8 11.5 20.5 14.2 14.2Z'/%3E%3C/g%3E%3C/svg%3E");
}
/* Account Management */
#category-12::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%23535EAA'%3E%3Crect x='4' y='7' width='24' height='18' rx='3'/%3E%3Ccircle cx='11.5' cy='14' r='2.6'/%3E%3Cpath d='M7.8 21.2c.7-2 2.1-3.1 3.7-3.1s3 1.1 3.7 3.1'/%3E%3C/g%3E%3Cg stroke='%23438E90'%3E%3Cpath d='M19 13.5h5M19 18h4'/%3E%3C/g%3E%3C/svg%3E");
}
/* Building Your Programs */
#category-13::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%23535EAA'%3E%3Cpath d='M16 5 28 11 16 17 4 11Z'/%3E%3Cpath d='M4 16l12 6 12-6'/%3E%3C/g%3E%3Cg stroke='%23438E90'%3E%3Cpath d='M4 21l12 6 12-6'/%3E%3C/g%3E%3C/svg%3E");
}
/* Managing Your Members */
#category-14::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%23535EAA'%3E%3Ccircle cx='12' cy='11' r='4'/%3E%3Cpath d='M4 26c0-4.6 3.6-7.5 8-7.5s8 2.9 8 7.5'/%3E%3C/g%3E%3Cg stroke='%23438E90'%3E%3Ccircle cx='22.5' cy='12' r='3.2'/%3E%3Cpath d='M22 18.6h.5c3.4 0 5.5 2.4 5.5 6.4'/%3E%3C/g%3E%3C/svg%3E");
}
/* Supplements */
#category-15::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%23535EAA'%3E%3Crect x='4' y='11.5' width='24' height='9' rx='4.5' transform='rotate(-40 16 16)'/%3E%3C/g%3E%3Cg stroke='%23438E90'%3E%3Cpath d='M16 11.5v9' transform='rotate(-40 16 16)'/%3E%3C/g%3E%3C/svg%3E");
}
/* Labs */
#category-20::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%23535EAA'%3E%3Cpath d='M12.5 4h7M14 4v8.5L6.8 24.6A2.3 2.3 0 0 0 8.8 28h14.4a2.3 2.3 0 0 0 2-3.4L18 12.5V4'/%3E%3C/g%3E%3Cg stroke='%23438E90'%3E%3Cpath d='M9.8 20h12.4'/%3E%3C/g%3E%3C/svg%3E");
}
/* Coaching Tools */
#category-16::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%23535EAA'%3E%3Crect x='7' y='5' width='18' height='23' rx='3'/%3E%3Crect x='12' y='3' width='8' height='4.5' rx='1.5'/%3E%3C/g%3E%3Cg stroke='%23438E90'%3E%3Cpath d='M11.5 17.5l3 3 6-6.5'/%3E%3C/g%3E%3C/svg%3E");
}
/* Messaging & Notifications */
#category-17::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%23535EAA'%3E%3Cpath d='M7 6h18a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H14l-6 5v-5H7a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3Z'/%3E%3C/g%3E%3Cg stroke='%23438E90'%3E%3Cpath d='M10.5 14.5h1M15.5 14.5h1M20.5 14.5h1'/%3E%3C/g%3E%3C/svg%3E");
}
/* Analytics */
#category-18::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%23535EAA'%3E%3Cpath d='M5 4v23h23'/%3E%3Cpath d='M11 22v-5M16 22v-9'/%3E%3C/g%3E%3Cg stroke='%23438E90'%3E%3Cpath d='M21 22V9'/%3E%3C/g%3E%3C/svg%3E");
}
/* Resources */
#category-21::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%23535EAA'%3E%3Cpath d='M16 9c-2.5-2-6-3-11-3v19c5 0 8.5 1 11 3 2.5-2 6-3 11-3V6c-5 0-8.5 1-11 3Z'/%3E%3C/g%3E%3Cg stroke='%23438E90'%3E%3Cpath d='M16 9v19'/%3E%3C/g%3E%3C/svg%3E");
}
/* Troubleshooting & Contacts */
#category-19::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%23535EAA'%3E%3Ccircle cx='16' cy='16' r='12'/%3E%3Ccircle cx='16' cy='16' r='5'/%3E%3C/g%3E%3Cg stroke='%23438E90'%3E%3Cpath d='M7.5 7.5l5 5M19.5 19.5l5 5M24.5 7.5l-5 5M12.5 19.5l-5 5'/%3E%3C/g%3E%3C/svg%3E");
}
/* END category icons */

/* Most popular articles (collection pages) ------------------------------ */
.most-pop-articles {
  margin-bottom: 40px;
  padding: 26px;
  border-radius: var(--vib-r);
  background: var(--vib-white);
  box-shadow: var(--vib-shadow);
}

.most-pop-articles h2 {
  margin-top: 0;
  color: var(--vib-ink);
  font-size: 20px;
  font-weight: 700;
}

.most-pop-articles .popArticles a,
.most-pop-articles .popArticles a:hover span {
  color: var(--vib-ink);
  font-weight: 500;
}

.most-pop-articles .popArticles a:hover {
  color: var(--vib-indigo);
}

/* Category and article layout ------------------------------------------- */
#contentArea > .row-fluid {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 28px;
  padding-top: 36px;
  padding-bottom: 24px;
}

#contentArea > .row-fluid::before,
#contentArea > .row-fluid::after {
  display: none;
}

#sidebar {
  position: sticky;
  top: 24px;
  flex: 0 0 260px;
  width: 260px;
  max-height: calc(100vh - 48px);
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

#main-content {
  box-sizing: border-box;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 40px 48px 44px;
  border: 0;
  border-radius: var(--vib-r);
  background: var(--vib-white);
  box-shadow: var(--vib-shadow);
}

.contentWrapper {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Category head: a tinted band across the top of the card, like the
   brand's tinted panels, so the title reads as the section opener. */
#categoryHead {
  display: block;
  margin: -40px -48px 8px;
  padding: 40px 48px 28px;
  border-bottom: 1px solid var(--vib-rule);
  border-radius: var(--vib-r) var(--vib-r) 0 0;
  background: var(--vib-panel);
}

#categoryHead h1 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--vib-ink);
  font-size: 33px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

#categoryHead h1::before,
#fullArticle h1.title::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--vib-indigo) 0 60%, var(--vib-teal) 60% 100%);
}

#categoryHead p.descrip,
#categoryHead p {
  max-width: 60ch;
  color: var(--vib-muted);
  font-size: 15px;
}

#categoryHead p.descrip:empty {
  display: none;
}

#categoryHead .sort {
  top: 40px;
  right: 48px;
}

#categoryHead .sort select {
  width: auto;
  height: 36px;
  padding: 0 10px;
  line-height: 36px;
  border: 1px solid var(--vib-rule);
  border-radius: 9px;
  background-color: var(--vib-white);
  color: var(--vib-ink);
  font-size: 13.5px;
}

#sidebar h3 {
  margin: 26px 0 8px;
  padding-left: 12px;
  color: var(--vib-indigo);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

#sidebar form {
  margin-bottom: 8px;
}

#sidebar form input.search-query,
#sidebar form input[type="text"] {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--vib-rule);
  border-radius: var(--vib-r-btn);
  outline: 0;
  background: var(--vib-white);
  box-shadow: none;
  color: var(--vib-ink);
  font-size: 14px;
  line-height: 44px;
}

#sidebar form input.search-query:focus,
#sidebar form input[type="text"]:focus {
  border-color: var(--vib-indigo);
  box-shadow: var(--vib-focus);
}

#sidebar form input.search-query::placeholder {
  color: var(--vib-muted);
}

#sidebar #searchBar button,
#sidebar #searchBar button .icon-search::before {
  height: 42px;
  border: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
  color: var(--vib-muted);
}

#sidebar .nav-list {
  margin: 0;
  padding: 0;
}

#sidebar .nav-list > li > a {
  display: block;
  margin: 1px 0;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--vib-ink);
  font-size: 14px;
  text-shadow: none;
}

#sidebar .nav-list > li > a:hover,
#sidebar .nav-list > li > a:focus {
  color: var(--vib-indigo);
  background: rgba(255, 255, 255, 0.6);
}

/* You-are-here: white chip with an indigo spine. */
#sidebar .nav-list > li.active > a {
  color: var(--vib-indigo);
  background: var(--vib-white);
  box-shadow:
    inset 3px 0 0 var(--vib-indigo),
    var(--vib-shadow);
  font-weight: 600;
}

#sidebar .nav-list .icon-arrow {
  display: none;
}

/* Article list: rows with a document glyph and a hover arrow. */
.articleList,
ul.articleList {
  margin: 8px 0 0;
  padding: 0;
  font-size: 15.5px;
}

.articleList > li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--vib-rule);
}

.articleList > li:last-child {
  border-bottom: 0;
}

.articleList > li > a {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 -14px;
  padding: 14px;
  border-radius: var(--vib-r-btn);
  color: var(--vib-ink);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: background 160ms ease;
}

/* A document glyph in a small well: articles in a category are a set,
   not a sequence, so they are not numbered. */
.articleList > li > a::before {
  content: "";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--vib-panel)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23535EAA' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4h10l6 6v16a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3Cpath d='M19 4v6h6M11.5 16h9M11.5 20.5h9'/%3E%3C/svg%3E")
    center / 18px 18px no-repeat;
  transition: background-color 160ms ease;
}

.articleList > li > a::after {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-left: auto;
  background: var(--vib-arrow) center / 16px 16px no-repeat;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.articleList > li > a:hover span {
  text-decoration: none;
}

.articleList > li > a:hover,
.articleList > li > a:focus {
  color: var(--vib-indigo);
  background: var(--vib-panel);
}

.articleList > li > a:hover::before,
.articleList > li > a:focus::before {
  background-color: var(--vib-white);
}

.articleList > li > a:hover::after,
.articleList > li > a:focus::after {
  opacity: 1;
  transform: none;
}

.articleList .icon-article-doc {
  display: none;
}

/* Article content -------------------------------------------------------- */
#fullArticle {
  color: var(--vib-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

#fullArticle h1,
#fullArticle h2,
#fullArticle h3,
#fullArticle h4,
#fullArticle h5 {
  color: var(--vib-ink);
}

#fullArticle h1.title,
#fullArticle h1 {
  margin: 0 0 30px;
  padding-right: 40px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

#fullArticle h2 {
  margin-top: 44px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

#fullArticle h3 {
  margin-top: 30px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

#fullArticle h4 {
  margin-top: 24px;
  font-size: 15.5px;
  font-weight: 600;
}

#fullArticle p,
#fullArticle li {
  color: var(--vib-muted);
}

#fullArticle b,
#fullArticle strong {
  color: var(--vib-ink);
  font-weight: 600;
}

#fullArticle li {
  margin-bottom: 8px;
}

/* Keep prose to a readable measure; images and tables stay full width. */
#fullArticle p,
#fullArticle li,
#fullArticle blockquote {
  max-width: 68ch;
}

/* The editor wraps screenshots in <p>; those keep the full column. */
#fullArticle p:has(> img),
#fullArticle li:has(img) {
  max-width: none;
}

/* Steps: top-level numbered lists get indigo step chips. counter(list-item)
   honours the editor's <ol start="3">, so a list split by screenshots
   keeps counting. Nested lists keep plain markers. */
#fullArticle > ol,
#fullArticle > ol ol {
  padding-left: 1.6em;
}

#fullArticle > ol {
  margin: 22px 0 14px;
  padding-left: 0;
  list-style: none;
}

#fullArticle > ol > li {
  position: relative;
  min-height: 30px;
  padding: 3px 0 0 46px;
}

#fullArticle > ol > li::before {
  content: counter(list-item);
  content: counter(list-item) / "";
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--vib-indigo);
  color: var(--vib-white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

#fullArticle ol ol > li::marker {
  color: var(--vib-indigo);
  font-weight: 600;
}

#fullArticle ol ol {
  margin-top: 10px;
  list-style: lower-alpha;
}

#fullArticle ul > li::marker {
  color: var(--vib-teal);
}

/* Authors use <u> for emphasis; with underlined links it reads as a link. */
#fullArticle u {
  color: var(--vib-ink);
  font-weight: 500;
  text-decoration: none;
}

#fullArticle a {
  color: var(--vib-indigo);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#fullArticle a:hover,
#fullArticle a:focus {
  color: var(--vib-indigo-dk);
}

/* Positioned against .contentWrapper: centred on the title's first line. */
#fullArticle .printArticle {
  top: 32px;
  right: 0;
  color: var(--vib-muted);
  text-decoration: none;
}

#fullArticle .printArticle .icon-print::before {
  color: var(--vib-muted);
}

/* Screenshots sit on a tinted mat, indented under the step they
   illustrate, so white UI does not melt into the white article card. */
#fullArticle p:has(> img) {
  margin: 14px 0 22px;
  padding: 12px;
  border-radius: var(--vib-r);
  background: var(--vib-panel);
  line-height: 0;
}

#fullArticle > ol + p:has(> img) {
  margin-left: 46px;
}

#fullArticle img.noBdr {
  border: 0;
  box-shadow: none;
}

#fullArticle img {
  height: auto;
  margin: 0;
  border: 1px solid var(--vib-rule);
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(8, 38, 72, 0.05), 0 6px 18px rgba(8, 38, 72, 0.06);
}

#fullArticle hr {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid var(--vib-rule);
}

#fullArticle blockquote {
  margin: 26px 0;
  padding: 6px 0 6px 20px;
  border-left: 3px solid var(--vib-indigo);
  color: var(--vib-muted);
}

#fullArticle code {
  padding: 0.12em 0.35em;
  border: 1px solid var(--vib-rule);
  border-radius: 5px;
  background: var(--vib-panel);
  color: var(--vib-ink);
}

#fullArticle pre {
  overflow-x: auto;
  padding: 18px;
  border: 1px solid var(--vib-rule);
  border-radius: var(--vib-r-btn);
  background: var(--vib-panel);
}

#fullArticle pre code {
  padding: 0;
  border: 0;
  background: transparent;
}

#fullArticle table {
  width: 100%;
  margin: 26px 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--vib-rule);
  border-radius: var(--vib-r-btn);
  overflow: hidden;
  background: var(--vib-white);
}

#fullArticle th,
#fullArticle td {
  padding: 11px 14px;
  border-right: 1px solid var(--vib-rule);
  border-bottom: 1px solid var(--vib-rule);
  text-align: left;
  vertical-align: top;
}

#fullArticle th {
  background: var(--vib-panel);
  color: var(--vib-indigo);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#fullArticle tr:nth-child(even) td {
  background: #f8fbfe;
}

#fullArticle tr:last-child td {
  border-bottom: 0;
}

#fullArticle th:last-child,
#fullArticle td:last-child {
  border-right: 0;
}

/* Help Scout editor callouts. Blue = note (indigo), green = tip (teal),
   yellow = caution, red = warning. Text stays ink for contrast; the
   colour lives in the rule and the ground. */
#fullArticle .callout,
#fullArticle .callout-blue,
#fullArticle .callout-green,
#fullArticle .callout-yellow,
#fullArticle .callout-red {
  margin: 26px 0;
  padding: 18px 20px;
  border: 0;
  border-left: 3px solid var(--vib-indigo);
  border-radius: 0 var(--vib-r-btn) var(--vib-r-btn) 0;
  background: var(--vib-panel);
  box-shadow: none;
}

#fullArticle .callout-green {
  border-left-color: var(--vib-teal-dk);
  background: var(--vib-teal-soft);
}

#fullArticle .callout-yellow {
  border-left-color: #b7791f;
  background: #fdf6e7;
}

#fullArticle .callout-red {
  border-left-color: #b4403a;
  background: #fbeceb;
}

#fullArticle [class^="callout"] h3,
#fullArticle [class^="callout"] h4,
#fullArticle [class^="callout"] p,
#fullArticle [class^="callout"] li {
  color: var(--vib-ink);
}

#fullArticle [class^="callout"] > :first-child {
  margin-top: 0;
}

#fullArticle [class^="callout"] > :last-child {
  margin-bottom: 0;
}

#fullArticle .index-list {
  margin: 28px 0;
  padding: 18px 20px;
  border: 0;
  border-radius: var(--vib-r-btn);
  background: var(--vib-panel);
  box-shadow: none;
}

#fullArticle .index-list h4 {
  margin-top: 0;
  color: var(--vib-indigo);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

/* Related articles ------------------------------------------------------- */
.related {
  margin-top: 32px;
  padding: 22px 24px;
  border: 0;
  border-radius: var(--vib-r-btn);
  background: var(--vib-panel);
}

.related h3 {
  color: var(--vib-indigo);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.related ul > li a {
  color: var(--vib-ink);
}

/* Feedback, buttons, and footer ----------------------------------------- */
.articleRatings {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 40px;
  padding: 18px 20px 18px 24px;
  border: 1px solid var(--vib-rule);
  box-shadow: none;
  border-radius: var(--vib-r);
  background: var(--vib-panel);
  color: var(--vib-ink);
}

.articleRatings-actions {
  display: flex;
  width: auto;
}

.articleRatings-question {
  color: var(--vib-ink);
  font-size: 15.5px;
  font-weight: 600;
}

/* Help Scout pins these at 28px with !important; 40px keeps them a usable
   touch target on phones. */
#main-content .articleRatings .articleRatings-actions .rateAction {
  width: 40px !important;
  height: 40px !important;
  margin: 0 4px;
  border: 1px solid var(--vib-rule);
  border-radius: 999px;
  background: var(--vib-white);
  background-image: none;
  box-shadow: none;
  color: var(--vib-indigo);
  text-shadow: none;
}

.articleRatings .rateAction svg,
.articleRatings .rateAction path {
  fill: currentColor;
}

.articleRatings .rateAction:hover,
.articleRatings .rateAction:focus {
  border-color: var(--vib-teal-dk);
  background: var(--vib-teal-dk);
  color: var(--vib-white);
}

.btn-primary {
  border: 0;
  border-radius: var(--vib-r-btn);
  background: var(--vib-teal-dk);
  background-image: none;
  box-shadow: none;
  color: var(--vib-white);
  font-weight: 600;
  text-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background: #336c6e;
  background-image: none;
  color: var(--vib-white);
}

/* "Still need help?" closes every article on the brand's dark closing
   panel, with Contact Us as the one teal action. */
.articleFoot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 18px 0 0;
  padding: 24px 26px;
  overflow: hidden;
  border: 0;
  border-radius: var(--vib-r);
  background: var(--vib-dark);
  box-shadow: var(--vib-shadow-lg);
}

.articleFoot::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -110px;
  width: 340px;
  height: 340px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 320' fill='none' stroke='%239FE3E4'%3E%3Ccircle cx='160' cy='160' r='158' stroke-opacity='.16' stroke-width='1.5'/%3E%3Ccircle cx='160' cy='160' r='112' stroke-opacity='.2' stroke-width='1.5' stroke-dasharray='2 8' stroke-linecap='round'/%3E%3Ccircle cx='160' cy='160' r='66' stroke-opacity='.14' stroke-width='1.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  pointer-events: none;
}

.articleFoot .icon-contact {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--vib-dark-icon);
  font-size: 18px;
}

.articleFoot .icon-contact::before {
  color: var(--vib-dark-icon);
}

.articleFoot p,
.articleFoot p.help {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  float: none;
  margin: 0;
  padding: 0;
  color: var(--vib-white);
  font-family: var(--vib-font) !important;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
}

.articleFoot a,
.articleFoot p.help a.contactUs,
.articleFoot #sbContact,
.articleFoot #sbContactMobile {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border: 0;
  border-radius: var(--vib-r-btn);
  background: var(--vib-teal-dk);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  color: var(--vib-white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.articleFoot #sbContact:hover,
.articleFoot #sbContact:focus,
.articleFoot #sbContactMobile:hover,
.articleFoot #sbContactMobile:focus,
.articleFoot a:hover,
.articleFoot a:focus,
.articleFoot p.help a.contactUs:hover,
.articleFoot p.help a.contactUs:focus {
  background: #336c6e;
  color: var(--vib-white);
}

/* Help Scout swaps these two links at 768px; keep its swap. */
.articleFoot #sbContactMobile {
  display: none;
}

@media (max-width: 768px) {
  .articleFoot #sbContact {
    display: none;
  }

  .articleFoot #sbContactMobile {
    display: inline-flex;
  }
}

.articleFoot a:focus-visible {
  outline-color: var(--vib-dark-label);
}

.articleFoot time {
  position: relative;
  z-index: 1;
  flex: 1 0 100%;
  padding-left: 58px;
  color: var(--vib-dark-body);
  font-family: var(--vib-font) !important;
  font-size: 12.5px;
  font-style: normal;
}

#noResults {
  color: var(--vib-muted);
}

/* Home renders footer.center; inner pages render a bare footer. */
footer.center,
#contentArea > footer {
  padding: 32px 20px 44px;
  border: 0;
  background: transparent;
}

footer.center,
footer.center p,
#contentArea > footer,
#contentArea > footer p {
  color: var(--vib-muted);
  font-size: 12px;
}

footer.center a,
#contentArea > footer a {
  color: var(--vib-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer.center a:hover,
#contentArea > footer a:hover {
  color: var(--vib-indigo);
}

/* Responsive: breakpoints at 980px and 680px, per the brand system ------- */
/* Below 1200px the three-column cards narrow; give descriptions a third
   line rather than cutting them off. Rows stay equal height. */
@media (max-width: 1199px) {
  .category-list .category p {
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 1120px) {
  #docsSearch::after {
    width: 320px;
    height: 232px;
  }

  #docsSearch h1,
  #docsSearch #searchBar {
    max-width: calc(100% - 350px);
  }
}

@media (max-width: 980px) {
  #docsSearch::after {
    display: none;
  }

  #docsSearch h1,
  #docsSearch #searchBar {
    max-width: 100%;
  }

  #docsSearch h1 {
    font-size: 46px;
  }

  .category-list,
  .category-list.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  #sidebar {
    flex-basis: 220px;
    width: 220px;
  }

  #main-content {
    padding: 34px 32px;
  }

  #categoryHead {
    margin: -34px -32px 8px;
    padding: 34px 32px 26px;
  }

  #categoryHead .sort {
    top: 34px;
    right: 32px;
  }
}

/* Help Scout collapses its navbar at 767px; the layout follows it there. */
@media (max-width: 767px) {
  #mainNav.navbar .navbar-inner {
    min-height: 60px;
  }

  #docsSearch {
    margin-top: -61px;
    padding-top: 136px;
  }

  #mainNav .btn-navbar {
    position: static;
    float: none;
    align-self: center;
    margin: 0 0 0 auto;
  }

  #mainNav .container-fluid {
    flex-wrap: wrap;
    min-height: 60px;
    padding: 10px 16px;
  }

  #mainNav .brand img {
    height: 28px;
  }

  #mainNav .nav-collapse {
    flex: 1 0 100%;
    margin: 0;
  }

  #mainNav .nav {
    display: block;
    padding: 8px 0 12px;
    text-align: left;
  }

  #mainNav .nav > li.active > a {
    box-shadow: inset 3px 0 0 var(--vib-indigo);
  }

  #mainNav .nav > li#contactMobile > a {
    display: inline-block;
    margin: 8px 0 0;
  }

  #contentArea > .row-fluid {
    display: block;
    padding-top: 22px;
  }

  #sidebar {
    position: static;
    width: 100%;
    margin: 0 0 20px;
  }

  #main-content {
    width: 100%;
    padding: 28px 22px;
  }

  #categoryHead {
    margin: -28px -22px 8px;
    padding: 28px 22px 22px;
  }

  #fullArticle .printArticle {
    display: none;
  }
}

@media (max-width: 680px) {
  #docsSearch {
    padding: 112px 16px 52px;
  }

  #docsSearch h1::before {
    margin-bottom: 18px;
  }

  #docsSearch h1 {
    margin-bottom: 22px;
    font-size: 38px;
  }

  #docsSearch #searchBar,
  #docsSearch #searchBar input.search-query,
  #docsSearch #searchBar input[type="text"] {
    width: 100%;
    height: 56px;
  }

  #docsSearch #searchBar input.search-query,
  #docsSearch #searchBar input[type="text"] {
    padding-right: 62px;
    padding-left: 46px;
    background-position: 16px center;
    line-height: 56px;
  }

  /* Collapse the search button to its icon. */
  #docsSearch #searchBar button {
    top: 6px;
    right: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    line-height: 44px;
  }

  #docsSearch #searchBar button .icon-search {
    display: inline;
  }

  #docsSearch #searchBar button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  #contentArea {
    padding-right: 16px;
    padding-left: 16px;
  }

  .collection-category {
    margin-bottom: 40px;
  }

  .collection-category h2,
  .collection-category h2 a {
    font-size: 19px;
  }

  .category-list,
  .category-list.two-col {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 10px;
  }

  /* Phones: the same horizontal card, a little tighter. */
  .category-list .category {
    grid-template-columns: 44px minmax(0, 1fr) 16px;
    column-gap: 14px;
    min-height: 76px;
    padding: 14px 16px;
  }

  .category-list .category::before {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-size: 28px 28px;
  }

  .category-list > #category-11 {
    grid-template-columns: 48px minmax(0, 1fr) 34px;
    column-gap: 14px;
    min-height: 0;
    padding: 18px 16px;
    background-position: right -120px center, 0 0;
  }

  .category-list > #category-11::before {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background-size: 30px 30px;
  }

  .category-list > #category-11::after {
    width: 34px;
    height: 34px;
  }

  .category-list > #category-11 h3 {
    font-size: 19px;
  }

  #categoryHead h1,
  #fullArticle h1.title,
  #fullArticle h1 {
    font-size: 28px;
  }

  #fullArticle h2 {
    font-size: 20px;
  }

  #fullArticle > ol > li {
    padding-left: 40px;
  }

  #fullArticle > ol + p:has(> img) {
    margin-left: 0;
  }

  #fullArticle p:has(> img) {
    padding: 8px;
  }

  .articleList > li > a {
    gap: 12px;
    margin: 0 -8px;
    padding: 12px 8px;
  }

  .articleFoot {
    padding: 22px 20px;
  }

  .articleFoot time {
    padding-left: 0;
  }

  #fullArticle table {
    display: block;
    overflow-x: auto;
  }

  #fullArticle th {
    white-space: nowrap;
  }

  #fullArticle td {
    min-width: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  body,
  html {
    background: #fff;
  }

  #mainNav,
  #docsSearch::before,
  #docsSearch::after,
  #sidebar,
  .articleRatings,
  .articleFoot,
  footer.center,
  #contentArea > footer {
    display: none !important;
  }

  #fullArticle p:has(> img) {
    padding: 0;
    background: none;
  }

  #fullArticle > ol > li::before {
    border: 1px solid #082648;
    background: #fff;
    color: #082648;
  }

  #contentArea,
  #main-content,
  .contentWrapper,
  #fullArticle {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
