/* ═══════════════════════════════════════════════════════════════
   calendar.css — Premium Aesthetics for the Calendar Module
   ═══════════════════════════════════════════════════════════════ */

:root {
  --cal-glass: var(--surface);
  --cal-border: var(--border);
  --cal-bg: var(--bg);
  --cal-text-dim: var(--text3);

  /* Vibrant & Premium Palette */
  --cal-accent: var(--accent);
  --cal-gradient-blue: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
}

.cal-container:not(.active) {
  display: none !important;
}

.cal-container {
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  height: calc(100vh - 100px) !important;
  background: var(--surface);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  color: var(--text);
  overflow: hidden !important;
  border-radius: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  margin: 12px;
}

.cal-grid-wrapper {
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

/* ─── PREMIUM TOOLBAR ───────────────────────────────────── */
.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  gap: 20px;
}

.cal-nav-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cal-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--text);
  font-size: 14px;
}

.cal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-today {
  padding: 0 16px;
  height: 32px;
  border-radius: 20px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin: 0 4px;
  transition: 0.2s;
}

.btn-today:hover {
  background: rgba(255, 255, 255, 0.15);
}

.cal-current-date {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 12px;
}

.cal-view-group {
  display: flex;
  background: var(--surface2);
  padding: 4px;
  border-radius: 25px;
  border: 1px solid var(--border);
}

.cal-view-btn {
  padding: 6px 14px;
  border: none;
  background: transparent;
  color: var(--text2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.2s;
}

.cal-view-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 4px 15px var(--accent-glow);
}

