/*
 * Тема в стиле moniq.uz — подключается после app.css и переопределяет его.
 * Монохромная палитра (ink #1f242e), Roboto, светло-серые поверхности,
 * тонкие рамки, скругления 10–20px, красный акцент #e11d48.
 */

/* Roboto (вариативный, 400–900) хранится локально, как у moniq */
@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url(fonts/roboto-cyrillic.woff2) format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url(fonts/roboto-latin-ext.woff2) format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url(fonts/roboto-latin.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #1f242e;
    --ink-2: #4b5563;
    --ink-3: #6b7280;
    --ink-4: #9ca3af;
    --surface: #f3f4f6;
    --surface-2: #f6f7f9;
    --hairline: rgba(31, 36, 46, .08);
    --hairline-2: #e5e7eb;
    --red: #e11d48;
    --green: #1f8a5b;
    --radius-btn: 10px;
    --radius-card: 20px;
    --shadow-soft: 0 1px 2px rgba(31, 36, 46, .04), 0 8px 24px -12px rgba(31, 36, 46, .12);
    --shadow-lift: 0 2px 4px rgba(31, 36, 46, .05), 0 18px 40px -16px rgba(31, 36, 46, .22);

    /* переменные app.css */
    --text-color-black: var(--ink);
    --text-color-black-2: var(--ink);
    --text-color-dark: var(--ink-3);
    --text-color-dark-2: var(--ink-2);
    --text-color-light-2: var(--ink-4);
    --text-color-grey: var(--ink-4);
    --text-color-gray: var(--ink-3);
    --text-color-gray-2: var(--ink-3);
    --bg-color-black: var(--ink);
    --bg-color-light: var(--surface);
    --bg-color-gray: var(--surface);
    --bg-color-dark-gray: var(--hairline-2);
    --bg-color-light-primary: var(--surface);
    --color-primary: var(--ink);
    --color-primary-hover: var(--surface);
    --color-line: var(--hairline-2);
    --color-line-light: var(--hairline-2);
    --color-error: var(--red);
    --color-success: #10b981;
    --breadcrumb-color: var(--ink-3);
    --breadcrumb-color-active: var(--ink);
    --box-shadow: var(--shadow-soft);
    --box-shadow-hover: var(--shadow-lift);
    --border-radius: var(--radius-btn);
}

/* ---------- База ---------- */

/* app.css задаёт Nunito Sans через «*», поэтому переопределяем там же */
* { font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif; }

body {
    font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: rgba(225, 29, 72, .14); }

.header_h1_xl, .header_h1, .header_h2, .header_h3, .header_h4 {
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -.02em;
}
.header_h1_xl { font-size: 44px; line-height: 1.1; }
.header_h1 { font-size: 32px; line-height: 1.2; }
.header_h2 { font-size: 30px; line-height: 1.2; }

@media (max-width: 768px) {
    .header_h1_xl { font-size: 30px; }
    .header_h1 { font-size: 28px; }
    .header_h2 { font-size: 24px; }
}

/* цифры курсов: вместо OCR — ровные табличные цифры */
.OCR_font {
    font-family: Roboto, system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: -.01em;
}
.font_shadow { text-shadow: none; }

.hover_primary { transition: color .15s; }
.hover_primary:hover { color: var(--ink) !important; }

a.color_primary, .color_primary { color: var(--red); }
a.color_primary:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Шапка ---------- */

.site_header {
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--hairline);
}

.site_header__menu_point_header {
    color: var(--ink-2);
    font-weight: 500;
    font-size: 15px;
    padding: 20px 12px;
    transition: color .15s;
}
.site_header__menu_point:hover .site_header__menu_point_header,
.site_header__menu_point.active .site_header__menu_point_header { color: var(--ink); }

/* полоска сверху -> аккуратная точка-индикатор снизу, как у moniq */
.site_header__menu_point_header:before {
    top: auto;
    bottom: 10px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--ink);
}
.site_header__menu_point:hover .site_header__menu_point_header:before { width: 20px; }

.site_header__menu_point_dropdown {
    background: #fff;
    border-top: 1px solid var(--hairline);
    box-shadow: 0 24px 48px -24px rgba(31, 36, 46, .25);
    padding-top: 28px;
    padding-bottom: 28px;
}
.site_header__menu_point_dropdown_category {
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
}
.site_header__menu_point_dropdown_subcategory {
    display: inline-block;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
    padding: 7px 10px;
    margin-left: -10px;
    border-radius: var(--radius-btn);
    transition: background-color .15s, color .15s;
}
.site_header__menu_point_dropdown_subcategory:hover { background: var(--surface); color: var(--ink); }

.site_header__mobile_menu { border-radius: 20px 0 0 20px; }
.site_header__mobile_menu .site_header__menu_point { border-bottom-color: var(--hairline); }

/* ---------- Секции: светлый фон со штриховкой и мягким свечением ---------- */

.bg_color_light_primary {
    background:
        radial-gradient(600px 360px at 0% 0%, rgba(225, 29, 72, .06), transparent 70%),
        repeating-linear-gradient(135deg, rgba(31, 36, 46, .025) 0 1px, transparent 1px 14px),
        linear-gradient(180deg, var(--surface-2) 0%, #fff 100%);
}
.site_layout > section:first-of-type,
main > section:first-of-type { border-top: 0; }

/* ---------- Карточки ---------- */

.app_card {
    background-color: var(--surface);
    border-radius: var(--radius-card);
}
.app_card_white {
    background: #fff;
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-soft);
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
a.app_card_white:hover,
.card-item:hover .app_card_white,
.app_card_white.card-item:hover {
    box-shadow: var(--shadow-lift);
    border-color: rgba(31, 36, 46, .14);
}
.app_card_white .app_card__footer { background-color: var(--surface); }
.app_card__head, .app_card__header { color: var(--ink); }

.article_card {
    border-radius: var(--radius-card);
    overflow: hidden;
}
.article_card_white {
    background: #fff;
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-soft);
    transition: box-shadow .2s, transform .2s;
}
.article_card_white:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.article_card__image { border-radius: 0; }
.article_card_sm .article_card__title { color: var(--ink); line-height: 1.35; }
.article_card__info .info { color: var(--ink-3); }
.article_card__tags .app_tag {
    border-radius: 999px;
    font-weight: 500;
    font-size: 12px;
    line-height: 22px;
}

.bg_color_white.border_radius_20 {
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-soft);
}

/* ---------- Кнопки ---------- */

.app_button,
.app_button__overlay { border-radius: var(--radius-btn); }
.app_button_round,
.app_button_round .app_button__overlay { border-radius: 50%; }

.app_button__content { font-weight: 500; }

