.gost-page .landing { padding: 7rem 0 4rem; }
.landing__eyebrow { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: #01696f; margin: 0 0 0.75rem; }
.landing__h1 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 1.2; color: #28251d; margin: 0 0 1rem; max-width: 44rem; }
.landing__lead { font-size: 1.05rem; line-height: 1.55; color: #28251d; max-width: 44rem; margin: 0 0 1.5rem; }
.breadcrumbs { font-size: 0.85rem; color: #6b6963; margin: 0 0 1.5rem; }
.breadcrumbs a { color: #01696f; text-decoration: none; }
.gost-disc { max-width: 44rem; font-size: 0.88rem; line-height: 1.5; color: #6b6963; margin: 0 0 2rem; padding: 0.85rem 1rem; border-left: 3px solid #01696f; background: rgba(1,105,111,0.06); }
.gost-h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; margin: 2.5rem 0 1rem; color: #28251d; }
.gost-entries { display: grid; gap: 0.85rem; margin: 0 0 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 560px) and (max-width: 799px) { .gost-entries { grid-template-columns: 1fr 1fr; } }
@media (min-width: 800px) { .gost-entries { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gost-entry { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(40,37,29,0.08); padding: 1.15rem 1.2rem; color: inherit; text-decoration: none; min-height: 0; }
.gost-entry:hover { border-color: #01696f; }
.gost-entry__top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.45rem; }
.gost-entry__n { display: inline-block; font-size: 0.75rem; letter-spacing: 0.08em; color: #01696f; }
.gost-entry h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.28rem; line-height: 1.25; margin: 0 0 0.45rem; }
.gost-entry p { margin: 0; color: #6b6963; font-size: 0.88rem; line-height: 1.45; }
.gost-entry__ai {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #01696f;
  border: 1px solid rgba(1,105,111,0.32);
  padding: 0.2rem 0.42rem;
  line-height: 1;
}
.gost-entry__ai-icon { width: 11px; height: 11px; display: block; }
.gost-minis, .gost-chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; }
.gost-mini { display: inline-block; padding: 0.45rem 0.8rem; border: 1px solid rgba(40,37,29,0.12); background: #fff; font-size: 0.9rem; }
.gost-mini:hover { border-color: #2C4A3E; }
.gost-chip-grid { display: grid; gap: 0.75rem; }
@media (min-width: 700px) { .gost-chip-grid { grid-template-columns: 1fr 1fr 1fr; } }
.gost-chip-card { display: block; background: #fff; border: 1px solid rgba(40,37,29,0.08); padding: 1.1rem 1.2rem; text-decoration: none; color: inherit; }
.gost-chip-card:hover { border-color: #2C4A3E; }
.gost-chip-card h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.gost-chip-card p { margin: 0; font-size: 0.88rem; color: #6b6963; }

.gost-filters {
  margin: 0 0 2rem;
  border-top: 1px solid #E0DDD8;
}
.gost-filter-group {
  padding: 1.15rem 0 1.25rem;
  border-bottom: 1px solid #E0DDD8;
}
.gost-filter-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B6B6B;
  margin: 0 0 0.7rem;
}
.gost-chip {
  border: 1px solid #E0DDD8;
  background: transparent;
  color: #1A1A1A;
  padding: 0.55rem 0.9rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  border-radius: 0;
  transition: background 250ms cubic-bezier(0.16, 1, 0.3, 1), color 250ms cubic-bezier(0.16, 1, 0.3, 1), border-color 250ms cubic-bezier(0.16, 1, 0.3, 1);
}
.gost-chip:hover {
  border-color: #2C4A3E;
  color: #2C4A3E;
}
.gost-chip.is-on {
  background: #2C4A3E;
  color: #fff;
  border-color: #2C4A3E;
}
.gost-chip--ghost { background: transparent; }
.gost-search {
  width: 100%;
  max-width: 36rem;
  padding: 0.85rem 0;
  margin: 1.25rem 0 0;
  border: 0;
  border-bottom: 1px solid #E0DDD8;
  background: transparent;
  font-size: 0.95rem;
}
.gost-search:focus {
  outline: none;
  border-bottom-color: #2C4A3E;
}
.gost-count { font-size: 0.88rem; color: #6B6B6B; margin: 0 0 0.5rem; }

.gost-cards { display: flex; flex-direction: column; gap: 2rem; }
.gost-chapter { margin: 0; }
.gost-chapter__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2C4A3E;
  margin: 0 0 0.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #E0DDD8;
}
.gost-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #E0DDD8;
  padding: 1.25rem 0 1.35rem;
}
.gost-pr { background: #fff; border: 1px solid rgba(40,37,29,0.08); padding: 1.1rem 1.2rem; }
.gost-card__id {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  margin: 0 0 0.35rem;
}
.gost-card__where {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: #6B6B6B;
}
.gost-card__pid, .gost-pr__meta {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #2C4A3E;
}
.gost-pr__meta {
  margin: 0 0 0.25rem;
}
.gost-card h3, .gost-pr h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  color: #1A1A1A;
  margin: 0 0 0.45rem;
}
.gost-card p, .gost-pr p { margin: 0 0 0.5rem; font-size: 0.92rem; color: #3d3a34; }
.gost-card__lead {
  margin: 0 0 0.85rem !important;
  font-size: 0.92rem !important;
  line-height: 1.55;
  color: #6B6B6B !important;
  max-width: 46rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.gost-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}
.gost-card__more { min-width: 0; }
.gost-card__more[open] { flex: 1 1 100%; }
.gost-card__more > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B6B6B;
  padding: 0.2rem 0;
  transition: color 250ms cubic-bezier(0.16, 1, 0.3, 1);
}
.gost-card__more > summary::-webkit-details-marker { display: none; }
.gost-card__more > summary:hover { color: #2C4A3E; }
.gost-card__chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.gost-card__more[open] > summary { color: #2C4A3E; }
.gost-card__more[open] .gost-card__chevron { transform: rotate(180deg); }
.gost-card__body {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid #E0DDD8;
  max-width: 46rem;
  max-height: 22rem;
  overflow: hidden;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #3d3a34;
}
.gost-card__body.is-clipped::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events: none;
}
.gost-card__body p { margin: 0 0 0.75rem; }
.gost-card__body p:last-child { margin-bottom: 0; }
.gost-card__link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2C4A3E;
  text-decoration: none;
}
.gost-card__link:hover { text-decoration: underline; }
.gost-pr-group.is-off { display: none; }
.gost-pr-grid { display: grid; gap: 0.85rem; margin: 0 0 2rem; }
@media (min-width: 800px) { .gost-pr-grid { grid-template-columns: 1fr 1fr; } }
.gost-pr__mech { font-size: 0.85rem !important; color: #6b6963 !important; }
.gost-sec-grid { display: grid; gap: 0.6rem; }
.gost-sec { display: flex; gap: 0.85rem; align-items: baseline; background: #fff; border: 1px solid rgba(40,37,29,0.08); padding: 0.85rem 1rem; text-decoration: none; color: inherit; }
.gost-sec span { color: #01696f; font-weight: 600; min-width: 2.2rem; }
.gost-sec--v { border-color: #01696f; }
.gost-toc {
  max-width: 44rem;
  margin-top: 3.25rem;
  padding-top: 2.4rem;
  border-top: 1px solid rgba(40,37,29,0.12);
}
.gost-toc .gost-h2 { margin-top: 2.25rem; }
.gost-toc .gost-h2:first-child { margin-top: 0; }
.gost-toc__list { border-top: 1px solid rgba(40,37,29,0.12); }
.gost-toc__item {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.85rem 1.1rem;
  align-items: start;
  padding: 1.15rem 0.15rem 1.15rem 0;
  border-bottom: 1px solid rgba(40,37,29,0.12);
  text-decoration: none;
  color: inherit;
}
.gost-toc__n {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  color: #01696f;
  padding-top: 0.08rem;
}
.gost-toc__body { min-width: 0; }
.gost-toc__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
  margin: 0 0 0.35rem;
}
.gost-toc__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.3;
  color: #28251d;
  transition: color 0.15s ease;
}
.gost-toc__status {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: #6b6963;
}
.gost-toc__lead {
  display: block;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #6b6963;
}
.gost-toc__item:hover .gost-toc__title { color: #01696f; }
.gost-article h2, .gost-article h3, .gost-article h4 { color: #01696f; margin: 1.6rem 0 0.7rem; }
.gost-article p { margin: 0 0 0.9rem; }
.gost-article .gost-note { font-size: 0.92rem; color: #6b6963; }
.gost-point { margin: 0 0 1rem; padding: 0.2rem 0; }
.gost-table-wrap { overflow-x: auto; margin: 0 0 1.25rem; }
.gost-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; background: #fff; }
.gost-table th, .gost-table td { border: 1px solid rgba(40,37,29,0.1); padding: 0.45rem 0.55rem; vertical-align: top; }
.gost-table th { background: rgba(1,105,111,0.08); text-align: left; }
.gost-next { margin-top: 2rem; }
.gost-next a { color: #01696f; }
.gost-chat {
  background: #fff;
  border: 1px solid rgba(40,37,29,0.14);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gost-chat:focus-within {
  border-color: #01696f;
  box-shadow: 0 0 0 1px #01696f;
}
.gost-chat__log {
  max-height: 22rem;
  overflow-y: auto;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(40,37,29,0.08);
  background: rgba(1,105,111,0.04);
}
.gost-chat__log:empty { display: none; }
.gost-msg { margin: 0 0 1rem; }
.gost-msg:last-child { margin-bottom: 0; }
.gost-msg--user {
  color: #014d52;
  font-weight: 700;
}
.gost-msg--bot { white-space: pre-wrap; color: #28251d; font-weight: 400; }
.gost-chat__form {
  display: flex;
  flex-direction: column;
  padding: 1.05rem 1.2rem 1.15rem;
  cursor: text;
}
.gost-chat__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #01696f;
  margin: 0;
  cursor: text;
}
.gost-chat__hint {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #6b6963;
}
.gost-chat__form textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 6rem;
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 0;
  background: rgba(1,105,111,0.06);
  resize: none;
  font: inherit;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #28251d;
}
.gost-chat__form textarea::placeholder { color: #7a7872; }
.gost-chat__form textarea:focus { outline: none; background: rgba(1,105,111,0.09); }
.gost-chat__form .btn { align-self: flex-start; }
@media (max-width: 560px) {
  .gost-chat__form .btn { align-self: stretch; }
}
.gost-chat__status {
  margin: 0;
  padding: 0 1.15rem 1rem;
  font-size: 0.9rem;
  color: #01696f;
}
.gost-chat__status[hidden] { display: none; }
.gost-chat__cta { margin-top: 1.5rem; font-size: 0.95rem; color: #6b6963; }
.gost-chat__cta a { color: #01696f; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.article-body { max-width: 44rem; font-size: 1.02rem; line-height: 1.65; color: #28251d; }

.gost-flow {
  margin: 1.75rem 0 0;
  padding: 0;
}
.gost-flow .gost-h2 { margin-top: 0; }
.gost-flow__lead {
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #28251d;
  margin: 0 0 1.15rem;
}
.gost-flow__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0 0 1.25rem;
}
.gost-flow__hint-inline {
  margin: 0;
  font-size: 0.82rem;
  color: #6b6963;
}
.gost-flow__layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 980px) {
  .gost-flow__layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(16.5rem, 0.7fr);
  }
}
.gost-flow__board {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(40,37,29,0.08);
  padding: 1rem 0.9rem 1.1rem;
}
.gost-flow__lane {
  margin: 0.85rem 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6963;
}
.gost-flow__lane:first-child { margin-top: 0; }
.gost-flow__node {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  width: 100%;
  min-height: 4.15rem;
  margin: 0;
  padding: 0.55rem 0.7rem 0.6rem;
  border: 1px solid rgba(40,37,29,0.12);
  background: #fff;
  color: inherit;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.gost-flow__n {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.15;
  color: #01696f;
}
.gost-flow__t {
  font-size: 0.8rem;
  line-height: 1.3;
  color: #28251d;
}
.gost-flow__node:hover,
.gost-flow__node:focus-visible {
  border-color: #01696f;
  outline: none;
}
.gost-flow__node:focus-visible {
  box-shadow: 0 0 0 2px rgba(1,105,111,0.28);
}
.gost-flow__node.is-on {
  border-color: #01696f;
  background: rgba(1,105,111,0.08);
  box-shadow: 0 0 0 1px #01696f;
}
.gost-flow__node.is-related {
  border-color: rgba(1,105,111,0.55);
  background: rgba(1,105,111,0.04);
}
.gost-flow.is-picked .gost-flow__node:not(.is-on):not(.is-related) {
  opacity: 0.42;
}
.gost-flow__node--principle,
.gost-flow__node--bar {
  min-height: 3.35rem;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  background: rgba(1,105,111,0.06);
}
.gost-flow__node--bar .gost-flow__t { font-size: 0.92rem; }
.gost-flow__node--do { background: rgba(44,74,62,0.05); }
.gost-flow__node--check { background: rgba(1,105,111,0.05); }
.gost-flow__node--app {
  min-height: 3.35rem;
  border-style: dashed;
}
.gost-flow__arr {
  display: grid;
  place-items: center;
  color: #01696f;
  opacity: 0.45;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.gost-flow__arr svg { width: 16px; height: 16px; display: block; }
.gost-flow__arr.is-on { opacity: 1; }
.gost-flow__row--3 {
  display: grid;
  grid-template-columns: minmax(0,1fr) 1rem minmax(0,1fr) 1rem minmax(0,1fr);
  align-items: stretch;
}
.gost-flow__drop {
  display: flex;
  justify-content: center;
  padding: 0.15rem 0;
}
.gost-flow__snake {
  display: grid;
  grid-template-columns: 1.15rem minmax(0,1fr) 0.95rem minmax(0,1fr) 0.95rem minmax(0,1fr) 0.95rem minmax(0,1fr);
  grid-template-areas:
    "pdca s5 a56 s6 a67 s7 a78 s8"
    "pdca .  .   .  .   .  ad8 ad8"
    "pdca s12 a1112 s11 a1011 s10 a910 s9";
  column-gap: 0;
  row-gap: 0.55rem;
  align-items: stretch;
}
.gost-flow__snake > [data-flow="5"] { grid-area: s5; }
.gost-flow__snake > [data-flow="6"] { grid-area: s6; }
.gost-flow__snake > [data-flow="7"] { grid-area: s7; }
.gost-flow__snake > [data-flow="8"] { grid-area: s8; }
.gost-flow__snake > [data-flow="9"] { grid-area: s9; }
.gost-flow__snake > [data-flow="10"] { grid-area: s10; }
.gost-flow__snake > [data-flow="11"] { grid-area: s11; }
.gost-flow__snake > [data-flow="12"] { grid-area: s12; }
.gost-flow__snake > [data-edge="5-6"] { grid-area: a56; }
.gost-flow__snake > [data-edge="6-7"] { grid-area: a67; }
.gost-flow__snake > [data-edge="7-8"] { grid-area: a78; }
.gost-flow__snake > [data-edge="8-9"] { grid-area: ad8; }
.gost-flow__snake > [data-edge="9-10"] { grid-area: a910; }
.gost-flow__snake > [data-edge="10-11"] { grid-area: a1011; }
.gost-flow__snake > [data-edge="11-12"] { grid-area: a1112; }
.gost-flow__pdca {
  grid-area: pdca;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.35rem 0.2rem 0.35rem 0;
  border-left: 2px dashed rgba(1,105,111,0.38);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #01696f;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  opacity: 0.7;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.gost-flow__pdca.is-on {
  opacity: 1;
  border-left-color: #01696f;
}
.gost-flow__apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}
@media (min-width: 720px) {
  .gost-flow__apps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.gost-flow__panel {
  background: #fff;
  border: 1px solid rgba(40,37,29,0.08);
  padding: 1.1rem 1.15rem 1.2rem;
  min-height: 12rem;
}
@media (min-width: 980px) {
  .gost-flow__panel { position: sticky; top: 5.5rem; }
}
.gost-flow__empty {
  margin: 0;
  color: #6b6963;
  font-size: 0.95rem;
  line-height: 1.5;
}
.gost-flow__phase {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #01696f;
}
.gost-flow__panel h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  color: #28251d;
  margin: 0 0 0.55rem;
}
.gost-flow__panel p {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #3d3a34;
}
.gost-flow__k {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6963;
}
.gost-flow__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
}
.gost-flow__chip {
  border: 1px solid rgba(40,37,29,0.14);
  background: #fff;
  color: #28251d;
  font-family: inherit;
  font-size: 0.78rem;
  padding: 0.28rem 0.5rem;
  cursor: pointer;
}
.gost-flow__chip:hover,
.gost-flow__chip:focus-visible {
  border-color: #01696f;
  color: #01696f;
  outline: none;
}
.gost-flow__go {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2C4A3E;
  text-decoration: none;
}
.gost-flow__go:hover { text-decoration: underline; }
@media (max-width: 859px) {
  .gost-flow__row--3 {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .gost-flow__row--3 .gost-flow__arr--right {
    transform: rotate(90deg);
    min-height: 1rem;
    justify-self: center;
  }
  .gost-flow__snake {
    grid-template-columns: 1.05rem minmax(0,1fr);
    grid-template-areas:
      "pdca s5"
      "pdca a56"
      "pdca s6"
      "pdca a67"
      "pdca s7"
      "pdca a78"
      "pdca s8"
      "pdca ad8"
      "pdca s9"
      "pdca a910"
      "pdca s10"
      "pdca a1011"
      "pdca s11"
      "pdca a1112"
      "pdca s12";
  }
  .gost-flow__snake .gost-flow__arr--right,
  .gost-flow__snake .gost-flow__arr--left {
    transform: rotate(90deg);
    min-height: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gost-flow__node, .gost-flow__arr, .gost-flow__pdca { transition: none; }
}

.gost-page #oglavlenie { scroll-margin-top: 5.5rem; }
.gost-article h2, .gost-article h3, .gost-article h4,
.gost-article [id], .gost-doc__section { scroll-margin-top: 5.5rem; }

.gost-doc {
  display: grid;
  gap: 2rem;
  margin: 0 0 2rem;
}
.gost-doc__text { max-width: 44rem; }
.gost-doc__section + .gost-doc__section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(40,37,29,0.12);
}
.gost-doc__alt {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #6b6963;
  margin: 1.25rem 0 0;
}
.gost-doc__alt a { color: #01696f; }

.gost-doc-toc-wrap { margin: 0; }
.gost-doc-toc-wrap > summary {
  cursor: pointer;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #28251d;
  list-style: none;
  padding: 0.35rem 0 0.85rem;
}
.gost-doc-toc-wrap > summary::-webkit-details-marker { display: none; }
.gost-doc-toc-wrap > summary::after {
  content: " ▾";
  color: #01696f;
  font-size: 0.85rem;
}
.gost-doc-toc-wrap:not([open]) > summary::after { content: " ▸"; }

.gost-doc-toc .gost-h2 { margin: 1.5rem 0 0.6rem; font-size: 1.2rem; }
.gost-doc-toc .gost-h2:first-child { margin-top: 0; }
.gost-doc-toc__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6963;
  margin: 0 0 0.6rem;
}
.gost-doc-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(40,37,29,0.1);
}
.gost-doc-toc__item { margin: 0; }
.gost-doc-toc__item a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 0.7rem;
  align-items: baseline;
  padding: 0.42rem 0.2rem 0.42rem 0;
  border-bottom: 1px solid rgba(40,37,29,0.08);
  text-decoration: none;
  color: inherit;
}
.gost-doc-toc__item--l3 a { padding-left: 0.9rem; }
.gost-doc-toc__item--l4 a { padding-left: 1.8rem; }
.gost-doc-toc__n {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  color: #01696f;
  white-space: nowrap;
}
.gost-doc-toc__t {
  font-size: 0.9rem;
  line-height: 1.35;
  color: #28251d;
}
.gost-doc-toc__status {
  grid-column: 2;
  font-size: 0.75rem;
  color: #6b6963;
}
.gost-doc-toc__item a:hover .gost-doc-toc__t,
.gost-doc-toc__item a.is-current .gost-doc-toc__t { color: #01696f; }
.gost-doc-toc__item a.is-current {
  background: rgba(1,105,111,0.06);
}
.gost-doc-toc--section {
  margin: 0 0 1.75rem;
  max-height: 18rem;
  overflow: auto;
  padding-right: 0.4rem;
}

.gost-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0 0 1.75rem;
}
.gost-pager--bottom { margin: 2rem 0 0; }
.gost-pager--sticky {
  margin: 0;
}
.gost-pager-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 0.65rem 1.25rem;
  background: rgba(245,243,238,0.96);
  border-top: 1px solid rgba(40,37,29,0.12);
  backdrop-filter: blur(12px);
}
.gost-pager-bar .gost-pager {
  max-width: var(--content-max, 1200px);
  margin: 0 auto;
}
.gost-page:has(.gost-pager-bar) .gost-doc__nav {
  max-height: calc(100vh - 12rem);
  padding-bottom: 0.5rem;
}
.gost-page:has(.gost-pager-bar) main {
  padding-bottom: 5rem;
}
.gost-page:has(.gost-pager-bar) .footer {
  padding-bottom: 5rem;
}
.gost-pager__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border: 1px solid #01696f;
  background: #01696f;
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gost-pager__back:hover { background: #01555a; border-color: #01555a; color: #fff; }
.gost-pager__pair {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-left: auto;
}
.gost-pager__link {
  color: #01696f;
  text-decoration: none;
  font-size: 0.92rem;
}
.gost-pager__link:hover { text-decoration: underline; }
.gost-pager__link--off { visibility: hidden; min-width: 4rem; }

@media (min-width: 800px) {
  .gost-doc {
    grid-template-columns: 18rem minmax(0, 44rem);
    gap: 3rem;
    align-items: start;
  }
  .gost-doc__nav {
    position: sticky;
    top: 5.5rem;
    max-height: calc(100vh - 7.5rem);
    overflow: auto;
    padding-right: 0.5rem;
  }
  .gost-doc-toc-wrap > summary { display: none; }
  .gost-doc-toc-wrap { display: block; }
  .gost-doc-toc__t { font-size: 0.84rem; }
  .gost-doc-toc__item a { padding-top: 0.32rem; padding-bottom: 0.32rem; }
}
