/* Дизайн-код проекта Bond Start (sandbox.ai.moex.com): корпоративный красный,
   верхняя шапка 68px, Arial 14px, радиусы 5 и 8. Токены и геометрия компонентов
   перенесены как есть, включая шкалу разброса rangeTrack/rangeBand/rangeTick. */
:root {
  --r: #e30613;   /* корпоративный красный: действия, цифры, надзаголовки */
  --r-soft: #f19ca4;  /* красный низкой насыщенности: заливка диапазона */
  --r-dark: #b71c1c;   /* 5,75:1 на #fdecec: мелкий красный текст */
  --i: #20252b;   /* чернила */
  --m: #687078;   /* приглушённый текст */
  --l: #e3e6e9;   /* линии */
  --b: #f5f6f7;   /* фон страницы */
  --w: #fff;
  --g: #16834b;   /* зелёный: ступень выше вашей */
  --s: 0 3px 18px #14191e12;
  --issuer-cols: 58px minmax(110px, 1.5fr) 92px
                 minmax(68px, 1fr) minmax(68px, 1fr) minmax(68px, 1fr) 62px 48px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--b);
  color: var(--i);
  font: 14px Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-variant-numeric: tabular-nums;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--i); outline-offset: 2px; }
.hidden { display: none !important; }

/* ——— Шапка ——— */
.head {
  height: 68px; background: var(--w); border-bottom: 1px solid var(--l);
  display: flex; align-items: center; gap: 30px;
  padding: 0 max(24px, calc((100vw - 1360px) / 2));
  position: sticky; top: 0; z-index: 5;
}
.logo { display: flex; gap: 10px; align-items: center; }
.mark {
  display: grid; place-items: center; width: 42px; height: 30px;
  background: var(--r); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .02em;
}
.brandname { margin: 0; font-size: 14px; font-weight: bold; line-height: 1.2; }
.logo small { display: block; color: var(--r); font-size: 8px; font-weight: bold; text-transform: uppercase; letter-spacing: .06em; }
.nav { display: flex; gap: 25px; flex: 1; }
.head-actions { display: flex; gap: 10px; }
.navitem { color: var(--i); font-size: 13px; text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.navitem:hover { color: var(--r); }
.navitem.active { color: var(--r); border-bottom-color: var(--r); font-weight: bold; }
.btn { border: 1px solid transparent; border-radius: 5px; padding: 11px 17px; font-size: 13px; font-weight: bold; }
.primary { background: var(--r); color: #fff; }
.primary:hover { background: var(--r-dark); }
.outline { background: #fff; border-color: #cfd4d9; color: var(--i); }
.outline:hover { border-color: var(--m); }

/* ——— Каркас ——— */
.wrap { width: min(1180px, calc(100% - 48px)); margin: auto; }
.block { padding: 34px 0; scroll-margin-top: 78px; }
.eyebrow { font-size: 11px; font-weight: bold; letter-spacing: .08em; color: var(--r); text-transform: uppercase; }
.sec { margin: 7px 0 6px; font-size: 26px; line-height: 1.2; font-weight: bold; }
.sec-desc { margin: 0 0 20px; color: var(--m); font-size: 13px; line-height: 1.5; max-width: 74ch; }
.card { background: var(--w); border: 1px solid var(--l); border-radius: 8px; box-shadow: var(--s); }
.body { padding: 23px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ——— Форма ——— */
.field { margin: 0 0 13px; }
.field label { display: block; font-size: 12px; font-weight: bold; margin-bottom: 5px; }
.field input, .field select {
  width: 100%; padding: 10px 11px; border: 1px solid #cfd4d9; border-radius: 5px;
  background: #fff; color: var(--i);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--r); box-shadow: 0 0 0 3px #e3061320; }
::placeholder { color: var(--m); opacity: 1; }
.hint { display: block; margin-top: 5px; color: var(--m); font-size: 12px; line-height: 1.4; }
.tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 5px; background: #fdecec; color: var(--r-dark); font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: .04em; }
.form-error { margin: 0 0 13px; padding: 11px 13px; border-left: 3px solid var(--r); background: #fdecec; color: var(--r-dark); font-size: 13px; }
input.is-prefilled, select.is-prefilled { border-left: 3px solid var(--r); }
.lookup { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--l); }
.lookup input { max-width: 320px; }
.lookup-result { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--m); max-width: 72ch; }
.lookup-result:empty { display: none; }
.lookup-result b { color: var(--i); }
.lookup-result.is-hit::before { content: "✓"; margin-right: 6px; font-weight: bold; color: var(--g); }
.lookup-clear { margin-left: 8px; padding: 0; border: 0; background: none; font: inherit; font-size: 12px; color: var(--r); text-decoration: underline; cursor: pointer; }
.service-controls { display: none; }
body.tune .service-controls { display: block; }
.sub { border: 1px solid var(--l); padding: 17px; border-radius: 6px; margin-top: 18px; }
.sub h3 { margin: 0 0 4px; font-size: 13px; }
.sub p { margin: 0 0 12px; color: var(--m); font-size: 12px; line-height: 1.45; }
.slider-row { display: grid; grid-template-columns: 132px minmax(120px, 1fr) 36px; gap: 12px; align-items: center; margin-bottom: 9px; }
.slider-row label { margin: 0; font-size: 12px; font-weight: bold; color: var(--m); }
.slider-row input[type="range"] { width: 100%; accent-color: var(--r); height: 26px; }
.slider-val { text-align: right; font-weight: bold; color: var(--r); }
.sub-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 12px; font-size: 12px; color: var(--m); }

/* ——— Результат: карточки диапазонов ——— */
.notice {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  border-left: 3px solid var(--r); padding: 13px 16px; background: #fff;
  border-radius: 0 5px 5px 0; margin-bottom: 18px; font-size: 13px; color: var(--m);
}
/* Три зоны: что задаёте — что получается — на чём это стоит. Размер плитки
   и есть иерархия, поэтому ориентир крупный, а сценарий тише. */
.scenario { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.metric { border: 1px solid var(--l); background: #fff; border-radius: 8px; padding: 14px; display: grid; align-content: start; gap: 0; min-height: 112px; }
.metric-label { margin: 0; font-size: 11px; font-weight: normal; color: var(--m); }
.metric-value { margin: 5px 0 10px; font-size: 21px; font-weight: 700; color: var(--r); }
.metric-value .unit { font-size: 12px; font-weight: bold; color: var(--m); margin-left: 3px; }
.metric.is-empty .metric-value { color: var(--m); }
.metric-input {
  width: 5.5ch; padding: 0; border: 0; border-bottom: 1px dashed transparent;
  background: transparent; font: inherit; color: inherit;
  font-variant-numeric: tabular-nums; text-align: left;
}
.metric-input:hover { border-bottom-color: var(--l); }
.metric-input:focus { outline: none; border-bottom-color: var(--r); }
.metric-input.is-wide { width: 8ch; }
.metric.is-empty .metric-value .unit { visibility: hidden; }
.metric-range { height: 6px; background: var(--l); border-radius: 6px; position: relative; }
.metric-range.is-flat { visibility: hidden; }
.range-band { position: absolute; height: 100%; background: var(--r-soft); border-radius: 6px; }
.range-tick { position: absolute; top: -3px; width: 2px; height: 12px; background: var(--i); margin-left: -1px; opacity: .55; }
.metric-foot { margin: 8px 0 0; font-size: 10px; color: var(--m); line-height: 1.4; }

/* Зона 2: ориентир — единственное крупное число на экране */
.headline { margin-bottom: 10px; padding: 20px 22px; min-height: 0; }
.headline .metric-label { font-size: 12px; }
.headline .metric-value { margin: 4px 0 14px; font-size: 40px; line-height: 1; }
.headline .metric-value .unit { font-size: 17px; margin-left: 6px; }
.headline .metric-input { width: 4.6ch; }
.headline .metric-input.is-wide { width: 7ch; }
.headline .metric-foot { font-size: 11px; }
.obs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin: 14px 0 0;
       padding-top: 13px; border-top: 1px solid var(--l); font-size: 12px; color: var(--m); }
.obs b { font-size: 15px; color: var(--i); margin-left: 3px; }
.obs .unit { font-size: 11px; font-weight: bold; color: var(--m); }
.obs em { font-style: normal; font-size: 11px; }
.metric.is-empty .obs b { color: var(--m); }
.metric.is-empty .obs .unit { visibility: hidden; }

/* Зона 3: опора — счётные факты, детали прячет нативный disclosure */
.support-details { display: none; border: 1px solid var(--l); border-radius: 8px; background: var(--w); }
body.scenario-on .support-details { display: block; }
.support { display: flex; flex-wrap: wrap; align-items: stretch; padding: 0; cursor: pointer; list-style: none; }
.support::-webkit-details-marker { display: none; }
.support:hover .support-more { color: var(--i); }
.support-item { flex: 1 1 280px; min-width: 0; display: flex; align-items: baseline; gap: 9px; padding: 12px 16px; }
.support-item + .support-item { border-left: 1px solid var(--l); }
.support-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--l); flex: none; }
/* Привязка к .support-item обязательна: без неё класс уровня плотности,
   висящий на <details>, перекрашивал слово «высокая» у похожести. */
.support-item.is-high .support-dot { background: var(--g); }
.support-item.is-medium .support-dot { background: #dd8420; }
.support-item.is-low .support-dot { background: var(--r); }
.support-body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.support-body b { font-size: 13px; color: var(--i); }
.support-body em { font-style: normal; font-size: 12px; color: var(--m); }
.support-more { flex: none; margin-left: auto; padding: 12px 16px; font-size: 12px; color: var(--m); align-self: center; }
.support-more::after { content: ' ▾'; font-size: 9px; }
[open] .support-more::after { content: ' ▴'; }
.breakdown-body { margin: 0 16px 16px; padding-top: 14px; border-top: 1px solid var(--l); }
@media (prefers-reduced-motion: no-preference) {
  .range-band, .range-tick { transition: left .4s cubic-bezier(.2,.7,.2,1), width .4s cubic-bezier(.2,.7,.2,1); }
}

/* ——— Сценарий выпуска ——— */
.scenario { border: 1px solid var(--l); border-radius: 8px; padding: 18px; margin-bottom: 20px; }
.sc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sc-head h3 { margin: 0; font-size: 13px; font-weight: bold; }
.sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 14px; }
.sc-field { display: grid; gap: 6px; }
.sc-label { font-size: 12px; color: var(--m); }
.sc-label b { color: var(--i); font-weight: bold; }
.sc-field input[type="range"] { width: 100%; accent-color: var(--r); height: 24px; }
.sc-result { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--m); }
.sc-result b { font-size: 17px; color: var(--r); }
.sc-conf { display: grid; gap: 2px; padding: 10px 13px; border-left: 3px solid var(--l); background: #fafbfc; }
.sc-conf b { font-size: 13px; color: var(--i); }
.sc-conf span { font-size: 12px; color: var(--m); }
.sc-conf.is-high { border-left-color: var(--g); }
.sc-conf.is-medium { border-left-color: #dd8420; }
.sc-conf.is-low { border-left-color: var(--r); }
.sc-note { margin: 10px 0 0; font-size: 12px; color: var(--m); }
.sc-disclaimer { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--l); font-size: 11px; line-height: 1.45; color: var(--m); }
@media (max-width: 900px) { .sc-grid { grid-template-columns: 1fr; } }

/* ——— Управляемые плитки: дорожка разброса это и есть шкала ——— */
.metric.is-live .metric-range { height: 6px; margin: 2px 0 4px; }
.range-input {
  -webkit-appearance: none; appearance: none;
  position: absolute; left: 0; right: 0; top: -9px;
  width: 100%; height: 24px; margin: 0; background: transparent; cursor: grab;
}
.range-input:active { cursor: grabbing; }
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 15px; height: 15px; border-radius: 50%;
  background: #fff; border: 2px solid var(--r); box-shadow: 0 1px 3px #14191e33;
}
.range-input::-moz-range-thumb {
  width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--r);
  background: #fff; box-shadow: 0 1px 3px #14191e33;
}
.range-input:focus-visible { outline: none; }
.range-input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px #20252b55; }
.metric.is-live { border-color: #d7dbdf; }
.metric.is-live:hover { border-color: var(--r); }
.metric.is-manual .metric-value { color: var(--i); }
.metric.is-manual .metric-label::after { content: " · задан вручную"; color: var(--m); font-weight: normal; }
.metric .range-input, .sc-foot { display: none; }
body.scenario-on .metric.is-live .range-input { display: block; }
body.scenario-on .sc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.sc-disclaimer { margin: 0; flex: 1 1 320px; font-size: 11px; line-height: 1.45; color: var(--m); }

/* ——— Воронка этапов: первый работает, остальные план развития ——— */
.hero { background: var(--w); border-bottom: 1px solid var(--l); padding: 40px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 310px; gap: 44px; align-items: start; }
.hero-title { margin: 8px 0 10px; font-size: 27px; line-height: 1.2; font-weight: bold; letter-spacing: -.01em; }
.hero-sub { margin: 0 0 18px; color: var(--m); font-size: 14px; line-height: 1.55; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { text-decoration: none; display: inline-flex; align-items: center; }
.hero-note { border: 1px solid var(--l); border-radius: 8px; padding: 16px; font-size: 12px; color: var(--m); }
.hero-note b { display: block; font-size: 13px; color: var(--i); margin-bottom: 8px; }
.hero-note ul { margin: 0 0 10px; padding-left: 16px; display: grid; gap: 4px; }
.hero-note span { display: block; padding-top: 10px; border-top: 1px solid var(--l); }

.journey-progress { background: var(--w); border-bottom: 1px solid var(--l); padding: 14px 0; }
.journey-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: 12px; color: var(--m); }
.journey-top b { display: block; font-size: 13px; color: var(--i); }
.journey-top small { font-size: 12px; }
.journey-track { height: 5px; background: var(--l); border-radius: 5px; margin-top: 10px; overflow: hidden; }
.journey-track i { display: block; height: 100%; background: var(--r); border-radius: 5px; }

.funnelbox { padding: 26px 0 8px; }
.funnel-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 12px; }
.funnel-head b { font-size: 14px; }
.muted { color: var(--m); font-size: 12px; }
/* Одиннадцать этапов держим в одну линию: прокрутка вбок читается как путь,
   сетка в три ряда читалась как таблица и теряла порядок шагов. */