/* ─── DAY/WEEK HEADERS ──────────────────────────────────── */
.cal-days-cols-header {
  display: flex !important;
  border-bottom: 2px solid var(--cal-border);
  background: var(--surface2);
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cal-weekday-header {
  flex: 1;
  padding: 12px 6px;
  text-align: center;
  border-right: 1px solid var(--cal-border);
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.cal-weekday-header:last-child {
  border-right: none;
}

.cal-wd-name {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cal-text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.cal-wd-date {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.cal-weekday-header.today .cal-wd-date {
  color: #3b82f6;
}

.cal-scrollbar-spacer {
  width: 6px;
  flex-shrink: 0;
}

/* ─── TIMELINE ─────────────────────────────────────────── */
.cal-timeline-container {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  position: relative;
}

.cal-timeline-scroll {
  flex: 1 !important;
  overflow-y: auto !important;
  display: flex !important;
  position: relative !important;
}

.cal-time-sidebar {
  width: 60px !important;
  flex-shrink: 0;
  background: var(--surface2);
  border-right: 1px solid var(--border);
  z-index: 10;
}

.cal-time-sidebar-spacer {
  width: 60px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
}

.cal-time-label {
  height: 60px !important;
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
}

.cal-grid-body {
  flex: 1 !important;
  display: flex !important;
  position: relative !important;
  min-height: 1440px !important;
}

.cal-day-column {
  flex: 1 !important;
  position: relative !important;
  border-right: 1px solid var(--border);
  min-height: 1440px !important;
}

.cal-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.cal-hour-line {
  height: 60px !important;
  border-bottom: 1px solid var(--border);
  opacity: 0.3;
  box-sizing: border-box;
}

/* ─── EVENTS ─────────────────────────────────────────────── */
.cal-event-card {
  position: relative;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-left: 3px solid #3b82f6;
  color: #333;
  cursor: pointer;
  margin-bottom: 2px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cal-event-card-timeline {
  position: absolute !important;
  z-index: 20 !important;
  background: rgba(59, 130, 246, 0.08) !important;
  color: #1e293b !important;
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
  border-left: 4px solid #3b82f6 !important;
  border-radius: 8px !important;
  padding: 0 10px !important;
  margin-bottom: 0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
}

.cal-event-card-timeline:hover {
  background: rgba(59, 130, 246, 0.15) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
  z-index: 40 !important;
  transform: translateY(-1px);
}

.cal-event-card-timeline .ev-time {
  font-weight: 800;
  font-size: 9px;
  color: #3b82f6;
  margin-bottom: 0;
  line-height: inherit;
  opacity: 0.9;
  flex-shrink: 0;
}

.cal-event-card-timeline .ev-title {
  font-weight: 700;
  font-size: 11px;
  line-height: 1.1;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Colors for shared logic */
.cal-event-card-timeline.task { border-left-color: #3b82f6 !important; background: rgba(59, 130, 246, 0.08) !important; }
.cal-event-card-timeline.meeting { border-left-color: #10b981 !important; background: rgba(16, 185, 129, 0.08) !important; }
.cal-event-card-timeline.payment { border-left-color: #f59e0b !important; background: rgba(245, 158, 11, 0.08) !important; }

/* ТОЛЬКО ДЛЯ ТАЙМЛАЙНА (НЕДЕЛЯ/ДЕНЬ) */
.cal-day-column .cal-event-card {
  position: absolute;
  left: 2px;
  right: 2px;
  z-index: 10;
  margin-bottom: 0;
}

.cal-event-card:hover {
  z-index: 10;
  background: rgba(59, 130, 246, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cal-event-card .ev-title {
  font-weight: 700;
  margin-bottom: 2px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.cal-event-card .ev-time {
  font-size: 9px;
  opacity: 0.7;
}

/* ─── NOW INDICATOR ─────────────────────────────────────── */
.cal-now-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #ff4757;
  z-index: 50;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

.cal-now-line::before {
  content: '';
  position: absolute;
  left: -4px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4757;
  box-shadow: 0 0 12px #ff4757;
}

.cal-now-line::after {
  content: attr(data-time);
  position: absolute;
  left: -55px;
  top: -10px;
  background: #ff4757;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
}

/* ─── MONTH GRID (GRID VIEW) ────────────────────────────── */
.cal-grid-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--cal-border);
  background: rgba(255, 255, 255, 0.02);
}

.cal-weekday {
  padding: 12px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cal-text-dim);
}

.cal-grid {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  grid-template-rows: repeat(6, 13vh) !important;
  /* Ровно 13% высоты экрана на строку */
  height: auto !important;
  width: 100% !important;
  overflow: hidden !important;
}

.cal-cell {
  border-right: 1px solid var(--cal-border);
  border-bottom: 1px solid var(--cal-border);
  padding: 2px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  height: 13vh !important;
  /* Дублируем для надежности */
}

.cal-cell:hover {
  background: rgba(255, 255, 255, 0.04);
}

.cal-day-num {
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-dim);
  text-align: center;
  width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 4px;
}

.cal-cell.today .cal-day-num {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 10px var(--accent-glow);
}

.cal-cell.other-month {
  opacity: 0.2;
}

.cal-events-list {
  display: block;
  height: 100% !important;
  min-height: 0 !important;
  overflow-y: auto;
  padding-right: 2px;
}

.cal-events-list::-webkit-scrollbar {
  width: 3px;
}

.cal-events-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.cal-event {
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  border-left: 2px solid transparent;
}

.cal-event.task {
  border-left: 2px solid #3b82f6;
}

.cal-event.meeting {
  border-left: 2px solid #10b981;
}

.cal-event.payment {
  border-left: 2px solid #f59e0b;
}

.cal-event.external {
  border-left: 2px solid #ff4757;
  background: rgba(255, 71, 87, 0.1);
}

.cal-event.external[data-source="google"] {
  border-left: 2px solid #4285f4;
  background: rgba(66, 133, 244, 0.1);
}

/* ─── PREMIUM BUTTONS (Sync & Add) ────────────────────────── */
.cal-sync-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
}

.cal-sync-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.cal-sync-status {
  font-size: 8px;
  margin-top: -1px;
}

.cal-sync-status.online {
  color: #10b981;
  text-shadow: 0 0 8px #10b981;
}

.cal-sync-status.offline {
  color: #64748b;
}

.cal-add-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #3b82f6, #6366f1, #3b82f6);
  background-size: 200% auto;
  color: #ffffff !important;
  border: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  animation: calShimmer 4s infinite linear;
}

@keyframes calShimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.cal-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
  filter: brightness(1.1);
}

.cal-add-btn span {
  font-size: 16px;
}

/* ─── LIGHT THEMES — HIGH CONTRAST OVERRIDES ────────────────────── */
.light .cal-container,
.theme-pink .cal-container,
.theme-beige .cal-container,
.theme-sage .cal-container {
  --cal-border: rgba(0, 0, 0, 0.35);
  --cal-text-dim: var(--text2);
  --cal-bg: rgba(255, 255, 255, 0.95);
  background: var(--bg3);
}

.light .cal-toolbar {
  background: var(--bg);
  border-bottom: 2px solid var(--cal-border);
}

.theme-pink .cal-current-date,
.theme-pink .cal-wd-date,
.theme-pink .cal-day-num:not(.cal-cell.today .cal-day-num),
.theme-pink .cal-nav-btn,
.theme-beige .cal-current-date,
.theme-beige .cal-wd-date,
.theme-beige .cal-day-num:not(.cal-cell.today .cal-day-num),
.theme-beige .cal-nav-btn,
.theme-sage .cal-current-date,
.theme-sage .cal-wd-date,
.theme-sage .cal-day-num:not(.cal-cell.today .cal-day-num),
.theme-sage .cal-nav-btn,
.light .cal-current-date,
.light .cal-wd-date,
.light .cal-day-num:not(.cal-cell.today .cal-day-num),
.light .cal-nav-btn {
  color: var(--text) !important;
}

.light .cal-nav-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.15);
}

.light .cal-nav-btn:hover {
  background: rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.3);
}

.theme-pink .btn-today,
.theme-beige .btn-today,
.theme-sage .btn-today,
.light .btn-today {
  background: var(--bg2);
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--text) !important;
}

.theme-pink .cal-view-group,
.theme-beige .cal-view-group,
.theme-sage .cal-view-group,
.light .cal-view-group {
  background: var(--bg2);
  border-color: rgba(0, 0, 0, 0.15);
}

.theme-pink .cal-view-btn,
.theme-beige .cal-view-btn,
.theme-sage .cal-view-btn,
.light .cal-view-btn {
  color: var(--text2);
}

.light .cal-view-btn.active {
  background: var(--accent);
  color: #fff !important;
}

.theme-pink .cal-days-cols-header,
.theme-beige .cal-days-cols-header,
.theme-sage .cal-days-cols-header,
.light .cal-days-cols-header,
.theme-pink .cal-grid-header,
.theme-beige .cal-grid-header,
.theme-sage .cal-grid-header,
.light .cal-grid-header {
  background: var(--bg2);
  border-bottom: 2.5px solid var(--cal-border);
}

.theme-pink .cal-wd-name,
.theme-beige .cal-wd-name,
.theme-sage .cal-wd-name,
.light .cal-wd-name {
  color: var(--text) !important;
  opacity: 1;
  font-weight: 900;
}

.theme-pink .cal-weekday-header,
.theme-beige .cal-weekday-header,
.theme-sage .cal-weekday-header,
.light .cal-weekday-header,
.theme-pink .cal-weekday,
.theme-beige .cal-weekday,
.theme-sage .cal-weekday,
.light .cal-weekday {
  border-right: 1.5px solid var(--cal-border) !important;
}

.theme-pink .cal-time-sidebar,
.theme-beige .cal-time-sidebar,
.theme-sage .cal-time-sidebar,
.light .cal-time-sidebar {
  background: var(--bg);
  border-right: 2.5px solid var(--cal-border);
}

.theme-pink .cal-time-label,
.theme-beige .cal-time-label,
.theme-sage .cal-time-label,
.light .cal-time-label {
  color: var(--text) !important;
  font-weight: 800;
}

.theme-pink .cal-hour-line,
.theme-beige .cal-hour-line,
.theme-sage .cal-hour-line,
.light .cal-hour-line {
  border-bottom: 1.5px solid var(--cal-border);
  opacity: 0.6;
}

.theme-pink .cal-day-column,
.theme-beige .cal-day-column,
.theme-sage .cal-day-column,
.light .cal-day-column {
  border-right: 1.5px solid var(--cal-border) !important;
  opacity: 1;
}

.theme-pink .cal-cell,
.theme-beige .cal-cell,
.theme-sage .cal-cell,
.light .cal-cell {
  border-right: 1.5px solid var(--cal-border) !important;
  border-bottom: 1.5px solid var(--cal-border) !important;
}

.light .cal-cell:hover {
  background: rgba(0, 0, 0, 0.05);
}

.theme-pink .cal-day-num,
.theme-beige .cal-day-num,
.theme-sage .cal-day-num,
.light .cal-day-num {
  color: var(--text) !important;
  font-weight: 900;
}

.light .cal-weekday-header.today .cal-wd-date {
  color: var(--accent) !important;
}

.theme-pink .cal-sync-badge,
.theme-beige .cal-sync-badge,
.theme-sage .cal-sync-badge,
.light .cal-sync-badge {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text) !important;
}

