.docs-v2 {
  --docs-ink: #152033;
  --docs-muted: #647184;
  --docs-line: #DCE6E4;
  --docs-soft: #F4F8F7;
  --docs-teal: #0F766E;
  --docs-teal-dark: #0B5F59;
  --docs-blue: #245A8D;
  --docs-amber: #9A5B12;
  --docs-danger: #9F3A38;
  margin-top: -86px;
  background: #F4F8F7;
  color: var(--docs-ink);
}

.docs-v2 .docs-visual-hero {
  min-height: 690px;
  padding: 150px 0 128px;
  background:
    linear-gradient(90deg, rgba(247, 250, 249, 0.98) 0%, rgba(247, 250, 249, 0.94) 34%, rgba(247, 250, 249, 0.62) 68%, rgba(247, 250, 249, 0.46) 100%),
    url("../img/index_bg.jpg") center / cover no-repeat;
}

.docs-v2 .docs-visual-hero::after {
  height: 124px;
  background: linear-gradient(to bottom, rgba(244, 248, 247, 0), #F4F8F7);
}

.docs-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.72fr);
  gap: 72px;
  align-items: center;
}

.docs-v2 .docs-hero-copy {
  min-width: 0;
}

.docs-v2 .docs-eyebrow {
  min-height: auto;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--docs-teal);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.docs-v2 .docs-hero-copy h1 {
  max-width: 760px;
  color: #111B2D;
  font-size: 58px;
  line-height: 1.04;
  font-weight: 780;
  letter-spacing: 0;
  text-wrap: balance;
}

.docs-v2 .docs-hero-copy .docs-hero-intro {
  width: auto;
  max-width: 710px;
  margin: 24px 0 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #3F4B5B;
  font-size: 17px;
  line-height: 1.7;
  text-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.docs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.docs-hero-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--docs-teal-dark);
  font-size: 13px;
  font-weight: 760;
  box-shadow: 0 8px 24px rgba(20, 53, 49, 0.06);
}

.docs-hero-actions a:hover,
.docs-hero-actions a:focus-visible {
  border-color: var(--docs-teal);
  background: #FFFFFF;
  color: var(--docs-teal-dark);
}

.docs-hero-actions a.is-primary {
  border-color: var(--docs-teal);
  background: var(--docs-teal);
  color: #FFFFFF;
}

.docs-hero-actions a.is-primary:hover,
.docs-hero-actions a.is-primary:focus-visible {
  background: var(--docs-teal-dark);
}

