/* ============================================================
   БЬОРК — страницы направлений (канон v2, шаблон утверждён 26.08.2026)
   Один файл на все направления: /laser, /injection-cosmetology,
   /correction-of-figure, /esthetic-cosmetology, /coldplasma, /waxing,
   /browes-and-lashes, /piercing. Грузится из первого блока страницы:
   <link> на static.bjork-beauty.ru/napravlenie.css.
   Префикс bjn- (страничный слой направлений). Глобальные --bjrk-* токены
   шапки/подвала/SmartBar не трогаем. Страничного JS нет: аккордеоны
   на <details>, цели Метрики ловит делегатор в site.js (data-bjg-goal).
   Макет-эталон: артефакт 24fb0389 (Claude Design canvas).
   ============================================================ */

/* ===== Golos Text, самохост со static (вариативные сабсеты) ===== */
@font-face {
  font-family: 'Golos Text';
  src: url('https://static.bjork-beauty.ru/fonts/golos-text-cyrillic-variable.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  src: url('https://static.bjork-beauty.ru/fonts/golos-text-latin-variable.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Токены направлений ===== */
:root {
  --bjn-paper:    #FAFAF8;
  --bjn-card:     #FFFFFF;
  --bjn-graphite: #1C1C1A;
  --bjn-ghover:   #33332F;
  --bjn-coal:     #4A4A46;
  --bjn-hair:     #E3E3DF;
  --bjn-oak:      #D8BE93;
  --bjn-honey:    #7A4E2A;
  --bjn-font: 'Golos Text', -apple-system, 'Segoe UI', Arial, sans-serif;
  /* Секционный шов (DESIGN.md «Вертикальный ритм»): несёт padding-bottom
     предыдущей секции, padding-top следующей ~0. 48px моб / 96px десктоп. */
  --bjn-sect: 48px;
}
@media (min-width: 960px) {
  :root { --bjn-sect: 96px; }
}

/* ===== База секций ===== */
.bjn { font-family: var(--bjn-font); color: var(--bjn-graphite); background: var(--bjn-paper); }
.bjn * { box-sizing: border-box; margin: 0; padding: 0; }
.bjn a { color: var(--bjn-graphite); text-decoration: none; }
.bjn a:hover { color: var(--bjn-ghover); }
.bjn img { display: block; max-width: 100%; }

.bjn-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.bjn-h1 {
  font-size: 42px; font-weight: 600; line-height: 1.1;
  letter-spacing: -0.01em; color: var(--bjn-graphite);
}
.bjn-h2 { font-size: 26px; font-weight: 600; line-height: 1.15; color: var(--bjn-graphite); }
.bjn-meta { font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--bjn-coal); }
.bjn-oakline { width: 48px; height: 2px; background: var(--bjn-oak); }

.bjn-card {
  background: var(--bjn-card);
  border: 1px solid var(--bjn-hair);
  border-radius: 14px;
}

.bjn-btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; border-radius: 14px;
  font-family: var(--bjn-font); font-size: 16px; font-weight: 600;
  cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bjn-btn-p { background: var(--bjn-graphite); color: #FFFFFF !important; }
.bjn-btn-p:hover { background: var(--bjn-ghover); }

.bjn-photo {
  display: block; width: 100%; object-fit: cover;
  border: 2px solid var(--bjn-oak); border-radius: 10px;
}

.bjn-rowlink {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 44px; font-size: 15px; font-weight: 500; color: var(--bjn-coal) !important;
}
.bjn-rowlink:hover { color: var(--bjn-graphite) !important; }
.bjn-arrow { flex-shrink: 0; }

.bjn-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--bjn-coal);
}

