/* INSYGMA Labs: modo de ensaio mobile (Proposta A discreta)
 * Prefixo obrigatorio: html.labs-preview
 * Mantem a identidade limpa do INSYGMA Labs (cores, letra, fios finos).
 * Nao toca no selo «MODO DE ENSAIO» da Vesta (canto inferior esquerdo).
 */

/* ==========================================================================
   1. CABECALHO DO LABS NOS ARTIGOS (.lb-nav visivel abaixo de 900 px)
   ========================================================================== */

@media (max-width: 900px) {
  html.labs-preview .bde-section-31365-100 .bde-div-31365-101 {
    grid-template-columns: 1fr auto;
    row-gap: 10px;
    padding: 12px 0 10px;
  }

  html.labs-preview .bde-section-31365-100 .bde-code-block-31365-127 {
    display: block;
    grid-column: 1 / -1;
    order: 3;
    justify-self: stretch;
    border-top: 1px solid #e4eaf3;
    padding-top: 4px;
    margin-top: 2px;
  }

  html.labs-preview .bde-section-31365-100 .lb-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0 22px;
    font: 500 14px/1.2 Inter, system-ui, sans-serif;
  }

  html.labs-preview .bde-section-31365-100 .lb-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #5b6380;
    text-decoration: none;
    border-bottom: 2px solid transparent;
  }

  html.labs-preview .bde-section-31365-100 .lb-nav a.lb-on {
    color: #16173c;
    font-weight: 600;
    border-bottom-color: #16173c;
  }
}

@media (max-width: 560px) {
  html.labs-preview .bde-section-31365-100 .bde-div-31365-101 {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  html.labs-preview .bde-section-31365-100 .lb-nav {
    justify-content: center;
  }
}

/* Trilho de volta ao Labs no topo do artigo */
html.labs-preview .insygma-science-v6 .v6-crumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Sub-barra discreta do Labs na Entrada e na Lista de Artigos (mesmo estilo da .lb-nav) */
html.labs-preview .lpv-subnav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2px 16px;
  border-bottom: 1px solid #e4eaf3;
  background: #ffffff;
}

html.labs-preview .lpv-subnav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 22px;
  font: 500 14px/1.2 Inter, system-ui, sans-serif;
}

html.labs-preview .lpv-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #5b6380;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

html.labs-preview .lpv-subnav a.lb-on {
  color: #16173c;
  font-weight: 600;
  border-bottom-color: #16173c;
}

html.labs-preview .lpv-subnav a:focus-visible {
  outline: 2px solid #29478a;
  outline-offset: 2px;
}

/* ==========================================================================
   2. BARRA FINA «MUDAR DE TEMA» ENQUANTO SE LE A TABELA
   ========================================================================== */