.funnel-wrap { position: relative; border: 1px solid var(--l); border-radius: 7px;
               overflow: hidden; box-shadow: var(--s); background: var(--l); }
/* Без scroll-snap: он перебивает плавную прокрутку от стрелок и возвращает
   ленту назад. Шаг стрелки и так кратен карточке, край выходит ровным. */
.funnel { display: flex; gap: 1px; overflow-x: auto; overscroll-behavior-x: contain;
          scrollbar-width: thin; }
.funnel-wrap::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 54px;
                      pointer-events: none; opacity: 1; transition: opacity .18s;
                      background: linear-gradient(270deg, #ffffff, #ffffff00); }
.funnel-wrap.at-end::after { opacity: 0; }
.funnel-nav { display: flex; gap: 6px; margin-left: auto; }
.fnav { width: 28px; height: 28px; border: 1px solid var(--l); border-radius: 6px; background: var(--w);
        color: var(--i); font-size: 15px; line-height: 1; cursor: pointer; }
.fnav:hover:not(:disabled) { border-color: var(--r); color: var(--r); }
.fnav:disabled { color: #b6bcc2; cursor: default; }
.step-card { flex: 0 0 228px;
             background: var(--w); border: 0; min-height: 104px; padding: 14px 16px; text-align: left;
             color: var(--m); font: inherit; display: flex; flex-direction: column; gap: 4px; }
.step-card em { font-style: normal; font-size: 10px; font-weight: bold; color: var(--r); }
.step-card b { font-size: 14px; color: var(--i); line-height: 1.25; }
.step-card small { font-size: 11px; line-height: 1.35; }
.step-card .state { margin-top: auto; align-self: flex-start; padding: 3px 7px; background: #f0f2f4;
                    border-radius: 10px; color: #606a73; font-size: 10px; font-weight: bold; }
.step-card.is-live { background: #fff5f5; box-shadow: inset 0 -3px var(--r); cursor: pointer; }
.step-card.is-live .state { background: var(--r); color: #fff; }
.step-card.is-plan { cursor: pointer; }
.step-card.is-plan:hover { background: #fafbfc; }
.step-card.is-plan b { color: var(--m); }
.funnel-note { margin: 12px 0 0; padding: 11px 14px; border-left: 3px solid var(--l);
               background: var(--w); font-size: 13px; color: var(--m); }
.funnel-note b { color: var(--i); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ——— Разбор: из чего складывается расхождение ——— */
.quality-body { display: block; }
.qbars-label { font-size: 11px; color: var(--m); }
.sim-list { list-style: none; margin: 7px 0 0; padding: 0; display: grid; gap: 5px; }
.sim-list li { display: grid; grid-template-columns: 92px 1fr 32px; gap: 10px; align-items: center; font-size: 12px; }
.sim-name { color: var(--m); }
.sim-bar { height: 5px; background: var(--l); border-radius: 5px; overflow: hidden; }
.sim-bar i { display: block; height: 100%; background: var(--r-soft); border-radius: 5px; }
.sim-pct { text-align: right; color: var(--i); font-weight: bold; }
@media (max-width: 620px) {
  .support-item { flex-basis: 100%; }
  .support-item + .support-item { border-left: 0; border-top: 1px solid var(--l); }
}

/* ——— Сводка ——— */
.summary { border-top: 1px solid var(--l); margin-top: 18px; padding-top: 18px; }
.summary-title { margin: 0 0 13px; font-size: 13px; font-weight: bold; }
.summary-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px 22px; margin: 0; }
.summary-item { display: grid; gap: 3px; align-content: start; padding-left: 12px; border-left: 2px solid var(--l); }
.summary-item dt { font-size: 11px; color: var(--m); }
.summary-item dd { margin: 0; font-size: 16px; font-weight: bold; }
.summary-item dd .unit { font-size: 11px; font-weight: bold; color: var(--m); margin-left: 2px; }
.summary-note { margin: 0; font-size: 11px; color: var(--m); line-height: 1.35; }

/* ——— Шкала ступеней ——— */
.ladder-block { margin-bottom: 20px; }
.ladder-title { font-size: 12px; font-weight: bold; color: var(--m); margin-bottom: 11px; }
.ladder { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 3px; padding-top: 14px; border-bottom: 2px solid var(--l); }
.step { display: grid; justify-items: center; gap: 1px; position: relative; min-width: 52px; padding: 7px 9px 6px;
        border: 1px solid #cfd4d9; border-bottom: none; border-radius: 5px 5px 0 0; background: #fff; cursor: pointer; }
.step:hover { background: #fdecec; }
.step-code { font-size: 12px; font-weight: bold; color: var(--i); }
.step-count { font-size: 11px; color: var(--m); }
.step.is-empty { opacity: .5; }
.step.is-on { background: var(--i); border-color: var(--i); }
.step.is-on .step-code { color: #fff; }
.step.is-on .step-count { color: #ffffff99; }
.step-you { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: .06em; color: var(--r); }
.ladder-note { margin: 11px 0 0; font-size: 13px; line-height: 1.45; color: var(--m); max-width: 74ch; }
.ladder-note strong { color: var(--i); }

/* ——— Таблица аналогов ——— */
.issuer-counter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 11px; }
.issuer-counter:empty { display: none; }
.chip { display: inline-flex; align-items: center; padding: 4px 11px; border: 1px solid #cfd4d9; border-radius: 5px;
        background: #fff; color: var(--m); font-size: 12px; font-weight: bold; cursor: pointer; }
.chip:hover { border-color: var(--r); color: var(--r); }
.chip.is-active { border-color: var(--r); background: #fdecec; color: var(--r-dark); }
.issuer-head { position: sticky; top: 68px; z-index: 3; background: #fff; padding: 10px 14px 8px; border-bottom: 1px solid var(--l); }
.head-units, .head-cols { display: grid; grid-template-columns: var(--issuer-cols); gap: 4px 10px; align-items: end; }
.head-units .unit { grid-column: span 3; text-align: center; font-size: 10px; font-weight: bold; color: var(--m);
                    text-transform: uppercase; letter-spacing: .05em; padding-bottom: 4px; border-bottom: 1px solid var(--l); }
.head-cols span { font-size: 11px; color: var(--m); line-height: 1.25; padding-top: 4px; }
.head-cols .col-num { text-align: right; }
.issuer-list { display: flex; flex-direction: column; }
.issuer-card { border-bottom: 1px solid var(--l); }
.issuer-card > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: var(--issuer-cols);
                         gap: 4px 10px; align-items: center; min-height: 62px; padding: 10px 14px; }
.issuer-card > summary::-webkit-details-marker { display: none; }
.issuer-card > summary:hover { background: #fafbfc; }
.issuer-card[open] > summary { background: #f4f6f8; }
.col-sim { font-size: 15px; font-weight: bold; color: var(--r); }
.col-sim .pct { font-size: 11px; color: var(--m); }
.col-name { font-size: 13px; font-weight: bold; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.col-rating { display: flex; align-items: center; gap: 6px; }
.pill { display: inline-flex; padding: 2px 8px; border-radius: 4px; background: #f4f6f8; border: 1px solid var(--l); font-size: 11px; font-weight: bold; }
.notch { font-size: 11px; font-weight: bold; color: var(--m); }
.notch.is-above { color: var(--g); }
.notch.is-below { color: var(--m); }
.col-num { text-align: right; white-space: nowrap; font-size: 13px; }
.col-bonds { color: var(--m); }
.bond-table-wrap { overflow: auto; max-height: 340px; background: #fbfcfd; border-top: 1px solid var(--l);
                   content-visibility: auto; contain-intrinsic-size: auto 240px; }
.bond-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.bond-table th { position: sticky; top: 0; background: #f4f6f8; color: #303840; font-weight: bold; font-size: 11px;
                 text-align: left; padding: 8px 9px; border: 1px solid #e1e4e8; z-index: 1; }
.bond-table td { border: 1px solid #e1e4e8; padding: 8px 9px; vertical-align: top; text-align: left; }
.bond-table td.num { text-align: right; }
.bond-table td.code { letter-spacing: .02em; }
.bond-table th:nth-child(n+4) { text-align: right; }
.placeholder { padding: 26px 20px; color: var(--m); font-size: 13px; line-height: 1.5; background: #fff; }
.placeholder strong { display: block; margin-bottom: 4px; color: var(--i); }

@media (max-width: 900px) {
  .head { height: auto; flex-wrap: wrap; gap: 10px 14px; padding: 12px 18px; position: static; }
  .logo { flex: 1 1 100%; }
  .nav { order: 2; flex: 1 1 100%; gap: 18px; }
  .head-actions { order: 3; flex: 1 1 100%; }
  .head-actions .btn { flex: 1; padding: 11px 10px; }
  .wrap { width: calc(100% - 32px); }
  .two { grid-template-columns: 1fr; }
  .scenario { grid-template-columns: 1fr; }
  .metric { min-height: 0; }
  .headline .metric-value { font-size: 33px; }
  .slider-row, .weights-grid .slider-row { grid-template-columns: minmax(0, 1fr) 36px; gap: 4px 12px; }
  .slider-row label { grid-column: 1 / -1; }
  .issuer-head { display: none; }
  .issuer-card > summary { grid-template-columns: 1fr 1fr; min-height: 0; gap: 9px 12px; }
  .col-sim, .col-name, .col-rating { grid-column: 1 / -1; }
  .col-num { text-align: left; }
  .col-num::before { content: attr(data-label); display: block; font-size: 10px; font-weight: bold; color: var(--m); margin-bottom: 2px; }
}
