/* Eventmanager 0.16.0 frontend basis. Most legacy inline CSS is kept for compatibility; these rules fix layout pressure and add calendar styles. */
.emf-wrap { width: 100%; max-width: 100%; box-sizing: border-box; overflow: visible; }
.emf-wrap * { box-sizing: border-box; }
.emf-calendar-toolbar { display:flex; gap:.75rem; align-items:center; justify-content:space-between; flex-wrap:wrap; margin:0 0 1rem; }
.emf-calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:1px; border:1px solid var(--em-border,#dcdcde); background:var(--em-border,#dcdcde); overflow:hidden; border-radius:6px; }
.emf-cal-head,.emf-cal-day { background:#fff; padding:.55rem; min-width:0; }
.emf-cal-head { font-weight:600; text-align:center; }
.emf-cal-day { min-height:105px; }
.emf-cal-day.is-muted { opacity:.45; }
.emf-cal-date { font-weight:600; margin-bottom:.35rem; }
.emf-cal-item { display:block; margin:.2rem 0; padding:.22rem .35rem; border-radius:4px; background:#f0f6fc; color:inherit; text-decoration:none; overflow-wrap:anywhere; line-height:1.25; }
@media (max-width: 720px){ .emf-calendar-grid{display:block;border:0;background:transparent}.emf-cal-head{display:none}.emf-cal-day{border:1px solid var(--em-border,#dcdcde);border-radius:6px;margin:0 0 .5rem;min-height:0}.emf-cal-day.is-empty{display:none} }
/* 0.16.2 frontend form/calendar improvements */
.emf-event-form-panel h4{margin:1.35rem 0 .65rem;padding-top:.75rem;border-top:1px solid var(--em-border,#dcdcde)}
.emf-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.4rem .75rem;margin:.5rem 0 1rem}
.emf-check-grid label{display:block;padding:.25rem .35rem;border-radius:4px}
.emf-shift-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem;margin:0 0 1rem}
.emf-shift-card{border:1px solid var(--em-border,#dcdcde);border-radius:10px;padding:1rem;background:rgba(255,255,255,.65);min-width:0}
.emf-shift-head{margin-bottom:.75rem}
.emf-shift-card details{margin-top:.75rem}.emf-shift-card summary{cursor:pointer;font-weight:600}
.emf-cal-item{background:rgba(255,255,255,.88)!important;border:1px solid rgba(0,0,0,.08);}
.emf-cal-status{display:block;font-size:.78em;opacity:.78;margin-top:.1rem}
.emf-status-cancelled{opacity:.55;text-decoration:line-through}.emf-status-confirmed .emf-cal-status,.emf-status-completed .emf-cal-status{font-weight:600}
@media(max-width:720px){.emf-shift-list{grid-template-columns:1fr}.emf-form-grid{grid-template-columns:1fr!important}}
