:root[data-batumchik-color-scheme="dark"] {
	--btc-night-background: #121212;
	--btc-night-canvas: #171717;
	--btc-night-surface: #1d1d1f;
	--btc-night-surface-raised: #262629;
	--btc-night-surface-soft: #202124;
	--btc-night-border: rgb(255 255 255 / 0.12);
	--btc-night-border-strong: rgb(255 255 255 / 0.2);
	--btc-night-text: #f2f2f3;
	--btc-night-muted: #b7b7bc;
	--btc-night-soft: #8d8f96;
	--btc-night-link: #dedee3;
	--btc-night-accent: #d7b85f;
	--btc-night-success: #73a983;
	--btc-night-danger: #d97981;
	--wp--preset--color--background: var(--btc-night-background);
	--wp--preset--color--foreground: var(--btc-night-text);
	--wp--preset--color--primary: var(--btc-night-link);
	color-scheme: dark;
}

:root[data-batumchik-color-scheme="dark"] body,
:root[data-batumchik-color-scheme="dark"] #page,
:root[data-batumchik-color-scheme="dark"] #content,
:root[data-batumchik-color-scheme="dark"] main {
	background: var(--btc-night-background);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] #masthead {
	background: #1b1b1d;
	box-shadow: 0 10px 30px rgb(0 0 0 / 0.32);
}

