/* esenda support: custom stylesheet for Help Scout Docs
   Upload at Manage > Docs > [site] > Custom Code > Custom Stylesheet.
   Built against the live page code of client-support.esenda.com (Nov 2026). */

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #040A4E;
  --blue: #0040ED;
  --purple: #D538EE;
  --surface: #F2F5FA;
  --line: #E3E8F2;
  --text: #2B3366;
  --muted: #4A5380;
  --radius: 14px;
}

/* ---------- Base ---------- */
body, input, button, select, textarea,
h1, h2, h3, h4, h5, h6, p, li, a, span, time {
  font-family: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
}
body { background: #fff !important; color: var(--navy); -webkit-font-smoothing: antialiased; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- Header: white, no dark bar ---------- */
#mainNav.navbar .navbar-inner {
  background: #fff !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
  filter: none !important;
  padding: 14px 0;
}
#mainNav .brand img { height: 32px !important; width: auto !important; }
#mainNav .nav li a,
#mainNav .nav li a:hover,
#mainNav .nav li a:focus {
  background: var(--navy) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  text-shadow: none !important;
  border-radius: 10px;
  padding: 10px 16px !important;
  margin-top: 6px;
}
#mainNav .nav li a:hover { background: var(--blue) !important; }
#mainNav .btn-navbar { background: var(--navy) !important; background-image: none !important; border: 0 !important; box-shadow: none !important; }

/* ---------- Homepage search (scoped so the sidebar search isn't affected) ---------- */
#docsSearch {
  background: radial-gradient(56rem 30rem at 100% 0%, rgba(56,223,240,0.55), transparent 60%),
              radial-gradient(48rem 30rem at 85% 60%, rgba(0,64,237,0.22), transparent 62%),
              radial-gradient(44rem 26rem at 0% 100%, rgba(213,56,238,0.22), transparent 60%),
              linear-gradient(180deg, #FFFFFF 0%, #F7F8FD 100%) !important;
  border: 0 !important;
  padding: 88px 20px 120px !important;
  text-align: center;
}
#docsSearch h1 {
  color: var(--navy) !important;
  font-size: 76px;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 32px;
}
#docsSearch #searchBar {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  background: #fff;
  border: 1px solid #D5DCEA;
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 24px 60px rgba(0, 64, 237, 0.18), 0 2px 6px rgba(4,10,78,0.04);
}
#docsSearch #searchBar .search-query {
  flex: 1;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 17px !important;
  height: 48px !important;
  padding: 0 14px !important;
  color: var(--navy) !important;
}
#docsSearch #searchBar button {
  border: 0 !important;
  border-radius: 11px !important;
  background: linear-gradient(90deg, #0040ED 0%, #6A3BF0 70%, #A83BEE 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  padding: 0 22px !important;
  height: 48px !important;
  box-shadow: none !important;
  position: static !important;
  top: auto !important; right: auto !important;
  margin: 0 !important;
  flex: 0 0 auto;
  align-self: center;
}
#docsSearch #searchBar { align-items: center; }
#docsSearch #searchBar .search-query { width: auto !important; min-width: 0; margin: 0 !important; }

/* Search results dropdown (homepage and sidebar) */
#serp-dd { border: 1px solid var(--line) !important; border-radius: 14px !important; box-shadow: 0 20px 50px rgba(4,10,78,0.14) !important; overflow: hidden; }
#serp-dd .result a { color: var(--navy) !important; padding: 10px 14px !important; }
#serp-dd .result a:hover, #serp-dd .result > li.active { background: #EAF0FE !important; color: var(--blue) !important; }

/* ---------- Homepage: popular articles and categories ---------- */
.most-pop-articles { border-bottom: 1px solid var(--line) !important; padding-bottom: 32px; }
.most-pop-articles h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.most-pop-articles .popArticles a,
.most-pop-articles .popArticles a span { color: var(--navy) !important; font-size: 16px; }
.most-pop-articles .popArticles a:hover span { color: var(--blue) !important; }
.most-pop-articles .popArticles i,
.articleList i { display: none !important; }

.category-list .category {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 20px !important;
  box-shadow: none !important;
  text-align: left !important;
  padding: 24px !important;
}
.category-list .category:hover { border-color: var(--blue) !important; box-shadow: 0 14px 34px rgba(0,64,237,0.12) !important; }
.category-list .category h3 { color: var(--navy) !important; font-size: 19px !important; font-weight: 700 !important; margin: 0 !important; }
.category-list .category .article-count { display: none !important; }

