/* עיצוב מוסדי (שלב א׳) לפנסיון. חל רק כש-body.inst-on, שנקבע מ-applyInstitutionalUi() ב-app.js
   כש-training.institutionalUi:true בקונפיג. הצבע: --inst = training.institutionalColor, או theme.primary.
   לקוח בלי הדגל לא מקבל את המחלקה, ולכן שום כלל כאן לא חל עליו. */

/* 3. כפתורים ראשיים בצבע המותג מהקונפיג (בלי צבע קבוע בקוד). כפתורים עם צבע משלהם בשורה (style) לא נפגעים */
body.inst-on .btn:not([style*="background"]){background:var(--inst,var(--primary));box-shadow:none}
.theme-cert body.inst-on .btn-sm{background:var(--inst,var(--b))}

/* 2. פעולה הרסנית: קישור קטן במקום כפתור אדום רחב */
body.inst-on button.btn[onclick*="deleteDogById"]{flex:none!important;width:auto!important;background:none!important;border:0!important;color:var(--muted)!important;font-size:12.5px!important;font-weight:500!important;text-decoration:underline;padding:4px 8px!important;cursor:pointer;box-shadow:none!important}

/* 5. לוגו גדול יותר בכותרת העליונה (רק כשיש theme.logo, כלומר תמונה) */
.theme-cert body.inst-on .tr-top .tr-logo.img{height:46px;display:inline-flex;align-items:center}
.theme-cert body.inst-on .tr-top .tr-logo.img img{height:46px;max-height:46px}
