/* Desktop Community uses the same event cards and forms as the phone. */
#teajr-community-events#teajr-community-events.ev-desktop {
  --ev-bg: var(--pc-page, var(--paper, #fff));
  --ev-ink: var(--pc-ink, var(--c-ink, #141416));
  --ev-panel: var(--pc-card, var(--panel, #f5f5f5));
  --ev-raised: var(--pc-soft, var(--panel-2, #ececec));
  --ev-dim: var(--pc-dim, var(--c-dim, #555));
  --ev-line: var(--pc-line, var(--line, #ddd));
  --ev-action: var(--pc-btn, var(--btn, #141416));
  --ev-on-action: var(--pc-on-btn, var(--on-btn, #fff));
  font-family: Inter, system-ui, sans-serif;
  outline: none;
}

@media (min-width: 760px) {
  #teajr-community-events#teajr-community-events.ev-desktop .ev-app {
    max-width: none;
  }

  #teajr-community-events#teajr-community-events.ev-desktop .ev-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--ev-line);
  }

  #teajr-community-events#teajr-community-events.ev-desktop .ev-header h1 {
    font-size: 28px;
  }

  #teajr-community-events#teajr-community-events.ev-desktop .ev-feed {
    padding: 20px 32px 12px;
    max-width: 1720px;
    margin-inline: auto;
  }

  #teajr-community-events#teajr-community-events.ev-desktop .ev-segments {
    flex: 0 1 350px;
  }

  #teajr-community-events#teajr-community-events.ev-desktop .ev-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr));
    gap: 20px;
  }

  #teajr-community-events#teajr-community-events.ev-desktop .ev-card-copy strong {
    font-size: 16px;
  }

  #teajr-community-events#teajr-community-events.ev-desktop[data-screen="detail"] {
    width: min(1040px, calc(100% - 48px));
    height: fit-content;
    max-height: calc(100dvh - 48px);
    margin: auto;
    border: 1px solid var(--ev-line);
    border-radius: 24px;
    box-shadow: 0 24px 72px rgb(0 0 0 / .25);
  }

  #teajr-community-events#teajr-community-events.ev-desktop[data-screen="detail"]::backdrop {
    background: rgb(10 12 18 / .45);
    backdrop-filter: blur(5px);
  }

  #teajr-community-events#teajr-community-events.ev-desktop[data-screen="detail"] .ev-app {
    min-height: 0;
    padding-bottom: 0;
  }

  #teajr-community-events#teajr-community-events.ev-desktop .ev-detail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(20px, 3vw, 36px);
    max-width: none;
    padding: clamp(20px, 2.5vw, 32px);
  }

  #teajr-community-events#teajr-community-events.ev-desktop .ev-detail-art {
    position: sticky;
    top: 24px;
    aspect-ratio: 1.8;
    border-radius: 18px;
  }

  #teajr-community-events#teajr-community-events.ev-desktop .ev-detail-content {
    min-width: 0;
    padding: 0;
  }

  #teajr-community-events#teajr-community-events.ev-desktop .ev-detail-content h1 {
    font-size: clamp(25px, 2.8vw, 36px);
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  #teajr-community-events#teajr-community-events.ev-desktop .ev-detail-info {
    margin: 20px 0 14px;
    padding: 12px;
    border: 1px solid var(--ev-line);
    border-radius: 16px;
    background: var(--ev-panel);
    gap: 12px;
  }

  #teajr-community-events#teajr-community-events.ev-desktop .ev-detail-info > div {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  #teajr-community-events#teajr-community-events.ev-desktop .ev-detail-tabs {
    margin: 20px 0 14px;
    padding: 4px;
    border: 1px solid var(--ev-line);
    border-radius: 14px;
    background: var(--ev-panel);
  }

  #teajr-community-events#teajr-community-events.ev-desktop .ev-detail-tabs button {
    min-width: 0;
    padding: 9px 3px;
    gap: 5px;
    border: 1px solid transparent;
    border-radius: 10px;
  }

  #teajr-community-events#teajr-community-events.ev-desktop .ev-detail-tabs button.is-active {
    border-color: var(--ev-line);
    background: var(--ev-bg);
  }

  #teajr-community-events#teajr-community-events#teajr-community-events.ev-desktop .ev-composer {
    max-width: 760px;
    padding: 24px 32px 32px;
  }
}