.docs-snapshot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(210, 224, 220, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 64px rgba(15, 61, 56, 0.12);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.docs-snapshot > div {
  min-width: 0;
  min-height: 122px;
  padding: 22px;
  border-right: 1px solid rgba(220, 230, 228, 0.88);
  border-bottom: 1px solid rgba(220, 230, 228, 0.88);
}

.docs-snapshot > div:nth-child(2n) {
  border-right: 0;
}

.docs-snapshot > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.docs-snapshot dt {
  margin: 0;
  color: var(--docs-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.docs-snapshot dd {
  margin: 8px 0 2px;
  color: #101A2B;
  font-size: 30px;
  line-height: 1;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
}

.docs-snapshot dd.is-date {
  font-size: 19px;
  line-height: 1.18;
}

.docs-snapshot small {
  display: block;
  color: #748092;
  font-size: 12px;
  line-height: 1.4;
}

.docs-workspace {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: -72px;
  padding-bottom: 74px;
}

.docs-sidebar {
  position: sticky;
  top: 104px;
  min-width: 0;
  max-height: calc(100vh - 126px);
  padding: 18px;
  overflow: auto;
  border: 1px solid rgba(214, 226, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(15, 61, 56, 0.09);
}

.docs-search label {
  display: block;
  margin-bottom: 8px;
  color: #233248;
  font-size: 13px;
  font-weight: 800;
}

.docs-search-control {
  position: relative;
}

.docs-search-control > svg {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--docs-teal);
  stroke-width: 2;
  transform: translateY(-50%);
  pointer-events: none;
}

.docs-search-control input {
  width: 100%;
  min-height: 42px;
  padding: 0 38px 0 38px;
  border: 1px solid #D4E1DE;
  border-radius: 6px;
  outline: none;
  background: #F9FBFB;
  color: var(--docs-ink);
  font-family: inherit;
  font-size: 13px;
}

.docs-search-control input:focus {
  border-color: rgba(15, 118, 110, 0.7);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.docs-search-clear {
  position: absolute;
  top: 50%;
  right: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #526071;
  transform: translateY(-50%);
  cursor: pointer;
}

.docs-search-clear:hover {
  background: #EAF3F1;
  color: var(--docs-teal-dark);
}

.docs-search-clear svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.docs-search-status {
  min-height: 18px;
  margin: 7px 0 0;
  color: var(--docs-muted);
  font-size: 11px;
  line-height: 1.4;
}

.docs-toc {
  display: grid;
  gap: 2px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--docs-line);
}

.docs-toc p {
  margin: 0 0 6px;
  color: #7A8696;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.docs-toc a {
  display: block;
  padding: 7px 9px;
  border-left: 2px solid transparent;
  border-radius: 0 5px 5px 0;
  color: #445164;
  font-size: 13px;
  line-height: 1.35;
}

.docs-toc a:hover,
.docs-toc a.is-active {
  border-left-color: var(--docs-teal);
  background: #EFF6F4;
  color: var(--docs-teal-dark);
}

.docs-sidebar-meta {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--docs-line);
  color: #778395;
  font-size: 11px;
  line-height: 1.45;
}

.docs-article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(214, 226, 223, 0.9);
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 18px 48px rgba(15, 61, 56, 0.09);
}

.docs-no-results {
  display: grid;
  gap: 6px;
  padding: 28px 34px;
  border-bottom: 1px solid var(--docs-line);
  background: #FFF8E8;
}

.docs-no-results[hidden] {
  display: none !important;
}

.docs-no-results strong {
  color: #6F4613;
  font-size: 16px;
}

.docs-no-results span {
  color: #7E694C;
  font-size: 13px;
}

.docs-chapter {
  min-width: 0;
  padding: 42px 46px 46px;
  scroll-margin-top: 110px;
}

.docs-chapter + .docs-chapter {
  border-top: 1px solid var(--docs-line);
}

.docs-chapter[hidden],
.docs-ontology-category[hidden],
.docs-type-item[hidden] {
  display: none !important;
}

.docs-chapter-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.docs-chapter-header > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 6px;
  background: #EEF6F4;
  color: var(--docs-teal-dark);
  font-size: 12px;
  font-weight: 800;
}

.docs-chapter-header p,
.docs-worked-example header p,
.docs-ontology-category > header p {
  margin: 0 0 5px;
  color: var(--docs-teal);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.docs-chapter-header h2 {
  margin: 0;
  color: #111B2D;
  font-size: 31px;
  line-height: 1.16;
  font-weight: 770;
  letter-spacing: 0;
  text-wrap: balance;
}

.docs-chapter > p,
.docs-chapter-lead {
  max-width: 880px;
  color: #455266;
  font-size: 15px;
  line-height: 1.72;
}

.docs-chapter > p {
  margin: 18px 0 0;
}

.docs-chapter > .docs-chapter-lead {
  max-width: 900px;
  margin: 20px 0 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.72;
}

.docs-definition-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--docs-line);
  border-bottom: 1px solid var(--docs-line);
}

.docs-definition-pair > div {
  min-width: 0;
  padding: 22px 24px 22px 0;
}

.docs-definition-pair > div + div {
  padding-right: 0;
  padding-left: 24px;
  border-left: 1px solid var(--docs-line);
}

.docs-definition-pair h3,
.docs-reading-checklist h3,
.docs-boundary-matrix h3,
.docs-citation-decision h3 {
  margin: 0 0 9px;
  color: #1B2B40;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 760;
}

.docs-definition-pair p {
  margin: 0;
  color: #526071;
  font-size: 14px;
  line-height: 1.65;
}

.docs-audience-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-top: 24px;
  padding: 15px 0;
  color: #5B687A;
  font-size: 13px;
  line-height: 1.45;
}

.docs-audience-strip strong {
  color: var(--docs-teal-dark);
}

.docs-audience-strip span {
  position: relative;
}

.docs-audience-strip span::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: #C18A46;
  content: "";
  vertical-align: 2px;
}

.docs-data-model {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-top: 28px;
}

.docs-data-model > div {
  min-width: 0;
  min-height: 146px;
  padding: 20px;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  background: #F8FAFA;
}