/* Элементы событий в сетке месяца */
.light .cal-event {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text) !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

/* ─── ТЕКУЩЕЕ ВРЕМЯ — видно в любой теме ────────────────────── */
.cal-now-line::after {
  left: -58px;
  min-width: 50px;
  text-align: center;
  z-index: 30;
  font-size: 10px;
}

/* ─── YEAR & SCHEDULE VIEWS ────────────────────────────── */
.cal-year-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 15px;
  height: 100%;
  overflow: auto;
}

.cal-year-month {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
}

.cal-year-month-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 8px;
  cursor: pointer;
  color: var(--accent);
}

.cal-mini-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-size: 9px;
  text-align: center;
}

.cal-mini-cell {
  padding: 2px;
  cursor: pointer;
  border-radius: 2px;
}

.cal-mini-cell:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cal-mini-cell.other {
  opacity: 0.2;
}

.cal-mini-cell.today {
  color: var(--accent);
  font-weight: bold;
}

.cal-mini-cell.has-ev {
  background: rgba(0, 123, 255, 0.2);
}

.cal-schedule {
  padding: 15px;
  overflow: auto;
  height: 100%;
}

.cal-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.cal-view-header-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text3);
  font-weight: 600;
}

.cal-view-header-date {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.cal-schedule-day-header {
  padding: 16px 20px;
  font-weight: 700;
  color: var(--text3);
  font-size: 13px;
  position: sticky;
  top: 0;
  background: var(--surface-all, var(--surface));
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-top: 10px;
}

.cal-schedule-day-header.is-today {
  color: var(--accent);
}

.cal-today-badge {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 800;
}

.cal-schedule-item {
  display: flex;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 6px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.cal-schedule-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.1);
}

