/* Полезная информация — редакционный слой поверх bez-shell (как dostupnaya-sreda) */

.page-poleznaya .pi-wrap,
.page-bez-shell.page-poleznaya > #main.bez-wrap.pi-wrap {
  width: min(1040px, calc(100% - 2rem));
  max-width: none;
}

.page-poleznaya .pi-doc {
  gap: 1.5rem;
}

.page-poleznaya .bez-hero__brand {
  max-width: 16ch;
}

.page-poleznaya .bez-hero__title {
  max-width: 22ch;
  color: var(--bez-navy, #1e3270);
}

.page-poleznaya .bez-hero__lead {
  max-width: 46ch;
}

.page-poleznaya .pi-hero {
  margin: 0;
  padding: 0.15rem 0 0.35rem;
}

/* ——— Статья-памятка: новостной макет (как slib article, стиль СООИ ВОИ) ——— */
.page-pi-article .pi-article-hero {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0.15rem 0 0.25rem;
}

.pi-article-hero__brand {
  margin: 0;
  font-family: var(--theme-font-display, "Zodiak", Georgia, "Times New Roman", serif);
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--bez-ink, #18243d);
  max-width: 16ch;
  text-wrap: balance;
}

.pi-article-hero__eyebrow {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bez-muted, #5a6478);
}

.pi-article-hero__title {
  margin: 0.2rem 0 0;
  font-family: var(--theme-font-display, "Zodiak", Georgia, "Times New Roman", serif);
  font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--bez-navy, #1e3270);
  max-width: 22ch;
  text-wrap: balance;
}

.pi-article-hero__lead {
  margin: 0.55rem 0 0;
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: var(--bez-ink, #18243d);
  max-width: 58ch;
}

.pi-article-hero__meta {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  color: var(--bez-muted, #5a6478);
}

.pi-audio--featured {
  margin: 0.15rem 0;
  padding: 1rem 0;
  border-top: 2px solid color-mix(in srgb, var(--bez-navy, #1e3270) 35%, var(--bez-line, #c8d0de) 65%);
  border-bottom: 2px solid color-mix(in srgb, var(--bez-navy, #1e3270) 35%, var(--bez-line, #c8d0de) 65%);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--bez-soft, #dbe4fb) 42%, transparent),
      transparent 70%
    );
}

.pi-audio--featured .pi-audio__label {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pi-more-memos {
  margin: 0.35rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--bez-line, #c8d0de);
}

.pi-more-memos__title {
  margin: 0 0 0.55rem;
  font-family: var(--theme-font-display, "Zodiak", Georgia, "Times New Roman", serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bez-ink, #18243d);
}

.pi-more-memos__list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
  line-height: 1.45;
  max-width: 42ch;
}

.pi-more-memos__list a {
  color: var(--bez-accent, #243b84);
  font-weight: 650;
  text-decoration: none;
}

.pi-more-memos__list a:hover,
.pi-more-memos__list a:focus-visible {
  text-decoration: underline;
}

/* ——— Хаб: сгруппированные разделы (стабильная сетка, без «пляски») ——— */
.pi-hub-sections {
  display: grid;
  gap: 0.85rem;
  margin: 0.15rem 0 0;
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--bez-line, #c8d0de) 75%, var(--bez-navy, #1e3270) 25%);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bez-surface, #fff) 96%, var(--bez-soft, #dbe4fb) 4%);
}

.pi-hub-tiles {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 0.65rem;
  margin: 0;
}

@media (min-width: 760px) {
  .pi-hub-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

/* a.pi-hub-tile — выше специфичности, чем :root[data-theme=dark] a */
a.pi-hub-tile,
.page-poleznaya a.pi-hub-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 3.5rem;
  height: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--bez-navy, #1e3270);
  border-radius: 10px;
  background: var(--bez-navy, #1e3270);
  color: #fff;
  font-family: var(--theme-font-display, "Zodiak", Georgia, "Times New Roman", serif);
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  box-shadow: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

a.pi-hub-tile:visited,
.page-poleznaya a.pi-hub-tile:visited {
  color: #fff;
}

a.pi-hub-tile:hover,
.page-poleznaya a.pi-hub-tile:hover {
  background: #16275a;
  border-color: #16275a;
  color: #fff;
}

a.pi-hub-tile:focus-visible,
.page-poleznaya a.pi-hub-tile:focus-visible {
  outline: 3px solid #ff6600;
  outline-offset: 3px;
  color: #fff;
}

:root[data-theme="dark"] a.pi-hub-tile,
:root[data-theme="dark"] .page-poleznaya a.pi-hub-tile,
:root[data-theme="dark"] a.pi-hub-tile:visited,
:root[data-theme="dark"] a.pi-hub-tile:hover,
:root[data-theme="dark"] a.pi-hub-tile:focus-visible {
  background: color-mix(in srgb, var(--bez-navy, #1e3270) 70%, #8ab0ff 30%);
  border-color: color-mix(in srgb, var(--bez-navy, #1e3270) 55%, #8ab0ff 45%);
  color: #0b1220;
}

.pi-hub-note {
  margin: 0;
  max-width: 52ch;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--bez-muted, #5a6478);
}

.pi-vision-foot {
  margin: 0.25rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--bez-line, #c8d0de);
  font-size: 0.95rem;
  line-height: 1.45;
}

.pi-report-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--theme-primary, #1f57c3);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.pi-report-link:focus-visible {
  outline: 3px solid #ff6600;
  outline-offset: 2px;
}

.pi-howto .bez-section__head p {
  max-width: 48ch;
  color: var(--bez-muted, #5a6478);
}

/* ——— Хаб / рубрики: редакционный индекс статей (внутренние страницы) ——— */
.pi-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.pi-index__item {
  display: grid;
  gap: 0.3rem;
  padding: 1.05rem 0;
  border-top: 1px solid color-mix(in srgb, var(--bez-line, #c8d0de) 85%, var(--bez-ink, #18243d) 15%);
}

.pi-index__item:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--bez-line, #c8d0de) 85%, var(--bez-ink, #18243d) 15%);
}

.pi-index__eyebrow {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bez-muted, #5a6478);
}

.pi-index__title {
  margin: 0;
  font-family: var(--theme-font-display, "Zodiak", Georgia, "Times New Roman", serif);
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pi-index__title a {
  color: var(--bez-navy, #1e3270);
  text-decoration: none;
}

.pi-index__title a:hover,
.pi-index__title a:focus-visible {
  text-decoration: underline;
}

.pi-index__lead {
  margin: 0;
  max-width: 58ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--bez-ink, #18243d);
}

.pi-index__meta {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  color: var(--bez-muted, #5a6478);
}

.pi-index__read {
  font-weight: 750;
  color: var(--bez-accent, #243b84);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.pi-toc a:focus-visible,
.pi-memo a:focus-visible,
.pi-index a:focus-visible,
.pi-more-memos a:focus-visible,
.pi-phones a:focus-visible,
.pi-sources a:focus-visible,
.pi-survey button:focus-visible,
.pi-survey input:focus-visible,
.pi-survey textarea:focus-visible,
.pi-download:focus-visible,
.pi-pager a:focus-visible,
.pi-hub-featured a:focus-visible,
.pi-hub-tile:focus-visible {
  outline: 3px solid #ff6600;
  outline-offset: 2px;
}

/* ——— Содержание: нумерованный список, не pills ——— */
.pi-toc {
  margin: 0;
  padding: 0;
}

.pi-toc__title {
  margin: 0 0 0.55rem;
  font-family: var(--theme-font-display, "Zodiak", Georgia, "Times New Roman", serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bez-ink, #18243d);
}

.pi-toc__list {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.4rem;
  line-height: 1.45;
  font-size: 1.02rem;
  max-width: 42ch;
}

.pi-toc__list a {
  color: var(--bez-accent, #243b84);
  font-weight: 650;
  text-decoration: none;
}

.pi-toc__list a:hover,
.pi-toc__list a:focus-visible {
  text-decoration: underline;
}

.pi-memos-intro {
  margin: 0;
}

/* ——— Памятка: документный блок ——— */
.pi-memo {
  display: grid;
  gap: 1rem;
  scroll-margin-top: 1.5rem;
  padding: 1.15rem 0 0.25rem;
  border-top: 1px solid color-mix(in srgb, var(--bez-line, #c8d0de) 85%, var(--bez-ink, #18243d) 15%);
}

.pi-memo__head {
  display: grid;
  gap: 0.25rem;
}

.pi-memo__index {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bez-muted, #5a6478);
}

.pi-memo__head h2 {
  margin: 0;
  font-family: var(--theme-font-display, "Zodiak", Georgia, "Times New Roman", serif);
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--bez-ink, #18243d);
}

.pi-memo__body {
  max-width: 68ch;
  display: grid;
  gap: 1.15rem;
}

.pi-memo__text-title {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  font-weight: 750;
  color: var(--bez-ink, #18243d);
}

.pi-memo__body > p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
}

.pi-memo__body h2 {
  margin: 0.35rem 0 0;
  font-family: var(--theme-font-display, "Zodiak", Georgia, "Times New Roman", serif);
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--bez-navy, #1e3270);
  scroll-margin-top: 1.25rem;
}

.pi-memo__body h3 {
  margin: 0.15rem 0 0;
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.35;
  color: var(--bez-ink, #18243d);
  scroll-margin-top: 1.25rem;
}

.pi-memo__body ol,
.pi-memo__body ul {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.65;
  font-size: 1.05rem;
}

.pi-memo__body li + li {
  margin-top: 0.45rem;
}

.pi-memo__body li::marker {
  color: var(--bez-accent, #243b84);
  font-weight: 700;
}

/* ——— Кратко / callout / телефоны ——— */
.pi-kratko {
  margin: 0.35rem 0 0;
  padding: 0.95rem 0;
  border-top: 2px solid color-mix(in srgb, var(--bez-navy, #1e3270) 28%, var(--bez-line, #c8d0de) 72%);
  border-bottom: 1px solid var(--bez-line, #c8d0de);
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--bez-soft, #dbe4fb) 55%, transparent),
      transparent 88%
    );
}

.pi-kratko__title {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bez-navy, #1e3270);
}

.pi-kratko__list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--bez-ink, #18243d);
}

.pi-kratko__list li::marker {
  color: var(--bez-accent, #243b84);
  font-weight: 700;
}

.pi-callout {
  margin: 0;
  padding: 0.9rem 0 0.9rem 0.95rem;
  border-left: 4px solid var(--bez-navy, #1e3270);
  background: color-mix(in srgb, var(--bez-soft, #dbe4fb) 38%, transparent);
  max-width: 62ch;
}

.pi-callout__title {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--bez-navy, #1e3270);
}

.pi-callout__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--bez-ink, #18243d);
}

.pi-callout--phones {
  border-left-color: #b42318;
  background: color-mix(in srgb, #fde8e6 55%, transparent);
}

.pi-callout--phones .pi-callout__title {
  color: #8a1c14;
}

.pi-phones {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.pi-phones li {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  font-size: 1.05rem;
  line-height: 1.45;
}

.pi-phones a {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--bez-navy, #1e3270);
  text-decoration: none;
}

.pi-phones a:hover,
.pi-phones a:focus-visible {
  text-decoration: underline;
}

.pi-phones__label {
  color: var(--bez-ink, #18243d);
  font-weight: 650;
}

.pi-steps {
  margin: 0;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.55rem;
  counter-reset: pi-step;
  list-style: none;
  max-width: 62ch;
}

.pi-steps > li {
  margin: 0;
  padding-left: 0.15rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.55;
  counter-increment: pi-step;
}

.pi-steps > li::before {
  content: counter(pi-step) ".";
  position: absolute;
  left: -1.35rem;
  font-weight: 800;
  color: var(--bez-accent, #243b84);
}

.pi-checklist {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
  max-width: 58ch;
  font-size: 1.05rem;
  line-height: 1.55;
}

.pi-scheme {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0.65rem 0;
  border-top: 1px solid color-mix(in srgb, var(--bez-line, #c8d0de) 80%, transparent);
}

.pi-scheme:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.pi-more-memos__list .pi-more-memos__blurb {
  display: block;
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--bez-muted, #5a6478);
  max-width: 48ch;
}

/* ——— Аудио: панель слушания, не игрушечная карточка ——— */
.pi-audio {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border: 0;
  border-top: 1px solid var(--bez-line, #c8d0de);
  border-bottom: 1px solid var(--bez-line, #c8d0de);
  border-radius: 0;
  background: transparent;
}

.pi-audio__label {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--bez-ink, #18243d);
}

.pi-audio audio {
  width: 100%;
  max-width: 100%;
  min-height: 2.85rem;
}

.pi-audio__actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 1rem;
}

.pi-download {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  font-weight: 750;
  color: var(--bez-accent, #243b84);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.pi-audio__hint {
  font-size: 0.9rem;
  color: var(--bez-muted, #5a6478);
}

.pi-sources-block {
  display: grid;
  gap: 0.35rem;
  max-width: 68ch;
}

.pi-sources__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--bez-ink, #18243d);
}

.pi-sources {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
  line-height: 1.5;
}

.pi-sources a {
  color: var(--bez-accent, #243b84);
  font-weight: 650;
  word-break: break-word;
}

/* ——— Опрос: краткий блок + кнопка «Пройти опрос» ——— */
.page-poleznaya .pi-survey {
  margin: 0;
  padding: 1.05rem 1.1rem 1.2rem;
  border: 1px solid color-mix(in srgb, var(--bez-line, #c8d0de) 75%, var(--bez-navy, #1e3270) 25%);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bez-surface, #fff) 96%, var(--bez-soft, #dbe4fb) 4%);
}

.pi-survey__head {
  margin: 0 0 0.95rem;
  padding: 0 0 0.65rem;
  border-bottom: 1px solid var(--bez-line, #c8d0de);
}

.pi-survey__head h2 {
  margin: 0 0 0.3rem;
  font-family: var(--theme-font-display, "Zodiak", Georgia, "Times New Roman", serif);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bez-ink, #18243d);
}

.pi-survey__head p {
  margin: 0;
  max-width: 48ch;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--bez-muted, #5a6478);
}

.pi-survey__panel {
  margin: 0;
  padding: 0;
  border: 0;
}

.pi-survey__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: min(100%, 18rem);
  min-height: 3.15rem;
  padding: 0.7rem 1.45rem;
  list-style: none;
  border: 2px solid var(--bez-navy, #1e3270);
  border-radius: 10px;
  background: var(--bez-navy, #1e3270);
  color: #fff;
  font-family: inherit;
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.12rem);
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}

.pi-survey__cta::-webkit-details-marker {
  display: none;
}

.pi-survey__cta::marker {
  content: "";
  font-size: 0;
}

.pi-survey__cta:hover {
  background: #27428f;
  border-color: #27428f;
}

.pi-survey__cta:focus-visible {
  outline: 3px solid #ff6600;
  outline-offset: 3px;
}

.pi-survey__panel[open] > .pi-survey__cta {
  margin-bottom: 0;
}

.pi-survey__body {
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--bez-line, #c8d0de);
}

.pi-survey form {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
}

.pi-survey__block {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.pi-survey__block > legend {
  padding: 0;
  font-weight: 750;
  color: var(--bez-ink, #18243d);
  float: none;
  width: auto;
}

.pi-survey__field {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.pi-survey__field > legend,
.pi-survey__field > label {
  padding: 0;
  font-weight: 750;
  font-size: 0.95rem;
  color: var(--bez-ink, #18243d);
}

.pi-survey__block .pi-survey__field > label {
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--bez-muted, #5a6478);
}

.pi-scale__ends {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  font-size: 0.88rem;
  color: var(--bez-muted, #5a6478);
}

.pi-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pi-scale label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 2px solid color-mix(in srgb, var(--bez-navy, #1e3270) 55%, var(--bez-line, #c8d0de) 45%);
  border-radius: 10px;
  background: transparent;
  font-weight: 800;
  color: var(--bez-ink, #18243d);
  cursor: pointer;
}

.pi-scale input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pi-scale label:has(input:focus-visible) {
  outline: 3px solid #ff6600;
  outline-offset: 2px;
}

.pi-scale label:has(input:checked) {
  border-color: var(--bez-navy, #1e3270);
  background: var(--bez-navy, #1e3270);
  color: #fff;
}

.pi-survey textarea {
  width: 100%;
  min-height: 3.4rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--bez-line, #c8d0de);
  border-radius: 8px;
  background: var(--bez-surface, #fff);
  color: var(--bez-ink, #18243d);
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.45;
  resize: vertical;
  box-sizing: border-box;
}

.pi-survey__consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 0.65rem;
  align-items: start;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.pi-survey__consent input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
  accent-color: var(--bez-navy, #1e3270);
  cursor: pointer;
}

.pi-survey__consent input[type="checkbox"]:focus-visible {
  outline: 3px solid #ff6600;
  outline-offset: 2px;
}

.pi-survey__consent > label {
  margin: 0;
  font-weight: 750;
  color: var(--bez-ink, #18243d);
  line-height: 1.45;
  cursor: pointer;
}

.pi-survey__consent-text {
  display: block;
  margin-top: 0.35rem;
  font-weight: 500;
  color: var(--bez-muted, #5a6478);
}

.pi-survey__consent-text a {
  font-weight: 700;
  color: var(--bez-navy, #1e3270);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pi-survey__req {
  color: #b42318;
  font-weight: 800;
}

.pi-survey__submit {
  justify-self: start;
  min-height: 2.6rem;
  padding: 0.45rem 1.15rem;
  border: 2px solid var(--bez-navy, #1e3270);
  border-radius: 10px;
  background: var(--bez-navy, #1e3270);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 750;
  cursor: pointer;
}

.pi-survey__submit:hover {
  background: #27428f;
  border-color: #27428f;
}

.pi-survey__status {
  margin: 0.75rem 0 0;
  min-height: 1.4em;
  font-weight: 650;
  color: var(--bez-ink, #18243d);
}

.pi-survey__status:empty {
  margin: 0;
  min-height: 0;
}

.pi-survey__updated {
  margin: 0;
  font-size: 0.88rem;
  color: var(--bez-muted, #5a6478);
}

.pi-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}

.page-poleznaya .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* High contrast */
html[data-contrast="high"] .page-poleznaya .pi-scale label,
html[data-contrast="high"] .page-poleznaya .pi-hub-sections,
html[data-contrast="high"] .page-poleznaya .pi-survey textarea,
html[data-contrast="high"] .page-poleznaya .pi-survey,
html[data-contrast="high"] .page-poleznaya .pi-survey__block,
html[data-contrast="high"] .page-poleznaya .pi-survey__consent {
  background: #000;
  color: #fff;
  border-color: #fff;
}

html[data-contrast="high"] .page-poleznaya .pi-survey__submit,
html[data-contrast="high"] .page-poleznaya .pi-survey__cta,
html[data-contrast="high"] .page-poleznaya .pi-scale label:has(input:checked) {
  background: #ffd400;
  color: #000;
  border-color: #ffd400;
}

html[data-contrast="high"] .page-poleznaya a,
html[data-contrast="high"] .page-poleznaya .pi-download,
html[data-contrast="high"] .page-poleznaya .pi-toc__list a,
html[data-contrast="high"] .page-poleznaya .pi-index__title a,
html[data-contrast="high"] .page-poleznaya .pi-index__read,
html[data-contrast="high"] .page-poleznaya .pi-more-memos__list a,
html[data-contrast="high"] .page-poleznaya .pi-phones a,
html[data-contrast="high"] .page-poleznaya .pi-survey__consent-text a {
  color: #ffd400;
}

html[data-contrast="high"] .page-poleznaya .pi-hub-tile,
html[data-contrast="high"] .page-poleznaya a.pi-hub-tile,
html[data-contrast="high"] .page-poleznaya a.pi-hub-tile:visited {
  background: #000;
  border-color: #ffd400;
  color: #ffd400;
  box-shadow: none;
}

html[data-contrast="high"] .page-poleznaya .pi-hub-tile:hover {
  background: #ffd400;
  border-color: #ffd400;
  color: #000;
}

html[data-contrast="high"] .page-poleznaya .pi-audio,
html[data-contrast="high"] .page-poleznaya .pi-memo,
html[data-contrast="high"] .page-poleznaya .pi-index__item,
html[data-contrast="high"] .page-poleznaya .pi-more-memos,
html[data-contrast="high"] .page-poleznaya .pi-kratko,
html[data-contrast="high"] .page-poleznaya .pi-scheme {
  border-color: #fff;
}

html[data-contrast="high"] .page-poleznaya .pi-callout,
html[data-contrast="high"] .page-poleznaya .pi-callout--phones {
  background: #000;
  border-left-color: #ffd400;
}

html[data-contrast="high"] .page-poleznaya .pi-callout__title,
html[data-contrast="high"] .page-poleznaya .pi-callout--phones .pi-callout__title,
html[data-contrast="high"] .page-poleznaya .pi-kratko__title,
html[data-contrast="high"] .page-poleznaya .pi-memo__body h2 {
  color: #ffd400;
}

html[data-contrast="high"] .page-poleznaya .pi-article-hero__title {
  color: #ffd400;
}

html[data-contrast="high"] .page-poleznaya .pi-audio__hint,
html[data-contrast="high"] .page-poleznaya .pi-memo__index,
html[data-contrast="high"] .page-poleznaya .pi-scale__ends,
html[data-contrast="high"] .page-poleznaya .pi-survey__updated,
html[data-contrast="high"] .page-poleznaya .pi-survey__consent-text,
html[data-contrast="high"] .page-poleznaya .pi-article-hero__eyebrow,
html[data-contrast="high"] .page-poleznaya .pi-article-hero__meta,
html[data-contrast="high"] .page-poleznaya .pi-index__eyebrow,
html[data-contrast="high"] .page-poleznaya .pi-index__meta,
html[data-contrast="high"] .page-poleznaya .pi-more-memos__blurb,
html[data-contrast="high"] .page-poleznaya .pi-pager__status,
html[data-contrast="high"] .page-poleznaya .pi-pager__nav--disabled {
  color: #f5f5f5;
}

html[data-contrast="high"] .page-poleznaya .pi-pager,
html[data-contrast="high"] .page-poleznaya .pi-hub-featured {
  border-color: #fff;
}

html[data-contrast="high"] .page-poleznaya .pi-pager__link,
html[data-contrast="high"] .page-poleznaya .pi-pager__nav {
  color: #ffd400;
  border-color: #fff;
}

html[data-contrast="high"] .page-poleznaya .pi-pager__link--current {
  background: #ffd400;
  color: #000;
  border-color: #ffd400;
}

/* ——— Хаб: избранная памятка + пагинация ——— */
.pi-hub-featured {
  display: grid;
  gap: 0.85rem;
  margin: 0.25rem 0 0.5rem;
  padding: 0.25rem 0 1.15rem;
  border-bottom: 1px solid var(--bez-line, #c8d0de);
}

.pi-hub-featured .pi-article-hero__title {
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.85rem);
  max-width: 24ch;
}

.pi-hub-featured .pi-article-hero__title a {
  color: inherit;
  text-decoration: none;
}

.pi-hub-featured .pi-article-hero__title a:hover,
.pi-hub-featured .pi-article-hero__title a:focus-visible {
  text-decoration: underline;
}

.pi-pager {
  display: grid;
  gap: 0.65rem;
  margin: 1.15rem 0 0.25rem;
  padding: 1rem 0 0.25rem;
  border-top: 1px solid var(--bez-line, #c8d0de);
}

.pi-pager__status {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--bez-muted, #5a6478);
}

.pi-pager__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.pi-pager__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pi-pager__link,
.pi-pager__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.85rem;
  border: 2px solid color-mix(in srgb, var(--bez-navy, #1e3270) 55%, var(--bez-line, #c8d0de) 45%);
  border-radius: 10px;
  color: var(--bez-navy, #1e3270);
  font-weight: 750;
  text-decoration: none;
  background: transparent;
}

.pi-pager__link:hover,
.pi-pager__nav:hover,
.pi-pager__link:focus-visible,
.pi-pager__nav:focus-visible {
  background: color-mix(in srgb, var(--bez-soft, #dbe4fb) 55%, transparent);
  border-color: var(--bez-navy, #1e3270);
  outline: 3px solid #ff6600;
  outline-offset: 2px;
}

.pi-pager__link--current {
  background: var(--bez-navy, #1e3270);
  border-color: var(--bez-navy, #1e3270);
  color: #fff;
  cursor: default;
}

.pi-pager__nav--disabled {
  opacity: 0.45;
  border-style: dashed;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .pi-pager__row {
    flex-direction: column;
    align-items: stretch;
  }

  .pi-pager__list {
    justify-content: flex-start;
  }

  .pi-pager__link,
  .pi-pager__nav {
    width: 100%;
  }
}


/* Compact section hub featured memo (pi30) */
.pi-hub-featured--compact{
  margin: 1.5rem 0 2.25rem;
  padding: 1.25rem 1.35rem 1.4rem;
  border: 1px solid rgba(15, 45, 78, 0.18);
  background: #fff;
}
.pi-hub-featured__title{
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f2d4e;
}
.pi-hub-featured__lead{ margin: 0 0 0.5rem; line-height: 1.5; }
.pi-hub-featured__meta{ margin: 0 0 1rem; font-size: 0.92rem; opacity: 0.85; }
.pi-hub-featured__cta{ margin: 1rem 0 0; }
.pi-hub-featured__btn{
  display: inline-block;
  padding: 0.65rem 1.1rem;
  background: #0f2d4e;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
}
.pi-hub-featured__btn:hover{ background: #163a63; }
.pi-more-memos__list{ list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.pi-more-memos__list li{ margin: 0; }