.docs-data-model > div:nth-of-type(2) {
  border-color: #CAE2DD;
  background: #EFF7F5;
}

.docs-data-model span {
  display: block;
  margin-bottom: 10px;
  color: var(--docs-teal);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.docs-data-model strong {
  display: block;
  color: #172438;
  font-size: 18px;
  line-height: 1.3;
}

.docs-data-model small {
  display: block;
  margin-top: 9px;
  color: #647184;
  font-size: 12px;
  line-height: 1.5;
}

.docs-data-model > i {
  position: relative;
  display: block;
  height: 1px;
  background: #93B8B1;
}

.docs-data-model > i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid #6D9D95;
  border-right: 1px solid #6D9D95;
  content: "";
  transform: rotate(45deg);
}

.docs-principle,
.docs-warning-note {
  margin-top: 24px;
  padding: 17px 20px;
  border-left: 4px solid var(--docs-teal);
  border-radius: 0 7px 7px 0;
  background: #F0F7F5;
}

.docs-warning-note {
  border-left-color: #B8752D;
  background: #FFF8EA;
}

.docs-principle strong,
.docs-warning-note strong {
  display: block;
  color: #164942;
  font-size: 14px;
}

.docs-warning-note strong {
  color: #784916;
}

.docs-principle p,
.docs-warning-note p {
  margin: 5px 0 0;
  color: #4D5A6B;
  font-size: 13px;
  line-height: 1.62;
}

.docs-worked-example {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid #D7E3E1;
  border-radius: 8px;
  background: #FCFDFD;
}

.docs-worked-example header,
.docs-citation-guide section > header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.docs-worked-example h3,
.docs-citation-guide h3 {
  margin: 0;
  color: #172438;
  font-size: 19px;
  line-height: 1.3;
}

.docs-worked-example header a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 5px;
  color: var(--docs-teal-dark);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.docs-worked-example dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--docs-line);
}

.docs-worked-example dl > div {
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--docs-line);
}

.docs-worked-example dl > div:nth-child(2n) {
  padding-right: 0;
  padding-left: 16px;
  border-left: 1px solid var(--docs-line);
}

.docs-worked-example dt,
.docs-term-table dt,
.docs-version-table dt,
.docs-glossary dt {
  color: #647184;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.docs-worked-example dd {
  margin: 5px 0 0;
  color: #344155;
  font-size: 13px;
  line-height: 1.58;
}

.docs-pipeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  background: var(--docs-line);
}

.docs-pipeline > div {
  position: relative;
  min-width: 0;
  min-height: 170px;
  padding: 20px;
  background: #FBFCFC;
}

.docs-pipeline > div:nth-child(3n + 1) {
  background: #F3F8F7;
}

.docs-pipeline > div:nth-child(3n + 2) {
  background: #F8F8FB;
}

.docs-pipeline > div:nth-child(3n) {
  background: #FFF9EF;
}

.docs-pipeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  border: 1px solid #B7D4CF;
  border-radius: 50%;
  color: var(--docs-teal-dark);
  font-size: 12px;
  font-weight: 800;
}

.docs-pipeline strong {
  display: block;
  color: #172438;
  font-size: 15px;
  line-height: 1.35;
}

.docs-pipeline small {
  display: block;
  margin-top: 8px;
  color: #647184;
  font-size: 12px;
  line-height: 1.5;
}

.docs-disclosure {
  margin-top: 18px;
  border-top: 1px solid var(--docs-line);
  border-bottom: 1px solid var(--docs-line);
}

.docs-disclosure + .docs-disclosure {
  margin-top: -1px;
}

