/* ── events.css — En Meets Events Page ── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;1,9..144,300&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  --ev-brand:    #e8460a;
  --ev-brand-dk: #c73a08;
  --ev-brand-lt: #fff3ee;
  --ev-ink:      #1a1208;
  --ev-muted:    #6b5e52;
  --ev-border:   #e8ddd4;
  --ev-bg:       #f7f4f0;
  --ev-white:    #ffffff;
  --ev-green:    #166534;
  --ev-green-bg: #ecfdf5;
  --ev-blue:     #1d4ed8;
  --ev-blue-bg:  #eff6ff;
}

/* ── Base ────────────────────────────────────────────────────────────────── */
.ev-body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ev-bg);
  color: var(--ev-ink);
  min-height: 100vh;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.ev-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,244,240,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ev-border);
}
.ev-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.ev-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ev-brand);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.ev-nav-links {
  display: flex;
  gap: 24px;
  flex: 1;
}
.ev-nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ev-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.ev-nav-links a:hover,
.ev-nav-links a.active { color: var(--ev-ink); }
.ev-nav-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ev-nav-auth .btn-ghost {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ev-ink);
  background: none;
  border: 1.5px solid var(--ev-border);
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.ev-nav-auth .btn-ghost:hover { border-color: var(--ev-ink); }
.ev-nav-auth .btn-solid {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--ev-brand);
  border: none;
  border-radius: 999px;
  padding: 7px 18px;
  cursor: pointer;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.15s;
}
.ev-nav-auth .btn-solid:hover { background: var(--ev-brand-dk); }
.ev-nav-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ev-brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
}
.ev-nav-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ev-ink);
  text-decoration: none;
}
.ev-nav-name:hover { color: var(--ev-brand); }
.ev-logout-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ev-muted);
  background: none;
  border: 1px solid var(--ev-border);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
}
.ev-logout-btn:hover { color: var(--ev-ink); border-color: var(--ev-ink); }

.ev-nav-admin-link {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ev-brand);
  text-decoration: none;
  background: var(--ev-brand-lt);
  border-radius: 999px;
  padding: 4px 12px;
  transition: background 0.15s;
}
.ev-nav-admin-link:hover { background: #fde0d4; color: var(--ev-brand-dk); }

/* ── Page hero ───────────────────────────────────────────────────────────── */
.ev-page-hero {
  background: var(--ev-ink);
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}
.ev-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 100% at 95% 50%, rgba(232,70,10,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 10% 100%, rgba(124,58,237,0.12) 0%, transparent 50%);
}
.ev-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to right, transparent 0%, black 30%, black 70%, transparent 100%);
}
.ev-page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.ev-page-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ev-brand);
  margin-bottom: 8px;
}
.ev-page-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.ev-page-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

/* User chip in hero */
.ev-user-chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.ev-user-chip-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ev-brand);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: 'Fraunces', serif;
}
.ev-user-chip-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}
.ev-user-chip-meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.ev-user-chip-edit {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  margin-left: 4px;
  transition: color 0.15s;
}
.ev-user-chip-edit:hover { color: rgba(255,255,255,0.8); }

/* ── Main layout ─────────────────────────────────────────────────────────── */
.ev-main { padding: 32px 0 64px; }

