/* =====================================================================
   Портал открытых данных — страница показателя (BI)
   Все классы с префиксом od- и ограничены контейнером .od, чтобы не
   конфликтовать со стилями шаблона (vendors_css / bootstrap).
   ===================================================================== */

.od {
    --od-bg: #f4f5f2;
    --od-surface: #ffffff;
    --od-ink: #0b0b0b;
    --od-ink-2: #52514e;
    --od-muted: #898781;
    --od-line: #e4e3dc;
    --od-line-2: #d3d2ca;
    --od-brand: #005921;
    --od-brand-soft: #e7f2ea;
    --od-accent: #2a78d6;
    --od-accent-ink: #1c5cab;
    --od-accent-soft: #eaf2fd;
    --od-radius: 14px;
    --od-radius-sm: 9px;
    --od-shadow: 0 1px 2px rgba(20, 30, 20, .05), 0 6px 20px rgba(20, 30, 20, .05);
    --od-font: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;

    max-width: 1440px;
    margin: 0 auto;
    padding: 8px 0 48px;
    font-family: var(--od-font);
    font-size: 14px;
    line-height: 1.45;
    color: var(--od-ink);
}

body:has(.od) { background: var(--od-bg); }
.od *, .od *::before, .od *::after { box-sizing: border-box; }
.od h1, .od h2, .od h3, .od p { margin: 0; font-family: var(--od-font); color: inherit; }
.od button, .od select, .od input { font-family: var(--od-font); }
.od [hidden] { display: none !important; }

/* ---------------------------------------------------------- кнопки */
.od-btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 38px; padding: 0 16px;
    border: 1px solid var(--od-line-2); border-radius: 999px;
    background: var(--od-surface); color: var(--od-ink);
    font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.od-btn:hover { border-color: var(--od-ink-2); }
.od-btn:focus-visible, .od-iconbtn:focus-visible, .od-chip:focus-visible, .od-ct:focus-visible,
.od-seg__btn:focus-visible, .od-play:focus-visible, .od-rank__row:focus-visible, .od-sectionnav a:focus-visible {
    outline: 2px solid var(--od-accent); outline-offset: 2px;
}
.od-btn--primary { background: var(--od-brand); border-color: var(--od-brand); color: #fff; }
.od-btn--primary:hover { background: #00471a; border-color: #00471a; }
.od-btn--ghost { height: 34px; padding: 0 12px; font-size: 13px; color: var(--od-ink-2); }
.od-caret { font-size: 10px; opacity: .7; }
.od-iconbtn {
    display: inline-grid; place-items: center; width: 34px; height: 34px;
    border: 1px solid var(--od-line-2); border-radius: 50%; background: var(--od-surface);
    color: var(--od-ink-2); cursor: pointer;
}
.od-iconbtn:hover { color: var(--od-ink); border-color: var(--od-ink-2); }

/* ---------------------------------------------------- хлебные крошки */
.od-crumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin: 4px 0 14px; font-size: 13px; color: var(--od-muted);
}
.od-crumbs a { color: var(--od-ink-2); text-decoration: none; }
.od-crumbs a:hover { color: var(--od-brand); text-decoration: underline; }
.od-crumbs__sep { font-size: 9px; opacity: .6; }
.od-crumbs span[aria-current] { color: var(--od-muted); max-width: 52ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------------------ шапка */
.od-hero {
    position: relative;
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
    padding: 26px 28px;
    border-radius: var(--od-radius);
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(42, 120, 214, .08) 0%, rgba(42, 120, 214, 0) 55%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfa 100%);
    border: 1px solid var(--od-line);
    box-shadow: var(--od-shadow);
    overflow: hidden;
}
.od-hero::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
    background: linear-gradient(180deg, #cc0000 0 33.3%, #ffffff 33.3% 66.6%, var(--od-brand) 66.6% 100%);
}
.od-hero__main { flex: 1 1 560px; min-width: 0; }
.od-eyebrow {
    display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px;
    background: var(--od-brand-soft); color: var(--od-brand);
    font-size: 12px; font-weight: 600; letter-spacing: .02em;
}
.od-hero__title { font-size: 28px; line-height: 1.22; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.od-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--od-ink-2); font-size: 13.5px; }
.od-hero__meta li { display: inline-flex; align-items: center; gap: 7px; }
.od-hero__meta i { color: var(--od-muted); }
.od-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* -------------------------------------------------------------- KPI */
.od-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 16px 0; }
.od-kpi {
    position: relative; min-height: 118px; padding: 16px 18px;
    border-radius: var(--od-radius); background: var(--od-surface);
    border: 1px solid var(--od-line); box-shadow: var(--od-shadow);
}
.od-kpi__l { font-size: 13px; color: var(--od-ink-2); }
.od-kpi__v { margin-top: 6px; font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
.od-kpi__v small { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--od-ink-2); letter-spacing: 0; }
.od-kpi__arrow { font-size: 18px; color: var(--od-ink-2); }
.od-kpi__s { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; font-size: 12.5px; color: var(--od-muted); }
/* карточка со спарклайном: график — отдельной колонкой справа, длинное значение переносится, а не уходит под него */
.od-kpi--spark { display: grid; grid-template-columns: minmax(0, 1fr) 112px; column-gap: 12px; align-content: start; }
.od-kpi--spark > .od-kpi__l, .od-kpi--spark > .od-kpi__v { grid-column: 1; }
.od-kpi--spark > .od-kpi__s { grid-column: 1 / -1; }
.od-kpi__spark { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 112px; height: 44px; }
.od-delta { color: var(--od-ink-2); font-weight: 500; }
.od-delta i { color: var(--od-accent); }

