:root,
[data-theme="indigo"] {
  --bg: #f5f7fa;
  --bg-card: #ffffff;
  --bg-soft: #f3f4f7;
  --ink: #14181f;
  --ink-2: #5b6473;
  --ink-3: #8b95a3;
  --line: #e6e9ef;
  --line-soft: #eef0f4;
  --accent: #2563d9;
  --accent-2: #0ea5e9;
  --accent-soft: #eaf0fd;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow: 0 8px 24px rgba(15, 23, 42, .06);
  --gap: 22px;
  --ph-bg-1: #fcfdfe;
  --ph-bg-2: #f3f6fb;
  --ph-bg-3: #e7edf7;
  --ph-grid: #aab8cf;
  --ph-cap-a-1: #2563d9;
  --ph-cap-a-2: #0ea5e9;
  --ph-cap-b-1: #0f766e;
  --ph-cap-b-2: #14b8a6;
  --ph-cap-c-1: #2563d9;
  --ph-cap-c-2: #b8893a;
  --ph-flow-1: #2563d9;
  --ph-flow-2: #0f766e;
}

[data-theme="navy"] {
  --bg: #faf7f0;
  --bg-card: #ffffff;
  --bg-soft: #f3eee1;
  --ink: #14213d;
  --ink-2: #4d5870;
  --ink-3: #8e96ad;
  --line: #e6dcc6;
  --line-soft: #efe6d0;
  --accent: #14213d;
  --accent-2: #b8893a;
  --accent-soft: #fbf2dd;
  --shadow-sm: 0 1px 2px rgba(20, 33, 61, .05);
  --shadow: 0 8px 24px rgba(20, 33, 61, .07);
  --ph-bg-1: #fcfaf3;
  --ph-bg-2: #f5efe0;
  --ph-bg-3: #ece2cb;
  --ph-grid: #c5b59a;
  --ph-cap-a-1: #14213d;
  --ph-cap-a-2: #b8893a;
  --ph-cap-b-1: #14213d;
  --ph-cap-b-2: #1d4ed8;
  --ph-cap-c-1: #14213d;
  --ph-cap-c-2: #b8893a;
  --ph-flow-1: #14213d;
  --ph-flow-2: #b8893a;
}

[data-theme="teal"] {
  --bg: #f1f5f4;
  --bg-card: #ffffff;
  --bg-soft: #e8efee;
  --ink: #0d2e2a;
  --ink-2: #4f6663;
  --ink-3: #8a9c98;
  --line: #d6e1dd;
  --line-soft: #e1ebe8;
  --accent: #0f766e;
  --accent-2: #14b8a6;
  --accent-soft: #daf1ed;
  --shadow-sm: 0 1px 2px rgba(13, 46, 42, .05);
  --shadow: 0 8px 24px rgba(13, 46, 42, .07);
  --ph-bg-1: #f3faf8;
  --ph-bg-2: #e8f1ee;
  --ph-bg-3: #dbe9e5;
  --ph-grid: #9fc8c1;
  --ph-cap-a-1: #0f766e;
  --ph-cap-a-2: #14b8a6;
  --ph-cap-b-1: #059669;
  --ph-cap-b-2: #0d9488;
  --ph-cap-c-1: #0f766e;
  --ph-cap-c-2: #14b8a6;
  --ph-flow-1: #0f766e;
  --ph-flow-2: #14b8a6;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

html {
  scrollbar-gutter: stable;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent-soft);
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}

a:hover {
  border-bottom-color: currentColor;
}

.num {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "cv11" 1;
  letter-spacing: 0;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.parallax-bg {
  position: fixed;
  inset: -8vh 0;
  width: 100vw;
  height: 116vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transform: translate3d(0, calc(var(--scroll, 0px) * -0.18), 0);
  will-change: transform;
  mask-image: radial-gradient(circle at 50% 40%, #000 60%, rgba(0, 0, 0, .55) 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 60%, rgba(0, 0, 0, .55) 100%);
}

.parallax-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.parallax-bg svg [fill],
.parallax-bg svg [stroke],
.parallax-bg stop,
body,
.card,
.lead,
.site-nav-link,
.theme-trigger,
.theme-item,
.theme-current,
.header-divider,
.input,
.select,
.textarea,
.btn,
a {
  transition:
    background-color 1s cubic-bezier(.4, 0, .2, 1),
    color 1s cubic-bezier(.4, 0, .2, 1),
    border-color 1s cubic-bezier(.4, 0, .2, 1),
    fill 1s cubic-bezier(.4, 0, .2, 1),
    stroke 1s cubic-bezier(.4, 0, .2, 1),
    stop-color 1s cubic-bezier(.4, 0, .2, 1);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.site-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.site-nav-link:hover {
  color: var(--ink);
  border-color: var(--ink-3);
}

.site-nav-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-nav-link.is-current {
  background: var(--accent);
  color: var(--bg-card);
  border-color: var(--accent);
}

.lead,
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead {
  padding: 32px 36px;
  margin-bottom: var(--gap);
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
  margin-left: 12px;
  padding-right: 64px;
}

.lead.has-reload .brand {
  padding-right: 138px;
}

.brand .logo {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand .logo img {
  max-width: 72px;
  max-height: 72px;
  width: auto;
  height: auto;
  display: block;
}

.brand h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  color: var(--ink);
}

.header-divider {
  border-top: 1px dashed var(--line);
  margin-top: 18px;
}

.tagline {
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
}

.header-tools {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  z-index: 50;
}

.theme-switch {
  position: relative;
}

.reload-form {
  margin: 0;
}

.reload-button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-2);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.reload-button:hover {
  color: var(--ink);
  border-color: var(--ink-3);
}

.reload-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.theme-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  outline-offset: 2px;
}

.theme-trigger:hover {
  border-color: var(--ink-3);
}

.theme-trigger:focus-visible {
  outline: 2px solid var(--accent);
}

.theme-current,
.theme-swatch {
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .65);
  flex-shrink: 0;
}