:root[data-batumchik-color-scheme="dark"] main.bg-\[\#eef7ff\],
:root[data-batumchik-color-scheme="dark"] [class*="bg-[#eef7ff]"],
:root[data-batumchik-color-scheme="dark"] [class*="bg-[#f3f8ff]"] {
	background: var(--btc-night-background);
}

:root[data-batumchik-color-scheme="dark"] .bg-white,
:root[data-batumchik-color-scheme="dark"] [class*="bg-[#fff"],
:root[data-batumchik-color-scheme="dark"] article,
:root[data-batumchik-color-scheme="dark"] .post-navigation,
:root[data-batumchik-color-scheme="dark"] #comments,
:root[data-batumchik-color-scheme="dark"] .widget,
:root[data-batumchik-color-scheme="dark"] .btc-primary-nav__sub-menu,
:root[data-batumchik-color-scheme="dark"] .btc-language-switcher__menu,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget__detail-modal-card,
:root[data-batumchik-color-scheme="dark"] .btc-bus-map__route-select,
:root[data-batumchik-color-scheme="dark"] .btc-bus-map__search,
:root[data-batumchik-color-scheme="dark"] .btc-bus-map__toggle,
:root[data-batumchik-color-scheme="dark"] .btc-bus-map__reset {
	background: var(--btc-night-surface);
	border-color: var(--btc-night-border);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget,
:root[data-batumchik-color-scheme="dark"] .btc-bus-map,
:root[data-batumchik-color-scheme="dark"] .entry-content,
:root[data-batumchik-color-scheme="dark"] .page-content,
:root[data-batumchik-color-scheme="dark"] [class*="text-[#061832]"],
:root[data-batumchik-color-scheme="dark"] [class*="text-[#233b58]"],
:root[data-batumchik-color-scheme="dark"] [class*="text-[#071827]"] {
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] [class*="text-[#45617f]"],
:root[data-batumchik-color-scheme="dark"] [class*="text-[#607996]"],
:root[data-batumchik-color-scheme="dark"] .widget ol,
:root[data-batumchik-color-scheme="dark"] .widget ul,
:root[data-batumchik-color-scheme="dark"] .btc-bus-map__route-label,
:root[data-batumchik-color-scheme="dark"] .btc-bus-map__mode-button,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget__time-chip--local {
	color: var(--btc-night-muted);
}

:root[data-batumchik-color-scheme="dark"] a,
:root[data-batumchik-color-scheme="dark"] .widget a,
:root[data-batumchik-color-scheme="dark"] [class*="text-[#0055a7]"],
:root[data-batumchik-color-scheme="dark"] [class*="text-[#075985]"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget__eyebrow,
:root[data-batumchik-color-scheme="dark"] .btc-bus-map__eyebrow {
	color: var(--btc-night-link);
}

:root[data-batumchik-color-scheme="dark"] .border,
:root[data-batumchik-color-scheme="dark"] [class*="border-[#"],
:root[data-batumchik-color-scheme="dark"] input,
:root[data-batumchik-color-scheme="dark"] textarea,
:root[data-batumchik-color-scheme="dark"] select {
	border-color: var(--btc-night-border);
}

:root[data-batumchik-color-scheme="dark"] input,
:root[data-batumchik-color-scheme="dark"] textarea,
:root[data-batumchik-color-scheme="dark"] select {
	background: #18181a;
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] input::placeholder,
:root[data-batumchik-color-scheme="dark"] textarea::placeholder {
	color: var(--btc-night-soft);
}

:root[data-batumchik-color-scheme="dark"] [class*="shadow-[#"],
:root[data-batumchik-color-scheme="dark"] .shadow-sm,
:root[data-batumchik-color-scheme="dark"] .shadow-lg,
:root[data-batumchik-color-scheme="dark"] .shadow-xl,
:root[data-batumchik-color-scheme="dark"] .shadow-2xl {
	box-shadow: 0 16px 42px rgb(0 0 0 / 0.28);
}

:root[data-batumchik-color-scheme="dark"] [class*="bg-[#0055a7]"],
:root[data-batumchik-color-scheme="dark"] [class*="bg-[#004f9f]"],
:root[data-batumchik-color-scheme="dark"] [class*="bg-[#004a92]"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map__refresh,
:root[data-batumchik-color-scheme="dark"] .btc-bus-map__mode-button.is-active,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget__popup-link {
	background: #343438;
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] [class*="bg-[#ffd334]"],
:root[data-batumchik-color-scheme="dark"] [class*="text-[#ffd334]"],
:root[data-batumchik-color-scheme="dark"] [class*="text-[#ffc400]"] {
	color: var(--btc-night-accent);
}

:root[data-batumchik-color-scheme="dark"] [class*="bg-[#ffd334]"] {
	background: var(--btc-night-accent);
	color: #171717;
}

:root[data-batumchik-color-scheme="dark"] .btc-primary-nav__link,
:root[data-batumchik-color-scheme="dark"] #masthead a,
:root[data-batumchik-color-scheme="dark"] #masthead button {
	color: #fff;
}

:root[data-batumchik-color-scheme="dark"] .btc-primary-nav__link:hover,
:root[data-batumchik-color-scheme="dark"] .btc-primary-nav__link:focus-visible,
:root[data-batumchik-color-scheme="dark"] .btc-primary-nav__link.is-current {
	color: var(--btc-night-accent);
}

:root[data-batumchik-color-scheme="dark"] .btc-primary-nav__sub-menu .btc-primary-nav__link,
:root[data-batumchik-color-scheme="dark"] .btc-language-switcher__menu .btc-language-switcher__link {
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-primary-nav__sub-menu .btc-primary-nav__link:hover,
:root[data-batumchik-color-scheme="dark"] .btc-primary-nav__sub-menu .btc-primary-nav__link:focus-visible,
:root[data-batumchik-color-scheme="dark"] .btc-primary-nav__sub-menu .btc-primary-nav__link.is-current,
:root[data-batumchik-color-scheme="dark"] .btc-language-switcher__link.is-current {
	background: var(--btc-night-surface-raised);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-language-switcher__current:hover,
:root[data-batumchik-color-scheme="dark"] .btc-language-switcher__current:focus-visible,
:root[data-batumchik-color-scheme="dark"] .btc-language-switcher[open] .btc-language-switcher__current {
	background: var(--btc-night-surface-raised);
	border-color: var(--btc-night-border-strong);
	color: #fff;
}

:root[data-batumchik-color-scheme="dark"] .btc-language-switcher__flag {
	background: rgb(255 255 255 / 0.08);
	border-color: var(--btc-night-border);
	box-shadow: none;
}

:root[data-batumchik-color-scheme="dark"] .btc-front-hero-widget,
:root[data-batumchik-color-scheme="dark"] .btc-front-hero__widgets {
	background: transparent;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero {
	background: var(--btc-night-surface);
	border-color: var(--btc-night-border);
	box-shadow: 0 22px 58px rgb(0 0 0 / 0.36);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero h2,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-alert-title {
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-icon,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-next {
	background: var(--btc-night-surface-raised);
	border-color: var(--btc-night-border);
	box-shadow: none;
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-next:hover,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-next:focus {
	background: #303033;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__details-link--hero,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__details-link--hero:hover {
	background: transparent;
	color: var(--btc-night-link);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__ticker {
	background: transparent;
	box-shadow: none;
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-alert-card {
	background: var(--btc-night-surface-raised);
	border-color: var(--btc-night-border);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-alert-copy p:not(.btc-alerts-widget__hero-alert-title) {
	color: var(--btc-night-muted);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-alert-visual {
	background: linear-gradient(145deg, #3a3a3d, #2b2b2e);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-alert-card--gas .btc-alerts-widget__hero-alert-visual {
	background: linear-gradient(145deg, #594b2b, #3a3324);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-alert-card--water .btc-alerts-widget__hero-alert-visual,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-alert-card--internet .btc-alerts-widget__hero-alert-visual {
	background: linear-gradient(145deg, #3d3d42, #2b2b2f);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-alert-visual svg {
	border-color: rgb(255 255 255 / 0.24);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget__time-chip,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget__status,
:root[data-batumchik-color-scheme="dark"] .btc-bus-map__status,
:root[data-batumchik-color-scheme="dark"] .btc-bus-map__mode {
	background: var(--btc-night-surface-raised);
	border-color: var(--btc-night-border-strong);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget__ticker {
	background: linear-gradient(90deg, #2b2b2f, #343438);
	box-shadow: 0 16px 34px rgb(0 0 0 / 0.32);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget__ticker-metric {
	background: rgb(255 255 255 / 0.08);
	border-color: var(--btc-night-border);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__card"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__panel"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__item"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__list"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__feed"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__details"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__drawer"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__calendar"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__day"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="__panel"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="__card"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="__result"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="__stop"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="__sheet"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="__legend"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="__tooltip"] {
	background-color: var(--btc-night-surface);
	border-color: var(--btc-night-border);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__meta"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__note"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__label"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__description"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="__meta"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="__note"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="__label"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="__description"] {
	color: var(--btc-night-muted);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__chip"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__pill"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__filter"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="__tab"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="__chip"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="__pill"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="__filter"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="__tab"] {
	background-color: var(--btc-night-surface-raised);
	border-color: var(--btc-night-border);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="is-active"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [aria-selected="true"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [class*="is-active"],
:root[data-batumchik-color-scheme="dark"] .btc-bus-map [aria-selected="true"] {
	background-color: #303033;
	border-color: var(--btc-night-border-strong);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="status--active"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="--active"] {
	background-color: rgb(217 121 129 / 0.16);
	color: #e6a0a6;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="status--scheduled"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="--scheduled"] {
	background-color: rgb(215 184 95 / 0.16);
	color: var(--btc-night-accent);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="status--resolved"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="--resolved"] {
	background-color: rgb(115 169 131 / 0.16);
	color: #9fcaab;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="status--stale"],
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget [class*="--stale"] {
	background-color: rgb(255 255 255 / 0.08);
	color: var(--btc-night-muted);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget__detail-modal-backdrop {
	background: rgb(0 0 0 / 0.72);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget__map,
:root[data-batumchik-color-scheme="dark"] .btc-bus-map__canvas {
	background: #1a1a1c;
	border-color: var(--btc-night-border);
}

/* Alerts needs explicit component tokens: generic [class*] rules above are
 * deliberately broad for legacy widgets, but blur the hierarchy of the page
 * and hero variants. Keep controls readable without returning to white cards. */
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__ticker,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__date-context,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__panel,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__detail-card,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__map-legend,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__map-legend-toggle {
	background: var(--btc-night-surface);
	border-color: var(--btc-night-border);
	box-shadow: 0 16px 34px rgb(0 0 0 / 0.26);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__page-stat,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__page-stat span,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__page-service-totals > span,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter-row h3,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__date-window,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__detail-summary,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__item-summary {
	color: var(--btc-night-muted);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__page-stat strong,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__page-service-total strong,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__map-legend strong,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__detail-card h3 {
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__date-chip,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__sort-button {
	background: var(--btc-night-surface-raised);
	border-color: var(--btc-night-border);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter-copy small,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__page-stat small,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__page-service-total small,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__page-list-header h3 small,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__detail-service,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__detail-map-object,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__detail-meta,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__item-arrow {
	color: var(--btc-night-muted);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter--active.btc-alerts-widget__filter--all-status,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__filter--active.btc-alerts-widget__filter--all-status {
	background: rgb(215 184 95 / 0.14);
	border-color: var(--btc-night-accent);
	box-shadow: inset 0 0 0 1px rgb(215 184 95 / 0.24);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter--active.btc-alerts-widget__filter--active-status,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__filter--active.btc-alerts-widget__filter--active-status {
	background: rgb(217 121 129 / 0.18);
	border-color: #d97981;
	box-shadow: inset 0 0 0 1px rgb(217 121 129 / 0.22);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter--active.btc-alerts-widget__filter--scheduled-status,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__filter--active.btc-alerts-widget__filter--scheduled-status {
	background: rgb(215 184 95 / 0.18);
	border-color: var(--btc-night-accent);
	box-shadow: inset 0 0 0 1px rgb(215 184 95 / 0.22);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter--active.btc-alerts-widget__filter--resolved-status,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__filter--active.btc-alerts-widget__filter--resolved-status {
	background: rgb(115 169 131 / 0.18);
	border-color: var(--btc-night-success);
	box-shadow: inset 0 0 0 1px rgb(115 169 131 / 0.22);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter--service.btc-alerts-widget__filter--active,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__filter--service.btc-alerts-widget__filter--active {
	background: #303033;
	border-color: var(--btc-night-border-strong);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__date-chip.is-selected {
	background: var(--btc-night-accent);
	border-color: var(--btc-night-accent);
	color: #171717;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__date-chip small {
	background: rgb(255 255 255 / 0.1);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__date-chip.is-selected small {
	background: rgb(23 23 23 / 0.16);
	color: #171717;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__map-legend-close {
	background: #303033;
	border-color: var(--btc-night-border);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .maplibregl-ctrl button,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .maplibregl-ctrl-attrib {
	background: rgb(29 29 31 / 0.92);
	border-color: var(--btc-night-border);
	color: var(--btc-night-muted);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .maplibregl-ctrl button {
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .maplibregl-ctrl-attrib a {
	color: var(--btc-night-link);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .maplibregl-popup-content {
	background: var(--btc-night-surface-raised);
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .maplibregl-popup-close-button {
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .maplibregl-popup-anchor-bottom .maplibregl-popup-tip,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip {
	border-top-color: var(--btc-night-surface-raised);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .maplibregl-popup-anchor-top .maplibregl-popup-tip,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .maplibregl-popup-anchor-top-left .maplibregl-popup-tip,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .maplibregl-popup-anchor-top-right .maplibregl-popup-tip {
	border-bottom-color: var(--btc-night-surface-raised);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .maplibregl-popup-anchor-left .maplibregl-popup-tip {
	border-right-color: var(--btc-night-surface-raised);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .maplibregl-popup-anchor-right .maplibregl-popup-tip {
	border-left-color: var(--btc-night-surface-raised);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .btc-alerts-map-tooltip .maplibregl-popup-content {
	background: #081a33;
}

:root[data-batumchik-color-scheme="dark"] .btc-bus-map__reset {
	border-color: rgb(217 121 129 / 0.55);
	color: var(--btc-night-danger);
}

:root[data-batumchik-color-scheme="dark"] .tag-cloud-link {
	border-color: var(--btc-night-border);
	color: var(--btc-night-link);
}

:root[data-batumchik-color-scheme="dark"] .prose,
:root[data-batumchik-color-scheme="dark"] .prose-neutral {
	--tw-prose-body: var(--btc-night-muted);
	--tw-prose-headings: var(--btc-night-text);
	--tw-prose-links: var(--btc-night-link);
	--tw-prose-bold: var(--btc-night-text);
	--tw-prose-counters: var(--btc-night-muted);
	--tw-prose-bullets: var(--btc-night-soft);
	--tw-prose-hr: var(--btc-night-border);
	--tw-prose-quotes: var(--btc-night-text);
	--tw-prose-quote-borders: var(--btc-night-border-strong);
	--tw-prose-captions: var(--btc-night-soft);
	--tw-prose-code: var(--btc-night-text);
	--tw-prose-pre-code: var(--btc-night-text);
	--tw-prose-pre-bg: #0f0f10;
}

:root[data-batumchik-color-scheme="dark"] main > section:first-child {
	background: #171717;
}

:root[data-batumchik-color-scheme="dark"] main > section:first-child h1,
:root[data-batumchik-color-scheme="dark"] main > section:first-child h2,
:root[data-batumchik-color-scheme="dark"] main > section:first-child h3 {
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] main > section:first-child p {
	color: var(--btc-night-muted);
}

:root[data-batumchik-color-scheme="dark"] main > section:first-child [class*="text-[#ffd334]"],
:root[data-batumchik-color-scheme="dark"] main > section:first-child [class*="text-[#ffc400]"] {
	color: var(--btc-night-accent);
}

:root[data-batumchik-color-scheme="dark"] main > section:first-child img {
	filter: grayscale(1) brightness(0.58) contrast(1.04);
}

:root[data-batumchik-color-scheme="dark"] [class*="from-[#00498f]"] {
	background: linear-gradient(90deg, rgb(18 18 18 / 0.9), rgb(18 18 18 / 0.78), rgb(18 18 18 / 0.46));
}

.batumchik-dark-mode-switcher {
	position: relative;
}

.batumchik-dark-mode-switcher__current,
.batumchik-dark-mode-switcher__button {
	align-items: center;
	color: #fff;
	display: inline-flex;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.batumchik-dark-mode-switcher__current {
	background: transparent;
	border: 1px solid rgb(255 255 255 / 0.65);
	border-radius: 999px;
	cursor: pointer;
	height: 2.75rem;
	justify-content: center;
	list-style: none;
	min-width: 2.75rem;
	padding: 0.45rem;
}

.batumchik-dark-mode-switcher__current::-webkit-details-marker {
	display: none;
}

.batumchik-dark-mode-switcher__current-icon {
	display: none;
	height: 1.35rem;
	width: 1.35rem;
}

:root[data-batumchik-color-mode="system"] .batumchik-dark-mode-switcher__current-icon[data-batumchik-mode-indicator="system"],
:root[data-batumchik-color-mode="light"] .batumchik-dark-mode-switcher__current-icon[data-batumchik-mode-indicator="light"],
:root[data-batumchik-color-mode="dark"] .batumchik-dark-mode-switcher__current-icon[data-batumchik-mode-indicator="dark"] {
	display: inline-flex;
}

.batumchik-dark-mode-switcher__current svg,
.batumchik-dark-mode-switcher__button svg {
	fill: none;
	height: 100%;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 100%;
}

.batumchik-dark-mode-switcher[open] .batumchik-dark-mode-switcher__current,
.batumchik-dark-mode-switcher__current:hover,
.batumchik-dark-mode-switcher__current:focus-visible {
	background: #fff;
	border-color: #fff;
	box-shadow: 0 10px 24px rgb(0 53 108 / 0.18);
	color: #0055a7;
}

.batumchik-dark-mode-switcher__status {
	border-width: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.batumchik-dark-mode-switcher__menu {
	background: #fff;
	border: 1px solid #d9e8f5;
	border-radius: 1rem;
	box-shadow: 0 20px 48px rgb(10 78 147 / 0.16);
	display: grid;
	gap: 0.25rem;
	min-width: 9.5rem;
	padding: 0.45rem;
	position: absolute;
	right: 0;
	top: calc(100% + 0.65rem);
	z-index: 1310;
}

.batumchik-dark-mode-switcher__button {
	background: transparent;
	border: 1px solid transparent;
	border-radius: 0.8rem;
	color: #061832;
	cursor: pointer;
	font-size: 0.78rem;
	font-weight: 850;
	gap: 0.55rem;
	justify-content: flex-start;
	line-height: 1;
	min-height: 2.35rem;
	padding: 0.55rem 0.7rem;
	width: 100%;
}

.batumchik-dark-mode-switcher__button svg {
	height: 1rem;
	width: 1rem;
}

.batumchik-dark-mode-switcher__button:hover,
.batumchik-dark-mode-switcher__button:focus-visible,
.batumchik-dark-mode-switcher__button.is-active {
	background: #eef7ff;
	color: #0055a7;
	outline: 0;
}

:root[data-batumchik-color-scheme="dark"] .batumchik-dark-mode-switcher__current {
	border-color: rgb(255 255 255 / 0.42);
	color: #fff;
}

:root[data-batumchik-color-scheme="dark"] .batumchik-dark-mode-switcher[open] .batumchik-dark-mode-switcher__current,
:root[data-batumchik-color-scheme="dark"] .batumchik-dark-mode-switcher__current:hover,
:root[data-batumchik-color-scheme="dark"] .batumchik-dark-mode-switcher__current:focus-visible {
	background: var(--btc-night-surface-raised);
	border-color: var(--btc-night-border-strong);
	box-shadow: 0 10px 24px rgb(0 0 0 / 0.26);
	color: #fff;
}

:root[data-batumchik-color-scheme="dark"] .batumchik-dark-mode-switcher__menu {
	background: var(--btc-night-surface);
	border-color: var(--btc-night-border);
	box-shadow: 0 20px 48px rgb(0 0 0 / 0.36);
}

:root[data-batumchik-color-scheme="dark"] .batumchik-dark-mode-switcher__button {
	color: var(--btc-night-text);
}

:root[data-batumchik-color-scheme="dark"] .batumchik-dark-mode-switcher__button:hover,
:root[data-batumchik-color-scheme="dark"] .batumchik-dark-mode-switcher__button:focus-visible,
:root[data-batumchik-color-scheme="dark"] .batumchik-dark-mode-switcher__button.is-active {
	background: var(--btc-night-surface-raised);
	color: var(--btc-night-text);
}

/* Alert widgets have semantic colours. The generic night-mode compatibility
 * selectors intentionally neutralise legacy cards, but must not wash out the
 * active/scheduled/resolved controls in the current Hero and Full widgets. */
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-alert-card,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__panel,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__date-context {
	background: #242427;
	border-color: rgb(255 255 255 / 0.16);
	color: #f7f7f8;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-alert-title,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__item-title,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__page-list-header h3,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__detail-card h3 {
	color: #fafafa;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-alert-copy p:not(.btc-alerts-widget__hero-alert-title),
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__item-summary,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__detail-summary {
	color: #d0d0d5;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-alert-visual {
	background: linear-gradient(145deg, #0c6b6a, #075251);
	color: #fff;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-alert-card--gas .btc-alerts-widget__hero-alert-visual {
	background: linear-gradient(145deg, #9d5c13, #70400d);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-alert-card--water .btc-alerts-widget__hero-alert-visual {
	background: linear-gradient(145deg, #176f9e, #0d547c);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__hero-alert-card--internet .btc-alerts-widget__hero-alert-visual {
	background: linear-gradient(145deg, #394e9a, #253369);
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__filter,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter {
	background: #2b2b2f;
	border-color: rgb(255 255 255 / 0.16);
	color: #f7f7f8;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__filter-copy small,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter-copy small {
	color: #c7c7cc;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__filter--all-status,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter--all-status {
	background: #353139;
	border-color: #a98a41;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__filter--active-status,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter--active-status {
	background: #542b31;
	border-color: #d97981;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__filter--scheduled-status,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter--scheduled-status {
	background: #574920;
	border-color: #d7b85f;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__filter--resolved-status,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter--resolved-status {
	background: #254936;
	border-color: #73a983;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .btc-alerts-widget__filter--all-status .btc-alerts-widget__filter-dot {
	background: #d7b85f;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .btc-alerts-widget__filter--active-status .btc-alerts-widget__filter-dot {
	background: #e58a93;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .btc-alerts-widget__filter--scheduled-status .btc-alerts-widget__filter-dot {
	background: #f0ce69;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget .btc-alerts-widget__filter--resolved-status .btc-alerts-widget__filter-dot {
	background: #8fc39e;
}

:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__filter--all-status *,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter--all-status *,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__filter--active-status *,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter--active-status *,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__filter--scheduled-status *,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter--scheduled-status *,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--hero .btc-alerts-widget__filter--resolved-status *,
:root[data-batumchik-color-scheme="dark"] .btc-alerts-widget--page .btc-alerts-widget__filter--resolved-status * {
	color: #fff;
}

@media (max-width: 420px) {
	.batumchik-dark-mode-switcher__button span {
		display: none;
	}

	.batumchik-dark-mode-switcher__menu {
		min-width: 3.75rem;
	}

	.batumchik-dark-mode-switcher__button {
		justify-content: center;
	}
}
