/* Keep the Events geometry and interactions; use the current LFH base palette.
   Repetition matches the specificity of the inherited dashboard overrides. */
html body[data-markets-calendar].homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn {
  --m1-green:#4c5c68; --m1-ink:#46494c; --m1-muted:#4c5c68;
  --m1-white:#ffffff; --m1-ground:#ffffff; --m1-line:#c5c3c6;
  --m1-line-strong:#4c5c68; --m1-sage:#dcdcdd; --m1-cool:#dcdcdd;
  --m1-greygreen:#dcdcdd; --m1-cool-line:#c5c3c6;
  background:#ffffff!important; color:#46494c!important;
}
html body[data-markets-calendar].homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn
  :is(.lfh-hero,.home-layout,.lfh-events-panel,.lfh-panel,#homeSearch,#calendar,.home-event,.hero-search,.more-filters) {
  background:#ffffff!important; color:#46494c!important; border-color:#c5c3c6!important;
}
html body[data-markets-calendar].homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn
  :is(.m1-tile,.cal-nav-btn,.lfh-cal-nav,.cal-sheet-close,.nl-band) {
  background:#dcdcdd!important; color:#46494c!important; border-color:#c5c3c6!important;
}
html body[data-markets-calendar].homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn
  :is(.m1-tile--d,#homeSearch>.hs-seg,#homeSearch select,#homeSearch input) {
  background-color:#ffffff!important; color:#46494c!important;
}
html body[data-markets-calendar].homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn
  :is(.home-event h3,.home-event h3 a,.home-when,.home-where,.edg-label,.lfh-events-heading,.m1-hello,.hero-wordmark,.nl-band-title) {
  color:#46494c!important;
}
html body[data-markets-calendar].homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn
  :is(.home-event p,.home-age,.home-category,.home-more,.home-save,.m1-sub,.m1-eyebrow,.m1-when,.psc-eyebrow,.nl-band-sub,.nl-band-eyebrow,#homeSearch label,#homeSearch summary) {
  color:#4c5c68!important;
}
html body[data-markets-calendar].homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn
  :is(.m1-chip[aria-pressed=true],.load-more-btn) {
  background:#4c5c68!important; color:#ffffff!important; border-color:#4c5c68!important;
}
html body[data-markets-calendar].homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn
  :is(.events-progress) { background:#dcdcdd!important; }
html body[data-markets-calendar].homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn
  :is(.events-progress-bar) { background:#1985a1!important; }

/* Markets' own top (owner, 3 November 2026): a market awning, a breadcrumb,
   the page name and one line, so it never reads as the homepage. The
   generator removes the greeting, the four action cards and every sponsor
   mount; this only styles what replaces them. */
html body[data-markets-calendar] .mk-hero{background:#e8f3f6;border-bottom:1px solid #badae3;padding:0 0 24px;font-family:'Inter',system-ui,sans-serif}
html body[data-markets-calendar] .mk-awning{height:30px;background:
  radial-gradient(circle at 18px 0,#1985a1 18px,transparent 18.5px) 0 12px/72px 18px repeat-x,
  radial-gradient(circle at 54px 0,#ffffff 18px,transparent 18.5px) 0 12px/72px 18px repeat-x,
  repeating-linear-gradient(90deg,#1985a1 0 36px,#ffffff 36px 72px) 0 0/100% 12px no-repeat}
html body[data-markets-calendar] .mk-hero-in{max-width:1440px;margin:0 auto;padding:16px 16px 0;box-sizing:border-box}
html body[data-markets-calendar] .mk-crumb{font-size:15px;line-height:1.4;color:#4c5c68;margin:0 0 8px}
html body[data-markets-calendar] .mk-crumb a{color:#146a81;text-decoration:underline}
html body[data-markets-calendar] .mk-crumb span{margin:0 4px}
html body[data-markets-calendar] .mk-title{font:800 34px/1.1 'Inter',system-ui,sans-serif;color:#146a81;margin:0 0 10px;letter-spacing:-.01em}
html body[data-markets-calendar] .mk-lede{font-size:17px;line-height:1.5;color:#46494c;margin:0 0 6px;max-width:620px}
html body[data-markets-calendar] .mk-back{display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:600;color:#146a81;text-decoration:underline}

/* Phones: the calendar sits under the search, above the list. */
html body[data-markets-calendar] .mk-phone-cal{margin:14px 0 8px;border:1px solid #badae3;border-radius:12px;padding:14px 14px 8px;background:#ffffff;font-family:'Inter',system-ui,sans-serif}
html body[data-markets-calendar] .mk-phone-cal h2{font:700 17px/1.3 'Inter',system-ui,sans-serif;color:#146a81;margin:0 0 6px}
html body[data-markets-calendar] .mk-cal-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 6px}
html body[data-markets-calendar] .mk-cal-head b{font:700 17px/1.3 'Inter',system-ui,sans-serif;color:#46494c}
html body[data-markets-calendar] .mk-cal-nav{width:44px;height:44px;border-radius:10px;border:1px solid #badae3;background:#e8f3f6;color:#146a81;font:700 22px/1 'Inter',system-ui,sans-serif;display:grid;place-items:center;cursor:pointer;padding:0}
html body[data-markets-calendar].homepage-autumn .mk-cal-grid{display:grid!important;grid-template-columns:repeat(7,1fr)!important;row-gap:8px!important;column-gap:0!important;text-align:center}
html body[data-markets-calendar].homepage-autumn .mk-cal-grid .cal-dn{font:600 13px/24px 'Inter',system-ui,sans-serif!important;color:#4c5c68!important;min-height:24px;background:none!important}
html body[data-markets-calendar].homepage-autumn .mk-cal-grid .cal-d{position:relative;justify-self:center;width:40px!important;height:40px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#46494c!important;font:500 15px/40px 'Inter',system-ui,sans-serif!important;box-shadow:none!important}
html body[data-markets-calendar].homepage-autumn .mk-cal-grid .cal-d.other{color:#8a9195!important}
html body[data-markets-calendar].homepage-autumn .mk-cal-grid .cal-d.disabled{color:#8a9195!important;pointer-events:none}
html body[data-markets-calendar].homepage-autumn .mk-cal-grid .cal-d.has::after{content:'';position:absolute;left:50%;bottom:3px;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:#1985a1}
html body[data-markets-calendar].homepage-autumn .mk-cal-grid .cal-d.disabled.has::after{background:#badae3}
html body[data-markets-calendar].homepage-autumn .mk-cal-grid .cal-d.today,
html body[data-markets-calendar].homepage-autumn .mk-cal-grid .cal-d.sel{background:#146a81!important;color:#ffffff!important;font-weight:700!important}
html body[data-markets-calendar].homepage-autumn .mk-cal-grid .cal-d.today::after,
html body[data-markets-calendar].homepage-autumn .mk-cal-grid .cal-d.sel::after{background:#ffffff}
html body[data-markets-calendar] .mk-cal-key{display:flex;align-items:center;gap:8px;font-size:15px;color:#4c5c68;margin:10px 0 4px}
html body[data-markets-calendar] .mk-cal-key i{width:6px;height:6px;border-radius:50%;background:#1985a1}

/* The wide calendar wears the same teal today and selected day. */
html body[data-markets-calendar].homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn :is(.cal-d.today,.cal-d.sel){background:#146a81!important;color:#ffffff!important;border-color:#146a81!important}
html body[data-markets-calendar].homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn.homepage-autumn .lfh-cal-grid .cal-d.has:not(.today):not(.sel)::after{background:#1985a1!important}

@media (min-width:701px){
  html body[data-markets-calendar] .mk-phone-cal{display:none}
  html body[data-markets-calendar] .mk-hero{padding-bottom:30px}
  html body[data-markets-calendar] .mk-hero-in{padding:26px 20px 0}
  html body[data-markets-calendar] .mk-awning{height:38px}
  html body[data-markets-calendar] .mk-title{font-size:50px}
  html body[data-markets-calendar] .mk-lede{font-size:19px}
}
@media (min-width:901px){
  html body[data-markets-calendar] .mk-hero-in{padding:26px 40px 0}
}