.theme-current {
  width: 20px;
  height: 20px;
}

.theme-swatch {
  width: 18px;
  height: 18px;
}

.theme-current[data-theme-preview="indigo"],
.theme-swatch-indigo {
  background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%);
}

.theme-current[data-theme-preview="navy"],
.theme-swatch-navy {
  background: linear-gradient(135deg, #14213d 0%, #b8893a 100%);
}

.theme-current[data-theme-preview="teal"],
.theme-swatch-teal {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
}

.theme-chevron {
  font-size: 10px;
  color: var(--ink-3);
  transition: transform .2s ease, color 1s cubic-bezier(.4, 0, .2, 1);
}

.theme-switch.is-open .theme-chevron {
  transform: rotate(180deg);
}

.theme-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 5px;
  box-shadow: var(--shadow);
  z-index: 60;
  opacity: 0;
  transform: translateY(-6px) scale(.97);
  transform-origin: top right;
  pointer-events: none;
  transition:
    opacity .2s ease,
    transform .2s cubic-bezier(.4, 0, .2, 1),
    background 1s cubic-bezier(.4, 0, .2, 1),
    border-color 1s cubic-bezier(.4, 0, .2, 1);
}

.theme-switch.is-open .theme-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.theme-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: none;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
  text-align: left;
  font: inherit;
  outline-offset: -2px;
}

.theme-item:hover,
.theme-item.is-active {
  background: var(--bg-soft);
}

.theme-item-name {
  flex: 1;
}

.theme-item-check {
  width: 14px;
  text-align: right;
  color: var(--accent);
  font-weight: 700;
  opacity: 0;
}

.theme-item.is-active .theme-item-check {
  opacity: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.card {
  padding: 30px 34px;
  margin-bottom: var(--gap);
  box-shadow: var(--shadow-sm);
}

.card-head {
  margin-bottom: 22px;
}

.card-head .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font: 500 11.5px/1 ui-monospace, monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.card-head .eyebrow .line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.card-head h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-head h2::before {
  content: "";
  width: 6px;
  height: 22px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 4px;
  display: inline-block;
  flex: 0 0 auto;
}

.card-head p,
.muted {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

.nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
  margin-bottom: var(--gap);
}

.nav-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
}

.nav-card:hover {
  border-color: var(--ink-3);
  box-shadow: var(--shadow);
}

.nav-card .body,
.list .content {
  flex: 1;
  min-width: 0;
}

.nav-card .title,
.list .title {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  font-size: 15px;
}

.nav-card .desc,
.list .desc {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}

.nav-card .arrow {
  color: var(--ink-3);
  flex-shrink: 0;
  transition: transform .2s ease, color 1s cubic-bezier(.4, 0, .2, 1);
}

.nav-card:hover .arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.site-search {
  margin: -4px 0 var(--gap);
}

.search-box {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  outline: none;
  padding: 8px 10px;
}

.search-input::placeholder {
  color: var(--ink-3);
}

.search-clear {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-2);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  padding: 7px 12px;
}

.search-results {
  display: none;
  gap: 0;
  margin-top: 8px;
  max-height: min(420px, 55vh);
  overflow: auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.search-results.is-open {
  display: grid;
}

.search-result {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}

.search-result:last-child {
  border-bottom: 0;
}

.search-result:hover,
.search-result:focus-visible {
  background: var(--bg-soft);
}

.search-result-title {
  font-weight: 600;
  font-size: 14px;
}

.search-result-meta,
.search-result-context,
.search-empty {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.list > li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}

.list > li.accordion-item {
  display: block;
  padding: 0;
  overflow: hidden;
}

.bullet-list {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
}

.bullet-list li + li {
  margin-top: 6px;
}

.tech-groups {
  display: grid;
  gap: 22px;
}

.tech-group-title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-2);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.req-grid,
.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}

.field.full {
  grid-column: 1 / -1;
}

.field .label,
.contact-card .label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-3);
  margin-bottom: 6px;
  font-weight: 600;
}

.field .val,
.contact-card .val {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.45;
  word-break: break-word;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}

table th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-2);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

table tr:last-child td {
  border-bottom: none;
}

table.codes td.code {
  font-family: ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  width: 110px;
}

.requisite-documents {
  display: grid;
  gap: 18px;
}

.requisite-document {
  margin: 0;
}

.requisite-document a {
  display: block;
  border: 0;
}

