/* Dashboard accent - original teal (override kept in sync with tfld.css) */
:root {
  --tfld-accent: #18c7c3;
}

/* Unit calendar emblems / month chips by category */
.tfld-calrow__emblem,
.tfld-calbadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1em;
  min-height: 1.55em;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-top: 2px;
  flex: 0 0 auto;
  box-sizing: border-box;
}

/* OP - soft green (main operation / FTX) */
.tfld-cal__item--op {
  background: rgba(0, 220, 120, 0.1);
  border-color: rgba(0, 220, 120, 0.2);
}
.tfld-calbadge--op,
.tfld-calrow__emblem--op {
  background: rgba(0, 220, 120, 0.14);
  border: 1px solid rgba(0, 220, 120, 0.28);
  color: #6ee7a8;
}

/* ASI - olive (team / secondary MOS training) */
.tfld-cal__item--asi,
.tfld-cal__item--tr {
  background: rgba(154, 176, 88, 0.12);
  border-color: rgba(154, 176, 88, 0.28);
}
.tfld-calbadge--asi,
.tfld-calrow__emblem--asi,
.tfld-calbadge--tr {
  background: rgba(154, 176, 88, 0.16);
  border: 1px solid rgba(154, 176, 88, 0.34);
  color: #d4e08a;
}

/* SFQC - teal dashboard accent */
.tfld-cal__item--sfqc {
  background: rgba(24, 199, 195, 0.12);
  border-color: rgba(24, 199, 195, 0.28);
}
.tfld-calbadge--sfqc,
.tfld-calrow__emblem--sfqc {
  background: rgba(24, 199, 195, 0.16);
  border: 1px solid rgba(24, 199, 195, 0.34);
  color: #5eead4;
}

/* Unit events - cool blue */
.tfld-calbadge--unit,
.tfld-calrow__emblem--unit {
  background: rgba(0, 170, 255, 0.12);
  border: 1px solid rgba(0, 170, 255, 0.22);
  color: #7dd3fc;
}

/* Team Training - amber */
.tfld-cal__item--tt {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.28);
}
.tfld-calbadge--tt,
.tfld-calrow__emblem--tt {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.34);
  color: #fbbf24;
}

/* Create-event form helpers */
.tfld-cal-create-hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
}
.tfld-cal-allday-opt {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  opacity: 0.78;
  cursor: pointer;
}
.tfld-cal-part-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tfld-cal-part-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.tfld-cal-part-chip__x {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.7;
  padding: 0 2px;
  line-height: 1;
  font-size: 14px;
}
.tfld-cal-part-chip__x:hover {
  opacity: 1;
}
.tfld-calrow__actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: stretch;
}