html.labs-preview .lpv-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #dbe2eb;
  color: #17243a;
  font-family: "IBM Plex Sans", Inter, system-ui, sans-serif;
  transform: translateY(-105%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

html.labs-preview .lpv-bar.lpv-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

html.labs-preview .lpv-bar-row {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 14px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

html.labs-preview .lpv-bar-topic {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 0;
}

html.labs-preview .lpv-bar-kicker {
  font-size: 11px;
  line-height: 1.2;
  color: #5b6380;
  font-weight: 500;
}

html.labs-preview .lpv-bar-name {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  color: #17243a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.labs-preview .lpv-bar-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #29478a;
  font: 600 14px/1.2 "IBM Plex Sans", Inter, system-ui, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}

html.labs-preview .lpv-bar-btn:focus-visible {
  outline: 2px solid #29478a;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Faixa discreta de regresso apos salto por ancora (.h2-cards ou .lc-fonte) */
html.labs-preview .lpv-back-row {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 14px;
  min-height: 40px;
  border-top: 1px solid #eef2f7;
  background: #f7f9fc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

html.labs-preview .lpv-back-row[hidden] {
  display: none;
}

html.labs-preview .lpv-back-btn,
html.labs-preview .lpv-back-dismiss {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #29478a;
  font: 500 13.5px/1.2 "IBM Plex Sans", Inter, system-ui, sans-serif;
  cursor: pointer;
  padding: 0 2px;
}

html.labs-preview .lpv-back-dismiss {
  color: #5b6380;
  padding: 0 8px;
}

/* Lista branca simples para mudar de tema */
html.labs-preview .lpv-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(16, 24, 40, 0.28);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 12px 16px;
}

html.labs-preview .lpv-backdrop[hidden] {
  display: none;
}

html.labs-preview .lpv-sheet {
  width: min(460px, 100%);
  max-height: calc(100dvh - 80px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #dbe2eb;
  border-radius: 10px;
  overflow: hidden;
  font-family: "IBM Plex Sans", Inter, system-ui, sans-serif;
  color: #17243a;
}

html.labs-preview .lpv-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 14px;
  border-bottom: 1px solid #dbe2eb;
  min-height: 48px;
}

html.labs-preview .lpv-sheet-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #17243a;
}

html.labs-preview .lpv-sheet-close {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #29478a;
  font: 600 14px/1.2 inherit;
  cursor: pointer;
}

html.labs-preview .lpv-sheet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

html.labs-preview .lpv-sheet-list li {
  border-bottom: 1px solid #eef2f7;
}

html.labs-preview .lpv-sheet-list li:last-child {
  border-bottom: 0;
}

html.labs-preview .lpv-sheet-item {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 0;
  border-left: 3px solid transparent;
  background: #ffffff;
  color: #17243a;
  font: 500 15px/1.3 inherit;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

html.labs-preview .lpv-sheet-item.lpv-is-open {
  border-left-color: #29478a;
  background: #f6f8fc;
  font-weight: 600;
  color: #16173c;
}

html.labs-preview .lpv-sheet-state {
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 500;
  color: #29478a;
}

html.labs-preview .lpv-sheet-item:focus-visible,
html.labs-preview .lpv-sheet-close:focus-visible {
  outline: 2px solid #29478a;
  outline-offset: -2px;
}

/* ==========================================================================
   3. TABELA DE EVIDENCIA (#labs-creatina-mapa): ESTADOS CLAROS E DISCRETOS
   ========================================================================== */

html.labs-preview #labs-creatina-mapa {
  font-size: 16px;
  line-height: 1.48;
}

html.labs-preview #labs-creatina-mapa .g {
  scroll-margin-top: 64px;
}

html.labs-preview #labs-creatina-mapa .topic-section {
  scroll-margin-top: 64px;
}

/* Seta um pouco maior + palavra discreta «Abrir» / «Fechar» junto a seta */
html.labs-preview #labs-creatina-mapa .g th .group-btn {
  width: 100%;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-weight: 600;
  color: var(--ink, #17243a);
}

html.labs-preview #labs-creatina-mapa .g .arrow {
  font-size: 18px;
  line-height: 1;
  color: var(--link, #29478a);
  flex: 0 0 1.1em;
  text-align: center;
}

html.labs-preview #labs-creatina-mapa .lpv-toggle-word {
  margin-left: auto;
  flex: 0 0 auto;
  padding-left: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--link, #29478a);
  letter-spacing: 0;
  white-space: nowrap;
}

html.labs-preview #labs-creatina-mapa tr.g.lpv-open .lpv-toggle-word {
  font-weight: 600;
}

/* Tema aberto: fio fino a esquerda na cor do Labs + fundo muito claro */
html.labs-preview #labs-creatina-mapa tr.g.lpv-open th,
html.labs-preview #labs-creatina-mapa tr.g.lpv-open td {
  background: #f2f5fb;
}

html.labs-preview #labs-creatina-mapa tr.g.lpv-open > th:first-child,
html.labs-preview #labs-creatina-mapa tbody.lpv-open-group > tr.out > td:first-child,
html.labs-preview #labs-creatina-mapa tbody.lpv-open-group > tr.topic-section > th:first-child,
html.labs-preview #labs-creatina-mapa tbody.lpv-open-group > tr.paper-open > td:first-child,
html.labs-preview #labs-creatina-mapa tbody.lpv-open-group > tr.lpv-topic-foot > td:first-child {
  border-left: 3px solid var(--link, #29478a);
}

html.labs-preview #labs-creatina-mapa tbody.lpv-open-group > tr.out th,
html.labs-preview #labs-creatina-mapa tbody.lpv-open-group > tr.out td {
  background: #fafbfd;
}

/* Quando o tema esta aberto e o destaque (lead) foi integrado na lista ordenada,
   esconde as celulas repetidas no cabecalho do tema para nao duplicar */