.requisite-document img {
  display: block;
  width: min(100%, 820px);
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.requisite-document figcaption {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 13px;
  text-align: center;
}

.price-table-wrap {
  overflow-x: auto;
  margin-top: 4px;
}

table.price td.price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  width: 130px;
}

table.price.price--software th,
table.price.price--software td.price {
  white-space: normal;
  vertical-align: top;
  width: auto;
  min-width: 7.5rem;
  max-width: 12rem;
  line-height: 1.35;
  font-size: 13.5px;
}

table.price.price--software th .th-hint {
  display: inline-block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
  text-transform: none;
}

.price-item-name {
  font-weight: 600;
  color: var(--ink);
}

.price-item-desc,
.price-item-note {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
  font-weight: 400;
}

.price-item-note {
  font-style: italic;
  color: var(--ink-3);
}

.price-section-title {
  margin: 28px 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.price-section-title:first-of-type {
  margin-top: 0;
}

.price-notes {
  margin: 18px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-item {
  display: grid;
  gap: 0;
  padding: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink-3);
  font-size: 12.5px;
}

.news-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.accordion-item {
  scroll-margin-top: 18px;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.accordion-trigger:hover,
.accordion-trigger:focus-visible {
  background: rgba(255, 255, 255, .45);
}

.accordion-title {
  min-width: 0;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}

.accordion-indicator {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 auto;
}

/* шеврон ▼ / ▲ вместо +/− */
.accordion-indicator::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  border-radius: 0;
  background: transparent;
  transform: rotate(45deg);
  transition: transform 0.16s ease, top 0.16s ease;
}

.accordion-indicator::after {
  content: none;
}

.accordion-item.is-open .accordion-indicator::before {
  top: 8px;
  transform: rotate(-135deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .18s ease, opacity .14s ease;
}

.accordion-item.is-open .accordion-panel {
  opacity: 1;
}

.accordion-panel > .article-body {
  padding: 0 18px 18px;
}

.accordion-panel > .article-media {
  margin: 0 18px 18px;
}

.program-certificate {
  width: min(100%, 520px);
  margin: 8px 0 22px;
}

.accordion-panel > .program-certificate {
  margin: 0 18px 18px;
}

.program-certificate-link {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease;
}

.program-certificate-link:hover,
.program-certificate-link:focus-visible {
  border-color: var(--accent);
  background: var(--bg-card);
}

.program-certificate-preview {
  display: block;
  width: 84px;
  aspect-ratio: 1938 / 2739;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.program-certificate-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-certificate-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.program-certificate-copy strong {
  font-size: 15px;
  line-height: 1.35;
}

.program-certificate-kicker {
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.program-certificate-number {
  color: var(--ink-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.program-certificate-action {
  margin-top: 2px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
}

.news-trigger {
  padding: 18px 20px;
}

.news-trigger-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.article-body {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

.article-media {
  margin: 22px 0;
}

.article-media img {
  display: block;
  width: min(100%, 760px);
  height: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.article-body p {
  margin: 0;
}

.article-body p + p {
  margin-top: 12px;
}

.article-body h3 {
  margin: 20px 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.article-body ul {
  margin: 0;
  padding-left: 20px;
}

.article-body li + li {
  margin-top: 7px;
}

.form {
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-2);
}

.req {
  color: var(--accent);
}

.input,
.select,
.textarea {
  font: inherit;
  width: 100%;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  line-height: 1.4;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--ink-3);
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--ink-3);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.textarea {
  resize: vertical;
  min-height: 120px;
  max-height: 320px;
}

.select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-2) 50%),
    linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) center,
    calc(100% - 12px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.hint {
  font-size: 12px;
  color: var(--ink-3);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

.consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.captcha {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
}

.captcha .label {
  font-size: 13px;
  color: var(--ink-2);
  flex: 1;
  min-width: 0;
}

.captcha .answer {
  width: 84px;
  padding: 8px 10px;
  font: inherit;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--bg-card);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  box-shadow: var(--shadow);
}

.btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(47, 138, 82, 0.08);
  box-shadow: none;
}

.partner-login-card .partner-login-form {
  max-width: 28rem;
  margin-top: 8px;
}

.partner-login-hint {
  margin-top: 18px;
  max-width: 40rem;
}

.flash {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
}

.flash--ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.flash--err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.empty-state {
  padding: 18px 20px;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
}

footer {
  text-align: center;
  color: var(--ink-3);
  font-size: 12.5px;
  margin-top: 30px;
}

@media (max-width: 760px) {
  .wrap {
    padding: 20px 14px 60px;
  }

  .lead,
  .card {
    padding: 22px 20px;
    border-radius: 14px;
  }

  .brand {
    margin-left: 0;
    padding-right: 54px;
  }

  .lead.has-reload .brand {
    padding-right: 124px;
  }

  .brand h1 {
    font-size: 24px;
  }

  .brand .logo {
    max-width: 60px;
    max-height: 60px;
  }

  .brand .logo img {
    max-width: 60px;
    max-height: 60px;
  }

  .header-tools {
    top: 12px;
    right: 12px;
  }

  .req-grid,
  .contacts,
  .field-row {
    grid-template-columns: 1fr;
  }

  .card-head h2 {
    font-size: 18px;
  }

  .search-box {
    flex-direction: column;
  }

  .search-clear {
    align-self: flex-start;
  }

  .accordion-trigger,
  .news-trigger {
    padding: 14px 16px;
  }

  .accordion-panel > .article-body {
    padding: 0 16px 16px;
  }

  .accordion-panel > .article-media {
    margin: 0 16px 16px;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-height: 520px) {
  .parallax-bg {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  .parallax-bg,
  .parallax-bg svg [fill],
  .parallax-bg svg [stroke],
  .parallax-bg stop {
    transition: none !important;
    animation: none !important;
  }

  .parallax-bg {
    transform: none !important;
  }
}

/* ========== brand text wrapper (default + skins) ========== */
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.brand-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}


/* ========== skin: slate (ООО «Кверти» / qwertyperm) ==========
   «Ведомственный каталог»: бумага, серифы, двойные линейки, боковая
   картотека. Ключ скина «slate» сохранён исторически (metadata/deploy).
   ========== */

html[data-skin="slate"],
html[data-theme="slate"] {
  --bg: #f1ebdf;
  --bg-card: #f8f3e7;
  --bg-soft: #e7dfcd;
  --ink: #211d16;
  --ink-2: #5b5343;
  --ink-3: #8d8371;
  --line: #cfc4ab;
  --line-soft: #e0d7c1;
  --accent: #1f5c3a;
  --accent-2: #2f8a52;
  --accent-soft: #e0ebe3;
  --radius: 0;
  --radius-sm: 0;
  --shadow-sm: none;
  --shadow: none;
  --gap: 20px;
  --drawer-w: 320px;
  --ledger-dark: #e6e8ea;
  --ledger-dark-2: #d5d8dc;
  --ledger-paper-inv: #1c2128;
  --rail-w: 268px;
  --strip-h: 54px;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-mono: "Cascadia Mono", Consolas, "Roboto Mono", ui-monospace, monospace;
}

body.skin-slate {
  background: var(--bg);
  color: var(--ink);
  padding-top: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.62;
}

body.skin-slate a {
  color: var(--accent);
  border-bottom: 0;
  text-decoration: underline;
  text-decoration-color: rgba(31, 92, 58, 0.4);
  text-underline-offset: 3px;
}

body.skin-slate a:hover {
  border-bottom: 0;
  text-decoration-color: currentColor;
}

/* короткие ховеры вместо базовых «тематических» переходов в 1s */
body.skin-slate a,
body.skin-slate .card,
body.skin-slate .btn,
body.skin-slate .input,
body.skin-slate .select,
body.skin-slate .textarea {
  transition-duration: 0.15s;
}

body.skin-slate .ledger-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 252, 243, 0.6), transparent 60%),
    radial-gradient(90% 70% at 100% 100%, rgba(122, 96, 58, 0.1), transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(122, 96, 58, 0.08), transparent 55%),
    var(--bg);
}

/* —— shell: фиксированная боковая картотека + бумажная полоса —— */
.ledger-shell {
  display: block;
  min-height: 100vh;
  /* место под fixed-rail слева */
  padding-left: var(--rail-w);
}

.ledger-rail {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: var(--rail-w);
  height: 100vh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 30px 20px 24px 26px;
  background: var(--ledger-dark);
  color: var(--ledger-paper-inv);
  box-shadow: inset 4px 0 0 var(--accent-2);
  border-right: 1px solid #c5c8cc;
  scrollbar-width: thin;
  scrollbar-color: #b0b4b9 transparent;
}

.ledger-brand {
  display: block;
  color: var(--ledger-paper-inv);
  text-decoration: none;
  border-bottom: 0;
}

.ledger-brand:hover {
  border-bottom: 0;
  text-decoration: none;
  color: var(--accent);
}

.ledger-brand-logo {
  display: block;
  width: 70px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 12px;
}

.ledger-brand-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.ledger-brand-sub {
  display: block;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.ledger-nav {
  display: flex;
  flex-direction: column;
}

.ledger-nav-link {
  display: block;
  padding: 10px 8px;
  color: #2a3038;
  font-family: var(--font-serif);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px dotted #c5c8cc;
}

.ledger-nav-link:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px dotted #c5c8cc;
  text-decoration: none;
}

.ledger-nav-link.is-current {
  color: var(--accent);
  background: linear-gradient(90deg, rgba(47, 138, 82, 0.14), transparent 75%);
  box-shadow: inset 2px 0 0 var(--accent-2);
}

.ledger-nav-link:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: -2px;
}

.ledger-rail-section {
  border-top: 1px solid #c5c8cc;
  padding-top: 16px;
}

.ledger-rail-title {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b737c;
  margin-bottom: 10px;
}

body.skin-slate .ledger-rail-external {
  display: block;
  padding: 4px 0;
  font-family: var(--font-serif);
  font-size: 14.5px;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(31, 92, 58, 0.4);
  text-underline-offset: 3px;
}

body.skin-slate .ledger-rail-external:hover {
  color: var(--accent-2);
  text-decoration-color: currentColor;
}

.ledger-rail-contacts {
  margin-top: auto;
}

.ledger-rail-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #3a424c;
}

