.ps-page {
  max-width: 1340px;
  margin: 0 auto;
  padding: 34px 0 80px;
  color: #29232f;
}
.ps-hero {
  background: #fff;
  border: 1px solid #e9e3ef;
  padding: 36px 42px 24px;
  box-shadow: 0 12px 32px #4b2b7510;
}
.ps-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #8b6caf;
}
.ps-hero h1 {
  font-size: 34px;
  margin: 12px 0 6px;
}
.ps-hero p {
  margin: 0;
  color: #756b7d;
}
.ps-current-type {
  display: flex;
  align-items: center;
  margin: 27px 0 13px;
  border-bottom: 1px solid #eee8f2;
}
.ps-current-type span {
  display: inline-block;
  padding: 0 2px 10px;
  border-bottom: 2px solid #69409b;
  color: #69409b;
  font-size: 13px;
  font-weight: 700;
}
.ps-search-form {
  height: 54px;
  border: 1px solid #d9d0e2;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 10px;
}
.ps-search-form > svg {
  color: #76509f;
}
.ps-search-form input {
  border: 0;
  outline: 0;
  flex: 1;
  font-size: 16px;
  min-width: 0;
}
.ps-search-form button[type="submit"] {
  height: 40px;
  background: #70459e;
  color: #fff;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ps-clear {
  padding: 5px;
  color: #988da1;
}
.ps-tools {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  font-size: 12px;
}
.ps-hints {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  color: #8b8191;
}
.ps-hints button {
  color: #69409b;
  padding: 4px 9px;
  border: 1px solid #e8def0;
  border-radius: 99px;
  background: #fcfaff;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}
.ps-hints button:hover {
  background: #f2eafa;
  border-color: #cdb8df;
}
.ps-hints-label {
  color: #8b8191;
  white-space: nowrap;
}
.ps-hints-divider {
  width: 1px;
  height: 16px;
  background: #e6ddea;
  margin: 0 2px;
}
.ps-hints .ps-history-hint {
  color: #7c6d87;
  background: #fff;
}
.ps-hints .ps-history-clear {
  border: 0;
  background: transparent;
  color: #a093aa;
  padding-left: 3px;
  padding-right: 3px;
}
.ps-advance-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #69409b;
  white-space: nowrap;
}
.ps-advance-toggle span {
  color: #968ba0;
}
.ps-advanced {
  margin-top: 22px;
  border-top: 1px solid #eee8f2;
  padding-top: 20px;
}
.ps-advanced-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ps-advanced-head button,
.ps-facet-head button {
  font-size: 12px;
  color: #78559b;
}
.ps-field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 18px;
}
.ps-field {
  min-width: 0;
}
.ps-field label {
  display: block;
  font-size: 12px;
  color: #736879;
  margin-bottom: 7px;
}
.ps-field > input {
  width: 100%;
  height: 38px;
  border: 1px solid #ddd4e5;
  padding: 0 10px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 5px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.ps-field > input:hover {
  border-color: #bba7cf;
}
.ps-field > input:focus-visible {
  outline: 0;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px #6942971b;
}
.ps-date-range {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ps-date-range .ant-picker {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 38px;
  border-color: #ddd4e5;
  box-shadow: none;
}
.ps-date-range .ant-picker:hover {
  border-color: #bba7cf;
}
.ps-date-range .ant-picker-focused {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px #6942971b;
}
.ps-date-range .ant-picker-input > input {
  min-width: 0;
  font-size: 12px;
}
.ps-date-divider {
  flex: none;
  font-size: 11px;
  color: #8e8198;
}
.ps-picker {
  position: relative;
}
.ps-picker-trigger {
  width: 100%;
  height: 38px;
  border: 1px solid #ddd4e5;
  background: #fff;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 9px;
  border-radius: 5px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.ps-picker-trigger > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ps-picker-placeholder {
  color: #958b9c;
}
.ps-picker-trigger:hover {
  border-color: #bba7cf;
}
.ps-picker-trigger.open {
  border-color: #76509f;
  box-shadow: 0 0 0 3px #6942971b;
}
.ps-picker-trigger:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}
.ps-picker-arrow {
  flex: none;
  color: #9580a8;
  transition:
    transform 180ms ease,
    color 180ms ease;
}
.ps-picker-trigger.open .ps-picker-arrow {
  transform: rotate(180deg);
  color: var(--purple);
}
.ps-picker-menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd4e5;
  box-shadow: 0 12px 26px #39234d1c;
  padding: 8px;
  min-width: min(240px, calc(100vw - 36px));
  border-radius: 7px;
  animation: ps-picker-enter 160ms ease-out;
}
@keyframes ps-picker-enter {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ps-picker-options {
  max-height: 230px;
  overflow: auto;
}
.ps-picker-selections {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-height: 85px;
  overflow: auto;
  padding: 2px 0 8px;
}
.ps-picker-selections button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 4px 6px;
  border-radius: 3px;
  background: #f1eaf7;
  color: #704a93;
  font-size: 11px;
}
.ps-picker-selections span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ps-picker-selections button:hover {
  background: #e8dcf1;
}
.ps-picker-search {
  display: flex;
  gap: 6px;
  border: 1px solid #e8e0ed;
  background: #faf8fc;
  color: #9c8ba9;
  border-radius: 4px;
  padding: 5px 8px;
  margin-bottom: 6px;
}
.ps-picker-search:focus-within {
  border-color: var(--purple);
}
.ps-picker-search button {
  display: flex;
  align-items: center;
  color: #877493;
}
.ps-picker-search input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 12px;
}
.ps-tree-row {
  display: flex;
  align-items: center;
  min-height: 34px;
  gap: 4px;
  border-radius: 4px;
}
.ps-tree-row:hover {
  background: #f8f5fb;
}
.ps-tree-row.selected {
  background: #f3edf8;
}
.ps-tree-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #514758;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
.ps-tree-row label span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.ps-tree-row input {
  accent-color: var(--purple);
}
.ps-tree-row small {
  margin-right: 7px;
  color: #9c8da8;
}
.ps-tree-expand {
  width: 18px;
  height: 25px;
  display: grid;
  place-items: center;
  flex: none;
  color: #8b759f;
}
.ps-tree-expand svg {
  transition: transform 0.16s;
}
.ps-tree-expand svg.rotated {
  transform: rotate(90deg);
}
.ps-tree-spacer {
  width: 18px;
}
.ps-picker-foot {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid #eee;
  padding-top: 8px;
  margin-top: 7px;
  font-size: 11px;
  color: #887e90;
}
.ps-picker-foot button {
  color: #69409b;
  display: flex;
  gap: 3px;
  align-items: center;
}
.ps-picker-foot span {
  margin-right: auto;
  align-self: center;
}
.ps-picker-foot button:disabled {
  opacity: 0.42;
  cursor: default;
}
.ps-picker-done {
  font-weight: 600;
}
.ps-control-note {
  padding: 13px 9px;
  color: #94879f;
  font-size: 12px;
}
@media (prefers-reduced-motion: reduce) {
  .ps-picker-menu {
    animation: none;
  }
  .ps-picker-arrow,
  .ps-picker-trigger,
  .ps-field > input {
    transition: none;
  }
}
.ps-body {
  display: grid;
  grid-template-columns: 236px 1fr;
  gap: 28px;
  margin-top: 30px;
}
.ps-facets {
  border-right: 1px solid #eee8f2;
  padding-right: 22px;
}
.ps-facet-head {
  display: flex;
  justify-content: space-between;
}
.ps-facets p {
  font-size: 11px;
  color: #9a909e;
  margin: 8px 0 22px;
}
.ps-facet-group {
  border-top: 1px solid #eee8f2;
  padding: 16px 0;
}
.ps-facet-group h3 {
  font-size: 13px;
  margin: 0 0 10px;
}
.ps-facet-group label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  margin: 9px 0;
}
.ps-facet-group label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.ps-facet-group small {
  color: #a69baa;
}
.ps-result-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid #eee8f2;
  padding-bottom: 15px;
}
.ps-result-head span {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #9278ab;
}
.ps-result-head h2 {
  font-size: 22px;
  margin: 7px 0 0;
}
.ps-result-head h2 small {
  font-size: 12px;
  color: #958a9e;
  font-weight: 400;
  margin-left: 8px;
}
.ps-result-head > button {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #76509f;
  font-size: 12px;
}
.ps-result-note {
  font-size: 12px;
  color: #8b8191;
  padding: 14px 0;
}
.ps-item {
  border-bottom: 1px solid #eee8f2;
  padding: 18px 0;
}
.ps-item-overline {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #947ca4;
}
.ps-item-overline em {
  font-style: normal;
  color: #5d957f;
}
.ps-item h3 {
  font-size: 18px;
  margin: 10px 0 8px;
}
.ps-item h3 a:hover {
  color: #70459e;
}
.ps-item p {
  font-size: 13px;
  color: #746a7b;
  line-height: 1.7;
  margin: 0 0 10px;
}
.ps-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #84798b;
}
.ps-item-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.ps-item-bottom span {
  font-size: 11px;
  background: #f1edf5;
  color: #76509f;
  padding: 4px 7px;
}
.ps-item-bottom a {
  margin-left: auto;
  color: #70459e;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.ps-item-bottom .ps-online-link {
  margin-left: auto;
  border: 1px solid #b9d8d0;
  background: #f2faf7;
  color: #347f70;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background .18s, border-color .18s, color .18s;
}
.ps-item-bottom .ps-online-link + a {
  margin-left: 4px;
}
.ps-item-bottom .ps-online-link:hover {
  background: #e5f5f0;
  border-color: #83bcae;
  color: #216758;
}
@media (prefers-reduced-motion: reduce) {
  .ps-item-bottom .ps-online-link { transition: none; }
}
.ps-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  font-size: 12px;
  color: #807587;
}
.ps-pagination button {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #70459e;
}
.ps-pagination button:disabled {
  color: #b9b0bf;
  cursor: not-allowed;
}
.ps-state {
  padding: 70px 0;
  text-align: center;
  color: #887e90;
}
.ps-state button {
  margin-left: 10px;
  color: #70459e;
}
.ps-skeleton {
  padding-top: 10px;
}
.ps-skeleton-summary {
  display: flex;
  gap: 8px;
  padding: 12px 0 16px;
}
.ps-skeleton-summary i,
.ps-skeleton-tags i,
.ps-skeleton-facet i,
.ps-skeleton-line,
.ps-skeleton-facet span {
  display: block;
  background: linear-gradient(100deg, #f0eaf5 25%, #faf8fc 42%, #f0eaf5 60%);
  background-size: 260% 100%;
  animation: ps-shimmer 1.45s ease-in-out infinite;
  border-radius: 4px;
}
.ps-skeleton-summary i {
  width: 72px;
  height: 12px;
}
.ps-skeleton-item {
  border-bottom: 1px solid #eee8f2;
  padding: 20px 0 22px;
}
.ps-skeleton-line {
  height: 12px;
  width: 92%;
  margin: 10px 0;
}
.ps-skeleton-line.short {
  width: 28%;
  height: 9px;
  margin-top: 0;
}
.ps-skeleton-line.title {
  width: 68%;
  height: 18px;
  margin: 14px 0;
}
.ps-skeleton-line.medium {
  width: 58%;
}
.ps-skeleton-tags {
  display: flex;
  gap: 7px;
  margin-top: 16px;
}
.ps-skeleton-tags i {
  width: 44px;
  height: 18px;
}
.ps-facet-skeleton > div {
  padding: 16px 0;
  border-top: 1px solid #eee8f2;
}
.ps-skeleton-line.facet-title {
  width: 38%;
  height: 12px;
  margin: 0 0 14px;
}
.ps-skeleton-facet {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 12px 0;
}
.ps-skeleton-facet i {
  width: 13px;
  height: 13px;
  border-radius: 3px;
}
.ps-skeleton-facet span {
  width: 72%;
  height: 10px;
}
@keyframes ps-shimmer {
  to {
    background-position: -140% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ps-skeleton-summary i,
  .ps-skeleton-tags i,
  .ps-skeleton-facet i,
  .ps-skeleton-line,
  .ps-skeleton-facet span {
    animation: none;
  }
}
.ps-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #dcd1e6;
  border-top-color: #70459e;
  border-radius: 50%;
  vertical-align: -3px;
  margin-right: 8px;
  animation: spin 0.8s linear infinite;
}
.ps-warning {
  background: #fff8e9;
  color: #856d3e;
  padding: 10px 14px;
  font-size: 12px;
  margin-top: 14px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 800px) {
  .ps-page {
    padding: 20px 0;
  }
  .ps-hero {
    padding: 24px 18px;
  }
  .ps-field-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ps-body {
    grid-template-columns: 1fr;
  }
  .ps-facets {
    border-right: 0;
    border-bottom: 1px solid #eee8f2;
    padding: 0 0 10px;
  }
  .ps-tools {
    align-items: flex-start;
    flex-direction: column;
  }
  .ps-search-form button[type="submit"] {
    padding: 0 12px;
  }
}
@media (max-width: 520px) {
  .ps-field-grid {
    grid-template-columns: 1fr;
  }
  .ps-hero h1 {
    font-size: 28px;
  }
  .ps-item h3 {
    font-size: 16px;
  }
}

.ps-graph-trigger { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #e4d9ed; background: #f8f5fb; color: #69458f; padding: 5px 9px; font-size: 11px; cursor: pointer; transition: background .18s, border-color .18s; }
.ps-graph-trigger:hover { background: #eee5f6; border-color: #bc9cd8; }
.dg-backdrop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 28px; background: #21162abb; }
.dg-dialog { width: min(1180px, 100%); max-height: min(850px, calc(100vh - 56px)); overflow: auto; background: #fcfafc; box-shadow: 0 28px 80px #1d10264d; }
.dg-inline { width: 100%; }
.dg-content { color: #372c40; }
.dg-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 24px; border-bottom: 1px solid #e8e1ec; }
.dg-heading span { display: inline-flex; align-items: center; gap: 9px; color: #593676; font-size: 17px; font-weight: 650; }
.dg-heading button { display: grid; place-items: center; width: 30px; height: 30px; color: #7f6a8d; cursor: pointer; }
.dg-context { display: flex; align-items: baseline; gap: 16px; padding: 16px 24px; }
.dg-context strong { font-size: 15px; line-height: 1.5; }
.dg-context small { flex: none; color: #95869d; font-size: 11px; }
.dg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; min-height: 450px; border-top: 1px solid #eee8f1; }
.dg-chart-wrap { position: relative; min-width: 0; background: radial-gradient(circle at 50% 46%, #fcfaff 0%, #f3edf8 100%); }
.dg-chart { width: 100%; height: 470px; }
.dg-reset { position: absolute; left: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #ddd1e8; background: #fff; color: #71558b; padding: 7px 10px; font-size: 11px; cursor: pointer; }
.dg-side { overflow-y: auto; max-height: 470px; padding: 20px 18px; border-left: 1px solid #e7dfeb; background: #faf8fb; }
.dg-side h3 { margin: 0 0 16px; font-size: 13px; color: #61506f; }
.dg-group { border-top: 1px solid #ece5ef; padding: 13px 0; }
.dg-group h4 { display: flex; justify-content: space-between; margin: 0 0 9px; color: #765295; font-size: 12px; }
.dg-group h4 small { color: #a493af; }
.dg-group button { display: block; width: 100%; overflow: hidden; padding: 7px 0; border: 0; background: transparent; color: #584a62; font-size: 11px; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.dg-group button:hover { color: #6e399b; }
.dg-selected { display: grid; gap: 12px; }
.dg-selected span { color: #8a59ad; font-size: 11px; }
.dg-selected strong { line-height: 1.6; font-size: 14px; }
.dg-selected small { color: #928498; }
.dg-selected a { display: inline-flex; align-items: center; gap: 4px; color: #694297; font-size: 12px; }
.dg-selected button { justify-self: start; color: #85738f; font-size: 11px; }
.dg-state { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 235px; padding: 30px; color: #8c7c98; font-size: 13px; }
.dg-state button { display: inline-flex; align-items: center; gap: 5px; color: #704898; cursor: pointer; }
.dg-loading { width: 18px; height: 18px; border: 2px solid #d9cbe5; border-top-color: #7651a1; border-radius: 50%; animation: dg-spin .8s linear infinite; }
.pd-page section.pd-graph-section { padding: 28px 0; }
.pd-graph-section .dg-heading { padding-left: 0; }
.pd-graph-section .dg-context { padding-left: 0; }
.pd-graph-section .dg-layout { border: 1px solid #e8e1ec; }
@keyframes dg-spin { to { transform: rotate(360deg); } }
@media (max-width: 740px) { .dg-backdrop { padding: 10px; } .dg-dialog { max-height: calc(100vh - 20px); } .dg-context { display: grid; gap: 4px; } .dg-layout { grid-template-columns: 1fr; } .dg-chart { height: 360px; } .dg-side { max-height: 220px; border-left: 0; border-top: 1px solid #e7dfeb; } }
@media (prefers-reduced-motion: reduce) { .dg-loading { animation: none; } .ps-graph-trigger { transition: none; } }

.pd-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 32px 90px;
  color: #2a2530;
}
.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #77529b;
  font-size: 13px;
  margin: 2px 0 26px;
}
.pd-heading {
  border-bottom: 1px solid #e6dfeb;
  padding-bottom: 26px;
}
.pd-heading > span {
  font-size: 11px;
  color: #8c6cad;
  letter-spacing: 0.12em;
}
.pd-heading h1 {
  font-size: 30px;
  line-height: 1.45;
  max-width: 900px;
  margin: 10px 0 14px;
}
.pd-actions a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #71459f;
  font-size: 13px;
}
.pd-page section {
  border-bottom: 1px solid #eae4ed;
  padding: 28px 0;
}
.pd-page section h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  margin: 0 0 18px;
}
.pd-page section h2 small {
  font-weight: 400;
  color: #8d8194;
  font-size: 12px;
}
.pd-info dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 30px;
  margin: 0;
}
.pd-info dl div {
  min-width: 0;
}
.pd-info dt {
  color: #968b9c;
  font-size: 12px;
  margin-bottom: 5px;
}
.pd-info dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.pd-main {
  max-width: 1000px;
}
.pd-document {
  white-space: pre-wrap;
  line-height: 1.9;
  color: #4e4554;
  font-size: 15px;
}
.pd-document p {
  margin: 0 0 16px;
}
.pd-section {
  border-top: 1px solid #eee8f2;
}
.pd-section > button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-weight: 600;
  text-align: left;
}
.pd-section > button svg {
  transition: transform 0.18s;
}
.pd-section > button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.pd-section-body {
  padding: 0 0 20px;
  color: #61566a;
  line-height: 1.8;
  white-space: pre-wrap;
}
.pd-section-body a {
  color: #71459f;
  display: inline-flex;
  align-items: center;
}
.pd-muted {
  color: #918698;
  font-size: 13px;
}
.pd-versions,
.pd-related {
  display: grid;
  gap: 0;
}
.pd-versions a,
.pd-related a {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #eee8f2;
  padding: 14px 0;
  font-size: 13px;
}
.pd-versions time,
.pd-related span {
  color: #8e749e;
  min-width: 90px;
}
.pd-versions strong {
  font-weight: 500;
}
.pd-versions span {
  margin-left: auto;
  color: #8e8395;
}
.pd-related svg {
  margin-left: auto;
}
.pd-state {
  text-align: center;
  padding: 100px 0;
  color: #84788e;
}
.pd-skeleton {
  padding-top: 28px;
}
.pd-skeleton-kicker,
.pd-skeleton-title,
.pd-skeleton-meta i,
.pd-skeleton-heading,
.pd-skeleton-row i,
.pd-skeleton-row span,
.pd-skeleton-text {
  display: block;
  border-radius: 4px;
  background: linear-gradient(100deg, #f0eaf5 25%, #faf8fc 42%, #f0eaf5 60%);
  background-size: 260% 100%;
  animation: pd-shimmer 1.45s ease-in-out infinite;
}
.pd-skeleton-kicker {
  width: 100px;
  height: 12px;
  margin-bottom: 18px;
}
.pd-skeleton-title {
  width: 78%;
  height: 30px;
}
.pd-skeleton-meta {
  display: flex;
  gap: 12px;
  margin: 22px 0 34px;
}
.pd-skeleton-meta i {
  width: 90px;
  height: 13px;
}
.pd-skeleton-heading {
  width: 90px;
  height: 18px;
  margin: 4px 0 24px;
}
.pd-skeleton-heading.wide {
  width: 120px;
}
.pd-skeleton-row {
  display: flex;
  gap: 25px;
  padding: 12px 0;
}
.pd-skeleton-row i {
  width: 70px;
  height: 12px;
}
.pd-skeleton-row span {
  width: 52%;
  height: 12px;
}
.pd-skeleton-text {
  height: 13px;
  margin: 17px 0;
  width: 95%;
}
.pd-skeleton-text:last-child {
  width: 62%;
}
@keyframes pd-shimmer {
  to {
    background-position: -140% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pd-skeleton * {
    animation: none;
  }
}
.pd-state button {
  color: #71459f;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pd-private-preview {
  position: relative;
  min-height: calc(100vh - 230px);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.pd-private-blur {
  position: absolute;
  inset: 45px 0 0;
  padding: 25px 30px;
  color: #6f5b7d;
  filter: blur(10px);
  opacity: .62;
  user-select: none;
  pointer-events: none;
}
.pd-preview-kicker { width: 110px; height: 12px; background: #cbbbd7; margin-bottom: 20px; }
.pd-preview-title { width: 70%; height: 32px; background: #c7b4d4; margin-bottom: 22px; }
.pd-preview-meta { display: flex; gap: 14px; margin-bottom: 50px; }
.pd-preview-meta i { width: 95px; height: 13px; background: #d8cde0; }
.pd-preview-section { width: 115px; height: 20px; background: #c7b4d4; margin-bottom: 28px; }
.pd-preview-lines { display: grid; gap: 19px; }
.pd-preview-lines i { display: block; height: 13px; width: 92%; background: #d8cde0; }
.pd-preview-lines i:nth-child(2) { width: 78%; }
.pd-preview-lines i:nth-child(4) { width: 87%; }
.pd-private-preview::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(247, 243, 249, .48); backdrop-filter: blur(3px); }
.pd-private-card { position: fixed; top: 50%; bottom: auto; left: 50%; transform: translate(-50%, -50%); z-index: 60; width: min(520px, calc(100% - 36px)); padding: 28px 30px; text-align: center; background: rgba(255, 253, 255, .94); border: 1px solid #e5d9eb; box-shadow: 0 22px 60px rgba(70, 38, 93, .16); }
.pd-private-icon { display: grid; place-items: center; width: 45px; height: 45px; margin: 0 auto 17px; color: #70449a; background: #eee5f4; border-radius: 50%; }
.pd-private-card .section-index { display: block; margin-bottom: 10px; }
.pd-private-card h1 { margin: 0; color: #392447; font-size: 22px; font-weight: 600; }
.pd-private-card p { margin: 13px 0 23px; color: #81758b; font-size: 13px; line-height: 1.8; }
.pd-private-login { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 150px; padding: 12px 20px; color: #fff; background: #70449a; font-size: 13px; }
.pd-private-login:hover { background: #59347f; }
@media (max-width: 700px) {
  .pd-page {
    padding: 22px 17px 60px;
  }
  .pd-heading h1 {
    font-size: 23px;
  }
  .pd-info dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pd-versions a,
  .pd-related a {
    flex-wrap: wrap;
  }
}

/* Portal structure */
:root {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: #302b3b;
  background: #f5f6f8;
  font-synthesis: none;
  --purple: #694297;
  --muted: #7c7786;
  --line: #e5e3ea;
  --paper: #fefeff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  touch-action: manipulation;
  transition:
    background 0.16s,
    color 0.16s;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}
svg {
  flex-shrink: 0;
}
::selection {
  background: #e8def3;
}
.utility-bar {
  background: #f0eef4;
  border-bottom: 1px solid #e7e3ed;
  color: #80748f;
  font-size: 11px;
}
.utility-bar > div {
  max-width: 1280px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding: 9px 32px;
  gap: 8px 20px;
  flex-wrap: wrap;
}
.utility-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-left: auto;
}
.utility-links a {
  white-space: nowrap;
}
.utility-links a:hover {
  color: var(--purple);
}
.site-header {
  height: 94px;
  max-width: 1280px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  gap: 30px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, #fff 94%, #f1ebf7);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 180ms ease,
    border-color 180ms ease;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.brand-symbol {
  height: 42px;
  width: 42px;
  display: grid;
  place-items: center;
  border-radius: 4px 12px 4px 12px;
  background: var(--purple);
  color: #faf7ff;
}
.brand strong {
  font-size: 29px;
  letter-spacing: 2px;
  font-weight: 650;
}
.brand-sub {
  font-size: 15px;
  border-left: 1px solid #d8d1e2;
  padding-left: 18px;
  margin-left: 5px;
  letter-spacing: 1px;
}
.brand-sub small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #97899f;
  margin-top: 5px;
}
.site-header nav {
  display: flex;
  gap: 36px;
  height: 100%;
  align-items: stretch;
  font-size: 14px;
}
.site-header nav a {
  display: flex;
  align-items: center;
  position: relative;
}
.site-header nav a:hover,
.site-header nav a.current {
  color: var(--purple);
}
.site-header nav a.current:after {
  content: "";
  position: absolute;
  bottom: 19px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--purple);
}
main {
  max-width: 1280px;
  margin: auto;
  padding: 0 32px;
}
.hero {
  padding: 37px 48px 28px;
  background: #eeebf4;
  border: 1px solid #e6e0ef;
  border-top: 3px solid var(--purple);
  position: relative;
}
.hero:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 180px;
  background: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 19px,
    #9882b008 20px,
    #9882b008 21px
  );
  pointer-events: none;
}
.portal-search-heading {
  display: flex;
  align-items: baseline;
  gap: 25px;
  margin-bottom: 25px;
}
.portal-search-heading h1 {
  font-size: 27px;
  font-weight: 550;
  letter-spacing: 1px;
  margin: 0;
}
.portal-search-heading p {
  font-size: 12px;
  color: #8e7f9f;
  margin: 0;
  letter-spacing: 0.6px;
}
.portal-search-box {
  max-width: 920px;
  margin: auto;
  position: relative;
  z-index: 1;
}
.search-scopes {
  display: flex;
  gap: 26px;
  margin-bottom: 13px;
}
.search-scopes button {
  padding: 0 0 9px;
  font-size: 13px;
  color: #80718e;
  position: relative;
  white-space: nowrap;
}
.search-scopes button.active {
  color: var(--purple);
  font-weight: 550;
}
.search-scopes button.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid var(--purple);
  transform: translateX(-50%);
}
.hero-search {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fdfcff;
  border: 1px solid #ac93c6;
  min-height: 56px;
  padding-left: 18px;
  box-shadow: 0 4px 14px #5a397609;
}
.hero-search:focus-within {
  border-color: var(--purple);
}
.hero-search > svg {
  color: #a697b6;
}
.hero-search input {
  flex: 1;
  min-width: 0;
  width: 0;
  background: none;
  border: 0;
  outline: none;
  font-size: 14px;
  color: #3e314d;
}
.hero-search input:focus-visible {
  outline: none;
}
.hero-search input::placeholder {
  color: #a19aa9;
}
.search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 9px;
  background: var(--purple);
  color: #fdfaff;
  min-width: 110px;
  font-size: 14px;
  letter-spacing: 2px;
}
.search-submit:hover {
  background: #593482;
}
.clear-input {
  display: flex;
  padding: 7px;
  color: #9c8eaa;
}
.search-note {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  color: #978ba3;
  margin-top: 12px;
  line-height: 1.7;
}
.portal-status {
  background: #fefeff;
  border: 1px solid var(--line);
  border-top: 0;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 17px 25px;
  font-size: 11px;
  color: #8b8296;
}
.portal-status > span {
  display: flex;
  gap: 9px;
  align-items: center;
}
.portal-status strong {
  font-size: 18px;
  color: var(--purple);
  font-weight: 550;
  letter-spacing: 0.2px;
  font-variant-numeric: tabular-nums;
}
.portal-status b {
  font-weight: 500;
}
.portal-status > span.status-end {
  margin-left: auto;
  font-size: 10px;
}
.status-end i {
  width: 5px;
  height: 5px;
  background: #719684;
  border-radius: 50%;
}
.positive {
  color: #557f6c;
}
.negative {
  color: #a1784f;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.section-heading h2 {
  font-size: 19px;
  font-weight: 550;
  letter-spacing: 0.2px;
  margin: 0;
  border-left: 3px solid var(--purple);
  padding-left: 12px;
  line-height: 1.2;
}
.section-note {
  font-size: 10px;
  color: #96909f;
}
.collection {
  padding: 28px 0;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: #fefeff;
  border: 1px solid var(--line);
  padding: 22px 0;
}
.metric {
  padding: 0 20px;
  border-left: 1px solid var(--line);
}
.metric:first-child {
  border-left: 0;
}
.metric-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #81738e;
  font-size: 12px;
}
.metric-index {
  display: none;
}
.metric > strong {
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 550;
  letter-spacing: -0.4px;
  margin: 15px 0;
  display: block;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.metric > strong small {
  font-size: 9px;
  font-weight: 400;
  color: #a297ab;
  margin-left: 5px;
}
.metric-foot {
  display: flex;
  gap: 7px;
  font-size: 9px;
  color: #a398ad;
  min-height: 14px;
}
.metric-foot > span:first-child {
  display: flex;
  align-items: center;
  gap: 2px;
}
.metric.unavailable > strong {
  color: #a195aa;
}
.skeleton > strong {
  font-size: 17px;
  color: #aa9ab8;
}
.skeleton > span {
  height: 8px;
  display: block;
  background: #eee9f3;
  width: 60%;
}
.home-metrics-skeleton {
  display: contents;
}
.home-metrics-skeleton .metric {
  min-height: 105px;
}
.home-metrics-skeleton .metric i,
.home-metrics-skeleton .metric b,
.home-metrics-skeleton .metric span,
.resource-skeleton i,
.resource-skeleton span {
  display: block;
  border-radius: 4px;
  background: linear-gradient(100deg, #f0eaf5 25%, #faf8fc 42%, #f0eaf5 60%);
  background-size: 260% 100%;
  animation: portal-shimmer 1.45s ease-in-out infinite;
}
.home-metrics-skeleton .metric i {
  width: 62px;
  height: 10px;
}
.home-metrics-skeleton .metric b {
  width: 78px;
  height: 25px;
  margin: 15px 0;
}
.home-metrics-skeleton .metric span {
  width: 58px;
  height: 8px;
}
.resource-skeleton {
  padding-top: 2px;
}
.resource-skeleton > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px 52px;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid #eeedf2;
}
.resource-skeleton i {
  width: 68%;
  height: 12px;
}
.resource-skeleton span {
  width: 52px;
  height: 10px;
}
.resource-skeleton span:last-child {
  width: 36px;
}
@keyframes portal-shimmer {
  to {
    background-position: -140% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-metrics-skeleton *,
  .resource-skeleton * {
    animation: none;
  }
}
.resource-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  margin-bottom: 32px;
  scroll-margin-top: 25px;
}
.resource-center,
.resource-sidebar {
  background: #fefeff;
  border: 1px solid var(--line);
  min-width: 0;
}
.resource-center > .section-heading,
.resource-sidebar > .section-heading {
  padding: 22px 22px 0;
  margin-bottom: 22px;
}
.resource-tabs {
  display: flex;
  gap: 24px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  overflow: auto;
  scrollbar-width: thin;
}
.resource-tabs button {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 0 0 15px;
  font-size: 12px;
  color: #8f8499;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.resource-tabs button.active {
  color: var(--purple);
  border-color: var(--purple);
  font-weight: 500;
}
.resource-table {
  padding: 0 22px;
}
.resource-table-head,
.resource-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px 52px;
  gap: 14px;
  align-items: center;
  text-align: left;
}
.resource-table-head {
  font-size: 10px;
  color: #a298aa;
  padding: 14px 0;
  border-bottom: 1px solid #efedf3;
}
.resource-row {
  padding: 16px 0;
  width: 100%;
  border-bottom: 1px solid #eeedf2;
  font-size: 11px;
  color: #9c91a6;
}
.resource-row > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #4c4259;
}
.resource-row > span:first-child > svg {
  color: #ac9abb;
}
.resource-row strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: 400;
}
.resource-row:hover strong {
  color: var(--purple);
  text-decoration: underline;
}
.resource-row > span:last-child,
.resource-table-head > span:last-child {
  text-align: right;
}
.resource-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 17px;
  font-size: 11px;
  color: #8c769d;
}
.resource-more:hover {
  background: #f9f6fc;
}
.resource-empty {
  padding: 45px;
  text-align: center;
  font-size: 12px;
  color: #998ba4;
}
.category-links {
  padding: 0 22px;
}
.category-links > button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid #eeebf3;
  text-align: left;
}
.category-links > button > svg:first-child {
  color: #9578ac;
}
.category-links > button > svg:last-child {
  margin-left: auto;
  color: #b5a7c0;
}
.category-links strong {
  display: block;
  font-size: 12px;
  font-weight: 450;
}
.category-links small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
  color: #a294ae;
}
.category-links button:hover strong {
  color: var(--purple);
}
.snapshot-note {
  margin: 21px 22px;
  padding: 15px;
  background: #f7f5fa;
}
.snapshot-note > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #887497;
  font-size: 10px;
}
.snapshot-note strong {
  display: block;
  font-size: 11px;
  color: #6d5d7b;
  font-weight: 450;
  margin-top: 9px;
}
.snapshot-note p {
  font-size: 10px;
  line-height: 1.9;
  color: #a094aa;
  margin: 8px 0 0;
}
.exploration {
  margin-bottom: 30px;
}
.text-button {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #947fa5;
  font-size: 11px;
}
.text-button:hover {
  color: var(--purple);
}
.atlas {
  background: var(--paper);
  border: 1px solid #e1dce9;
  border-radius: 5px;
  overflow: hidden;
}
.atlas-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 25px;
}
.atlas-top > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.atlas-top > div:first-child > svg {
  color: var(--purple);
}
.atlas-top h3 {
  font-size: 13px;
  font-weight: 550;
  margin: 0;
}
.sample-badge {
  background: #f0ebf6;
  color: #9480ae;
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 3px;
}
.atlas-totals {
  display: flex;
  gap: 25px;
  font-size: 10px;
  color: #a296ad;
}
.atlas-totals strong {
  color: #675873;
  font-weight: 500;
  margin-left: 6px;
  font-variant-numeric: tabular-nums;
}
.domain-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 25px 17px;
  flex-wrap: wrap;
  border-bottom: 1px solid #eee9f3;
}
.domain-tabs button {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  white-space: nowrap;
  border-radius: 3px;
  color: #83758e;
}
.domain-tabs button:hover {
  background: #f7f3fa;
}
.domain-tabs button.active {
  background: #ece5f5;
  color: #69499e;
}
.domain-tabs button small {
  font-size: 9px;
  opacity: 0.65;
}
.domain-tabs button strong {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.domain-tabs i,
.composition-list i,
.node-list i {
  height: 6px;
  width: 6px;
  display: inline-block;
  border-radius: 50%;
  flex-shrink: 0;
}
.atlas-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  min-height: 520px;
}
.graph-canvas {
  position: relative;
  min-width: 0;
  height: 540px;
  overflow: hidden;
  background-color: #faf6ff;
  background-image:
    radial-gradient(
      circle 210px at var(--pointer-x, 50%) var(--pointer-y, 50%),
      #dfc6fa55,
      transparent
    ),
    radial-gradient(#a28cb231 0.8px, transparent 0.8px);
  background-size: 20px 20px;
}
.graph-canvas canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  z-index: 1;
}
.graph-watermark {
  position: absolute;
  left: 24px;
  top: 22px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #b5a7c3;
  pointer-events: none;
}
.graph-controls {
  position: absolute;
  right: 18px;
  bottom: 20px;
  display: flex;
  z-index: 2;
  border: 1px solid #e7dfef;
  border-radius: 4px;
  overflow: hidden;
  background: #fdfbff;
}
.graph-controls button {
  width: 34px;
  height: 32px;
  display: grid;
  place-items: center;
}
.graph-controls button + button {
  border-left: 1px solid #eee7f4;
}
.graph-controls button:hover {
  background: #eee5f6;
}
.graph-hint {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 9px;
  color: #ab9db9;
  pointer-events: none;
}
.graph-tooltip {
  position: absolute;
  z-index: 3;
  left: min(calc(var(--pointer-x, 0px) + 18px), calc(100% - 220px));
  top: min(calc(var(--pointer-y, 0px) + 18px), calc(100% - 70px));
  max-width: calc(100% - 48px);
  padding: 9px 12px;
  background: #fdfbff;
  border: 1px solid #d7c9e5;
  font-size: 11px;
  pointer-events: none;
  box-shadow: 0 3px 14px #6243780a;
}
.node-panel {
  padding: 21px 22px;
  border-left: 1px solid #ece6f1;
  height: 540px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #d5c9e0 transparent;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 11px;
  color: #746580;
}
.panel-heading > small {
  font-size: 9px;
  color: #ad9fba;
}
.panel-heading button {
  display: flex;
  padding: 0;
}
.node-list > button {
  display: flex;
  width: 100%;
  text-align: left;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0ebf5;
}
.node-list > button:first-child {
  padding-top: 0;
}
.node-list > button:hover {
  color: var(--purple);
}
.list-index {
  font-size: 9px;
  color: #b2a4bf;
  padding-top: 2px;
}
.node-list > button > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.node-list strong {
  font-size: 11px;
  font-weight: 450;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.node-list small {
  font-size: 9px;
  color: #a296ad;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
}
.node-list > button > svg {
  margin-top: 4px;
  color: #b8aac4;
}
.node-list > button.load-more {
  justify-content: center;
  font-size: 10px;
  color: var(--purple);
  align-items: center;
  padding-top: 16px;
}
.atlas-footer {
  border-top: 1px solid #eee9f3;
  padding: 15px 25px;
  font-size: 9px;
  color: #a193ae;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  line-height: 1.8;
}
.atlas-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.tiny-dot {
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: #a693ba;
  flex-shrink: 0;
}
.node-domain {
  display: inline-block;
  font-size: 10px;
  margin-bottom: 7px;
}
.node-title {
  font-size: 18px;
  line-height: 1.8;
  font-weight: 500;
  margin: 3px 0 20px;
  overflow-wrap: anywhere;
}
.node-meta {
  font-size: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  margin-bottom: 23px;
}
.node-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}
.node-meta dt {
  color: #a193ae;
}
.node-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}
.relation-heading {
  font-size: 11px;
  color: #7c6c8b;
  display: flex;
  gap: 10px;
}
.relation-heading > span {
  color: #b8abc3;
}
.relation-list > button {
  padding: 13px 0;
  width: 100%;
  border-bottom: 1px solid #eee8f4;
  text-align: left;
}
.relation-list small {
  color: #a699b2;
  font-size: 9px;
}
.relation-list > button > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.8;
  margin-top: 5px;
}
.relation-list > button:hover {
  color: var(--purple);
}
.empty-copy {
  font-size: 11px;
  color: #a193ae;
  line-height: 1.9;
}
.graph-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #a491b7;
  background: #faf7fd;
  min-height: 400px;
  padding: 24px;
  text-align: center;
}
.graph-empty h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 20px 0 0;
}
.graph-empty p {
  font-size: 11px;
}
.graph-skeleton {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #faf7fd;
  gap: 12px;
}
.graph-skeleton-orbit {
  position: relative;
  width: 190px;
  height: 190px;
  border: 1px dashed #d9cce4;
  border-radius: 50%;
}
.graph-skeleton-orbit:before {
  content: "";
  position: absolute;
  inset: 35px;
  border: 1px dashed #e6ddec;
  border-radius: 50%;
}
.graph-skeleton-orbit i,
.graph-skeleton-orbit b {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ddcbe9;
  animation: graph-pulse 1.5s ease-in-out infinite;
}
.graph-skeleton-orbit i:nth-child(1) {
  top: 20px;
  left: 85px;
}
.graph-skeleton-orbit i:nth-child(2) {
  top: 83px;
  right: 18px;
  animation-delay: 0.25s;
}
.graph-skeleton-orbit i:nth-child(3) {
  bottom: 20px;
  left: 50px;
  animation-delay: 0.5s;
}
.graph-skeleton-orbit i:nth-child(4) {
  top: 100px;
  left: 18px;
  animation-delay: 0.75s;
}
.graph-skeleton-orbit b {
  width: 30px;
  height: 30px;
  top: 80px;
  left: 80px;
  background: #b99ccf;
}
.graph-skeleton-line {
  width: 110px;
  height: 10px;
  border-radius: 4px;
  background: #e5dbea;
}
.graph-skeleton-line.short {
  width: 75px;
  opacity: 0.7;
}
@keyframes graph-pulse {
  50% {
    transform: scale(1.2);
    opacity: 0.55;
  }
}
@media (prefers-reduced-motion: reduce) {
  .graph-skeleton-orbit i,
  .graph-skeleton-orbit b {
    animation: none;
  }
}
.query-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 25px;
  background: #f4eff9;
  color: #85699e;
  font-size: 11px;
}
.query-state button {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
}

.graph-canvas {
  height: 400px;
  background-size: 24px 24px;
}
.node-panel {
  height: 400px;
}
.atlas-body {
  min-height: 400px;
}
.atlas {
  border-radius: 0;
}
.atlas-top {
  padding: 19px 22px;
}
.graph-watermark {
  display: none;
}
.domain-overview {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 45px;
  background: #fefeff;
  border: 1px solid var(--line);
  padding: 25px;
  margin-bottom: 30px;
}
.section-index {
  color: var(--purple);
  font-size: 11px;
}
.composition-intro h2 {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.6;
  margin: 14px 0;
}
.composition-intro p {
  font-size: 11px;
  color: #9a8aa5;
}
.composition-bar {
  display: flex;
  height: 9px;
  gap: 2px;
  margin: 4px 0 20px;
  overflow: hidden;
}
.composition-bar > span {
  min-width: 2px;
}
.composition-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
}
.composition-list > div {
  display: grid;
  grid-template-columns: 1fr 100px 48px;
  gap: 8px;
  font-size: 11px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.composition-list > div > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8e7d9c;
}
.composition-list i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.composition-list strong {
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.composition-list small {
  font-size: 9px;
  color: #a79aaf;
  text-align: right;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 27px 32px;
  max-width: 1280px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  font-size: 10px;
  color: #a092ac;
}
.footer-brand {
  font-size: 19px;
  letter-spacing: 1px;
  color: #7e658e;
}
.footer-brand small {
  font-size: 9px;
  margin-left: 7px;
  letter-spacing: 2px;
  color: #ad9eb6;
}
.site-footer > span:last-child {
  display: flex;
  align-items: center;
  gap: 5px;
}
.error-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px;
  background: #f4eee2;
  border: 1px solid #e6d8bc;
  font-size: 11px;
  color: #94784c;
  margin-top: 20px;
}
.error-message button {
  display: flex;
  align-items: center;
  gap: 6px;
}
.spinning {
  animation: spin 1.2s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1100px) {
  .site-header nav {
    gap: 25px;
  }
  .hero {
    padding: 30px;
  }
  .metric {
    padding: 0 14px;
  }
  .resource-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
  }
  .resource-tabs {
    gap: 17px;
  }
  .composition-list {
    grid-template-columns: 1fr;
  }
  .domain-overview {
    grid-template-columns: 220px 1fr;
  }
  .atlas-body {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .atlas-totals {
    gap: 13px;
  }
}
@media (max-width: 800px) {
  main {
    padding: 0 20px;
  }
  .site-header {
    padding: 0 20px;
    height: 83px;
  }
  .brand-sub {
    display: none;
  }
  .site-header nav {
    font-size: 12px;
    gap: 22px;
  }
  .utility-bar > div {
    padding: 9px 20px;
    font-size: 10px;
  }
  .hero {
    padding: 27px 25px;
  }
  .portal-search-heading {
    display: block;
    margin-bottom: 23px;
  }
  .portal-search-heading h1 {
    font-size: 25px;
  }
  .portal-search-heading p {
    margin-top: 10px;
    font-size: 11px;
  }
  .search-scopes {
    gap: 23px;
    overflow: auto;
    scrollbar-width: thin;
  }
  .search-scopes button {
    font-size: 12px;
  }
  .portal-status {
    padding: 15px 18px;
    gap: 18px;
  }
  .portal-status > span.status-end {
    display: none;
  }
  .metric-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
  }
  .metric {
    padding: 22px;
  }
  .metric:nth-child(4) {
    border-left: 0;
  }
  .metric:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }
  .metric > strong {
    font-size: 25px;
  }
  .resource-layout {
    grid-template-columns: 1fr;
  }
  .resource-sidebar {
    display: block;
  }
  .category-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 20px;
  }
  .snapshot-note {
    margin-top: 14px;
  }
  .snapshot-note p {
    margin-bottom: 0;
  }

  .resource-tabs {
    gap: 28px;
  }
  .atlas-body {
    grid-template-columns: minmax(0, 1fr) 235px;
  }
  .atlas-top {
    padding: 18px;
  }
  .atlas-totals {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .atlas-totals span {
    white-space: nowrap;
  }
  .domain-tabs {
    padding: 0 14px 14px;
    gap: 1px;
  }
  .domain-tabs button {
    font-size: 9px;
    padding: 8px;
  }
  .node-panel {
    padding: 18px 14px;
  }
  .graph-hint {
    left: 15px;
    font-size: 8px;
  }
  .graph-controls {
    right: 12px;
    bottom: 43px;
  }
  .atlas-footer {
    flex-direction: column;
    gap: 4px;
    padding: 12px 18px;
  }
  .domain-overview {
    gap: 20px;
    grid-template-columns: 190px 1fr;
  }
  .composition-list > div {
    grid-template-columns: 1fr 90px 48px;
    font-size: 10px;
  }
  .site-footer > span:nth-child(2) {
    display: none;
  }
}
@media (max-width: 560px) {
  .utility-bar > div {
    font-size: 9px;
    padding: 8px 16px;
  }
  .site-header {
    height: 74px;
    padding: 0 16px;
    gap: 15px;
  }
  .brand {
    gap: 7px;
  }
  .brand strong {
    font-size: 23px;
  }
  .brand-symbol {
    width: 31px;
    height: 34px;
  }
  .brand-symbol svg {
    width: 21px;
  }
  .site-header nav {
    font-size: 11px;
    gap: 17px;
  }
  .site-header nav a.current:after {
    bottom: 12px;
    height: 2px;
  }
  main {
    padding: 0 14px;
  }
  .hero {
    padding: 25px 18px 22px;
  }
  .portal-search-heading h1 {
    font-size: 23px;
  }
  .portal-search-heading p {
    font-size: 10px;
    letter-spacing: 0;
  }
  .search-scopes {
    gap: 21px;
    margin-bottom: 11px;
  }
  .search-scopes button {
    font-size: 11px;
    padding-bottom: 8px;
  }
  .hero-search {
    gap: 9px;
    padding-left: 12px;
    min-height: 50px;
  }
  .hero-search > svg {
    width: 17px;
  }
  .hero-search input {
    font-size: 12px;
  }
  .search-submit {
    min-width: 70px;
    font-size: 12px;
    gap: 5px;
    letter-spacing: 0;
  }
  .search-submit svg {
    width: 14px;
  }
  .search-note {
    font-size: 9px;
  }
  .search-note > span:last-child {
    display: none;
  }
  .portal-status {
    flex-wrap: wrap;
    gap: 7px 16px;
    padding: 13px 17px;
    font-size: 9px;
  }
  .portal-status > span {
    gap: 7px;
  }
  .portal-status strong {
    font-size: 17px;
  }
  .portal-status > span:nth-child(2) {
    font-size: 8px;
  }
  .collection {
    padding: 24px 0;
  }
  .section-heading {
    gap: 12px;
    margin-bottom: 15px;
  }
  .section-heading h2 {
    font-size: 17px;
    padding-left: 9px;
  }
  .section-note {
    font-size: 9px;
  }
  .metric {
    padding: 19px 12px;
  }
  .metric-title {
    font-size: 10px;
  }
  .metric > strong {
    font-size: clamp(17px, 5vw, 23px);
    margin: 13px 0;
  }
  .metric > strong small {
    display: none;
  }
  .metric-foot {
    font-size: 8px;
    gap: 4px;
    flex-wrap: wrap;
  }
  .resource-layout {
    margin-bottom: 26px;
  }
  .resource-center > .section-heading {
    padding: 19px 17px 0;
    margin-bottom: 22px;
  }
  .resource-tabs {
    padding: 0 17px;
    gap: 22px;
  }
  .resource-tabs button {
    font-size: 11px;
    padding-bottom: 12px;
    gap: 5px;
  }
  .resource-tabs svg {
    width: 13px;
  }
  .resource-table {
    padding: 0 17px;
  }
  .resource-table-head,
  .resource-row {
    grid-template-columns: minmax(0, 1fr) 47px 32px;
    gap: 9px;
  }
  .resource-row {
    padding: 15px 0;
    font-size: 9px;
  }
  .resource-row strong {
    font-size: 11px;
  }
  .resource-row > span:first-child {
    gap: 7px;
  }
  .resource-row > span:first-child > svg {
    width: 12px;
  }
  .resource-more {
    font-size: 10px;
  }
  .resource-empty {
    padding: 35px 12px;
  }
  .atlas-top {
    padding: 17px 14px;
    gap: 10px;
    align-items: flex-start;
  }
  .atlas-top > div:first-child {
    gap: 7px;
    flex-wrap: wrap;
  }
  .atlas-top h3 {
    font-size: 12px;
  }
  .sample-badge {
    font-size: 8px;
    padding: 3px 5px;
  }
  .atlas-totals {
    flex-direction: column;
    font-size: 8px;
    gap: 5px;
  }
  .domain-tabs {
    gap: 2px;
    padding: 0 10px 13px;
  }
  .domain-tabs button {
    font-size: 9px;
    padding: 7px;
  }
  .atlas-body {
    display: flex;
    flex-direction: column;
  }
  .graph-canvas {
    height: 300px;
    flex: none;
  }
  .node-panel {
    height: 295px;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 19px;
  }
  .panel-heading {
    margin-bottom: 17px;
  }
  .node-list strong {
    font-size: 11px;
  }
  .atlas-footer {
    font-size: 8px;
    padding: 11px 14px;
  }
  .atlas-footer > span:first-child {
    align-items: flex-start;
  }
  .tiny-dot {
    margin-top: 6px;
  }
  .graph-controls {
    bottom: 15px;
  }
  .graph-hint {
    bottom: 24px;
  }
  .text-button {
    font-size: 10px;
  }
  .query-state {
    padding: 12px 15px;
    font-size: 10px;
  }
  .domain-overview {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 15px;
    margin-bottom: 22px;
  }
  .composition-intro .section-index {
    font-size: 10px;
  }
  .composition-intro h2 {
    font-size: 19px;
    margin: 9px 0;
  }
  .composition-intro p {
    font-size: 10px;
    margin: 6px 0;
  }
  .composition-list > div {
    grid-template-columns: 1fr 100px 50px;
    font-size: 10px;
  }
  .site-footer {
    padding: 23px 16px;
    gap: 12px;
    font-size: 9px;
  }
  .footer-brand {
    font-size: 16px;
  }
  .footer-brand small {
    font-size: 8px;
  }
  .error-message {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.category-links button[aria-pressed="true"] strong {
  color: var(--purple);
}
@media (max-width: 560px) {
  .category-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 17px;
    padding: 0 17px;
  }
  .category-links > button {
    gap: 9px;
    padding: 12px 0;
  }
  .category-links > button > svg:first-child {
    width: 16px;
  }
  .category-links strong {
    font-size: 11px;
  }
  .category-links small {
    font-size: 9px;
  }
  .category-links > button > svg:last-child {
    display: none;
  }
  .resource-sidebar > .section-heading {
    padding: 19px 17px 0;
  }
  .snapshot-note {
    margin: 17px;
  }
  .snapshot-note p {
    display: none;
  }
}
/* Site navigation and resource portal */
.official-logo {
  width: 108px;
  height: 48px;
  object-fit: contain;
}
.site-header {
  max-width: 1400px;
  height: 90px;
  gap: 24px;
}
.site-header nav {
  gap: 25px;
  white-space: nowrap;
}
.brand-sub {
  font-size: 13px;
  padding-left: 14px;
  margin-left: 0;
}
.portal-main {
  max-width: 1280px;
  margin: auto;
  padding: 0 32px 64px;
}
.portal-hero {
  margin: 0 -32px;
  padding: 50px 70px 38px;
  background: #efebf5;
}
.portal-search-heading h1 {
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: 2px;
  margin: 16px 0;
}
.section-index {
  font-size: 11px;
  letter-spacing: 2px;
  color: #816a9a;
}
.portal-search-box {
  max-width: 880px;
  margin: 26px auto 0;
}
.entry-search {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #c9badb;
  background: #fefeff;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 6px 24px #43305c08;
}
.entry-search > svg {
  color: #8d789e;
}
.entry-search input:not([type="hidden"]) {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  height: 48px;
  font-size: 15px;
}
.entry-search button {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--purple);
  color: #fefaff;
  padding: 16px 24px;
  white-space: nowrap;
}
.search-suggestions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  margin-top: 16px;
  color: #756782;
}
.search-suggestions > span {
  color: #94889e;
}
.portal-metrics {
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.metrics-caption {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 22px;
}
.metrics-caption span {
  color: var(--muted);
  font-size: 11px;
}
.metric-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.metric-strip > div {
  border-right: 1px solid var(--line);
  padding: 0 22px;
  min-width: 0;
}
.metric-strip > div:first-child {
  padding-left: 0;
}
.metric-strip > div:last-child {
  border: 0;
}
.metric-strip span {
  font-size: 12px;
  color: #756b7f;
}
.metric-strip strong {
  display: block;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.7px;
  margin: 10px 0 5px;
  color: #594074;
  font-variant-numeric: tabular-nums;
}
.metric-strip small {
  font-size: 10px;
  color: #8b8193;
}
.portal-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 30px;
  margin: 26px 0;
}
.portal-panel .section-heading {
  margin-bottom: 20px;
}
.heading-sub {
  font-size: 12px;
  color: #81768b;
  margin: 9px 0 0;
  line-height: 1.7;
}
.portal-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.portal-tabs button {
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}
.portal-tabs button.active {
  color: var(--purple);
  border-color: var(--purple);
}
.portal-tabs > span {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.document-list article {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 21px 0;
  border-bottom: 1px solid #efedf2;
}
.document-list article:last-child {
  border: 0;
}
.document-index {
  color: #b2a5c0;
  font-size: 12px;
  padding-top: 4px;
}
.document-list article > div {
  flex: 1;
  min-width: 0;
}
.document-list article > svg {
  color: #a292b3;
  margin-top: 4px;
}
.document-list h3,
.affair-list h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 10px;
  line-height: 1.7;
}
.document-list a:hover,
.affair-list a:hover {
  color: var(--purple);
}
.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 11px;
  color: #8a7f93;
}
.document-excerpt {
  font-size: 13px;
  line-height: 1.9;
  color: #6f6579;
}
.document-list article > div > a {
  font-size: 12px;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.portal-status {
  padding: 28px 10px;
  color: #8c7f96;
  font-size: 13px;
  line-height: 1.8;
}
.portal-status button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--purple);
  margin-left: 12px;
}
.distribution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.minor-title {
  font-size: 13px;
  font-weight: 500;
  margin: 8px 0 20px;
}
.minor-title small {
  float: right;
  color: var(--muted);
  font-weight: 400;
  font-size: 10px;
}
.coverage-values {
  display: flex;
  gap: 48px;
  margin-bottom: 26px;
}
.coverage-values strong {
  font-size: 26px;
  font-weight: 600;
  color: #624c7c;
  display: block;
}
.coverage-values strong small {
  font-size: 14px;
  font-weight: 400;
  color: #aaa0b2;
}
.coverage-values span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 8px;
}
.region-ranking > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  margin: 12px 0;
}
.region-ranking > div > span {
  color: #a798b4;
  width: 18px;
}
.region-ranking strong {
  font-weight: 400;
  width: 68px;
  flex-shrink: 0;
}
.region-ranking > div > div {
  flex: 1;
  background: #f2eef6;
  height: 5px;
}
.region-ranking i {
  display: block;
  height: 100%;
  background: #b39acb;
}
.region-ranking b {
  font-weight: 400;
  width: 58px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.year-distribution {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.year-chart {
  display: flex;
  gap: 7px;
  align-items: flex-end;
  min-height: 270px;
  padding-top: 30px;
  overflow: auto;
  border-bottom: 1px solid var(--line);
  margin-top: auto;
}
.year-chart > div {
  flex: 1;
  min-width: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.year-chart i {
  width: 65%;
  display: block;
  background: #b7a0ce;
  min-width: 10px;
}
.year-chart > div:last-child i {
  background: var(--purple);
}
.year-chart small {
  font-size: 9px;
  white-space: nowrap;
  color: #897b95;
}
.year-chart span {
  font-size: 9px;
  padding-bottom: 12px;
  color: #8d8099;
}
.chart-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 18px;
}
.affair-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 38px;
}
.affair-list article {
  border-top: 1px solid var(--line);
  padding: 23px 0;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.affair-list article > div {
  min-width: 0;
}
.affair-list article > a {
  font-size: 11px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--purple);
}
.affair-tag {
  font-size: 10px;
  color: #7c6893;
  background: #f2edf7;
  padding: 3px 7px;
  display: inline-block;
  margin-bottom: 8px;
}
.affair-list p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.access-section {
  background: #ebe6f2;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}
.access-section h2 {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.6;
  margin: 12px 0;
}
.access-section p {
  font-size: 12px;
  color: #82728f;
  line-height: 1.9;
}
.access-section a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--purple);
  font-size: 13px;
  margin-top: 16px;
}
.access-options article {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #dcd2e7;
  padding: 16px 0;
}
.access-options article:last-child {
  border: 0;
}
.access-options svg {
  color: #8d70a7;
}
.access-options h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}
.access-options p {
  margin: 5px 0 0;
  font-size: 11px;
}
.access-options em {
  font-style: normal;
  font-size: 10px;
  color: #4c7b68;
  background: #e4efe9;
  padding: 3px 7px;
  margin-left: 10px;
}
.access-options em.planned {
  color: #9886a5;
  background: #e3dbea;
}
.access-more {
  grid-column: 1/-1;
  border-top: 1px solid #dcd2e7;
  padding-top: 18px;
}
.access-more h3 {
  font-size: 16px;
}
.route-heading,
.route-hero {
  padding: 42px 0 20px;
}
.route-heading h1,
.route-hero h1 {
  font-size: 32px;
  font-weight: 500;
  margin: 14px 0;
}
.route-heading p {
  font-size: 13px;
  color: var(--muted);
}
.route-hero .portal-search-box {
  max-width: none;
  margin: 24px 0;
}
.version-list > a {
  display: flex;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  font-size: 12px;
}
.version-list span {
  color: #a695b4;
}
.version-list strong {
  flex: 1;
  font-weight: 500;
}
.version-list small {
  color: var(--muted);
}
.version-list b {
  font-size: 11px;
  color: var(--purple);
  font-weight: 500;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
}
.pagination a {
  color: var(--purple);
  border: 1px solid var(--line);
  padding: 8px 14px;
}
.portal-footer {
  background: #edeaf1;
  border-top: 1px solid #e1dce7;
  padding: 40px max(32px, calc((100% - 1216px) / 2)) 20px;
  color: #82788b;
  font-size: 11px;
}

.site-header .brand {
  gap: 12px;
}
.site-header .official-logo {
  width: 42px;
  height: 42px;
}
.site-header .brand strong {
  color: #43245e;
  font-size: 28px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 2px;
}
.site-header .brand-sub {
  display: block;
  margin-left: 6px;
  padding-left: 18px;
  border-left: 1px solid #d8d1e2;
  color: #675571;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 1px;
}
@media (max-width: 650px) {
  .site-header .official-logo {
    width: 36px;
    height: 36px;
  }
  .site-header .brand strong {
    font-size: 25px;
  }
  .site-header .brand-sub {
    margin-left: 2px;
    padding-left: 14px;
    font-size: 14px;
  }
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(270px, 1.25fr) minmax(
      210px,
      1fr
    );
  gap: 35px;
  padding-bottom: 32px;
}
.footer-main > div > img {
  width: 104px;
  height: 46px;
  object-fit: contain;
}
.footer-main p {
  line-height: 1.9;
  margin: 8px 0;
}
.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 34px;
  flex-direction: row;
}
.footer-link-group {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}
.footer-links strong {
  color: #5c4b6d;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 5px;
}
.footer-link-group a {
  color: #82788b;
}
.footer-link-group a:hover {
  color: var(--purple);
}
.policy-map-chart {
  width: 100%;
  height: 520px;
  min-height: 320px;
  margin-top: 18px;
  border: 1px solid #ebe5f4;
  background: radial-gradient(circle at 50% 44%, #fbfaff, #f5f1fb);
}
.policy-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 20px;
  margin-top: 18px;
}
.policy-map-layout .policy-map-chart {
  margin-top: 0;
}
.policy-map-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.policy-map-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #f3eef9;
  border: 1px solid #e8e0f1;
}
.policy-map-tabs button,
.policy-map-year > button {
  border: 0;
  background: transparent;
  color: #756286;
  font-size: 12px;
  cursor: pointer;
}
.policy-map-tabs button {
  padding: 8px 15px;
}
.policy-map-tabs button.active {
  background: #fff;
  color: #63418e;
  box-shadow: 0 1px 5px #4d2b761c;
  font-weight: 600;
}
.policy-map-year {
  position: relative;
  z-index: 4;
}
.policy-map-year > button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 120px;
  padding: 11px 12px;
  border: 1px solid #e5ddec;
  background: #fff;
}
.policy-map-year svg {
  transition: transform .2s ease;
}
.policy-map-year svg.rotated {
  transform: rotate(180deg);
}
.policy-map-year-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 145px;
  max-height: 260px;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid #e5ddec;
  background: #fff;
  box-shadow: 0 12px 28px #51386c24;
}
.policy-map-year-menu button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: #695678;
  text-align: left;
  font-size: 12px;
  cursor: pointer;
}
.policy-map-year-menu button:hover,
.policy-map-year-menu button[aria-selected="true"] {
  color: #623c94;
  background: #f4eff9;
}
.policy-map-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: #806f8e;
  font-size: 12px;
}
.policy-map-breadcrumb button {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #704897;
  cursor: pointer;
}
.policy-map-breadcrumb button:disabled {
  color: #806f8e;
  cursor: default;
}
.policy-map-visual {
  position: relative;
  min-width: 0;
}
.policy-map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #ebe5f4;
  background: #faf8fce8;
  color: #755f88;
  font-size: 13px;
}
.policy-map-overlay button {
  border: 1px solid #b9a3cc;
  background: #fff;
  color: #694297;
  padding: 7px 12px;
  cursor: pointer;
}
.policy-map-ranking {
  padding: 18px;
  border: 1px solid #eae3f2;
  background: #fbf9fd;
}
.policy-map-ranking > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #eae3f2;
  padding-bottom: 11px;
  margin-bottom: 8px;
}
.policy-map-ranking h3 {
  margin: 0;
  font-size: 14px;
  color: #523968;
}
.policy-map-ranking button {
  border: 0;
  background: transparent;
  font-size: 11px;
  color: #7650a1;
}
.policy-map-ranking > div:first-child button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}
.map-rank-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid #f1edf5;
  font-size: 11px;
  align-items: center;
}
.policy-map-ranking .map-rank-row {
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.policy-map-ranking .map-rank-row:hover,
.policy-map-ranking .map-rank-row.active {
  background: #f0eaf8;
}
.map-rank-row span {
  color: #ad97be;
}
.map-rank-row strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
}
.map-rank-row b {
  color: #704497;
}
.policy-map-ranking > p {
  margin: 18px 0 0;
  font-size: 11px;
  color: #8b7898;
}
.policy-map-ranking > p strong {
  color: #5b3979;
  font-size: 16px;
}
@media (max-width: 850px) {
  .policy-map-layout {
    grid-template-columns: 1fr;
  }
  .policy-map-ranking {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }
  .policy-map-ranking > div:first-child,
  .policy-map-ranking > p {
    grid-column: 1/-1;
  }
}
@media (max-width: 650px) {
  .policy-map-layout .policy-map-chart {
    height: 360px;
  }
}
.access-options .access-catalog-card {
  display: block !important;
  align-items: initial !important;
  min-height: 220px;
  padding: 24px;
  border: 1px solid #e7dfef;
  background: #fff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.access-full {
  display: block;
  background: transparent;
  padding: 0 0 64px;
}
.access-full .access-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}
.access-full .access-options .access-catalog-card:last-child {
  border: 1px solid #e7dfef;
}
.access-full .access-more {
  margin-top: 28px;
}
@media (max-width: 750px) {
  .access-full .access-options {
    grid-template-columns: 1fr;
  }
}
.access-catalog-card:hover {
  transform: translateY(-4px);
  border-color: #a78cc7;
  box-shadow: 0 16px 34px #5f3a8316;
}
.access-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #8d789b;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.access-catalog-card h3 {
  margin: 16px 0 9px;
  color: #432659;
  font-size: 19px;
}
.access-catalog-card p {
  color: #786985;
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 16px;
}
.access-catalog-card dl {
  margin: 0 0 16px;
  border-top: 1px solid #eee8f4;
}
.access-catalog-card dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f1edf5;
  font-size: 11px;
}
.access-catalog-card dt {
  color: #9c8eaa;
}
.access-catalog-card dd {
  margin: 0;
  color: #695a76;
}
.access-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0;
}
.access-tools span {
  padding: 5px 9px;
  border-radius: 99px;
  background: #f1ebf9;
  color: #7250a0;
  font-size: 11px;
}
.access-catalog-card > a {
  display: inline-flex;
  margin: 7px 16px 0 0;
  color: #694297;
  font-size: 12px;
}
.login-guide {
  width: min(520px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fcfaff;
  color: #3f2a50;
  box-shadow: 0 26px 90px #39204d38;
}
.login-guide::backdrop {
  background: #2e1c3b66;
  backdrop-filter: blur(4px);
}
.login-guide-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  border: 0;
  background: #ffffff99;
  color: #836d92;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.login-guide-art {
  height: 170px;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #5d368b, #9b72c4);
  overflow: hidden;
}
.login-guide-art::before,
.login-guide-art::after {
  content: "";
  position: absolute;
  border: 1px solid #ffffff45;
  border-radius: 50%;
  width: 260px;
  height: 260px;
}
.login-guide-art::before {
  transform: translate(-80px, 40px);
}
.login-guide-art::after {
  transform: translate(120px, -80px);
}
.login-guide-art > svg:first-child {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 12px #24103255);
}
.login-guide-art span {
  position: absolute;
  width: 90px;
  height: 90px;
  border: 1px solid #fff8;
  transform: rotate(45deg);
}
.login-guide-art svg:nth-of-type(2) {
  position: absolute;
  right: 110px;
  top: 34px;
}
.login-guide-art svg:last-child {
  position: absolute;
  left: 106px;
  bottom: 32px;
}
.login-guide-body {
  padding: 28px 32px 30px;
}
.login-guide-body .section-index {
  color: #987ab4;
  font-size: 10px;
  letter-spacing: 0.15em;
}
.login-guide-body h2 {
  margin: 10px 0 9px;
  font-size: 25px;
  color: #45265c;
}
.login-guide-body p {
  color: #806f8b;
  line-height: 1.8;
  font-size: 13px;
  margin: 0;
}
.login-guide-benefits {
  display: flex;
  gap: 20px;
  margin: 20px 0 12px;
  color: #6b4b84;
  font-size: 12px;
}
.login-guide-benefits span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.login-guide-note {
  color: #a18da9 !important;
  font-size: 11px !important;
}
.login-guide-primary {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 7px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: white;
  background: #71459f;
}
.login-guide-primary:hover {
  background: #5d3589;
}
.login-guide-later {
  width: 100%;
  border: 0;
  background: transparent;
  color: #927da0;
  margin-top: 14px;
  font-size: 12px;
}
.footer-qr {
  display: flex;
  gap: 22px;
  justify-content: flex-end;
}
.footer-qr > div {
  text-align: center;
}
.footer-qr img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: white;
  padding: 4px;
  display: block;
  margin-bottom: 10px;
}
.footer-legal {
  border-top: 1px solid #ddd5e6;
  text-align: center;
  font-size: 10px;
  line-height: 1.9;
  padding-top: 12px;
}
.footer-legal > div {
  display: flex;
  justify-content: center;
  gap: 8px 20px;
  flex-wrap: wrap;
}
.portal-main > .exploration {
  margin: 30px 0;
}
.portal-main .atlas-body {
  min-height: 440px;
}
.portal-main .atlas {
  border: 1px solid var(--line);
}
@media (max-width: 1100px) {
  .site-header {
    height: auto;
    flex-wrap: wrap;
    padding-top: 20px;
    gap: 12px;
  }
  .site-header nav {
    width: 100%;
    height: 52px;
    justify-content: space-between;
    gap: 22px;
    overflow: auto;
  }
  .site-header nav a.current:after {
    bottom: 0;
  }
  .metric-strip {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 24px;
  }
  .metric-strip > div:nth-child(4) {
    padding-left: 0;
  }
  .metric-strip > div:nth-child(3) {
    border: 0;
  }
  .brand-sub {
    display: block;
  }
  .year-chart {
    gap: 3px;
  }
  .distribution-grid {
    gap: 28px;
  }
  .footer-main {
    grid-template-columns: 2fr 1fr;
  }
  .footer-qr {
    justify-content: flex-start;
    grid-column: 1/-1;
  }
}
@media (max-width: 650px) {
  .site-header {
    padding: 15px 18px 0;
  }
  .site-header nav {
    font-size: 12px;
    gap: 22px;
    justify-content: flex-start;
  }
  .portal-main {
    padding: 0 16px 32px;
  }
  .portal-hero {
    margin: 0 -16px;
    padding: 30px 18px;
  }
  .portal-search-heading h1 {
    font-size: 25px;
    letter-spacing: 0;
    line-height: 1.6;
  }
  .portal-search-heading p {
    font-size: 12px;
    line-height: 1.8;
  }
  .entry-search {
    gap: 9px;
    padding-left: 12px;
  }
  .entry-search > svg {
    width: 17px;
  }
  .entry-search input:not([type="hidden"]) {
    font-size: 12px;
  }
  .entry-search button {
    padding: 15px 12px;
    font-size: 12px;
    gap: 8px;
  }
  .search-suggestions {
    gap: 14px;
  }
  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-strip > div {
    padding: 0 14px;
  }
  .metric-strip > div:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid var(--line);
  }
  .metric-strip > div:nth-child(even) {
    border: 0;
    padding-left: 14px;
  }
  .metric-strip strong {
    font-size: 22px;
  }
  .portal-panel {
    padding: 22px 18px;
    margin: 20px 0;
  }
  .portal-panel h2 {
    font-size: 19px;
  }
  .distribution-grid {
    grid-template-columns: 1fr;
  }
  .year-chart {
    min-height: 260px;
  }
  .affair-list {
    grid-template-columns: 1fr;
  }
  .access-section {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 15px;
  }
  .access-section h2 {
    font-size: 23px;
  }
  .access-more {
    grid-column: auto;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-qr {
    grid-column: auto;
  }
  .portal-footer {
    padding: 30px 20px 20px;
  }
  .footer-main > div:first-child {
    order: 0;
  }
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
  .footer-links strong {
    width: 100%;
  }
  .footer-legal {
    text-align: left;
  }
  .footer-legal > div {
    justify-content: flex-start;
  }
  .document-list article {
    gap: 10px;
  }
  .document-list h3 {
    font-size: 14px;
  }
  .portal-tabs {
    gap: 20px;
  }
  .portal-tabs > span {
    display: none;
  }
  .version-list > a {
    flex-wrap: wrap;
    gap: 10px;
  }
  .version-list strong {
    flex-basis: 80%;
  }
  .route-hero h1 {
    font-size: 27px;
  }
  .portal-main .atlas-totals {
    flex-wrap: wrap;
  }
  .utility-bar > div {
    padding: 8px 18px;
    font-size: 10px;
  }
}