.docs-disclosure summary {
  position: relative;
  padding: 16px 36px 16px 0;
  list-style: none;
  color: #253449;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}

.docs-disclosure summary::-webkit-details-marker,
.docs-type-item summary::-webkit-details-marker {
  display: none;
}

.docs-disclosure summary::after {
  position: absolute;
  top: 19px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--docs-teal);
  border-bottom: 2px solid var(--docs-teal);
  content: "";
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.docs-disclosure[open] summary::after {
  top: 23px;
  transform: rotate(-135deg);
}

.docs-disclosure > div {
  padding: 0 28px 17px 0;
}

.docs-disclosure p {
  margin: 0;
  color: #536073;
  font-size: 13px;
  line-height: 1.68;
}

.docs-disclosure p + p {
  margin-top: 10px;
}

.docs-ontology-index {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 26px;
}

.docs-ontology-index a {
  min-width: 0;
  padding: 12px;
  border-top: 3px solid var(--docs-category-color);
  border-radius: 0 0 6px 6px;
  background: var(--docs-category-bg);
}

.docs-ontology-index strong {
  display: block;
  color: var(--docs-category-color);
  font-size: 12px;
  line-height: 1.35;
}

.docs-ontology-index span {
  display: block;
  margin-top: 4px;
  color: #6E7989;
  font-size: 11px;
}

.docs-ontology-list {
  margin-top: 30px;
  border-top: 1px solid var(--docs-line);
}

.docs-ontology-category {
  padding: 28px 0;
  border-bottom: 1px solid var(--docs-line);
  scroll-margin-top: 110px;
}

.docs-ontology-category > header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  border-left: 4px solid var(--docs-category-color);
  padding-left: 14px;
}

.docs-ontology-category > header h3 {
  margin: 0;
  color: var(--docs-category-color);
  font-size: 23px;
  line-height: 1.2;
}

.docs-ontology-category > header > span {
  color: #778294;
  font-size: 12px;
  white-space: nowrap;
}

.docs-ontology-category > p {
  max-width: 880px;
  margin: 15px 0 0;
  color: #4D5B6D;
  font-size: 13px;
  line-height: 1.65;
}

.docs-ontology-category .docs-scope-note {
  color: #647184;
}

.docs-type-list {
  margin-top: 18px;
  border-top: 1px solid var(--docs-line);
}

.docs-type-item {
  border-bottom: 1px solid var(--docs-line);
  scroll-margin-top: 110px;
}

.docs-type-item summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr) 14px;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 13px 4px;
  list-style: none;
  cursor: pointer;
}

.docs-type-item summary:hover {
  background: #F8FBFA;
}

.docs-type-item summary > span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid var(--docs-type-border);
  border-radius: 5px;
  background: var(--docs-type-bg);
  color: var(--docs-type-color);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
}

.docs-type-item summary small {
  color: #596678;
  font-size: 12px;
  line-height: 1.5;
}

.docs-type-item summary i {
  width: 8px;
  height: 8px;
  border-right: 2px solid #6B788A;
  border-bottom: 2px solid #6B788A;
  transform: rotate(45deg);
}

.docs-type-item[open] summary i {
  transform: rotate(-135deg);
}

.docs-type-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 26px;
  padding: 5px 4px 22px;
}

.docs-type-detail > div {
  min-width: 0;
}

.docs-type-detail h4 {
  margin: 0 0 6px;
  color: #566376;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.docs-type-detail p {
  margin: 0;
  color: #455266;
  font-size: 12px;
  line-height: 1.62;
}

.docs-type-detail ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-type-detail li {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-width: 0;
}

.docs-type-detail code {
  color: #145C56;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.docs-type-detail li span {
  color: #5B6879;
  font-size: 11px;
  line-height: 1.5;
}

.docs-boundary-matrix,
.docs-citation-decision {
  margin-top: 28px;
  border-top: 1px solid var(--docs-line);
}

.docs-boundary-matrix h3,
.docs-citation-decision h3 {
  padding-top: 22px;
}

.docs-boundary-matrix > div,
.docs-citation-decision > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--docs-line);
}

.docs-boundary-matrix strong,
.docs-citation-decision strong {
  color: #425064;
  font-size: 13px;
  font-weight: 690;
}

.docs-boundary-matrix span,
.docs-citation-decision span {
  color: var(--docs-teal-dark);
  font-size: 13px;
  font-weight: 760;
}

.docs-curation-ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--docs-line);
  border-bottom: 1px solid var(--docs-line);
  list-style: none;
}

.docs-curation-ladder li {
  min-width: 0;
  padding: 20px 18px;
  border-right: 1px solid var(--docs-line);
}

.docs-curation-ladder li:first-child {
  padding-left: 0;
}

.docs-curation-ladder li:last-child {
  padding-right: 0;
  border-right: 0;
}

