/* פרופיל "הישות היא האדם" (מכון יופי, רפואה משלימה): מסתיר שדות של כלב ומודולים שכבויים. מופעל רק כש-body.profile-person, כלומר אף לקוח קיים לא מושפע.
   מתג מודול: body.off-<שם> (reports, training, diagnosis, boarding). */
body.profile-person .pp-hide { display: none !important; }
body.profile-person .tabbar [data-s="reports"],
body.off-reports .tabbar [data-s="reports"] { display: none !important; }
body.off-training .tabbar [data-s="training"],
body.off-training .tabbar [data-s="trainings"],
body.off-training .qa-main { display: none !important; }
body.off-reports .kpi[onclick*="reports"] { display: none !important; }
body.off-training .kpis { grid-template-columns: repeat(2, 1fr); }

/* תמונות לפני / אחרי בכרטיס הלקוח/ה */
.cph .cph-add { display: flex; gap: 14px; }
.cph .cph-add a { cursor: pointer; }
.cph .cph-day { margin: 8px 0 12px; }
.cph .cph-day > small { display: block; color: #6b7280; margin-bottom: 6px; }
.cph .cph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.cph figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: #f3f4f6; }
.cph figure img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; cursor: zoom-in; }
.cph figcaption { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px; font-size: 13px; }
.cph figcaption button { border: 0; background: transparent; font-size: 20px; line-height: 1; color: #9ca3af; cursor: pointer; padding: 4px 6px; }
.cph .cph-before { color: #8a4b6b; }
.cph .cph-after { color: #0f766e; }

/* תמונות אנשים כבויות (config.peoplePhotos=false): בלי העלאה, החלפה או הסרה בכרטיס ובטופס הרישום הפנימי */
body.no-people-photos [onclick*="changeProfilePhoto"],
body.no-people-photos [onclick*="removeProfilePhoto"],
body.no-people-photos .photo-up { display: none !important; }