.ledger-rail-contact > span:first-child {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b737c;
}

body.skin-slate .ledger-rail-contact a {
  color: var(--ledger-paper-inv);
  text-decoration-color: rgba(31, 92, 58, 0.35);
}

body.skin-slate .ledger-rail-contact a:hover {
  color: var(--accent);
}

.ledger-rail .reload-form {
  margin: 6px 0 0;
}

body.skin-slate .reload-button {
  border-radius: 0;
  background: #fff;
  border: 1px solid #c5c8cc;
  color: #4a525c;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  min-height: 0;
  padding: 7px 12px;
}

body.skin-slate .reload-button:hover {
  border-color: var(--accent-2);
  color: var(--accent);
}

/* —— мобильная шапка —— */
.ledger-strip {
  display: none;
}

/* —— бумажная полоса —— */
.ledger-page {
  width: 100%;
  max-width: 948px;
  margin: 0 auto;
  padding: 0 52px 84px;
}

.ledger-dateline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* —— шапка-бланк —— */
.ledger-hero {
  position: relative;
  padding: 44px 0 0;
}

.ledger-hero-kicker {
  margin-bottom: 14px;
  padding-right: 210px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}

.ledger-hero-title {
  margin: 0;
  padding-right: 210px;
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--ink);
}

.ledger-hero-rule {
  height: 8px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin: 18px 0 0;
  width: 100%;
}

