/* JF Meu Laboratório 1.0.39 — perfil social integrado, sem alteração dos módulos. */
.jf-lab-page{--jfs39-wine:#6b1e3b;--jfs39-mauve:#a67c8a;--jfs39-gold:#c79665;--jfs39-cream:#ede6dd;--jfs39-ink:#37252c}
.jf-lab-page .jf-social139{box-sizing:border-box;--jfs39-wine:#6b1e3b;--jfs39-mauve:#a67c8a;--jfs39-gold:#c79665;--jfs39-cream:#ede6dd;--jfs39-ink:#37252c;color:var(--jfs39-ink);background:#fdfaf7;width:100%;max-width:1120px;margin:0 auto;padding:0 0 calc(110px + env(safe-area-inset-bottom));border:none;box-shadow:none;overflow:visible;font-family:Arial,Helvetica,sans-serif;line-height:1.45;isolation:isolate}
.jf-lab-page .jf-social139 *{box-sizing:border-box}
.jf-lab-page .jf-social139 button,.jf-lab-page .jf-social139 a{touch-action:manipulation}
.jf-lab-page .jf-social139 a{text-decoration:none;color:var(--jfs39-wine)}
.jf-lab-page .jf-social139 button:focus-visible,.jf-lab-page .jf-social139 a:focus-visible{outline:3px solid #8b5e6e!important;outline-offset:3px!important}
.jf-lab-page .jf-social139 .jfs39-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:53px;padding:13px clamp(10px,2.4vw,28px);border-bottom:1px solid #eee4e5;background:transparent}
.jf-lab-page .jf-social139 .jfs39-username{font-size:clamp(17px,3vw,24px);font-weight:750;letter-spacing:-.035em;color:#371e29;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jf-lab-page .jf-social139 .jfs39-toplabel{font-size:10px;color:#825b68;font-weight:750;letter-spacing:.12em;text-align:right}
.jf-lab-page .jf-social139 .jfs39-profile{padding:clamp(14px,2.6vw,28px) clamp(12px,3vw,30px) 6px}
.jf-lab-page .jf-social139 .jfs39-profile-summary{display:grid;grid-template-columns:clamp(88px,15vw,142px) minmax(0,1fr);align-items:center;gap:clamp(14px,4vw,36px)}
.jf-lab-page .jf-social139 .jfs39-avatar,.jf-lab-page .jf-social139 .jfs39-avatar-holder{width:clamp(86px,14vw,134px);height:clamp(86px,14vw,134px);max-width:100%;border-radius:50%}
.jf-lab-page .jf-social139 .jfs39-avatar-brand{background:linear-gradient(130deg,#6b1e3b,#a67c8a);color:#fff;font:600 clamp(27px,5vw,43px)/1 Georgia,'Times New Roman',serif;border:6px solid #f0e7e1;display:grid;place-items:center}
.jf-lab-page .jf-social139 .jfs39-profile-main{min-width:0;width:100%}
.jf-lab-page .jf-social139 .jfs39-profile-main h1{font-family:Georgia,'Times New Roman',serif;color:#4d2835;margin:0 0 clamp(9px,2vw,18px);font-weight:500;line-height:1.15;font-size:clamp(22px,3.6vw,38px);overflow-wrap:break-word}
.jf-lab-page .jf-social139 .jfs39-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:clamp(5px,2vw,32px);width:100%}
.jf-lab-page .jf-social139 .jfs39-stats>span{text-align:center;min-width:0}
.jf-lab-page .jf-social139 .jfs39-stats strong{display:block;font-size:clamp(18px,3vw,25px);font-weight:750;line-height:1.2;color:#51273a;font-family:Arial,Helvetica,sans-serif}
.jf-lab-page .jf-social139 .jfs39-stats small{display:block;font-size:clamp(10px,1.9vw,13px);line-height:1.3;color:#58434a;overflow-wrap:anywhere;margin-top:4px}
.jf-lab-page .jf-social139 .jfs39-bio{margin-top:17px;max-width:800px}
.jf-lab-page .jf-social139 .jfs39-bio strong{display:block;font-weight:700;color:#432b34;font-size:clamp(14px,2.2vw,17px)}
.jf-lab-page .jf-social139 .jfs39-bio p{margin:5px 0 0;font-size:clamp(13px,2.2vw,16px);color:#55464b;line-height:1.5}
.jf-lab-page .jf-social139 .jfs39-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:17px 0 14px;max-width:680px}
.jf-lab-page .jf-social139 .jfs39-button{display:inline-flex!important;justify-content:center!important;align-items:center!important;min-height:43px!important;max-width:100%;border:1px solid #decdd1!important;border-radius:11px!important;background:#f3eced!important;padding:10px 15px!important;font:700 clamp(12px,2vw,14px)/1.25 Arial,Helvetica,sans-serif!important;color:#5a263a!important;text-align:center!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer}
.jf-lab-page .jf-social139 .jfs39-button-primary{border-color:#6b1e3b!important;background:#6b1e3b!important;color:#fff!important}
.jf-lab-page .jf-social139 .jfs39-button:hover{filter:brightness(.96)}
.jf-lab-page .jf-social139 .jfs39-highlights{display:flex;align-items:flex-start;gap:clamp(8px,2.7vw,23px);padding:16px clamp(12px,3vw,32px) 18px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:thin;overscroll-behavior-x:contain}
.jf-lab-page .jf-social139 .jfs39-highlight{display:flex;flex:0 0 clamp(67px,12vw,90px);flex-direction:column;align-items:center;gap:7px;text-align:center;scroll-snap-align:start;color:#63283e!important;font-size:12px!important;line-height:1.24!important;min-width:0}
.jf-lab-page .jf-social139 .jfs39-highlight-ring{width:clamp(61px,10vw,82px);height:clamp(61px,10vw,82px);flex:none;display:grid;place-items:center;padding:4px;border:3px solid #a67c8a;border-radius:50%;background:#faf5f1;overflow:hidden;box-shadow:0 0 0 1px #ede6dd}
.jf-lab-page .jf-social139 .jfs39-highlight-ring img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;background:#f1e5e0}
.jf-lab-page .jf-social139 .jfs39-highlight-initial,.jf-lab-page .jf-social139 .jfs39-highlight-mark{background:#f1e5e0;color:#6b1e3b;font:normal 30px Georgia,serif}
.jf-lab-page .jf-social139 .jfs39-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #e2d9da;gap:0;scroll-margin-top:60px}
.jf-lab-page .jf-social139 .jfs39-tab{display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;color:#76606a!important;font:700 clamp(11px,2.3vw,15px)/1.25 Arial,Helvetica,sans-serif!important;padding:13px 3px!important;min-height:47px!important;white-space:normal!important;box-shadow:none!important;cursor:pointer}
.jf-lab-page .jf-social139 .jfs39-tab[aria-selected="true"]{border-bottom-color:#6b1e3b!important;color:#6b1e3b!important}
.jf-lab-page .jf-social139 .jfs39-panel{padding:16px 0 12px;min-width:0}
.jf-lab-page .jf-social139 .jfs39-panel[hidden]{display:none!important}
.jf-lab-page .jf-social139 .jfs39-section-note{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:3px 14px;padding:0 clamp(10px,2.6vw,27px) 14px}
.jf-lab-page .jf-social139 .jfs39-section-note strong{font-size:clamp(16px,2.5vw,21px);color:#422735;font-family:Georgia,'Times New Roman',serif}
.jf-lab-page .jf-social139 .jfs39-section-note span{font-size:12px;color:#68555b}
.jf-lab-page .jf-social139 .jfs39-grid,.jf-lab-page .jf-social139 .jfs39-collection-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px!important;width:100%;margin:0!important}
.jf-lab-page .jf-social139 .jfs39-tile{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;aspect-ratio:1/1;min-width:0!important;width:100%!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:#eee4e1!important;box-shadow:none!important;overflow:hidden;isolation:isolate;cursor:pointer}
.jf-lab-page .jf-social139 .jfs39-tile img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;z-index:0;transition:transform .23s ease}
.jf-lab-page .jf-social139 .jfs39-tile:hover img{transform:scale(1.035)}
.jf-lab-page .jf-social139 .jfs39-tile>span:last-of-type{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:22px 5px 9px;text-align:center;color:white;font:700 clamp(10px,2vw,14px)/1.2 Arial,Helvetica,sans-serif!important;text-shadow:0 1px 4px #281419;pointer-events:none;background:linear-gradient(to top,rgba(42,14,25,.84),transparent)}
.jf-lab-page .jf-social139 .jfs39-tile small{z-index:3;position:absolute;top:7px;right:7px;background:#6b1e3b;color:white;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font-size:12px}
.jf-lab-page .jf-social139 .jfs39-tile-symbol{display:grid;place-items:center;font-size:clamp(38px,7vw,75px);font-family:Georgia,serif;color:#8b5e6e}
.jf-lab-page .jf-social139 .jfs39-tile-abstract{background:linear-gradient(140deg,#e4d2d0,#f3e4d5)!important}
.jf-lab-page .jf-social139 .jfs39-tile-colors{position:absolute;inset:0;display:flex;width:100%;height:100%;overflow:hidden}
.jf-lab-page .jf-social139 .jfs39-tile-colors i{flex:1;min-width:0}
.jf-lab-page .jf-social139 .jfs39-message{padding:clamp(16px,4vw,35px);max-width:730px;color:#4b3b41}
.jf-lab-page .jf-social139 .jfs39-message h2{font:normal clamp(22px,3.3vw,32px)/1.2 Georgia,serif;color:#57283a;margin:7px 0 14px}
.jf-lab-page .jf-social139 .jfs39-message p{font-size:clamp(14px,2.3vw,16px);line-height:1.6;margin:8px 0 18px;color:#51424b}
.jf-lab-page .jf-social139 .jfs39-message>small{font-size:11px;letter-spacing:.1em;font-weight:700;color:#865e6c}
.jf-lab-page .jf-social139 .jfs39-collection-group{padding:15px clamp(10px,2.6vw,27px) 22px;border-bottom:1px solid #e7dcdf}
.jf-lab-page .jf-social139 .jfs39-collection-group h3{font:normal clamp(19px,2.8vw,25px) Georgia,serif;color:#54283a;margin:0 0 12px}
.jf-lab-page .jf-social139 .jfs39-collection-group>p{font-size:14px;color:#4a3e44}
.jf-lab-page .jf-social139 .jfs39-collection-group .jfs39-collection-grid{margin-bottom:14px!important}
.jf-lab-page .jf-social139 .jfs39-inline-link{text-decoration:underline!important;font-weight:700}
.jf-lab-page .jf-social139 .jfs39-small-note{padding:12px;background:#f4eeeb;border-radius:7px}
.jf-lab-page .jf-social139 .jfs39-dossier-progress{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;margin:20px 0}
.jf-lab-page .jf-social139 .jfs39-dossier-progress span{border:1px solid #e4d6d9;border-radius:10px;padding:12px;display:flex;justify-content:space-between;gap:4px;color:#55434b;background:#f4eeee}
.jf-lab-page .jf-social139 .jfs39-dossier-progress .is-done{border-color:#996977;background:#efe1e5;color:#6b1e3b;font-weight:700}
.jf-lab-page .jf-social139 .jfs39-premium-note{font-size:13px!important}
.jf-lab-page .jf-social139 .jfs39-premium-note a{text-decoration:underline!important;font-weight:700}
.jf-lab-page .jf-social139 .jfs39-bottom-actions{display:flex;gap:8px 18px;flex-wrap:wrap;padding:16px clamp(10px,2.6vw,27px);border-top:1px solid #eadfe2}
.jf-lab-page .jf-social139 .jfs39-bottom-actions a{text-decoration:underline!important;font-size:13px;font-weight:700}
.jf-lab-page .jf-social139 .jfs39-data-note{font-size:12px;padding:0 clamp(10px,2.6vw,27px);color:#76616b}
/* Replace only the duplicated profile presentation; the original modules remain functional below. */
.jf-lab-page #jf-meu-laboratorio.jfs39-ready>.jf-head,.jf-lab-page #jf-meu-laboratorio.jfs39-ready>#jf-discoveries,.jf-lab-page #jf-meu-laboratorio.jfs39-ready>.jf-discoveries-fallback{display:none!important;visibility:hidden!important}
.jf-lab-page #jf-meu-laboratorio.jfs39-ready>#jfs39-member{display:block!important;visibility:visible!important;order:-1000!important;opacity:1!important;position:relative!important;z-index:2!important}
.jf-lab-page #jf-meu-laboratorio.jfs39-ready .jf-member-cover-119{display:none!important}
.jf-lab-page #jf-meu-laboratorio .jfs39-avatar-holder .jf-profile-photo-area{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:3px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;text-align:center!important}
.jf-lab-page #jf-meu-laboratorio .jfs39-avatar-holder .jf-profile-photo{width:clamp(83px,14vw,130px)!important;height:clamp(83px,14vw,130px)!important;aspect-ratio:1/1;max-width:100%!important;margin:0!important;overflow:hidden;border:5px solid #ece3e0;border-radius:50%!important;display:grid;place-items:center}
.jf-lab-page #jf-meu-laboratorio .jfs39-avatar-holder .jf-profile-photo img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;border-radius:50%!important}
.jf-lab-page #jf-meu-laboratorio .jfs39-avatar-holder .jf-profile-photo-label,.jf-lab-page #jf-meu-laboratorio .jfs39-avatar-holder .jf-profile-photo-remove{font-size:10px!important;font-weight:700!important;color:#6b1e3b!important;text-decoration:underline!important;text-underline-offset:2px;white-space:normal;background:transparent!important;border:0!important;border-radius:0!important;padding:2px!important;box-shadow:none!important;line-height:1.1!important;margin:0!important;min-height:0!important}
.jf-lab-page #jf-meu-laboratorio .jfs39-avatar-holder .jf-profile-photo-status{font-size:10px;line-height:1.2;margin:2px 0}
/* Confirmation of email, which remains an original POST form protected by a nonce. */
.jf-lab-page .jf-auth-verify{width:min(100%,1120px);margin:8px auto 12px!important;padding:12px 16px!important;border-left:4px solid #8b5e6e!important;background:#f3e9ea!important;border-radius:10px!important;color:#472d36!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:8px 18px!important;box-sizing:border-box}
.jf-lab-page .jf-auth-verify p{font:normal 14px/1.5 Arial,Helvetica,sans-serif!important;margin:0!important;flex:1 1 320px;max-width:none}
.jf-lab-page .jf-auth-verify form{flex:0 1 auto!important;margin:0!important;padding:0!important}
.jf-lab-page .jf-auth-verify .jf-button{display:inline-block!important;background:#6b1e3b!important;color:#fff!important;border:1px solid #6b1e3b!important;border-radius:8px!important;padding:10px 14px!important;font:700 12px/1.25 Arial,Helvetica,sans-serif!important;text-transform:none!important;white-space:normal!important;box-shadow:none!important;min-height:40px!important}
/* Keep complete modules and their actions accessible below the social profile. */
.jf-lab-page #jf-meu-laboratorio.jfs39-ready{padding-bottom:calc(100px + env(safe-area-inset-bottom))!important;scroll-padding-bottom:120px}
.jf-lab-page #jf-meu-laboratorio #jf-tests,.jf-lab-page #jf-meu-laboratorio #jf-palettes,.jf-lab-page #jf-meu-laboratorio #jf-livro-vivo,.jf-lab-page #jf-meu-laboratorio #jf-wardrobe{scroll-margin-top:72px;scroll-margin-bottom:120px}
.jfs39-modal-open{overflow:hidden}
.jfs39-modal-wrap{position:fixed;z-index:2147482000;inset:0;display:grid;place-items:center;padding:15px;background:rgba(0,0,0,.08)}
.jfs39-modal-wrap[hidden]{display:none!important}
.jfs39-modal-shade{position:absolute;inset:0;background:rgba(30,15,22,.76)}
.jfs39-modal{position:relative;max-width:570px;width:100%;max-height:min(92dvh,950px);overflow:auto;background:#fdfaf7;color:#402b35;border-radius:16px;box-shadow:0 16px 75px #17080f66;overscroll-behavior:contain}
.jfs39-modal-close{position:absolute;right:11px;top:11px;z-index:2;width:38px;height:38px;border-radius:50%;border:1px solid #e7d5dc;background:#fff;color:#6b1e3b;font-size:25px;display:grid;place-items:center;cursor:pointer}
.jfs39-modal-media{height:clamp(180px,44vh,360px);background:#e9deda;overflow:hidden;display:grid;place-items:center}
.jfs39-modal-media img{display:block;width:100%;height:100%;object-fit:cover}
.jfs39-modal-swatches{display:flex;height:100%;width:100%}
.jfs39-modal-swatches span{flex:1}
.jfs39-modal-abstract{font:70px Georgia,serif;color:#6b1e3b}
.jfs39-modal-body{padding:20px 24px 30px}
.jfs39-modal-body small{color:#84616e;font-weight:700;letter-spacing:.11em}
.jfs39-modal-body h2{font:normal clamp(23px,4vw,33px) Georgia,serif;color:#6b1e3b;margin:8px 0}
.jfs39-modal-body p{font:normal 15px/1.6 Arial,Helvetica,sans-serif;margin:9px 0 18px;color:#44373d}
.jfs39-modal-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:12px 24px!important;min-height:44px;background:#6b1e3b!important;color:#fff!important;border-radius:10px!important;font-weight:700!important;text-decoration:none!important}
@media(min-width:780px){.jf-lab-page .jf-social139 .jfs39-profile{padding-bottom:9px}.jf-lab-page .jf-social139 .jfs39-highlights{gap:20px}.jf-lab-page .jf-social139 .jfs39-grid{gap:7px!important}}
@media(max-width:450px){.jf-lab-page .jf-social139 .jfs39-toplabel{max-width:110px;font-size:8px}.jf-lab-page .jf-social139 .jfs39-topbar{min-height:46px}.jf-lab-page .jf-social139 .jfs39-profile-summary{grid-template-columns:89px minmax(0,1fr);gap:10px}.jf-lab-page .jf-social139 .jfs39-stats{gap:2px}.jf-lab-page .jf-social139 .jfs39-stats small{font-size:10px}.jf-lab-page .jf-social139 .jfs39-profile-main h1{font-size:23px}.jf-lab-page .jf-social139 .jfs39-highlight{flex-basis:72px}.jf-lab-page .jf-social139 .jfs39-highlight-ring{width:63px;height:63px}.jf-lab-page .jf-social139 .jfs39-actions{gap:7px}.jf-lab-page .jf-social139 .jfs39-button{padding:8px 7px!important}.jf-lab-page .jf-social139 .jfs39-grid{gap:3px!important}.jf-lab-page .jf-social139 .jfs39-tile>span:last-of-type{font-size:10px!important;padding-bottom:7px}}
@media(max-width:360px){.jf-lab-page .jf-social139 .jfs39-profile-summary{grid-template-columns:80px minmax(0,1fr)}.jf-lab-page .jf-social139 .jfs39-avatar,.jf-lab-page .jf-social139 .jfs39-avatar-holder{width:79px;height:79px}.jf-lab-page .jf-social139 .jfs39-profile-main h1{font-size:20px}.jf-lab-page .jf-social139 .jfs39-stats strong{font-size:17px}.jf-lab-page .jf-social139 .jfs39-highlights{padding-inline:9px}.jf-lab-page .jf-social139 .jfs39-highlight{flex-basis:65px}.jf-lab-page .jf-social139 .jfs39-highlight-ring{width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){.jf-lab-page .jf-social139 .jfs39-tile img{transition:none!important}.jf-lab-page .jf-social139 .jfs39-highlights{scroll-behavior:auto}}

/* A foto e seus controles originais permanecem utilizáveis no cabeçalho. */
.jf-lab-page #jf-meu-laboratorio .jf-social139-member .jfs39-avatar-holder{height:auto!important;min-height:86px;align-self:start}

/* Atalho de saída visível mesmo após ocultar o cabeçalho antigo. */
.jf-lab-page .jf-social139 .jfs39-quick-links{margin:-3px 0 10px;text-align:right;font-size:12px;line-height:1.4}
.jf-lab-page .jf-social139 .jfs39-quick-links a{text-decoration:underline!important;text-underline-offset:3px;color:#6b1e3b!important;font-weight:650}

/* 1.0.48: reserva visual durante a primeira carga autenticada. */
.jf-lab-page .jf-social139-member .jfs39-avatar{object-fit:cover;aspect-ratio:1/1}
.jf-lab-page .jf-social139-member .jfs39-stats strong{display:inline-block;min-width:2ch;font-variant-numeric:tabular-nums}
.jf-lab-page .jf-social139-member .jfs39-data-note{min-height:2.8em}
