/* Today remains blue even when that day also contains purple event markers. */
:root{--cal-today:#6bb5ff;--cal-today-bg:#142d49;--cal-today-soft:#102238;--cal-today-ink:#d9edff;--cal-event:#c69aff;--cal-event-bg:#352345;--cal-event-ink:#f1dfff;--cal-local:#54cfb3;--cal-local-bg:#153c34;--cal-local-ink:#c6f8e9}
html[data-theme="light"]{--cal-today:#2474cb;--cal-today-bg:#e3efff;--cal-today-soft:#f0f6ff;--cal-today-ink:#134b8c;--cal-event:#8850b7;--cal-event-bg:#f1e7fc;--cal-event-ink:#602988;--cal-local:#178369;--cal-local-bg:#e1f4ed;--cal-local-ink:#15634f}
.calendar-key{display:flex;align-items:center;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:11px;margin:16px 0 0}.calendar-key span{display:inline-flex;gap:7px;align-items:center}.calendar-key i{display:inline-block;width:10px;height:10px;border-radius:3px;flex-shrink:0}.calendar-key .key-today{background:var(--cal-today)!important}.calendar-key .key-event{background:var(--cal-event)!important}.calendar-key .key-local{background:var(--cal-local)!important}.nc-calendar-legend .calendar-key,.nmc-legend .calendar-key{margin:0}
.ev-root .ev-day.ev-today{background:var(--cal-today-bg);box-shadow:inset 0 0 0 2px var(--cal-today);opacity:1}.ev-root .ev-day.ev-today>.ev-date{background:var(--cal-today);color:#071d34;font-weight:800}.ev-root .ev-mini-grid .ev-day.ev-today{border-radius:6px}.ev-root .ev-mini-grid .ev-day.ev-has-events:not(.ev-today){background:var(--cal-event-bg);border-radius:6px}.ev-root .ev-mini-grid .ev-day.ev-has-events:not(.ev-today) .ev-date{color:var(--cal-event-ink);font-weight:700}.ev-root .ev-dot{background:var(--cal-event);width:5px;height:5px;left:calc(50% - 2px);bottom:0;box-shadow:0 0 0 1px var(--cal-event-bg)}
.ev-root .ev-time-head.ev-today{background:var(--cal-today-bg);color:var(--cal-today-ink);box-shadow:inset 0 3px var(--cal-today);font-weight:700}.ev-today-label{display:inline-block;background:var(--cal-today);color:#071d34;border-radius:4px;padding:2px 5px;margin-right:3px;font-size:9px;text-transform:uppercase}.ev-root .ev-all.ev-today,.ev-root .ev-time-day.ev-today{background-color:var(--cal-today-soft);box-shadow:inset 2px 0 var(--cal-today),inset -2px 0 var(--cal-today)}
.ev-root .ev-chip,.ev-root .ev-time-event{background:var(--cal-event-bg);border-color:var(--cal-event);color:var(--cal-event-ink)}.ev-root .ev-chip small,.ev-root .ev-time-event small{color:var(--cal-event-ink)}.ev-root .ev-more{color:var(--cal-event)}
.nc-calendar .nc-day.today,#nmc-root .nmc-grid .nmc-day.today{background:var(--cal-today-bg);border:2px solid var(--cal-today);box-shadow:inset 0 0 0 1px var(--cal-today);opacity:1}.nc-calendar .nc-day.today>b,#nmc-root .nmc-day.today>b{background:var(--cal-today);color:#071d34;border-radius:4px;padding:3px 6px;width:fit-content}.nc-calendar .nc-day.selected:not(.today),#nmc-root .nmc-day.selected:not(.today){outline:2px dashed var(--muted);outline-offset:1px}.nc-calendar .nc-day.today.selected,#nmc-root .nmc-day.today.selected{outline:2px solid var(--cal-today);outline-offset:1px}
.nc-calendar .nc-day .general,#nmc-root .nmc-marker.general,#nmc-root .nmc-badge.general{background:var(--cal-event-bg);color:var(--cal-event-ink);border-color:var(--cal-event)}.nc-calendar .nc-day .local,#nmc-root .nmc-marker.local,#nmc-root .nmc-badge.local{background:var(--cal-local-bg);color:var(--cal-local-ink);border-color:var(--cal-local)}#nmc-root .nmc-legend i.general{background:var(--cal-event)}#nmc-root .nmc-legend i.local{background:var(--cal-local)}
html[data-theme="light"] .ev-root .ev-day.ev-today>.ev-date,html[data-theme="light"] .ev-today-label,html[data-theme="light"] .nc-calendar .nc-day.today>b,html[data-theme="light"] #nmc-root .nmc-day.today>b{color:#fff}