@media (min-width: 1040px) {
  #teajr-community-events#teajr-community-events.ev-desktop [data-ev-results]:has(.ev-calendar) {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    column-gap: 32px;
  }

  #teajr-community-events#teajr-community-events.ev-desktop [data-ev-results] > .ev-calendar {
    grid-row: span 2;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--ev-line);
    border-radius: 16px;
    background: var(--ev-panel);
  }

  #teajr-community-events#teajr-community-events.ev-desktop [data-ev-results]:has(.ev-calendar) > .ev-section-heading {
    padding-top: 0;
  }
}

#teajr-community-events#teajr-community-events.ev-desktop .ev-desktop-ticket-summary {
  padding: 20px;
}

#teajr-community-events#teajr-community-events.ev-desktop .ev-desktop-ticket-summary p {
  color: var(--ev-dim) !important;
  margin-top: 4px;
}

#teajr-community-events#teajr-community-events#teajr-community-events.ev-desktop .ev-ticket-color input {
  width: 48px;
  height: 32px;
  padding: 0;
  cursor: pointer;
}

.cm-hub__feed-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cm-hub__feed-actions [data-community-events-open] {
  white-space: nowrap;
}

.ev-checkout-sheet {
  width: min(940px, calc(100% - 32px));
  height: min(690px, calc(100dvh - 32px));
  padding: 0;
  border: 1px solid var(--pc-line, var(--line));
  border-radius: 22px;
  background: var(--pc-page, var(--paper));
  color: var(--pc-ink, var(--c-ink));
  overflow: hidden;
}
.ev-checkout-sheet[open] { display: flex; flex-direction: column; }
.ev-checkout-sheet::backdrop { background: rgb(10 12 18 / .5); backdrop-filter: blur(4px); }
.ev-checkout-sheet > header { display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--pc-line, var(--line)); }
.ev-checkout-sheet h2 { margin: 0 auto 0 0; font-size: 16px; }
.ev-checkout-sheet > header button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--pc-soft, var(--panel)); color: inherit; font-size: 22px; cursor: pointer; }
.ev-checkout-sheet iframe { flex: 1; width: 100%; min-height: 0; border: 0; }

.cm-events-active > :is(.cm-center, .cm-side2),
.tab-community:has(.cm-events-active) #cm-fab-post {
  display: none !important;
}

#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub {
  position: static;
  grid-column: 2 / -1;
  grid-row: 1;
  min-width: 0;
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
  touch-action: auto;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-app {
  background: transparent;
  min-height: 0;
  padding: 0 0 40px;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-hub-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--cm-explore-width, 280px);
  gap: clamp(24px, 2.5vw, 36px);
  align-items: start;
}

#teajr-community-events#teajr-community-events.ev-in-hub :is(.ev-hub-main, .ev-hub-rail) {
  min-width: 0;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-header {
  position: static;
  padding: 12px 0 18px;
  background: transparent;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-feed {
  padding: 16px 0 0;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-detail-art {
  position: relative;
  top: auto;
  aspect-ratio: 1.8;
  border-radius: 16px;
}

#teajr-community-events#teajr-community-events.ev-in-hub[data-screen="feed"] .ev-header {
  border-bottom: 0;
  padding: 12px 0 8px;
}

#teajr-community-events#teajr-community-events.ev-in-hub[data-screen="feed"] .ev-header h1 {
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

#teajr-community-events#teajr-community-events.ev-in-hub[data-screen="feed"] .ev-viewbar {
  gap: 12px;
  margin: 0 0 8px;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-segments {
  flex: 1;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-segments button i {
  margin-right: 6px;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-host-tools {
  flex-wrap: wrap;
  gap: 0 16px;
  padding-bottom: 12px;
}

#teajr-community-events#teajr-community-events.ev-in-hub[data-screen="feed"] .ev-card {
  display: flex;
  flex-direction: column;
  background: var(--ev-bg);
  border: 1px solid var(--ev-line);
  border-radius: 16px;
}

#teajr-community-events#teajr-community-events.ev-in-hub[data-screen="feed"] .ev-card[data-selected] {
  outline: 2px solid var(--ev-action);
  outline-offset: 2px;
}

#teajr-community-events#teajr-community-events.ev-in-hub[data-screen="feed"] .ev-card-body {
  flex: 1;
  min-height: 92px;
  padding: 12px;
  background: transparent;
  color: var(--ev-ink) !important;
}

#teajr-community-events#teajr-community-events.ev-in-hub[data-screen="feed"] .ev-poster {
  background: var(--ev-raised);
}

#teajr-community-events#teajr-community-events.ev-in-hub[data-screen="feed"] :is(.ev-card-copy > span, .ev-no-photo) {
  color: var(--ev-dim) !important;
}