.docs-curation-ladder span {
  display: block;
  margin-bottom: 8px;
  color: var(--docs-teal);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.docs-curation-ladder strong {
  display: block;
  color: #253449;
  font-size: 14px;
  line-height: 1.4;
}

.docs-curation-ladder p {
  margin: 8px 0 0;
  color: #647184;
  font-size: 12px;
  line-height: 1.55;
}

.docs-status-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  background: var(--docs-line);
}

.docs-status-legend > div {
  min-width: 0;
  padding: 14px 16px;
  background: #FBFCFC;
}

.docs-status-legend strong {
  display: block;
  color: #26364A;
  font-size: 13px;
}

.docs-status-legend span {
  display: block;
  margin-top: 5px;
  color: #637083;
  font-size: 11px;
  line-height: 1.5;
}

.docs-normalization-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.docs-normalization-grid section {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  background: #FBFCFC;
}

.docs-normalization-grid section:nth-child(2) {
  background: #F1F8F6;
}

.docs-normalization-grid section:nth-child(3) {
  background: #FFF9F0;
}

.docs-normalization-grid header {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
}

.docs-normalization-grid header span {
  color: #1B2B40;
  font-size: 17px;
  font-weight: 780;
}

.docs-normalization-grid header strong {
  color: var(--docs-teal);
  font-size: 10px;
  text-transform: uppercase;
}

.docs-normalization-grid p {
  margin: 14px 0 18px;
  color: #526071;
  font-size: 12px;
  line-height: 1.6;
}

.docs-normalization-grid small {
  display: block;
  padding-top: 12px;
  border-top: 1px solid var(--docs-line);
  color: #6E7A8B;
  font-size: 10px;
  line-height: 1.5;
}

.docs-search-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.docs-search-paths a {
  display: grid;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--docs-line);
  border-radius: 7px;
  background: #FAFCFB;
}

.docs-search-paths a:last-child {
  grid-column: 1 / -1;
}

.docs-search-paths a:hover {
  border-color: #A8CBC5;
  background: #F1F8F6;
}

.docs-search-paths strong {
  color: var(--docs-teal-dark);
  font-size: 14px;
}

.docs-search-paths span {
  margin-top: 5px;
  color: #637083;
  font-size: 12px;
  line-height: 1.5;
}

.docs-reading-checklist {
  margin-top: 26px;
  padding: 20px 22px;
  border-left: 4px solid var(--docs-blue);
  border-radius: 0 7px 7px 0;
  background: #F1F6FA;
}

.docs-reading-checklist ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #4B596C;
  font-size: 12px;
  line-height: 1.55;
}

.docs-term-table,
.docs-version-table,
.docs-glossary {
  margin: 26px 0 0;
  border-top: 1px solid var(--docs-line);
}

.docs-term-table > div,
.docs-version-table > div,
.docs-glossary > div {
  display: grid;
  grid-template-columns: minmax(170px, 0.3fr) minmax(0, 1fr);
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--docs-line);
}

.docs-term-table dd,
.docs-version-table dd,
.docs-glossary dd {
  margin: 0;
  color: #4E5B6E;
  font-size: 13px;
  line-height: 1.58;
}

.docs-version-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-right: 1px solid var(--docs-line);
}

.docs-version-table > div {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 13px 15px;
  border-left: 1px solid var(--docs-line);
}

.docs-update-sequence {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
  border: 1px solid var(--docs-line);
  border-radius: 7px;
  overflow: hidden;
}

.docs-update-sequence span {
  position: relative;
  min-width: 0;
  padding: 14px 8px;
  border-right: 1px solid var(--docs-line);
  background: #F8FAFA;
  color: #3F4E61;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 760;
  text-align: center;
}

.docs-update-sequence span:nth-child(2n) {
  background: #F0F7F5;
}

.docs-update-sequence span:last-child {
  border-right: 0;
}

