/* Leitura editorial com respiro, 1.0.0 — sem caixinhas estreitas no celular. */
.jf-lab-shell .jf-livro-sumario{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 30px;padding:0;background:transparent;border:0}
.jf-lab-shell .jf-livro-sumario a{background:#faf7f4;border:1px solid #e6ddd7;border-radius:28px;color:#4a1e2b;padding:10px 15px;font:600 13px/1.4 system-ui,sans-serif;text-decoration:none}
.jf-livro-colecoes-top{margin:42px auto 22px;padding:0 0 15px;max-width:980px}
.jf-livro-colecoes-top h2{font:normal clamp(34px,6vw,54px)/1.13 Georgia,serif;letter-spacing:-.02em;color:#4a1e2b;margin:12px 0}
.jf-livro-colecoes-top>p:not(.jf-kicker){font-size:18px;line-height:1.65}
.jf-livro-atalhos{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}
.jf-livro-atalhos a{font:600 14px/1.5 system-ui,sans-serif;color:#65384a;text-underline-offset:4px;padding:8px 4px}
.jf-livro-vivo{width:100%;max-width:980px;margin:64px auto 48px;padding:0 10px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#41343a;overflow:visible}
.jf-livro-vivo h2,.jf-livro-vivo h3{font-family:Georgia,serif;font-weight:normal;line-height:1.15;color:#60384a;letter-spacing:-.025em}
.jf-livro-vivo h2{font-size:clamp(38px,7vw,64px);margin:12px 0 22px}.jf-livro-vivo h3{font-size:clamp(30px,5.5vw,48px);margin:10px 0 22px}
.jf-livro-vivo p{font:normal clamp(17px,2.25vw,20px)/1.72 Georgia,serif;margin:0 0 22px;overflow-wrap:anywhere}
.jf-livro-vivo p.jf-kicker,.jf-livro-vivo p.jf-livro-num{font:700 13px/1.5 system-ui,sans-serif;letter-spacing:.13em;color:#713c54}
.jf-livro-abertura{padding:0!important;border:0!important;box-shadow:none!important;background:none!important}
.jf-livro-tom-label{display:block;font:700 14px/1.5 system-ui,sans-serif;color:#5d3648;margin:30px 0 8px}
.jf-livro-vivo select{display:block;max-width:400px;width:100%;height:46px;padding:7px 12px;border:1px solid #bba5ae;border-radius:8px;background:#fff;font-size:15px;color:#3a2932}
.jf-livro-vivo p.jf-livro-helper,.jf-livro-vivo p#jf-livro-tom-status{font:normal 13px/1.6 system-ui,sans-serif;margin-top:9px}
.jf-livro-chapters-nav{display:flex;gap:8px;flex-wrap:wrap;margin:35px 0 48px}.jf-livro-chapters-nav a{font:600 13px/1.45 system-ui,sans-serif;color:#6e3b52;text-decoration:underline;text-underline-offset:4px;padding:4px 6px}
.jf-livro-capitulo{border:0!important;border-top:1px solid #dfd6d0!important;margin:0 0 4px;padding:40px 0 50px!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}
.jf-livro-capitulo h3{max-width:850px}.jf-livro-vivo p.jf-livro-descoberta{font-style:italic;color:#644759}
.jf-livro-vivo p.jf-livro-pratica{font-size:19px;margin-top:20px}.jf-livro-pratica strong{display:block;color:#5b3448;margin-bottom:7px;font:700 13px/1.45 system-ui,sans-serif;letter-spacing:.03em}
.jf-livro-vivo p.jf-livro-trava{font:normal 14px/1.65 system-ui,sans-serif;color:#6f5260;margin-top:16px}.jf-livro-trava a,.jf-livro-vivo .jf-livro-comprar{color:#6c344d;font-weight:700}
.jf-livro-conexoes{padding:48px 0 10px;border-top:1px solid #ddcfcf}.jf-livro-conexao{border-bottom:1px solid #e7dddd;padding:25px 0}.jf-livro-conexao h4{font:normal 26px/1.3 Georgia,serif;color:#603649;margin-bottom:14px}.jf-livro-conexao p{margin-bottom:14px}
.jf-livro-vivo p.jf-livro-rodape{font:italic 15px/1.8 Georgia,serif;color:#7d6871;max-width:760px;margin-top:46px}
.jf-livro-resultados-antigos{max-width:980px;margin:30px auto}.jf-livro-resultados-antigos>summary{cursor:pointer;color:#66384e;font-weight:600;padding:15px 0;font-family:system-ui,sans-serif}
.jf-livro-colecoes-locked{font-size:15px;max-width:800px;margin:24px 0}.jf-lab-shell #jf-minhas-colecoes,.jf-lab-shell #jf-tests,.jf-lab-shell #jf-livro-vivo,.jf-lab-shell #jf-acervo-premium{scroll-margin-top:105px}
@media(max-width:690px){.jf-livro-vivo{padding:0 2px!important;margin-top:44px}.jf-livro-vivo p{font-size:17px;line-height:1.68}.jf-livro-chapters-nav{display:block}.jf-livro-chapters-nav a{display:block;padding:7px 0}.jf-livro-capitulo{padding:30px 0 33px!important}.jf-livro-sumario a{padding:10px 11px}.jf-livro-vivo h2{font-size:36px}.jf-livro-vivo h3{font-size:32px}}

/* Evita dois títulos de página quando o tema já imprime um H1 fora do shortcode. */
.jf-lab-page .entry-header>.entry-title,.jf-lab-page .wp-block-post-title{display:none!important}
.jf-lab-page .site-main{padding-bottom:80px}
.jf-livro-pinterest{max-width:980px;margin:42px auto 20px;padding:15px 0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.jf-livro-pinterest h2{font:normal clamp(32px,5vw,50px)/1.15 Georgia,serif;color:#60394b;margin:10px 0 18px}
.jf-livro-pinterest p{font:normal 17px/1.65 Georgia,serif;max-width:820px}.jf-livro-pinterest form{max-width:640px;margin:25px 0}
.jf-livro-pinterest label{font:600 13px/1.5 system-ui,sans-serif;color:#60394b;display:block;margin:16px 0}
.jf-livro-pinterest input{display:block;width:100%;margin-top:7px;border:1px solid #d2c3c5;border-radius:5px;padding:13px;box-sizing:border-box;color:#3b3035;font:normal 16px system-ui,sans-serif}
.jf-livro-pinterest form button,.jf-livro-pin-row button{font:600 13px/1.5 system-ui,sans-serif;padding:10px 16px;border:1px solid #633b4e;border-radius:8px;color:#fff;background:#633b4e;cursor:pointer}
.jf-livro-pinterest .jf-livro-pin-status{font:normal 13px/1.5 system-ui,sans-serif;margin:12px 0}
.jf-livro-pin-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid #eee5e5}.jf-livro-pin-row a{overflow-wrap:anywhere;color:#633b4e}
.jf-livro-pin-row button{background:transparent;color:#633b4e}
@media(max-width:650px){.jf-livro-pin-row{display:block}.jf-livro-pin-row button{display:block;margin:10px 0}.jf-livro-pinterest{margin-top:24px}}

/* 1.0.1 — revisão da leitura móvel e de âncoras. */
.jf-lab-shell #jf-dossier-intencao,
.jf-lab-shell #jf-palettes,
.jf-lab-shell #jf-wardrobe,
.jf-lab-shell #jf-livro-pinterest,
.jf-lab-shell #jf-registros-anteriores,
.jf-lab-shell #jf-livro-conexoes { scroll-margin-top: 105px; }
.jf-lab-shell .jf-results-details { border:0!important; border-top:1px solid #e6dedd!important; background:transparent!important; box-shadow:none!important; padding:16px 0!important; margin:45px auto; max-width:980px; }
.jf-lab-shell .jf-results-details > summary { color:#65384a; font:600 15px/1.6 system-ui,sans-serif; cursor:pointer; padding:10px 0; }
.jf-lab-shell .jf-narrative { background:transparent!important; box-shadow:none!important; border:0!important; }
.jf-lab-page h1.entry-title, .jf-lab-page .page-header .page-title { display:none!important; }
.jf-lab-shell .jf-intencao-section {max-width:980px;margin:72px auto 30px;}
.jf-lab-shell .jf-livro-chapters-nav a:focus-visible,
.jf-lab-shell .jf-livro-sumario a:focus-visible,
.jf-lab-shell .jf-livro-vivo select:focus-visible {outline:3px solid #936d2f;outline-offset:3px}
@media(max-width:690px){
  .jf-lab-page .jf-lab-shell{padding-bottom:128px!important;}
  .jf-lab-shell .jf-livro-vivo{max-width:100%;min-width:0;}
  .jf-lab-shell .jf-livro-capitulo{overflow-wrap:break-word;}
  .jf-lab-shell .jf-intencao-section{margin-top:60px;}
  .jf-lab-shell .jf-livro-sumario a{display:inline-block;min-height:42px;box-sizing:border-box;}
}

/* 1.0.2 — acervo anterior, sem caixas de texto apertadas */
#jf-livro-colecoes-anteriores { padding: clamp(24px, 5vw, 56px) 0; border-top: 1px solid rgba(88,44,67,.16); }
#jf-livro-colecoes-anteriores h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); margin: 1.7em 0 .6em; }
.jf-livro-legacy-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,190px),1fr)); gap: clamp(16px,2vw,28px); }
.jf-livro-legacy-photo,.jf-livro-legacy-palette { min-width: 0; margin: 0; }
.jf-livro-legacy-photo img { display: block; width: 100%; height: auto; max-height: 270px; object-fit: contain; background: #f4eee8; border-radius: 7px; }
.jf-livro-legacy-photo figcaption { margin: .6em 0; font-size: .95rem; overflow-wrap: anywhere; }
.jf-livro-legacy-photo button { display: inline-block; cursor: pointer; background: transparent; border: 0; color: #682b48; border-bottom: 1px solid; padding: .4em 0; font: inherit; font-size: .9rem; }
.jf-livro-legacy-swatches { display: flex; gap: 4px; margin-top: .5rem; }
.jf-livro-legacy-swatches span { display: block; flex: 1; min-width: 0; height: 64px; border: 1px solid rgba(0,0,0,.07); border-radius: 5px; }
@media (max-width: 520px) { .jf-livro-legacy-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } .jf-livro-legacy-photo img { max-height: 200px; } }


/* 1.0.3 — Carrossel horizontal: quatro cartões legíveis em smartphone, sem miniaturizar títulos. */
#jf-meu-laboratorio .jf-tests-top .jf-tools-carousel{width:100%;overflow:hidden;min-width:0}
#jf-meu-laboratorio .jf-tests-top .jf-tools-again-grid{display:flex!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:8px;gap:16px!important;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;padding:8px 3px 22px;scrollbar-width:thin}
#jf-meu-laboratorio .jf-tests-top .jf-tools-again-grid>.jf-module{flex:0 0 clamp(220px,40%,280px);min-width:0;scroll-snap-align:start;padding:14px!important;box-sizing:border-box}
#jf-meu-laboratorio .jf-tests-top .jf-tools-again-grid .jf-module h2{font-size:clamp(16px,3vw,21px)!important}
#jf-meu-laboratorio .jf-tests-top .jf-tools-again-grid .jf-module p{font-size:14px!important;line-height:1.5!important}
#jf-meu-laboratorio .jf-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px}
#jf-meu-laboratorio .jf-carousel-controls button{border:1px solid #dccbcc;background:white;color:#63354a;border-radius:30px;padding:11px 16px;min-height:44px;cursor:pointer;font:600 13px system-ui,sans-serif}
#jf-meu-laboratorio #jf-carousel-position{font:600 13px system-ui,sans-serif;color:#70535d}
.jf-guest-grid.jf-guest-carousel{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;padding-bottom:18px;-webkit-overflow-scrolling:touch}
.jf-guest-grid.jf-guest-carousel>.jf-guest-tool{flex:0 0 clamp(235px,75%,340px);scroll-snap-align:start}
@media(max-width:620px){#jf-meu-laboratorio .jf-tests-top .jf-tools-again-grid>.jf-module{flex-basis:82%;max-width:310px}
#jf-meu-laboratorio .jf-tools-again-grid{grid-template-columns:none!important}
#jf-meu-laboratorio .jf-livro-colecoes-top h2{font-size:clamp(30px,8vw,38px)!important}
#jf-meu-laboratorio .jf-livro-colecoes-top>p{font-size:16px!important}}
.jf-estudio-fotografia{max-width:980px;margin:34px auto 48px;padding:36px 0 30px;border-top:1px solid #dfd3d4;border-bottom:1px solid #dfd3d4;scroll-margin-top:105px}
.jf-estudio-fotografia h2{font:400 clamp(29px,5vw,45px)/1.2 Georgia,serif!important;color:#63394b;margin:12px 0!important}
.jf-estudio-fotografia>p:not(.jf-kicker){font:400 17px/1.65 Georgia,serif;max-width:780px}
.jf-photo-picker-label{display:block;max-width:550px;padding:15px 18px;background:#f8f2ed;border-radius:8px;color:#683c4d;font:600 15px/1.5 system-ui,sans-serif;margin:24px 0 8px}
.jf-photo-picker-label input{display:block;max-width:100%;margin-top:10px;font:14px system-ui,sans-serif}
.jf-photo-picker-help{font:13px/1.6 system-ui,sans-serif!important;color:#6a5d60}
#jf-color-photo-store{border:0;border-radius:8px;background:#6c304a;color:white;padding:12px 20px;min-height:44px;font:600 14px system-ui,sans-serif;cursor:pointer;margin:12px 0}
#jf-color-photo-status{font:14px/1.5 system-ui,sans-serif!important}
#jf-color-photo-studio:empty{display:none}
#jf-palettes-upsell a{font-weight:700;color:#682f48}
/* A cor aparece como amostra visual, nunca como código no corpo do livro. */
.jf-livro-paleta-amostras{display:flex;gap:7px;max-width:520px;margin:17px 0 8px}
.jf-livro-paleta-amostras span{display:block;flex:1;min-width:20px;height:68px;border-radius:6px;border:1px solid rgba(0,0,0,.08)}
.jf-livro-paleta-amostras-label{font:13px/1.5 system-ui,sans-serif!important;color:#765564!important}
@media(max-width:610px){.jf-estudio-fotografia{margin-top:20px}.jf-estudio-fotografia h2{font-size:30px!important}.jf-livro-paleta-amostras span{height:53px}}

/* 1.0.4 — cartões do carrossel: resultado gratuito + botão Premium independente. */
#jf-meu-laboratorio .jf-tests-top .jf-tools-again-grid > .jf-module{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:0!important;min-height:485px!important;position:relative;max-width:350px;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
#jf-meu-laboratorio .jf-tests-top .jf-module .jf-module-image{
  display:block!important;grid-column:auto!important;grid-row:auto!important;max-width:none!important;
  width:100%!important;height:auto!important;margin:0 0 7px!important
}
#jf-meu-laboratorio .jf-tests-top .jf-module .jf-number,
#jf-meu-laboratorio .jf-tests-top .jf-module .jf-module-copy{
  grid-column:auto!important;grid-row:auto!important;min-width:0!important;width:100%!important;
}
#jf-meu-laboratorio .jf-tests-top .jf-module .jf-module-copy h3{
  color:#60354b!important;font:500 clamp(19px,2vw,23px)/1.25 Georgia,serif!important;
  letter-spacing:-.015em;margin:8px 0!important;overflow-wrap:anywhere;
}
#jf-meu-laboratorio .jf-tests-top .jf-module .jf-module-copy p{margin:0 0 6px!important}
#jf-meu-laboratorio .jf-tests-top .jf-module .jf-module-copy small{margin:4px 0 0!important}
#jf-meu-laboratorio .jf-tests-top .jf-module-preview{
  margin:16px 0 14px;padding:15px 0 0;border-top:1px solid #e5d9d7;min-width:0;
  font:400 14px/1.55 system-ui,sans-serif;color:#4a3d40;
}
#jf-meu-laboratorio .jf-tests-top .jf-module-preview-label{
  display:block;color:#7b5162;font:700 11px/1.5 system-ui,sans-serif;letter-spacing:.08em;
  text-transform:uppercase;margin:0 0 5px;
}
#jf-meu-laboratorio .jf-tests-top .jf-module-preview strong{
  display:block;font:500 20px/1.25 Georgia,serif;color:#513245;overflow-wrap:anywhere;
}
#jf-meu-laboratorio .jf-tests-top .jf-module-preview-secondary{
  display:block;font:400 13px/1.5 system-ui,sans-serif;color:#6a5860;margin-top:6px;overflow-wrap:anywhere;
}
#jf-meu-laboratorio .jf-tests-top .jf-module-preview-colors{
  display:flex;gap:4px;margin-top:10px;height:45px;width:100%;max-width:280px;
}
#jf-meu-laboratorio .jf-tests-top .jf-module-preview-colors span{
  display:block;min-width:0;flex:1;border:1px solid rgba(0,0,0,.09);border-radius:4px;
}
#jf-meu-laboratorio .jf-tests-top .jf-module-preview-empty>span:last-child{
  display:block;font:400 13px/1.5 system-ui,sans-serif;color:#706369;
}
#jf-meu-laboratorio .jf-tests-top .jf-module-actions{
  width:100%;display:flex;flex-direction:column;gap:10px;align-items:stretch;margin-top:auto;padding-top:12px;
}
#jf-meu-laboratorio .jf-tests-top .jf-module-free-link{
  display:block;color:#673e52!important;text-decoration:underline!important;text-underline-offset:3px;
  font:600 13px/1.55 system-ui,sans-serif;padding:8px 0;min-height:40px;box-sizing:border-box;
}
#jf-meu-laboratorio .jf-tests-top .jf-module-premium-action{
  display:flex;justify-content:center;align-items:center;gap:7px;text-align:center;
  width:100%;box-sizing:border-box;min-height:48px;padding:11px 12px;border-radius:7px;
  font:700 13px/1.4 system-ui,sans-serif!important;text-decoration:none!important;
  overflow-wrap:anywhere;
}
#jf-meu-laboratorio .jf-tests-top .jf-module-premium-action.is-locked{
  background:#64384b!important;color:#fff!important;border:1px solid #64384b;
}
#jf-meu-laboratorio .jf-tests-top .jf-module-premium-action.is-unlocked{
  background:#f3eae5!important;color:#5f3048!important;border:1px solid #cdb7bf;
}
#jf-meu-laboratorio .jf-tests-top .jf-module-premium-action.is-pending{
  background:transparent;color:#6e6066;border:1px solid #ddd2d2;font-weight:500!important;
}
#jf-meu-laboratorio .jf-tests-top .jf-module-actions a:focus-visible{
  outline:3px solid #b38c4a!important;outline-offset:3px;
}
@media (max-width:620px){
  #jf-meu-laboratorio .jf-tests-top .jf-tools-again-grid>.jf-module{min-height:460px!important;max-width:320px}
  #jf-meu-laboratorio .jf-tests-top .jf-module .jf-module-copy h3{font-size:21px!important}
}

/* 1.0.9 — amostras visuais ligadas às recomendações personalizadas */
#jf-livro-vivo .jf-livro-conexao-cores {display:flex;gap:5px;width:min(100%,410px);height:54px;margin:13px 0 24px;}
#jf-livro-vivo .jf-livro-conexao-cores span {flex:1;min-width:0;border:1px solid rgba(0,0,0,.09);border-radius:5px;}
#jf-livro-vivo .jf-livro-conexao {border-bottom:1px solid #e3dada;background:none;box-shadow:none;border-radius:0;padding:26px 0;}
#jf-livro-colecoes-anteriores[hidden] {display:none!important;}
@media(max-width:600px){#jf-livro-vivo .jf-livro-conexao h4 {font-size:clamp(23px,6vw,28px);line-height:1.18;}#jf-livro-vivo .jf-livro-conexao p{font-size:16px;line-height:1.65;}#jf-livro-vivo .jf-livro-conexao-cores{height:48px;}}
