.rsvpe-event-browser,
.rsvpe-events,
.rsvpe-calendar,
.rsvpe-detail,
.rsvpe-event-dialog {
	--rsvpe-accent: var(--wp--preset--color--primary, var(--wp--preset--color--vivid-cyan-blue, #3858e9));
	--rsvpe-ink: var(--wp--preset--color--contrast, #17202a);
	--rsvpe-muted: var(--wp--preset--color--secondary, #65717d);
	--rsvpe-line: color-mix(in srgb, var(--rsvpe-ink) 15%, transparent);
	color: var(--rsvpe-ink);
}
.rsvpe-event-browser { margin-block: 1.5rem; }
.rsvpe-view-switch { display:flex; flex-wrap:wrap; gap:.5rem; margin-block-end:1rem; }
.rsvpe-view-switch button { font:inherit; cursor:pointer; padding:.45rem .85rem; border:1px solid var(--rsvpe-line); border-radius:var(--wp--custom--button--border--radius, 4px); color:inherit; background:transparent; }
.rsvpe-view-switch button[aria-pressed="true"] { background:var(--rsvpe-accent); border-color:var(--rsvpe-accent); color:#fff; }
.rsvpe-events { display:grid; gap:1.25rem; }
.rsvpe-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); }
.rsvpe-list { grid-template-columns:1fr; }
.rsvpe-card { background:var(--wp--preset--color--base,var(--wp--preset--color--background,#fff)); border:1px solid var(--rsvpe-line); border-radius:var(--wp--custom--border--radius, 12px); overflow:hidden; }
.rsvpe-card .rsvpe-image { display:block; aspect-ratio:16/9; overflow:hidden; }
.rsvpe-card .rsvpe-image img { width:100%; height:100%; object-fit:cover; display:block; }
.rsvpe-card-body { padding:clamp(1rem,3vw,1.5rem); }
.rsvpe-card time,.rsvpe-detail time { color:var(--rsvpe-accent); font-size:.95em; font-weight:650; }
.rsvpe-card h3 { font-size:1.35em; line-height:1.25; margin:.55em 0; }
.rsvpe-card h3 a { color:inherit; text-decoration:none; }
.rsvpe-card h3 a:hover,.rsvpe-link:hover { color:var(--rsvpe-accent); }
.rsvpe-venue,.rsvpe-price { margin:.3em 0; color:var(--rsvpe-muted); }
.rsvpe-excerpt { margin:.9em 0; color:var(--rsvpe-muted); }
.rsvpe-link { display:inline-flex; gap:.4em; align-items:center; font-weight:650; text-decoration:none; color:inherit; }
.rsvpe-list .rsvpe-card { display:grid; grid-template-columns:minmax(150px,26%) 1fr; }
.rsvpe-list .rsvpe-card .rsvpe-image { height:100%; aspect-ratio:auto; }
.rsvpe-calendar { margin-block:1.5rem; border:1px solid var(--rsvpe-line); border-radius:var(--wp--custom--border--radius,12px); overflow:hidden; background:var(--wp--preset--color--base,var(--wp--preset--color--background,#fff)); }
.rsvpe-calendar>header { display:flex; align-items:center; justify-content:space-between; padding:1rem 1.25rem; border-bottom:1px solid var(--rsvpe-line); }
.rsvpe-calendar>header h2 { margin:0; font-size:1.2em; }
.rsvpe-calendar>header a { font-size:1.7em; text-decoration:none; color:inherit; padding-inline:.5rem; }
.rsvpe-calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); }
.rsvpe-weekday { padding:.6rem .35rem; text-align:center; font-size:.85em; font-weight:700; color:var(--rsvpe-muted); border-bottom:1px solid var(--rsvpe-line); }
.rsvpe-day { min-width:0; min-height:100px; padding:.45rem; border-right:1px solid var(--rsvpe-line); border-bottom:1px solid var(--rsvpe-line); font-size:.9em; }
.rsvpe-day>span { display:block; font-weight:700; margin-bottom:.35rem; }
.rsvpe-day a { display:block; overflow-wrap:anywhere; margin:.25rem 0; padding:.25rem .35rem; border-radius:4px; background:color-mix(in srgb,var(--rsvpe-accent) 12%,transparent); color:inherit; text-decoration:none; font-size:.85em; }
.rsvpe-day a:hover,.rsvpe-day a:focus-visible { background:color-mix(in srgb,var(--rsvpe-accent) 25%,transparent); }
.rsvpe-day.is-empty { background:color-mix(in srgb,var(--rsvpe-ink) 3%,transparent); }
.rsvpe-detail { margin-block:2rem; padding:clamp(1rem,3vw,2rem); border:1px solid var(--rsvpe-line); border-radius:var(--wp--custom--border--radius,12px); background:var(--wp--preset--color--base,var(--wp--preset--color--background,#fff)); }
.rsvpe-detail dl { display:flex; flex-wrap:wrap; gap:1rem 2rem; margin:0 0 1.25rem; }
.rsvpe-detail dl>div { min-width:140px; }
.rsvpe-detail dt { font-size:.8em; color:var(--rsvpe-muted); text-transform:uppercase; letter-spacing:.05em; }
.rsvpe-detail dd { margin:.25rem 0 0; font-weight:600; }
.rsvpe-calendar-link { display:inline-block; margin-bottom:1.5rem; color:var(--rsvpe-accent); font-weight:650; }
.rsvpe-calendar-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem; margin-bottom:1.5rem; }
.rsvpe-calendar-actions .rsvpe-calendar-link { margin-bottom:0; }
.rsvpe-google-calendar-link { display:inline-block; padding:.65rem 1rem; border-radius:4px; color:#fff; background:var(--rsvpe-accent); font-weight:650; text-decoration:none; }
.rsvpe-google-calendar-link:hover,.rsvpe-google-calendar-link:focus-visible { color:#fff; filter:brightness(.92); }
.rsvpe-form-wrap { border-top:1px solid var(--rsvpe-line); padding-top:1.25rem; max-width:560px; }
.rsvpe-form-wrap h2 { font-size:1.3em; }
.rsvpe-form-wrap form { display:grid; gap:.9rem; }
.rsvpe-form-wrap label { display:block; font-size:.95em; font-weight:600; }
.rsvpe-form-wrap label>span { display:inline; margin-inline-start:.15em; }
.rsvpe-form-wrap input:not([type=hidden]) { display:block; width:100%; box-sizing:border-box; margin-top:.35rem; padding:.7rem .8rem; border:1px solid var(--rsvpe-line); border-radius:4px; font:inherit; }
.rsvpe-form-wrap button { justify-self:start; padding:.75rem 1.2rem; border:0; border-radius:4px; background:var(--rsvpe-accent); color:#fff; font:inherit; font-weight:700; cursor:pointer; }
.rsvpe-notice { padding:.75rem 1rem; border-inline-start:4px solid var(--rsvpe-accent); background:color-mix(in srgb,var(--rsvpe-accent) 8%,transparent); border-radius:4px; }
.rsvpe-empty { color:var(--rsvpe-muted); padding:1rem; }
.rsvpe-event-dialog { width:min(92vw,560px); max-height:85vh; overflow:auto; border:1px solid var(--rsvpe-line); border-radius:var(--wp--custom--border--radius,12px); padding:clamp(1.25rem,4vw,2rem); color:var(--rsvpe-ink); background:var(--wp--preset--color--base,var(--wp--preset--color--background,#fff)); }
.rsvpe-event-dialog::backdrop { background:rgb(0 0 0 / .55); }
.rsvpe-dialog-close { float:right; font:inherit; font-size:1.5rem; line-height:1; border:0; background:transparent; color:inherit; cursor:pointer; }
.rsvpe-dialog-link { display:inline-block; margin-top:.5rem; padding:.65rem 1rem; border-radius:4px; color:#fff; background:var(--rsvpe-accent); text-decoration:none; }
.rsvpe-event-dialog .rsvpe-dialog-link,.rsvpe-event-dialog .rsvpe-dialog-link:visited { color:#fff; }
.rsvpe-event-dialog .rsvpe-dialog-link:hover,.rsvpe-event-dialog .rsvpe-dialog-link:focus-visible { color:#fff; background:var(--rsvpe-accent); filter:brightness(.9); }
.rsvpe-event-dialog .rsvpe-dialog-link:focus-visible { outline:2px solid var(--rsvpe-accent); outline-offset:3px; }
.rsvpe-admin-grid { display:grid; grid-template-columns:1fr; gap:14px; margin-block:1rem; }
.rsvpe-admin-grid>label { display:grid; gap:5px; font-weight:600; }
.rsvpe-admin-grid input[type=text],.rsvpe-admin-grid input[type=datetime-local],.rsvpe-admin-grid input[type=date],.rsvpe-admin-grid input[type=number],.rsvpe-admin-grid select { width:100%; max-width:100%; }
.rsvpe-admin-grid small { display:block; font-weight:400; color:#646970; }
.rsvpe-event-filters { display:flex; align-items:end; flex-wrap:wrap; gap:10px; margin-block:1rem 1.5rem; }
.rsvpe-event-filters label { display:grid; gap:4px; font-weight:600; }
.rsvpe-event-filters input[type=search] { min-width:min(280px,70vw); }
.rsvpe-event-filters select { min-width:140px; }
@media(min-width:782px) { .rsvpe-admin-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:600px) { .rsvpe-list .rsvpe-card { grid-template-columns:1fr; } .rsvpe-list .rsvpe-card .rsvpe-image { aspect-ratio:16/9; } .rsvpe-day { min-height:68px; padding:.25rem; } .rsvpe-day a { font-size:.75em; } .rsvpe-weekday { font-size:.75em; } }
