/* FREE SAILING — events.html only: the list/calendar toggle, provenance
   badges and the FullCalendar container. Kept separate from site.css the
   same way class-calendar.css is, rather than growing the shared file for
   one page's needs. */

#ev-cal-wrap { margin-top: 4px; }
#ev-cal {
  background: var(--paper, #fff);
  border: 1px solid var(--line, #e3e6ec);
  border-radius: 14px;
  padding: 14px;
}

/* Provenance is a fact about the row, not a verdict — quiet, small, never
   louder than the event's own name. Reuses the site's existing chip
   colour vocabulary (sand/teal/cyan already carry meaning elsewhere) so
   this doesn't invent a fourth palette. */
.ev-prov { font-size: 11px; letter-spacing: .02em; }
.ev-prov.found { background: var(--ink-6, #eef1f6); color: var(--ink-60, #5b6472); }
.ev-prov.posted   { background: rgba(2,160,164,.12); color: #027a7d; }
.ev-prov.confirmed{ background: rgba(2,150,90,.14); color: #0a7a4a; }
/* community: the site's own "sand" chip tone (site.css .chip.sand), reused
   rather than a fifth invented palette — quiet and warm, not a warning. */
.ev-prov.community{ background: #FBF1E3; color: #8A5A28; }

.ev-confirm-link {
  background: none; border: 0; padding: 0; margin-top: 6px;
  font-size: 12px; color: var(--ink-50, #6b7280); text-decoration: underline;
  cursor: pointer;
}
.ev-confirm-box {
  margin-top: 10px; padding: 12px; border-radius: 10px;
  background: var(--ink-4, #f5f7fa); border: 1px solid var(--line, #e3e6ec);
}
.ev-confirm-box .dm-in { margin-bottom: 8px; }

/* FullCalendar's own default palette is a generic blue; these overrides
   pull it onto the site's navy/cyan without touching its bundled CSS
   (injected at runtime, so it can't be edited directly — this file loads
   after it and wins on specificity/cascade order instead). */
.fc { --fc-border-color: var(--line, #e3e6ec); --fc-page-bg-color: transparent; }
.fc .fc-button-primary { background: var(--navy, #022B83); border-color: var(--navy, #022B83); }
.fc .fc-button-primary:hover { background: var(--navy-deep, #011a52); border-color: var(--navy-deep, #011a52); }
.fc .fc-today-cell, .fc .fc-day-today { background: rgba(2,160,164,.08) !important; }
.fc-event.ev-fc-found { background: #8a93a3; border-color: #8a93a3; }
.fc-event.ev-fc-posted { background: #027a7d; border-color: #027a7d; }
.fc-event.ev-fc-confirmed { background: #0a7a4a; border-color: #0a7a4a; }

@media (max-width: 640px) {
  #ev-cal { padding: 6px; }
  .fc .fc-toolbar { flex-direction: column; gap: 8px; }
}
