:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --ink: #171716;
  --muted: #6e6b65;
  --line: #ddd9d1;
  --line-strong: #b9b4aa;
  --regulatory: #b90f16;
  --regulatory-deep: #930b10;
  --regulatory-soft: #fbefef;
  --academic: #1148a5;
  --academic-deep: #0a347c;
  --academic-soft: #edf3ff;
  --procurement: #0b4b3c;
  --procurement-deep: #06372d;
  --procurement-soft: #eef6f2;
  --gold: #b38823;
  --gold-soft: #faf4e3;
  --danger: #c5221f;
  --shadow: 0 10px 30px rgba(28, 25, 20, 0.07);
  --serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 0 clamp(18px, 3vw, 46px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.site-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #111;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.site-brand-mark {
  width: 56px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-left: calc(clamp(18px, 3vw, 46px) * -1);
  background: var(--regulatory);
  color: #fff;
  font-family: var(--serif);
  font-size: 37px;
  line-height: 1;
}

.site-nav {
  height: 68px;
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.site-nav a {
  min-width: 86px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-bottom: 3px solid transparent;
  color: #242321;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  border-bottom-color: var(--regulatory);
  color: #000;
  outline: none;
}

.site-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: #292724;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.global-search {
  height: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px 82px;
  border: 1px solid #99958e;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.global-search input,
.global-search select,
.global-search button {
  min-width: 0;
  height: 42px;
  border: 0;
  border-radius: 0;
}

.global-search input {
  padding: 0 22px;
  outline: none;
  color: var(--ink);
}

.global-search input::placeholder {
  color: #9a9690;
}

.global-search select {
  padding: 0 12px;
  border-left: 1px solid var(--line);
  background: #fff;
  color: #3e3b37;
  cursor: pointer;
}

.global-search button {
  background: #0b0b0b;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.global-search button:hover,
.global-search button:focus-visible {
  background: #2b2926;
  outline: none;
}

.site-footer {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 12px 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: #75716a;
  font-size: 12px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #111;
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 44px;
    overflow-x: auto;
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    min-width: 100px;
  }

  .site-meta span:first-child,
  .site-meta span:last-child {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 60px;
    padding-inline: 14px;
  }

  .site-brand {
    font-size: 20px;
  }

  .site-brand-mark {
    width: 48px;
    height: 60px;
    margin-left: -14px;
    font-size: 31px;
  }

  .site-nav {
    margin-inline: -14px;
    padding-inline: 8px;
  }

  .site-meta {
    gap: 10px;
  }

  .global-search {
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  .global-search select {
    display: none;
  }
}
