@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700&display=swap');

/* KipSlide corporate shell for /trees/strukturno-logichni-shemy only. */
body.procurement-tree-page main.kt-structural-page {
  --ks-struct-font: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --ks-struct-ink: #142e3d;
  --ks-struct-muted: #526b78;
  --ks-struct-border: #8fb3c7;
  --ks-struct-surface: #ffffff;
  --ks-struct-surface-muted: #e7f0f8;
  --ks-struct-primary: #0b5fd1;
  font-family: var(--ks-struct-font);
  color: var(--ks-struct-ink);
}

html[data-theme="ivory"] body.procurement-tree-page main.kt-structural-page {
  --ks-struct-ink: #3a2f1a;
  --ks-struct-muted: #7a6e55;
  --ks-struct-border: #c4932c;
  --ks-struct-surface: #fffdf5;
  --ks-struct-surface-muted: #f2e6c2;
  --ks-struct-primary: #b07a2a;
}

html[data-theme="dark"] body.procurement-tree-page main.kt-structural-page {
  --ks-struct-ink: #e6f4f5;
  --ks-struct-muted: #93b5ba;
  --ks-struct-border: #41f0ec40;
  --ks-struct-surface: #0a2631;
  --ks-struct-surface-muted: #0e3340;
  --ks-struct-primary: #3ee8e4;
}

body.procurement-tree-page main.kt-structural-page :is(.kt-crumbs, .kt-section-head, .ks-tree-eyebrow, .ks-tree-button, h1, p) {
  font-family: var(--ks-struct-font);
}

body.procurement-tree-page main.kt-structural-page .kt-crumbs {
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--ks-struct-muted);
}

body.procurement-tree-page main.kt-structural-page .kt-crumbs a,
body.procurement-tree-page main.kt-structural-page .kt-crumbs [aria-current] {
  color: var(--ks-struct-muted);
}

body.procurement-tree-page main.kt-structural-page .kt-section-head {
  margin: 24px 0 16px;
}

body.procurement-tree-page main.kt-structural-page .ks-tree-eyebrow {
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ks-struct-primary);
}

body.procurement-tree-page main.kt-structural-page .kt-public-tree-header h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--ks-struct-ink);
}

body.procurement-tree-page main.kt-structural-page .kt-public-tree-header p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ks-struct-muted);
}

body.procurement-tree-page main.kt-structural-page .kt-public-tree-header > a.ks-tree-button {
  min-height: 44px;
  border-radius: 17px;
  border: 1px solid var(--ks-struct-border);
  background: var(--ks-struct-surface-muted);
  color: var(--ks-struct-ink);
  font-size: 14px;
}

body.procurement-tree-page main.kt-structural-page #tree-structural-animation {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  border: 1px solid var(--ks-struct-border);
  border-radius: 6px 22px 22px 22px;
  background: var(--ks-struct-surface);
  box-shadow: 0 10px 22px rgb(21 54 80 / .12);
  overflow: hidden;
}

@media (max-width: 700px) {
  body.procurement-tree-page main.kt-structural-page .kt-section-head {
    margin: 18px 0 12px;
  }
  body.procurement-tree-page main.kt-structural-page .kt-public-tree-header h1 {
    font-size: 24px;
  }
  body.procurement-tree-page main.kt-structural-page #tree-structural-animation {
    border-radius: 6px 16px 16px 16px;
  }
}
