/* ============================================================
   BUYHOLD .by — «Куда вложить деньги» PRO (KUDA_PRO_2026_10_27, KP_TABS_2026_11_02, KP_PHONE_2026_11_02, KP_NAME_2026_11_02).
   Оболочка и токены — calc-shell.css (правила R). Префикс kp-.
   Цвет по смыслу: зелёный — ответ (без риска и ставка на рынок) и «больше вклада», красный — меньше инфляции или вложенного,
   остальное серое из палитры; варианты сверх допустимого риска — приглушены.
   ============================================================ */
.kp-r .bhc-card+.bhc-card{margin-top:0}
.kp-r .bhc-result{gap:16px}
.kp-r .kp-terms{flex-wrap:wrap}
.kp-r .kp-terms button{flex:1 0 22%}

/* ответ: две одинаковые ячейки — слева цифра, справа три строки текста */
html:root body #kp-a-value,html:root body .kp-bet-v{margin-top:4px;font-size:32px!important}
html:root body #kp-a-value>.bhc-cur,html:root body .kp-bet-v>.bhc-cur{font-size:20px!important}
html:root body .kp-bet-v{font-size:24px!important}
html:root body .kp-bet-v>.bhc-cur{font-size:16px!important}
.kp-answer .bhc-hero-label{font:500 13px/1.3 var(--r-f);color:var(--r-t2);white-space:nowrap}
.kp-ans-in{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.kp-cell{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0}
.kp-a-bet{padding-top:14px;border-top:1px solid var(--r-line2)}
.kp-a-bet:empty{display:none}
.kp-cell-t{min-width:0}
.kp-cell-h{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 10px}
.kp-a-name{font:500 14px/1.35 var(--r-f);color:var(--r-t1)}
.kp-cell .bhc-hero-meta{margin-top:2px;font:400 13px/1.45 var(--r-f)}
.kp-cell .bhc-hero-caveat{margin-top:2px;font:400 13px/1.45 var(--r-f);color:var(--r-t3)}
.kp-cell .bhc-hero-note:empty{display:none}
.kp-cell .kp-act{margin-top:0;gap:4px 12px}
.kp-cell .kp-act a{font:500 13px/1.35 var(--r-f)}
@container (min-width:560px){
  .kp-cell{grid-template-columns:174px minmax(0,1fr);gap:0 8px}
  html:root body #kp-a-value,html:root body .kp-bet-v{font-size:24px!important}
  html:root body #kp-a-value>.bhc-cur,html:root body .kp-bet-v>.bhc-cur{font-size:16px!important}
}
@container (min-width:900px){
  .kp-ans-in{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
  .kp-a-bet{padding:0 0 0 24px;border-top:0;border-left:1px solid var(--r-line2)}
}
html:root body #bhc-shell .kp-det dt,html:root body #bhc-shell .kp-src-list dt{font-weight:400!important}

/* главный блок */
.kp-main{container:kpm/inline-size}
.kp-legend{margin:0 0 12px}
.kp-legend .kp-tick{width:0!important;height:12px!important;border-top:0!important;border-left:2.5px solid var(--bhc-leg)}
.kp-svg{display:block;max-width:100%;overflow:visible}
.kp-svg .kp-ax{font:400 13px "IBM Plex Sans",Arial,sans-serif;fill:#949ca7;font-variant-numeric:tabular-nums}
.kp-svg .kp-lab-t{font:500 14px "IBM Plex Sans",Arial,sans-serif;fill:#e6e9ee}
.kp-svg .kp-lab-s{font:400 13px "IBM Plex Sans",Arial,sans-serif;fill:#b3b9c2}
.kp-svg .is-dim .kp-lab-t,.kp-svg .kp-lab-s.is-dim{fill:#949ca7}
.kp-svg .kp-row.is-dim rect[rx],.kp-svg .kp-row.is-dim circle,.kp-svg .kp-row.is-dim line{opacity:.45}
.kp-svg [data-kp-o]{cursor:default;outline:none}
.kp-svg .kp-row:focus-visible>rect:first-child{stroke:#e6e9ee;stroke-width:2}
.kp-svg .kp-row:hover>rect:first-child{fill:rgba(255,255,255,.025)}
.kp-main-note{margin-top:12px}
.kp-tip{display:none;position:absolute;z-index:9999;max-width:300px;padding:10px 12px;background:#0a0d12;border:1px solid rgba(255,255,255,.14);border-radius:6px;font:400 13px/1.45 "IBM Plex Sans",Arial,sans-serif;color:#e6e9ee;pointer-events:none;font-variant-numeric:tabular-nums}
.kp-tip b{display:block;margin-bottom:2px;font-weight:600;color:#e6e9ee}
.kp-tip span{display:block;color:#b3b9c2}

.kp-table tr.kp-sep td{font:400 13px/1.35 var(--r-f);color:var(--r-t3)}

/* таблица */
.kp-table td{vertical-align:top}
.kp-table th{white-space:normal;vertical-align:bottom;min-width:96px}
.kp-table th:first-child{min-width:260px;width:44%}
.kp-table td:first-child{white-space:normal;min-width:240px}
.kp-table td:not(:first-child){padding-left:16px}
.kp-table td .kp-sub{white-space:nowrap}
.kp-table td:first-child .kp-sub{white-space:normal}
.kp-t-lead{margin:-4px 0 8px}
.kp-table td b{display:block;font:600 14px/1.3 var(--r-f);color:var(--r-t1)}
.kp-sub{display:block;margin-top:3px;font:400 13px/1.4 var(--r-f);color:var(--r-t3);white-space:normal}
.kp-table td.kp-na{color:var(--r-t3)}
.kp-table tr.kp-tr{cursor:pointer;outline:none}
.kp-table tr.kp-tr:focus-visible td{box-shadow:inset 0 2px 0 #e6e9ee,inset 0 -2px 0 #e6e9ee}
.kp-table tr.kp-tr.is-dim td:not(.neg),.kp-table tr.kp-tr.is-dim td b{color:var(--r-t3)}
.kp-table tr.kp-tr.is-pick td:first-child b::after{content:"ответ";display:inline-block;margin-left:8px;padding:1px 6px;border-radius:4px;background:#252e3a;font:500 12px/1.4 var(--r-f);color:var(--r-t1);vertical-align:2px}
.kp-table tr.kp-tr[aria-expanded="true"] td{background:#171e28;border-bottom-color:transparent}
.kp-table tr.kp-dtr td{padding:4px 12px 16px;background:#171e28;white-space:normal;text-align:left}
.kp-table tr.kp-sep td{padding-top:18px;text-align:left;white-space:normal}
.kp-det{margin:0;display:grid;gap:0}
.kp-det>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;padding:8px 0;border-top:1px solid var(--r-line)}
.kp-det>div:first-child{border-top:0}
.kp-det dt{font:400 13px/1.45 var(--r-f);color:var(--r-t2)}
.kp-det dd{margin:0;font:400 14px/1.5 var(--r-f);color:var(--r-t1)}
.kp-det a,.kp-off a{color:var(--r-t1)!important;text-decoration:underline!important;text-decoration-color:rgba(255,255,255,.3)!important;text-underline-offset:3px}
.kp-tfoot{display:grid;gap:14px 40px;margin-top:14px;padding-top:14px;border-top:1px solid var(--r-line2)}
#kp-off:empty{display:none}
@media (min-width:1100px){.kp-tfoot{grid-template-columns:repeat(2,minmax(0,1fr))}#kp-off:empty+.kp-how{grid-column:1/-1}}
.kp-off-h{font:400 13px/1.3 var(--r-f);color:var(--r-t2);margin-bottom:6px}
.kp-off ul{margin:0;padding:0;list-style:none}
.kp-off li{padding:6px 0;font:400 14px/1.45 var(--r-f);color:var(--r-t2)}
.kp-off li b{font-weight:500;color:var(--r-t1)}
@media (max-width:760px){
  .kp-table th,.kp-table th:first-child,.kp-table td:first-child{min-width:0;width:auto}
  .kp-table tr.kp-dtr td{padding:4px 12px 12px}
  .kp-det>div{grid-template-columns:1fr;gap:2px}
}

/* партнёр: текст слева, кнопка справа */
.kp-fund{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 32px}
.kp-fund-tx{flex:1 1 420px;min-width:0}
.kp-fund .bhc-card-title{margin:0 0 6px}
.kp-fund .bhc-note{margin:0}

/* особые цели */
.kp-goal-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
@media (max-width:1099px){.kp-goal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.kp-goal-grid{grid-template-columns:minmax(0,1fr)}}
.kp-goal{display:flex;flex-direction:column;padding:16px;border-radius:6px;background:#171e28;color:inherit!important;text-decoration:none!important}
.kp-goal i{margin-top:auto;padding-top:12px;font:500 13px/1.3 var(--r-f);font-style:normal;color:var(--r-t1)}
.kp-goal i::after{content:" →";color:var(--r-t3)}
a.kp-goal:hover i::after{color:var(--r-t1)}
a.kp-goal:hover{background:#1f2834}
a.kp-goal:focus-visible{outline:2px solid var(--r-g);outline-offset:2px}
.kp-goal b{display:block;font:600 14px/1.3 var(--r-f);color:var(--r-t1)}
.kp-goal span{display:block;margin-top:4px;font:400 13px/1.45 var(--r-f);color:var(--r-t2)}
.kp-goal--none b{color:var(--r-t2)}

/* откуда цифры */
.kp-src-list{margin:0 0 12px}
@media (min-width:1100px){.kp-src-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}.kp-src-list>div:nth-child(2){border-top:0;padding-top:0}}
.kp-src-list a,.kp-act a{font-weight:inherit!important}
.kp-src-list a{color:var(--r-t1)!important;text-decoration:underline!important;text-decoration-color:rgba(255,255,255,.3)!important;text-underline-offset:3px}
.kp-src-list>div{display:grid;grid-template-columns:170px minmax(0,1fr);gap:14px;padding:10px 0;border-top:1px solid var(--r-line)}
.kp-src-list>div:first-child{border-top:0;padding-top:0}
.kp-src-list dt{font:400 13px/1.45 var(--r-f);color:var(--r-t2)}
.kp-src-list dd{margin:0;font:400 14px/1.5 var(--r-f);color:var(--r-t1)}
@media (max-width:760px){.kp-src-list>div{grid-template-columns:1fr;gap:2px}}
.kp-how{margin:0}

/* PRO2_2026_10_28 — нижняя часть во всю ширину, действия в ответе, зоны касания, подписи на графиках */
.kp-below{display:flex;flex-direction:column;gap:16px;margin-top:20px}
@media (max-width:899px){.kp-below{margin-top:16px}}
.kp-act{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:12px}
.kp-act a{font:500 14px/1.4 var(--r-f);color:var(--r-t1)!important;text-decoration:underline!important;text-decoration-color:rgba(255,255,255,.3)!important;text-underline-offset:3px}
.kp-act a:hover{text-decoration-color:var(--r-t1)!important}
.kp-act a::after{content:" →";color:var(--r-t3)}
.kp-r .kp-off li,.kp-r .bhc-note,.kp-r .bhc-card-lead,.kp-r .kp-det dd{text-align:left;hyphens:none}
/* подписи на графиках не теряются на линиях: обводка цветом карточки */
.kp-svg .kp-lab-s,.kp-svg .kp-lab-t{paint-order:stroke;stroke:#121820;stroke-width:4px;stroke-linejoin:round}
/* телефон: зона касания 44 у полей (канон TOUCH44) */
@media (max-width:767.98px){
  html:root body #bhc-shell .kp-r .bhc-seg>button{height:44px;min-height:44px}
  html:root body #bhc-shell .kp-r .bhc-chips>button{min-height:44px}
  html:root body #bhc-shell .kp-r .bhc-input input{height:44px}
  html:root body #bhc-shell .kp-r .bhc-range{height:46px;margin:4px 0 0}
  html:root body #bhc-shell .kp-r .bhc-range+.bhc-chips{margin-top:12px}
  html:root body #bhc-shell .kp-r .bhc-label:has(.bhc-term,.bhc-i){margin-bottom:16px}
  html:root body #bhc-shell .kp-r .bhc-field:not(:first-child):has(>.bhc-label :is(.bhc-term,.bhc-i)){margin-top:20px}
  html:root body #bhc-shell .kp-r .bhc-switch{min-height:44px;position:relative}
  html:root body #bhc-shell .kp-r .bhc-switch input{inset:0;width:100%;height:100%;margin:0}
  html:root body #bhc-shell .kp-r .bhc-i::before,html:root body #bhc-shell .kp-r .bhc-i::after{inset:-13px}
  /* термин пунктиром: вид прежний, зона нажатия — невидимым ::after 14 вверх и 13 вниз (приём KC_READY кредитного калькулятора) */
  html:root body #bhc-shell .kp-r .bhc-term{position:relative}
  html:root body #bhc-shell .kp-r .bhc-term::after,html:root body #bhc-shell .kp-r .bhc-term:hover::after{all:unset!important;content:""!important;display:block!important;position:absolute!important;left:50%!important;width:max(100%,44px)!important;top:-14px!important;bottom:-13px!important;transform:translateX(-50%)!important;pointer-events:auto!important}
  .kp-act{flex-direction:column;gap:4px}
  .kp-act a{display:inline-flex;align-items:center;min-height:44px}
}
.kp-more{display:none}
.kp-t-s,.kp-det-ph,.kp-fold,.kp-mx-cth{display:none}
@media (max-width:619.98px){.kp-t-l{display:none}.kp-t-s{display:inline}}
@media (max-width:760px){
  .kp-table:not(.show-dim) tr.is-dim{display:none!important}
  .kp-table tr.kp-sep .kp-sep-t{display:none}
  html:root body #bhc-shell .kp-r .kp-more{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:10px 12px;border:0;border-radius:6px;background:#171e28;font:500 14px/1.3 var(--r-f);color:var(--r-t1);text-align:center;cursor:pointer}
  .kp-more:focus-visible{outline:2px solid var(--r-g);outline-offset:2px}
  .kp-table tr.kp-sep td{padding:12px 0 4px}
}

/* KP_TABS_2026_11_02 — одна страница с вкладками */
/* от 620 px поля — строгой полосой: у каждой ячейки подпись одной высоты и управление одной высоты, ползунок и быстрые суммы убраны */
@media (max-width:899.98px){
  html:root body #bhc-shell:has(.kp-r) .bhc-top{gap:4px;min-height:0;padding:4px 8px 8px 16px;flex-wrap:nowrap}
  html:root body #bhc-shell:has(.kp-r) .bhc-top .bhc-top-act{width:auto;order:0;gap:0;margin-left:auto;flex-wrap:nowrap}
  html:root body #bhc-shell:has(.kp-r) .bhc-top .bhc-top-act .bhc-btn--ico{width:44px;height:44px}
  html:root body #bhc-shell:has(.kp-r) .bhc-top .bhc-burger{flex:none;width:44px;height:44px;min-height:44px;margin-left:-12px}
  .kp-r .bhc-dock-slot{display:none}
}
@media (min-width:620px) and (max-width:899.98px){
  html:root body #bhc-shell .kp-r .kp-inputs{gap:24px 16px;padding:12px 20px 10px}
  .kp-r .kp-inputs>.bhc-field:nth-child(2){order:5;flex:1 1 100%!important}
  .kp-r .kp-inputs>.kp-opt-from{order:6!important;flex:0 0 280px!important}
  .kp-r .kp-inputs>.kp-opt-early{order:7!important;margin-top:-16px}
  html:root body #bhc-shell .kp-r .kp-inputs .bhc-label,html:root body #bhc-shell .kp-r .kp-inputs .bhc-label:has(.bhc-term,.bhc-i){display:flex;align-items:center;height:18px;margin:0 0 4px;line-height:18px}
  html:root body #bhc-shell .kp-r .kp-inputs .bhc-field:not(:first-child),html:root body #bhc-shell .kp-r .kp-inputs .bhc-field:not(:first-child):has(>.bhc-label :is(.bhc-term,.bhc-i)){margin-top:0}
  html:root body #bhc-shell .kp-r .kp-inputs .bhc-term::after,html:root body #bhc-shell .kp-r .kp-inputs .bhc-term:hover::after{top:-22px!important;bottom:-4px!important}
  html:root body #bhc-shell .kp-r .kp-inputs .bhc-seg{padding:0;gap:0;border:0}
  html:root body #bhc-shell .kp-r .kp-inputs .bhc-seg>button{height:44px;min-height:44px;border-radius:6px}
  html:root body #bhc-shell .kp-r .kp-inputs .bhc-input input{height:44px}
}
@media (min-width:620px){
  .kp-r .bhc-layout{display:block}
  .kp-r #kp-panel{margin-bottom:12px}
  .kp-r .kp-inputs{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:flex-end;padding:12px 20px 14px}
  .kp-r .kp-inputs>.bhc-field{flex:1 1 200px;margin:0;min-width:0}
  .kp-r .kp-inputs>.bhc-field:nth-child(1){flex:0 0 150px}
  .kp-r .kp-inputs>.bhc-field:nth-child(2){flex:1 1 calc(100% - 166px)}
  .kp-r .kp-inputs>.kp-opt-from{flex:1 1 180px;order:3}
  .kp-r .kp-inputs>.kp-opt-early{flex:1.5 1 230px;order:4;display:flex;align-items:center;min-height:42px;padding:0;border:0}
  html:root body #bhc-shell .kp-r .kp-inputs .bhc-switch{gap:8px;font:400 13px/1.3 var(--r-f);color:var(--r-t2)}
  html:root body #bhc-shell .kp-r .kp-inputs .bhc-label{display:flex;align-items:center;height:18px;margin:0 0 6px;line-height:18px}
  .kp-r .kp-inputs .bhc-range,.kp-r .kp-inputs .bhc-chips{display:none}
  .kp-r .kp-inputs .kp-terms{flex-wrap:nowrap}
  .kp-r .kp-inputs .bhc-seg button,.kp-r .kp-inputs .kp-terms button{flex:1 1 auto;min-width:0;padding:0 6px;white-space:nowrap}
  .kp-r .kp-answer{padding:14px 20px}
  .kp-r .kp-main{padding:8px 20px 16px}
  .kp-below{margin-top:12px;gap:12px}
  .kp-r .bhc-result{gap:12px}
}
@media (min-width:1360px){
  .kp-r .kp-inputs{flex-wrap:nowrap;gap:20px}
  .kp-r .kp-inputs>.bhc-field:nth-child(2){flex:1 1 auto}
  .kp-r .kp-inputs>.bhc-field:nth-child(3){flex:0 0 236px}
  .kp-r .kp-inputs>.bhc-field:nth-child(4){flex:0 0 196px}
}
/* вкладки: тем же приёмом, что вкладки карточки — чертой */
.kp-tabrow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 24px;margin:0 0 12px;border-bottom:1px solid var(--r-line2)}
html:root body #bhc-shell .kp-tabs{flex:0 1 auto;padding:0;border:0;gap:4px;background:transparent}
html:root body #bhc-shell .kp-tabs>button{flex:none;height:44px;padding:0 14px;font:500 14px/1 var(--r-f);border-radius:0}
.kp-tab-s{display:none}
.kp-tabopt{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px 20px;margin-left:auto;padding:4px 0}
.kp-tabopt:empty{display:none}
.kp-tabopt .bhc-opt{padding:0;border:0}
.kp-tabopt .bhc-opt-head{gap:6px}
html:root body #bhc-shell .kp-tabopt .bhc-switch{gap:8px;font:400 13px/1.3 var(--r-f);color:var(--r-t2)}
.kp-tabopt .bhc-field{display:flex;align-items:center;gap:8px;margin:0}
html:root body #bhc-shell .kp-tabopt .bhc-label{margin:0;font-weight:400!important}
.kp-tabopt .bhc-seg button{flex:none;height:30px;padding:0 10px;font-size:13px}
@media (max-width:619.98px){
  .kp-tab-l{display:none}.kp-tab-s{display:inline}
  html:root body #bhc-shell .kp-tabs{flex:1 1 100%}
  html:root body #bhc-shell .kp-tabs>button{flex:1 1 auto;padding:0 4px}
}
.kp-main-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:8px 24px;margin-bottom:8px}
.kp-main-tx{flex:1 1 420px;min-width:0}
.kp-main-act{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.kp-act-p{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.kp-act-p:empty{display:none}
.kp-act-p[hidden]{display:none}
.kp-pane[hidden]{display:none}
/* две вкладки устроены одинаково: большой график слева, такой же список справа */
.kp-two{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.kp-two-l,.kp-two-r{min-width:0}
@container kpm (min-width:860px){.kp-two{grid-template-columns:minmax(0,1fr) 360px;gap:24px}}
.kp-side-seg{margin-bottom:8px}
.kp-sw{flex:none;display:block}
.kp-list{position:relative}
html:root body #bhc-shell .kp-li,html:root body #bhc-shell .kp-hm-c{box-shadow:none;min-height:0}
.kp-li{position:absolute;left:0;top:0;display:grid;grid-template-columns:18px minmax(0,1fr) auto 66px;column-gap:8px;align-items:center;width:100%;height:var(--rh,36px);padding:0 8px;border:0;border-radius:6px;background:transparent;color:inherit;text-align:left;cursor:pointer;transition:transform .25s ease,background-color .15s}
.kp-li::after,.kp-hm-c::after{content:"";position:absolute;left:8px;right:8px;bottom:0;border-bottom:1px solid var(--r-line);pointer-events:none}
.kp-li:hover{background:#171e28}
.kp-li.is-off .kp-sw{opacity:.4}
.kp-li.is-off .kp-tm-n,.kp-li.is-off .kp-tm-v{color:var(--r-t3)}
.kp-li.is-off .kp-tm-d{opacity:.7}
.kp-li.is-ref{cursor:default;background:#171e28}
.kp-li.is-ref .kp-tm-n{color:var(--r-t2)}
.kp-li.is-na .kp-tm-v{grid-column:3/5;font:400 13px/1.3 var(--r-f);color:var(--r-t3)}
.kp-li.is-na .kp-tm-d{display:none}
.kp-tm-n{min-width:0;overflow:hidden;font:400 14px/1.25 var(--r-f);color:var(--r-t1);white-space:nowrap;text-overflow:ellipsis}
.kp-tm-n em{margin-left:6px;font:400 13px/1.25 var(--r-f);color:var(--r-t3)}
.kp-tm-v{font:500 14px/1.2 var(--r-f);color:var(--r-t1);font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}
.kp-tm-d{font:400 13px/1.2 var(--r-f);color:var(--r-t3);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.kp-tm-d.pos{color:var(--r-g)}.kp-tm-d.neg{color:var(--r-red)}
.kp-li:focus-visible,.kp-hm-c:focus-visible,.kp-tl-h:focus-visible,.kp-mx-hd:focus-visible,.kp-mx-st8 button:focus-visible{outline:2px solid var(--r-g);outline-offset:2px}
.kp-tm-plot{position:relative;touch-action:pan-y}
.kp-tm-ev{margin:10px 0 0}
.kp-tm-play{min-width:190px}
/* дорожка времени */
.kp-tl{position:relative;height:60px;margin-top:2px;touch-action:none;cursor:pointer;user-select:none;-webkit-user-select:none}
.kp-tl-track{position:absolute;left:12px;right:12px;top:26px;height:4px;border-radius:2px;background:#252e3a}
.kp-tl-cr{position:absolute;inset:0;pointer-events:none}
.kp-tl-cr i{position:absolute;top:24px;height:8px;border-radius:2px;background:#f43f5e;opacity:.55}
.kp-tl-sel{position:absolute;top:26px;height:4px;background:var(--r-g);cursor:grab}
.kp-tl-lab{position:absolute;top:0;font:500 13px/1.3 var(--r-f);color:var(--r-t1);white-space:nowrap;font-variant-numeric:tabular-nums;pointer-events:none}
.kp-tl-yrs{position:absolute;left:0;right:0;top:40px;height:18px;pointer-events:none}
.kp-tl-yrs span{position:absolute;transform:translateX(-50%);font:400 13px/1.3 var(--r-f);color:var(--r-t3)}
html:root body #bhc-shell .kp-tl-h{position:absolute;top:6px;width:44px;height:44px;min-height:44px;margin:0 0 0 -22px;padding:0;border:0;border-radius:50%;background:none;box-shadow:none;cursor:ew-resize;touch-action:none}
.kp-tl-h::before{content:"";position:absolute;left:14px;top:14px;width:16px;height:16px;border-radius:50%;background:var(--r-g)}
/* карта */
.kp-hm-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 16px;min-height:20px;margin-bottom:8px}
.kp-hm-name{font:500 14px/1.3 var(--r-f);color:var(--r-t1)}
.kp-hm-scale{display:flex;align-items:center;gap:8px;font:400 13px/1.3 var(--r-f);color:var(--r-t3)}
.kp-hm-scale i{display:block;width:140px;height:8px;border-radius:2px;background:linear-gradient(90deg,#f43f5e,#252e3a 50%,#95ce5a)}
.kp-hm-th{display:grid;grid-template-columns:minmax(0,1fr) 104px 72px;column-gap:8px;align-items:end;padding:2px 8px 6px;font:400 13px/1.25 var(--r-f);color:var(--r-t3)}
.kp-hm-th span:not(:first-child){text-align:right}
.kp-hm-c{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr) 104px 72px;column-gap:8px;align-items:center;width:100%;height:var(--rh,36px);padding:0 8px;border:0;border-radius:6px;background:transparent;color:inherit;text-align:left;cursor:pointer}
.kp-hm-c:hover{background:#171e28}
.kp-hm-c.active{background:#252e3a}
.kp-hm-c.active::after{border-bottom-color:transparent}
.kp-hm-c b{font:500 14px/1.2 var(--r-f);color:var(--r-t1);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.kp-hm-s{font:400 14px/1.2 var(--r-f);color:var(--r-t2);font-variant-numeric:tabular-nums;text-align:right}
.kp-hm-plot{position:relative;touch-action:pan-y}
.kp-hm-plot canvas{position:absolute;image-rendering:pixelated}
.kp-hm-plot #kp-hm-svg{position:absolute;inset:0}
/* смесь: всё стоит на одной сетке из четырёх колонок */
.kp-mx-hint{margin:0 0 6px;font:400 13px/1.3 var(--r-f);color:var(--r-t3)}
.kp-mx-bar{position:relative;height:48px;border-radius:6px;background:#0a0d12;touch-action:none;cursor:ew-resize;user-select:none;-webkit-user-select:none}
.kp-mx-seg{position:absolute;top:0;bottom:0;display:flex;align-items:center;justify-content:center;padding:0 1px;background-clip:content-box;overflow:hidden}
.kp-mx-seg::before{content:"";position:absolute;inset:0 1px;background:var(--c);border-radius:2px}
.kp-mx-seg span{position:relative;font:500 13px/1 var(--r-f);color:#0a0d12;white-space:nowrap;font-variant-numeric:tabular-nums}
.kp-mx-hd{position:absolute;top:0;bottom:0;width:44px;margin:0 0 0 -22px;padding:0;cursor:ew-resize;touch-action:none;outline-offset:-6px}
.kp-mx-hd::before{content:"";position:absolute;left:20px;top:10px;bottom:10px;width:4px;border-radius:2px;background:#fff}
.kp-mx-report{margin-top:12px;padding:10px 12px;border-radius:6px;background:#171e28}
.kp-mx-report p{margin:0;font:400 14px/1.5 var(--r-f);color:var(--r-t2);text-align:left;hyphens:none}
.kp-mx-kpi{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 0}
.kp-mx-kpi>div,.kp-mx-box,.kp-mx-ct{min-width:0;padding:12px;border-radius:6px;background:#171e28}
.kp-mx-kpi dt{font:400 13px/1.3 var(--r-f);color:var(--r-t2)}
html:root body #bhc-shell .kp-mx-kpi dt,html:root body #bhc-shell .kp-mx-ct dt{font-weight:400!important}
.kp-mx-kpi dd{margin:4px 0 0;font:600 20px/1.15 var(--r-f);color:var(--r-t1);font-variant-numeric:tabular-nums;white-space:nowrap}
.kp-mx-kpi dd.neg{color:var(--r-red)}
.kp-mx-kpi dd.kp-mx-s{margin-top:4px;font:400 13px/1.3 var(--r-f);color:var(--r-t3);white-space:normal}
.kp-mx-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.kp-mx-h{margin-bottom:8px;font:400 13px/1.3 var(--r-f);color:var(--r-t2)}
.kp-mx-crh{margin:14px 0 8px}
.kp-mx-cr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.kp-mx-ctt{font:500 14px/1.3 var(--r-f);color:var(--r-t1)}
.kp-mx-ct dl{margin:6px 0 0}
.kp-mx-ct dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:2px 0}
.kp-mx-ct dt{font:400 13px/1.3 var(--r-f);color:var(--r-t2)}
.kp-mx-ct dd{margin:0;font:600 14px/1.3 var(--r-f);font-variant-numeric:tabular-nums}
.kp-mx-ct dd.pos{color:var(--r-g)}.kp-mx-ct dd.neg{color:var(--r-red)}
.kp-mx-na{margin-top:6px;font:400 13px/1.3 var(--r-f);color:var(--r-t3)}
.kp-mx-pr{display:grid;grid-template-columns:minmax(0,1fr) 124px 92px;gap:2px 12px;align-items:center;padding:6px 0;border-top:1px solid var(--r-line)}
.kp-mx-pr:first-child{border-top:0;padding-top:0}
.kp-mx-pr.is-zero .kp-mx-pn{color:var(--r-t3)}
.kp-mx-pn{display:flex;align-items:center;gap:8px;min-width:0;font:400 14px/1.3 var(--r-f);color:var(--r-t1)}
.kp-mx-pn i{flex:none;width:10px;height:10px;border-radius:2px;background:var(--c)}
.kp-mx-st8{display:inline-grid;grid-template-columns:32px 1fr 32px;align-items:center;gap:2px;font-variant-numeric:tabular-nums}
.kp-mx-st8 b{font:600 14px/1 var(--r-f);color:var(--r-t1);text-align:center}
.kp-mx-st8 button{height:28px;padding:0;border:0;border-radius:6px;background:#1f2834;font:500 16px/1 var(--r-f);color:var(--r-t1);cursor:pointer}
.kp-mx-st8 button:hover{background:#252e3a}
.kp-mx-sum{font:500 14px/1.3 var(--r-f);color:var(--r-t1);font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}
.kp-mx-l2{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:0 16px;min-width:0}
.kp-mx-where{min-width:0;font:400 13px/1.4 var(--r-f);color:var(--r-t2)}
.kp-mx-l2 .kp-act{margin:0 0 0 auto;white-space:nowrap}
.kp-mx-l2 .kp-act a{font-size:13px}
@container kpm (max-width:900px){
  .kp-mx-two{grid-template-columns:minmax(0,1fr)}
  .kp-mx-kpi,.kp-mx-cr{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container kpm (max-width:620px){
  .kp-hm-scale i{width:96px}
  .kp-hm-th{grid-template-columns:minmax(0,1fr) 100px 56px;column-gap:6px}
  .kp-hm-c{grid-template-columns:18px minmax(0,1fr) 100px 56px;column-gap:6px}
  .kp-hm-c .kp-tm-n{font-size:13px}
  .kp-hm-c .kp-tm-n em{display:none}
  .kp-mx-pr{grid-template-columns:minmax(0,1fr) 148px}
  .kp-mx-sum{grid-column:1/-1;text-align:left}
}
@media (max-width:620px){.kp-main-act,.kp-act-p{width:100%}.kp-act-p>.bhc-btn{flex:1 1 100%}}
@media (max-width:767.98px){
  html:root body #bhc-shell .kp-main-act .bhc-btn{height:44px;min-height:44px}
  html:root body #bhc-shell .kp-mx-st8 button{min-height:44px;height:44px}
  .kp-mx-st8{grid-template-columns:44px 1fr 44px}
  html:root body #bhc-shell .kp-r .kp-opt-from .bhc-seg>button{height:44px}
}

/* KP_PHONE_2026_11_02 — телефон: рабочий инструмент, а не стопка карточек. Правило «Учёта» (PF23M): всё на фоне страницы по одной линии,
   условия — одной полосой, ответ двумя колонками, таблица остаётся таблицей, пояснения свёрнуты. Поле 16 px у всего. */
@media (max-width:619.98px){
  html:root body #bhc-shell:has(.kp-r) .bhc-h1{flex:0 1 auto;font-size:16px!important;white-space:nowrap}
  html:root body #bhc-shell .kp-r.bhc-work{padding:0 0 16px}
  .kp-r .bhc-layout{gap:0}
  .kp-r .bhc-result{gap:0}
  html:root body #bhc-shell .kp-r .bhc-card{padding:20px 16px;background:none!important;border:0;border-radius:0;box-shadow:none}
  .kp-r #kp-card,.kp-r .kp-below .bhc-card{--bh-lit-g:0;--bh-lit-l:0}
  html:root body #bhc-shell .kp-r .bhc-card::before,html:root body #bhc-shell .kp-r .bhc-card::after{display:none}

  /* условия: сетка 132 + остаток, срок — лентой как таймфреймы */
  html:root body #bhc-shell .kp-r .kp-inputs{display:flex;flex-wrap:wrap;align-items:flex-end;gap:24px 12px;padding:16px 16px 4px;background:var(--r-s1)!important}
  .kp-r .kp-inputs>.bhc-field{margin:0;min-width:0}
  .kp-r .kp-inputs>.bhc-field:nth-child(1){order:1;flex:0 0 132px}
  .kp-r .kp-inputs>.bhc-field:nth-child(3){order:2;flex:1 1 0}
  .kp-r .kp-inputs>.bhc-field:nth-child(2){order:3;flex:1 1 100%}
  .kp-r .kp-inputs>.bhc-field:nth-child(4){order:4;flex:1 1 0}
  .kp-r .kp-inputs>.kp-opt-from{order:5;flex:0 0 132px}
  .kp-r .kp-inputs>.kp-opt-early{order:6;flex:1 1 100%;margin:-16px 0 0;padding:0;border:0}
  .kp-r .kp-inputs .bhc-range,.kp-r .kp-inputs .bhc-chips{display:none}
  html:root body #bhc-shell .kp-r .kp-inputs .bhc-label{display:flex;align-items:center;height:17px;margin:0 0 4px;font:400 13px/17px var(--r-f);color:var(--r-t2)}
  html:root body #bhc-shell .kp-r .kp-inputs .bhc-field:not(:first-child){margin-top:0!important}
  html:root body #bhc-shell .kp-r .kp-inputs .bhc-term::after,html:root body #bhc-shell .kp-r .kp-inputs .bhc-term:hover::after{top:-23px!important;bottom:-4px!important}
  html:root body #bhc-shell .kp-r .kp-inputs .bhc-input input{font-size:16px}
  html:root body #bhc-shell .kp-r .kp-inputs .bhc-seg{padding:0;gap:0;border:0;background:var(--r-bg)}
  html:root body #bhc-shell .kp-r .kp-inputs .bhc-seg>button{flex:1 1 0;min-width:0;padding:0 2px;font:500 13px/1 var(--r-f)}
  .kp-r .kp-terms{flex-wrap:nowrap}
  html:root body #bhc-shell .kp-r .kp-inputs .kp-opt-early .bhc-opt-head{gap:6px}
  html:root body #bhc-shell .kp-r .kp-inputs .bhc-switch{gap:8px;font:400 13px/1.3 var(--r-f);color:var(--r-t2)}

  /* ответ: две колонки по одной линии, пояснения под ними во всю ширину */
  html:root body #bhc-shell .kp-r .kp-answer{padding:16px 16px 8px;background:none;border:0;border-bottom:1px solid var(--r-line2);border-radius:0}
  .kp-ans-in{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
  .kp-cell,.kp-cell-n,.kp-cell-t,.kp-cell-h{display:contents}
  .kp-ans-safe>*,.kp-ans-safe .kp-cell-n>*,.kp-ans-safe .kp-cell-t>*,.kp-ans-safe .kp-cell-h>*{grid-column:1}
  .kp-a-bet>*,.kp-a-bet .kp-cell-n>*,.kp-a-bet .kp-cell-t>*,.kp-a-bet .kp-cell-h>*{grid-column:2}
  .kp-answer .bhc-hero-label{grid-row:1;white-space:normal}
  html:root body #kp-a-value,html:root body .kp-bet-v{grid-row:2;margin-top:2px;font-size:24px!important}
  html:root body #kp-a-value>.bhc-cur,html:root body .kp-bet-v>.bhc-cur{font-size:16px!important}
  .kp-answer .kp-a-name{grid-row:3;margin-top:6px}
  .kp-answer .bhc-hero-meta{grid-row:4}
  .kp-answer #kp-a-act,.kp-answer .kp-cell-h>.kp-act{grid-row:5;align-self:start}
  .kp-answer .kp-cell .kp-act{flex-direction:row;flex-wrap:wrap;gap:0 12px}
  .kp-answer .kp-act a::after{content:none}
  .kp-answer .kp-act a{min-height:46px}
  .kp-ans-safe .bhc-hero-caveat{grid-column:1/-1;grid-row:6;margin:0}
  .kp-a-bet .bhc-hero-caveat{grid-column:1/-1;grid-row:7;margin:2px 0 0}
  .kp-answer #kp-sr{grid-row:8}

  /* главный блок */
  html:root body #bhc-shell .kp-r .kp-main{padding:8px 16px 8px}
  .kp-tabrow{margin-bottom:12px}
  .kp-main-head{gap:8px;margin-bottom:8px}
  .kp-main-tx{flex:1 1 100%}
  .kp-main-act,.kp-act-p{width:100%}
  .kp-act-p[data-pa="e"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  html:root body #bhc-shell .kp-act-p .bhc-btn{min-width:0;padding:0 6px;font-size:14px;white-space:nowrap}
  html:root body #bhc-shell .kp-act-p[data-pa="g"]>.bhc-btn{flex:none;padding:0 16px}
  .kp-tm-play{min-width:0}
  html:root body #bhc-shell .kp-tm-ev{flex-wrap:nowrap;gap:6px;margin:10px -16px 0;padding:0 40px 0 16px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent)}
  html:root body #bhc-shell .kp-tm-ev::-webkit-scrollbar{display:none}
  html:root body #bhc-shell .kp-tm-ev>button{flex:none}
  .kp-main-note{margin-top:4px}
  html:root body #bhc-shell .kp-fold{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;font:500 13px/1.3 var(--r-f);color:var(--r-t2);text-align:left;cursor:pointer}
  .kp-fold::after{content:"";flex:none;width:6px;height:6px;margin-top:-3px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
  .kp-fold[aria-expanded="true"]::after{margin-top:3px;transform:rotate(-135deg)}
  .kp-fold:focus-visible{outline:2px solid var(--r-g);outline-offset:2px}
  #kp-main-note:not(.is-open),#kp-how:not(.is-open),#kp-src:not(.is-open){display:none}

  /* смесь */
  .kp-mx-hint{margin-top:4px}
  .kp-mx-hd{width:32px;margin-left:-16px}
  .kp-mx-hd::before{left:14px}
  .kp-mx-kpi{gap:0 16px;margin-top:8px}
  .kp-mx-kpi>div{padding:10px 0;border-radius:0;background:none;border-top:1px solid var(--r-line)}
  .kp-mx-kpi>div:nth-child(-n+2){border-top:0}
  .kp-mx-report{padding:0;background:none}
  .kp-mx-two{gap:20px;margin-top:8px}
  .kp-mx-box{padding:0;border-radius:0;background:none}
  .kp-mx-pr{grid-template-columns:minmax(0,1fr) 124px;gap:0 12px;padding:8px 0}
  .kp-mx-pn{grid-column:1;align-self:end}
  .kp-mx-st8{grid-column:2;grid-row:1/3}
  .kp-mx-sum{grid-column:1;text-align:left;font-weight:400;color:var(--r-t2);align-self:start}
  .kp-mx-l2{gap:0 12px;margin-top:2px}
  .kp-mx-l2 .kp-act{flex-direction:row}
  .kp-mx-crh{margin:20px 0 4px}
  .kp-mx-cr{grid-template-columns:minmax(0,1fr) 64px 80px;gap:0}
  .kp-mx-ct,.kp-mx-ct dl,.kp-mx-ct dl>div,.kp-mx-cth{display:contents}
  .kp-mx-ct dt{display:none}
  .kp-mx-cth>span{padding:0 0 6px;font:400 13px/1.3 var(--r-f);color:var(--r-t3);text-align:right}
  .kp-mx-cth>span:first-child{text-align:left}
  .kp-mx-ctt,.kp-mx-ct dd,.kp-mx-na{display:flex;align-items:center;min-height:40px;margin:0;padding:6px 0;border-top:1px solid var(--r-line)}
  .kp-mx-ctt{font:400 14px/1.3 var(--r-f)}
  .kp-mx-ct dd{justify-content:flex-end}
  .kp-mx-na{grid-column:2/-1;justify-content:flex-end;text-align:right}

  /* таблица остаётся таблицей: вариант и три числа, порог и условия — в раскрытой строке */
  .kp-t-lead{margin:-4px 0 4px}
  .kp-table th:nth-child(5),.kp-table tr.kp-tr>td:nth-child(5){display:none}
  html:root body #bhc-shell .kp-table th,html:root body #bhc-shell .kp-table td{padding:10px 0 10px 8px;font-size:14px;line-height:1.3;text-align:right;vertical-align:middle;white-space:nowrap}
  html:root body #bhc-shell .kp-table th{padding-top:4px;padding-bottom:8px;font-size:13px;vertical-align:bottom;white-space:normal}
  html:root body #bhc-shell .kp-table th:first-child,html:root body #bhc-shell .kp-table tr.kp-tr>td:first-child{width:100%;padding-left:0;text-align:left;white-space:normal}
  .kp-table th .kp-t-s{white-space:nowrap}
  .kp-table tr.kp-tr .kp-sub{display:none}
  .kp-table td b{font-weight:500}
  .kp-table tr.kp-tr.is-pick td:first-child b::after{margin-left:6px}
  html:root body #bhc-shell .kp-table tr.kp-dtr td{padding:4px 12px 12px;text-align:left;white-space:normal}
  html:root body #bhc-shell .kp-table tr.kp-sep td{padding:12px 0 4px;text-align:left;white-space:normal}
  html:root body #bhc-shell .kp-table tr.kp-tr[aria-expanded="true"] td:first-child{padding-left:12px}
  html:root body #bhc-shell .kp-table tr.kp-tr[aria-expanded="true"] td:last-of-type{padding-right:12px}
  .kp-det-ph{display:grid}
  .kp-table tr.kp-tr[aria-expanded="true"] td,.kp-table tr.kp-dtr td{background:#121820}
  .kp-tfoot{margin-top:4px;padding-top:4px;gap:4px;border-top:0}

  /* нижние блоки: один столбец строк с чертой */
  .kp-below{margin-top:0;gap:0}
  html:root body #bhc-shell .kp-r .kp-below .bhc-card{padding:16px;border-top:1px solid var(--r-line2)}
  .kp-fund{flex-direction:column;align-items:stretch;gap:12px}
  .kp-fund-tx{flex:none}
  .kp-fund .bhc-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  .kp-goal-grid{gap:0}
  .kp-goal{display:grid;grid-template-columns:minmax(0,1fr) 16px;column-gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--r-line);border-radius:0;background:none}
  .kp-goal:first-child{border-top:0}
  a.kp-goal:hover{background:none}
  .kp-goal b,.kp-goal span{grid-column:1}
  .kp-goal i{grid-column:2;grid-row:1/3;margin:0;padding:0;font-size:0}
  .kp-goal i::after{content:"→";font-size:14px}
  .kp-src .bhc-card-head{margin-bottom:0}
  .kp-src-list{margin:4px 0 12px}
}
@media (max-width:374.98px){
  html:root body #bhc-shell:has(.kp-r) .bhc-h1{font-size:14px!important}
}
@media (max-width:359.98px){
  html:root body #bhc-shell .kp-r .kp-inputs{column-gap:8px}
  .kp-r .kp-inputs>.bhc-field:nth-child(1),.kp-r .kp-inputs>.kp-opt-from{flex-basis:116px}
}

/* KP_NAME_2026_11_02: на телефоне справа от названия значки, «в Беларуси» уходит из строки и остаётся в H1 для поиска и чтения с экрана */
@media (max-width:640px){.kp-h1-x{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}

/* KP_INTRO_2026_11_02: «Как это работает» — карточка первого уровня в инструменте, со «светом сверху» (канон 0.3, VOL_ALL21); на широком экране объяснение слева, три шага справа */
.kp-intro{display:grid;grid-template-columns:minmax(0,1fr);gap:16px 32px;margin:0 0 16px;padding:18px 20px;background:var(--r-s1);border-radius:8px;background-image:linear-gradient(180deg,rgba(255,255,255,var(--bh-lit-g,.045)),rgba(255,255,255,0) var(--bh-lit-h,56px));box-shadow:inset 0 1px 0 rgba(255,255,255,var(--bh-lit-l,.085))}
.kp-intro[hidden]{display:none!important}
html:root body .kp-intro .kp-intro-t{margin:0 0 6px;padding:0;border:0;font:600 16px/1.3 var(--r-f)!important;color:var(--r-t1);letter-spacing:0;text-transform:none}
.kp-intro-t::before,.kp-intro-t::after{content:none!important}
.kp-intro-lead p{margin:0;font:400 14px/1.55 var(--r-f);color:var(--r-t2);text-align:left}
html:root body .kp-intro-steps{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0;padding:0;list-style:none;counter-reset:kpi}
html:root body .kp-intro-steps>li{position:relative;margin:0;padding:0 0 0 36px;list-style:none;text-align:left;counter-increment:kpi;font:400 13px/1.5 var(--r-f);color:var(--r-t2)}
html:root body .kp-intro-steps>li::before{content:counter(kpi);position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;background:#252e3a;color:var(--r-t1);font:600 12px/24px var(--r-f);text-align:center;margin:0;padding:0}
.kp-intro-steps b{display:block;margin-bottom:2px;font:500 14px/1.35 var(--r-f);color:var(--r-t1)}
.kp-intro-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px}
.kp-intro-note{margin:0;font:400 13px/1.45 var(--r-f);color:var(--r-t3)}
.kp-intro-act{display:flex;gap:8px;flex-wrap:wrap}
@media (min-width:1100px){
  .kp-intro{grid-template-columns:minmax(280px,1fr) minmax(0,2.3fr)}
  .kp-intro-lead{grid-row:1/span 2}
  html:root body .kp-intro-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
}
@media (max-width:640px){
  .kp-intro{padding:16px;gap:12px}
  .kp-intro-note{display:none}   /* на телефоне оговорку несёт ответ («Это не прогноз»), блок короче */
  html:root body .kp-intro-steps{gap:8px}
  .kp-intro-act{width:100%}
  .kp-intro-act .bhc-btn{flex:1 1 0;height:44px}
}
/* KP_INTRO_2026_11_02: узкий ПК 620–1279 px — у валюты трат и истории короткие подписи, как на телефоне: «в долларах» не помещалась в кнопку
   (tools-design-lint «узкий ПК: кнопка сжата уже подписи» при 960 и 1180 px, было и до блока «Как это работает») */
@media (min-width:620px) and (max-width:1279.98px){
  .kp-r [data-kp-cur] .kp-t-l,.kp-r [data-kp-from] .kp-t-l{display:none}
  .kp-r [data-kp-cur] .kp-t-s,.kp-r [data-kp-from] .kp-t-s{display:inline}
}

/* KP_DATES_2026_11_07: вид продукта и средняя ставка видны в строке, без обрезания на телефоне. */
.kp-tm-n em{display:block;margin-left:0;font-style:normal;white-space:normal}
@container kpm (max-width:620px){
 .kp-li{grid-template-columns:18px minmax(0,1fr) auto;grid-template-rows:1fr 1fr}
 .kp-li .kp-sw{grid-column:1;grid-row:1/3}
 .kp-li .kp-tm-n{grid-column:2;grid-row:1/3}
 .kp-li .kp-tm-v{grid-column:3;grid-row:1;align-self:end}
 .kp-li .kp-tm-d{grid-column:3;grid-row:2;align-self:start}
 .kp-li.is-na .kp-tm-v{grid-column:3;grid-row:1/3;align-self:center}
 .kp-hm-c .kp-tm-n em{display:block}
 html:root body #bhc-shell .kp-hm-c{min-height:54px}
}

/* KP_METALS_TOUCH_2026_11_07: реальные зоны касания переключателей этого инструмента — 44px. */
@media(max-width:899px){
 html.mk:is(#mk,:root):is(#mk,:root):is(#mk,:root):is(#mk,:root) body #bhc-shell #kp-app .bhc-seg>button,
 html.mk:is(#mk,:root):is(#mk,:root):is(#mk,:root):is(#mk,:root) body #bhc-shell #kp-app .bhc-chips>button{min-height:44px!important;height:44px!important}
}

/* KP_FULLSCREEN_2026_11_07: график, период и варианты остаются доступны вместе. */
html:root body #bhc-shell .kp-is-fullscreen{box-sizing:border-box;width:100%;height:100%;max-width:none!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;background:#131722!important;overflow:auto;padding:20px!important}
html:root body #bhc-shell #kp-card:fullscreen{width:100vw;height:100vh;height:100dvh}
html:root body #bhc-shell .kp-fs-dialog{position:fixed;inset:0;box-sizing:border-box;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#131722;color:inherit;overflow:hidden}
.kp-fs-dialog::backdrop{background:#131722}
html:root body #bhc-shell #kp-fullscreen{min-height:44px;white-space:nowrap}
@media(max-width:620px){html:root body #bhc-shell .kp-is-fullscreen{padding:16px!important}.kp-is-fullscreen .kp-tabrow{gap:4px 12px}}