.ledger-hero-lead {
  margin: 16px 0 0;
  max-width: 68ch;
  padding-right: 210px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink-2);
}

.ledger-stamp {
  position: absolute;
  right: -4px;
  top: 42px;
  width: 206px;
  height: 96px;
  display: grid;
  place-items: center;
  opacity: 0.44;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.ledger-stamp img {
  display: block;
  width: 100%;
  height: auto;
}

/* —— поиск по картотеке —— */
body.skin-slate .ledger-search {
  position: relative;
  margin: 30px 0 0;
}

body.skin-slate .ledger-search .search-box {
  align-items: center;
  gap: 10px;
  padding: 2px 0 7px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink-3);
  border-radius: 0;
  box-shadow: none;
}

body.skin-slate .ledger-search .search-box:focus-within {
  border-bottom-color: var(--accent);
}

.ledger-search .search-icon {
  color: var(--ink-3);
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
}

body.skin-slate .ledger-search .search-input {
  font-family: var(--font-serif);
  font-size: 15.5px;
  color: var(--ink);
  background: transparent;
  padding: 6px 0;
}

body.skin-slate .ledger-search .search-input::placeholder {
  font-style: italic;
  color: var(--ink-3);
}

body.skin-slate .ledger-search .search-clear {
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 9px;
  cursor: pointer;
}

body.skin-slate .ledger-search .search-clear:hover {
  border-color: var(--accent);
  color: var(--accent);
}

body.skin-slate .ledger-search .search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  margin-top: 0;
  max-height: min(420px, 58vh);
  background: var(--bg-card);
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: 0 22px 48px rgba(33, 26, 15, 0.24);
}

body.skin-slate .search-result {
  padding: 12px 16px;
  border-bottom: 1px dotted var(--line);
}

body.skin-slate .search-result:hover,
body.skin-slate .search-result:focus-visible {
  background: var(--accent-soft);
}

body.skin-slate .search-result-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
}

body.skin-slate .search-result-meta {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

body.skin-slate .search-result-context,
body.skin-slate .search-empty {
  font-size: 13px;
  color: var(--ink-2);
}

body.skin-slate .search-empty {
  font-style: italic;
  padding: 14px 16px;
}

/* —— разделы-ведомости —— */
.ledger-main {
  padding-top: 36px;
}

body.skin-slate .card {
  margin: 0 0 48px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

body.skin-slate .card::before {
  content: none;
}

body.skin-slate .card-head {
  position: relative;
  margin: 0;
  padding: 0 0 14px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--ink);
}

body.skin-slate .card-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: var(--ink);
}

body.skin-slate .card-head .eyebrow {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
}

body.skin-slate .card-head .eyebrow .line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 3px, transparent 3px 8px);
}

body.skin-slate .card-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.25;
  gap: 0;
}

body.skin-slate .card-head h2::before {
  content: none;
}

body.skin-slate .card-head p {
  margin: 8px 0 0;
  font-size: 14px;
  font-style: italic;
  color: var(--ink-2);
}

body.skin-slate .muted {
  font-size: 13px;
  font-style: italic;
  color: var(--ink-3);
}

body.skin-slate .card > .list,
body.skin-slate .card > .article-body,
body.skin-slate .card > .tech-groups,
body.skin-slate .card > .req-grid,
body.skin-slate .card > p,
body.skin-slate .card > .news-list,
body.skin-slate .card > .price-table-wrap,
body.skin-slate .card > .price-notes,
body.skin-slate .card > form,
body.skin-slate .card > table,
body.skin-slate .card > .requisite-documents,
body.skin-slate .card > .empty-state {
  padding-left: 0;
  padding-right: 0;
}

body.skin-slate .card > p {
  margin: 16px 0 0;
  font-size: 14.5px;
}

body.skin-slate .card > .article-media {
  margin: 8px 0 4px;
}

