/* Messen Labs: Resource Center "Explore" page (Knowledge Base home). See _ml_explore.html.erb */
/* Compact banner on the Explore page only, so topics and filters are visible without scrolling */
body:has(.ml-explore) .header .search { padding: 16px 0 22px !important; }
body:has(.ml-explore) .search::before { font-size: 24px !important; margin-bottom: 12px !important; }
body:has(.ml-explore) .search .search-field input[type='search'] { height: 46px !important; font-size: 15px !important; }
.main.ml-explore { margin-top: 0 !important; padding-top: 22px !important; }
.ml-explore .container { max-width: 1240px; }
.ml-x-h { margin: 0 0 10px; font-size: 21px; font-weight: 700; color: #0d1b33; }
.ml-x-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 8px; }
.ml-x-hint { font-size: 13px; color: #667085; }
.ml-x-n { color: #98a2b3; font-weight: 600; }
.ml-x-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 14px; }
.ml-x-topic { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; -moz-column-gap: 12px; column-gap: 12px; align-items: center; text-align: left; min-height: 68px; padding: 12px 14px;
  background: #fff; border: 1px solid #e3e8ee; border-radius: 14px; cursor: pointer; font: inherit; color: #1f3a68;
  box-shadow: 0 1px 2px rgba(16,24,40,0.05); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.ml-x-topic:hover { transform: translateY(-2px); border-color: #3CC8C0; }
.ml-x-topic.is-on { border: 2px solid #3CC8C0; box-shadow: 0 0 0 4px rgba(60,200,192,0.15); }
.ml-x-ticon { grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 11px; background: #eef1f6; color: #1f3a68; }
.ml-x-ticon svg { width: 22px; height: 22px; fill: currentColor; }
.ml-x-ticon--all { background: #0d1b33; color: #fff; }
.ml-x-ticon--all svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.ml-x-topic.is-on .ml-x-ticon:not(.ml-x-ticon--all) { background: rgba(60,200,192,0.18); }
.ml-x-tname { align-self: end; font-size: 15px; font-weight: 700; line-height: 1.2; }
.ml-x-tcount { align-self: start; font-size: 12.5px; font-weight: 600; color: #98a2b3; }
.ml-x-subs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 12px 16px; background: #fff; border: 1px solid #e3e8ee; border-radius: 12px; }
.ml-x-subs[hidden], .ml-x-upcoming[hidden], .ml-x-pills[hidden], .ml-x-menu[hidden], .ml-x-empty[hidden], .ml-x-grid > li[hidden], .ml-x-opt[hidden], .ml-x-none[hidden], #ml-x-more[hidden], #ml-x-ddn[hidden] { display: none !important; }
.ml-x-label { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #667085; margin-right: 6px; }
.ml-x-chip { padding: 6px 13px; border-radius: 999px; border: 1px solid #d0d5dd; background: #fff; font: inherit; font-size: 13.5px; font-weight: 600; color: #344054; cursor: pointer; }
.ml-x-chip em { font-style: normal; font-weight: 500; color: #98a2b3; margin-left: 3px; }
.ml-x-chip.is-on { background: #0d1b33; border-color: #0d1b33; color: #fff; }
.ml-x-chip.is-on em { color: #9fb0cc; }
.ml-x-upcoming { margin-bottom: 18px; }
.ml-x-upcoming .ml-wcard-media { display: none; }
.ml-x-upcoming .ml-wcard-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ml-x-upcoming .ml-wcard-body { padding: 16px 18px; gap: 8px; }
.ml-x-upcoming .ml-wcard-link { border-left: 4px solid #3CC8C0; }
.ml-x-bar { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 14px; }
.ml-x-dd { position: relative; flex: 0 0 300px; }
.ml-x-ddbtn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: #344054; cursor: pointer; }
.ml-x-ddbtn.is-on { border-color: #3CC8C0; box-shadow: 0 0 0 3px rgba(60,200,192,0.15); }
.ml-x-ddbtn b { margin-left: 6px; padding: 0 7px; border-radius: 9px; background: #0d1b33; color: #fff; font-size: 12px; }
.ml-x-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; width: 340px; max-width: 90vw; padding: 10px; background: #fff; border: 1px solid #e3e8ee; border-radius: 12px; box-shadow: 0 18px 40px rgba(16,24,40,0.18); }
.ml-x-msearch, .ml-x-q, .ml-x-sort { font: inherit; font-size: 14px; color: #101828; border: 1px solid #d0d5dd; border-radius: 10px; padding: 10px 14px; background: #fff; }
.ml-x-msearch { width: 100%; margin-bottom: 6px; border-color: #3CC8C0; }
.ml-x-opts { max-height: 300px; overflow-y: auto; }
.ml-x-opt { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 7px; font-size: 14px; color: #344054; cursor: pointer; margin: 0; font-weight: 400; }
.ml-x-opt:hover { background: #f2f4f7; }
.ml-x-opt input { width: 16px; height: 16px; accent-color: #17a69e; margin: 0; }
.ml-x-opt em { margin-left: auto; font-style: normal; font-size: 12.5px; color: #98a2b3; }
.ml-x-none { padding: 10px 8px; font-size: 13.5px; color: #667085; }
.ml-x-mfoot { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid #eef1f4; }
.ml-x-mfoot button, .ml-x-clear, .ml-x-empty button { border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: #667085; cursor: pointer; padding: 4px 6px; }
.ml-x-mfoot .ml-x-primary, .ml-x-clear, .ml-x-empty button { color: #17a69e; }
.ml-x-q { flex: 1; min-width: 0; }
.ml-x-sort { font-weight: 600; color: #344054; cursor: pointer; }
.ml-x-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; color: #475467; }
.ml-x-pill { padding: 5px 11px; border: 0; border-radius: 999px; background: #0d1b33; color: #fff; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.ml-x-empty { padding: 34px; border: 1px dashed #d0d5dd; border-radius: 14px; text-align: center; color: #475467; background: #fff; }
.ml-x-more { text-align: center; margin-top: 22px; }
#ml-x-more { padding: 10px 26px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: #344054; cursor: pointer; }
.ml-x-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; padding: 0; margin: 0; }
.ml-tag { padding: 3px 9px; border-radius: 10px; font-size: 11.5px; font-weight: 700; background: #fff3f2; color: #c0392b; }
@media (max-width: 760px) {
  .ml-x-topics { display: flex; overflow-x: auto; padding-bottom: 4px; }
  .ml-x-topic { flex: 0 0 190px; min-height: 60px; }
  .ml-x-bar { flex-direction: column; align-items: stretch; }
  .ml-x-dd { flex: none; }
  .ml-x-grid { grid-template-columns: 1fr; }
  .ml-x-hint { display: none; }
}
/* Messen Labs: Knowledge Base attachments need a sign-in; how locked files look to visitors */
.ml-att-locked { opacity: .9; }
.ml-att-locked .attachment-name { text-decoration: none; }
.ml-att-lock { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 2px 10px; border-radius: 999px;
  background: rgba(33,59,105,0.10); color: #213B69; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ml-att-lock::before { content: ""; width: 10px; height: 12px; border-radius: 2px;
  background: linear-gradient(#213B69,#213B69) bottom/10px 7px no-repeat, radial-gradient(circle at 50% 100%, transparent 3px, #213B69 3px, #213B69 4.5px, transparent 4.5px) top/10px 7px no-repeat; }
.ml-att-note { flex-basis: 100%; margin: 10px 0 0; font-size: 13.5px; color: #475467; }
.ml-att-note a { color: #17a69e; font-weight: 700; }
/* Messen Labs: article formatting on public Resource Center pages (knowledge_base/public/_ml_format.html.erb, 23 Nov 2026) */
.article-content { line-height: 1.65; }
/* Headings */
.article-content h1, .article-content h2, .article-content h3, .article-content h4 { color: #213B69; line-height: 1.3; scroll-margin-top: 90px; }
.article-content h1 { font-size: 26px; font-weight: 700; margin: 1.6em 0 0.6em; }
.article-content h2 { font-size: 22px; font-weight: 700; margin: 1.6em 0 0.6em; padding-bottom: 6px; border-bottom: 2px solid #e3e7ee; }
.article-content h3 { font-size: 18px; font-weight: 700; margin: 1.4em 0 0.5em; }
.article-content h4 { font-size: 16px; font-weight: 700; margin: 1.2em 0 0.4em; }
.article-content > :first-child, .article-content .ml-toc + * { margin-top: 0; }
/* On this page */
.ml-toc { margin: 0 0 24px; padding: 14px 18px; border: 1px solid #e3e7ee; border-left: 4px solid #3CC8C0; border-radius: 10px; background: #f6f8fb; }
.ml-toc-title { margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6b7486; }
.ml-toc ul, .article-content .ml-toc ul { margin: 0; padding: 0; list-style: none; }
.ml-toc li { margin: 3px 0; padding: 0; }
.ml-toc li::before { content: none !important; }
.ml-toc .ml-toc-l1 { padding-left: 16px; font-size: 0.95em; }
.ml-toc .ml-toc-l2 { padding-left: 32px; font-size: 0.9em; }
.ml-toc a { color: #213B69; text-decoration: none; }
.ml-toc a:hover { color: #F9423A; text-decoration: underline; }
/* Pictures: fit the page, keep their shape, open full size when clicked */
.article-content img { max-width: 100% !important; height: auto !important; border-radius: 6px; }
.article-content p > img:only-child, .article-content div > img:only-child { display: block; margin: 12px 0; border: 1px solid #e3e7ee; box-shadow: 0 2px 10px rgba(16,35,63,0.08); }
.article-content img.ml-zoom { cursor: zoom-in; }
.ml-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10,20,40,0.88); cursor: zoom-out; }
.ml-lightbox img { max-width: 100%; max-height: 100%; -o-object-fit: contain; object-fit: contain; border-radius: 6px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,0.4); }
.ml-lightbox-close { position: absolute; top: 12px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.15); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
/* Tables */
.ml-table { overflow-x: auto; margin: 16px 0; border: 1px solid #d9dfe8; border-radius: 8px; -webkit-overflow-scrolling: touch; }
.ml-table table { width: 100%; margin: 0 !important; border-collapse: collapse; font-size: 0.95em; }
.ml-table th, .ml-table td { padding: 8px 12px !important; border: 0 !important; border-bottom: 1px solid #e3e7ee !important; text-align: left; vertical-align: top; }
.ml-table th + th, .ml-table td + td, .ml-table th + td, .ml-table td + th { border-left: 1px solid #eef1f5 !important; }
.ml-table tr:last-child > td { border-bottom: 0 !important; }
.ml-table thead th, .ml-table tr.ml-table-head > td, .ml-table th { background: #213B69 !important; color: #fff !important; font-weight: 700; }
.ml-table tr.ml-table-head > td * { color: inherit !important; }
.ml-table tbody tr:nth-child(even):not(.ml-table-head) > td { background: #f6f8fb; }
/* Numbered steps */
.article-content ol { counter-reset: ml-step; list-style: none; margin: 14px 0; padding-left: 0; }
.article-content ol > li { counter-increment: ml-step; position: relative; margin: 0 0 12px; padding-left: 40px; min-height: 28px; }
.article-content ol > li::before { content: counter(ml-step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #213B69; color: #fff; font-size: 14px; font-weight: 700; line-height: 28px; text-align: center; }
.article-content ol ol > li { padding-left: 30px; }
.article-content ol ol > li::before { width: 22px; height: 22px; line-height: 22px; font-size: 12px; background: #3CC8C0; color: #10233f; }
.article-content ol > li img { margin-top: 8px; }
.article-content ul { margin: 12px 0; padding-left: 24px; }
.article-content ul > li { margin: 0 0 6px; }
.article-content ul > li::marker { color: #3CC8C0; }
/* Note / Tip / Important / Warning boxes */
.ml-callout { margin: 16px 0; padding: 12px 16px 12px 46px; position: relative; border: 1px solid; border-left-width: 5px; border-radius: 8px; }
.ml-callout::before { position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 700; line-height: 20px; text-align: center; }
.ml-callout-title { margin-bottom: 2px; font-weight: 700; }
.ml-callout-body > :last-child { margin-bottom: 0; }
.ml-callout-body ul, .ml-callout-body ol { margin: 6px 0 0; }
.ml-callout--note { background: #eef4fc; border-color: #c7d8f1; border-left-color: #2f6fca; }
.ml-callout--note::before { content: "i"; background: #2f6fca; font-family: Georgia, serif; font-style: italic; }
.ml-callout--note .ml-callout-title { color: #1f4f96; }
.ml-callout--tip { background: #ebf8f3; border-color: #bfe6d5; border-left-color: #1d9a6c; }
.ml-callout--tip::before { content: "\2713"; background: #1d9a6c; }
.ml-callout--tip .ml-callout-title { color: #146b4b; }
.ml-callout--important { background: #f2f0fb; border-color: #d6d0f0; border-left-color: #213B69; }
.ml-callout--important::before { content: "!"; background: #213B69; }
.ml-callout--important .ml-callout-title { color: #213B69; }
.ml-callout--warning { background: #fff6e8; border-color: #f4d9a8; border-left-color: #F9423A; }
.ml-callout--warning::before { content: "!"; background: #F9423A; }
.ml-callout--warning .ml-callout-title { color: #b2261f; }
/* Code and commands */
.article-content code { padding: 1px 6px; border-radius: 4px; background: #eef1f5; color: #b2261f; font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: 0.9em; }
.ml-code { position: relative; margin: 16px 0; }
.ml-code pre { margin: 0; padding: 14px 16px; padding-right: 84px; overflow-x: auto; border: 0; border-radius: 8px; background: #10233f; color: #e6edf7; font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: 14px; line-height: 1.55; white-space: pre; }
.ml-code pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.ml-code-copy { position: absolute; top: 8px; right: 8px; padding: 4px 12px; border: 1px solid rgba(255,255,255,0.25); border-radius: 6px; background: rgba(255,255,255,0.08); color: #fff; font: 600 12px/1.6 inherit; cursor: pointer; }
.ml-code-copy:hover { background: rgba(255,255,255,0.18); }
.ml-code-copy.is-done { background: #3CC8C0; border-color: #3CC8C0; color: #10233f; }
@media (max-width: 700px) { .article-content h1 { font-size: 22px; } .article-content h2 { font-size: 19px; } .ml-code pre { font-size: 13px; } }
@media print { .ml-code-copy, .ml-lightbox { display: none !important; } .ml-code pre { white-space: pre-wrap; background: #f6f8fb; color: #10233f; } .ml-table { overflow: visible; } }
/* Messen Labs: Resource Center views (zz_custom_kb_views.rb). Popular badge for everyone, view numbers for agents. */
.ml-pop { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 700; background: rgba(249,66,58,0.12); color: #c8302a; }
.ml-pop::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #F9423A; }
.ml-kbv { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 2px 9px; border: 1px dashed rgba(33,59,105,0.35); border-radius: 10px; font-size: 12px; color: #213B69; background: rgba(33,59,105,0.05); }
.ml-kbv svg, .ml-kbv-page svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }
.ml-kbv-page { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; max-width: calc(100vw - 32px); padding: 9px 14px; border-radius: 12px; background: #213B69; color: #fff; font-size: 13px; box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.ml-kbv-page small { opacity: 0.7; margin-left: 4px; }
.ml-kbv-page .ml-pop { background: rgba(255,255,255,0.16); color: #fff; }
@media print { .ml-kbv-page { display: none; } }
/* LinkedIn image buttons for agents (zz_custom_share_card.rb) */
.ml-sharecard { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 6px; padding: 7px 8px 7px 14px; border-radius: 12px; background: #213B69; color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.ml-sharecard button { border: 0; border-radius: 8px; padding: 6px 12px; font: inherit; cursor: pointer; background: #3CC8C0; color: #10233f; }
.ml-sharecard button[data-ml-card="white"] { background: #fff; color: #213B69; }
.ml-sharecard button:disabled { opacity: 0.6; cursor: progress; }
@media (max-width: 700px) { .ml-kbv-page { bottom: 66px; } }
@media print { .ml-sharecard { display: none; } }
/* Picture rows in articles (22 Nov 2026): two or more pictures placed one after another on the same line (no Enter
   between them) are shown side by side, in as many columns as fit, and stack on phones. */
.article-content :is(p, div):has(> img ~ img) { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; align-items: start; margin: 12px 0; }
.article-content :is(p, div):has(> img ~ img) > img { width: 100% !important; max-width: 100% !important; height: auto !important; margin: 0; border-radius: 8px; }
.article-content :is(p, div):has(> img ~ img) > br { display: none; }
/* "Was this helpful?" at the end of articles (zz_custom_kb_help.rb) */
.ml-helpful { margin: 32px 0 8px; padding: 18px 20px; border: 1px solid #e3e7ee; border-radius: 12px; background: #f6f8fb; }
.ml-helpful-ask { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.ml-helpful-ask b { margin-right: 6px; color: #213B69; }
.ml-helpful button { border: 1px solid #213B69; border-radius: 8px; padding: 6px 18px; background: #fff; color: #213B69; font: inherit; font-weight: 600; cursor: pointer; }
.ml-helpful button:hover, .ml-helpful button[type="submit"] { background: #213B69; color: #fff; }
.ml-helpful-more label { display: block; margin-bottom: 6px; font-weight: 600; color: #213B69; }
.ml-helpful-more textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #cfd6e2; border-radius: 8px; font: inherit; resize: vertical; }
.ml-helpful-more div { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 10px; color: #6b7486; }
.ml-helpful-thanks { margin: 0; font-weight: 600; color: #1d7a4c; }
.ml-helpful[hidden], .ml-helpful [hidden] { display: none !important; }
@media print { .ml-helpful { display: none; } }
/* Announcement banner (zz_custom_announce.rb) */
.ml-announce { display: flex; align-items: center; gap: 12px; padding: 10px 20px; font-size: 15px; color: #fff; background: #213B69; border-bottom: 3px solid #3CC8C0; }
.ml-announce[hidden] { display: none !important; }
.ml-announce--success { background: #1d7a4c; } .ml-announce--warning { background: #b06a00; border-bottom-color: #F9423A; }
.ml-announce-text { flex: 1; } .ml-announce a { color: #fff; font-weight: 700; text-decoration: underline; }
.ml-announce-close { border: 0; background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; opacity: .8; } .ml-announce-close:hover { opacity: 1; }
body { background: #f4f6f9 !important; }
.header {
  background: radial-gradient(circle at 88% 0%, rgba(60,200,192,0.28), transparent 45%), linear-gradient(135deg, #0d1b33 0%, #132a4f 70%, #0f2240 100%) !important;
  border-bottom: 3px solid #3CC8C0 !important;
  padding: 18px 0 0 !important;
}
.header .logo a { display: block; width: 230px; height: 34px; background: url(/assets/images/messen-wordmark-white.png) left center / contain no-repeat; }
.header .logo img { visibility: hidden; }
.header .menu .menu-item { color: rgba(255,255,255,0.82) !important; text-decoration: none; padding: 7px 12px; border-radius: 8px; font-weight: 500; }
.header .menu .menu-item:hover { background: rgba(255,255,255,0.10); color: #fff !important; }
.search { position: relative; text-align: center; padding: 30px 0 40px !important; margin: 0 auto !important; background: transparent !important; }
.search::before { content: 'How can we help you?'; display: block; font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.search .search-field { max-width: 720px; margin: 0 auto; }
.search .search-field input[type='search'] { height: 54px !important; border-radius: 27px !important; border: 0 !important; padding-left: 52px !important; font-size: 16px !important; box-shadow: 0 12px 30px rgba(0,0,0,0.25) !important; background: #fff !important; color: #101828 !important; }
.search .search-field .icon { left: 20px !important; color: #3CC8C0 !important; fill: #3CC8C0 !important; }
.search .search-results { border-radius: 12px; overflow: hidden; box-shadow: 0 16px 36px rgba(0,0,0,0.2); text-align: left; }
.sections { margin-top: 30px !important; }
.main h1 { color: #0d1b33; font-weight: 700; }
a { color: #17a69e; }
.sections--grid .section-inner { border-radius: 14px !important; border: 1px solid #e3e8ee !important; background: #fff !important; box-shadow: 0 1px 2px rgba(16,24,40,0.05), 0 4px 14px rgba(16,24,40,0.05) !important; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.sections--grid .section > a:hover .section-inner { transform: translateY(-3px); border-color: #3CC8C0 !important; box-shadow: 0 2px 4px rgba(16,24,40,0.06), 0 14px 30px rgba(16,24,40,0.12) !important; }
.section-inner .icon, .section-inner [data-font] { color: #3CC8C0 !important; fill: #3CC8C0 !important; }
.sections--grid .section-inner [data-font], .sections--grid .section-inner .icon { background: rgba(60,200,192,0.12); border-radius: 16px; padding: 14px; width: auto !important; }
.section-inner .title { color: #0d1b33; font-weight: 600; font-size: 16px; }
.sections--list .section-inner { border-radius: 10px !important; }
.sections--list .section > a:hover .section-inner { border-color: #3CC8C0 !important; }
.footer { background: #fff !important; border-top: 1px solid #e3e8ee !important; }
.header { position: relative; }
.header .logo { position: absolute; left: 32px; top: 18px; margin: 0 !important; }
.main .container, .footer .container { max-width: 1200px !important; }
.sections--grid { display: flex !important; flex-wrap: wrap; justify-content: center; }
.header > .container:first-child { max-width: none !important; width: 100% !important; padding: 0 32px !important; display: flex !important; align-items: center !important; justify-content: flex-start !important; }
.header .logo { position: static !important; margin: 0 28px 0 0 !important; }
.header .menu { display: flex; gap: 4px; }
.ml-kb-user { margin-left: auto; position: relative; }
.ml-kb-avatar { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #3CC8C0; color: #0d1b33 !important; font-weight: 700; font-size: 14px; text-decoration: none !important; border: 2px solid rgba(255,255,255,0.5); }
.ml-kb-login { color: #0d1b33 !important; background: #3CC8C0; padding: 8px 18px; border-radius: 8px; font-weight: 600; text-decoration: none !important; }
.ml-kb-menu { display: none; position: absolute; right: 0; top: 100%; padding-top: 8px; min-width: 200px; z-index: 50; }
.ml-kb-user:hover .ml-kb-menu { display: block; }
.ml-kb-menu > * { display: block; background: #fff; padding: 10px 16px; color: #101828 !important; text-decoration: none !important; font-size: 14px; }
.ml-kb-menu > *:first-child { border-radius: 10px 10px 0 0; font-weight: 700; border-bottom: 1px solid #e3e8ee; }
.ml-kb-menu > *:last-child { border-radius: 0 0 10px 10px; box-shadow: 0 12px 24px rgba(0,0,0,0.18); }
.ml-kb-menu a:hover { background: #f0fbfa; }
/* === Portal-style top bar + separate hero (overrides earlier header rules) === */
.header { background: none !important; border: 0 !important; padding: 0 !important; }
.header > .container:first-child {
  height: 84px !important; max-width: none !important; width: 100% !important; margin: 0 !important;
  padding: 0 32px !important; box-sizing: border-box; display: flex !important; align-items: center !important;
  background: linear-gradient(90deg, #0d1b33 0%, #10213f 60%, #132a4f 100%) !important;
  border-bottom: 3px solid #3CC8C0 !important;
}
.header .logo { position: static !important; margin: 0 28px 0 0 !important; }
.header .logo a { width: 190px !important; height: 38px !important; }
.header .menu { display: flex !important; gap: 6px; margin: 0 !important; }
.header .menu .menu-item { font-size: 15px !important; font-weight: 600 !important; color: #fff !important; padding: 9px 14px !important; border-radius: 8px !important; }
.header .menu .menu-item:hover { background: rgba(255,255,255,0.08) !important; }
.header .menu .menu-item[href$="/help"], .header .menu .menu-item[href$="/help/"] { background: rgba(60,200,192,0.16) !important; color: #3CC8C0 !important; }
.ml-kb-user { margin-left: auto !important; }

.header > .container:first-child + .container {
  max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 16px !important; box-sizing: border-box;
  background: radial-gradient(circle at 85% 0%, rgba(60,200,192,0.25), transparent 45%), linear-gradient(135deg, #0d1b33 0%, #132a4f 70%, #0f2240 100%) !important;
}
.header .search { padding: 40px 0 48px !important; }
/* Fine-tune to match portal bar exactly */
.header > .container:first-child { padding: 0 28px !important; }
.header .logo { margin: 0 5px 0 0 !important; padding: 0 !important; }
.header .menu { gap: 4px !important; padding: 0 !important; }
.header .menu .menu-item { margin: 0 !important; padding: 7px 14px !important; line-height: 24px !important; font-size: 15px !important; color: rgba(255,255,255,0.85) !important; }
.header .menu .menu-item[href$="/help"], .header .menu .menu-item[href$="/help/"] { color: #3CC8C0 !important; }
/* === Phones: logo and profile on one row, menu below === */
@media (max-width: 767px) {
  .header > .container:first-child { height: auto !important; padding: 12px 16px !important; flex-direction: row !important; flex-wrap: wrap !important; justify-content: space-between !important; row-gap: 10px; }
  .header .logo { order: 1; margin: 0 !important; }
  .header .logo a { width: 150px !important; height: 30px !important; }
  .ml-kb-user { order: 2; margin-left: auto !important; position: relative !important; top: auto !important; right: auto !important; }
  .header .menu { order: 3; flex: 0 0 100%; justify-content: flex-start !important; flex-wrap: nowrap; }
  .header .menu .menu-item { font-size: 14px !important; padding: 6px 10px !important; white-space: nowrap; }
  .ml-kb-login { display: inline-block; padding: 6px 14px; font-size: 14px; line-height: 20px; }
  .ml-kb-avatar { width: 34px; height: 34px; font-size: 13px; }
  .header .search { padding: 24px 0 32px !important; }
  .search::before { font-size: 24px; margin-bottom: 14px; }
  .search .search-field input[type='search'] { height: 48px !important; text-overflow: ellipsis; }
}
/* === Logo colours: blue #213B69 and red #F9423A, matching the customer portal === */
.header > .container:first-child { background: linear-gradient(90deg, #213B69 0%, #213B69 55%, #5a3a68 85%, #a83d54 100%) !important; border-bottom: 3px solid !important; -o-border-image: linear-gradient(90deg, #213B69, #F9423A) 1 !important; border-image: linear-gradient(90deg, #213B69, #F9423A) 1 !important; }
.header > .container:first-child + .container { background: linear-gradient(115deg, #213B69 0%, #213B69 45%, #5a3a68 75%, #F9423A 118%) !important; }
.header .menu .menu-item[href$="/help"], .header .menu .menu-item[href$="/help/"] { background: rgba(255,255,255,0.14) !important; color: #fff !important; box-shadow: inset 0 -2px 0 #F9423A; }
.ml-kb-login { background: linear-gradient(115deg, #F9423A 0%, #c9374f 100%); color: #fff !important; }
.ml-kb-avatar { background: #F9423A; color: #fff !important; }
.ml-kb-menu a:hover { background: rgba(33,59,105,0.08); }
.search .search-field .icon { color: #213B69 !important; fill: #213B69 !important; }
.main h1, .section-inner .title { color: #213B69; }
a { color: #213B69; }
.sections--grid .section > a:hover .section-inner, .sections--list .section > a:hover .section-inner { border-color: #F9423A !important; }
.section-inner .icon, .section-inner [data-font] { color: #213B69 !important; fill: #213B69 !important; }
.sections--grid .section-inner [data-font], .sections--grid .section-inner .icon { background: rgba(33,59,105,0.10); }
/* Search results as a readable white panel under the search box (24 Nov 2026; they were grey text on the banner) */
.search .search-results { max-width: 720px; margin: 12px auto 0 !important; padding: 6px 0 !important; background: #fff !important; }
.search .search-results li, .search .search-results a, .search .search-results li * { color: #213B69 !important; opacity: 1 !important; text-shadow: none !important; }
.search .search-results li { background: transparent !important; }
.search .search-results li + li { border-top: 1px solid #eef1f5; }
.search .search-results a { display: block; text-decoration: none; }
.search .search-results li:hover { background: #f3f6fa !important; }
.search .search-results [class*='title'] { font-weight: 700; }
.search .search-results [class*='subtitle'], .search .search-results [class*='subtitle'] *, .search .search-results [class*='preview'] { color: #5b6577 !important; font-weight: 400; }
.search .search-results em, .search .search-results mark { color: #F9423A !important; background: none !important; font-style: normal; font-weight: 700; }
.search .search-results svg, .search .search-results .icon { fill: #3CC8C0 !important; color: #3CC8C0 !important; }
/* No empty white bar under the search box when the search is cleared */
.search .search-results:empty, .search .search-results:not(:has(li)), .search .search-results[hidden] { display: none !important; }
.search .search-results li[hidden], .search .search-results li:empty { display: none !important; }
/* Messen Labs: the Resources top bar (logo, Home, New Ticket, Resources, profile) stays at the top while scrolling.
   The header box is dissolved so the bar sticks within the whole page wrapper; the banner and page scroll under it.
   Agents' green editor strip above it still scrolls away, so its Edit button stays reachable. */
.header { display: contents !important; }
.header > .container:first-child { position: sticky !important; top: 0; z-index: 100; box-shadow: 0 6px 18px rgba(13,27,51,0.18); }
/* Messen Labs: webinar cards on Knowledge Base category pages (see zz_custom_webinars.rb) */
.sections--list:has(.ml-wcard) { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.sections--list .ml-wcard { margin: 0 !important; padding: 0 !important; border: 0 !important; list-style: none; }
.ml-wcard-link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 14px; background: #fff;
  border: 1px solid #e3e8ee; box-shadow: 0 1px 2px rgba(16,24,40,0.05), 0 4px 14px rgba(16,24,40,0.05);
  color: #101828 !important; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.ml-wcard-link:hover { transform: translateY(-3px); border-color: #3CC8C0; box-shadow: 0 2px 4px rgba(16,24,40,0.06), 0 14px 30px rgba(16,24,40,0.12); }
.ml-wcard-media { display: block; aspect-ratio: 16 / 7; background: #0d1b33; overflow: hidden; }
.ml-wcard-media img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; display: block; }
.ml-wcard-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.ml-wcard-top { display: flex; align-items: center; gap: 8px; }
.ml-wcard-chip { padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 700; background: rgba(60,200,192,0.16); color: #0f8f88; }
.ml-wcard--recorded .ml-wcard-chip { background: rgba(33,59,105,0.10); color: #213B69; }
.ml-wcard--ended .ml-wcard-chip { background: rgba(138,148,163,0.16); color: #5b6573; }
.ml-wcard-title { font-size: 19px; font-weight: 700; line-height: 1.3; color: #0d1b33; }
.ml-wcard-when { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; font-weight: 600; color: #213B69; }
.ml-wcard-date, .ml-wcard-time { display: inline-flex; align-items: center; gap: 7px; }
.ml-wcard-when svg { width: 18px; height: 18px; fill: none; stroke: #3CC8C0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ml-wcard-summary { font-size: 14px; line-height: 1.5; color: #475467; }
.ml-wcard-cta { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: #17a69e; }
.ml-wcard--ended .ml-wcard-link { opacity: .85; }
@media (max-width: 700px) { .sections--list:has(.ml-wcard) { grid-template-columns: 1fr; } }
.ml-wcard-media--none { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
  background: radial-gradient(circle at 85% 0%, rgba(60,200,192,0.35), transparent 50%), linear-gradient(135deg, #0d1b33, #213B69); }
.ml-wcard-media--none b { font-size: 46px; line-height: 1; font-weight: 700; }
.ml-wcard-media--none small { margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #3CC8C0; }

/* Messen Labs: article cards in every other Knowledge Base category */
.sections--list:has(.ml-acard) { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.ml-acard-media { aspect-ratio: 16 / 6; }
.ml-acard-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(60,200,192,0.14); }
.ml-acard-icon svg { width: 18px; height: 18px; fill: none; stroke: #17a69e; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ml-acard-title { font-size: 17.5px; }
.ml-acard-meta { font-size: 12.5px; color: #667085; }
.ml-acard .ml-wcard-body { gap: 9px; }
.ml-wcard .badge, .ml-wcard-top > span:not([class]) { font-size: 11.5px; }
/*
 * This is a manifest file that'll automatically include all the stylesheets available in this directory
 * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
 * the top of the compiled file, but it's generally better to create a new file per style scope.

*/