.app_button_primary .app_button__overlay { background: var(--ink); }
.app_button_primary:hover .app_button__overlay { background: #000; }

.app_button_outline {
    border: 1px solid var(--hairline-2);
    background: #fff;
}
.app_button_outline .app_button__content { color: var(--ink); }
.app_button_outline:hover { background: var(--surface); }
.app_button_outline:hover .app_button__content,
.app_button_outline:hover .icon_sprite { color: var(--ink); }

.app_button_tonal .app_button__overlay { background-color: var(--surface); filter: none; }
.app_button_tonal .app_button__content,
.app_button_tonal .icon_sprite { color: var(--ink); }
.app_button_tonal:hover .app_button__overlay { background-color: var(--hairline-2); }
.app_button_tonal:hover .app_button__content,
.app_button_tonal:hover .icon_sprite { color: var(--ink); }

.app_button_error .app_button__overlay { background-color: var(--red); }

/* фирменные цвета партнёров (зелёный TBC, синий, салатовый, жёлтый, серый) —
   у moniq кнопки только тёмные или светлые, приводим к основной тёмной */
.app_button_tbc .app_button__overlay,
.app_button_red .app_button__overlay,
.app_button_green .app_button__overlay,
.app_button_secondary .app_button__overlay,
.app_button_grey .app_button__overlay { background: var(--ink); filter: none; }
.app_button_tbc .app_button__content,
.app_button_red .app_button__content,
.app_button_green .app_button__content,
.app_button_secondary .app_button__content,
.app_button_grey .app_button__content,
.app_button_tbc .icon_sprite,
.app_button_red .icon_sprite,
.app_button_green .icon_sprite,
.app_button_secondary .icon_sprite,
.app_button_grey .icon_sprite { color: #fff; font-weight: 500; }
.app_button_grey { box-shadow: none; }
.app_button_primary:hover .app_button__overlay,
.app_button_tbc:hover .app_button__overlay,
.app_button_red:hover .app_button__overlay,
.app_button_green:hover .app_button__overlay,
.app_button_secondary:hover .app_button__overlay,
.app_button_grey:hover .app_button__overlay { background: #000; }

/* кнопки в карточках продуктов — на всю ширину, как в карточках moniq */
.main_request_card_btn .app_button {
    width: 100%;
    height: 44px;
    padding: 0 20px !important;
}
.main_request_card_btn .app_button__content { font-size: 15px; }

.app_button_lg { height: 52px; padding: 0 28px !important; }
.app_button_md { height: 42px; }

.app_button.active {
    background-color: var(--ink) !important;
    color: #fff !important;
}

/* ---------- Чипы / теги ---------- */

.app_chip { border-radius: 999px; }
.app_chip_primary { background-color: var(--ink); }
.app_chip_tonal,
.app_chip_light {
    background-color: var(--surface);
    color: var(--ink-2);
}

/* ---------- Поля ввода ---------- */

.app_input input,
.app_input textarea,
.request_input input,
.request_input textarea {
    border: 1px solid var(--hairline-2);
    border-radius: var(--radius-btn);
    transition: border-color .15s, box-shadow .15s;
}
.app_input input:hover,
.request_input input:hover { border-color: #d1d5db; }
.app_input input:focus,
.app_input textarea:focus,
.request_input input:focus,
.request_input textarea:focus,
.app_input_focus input,
.app_input_focus textarea {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(31, 36, 46, .08) !important;
}
.app_input input::placeholder,
.request_input input::placeholder { color: var(--ink-4); }

/* ---------- Таблицы ---------- */

.app_table_layout .app_table {
    border: 1px solid var(--hairline);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: none;
}
.app_table_layout .app_table thead { background-color: var(--surface-2); }
.app_table_layout .app_table thead .th {
    color: var(--ink-3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 11px !important;
}
.app_table_layout .app_table tbody td { border-bottom-color: var(--hairline); }
.app_table_layout .app_table tbody tr { transition: background-color .15s; }
.app_table_layout .app_table tbody tr:hover { background: var(--surface-2); }

.site_table__header {
    background-color: var(--surface-2);
    border-bottom: 1px solid var(--hairline);
}
.site_table__header .th { color: var(--ink-3); font-weight: 500; }
.site_table__tr.site_table__tr_hover { border-bottom-color: var(--hairline); }
.site_table__tr.site_table__tr_hover:hover { background: var(--surface-2); }
.site_table__body_container .popular_product { background: var(--surface) !important; }

.border_bottom_ligth { border-bottom-color: var(--hairline); }
.border_right_ligth { border-right-color: var(--hairline); }

/* ---------- Подвал ---------- */

.site__footer {
    background-color: var(--ink);
    border-top: 0;
}
.site__footer-bottom { border-top-color: rgba(255, 255, 255, .12); }
.site__footer a { transition: color .15s, opacity .15s; }
.site__footer a:hover { opacity: .75; }

/* ---------- Мелочи ---------- */

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* =====================================================================
 * Структура moniq: сетка, шапка, мега-меню, мобильное меню, подвал,
 * главная (hero, карточки продуктов, поддержка/Telegram).
 * Новые блоки — с префиксом mq-, чтобы не пересекаться с app.css.
 * ===================================================================== */

.app_container,
.mq-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: 1416px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}
@media (max-width: 1240px) {
    .app_container { width: 100%; max-width: 1416px; }
}
@media (max-width: 1023px) {
    .app_container, .mq-wrap { padding-left: 16px; padding-right: 16px; }
}

.mq-ico { width: 20px; height: 20px; flex: none; display: block; }
.mq-ico-sm { width: 16px; height: 16px; flex: none; display: block; }

/* ---------- Кнопки ---------- */

.mq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-btn);
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.mq-btn--primary { background: var(--ink); color: #fff; }
.mq-btn--primary:hover { background: #000; color: #fff; }
.mq-btn--light { background: #fff; color: var(--ink); border-color: var(--hairline-2); }
.mq-btn--light:hover { background: var(--surface); }
.mq-btn--block { width: 100%; height: 48px; }

.mq-icon-btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--radius-btn);
    background: none;
    color: var(--ink);
    cursor: pointer;
    transition: background-color .15s;
}
.mq-icon-btn:hover { background: var(--surface); }

/* ---------- Шапка ---------- */

.mq-header {
    position: relative;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid rgba(31, 36, 46, .08);
}
.mq-header__bar {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 80px;
}
.mq-header__logo { display: flex; align-items: center; flex: none; }
.mq-header__logo img { height: 40px; width: auto; display: block; }

.mq-nav { display: flex; align-items: center; gap: 32px; flex: 1; min-width: 0; }
@media (min-width: 1280px) { .mq-nav { gap: 40px; } }

.mq-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}
.mq-nav-link:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: 0;
    transition: transform .2s;
}
.mq-nav-link:hover:after,
.mq-nav-link.is-current:after { transform: scaleX(1); }
.mq-nav-link .mq-chev { width: 15px; height: 15px; transition: transform .2s; }
.mq-dd:hover .mq-chev, .mq-dd:focus-within .mq-chev { transform: rotate(180deg); }

.mq-dd { position: relative; }
/* невидимый мостик, чтобы меню не закрывалось по пути курсора */
.mq-dd:before { content: ""; position: absolute; left: -16px; right: -16px; top: 100%; height: 22px; }

.mq-mega {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    z-index: 40;
    width: 640px;
    max-width: calc(100vw - 32px);
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(31, 36, 46, .08);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(31, 36, 46, .06), 0 24px 48px -24px rgba(31, 36, 46, .35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .18s, transform .18s, visibility .18s;
}
.mq-mega--narrow { width: 420px; }
.mq-dd:hover .mq-mega,
.mq-dd:focus-within .mq-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mq-mega__grid { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; }
.mq-mega__cats {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 12px;
    border-right: 1px solid rgba(31, 36, 46, .08);
}
.mq-mega__cat {
    padding: 11px 14px;
    border: 0;
    border-radius: var(--radius-btn);
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s;
}
.mq-mega__cat:hover { background: var(--surface-2); }
.mq-mega__cat.is-active { background: var(--surface); font-weight: 600; }

.mq-mega__panel { display: none; flex-direction: column; gap: 4px; min-width: 0; }
.mq-mega__panel.is-active { display: flex; }

.mq-mega__all {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-btn);
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    transition: background-color .15s;
}
.mq-mega__all:hover { background: var(--surface); }
.mq-mega__all .mq-ico-sm { transition: transform .2s; }
.mq-mega__all:hover .mq-ico-sm { transform: translateX(3px); }

.mq-mega__title {
    margin: 10px 0 8px;
    padding: 0 4px;
    color: var(--ink-4);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.mq-mega__links { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px; }

.mq-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color .15s, color .15s;
}
.mq-chip:hover { background: var(--ink); color: #fff; }

.mq-header__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.mq-header__mobile { display: none; margin-left: auto; align-items: center; gap: 4px; }

.mq-lang { position: relative; }
.mq-lang > summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-btn);
    color: var(--ink-3);
    font-size: 15px;
    font-weight: 500;
    list-style: none;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}
.mq-lang > summary::-webkit-details-marker { display: none; }
.mq-lang > summary:hover { background: var(--surface); color: var(--ink); }
.mq-lang > summary svg { color: var(--ink-4); }
.mq-lang[open] .mq-lang__chev { transform: rotate(180deg); }
.mq-lang__chev { transition: transform .15s; }
.mq-lang__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    min-width: 190px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--hairline-2);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(31, 36, 46, .06), 0 18px 40px -22px rgba(31, 36, 46, .55);
}
.mq-lang__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--ink);
    font-size: 14px;
    transition: background-color .12s;
}
.mq-lang__item:hover { background: var(--surface-2); }
.mq-lang__item.is-active { background: var(--surface); font-weight: 500; }
.mq-lang__code {
    min-width: 30px;
    padding: 2px 0;
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink-3);
    font-size: 11.5px;
    font-weight: 600;
    text-align: center;
}
.mq-lang__item.is-active .mq-lang__code { background: var(--ink); color: #fff; }

.mq-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    margin-left: 4px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--radius-btn);
    background: var(--ink);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.mq-menu-btn:hover { background: #000; }

@media (max-width: 1199px) {
    .mq-nav, .mq-header__actions { display: none; }
    .mq-header__mobile { display: flex; }
    .mq-header__bar { height: 64px; }
    .mq-header__logo img { height: 34px; }
}

/* ---------- Мобильное меню ---------- */

.mq-drawer { position: fixed; inset: 0; z-index: 1100; visibility: hidden; transition: visibility 0s .28s; }
.mq-drawer.is-open { visibility: visible; transition: none; }
.mq-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(31, 36, 46, .6);
    opacity: 0;
    transition: opacity .25s;
}
.mq-drawer.is-open .mq-drawer__backdrop { opacity: 1; }
.mq-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 88%;
    max-width: 384px;
    background: #fff;
    transform: translateX(100%);
    transition: transform .28s ease;
}
.mq-drawer.is-open .mq-drawer__panel { transform: translateX(0); }
.mq-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 16px;
    border-bottom: 1px solid var(--hairline-2);
    flex: none;
}
.mq-drawer__head img { height: 32px; width: auto; }
.mq-drawer__nav { flex: 1; overflow-y: auto; padding: 20px 16px; display: flex; flex-direction: column; gap: 4px; }
.mq-drawer__foot { flex: none; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-top: 1px solid var(--hairline-2); }

.mq-acc__trigger, .mq-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}
.mq-acc__trigger svg { color: var(--ink-3); width: 18px; height: 18px; transition: transform .25s; }
.mq-acc.is-open .mq-acc__trigger svg { transform: rotate(180deg); }
.mq-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s; }
.mq-acc.is-open .mq-acc__panel { grid-template-rows: 1fr; }
.mq-acc__inner { overflow: hidden; display: flex; flex-direction: column; padding-left: 6px; }
.mq-acc__link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-left: 2px solid var(--hairline-2);
    color: var(--ink-2);
    font-size: 15px;
    font-weight: 500;
    transition: color .15s, border-color .15s, background-color .15s;
}
.mq-acc__link:hover { color: var(--ink); border-color: var(--ink); background: var(--surface); border-radius: 0 8px 8px 0; }
.mq-acc__link--lead { color: var(--ink); font-weight: 700; }

.mq-drawer__langs { display: flex; gap: 8px; }
.mq-drawer__langs a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border: 1px solid var(--hairline-2);
    border-radius: var(--radius-btn);
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
}
.mq-drawer__langs a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

body.mq-lock { overflow: hidden; }

/* ---------- Подвал ---------- */