#teajr-community-events#teajr-community-events.ev-in-hub[data-screen="feed"] .ev-arrow {
  background: var(--ev-raised);
  color: var(--ev-ink) !important;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-card {
  background: var(--ev-bg);
  border: 1px solid var(--ev-line);
  border-radius: 20px;
  color: var(--ev-ink) !important;
  overflow: hidden;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-card .ev-detail-art {
  background: var(--ev-raised);
  border-radius: 0;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-body {
  padding: clamp(16px, 1.5vw, 24px);
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-category {
  margin-bottom: 4px;
  color: var(--ev-dim) !important;
  font-size: 12px;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-body > h2 {
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.15;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-facts {
  display: grid;
  gap: 12px;
  margin: 16px 0 20px;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-facts > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  overflow-wrap: anywhere;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-fact-icon {
  display: grid;
  flex: 0 0 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--ev-raised);
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-facts :is(time, strong) {
  font-weight: 600 !important;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-facts small {
  display: block;
  color: var(--ev-dim) !important;
  font-size: 12px;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-disclosure {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border-top: 1px solid var(--ev-line);
  color: var(--ev-ink) !important;
  font-size: 14px;
  font-weight: 600 !important;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-disclosure span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ev-dim) !important;
  font-size: 12px;
  font-weight: 400 !important;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-actions [data-ev="share"] {
  width: 48px;
  padding: 0;
  border-radius: 14px;
  background: var(--ev-panel);
  border-color: var(--ev-line);
  color: var(--ev-ink) !important;
}

@media (min-width: 1181px) {
  #teajr-community-events#teajr-community-events.ev-in-hub[data-screen="feed"] .ev-hub-columns {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(12px, 1.3vw, 24px);
  }

  #teajr-community-events#teajr-community-events.ev-in-hub[data-screen="feed"] .ev-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  #teajr-community-events#teajr-community-events.ev-in-hub[data-screen="feed"] .ev-app {
    padding-bottom: 0;
  }

  #teajr-community-events#teajr-community-events.ev-in-hub[data-screen="feed"] .ev-hub-main {
    padding-bottom: 40px;
  }

  #teajr-community-events#teajr-community-events.ev-in-hub[data-screen="feed"] .ev-hub-rail {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }

  html:not(.ws-on) .cm-desktop-hub[data-page="front"] #teajr-community-events#teajr-community-events.ev-in-hub [data-ev-preview] {
    margin-inline-end: calc(-1 * var(--cm-frame-gutter, 0px));
  }

  #teajr-community-events#teajr-community-events.ev-in-hub .ev-hub-rail .ev-preview-card {
    margin: 0 12px 24px 0;
    border-top: 0;
    border-start-start-radius: 0;
    border-start-end-radius: 0;
  }
}

#teajr-community-events#teajr-community-events.ev-in-hub [data-ev-preview]:empty {
  display: none;
}

@media (max-width: 1180px) {
  #teajr-community-events#teajr-community-events.ev-in-hub .ev-app { padding-inline: 16px; }
  #teajr-community-events#teajr-community-events.ev-in-hub .ev-hub-columns { grid-template-columns: minmax(0, 1fr); }
  #teajr-community-events#teajr-community-events.ev-in-hub [data-ev-preview] { display: none; }
}

@media (max-width: 860px) {
  #teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub { grid-column: 1 / -1; }
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-tools {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-tools .ev-save {
  position: static;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-actions > div > .ev-primary {
  position: relative;
  justify-content: center;
  padding-inline: 32px;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-actions > div > .ev-primary > i {
  position: absolute;
  right: 14px;
}


#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-card .ev-detail-tabs {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--ev-line);
  border-radius: 0;
  background: transparent;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-card .ev-detail-tabs button {
  padding: 8px 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-card .ev-detail-tabs button.is-active {
  border-bottom-color: var(--ev-action);
  background: transparent;
}

#teajr-community-events#teajr-community-events.ev-in-hub[data-screen="detail"] .ev-preview-card .ev-detail-tabs {
  margin-top: 20px;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-card .ev-detail-panel {
  padding-bottom: 4px;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-card .ev-detail-panel h2 {
  font-size: 16px;
}

#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-management {
  margin-top: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--ev-line);
}

/* Events is a full desktop destination, with one header above both columns. */
#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub {
 position: fixed; inset: 0; width: 100%; height: 100dvh; max-height: 100dvh;
 background: var(--ev-bg); overflow-y: auto; z-index: 2147483646;
}
#teajr-community-events#teajr-community-events.ev-in-hub .ev-app { min-height: 100%; }
#teajr-community-events#teajr-community-events.ev-in-hub .ev-content > .ev-header {
 position: sticky; top: 0; z-index: 5; background: var(--ev-bg);
 min-height: 80px; padding: 16px 32px; border-bottom: 1px solid var(--ev-line);
}
#teajr-community-events#teajr-community-events.ev-in-hub .ev-content > .ev-header h1 { font-size: 22px; letter-spacing: -.025em; }
#teajr-community-events#teajr-community-events.ev-in-hub .ev-hub-columns {
 max-width: 1680px; margin-inline: auto; padding: 28px 32px;
 grid-template-columns: minmax(0,1fr) minmax(320px,440px); gap: 32px;
}
#teajr-community-events#teajr-community-events.ev-in-hub .ev-feed { padding: 0; }
#teajr-community-events#teajr-community-events.ev-in-hub .ev-segments { display: flex; gap: 8px; }
#teajr-community-events#teajr-community-events.ev-in-hub .ev-segments button {
 flex: none; padding: 10px 18px; min-height: 44px; border-radius: 24px;
 background: transparent !important; color: var(--ev-ink) !important; opacity: 1 !important;
}
#teajr-community-events#teajr-community-events.ev-in-hub .ev-segments button.is-active {
 background: var(--ev-ink) !important; color: var(--ev-bg) !important; border-bottom: 0;
}
#teajr-community-events#teajr-community-events.ev-in-hub .ev-host-tools { padding: 12px 0 24px; }
#teajr-community-events#teajr-community-events.ev-in-hub .ev-dashboard-entry {
 padding: 10px 16px; border: 1px solid var(--ev-line); border-radius: 22px; font-weight: 650 !important;
}
#teajr-community-events#teajr-community-events.ev-in-hub .ev-hub-rail { position: sticky; top: 108px; }
#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-card .ev-detail-art { aspect-ratio: 1.8; }
@media (max-width: 1000px) {
 #teajr-community-events#teajr-community-events.ev-in-hub .ev-hub-columns { grid-template-columns: minmax(0,1fr); padding: 24px; }
 #teajr-community-events#teajr-community-events.ev-in-hub .ev-hub-rail { position: static; }
}