html.labs-preview #labs-creatina-mapa tr.g.lpv-open.lpv-hide-lead td.spotlight,
html.labs-preview #labs-creatina-mapa tr.g.lpv-open.lpv-hide-lead td.lab-grade-cell,
html.labs-preview #labs-creatina-mapa tr.g.lpv-open.lpv-hide-lead td.lab-effect-cell {
  display: none;
}

/* Rodape discreto no fim de um tema aberto */
html.labs-preview #labs-creatina-mapa tr.lpv-topic-foot td {
  background: #f5f7fb;
  padding: 4px 12px;
  border-top: 1px solid #e2e8f2;
  border-bottom: 1px solid #cfd9e8;
}

html.labs-preview #labs-creatina-mapa .lpv-topic-foot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

html.labs-preview #labs-creatina-mapa .lpv-foot-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--link, #29478a);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Ficha de estudos aberta: «Fechar» discreto em texto no fim */
html.labs-preview #labs-creatina-mapa .lpv-paper-foot {
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line, #dbe2eb);
  display: flex;
  justify-content: flex-end;
}

html.labs-preview #labs-creatina-mapa .lpv-close-paper {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--link, #29478a);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Pesos no maximo 700 e toque 44-48 px no mobile */
html.labs-preview #labs-creatina-mapa .grade {
  font-weight: 700;
}

html.labs-preview #labs-creatina-mapa .lab-mast {
  font-weight: 700;
}

html.labs-preview #labs-creatina-mapa .out .linkbtn,
html.labs-preview #labs-creatina-mapa .g .ev .linkbtn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
}

@media (max-width: 560px) {
  html.labs-preview #labs-creatina-mapa tbody.lpv-open-group {
    border-left: 3px solid var(--link, #29478a);
    border-top: 1px solid #cfd9e8;
    border-bottom: 1px solid #cfd9e8;
    background: #fafbfd;
  }

  html.labs-preview #labs-creatina-mapa tbody.lpv-open-group > tr.g.lpv-open > th:first-child,
  html.labs-preview #labs-creatina-mapa tbody.lpv-open-group > tr.out > td:first-child,
  html.labs-preview #labs-creatina-mapa tbody.lpv-open-group > tr.topic-section > th:first-child,
  html.labs-preview #labs-creatina-mapa tbody.lpv-open-group > tr.paper-open > td:first-child,
  html.labs-preview #labs-creatina-mapa tbody.lpv-open-group > tr.lpv-topic-foot > td:first-child {
    border-left: 0;
  }

  html.labs-preview #labs-creatina-mapa tr.g.lpv-open {
    background: #f2f5fb;
  }

  html.labs-preview #labs-creatina-mapa tbody.lpv-open-group > tr.out {
    background: #fafbfd;
    padding: 10px 10px 10px 12px;
  }

  html.labs-preview #labs-creatina-mapa tr.lpv-topic-foot,
  html.labs-preview #labs-creatina-mapa tr.lpv-topic-foot td {
    display: block;
    border: 0;
  }

  html.labs-preview #labs-creatina-mapa tr.lpv-topic-foot td {
    padding: 2px 12px;
    border-top: 1px solid #e2e8f2;
  }

  html.labs-preview #labs-creatina-mapa .g th .group-btn {
    min-height: 48px;
  }

  html.labs-preview #labs-creatina-mapa .out th .linkbtn {
    font-size: 16px;
    line-height: 1.35;
  }

  html.labs-preview #labs-creatina-mapa .lab-effect-text {
    font-size: 14px;
    line-height: 1.35;
  }
}

/* ==========================================================================
   4. PAINEIS DO FUNDO (.lc-painel): MOSTRAR «FECHAR» EM VEZ DE font-size:0
   ========================================================================== */

html.labs-preview .insygma-science-v6 .lc-v2 .lc-painel[open] .lc-abrir,
html.labs-preview .lc-painel[open] .lc-abrir {
  font-size: 14px;
  gap: 10px;
  padding: 6px 6px 6px 14px;
}

html.labs-preview .insygma-science-v6 .lc-v2 .lc-painel > summary .lc-abrir,
html.labs-preview .lc-painel > summary .lc-abrir {
  min-height: 44px;
}

