/* JF Meu Laboratório 1.0.27 — respiro visual e carrossel prioritário.
   Somente layout: não altera campos, AJAX, APIs, acesso Premium ou o assistente externo.
   Mantém os 4 cards de ferramentas como carrossel real (scroll horizontal). */
body.jf-lab-page .jfl20-main{box-sizing:border-box!important}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready{
  --jf27-brown:#3c2c27;--jf27-wine:#75183d;--jf27-rose:#975f71;
  --jf27-sand:#f5f0e9;--jf27-border:#e9dfdb;--jf27-copy:#564847;
  background:#fffdfa!important;line-height:1.66!important;
}
/* Hierarquia com menos faixas coloridas e espaço real entre capítulos. */
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready > :is(section,nav,figure,details),
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready > .jfm27-shortcuts{
  margin-top:0!important;margin-bottom:clamp(28px,6vw,52px)!important;
  max-width:100%!important;min-width:0!important;box-sizing:border-box;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-head{
  background:transparent!important;border:0!important;box-shadow:none!important;
  padding:clamp(12px,3vw,28px) 0 4px!important;margin-bottom:25px!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-head h1{
  font:400 clamp(26px,5.8vw,39px)/1.13 Georgia,serif!important;
  letter-spacing:-.015em!important;color:#352826!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-head-row > div > p:not(.jf-kicker){
  max-width:690px!important;line-height:1.65!important;color:#665857!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-head .jf-profile-photo-status{max-width:250px}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-member-cover-119{
  max-width:850px!important;margin:0 auto 34px!important;border-radius:17px!important;overflow:hidden;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-member-cover-119 img{
  display:block!important;width:100%!important;aspect-ratio:3.4/1!important;max-height:205px!important;object-fit:cover!important;
}
/* Ferramentas: prioridade visual após saudação, amplo espaço e estrutura destacada. */
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests.jf-tests-top{
  order:0!important;display:block!important;position:relative;
  padding:clamp(22px,4vw,34px)!important;margin:4px 0 42px!important;
  background:linear-gradient(150deg,#f9f5f0,#f4e9e9 82%)!important;
  border:1px solid #e4d5d4!important;border-radius:26px!important;
  box-shadow:0 14px 32px rgba(63,39,49,.09)!important;
  overflow:hidden!important;scroll-margin-top:18px;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests::before{
  content:"";position:absolute;right:-55px;top:-62px;border:29px solid #ead5d8;
  width:145px;height:145px;border-radius:50%;opacity:.35;pointer-events:none;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-kicker{
  display:inline-block!important;background:#782b48!important;color:#fff!important;
  border-radius:99px;padding:7px 12px!important;font-size:10px!important;
  letter-spacing:.13em!important;font-weight:700!important;
  margin:0 0 13px!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests h2{
  font:400 clamp(27px,5.5vw,40px)/1.12 Georgia,serif!important;
  color:#3e2b2d!important;letter-spacing:-.018em!important;
  margin:0 0 10px!important;max-width:610px;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests > p:not(.jf-kicker){
  font:400 14px/1.65 system-ui,sans-serif!important;color:#6b5356!important;
  margin:0 0 15px!important;max-width:580px;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-tools-carousel{
  overflow:hidden!important;padding:2px 0!important;width:100%!important;
  border-radius:18px!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-tools-again-grid{
  display:flex!important;align-items:stretch!important;gap:18px!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  scroll-snap-type:x mandatory!important;scroll-padding-inline:5px!important;
  padding:12px 7px 25px!important;scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-tools-again-grid>.jf-module{
  box-sizing:border-box!important;flex:0 0 clamp(250px,32%,325px)!important;
  max-width:325px!important;min-width:0!important;min-height:0!important;
  display:flex!important;flex-direction:column!important;
  padding:15px!important;background:#fffdfb!important;
  border:1px solid #e0d1d1!important;border-top:5px solid #75183d!important;
  border-radius:20px!important;box-shadow:0 9px 24px rgba(58,34,43,.13)!important;
  overflow:hidden!important;scroll-snap-align:start!important;scroll-snap-stop:normal!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-tools-again-grid>.jf-module:nth-child(2){border-top-color:#9a6976!important}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-tools-again-grid>.jf-module:nth-child(3){border-top-color:#c18c5b!important}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-tools-again-grid>.jf-module:nth-child(4){border-top-color:#4c322e!important}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-module-image{
  width:100%!important;min-height:0!important;max-height:none!important;
  aspect-ratio: 16/9!important;overflow:hidden!important;border-radius:11px!important;
  margin:0 0 14px!important;background:#f7f0ee!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-module-image img{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;max-width:100%!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-module-copy h3{
  font:400 23px/1.19 Georgia,serif!important;color:#4c2635!important;
  margin:5px 0 8px!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-module-copy p{
  color:#655453!important;font-size:13px!important;line-height:1.6!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-module-preview{
  margin:16px 0!important;padding:14px 13px!important;border-radius:13px!important;
  background:#f6efed!important;border:1px solid #ece0de!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-module-preview-summary{
  font-size:13px!important;line-height:1.6!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-module-actions{
  margin-top:auto!important;padding-top:14px!important;display:flex!important;flex-wrap:wrap!important;
  gap:8px!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-module-actions a{
  min-height:45px!important;border-radius:11px!important;font-size:12px!important;
  text-align:center!important;justify-content:center!important;flex:1 1 140px!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-carousel-controls{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  margin:2px 0 0!important;padding:15px 0 0!important;
  border-top:1px solid #e4d5d5!important;gap:12px!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-carousel-controls button{
  border-radius:99px!important;border:1px solid #bca4ac!important;
  background:#fff!important;color:#5c2340!important;padding:10px 15px!important;
  box-shadow:none!important;font-weight:650!important;min-height:44px!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-carousel-position{
  color:#6d4d5b!important;font-weight:700!important;font-size:12px!important;
}
/* Acesso por etapas sem múltiplas faixas chamativas. */
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-journey-nav{
  display:flex!important;flex-wrap:wrap!important;gap:8px!important;
  padding:0!important;margin:0 0 25px!important;border:0!important;
  background:transparent!important;box-shadow:none!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-journey-nav a{
  flex:1 1 140px!important;display:flex!important;min-height:44px!important;
  border:1px solid #e9dede!important;border-radius:99px!important;
  background:#fff!important;color:#6c3c4d!important;
  box-shadow:none!important;padding:9px 12px!important;font-size:12px!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-journey-guide{
  background:#faf6f2!important;border:1px solid #ebe3dc!important;
  border-radius:17px!important;box-shadow:none!important;
  padding:clamp(16px,3vw,25px)!important;margin-bottom:34px!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jfm27-shortcuts{
  background:#fff!important;border:1px solid #e7d9d3!important;
  border-radius:15px!important;box-shadow:none!important;
  margin:0 0 30px!important;overflow:hidden!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jfm27-shortcuts>summary{
  list-style:none;display:flex;align-items:center;justify-content:space-between;
  cursor:pointer;color:#703550!important;font-weight:700!important;
  padding:14px 17px!important;min-height:48px!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jfm27-shortcuts>summary::-webkit-details-marker{display:none}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jfm27-shortcuts>summary::after{content:'⌄';font-size:19px}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jfm27-shortcuts[open]>summary::after{content:'⌃'}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jfm24-quicknav{
  display:block!important;border:0!important;padding:0 14px 14px!important;margin:0!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jfm24-quicknav-label{display:none!important}
/* Separar a leitura longa em capítulos. Não ocultar conteúdo já registrado. */
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready :is(.jf-livro-vivo,.jf-profile-synthesis,.jf-wardrobe,.jf-estudio-fotografia,.jf-palettes,.jf-livro-pinterest,.jf-livro-colecoes-anteriores,.jf-export,.jf-intencao-section,.jf-tools-again,.jf-livro-colecoes-top){
  border-radius:18px!important;scroll-margin-top:28px!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready :is(.jf-livro-vivo,.jf-profile-synthesis,.jf-palettes,.jf-estudio-fotografia,.jf-wardrobe,.jf-export,.jf-intencao-section) > h2{
  line-height:1.21!important;margin-bottom:14px!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jfm24-disclosure{
  background:#f6eeeb!important;color:#6a2944!important;border:1px solid #e7d4d5!important;
  border-radius:10px!important;padding:10px 14px!important;
}
body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-response-cards{gap:17px!important}
/* A Biblioteca: menos ruído, capítulos fechados por padrão, clareza de leitura. */
body.jf-lab-page #jf-biblioteca-tecnica.jfm26-library{
  background:#fffdfb!important;max-width:990px!important;
  margin:48px auto 90px!important;border:1px solid #e8d9d7!important;
  box-shadow:none!important;padding:clamp(20px,4.3vw,45px)!important;
}
body.jf-lab-page #jf-biblioteca-tecnica .jfm26-hero{
  padding:0 0 23px!important;margin-bottom:5px!important;
}
body.jf-lab-page #jf-biblioteca-tecnica .jfm26-hero h2{
  font-size:clamp(27px,5vw,43px)!important;line-height:1.15!important;
}
body.jf-lab-page #jf-biblioteca-tecnica .jfm26-index,
body.jf-lab-page #jf-biblioteca-tecnica .jfm26-how{
  margin-bottom:18px!important;box-shadow:none!important;
}
body.jf-lab-page #jf-biblioteca-tecnica .jfm26-topic-stack{
  display:grid!important;gap:15px!important;margin:20px 0 34px!important;
}
body.jf-lab-page #jf-biblioteca-tecnica .jfm26-topic{
  box-shadow:none!important;border:1px solid #e2d8d4!important;
}
body.jf-lab-page #jf-biblioteca-tecnica .jfm26-topic>summary{
  min-height:75px!important;padding-block:16px!important;
}
body.jf-lab-page #jf-biblioteca-tecnica .jfm26-topic>summary .jfm26-heading small{
  line-height:1.48!important;opacity:.95!important;
}
body.jf-lab-page #jf-biblioteca-tecnica .jfm26-quicklinks{
  margin:24px 0 30px!important;gap:10px!important;
}
body.jf-lab-page #jf-biblioteca-tecnica .jfm26-major{
  margin-bottom:20px!important;box-shadow:none!important;border:1px solid #e8d8d8!important;
}
body.jf-lab-page #jf-biblioteca-tecnica .jfm26-major .jf-knowledge-info{
  line-height:1.75!important;
}
body.jf-lab-page #jf-biblioteca-tecnica .jf-knowledge-volume-list{gap:16px!important}
@media(max-width:760px){
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready{padding:0 13px 30px!important}
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-head{padding-top:12px!important;margin-bottom:21px!important}
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-head-row{gap:12px!important}
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-head .jf-kicker{font-size:10px!important}
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-head h1{font-size:clamp(25px,7vw,32px)!important}
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests{
    margin:0 0 34px!important;padding:20px 14px 18px!important;border-radius:20px!important;
  }
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-tools-again-grid{
    gap:12px!important;padding:9px 5px 19px!important;
  }
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-tools-again-grid>.jf-module{
    flex:0 0 88%!important;width:88%!important;max-width:340px!important;
    padding:12px!important;border-radius:17px!important;
  }
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-module-image{aspect-ratio:16/9!important}
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-module-copy h3{font-size:21px!important}
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-carousel-controls button{
    padding:10px 9px!important;font-size:12px!important;
  }
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-member-cover-119{margin-bottom:23px!important}
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-member-cover-119 img{max-height:115px!important;aspect-ratio:3/1!important}
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-journey-nav{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
  }
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jf-journey-nav a{min-width:0!important}
  body.jf-lab-page #jf-biblioteca-tecnica.jfm26-library{
    margin:39px 11px 110px!important;max-width:calc(100% - 22px)!important;
    padding:18px 13px 25px!important;border-radius:18px!important;
  }
  body.jf-lab-page #jf-biblioteca-tecnica .jfm26-topic-stack{gap:13px!important;margin-bottom:25px!important}
  body.jf-lab-page #jf-biblioteca-tecnica .jfm26-quicklinks{gap:8px!important}
  body.jf-lab-page #jf-biblioteca-tecnica .jfm26-major{margin-bottom:17px!important}
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready [data-jfm24-collapsed="true"] > .jfm24-disclosure{display:inline-flex!important}
}
@media(max-width:359px){
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-tools-again-grid>.jf-module{flex-basis:90%!important;width:90%!important}
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-carousel-controls{gap:5px!important}
}
@media(prefers-reduced-motion:reduce){body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests *{scroll-behavior:auto!important;transition:none!important}}
@media print{
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready #jf-tests .jf-tools-again-grid{overflow:visible!important;flex-wrap:wrap!important}
  body.jf-lab-page #jf-meu-laboratorio.jfm27-ready .jfm27-shortcuts>summary{display:none!important}
}