.cal-schedule-item.task {
  border-left-color: #3b82f6;
}

.cal-schedule-item.meeting {
  border-left-color: #10b981;
}

.cal-schedule-time {
  width: 75px;
  font-weight: 800;
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
}

.cal-schedule-info {
  flex: 1;
}

.cal-schedule-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  line-height: 1.2;
}

.cal-schedule-meta {
  font-size: 11px;
  opacity: 0.6;
  margin-top: 2px;
}

.light .cal-schedule-day-header {
  background-color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  color: #333 !important;
}

/* ─── COLOR PICKER IN MODAL ─────────────────────────────── */
.cal-color-picker {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.cal-color-opt {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  position: relative;
}

.cal-color-opt:hover {
  transform: scale(1.1);
}

.cal-color-opt.selected {
  border-color: #3b82f6 !important;
  background: rgba(59, 130, 246, 0.15) !important;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3) !important;
}

.cal-color-opt.selected::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

/* ─── GRID REFINEMENTS ───────────────────────────────────── */
.cal-day-column.is-today {
  background: rgba(var(--accent-rgb, 59, 130, 246), 0.12) !important;
}


/* Event types colors */
.cal-event-card.manual {
  border-left-color: var(--cal-event-manual);
}

.cal-event-card.task {
  border-left-color: var(--cal-event-task);
}

.cal-event-card.meeting {
  border-left-color: var(--cal-event-meeting);
}

.cal-event-card.payment {
  border-left-color: var(--cal-event-payment);
}