/* ===== Заход ===== */
.bjn-zahod .bjn-wrap {
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 24px; padding-bottom: var(--bjn-sect);
}
.bjn-zahod-text { display: flex; flex-direction: column; gap: 12px; }
.bjn-crumb { font-size: 13px; line-height: 1.45; color: var(--bjn-coal); }
.bjn-crumb a { color: var(--bjn-coal); }
.bjn-crumb a:hover { color: var(--bjn-graphite); }
.bjn-zahod-facts { font-size: 13px; line-height: 1.55; color: var(--bjn-coal); }
.bjn-zahod-photo { height: 216px; }
.bjn-zahod-nophoto {
  height: 216px; border-radius: 12px; background: var(--bjn-paper);
  border: 1px solid var(--bjn-hair);
  display: flex; align-items: center; justify-content: center;
}
.bjn-zahod-nophoto img { height: 96px; width: auto; opacity: 0.2; }
.bjn-zahod-actions { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.bjn-zahod-more {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; font-size: 15px; font-weight: 500; color: var(--bjn-coal) !important;
}
.bjn-zahod-more:hover { color: var(--bjn-graphite) !important; }

/* ===== Цены-табло ===== */
.bjn-ceny .bjn-wrap {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 4px; padding-bottom: var(--bjn-sect);
}
/* /price: герой прейскуранта задаёт padding инлайном в блоке Тильды
   (02-header.html); тройной селектор перебивает его специфичностью,
   чтобы шов к первой группе каталога жил в общем ритме без перевставки. */
section.bjn.bjn-price-hero .bjn-wrap { padding-bottom: var(--bjn-sect); }
.bjn-ceny-head { display: flex; flex-direction: column; gap: 6px; }
.bjn-tablo-grp { display: flex; flex-direction: column; padding: 14px 16px; }
.bjn-tablo-grp .bjn-label { padding: 4px 0 8px; }
.bjn-tablo-rows { display: flex; flex-direction: column; }
.bjn-tablo-cols { display: flex; flex-direction: column; }
.bjn-tablo-col { display: flex; flex-direction: column; }
.bjn-trow {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 44px; padding: 8px 0; border-top: 1px solid var(--bjn-hair);
}
.bjn-trow-n { font-size: 14px; line-height: 1.35; color: var(--bjn-coal); }
.bjn-trow-p { font-size: 15px; font-weight: 600; color: var(--bjn-graphite); flex-shrink: 0; }
.bjn-trow-old { font-weight: 400; color: var(--bjn-coal); text-decoration: line-through; margin-right: 6px; }
.bjn-trow-badge { font-size: 11px; font-weight: 500; color: var(--bjn-honey); white-space: nowrap; }

/* Терминал поднаправлений (details-группы, страница инъекционки) */
.bjn-tacc-list { padding: 2px 16px; }
.bjn-tacc + .bjn-tacc { border-top: 1px solid var(--bjn-hair); }
.bjn-tacc-q {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 56px; padding: 8px 0;
  cursor: pointer; list-style: none;
  -webkit-tap-highlight-color: transparent;
}
/* Статичная группа (короткая страница): не аккордеон, заголовок не кликается */
.bjn-tacc--static .bjn-tacc-q { cursor: default; }
.bjn-tacc-q::-webkit-details-marker { display: none; }
.bjn-tacc-q::marker { content: ''; }
.bjn-tacc-left { display: flex; flex-direction: column; gap: 2px; }
.bjn-tacc-name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.bjn-tacc-count { font-size: 13px; line-height: 1.35; color: var(--bjn-coal); }
.bjn-tacc-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.bjn-tacc-from { font-size: 15px; font-weight: 600; color: var(--bjn-graphite); }
.bjn-tacc-q svg { flex-shrink: 0; transition: transform 0.2s; }
.bjn-tacc[open] .bjn-tacc-q svg { transform: rotate(180deg); }
.bjn-tacc-body { display: flex; flex-direction: column; padding: 0 0 12px; }
.bjn-tacc-desc { font-size: 13px; line-height: 1.45; color: var(--bjn-coal); padding-bottom: 6px; }
.bjn-tacc-promo { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--bjn-honey); padding-bottom: 8px; }
.bjn-tacc-body .bjn-trow { min-height: 40px; padding: 6px 0; }
.bjn-tacc-nomen { font-size: 11px; line-height: 1.5; color: var(--bjn-coal); opacity: 0.7; padding-top: 8px; }
/* Вложенный список курсов и абонементов: базовые сеансы ведут, курсы тише и свёрнуты */
.bjn-tacc-courses { margin-top: 2px; border-top: 1px solid var(--bjn-hair); }
.bjn-tacc-cq { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 13px; font-weight: 500; color: var(--bjn-coal); }
.bjn-tacc-cq::-webkit-details-marker { display: none; }
.bjn-tacc-cq::marker { content: ''; }
.bjn-tacc-cq svg { flex-shrink: 0; transition: transform 0.2s; }
.bjn-tacc-courses[open] .bjn-tacc-cq svg { transform: rotate(180deg); }
.bjn-tacc-cbody { display: flex; flex-direction: column; padding-bottom: 4px; }
.bjn-tacc-cbody .bjn-trow { min-height: 34px; padding: 5px 0 5px 14px; }
.bjn-tacc-cbody .bjn-trow-n { font-size: 13px; }
.bjn-tacc-cbody .bjn-trow-p { font-size: 13px; font-weight: 500; color: var(--bjn-coal); }
/* Лестница цен по зоне (layout ladder): цена сеанса ведёт, курсы — тихие ячейки */
.bjn-ladder { padding: 12px 0; border-top: 1px solid var(--bjn-hair); }
.bjn-ladder-z { font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.bjn-ladder-s { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.bjn-ladder-slab { font-size: 13px; color: var(--bjn-coal); }
.bjn-ladder-sp { font-size: 16px; font-weight: 600; color: var(--bjn-graphite); }
.bjn-ladder-c { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bjn-ladder-cell { background: var(--bjn-paper); border-radius: 8px; padding: 8px 10px; }
.bjn-ladder-cl { display: block; font-size: 11px; line-height: 1.3; color: var(--bjn-coal); margin-bottom: 2px; }
.bjn-ladder-cp { display: block; font-size: 14px; font-weight: 600; color: var(--bjn-graphite); }

/* ===== Мастера ===== */
.bjn-spec .bjn-wrap {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 0; padding-bottom: var(--bjn-sect);
}
.bjn-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bjn-spec-grid--solo { grid-template-columns: 1fr; }
.bjn-spec-card { display: flex; flex-direction: column; gap: 8px; padding: 8px; }
.bjn-spec-card .bjn-photo { height: 204px; border-radius: 8px; object-position: 50% 22%; }
.bjn-spec-nophoto {
  height: 204px; border: 2px solid var(--bjn-oak); border-radius: 8px;
  background: var(--bjn-paper);
  display: flex; align-items: center; justify-content: center;
}
.bjn-spec-nophoto img { height: 64px; width: auto; opacity: 0.25; border: none; }
.bjn-spec-text { display: flex; flex-direction: column; gap: 4px; padding: 2px 6px 6px; }
.bjn-spec-name { font-size: 14px; font-weight: 600; line-height: 1.3; min-height: 37px; }
.bjn-spec-role { font-size: 13px; line-height: 1.4; color: var(--bjn-coal); }

/* ===== Как это работает ===== */
.bjn-how .bjn-wrap {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 0; padding-bottom: var(--bjn-sect);
}
.bjn-how-lead { font-size: 15px; line-height: 1.5; color: var(--bjn-coal); }
.bjn-how-list { display: flex; flex-direction: column; padding: 6px 16px; }
.bjn-how-row { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; }
.bjn-how-row + .bjn-how-row { border-top: 1px solid var(--bjn-hair); }
.bjn-how-t { font-size: 14px; font-weight: 600; line-height: 1.35; }
.bjn-how-d { font-size: 13px; line-height: 1.45; color: var(--bjn-coal); }

/* ===== Что важно знать (details-аккордеоны) ===== */
.bjn-know .bjn-wrap {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 0; padding-bottom: var(--bjn-sect);
}
.bjn-know-list { display: flex; flex-direction: column; padding: 2px 16px; }
.bjn-acc + .bjn-acc { border-top: 1px solid var(--bjn-hair); }
.bjn-acc-q {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 52px; padding: 8px 0;
  cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 600; color: var(--bjn-graphite);
  -webkit-tap-highlight-color: transparent;
}
.bjn-acc-q::-webkit-details-marker { display: none; }
.bjn-acc-q::marker { content: ''; }
.bjn-acc-q svg { flex-shrink: 0; transition: transform 0.2s; }
.bjn-acc[open] .bjn-acc-q svg { transform: rotate(180deg); }
.bjn-acc-a { display: flex; flex-direction: column; gap: 2px; padding: 0 0 12px; }
.bjn-acc-a p { font-size: 14px; line-height: 1.5; color: var(--bjn-coal); }
.bjn-acc-link {
  display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start;
  font-size: 14px; font-weight: 500; color: var(--bjn-graphite) !important;
}
.bjn-acc-link span { border-bottom: 1px solid var(--bjn-oak); }

/* ===== Финал ===== */
.bjn-final .bjn-wrap {
  display: flex; flex-direction: column; gap: 12px;
  /* Перед подвалом: 32px (3xl) — подвал добавляет свой верхний отступ */
  padding-top: 0; padding-bottom: 32px;
}
.bjn-final-note { font-size: 13px; line-height: 1.45; color: var(--bjn-coal); text-align: center; }
.bjn-final-links { display: flex; flex-direction: column; border-top: 1px solid var(--bjn-hair); margin-top: 6px; }
.bjn-final-links .bjn-rowlink { min-height: 48px; }
.bjn-final-links .bjn-rowlink + .bjn-rowlink { border-top: 1px solid var(--bjn-hair); }

/* ============================================================
   Планшет и десктоп
   ============================================================ */
@media (min-width: 960px) {
  .bjn-zahod .bjn-wrap {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "text photo" "actions photo";
    column-gap: 48px; row-gap: 14px; align-items: center;
    padding-top: 44px;
  }
  .bjn-zahod-text { grid-area: text; align-self: end; gap: 14px; }
  .bjn-zahod-facts { font-size: 15px; max-width: 420px; }
  .bjn-zahod-photo { grid-area: photo; height: 400px; }
  .bjn-zahod-nophoto { grid-area: photo; height: 400px; }
  .bjn-zahod-nophoto img { height: 128px; }
  .bjn-zahod-actions { grid-area: actions; align-self: start; flex-direction: row; align-items: center; gap: 20px; margin-top: 0; }
  .bjn-zahod .bjn-btn { width: auto; padding: 0 26px; }

  .bjn-ceny .bjn-wrap { gap: 18px; }
  .bjn-ceny--slim .bjn-wrap { max-width: 800px; gap: 16px; }
  .bjn-ceny-head { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; }
  .bjn-tacc-list { padding: 2px 20px; }
  .bjn-tacc-q { min-height: 58px; }
  .bjn-tacc-left { flex-direction: row; align-items: baseline; gap: 12px; }
  .bjn-tacc-name { font-size: 16px; }
  .bjn-tacc-body .bjn-trow { min-height: 42px; }
  .bjn-tablo {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 14px; align-items: start;
  }
  .bjn-tablo-grp { padding: 16px 20px; }
  .bjn-trow { min-height: 46px; }
  .bjn-tablo-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }

  .bjn-spec .bjn-wrap { gap: 16px; }
  .bjn-spec-grid { display: flex; gap: 14px; }
  .bjn-spec-card { width: 268px; }
  .bjn-spec-card .bjn-photo { height: 330px; }
  .bjn-spec-nophoto { height: 330px; }
  .bjn-spec-nophoto img { height: 84px; }
  .bjn-spec-name { font-size: 16px; min-height: 42px; }

  .bjn-how .bjn-wrap {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px; align-items: start;
  }
  .bjn-how-head { display: flex; flex-direction: column; gap: 14px; }
  .bjn-how-lead { max-width: 420px; }
  .bjn-how-list { padding: 6px 20px; }

  .bjn-know .bjn-wrap { max-width: 800px; gap: 16px; }
  .bjn-know-list { padding: 2px 20px; }

  .bjn-final .bjn-wrap { max-width: 800px; align-items: center; padding-bottom: 64px; }
  .bjn-final .bjn-btn { width: auto; padding: 0 34px; }
  .bjn-final-links {
    flex-direction: row; align-items: center; gap: 32px;
    border-top: none; margin-top: 8px;
  }
  .bjn-final-links .bjn-rowlink { min-height: 44px; }
  .bjn-final-links .bjn-rowlink + .bjn-rowlink { border-top: none; }
}

/* ── /split: карточка примера в заходе (роль фото), калькулятор,
   тихая строка Сплита в терминалах цен (флаг splitNote генератора) ── */
.bjn-sp-example { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bjn-sp-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--bjn-coal);
}
.bjn-sp-inner { display: flex; flex-direction: column; gap: 10px; }
.bjn-sp-name { font-size: 15px; font-weight: 600; color: var(--bjn-graphite); line-height: 1.35; }
.bjn-sp-total { font-size: 26px; font-weight: 600; color: var(--bjn-graphite); letter-spacing: -0.01em; }
.bjn-sp-cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bjn-sp-cell {
  border: 1px solid var(--bjn-hair); border-radius: 10px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.bjn-sp-cell--first { border: 1.5px solid var(--bjn-graphite); }
.bjn-sp-cl { font-size: 11px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--bjn-coal); }
.bjn-sp-cp { font-size: 15px; font-weight: 600; color: var(--bjn-graphite); }
.bjn-sp-note { font-size: 13px; line-height: 1.45; color: var(--bjn-coal); }

.bjn-calc .bjn-wrap {
  display: flex; flex-direction: column; gap: 16px;
  padding-bottom: var(--bjn-sect);
}
.bjn-calc-card { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.bjn-calc-label { font-size: 13px; color: var(--bjn-coal); }
.bjn-calc-inputwrap {
  display: flex; align-items: center; gap: 8px;
  background: var(--bjn-card); border: 1.5px solid var(--bjn-hair);
  border-radius: 12px; padding: 10px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bjn-calc-inputwrap:focus-within {
  border-color: var(--bjn-graphite);
  box-shadow: 0 0 0 3px rgba(28, 28, 26, 0.12);
}
.bjn-calc-input {
  border: none; outline: none; background: transparent;
  font-family: var(--bjn-font); font-size: 26px; font-weight: 600;
  color: var(--bjn-graphite); width: 100%; min-width: 0;
  -moz-appearance: textfield; appearance: textfield;
}
.bjn-calc-input::-webkit-outer-spin-button,
.bjn-calc-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.bjn-calc-rub { font-size: 18px; color: var(--bjn-coal); flex-shrink: 0; }
.bjn-calc-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.bjn-calc-preset {
  min-height: 44px; padding: 0 14px;
  border: 1.5px solid var(--bjn-hair); border-radius: 999px; background: transparent;
  font-family: var(--bjn-font); font-size: 14px; font-weight: 500; color: var(--bjn-coal);
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.bjn-calc-preset:hover { border-color: var(--bjn-graphite); color: var(--bjn-graphite); }
.bjn-calc-res {
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid var(--bjn-hair); padding-top: 14px;
}
.bjn-calc-pay { font-size: 26px; font-weight: 600; color: var(--bjn-graphite); letter-spacing: -0.01em; }
.bjn-calc-sub { font-size: 13px; line-height: 1.45; color: var(--bjn-coal); }

.bjn-splitnote {
  display: block; padding: 12px 16px 14px;
  border-top: 1px solid var(--bjn-hair);
  font-size: 13px; line-height: 1.45; color: var(--bjn-coal) !important;
}
.bjn-splitnote span { color: var(--bjn-graphite); border-bottom: 1px solid var(--bjn-oak); }

@media (min-width: 960px) {
  .bjn-sp-example { grid-area: photo; }
  .bjn-calc .bjn-wrap { max-width: 800px; }
}

/* ── /bonus-card: форма баланса (SMS-ссылка), лестница уровней ── */
.bjn-balans .bjn-wrap, .bjn-urovni .bjn-wrap {
  display: flex; flex-direction: column; gap: 16px;
  padding-bottom: var(--bjn-sect);
}
.bjn-bal-card { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.bjn-bal-form { display: flex; flex-direction: column; gap: 10px; }
.bjn-bal-inputwrap { flex: 1; }
.bjn-bal-input { font-size: 18px; }
.bjn-bal-btn { padding: 0 24px; }
.bjn-bal-result { display: none; font-size: 14px; line-height: 1.45; border-radius: 10px; padding: 10px 12px; }
.bjn-bal-result.show { display: block; }
.bjn-bal-result.ok { background: rgba(78, 124, 63, 0.12); color: #3D6231; }
.bjn-bal-result.err { background: rgba(192, 57, 43, 0.10); color: #96291D; }

.bjn-lvl-card { padding: 4px 16px; display: flex; flex-direction: column; }
.bjn-lvl-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0;
}
.bjn-lvl-row + .bjn-lvl-row { border-top: 1px solid var(--bjn-hair); }
.bjn-lvl-left { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.bjn-lvl-name { font-size: 15px; font-weight: 600; color: var(--bjn-graphite); display: flex; align-items: center; gap: 8px; }
.bjn-lvl-dot { width: 8px; height: 8px; border-radius: 50%; background: #4E7C3F; flex-shrink: 0; }
.bjn-lvl-cond { font-size: 13px; line-height: 1.4; color: var(--bjn-coal); }
.bjn-lvl-pct { font-size: 22px; font-weight: 600; color: var(--bjn-graphite); letter-spacing: -0.01em; flex-shrink: 0; }
.bjn-lvl-note { font-size: 13px; line-height: 1.45; color: var(--bjn-coal); padding: 12px 0 14px; border-top: 1px solid var(--bjn-hair); }

@media (min-width: 960px) {
  .bjn-balans .bjn-wrap, .bjn-urovni .bjn-wrap { max-width: 800px; }
  .bjn-bal-form { flex-direction: row; align-items: stretch; }
}

/* ── Статьи блога (шаблон «статья», /blog-*) ── */
.bjn-art .bjn-wrap {
  display: flex; flex-direction: column; gap: 14px;
  /* Статья — первая секция страницы: держит и «первый экран» сверху */
  padding-top: 24px; padding-bottom: var(--bjn-sect);
}
.bjn-art-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  font-size: 13px; line-height: 1.4; color: var(--bjn-coal);
}
.bjn-art-meta a { color: var(--bjn-graphite) !important; }
.bjn-art-meta a span { border-bottom: 1px solid var(--bjn-oak); }
.bjn-art-hero {
  display: block; width: 100%; max-width: 440px; margin: 4px auto 0;
  border-radius: 12px;
}
.bjn-art-body {
  display: flex; flex-direction: column; gap: 14px;
  font-size: 15px; line-height: 1.65; color: var(--bjn-graphite);
}
.bjn-art-body h2 { font-size: 22px; font-weight: 600; line-height: 1.2; margin-top: 14px; }
.bjn-art-body ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.bjn-art-lead { font-size: 16px; font-weight: 500; line-height: 1.6; }
.bjn-art-tablewrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  background: var(--bjn-card); border: 1px solid var(--bjn-hair); border-radius: 12px;
}
.bjn-art-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14px; }
.bjn-art-table th {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bjn-coal); text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--bjn-hair);
}
.bjn-art-table td { padding: 12px 14px; vertical-align: top; line-height: 1.5; }
.bjn-art-table tbody tr + tr td { border-top: 1px solid var(--bjn-hair); }
.bjn-art-table td:first-child { font-weight: 600; white-space: nowrap; }
.bjn-art-box {
  background: var(--bjn-card); border: 1px solid var(--bjn-hair); border-radius: 12px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 8px;
}
.bjn-art-box .bjn-label { color: var(--bjn-coal); }
.bjn-art-author {
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid var(--bjn-hair); padding-top: 14px; margin-top: 6px;
  font-size: 13px; color: var(--bjn-coal);
}
.bjn-art-author b { font-size: 14px; font-weight: 600; color: var(--bjn-graphite); }
.bjn-art-author a { color: var(--bjn-graphite) !important; }
.bjn-art-author a span { border-bottom: 1px solid var(--bjn-oak); }
@media (min-width: 960px) {
  .bjn-art .bjn-wrap { max-width: 800px; padding-top: 44px; }
}

/* ── Страница специалиста (/goncharova и далее): цитата от первого лица ── */
.bjn-quote {
  border-left: 2px solid var(--bjn-oak);
  padding: 4px 0 4px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.bjn-quote p { font-size: 15px; line-height: 1.55; color: var(--bjn-graphite); }
.bjn-quote-sign { font-size: 13px; color: var(--bjn-coal); }
.bjn-doc .bjn-wrap, .bjn-spec2 .bjn-wrap {
  display: flex; flex-direction: column; gap: 16px;
  padding-bottom: var(--bjn-sect);
}
@media (min-width: 960px) {
  .bjn-doc .bjn-wrap, .bjn-spec2 .bjn-wrap { max-width: 800px; }
}