/* ── Toolbar ─────────────────────────────────────────────────────────────── */
.ev-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.ev-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ev-filter {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ev-muted);
  background: var(--ev-white);
  border: 1.5px solid var(--ev-border);
  border-radius: 999px;
  padding: 7px 18px;
  cursor: pointer;
  transition: all 0.18s;
  letter-spacing: 0.01em;
}
.ev-filter:hover { border-color: var(--ev-brand); color: var(--ev-brand); background: var(--ev-brand-lt); }
.ev-filter.active { background: var(--ev-ink); color: #fff; border-color: var(--ev-ink); }
.ev-filter--coffee:hover, .ev-filter--coffee.active { border-color: #f97316; }
.ev-filter--coffee:hover { color: #f97316; background: #fff7ed; }
.ev-filter--coffee.active { background: #f97316; color: #fff; }
.ev-filter--dinner:hover, .ev-filter--dinner.active { border-color: #e8460a; }
.ev-filter--dinner:hover { color: #e8460a; background: var(--ev-brand-lt); }
.ev-filter--dinner.active { background: #e8460a; color: #fff; }
.ev-filter--trivia:hover, .ev-filter--trivia.active { border-color: #7c3aed; }
.ev-filter--trivia:hover { color: #7c3aed; background: #f5f3ff; }
.ev-filter--trivia.active { background: #7c3aed; color: #fff; }
.ev-filter--walk:hover, .ev-filter--walk.active { border-color: #16a34a; }
.ev-filter--walk:hover { color: #16a34a; background: #f0fdf4; }
.ev-filter--walk.active { background: #16a34a; color: #fff; }
.ev-filter--friends:hover, .ev-filter--friends.active { border-color: #db2777; }
.ev-filter--friends:hover { color: #db2777; background: #fdf2f8; }
.ev-filter--friends.active { background: #db2777; color: #fff; }

/* ── Share button ─────────────────────────────────────────────────────────── */
.ev-btn-share {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--ev-muted);
  background: var(--ev-bg);
  border: 1.5px solid var(--ev-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  padding: 0;
}
.ev-btn-share:hover { color: var(--ev-ink); border-color: var(--ev-ink); background: var(--ev-white); }

.ev-btn-share-modal {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ev-muted);
  background: none;
  border: 1.5px solid var(--ev-border);
  border-radius: 12px;
  padding: 11px 16px;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}
.ev-btn-share-modal:hover { color: var(--ev-ink); border-color: var(--ev-ink); }

/* ── Share toast ──────────────────────────────────────────────────────────── */
.ev-share-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--ev-ink);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 2000;
  white-space: nowrap;
}
.ev-share-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Split layout ────────────────────────────────────────────────────────── */
.ev-split {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 28px;
  align-items: start;
}
.ev-split-cal {
  position: sticky;
  top: 80px;
}
.ev-split-list { min-width: 0; }

/* ── Event grid ──────────────────────────────────────────────────────────── */
.ev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.ev-list-stacked {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Event card ──────────────────────────────────────────────────────────── */
.ev-card {
  background: var(--ev-white);
  border: 1.5px solid var(--ev-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: default;
  position: relative;
}
.ev-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(26,18,8,0.12);
  border-color: color-mix(in srgb, var(--cat-color, var(--ev-brand)) 40%, transparent);
}
.ev-card-accent {
  height: 4px;
  background: var(--cat-color, var(--ev-brand));
  width: 100%;
}

.ev-card-top {
  padding: 18px 20px 14px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-bottom: 1px solid var(--ev-border);
}
.ev-card-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.ev-card-title-group { flex: 1; min-width: 0; }
.ev-card-title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ev-ink);
  line-height: 1.3;
  margin-bottom: 4px;
}
.ev-card-day {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ev-muted);
}
.ev-price-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
  white-space: nowrap;
}
.ev-price-free { background: var(--ev-green-bg); color: var(--ev-green); }
.ev-price-paid { background: var(--ev-blue-bg);  color: var(--ev-blue); }

.ev-card-body { padding: 16px 20px 20px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.ev-card-desc { font-size: 0.875rem; color: var(--ev-muted); line-height: 1.65; flex: 1; }

.ev-card-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ev-card-meta-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--ev-muted);
}
.ev-card-meta-icon { font-size: 0.85rem; flex-shrink: 0; }

/* Spot bar */
.ev-spot-bar-wrap { display: flex; flex-direction: column; gap: 5px; }
.ev-spot-bar-top { display: flex; justify-content: space-between; align-items: center; }
.ev-spot-count { font-size: 0.78rem; font-weight: 600; color: var(--ev-ink); }
.ev-spot-pct   { font-size: 0.72rem; color: var(--ev-muted); }
.ev-spot-bar { height: 5px; background: var(--ev-border); border-radius: 99px; overflow: hidden; }
.ev-spot-fill { height: 100%; border-radius: 99px; background: var(--ev-brand); transition: width 0.4s; }
.ev-spot-fill.full { background: #dc2626; }

/* Card actions */
.ev-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.ev-btn-details {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ev-ink);
  background: var(--ev-bg);
  border: 1.5px solid var(--ev-border);
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.ev-btn-details:hover { border-color: var(--ev-ink); }
.ev-btn-join {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--ev-brand);
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background 0.15s;
}
.ev-btn-join:hover { background: var(--ev-brand-dk); }
.ev-btn-join:disabled {
  background: var(--ev-border);
  color: var(--ev-muted);
  cursor: not-allowed;
}
.ev-btn-joined {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ev-green);
  background: var(--ev-green-bg);
  border: 1.5px solid #bbf7d0;
  border-radius: 10px;
  padding: 9px 14px;
  cursor: default;
}

/* ── Calendar ────────────────────────────────────────────────────────────── */
.ev-cal {
  background: var(--ev-white);
  border: 1.5px solid var(--ev-border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
}
.ev-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--ev-border);
}
.ev-cal-nav {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--ev-border);
  background: none;
  font-size: 1.2rem;
  color: var(--ev-ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.ev-cal-nav:hover { border-color: var(--ev-brand); color: var(--ev-brand); }
.ev-cal-month {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ev-ink);
  margin: 0;
}
.ev-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--ev-border);
}
.ev-cal-dow {
  text-align: center;
  padding: 12px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ev-muted);
}
.ev-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.ev-cal-day {
  min-height: 88px;
  padding: 8px;
  border-right: 1px solid var(--ev-border);
  border-bottom: 1px solid var(--ev-border);
  position: relative;
  cursor: default;
  transition: background 0.15s;
}
.ev-cal-day:nth-child(7n) { border-right: none; }
.ev-cal-day.has-events { cursor: pointer; }
.ev-cal-day.has-events:hover { background: var(--ev-brand-lt); }
.ev-cal-day.other-month { background: rgba(0,0,0,0.018); }
.ev-cal-day.other-month .ev-cal-date { color: var(--ev-border); }
.ev-cal-day.today .ev-cal-date {
  background: var(--ev-brand);
  color: #fff;
  border-radius: 50%;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
}
.ev-cal-day.selected { background: var(--ev-brand-lt); }
.ev-cal-date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ev-ink);
  margin-bottom: 6px;
  line-height: 1;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
}
.ev-cal-dot-group { display: flex; flex-direction: column; gap: 3px; }
.ev-cal-event-dot {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--cat-color, var(--ev-brand));
  background: color-mix(in srgb, var(--cat-color, var(--ev-brand)) 14%, white);
  border-radius: 4px;
  padding: 2px 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.ev-cal-day-events { margin-top: 8px; }
.ev-cal-day-title {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ev-ink);
}

/* ── Modals ──────────────────────────────────────────────────────────────── */
.ev-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,18,8,0.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
  animation: fadeIn 0.15s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.ev-modal {
  background: var(--ev-white);
  border-radius: 24px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.2s ease;
  box-shadow: 0 24px 80px rgba(26,18,8,0.25);
}
.ev-modal-sm { max-width: 420px; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.ev-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--ev-border);
  background: var(--ev-white);
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ev-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
  z-index: 1;
}
.ev-modal-close:hover { border-color: var(--ev-ink); color: var(--ev-ink); }

