/* A scoped, read-only intervention panel inside the existing follow-up center. */
#imamTeachingInsights{margin:12px 0;direction:rtl}
#imamTeachingInsights .iti-panel{background:var(--surface,#fff);border:1px solid #dbe7df;border-radius:15px;overflow:hidden}
#imamTeachingInsights summary{cursor:pointer;list-style:none;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
#imamTeachingInsights summary::-webkit-details-marker{display:none}
#imamTeachingInsights summary>span{display:grid;gap:4px}
#imamTeachingInsights summary small,#imamTeachingInsights .iti-note{color:#64766c;font-size:.83em}
#imamTeachingInsights summary>strong{font-size:.88em;color:#2d6847}
#imamTeachingInsights .iti-body{padding:0 16px 16px}
#imamTeachingInsights .iti-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#imamTeachingInsights .iti-kpis span{display:grid;gap:4px;text-align:center;background:#f0f7f1;border-radius:10px;padding:10px 6px}
#imamTeachingInsights .iti-kpis b{font-size:1.3rem;color:#245b42}
#imamTeachingInsights .iti-kpis small{font-size:.75rem;color:#617568}
#imamTeachingInsights h4{margin:15px 0 9px;font-size:.94rem;color:#254c37}
#imamTeachingInsights .iti-types{display:flex;flex-wrap:wrap;gap:7px}
#imamTeachingInsights .iti-types span{border:1px solid #dbe8df;border-radius:50px;padding:6px 10px;font-size:.81rem;overflow-wrap:anywhere}
#imamTeachingInsights .iti-list{padding:0;list-style:none;margin:0;display:grid;gap:7px}
#imamTeachingInsights .iti-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:10px;border:1px solid #e4ede6;border-radius:10px;font-size:.83rem}
#imamTeachingInsights .iti-list li>span:first-child{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
#imamTeachingInsights .iti-list small{color:#64776c}
#imamTeachingInsights .iti-copy{margin-top:14px;max-width:100%;white-space:normal}
#imamTeachingInsights .iti-copy-status{font-size:.8rem;color:#2d6847;margin:5px 0}
#imamTeachingInsights .iti-note{margin-bottom:0;line-height:1.65}
#pg-followup .iti-next{margin:10px 0;padding:10px 12px;background:#f5f9f6;border-right:3px solid #4e8a60;border-radius:9px;display:grid;gap:4px;font-size:.83rem;overflow-wrap:anywhere}
#pg-followup .iti-next b{color:#245e40}
#pg-followup .iti-next small{color:#64766c;font-size:.9em}
@media(max-width:390px){#imamTeachingInsights summary{padding:12px}#imamTeachingInsights .iti-body{padding:0 12px 12px}#imamTeachingInsights .iti-kpis small{font-size:.7rem}}

#imamTeachingInsights[hidden]{display:none!important}
#imamTeachingInsights .iti-unavailable{padding:14px 16px;line-height:1.7;color:var(--txt,#173b2a)}
#imamTeachingInsights .iti-unavailable p{margin:8px 0;color:var(--v9-muted,#64766c)}