.docs-citation-guide {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.docs-citation-guide section {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  background: #FCFDFD;
}

.docs-citation-guide section:nth-child(2) {
  border-color: #C9DFDB;
  background: #F3F9F7;
}

.docs-citation-guide section:nth-child(3) {
  border-color: #E5D7C5;
  background: #FFFBF4;
}

.docs-citation-guide header span {
  display: block;
  margin-bottom: 4px;
  color: var(--docs-teal);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.docs-citation-guide section > p {
  max-width: 880px;
  margin: 13px 0 0;
  color: #586579;
  font-size: 12px;
  line-height: 1.62;
}

.docs-citation-guide blockquote {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 3px solid #83B9B0;
  background: rgba(255, 255, 255, 0.84);
  color: #26364A;
  font-family: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  font-size: 14px;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.docs-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #BCD7D2;
  border-radius: 5px;
  background: #FFFFFF;
  color: var(--docs-teal-dark);
  font-family: inherit;
  font-size: 11px;
  font-weight: 760;
  white-space: nowrap;
  cursor: pointer;
}

.docs-copy-button:hover {
  border-color: var(--docs-teal);
  background: #EAF4F2;
}

.docs-copy-button.is-copied {
  border-color: #5E9B72;
  background: #EDF8F0;
  color: #2D6C43;
}

.docs-copy-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.docs-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.docs-action-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 6px;
  background: #EFF7F5;
  color: var(--docs-teal-dark);
  font-size: 12px;
  font-weight: 760;
}

.docs-action-row a:hover {
  border-color: var(--docs-teal);
  background: var(--docs-teal);
  color: #FFFFFF;
}

.docs-limitations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--docs-line);
  list-style: none;
}

.docs-limitations li {
  min-width: 0;
  padding: 17px 18px 17px 0;
  border-bottom: 1px solid var(--docs-line);
}

.docs-limitations li:nth-child(2n) {
  padding-right: 0;
  padding-left: 18px;
  border-left: 1px solid var(--docs-line);
}

.docs-limitations strong {
  display: block;
  color: #27374B;
  font-size: 13px;
}

.docs-limitations span {
  display: block;
  margin-top: 6px;
  color: #647184;
  font-size: 12px;
  line-height: 1.58;
}

.docs-glossary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.docs-glossary > div {
  grid-template-columns: minmax(130px, 0.36fr) minmax(0, 1fr);
  padding-right: 18px;
}

.docs-glossary > div:nth-child(2n) {
  padding-right: 0;
  padding-left: 18px;
  border-left: 1px solid var(--docs-line);
}

.docs-search-match {
  outline: 2px solid rgba(184, 117, 45, 0.28);
  outline-offset: 2px;
}