/* —— строки списков —— */
body.skin-slate .list {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
  display: block;
  gap: 0;
}

body.skin-slate .list > li {
  display: block;
  padding: 15px 0;
  border-bottom: 1px dotted var(--line);
  background: transparent !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.skin-slate .list > li > .content {
  min-width: 0;
}

body.skin-slate .list .title {
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0;
}

body.skin-slate .list .desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* —— оглавление (главная) —— */
body.skin-slate .ledger-toc-head {
  position: relative;
  padding: 0 0 14px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

body.skin-slate .ledger-toc-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: var(--ink);
}

body.skin-slate .nav-cards {
  display: block;
  margin: 0 0 48px;
}

body.skin-slate .nav-card {
  position: static;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 14px;
  align-items: start;
  min-height: 0;
  padding: 17px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px dotted var(--line);
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  text-decoration: none;
  overflow: visible;
  transition: background 0.15s;
}

body.skin-slate .nav-card::before,
body.skin-slate .nav-card::after {
  content: none;
}

body.skin-slate .nav-card:hover {
  background: rgba(47, 138, 82, 0.07);
  border-color: var(--line);
  transform: none;
}

body.skin-slate .nav-card .body {
  flex: none;
  min-width: 0;
}

body.skin-slate .nav-card .title {
  margin-bottom: 5px;
  font-family: var(--font-serif);
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition: color 0.15s;
}

body.skin-slate .nav-card:hover .title {
  color: var(--accent);
}

body.skin-slate .nav-card .desc {
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.skin-slate .nav-card .arrow {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-2);
  transition: transform 0.15s;
}

body.skin-slate .nav-card:hover .arrow {
  transform: translateX(4px);
}

/* —— технологии: словарные строки —— */
body.skin-slate .tech-groups {
  display: block;
  padding-top: 4px;
}

body.skin-slate .tech-group {
  display: grid;
  grid-template-columns: 212px 1fr;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px dotted var(--line);
}

body.skin-slate .tech-group:last-child {
  border-bottom: 0;
}

body.skin-slate .tech-group-title {
  margin: 0;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

body.skin-slate .tech-badges {
  display: block;
  gap: 0;
}

body.skin-slate .tech-badge {
  display: inline;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
}

body.skin-slate .tech-badge + .tech-badge::before {
  content: "· ";
  color: var(--accent-2);
  font-weight: 700;
}

body.skin-slate .tech-badge:hover {
  border: 0;
  color: var(--ink);
}

/* —— аккордеоны (программы, новости) —— */
body.skin-slate .accordion-item,
body.skin-slate .list > li.accordion-item {
  display: block;
  padding: 0;
  border-bottom: 1px dotted var(--line);
}

body.skin-slate .accordion-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 17px 2px 17px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
}

body.skin-slate .accordion-trigger:hover {
  background: transparent;
  color: var(--accent);
}

body.skin-slate .accordion-title {
  flex: 1;
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0;
}

body.skin-slate .accordion-indicator {
  background: transparent;
  border: 0;
}

body.skin-slate .accordion-indicator::before {
  border-right-color: var(--accent);
  border-bottom-color: var(--accent);
}

body.skin-slate .accordion-item.is-open .accordion-indicator::before {
  border-right-color: var(--accent-2);
  border-bottom-color: var(--accent-2);
}

body.skin-slate .accordion-item.is-open .accordion-trigger {
  color: var(--accent);
}

body.skin-slate .accordion-panel > .article-body {
  padding: 2px 0 20px;
}

body.skin-slate .article-body {
  font-size: 15px;
  line-height: 1.72;
}

body.skin-slate .article-body p {
  margin: 0 0 12px;
}

body.skin-slate .article-body p:last-child {
  margin-bottom: 0;
}

body.skin-slate .article-body h3 {
  margin: 20px 0 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

body.skin-slate .article-body ul {
  list-style: "—  ";
  margin: 8px 0 14px;
  padding-left: 1.35em;
}

body.skin-slate .article-body li {
  margin-bottom: 7px;
  color: var(--ink-2);
}

body.skin-slate .article-body li::marker {
  color: var(--accent-2);
}

body.skin-slate .article-media {
  margin: 6px 0 22px;
}

body.skin-slate .article-media img {
  border: 1px solid var(--ink-2);
  border-radius: 0;
  padding: 6px;
  background: var(--bg-card);
}

/* —— новости —— */
body.skin-slate .news-list {
  display: block;
  padding-top: 4px;
}

body.skin-slate .news-item {
  background: transparent;
  border: 0;
  border-bottom: 1px dotted var(--line);
  border-radius: 0;
  box-shadow: none;
}

body.skin-slate .news-trigger {
  padding: 16px 2px 16px 0;
}

body.skin-slate .news-title {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
}

body.skin-slate .news-meta {
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

body.skin-slate .news-meta .num {
  color: var(--accent);
}

/* —— реквизиты —— */
body.skin-slate .req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  padding: 4px 0 0;
}

body.skin-slate .req-grid .field {
  padding: 11px 0;
  border-bottom: 1px dotted var(--line);
  background: transparent;
  border-radius: 0;
}

body.skin-slate .req-grid .field .label {
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}

body.skin-slate .req-grid .field .val {
  font-family: var(--font-serif);
  font-size: 15px;
}

body.skin-slate .req-grid .field .val.num {
  font-family: var(--font-mono);
  font-size: 14px;
}

body.skin-slate table {
  width: 100%;
  border-collapse: collapse;
}

body.skin-slate th {
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--ink);
  padding: 9px 14px 9px 0;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

body.skin-slate td {
  border: 0;
  border-bottom: 1px dotted var(--line);
  padding: 11px 14px 11px 0;
  vertical-align: top;
  font-size: 14.5px;
}

body.skin-slate td.code,
body.skin-slate table.price td.price {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 400;
}

body.skin-slate .requisite-documents {
  gap: 24px;
  padding-top: 12px;
}

body.skin-slate .requisite-document img {
  border: 1px solid var(--ink-2);
  border-radius: 0;
  padding: 8px;
  background: #fff;
  box-shadow: none;
}

body.skin-slate .requisite-document figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* —— прейскурант —— */
body.skin-slate .price-section-title {
  margin: 26px 0 2px;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

body.skin-slate .price-table-wrap {
  padding-bottom: 4px;
}

body.skin-slate .price-notes {
  list-style: "—  ";
  margin: 18px 0 0;
  padding-left: 1.3em;
  font-size: 13px;
  font-style: italic;
  color: var(--ink-2);
}

body.skin-slate .price-notes li::marker {
  color: var(--accent-2);
}

/* —— форма-бланк —— */
body.skin-slate .card > form {
  padding-top: 20px;
}

body.skin-slate .form label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

body.skin-slate .form .hint,
body.skin-slate .form-actions .hint {
  font-family: var(--font-serif);
  font-size: 12.5px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-3);
}

body.skin-slate .req {
  color: var(--accent);
  font-weight: 700;
}

body.skin-slate .input,
body.skin-slate .select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink-3);
  border-radius: 0;
  padding: 8px 2px;
  font-family: var(--font-serif);
  font-size: 15.5px;
  color: var(--ink);
}

