/*!
 * Alatau24 Core — styles of the plugin blocks.
 * Colors come from the Alatau24 theme variables (light and dark mode);
 * the fallbacks keep the blocks tidy under any other theme.
 */

/* ---------- basics ---------- */
.a24c-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.a24c-icon { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
.a24c-empty { margin: 0; padding: 18px; border: 1px dashed var(--a24-border-strong, #c5d3da); border-radius: var(--a24-radius-sm, 11px); color: var(--a24-muted, #627683); font-size: 14px; text-align: center; }
.a24c-empty[hidden] { display: none; }
.a24c-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--a24-primary, #0a7ea4); font-size: 14px; font-weight: 700; text-decoration: none; }
.a24c-more:hover { text-decoration: underline; }
.a24c-reaction .screen-reader-text, .a24c-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes a24c-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes a24c-rise { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes a24c-pop { 0% { transform: scale(1); } 40% { transform: scale(1.45) rotate(-8deg); } 100% { transform: scale(1); } }

/* ---------- buttons ---------- */
.a24c-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px; border: 0; border-radius: 12px;
	background: var(--a24-primary, #0a7ea4); color: var(--a24-primary-ink, #fff);
	font-family: inherit; font-size: 14.5px; font-weight: 700; line-height: 1.2; text-decoration: none;
	cursor: pointer; transition: filter .15s, transform .15s, border-color .15s, color .15s;
}
.a24c-btn:hover { color: var(--a24-primary-ink, #fff); filter: brightness(1.08); }
.a24c-btn:active { transform: translateY(1px); }
.a24c-btn:disabled { opacity: .45; cursor: not-allowed; filter: none; transform: none; }
.a24c-btn .a24c-icon, .a24c-btn .a24-icon { font-size: 18px; }
.a24c-btn--ghost { border: 1px solid var(--a24-border-strong, #c5d3da); background: var(--a24-surface, #fff); color: var(--a24-text, #0f1e28); }
.a24c-btn--ghost:hover { border-color: var(--a24-primary, #0a7ea4); color: var(--a24-primary, #0a7ea4); filter: none; }
.a24c-btn--block { display: flex; width: 100%; }
.a24c-linkbtn { padding: 0; border: 0; background: none; color: var(--a24-primary, #0a7ea4); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.a24c-linkbtn:hover { text-decoration: underline; }

/* ---------- chips and segmented tabs ---------- */
.a24c-chips { display: flex; gap: 8px; margin: 0 0 16px; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.a24c-chips::-webkit-scrollbar { display: none; }
.a24c-chip {
	flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
	border: 1px solid var(--a24-border, #dbe5ea); border-radius: 99px; background: var(--a24-surface, #fff); color: var(--a24-text-2, #33444f);
	font-family: inherit; font-size: 13.5px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.a24c-chip:hover { border-color: var(--a24-border-strong, #c5d3da); color: var(--a24-text, #0f1e28); }
.a24c-chip.is-active { border-color: transparent; background: var(--a24-primary, #0a7ea4); color: var(--a24-primary-ink, #fff); }
.a24c-chip small { font-size: 11.5px; font-weight: 600; opacity: .6; }
.a24c-chip .a24c-icon, .a24c-chip .a24-icon { font-size: 16px; }

.a24c-seg { display: flex; gap: 4px; margin: 0 0 14px; padding: 4px; border-radius: 12px; background: var(--a24-surface-2, #edf3f6); overflow-x: auto; scrollbar-width: none; }
.a24c-seg::-webkit-scrollbar { display: none; }
.a24c-seg button { flex: 1 0 auto; padding: 8px 9px; border: 0; border-radius: 9px; background: transparent; color: var(--a24-muted, #627683); font-family: inherit; font-size: 12.5px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.a24c-seg button:hover { color: var(--a24-text, #0f1e28); }
.a24c-seg button.is-active { background: var(--a24-surface, #fff); color: var(--a24-text, #0f1e28); box-shadow: 0 1px 3px rgba(17, 24, 39, .14); }
[role="tabpanel"][hidden] { display: none; }

/* ---------- tabs widget ---------- */
.a24c-tabs__nav { display: flex; gap: 4px; margin-bottom: 14px; padding: 4px; border-radius: 10px; background: var(--a24-surface-2, rgba(0, 0, 0, .05)); }
.a24c-tabs__btn { flex: 1; padding: 8px; border: 0; border-radius: 8px; background: transparent; font-weight: 700; font-size: 13px; cursor: pointer; }
.a24c-tabs__btn.is-active { background: var(--a24-surface, #fff); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.a24c-tabs__panel[hidden] { display: none; }

/* ---------- reactions ---------- */
.a24c-reactions { margin: 32px 0; padding: 22px 20px; border: 1px solid var(--a24-border, #dbe5ea); border-radius: var(--a24-radius, 16px); background: var(--a24-surface, #fff); text-align: center; }
.a24c-reactions__title { margin: 0 0 14px; color: var(--a24-text, #0f1e28); font-size: 16px; font-weight: 700; }
.a24c-reactions__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.a24c-reaction {
	position: relative; display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 15px;
	border: 1px solid var(--a24-border, #dbe5ea); border-radius: 99px; background: var(--a24-surface-2, #edf3f6); color: var(--a24-text, #0f1e28);
	font-family: inherit; font-size: 14px; cursor: pointer; transition: transform .15s, border-color .15s, background .15s;
}
.a24c-reaction:hover { border-color: var(--a24-border-strong, #c5d3da); transform: translateY(-2px); }
.a24c-reaction__emoji { font-size: 22px; line-height: 1; }
.a24c-reaction b { font-weight: 700; font-variant-numeric: tabular-nums; }
.a24c-reaction b:empty { display: none; }
.a24c-reaction.is-mine { border-color: var(--a24-primary, #0a7ea4); background: rgba(10, 126, 164, .1); background: color-mix(in srgb, var(--a24-primary, #0a7ea4) 12%, var(--a24-surface, #fff)); color: var(--a24-primary, #0a7ea4); }
.a24c-reaction.is-pop .a24c-reaction__emoji { animation: a24c-pop .45s; }
.a24c-reactions.is-busy .a24c-reaction { pointer-events: none; }

/* ---------- polls ---------- */
.a24c-poll { position: relative; margin: 0 0 24px; padding: 22px 20px; border: 1px solid var(--a24-border, #dbe5ea); border-radius: var(--a24-radius, 16px); background: var(--a24-surface, #fff); color: var(--a24-text, #0f1e28); }
.a24-panel > .a24c-poll, .a24-widget .a24c-poll { margin: 0; padding: 0; border: 0; background: none; }
.a24c-poll__kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--a24-accent-text, #8a5f00); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.a24c-poll__q { margin: 0 0 14px; font-size: 18px; font-weight: 700; line-height: 1.35; }
.a24c-poll__options { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.a24c-poll__option { position: relative; overflow: hidden; border: 1px solid var(--a24-border, #dbe5ea); border-radius: 12px; background: var(--a24-surface, #fff); }
.a24c-poll__option:has(input:checked) { border-color: var(--a24-primary, #0a7ea4); }
.a24c-poll__option label { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; font-size: 15px; line-height: 1.35; cursor: pointer; }
.a24c-poll__option input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--a24-primary, #0a7ea4); }
.a24c-poll__bar { position: absolute; inset: 0; display: none; }
.a24c-poll__bar i { display: block; width: 0; height: 100%; background: rgba(10, 126, 164, .13); background: color-mix(in srgb, var(--a24-primary, #0a7ea4) 15%, transparent); transition: width .7s var(--a24-ease, ease); }
.a24c-poll__pct { position: absolute; top: 50%; right: 14px; z-index: 1; display: none; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; transform: translateY(-50%); }
.a24c-poll.is-results .a24c-poll__bar, .a24c-poll.is-results .a24c-poll__pct { display: block; }
.a24c-poll.is-results .a24c-poll__option label { padding-right: 62px; }
.a24c-poll.is-voted .a24c-poll__option input, .a24c-poll.is-voted .a24c-btn, .a24c-poll.is-results [data-a24c-poll-results] { display: none; }
.a24c-poll.is-voted .a24c-poll__option label { cursor: default; }
.a24c-poll__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.a24c-poll__total { margin-left: auto; color: var(--a24-muted, #627683); font-size: 13px; }
.a24c-poll__closed { color: var(--a24-muted, #627683); font-size: 14px; }

/* ---------- windows (send news, report a mistake) ---------- */
.a24c-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; visibility: hidden; pointer-events: none; }
.a24c-modal.is-open { visibility: visible; pointer-events: auto; }
.a24c-modal[hidden] { display: none !important; }
.a24c-modal__overlay { position: absolute; inset: 0; background: rgba(8, 13, 24, .6); opacity: 0; transition: opacity .2s; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.a24c-modal.is-open .a24c-modal__overlay { opacity: 1; }
.a24c-modal__panel {
	position: relative; width: 100%; max-width: 540px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain;
	padding: 26px 24px 24px; border-radius: 22px; background: var(--a24-surface, #fff); color: var(--a24-text, #0f1e28);
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .2s, transform .25s var(--a24-ease, ease);
}
.a24c-modal.is-open .a24c-modal__panel { opacity: 1; transform: none; }
.a24c-modal__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--a24-surface-2, #edf3f6); color: var(--a24-text, #0f1e28); font-size: 22px; line-height: 1; cursor: pointer; }
.a24c-modal__close:hover { background: var(--a24-border, #dbe5ea); }
.a24c-modal__title { margin: 0 44px 6px 0; font-size: 21px; font-weight: 800; line-height: 1.25; }
.a24c-modal__text { margin: 0 0 18px; color: var(--a24-muted, #627683); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 600px) {
	.a24c-modal { align-items: flex-end; padding: 0; }
	.a24c-modal__panel { max-width: none; max-height: 92vh; max-height: 92dvh; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; transform: translateY(48px); }
	.a24c-modal__panel::before { content: ""; display: block; width: 40px; height: 4px; margin: -8px auto 14px; border-radius: 4px; background: var(--a24-border-strong, #c5d3da); }
}

.a24c-report__text { max-height: 150px; margin: 0 0 14px; padding: 12px 14px; overflow: auto; border-left: 3px solid var(--a24-hot, #d7263d); border-radius: 0 10px 10px 0; background: var(--a24-surface-2, #edf3f6); font-size: 15px; line-height: 1.5; }
.a24c-report__label { display: block; margin-bottom: 6px; color: var(--a24-muted, #627683); font-size: 13.5px; }
.a24c-report__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.a24c-report-fab {
	position: fixed; left: 50%; bottom: calc(var(--a24-tabbar-h, 0px) + 18px + env(safe-area-inset-bottom)); z-index: 9990;
	display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 0; border-radius: 99px;
	background: var(--a24-hot, #d7263d); color: #fff; font-family: inherit; font-size: 14px; font-weight: 700;
	box-shadow: 0 12px 30px -10px rgba(229, 23, 63, .6); transform: translateX(-50%); animation: a24c-rise .2s;
}
.a24c-report-fab[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .a24c-report-fab { display: none !important; } }

/* ---------- forms ---------- */
.a24c-form { display: grid; gap: 14px; }
.a24c-form__row { display: grid; gap: 6px; }
.a24c-form__row label { color: var(--a24-text-2, #33444f); font-size: 13.5px; font-weight: 600; }
.a24c-form__row em { color: var(--a24-hot, #d7263d); font-style: normal; }
.a24c-form input[type="text"], .a24c-form input[type="email"], .a24c-form select, .a24c-form textarea, .a24c-report textarea {
	box-sizing: border-box; width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--a24-border, #dbe5ea); border-radius: 10px;
	background: var(--a24-surface, #fff); color: var(--a24-text, #0f1e28); font-family: inherit; font-size: 15px;
}
.a24c-form textarea, .a24c-report textarea { height: auto; min-height: 110px; line-height: 1.5; resize: vertical; }
.a24c-report textarea { min-height: 84px; }
.a24c-form input[type="file"] { box-sizing: border-box; width: 100%; padding: 10px; border: 1.5px dashed var(--a24-border-strong, #c5d3da); border-radius: 10px; background: var(--a24-surface-2, #edf3f6); color: var(--a24-text-2, #33444f); font-size: 14px; }
.a24c-form__check { display: flex; align-items: flex-start; gap: 10px; color: var(--a24-muted, #627683); font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.a24c-form__check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--a24-primary, #0a7ea4); }
.a24c-form__msg { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--a24-surface-2, #edf3f6); font-size: 14px; }
.a24c-form__msg[hidden] { display: none; }
.a24c-form__msg.is-ok { background: rgba(22, 163, 74, .12); color: var(--a24-ok, #16a34a); }
.a24c-form__msg.is-error { background: rgba(229, 23, 63, .1); color: var(--a24-hot, #d7263d); }

.a24c-tip--page { max-width: 640px; padding: 24px; border: 1px solid var(--a24-border, #dbe5ea); border-radius: var(--a24-radius, 16px); background: var(--a24-surface, #fff); }
.a24c-tip__quick { margin-bottom: 16px; }
.a24c-tip__quick p { margin: 0 0 10px; color: var(--a24-text-2, #33444f); font-size: 14px; }
.a24c-tip__apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.a24c-app { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 12px; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; transition: filter .15s; }
.a24c-app:hover { color: #fff; filter: brightness(1.07); }
.a24c-app .a24c-icon, .a24c-app .a24-icon { font-size: 21px; }
.a24c-app--wa { background: #1fb855; }
.a24c-app--tg { background: #229ed9; }
.a24c-tip__or { display: flex; align-items: center; gap: 12px; margin: 16px 0 0 !important; color: var(--a24-muted, #627683); font-size: 13px; }
.a24c-tip__or::before, .a24c-tip__or::after { content: ""; flex: 1; height: 1px; background: var(--a24-border, #dbe5ea); }

/* ---------- districts ---------- */
.a24c-districts__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.a24c-districts__title { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--a24-text, #0f1e28); font-size: 20px; font-weight: 800; }
.a24c-districts__title::before { content: ""; width: 16px; height: 12px; background: var(--a24-primary, #0a7ea4); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.a24c-districts__mine { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--a24-muted, #627683); font-size: 13px; font-weight: 600; }
.a24c-districts__mine select { width: auto; max-width: 210px; height: 36px; min-height: 0; padding: 0 30px 0 12px; border: 1px solid var(--a24-border, #dbe5ea); border-radius: 99px; background-color: var(--a24-surface, #fff); color: var(--a24-text, #0f1e28); font-size: 13.5px; }
.a24c-districts__list { transition: opacity .2s; }
.a24c-districts__list[hidden] { display: none; }
.a24c-districts.is-loading .a24c-districts__list { opacity: .4; pointer-events: none; }
.a24c-districts--page .a24c-chips { flex-wrap: wrap; overflow: visible; }

/* ---------- outages ---------- */
.a24c-outages__title { margin: 0 0 14px; font-size: 20px; }
.a24c-outages__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.a24c-outage { --t: #f59e0b; display: flex; gap: 14px; padding: 14px 16px; border: 1px solid var(--a24-border, #dbe5ea); border-radius: 14px; background: var(--a24-surface, #fff); }
.a24c-outage[hidden] { display: none; }
.a24c-outage--water { --t: #0ea5e9; }
.a24c-outage--gas { --t: #f97316; }
.a24c-outage--heat { --t: #ef4444; }
.a24c-outage--road { --t: #8b5cf6; }
.a24c-outage__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(245, 158, 11, .15); background: color-mix(in srgb, var(--t) 15%, transparent); color: var(--t); font-size: 20px; }
.a24c-outage__body { flex: 1; min-width: 0; }
.a24c-outage__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.a24c-outage__top strong { font-size: 15.5px; line-height: 1.35; }
.a24c-outage__meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 4px; color: var(--a24-muted, #627683); font-size: 13px; }
.a24c-outage__addr { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--a24-surface-2, #edf3f6); font-size: 14px; line-height: 1.5; }
.a24c-outage__note { margin: 8px 0 0; color: var(--a24-text-2, #33444f); font-size: 13.5px; }
.a24c-outage.is-now { border-color: var(--t); box-shadow: inset 4px 0 0 var(--t); }
.a24c-outages--compact .a24c-outage { gap: 10px; padding: 10px 12px; border-radius: 12px; }
.a24c-outages--compact .a24c-outage__icon { width: 34px; height: 34px; border-radius: 10px; font-size: 17px; }
.a24c-outages--compact .a24c-outage__top { flex-direction: column-reverse; align-items: flex-start; gap: 6px; }
.a24c-outages--compact .a24c-outage__top strong { font-size: 14px; }
.a24c-outages--compact .a24c-outage.is-now { box-shadow: none; }
.a24-panel .a24c-outages--compact .a24c-outages__list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.a24c-badge { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.a24c-badge--now { background: var(--a24-hot, #d7263d); color: #fff; }
.a24c-badge--now::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: a24c-blink 1.4s infinite; }

/* ---------- air quality ---------- */
.a24c-aqi, .a24c-svc--aqi { --q: #22c55e; --q-ink: #fff; }
.a24c-aqi--moderate { --q: #eab308; --q-ink: #3b2a00; }
.a24c-aqi--sensitive { --q: #f97316; }
.a24c-aqi--unhealthy { --q: #ef4444; }
.a24c-aqi--very { --q: #a855f7; }
.a24c-aqi--hazardous { --q: #9f1239; }
.a24c-aqi__top { display: flex; align-items: center; gap: 14px; }
.a24c-aqi__value { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--q); color: var(--q-ink); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.a24c-aqi__text { display: grid; gap: 2px; }
.a24c-aqi__text strong { font-size: 16px; line-height: 1.25; }
.a24c-aqi__text small { color: var(--a24-muted, #627683); font-size: 12.5px; }
.a24c-aqi__scale { position: relative; height: 6px; margin: 16px 0 12px; border-radius: 6px; background: linear-gradient(90deg, #22c55e 0 16.6%, #eab308 16.6% 33.3%, #f97316 33.3% 50%, #ef4444 50% 66.6%, #a855f7 66.6% 100%); }
.a24c-aqi__scale i { position: absolute; top: 50%; width: 16px; height: 16px; box-sizing: border-box; border: 3px solid var(--a24-surface, #fff); border-radius: 50%; background: var(--q); box-shadow: 0 1px 4px rgba(0, 0, 0, .35); transform: translate(-50%, -50%); }
.a24c-aqi__advice { margin: 0 0 10px; color: var(--a24-text-2, #33444f); font-size: 14px; line-height: 1.45; }
.a24c-aqi__pm { display: flex; flex-wrap: wrap; gap: 6px; }
.a24c-aqi__pm span { padding: 4px 10px; border-radius: 99px; background: var(--a24-surface-2, #edf3f6); color: var(--a24-muted, #627683); font-size: 12px; }
.a24c-aqi__pm b { color: var(--a24-text, #0f1e28); }

/* ---------- price tables ---------- */
.a24c-prices__head { position: relative; display: grid; gap: 3px; margin-bottom: 14px; padding-bottom: 11px; border-bottom: 1px solid var(--a24-border, #dbe5ea); }
.a24c-prices__head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 44px; height: 3px; border-radius: 2px; background: var(--a24-accent, #f5b301); }
.a24c-prices__kicker { color: var(--a24-muted, #627683); font-size: 12px; }
.a24c-prices__title { display: flex; align-items: center; gap: 9px; font-family: var(--a24-font-head, inherit); font-size: 16px; font-weight: 800; }
.a24c-prices__title::before { content: ""; flex: none; width: 14px; height: 11px; background: var(--a24-primary, #0a7ea4); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.a24c-prices__list { margin: 0; padding: 0; list-style: none; }
.a24c-prices__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--a24-border, #dbe5ea); }
.a24c-prices__list li:last-child { border-bottom: 0; }
.a24c-prices__name { display: grid; gap: 1px; min-width: 0; }
.a24c-prices__name b { font-size: 14.5px; font-weight: 600; }
.a24c-prices__name small { color: var(--a24-muted, #627683); font-size: 12px; }
.a24c-prices__value { display: grid; justify-items: end; gap: 1px; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.a24c-prices__value small { color: var(--a24-muted, #627683); font-size: 12px; font-weight: 500; }
.a24c-prices__updated { margin: 10px 0 0; color: var(--a24-muted, #627683); font-size: 12px; }
.a24c-delta { font-size: 12px; font-style: normal; font-weight: 700; }
.a24c-delta--up { color: var(--a24-ok, #16a34a); }
.a24c-delta--down { color: var(--a24-hot, #d7263d); }
.a24c-delta--flat { color: var(--a24-muted, #627683); }
.a24c-delta--up::before { content: "▲ "; font-size: 9px; }
.a24c-delta--down::before { content: "▼ "; font-size: 9px; }

/* ---------- advertising plans ---------- */
.a24c-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 24px 0 16px; }
.a24c-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 22px 22px; border: 1px solid var(--a24-border, #dbe5ea); border-radius: var(--a24-radius, 16px); background: var(--a24-surface, #fff); color: var(--a24-text, #0f1e28); }
.a24c-plan.is-hot { border: 2px solid var(--a24-primary, #0a7ea4); box-shadow: 0 24px 50px -28px rgba(10, 126, 164, .7); }
.a24c-plan__badge { position: absolute; top: -12px; left: 22px; padding: 4px 10px; border-radius: 6px; background: var(--a24-accent, #f5b301); color: var(--a24-accent-ink, #1d1500); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.a24c-plan__name { margin: 0; font-size: 17px; font-weight: 800; }
.a24c-plan__price { margin: 0; color: var(--a24-muted, #627683); font-size: 14px; }
.a24c-plan__price b { color: var(--a24-text, #0f1e28); font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.a24c-plan__list { flex: 1; display: grid; align-content: start; gap: 9px; margin: 0; padding: 0; list-style: none; }
.a24c-plan__list li { display: flex; align-items: flex-start; gap: 8px; color: var(--a24-text-2, #33444f); font-size: 14px; line-height: 1.4; }
.a24c-plan__list .a24c-icon, .a24c-plan__list .a24-icon { flex: none; margin-top: 2px; color: var(--a24-ok, #16a34a); font-size: 16px; }
.a24c-plans__note { margin: 0; color: var(--a24-muted, #627683); font-size: 13px; }

/* ---------- city services ---------- */
.a24c-services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.a24c-svc {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 120px; padding: 16px;
	border: 1px solid var(--a24-border, #dbe5ea); border-radius: var(--a24-radius, 16px); background: var(--a24-surface, #fff); color: var(--a24-text, #0f1e28);
	font-family: inherit; text-align: left; text-decoration: none; overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.a24-panel .a24c-svc { border-color: transparent; background: var(--a24-surface-2, #edf3f6); }
a.a24c-svc:hover, button.a24c-svc:hover { color: var(--a24-text, #0f1e28); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(17, 24, 39, .35); }
button.a24c-svc { width: 100%; font-size: inherit; cursor: pointer; }
.a24c-svc__icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 8px; border-radius: 11px; background: var(--a24-surface, #fff); color: var(--a24-primary, #0a7ea4); font-size: 19px; line-height: 1; }
.a24c-svc__label { color: var(--a24-muted, #627683); font-size: 12.5px; font-weight: 600; }
.a24c-svc__value { font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.a24c-svc__value small { color: var(--a24-muted, #627683); font-size: 12px; font-weight: 700; letter-spacing: 0; }
.a24c-svc__value--text { font-size: 18px; }
.a24c-svc__note { color: var(--a24-text-2, #33444f); font-size: 13px; }
.a24c-svc__rates { display: grid; gap: 2px; margin-top: 2px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.a24c-svc__rates b { display: inline-block; min-width: 38px; color: var(--a24-muted, #627683); font-size: 12px; }
.a24c-svc--weather .a24c-svc__icon { background: linear-gradient(135deg, #38bdf8, #1d4ed8); color: #fff; }
.a24c-svc--aqi .a24c-svc__icon { background: var(--q); color: var(--q-ink); }
.a24c-svc--rates .a24c-svc__icon { background: rgba(22, 163, 74, .14); color: var(--a24-ok, #16a34a); }
.a24c-svc--outages .a24c-svc__icon { background: rgba(245, 158, 11, .16); color: #d97706; }
.a24c-svc.a24c-svc--tip { border-color: transparent; background: linear-gradient(135deg, var(--a24-primary, #0a7ea4), var(--a24-dark, #0b2230)); color: #fff; }
.a24c-svc--tip .a24c-svc__value { color: #fff; }
.a24c-svc--tip .a24c-svc__label, .a24c-svc--tip .a24c-svc__note { color: rgba(255, 255, 255, .82); }
.a24c-svc--tip .a24c-svc__icon { background: var(--a24-accent, #f5b301); color: var(--a24-accent-ink, #1d1500); }
button.a24c-svc--tip:hover { color: #fff; }

/* ---------- widgets ---------- */
.a24c-block { margin: 0 0 24px; }
.a24c-block__title { margin: 0 0 14px; font-size: 18px; }
.a24c-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.a24c-block--grid .a24c-list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.a24c-item { display: flex; align-items: flex-start; gap: 12px; }
.a24c-block--grid .a24c-item { flex-direction: column; }
.a24c-item__thumb { flex: none; display: block; overflow: hidden; border-radius: 8px; }
.a24c-item__thumb img { display: block; width: 100%; height: auto; }
.a24c-block--list .a24c-item__thumb { width: 84px; }
.a24c-block--list .a24c-item__thumb img { aspect-ratio: 1; object-fit: cover; }
.a24c-item__title { display: block; font-weight: 700; line-height: 1.35; text-decoration: none; }
.a24c-item__date { display: block; margin-top: 4px; font-size: 12px; opacity: .7; }
.a24c-card { padding: 12px 0; border-bottom: 1px solid var(--a24-border, #dbe5ea); font-weight: 600; }

.a24c-comments { display: grid; gap: 12px; margin: 0; padding: 0; font-size: 14px; list-style: none; }
.a24c-comments li { display: flex; gap: 10px; }
.a24c-comments img { border-radius: 50%; }
.a24c-comments p { margin: 4px 0 0; opacity: .75; }

.a24c-rates__table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.a24c-rates__cur { display: flex; align-items: center; gap: 8px; min-width: 0; }
.a24c-rates__cur .a24c-rates__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a24c-rates__table th, .a24c-rates__table td { padding: 8px 0; border-bottom: 1px solid var(--a24-border, rgba(0, 0, 0, .08)); text-align: left; }
.a24c-rates__code { display: inline-block; min-width: 42px; margin-right: 8px; padding: 3px 6px; border-radius: 5px; background: var(--a24-surface-2, rgba(0, 0, 0, .06)); font-size: 12px; font-weight: 800; text-align: center; }
.a24c-rates__name { font-size: 12px; font-weight: 400; opacity: .7; }
.a24c-rates__value, .a24c-rates__change { text-align: right !important; white-space: nowrap; }
.a24c-rates__value { width: 92px; font-weight: 700; }
.a24c-rates__change { width: 66px; }
.a24c-up { color: var(--a24-ok, #16a34a); }
.a24c-down { color: var(--a24-hot, #e11d48); }
.a24c-rates__note { margin: 8px 0 0; font-size: 12px; opacity: .7; }

.a24c-weather { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #1d4ed8, #0ea5e9); }
.a24c-weather.is-night { background: linear-gradient(135deg, #0f172a, #334155); }
.a24c-weather__main { display: flex; align-items: center; gap: 8px; }
.a24c-weather__icon { font-size: 40px; line-height: 1; }
.a24c-weather__temp { font-size: 34px; font-weight: 800; }
.a24c-weather__info { display: grid; gap: 2px; font-size: 13px; }
.a24c-weather__city { font-size: 15px; font-weight: 700; }

.a24c-subscribe { padding: 20px; border-radius: 12px; background: var(--a24-dark, #0b2230); color: #e6f0f4; }
.a24c-subscribe__text { margin: 0 0 12px; }
.a24c-subscribe__form { display: grid; gap: 10px; }
.a24c-subscribe__form input[type="email"] { width: 100%; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; background: rgba(255, 255, 255, .06); color: #fff; }
.a24c-subscribe__privacy { margin: 10px 0 0; font-size: 12px; opacity: .7; }
.a24c-subscribe__msg { margin: 0 0 10px; padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.a24c-subscribe__msg.a24c-ok { background: rgba(22, 163, 74, .2); }
.a24c-subscribe__msg.a24c-error { background: rgba(225, 29, 72, .2); }

.a24c-social-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.a24c-social-btn { --net: #0a7ea4; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 9px; background: var(--net); color: #fff !important; font-size: 13px; font-weight: 700; text-decoration: none; }
.a24c-social-btn__count { margin-left: auto; opacity: .85; }
.a24c-social-btn--facebook { --net: #1877f2; }
.a24c-social-btn--instagram { --net: #d62976; }
.a24c-social-btn--telegram { --net: #229ed9; }
.a24c-social-btn--whatsapp { --net: #1fb855; }
.a24c-social-btn--youtube { --net: #ff0000; }
.a24c-social-btn--tiktok { --net: #111; }
.a24c-social-btn--x { --net: #0f1419; }
.a24c-social-btn--vk { --net: #0077ff; }
.a24c-social-btn--linkedin { --net: #0a66c2; }

.a24c-banner { display: flex; flex-direction: column; align-items: center; }
.a24c-banner img { display: block; max-width: 100%; height: auto; }
.a24c-banner__label { margin-bottom: 4px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
@media (max-width: 767px) { .a24c-hide-mobile { display: none !important; } }
@media (min-width: 768px) { .a24c-hide-desktop { display: none !important; } }

.a24c-inline-related { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 3px 12px; margin: 1.5em 0; padding: 12px 16px; border-left: 4px solid var(--a24-primary, #0a7ea4); background: rgba(10, 126, 164, .06); font-weight: 700; }
.a24c-inline-related.a24-inline-related--thumb { grid-template-columns: 76px minmax(0, 1fr); }
.a24c-inline-related img { grid-row: span 2; width: 76px; height: 57px; margin: 0; border-radius: 6px; object-fit: cover; }
.a24c-inline-related .a24-inline-related__label { align-self: end; color: var(--a24-primary, #0a7ea4); font-size: 11px; line-height: 1.4; letter-spacing: .07em; text-transform: uppercase; }
.a24c-inline-related a { align-self: start; }

@media print {
	.a24c-reactions, .a24c-poll, .a24c-report-fab, .a24c-modal { display: none !important; }
}
