/* Alethea v80 — MI PERFIL ÚNICO (panel.html) para médicos y wellness. Maqueta aprobada: /workspace/mock-perfil-unico (prefijo mp-).
   Reutiliza styles.css + alta.css + emergencias.css; aquí van solo las piezas nuevas y el editor de clases (antes .wp75 en wellness.css). */
.perfil80 .hero-card { position: relative; }
.perfil80 .hero-card.is-placeholder .hero-photo { object-fit: cover; }
.mp-cam { position: absolute; top: 14px; right: 14px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; padding: 0; cursor: pointer;
  background: rgba(14,14,16,0.42); border: 1px solid rgba(255,255,255,0.3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mp-cam svg { width: 17px; height: 17px; }
.perfil80 .plan-card2 { padding-bottom: 16px; }
.perfil80 .plan-card2 .up-btn { margin-top: 12px; }
.perfil80 .btn-glass { margin-bottom: 14px; color: var(--ink); font-size: 16px; font-weight: 600; }
.perfil80 .gift-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .01em; color: #fff; background: linear-gradient(135deg, #c8102e, #e0475f); border-radius: 999px; padding: 2px 9px; vertical-align: 1px; }
.perfil80 .plan-card2.is-gift .plan-line { font-weight: 600; }

.mp-edit { font: inherit; font-size: 14px; font-weight: 600; color: var(--red); display: inline-flex; align-items: center; gap: 2px; background: none; border: 0; padding: 4px 2px; cursor: pointer; }
.mp-edit svg { width: 14px; height: 14px; }
.where-row .wr-v.mp-wrap { white-space: normal; font-size: 15px; font-weight: 500; line-height: 1.3; }
.where-row .wr-v.mp-wrap.empty { color: #aeaeb2; }
.perfil80 .where-note { margin-top: 4px; }
.where-card.locked .where-row.mp-ed .chev { display: block; }

/* zona 5 — médico: verificado · SENESCYT */
.mp-verif { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.mp-verif img { width: 30px; height: 30px; flex: none; }
.mp-verif b { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.mp-verif small { display: block; font-size: 12.5px; color: var(--ink2); margin-top: 2px; }
/* zona 5 — wellness: clases y horarios */
.mp-cls { display: grid; gap: 6px; }
.mp-cl { padding: 8px 12px 9px; border-radius: 18px; background: rgba(255,255,255,0.7); display: grid; gap: 5px; }
.mp-cl-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mp-cl-h b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.mp-cl-h span { font-size: 13.5px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mp-days { display: flex; gap: 4px; }
.mp-days i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: #aeaeb2; background: rgba(0,0,0,0.04); }
.mp-days i.on { background: #1c1c1e; color: #fff; }
.mp-add { margin-top: 8px; font: inherit; font-size: 14px; font-weight: 600; color: var(--red); padding: 2px 4px; background: none; border: 0; cursor: pointer; }
.mp-none { margin-top: 0; }

/* horario con checks */
.mp-hrs { display: grid; }
.mp-hr { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 4px; }
.mp-hr + .mp-hr { border-top: 1px solid rgba(0,0,0,0.05); }
.mp-box { width: 20px; height: 20px; border-radius: 7px; border: 2px solid #c7c7cc; background: #fff; display: grid; place-items: center; flex: none; box-sizing: border-box; }
.mp-box.on { background: #1c1c1e; border-color: #1c1c1e; }
.mp-box.on::after { content: ""; width: 9px; height: 5px; border: 2.2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.mp-hr .d { width: 92px; font-size: 14.5px; font-weight: 600; }
.mp-hr .h { flex: 1; text-align: right; font-size: 14px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.mp-hr .h.off { color: #aeaeb2; }
.mp-fine { font-size: 12px; color: var(--ink3); margin: 10px 4px 0; line-height: 1.4; }

/* dirección + pin (mapa estático OSM z17) */
.mp-addr b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.mp-addr b.empty { color: #aeaeb2; }
.mp-addr small { display: block; font-size: 13px; color: var(--ink2); margin-top: 2px; }
.mp-map { position: relative; height: 136px; margin-top: 12px; border-radius: 20px; overflow: hidden; background: #f2efe9; }
.mp-map .tiles { position: absolute; width: 768px; height: 768px; display: grid; grid-template-columns: repeat(3, 256px); filter: saturate(0.75) contrast(0.97); }
.mp-map .tiles img { width: 256px; height: 256px; display: block; }
.mp-map .al-pin { position: absolute; width: 36px; height: 46px; }
.mp-map .attr { position: absolute; right: 8px; bottom: 6px; font-size: 9.5px; color: #555; background: rgba(255,255,255,0.8); padding: 1px 5px; border-radius: 6px; }
.mp-map.empty { display: grid; place-items: center; }
.mp-map-empty { font-size: 13px; font-weight: 600; color: #8e8e93; display: inline-flex; align-items: center; gap: 6px; }
.mp-map-empty .lock { width: 14px; height: 14px; }
#locEdit.bst-lock { background: none; border: 0; }

/* contacto */
.mp-ct .where-row { width: 100%; background: none; border-left: 0; border-right: 0; font: inherit; text-align: left; cursor: pointer; color: inherit; }
.mp-ct .where-row .wr-k { width: 112px; display: inline-flex; align-items: center; gap: 8px; }
.mp-ct .wr-k i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #1c1c1e; color: #fff; flex: none; }
.mp-ct .wr-k i.wa { background: #25d366; }
.mp-ct .wr-k i svg { width: 13px; height: 13px; }
.mp-ct .wr-v { font-size: 15px; font-weight: 500; }
.mp-ct .wr-v.mp-empty { color: #aeaeb2; font-weight: 500; }
.mp-ct .wr-v .lock { width: 13px; height: 13px; margin-right: 4px; vertical-align: -1px; }
.mp-ct .wr-v .lk-k { font-size: 12.5px; margin-right: 3px; }
.mp-ct .wr-v .lk-p { font-size: 12.5px; font-weight: 700; color: var(--ink2); }
.mp-ct .chev { display: block !important; }
.perfil80 .p-foot { text-align: center; font-size: 12px; color: var(--ink3); margin: 6px 0 0; }
.perfil80 .p-foot:empty { display: none; }

/* wellness: sin sello ni «verificado», sin color de marca ni otra sede */
.k-wellness #pSeal, .k-wellness .plan-name2 img, .k-wellness #slotVerif { display: none !important; }

/* hoja de edición por sección */
.perfil80 .ed-sec[hidden] { display: none !important; }
.perfil80 .sh-field.locked { opacity: .55; }
.perfil80 .sh-field.locked input { pointer-events: none; background: rgba(255,255,255,0.4); }
.perfil80 .ed-lock { font-style: normal; font-size: 11.5px; font-weight: 600; margin-left: 6px; color: #8e8e93; display: inline-flex; align-items: center; gap: 3px; }
.perfil80 .ed-lock[hidden] { display: none; }
.perfil80 .ed-lock .lock { width: 12px; height: 12px; }

/* editor de clases (antes .wp75 en wellness.css) */
.perfil80 .wc-list { display: flex; flex-direction: column; gap: 10px; margin: 10px 0; }
.perfil80 .wc-card { border-radius: 20px; padding: 12px; background: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.8); }
.perfil80 .wc-row { display: flex; gap: 8px; align-items: center; }
.perfil80 .wc-name { flex: 1; min-width: 0; height: 40px; border-radius: 12px; border: 1px solid rgba(60,60,67,0.16); padding: 0 12px; font: inherit; font-size: 15px; background: #fff; }
.perfil80 .wc-del { flex: none; height: 36px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(0,0,0,0.06); color: #6e6e73; font: inherit; font-size: 13px; font-weight: 600; }
.perfil80 .wc-tw { display: inline-flex; gap: 3px; align-items: center; }
.perfil80 .wc-sum { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink3, #8e8e93); }
.perfil80 .wc-days { display: flex; flex-wrap: nowrap; gap: 4px; margin-top: 9px; }
.perfil80 .wc-day { flex: 1 1 0; min-width: 0; padding: 0; height: 32px; border-radius: 999px; border: 1px solid rgba(60,60,67,0.16); background: #fff; font: inherit; font-size: 12.5px; font-weight: 600; color: #3a3a3c; }
.perfil80 .wc-day.on { background: #1c1c1e; border-color: #1c1c1e; color: #fff; }
.perfil80 .wc-times { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; align-items: center; }
.perfil80 .wc-times select { height: 34px; border-radius: 10px; border: 1px solid rgba(60,60,67,0.16); background: #fff; font: inherit; font-size: 13.5px; padding: 0 6px; }
.perfil80 .wc-tadd, .perfil80 .wc-tdel { height: 34px; border-radius: 10px; border: 0; background: rgba(0,0,0,0.06); font: inherit; font-size: 13px; font-weight: 600; padding: 0 10px; color: #3a3a3c; }
.perfil80 .wc-add { margin-top: 2px; }
.perfil80 .ed-sec:not(.locked) > h3 { display: none; }   /* el título de la sección ya va en la cabecera de la hoja */