html.labs-preview .lc-painel .lpv-painel-foot {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid #e4eaf3;
  display: flex;
  justify-content: flex-end;
}

html.labs-preview .lc-painel .lpv-painel-close {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #29478a;
  font: 600 14px/1.2 "IBM Plex Sans", Inter, system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ==========================================================================
   5. ENTRADA DO LABS (/insygma-labs/): .ilh e .ilh-saber
   ========================================================================== */

@media (max-width: 700px) {
  html.labs-preview .ilh .ilh-sug button {
    min-height: 44px;
    padding: 8px 14px;
    font-size: 13.5px;
  }

  html.labs-preview .ilh .ilh-grade a {
    position: relative;
    min-height: 48px;
    padding-right: 26px;
  }

  html.labs-preview .ilh .ilh-grade a::after {
    content: "\203A";
    position: absolute;
    right: 11px;
    top: 11px;
    font-size: 18px;
    line-height: 1;
    color: #5b6380;
  }

  html.labs-preview .ilh-saber .ilh-ssub {
    font-size: 16px;
  }

  /* Barra discreta do tema ativo em «O que queres saber?» no telemovel */
  html.labs-preview .lpv-saber-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto 12px;
    padding: 2px 12px;
    background: #ffffff;
    border: 1px solid #dbe2eb;
    border-radius: 10px;
    min-height: 48px;
  }

  html.labs-preview .lpv-saber-current {
    font-size: 14px;
    line-height: 1.25;
    color: #17243a;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html.labs-preview .lpv-saber-current span {
    color: #5b6380;
    font-weight: 400;
  }

  html.labs-preview .lpv-saber-current strong {
    font-weight: 600;
    color: #16173c;
  }

  html.labs-preview .lpv-saber-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: #29478a;
    font: 600 14px/1.2 inherit;
    cursor: pointer;
    white-space: nowrap;
  }

  html.labs-preview .ilh-saber .ilh-stemas.lpv-collapsed {
    display: none;
  }

  html.labs-preview .ilh-saber .ilh-stemas button {
    min-height: 44px;
    padding: 9px 14px;
    font-size: 14px;
  }
}

@media (min-width: 701px) {
  html.labs-preview .lpv-saber-bar {
    display: none;
  }
}

/* ==========================================================================
   6. LISTA DE ARTIGOS (/insygma-labs/artigos/): LIMPEZA DOS PLACEHOLDERS CINZENTOS
   ========================================================================== */

/* Esconde as caixas cinzentas 540x540 (SVG placeholder) sem afetar imagens reais */
html.labs-preview .bde-post-list-1408-101 .ee-post-image-link.lpv-no-thumb,
html.labs-preview .bde-post-list-1408-101 .ee-post-image-link:has(> .ee-post-image > img[src^="data:image/svg+xml"]) {
  display: none;
}

html.labs-preview .lpv-art-search-wrap {
  margin: 14px 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-family: "IBM Plex Sans", Inter, system-ui, sans-serif;
}

html.labs-preview .lpv-art-search {
  width: min(380px, 100%);
  height: 44px;
  padding: 0 12px;
  border: 1px solid #dbe2eb;
  border-radius: 6px;
  background: #ffffff;
  color: #17243a;
  font-family: inherit;
  font-size: 16px;
}

html.labs-preview .lpv-art-search:focus-visible {
  outline: 2px solid #29478a;
  outline-offset: 1px;
}

html.labs-preview .lpv-art-count {
  font-size: 13.5px;
  color: #5b6380;
}

@media (max-width: 700px) {
  html.labs-preview .bde-post-list-1408-101 .ee-posts-grid {
    gap: 12px;
  }

  html.labs-preview .bde-post-list-1408-101 article.ee-post {
    border: 1px solid #e4eaf3;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: none;
  }

  html.labs-preview .bde-post-list-1408-101 .ee-post-wrap {
    padding: 16px;
  }

  html.labs-preview .bde-post-list-1408-101 .ee-post-title {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
  }

  html.labs-preview .bde-post-list-1408-101 .ee-post-title a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #16173c;
    text-decoration: none;
  }

  html.labs-preview .bde-post-list-1408-101 .ee-post-excerpt,
  html.labs-preview .bde-post-list-1408-101 .ee-post-content {
    font-size: 15.5px;
    line-height: 1.5;
    color: #475874;
  }

  html.labs-preview .bde-post-list-1408-101 .ee-post-read-more a,
  html.labs-preview .bde-post-list-1408-101 a.ee-post-read-more {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #29478a;
    font-weight: 600;
    font-size: 14.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.labs-preview .lpv-bar {
    transition: none;
  }
}


