/* ============================================================
   PÁGINA HOMEM · editor no Painel (05/out/2026)
   Mesma paleta do menu Wellness Place (admin-wellness.css).
   ============================================================ */
.lph-barra { flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; align-items: center; }
.lph-barra .wpa-salvo.is-sujo { color: #8A5A1E; font-weight: 600; }
.lph-barra a.crx-link { text-decoration: underline; text-underline-offset: 2px; }

.lph-duas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 20px; align-items: start; }
.lph-form { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lph-pe { padding: 6px 2px 20px; }

/* cada parte da página = um cartão que abre e fecha */
.lph-sec { background: #FFFFFF; border: 1px solid rgba(46,42,38,.09); border-radius: 14px; overflow: hidden; }
.lph-sec[open] { box-shadow: 0 6px 22px rgba(46,42,38,.06); }
.lph-sec > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.lph-sec > summary::-webkit-details-marker { display: none; }
.lph-sec > summary > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lph-sec > summary b { font-size: 14px; color: #241F1B; font-weight: 700; }
.lph-sec > summary span { font-size: 12px; color: #6E6258; line-height: 1.45; }
.lph-sec > summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.5px solid #8A6B26; border-bottom: 1.5px solid #8A6B26; transform: rotate(45deg); margin: -4px 4px 0 auto; transition: transform .18s; }
.lph-sec[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.lph-sec.is-oculta > summary b { color: #8D7B6A; }
.lph-tag { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8A5A1E; background: rgba(202,169,103,.18); border-radius: 99px; padding: 3px 9px; flex: none; }
.lph-sec-corpo { padding: 2px 18px 18px; border-top: 1px solid rgba(46,42,38,.06); }
.lph-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin-top: 14px; }
.lph-sub { display: contents; }
.lph-campos .v2s-in { width: 100%; box-sizing: border-box; }
.lph-campos .wpa-campo em { line-height: 1.45; }

.lph-check { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: #2E2A26; cursor: pointer; grid-column: 1 / -1; }
.lph-check input { width: 16px; height: 16px; accent-color: #8A6B26; margin: 0; }
.lph-mostrar { margin-top: 14px; padding: 10px 12px; background: #F6F1E8; border-radius: 10px; display: flex; }

.lph-conta { font-style: normal; font-weight: 500; margin-left: 8px; color: #8D7B6A; }
.lph-conta.is-passou { color: #A4442F; font-weight: 700; }

/* WhatsApp */
.lph-fone { display: flex; align-items: stretch; max-width: 280px; }
.lph-fone b { display: flex; align-items: center; padding: 0 10px; font-size: 13px; color: #5E534A; background: #F6F1E8; border: 1px solid rgba(46,42,38,.14); border-right: 0; border-radius: 9px 0 0 9px; }
.lph-fone .v2s-in { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.lph-teste { font-size: 12px; font-weight: 700; color: #8A6B26; text-decoration: none; align-self: flex-start; margin-top: 2px; }
.lph-teste:hover { text-decoration: underline; }

/* listas */
.lph-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lph-lista li { display: flex; align-items: center; gap: 6px; }
.lph-mover { display: inline-flex; gap: 2px; flex: none; margin-left: auto; }
.lph-mover button { width: 28px; height: 28px; border: 1px solid rgba(46,42,38,.12); background: #FFFFFF; border-radius: 8px; color: #5E534A; font-size: 13px; cursor: pointer; font-family: inherit; line-height: 1; }
.lph-mover button:hover:not(:disabled) { border-color: #CAA967; color: #241F1B; }
.lph-mover button:disabled { opacity: .35; cursor: default; }
.lph-mover button.is-tirar:hover { border-color: #C9806E; color: #A4442F; }
.lph-add { align-self: flex-start; margin-top: 8px; border: 1px dashed rgba(138,107,38,.5); background: transparent; color: #8A6B26; font-family: inherit; font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 9px; cursor: pointer; }
.lph-add:hover { background: rgba(202,169,103,.1); }
.lph-grupo { display: flex; flex-direction: column; gap: 10px; }
.lph-item { border: 1px solid rgba(46,42,38,.1); border-radius: 12px; background: #FBF8F3; padding: 10px 12px 14px; }
.lph-item-top { display: flex; align-items: center; gap: 10px; }
.lph-item-top b { font-size: 13px; color: #241F1B; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lph-item-top i { font-style: normal; color: #9B7B3E; font-weight: 700; margin-right: 4px; }
.lph-item-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; margin-top: 10px; }

/* fotos */
.lph-foto { display: flex; gap: 14px; align-items: center; }
.lph-thumb { position: relative; width: 112px; height: 84px; flex: none; border-radius: 10px; overflow: hidden; background: #2E2A26; }
.lph-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lph-thumb.is-vazia { background: #F6F1E8; display: flex; align-items: center; justify-content: center; }
.lph-thumb.is-vazia b { font-size: 11px; color: #8D7B6A; font-weight: 600; }
.lph-thumb i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(30,25,21,.6); color: #F6F2EE; font-style: normal; font-size: 11.5px; font-weight: 600; }
.lph-foto-acoes { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.lph-up { display: inline-block; cursor: pointer; border: 1px solid rgba(46,42,38,.18); background: #FFFFFF; color: #241F1B; border-radius: 9px; padding: 7px 13px; font-size: 12px; font-weight: 600; }
.lph-up:hover { border-color: #CAA967; }
.lph-up:focus-within { outline: 2px solid #CAA967; outline-offset: 2px; }

/* prévia */
.lph-prev-top .wpa-seg-mini { margin-left: auto; }
.lph-ampliar { flex: none; }
.lph-prev.is-grande { position: fixed; inset: 16px; z-index: 99980; display: flex; flex-direction: column; box-shadow: 0 30px 90px rgba(20,15,10,.4); }
.lph-prev.is-grande .lph-palco { flex: 1; width: 100%; max-width: none; }
.lph-prev.is-grande .lph-palco.is-celular { max-width: 420px; }
body.lph-sem-rolar { overflow: hidden; }
.lph-prev { position: sticky; top: 96px; background: #F6F1E8; border: 1px solid rgba(46,42,38,.08); border-radius: 16px; padding: 14px 14px 16px; min-width: 0; }
.lph-prev-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.lph-prev-top > div:first-child { display: flex; flex-direction: column; gap: 1px; }
.lph-prev-top b { font-size: 13px; color: #241F1B; }
.lph-prev-top span { font-size: 11.5px; color: #6E6258; }
.lph-palco { position: relative; overflow: hidden; border-radius: 14px; background: #1E1915; box-shadow: 0 10px 30px rgba(20,15,10,.18); margin: 0 auto; }
.lph-palco.is-celular { max-width: 390px; border-radius: 26px; box-shadow: 0 0 0 6px #241F1B, 0 14px 34px rgba(20,15,10,.22); }
.lph-palco iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #1E1915; }

@media (max-width: 1180px) {
  .lph-duas { grid-template-columns: 1fr; }
  .lph-prev { position: static; order: -1; }
}
@media (max-width: 640px) {
  .lph-campos, .lph-item-campos { grid-template-columns: 1fr; }
  .lph-foto { flex-direction: column; align-items: flex-start; }
}
