/* R110: separate the system model from the transformation method. */

.r75-page .r110-map-legend,
.r66-method-page .r110-method-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 24px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: rgba(255, 255, 255, .025);
  color: rgba(235, 242, 246, .72);
  font-size: .78rem;
  line-height: 1.45;
}

.r75-page .r110-map-legend > strong,
.r66-method-page .r110-method-legend > strong {
  color: #f0c96c;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.r75-page .r110-map-legend span,
.r66-method-page .r110-method-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.r75-page .r110-map-legend i,
.r66-method-page .r110-method-legend i {
  width: 28px;
  height: 2px;
  background: #78d4c8;
}

.r75-page .r110-map-legend .feedback i,
.r66-method-page .r110-method-legend .feedback i {
  height: 0;
  border-top: 2px dashed #f0c96c;
  background: transparent;
}

.r75-page .r75-system-map {
  position: relative;
}

.r75-page .r75-relation {
  min-height: 44px;
}

.r75-page .r75-relation span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.r75-page .r75-relation span::before,
.r75-page .r75-relation span::after {
  content: "";
  width: 30px;
  height: 1px;
  background: rgba(120, 212, 200, .65);
}

.r75-page .r75-dimensions article span {
  color: #78d4c8;
}

.r75-page .r75-closing > .r75-container > div {
  display: flex;
}

.r66-method-page .r66-decision-map ol {
  counter-reset: method-stage;
}

.r66-method-page .r66-decision-map li {
  position: relative;
}

.r66-method-page .r66-decision-map li:not(:last-child)::after {
  content: "контрольный переход →";
  position: absolute;
  right: 0;
  bottom: -18px;
  color: rgba(120, 212, 200, .72);
  font: 700 .66rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.r66-method-page .r66-artifacts article small {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

@media (max-width: 900px) {
  .r75-page .r110-map-legend,
  .r66-method-page .r110-method-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .r75-page .r110-map-legend > strong,
  .r66-method-page .r110-method-legend > strong {
    grid-column: 1 / -1;
  }

  .r66-method-page .r66-decision-map li:not(:last-child)::after {
    position: static;
    display: block;
    margin-top: 16px;
  }
}

@media (max-width: 620px) {
  .r75-page .r75-hero,
  .r66-method-page .r66-hero {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .r75-page .r110-map-legend,
  .r66-method-page .r110-method-legend {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .r75-page .r75-relation span::before,
  .r75-page .r75-relation span::after {
    width: 18px;
  }
}