/* Vesta 20/11 v2: círculos perfeitos e X em vez de «Fechar» (pedido do titular) */
html.labs-preview #labs-creatina-mapa.skin .g .arrow,
html.labs-preview #labs-creatina-mapa .g .arrow {
  flex: 0 0 30px; width: 30px; height: 30px; min-width: 30px; min-height: 30px;
  box-sizing: border-box; padding: 0; border-radius: 50%; display: block;
  font-size: 0; line-height: 0; color: transparent; overflow: hidden;
  background: #eef2f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 4l4 4-4 4' fill='none' stroke='%2329478a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
}
html.labs-preview #labs-creatina-mapa.skin .g.lpv-open .arrow,
html.labs-preview #labs-creatina-mapa .g.lpv-open .arrow { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6.5l4 4 4-4' fill='none' stroke='%2329478a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
html.labs-preview #labs-creatina-mapa .lpv-toggle-word.lpv-x,
html.labs-preview .lpv-abrir-txt.lpv-x,
html.labs-preview .lpv-xbtn {
  display: inline-block !important;
flex: 0 0 32px !important;
width: 32px !important;
height: 32px !important;
min-width: 32px !important;
box-sizing: border-box !important;
padding: 0 !important;
margin-left: auto !important;
border: 0 !important;
border-radius: 50% !important;
font-size: 0 !important;
line-height: 0 !important;
color: transparent !important;
overflow: hidden !important;
cursor: pointer !important;
background: #eef2f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7' fill='none' stroke='%2329478a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px 15px no-repeat !important;
}
html.labs-preview .lpv-abrir-txt.lpv-x { margin-left: 0; vertical-align: middle; }
html.labs-preview .lpv-xbtn:focus-visible { outline: 2px solid #29478a; outline-offset: 2px; }
html.labs-preview .lpv-abrir-txt.lpv-x,
html.labs-preview #labs-creatina-mapa .lpv-foot-action.lpv-xbtn { margin-left: 0 !important; margin-right: auto !important; }
html.labs-preview .lpv-abrir-txt.lpv-x { vertical-align: middle !important; }
html.labs-preview #labs-creatina-mapa .lpv-toggle-word.lpv-x,
html.labs-preview .lpv-abrir-txt.lpv-x,
html.labs-preview .lpv-xbtn { min-height: 32px !important; max-height: 32px !important; max-width: 32px !important; align-self: center !important; }
html.labs-preview .lpv-backdrop { z-index: 2147482000 !important; }

/* Vesta 20/11 v4: no computador «Abrir» / X no canto superior direito do tema */
html.labs-preview #labs-creatina-mapa .lpv-corner { display: none; }
@media (min-width: 561px) {
  html.labs-preview #labs-creatina-mapa tr.g.lpv-has-corner { position: relative; }
  html.labs-preview #labs-creatina-mapa tr.g .lpv-toggle-word { display: none !important; }
  html.labs-preview #labs-creatina-mapa tr.g .lpv-corner {
    display: inline-flex; align-items: center; justify-content: center;
    position: absolute; top: 14px; right: 16px; z-index: 2;
    min-height: 32px; padding: 0 4px; border: 0; background: none; cursor: pointer;
    font: 500 13px/1 Inter, system-ui, sans-serif; color: var(--link, #29478a);
  }
  html.labs-preview #labs-creatina-mapa tr.g .lpv-corner:hover { text-decoration: underline; }
  html.labs-preview #labs-creatina-mapa tr.g .lpv-corner.lpv-x {
    width: 32px !important; height: 32px !important; min-width: 32px !important; max-width: 32px !important;
    min-height: 32px !important; max-height: 32px !important; padding: 0 !important; border-radius: 50% !important;
    font-size: 0 !important; color: transparent !important; text-decoration: none !important;
    background: #eef2f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7' fill='none' stroke='%2329478a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px 15px no-repeat !important;
  }
}
