/*
 * MS Pantanal - visual do portal do cliente (páginas públicas). Carregado pelo head.txt.
 * Mesmas cores e cartões do painel da equipe.
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body.cust-help, body.cust-help input, body.cust-help select, body.cust-help textarea, body.cust-help button {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}
body.cust-help { background: #e4e9f0 !important; color: #1c2733; }
body.cust-help .wrapper, body.cust-help main.main { background: #e4e9f0 !important; }

/* Topo */
body.cust-help .header { background: #12324f !important; box-shadow: 0 2px 10px rgba(15, 35, 60, .18); }
body.cust-help .header__logo { display: flex !important; align-items: center; gap: 12px; color: #fff !important; font-weight: 600; text-decoration: none; }
body.cust-help .msp-logo { height: 40px; width: auto; background: #fff; border-radius: 6px; padding: 3px 6px; }
body.cust-help .breadcrumbs, body.cust-help .breadcrumbs a { color: #5b6878 !important; }

/* Títulos */
body.cust-help .search__title, body.cust-help h1, body.cust-help h2 { color: #12324f; }
body.cust-help .search__title { font-weight: 700; letter-spacing: -.01em; }
body.cust-help .help-search { padding-top: 10px; }

/* Cartões (Enviar chamado, Ver chamados, artigos) */
body.cust-help .navlink,
body.cust-help .article,
body.cust-help .preview,
body.cust-help .ticket-create,
body.cust-help .main__content .contr > .form,
body.cust-help .notification:not(.notification-flash) {
    background: #fff; border: 1px solid #d3dbe5 !important; border-radius: 12px !important;
    box-shadow: 0 1px 2px rgba(15, 35, 60, .08), 0 4px 14px rgba(15, 35, 60, .06) !important;
}
body.cust-help .navlink:hover { border-color: #1f6fb2 !important; transform: translateY(-1px); transition: transform .1s ease; }
body.cust-help .navlink__title { color: #12324f !important; font-weight: 600; }
body.cust-help .icon-in-circle { background: #1f6fb2 !important; }
body.cust-help .icon-in-circle svg { fill: #fff !important; }

/* Atalhos extras da página inicial */
.msp-portal-atalhos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 24px 0; }
.msp-atalho { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #d3dbe5; border-radius: 12px; padding: 14px 16px;
    text-decoration: none !important; color: #1c2733 !important; box-shadow: 0 1px 2px rgba(15, 35, 60, .08), 0 4px 14px rgba(15, 35, 60, .06); }
a.msp-atalho:hover { border-color: #1f6fb2; transform: translateY(-1px); transition: transform .1s ease; }
.msp-atalho__ico { font-size: 26px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: #eaf3fc; border-radius: 50%; flex: none; }
.msp-atalho b { display: block; font-size: 15px; color: #12324f; }
.msp-atalho small { display: block; font-size: 13px; color: #5b6878; margin-top: 2px; }
.msp-atalho--info { cursor: default; }
.msp-atalho--agora { border-color: #3abb7a; box-shadow: 0 0 0 2px rgba(58, 187, 122, .18), 0 4px 14px rgba(15, 35, 60, .06); }
.msp-selo { font-style: normal; font-size: 11px; font-weight: 600; color: #fff; background: #3abb7a; border-radius: 10px; padding: 1px 7px; margin-left: 4px; vertical-align: 2px; white-space: nowrap; }
.msp-atalho__botoes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msp-mini { display: inline-block; font-size: 13px; font-weight: 600; color: #fff !important; background: #1f6fb2; border-radius: 6px; padding: 5px 10px; text-decoration: none !important; }
.msp-mini:hover { background: #12324f; }

/* Botões */
body.cust-help .btn-full, body.cust-help .btn.btn-full { background: #1f6fb2 !important; border-color: #1f6fb2 !important; border-radius: 8px; font-weight: 600; }
body.cust-help .btn-full:hover { background: #12324f !important; border-color: #12324f !important; }
body.cust-help .btn-border { border-radius: 8px; }

/* Campos */
body.cust-help .form-control, body.cust-help .selectize-input { border-radius: 8px !important; border-color: #cdd6e1 !important; }
body.cust-help .form-control:focus { border-color: #1f6fb2 !important; box-shadow: 0 0 0 3px rgba(31, 111, 178, .15) !important; }
body.cust-help .form-group label { font-weight: 600; color: #3a4756; }
.msp-ajuda { font-size: 12.5px; color: #5b6878; margin-top: 4px; }

/* Sugestões de empresa */
.msp-sugestoes { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 50; background: #fff; border: 1px solid #cdd6e1;
    border-radius: 8px; box-shadow: 0 10px 24px rgba(15, 35, 60, .16); overflow: hidden; margin-top: 2px; }
.msp-sugestao { display: block; width: 100%; text-align: left; background: #fff; border: none; border-bottom: 1px solid #eef1f5; padding: 9px 12px; font-size: 14px; color: #1c2733; cursor: pointer; }
.msp-sugestao:last-child { border-bottom: none; }
.msp-sugestao:hover, .msp-sugestao.ativa { background: #eaf3fc; color: #12324f; }
.msp-empresa-ok input.form-control { border-color: #3abb7a !important; background: #f3fbf6 !important; }
.msp-empresa-ok .msp-ajuda::before { content: "✓ Empresa encontrada no cadastro. "; color: #23824f; font-weight: 600; }

/* Rodapé discreto (o "Powered by HESK" é exigido pela licença gratuita) */
body.cust-help footer.footer, body.cust-help .footer { padding: 6px 0 12px !important; }
body.cust-help footer p, body.cust-help .footer p { font-size: 11px !important; color: #a3adba !important; }
body.cust-help footer a, body.cust-help .footer a { color: #a3adba !important; text-decoration: none !important; font-weight: 400 !important; }
body.cust-help footer .font-weight-bold, body.cust-help .footer .font-weight-bold { font-weight: 400 !important; }

/* ---------------------------------------------------------------- Tela do chamado (cliente) */
body.msp-chamado .ticket__body_block, body.msp-chamado .ticket__params .params--block {
    background: #fff; border: 1px solid #d3dbe5 !important; border-radius: 12px !important;
    box-shadow: 0 1px 2px rgba(15, 35, 60, .08), 0 4px 14px rgba(15, 35, 60, .06) !important;
}
body.msp-chamado .original-message h1 { color: #12324f; font-size: 22px; font-weight: 700; margin-bottom: 10px; }
body.msp-chamado .requester-header span { color: #5b6878; font-weight: 500; }
body.msp-chamado .ticket__body_block.response { border-left: 4px solid #1f6fb2 !important; }

.msp-info { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 4px; }
.msp-info__item { display: inline-flex; flex-direction: column; background: #f3f6fa; border: 1px solid #e3e8ef; border-radius: 8px; padding: 6px 12px; min-width: 140px; }
.msp-info__item small { font-size: 11.5px; color: #6b7785; text-transform: uppercase; letter-spacing: .03em; }
.msp-info__item b { font-size: 14px; color: #1c2733; font-weight: 600; }
body.msp-chamado .original-message .block--description { margin-top: 14px; padding-top: 14px; border-top: 1px solid #eef1f5; font-size: 15px; }

/* Detalhes */
body.msp-chamado .ticket__params .accordion-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
body.msp-chamado .ticket__params .accordion-title > span { font-size: 16px; font-weight: 700; color: #12324f; white-space: nowrap; }
body.msp-chamado .msp-recarregar { font-size: 12.5px; white-space: nowrap; padding: 0 !important; margin-left: auto; }
body.msp-chamado .ticket__params .accordion-body .row { display: grid !important; grid-template-columns: 128px minmax(0, 1fr); gap: 10px; align-items: center;
    padding: 9px 0 !important; margin: 0 !important; border-bottom: 1px solid #eef1f5; }
body.msp-chamado .ticket__params .accordion-body .row:last-child { border-bottom: none; }
body.msp-chamado .ticket__params .row .title { color: #6b7785 !important; font-size: 13px; width: auto !important; max-width: none !important; }
body.msp-chamado .ticket__params .row .value { color: #1c2733; font-weight: 600; font-size: 14px; width: auto !important; max-width: none !important; text-align: left !important; }
body.msp-chamado .ticket__params .row .value.msp-num { font-size: 16px; color: #1f6fb2; letter-spacing: .02em; }
body.msp-chamado .ticket__params .row .value.msp-status { justify-self: start; background: #eaf3fc; color: #12324f; border-radius: 12px; padding: 2px 10px; font-size: 13px; }
.msp-acao-linha { padding: 10px 0; border-bottom: 1px solid #eef1f5; }
a.msp-acao-status { display: block; text-align: center; background: #fff; border: 1px solid #3abb7a; color: #23824f !important; border-radius: 8px; padding: 7px 10px;
    font-weight: 600; font-size: 13.5px; text-decoration: none !important; }
a.msp-acao-status:hover { background: #3abb7a; color: #fff !important; }

/* ---------------------------------------------------------------- Chamados da empresa (portal) */
body.msp-chamado .ticket__params .msp-lista { margin-top: 20px; padding: 18px 18px 14px; }
.msp-lista__cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.msp-lista__titulo { font-size: 16px !important; font-weight: 700; color: #12324f; margin: 0 !important; }
.msp-lista__sair { font-size: 12.5px; color: #5b6878 !important; }
.msp-lista__empresa { font-size: 12.5px; color: #5b6878; margin: 2px 0 12px; }
.msp-lista__abas { display: flex; gap: 4px; background: #f0f3f7; border-radius: 8px; padding: 3px; margin-bottom: 10px; }
.msp-aba { flex: 1; border: none; background: transparent; border-radius: 6px; padding: 6px 4px; font-size: 12.5px; font-weight: 600; color: #5b6878; cursor: pointer; white-space: nowrap; }
.msp-aba.ativa { background: #fff; color: #12324f; box-shadow: 0 1px 3px rgba(15, 35, 60, .15); }
.msp-lista__busca { width: 100%; box-sizing: border-box; border: 1px solid #cdd6e1; border-radius: 8px; padding: 7px 10px; font-size: 13px; margin-bottom: 10px; }
.msp-lista__busca:focus { outline: none; border-color: #1f6fb2; box-shadow: 0 0 0 3px rgba(31, 111, 178, .15); }
.msp-lista__itens { display: flex; flex-direction: column; gap: 8px; max-height: 560px; overflow-y: auto; }
.msp-lista__itens.carregando { opacity: .5; }
.msp-lista__vazio { font-size: 13px; color: #6b7785; margin: 6px 0; }
a.msp-item { display: block; border: 1px solid #e3e8ef; border-radius: 8px; padding: 8px 10px; text-decoration: none !important; color: #1c2733 !important; background: #fff; }
a.msp-item:hover { border-color: #1f6fb2; background: #f7fafd; }
a.msp-item--atual { border-color: #1f6fb2; background: #eaf3fc; }
.msp-item__l1 { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.msp-item__num { font-weight: 700; color: #1f6fb2; font-size: 13px; }
.msp-item__sit { font-size: 11.5px; font-weight: 600; background: #eaf3fc; color: #12324f; border-radius: 10px; padding: 1px 8px; white-space: nowrap; }
a.msp-item--resolvido .msp-item__sit { background: #e6f6ee; color: #23824f; }
.msp-item__assunto { font-size: 13.5px; font-weight: 600; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msp-item__info { font-size: 12px; color: #6b7785; margin-top: 2px; }
.msp-lista__rodape { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 10px; }
.msp-lista__rodape:empty { display: none; }
.msp-pag { border: 1px solid #cdd6e1; background: #fff; border-radius: 6px; padding: 4px 10px; font-size: 12.5px; cursor: pointer; color: #12324f; }
.msp-pag:disabled { opacity: .4; cursor: default; }
.msp-pag__txt { font-size: 12px; color: #6b7785; }

/* ---------------------------------------------------------------- Base de conhecimento (portal) */
body.msp-kb-portal .help-search { background: #fff !important; border: 1px solid #d3dbe5; border-radius: 12px; padding: 22px 24px 20px !important;
    box-shadow: 0 1px 2px rgba(15, 35, 60, .08), 0 4px 14px rgba(15, 35, 60, .06); margin-bottom: 22px; }
.msp-kb-titulo { text-align: center; margin-bottom: 12px; }
.msp-kb-titulo b { display: block; font-size: 20px; color: #12324f; }
.msp-kb-titulo span { display: block; font-size: 13px; color: #5b6878; margin-top: 2px; }
body.msp-kb-portal .help-search .search__form { max-width: 640px; margin: 0 auto; background: transparent !important; padding: 0 !important; }
body.msp-kb-portal .help-search .form-control { height: 46px; font-size: 15px; border-radius: 10px !important; }
body.msp-kb-portal .topics { background: transparent !important; box-shadow: none !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
body.msp-kb-portal .topics__block { background: #fff; border: 1px solid #d3dbe5; border-radius: 12px; padding: 16px 18px; margin: 0 !important; width: auto !important;
    box-shadow: 0 1px 2px rgba(15, 35, 60, .06); }
body.msp-kb-portal .topics__title a { color: #12324f !important; font-weight: 700; text-decoration: none; }
body.msp-kb-portal .topics__list li { margin: 6px 0; }
body.msp-kb-portal .topics__list a { color: #1f6fb2; text-decoration: none; }
body.msp-kb-portal .topics__list a:hover { text-decoration: underline; }
body.msp-kb-portal .ticket--article .ticket__body { background: #fff; border: 1px solid #d3dbe5; border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 35, 60, .08), 0 4px 14px rgba(15, 35, 60, .06); }
body.msp-kb-portal .ticket--article .ticket__body_block { padding: 24px 28px !important; }
body.msp-kb-portal .ticket--article h1 { font-size: 24px; font-weight: 700; color: #12324f; margin-bottom: 14px; }
body.msp-kb-portal .ticket--article .block--description { font-size: 15px; line-height: 1.6; color: #1c2733; }
body.msp-kb-portal .ticket--article .block--description h3 { font-size: 16.5px; color: #12324f; margin: 18px 0 6px; padding-bottom: 4px; border-bottom: 1px solid #eef1f5; }
body.msp-kb-portal .ticket--article .block--description ol, body.msp-kb-portal .ticket--article .block--description ul { padding-left: 22px; margin: 6px 0 10px; }
body.msp-kb-portal .ticket--article .block--description li { margin: 4px 0; }
body.msp-kb-portal .ticket--article .block--description img { max-width: 100%; height: auto; border: 1px solid #e3e8ef; border-radius: 8px; margin: 8px 0; }
body.msp-kb-portal #rate-me { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-start; margin-top: 22px; padding-top: 14px; border-top: 1px solid #eef1f5; font-size: 14px; color: #3a4756; }
a.msp-kb-voto { border: 1px solid #cdd6e1; border-radius: 18px; padding: 4px 12px; text-decoration: none !important; color: #12324f !important; font-weight: 600; font-size: 13px; }
a.msp-kb-voto:hover { border-color: #1f6fb2; background: #eaf3fc; }
.msp-kb-ajuda { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; background: #f3f8fd; border: 1px solid #d5e5f5; border-radius: 10px; padding: 12px 16px; }
.msp-kb-ajuda b { display: block; color: #12324f; font-size: 14.5px; }
.msp-kb-ajuda span { display: block; color: #5b6878; font-size: 13px; }
body.msp-kb-portal .ticket--article .ticket__params .params--block { background: #fff; border: 1px solid #d3dbe5; border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 35, 60, .06); }
body.msp-kb-portal .navlink__descr { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 700px) {
    body.msp-kb-portal .ticket--article .ticket__body_block { padding: 16px !important; }
    .msp-kb-ajuda { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------- Artigo da base (portal) */
.msp-art { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.msp-art__principal { background: #fff; border: 1px solid #d3dbe5; border-radius: 12px; overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 35, 60, .08), 0 4px 14px rgba(15, 35, 60, .06); }
.msp-art__cab { padding: 22px 28px 18px; border-bottom: 1px solid #e6ebf1; background: linear-gradient(180deg, #f5f9fd 0%, #fff 100%); border-top: 4px solid #1f6fb2; }
.msp-art__cat { display: inline-block; font-size: 12px; font-weight: 700; color: #1f6fb2 !important; background: #eaf3fc; border-radius: 12px; padding: 3px 10px; text-decoration: none !important; }
.msp-art__cat:hover { background: #d9eaf9; }
.msp-art__cab h1 { font-size: 26px !important; font-weight: 700; color: #12324f !important; margin: 10px 0 6px !important; line-height: 1.25; letter-spacing: -.01em; }
.msp-art__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: #6b7785; }
.msp-art__util { color: #1d7a4a; font-weight: 600; }
.msp-art__conteudo { padding: 20px 28px 8px; font-size: 15.5px; line-height: 1.65; color: #1c2733; }
.msp-art__conteudo h2, .msp-art__conteudo h3 { font-size: 17px !important; font-weight: 700; color: #12324f !important; margin: 20px 0 8px !important; padding-left: 10px; border-left: 3px solid #f2b705; }
.msp-art__conteudo h2:first-child, .msp-art__conteudo h3:first-child { margin-top: 4px !important; }
.msp-art__conteudo p { margin: 0 0 10px; }
.msp-art__conteudo ol, .msp-art__conteudo ul { padding-left: 24px; margin: 6px 0 14px; }
.msp-art__conteudo li { margin: 6px 0; padding-left: 2px; }
.msp-art__conteudo ol > li::marker { color: #1f6fb2; font-weight: 700; }
.msp-art__conteudo img { max-width: 100%; height: auto; border: 1px solid #e3e8ef; border-radius: 8px; margin: 8px 0; box-shadow: 0 2px 8px rgba(15, 35, 60, .08); }
.msp-art__conteudo code { background: #f1f4f8; border-radius: 4px; padding: 1px 5px; font-size: 13.5px; }
.msp-art__conteudo table { border-collapse: collapse; margin: 8px 0 14px; }
.msp-art__conteudo td, .msp-art__conteudo th { border: 1px solid #dde3ea; padding: 6px 10px; }
.msp-art__anexos { margin: 0 28px 10px; padding: 12px 14px; background: #f7f9fc; border: 1px solid #e3e8ef; border-radius: 10px; display: flex; flex-direction: column; gap: 6px; }
.msp-art__anexos b { font-size: 13px; color: #3a4756; }
.msp-art__anexo { display: inline-flex; align-items: center; gap: 6px; color: #1f6fb2 !important; font-size: 14px; }
.msp-art__anexo .icon { width: 14px; height: 14px; fill: #1f6fb2; }
.msp-art__voto { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 10px 28px 0; padding: 16px 0 22px; border-top: 1px solid #eef1f5; font-size: 14px; color: #3a4756; }
.msp-art__voto > span { font-weight: 600; margin-right: 4px; }
.msp-art__lado { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 16px; }
.msp-art__bloco { background: #fff; border: 1px solid #d3dbe5; border-radius: 12px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(15, 35, 60, .06); }
.msp-art__bloco > b { display: block; font-size: 15px; color: #12324f; }
.msp-art__bloco p { font-size: 13px; color: #5b6878; margin: 4px 0 12px; }
.msp-art__bloco--ajuda { background: linear-gradient(160deg, #12324f 0%, #1f6fb2 100%); border: none; }
.msp-art__bloco--ajuda > b { color: #fff; }
.msp-art__bloco--ajuda p { color: rgba(255, 255, 255, .8); }
.msp-art__btn { display: block; text-align: center; font-weight: 600; font-size: 14px; border-radius: 8px; padding: 9px 12px; text-decoration: none !important;
    background: #f2b705; color: #12324f !important; margin-top: 8px; }
.msp-art__btn:hover { background: #ffc928; }
.msp-art__btn--wa { background: rgba(255, 255, 255, .12); color: #fff !important; border: 1px solid rgba(255, 255, 255, .35); }
.msp-art__btn--wa:hover { background: rgba(255, 255, 255, .2); }
.msp-art__rel { list-style: none; margin: 8px 0 0; padding: 0; }
.msp-art__rel li { border-top: 1px solid #eef1f5; }
.msp-art__rel li:first-child { border-top: none; }
.msp-art__rel a { display: block; padding: 8px 0; font-size: 13.5px; color: #1f6fb2 !important; text-decoration: none !important; }
.msp-art__rel a:hover { color: #12324f !important; text-decoration: underline !important; }
.msp-art__voltar { font-size: 13px; color: #5b6878 !important; text-decoration: none !important; padding-left: 4px; }
.msp-art__voltar:hover { color: #1f6fb2 !important; }
@media (max-width: 900px) {
    .msp-art { grid-template-columns: 1fr; }
    .msp-art__lado { position: static; }
}
@media (max-width: 600px) {
    .msp-art__cab, .msp-art__conteudo { padding-left: 16px; padding-right: 16px; }
    .msp-art__voto, .msp-art__anexos { margin-left: 16px; margin-right: 16px; }
    .msp-art__cab h1 { font-size: 21px !important; }
}

/* ---------------------------------------------------------------- Página inicial: atalhos alinhados e responsivos */
body.cust-help .main__content .nav { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; max-width: none !important; margin: 0 0 14px !important; }
body.cust-help .main__content .nav .navlink { width: auto !important; max-width: none !important; margin: 0 !important; min-height: 76px; }
.msp-portal-atalhos { grid-template-columns: repeat(var(--msp-cols, 4), minmax(0, 1fr)) !important; margin: 0 0 24px !important; align-items: stretch; }
.msp-portal-atalhos .msp-atalho { min-height: 104px; align-items: flex-start; }
.msp-portal-atalhos .msp-atalho > span:last-child { min-width: 0; }
.msp-portal-atalhos .msp-atalho__botoes { flex-wrap: wrap; }
.msp-portal-atalhos .msp-mini { white-space: nowrap; }
.msp-atalho--faixa { grid-column: 1 / -1; min-height: 0 !important; align-items: center !important; padding: 10px 16px !important; }
.msp-atalho--faixa > span:last-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.msp-atalho--faixa .msp-atalho__ico { width: 36px; height: 36px; font-size: 20px; }
.msp-atalho--faixa small { margin-top: 0 !important; }
@media (max-width: 1000px) {
    .msp-portal-atalhos { grid-template-columns: repeat(min(var(--msp-cols, 4), 2), minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
    .msp-portal-atalhos, body.cust-help .main__content .nav { grid-template-columns: 1fr !important; }
    .msp-portal-atalhos .msp-atalho { min-height: 0; }
}

/* ---------------------------------------------------------------- Base de conhecimento (portal): categorias, listas e busca */
.msp-kb-secao { margin-bottom: 22px; }
.msp-kb-secao__tit { font-size: 17px !important; font-weight: 700; color: #12324f !important; margin: 0 0 12px !important; }
.msp-kbc { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.msp-kbc__card { display: flex; flex-direction: column; background: #fff; border: 1px solid #d3dbe5; border-radius: 12px; padding: 16px 18px;
    box-shadow: 0 1px 2px rgba(15, 35, 60, .08), 0 4px 14px rgba(15, 35, 60, .06); transition: border-color .12s ease, transform .12s ease; }
.msp-kbc__card:hover { border-color: #1f6fb2; transform: translateY(-1px); }
.msp-kbc__topo { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.msp-kbc__ico { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 22px; background: #eaf3fc; border-radius: 50%; }
.msp-kbc__topo b { display: block; font-size: 15px; color: #12324f; line-height: 1.3; }
.msp-kbc__topo small { display: block; font-size: 12.5px; color: #5b6878; margin-top: 2px; }
.msp-kbc__lista { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid #eef1f5; flex: 1; }
.msp-kbc__lista li { margin: 0 0 6px; padding-left: 14px; position: relative; }
.msp-kbc__lista li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: #f2b705; }
.msp-kbc__lista a { font-size: 13.5px; color: #1f6fb2 !important; text-decoration: none !important; }
.msp-kbc__lista a:hover { text-decoration: underline !important; }
.msp-kbc__mais { margin-top: 10px; font-size: 12.5px; font-weight: 600; color: #12324f !important; text-decoration: none !important; align-self: flex-start; }
.msp-kbc__mais:hover { color: #1f6fb2 !important; }
.msp-kbc__cab { background: #fff; border: 1px solid #d3dbe5; border-top: 4px solid #1f6fb2; border-radius: 12px; padding: 16px 22px; margin-bottom: 18px;
    box-shadow: 0 1px 2px rgba(15, 35, 60, .06); }
.msp-kbc__voltar { font-size: 13px; font-weight: 600; color: #1f6fb2 !important; text-decoration: none !important; }
.msp-kbc__cab h1 { font-size: 23px !important; font-weight: 700; color: #12324f !important; margin: 6px 0 2px !important; }
.msp-kbc__cab span { font-size: 13px; color: #5b6878; }
.msp-kbl { display: flex; flex-direction: column; gap: 8px; }
.msp-kbl[hidden] { display: none; }
.msp-kbl__item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #d3dbe5; border-radius: 10px; padding: 12px 16px;
    text-decoration: none !important; color: #1c2733 !important; box-shadow: 0 1px 2px rgba(15, 35, 60, .05); transition: border-color .12s ease, background .12s ease; }
.msp-kbl__item:hover { border-color: #1f6fb2; background: #f7fafd; }
.msp-kbl__ico { width: 38px; height: 38px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 18px; background: #eaf3fc; border-radius: 10px; }
.msp-kbl__txt { flex: 1; min-width: 0; }
.msp-kbl__txt b { display: inline; font-size: 15px; color: #12324f; font-weight: 600; }
.msp-kbl__cat { display: inline-block; font-style: normal; font-size: 11.5px; font-weight: 600; color: #1f6fb2; background: #eaf3fc; border-radius: 10px; padding: 1px 8px; margin-left: 8px; vertical-align: 1px; }
.msp-kbl__txt small { display: block; font-size: 13px; color: #5b6878; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msp-kbl__seta { font-size: 24px; color: #9aa6b5; line-height: 1; }
.msp-kbl__item:hover .msp-kbl__seta { color: #1f6fb2; }
.msp-kbt { background: #fff; border: 1px solid #d3dbe5; border-radius: 12px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(15, 35, 60, .08), 0 4px 14px rgba(15, 35, 60, .06); }
.msp-kbt__cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.msp-kbt__cab .msp-kb-secao__tit { margin: 0 !important; }
.msp-kbt__abas { display: flex; gap: 4px; background: #f0f3f7; border-radius: 8px; padding: 3px; }
.msp-kbt__abas .msp-aba { flex: none; padding: 6px 14px; font-size: 13px; }
.msp-kbt .msp-kbl__item { box-shadow: none; border-color: #e3e8ef; }
.msp-kb-aviso { background: #fff8e6; border: 1px solid #f2d27a; color: #6b4e00; border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.msp-kb-aviso a { color: #1f6fb2; }
.msp-kb-rodape { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: 12px; padding: 16px 20px; margin: 6px 0 10px;
    background: linear-gradient(135deg, #12324f 0%, #1f6fb2 100%); }
.msp-kb-rodape b { display: block; color: #fff; font-size: 15.5px; }
.msp-kb-rodape span { display: block; color: rgba(255, 255, 255, .8); font-size: 13px; }
.msp-kb-rodape .msp-art__btn { margin: 0; flex: none; padding: 9px 20px; }
@media (max-width: 600px) {
    .msp-kb-rodape { flex-direction: column; align-items: stretch; text-align: center; }
    .msp-kbl__item { padding: 10px 12px; gap: 10px; }
    .msp-kbl__ico { display: none; }
    .msp-kbl__cat { display: table; margin: 3px 0 0; }
}

/* ---------------------------------------------------------------- Base de conhecimento (portal): busca em destaque */
body.msp-kb-portal .help-search { position: relative; overflow: visible; border: none !important; padding: 30px 24px 28px !important;
    background: radial-gradient(circle at 85% -20%, rgba(242, 183, 5, .22) 0, rgba(242, 183, 5, 0) 45%),
                linear-gradient(135deg, #12324f 0%, #17507f 55%, #1f6fb2 100%) !important;
    box-shadow: 0 6px 22px rgba(15, 35, 60, .22) !important; }
body.msp-kb-portal .help-search::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #f2b705; opacity: .9; }
body.msp-kb-portal .msp-kb-titulo b { color: #fff; font-size: 23px; letter-spacing: -.01em; }
body.msp-kb-portal .msp-kb-titulo span { color: rgba(255, 255, 255, .78); font-size: 13.5px; margin-top: 4px; }
body.msp-kb-portal .msp-kb-titulo { margin-bottom: 16px; }
body.msp-kb-portal .help-search .search__form .form-group { position: relative; }
body.msp-kb-portal .help-search .form-control { height: 52px; font-size: 15.5px; border: 2px solid transparent !important; border-radius: 12px !important;
    background: #fff !important; box-shadow: 0 6px 18px rgba(8, 20, 35, .25) !important; color: #1c2733; }
body.msp-kb-portal .help-search .form-control::placeholder { color: #7a8796; }
body.msp-kb-portal .help-search .form-control:focus { border-color: #f2b705 !important; box-shadow: 0 0 0 4px rgba(242, 183, 5, .25), 0 6px 18px rgba(8, 20, 35, .25) !important; }
body.msp-kb-portal .help-search .search__submit { top: 0 !important; bottom: 0; height: 52px !important; transform: none !important; display: flex !important; align-items: center; justify-content: center; }
body.msp-kb-portal .help-search .search__submit .icon { fill: #1f6fb2 !important; }
body.msp-kb-portal .help-search .kb-suggestions { border-radius: 10px; box-shadow: 0 10px 24px rgba(15, 35, 60, .2); }
@media (max-width: 600px) {
    body.msp-kb-portal .help-search { padding: 22px 16px 22px !important; }
    body.msp-kb-portal .msp-kb-titulo b { font-size: 20px; }
}

/* ---------------------------------------------------------------- Página inicial do portal: mesma busca em destaque */
.help-search.msp-busca { position: relative; overflow: visible; border: none !important; padding: 30px 24px 28px !important;
    background: radial-gradient(circle at 85% -20%, rgba(242, 183, 5, .22) 0, rgba(242, 183, 5, 0) 45%),
                linear-gradient(135deg, #12324f 0%, #17507f 55%, #1f6fb2 100%) !important;
    box-shadow: 0 6px 22px rgba(15, 35, 60, .22) !important; }
.help-search.msp-busca::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #f2b705; opacity: .9; }
.help-search.msp-busca .msp-kb-titulo b { color: #fff; font-size: 23px; letter-spacing: -.01em; }
.help-search.msp-busca .msp-kb-titulo span { color: rgba(255, 255, 255, .78); font-size: 13.5px; margin-top: 4px; }
.help-search.msp-busca .msp-kb-titulo { margin-bottom: 16px; }
.help-search.msp-busca .search__form .form-group { position: relative; }
.help-search.msp-busca .form-control { height: 52px; font-size: 15.5px; border: 2px solid transparent !important; border-radius: 12px !important;
    background: #fff !important; box-shadow: 0 6px 18px rgba(8, 20, 35, .25) !important; color: #1c2733; }
.help-search.msp-busca .form-control::placeholder { color: #7a8796; }
.help-search.msp-busca .form-control:focus { border-color: #f2b705 !important; box-shadow: 0 0 0 4px rgba(242, 183, 5, .25), 0 6px 18px rgba(8, 20, 35, .25) !important; }
.help-search.msp-busca .search__submit { top: 0 !important; bottom: 0; height: 52px !important; transform: none !important; display: flex !important; align-items: center; justify-content: center; }
.help-search.msp-busca .search__submit .icon { fill: #1f6fb2 !important; }
.help-search.msp-busca .kb-suggestions { border-radius: 10px; box-shadow: 0 10px 24px rgba(15, 35, 60, .2); }
@media (max-width: 600px) {
    .help-search.msp-busca { padding: 22px 16px 22px !important; }
    .help-search.msp-busca .msp-kb-titulo b { font-size: 20px; }
}
.help-search.msp-busca { margin: 8px 0 22px !important; border-radius: 14px !important; }
.help-search.msp-busca .search__form { max-width: 640px; margin: 0 auto; background: transparent !important; padding: 0 !important; }
.help-search.msp-busca .search__title { color: #fff !important; font-size: 25px !important; font-weight: 700; margin: 0 0 4px !important; text-align: center; letter-spacing: -.01em; }
.help-search.msp-busca .msp-busca__sub { display: block; text-align: center; color: rgba(255, 255, 255, .78); font-size: 13.5px; margin-bottom: 16px; }
@media (max-width: 600px) { .help-search.msp-busca .search__title { font-size: 21px !important; } }