/* Owner Events follows the Shop and Booking workspace frame. */
#teajr-community-events#teajr-community-events.ev-desktop .ev-workspace-header {
 display: flex; gap: 12px; align-items: center;
}
#teajr-community-events#teajr-community-events.ev-desktop .ev-workspace-identity {
 display: flex; align-items: center; gap: 8px; flex: 1;
 font-size: 16px;
}
#teajr-community-events#teajr-community-events.ev-desktop .ev-workspace-identity img { width: 34px; height: 34px; object-fit: cover; border-radius: 50%; }
#teajr-community-events#teajr-community-events.ev-desktop .ev-workspace-identity strong { font-weight: 700 !important; }
#teajr-community-events#teajr-community-events.ev-desktop .ev-header > .ev-dashboard-header-actions {
 display: flex; align-items: center; gap: 10px; flex: none;
}
#teajr-community-events#teajr-community-events.ev-desktop[data-screen="dashboard"] .ev-dashboard {
 grid-template-columns: 224px minmax(0,1fr); min-height: calc(100dvh - 80px);
 border: 0; border-radius: 0; background: color-mix(in srgb,var(--ev-ink) 4%,var(--ev-bg));
}
#teajr-community-events#teajr-community-events.ev-desktop .ev-dashboard nav {
 padding: 24px 16px; gap: 4px; background: var(--ev-bg);
}
#teajr-community-events#teajr-community-events.ev-desktop .ev-dashboard nav > span {
 min-height: 40px; margin-bottom: 12px; padding: 0 12px 16px;
 border-bottom: 1px solid var(--ev-line); font-size: 14px; font-weight: 600 !important;
 color: var(--ev-ink) !important; line-height: 24px;
}
#teajr-community-events#teajr-community-events.ev-desktop .ev-dashboard nav button { min-height: 36px; gap: 12px; font-size: 14px; }
#teajr-community-events#teajr-community-events.ev-desktop .ev-dashboard-main { padding: 20px 32px 40px; }
#teajr-community-events#teajr-community-events.ev-desktop .ev-dashboard-heading h2 { font-size: 28px; font-weight: 600 !important; }
body.community-events-open .nt-panel { z-index: 2147483647; }
@media (max-width: 760px) {
 #teajr-community-events#teajr-community-events.ev-desktop[data-screen="dashboard"] .ev-dashboard { grid-template-columns: minmax(0,1fr); }
 #teajr-community-events#teajr-community-events.ev-desktop .ev-dashboard nav { flex-direction: row; padding: 8px 16px; }
}

