body.site-shell #main-content .sitemap-page {
  position: relative;
  color: var(--text);
  padding-block: 24px 32px;
}
body.site-shell #main-content .sitemap-page [hidden] {
  display: none;
}
body.site-shell #main-content .sitemap-page .sitemap-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--control-border);
  border-radius: 16px;
  background: var(--surface-raised);
  color: var(--text);
}
body.site-shell #main-content .sitemap-page .sitemap-hero__copy {
  min-width: 0;
}
body.site-shell #main-content .sitemap-page .eyebrow {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
body.site-shell #main-content .sitemap-page h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.15;
  color: var(--text-heading, var(--text));
}
body.site-shell #main-content .sitemap-page .sitemap-hero__intro {
  margin: 0;
  max-width: 52ch;
  font-size: 19px;
  line-height: 1.55;
}
body.site-shell #main-content .sitemap-page .sitemap-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
  font-size: 16px;
  color: var(--text-muted);
}
body.site-shell #main-content .sitemap-page .sitemap-hero__stats strong {
  color: var(--text);
  font-size: 19px;
  margin-left: 4px;
}
body.site-shell #main-content .sitemap-page .sitemap-hero__art {
  position: relative;
  height: 220px;
  min-width: 0;
  border-radius: 16px;
  background-image: linear-gradient(90deg, var(--surface-raised), transparent), var(--portal-season-image, url("/static/images/home/hero-moscow-energy-v2.png"));
  background-size: cover;
  background-position: center;
  color: var(--control-border);
}
body.site-shell #main-content .sitemap-page .sitemap-hero__connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
body.site-shell #main-content .sitemap-page .sitemap-hero__hub, body.site-shell #main-content .sitemap-page .sitemap-hero__node {
  position: absolute;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid var(--control-border);
  background: var(--surface-raised);
  color: var(--link);
  box-shadow: var(--shadow-sm);
}
body.site-shell #main-content .sitemap-page .sitemap-hero__hub {
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
body.site-shell #main-content .sitemap-page .sitemap-hero__hub img {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
}
body.site-shell #main-content .sitemap-page .sitemap-hero__node {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}
body.site-shell #main-content .sitemap-page .sitemap-hero__node .icon {
  width: 28px;
  height: 28px;
}
body.site-shell #main-content .sitemap-page .sitemap-hero__node--news {
  left: 19.444%;
  top: 25%;
}
body.site-shell #main-content .sitemap-page .sitemap-hero__node--documents {
  left: 80.556%;
  top: 25%;
}
body.site-shell #main-content .sitemap-page .sitemap-hero__node--people {
  left: 19.444%;
  top: 75%;
}
body.site-shell #main-content .sitemap-page .sitemap-hero__node--calendar {
  left: 80.556%;
  top: 75%;
}
body.site-shell #main-content .sitemap-page .sitemap-content {
  margin-top: 24px;
}
body.site-shell #main-content .sitemap-page .sitemap-search {
  padding: 24px;
  border: 1px solid var(--control-border);
  border-radius: 16px;
  background: var(--surface-raised);
  color: var(--text);
}
body.site-shell #main-content .sitemap-page .sitemap-search label {
  display: block;
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 600;
}
body.site-shell #main-content .sitemap-page .sitemap-search__row {
  display: flex;
  align-items: start;
  gap: 12px;
}
body.site-shell #main-content .sitemap-page .sitemap-search__input {
  position: relative;
  min-width: 0;
  flex: 1;
}
body.site-shell #main-content .sitemap-page .sitemap-search__input > .icon {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}
body.site-shell #main-content .sitemap-page .sitemap-search input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 14px 10px 44px;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 17px;
  line-height: 26px;
}
body.site-shell #main-content .sitemap-page .sitemap-search input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}
body.site-shell #main-content .sitemap-page .sitemap-search input:focus-visible {
  outline: 3px solid var(--button-focus);
  outline-offset: 3px;
}
body.site-shell #main-content .sitemap-page .sitemap-search p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-muted);
}
body.site-shell #main-content .sitemap-page .sitemap-search p a {
  color: var(--link);
}
body.site-shell #main-content .sitemap-page .sitemap-search .sitemap-search__status {
  color: var(--text);
  font-weight: 600;
}
body.site-shell #main-content .sitemap-page .sitemap-zone {
  margin-top: 32px;
}
body.site-shell #main-content .sitemap-page .sitemap-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 16px;
}
body.site-shell #main-content .sitemap-page .sitemap-heading h2 {
  margin: 0;
  color: var(--text-heading, var(--text));
  font-size: 26px;
  line-height: 1.3;
}
body.site-shell #main-content .sitemap-page .sitemap-heading p {
  margin: 0;
  font-size: 16px;
  color: var(--text-muted);
}
body.site-shell #main-content .sitemap-page .sitemap-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
body.site-shell #main-content .sitemap-page .sitemap-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--control-border);
  border-radius: 16px;
  background: var(--surface-raised);
  color: var(--text);
}
body.site-shell #main-content .sitemap-page .sitemap-card__heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
body.site-shell #main-content .sitemap-page .sitemap-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  color: var(--text-heading, var(--text));
  overflow-wrap: break-word;
}
body.site-shell #main-content .sitemap-page .sitemap-group-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 12px;
  background: var(--button-secondary-surface);
  color: var(--button-secondary-ink);
}
body.site-shell #main-content .sitemap-page .sitemap-group-icon .icon {
  width: 26px;
  height: 26px;
}
body.site-shell #main-content .sitemap-page .sitemap-card__intro {
  margin: 16px 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-muted);
}
body.site-shell #main-content .sitemap-page .sitemap-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.site-shell #main-content .sitemap-page .sitemap-links li {
  min-width: 0;
}
body.site-shell #main-content .sitemap-page .sitemap-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 12px 10px;
  border-radius: 8px;
  color: var(--link);
  font-size: 17px;
  line-height: 1.5;
  text-decoration: none;
}
body.site-shell #main-content .sitemap-page .sitemap-links a span {
  min-width: 0;
  overflow-wrap: anywhere;
}
body.site-shell #main-content .sitemap-page .sitemap-links a > .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
body.site-shell #main-content .sitemap-page .sitemap-links a:hover, body.site-shell #main-content .sitemap-page .sitemap-links a:active {
  background: var(--button-secondary-hover);
  color: var(--button-secondary-ink);
}
body.site-shell #main-content .sitemap-page .sitemap-links a:focus-visible {
  outline: 3px solid var(--button-focus);
  outline-offset: 2px;
  background: var(--button-secondary-surface);
  color: var(--button-secondary-ink);
}
body.site-shell #main-content .sitemap-page .sitemap-catalogues {
  display: grid;
  gap: 12px;
}
body.site-shell #main-content .sitemap-page .sitemap-catalogue {
  min-width: 0;
  border: 1px solid var(--control-border);
  border-radius: 14px;
  background: var(--surface-raised);
  color: var(--text);
}
body.site-shell #main-content .sitemap-page .sitemap-catalogue summary {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  padding: 20px 24px;
  border-radius: 13px;
  cursor: pointer;
}
body.site-shell #main-content .sitemap-page .sitemap-catalogue summary::-webkit-details-marker {
  display: none;
}
body.site-shell #main-content .sitemap-page .sitemap-catalogue summary:hover {
  background: var(--button-secondary-hover);
  color: var(--button-secondary-ink);
}
body.site-shell #main-content .sitemap-page .sitemap-catalogue summary:active {
  background: var(--button-secondary-active);
  color: var(--button-secondary-ink);
}
body.site-shell #main-content .sitemap-page .sitemap-catalogue summary:focus-visible {
  outline: 3px solid var(--button-focus);
  outline-offset: 3px;
}
body.site-shell #main-content .sitemap-page .sitemap-catalogue__copy {
  min-width: 0;
  flex: 1;
}
body.site-shell #main-content .sitemap-page .sitemap-catalogue__title {
  display: block;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: inherit;
}
body.site-shell #main-content .sitemap-page .sitemap-catalogue__intro {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.5;
  color: inherit;
}
body.site-shell #main-content .sitemap-page .sitemap-count {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 32px;
  padding: 2px 8px;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: inherit;
}
body.site-shell #main-content .sitemap-page .sitemap-catalogue__chevron {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: inherit;
}
body.site-shell #main-content .sitemap-page .sitemap-catalogue[open] summary {
  border-radius: 13px 13px 8px 8px;
}
body.site-shell #main-content .sitemap-page .sitemap-catalogue[open] .sitemap-catalogue__chevron {
  transform: rotate(180deg);
}
body.site-shell #main-content .sitemap-page .sitemap-catalogue nav {
  padding: 8px 24px 20px;
}
body.site-shell #main-content .sitemap-page .sitemap-catalogue .sitemap-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
body.site-shell #main-content .sitemap-page .sitemap-catalogue li {
  border-top: 1px solid var(--control-border);
}
body.site-shell #main-content .sitemap-page .sitemap-empty {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid var(--control-border);
  border-radius: 12px;
  background: var(--surface-raised);
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}
body.site-shell #main-content .sitemap-page .sitemap-machine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 32px 0 0;
  padding: 24px;
  border-radius: 14px;
  background: var(--surface-raised);
  color: var(--text);
  border: 1px solid var(--control-border);
}
body.site-shell #main-content .sitemap-page .sitemap-machine h2 {
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 6px;
  color: inherit;
}
body.site-shell #main-content .sitemap-page .sitemap-machine p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 1099px) {
  body.site-shell #main-content .sitemap-page .sitemap-hero {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    padding: 24px;
  }
  body.site-shell #main-content .sitemap-page .sitemap-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.site-shell #main-content .sitemap-page .sitemap-card:last-child {
    grid-column: 1/-1;
  }
  body.site-shell #main-content .sitemap-page .sitemap-card:last-child .sitemap-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  body.site-shell #main-content .sitemap-page {
    padding-top: 16px;
  }
  body.site-shell #main-content .sitemap-page .sitemap-hero {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 16px;
  }
  body.site-shell #main-content .sitemap-page .sitemap-hero__art {
    height: 180px;
    max-width: 360px;
    width: 100%;
    justify-self: center;
  }
  body.site-shell #main-content .sitemap-page .sitemap-hero__intro {
    font-size: 17px;
  }
  body.site-shell #main-content .sitemap-page .sitemap-search {
    padding: 20px 16px;
  }
  body.site-shell #main-content .sitemap-page .sitemap-search__row {
    flex-wrap: wrap;
  }
  body.site-shell #main-content .sitemap-page .sitemap-search__input {
    flex-basis: 100%;
  }
  body.site-shell #main-content .sitemap-page .sitemap-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body.site-shell #main-content .sitemap-page .sitemap-card {
    padding: 20px 16px;
  }
  body.site-shell #main-content .sitemap-page .sitemap-card:last-child .sitemap-links {
    display: block;
  }
  body.site-shell #main-content .sitemap-page .sitemap-catalogue summary {
    padding: 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  body.site-shell #main-content .sitemap-page .sitemap-catalogue__copy {
    flex-basis: calc(100% - 60px);
  }
  body.site-shell #main-content .sitemap-page .sitemap-count {
    margin-left: 60px;
  }
  body.site-shell #main-content .sitemap-page .sitemap-catalogue__chevron {
    margin-left: auto;
  }
  body.site-shell #main-content .sitemap-page .sitemap-catalogue nav {
    padding: 4px 16px 16px;
  }
  body.site-shell #main-content .sitemap-page .sitemap-catalogue .sitemap-links {
    grid-template-columns: 1fr;
  }
  body.site-shell #main-content .sitemap-page .sitemap-machine {
    padding: 20px 16px;
  }
  body.site-shell #main-content .sitemap-page .sitemap-machine > .action-link {
    width: 100%;
  }
}
@media print {
  body.site-shell #main-content .sitemap-page .sitemap-search, body.site-shell #main-content .sitemap-page .sitemap-hero__art {
    display: none;
  }
  body.site-shell #main-content .sitemap-page .sitemap-cards {
    display: block;
  }
  body.site-shell #main-content .sitemap-page .sitemap-card {
    break-inside: avoid;
    margin-bottom: 16px;
  }
}