body.skin-slate .textarea {
  background: transparent;
  border: 1px solid var(--ink-3);
  border-radius: 0;
  padding: 10px 12px;
  font-family: var(--font-serif);
  font-size: 15.5px;
  color: var(--ink);
}

body.skin-slate .input::placeholder,
body.skin-slate .textarea::placeholder {
  font-style: italic;
  color: var(--ink-3);
}

body.skin-slate .input:focus,
body.skin-slate .select:focus {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: 0 1px 0 0 var(--accent);
}

body.skin-slate .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

body.skin-slate .captcha {
  background: transparent;
  border: 1px dashed var(--ink-3);
  border-radius: 0;
  padding: 13px 15px;
}

body.skin-slate .captcha .label {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
}

body.skin-slate .captcha .answer {
  width: 76px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink-3);
  border-radius: 0;
  padding: 7px 8px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink);
}

body.skin-slate .captcha .answer:focus {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: 0 1px 0 0 var(--accent);
}

body.skin-slate .form label.consent {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
}

body.skin-slate .consent input[type="checkbox"] {
  accent-color: var(--accent);
}

body.skin-slate .btn,
body.skin-slate button.btn {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 13px 28px;
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

body.skin-slate .btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

body.skin-slate .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body.skin-slate .flash {
  border-radius: 0;
  font-size: 13.5px;
}

body.skin-slate .flash--ok {
  background: #e7eedd;
  color: #2f5b40;
  border: 1px solid #9dbd9a;
  border-left-width: 3px;
}

body.skin-slate .flash--err {
  background: #f4e0d6;
  color: #8c2f21;
  border: 1px solid #cf9a86;
  border-left-width: 3px;
}

/* —— контакты (обратная связь) —— */
body.skin-slate .contacts {
  display: block;
  position: relative;
  margin-top: 46px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}

body.skin-slate .contacts::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  height: 1px;
  background: var(--ink);
}

body.skin-slate .contact-card {
  display: grid;
  grid-template-columns: 172px 1fr;
  gap: 18px;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px dotted var(--line);
  border-radius: 0;
  box-shadow: none;
}

body.skin-slate .contact-card .label {
  margin: 0;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}

body.skin-slate .contact-card .val {
  font-family: var(--font-serif);
  font-size: 15px;
}

/* —— пустые разделы —— */
body.skin-slate .empty-state {
  margin-top: 8px;
  padding: 30px 18px;
  border: 1px dashed var(--line);
  background: transparent;
  text-align: center;
  font-style: italic;
  color: var(--ink-3);
}

/* —— колофон —— */
.ledger-footer {
  margin-top: 62px;
  padding: 0;
  border: 0;
  text-align: left;
}

.ledger-footer-rule {
  height: 8px;
  border-top: 1px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  margin-bottom: 16px;
}

.ledger-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

.ledger-footer-brand {
  font-weight: 700;
  color: var(--ink);
}

.ledger-footer-sep {
  opacity: 0.4;
}

.ledger-footer-note {
  margin: 0 0 8px;
  max-width: 68ch;
  font-size: 13px;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-2);
}