/* ---------- Sidebar ---------- */
#sidebar #searchBar.sm .search-query {
  border: 1px solid #D5DCEA !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  height: 44px !important;
  font-size: 15px !important;
}
#sidebar h3 { font-size: 14px !important; font-weight: 700 !important; color: #3A4580 !important; text-transform: none !important; letter-spacing: 0 !important; }
#sidebar .nav-list li a {
  color: var(--navy) !important;
  border-radius: 10px;
  padding: 9px 12px !important;
  font-size: 15px;
  border: 0 !important;
  text-shadow: none !important;
}
#sidebar .nav-list li a:hover { background: var(--surface) !important; }
#sidebar .nav-list li.active a { background: #EAF0FE !important; color: var(--blue) !important; font-weight: 700; }
#sidebar .nav-list .icon-arrow { display: none !important; }

/* ---------- Soft brand wash behind article and category pages ---------- */
body:not(.es-home-on) #contentArea,
body:not(.es-home-on) #main-content,
body:not(.es-home-on) .contentWrapper,
body:not(.es-home-on) #categoryHead,
body:not(.es-home-on) #fullArticle,
body:not(.es-home-on) #contentArea .contentWrapper,
body:not(.es-home-on) #contentArea .row-fluid,
body:not(.es-home-on) #contentArea .container-fluid { background: transparent !important; background-image: none !important; box-shadow: none !important; border: 0 !important; }
body:not(.es-home-on) #contentArea::before,
body:not(.es-home-on) #contentArea::after,
body:not(.es-home-on) .contentWrapper::before,
body:not(.es-home-on) .contentWrapper::after { display: none !important; }

