/*
Theme Name: EventFlow Custom
Description: Block theme preserving the EventFlow React workspace and its existing external API integration. EventFlow accounts are separate from WordPress accounts.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: eventflow-custom
License: GPL-2.0-or-later
*/

/* Application styles are compiled from the original frontend into assets/app.css. */
body.eventflow-workspace { margin: 0; padding: 0; }
.eventflow-workspace .wp-site-blocks { padding: 0; margin: 0; }
.eventflow-workspace .wp-site-blocks > * { margin-block: 0; }
.eventflow-workspace #root { min-height: 100dvh; }
.eventflow-workspace a { text-decoration: none; }
.eventflow-workspace button, .eventflow-workspace input,
.eventflow-workspace select, .eventflow-workspace textarea { font-family: inherit; }
.eventflow-workspace.admin-bar .sticky.top-0 { top: 32px; }
.eventflow-workspace .eventflow-connection-notice a { text-decoration: underline; }
/* Radix portals live under body; keep dialogs above the WP admin toolbar. */
.eventflow-workspace .fixed.inset-0.z-50 { z-index: 100000; }
.eventflow-workspace [role="dialog"] { z-index: 100001; max-height: calc(100dvh - 2rem); }
@media (max-width: 782px) {
  .eventflow-workspace.admin-bar .sticky.top-0 { top: 46px; }
}
/* Preserve both filters within the original mobile content gutter. */
@media (max-width: 639px) {
  .eventflow-workspace [data-testid="events-status-filter"],
  .eventflow-workspace [data-testid="events-status-filter"] + button {
    flex: 1 1 0%; width: 0; min-width: 0;
  }
  .eventflow-workspace [data-testid="events-status-filter"] span,
  .eventflow-workspace [data-testid="events-status-filter"] + button span {
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  }
}
