/* Agenda — session-card attribute modifiers (.programme-item.is-* / .type-*).

   Per-session state and background-colour variants. Loaded after
   agenda.card.css so these override the base card background. */

.programme-item.is-cancelled .programme-item__title {
	text-decoration: line-through;
	opacity: 0.7;
}

/* ---- Background hierarchy (source order = priority, low → high) ----
   theme-* (track)  <  is-translated  <  type-workshop  <  is-bilateral
   <  type-plenary  <  is-evening  <  inline colour_override.
   All the rules below share specificity (0,2,0) and beat the single-class
   .theme-* track rules; among themselves the LATER declaration wins.

   NOTE: type-plenary lives in agenda.plenary.css and is-evening in
   agenda.evening.css — both load after this file, preserving the order above. */

/* Simultaneously translated — overrides only the TRACK colour (theme-*).
   Declared before the type rules so plenary / workshop / bilateral / evening
   keep their own colour even when the session is also EN/FR-interpreted
   (plenaries almost always are). */

.programme-item.is-translated {
	background: var(--colour-translated);
}

/* Pre-conference workshops (M / A / FD). */

.programme-item.type-workshop {
	background: var(--colour-workshop);
}

/* Bilateral meetings — a workshop subtype (type=workshop, track=BIL),
   detected via SessionView::isBilateral(). Wins over the generic workshop
   colour. */

.programme-item.is-bilateral {
	background: var(--colour-bilateral);
}
