/* Calendar colour tokens. The event chips are deliberately NOT wired to MudBlazor's semantic slots
   (tertiary/secondary/success) any more: those default to saturated brand hues that read as neon on a
   surface, so events looked like an old terminal. Instead each event type is a soft same-hue tint —
   a pale background with darker text of the same family — matching the "heather on warm paper" theme
   (see MainLayout.razor). Day/today/selected markers still follow the theme primary so they track the
   brand automatically. Light-only for now (dark mode was dropped); if it returns, add a
   prefers-color-scheme / theme-scoped block here rather than re-pointing at the semantic slots. */
:root {
    /* Day surfaces */
    --sessions-calendar-day-background-color: var(--mud-palette-surface);
    /* Transparent so out-of-month cells recede into the page between the day-card gutters. */
    --sessions-calendar-day-no-date-background-color: transparent;

    /* Today / selected-day markers: the brand primary, so they track the theme. */
    --sessions-calendar-today-background-color: var(--mud-palette-primary);
    --sessions-calendar-today-text-color: var(--mud-palette-primary-text);
    --sessions-calendar-selected-background-color: var(--mud-palette-primary);
    --sessions-calendar-selected-text-color: var(--mud-palette-primary-text);

    /* Day hover: a faint heather wash rather than a saturated fill. */
    --sessions-calendar-hover-background-color: #f2eef8;
    --sessions-calendar-hover-text-color: var(--mud-palette-text-primary);

    /* Event chips: soft tint background + darker same-hue text (all AA on their own background). */
    --sessions-calendar-event-background-color: #ece7f6;          /* heather tint */
    --sessions-calendar-event-text-color: #4a3d78;                /* plum */
    --sessions-calendar-event-followed-background-color: #f6ecd9; /* amber/bracken tint (#196 follow) */
    --sessions-calendar-event-followed-text-color: #7a5417;
    --sessions-calendar-event-on-now-background-color: #dcefe1;   /* muted green tint */
    --sessions-calendar-event-on-now-text-color: #1f5133;
    --sessions-calendar-overflow-background-color: transparent;
    --sessions-calendar-overflow-text-color: var(--mud-palette-text-secondary);

    /* Accent spine down each chip's left edge: a mid-tone of the chip's own colour family (brand primary /
       secondary / success) — a shade between its tint and its text. Reinforces the tint code without a
       second fill. */
    --sessions-calendar-event-accent-color: var(--mud-palette-primary);
    --sessions-calendar-event-followed-accent-color: var(--mud-palette-secondary);
    --sessions-calendar-event-on-now-accent-color: var(--mud-palette-success);

    /* Event hover / selected: a deeper heather tint, then the solid primary on explicit selection. */
    --sessions-calendar-event-hover-background-color: #ddd3f0;
    --sessions-calendar-event-hover-text-color: #3a2f63;
    --sessions-calendar-event-selected-background-color: var(--mud-palette-primary);
    --sessions-calendar-event-selected-text-color: var(--mud-palette-primary-text);

    --sessions-calendar-day-text-color: var(--mud-palette-text-primary);

    --sessions-calendar-day-border-color: solid 1px var(--mud-palette-table-lines);
}