@media (max-width: 1180px) {
  .docs-hero-layout {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 38px;
  }

  .docs-v2 .docs-hero-copy h1 {
    font-size: 48px;
  }

  .docs-workspace {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .docs-chapter {
    padding-right: 36px;
    padding-left: 36px;
  }

  .docs-ontology-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .docs-curation-ladder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-curation-ladder li:nth-child(2) {
    border-right: 0;
  }

  .docs-curation-ladder li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--docs-line);
  }

  .docs-curation-ladder li:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 960px) {
  .docs-v2 .docs-visual-hero {
    min-height: 780px;
    padding: 136px 0 118px;
  }

  .docs-hero-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .docs-v2 .docs-hero-copy h1 {
    max-width: 720px;
    font-size: 44px;
  }

  .docs-v2 .docs-hero-copy .docs-hero-intro {
    max-width: 700px;
  }

  .docs-snapshot {
    width: min(100%, 700px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .docs-snapshot > div,
  .docs-snapshot > div:nth-child(2n) {
    min-height: 108px;
    padding: 18px;
    border-right: 1px solid rgba(220, 230, 228, 0.88);
    border-bottom: 1px solid rgba(220, 230, 228, 0.88);
  }

  .docs-snapshot > div:nth-child(3n) {
    border-right: 0;
  }

  .docs-snapshot > div:nth-last-child(-n + 3) {
    border-bottom: 0;
  }

  .docs-workspace {
    grid-template-columns: 1fr;
    margin-top: -60px;
  }

  .docs-sidebar {
    position: relative;
    top: auto;
    max-height: none;
  }

  .docs-toc {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .docs-toc p {
    grid-column: 1 / -1;
  }

  .docs-sidebar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .docs-normalization-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .docs-v2 {
    margin-top: -76px;
  }

  .docs-v2 .docs-visual-hero {
    min-height: auto;
    padding: 118px 0 96px;
    background:
      linear-gradient(180deg, rgba(247, 250, 249, 0.99) 0%, rgba(247, 250, 249, 0.94) 54%, rgba(247, 250, 249, 0.72) 100%),
      url("../img/index_bg.jpg") center / cover no-repeat;
  }

  .docs-hero-layout {
    gap: 28px;
  }

  .docs-v2 .docs-hero-copy h1 {
    font-size: 35px;
    line-height: 1.08;
  }

  .docs-v2 .docs-hero-copy .docs-hero-intro {
    max-width: none;
    font-size: 15px;
  }

  .docs-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .docs-hero-actions a {
    justify-content: center;
  }

  .docs-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-snapshot > div,
  .docs-snapshot > div:nth-child(3n) {
    min-height: 104px;
    padding: 16px;
    border-right: 1px solid rgba(220, 230, 228, 0.88);
    border-bottom: 1px solid rgba(220, 230, 228, 0.88);
  }

  .docs-snapshot > div:nth-child(2n) {
    border-right: 0;
  }

  .docs-snapshot > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .site-container.docs-workspace {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    margin-top: -48px;
  }

  .docs-sidebar {
    padding: 14px;
  }

  .docs-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-toc a {
    padding: 7px;
    font-size: 12px;
  }

  .docs-chapter {
    padding: 30px 22px 34px;
  }

  .docs-chapter-header {
    gap: 12px;
  }

  .docs-chapter-header > span {
    width: 34px;
    height: 34px;
  }

  .docs-chapter-header h2 {
    font-size: 24px;
  }

  .docs-chapter > .docs-chapter-lead {
    font-size: 15px;
  }

  .docs-definition-pair,
  .docs-worked-example dl,
  .docs-pipeline,
  .docs-status-legend,
  .docs-search-paths,
  .docs-limitations,
  .docs-glossary,
  .docs-version-table,
  .docs-type-detail {
    grid-template-columns: 1fr;
  }

  .docs-definition-pair > div,
  .docs-definition-pair > div + div,
  .docs-worked-example dl > div,
  .docs-worked-example dl > div:nth-child(2n),
  .docs-limitations li,
  .docs-limitations li:nth-child(2n),
  .docs-glossary > div,
  .docs-glossary > div:nth-child(2n) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .docs-pipeline > div {
    min-height: auto;
  }

  .docs-data-model {
    grid-template-columns: 1fr;
  }

  .docs-data-model > div {
    min-height: auto;
  }

  .docs-data-model > i {
    width: 1px;
    height: 24px;
    justify-self: center;
  }

  .docs-data-model > i::after {
    top: auto;
    right: -3px;
    bottom: 0;
    transform: rotate(135deg);
  }

  .docs-ontology-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-type-item summary {
    grid-template-columns: minmax(0, 1fr) 14px;
    gap: 10px;
    padding: 14px 2px;
  }

  .docs-type-item summary small {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .docs-type-item summary i {
    grid-column: 2;
    grid-row: 1;
  }

  .docs-type-detail li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .docs-boundary-matrix > div,
  .docs-citation-decision > div,
  .docs-term-table > div,
  .docs-version-table > div,
  .docs-glossary > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .docs-curation-ladder {
    grid-template-columns: 1fr;
  }

  .docs-curation-ladder li,
  .docs-curation-ladder li:first-child,
  .docs-curation-ladder li:nth-child(3),
  .docs-curation-ladder li:last-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--docs-line);
  }

  .docs-curation-ladder li:last-child {
    border-bottom: 0;
  }

  .docs-update-sequence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-update-sequence span {
    border-right: 1px solid var(--docs-line);
    border-bottom: 1px solid var(--docs-line);
  }

  .docs-update-sequence span:nth-child(2n) {
    border-right: 0;
  }

  .docs-update-sequence span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .docs-citation-guide section > header,
  .docs-worked-example header {
    display: grid;
  }

  .docs-copy-button {
    justify-self: start;
  }
}

@media (max-width: 440px) {
  .docs-snapshot {
    grid-template-columns: 1fr;
  }

  .docs-snapshot > div,
  .docs-snapshot > div:nth-child(2n),
  .docs-snapshot > div:nth-child(3n),
  .docs-snapshot > div:nth-last-child(-n + 2),
  .docs-snapshot > div:nth-last-child(-n + 3) {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid rgba(220, 230, 228, 0.88);
  }

  .docs-snapshot > div:last-child {
    border-bottom: 0;
  }

  .docs-toc,
  .docs-ontology-index {
    grid-template-columns: 1fr;
  }
}