.ev-modal-header {
  padding: 28px 28px 0;
}
.ev-modal-cat-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 10px;
}
.ev-modal-title {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ev-ink);
  margin-bottom: 4px;
  line-height: 1.2;
  padding-right: 36px;
}
.ev-modal-subtitle {
  font-size: 0.85rem;
  color: var(--ev-muted);
  margin: 0;
}
.ev-modal-body { padding: 20px 28px; }
.ev-modal-footer {
  padding: 16px 28px 24px;
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--ev-border);
}
.ev-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.ev-modal-meta-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ev-ink);
  background: var(--ev-bg);
  border-radius: 999px;
  padding: 6px 12px;
}

/* Attendees section */
.ev-attendees-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.ev-attendees-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ev-muted);
}
.ev-spots-left {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ev-brand);
}
.ev-attendees-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ev-attendee-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--ev-bg);
  border-radius: 12px;
}
.ev-attendee-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}
.ev-attendee-name { font-weight: 700; font-size: 0.88rem; color: var(--ev-ink); }
.ev-attendee-meta { font-size: 0.78rem; color: var(--ev-muted); margin-top: 1px; }
.ev-empty-attendees {
  text-align: center;
  padding: 28px 20px;
  color: var(--ev-muted);
  font-size: 0.88rem;
}
.ev-empty-attendees-icon { font-size: 2rem; display: block; margin-bottom: 8px; }

/* Join profile preview */
.ev-join-profile {
  background: var(--ev-bg);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.ev-join-profile-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}
.ev-join-profile-key { color: var(--ev-muted); font-weight: 500; }
.ev-join-profile-val { font-weight: 600; color: var(--ev-ink); text-align: right; }

.ev-success {
  background: var(--ev-green-bg);
  border: 1px solid #bbf7d0;
  color: var(--ev-green);
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

/* Modal buttons */
.ev-btn-primary {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--ev-brand);
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.15s;
}
.ev-btn-primary:hover { background: var(--ev-brand-dk); }
.ev-btn-ghost {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ev-muted);
  background: none;
  border: 1.5px solid var(--ev-border);
  border-radius: 12px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.15s;
}
.ev-btn-ghost:hover { color: var(--ev-ink); border-color: var(--ev-ink); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .ev-split {
    grid-template-columns: 1fr;
  }
  .ev-split-cal {
    position: static;
  }
}

@media (max-width: 768px) {
  .ev-page-hero-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ev-user-chip { width: 100%; }
  .ev-cal-day { min-height: 60px; }
  .ev-cal-event-dot { display: none; }
  .ev-cal-day.has-events::after {
    content: '';
    display: block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ev-brand);
    margin: 4px auto 0;
  }
  .ev-nav-links { display: none; }
  .ev-modal { border-radius: 20px 20px 0 0; position: fixed; bottom: 0; max-height: 85vh; }
  .ev-modal-overlay { align-items: flex-end; padding: 0; }
}