/* One calendar look on every screen (27 Nov 2026 team report: "Calendars are coming differently at
   different places"). The standard is the Quotes & Bookings calendar: white month band with the
   month in brand blue, the weekday row in brand blue with white letters, the chosen day filled in
   brand blue, today outlined, and today spelled out underneath in brand blue.
   Linked last in _Layout, and written at the same weight as the _Layout theme rules
   (html body:not(#_a):not(#_b)) so that neither the Kendo theme nor a page's own sheet wins.
   The reports app draws its calendar with flatpickr and carries the same colours
   (tol-python-reports templates/_date_picker.html). */
html body:not(#_a):not(#_b) .k-calendar-container,
html body:not(#_a):not(#_b) .k-calendar { background:#fff !important; border-color:#e2e8f0 !important; color:#0f172a !important; }

html body:not(#_a):not(#_b) .k-calendar .k-header,
html body:not(#_a):not(#_b) .k-calendar .k-calendar-header { background:#fff !important; border-color:#eef2f7 !important; }
html body:not(#_a):not(#_b) .k-calendar .k-header *,
html body:not(#_a):not(#_b) .k-calendar .k-calendar-header *,
html body:not(#_a):not(#_b) .k-calendar .k-nav-fast,
html body:not(#_a):not(#_b) .k-calendar .k-nav-prev,
html body:not(#_a):not(#_b) .k-calendar .k-nav-next,
html body:not(#_a):not(#_b) .k-calendar .k-title { color:var(--cqm-brand, #1F497D) !important; background:transparent !important; }

html body:not(#_a):not(#_b) .k-calendar thead th,
html body:not(#_a):not(#_b) .k-calendar th { background:var(--cqm-brand, #1F497D) !important; color:#fff !important; border-color:var(--cqm-brand, #1F497D) !important; }

html body:not(#_a):not(#_b) .k-calendar td,
html body:not(#_a):not(#_b) .k-calendar td > .k-link { color:#0f172a !important; background:transparent !important; }
html body:not(#_a):not(#_b) .k-calendar td.k-state-hover > .k-link,
html body:not(#_a):not(#_b) .k-calendar td > .k-link:hover { background:#eff5ff !important; color:var(--cqm-brand, #1F497D) !important; border-radius:6px; }
html body:not(#_a):not(#_b) .k-calendar td.k-today > .k-link { color:var(--cqm-brand, #1F497D) !important; box-shadow:inset 0 0 0 1px var(--cqm-brand, #1F497D) !important; border-radius:6px; }
html body:not(#_a):not(#_b) .k-calendar td.k-state-selected,
html body:not(#_a):not(#_b) .k-calendar td.k-selected { background:transparent !important; box-shadow:none !important; }
html body:not(#_a):not(#_b) .k-calendar td.k-state-selected > .k-link,
html body:not(#_a):not(#_b) .k-calendar td.k-selected > .k-link { background:var(--cqm-brand, #1F497D) !important; color:#fff !important; border-radius:6px; }

html body:not(#_a):not(#_b) .k-calendar .k-footer { background:#fff !important; border-color:#eef2f7 !important; }
html body:not(#_a):not(#_b) .k-calendar .k-footer .k-link,
html body:not(#_a):not(#_b) .k-calendar .k-nav-today { color:var(--cqm-brand, #1F497D) !important; background:transparent !important; text-transform:uppercase; }