/* 首页资源中心在移除分类导航后使用完整内容宽度。 */
.portal-main .resource-layout {
  grid-template-columns: minmax(0, 1fr);
}

/* 门户桌面内容采用 1340px 内容容器。 */
.portal-main > main {
  padding: 0;
}
@media (min-width: 651px) and (max-width: 800px) {
  .portal-main {
    padding-inline: 20px;
  }
}
@media (max-width: 650px) {
  .portal-main {
    padding-inline: 18px;
  }
}
.utility-bar > div,
.site-header,
.portal-main,
.portal-main > main {
  max-width: 1340px;
}
.portal-footer {
  padding-left: max(32px, calc((100% - 1340px) / 2));
  padding-right: max(32px, calc((100% - 1340px) / 2));
}
.portal-search-heading {
  display: block;
  text-align: center;
}
.portal-search-heading p {
  margin: 12px 0 0;
}
.official-logo {
  width: 52px;
}
.brand strong {
  font-size: 25px;
  letter-spacing: 2px;
}
.footer-main > div > img {
  width: 50px;
  object-position: left;
}
/* 站点导航：主页 / 数据查询 / 开放能力 */
.site-header nav {
  gap: 0;
}
.portal-nav-group {
  display: flex;
  align-items: stretch;
  gap: 22px;
  position: relative;
}
.portal-nav-group + .portal-nav-group {
  margin-left: 24px;
  padding-left: 24px;
}
.portal-nav-group + .portal-nav-group::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 18px;
  width: 1px;
  background: #ded7e6;
  transform: translateY(-50%);
}
@media (max-width: 1100px) {
  .portal-nav-group {
    flex-shrink: 0;
    gap: 20px;
  }
  .site-header nav {
    justify-content: flex-start;
  }
}
@media (max-width: 650px) {
  .portal-nav-group {
    gap: 18px;
  }
  .portal-nav-group + .portal-nav-group {
    margin-left: 18px;
    padding-left: 18px;
  }
}
/* 开放接入下拉导航 */
.access-dropdown {
  position: relative;
  display: flex;
  align-items: stretch;
}
.access-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  font-size: inherit;
  position: relative;
}
.access-trigger:hover,
.access-trigger.current,
.access-trigger[aria-expanded="true"] {
  color: var(--purple);
}
.access-trigger svg {
  transition: transform 180ms ease;
}
.access-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.access-trigger.current::after {
  content: "";
  position: absolute;
  bottom: 19px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--purple);
}
.access-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% - 10px);
  right: 0;
  min-width: 160px;
  padding: 7px;
  background: #fefeff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 28px #39234816;
}
.access-menu[hidden] {
  display: none;
}
.site-header nav .access-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  border-radius: 3px;
}
.site-header nav .access-menu a:hover,
.site-header nav .access-menu a[aria-current="page"] {
  background: #f0eaf6;
  color: var(--purple);
}
@media (max-width: 1100px) {
  .site-header nav {
    overflow: visible;
    flex-wrap: wrap;
    height: auto;
  }
  .portal-nav-group {
    min-height: 52px;
  }
  .access-trigger.current::after {
    bottom: 0;
  }
  .access-menu {
    top: 100%;
  }
}
@media (max-width: 650px) {
  .portal-nav-group + .portal-nav-group {
    margin-left: 12px;
    padding-left: 12px;
  }
  .portal-nav-group {
    gap: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .access-trigger svg {
    transition: none;
  }
}
@media (max-width: 650px) {
  .access-menu {
    left: 0;
    right: auto;
  }
}
/* 访客状态；接入认证会话后再展示真实用户信息。 */
.portal-auth {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 26px;
  padding-left: 24px;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 12px;
  color: #7c6d8a;
}
.portal-auth::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  background: #ded7e6;
  transform: translateY(-50%);
}
.portal-auth-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eee8f4;
  color: #826a98;
  border: 1px solid #e1d7eb;
}
@media (max-width: 1100px) {
  .portal-auth {
    min-height: 52px;
  }
}
@media (max-width: 650px) {
  .portal-auth {
    margin-left: 18px;
    padding-left: 18px;
    gap: 7px;
  }
  .portal-auth-avatar {
    width: 28px;
    height: 28px;
  }
}
.portal-auth-copy {
  display: block;
  white-space: nowrap;
  line-height: 1.35;
}
.portal-auth-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 0;
  padding-left: 24px;
}
.portal-auth-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  background: #ded7e6;
  transform: translateY(-50%);
}
.portal-auth-wrap .portal-auth {
  margin-left: 0;
  padding-left: 0;
}
.portal-auth-chevron {
  transition: transform 0.18s ease;
}
.portal-auth-wrap.is-open .portal-auth-chevron {
  transform: rotate(180deg);
}
.portal-auth-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 70;
  min-width: 150px;
  padding: 6px;
  background: #fff;
  border: 1px solid #e2d9e9;
  box-shadow: 0 12px 28px #3923481a;
}
.portal-auth-wrap.is-open .portal-auth-menu {
  display: block;
}
.portal-auth-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.site-header.is-pinned {
  box-shadow: 0 6px 20px #39234812;
  border-bottom-color: #e7e0ed;
}
.portal-auth::before {
  display: none;
}
.portal-auth-menu a,
.portal-auth-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  font-size: 12px;
  color: #665a70;
}
.portal-auth-menu a:hover,
.portal-auth-menu button:hover {
  background: #f3edf7;
  color: var(--purple);
}
.portal-auth-menu button {
  cursor: pointer;
}
.portal-auth-dialog {
  border: 1px solid #e2d9e9;
  padding: 24px 26px;
  width: min(360px, calc(100vw - 32px));
  color: #332b3b;
  box-shadow: 0 18px 50px #3923482b;
}
.portal-auth-dialog::backdrop {
  background: #30233b55;
}
.portal-auth-dialog h2 {
  font-size: 18px;
  margin: 0 0 8px;
}
.portal-auth-dialog p {
  font-size: 13px;
  color: #81758b;
  margin: 0 0 22px;
}
.portal-auth-dialog > div {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.portal-auth-dialog button {
  padding: 8px 16px;
  color: #70459e;
}
.portal-auth-dialog button:last-child {
  background: #70459e;
  color: white;
}
.portal-auth:hover {
  color: var(--purple);
}
.portal-auth.is-signed-in .portal-auth-avatar {
  background: #e7dbf2;
  color: #694297;
}
.portal-nav-group .portal-auth {
  margin-left: 0;
}
.portal-footer {
  padding-left: 0;
  padding-right: 0;
}
.portal-footer .footer-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (min-width: 651px) and (max-width: 800px) {
  .portal-footer .footer-inner {
    padding: 0 20px;
  }
}

/* 吸顶导航铺满视口，导航内容仍与页面主体保持同一条 1340px 基线。 */
.site-header {
  width: 100%;
  max-width: none;
  padding-left: max(32px, calc((100% - 1340px) / 2 + 32px));
  padding-right: max(32px, calc((100% - 1340px) / 2 + 32px));
}
@media (max-width: 650px) {
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (min-width: 651px) and (max-width: 800px) {
  .site-header {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 650px) {
  .portal-footer .footer-inner {
    padding: 0 18px;
  }
}

/* 首页首屏：全宽知识网络背景与检索层 */
.hero {
  width: 100vw;
  min-height: 500px;
  margin-left: calc(50% - 50vw);
  padding: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  border: 0;
  border-top: 1px solid #e4d9ed;
  background:
    radial-gradient(circle at 75% 34%, rgba(127, 81, 173, .14), transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(115, 78, 165, .08), transparent 35%),
    linear-gradient(115deg, #f4f0f8 0%, #f8f5fa 48%, #eee7f4 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .42;
  background-image: linear-gradient(rgba(112, 75, 157, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(112, 75, 157, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, black, transparent 88%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(248, 245, 250, .97) 0%, rgba(248, 245, 250, .77) 35%, rgba(248, 245, 250, .18) 72%, rgba(248, 245, 250, .26));
  pointer-events: none;
}
.hero-network {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
}
.hero-network canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: .92;
}
.hero-node-label {
  position: absolute;
  width: max-content;
  max-width: 240px;
  padding: 9px 13px 10px;
  border: 1px solid rgba(127, 82, 170, .26);
  background: rgba(255, 253, 255, .92);
  box-shadow: 0 12px 30px rgba(66, 39, 91, .13);
  color: #70528a;
  pointer-events: none;
  animation: hero-label-in .18s ease-out both;
}
.hero-node-label::before {
  content: "";
  position: absolute;
  left: -6px;
  bottom: -4px;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  border-right: 1px solid rgba(127, 82, 170, .26);
  border-bottom: 1px solid rgba(127, 82, 170, .26);
  background: #fffdff;
}
.hero-node-label span { display: block; margin-bottom: 3px; font-size: 10px; letter-spacing: 1px; color: #a18caf; }
.hero-node-label strong { display: block; font-size: 13px; font-weight: 600; color: #573a70; }
@keyframes hero-label-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.hero-content {
  position: relative;
  z-index: 2;
  width: min(940px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 62px;
  text-align: center;
}
.hero-kicker { display: block; margin-bottom: 15px; color: #765493; font-size: 12px; letter-spacing: 2.6px; }
.hero .portal-search-heading { display: block; text-align: center; margin-bottom: 31px; }
.hero .portal-search-heading h1 { margin: 0; font-size: clamp(32px, 4vw, 54px); line-height: 1.16; letter-spacing: 1px; font-weight: 600; color: #302039; }
.hero .portal-search-heading p { margin: 16px 0 0; color: #796985; font-size: 13px; letter-spacing: 1px; }
.hero .portal-search-box { max-width: 860px; margin: 0 auto; }
.hero .search-scopes { gap: 25px; margin-bottom: 14px; }
.hero .search-scopes button { color: #76657f; }
.hero .hero-search { max-width: 860px; min-height: 64px; border-color: #ad8bc7; background: rgba(255, 254, 255, .94); box-shadow: 0 16px 36px rgba(70, 42, 92, .12); }
.hero .search-submit { min-width: 126px; }
@media (max-width: 650px) {
  .hero { min-height: 530px; align-items: flex-start; }
  .hero-content { width: calc(100% - 36px); padding: 68px 0 52px; }
  .hero .portal-search-heading { margin-bottom: 27px; }
  .hero .portal-search-heading h1 { font-size: clamp(30px, 9vw, 42px); }
  .hero .portal-search-heading p { line-height: 1.8; }
  .hero .search-scopes { gap: 15px; overflow-x: auto; padding-bottom: 2px; }
  .hero .hero-search { min-height: 56px; }
  .hero .search-submit { min-width: 86px; padding: 0 12px; }
  .hero::after { background: linear-gradient(180deg, rgba(248, 245, 250, .98) 0%, rgba(248, 245, 250, .82) 48%, rgba(248, 245, 250, .3)); }
}

/* Final visual polish: quiet depth, clear focus states, and purposeful motion. */
:root {
  --motion-fast: 160ms;
  --motion-base: 240ms;
  --motion-smooth: cubic-bezier(.22, 1, .36, 1);
}

/* Five visible resource types now share the full desktop row evenly. */
.metric-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 800px) {
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, transform var(--motion-fast) var(--motion-smooth); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(112, 69, 158, .24); outline-offset: 3px; }

.site-header { transition: box-shadow var(--motion-base) ease, background-color var(--motion-base) ease, border-color var(--motion-base) ease; }
.site-header.is-pinned { box-shadow: 0 10px 28px rgba(50, 29, 70, .10); }
.brand:hover { transform: translateY(-1px); }
.site-header nav > .portal-nav-group > a::after, .access-trigger::after { transform-origin: left; transition: transform var(--motion-base) var(--motion-smooth), opacity var(--motion-fast) ease; }
.site-header nav > .portal-nav-group > a:hover::after, .site-header nav > .portal-nav-group > a.current::after { transform: scaleX(1); }
.access-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.access-trigger svg { transition: transform var(--motion-base) var(--motion-smooth); }
.access-menu:not([hidden]) { animation: menu-in 180ms var(--motion-smooth) both; transform-origin: top right; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-5px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

.hero .hero-kicker { animation: hero-rise 650ms .08s var(--motion-smooth) both; }
.hero .portal-search-heading h1 { animation: hero-rise 700ms .16s var(--motion-smooth) both; }
.hero .hero-search, .hero .search-scopes { animation: hero-rise 700ms .25s var(--motion-smooth) both; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hero .hero-search:focus-within { border-color: #8d62b1; box-shadow: 0 0 0 4px rgba(112, 69, 158, .12), 0 16px 36px rgba(70, 42, 92, .12); }
.hero .search-submit:hover, .ps-search-form button[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(91, 50, 127, .20); }
.hero .search-submit:active, .ps-search-form button[type="submit"]:active { transform: translateY(0); }

.portal-panel, .metric-grid, .ps-hero { box-shadow: 0 8px 26px rgba(62, 38, 80, .045); }
.metric { transition: background-color var(--motion-base) ease, transform var(--motion-base) var(--motion-smooth); }
.metric:hover { background: #fbf8fd; transform: translateY(-2px); }
.domain-tabs button { transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, transform var(--motion-fast) var(--motion-smooth); }
.domain-tabs button:hover { transform: translateY(-2px); }
.node-panel, .atlas, .policy-map-panel { transition: border-color var(--motion-base) ease, box-shadow var(--motion-base) ease; }
.node-panel:hover, .atlas:hover, .policy-map-panel:hover { border-color: #d7c6e3; box-shadow: 0 12px 30px rgba(69, 40, 92, .07); }
.policy-year-depth-content { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 30px; align-items: end; }
.policy-year-depth-summary { border-right: 1px solid #ece5f1; padding: 8px 24px 8px 0; }
.policy-year-depth-summary strong { display: block; color: #3b2650; font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.policy-year-depth-summary span, .policy-year-depth-summary small { display: block; color: #8a7d91; font-size: 12px; line-height: 1.8; }
.policy-year-depth-summary small { margin-top: 10px; color: #a294a9; }
.policy-year-depth-chart { display: grid; grid-template-columns: repeat(12, minmax(32px, 1fr)); gap: 10px; min-height: 190px; align-items: end; border-bottom: 1px solid #e8e0ee; padding: 0 4px; }
.policy-year-depth-chart > div { display: flex; min-width: 0; height: 100%; flex-direction: column; justify-content: end; align-items: center; gap: 6px; }
.policy-year-depth-chart span { color: #8b7896; font-size: 10px; white-space: nowrap; }
.policy-year-depth-chart i { display: block; width: min(22px, 72%); min-height: 8px; background: linear-gradient(180deg, #9a72bf, #694297); border-radius: 4px 4px 0 0; transform-origin: bottom; transition: transform var(--motion-base) var(--motion-smooth), filter var(--motion-base) ease; }
.policy-year-depth-chart > div:hover i { transform: scaleY(1.05); filter: brightness(1.08); }
.policy-year-depth-chart b { color: #8b7f92; font-size: 11px; font-weight: 400; }

.ps-search-form { transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
.ps-search-form:focus-within { border-color: #9873b5; box-shadow: 0 0 0 4px rgba(112, 69, 158, .10); }
.ps-advanced { animation: filter-in 230ms var(--motion-smooth) both; }
@keyframes filter-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.ps-item { transition: background-color var(--motion-fast) ease, border-color var(--motion-fast) ease; }
.ps-item:hover { background: linear-gradient(90deg, #fcfaff, transparent 80%); border-color: #d7c5e4; }
.ps-item h3 a { transition: color var(--motion-fast) ease; }
.ps-item:hover h3 a { color: #633993; }
.ps-pagination button:not(:disabled):hover { background: #f1e8f8; color: #633993; transform: translateY(-1px); }

.pd-back:hover { transform: translateX(-3px); }
.pd-actions a:hover, .pd-related a:hover, .pd-versions a:hover { color: #5f378b; }
.pd-section > button:hover { background: #fcfaff; }
.pd-private-card { animation: gate-in 420ms var(--motion-smooth) both; }
@keyframes gate-in { from { opacity: 0; transform: translate(-50%, calc(-50% + 16px)); } to { opacity: 1; transform: translate(-50%, -50%); } }
.pd-private-login:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(91, 50, 127, .20); }

@media (max-width: 700px) {
  .ps-hero { padding: 26px 20px 20px; }
  .ps-tools { align-items: flex-start; flex-direction: column; gap: 10px; }
  .ps-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-private-card { width: min(520px, calc(100% - 24px)); padding: 24px 20px; }
  .policy-year-depth-content { grid-template-columns: 1fr; gap: 18px; }
  .policy-year-depth-summary { border-right: 0; border-bottom: 1px solid #ece5f1; padding: 0 0 14px; }
  .policy-year-depth-chart { gap: 5px; overflow-x: auto; grid-template-columns: repeat(12, minmax(32px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  :is(.hero .hero-kicker, .hero .portal-search-heading h1, .hero .hero-search, .hero .search-scopes, .ps-advanced, .pd-private-card) { animation: none !important; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
