.event-banner{border:1px solid #d9d2f6;border-right:5px solid #6552bd;background:#f3f0ff;border-radius:12px;padding:16px 18px;margin-bottom:14px;overflow-wrap:anywhere}
.event-banner p{margin:8px 0}.event-banner details{margin:10px 0}.event-banner summary{cursor:pointer;color:#5147b9}.event-banner .actions{margin-top:12px}
.event-banner.event-urgent{background:#fff1f1;border-color:#efc2c2;border-right-color:#b83c49;color:#702530}
.event-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.event-card-head h2{margin:4px 0 10px}.event-card-head .badge{flex-shrink:0}
.event-text{white-space:pre-wrap;line-height:1.95;overflow-wrap:anywhere}
.event-card .actions{margin-top:18px}.event-card p{overflow-wrap:anywhere}
#event-notifications:empty{display:none}
#event-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#event-list .panel{margin-bottom:0}
@media(max-width:720px){#event-list{grid-template-columns:minmax(0,1fr)}.event-banner{padding:14px}.event-card-head{flex-wrap:wrap}.event-card .actions button{flex:1 1 auto}.event-banner .actions{align-items:flex-start}#event-notifications{margin-top:10px}}

#event-notifications{margin-bottom:20px}#event-notifications:empty{display:none}.event-banner p{margin:8px 0}.event-banner .actions{margin-top:10px}

.event-plan-note{background:#fff7df;color:#664b00;border:1px solid #ecd18a;border-right:5px solid #c58b18;border-radius:10px;padding:12px 16px;line-height:1.8}.event-plan-note strong{display:block;margin-bottom:3px}

/* Ministry provenance stays distinct from red urgency reminders. */
.event-card.event-education{border-inline-start:5px solid #07a869;background:#f0faf7}
.event-education-label{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0;padding:10px 12px;background:#07a869;color:#073326;border:1px solid #07a869;border-radius:9px}
.event-education-label a{color:#073326;font-weight:700;text-decoration:underline}
.event-education-label small{font-size:.85rem;line-height:1.7}
