/* Only numeric deadline cells and their status. Shared thresholds come from the UTC clock. */
[data-ed59-urgency="normal"]{--ed59-ink:#e2e8f0;--ed59-tint:rgba(148,163,184,.065);--ed59-edge:rgba(148,163,184,.24)}
[data-ed59-urgency="soon"]{--ed59-ink:#f6d187;--ed59-tint:rgba(245,158,11,.095);--ed59-edge:rgba(245,158,11,.3)}
[data-ed59-urgency="urgent"]{--ed59-ink:#ffb4a9;--ed59-tint:rgba(239,114,102,.11);--ed59-edge:rgba(239,114,102,.34)}
[data-ed59-urgency="expired"]{--ed59-ink:#dba5a8;--ed59-tint:rgba(169,100,109,.075);--ed59-edge:rgba(169,100,109,.26)}
html[data-ed-appearance="light"] [data-ed59-urgency="normal"]{--ed59-ink:#334155;--ed59-tint:rgba(100,116,139,.055);--ed59-edge:rgba(100,116,139,.2)}
html[data-ed-appearance="light"] [data-ed59-urgency="soon"]{--ed59-ink:#80530a;--ed59-tint:rgba(217,143,20,.09);--ed59-edge:rgba(173,111,13,.27)}
html[data-ed-appearance="light"] [data-ed59-urgency="urgent"]{--ed59-ink:#a03835;--ed59-tint:rgba(200,68,59,.075);--ed59-edge:rgba(184,65,59,.28)}
html[data-ed-appearance="light"] [data-ed59-urgency="expired"]{--ed59-ink:#874a52;--ed59-tint:rgba(156,83,95,.06);--ed59-edge:rgba(139,76,87,.23)}
/* Specificity keeps the existing legacy urgency colours from overriding this shared palette. */
html body [data-ed59-urgency][data-ed59-urgency][data-ed59-urgency] :is(.acad-cd-box,.acad-countdownCell,.acad-posted-countdownCell){
  background:var(--ed59-tint)!important;
  border-color:var(--ed59-edge)!important;
  box-shadow:none!important;
  transition:background-color .25s ease,border-color .25s ease;
}
html body [data-ed59-urgency][data-ed59-urgency][data-ed59-urgency] :is(.num,.lab,.lbl,.acad-countdownCell__value,.acad-countdownCell__label,.acad-posted-countdownCell__value,.acad-posted-countdownCell__label,[data-ed58-countdown-status]){
  color:var(--ed59-ink)!important;
  transition:color .25s ease;
}
@media(prefers-reduced-motion:reduce){
  [data-ed59-urgency] *{transition:none!important}
}