.ledger-footer-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* —— мобильная шапка + ящик —— */
.drawer-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 13px;
  background: var(--accent-2);
  color: #fff;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.drawer-trigger:hover {
  background: #267a48;
}

.drawer-trigger:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.drawer-trigger-bars {
  display: block;
  width: 15px;
  height: 11px;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}

.drawer-trigger-label {
  line-height: 1;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(28, 33, 40, 0.35);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  backdrop-filter: blur(2px);
}

.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(var(--drawer-w), 94vw);
  height: 100%;
  background: var(--ledger-dark);
  color: var(--ledger-paper-inv);
  display: flex;
  flex-direction: column;
  padding: 22px 18px 28px;
  box-shadow: -12px 0 32px rgba(28, 33, 40, 0.12);
  transform: translateX(100%);
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow-y: auto;
  border-left: 3px solid var(--accent-2);
}

.drawer-panel.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #c5c8cc;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.drawer-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.drawer-brand strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer-brand span {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.drawer-close {
  width: 36px;
  height: 36px;
  border: 1px solid #c5c8cc;
  background: #fff;
  color: var(--ledger-paper-inv);
  font-size: 22px;
  line-height: 1;
  border-radius: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.drawer-close:hover {
  border-color: var(--accent-2);
  color: var(--accent);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}

.drawer-link {
  display: block;
  padding: 12px 10px;
  color: #2a3038;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 15px;
  border-bottom: 1px dotted #c5c8cc;
  border-radius: 0;
}

.drawer-link:hover {
  background: rgba(255, 255, 255, 0.55);
  color: var(--accent);
  border-bottom: 1px dotted #c5c8cc;
  text-decoration: none;
}

.drawer-link.is-current {
  box-shadow: inset 2px 0 0 var(--accent-2);
  background: linear-gradient(90deg, rgba(47, 138, 82, 0.14), transparent 75%);
  color: var(--accent);
}

.drawer-section {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #c5c8cc;
}

.drawer-section-title {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b737c;
}

.drawer-external {
  display: block;
  margin-bottom: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(47, 138, 82, 0.4);
  border-radius: 0;
  background: rgba(47, 138, 82, 0.08);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.drawer-external:hover {
  background: rgba(47, 138, 82, 0.16);
  color: var(--accent-2);
  border-bottom-color: rgba(47, 138, 82, 0.4);
}

.drawer-contacts {
  margin-top: auto;
  padding-top: 18px;
}

.drawer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #3a424c;
}

.drawer-contact > span:first-child {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b737c;
}

.drawer-contact a {
  color: var(--ledger-paper-inv);
  text-decoration: underline;
  text-decoration-color: rgba(31, 92, 58, 0.35);
  text-underline-offset: 3px;
  border-bottom: 0;
  width: fit-content;
}

.drawer-contact a:hover {
  color: var(--accent);
}

body.drawer-is-open {
  overflow: hidden;
}

/* —— адаптив —— */
@media (max-width: 1180px) {
  html[data-skin="slate"],
  html[data-theme="slate"] {
    --rail-w: 236px;
  }

  .ledger-page {
    padding: 0 34px 72px;
  }

  .ledger-hero-kicker,
  .ledger-hero-title,
  .ledger-hero-lead {
    padding-right: 190px;
  }
}

@media (max-width: 1024px) {
  .ledger-stamp {
    display: none;
  }

  .ledger-hero-kicker,
  .ledger-hero-title,
  .ledger-hero-lead {
    padding-right: 0;
  }
}

@media (max-width: 960px) {
  body.skin-slate {
    padding-top: var(--strip-h);
  }

  .ledger-shell {
    display: block;
    min-height: 0;
    padding-left: 0;
  }

  .ledger-rail {
    display: none;
  }

  .ledger-strip {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: var(--strip-h);
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    background: var(--ledger-dark);
    color: var(--ledger-paper-inv);
    border-bottom: 2px solid var(--accent-2);
    box-shadow: 0 4px 14px rgba(28, 33, 40, 0.08);
  }

  body.skin-slate .ledger-strip-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--ledger-paper-inv);
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
  }

  .ledger-strip-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .ledger-page {
    max-width: 760px;
    padding: 0 20px 60px;
  }

  .ledger-hero {
    padding-top: 30px;
  }
}

@media (max-width: 720px) {
  .ledger-hero-title {
    font-size: 2rem;
  }

  .ledger-dateline {
    letter-spacing: 0.16em;
  }

  body.skin-slate .req-grid {
    grid-template-columns: 1fr;
  }

  body.skin-slate .tech-group {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }

  body.skin-slate .tech-group-title {
    padding-top: 0;
  }

  body.skin-slate .contact-card {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  body.skin-slate .contact-card .label {
    padding-top: 0;
  }

  .drawer-trigger-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .drawer-trigger {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .ledger-page {
    padding: 0 14px 48px;
  }

  .ledger-hero-title {
    font-size: 1.8rem;
  }

  .ledger-dateline span:last-child {
    display: none;
  }

  body.skin-slate .card-head h2,
  body.skin-slate .ledger-toc-head {
    font-size: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drawer-panel,
  .drawer-overlay,
  body.skin-slate .nav-card,
  body.skin-slate .nav-card .arrow {
    transition: none !important;
  }
}
