/* 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 .btn-glass { margin-bottom: 14px; color: var(--ink); font-size: 16px; font-weight: 600; }
.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-add { margin-top: 8px; font: inherit; font-size: 14px; font-weight: 600; color: var(--red); padding: 2px 4px; background: none; border: 0; cursor: pointer; }

/* 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 .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); }

/* editor de clases (antes .wp75 en wellness.css) */
.perfil80 .ed-sec:not(.locked) > h3 { display: none; }   /* el título de la sección ya va en la cabecera de la hoja */

/* v106b: WhatsApp de la secretaria (recibe los turnos) */
.sec-card .sec-field { display: grid; gap: 6px; margin-top: 6px; }
.sec-card .sec-field span { font-size: 13px; color: var(--ink2, #6b6b70); }
.sec-card .sec-field input { font: inherit; font-size: 16px; padding: 11px 12px; border-radius: 12px; border: 1px solid #e3e3e6; background: #fafafa; color: #111; outline: none; }
.sec-card .sec-field input:focus { border-color: #111; background: #fff; }
.sec-card .sec-err { margin: 6px 2px 0; font-size: 12.5px; color: #d0242b; }
.sec-card .sec-err[hidden] { display: none; }
.sec-card .sec-save { margin-top: 10px; width: 100%; padding: 12px; border: 0; border-radius: 12px; background: #111; color: #fff; font: inherit; font-size: 15px; cursor: pointer; }
.sec-card .sec-save:disabled { opacity: .5; }
.sec-card .sec-note { margin: 10px 2px 0; font-size: 12px; line-height: 1.4; color: var(--ink3, #8e8e93); }