.mq-footer { background: var(--ink); color: #d1d5db; }
.mq-footer__top { padding-top: 80px; padding-bottom: 56px; }
.mq-footer__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px; }
.mq-footer__brand { grid-column: span 2; }
.mq-footer__brand img { height: 40px; width: auto; display: block; }
.mq-footer__about { margin-top: 20px; max-width: 24rem; color: var(--ink-4); font-size: 14px; line-height: 1.65; }
.mq-footer__social { display: flex; gap: 8px; margin-top: 24px; }
.mq-footer__social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-btn);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    transition: background-color .15s;
}
.mq-footer__social a:hover { background: rgba(255, 255, 255, .14); }
.mq-footer h4 { margin: 0 0 16px; color: #fff; font-size: 14px; font-weight: 600; }
.mq-footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.mq-footer li a { color: #d1d5db; font-size: 14px; transition: color .15s; }
.mq-footer li a:hover { color: #fff; }
.mq-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: var(--ink-3);
    font-size: 12px;
    line-height: 1.6;
}
.mq-footer__bottom p { margin: 0; max-width: 60ch; }
.mq-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.mq-footer__legal a { color: var(--ink-4); }
.mq-footer__legal a:hover { color: #fff; }
.mq-footer__legal .mq-credit { color: #fb7185; }

@media (max-width: 1023px) {
    .mq-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .mq-footer__brand { grid-column: span 4; }
}
@media (max-width: 639px) {
    .mq-footer__top { padding-top: 56px; padding-bottom: 40px; }
    .mq-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
    .mq-footer__brand { grid-column: span 2; }
    .mq-footer__bottom { flex-direction: column; align-items: flex-start; margin-top: 48px; }
}

/* ---------- Главная ---------- */

.mq-home section { background: #fff; }
.mq-home .header_h3,
.mq-h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.5rem, 2.2vw + .6rem, 2.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
    text-wrap: balance;
}
.mq-lead { margin-top: 16px; color: var(--ink-2); font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.mq-head-center { max-width: 48rem; margin: 0 auto 32px; text-align: center; }
.mq-home section > .app_container > .d_flex.justify_between { align-items: flex-end; margin-bottom: 24px; }
.mq-home section > .app_container > .d_flex.justify_between > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
}
.mq-home section > .app_container > .d_flex.justify_between > a:after { content: "\2192"; transition: transform .2s; }
.mq-home section > .app_container > .d_flex.justify_between > a:hover:after { transform: translateX(3px); }
.mq-home section > .app_container > .d_flex.justify_between > a:hover { text-decoration: none; }
.mq-home section > .app_container > h3.header_h3 { margin-bottom: 24px; }

.mq-home .mq-section-blend { background: linear-gradient(#f3f4f6 0% 40%, #fff 100%); }
.mq-pad { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 768px) { .mq-pad { padding-top: 80px; padding-bottom: 80px; } }
.mq-pad-b { padding-bottom: 56px; }
@media (min-width: 768px) { .mq-pad-b { padding-bottom: 80px; } }

/* серая плашка-«бэнд» для калькуляторов */
.mq-band { padding: 56px; background: var(--surface); border-radius: 32px; }
.mq-band__head { max-width: 40rem; margin-bottom: 28px; }
.mq-band .app_card_white { box-shadow: 0 1px 2px rgba(31, 36, 46, .04), 0 14px 36px -22px rgba(31, 36, 46, .26); border-color: transparent; }
@media (max-width: 1023px) { .mq-band { padding: 48px 40px; } }
@media (max-width: 767px) { .mq-band { padding: 28px 20px; border-radius: 24px; } }

/* поддержка и Telegram */
.mq-support { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 767px) { .mq-support { grid-template-columns: 1fr; gap: 16px; } }
.mq-support__card {
    display: flex;
    flex-direction: column;
    padding: 40px;
    background: var(--surface);
    border-radius: 24px;
    overflow: hidden;
}
@media (max-width: 1023px) { .mq-support__card { padding: 32px; } }
@media (max-width: 767px) { .mq-support__card { padding: 24px; border-radius: 16px; } }
.mq-support__card h3 { margin: 0; color: var(--ink); font-size: 24px; font-weight: 700; }
.mq-support__card > p, .mq-tg__text > p { margin-top: 8px; color: var(--ink-2); }
.mq-contacts { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.mq-contacts li { display: flex; align-items: center; gap: 16px; }
.mq-contacts__ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 999px; background: #fff; color: var(--ink); }
.mq-contacts small { display: block; color: var(--ink-3); font-size: 12px; }
.mq-contacts a { color: var(--ink); font-size: 18px; font-weight: 500; }
.mq-contacts a:hover { text-decoration: underline; text-underline-offset: 3px; }

.mq-tg { display: grid; height: 100%; }
.mq-tg__text { display: flex; flex-direction: column; height: 100%; }
.mq-tg__list { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: #374151; font-size: 14px; }
.mq-tg__list li { display: flex; align-items: center; gap: 12px; }
.mq-tg__list li:before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 999px; background: var(--ink); }
.mq-tg__cta { margin-top: auto; padding-top: 32px; }
.mq-tg__handle { margin-top: 12px; color: var(--ink-3); font-size: 14px; }
.mq-phone { display: none; }
@media (min-width: 1280px) {
    .mq-tg { grid-template-columns: minmax(0, 1fr) 200px; align-items: end; gap: 24px; }
    .mq-phone {
        display: block;
        width: 200px;
        margin-bottom: -56px;
        padding: 7px 7px 0;
        background: var(--ink);
        border-radius: 30px;
        box-shadow: 0 24px 50px -26px rgba(31, 36, 46, .55);
    }
}
.mq-phone__notch { display: block; width: 56px; height: 5px; margin: 3px auto 8px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.mq-phone__screen { display: flex; flex-direction: column; gap: 8px; min-height: 252px; padding: 12px 10px 20px; background: #eef1f5; border-radius: 24px 24px 0 0; }
.mq-phone__head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; padding-bottom: 10px; border-bottom: 1px solid rgba(31, 36, 46, .08); }
.mq-phone__avatar { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.mq-phone__name { display: block; color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.2; }
.mq-phone__sub { display: block; color: var(--ink-4); font-size: 10px; line-height: 1.3; }
.mq-phone__msg { align-self: flex-start; max-width: 92%; padding: 8px 10px 6px; background: #fff; border-radius: 12px 12px 12px 4px; box-shadow: 0 1px 2px rgba(31, 36, 46, .06); }
.mq-phone__msg p { margin: 0; color: var(--ink); font-size: 11.5px; line-height: 1.35; }
.mq-phone__msg span { display: block; margin-top: 3px; color: var(--ink-4); font-size: 9.5px; text-align: right; }

/* курсы валют на главной */
.mq-fx-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 20px; }
.mq-fx-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--radius-btn);
    background: none;
    color: var(--ink-3);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s, color .15s, box-shadow .15s;
}
.mq-fx-tab:hover { color: var(--ink); }
.mq-fx-tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(31, 36, 46, .06), 0 4px 12px -4px rgba(31, 36, 46, .14); }
.mq-fx-flag { display: block; width: 20px; height: 20px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(31, 36, 46, .08); }
svg.mq-fx-flag { box-shadow: none; }
.mq-fx-tab .mq-fx-flag { width: 22px; height: 22px; }

.mq-fx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1023px) { .mq-fx-grid { grid-template-columns: 1fr; } }
.mq-fx-card { padding: 40px; background: #fff; border-radius: 24px; box-shadow: 0 1px 2px rgba(31, 36, 46, .03); }
@media (max-width: 767px) { .mq-fx-card { padding: 20px; border-radius: 20px; } }
.mq-fx-card__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 16px; }
.mq-fx-card__head h3 { margin: 0; color: var(--ink); font-size: 18px; font-weight: 700; }
.mq-fx-card__head span { color: var(--ink-4); font-size: 13px; }

.mq-fx-best {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 16px 16px 14px;
    background: var(--surface);
    border-radius: 16px;
    color: var(--ink);
    transition: background-color .15s;
}
.mq-fx-best:hover { background: #eceef1; }
.mq-fx-best__tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mq-fx-best__tx b { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mq-fx-best__tx small { color: var(--ink-4); font-size: 12.5px; }

.mq-fx-logo {
    position: relative;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: none;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(31, 36, 46, .1);
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 700;
}
.mq-fx-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.mq-fx-logo--lg { width: 48px; height: 48px; font-size: 18px; }

.mq-fx-price { flex: none; color: #1f8a5b; font-size: 14px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mq-fx-price--lg { font-size: 22px; letter-spacing: -.01em; }
.mq-fx-price--down { color: var(--red); }
.mq-fx-price--up { color: #1f8a5b; }
@media (max-width: 479px) { .mq-fx-price--lg { font-size: 17px; } }

.mq-fx-note { margin: 16px 0 6px; color: var(--ink-2); font-size: 13px; }
.mq-fx-note b { color: var(--ink); font-weight: 700; }
.mq-fx-empty { color: var(--ink-3); font-size: 14px; }

.mq-fx-list { margin: 0; padding: 0; list-style: none; }
.mq-fx-list li + li { border-top: 1px solid var(--surface); }
.mq-fx-list a { display: flex; align-items: center; gap: 10px; padding: 12px 0; color: var(--ink); }
.mq-fx-list a:hover .mq-fx-name { text-decoration: underline; text-underline-offset: 3px; }
.mq-fx-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500; }
.mq-fx-dt { color: var(--ink-4); font-size: 12px; white-space: nowrap; }
@media (max-width: 479px) { .mq-fx-dt { display: none; } }

.mq-fx-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    margin: 24px auto 48px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
}
.mq-fx-all .mq-ico-sm { transition: transform .2s; }
.mq-fx-all:hover .mq-ico-sm { transform: translateX(3px); }

.mq-conv { padding: 24px; background: #fff; border: 1px solid var(--hairline-2); border-radius: 20px; }
.mq-conv__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 16px; }
.mq-conv__top h3 { margin: 0; color: var(--ink); font-size: 18px; font-weight: 700; }
.mq-conv__rate { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; color: var(--ink); font-size: 13px; }
.mq-conv__eq { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; white-space: nowrap; }
.mq-conv__eq .mq-fx-flag { width: 16px; height: 16px; }
.mq-conv__by { color: var(--ink-4); }
.mq-conv__bank {
    max-width: 260px;
    padding: 2px 18px 2px 0;
    border: 0;
    border-bottom: 1px dashed var(--ink-4);
    border-radius: 0;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right center;
    color: var(--ink-2);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.mq-conv__bank[hidden] { display: none; }

.mq-conv__row { display: grid; grid-template-columns: 1fr 1.25fr 48px 1.25fr 1.35fr; gap: 12px; align-items: stretch; }
.mq-conv__field {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 60px;
    padding: 8px 14px;
    background: var(--surface);
    border-radius: 12px;
}
.mq-conv__field > span { color: var(--ink-3); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.mq-conv__field input,
.mq-conv__field select,
.mq-conv__field output {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0 !important;
    background: none;
    box-shadow: none !important;
    color: var(--ink);
    font: inherit;
    font-size: 17px;
    font-weight: 600;
    outline: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mq-conv__field:focus-within { box-shadow: 0 0 0 2px rgba(31, 36, 46, .18); }
.mq-conv__field--select select { padding-right: 22px; cursor: pointer; -webkit-appearance: none; appearance: none; }
.mq-conv__field--select:after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 18px;
    width: 14px;
    height: 14px;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f242e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.mq-conv__swap {
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    transition: background-color .15s;
}
.mq-conv__swap:hover { background: #000; }
@media (max-width: 1023px) {
    .mq-conv__row { grid-template-columns: 1fr 48px 1fr; }
    .mq-conv__row > .mq-conv__field:first-child,
    .mq-conv__field--out { grid-column: 1 / -1; }
}
@media (max-width: 767px) { .mq-conv { padding: 16px; } }

/* переключатель конвертера — сегменты, как фильтры moniq */
.new_converter_tab {
    gap: 4px;
    padding: 4px !important;
    margin: 12px 12px 0 !important;
    background: var(--surface) !important;
    border-radius: 12px;
}
.new_converter_tab__item {
    border-radius: 9px;
    color: var(--ink-3);
    font-weight: 500;
    transition: background-color .15s, color .15s;
}
.new_converter_tab .active,
.new_converter_tab .site_tab__item.active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(31, 36, 46, .08), 0 2px 8px -2px rgba(31, 36, 46, .12);
}

/* баннер-слайдер со скруглением */
.mq-home .app_slider, .mq-home .app_slider__item-container { border-radius: 24px; overflow: hidden; }

/* =====================================================================
 * Каталоги (кредиты, вклады, карты, бизнес, рассрочка, банки):
 * строки таблиц -> карточки, как в справочнике банков moniq.uz.
 * Разметка не меняется — сортировка, «Batafsil» и фильтр работают по-прежнему.
 * ===================================================================== */

.site_table:is(.site_table_credits, .site_table_credits_product, .site_table_loans, .site_table_loans_product,
    .site_table_deposits, .site_table_deposits_product, .site_table_cards_credit, .site_table_cards_debit,
    .site_table_business_products, .site_table_cash_services, .site_table_installments, .site_table_organizations) {
    --mq-logo: 48px;
    background: transparent !important;
    border: 0;
    box-shadow: none;
}
/* обёртка-карточка вокруг таблицы больше не нужна */
.app_card:has(> .site_table_organizations), .app_card:has(> .site_table_credits) { background: transparent; box-shadow: none; border: 0; }

/* шапка таблицы -> полоса сортировки из чипов */
.site_table:is(.site_table_credits, .site_table_credits_product, .site_table_loans, .site_table_loans_product,
    .site_table_deposits, .site_table_deposits_product, .site_table_cards_credit, .site_table_cards_debit,
    .site_table_business_products, .site_table_cash_services, .site_table_installments, .site_table_organizations) .site_table__header {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}
.site_table__header .th { padding: 0 !important; color: var(--ink-3); }
.site_table__header .th:not(:has(.app_button)) { display: none; }
.site_table__header .th .visibility_hidden { display: none !important; }
.site_table__header .th .app_button {
    height: 34px;
    padding: 0 12px;
    gap: 6px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
    transition: background-color .15s, color .15s;
}
.site_table__header .th .app_button:hover { background: var(--hairline-2); color: var(--ink); }
.site_table__header .th .app_button svg { width: 14px; height: 14px; fill: currentColor; }
.site_table__header .th .app_button.active,
.site_table__header .th .app_button.color_primary_sort { background: var(--ink) !important; color: #fff !important; }
.site_table__header .th .app_button.color_primary_sort svg { fill: #fff !important; }

/* список карточек */
.site_table:is(.site_table_credits, .site_table_credits_product, .site_table_loans, .site_table_loans_product,
    .site_table_deposits, .site_table_deposits_product, .site_table_cards_credit, .site_table_cards_debit,
    .site_table_business_products, .site_table_cash_services, .site_table_installments, .site_table_organizations) .site_table__body_container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.site_table:is(.site_table_credits, .site_table_credits_product, .site_table_loans, .site_table_loans_product,
    .site_table_deposits, .site_table_deposits_product, .site_table_cards_credit, .site_table_cards_debit,
    .site_table_business_products, .site_table_cash_services, .site_table_installments, .site_table_organizations) .site_table__body {
    display: flex;
    flex-direction: column;
    padding: 26px;
    background: var(--surface) !important;
    border: 0;
    border-radius: 20px;
    overflow: visible;
    transition: transform .2s, box-shadow .2s;
}
@media (hover: hover) {
    .site_table:is(.site_table_credits, .site_table_credits_product, .site_table_loans, .site_table_loans_product,
        .site_table_deposits, .site_table_deposits_product, .site_table_cards_credit, .site_table_cards_debit,
        .site_table_business_products, .site_table_cash_services, .site_table_installments, .site_table_organizations) .site_table__body:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px -16px rgba(31, 36, 46, .18);
    }
}
@media (max-width: 767px) {
    .site_table:is(.site_table_credits, .site_table_credits_product, .site_table_loans, .site_table_loans_product,
        .site_table_deposits, .site_table_deposits_product, .site_table_cards_credit, .site_table_cards_debit,
        .site_table_business_products, .site_table_cash_services, .site_table_installments, .site_table_organizations) .site_table__body { padding: 20px; }
}

/* строка: логотип + название | метрики | кнопка */
.site_table:is(.site_table_credits, .site_table_credits_product, .site_table_loans, .site_table_loans_product,
    .site_table_deposits, .site_table_deposits_product, .site_table_cards_credit, .site_table_cards_debit,
    .site_table_business_products, .site_table_cash_services, .site_table_installments, .site_table_organizations) .site_table__tr {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 26px;
    padding: 0;
    border: 0 !important;
    background: none;
}
.site_table__tr > .td { min-width: 0; padding: 0 !important; border: 0 !important; text-align: left; }
.site_table__tr > .td.d_none.d_sm_flex { display: none !important; }

/* логотип */
.site_table__tr > .td:first-child:has(img, .mq-logo-letter) {
    flex: none;
    display: grid;
    place-items: center;
    width: var(--mq-logo, 48px);
    height: var(--mq-logo, 48px);
    margin-right: -10px;
    overflow: hidden;
    border: 1px solid var(--hairline-2) !important;
    border-radius: 50%;
    background: #fff;
}
.site_table__tr > .td:first-child:has(img, .mq-logo-letter) > div { display: contents; }
.site_table__tr > .td:first-child img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.mq-logo-letter { color: #fff; background: var(--ink); width: 100%; height: 100%; display: grid; place-items: center; font-size: 17px; font-weight: 700; text-transform: uppercase; }

/* название и банк */
.site_table__tr > .td:not(:first-child:has(img, .mq-logo-letter)):not(:has(.d_sm_block)):not(:has(.app_button)):not(.d_none) {
    flex: 1.4 1 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.site_table__tr > .td:first-child:has(img, .mq-logo-letter) + .td .text_m_bold,
.site_table__tr > .td:first-child:not(:has(img)) .text_m_bold {
    color: var(--ink);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}
.site_table__tr > .td:first-child:has(img, .mq-logo-letter) + .td .text_xs,
.site_table__tr > .td:first-child:not(:has(img)) .text_xs { color: var(--ink-3); font-size: 14px; }

/* метрики: подпись сверху, значение крупно */
.site_table__tr > .td:has(.d_sm_block) {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--ink);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
}
.site_table__tr > .td:has(.d_sm_block) > .flex_row { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.site_table__tr > .td:has(.d_sm_block) [class*="col_"] { width: auto; max-width: none; flex: none; padding: 0; }
.site_table__tr > .td:has(.d_sm_block) :is(span, div, b, strong):not(.d_sm_block) {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    white-space: normal;
}
.site_table__tr > .td .d_sm_block {
    order: -1;
    display: block !important;
    padding: 0 !important;
    color: var(--ink-3) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.3;
    text-transform: none;
}
.site_table__tr > .td .d_sm_block::first-letter { text-transform: uppercase; }

/* кнопка */
.site_table__tr > .td:has(.app_button) { flex: none; align-self: flex-start; }
.site_table__tr > .td:has(.app_button) .app_button {
    height: 44px;
    padding: 0 20px !important;
    width: auto;
}
.site_table__tr > .td:has(.app_button) .app_button__content { font-size: 14px; font-weight: 500; }

/* «Batafsil» — ссылка под названием, стрелка рисуется CSS (картинка на сайте битая) */
.site_accordion__header > .td.color_primary {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin: 14px 0 0 calc(var(--mq-logo, 48px) + 16px);
    padding: 0 !important;
    color: var(--ink) !important;
    font-size: 14px;
    font-weight: 500;
}
.site_table_deposits_product .site_accordion__header > .td.color_primary { margin-left: 0; }
.site_accordion__header > .td.color_primary .site_accordion__icon { display: none; }
.site_accordion__header > .td.color_primary:after {
    content: "";
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f242e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: transform .2s;
}
.site_accordion.show .site_accordion__header > .td.color_primary:after { transform: rotate(180deg); }

/* раскрытые подробности */
.site_table__body .site_accordion__body { background: none; }
.site_table__body.show .site_accordion__body {
    margin-top: 16px;
    padding-top: 16px !important;
    border-top: 1px solid var(--hairline-2);
    max-height: none;
    overflow: visible;
}
.site_table__body .site_accordion__body .td { padding: 0 !important; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.site_table__body .site_accordion__body .text_m_bold { color: var(--ink); font-size: 14px; }

/* планшет и мобильный: логотип+название сверху, метрики сеткой, кнопка на всю ширину */
@media (max-width: 1023px) {
    .site_table:is(.site_table_credits, .site_table_credits_product, .site_table_loans, .site_table_loans_product,
        .site_table_deposits, .site_table_deposits_product, .site_table_cards_credit, .site_table_cards_debit,
        .site_table_business_products, .site_table_cash_services, .site_table_installments, .site_table_organizations) .site_table__tr {
        flex-wrap: wrap;
        gap: 18px 24px;
    }
    .site_table__tr > .td:not(:first-child:has(img, .mq-logo-letter)):not(:has(.d_sm_block)):not(:has(.app_button)):not(.d_none) {
        flex: 1 1 calc(100% - var(--mq-logo, 48px) - 24px);
    }
    .site_table__tr > .td:first-child:has(img, .mq-logo-letter) { margin-right: -8px; }
    .site_table__tr > .td:has(.d_sm_block) { flex: 1 1 calc(50% - 12px); font-size: 17px; }
    .site_table__tr > .td:has(.app_button) { flex: 1 1 100%; order: 10; }
    .site_table__tr > .td:has(.app_button) .app_button { width: 100%; }
    .site_accordion__header > .td.color_primary { margin-left: 0; }
}
@media (min-width: 640px) and (max-width: 1023px) {
    .site_table__tr > .td:has(.d_sm_block) { flex-basis: calc(25% - 18px); }
}

/* ---------- Фильтр каталога, как поиск/фильтры справочника moniq ---------- */

.site__filter > .app_card {
    background: #fff;
    border: 1px solid rgba(229, 231, 235, .6);
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(31, 36, 46, .04), 0 8px 24px -12px rgba(31, 36, 46, .12);
}
.site__filter > .app_card > .app_card__body { padding: 28px 32px; }
@media (max-width: 767px) { .site__filter > .app_card > .app_card__body { padding: 20px 16px; } }

/* тип продукта -> чипы */
.site__filter .site_radio_list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site__filter .site_radio_list li { margin: 0; }
.site__filter .site_radio_list a {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: var(--radius-btn);
    background: var(--surface);
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    transition: background-color .15s, color .15s;
}
.site__filter .site_radio_list a:hover { background: var(--hairline-2); }
.site__filter .site_radio_list a.active { background: var(--ink); color: #fff; }

/* поля: подпись внутри серого поля высотой 60px */
.site__filter .app_input,
.site__filter .site_select { position: relative; }
.site__filter .app_input__label,
.site__filter .site_select__label {
    position: absolute;
    top: 9px;
    left: 14px;
    z-index: 2;
    margin: 0;
    padding: 0;
    color: var(--ink-3);
    font-size: 11px !important;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
    pointer-events: none;
}
.site__filter .app_input input,
.site__filter .site_select__button {
    width: 100%;
    height: 60px;
    padding: 20px 14px 0 !important;
    border: 1px solid transparent !important;
    border-radius: var(--radius-btn);
    background: var(--surface);
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    transition: background-color .15s, border-color .15s;
}
.site__filter .app_input input:hover,
.site__filter .site_select__button:hover { background: #ebecef; }
.site__filter .app_input input:focus,
.site__filter .site_select.active .site_select__button {
    background: #fff;
    border-color: rgba(31, 36, 46, .2) !important;
    box-shadow: none !important;
}
.site__filter .site_select__value { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 22px; }
.site__filter .site_select__arrow { padding: 0 14px; }
.site__filter .site_select__arrow img { display: none; }
.site__filter .site_select__arrow:after {
    content: "";
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f242e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.site__filter .site_select__dropdown {
    top: calc(100% + 6px);
    padding: 6px;
    border: 1px solid var(--hairline-2);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(31, 36, 46, .06), 0 18px 40px -22px rgba(31, 36, 46, .55);
}
.site__filter .site_select__dropdown li label { padding: 9px 10px; border-radius: 9px; color: var(--ink); font-size: 14px; }
.site__filter .site_select__dropdown li input[type=radio]:checked ~ label { background: var(--surface); font-weight: 500; }

/* чекбоксы */
.site__filter .app_checkbox__label { color: var(--ink); font-size: 14px; }
.site__filter .app_checkbox__label:before { border-color: #d1d5db; border-radius: 6px; }
.site__filter .app_checkbox__field:checked ~ .app_checkbox__label:before { background: var(--ink); border-color: var(--ink); }

/* кнопка «Tanlab berish» в рост с полями */
.site__filter .app_button_md { height: 60px; padding: 0 28px !important; }
.site__filter .app_button_md .app_button__content { font-size: 15px; font-weight: 500; }

/* ---------- FAQ: белая карточка, слева заголовок, справа вопросы-плашки (как у moniq) ---------- */

.border_radius_20:has(> .site_accordion) {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: 48px;
    align-items: start;
    padding: 64px !important;
    background: #fff !important;
    border: 1px solid rgba(229, 231, 235, .6);
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(31, 36, 46, .04), 0 8px 24px -12px rgba(31, 36, 46, .12);
}
.border_radius_20:has(> .site_accordion) > h2,
.border_radius_20:has(> .site_accordion) > h3 {
    grid-column: 1;
    grid-row: 1 / span 60;
    margin: 0 !important;
    color: var(--ink);
    font-size: clamp(1.5rem, 1.2vw + 1rem, 2.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-wrap: balance;
}
.border_radius_20:has(> .site_accordion) > :is(h2, h3)::after {
    display: block;
    margin-top: 16px;
    color: var(--ink-2);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    content: "Javob topmadingizmi? Qo‘llab-quvvatlash xizmatiga yozing — yordam beramiz.";
}
html[lang="ru"] .border_radius_20:has(> .site_accordion) > :is(h2, h3)::after {
    content: "Не нашли ответ? Напишите в поддержку — мы поможем.";
}

.border_radius_20 > .site_accordion {
    grid-column: 2;
    margin: 0 0 12px;
    padding: 0 !important;
    background: var(--surface) !important;
    border: 0 !important;
    border-radius: 14px;
    overflow: hidden;
    transition: background-color .2s;
}
.border_radius_20 > .site_accordion:last-child { margin-bottom: 0; }
.border_radius_20 > .site_accordion.show { background: #ebecef !important; }

.border_radius_20 > .site_accordion > .site_accordion__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
}
.border_radius_20 > .site_accordion > .site_accordion__header > p {
    margin: 0;
    color: var(--ink);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
}
.border_radius_20 > .site_accordion .site_accordion__icon { display: none; }
.border_radius_20 > .site_accordion > .site_accordion__header::after {
    content: "";
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f242e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") no-repeat center / 16px;
    transition: transform .25s, background-color .2s;
}
.border_radius_20 > .site_accordion.show > .site_accordion__header::after {
    transform: rotate(45deg);
    background-color: var(--ink);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
}

.border_radius_20 > .site_accordion > .site_accordion__body { padding: 0 !important; }
.border_radius_20 > .site_accordion.show > .site_accordion__body { max-height: 1200px; overflow: hidden; }
.border_radius_20 > .site_accordion > .site_accordion__body > * {
    margin: 0;
    padding: 0 26px;
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.6;
}
.border_radius_20 > .site_accordion > .site_accordion__body > * + * { padding-top: .9em; }
.border_radius_20 > .site_accordion > .site_accordion__body > :last-child { padding-bottom: 24px; }

@media (max-width: 1023px) {
    .border_radius_20:has(> .site_accordion) { grid-template-columns: 1fr; padding: 32px !important; }
    .border_radius_20:has(> .site_accordion) > :is(h2, h3) { grid-row: auto; margin-bottom: 24px !important; }
    .border_radius_20:has(> .site_accordion) > :is(h2, h3)::after { display: none; }
    .border_radius_20 > .site_accordion { grid-column: 1; }
}
@media (max-width: 767px) {
    .border_radius_20:has(> .site_accordion) { padding: 20px !important; border-radius: 16px; }
    .border_radius_20 > .site_accordion > .site_accordion__header { padding: 18px 22px; }
    .border_radius_20 > .site_accordion > .site_accordion__header > p { font-size: 16px; }
    .border_radius_20 > .site_accordion > .site_accordion__body > * { padding-left: 22px; padding-right: 22px; font-size: 15px; }
}
.border_radius_20 > .seo_accordion.show .site_accordion__body { background: none; }
.border_radius_20 > .seo_accordion .site_accordion__body * { color: inherit; }
.border_radius_20 > .site_accordion { box-shadow: none !important; }

/* сброс старых мобильных ширин ячеек из app.css (≤990px) */
@media (max-width: 1023px) {
    .site_table:is(.site_table_credits, .site_table_credits_product, .site_table_loans, .site_table_loans_product,
        .site_table_deposits, .site_table_deposits_product, .site_table_cards_credit, .site_table_cards_debit,
        .site_table_business_products, .site_table_cash_services, .site_table_installments, .site_table_organizations) {
        margin: 0;
        padding: 0;
    }
    .site_table:is(.site_table_credits, .site_table_credits_product, .site_table_loans, .site_table_loans_product,
        .site_table_deposits, .site_table_deposits_product, .site_table_cards_credit, .site_table_cards_debit,
        .site_table_business_products, .site_table_cash_services, .site_table_installments, .site_table_organizations) .site_table__tr > .td:nth-child(n) {
        width: auto;
        height: auto;
        max-width: none;
        white-space: normal;
        grid-column: auto;
    }
    .site_table:is(.site_table_credits, .site_table_credits_product, .site_table_loans, .site_table_loans_product,
        .site_table_deposits, .site_table_deposits_product, .site_table_cards_credit, .site_table_cards_debit,
        .site_table_business_products, .site_table_cash_services, .site_table_installments, .site_table_organizations) .site_table__tr > .td:nth-child(n):first-child:has(img, .mq-logo-letter) {
        width: var(--mq-logo, 48px);
        height: var(--mq-logo, 48px);
    }
    .site_table:is(.site_table_credits, .site_table_credits_product, .site_table_loans, .site_table_loans_product,
        .site_table_deposits, .site_table_deposits_product, .site_table_cards_credit, .site_table_cards_debit,
        .site_table_business_products, .site_table_cash_services, .site_table_installments, .site_table_organizations) .site_table__tr > .td:nth-child(n):has(.app_button) .app_button {
        width: 100%;
        height: 44px;
        padding: 0 20px !important;
    }
}

/* неактивные типы в фильтре — тёмный текст на сером, как чипы moniq */
.site__filter .site_radio_list a:not(.active) { color: var(--ink) !important; opacity: 1; }
@media (max-width: 990px) {
    .site__filter .site_radio_list a { height: 36px; padding: 0 14px !important; border-radius: var(--radius-btn); font-size: 13px; font-weight: 500; }
}

/* ---------- Фильтр каталога: поиск, поля, чипы, итоги (формат moniq) ---------- */

.mq-filter > .app_card {
    background: #fff;
    border: 1px solid rgba(229, 231, 235, .6);
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(31, 36, 46, .04), 0 8px 24px -12px rgba(31, 36, 46, .12);
}
.mq-filter > .app_card > .app_card__body { padding: 32px !important; }
.mq-filter--plain { margin: 0 0 32px; }
@media (max-width: 767px) { .mq-filter > .app_card > .app_card__body { padding: 16px !important; } }

.mq-f-legacy { display: none !important; }

.mq-f-search { display: flex; gap: 16px; }
.mq-f-search__field { position: relative; flex: 1; display: block; margin: 0; }
.mq-f-search__ic { position: absolute; top: 0; bottom: 0; left: 16px; display: grid; place-items: center; color: var(--ink-4); pointer-events: none; }
.mq-f-search__input {
    width: 100%;
    height: 56px;
    padding: 0 16px 0 46px;
    border: 1px solid transparent;
    border-radius: var(--radius-btn);
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    outline: none;
    transition: background-color .15s, border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
    appearance: none;
}
.mq-f-search__input::placeholder { color: var(--ink-3); }
.mq-f-search__input:focus { background: #fff; border-color: rgba(31, 36, 46, .2); box-shadow: 0 0 0 3px rgba(31, 36, 46, .08); }
.mq-f-reset {
    flex: none;
    height: 56px;
    padding: 0 20px;
    border: 1px solid var(--hairline-2);
    border-radius: var(--radius-btn);
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .15s;
}
.mq-f-reset:hover { background: var(--surface); }

.mq-f-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.mq-f-fields > * { min-width: 0; margin: 0 !important; }

.mq-f-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.mq-f-chips .site_radio { margin: 0 !important; display: contents; }
.mq-f-chips .site_radio_list { display: contents; }
.mq-f-chips .app_checkbox { margin: 0; }
.mq-f-chips .app_checkbox__label {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px !important;
    border-radius: var(--radius-btn);
    background: var(--surface);
    color: var(--ink) !important;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color .15s, color .15s;
}
.mq-f-chips .app_checkbox__label:hover { background: var(--hairline-2); }
.mq-f-chips .app_checkbox__label:before,
.mq-f-chips .app_checkbox__label:after { display: none !important; }
.mq-f-chips .app_checkbox__field:checked ~ .app_checkbox__label { background: var(--ink); color: #fff !important; }
.mq-f-chips .app_checkbox__field:focus-visible ~ .app_checkbox__label { outline: 2px solid var(--ink); outline-offset: 2px; }

/* фильтр срабатывает сразу; кнопка нужна только в мобильном окне фильтра */
.mq-f-actions { display: none; margin-top: 16px; }
.mq-f-actions .app_button { width: 100%; height: 48px; }
@media (max-width: 990px) { .site__filter.mq-filter .mq-f-actions { display: block; } }

.mq-f-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 24px;
    margin: 24px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(229, 231, 235, .7);
}
.mq-f-stats > div { display: flex; flex-direction: column; min-width: 0; }
.mq-f-stat-v { margin: 0; color: var(--ink); font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.mq-f-stat-v.accent { color: var(--red); }
.mq-f-stat-k { margin-top: 8px; color: var(--ink-3); font-size: 13px; line-height: 1.35; }
@media (max-width: 1023px) { .mq-f-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mq-f-stat-v { font-size: 26px; } }

.mq-f-empty { margin: 16px 0 0; color: var(--ink-3); font-size: 14px; text-align: center; }

@media (max-width: 639px) {
    .mq-f-search { gap: 8px; }
    .mq-f-search__input, .mq-f-reset { height: 48px; }
    .mq-f-reset { padding: 0 14px; }
}
.mq-f-stat-k::first-letter { text-transform: uppercase; }
.site_table__tr a, .site_table__tr a:hover { text-decoration: none; color: inherit; }

/* каталоги: фильтр на всю ширину, колонку с конвертером справа убираем */
.flex_row:has(> [class*="col_"] .site__filter):has(> [class*="col_"] .converter) > [class*="col_"]:has(.converter):not(:has(.site__filter)) {
    display: none !important;
}
.flex_row:has(> [class*="col_"] .site__filter):has(> [class*="col_"] .converter) > [class*="col_"]:has(.site__filter) {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

/* ---------- Блог в формате журнала moniq ---------- */

.mq-jr-head { display: flex; flex-direction: column; align-items: center; padding: 12px 0 40px; text-align: center; }
.mq-jr-title { margin: 0; color: var(--ink); font-size: clamp(1.875rem, 3vw + .7rem, 3rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
@media (max-width: 767px) { .mq-jr-head { padding-bottom: 20px; } }

.mq-jr-chips { display: none; gap: 8px; margin: 0 -16px 20px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.mq-jr-chips::-webkit-scrollbar { display: none; }
.mq-jr-chip {
    flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px;
    border-radius: var(--radius-btn); background: #fff; border: 1px solid rgba(31, 36, 46, .08);
    color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap;
}
.mq-jr-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 1023px) { .mq-jr-chips { display: flex; } }

.mq-jr-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 1024px) { .mq-jr-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); align-items: start; gap: 32px; } }
.mq-jr-content { display: flex; flex-direction: column; gap: 40px; min-width: 0; }

/* главная статья + список */
.mq-jr-feat-grid {
    display: grid; grid-template-columns: 1fr;
    background: #fff; border: 1px solid rgba(31, 36, 46, .08); border-radius: 24px; overflow: hidden;
}
@media (min-width: 1024px) { .mq-jr-feat-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
.mq-jr-main { position: relative; }
.mq-jr-main-link { display: flex; flex-direction: column; height: 100%; padding: 16px; color: var(--ink); }
.mq-jr-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: var(--surface); }
.mq-jr-thumb img, .mq-art-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; background: var(--surface); }
.mq-jr-main-body { display: flex; flex-direction: column; flex: 1; gap: 14px; padding: 18px 2px 4px; }
.mq-jr-feat-title { margin: 0; color: var(--ink); font-size: clamp(1.4rem, 1.4vw + .8rem, 2rem); font-weight: 700; line-height: 1.14; letter-spacing: -.01em; text-wrap: balance; }
.mq-jr-main-link:hover .mq-jr-feat-title { text-decoration: underline 1px; text-underline-offset: 2px; }
.mq-jr-main .mq-art-meta { border-top: 0; margin-top: 0; padding-top: 4px; }

.mq-jr-list { display: flex; flex-direction: column; margin: 0 16px 16px; padding: 6px 18px; background: var(--surface); border-radius: 16px; }
@media (min-width: 1024px) { .mq-jr-list { margin: 16px 16px 16px 0; justify-content: center; } }
.mq-jr-mini + .mq-jr-mini .mq-jr-mini-link { border-top: 1px solid rgba(31, 36, 46, .12); }
.mq-jr-mini-link { display: flex; flex-direction: column; gap: 6px; padding: 16px 4px; color: var(--ink); }
.mq-jr-mini-title {
    color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.3; text-wrap: pretty;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mq-jr-mini-link:hover .mq-jr-mini-title { text-decoration: underline; text-underline-offset: 2px; }
.mq-jr-mini-date { color: rgba(31, 36, 46, .6); font-size: 13px; }

/* сетка карточек */
.mq-jr-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .mq-jr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .mq-jr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.mq-art-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid rgba(31, 36, 46, .08); border-radius: 18px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
@media (hover: hover) {
    .mq-art-card:hover { transform: translateY(-3px); border-color: rgba(31, 36, 46, .14); box-shadow: 0 16px 36px -20px rgba(31, 36, 46, .24); }
    .mq-art-card:hover .mq-stretched { text-decoration: underline 1px; text-underline-offset: 2px; }
}
.mq-art-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.mq-art-cat {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
    border-radius: var(--radius-btn); background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .01em;
}
.mq-art-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 18px 20px 20px; }
.mq-art-title {
    margin: 0; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; text-wrap: pretty;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mq-stretched { color: inherit; }
.mq-stretched:after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mq-art-meta {
    display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px;
    border-top: 1px solid rgba(31, 36, 46, .07); color: var(--ink-4); font-size: 12px;
}
.mq-art-meta .dot { width: 3px; height: 3px; border-radius: 999px; background: #cbd0d6; }

/* пагинация */
.mq-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.mq-pager-item {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
    border: 1px solid var(--hairline-2); border-radius: var(--radius-btn); background: #fff;
    color: var(--ink); font-size: 15px; font-weight: 500; transition: background-color .15s, border-color .15s, color .15s;
}
a.mq-pager-item:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.mq-pager-item.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.mq-pager-gap { padding: 0 4px; color: var(--ink-4); }

/* категории справа */
.mq-jr-aside { display: none; }
@media (min-width: 1024px) { .mq-jr-aside { display: block; position: sticky; top: 24px; } }
.mq-jr-side { padding: 20px; background: #fff; border: 1px solid rgba(31, 36, 46, .08); border-radius: 18px; }
.mq-jr-side-title { margin: 0 0 8px; padding: 0 0 14px; border-bottom: 1px solid rgba(31, 36, 46, .08); color: var(--ink); font-size: 16px; font-weight: 700; }
.mq-jr-side-list { display: flex; flex-direction: column; gap: 2px; }
.mq-jr-side-link {
    display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: var(--radius-btn);
    color: var(--ink); font-size: 15px; font-weight: 500; transition: background-color .15s;
}
.mq-jr-side-link:hover { background: var(--surface); }
.mq-jr-side-link.is-active { background: var(--surface); font-weight: 700; }
.mq-jr-side-ic { width: 20px; height: 20px; flex: none; color: var(--ink-3); }
.mq-jr-side-link:hover .mq-jr-side-ic, .mq-jr-side-link.is-active .mq-jr-side-ic { color: var(--ink); }

/* Telegram */
.mq-jr-tg {
    position: relative; display: flex; align-items: center; gap: 24px; margin-top: 56px; padding: 32px 36px; overflow: hidden;
    border-radius: 24px; background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%); color: #fff;
}
.mq-jr-tg-body { position: relative; z-index: 1; flex: 1; }
.mq-jr-tg-title { margin: 0; color: #fff; font-size: 22px; font-weight: 700; line-height: 1.18; letter-spacing: -.01em; text-wrap: balance; }
.mq-jr-tg-sub { margin: 8px 0 0; max-width: 46ch; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.5; }
.mq-jr-tg-btn {
    position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 50px; padding: 0 26px; border-radius: var(--radius-btn); background: #fff; color: #1b8ec2;
    font-size: 15px; font-weight: 600; white-space: nowrap; transition: background-color .15s;
}
.mq-jr-tg-btn:hover { background: #f3f4f6; color: #1b8ec2; }
.mq-jr-tg-deco { position: absolute; top: 50%; right: -30px; width: 220px; height: 220px; color: rgba(255, 255, 255, .12); transform: translateY(-50%); pointer-events: none; }
@media (max-width: 767px) {
    .mq-jr-tg { flex-direction: column; align-items: stretch; gap: 18px; padding: 28px 24px; margin-top: 40px; }
    .mq-jr-tg-btn { width: 100%; }
}

/* единый логотип /images/logo.svg: на тёмном подвале — белым */
.mq-footer__brand img { filter: brightness(0) invert(1); }
.mq-art-thumb { background: var(--surface); }

/* ---------- Статья в формате moniq ---------- */

.mq-jr--article { padding-top: 8px; }
.mq-article-plate { padding: 40px 32px 48px; background: #fff; border: 1px solid rgba(31, 36, 46, .08); border-radius: 24px; }
@media (max-width: 767px) { .mq-article-plate { padding: 24px 16px; } }
.mq-article { display: flex; flex-direction: column; width: 100%; max-width: 760px; margin: 0 auto; }

.mq-article-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.mq-article-cat {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--ink-3); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: color .15s;
}
.mq-article-cat:hover { color: var(--ink); }
.mq-article-cat .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--red); }

.mq-share { position: relative; }
.mq-share-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
    border: 1px solid var(--hairline-2); border-radius: var(--radius-btn); background: #fff;
    color: var(--ink); font-size: 14px; font-weight: 500; list-style: none; cursor: pointer; transition: background-color .15s;
}
.mq-share-btn::-webkit-details-marker { display: none; }
.mq-share-btn:hover, .mq-share[open] .mq-share-btn { background: var(--surface); }
.mq-share-pop {
    position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; display: flex; gap: 4px; padding: 6px;
    background: #fff; border: 1px solid var(--hairline-2); border-radius: 14px;
    box-shadow: 0 1px 2px rgba(31, 36, 46, .06), 0 18px 40px -22px rgba(31, 36, 46, .55);
}
.mq-share-link {
    display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px;
    background: none; color: var(--ink); cursor: pointer; transition: background-color .15s;
}
.mq-share-link:hover { background: var(--surface); }
.mq-share-link.is-done { background: var(--ink); color: #fff; }
@media (max-width: 479px) { .mq-share-btn span { display: none; } .mq-share-btn { width: 38px; padding: 0; justify-content: center; } }

.mq-article-h1 {
    margin: 0; color: var(--ink); font-size: clamp(1.875rem, 2.6vw + .9rem, 3rem); font-weight: 900;
    line-height: 1.08; letter-spacing: -.02em; text-wrap: balance;
}
.mq-article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 22px; color: rgba(31, 36, 46, .6); font-size: 13px; }
.mq-article-byline .sep { width: 3px; height: 3px; flex: none; border-radius: 999px; background: #cbd0d6; }

.mq-article-figure { margin: 28px 0 0; }
.mq-article-cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; border-radius: 18px; background: var(--surface); }

.mq-article-body { margin-top: 32px; color: var(--ink); font-size: 17px; line-height: 1.75; overflow-wrap: break-word; }
.mq-article-body > * + * { margin-top: 1.25em; }
.mq-article-body p { margin: 0; text-wrap: pretty; }
.mq-article-body > * > p + p { margin-top: 1.25em; }
.mq-article-lead { color: var(--ink-2); font-size: 18px; line-height: 1.55; }
.mq-article-lead p + p { margin-top: .8em; }
.mq-article-body h2 { margin: 1.8em 0 0; color: var(--ink); font-size: 26px; font-weight: 700; line-height: 1.22; letter-spacing: -.01em; }
.mq-article-body h3 { margin: 1.5em 0 0; color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1.3; }
.mq-article-body h4 { margin: 1.4em 0 0; color: var(--ink); font-size: 18px; font-weight: 700; }
.mq-article-body :is(h2, h3, h4) + * { margin-top: .75em; }
.mq-article-body strong, .mq-article-body b { font-weight: 700; color: var(--ink); }
.mq-article-body a { color: var(--red); text-decoration: underline 1px; text-underline-offset: 2px; transition: color .15s; }
.mq-article-body a:hover { color: #b3123a; }
.mq-article-body ul, .mq-article-body ol { display: flex; flex-direction: column; gap: 10px; margin: 1.25em 0 0; padding-left: 1.4em; }
.mq-article-body ul { list-style: disc outside; }
.mq-article-body ol { list-style: decimal outside; }
.mq-article-body li { padding-left: 6px; }
.mq-article-body ul li::marker { color: var(--red); }
.mq-article-body ol li::marker { color: var(--ink-4); font-weight: 700; }
.mq-article-body hr { height: 1px; margin: 2em 0 0; border: 0; background: var(--hairline-2); }
.mq-article-body img { max-width: 100%; height: auto; border-radius: 16px; }
.mq-article-body blockquote {
    margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--red);
    color: var(--ink); font-size: 20px; font-style: italic; line-height: 1.5;
}
.mq-article-body table {
    width: 100%; margin-top: 1.8em; border-collapse: separate; border-spacing: 0; overflow: hidden;
    border: 1px solid var(--hairline-2); border-radius: 16px; font-size: 15px; line-height: 1.55;
}
.mq-article-body table td, .mq-article-body table th { padding: 12px 16px; border-bottom: 1px solid #eceef1; text-align: left; vertical-align: top; }
.mq-article-body table tr:last-child td { border-bottom: 0; }
.mq-article-body table th, .mq-article-body table thead td { background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 700; }
@media (max-width: 767px) {
    .mq-article-body { font-size: 16px; }
    .mq-article-body h2 { font-size: 22px; }
    .mq-article-body table { display: block; overflow-x: auto; }
}

.mq-jr-tg--inline { margin-top: 0; }
.mq-article-body p + p { margin-top: 1em; }
.mq-article-body iframe { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; margin-top: 1.25em; border: 0; border-radius: 16px; background: var(--surface); }

/* ---------- Страница банка: один в один со справочником moniq ---------- */

.bd-page-grad { background: linear-gradient(#f3f4f6 0% 80%, #fff 95%); }

/* хлебные крошки «Главная / Банки / Agrobank» */
.breadcrumb-nav { background: #f3f4f6; }
.bd-page-grad .breadcrumb-nav { background: none; }
.bd-crumbs { padding-top: 16px; padding-bottom: 8px; }
@media (min-width: 768px) { .bd-crumbs { padding-top: 24px; padding-bottom: 12px; } }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; color: #6b7280; font-size: 13px; line-height: 1.4; list-style: none; }
@media (min-width: 768px) { .breadcrumb { font-size: 14px; } }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb a { color: #6b7280; transition: color .15s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current=page] { color: var(--ink); font-weight: 500; }
.breadcrumb-sep { color: #9ca3af; user-select: none; }
.breadcrumb-back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink) !important; font-weight: 500; }
.breadcrumb--mobile { display: none; }
@media (max-width: 639px) { .breadcrumb--full { display: none; } .breadcrumb--mobile { display: flex; } }

/* сетка: шапка слева, контакты справа с самого верха */
.bd-detail-section { background: none; }
.bd-wrap { padding-top: 24px; padding-bottom: 56px; }
@media (min-width: 768px) { .bd-wrap { padding-top: 32px; padding-bottom: 80px; } }
.bd-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
.bd-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.bd-side-inner { display: flex; flex-direction: column; gap: 16px; }
.bd-area-header { order: 1; }
.bd-area-side { order: 2; }
.bd-area-rest { order: 3; }
.bd-layout--side-last .bd-area-rest { order: 2; }
.bd-layout--side-last .bd-area-side { order: 3; }
@media (min-width: 1024px) {
    .bd-layout { grid-template-columns: 2fr 1fr; grid-template-areas: "header side" "rest side"; align-items: start; gap: 28px 32px; }
    .bd-layout--noside { grid-template-columns: 1fr; grid-template-areas: "header" "rest"; }
    .bd-area-header { grid-area: header; }
    .bd-area-rest { grid-area: rest; }
    .bd-area-side { grid-area: side; align-self: stretch; }
    .bd-side-inner { position: sticky; top: 24px; }
}

/* шапка-карточка банка */
.broker-detail .broker-hero { padding: 20px; background: #fff; border: 1px solid #eef0f2; border-radius: 20px; }
@media (min-width: 768px) { .broker-detail .broker-hero { padding: 26px 28px; } }
.broker-detail .broker-hero-top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; }
.broker-detail .broker-hero-id { min-width: 0; }
.broker-detail .broker-hero-title { margin: 0; color: var(--ink); font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
@media (min-width: 768px) { .broker-detail .broker-hero-title { font-size: 30px; } }
.broker-detail .broker-hero-sub { margin: 5px 0 0; color: #6b7280; font-size: 14px; line-height: 1.45; }

.bd-head-logo { display: none; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; }
div.bd-head-logo { place-items: center; background: var(--ink); color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; user-select: none; }
.bd-head-logo--wrap { position: relative; overflow: hidden; place-items: center; background: var(--ink); color: #fff; font-size: 22px; font-weight: 700; }
.bd-head-logo--wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
@media (min-width: 768px) {
    .bd-head-logo { display: block; width: 64px; height: 64px; }
    div.bd-head-logo, .bd-head-logo--wrap { display: grid; font-size: 22px; }
}

.bd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bd-badge {
    display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--radius-btn);
    background: #f3f4f6; color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap;
}
.bd-badge--rating { background: var(--ink); color: #fff; letter-spacing: .04em; font-weight: 700; }
.bd-badge--plain { background: none; padding-left: 0; padding-right: 0; }

.broker-detail .broker-figs {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; margin: 20px 0 0; padding-top: 20px;
    border-top: 1px solid #eef0f2;
}
@media (min-width: 768px) { .broker-detail .broker-figs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; } }
.acc-fig { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.broker-detail .broker-figs .acc-fig { padding: 0 20px; border-left: 1px solid #eef0f2; }
.broker-detail .broker-figs .acc-fig:first-child { padding-left: 0; border-left: none; }
@media (max-width: 767px) { .broker-detail .broker-figs .acc-fig:nth-child(odd) { padding-left: 0; border-left: none; } }
.acc-fig-k { color: #6b7280; font-size: 12px; white-space: nowrap; }
.acc-fig-v { margin: 0; overflow: hidden; color: var(--ink); font-size: 16px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.bank-detail .broker-figs .acc-fig-v { font-size: 18px; }
@media (min-width: 1024px) { .bank-detail .broker-figs .acc-fig-v { font-size: 20px; } }

/* карточки разделов */
.bd-card { padding: 24px; background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; }
@media (min-width: 768px) { .bd-card { padding: 30px; } }
.bd-section-title { margin: 0; color: var(--ink); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
@media (min-width: 768px) { .bd-section-title { font-size: 24px; } }
.bd-prose { margin-top: 12px; color: #4b5563; font-size: 15px; line-height: 1.65; }
@media (min-width: 768px) { .bd-prose { font-size: 16px; } }
.bd-prose p + p { margin-top: .8em; }

.bd-params { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 22px 0 0; overflow: hidden; background: #eef0f2; border-radius: 14px; }
@media (min-width: 640px) { .bd-params { grid-template-columns: repeat(3, 1fr); } }
.bd-param { padding: 16px 18px; background: #fff; }
@media (min-width: 1024px) { .bd-param { padding: 20px 22px; } }
.bd-param .k { color: #6b7280; font-size: 13px; }
@media (min-width: 1024px) { .bd-param .k { font-size: 15px; } }
.bd-param .v { margin: 4px 0 0; color: var(--ink); font-size: 17px; font-weight: 700; }
@media (min-width: 1024px) { .bd-param .v { margin-top: 6px; font-size: 22px; } }
.bd-param .v.v-text { font-size: 15px; font-weight: 600; line-height: 1.35; }
@media (min-width: 1024px) { .bd-param .v.v-text { font-size: 16px; } }
.bd-param .v.accent { color: var(--red); }

/* строки продуктов */
.issuer-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.issuer-row {
    display: flex; align-items: center; gap: 16px; padding: 16px; background: #f3f4f6; border-radius: 14px;
    color: var(--ink); transition: background-color .15s;
}
@media (min-width: 1024px) { .issuer-row { gap: 24px; padding: 20px 24px; } }
.issuer-row:hover { background: #ebecef; color: var(--ink); }
.issuer-col { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.issuer-col--ticker { flex: auto; }
.issuer-col--coupon { flex: 0 200px; }
.issuer-col--yield { flex: none; min-width: 80px; }
.issuer-col--mat { flex: none; min-width: 92px; max-width: 220px; }
.issuer-meta { color: #6b7280; font-size: 12px; letter-spacing: .02em; }
.issuer-val { overflow: hidden; color: var(--ink); font-size: 15px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
@media (min-width: 1024px) { .issuer-val { font-size: 16px; } }
.issuer-val--ticker { font-weight: 700; }
.issuer-val.accent { color: var(--red); font-weight: 700; }
.issuer-link {
    display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: var(--radius-btn);
    background: #fff; color: var(--ink); transition: background-color .15s, color .15s;
}
.issuer-row:hover .issuer-link { background: var(--ink); color: #fff; }
@media (max-width: 767px) { .issuer-col--coupon, .issuer-col--yield { display: none; } }

.bd-more { margin: 16px 0 0; text-align: center; }
.bd-more a {
    color: var(--ink); font-size: 14px; font-weight: 500;
    text-decoration: underline; text-decoration-color: #d1d5db; text-underline-offset: 4px;
}
.bd-more a:hover { text-decoration-color: var(--ink); }

/* курсы валют */
.cur-updated { margin: 4px 0 0; color: #9ca3af; font-size: 13px; }
.rt-table-wrap { margin-top: 14px; overflow-x: auto; }
@media (min-width: 820px) { .rt-table-wrap { overflow-x: visible; } }
.rt-trow {
    display: grid; grid-template-columns: minmax(170px, 1.6fr) repeat(3, minmax(116px, 1fr)); align-items: center; gap: 12px;
    min-width: 560px; padding: 11px 0; border-bottom: 1px solid #f3f4f6; color: var(--ink); font-size: 13px;
}
.rt-trow:last-child { border-bottom: none; }
.rt-trow span:nth-child(n+2) { text-align: right; }
.rt-trow--head { position: sticky; top: 0; z-index: 2; background: #fff; color: #9ca3af; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
.rt-tbank { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.rt-tbank a { color: var(--ink); }
.rt-tbank a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rt-tbank .cur-flag { width: 22px; height: 22px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(31, 36, 46, .16); }
.rt-taccent { font-weight: 700; }
.rt-tspread { color: #6b7280; }

/* контакты */
.iss-contacts .bd-section-title { margin-bottom: 6px; }
.iss-contact { display: grid; row-gap: 2px; padding: 10px 0; border-bottom: 1px solid #eef0f2; color: inherit; text-decoration: none; }
.iss-contact:last-of-type, .iss-contacts--addressed .iss-contact--last { border-bottom: none; }
.iss-contact-k { color: #6b7280; font-size: 12px; }
.iss-contact-v { color: var(--ink); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; transition: color .15s; }
a.iss-contact:hover .iss-contact-v { color: var(--red); }

/* подстраницы банка: переключатель разделов */
.bd-tabs-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.bd-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #e9ebee; border-radius: 12px; }
.bd-tab {
    display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 20px; border-radius: 9px;
    color: #6b7280; font-size: 14px; font-weight: 500; transition: background-color .18s, color .18s, box-shadow .18s;
}
.bd-tab:hover { color: var(--ink); }
.bd-tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(31, 36, 46, .06), 0 4px 12px -6px rgba(31, 36, 46, .18); }
.bd-tab-n { color: #9ca3af; font-size: 12px; font-weight: 600; }
@media (max-width: 767px) { .bd-tab { padding: 0 12px; } }

/* старые секции под шапкой банка (списки продуктов, курсы) — без своего фона */
.bd-page-grad ~ section.bg_color_light_primary { background: transparent; }

/* строки продуктов: одинаковая ширина колонок во всех строках */
.issuer-col--ticker { flex: 1 1 0; }
.issuer-col--coupon { flex: 0 0 180px; }
.issuer-col--yield { flex: 0 0 80px; }
.issuer-col--mat { flex: 0 0 190px; max-width: none; }
@media (max-width: 1023px) { .issuer-col--coupon { flex-basis: 140px; } .issuer-col--mat { flex-basis: 150px; } }
@media (max-width: 767px) { .issuer-val--ticker { white-space: normal; } .issuer-col--mat { flex: 0 1 auto; max-width: 48%; } .issuer-col--mat .issuer-val { white-space: normal; } }
.bd-layout--noside .bd-main { gap: 16px; }

/* ---------- Каталог банковских карт: один в один с moniq ---------- */

.mq-cards-page .breadcrumb-nav { background: #f3f4f6; }
.mq-page-head-sec { background: #f3f4f6; }
.mq-page-head-sec .app_container { padding-top: 20px; padding-bottom: 32px; }
@media (min-width: 768px) { .mq-page-head-sec .app_container { padding-bottom: 48px; } }
.page-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.page-head-title { margin: 0; color: var(--ink); font-size: clamp(1.875rem, 3vw + .7rem, 3rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.page-head-lead { max-width: 64ch; margin: 18px auto 0; color: #4b5563; font-size: 16px; line-height: 1.6; text-wrap: pretty; }
@media (min-width: 768px) { .page-head-lead { margin-top: 20px; font-size: 18px; } }

.section-blend { background: linear-gradient(#f3f4f6 0% 40%, #fff 100%); }
.mq-cards-filter-wrap { padding-top: 40px; padding-bottom: 40px; }
@media (min-width: 768px) { .mq-cards-filter-wrap { padding-top: 56px; padding-bottom: 56px; } }
.mq-cards-filter {
    padding: 16px; background: #fff; border: 1px solid rgba(229, 231, 235, .6); border-radius: 16px;
    box-shadow: 0 1px 2px rgba(31, 36, 46, .04), 0 8px 24px -12px rgba(31, 36, 46, .12);
}
@media (min-width: 768px) { .mq-cards-filter { padding: 24px; border-radius: 24px; } }
@media (min-width: 1024px) { .mq-cards-filter { padding: 32px; } }

.mq-cf-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) { .mq-cf-row { flex-direction: row; align-items: center; gap: 16px; } }
.mq-cf-search { position: relative; display: block; flex: 1; margin: 0; }
.mq-cf-search-ic { position: absolute; top: 0; bottom: 0; left: 16px; display: grid; place-items: center; color: #9ca3af; pointer-events: none; }
.mq-cf-input {
    width: 100%; height: 48px; padding: 0 16px 0 48px; border: 1px solid transparent; border-radius: var(--radius-btn);
    background: #f3f4f6; color: var(--ink); font: inherit; font-size: 16px; outline: none; transition: background-color .15s, border-color .15s, box-shadow .15s;
    -webkit-appearance: none; appearance: none;
}
@media (min-width: 768px) { .mq-cf-input, .mq-cf-reset { height: 56px; } }
.mq-cf-input::placeholder { color: #6b7280; }
.mq-cf-input:focus { background: #fff; border-color: rgba(31, 36, 46, .2); box-shadow: 0 0 0 2px rgba(31, 36, 46, .2); }
.mq-cf-reset {
    height: 48px; padding: 0 20px; border: 1px solid #e5e7eb; border-radius: var(--radius-btn); background: #fff;
    color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .15s;
}
.mq-cf-reset:hover { background: #f3f4f6; }

.mq-cf-selects { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
@media (min-width: 640px) { .mq-cf-selects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mq-cf-selects { grid-template-columns: repeat(4, 1fr); } }
.select-wrap { position: relative; display: block; margin: 0; }
.select-label { position: absolute; top: 8px; left: 14px; z-index: 1; color: #6b7280; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.select-input {
    width: 100%; height: 60px; padding: 22px 40px 0 14px; border: 1px solid transparent; border-radius: var(--radius-btn);
    background: #f3f4f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f242e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
    color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; -webkit-appearance: none; appearance: none;
    transition: background-color .15s, border-color .15s;
}
.select-input:hover { background-color: #ebecef; }
.select-input:focus { background-color: #fff; border-color: rgba(31, 36, 46, .2); outline: none; }

.mq-cf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
    display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid transparent;
    border-radius: var(--radius-btn); background: #f3f4f6; color: var(--ink); font: inherit; font-size: 13px; font-weight: 500;
    cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover { background: #e5e7eb; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }

.mq-cf-stats-wrap { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(229, 231, 235, .7); }
.filter-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; margin: 0; }
@media (min-width: 1024px) { .filter-stats { grid-template-columns: repeat(4, 1fr); } }
.filter-stat { display: flex; flex-direction: column-reverse; }
.filter-stat-v { margin: 0; color: var(--ink); font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -.01em; }
@media (min-width: 768px) { .filter-stat-v { font-size: 30px; } }
.filter-stat-k { margin-top: 8px; color: #6b7280; font-size: 13px; line-height: 1.35; }
.mq-cf-empty { margin: 20px 0 0; color: #6b7280; font-size: 14px; text-align: center; }

/* список карт */
.mq-cards-list { background: #fff; }
.mq-cards-list .app_container { padding-bottom: 64px; }
@media (min-width: 768px) { .mq-cards-list .app_container { padding-bottom: 96px; } }
.mq-cards-sort { display: flex; justify-content: flex-end; margin-bottom: 16px; }
@media (min-width: 768px) { .mq-cards-sort { margin-bottom: 20px; } }
.mq-cards-sort label { display: flex; align-items: center; gap: 8px; margin: 0; color: #6b7280; font-size: 14px; }
.mq-cards-sort select {
    padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
    text-decoration: underline; text-decoration-color: #d1d5db; text-underline-offset: 4px; -webkit-appearance: none; appearance: none;
}
.mq-cards-sort select:hover { text-decoration-color: var(--ink); }
.mq-cards-sort select:focus { outline: none; }

.mq-cards-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .mq-cards-grid { gap: 16px; } }
@media (min-width: 1024px) { .mq-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mq-cards-grid > li[hidden] { display: none; }

.deposit-card { display: grid; gap: 18px; padding: 22px; background: #f3f4f6; border-radius: 20px; transition: transform .2s, box-shadow .2s; }
.deposit-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -16px rgba(31, 36, 46, .18); }
@media (min-width: 768px) { .deposit-card { padding: 26px; } }
.deposit-head { display: flex; align-items: flex-start; gap: 14px; }
.deposit-head-text { flex: 1; min-width: 0; }
.deposit-title { margin: 0; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.25; }
.deposit-bank { margin: 2px 0 0; color: #6b7280; font-size: 14px; }
.deposit-type-badge {
    display: inline-flex; flex-shrink: 0; align-items: center; height: 24px; padding: 0 10px; border-radius: 6px;
    font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
}
.deposit-type-badge--term { background: #fff; border: 1px solid #e5e7eb; color: var(--ink); }
@media (max-width: 479px) { .deposit-type-badge { display: none; } }

.bank-card-thumb {
    position: relative; display: block; flex-shrink: 0; width: 76px; height: 48px; overflow: hidden; border-radius: 8px;
    background: linear-gradient(135deg, #2b3645 0%, #1f242e 60%, #11151c 100%); box-shadow: 0 1px 3px rgba(31, 36, 46, .16);
}
.bank-card-thumb--credit { background: linear-gradient(135deg, #f0435f 0%, #e11d48 55%, #a50f37 100%); }
.bank-card-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bank-card-chip { position: absolute; top: 12px; left: 9px; width: 13px; height: 10px; border-radius: 2px; background: linear-gradient(135deg, #f5d37a, #c99a2e); }
.bank-card-sys { position: absolute; right: 7px; bottom: 5px; color: rgba(255, 255, 255, .9); font-size: 8px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.deposit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
@media (min-width: 640px) { .deposit-grid { grid-template-columns: repeat(4, 1fr); } }
.deposit-metric { min-width: 0; }
.deposit-metric .k { color: #6b7280; font-size: 13px; }
@media (min-width: 1024px) { .deposit-metric .k { font-size: 14px; } }
.deposit-metric .v { margin-top: 4px; overflow-wrap: anywhere; color: var(--ink); font-size: 15px; font-weight: 700; }
@media (min-width: 1024px) { .deposit-metric .v { font-size: 16px; } }
.deposit-metric .v.accent { color: var(--red); }
.deposit-metric .v.type-v { font-weight: 600; }

.deposit-foot { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding-top: 16px; border-top: 1px solid rgba(31, 36, 46, .08); }
@media (min-width: 640px) { .deposit-foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; } }
.deposit-features { display: flex; flex-wrap: wrap; gap: 8px; }
.deposit-feature {
    display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border: 1px solid rgba(31, 36, 46, .08);
    border-radius: 999px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 500; white-space: nowrap;
}
.deposit-feature svg { flex-shrink: 0; color: #10b981; }
.deposit-feature--system { border-color: rgba(31, 36, 46, .22); font-weight: 600; }
.deposit-cta {
    display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 100%; height: 44px; padding: 0 20px;
    border-radius: var(--radius-btn); background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; transition: background-color .15s;
}
@media (min-width: 640px) { .deposit-cta { width: auto; height: 42px; } }
.deposit-cta:hover { background: #000; color: #fff; }

/* SEO-текст под списком */
.mq-cards-seo .app_container { padding-bottom: 72px; }
.mq-seo-card { padding: 32px; background: #fff; border: 1px solid #e5e7eb; border-radius: 24px; color: #4b5563; font-size: 15px; line-height: 1.7; }
@media (max-width: 767px) { .mq-seo-card { padding: 20px; } }
.mq-seo-card h4, .mq-seo-card h5 { margin: 1.4em 0 .5em; color: var(--ink); font-size: 18px; font-weight: 700; }
.mq-seo-card > :first-child { margin-top: 0; }
.mq-seo-card p { margin: 0 0 .8em; }
.mq-seo-card ul, .mq-seo-card ol { margin: 0 0 1em; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.mq-seo-card li::marker { color: var(--red); }
.mq-seo-card strong, .mq-seo-card b { color: var(--ink); }
/* итоги фильтра карт: подпись над числом, как у moniq */
.filter-stat { flex-direction: column; gap: 6px; }
.filter-stat .filter-stat-k { margin-top: 0; }
.mq-cards-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .mq-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Страница карты: один в один с moniq ---------- */

.inst-hero { padding: 20px; background: #fff; border: 1px solid #eef0f2; border-radius: 20px; }
@media (min-width: 768px) { .inst-hero { padding: 26px 28px; } }
.inst-hero-top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 16px; }
@media (max-width: 479px) { .inst-hero-top { grid-template-columns: 1fr; } }
.inst-hero-id { min-width: 0; }
.bd-head-eyebrow { margin: 0; color: #6b7280; font-size: 12px; letter-spacing: .02em; }
@media (min-width: 768px) { .bd-head-eyebrow { font-size: 13px; } }
.inst-hero-title { margin: 2px 0 0; color: var(--ink); font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
@media (min-width: 768px) { .inst-hero-title { font-size: 30px; } }
.inst-hero-sub { margin: 5px 0 0; color: #6b7280; font-size: 14px; line-height: 1.45; }
.inst-hero-sub a { color: #6b7280; text-decoration: underline; text-decoration-color: #d1d5db; text-underline-offset: 3px; }
.inst-hero-sub a:hover { color: var(--ink); }
.inst-hero-meta { margin: 4px 0 0; color: #9ca3af; font-size: 13px; line-height: 1.45; }
.inst-hero-cta { margin-top: 20px; }
.mq-btn--accent { width: 100%; height: 48px; background: var(--red); color: #fff; font-size: 16px; }
.mq-btn--accent:hover { background: #be123c; color: #fff; }

/* изображение карты (заглушка в форме карты, фото — поверх, если есть) */
.mq-cardvis { position: relative; display: block; flex-shrink: 0; overflow: hidden; background: linear-gradient(135deg, #2b3645 0%, #1f242e 60%, #11151c 100%); }
.mq-cardvis--credit { background: linear-gradient(135deg, #f0435f 0%, #e11d48 55%, #a50f37 100%); }
.mq-cardvis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mq-cardvis-chip { position: absolute; top: 26%; left: 12%; width: 17%; height: 21%; border-radius: 3px; background: linear-gradient(135deg, #f5d37a, #c99a2e); }
.mq-cardvis-sys { position: absolute; right: 9%; bottom: 10%; color: rgba(255, 255, 255, .92); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.bank-card-hero-image { width: 146px; height: 92px; border-radius: 12px; box-shadow: 0 6px 18px -8px rgba(31, 36, 46, .4); }
@media (min-width: 768px) { .bank-card-hero-image { width: 171px; height: 108px; } .bank-card-hero-image .mq-cardvis-sys { font-size: 13px; } }
.bank-card-thumb.mq-cardvis { width: 76px; height: 48px; border-radius: 8px; box-shadow: 0 1px 3px rgba(31, 36, 46, .16); }
.bank-card-thumb .mq-cardvis-sys { font-size: 8px; right: 7px; bottom: 5px; }

.inst-feats { margin-top: 16px; }
.inst-about .bd-prose { margin-top: 16px; }
.bd-prose p { margin: 0; }
.bd-prose p + p { margin-top: .7em; }
.inst-sub { margin: 18px 0 6px; color: var(--ink); font-size: 16px; font-weight: 700; }
.inst-sub:first-child { margin-top: 0; }

/* плитка условий с внутренними рамками */
.bd-params--ragged { gap: 0; background: #fff; }
.bd-params--ragged .bd-param { border-top: 1px solid #eef0f2; border-left: 1px solid #eef0f2; }
.bd-params--ragged .bd-param:nth-child(-n+2) { border-top: 0; }
.bd-params--ragged .bd-param:nth-child(odd) { border-left: 0; }
@media (min-width: 640px) {
    .bd-params--ragged .bd-param:nth-child(-n+2) { border-top: 1px solid #eef0f2; }
    .bd-params--ragged .bd-param:nth-child(odd) { border-left: 1px solid #eef0f2; }
    .bd-params--ragged .bd-param:nth-child(-n+3) { border-top: 0; }
    .bd-params--ragged .bd-param:nth-child(3n+1) { border-left: 0; }
}
.bd-params--compact .bd-param .v { font-size: 16px; }
@media (min-width: 1024px) { .bd-params--compact .bd-param .v { font-size: 18px; } }

/* мобильный порядок как у moniq: шапка, «О карте», контакты, остальное */
@media (max-width: 1023px) {
    .inst-detail .bd-layout { grid-template-columns: minmax(0, 1fr); }
    .inst-detail .bd-area-rest { display: contents; }
    .inst-detail .bd-area-rest > * { order: 4; }
    .inst-detail .bd-area-rest > .inst-about { order: 2; }
    .inst-detail .bd-area-side { order: 3; }
}
.inst-bank-btn { margin-top: 14px; }

/* лента «Другие карты банка» */
.bcs-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.bcs-nav { display: none; }
@media (hover: hover) and (min-width: 768px) { .bcs-nav { display: flex; gap: 8px; } }
.journal-nav-btn {
    display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #e5e7eb; border-radius: var(--radius-btn);
    background: #fff; color: var(--ink); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.journal-nav-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.bcs-strip {
    display: flex; gap: 12px; margin: 0 -24px; padding: 2px 24px; overflow-x: auto;
    scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.bcs-strip::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .bcs-strip { margin: 0 -30px; padding: 2px 30px; } }
.bcs-card {
    display: flex; flex: none; flex-direction: column; gap: 8px; width: 248px; padding: 12px; scroll-snap-align: start;
    background: #f3f4f6; border-radius: 14px; color: var(--ink); transition: background-color .15s;
}
@media (min-width: 768px) { .bcs-card { width: 288px; } }
.bcs-card:hover { background: #ebecef; color: var(--ink); }
.bcs-thumb { display: grid; place-items: center; aspect-ratio: 1.6; overflow: hidden; background: #fff; border-radius: 10px; }
.bcs-img.mq-cardvis { width: 100%; height: 100%; }
.bcs-title { display: -webkit-box; overflow: hidden; font-size: 16px; font-weight: 700; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bcs-metric { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.bcs-meta { color: #6b7280; font-size: 13px; letter-spacing: .02em; }
.bcs-val { overflow: hidden; font-size: 16px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.bcs-val.accent { color: var(--red); font-weight: 700; }
.bcs-foot { margin-top: 16px; text-align: center; }
.bcs-all { color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-color: #d1d5db; text-underline-offset: 4px; }
.bcs-all:hover { text-decoration-color: var(--ink); }

/* «Похожие карты» */
.mq-similar { background: #fff; }
.mq-similar .app_container { padding-bottom: 64px; }
@media (min-width: 768px) { .mq-similar .app_container { padding-bottom: 96px; } }
.mq-similar-title { margin-bottom: 16px; }
@media (min-width: 768px) { .mq-similar-title { margin-bottom: 20px; } }
