/* JF Meu Laboratório 1.0.24 — Refinamento Mobile Premium.
   Camada visual progressiva e isolada. Não altera dados, compra, upload ou o Agente Jaque.
   A navegação do Agente pertence ao plugin independente e não recebe overrides aqui. */
body.jf-lab-page #jf-meu-laboratorio{--jfm24-vinho:#672b43;--jfm24-malva:#986d7c;--jfm24-linha:#e1d6d0;--jfm24-papel:#fffdfa}
body.jf-lab-page #jf-meu-laboratorio .jfm24-quicknav{margin:18px 0 28px;padding:12px 0;border-block:1px solid var(--jfm24-linha);min-width:0}
body.jf-lab-page #jf-meu-laboratorio .jfm24-quicknav-label{font:700 11px/1.4 system-ui,sans-serif;letter-spacing:.09em;color:var(--jfm24-vinho);margin:0 0 10px}
body.jf-lab-page #jf-meu-laboratorio .jfm24-quicknav-links{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
body.jf-lab-page #jf-meu-laboratorio .jfm24-quicknav a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:42px;padding:9px 12px;border:1px solid var(--jfm24-linha);border-radius:99px;background:var(--jfm24-papel);color:var(--jfm24-vinho);font:600 12px/1.32 system-ui,sans-serif;text-decoration:none}
body.jf-lab-page #jf-meu-laboratorio .jfm24-quicknav a:focus-visible,
body.jf-lab-page #jf-meu-laboratorio .jfm24-disclosure:focus-visible{outline:3px solid var(--jfm24-malva)!important;outline-offset:3px}
body.jf-lab-page #jf-meu-laboratorio .jfm24-disclosure{display:none;min-height:44px;margin:12px 0 16px;padding:10px 14px;border:1px solid var(--jfm24-linha);background:#faf5f1;color:var(--jfm24-vinho);border-radius:12px;font:650 13px/1.4 system-ui,sans-serif;cursor:pointer;max-width:100%;text-align:left}
body.jf-lab-page #jf-meu-laboratorio .jfm24-disclosure::after{content:'▾';display:inline-block;margin-left:13px;font-size:14px}
body.jf-lab-page #jf-meu-laboratorio [data-jfm24-collapsed="true"] > .jfm24-disclosure::after{content:'▸'}
/* Mini Dossiês disponíveis por módulos complementares: só tipografia, jamais seu conteúdo ou seus controles. */
body.jf-lab-page #jf-meu-laboratorio .jfm24-mini-reading{max-width:100%;min-width:0;overflow-wrap:anywhere}
body.jf-lab-page #jf-meu-laboratorio .jfm24-mini-reading :is(p,li){line-height:1.65}
@media(max-width:760px){
  body.jf-lab-page #jf-meu-laboratorio .jfm24-quicknav-links{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;overscroll-behavior-x:contain;padding-bottom:7px}
  body.jf-lab-page #jf-meu-laboratorio .jfm24-quicknav a{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start}
  body.jf-lab-page #jf-meu-laboratorio .jfm24-disclosure{display:inline-flex!important;align-items:center;justify-content:space-between}
  body.jf-lab-page #jf-meu-laboratorio .jfm24-fold[data-jfm24-collapsed="true"] > :not(.jf-kicker):not(h2):not(h3):not(.jfm24-disclosure),
  body.jf-lab-page #jf-meu-laboratorio .jf-livro-capitulo.jfm24-chapter[data-jfm24-collapsed="true"] > :not(.jf-livro-num):not(h3):not(.jfm24-disclosure){display:none!important}
  /* Uma fotografia ocupa TODA a largura útil; sem coluna órfã quando há apenas um item. */
  body.jf-lab-page #jf-meu-laboratorio #jf-wardrobe-gallery,
  body.jf-lab-page #jf-meu-laboratorio .jf-wardrobe-gallery,
  body.jf-lab-page #jf-meu-laboratorio .jf-livro-legacy-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:15px!important;width:100%!important;max-width:100%!important;min-width:0!important;align-items:stretch}
  body.jf-lab-page #jf-meu-laboratorio .jf-wardrobe-gallery > *,
  body.jf-lab-page #jf-meu-laboratorio .jf-livro-legacy-grid > *{box-sizing:border-box!important;justify-self:stretch!important;min-width:0!important;width:100%!important;max-width:none!important;margin-inline:0!important}
  body.jf-lab-page #jf-meu-laboratorio .jf-wardrobe-media,
  body.jf-lab-page #jf-meu-laboratorio .jf-wardrobe-zoom{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important}
  body.jf-lab-page #jf-meu-laboratorio .jf-wardrobe-zoom{padding:0!important;border:0!important;border-radius:12px!important;overflow:hidden!important;background:#f5eee9!important;cursor:zoom-in}
  body.jf-lab-page #jf-meu-laboratorio .jf-wardrobe-zoom img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:4/5!important;object-fit:contain!important;background:#f5eee9!important}
  body.jf-lab-page #jf-meu-laboratorio .jf-livro-legacy-photo img{width:100%!important;max-width:100%!important;max-height:390px!important;object-fit:contain!important}
  body.jf-lab-page #jf-meu-laboratorio .jf-wardrobe-item{padding:12px!important;overflow:hidden!important}
  body.jf-lab-page #jf-meu-laboratorio .jf-wardrobe-meta{min-width:0!important}
  body.jf-lab-page #jf-meu-laboratorio .jf-wardrobe-item :is(button,input,select,textarea){max-width:100%!important}
  body.jf-lab-page #jf-meu-laboratorio :is(.jf-livro-capitulo,.jf-livro-conexao,.jf-livro-conexoes,.jf-palette-card){max-width:100%;min-width:0;overflow-wrap:anywhere}
  body.jf-lab-page #jf-meu-laboratorio .jf-livro-capitulo :is(p,li),
  body.jf-lab-page #jf-meu-laboratorio .jf-results-details :is(p,li),
  body.jf-lab-page #jf-meu-laboratorio .jfm24-mini-reading :is(p,li){font-size:clamp(13.5px,3.65vw,15px)!important;line-height:1.64!important}
  body.jf-lab-page #jf-meu-laboratorio .jf-livro-capitulo h3{font-size:clamp(21px,6vw,27px)!important;line-height:1.2!important}
  body.jf-lab-page #jf-meu-laboratorio :is(.jf-livro-mini-index,.jf-results-details,.jf-wardrobe-add)>summary{min-height:44px;line-height:1.5}
  body.jf-lab-page #jf-meu-laboratorio :is(#jf-palettes,#jf-wardrobe,#jf-livro-pinterest,#jf-livro-colecoes-anteriores){scroll-margin-top:20px}
  body.jf-lab-page .jfl20-main{padding-bottom:max(140px,calc(env(safe-area-inset-bottom) + 105px))!important}
}
@media(max-width:359px){body.jf-lab-page #jf-meu-laboratorio .jfm24-quicknav a{font-size:11px;padding:9px 10px}}
@media print{body.jf-lab-page #jf-meu-laboratorio .jfm24-quicknav,body.jf-lab-page #jf-meu-laboratorio .jfm24-disclosure{display:none!important}body.jf-lab-page #jf-meu-laboratorio [data-jfm24-collapsed="true"] > *{display:revert!important}}
/* No desktop, a navegação original permanece sem novas faixas visíveis. */
@media(min-width:761px){body.jf-lab-page #jf-meu-laboratorio .jfm24-quicknav{display:none!important}}