/* Keep event navigation and the selected-event panel smooth under page themes. */
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-card {
 border: 1px solid var(--ev-line) !important; border-radius: 24px !important;
 overflow: hidden !important; background: var(--ev-bg) !important;
}
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-card .ev-detail-art {
 border-radius: 0 !important; overflow: hidden !important;
}
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-segments {
 display: inline-flex !important; flex: 0 1 auto !important; gap: 4px !important;
 padding: 4px !important; border-radius: 28px !important;
 background: var(--ev-panel) !important; border: 1px solid var(--ev-line) !important;
}
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-segments button {
 min-height: 40px !important; padding: 8px 18px !important; border: 0 !important;
 border-radius: 24px !important; background: transparent !important;
 color: var(--ev-dim) !important; box-shadow: none !important;
}
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-segments button.is-active {
 background: var(--ev-bg) !important; color: var(--ev-ink) !important;
 box-shadow: 0 1px 4px #00000014 !important; font-weight: 650 !important;
}
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-segments button::after {
 content: none !important; display: none !important;
}
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-viewbar { justify-content: space-between; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-card:focus:not(:focus-visible) { outline: none !important; }

/* Luma reference: compact event rows, measured type, quiet registration actions. */
@media (min-width: 1001px) {
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub { --ev-action: var(--ev-ink); --ev-on-action: var(--ev-bg); }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-hub-columns { max-width: 1280px; grid-template-columns: minmax(0,1fr) 420px; gap: 40px; padding-block: 32px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-grid { grid-template-columns: minmax(0,1fr) !important; gap: 14px !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub [data-ev-results] .ev-card { display: grid !important; grid-template-columns: minmax(0,1fr) 132px !important; align-items: center; gap: 20px; padding: 18px !important; border: 1px solid var(--ev-line) !important; border-radius: 18px !important; outline: none !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub [data-ev-results] .ev-card[data-selected] { border-color: var(--ev-dim) !important; background: var(--ev-panel) !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub [data-ev-results] .ev-poster { grid-column: 2; grid-row: 1; width: 132px !important; height: 132px !important; aspect-ratio: 1 !important; border-radius: 12px !important; overflow: hidden; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub [data-ev-results] .ev-card-body { grid-column: 1; grid-row: 1; padding: 0 !important; min-height: 132px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub [data-ev-results] .ev-card-copy { gap: 8px !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub [data-ev-results] .ev-card-heading strong { font-size: 19px !important; line-height: 1.3 !important; font-weight: 650 !important; color: var(--ev-ink) !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub [data-ev-results] .ev-card-schedule { font-size: 13px !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub [data-ev-results] :is(.ev-card-location,.ev-status) { font-size: 12px !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub [data-ev-results] .ev-arrow { display: none !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-body { padding: 24px !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-body > h2 { font-size: 26px !important; line-height: 1.2 !important; letter-spacing: -.025em; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-facts { margin-block: 20px !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-fact-icon { width: 36px !important; height: 36px !important; background: transparent !important; border: 1px solid var(--ev-line); border-radius: 10px !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-facts :is(time,strong) { font-size: 14px !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-actions .ev-primary { min-height: 44px !important; border-radius: 12px !important; background: var(--ev-ink) !important; color: var(--ev-bg) !important; font-size: 14px !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-preview-actions .ev-secondary { border-radius: 12px !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-host-tools { padding-block: 12px 20px !important; }
}
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-segments button { text-decoration: none !important; }

/* Header-level view switching and a real desktop month canvas. */
@media (min-width: 1001px) {
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-workspace-switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px; margin-left: 12px; background: var(--ev-panel); border-radius: 24px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-workspace-switch button { border: 0; border-radius: 20px; padding: 8px 18px; min-height: 36px; background: transparent; color: var(--ev-dim) !important; font-weight: 600 !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-workspace-switch button[aria-pressed="true"] { background: var(--ev-bg); color: var(--ev-ink) !important; box-shadow: 0 1px 4px #0002; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-host-tools { padding: 0 0 16px !important; min-height: 0; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub [data-ev-results]:has(.ev-calendar) { display: block !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub [data-ev-results] > .ev-calendar { width: 100%; padding: 0 !important; margin: 0 0 24px !important; border: 1px solid var(--ev-line); border-radius: 18px; background: var(--ev-bg) !important; overflow: hidden; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-calendar > header { padding: 12px 16px; border-bottom: 1px solid var(--ev-line); }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-calendar-days { gap: 0 !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-calendar-days > small { font-size: 12px; padding: 10px 0; background: var(--ev-panel); }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-calendar-days > :is(button,span) { min-height: 104px !important; border-radius: 0 !important; border: 0; border-top: 1px solid var(--ev-line); border-right: 1px solid var(--ev-line); text-align: left; padding: 8px !important; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-calendar-days button.is-selected { background: var(--ev-panel) !important; color: var(--ev-ink) !important; box-shadow: inset 0 0 0 2px var(--ev-ink); }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-day-number { font-size: 13px; font-weight: 600 !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-day-event { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10px; line-height: 1.5; padding: 2px 4px; border-radius: 4px; background: var(--ev-panel); }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-detail-art:has(.ev-no-photo) { aspect-ratio: auto !important; height: 90px !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-detail-art:has(.ev-no-photo) .ev-no-photo { font-size: 16px !important; }
}
@media (min-width: 1001px) {
 #teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-in-hub .ev-day-event {
  white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
 }
}

/* Event records use the same measured surface as owner detail drawers. */
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-card { border-radius: 20px !important; border: 1px solid var(--ev-line) !important; box-shadow: none !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-body { padding: 24px !important; display: flex; flex-direction: column; gap: 20px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-body > * { margin: 0; min-width: 0; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-body > h2 { font-size: 24px !important; line-height: 1.25; font-weight: 600 !important; letter-spacing: -.035em; overflow-wrap: anywhere; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-category { font-size: 12px !important; color: var(--ev-dim) !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-facts { display: grid; gap: 16px; padding: 16px; border: 1px solid var(--ev-line); border-radius: 12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-facts > div { gap: 12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-fact-icon { width: 32px; height: 32px; border-radius: 8px; font-size: 14px; flex: none; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-facts :is(time,strong) { font-size: 13px !important; line-height: 1.5; font-weight: 500 !important; overflow-wrap: anywhere; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-facts small { font-size: 12px !important; line-height: 1.5; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events :is(.ev-preview-actions,.ev-record-actions,.ev-attendee-contact) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events :is(.ev-primary,.ev-secondary) { min-height: 36px !important; padding: 8px 14px !important; border-radius: 8px !important; font-size: 13px !important; line-height: 1.4; font-weight: 500 !important; box-shadow: none !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-actions > div { min-width: 0; flex: 1; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-actions > button { width: 36px; height: 36px; flex: none; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-disclosure { padding: 0 !important; font-size: 13px; min-height: 32px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events #ev-preview-details { border: 1px solid var(--ev-line); border-radius: 12px; overflow: hidden; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-card .ev-detail-tabs { display: flex !important; gap: 0; padding: 4px !important; overflow-x: auto; border-bottom: 1px solid var(--ev-line); }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-card .ev-detail-tabs button { display: flex; flex: 1 0 auto; flex-direction: row; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 8px !important; border: 0 !important; border-radius: 8px; font-size: 11px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-card .ev-detail-tabs button i { font-size: 12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-card .ev-detail-tabs button::after { display: none; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-card .ev-detail-tabs button.is-active { background: var(--ev-panel) !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-card .ev-detail-panel { padding: 16px !important; font-size: 13px; line-height: 1.65; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-card .ev-detail-panel h2 { font-size: 13px !important; font-weight: 600 !important; margin: 0 0 12px !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-card .ev-detail-panel p { font-size: 12px !important; line-height: 1.65; overflow-wrap: anywhere; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-description { white-space: pre-wrap; overflow-wrap: anywhere; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-schedule { padding: 12px 0; gap: 16px; font-size: 12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-schedule span { min-width: 68px; font-variant-numeric: tabular-nums; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-management { border: 1px solid var(--ev-line); border-radius: 12px; padding: 16px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-management { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; margin: 0; border: 0; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-management .ev-text { min-height: 32px; font-size: 12px; padding: 4px 0; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-ticket-options { display: grid; gap: 8px; margin: 0; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-ticket-options h2 { font-size: 13px; margin: 0 0 4px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-ticket-choice { padding: 12px; border-radius: 8px; gap: 12px; min-height: 56px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-ticket-choice strong { font-size: 13px; font-weight: 500 !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-ticket-choice small { font-size: 12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events :is(.ev-registration-cancel-note,.ev-registration-inform) { padding: 16px; border-radius: 12px; font-size: 12px; line-height: 1.6; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events :is(.ev-registration-cancel-note,.ev-registration-inform) h2 { font-size: 15px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registrant { max-width: 540px; padding: 24px; box-sizing: border-box; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-attendee-identity { display: flex; align-items: flex-start; gap: 12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-attendee-identity > div { min-width: 0; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-attendee-identity h2 { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 600 !important; letter-spacing: -.035em; overflow-wrap: anywhere; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-attendee-identity p { font-size: 12px; line-height: 1.6; margin: 8px 0 0; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-attendee-contact { margin-top: 20px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registrant-form { display: grid; gap: 20px; margin-top: 20px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-record-group { padding: 16px; border: 1px solid var(--ev-line); border-radius: 12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-record-group h3 { margin: 0 0 16px; font-size: 13px; font-weight: 600 !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-fields { gap: 16px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-field { min-width: 0; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-field label { font-size: 12px; font-weight: 500 !important; line-height: 1.5; overflow-wrap: anywhere; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-field :is(input,select,textarea) { min-width: 0; width: 100%; box-sizing: border-box; min-height: 40px; border-radius: 8px; padding: 10px 12px; font-size: 13px; line-height: 1.5; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-field textarea { min-height: 96px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registrant-danger { margin: 0; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registrant-danger p { font-size: 12px; line-height: 1.6; margin: 0 0 16px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-danger-action { color: var(--ev-danger,#c9362b) !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form { max-width: 540px; padding: 24px; gap: 20px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form .ev-field-card { border-radius: 12px; padding: 16px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-summary h2 { font-size: 20px; line-height: 1.3; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-summary p { font-size: 12px; line-height: 1.6; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form .ev-field-label { font-size: 12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form :is(input,select) { font-size: 13px; min-width: 0; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-row { padding: 16px; gap: 12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-table { border-radius: 12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-stats strong { font-size: 22px; font-weight: 500 !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-stats span { font-size: 12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events [hidden] { display: none !important; }
@media (max-width: 600px) {
 #teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-body { padding: 20px !important; }
 #teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registrant { padding: 20px; }
 #teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-record-actions > button { flex: 1 1 auto; }
}

#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-field :is(input,select,textarea) { min-height: 40px !important; padding: 10px 12px !important; border-radius: 8px !important; background: var(--ev-bg) !important; font-size: 13px !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-field textarea { min-height: 96px !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events:is([data-screen="registrant"],[data-screen="roster"],[data-screen="ticket-setup"]) .ev-content > .ev-header { min-height: 58px; padding: 8px 20px; gap: 12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events:is([data-screen="registrant"],[data-screen="roster"],[data-screen="ticket-setup"]) .ev-content > .ev-header h1 { font-size: 13px; line-height: 1.5; letter-spacing: 0; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events:is([data-screen="registrant"],[data-screen="roster"],[data-screen="ticket-setup"]) .ev-content > .ev-header p { font-size: 11px; line-height: 1.5; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form .ev-field-card { background: var(--ev-bg) !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form .ev-time-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form .ev-time-pair > label { min-width: 0; padding: 0; border: 0; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form input:not([type="color"]) { height: 40px; margin-top: 8px; border: 1px solid var(--ev-line) !important; border-radius: 8px !important; padding: 8px 12px !important; box-sizing: border-box; width: 100%; font-size: 13px !important; background: var(--ev-bg) !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form .ev-ticket-color input { width: 36px !important; height: 36px !important; border-radius: 8px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-card .ev-detail-tabs button span { border: 0 !important; text-decoration: none; }

#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster { padding: 24px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-heading h2 { font-size: 24px; line-height: 1.25; font-weight: 600 !important; letter-spacing: -.035em; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-heading p { font-size: 12px; line-height: 1.6; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-stats { margin: 20px 0; padding: 16px 0; border-radius: 0; border-inline: 0; background: transparent; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-table { background: var(--ev-bg); }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-search { min-height: 40px; border-radius: 8px; background: var(--ev-bg); }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-search input { min-height: 40px; font-size: 13px !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-sort { min-height: 36px; border-radius: 8px; font-size: 12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-sort select { font-size: 12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-group { font-size: 13px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-empty { padding: 32px 20px; border-radius: 12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-private { font-size: 11px; line-height: 1.6; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-ticket-choice { background: var(--ev-bg) !important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-cancel-note { flex-basis: 100%; }

/* The embedded ticket screen shares the owner detail sheet frame. */
.ev-checkout-sheet { border-radius: 20px; box-shadow: 0 16px 64px #1113181c; }
.ev-checkout-sheet::backdrop { background: #11131829; backdrop-filter: blur(2px); }
.ev-checkout-sheet > header { min-height: 58px; padding: 8px 20px; box-sizing: border-box; }
.ev-checkout-sheet > header h2 { font-size: 13px; font-weight: 600; }
.ev-checkout-sheet > header button { width: 32px; height: 32px; font-size: 20px; flex: none; }
@media (min-width: 760px) {
 .ev-checkout-sheet { width: min(540px,calc(100vw - 24px)); height: calc(100dvh - 24px); max-height: none; margin: 12px 12px 12px auto; }
}

/* Desktop records: one outer surface and open sections. */
@media(min-width:900px){
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-body { gap:28px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events :is(.ev-preview-facts,.ev-record-group,.ev-preview-management,.ev-roster-stats) { padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-management { border-top:1px solid var(--ev-line); padding-top:24px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-card .ev-detail-tabs { border:0!important; border-bottom:1px solid var(--ev-line)!important; border-radius:0!important; padding:0!important; background:transparent!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-card .ev-detail-tabs button { font-size:13px!important; min-height:36px; border-radius:0!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-card .ev-detail-panel { padding:20px 0 0!important; border:0!important; border-radius:0!important; background:transparent!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-card .ev-detail-panel p { font-size:13px!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registrant-form { gap:28px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registrant-danger { border-top:1px solid var(--ev-line); padding-top:24px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form { gap:24px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form .ev-field-card { border:0!important;border-radius:0!important;padding:0!important;background:transparent!important;box-shadow:none!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form .ev-composer-row { padding:0!important;min-height:0!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form .ev-row-content { display:grid;gap:8px;min-width:0; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form input { border:1px solid var(--ev-line)!important;min-height:40px;padding:10px 12px!important;border-radius:8px!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form .ev-time-pair { margin:0!important;gap:16px!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-form .ev-ticket-color input { width:64px!important;height:40px!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-desktop-ticket-summary h2 { font-size:24px;font-weight:600!important;line-height:1.25; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-record-group h3 { margin-bottom:12px; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-field label { font-size:13px; }
}

@media(min-width:900px){
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events #ev-preview-details { border:0!important;border-radius:0!important;background:transparent!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-fact-icon { border:0!important;background:transparent!important;border-radius:0!important;width:20px!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-detail-art:has(.ev-no-photo) { height:44px!important;aspect-ratio:auto!important;background:transparent!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-detail-art>.ev-no-photo { display:none!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-body { gap:24px!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-body>h2 { margin:0!important; }
}

@media(min-width:900px){
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-table { border:0!important;border-radius:0!important;background:transparent!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-roster-row { border:0!important;border-top:1px solid var(--ev-line)!important;border-radius:0!important;padding:16px 0!important;background:transparent!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events :is(.ev-secondary,.ev-attendee-contact a) { background:transparent!important;border:1px solid var(--ev-line)!important;border-radius:8px!important; }
}

@media(min-width:900px){
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-facts { margin:0!important; }
#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events .ev-preview-card .ev-detail-tabs { margin:0!important; }
}

/* Glass event pages sit on the shared app backdrop. */
html[data-appearance="glass"] #teajr-community-events#teajr-community-events.ev-desktop {
  --ev-bg:transparent; --ev-ink:#fff; --ev-dim:rgba(255,255,255,.78);
  --ev-panel:rgba(255,255,255,.14); --ev-raised:rgba(255,255,255,.08);
  --ev-line:rgba(255,255,255,.16); --ev-action:var(--c-accent,#0062ff); --ev-on-action:#fff;
  background:transparent; color:#fff;
}
html[data-appearance="glass"] #teajr-community-events#teajr-community-events.ev-desktop :is(.ev-app,.ev-header,.ev-feed,.ev-detail,.ev-detail-tabs) {
  background:transparent; box-shadow:none;
}
html[data-appearance="glass"].community-events-open .cm-shell { visibility:hidden; }
html[data-appearance="glass"] #teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-desktop {
  --ev-action:#0062ff; --ev-on-action:#fff;
}
html[data-appearance="glass"] #teajr-community-events#teajr-community-events#teajr-community-events#teajr-community-events.ev-desktop .ev-primary {
  background:#0062ff!important; color:#fff!important; -webkit-text-fill-color:#fff!important;
}