/* "On this page" menu (built by the head script on longer articles) */
.es-toc { margin: 24px 0 28px; }
.es-toc h3 { font-size: 14px !important; font-weight: 700 !important; color: #3A4580 !important; margin: 0 0 12px !important; }
.es-toc ul { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); }
.es-toc li { margin: 0 0 10px; font-size: 14px; line-height: 1.4; }
.es-toc a { color: var(--blue) !important; text-decoration: none; }
.es-toc a:hover { color: var(--navy) !important; text-decoration: underline; }
html { scroll-behavior: smooth; }
#fullArticle h2 { scroll-margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Category pages ---------- */
.contentWrapper { border: 0 !important; box-shadow: none !important; padding: 8px 0 40px !important; }
#categoryHead h1 { font-size: 44px; line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; color: var(--navy); }
#categoryHead .descrip { color: var(--muted) !important; font-size: 18px; }
.articleList { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.articleList li { border-top: 1px solid var(--line); margin: 0 !important; padding: 16px 0 !important; }
.articleList a, .contentWrapper .articleList a { color: var(--navy) !important; font-size: 17px; font-weight: 600; }
.articleList a:hover { color: var(--blue) !important; }

/* ---------- Articles ---------- */
#fullArticle { max-width: 780px; font-size: 17px; line-height: 1.65; }
#fullArticle > br { display: none; }
#fullArticle h1.title { font-size: 44px; line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; color: var(--navy) !important; margin-bottom: 18px; }
#fullArticle h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.025em; color: var(--navy) !important; margin: 44px 0 12px; }
#fullArticle h3 { font-size: 20px; font-weight: 700; color: var(--navy) !important; margin: 28px 0 10px; }
#fullArticle, #fullArticle p, #fullArticle ul, #fullArticle ol,
#fullArticle li, #fullArticle div, #fullArticle blockquote,
#fullArticle dd, #fullArticle table { color: var(--text) !important; }
#fullArticle strong { color: var(--navy); }
#fullArticle a, #fullArticle strong a, #fullArticle a strong { color: var(--blue) !important; }
#fullArticle u { text-decoration: none; font-weight: 700; color: var(--navy); }
#fullArticle img { border-radius: 12px; border: 1px solid var(--line); margin: 8px 0 12px; }
#fullArticle .printArticle { display: none !important; }
#fullArticle iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 18px; }
#fullArticle code, #fullArticle pre { background: var(--surface); border: 0; border-radius: 8px; color: var(--navy); }
#fullArticle table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
#fullArticle th { background: var(--surface); text-align: left; font-weight: 700; }
#fullArticle th, #fullArticle td { padding: 12px 16px; border-top: 1px solid var(--line); }


/* Numbered steps: navy circles */
#fullArticle ol { list-style: none; counter-reset: es-step; padding-left: 0; margin: 16px 0; }
#fullArticle ol > li { counter-increment: es-step; position: relative; padding-left: 50px; margin: 0 0 14px; min-height: 34px; padding-top: 4px; }
#fullArticle ol > li::before { content: counter(es-step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
#fullArticle ol ol { counter-reset: none; }
#fullArticle ol ol > li { padding-left: 0; min-height: 0; }
#fullArticle ol ol > li::before { display: none; }
#fullArticle ol ol { list-style: lower-alpha; padding-left: 22px; }

/* Callout boxes: five types, each with a colour AND an icon.
   Help Scout classes: callout-blue (Tip), callout-yellow (Heads up), callout-green (Done),
   callout-purple (New), callout-red (Can't be undone).
   Older plain boxes that start with a bold "Tip", "Alert", "Done" or "New" are tagged
   by the head script (es-tip, es-alert, es-done, es-new) and styled the same way. */
#fullArticle .callout, #fullArticle .callout-blue, #fullArticle .callout-yellow,
#fullArticle .callout-green, #fullArticle .callout-purple, #fullArticle .callout-red,
#fullArticle .es-tip, #fullArticle .es-alert, #fullArticle .es-done, #fullArticle .es-new,
#fullArticle .scribe-step-tip, #fullArticle .scribe-step-warning {
  position: relative;
  border-radius: 16px;
  padding: 16px 22px 16px 58px !important;
  margin: 20px 0;
  border: 1px solid rgba(0,64,237,0.14) !important;
  background: radial-gradient(22rem 10rem at 100% 0%, rgba(213,56,238,0.16), transparent 62%),
              radial-gradient(20rem 10rem at 0% 100%, rgba(56,223,240,0.30), transparent 62%),
              linear-gradient(135deg, #EEF3FF 0%, #F3EEFF 100%) !important;
}
#fullArticle .callout p, #fullArticle [class*="callout-"] p, #fullArticle [class^="es-"] p { margin: 0; }
#fullArticle .callout strong:first-child, #fullArticle [class*="callout-"] strong:first-child,
#fullArticle .es-tip > strong:first-child, #fullArticle .es-alert > strong:first-child,
#fullArticle .es-done > strong:first-child, #fullArticle .es-new > strong:first-child { display: block; margin-bottom: 2px; color: var(--navy); }
#fullArticle .callout::before, #fullArticle [class*="callout-"]::before,
#fullArticle .es-tip::before, #fullArticle .es-alert::before, #fullArticle .es-done::before, #fullArticle .es-new::before,
#fullArticle .scribe-step-tip::before, #fullArticle .scribe-step-warning::before {
  content: "i";
  position: absolute; left: 18px; top: 17px;
  width: 26px; height: 26px; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-size: 14px; font-weight: 800; line-height: 26px; text-align: center;
}
/* Heads up */
#fullArticle .callout-yellow, #fullArticle .es-alert, #fullArticle .scribe-step-warning {
  background: linear-gradient(135deg, #FFF4CC 0%, #FFE9D6 100%) !important; border-color: rgba(255,170,0,0.30) !important; }
#fullArticle .callout-yellow::before, #fullArticle .es-alert::before, #fullArticle .scribe-step-warning::before { content: "!"; background: #B86E00; }
/* You're done */
#fullArticle .callout-green, #fullArticle .es-done {
  background: linear-gradient(135deg, #E6F8EE 0%, #E2F6F6 100%) !important; border-color: rgba(18,147,90,0.24) !important; }
#fullArticle .callout-green::before, #fullArticle .es-done::before { content: "\2713"; background: #12935A; }
/* New */
#fullArticle .callout-purple, #fullArticle .es-new {
  background: radial-gradient(20rem 10rem at 100% 0%, rgba(213,56,238,0.18), transparent 62%), linear-gradient(135deg, #F7EBFE 0%, #EFEAFF 100%) !important; border-color: rgba(213,56,238,0.26) !important; }
#fullArticle .callout-purple::before, #fullArticle .es-new::before { content: "\2605"; background: #A62BC4; }
/* Can't be undone */
#fullArticle .callout-red {
  background: linear-gradient(135deg, #FDECEC 0%, #FCE8EF 100%) !important; border-color: rgba(198,40,57,0.24) !important; }
#fullArticle .callout-red::before { content: "!"; background: #C62839; }

/* Copy button on file examples (added by the head script) */
#fullArticle .es-pre { position: relative; }
#fullArticle .es-pre pre { padding-right: 90px !important; }
.es-copy { position: absolute; top: 8px; right: 8px; font-family: inherit; font-size: 13px; font-weight: 700; border: 1px solid #D5DCEA; background: #fff; color: var(--navy); border-radius: 8px; padding: 6px 12px; min-height: 34px; cursor: pointer; }
.es-copy:hover { border-color: var(--blue); color: var(--blue); }

/* Feedback and article footer */
.articleRatings {
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: none !important;
  padding: 20px 24px !important;
}
.articleRatings-question { color: var(--navy) !important; font-weight: 600; }
.articleFoot { border-top: 1px solid var(--line) !important; }
.articleFoot p, .articleFoot time { color: var(--muted) !important; font-style: normal !important; }
.articleFoot a { color: var(--blue) !important; }

/* ---------- Site footer ---------- */
#contentArea > footer { border-top: 1px solid var(--line); color: var(--muted) !important; }
#contentArea > footer a { color: var(--muted) !important; }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  #docsSearch { padding: 44px 16px !important; }
  #docsSearch h1 { font-size: 34px; }
  #fullArticle h1.title, #categoryHead h1 { font-size: 32px; }
  #mainNav .nav li a { display: inline-block; }
}

/* ---------- Home page handbook (built by the head script) ---------- */
.es-grad { background: linear-gradient(90deg, #0040ED 0%, #7B3BF0 60%, #D538EE 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.es-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; font-size: 14px; }
.es-chips span { color: var(--muted); padding: 6px 0; }
.es-chips a { background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.95); box-shadow: 0 6px 18px rgba(4,10,78,0.06); border-radius: 999px; padding: 7px 14px; color: var(--navy) !important; text-decoration: none; }
.es-chips a:hover { border-color: var(--blue); color: var(--blue) !important; }
.es-home { max-width: 1080px; margin: 0 auto; padding: 24px 0 0; }
.es-h2 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -0.035em; color: var(--navy); line-height: 1.1; }
.es-lede { margin: 8px 0 0; font-size: 16px; color: var(--muted); }
.es-eyebrow { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: #3A4580; }
.es-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px 48px; margin-top: 28px; }
.es-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; font-size: 14px; font-weight: 700; color: var(--navy); background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.9); border-radius: 999px; padding: 7px 14px; box-shadow: 0 8px 24px rgba(4,10,78,0.06); }
.es-pill span { width: 8px; height: 8px; border-radius: 999px; background: linear-gradient(135deg, #38DFF0, #0040ED); }
.es-home { padding-top: 0; }
.es-featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: -72px 0 80px; position: relative; }
.es-feat { display: block; border-radius: 22px; padding: 26px; min-height: 170px; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease; }
.es-feat:hover { transform: translateY(-3px); }
.es-feat-tag { font-size: 12px; font-weight: 700; border-radius: 6px; padding: 3px 8px; }
.es-feat-t { display: block; margin-top: 44px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.es-feat-s { display: block; margin-top: 6px; font-size: 15px; }
.es-f1 { color: #fff !important; background: radial-gradient(22rem 12rem at 100% 0%, rgba(56,223,240,0.55), transparent 60%), linear-gradient(135deg, #0040ED 0%, #6A3BF0 70%, #A83BEE 100%); box-shadow: 0 24px 50px rgba(0,64,237,0.28); }
.es-f1 .es-feat-tag { background: rgba(255,255,255,0.18); } .es-f1 .es-feat-s { color: #E3E8FF; }
.es-f2 { color: #fff !important; background: radial-gradient(22rem 12rem at 100% 100%, rgba(213,56,238,0.45), transparent 60%), radial-gradient(18rem 10rem at 0% 0%, rgba(56,223,240,0.35), transparent 60%), #040A4E; box-shadow: 0 24px 50px rgba(4,10,78,0.28); }
.es-f2 .es-feat-tag { background: rgba(255,255,255,0.14); } .es-f2 .es-feat-s { color: #C9D0F0; }
.es-f3 { color: var(--navy) !important; background: radial-gradient(22rem 12rem at 100% 0%, rgba(213,56,238,0.22), transparent 60%), linear-gradient(135deg, #FFFFFF 0%, #EEF2FF 100%); border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(4,10,78,0.10); }
.es-f3 .es-feat-tag { color: #6B2FA0; background: #F5EAFD; } .es-f3 .es-feat-s { color: var(--muted); }
.es-h2-lg { font-size: 48px; line-height: 1.02; letter-spacing: -0.045em; }
.es-grid { align-items: start; gap: 18px !important; }
.es-sec { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 12px 32px rgba(4,10,78,0.06); }
.es-sec-h { display: flex; align-items: center; gap: 14px; }
.es-ico { flex: 0 0 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #EAF0FE, #F5EAFD); color: var(--blue); }
.es-sec h3 { margin: 0; font-size: 19px; font-weight: 700; color: var(--navy); }
.es-sec ul { margin-top: 18px !important; }
.es-toggle { margin-top: 6px; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--blue); background: transparent; border: 0; padding: 8px 0; min-height: 44px; cursor: pointer; }
.es-sec ul, .es-fam ul { list-style: none; margin: 14px 0 0; padding: 0; }
.es-sec li, .es-fam li { margin: 0 0 10px; font-size: 15px; line-height: 1.4; }
.es-sec a, .es-fam a { color: var(--navy) !important; text-decoration: none; }
.es-sec a:hover, .es-fam a:hover { color: var(--blue) !important; text-decoration: underline; }
.es-tag { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--blue); background: #EAF0FE; border-radius: 6px; padding: 1px 7px; }
.es-fam { margin-top: 72px; background: radial-gradient(30rem 18rem at 100% 0%, rgba(213,56,238,0.16), transparent 60%), radial-gradient(30rem 18rem at 0% 100%, rgba(56,223,240,0.22), transparent 60%), var(--surface); border-radius: 26px; padding: 40px; display: flex; flex-wrap: wrap; gap: 40px; }
.es-fam-l { flex: 1 1 300px; }
.es-fam-r { flex: 2 1 400px; display: flex; flex-direction: column; gap: 10px; }
.es-q { background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: 0 10px 26px rgba(4,10,78,0.07); }
.es-q p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text); }
.es-q .es-q-t { margin-bottom: 4px; font-size: 16px; font-weight: 700; color: var(--navy); }
.es-contact { margin: 56px 0 24px; border-radius: 22px; padding: 32px 36px; color: #fff; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  background: radial-gradient(30rem 16rem at 100% 0%, rgba(0,64,237,0.5), transparent 60%), radial-gradient(26rem 16rem at 0% 100%, rgba(213,56,238,0.3), transparent 60%), #040A4E; }
.es-contact p { margin: 0; color: #C9D0F0; font-size: 15px; }
.es-contact .es-contact-t { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.es-contact-b { display: flex; flex-wrap: wrap; gap: 10px; }
.es-btn-w, .es-btn-o { border-radius: 10px; padding: 12px 18px; font-size: 15px; font-weight: 600; text-decoration: none !important; }
.es-btn-w { background: #fff; color: var(--navy) !important; }
.es-btn-o { border: 1px solid rgba(255,255,255,0.35); color: #fff !important; }
@media (max-width: 768px) { .es-fam, .es-contact { padding: 24px; } .es-h2, .es-h2-lg { font-size: 30px; } .es-featured { margin-top: -48px; } }
@media (prefers-reduced-motion: reduce) { .es-feat { transition: none; } .es-feat:hover { transform: none; } }

/* ---------- Step cards (built by the head script when h2s are numbered) ---------- */
.es-stepcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px 10px; margin: 28px 0; box-shadow: 0 12px 32px rgba(4,10,78,0.06); overflow: hidden; }
.es-stepcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, #0040ED 0%, #7B3BF0 60%, #D538EE 100%); }
.es-stepnum { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, #0040ED 0%, #7B3BF0 100%); border-radius: 999px; padding: 5px 12px; }
#fullArticle .es-stepcard h2 { margin: 12px 0 10px !important; }
#fullArticle .es-stepcard h3 { font-size: 17px; margin: 22px 0 8px; }
#fullArticle .es-stepcard > :last-child { margin-bottom: 18px; }
@media (max-width: 768px) { .es-stepcard { padding: 22px 20px 6px; } }

/* Headings typed as big headings inside the article body read as a short intro line */
#fullArticle h1:not(.title) { font-size: 21px !important; font-weight: 500 !important; letter-spacing: -0.01em; color: #3A4580 !important; line-height: 1.4; margin: 8px 0 18px !important; }

/* ---------- Breathing room and device safety (all inner pages) ---------- */
#contentArea { box-sizing: border-box; }
#fullArticle, #categoryHead, .articleList { overflow-wrap: break-word; word-wrap: break-word; }
#fullArticle a { overflow-wrap: anywhere; }
#fullArticle img, #fullArticle video, #fullArticle iframe, #fullArticle embed, #fullArticle object { max-width: 100% !important; height: auto; }
#fullArticle iframe { height: auto !important; aspect-ratio: 16 / 9; }
#fullArticle pre { white-space: pre; overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
#fullArticle table { display: table; width: 100%; max-width: 100%; }
@media (max-width: 767px) { #fullArticle table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
#fullArticle > *, .es-stepcard > * { max-width: 100%; box-sizing: border-box; }

/* Tablet */
@media (max-width: 1024px) {
  #contentArea { padding-left: 24px !important; padding-right: 24px !important; }
}
/* Phone */
@media (max-width: 767px) {
  #contentArea { padding-left: 20px !important; padding-right: 20px !important; }
  #sidebar, #main-content { float: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
  #main-content .contentWrapper { padding: 4px 0 32px !important; }
  #fullArticle { font-size: 16px; line-height: 1.6; }
  #fullArticle h1.title, #categoryHead h1 { font-size: 30px !important; line-height: 1.1; }
  #fullArticle h2 { font-size: 22px; margin: 34px 0 10px; }
  #fullArticle h3 { font-size: 18px; }
  #fullArticle h1:not(.title) { font-size: 18px !important; }
  #fullArticle ol > li { padding-left: 44px; }
  #fullArticle ol > li::before { width: 30px; height: 30px; font-size: 14px; }
  #fullArticle .callout, #fullArticle [class*="callout-"], #fullArticle .es-tip, #fullArticle .es-alert, #fullArticle .es-done, #fullArticle .es-new { padding: 14px 16px 14px 50px !important; }
  #fullArticle .callout::before, #fullArticle [class*="callout-"]::before, #fullArticle .es-tip::before, #fullArticle .es-alert::before, #fullArticle .es-done::before, #fullArticle .es-new::before { left: 14px; top: 15px; }
  .es-stepcard { padding: 20px 18px 6px !important; margin: 22px 0; border-radius: 16px; }
  .es-toc { display: none; }
  #docsSearch #searchBar .search-query { font-size: 16px !important; }
  .es-chips { padding: 0 4px; }
}
/* Small phones */
@media (max-width: 380px) {
  #contentArea { padding-left: 16px !important; padding-right: 16px !important; }
  #docsSearch h1 { font-size: 30px !important; }
  #docsSearch #searchBar button { padding: 0 14px !important; }
}
#fullArticle .callout strong:first-child + br, #fullArticle [class*="callout-"] strong:first-child + br { display: none; }
#fullArticle .es-stepcard > div:not([class]) { margin: 18px 0; }
@media (max-width: 767px) { #docsSearch { padding-bottom: 40px !important; } .es-featured { margin: 24px 0 56px !important; } }

/* ---------- Canva video embeds: full width on phones (Nov 2026) ----------
   Canva's player squeezes its buttons together on narrow screens, so the
   share/link button covers the central play button. Running the video edge
   to edge on phones gives the player more room. Covers both Canva's own
   embed code (a wrapper div with the iframe inside) and a bare iframe. */
@media (max-width: 767px) {
  #contentArea { overflow-x: clip; }

  /* Canva's standard embed: widen the wrapper, the iframe fills it */
  #fullArticle div:has(> iframe[src*="canva.com"]) {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  #fullArticle div:has(> iframe[src*="canva.com"]) > iframe { border-radius: 0 !important; }

  /* A Canva iframe pasted on its own, without the wrapper */
  #fullArticle iframe[src*="canva.com"]:not([style*="absolute"]) {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    border-radius: 0 !important;
  }
  /* Inside step cards, stay within the card rather than breaking out */
  #fullArticle .es-stepcard div:has(> iframe[src*="canva.com"]),
  #fullArticle .es-stepcard iframe[src*="canva.com"]:not([style*="absolute"]) {
    width: calc(100% + 36px) !important;
    max-width: none !important;
    margin-left: -18px !important;
  }
}