/* --------------------------------------------------- навигация по разделам */
.od-sectionnav {
    position: sticky; top: 0; z-index: 30;
    display: flex; gap: 6px; margin: 0 0 14px; padding: 8px 0;
    background: linear-gradient(var(--od-bg) 75%, rgba(244, 245, 242, 0));
}
.od-sectionnav a {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
    color: var(--od-ink-2); font-weight: 500; text-decoration: none; background: transparent;
}
.od-sectionnav a:hover { background: #ebece7; color: var(--od-ink); }
.od-sectionnav a.is-active { background: var(--od-ink); color: #fff; }

/* -------------------------------------------------------------- карточки */
.od-card {
    margin-bottom: 18px; padding: 20px 22px 22px;
    border-radius: var(--od-radius); background: var(--od-surface);
    border: 1px solid var(--od-line); box-shadow: var(--od-shadow);
    scroll-margin-top: 64px;
}
.od-card__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.od-card__title { font-size: 19px; font-weight: 600; }
.od-card__hint { margin-top: 4px; font-size: 13px; color: var(--od-muted); max-width: 80ch; }
.od-card__tools { display: flex; align-items: center; gap: 8px; }
.od-card.is-fullscreen { overflow: auto; border-radius: 0; padding: 24px 28px; }
.od-card:fullscreen { background: var(--od-surface); }

/* ------------------------------------------------- галерея типов графиков */
.od-charttypes {
    display: flex; gap: 6px; padding: 4px; margin-bottom: 12px;
    overflow-x: auto; scrollbar-width: thin;
    border-radius: 12px; background: #f6f6f3; border: 1px solid var(--od-line);
}
.od-ct {
    flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    min-width: 82px; height: 60px; padding: 6px 8px;
    border: 1px solid transparent; border-radius: 9px; background: transparent;
    color: var(--od-ink-2); font-size: 12px; cursor: pointer; transition: background-color .15s, color .15s;
}
.od-ct i { font-size: 17px; color: var(--od-muted); transition: color .15s; }
.od-ct:hover { background: #fff; color: var(--od-ink); }
.od-ct:hover i { color: var(--od-ink-2); }
.od-ct[aria-pressed="true"] { background: #fff; border-color: var(--od-line-2); color: var(--od-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); font-weight: 600; }
.od-ct[aria-pressed="true"] i { color: var(--od-accent); }

/* ---------------------------------------------------- панели параметров */
.od-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.od-toolbar:empty { display: none; }
.od-spacer { flex: 1 1 auto; }
.od-chip {
    display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px;
    border: 1px solid var(--od-line-2); border-radius: 999px; background: #fff;
    color: var(--od-ink-2); font-size: 13px; cursor: pointer; white-space: nowrap;
}
.od-chip i { color: var(--od-muted); }
.od-chip:hover { border-color: var(--od-ink-2); color: var(--od-ink); }
.od-chip[aria-pressed="true"] { background: var(--od-accent-soft); border-color: #b9d3f4; color: var(--od-accent-ink); }
.od-chip[aria-pressed="true"] i { color: var(--od-accent); }
.od-field { display: inline-flex; align-items: center; gap: 0; height: 34px; margin: 0; border: 1px solid var(--od-line-2); border-radius: 999px; background: #fff; overflow: hidden; }
.od-field > span { padding: 0 4px 0 13px; font-size: 12.5px; color: var(--od-muted); white-space: nowrap; }
.od-field select {
    height: 32px; max-width: 280px; padding: 0 30px 0 6px; border: 0; background: transparent;
    font-size: 13px; color: var(--od-ink); cursor: pointer; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3e%3cpath d='M1 1l4 4 4-4' fill='none' stroke='%2352514e' stroke-width='1.5'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 10px 6px;
}
.od-field select:focus { outline: none; }
.od-field:focus-within { border-color: var(--od-accent); box-shadow: 0 0 0 3px rgba(42, 120, 214, .15); }
.od-field--grow select { max-width: 420px; }
.od-check { display: inline-flex; align-items: center; gap: 8px; height: 34px; margin: 0; padding: 0 4px; font-size: 13px; color: var(--od-ink-2); cursor: pointer; font-weight: 400; }
.od-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--od-accent); }

.od-note {
    display: flex; align-items: center; gap: 8px; margin: -4px 0 10px; padding: 8px 12px;
    border-radius: var(--od-radius-sm); background: #f6f6f3; color: var(--od-ink-2); font-size: 12.5px;
}
.od-note::before { content: '\f05a'; font: var(--fa-font-solid); color: var(--od-muted); }

/* ------------------------------------------------------------ график */
.od-chart { position: relative; min-height: 300px; }
.od-chart__box { width: 100%; }
.od-empty {
    display: grid; place-items: center; gap: 8px; min-height: 260px; padding: 24px; text-align: center;
    color: var(--od-muted); border: 1px dashed var(--od-line-2); border-radius: var(--od-radius-sm);
}
.od-empty i { font-size: 28px; }
.od-empty.is-error { color: #b42318; border-color: #f2c1bd; background: #fffafa; }

/* всплывающие подсказки (DevExtreme и Leaflet) */
.od-tip { min-width: 160px; max-width: 320px; font-family: var(--od-font); font-size: 12.5px; color: var(--od-ink); text-align: left; }
.od-tip__h { margin-bottom: 6px; font-weight: 600; font-size: 13px; white-space: normal; }
.od-tip__r { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 8px; padding: 2px 0; }
.od-tip__r i { width: 10px; height: 10px; border-radius: 3px; }
.od-tip__r span { color: var(--od-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.od-tip__r b { font-weight: 600; font-variant-numeric: tabular-nums; }
.od-tip__u { margin-top: 6px; color: var(--od-muted); font-size: 11.5px; }
.od-tip__big { font-size: 20px; font-weight: 600; line-height: 1.2; }
.od-tip__big small { font-size: 12px; font-weight: 400; color: var(--od-ink-2); }
.od-tip__m { margin-top: 4px; color: var(--od-ink-2); font-size: 12px; }
.od-spark { display: block; margin-top: 8px; }

/* теплокарта */
.od-heat__legend { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 12px; color: var(--od-ink-2); }
.od-heat__legend em { font-style: normal; color: var(--od-muted); }
.od-heat__ramp { width: 180px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #cde2fb, #86b6ef, #3987e5, #256abf, #184f95, #0d366b); }
.od-heat__scroll { max-height: 620px; overflow: auto; border: 1px solid var(--od-line); border-radius: var(--od-radius-sm); }
.od-heat__table { border-collapse: separate; border-spacing: 2px; width: max-content; min-width: 100%; font-size: 12px; background: #fff; }
.od-heat__table th { position: sticky; background: #fff; color: var(--od-ink-2); font-weight: 500; padding: 6px 8px; text-align: center; white-space: nowrap; }
.od-heat__table thead th { top: 0; z-index: 2; }
.od-heat__table tbody th { left: 0; z-index: 1; text-align: left; max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
.od-heat__table .od-heat__corner { left: 0; z-index: 3; text-align: left; color: var(--od-muted); }
.od-heat__table td { min-width: 64px; height: 28px; padding: 4px 8px; border-radius: 4px; text-align: right; font-variant-numeric: tabular-nums; }
.od-heat__table td.is-empty { background: repeating-linear-gradient(135deg, #f4f4f1 0 4px, #fff 4px 8px); }
.od-heat__table tr:hover th { color: var(--od-ink); }

/* -------------------------------------------------- сводная таблица */
.od-pivot { min-height: 300px; }
.od .dx-pivotgrid { font-family: var(--od-font); font-size: 13px; color: var(--od-ink); }
.od .dx-pivotgrid .dx-pivotgrid-area td { padding: 7px 10px; }
.od .dx-pivotgrid .dx-area-description-cell,
.od .dx-pivotgrid .dx-column-header,
.od .dx-pivotgrid .dx-filter-header { background: #fafaf8; }
.od .dx-pivotgrid .dx-pivotgrid-horizontal-headers td,
.od .dx-pivotgrid .dx-pivotgrid-vertical-headers td { color: var(--od-ink-2); }
.od .dx-pivotgrid .dx-data-header, .od .dx-pivotgrid .dx-row-total, .od .dx-pivotgrid .dx-grandtotal { background: #f6f6f3; }
.od .dx-pivotgrid .dx-area-data-cell td { font-variant-numeric: tabular-nums; }
.od .dx-pivotgrid-fields-container .dx-area-field { border-radius: 999px; }

/* ---------------------------------------------------------------- карта */
.od-mapgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; }
.od-mapmain { min-width: 0; }
.od-map {
    height: 580px; border-radius: var(--od-radius-sm); border: 1px solid var(--od-line);
    background: #f2f4f6; overflow: hidden; font-family: var(--od-font);
}
.od-map.has-basemap { background: #e9ecef; }
.od-map .leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, .8); }
.od-map .leaflet-control-zoom a { color: var(--od-ink-2); }
.od-mapbtn {
    display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 8px;
    background: #fff; color: var(--od-ink-2); cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.od-mapbtn:hover { color: var(--od-ink); }
.od-maplegend {
    min-width: 170px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .94);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .15); font: 12px/1.35 var(--od-font); color: var(--od-ink-2);
}
.od-maplegend__t { font-weight: 600; color: var(--od-ink); margin-bottom: 2px; max-width: 220px; }
.od-maplegend__u { color: var(--od-muted); margin-bottom: 6px; }
.od-maplegend__r { display: flex; align-items: center; gap: 8px; padding: 2px 0; font-variant-numeric: tabular-nums; }
.od-maplegend__r i { width: 22px; height: 12px; border-radius: 3px; }
.od-maplegend__r i.is-nodata { box-shadow: inset 0 0 0 1px #d3d2ca; }
.od-maptip.leaflet-tooltip {
    padding: 10px 12px; border: 1px solid var(--od-line); border-radius: 10px; background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .14); white-space: normal;
}
.od-maptip.leaflet-tooltip-top::before { border-top-color: #fff; }
.od-maplabel { background: none; border: 0; }
.od-maplabel span {
    display: inline-block; transform: translate(-50%, -50%); padding: 1px 5px; border-radius: 4px;
    font: 600 11px/1.3 var(--od-font); color: var(--od-ink); white-space: nowrap;
    background: rgba(255, 255, 255, .72); font-variant-numeric: tabular-nums;
}
.od-maplabel.is-dark span { color: #fff; background: rgba(13, 54, 107, .55); }

.od-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: #f1f1ed; border: 1px solid var(--od-line); }
.od-seg__btn {
    display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 0; border-radius: 999px;
    background: transparent; color: var(--od-ink-2); font-size: 13px; cursor: pointer;
}
.od-seg__btn em { font-style: normal; font-size: 11px; color: var(--od-muted); }
.od-seg__btn[aria-pressed="true"] { background: #fff; color: var(--od-ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }

.od-timeline { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 10px 14px; border-radius: var(--od-radius-sm); background: #f6f6f3; border: 1px solid var(--od-line); }
.od-play {
    flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%;
    background: var(--od-ink); color: #fff; cursor: pointer;
}
.od-play:disabled { opacity: .35; cursor: default; }
.od-timeline__track { flex: 1 1 auto; min-width: 0; }
.od-timeline__track input[type=range] { width: 100%; margin: 0; accent-color: var(--od-accent); cursor: pointer; }
.od-timeline__ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--od-muted); }
.od-timeline__year { flex: 0 0 auto; min-width: 64px; text-align: right; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.od-timeline__year.is-long { min-width: 116px; font-size: 18px; }
@media (max-width: 599px) { .od-timeline__year.is-long { min-width: 0; font-size: 15px; } }

.od-mapside { display: flex; flex-direction: column; min-width: 0; max-height: 652px; }
.od-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.od-stat { padding: 10px 12px; border-radius: var(--od-radius-sm); background: #f6f6f3; min-width: 0; }
.od-stat__l { display: block; font-size: 11.5px; color: var(--od-muted); }
.od-stat__v { display: block; margin-top: 2px; font-size: 17px; font-weight: 600; }
.od-stat__w { display: block; font-size: 11.5px; color: var(--od-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.od-rank__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.od-rank__head h3 { font-size: 14px; font-weight: 600; }
.od-rank__head span { font-size: 11.5px; color: var(--od-muted); }
.od-rank { flex: 1 1 auto; margin: 0; padding: 0 4px 0 0; list-style: none; overflow-y: auto; scrollbar-width: thin; }
.od-rank__row {
    display: grid; grid-template-columns: 26px minmax(0, 1fr) 70px 64px; align-items: center; gap: 8px;
    padding: 5px 6px; border-radius: 7px; font-size: 12.5px; cursor: pointer;
}
.od-rank__row:hover, .od-rank__row.is-hot { background: var(--od-accent-soft); }
.od-rank__n { color: var(--od-muted); text-align: right; font-variant-numeric: tabular-nums; }
.od-rank__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--od-ink); }
.od-rank__bar { height: 8px; border-radius: 4px; background: #efeee9; overflow: hidden; }
.od-rank__bar i { display: block; height: 100%; border-radius: 4px; }
.od-rank__v { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.od-notmap { margin-top: 10px; padding: 10px 12px; border-radius: var(--od-radius-sm); background: #fbf7ec; font-size: 12px; color: var(--od-ink-2); }
.od-notmap b { display: block; margin-bottom: 2px; color: var(--od-ink); font-weight: 600; }

/* --------------------------------------------------------- меню и тост */
.od-menuwrap { position: relative; }
.od-menu {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 1200; min-width: 220px; padding: 6px;
    border-radius: 12px; background: #fff; border: 1px solid var(--od-line); box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
}
.od-menu__item {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px;
    background: transparent; color: var(--od-ink); font: 13px var(--od-font); text-align: left; cursor: pointer;
}
.od-menu__item i { width: 16px; color: var(--od-muted); }
.od-menu__item:hover:not(:disabled) { background: #f4f4f1; }
.od-menu__item:disabled { opacity: .4; cursor: default; }
.od-toast {
    position: fixed; left: 50%; bottom: 28px; z-index: 5000; transform: translate(-50%, 20px);
    padding: 10px 18px; border-radius: 999px; background: #0b0b0b; color: #fff; font: 500 13px Roboto, system-ui, sans-serif;
    opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.od-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------- скелетоны */
.od-skeleton {
    background: linear-gradient(90deg, #efefeb 0%, #f7f7f4 40%, #efefeb 80%);
    background-size: 200% 100%; animation: od-shimmer 1.4s ease-in-out infinite;
    border-color: transparent !important; box-shadow: none !important;
}
.od-skeleton--block { height: 420px; border-radius: var(--od-radius-sm); }
@keyframes od-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) {
    .od-skeleton { animation: none; }
    .od * { transition: none !important; }
}

/* ------------------------------------------------------------ адаптив */
@media (max-width: 1100px) {
    .od-mapgrid { grid-template-columns: 1fr; }
    .od-mapside { max-height: none; }
    .od-rank { max-height: 360px; }
}
@media (max-width: 720px) {
    .od { padding-bottom: 24px; }
    .od-hero { padding: 20px 18px 20px 22px; }
    .od-hero__title { font-size: 22px; }
    .od-card { padding: 16px 14px; }
    .od-kpi__spark { display: none; }
    .od-kpi--spark { display: block; }
    .od-map { height: 440px; }
    .od-hide-sm { display: none; }
    .od-ct { min-width: 70px; }
}
@media print {
    .od-sectionnav, .od-hero__actions, .od-card__tools, .od-charttypes, .od-toolbar, .od-timeline { display: none !important; }
    .od-card, .od-kpi, .od-hero { box-shadow: none; break-inside: avoid; }
}

/* длинная подпись периода в KPI («семоҳаи I 2018 – семоҳаи III 2026») */
.od-kpi__long { display: inline-block; font-size: 21px; line-height: 1.25; }
