* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f6f6ef;
  color: #1d3832;
  font:
    15px/1.6 "DM Sans",
    "Microsoft YaHei",
    sans-serif;
}
aside {
  width: 224px;
  background: #143d35;
  color: #e6eee4;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 38px 20px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: Georgia, serif;
  font-size: 21px;
  line-height: 1.15;
}
.brand b {
  font-weight: normal;
}
.brand small {
  font: 10px monospace;
  background: #b9db81;
  color: #183d32;
  padding: 2px 5px;
  border-radius: 4px;
}
.radar,
.scope {
  position: relative;
  background:
    repeating-radial-gradient(
      circle,
      transparent 0 15%,
      #9dc29b88 16% 17%,
      transparent 18% 26%
    ),
    conic-gradient(from 25deg, transparent 72%, #b7d57d99);
  border: 1px solid #9dc29b88;
  border-radius: 50%;
}
.radar {
  width: 38px;
  height: 38px;
  flex: none;
}
nav {
  display: grid;
  gap: 6px;
  margin-top: 55px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
nav button {
  border: none;
  color: #d9e3d9;
  background: none;
  text-align: left;
  padding: 10px 14px;
  border-radius: 7px;
}
nav button.active {
  background: #d9e9a8;
  color: #193d32;
  font-weight: 700;
}
footer {
  margin-top: auto;
  color: #adc7b9;
  font: 12px/1.8 monospace;
}
main {
  max-width: 1530px;
  margin-left: 224px;
  padding: 22px clamp(18px, 3.4vw, 58px) 65px;
}
.top,
.line,
.bar,
.meta,
.tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top,
.line,
.bar {
  justify-content: space-between;
}
.top {
  font-size: 13px;
  border-bottom: 1px solid #d4dace;
  padding-bottom: 16px;
}
.hero {
  background: #e7ecd9;
  border: 1px solid #d2dbc5;
  border-radius: 12px;
  margin: 24px 0;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero > div:first-child {
  z-index: 1;
}
.hero span,
.kicker {
  font: 600 11px/1.6 monospace;
  letter-spacing: 2px;
  color: #486746;
}
h1 {
  font-size: clamp(26px, 3vw, 42px);
  margin: 5px 0;
  letter-spacing: -1px;
}
p {
  margin: 5px 0;
}
.hero p {
  color: #526451;
  font-size: 14px;
}
.scope {
  width: 114px;
  height: 114px;
  flex: none;
  margin-right: 14px;
  background-color: #cedcbf;
}
.scope:before,
.scope:after {
  content: "";
  position: absolute;
  background: #49794655;
}
.scope:before {
  left: 50%;
  width: 1px;
  height: 100%;
}
.scope:after {
  top: 50%;
  height: 1px;
  width: 100%;
}
.scope i {
  position: absolute;
  background: #386746;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  top: 32%;
  left: 63%;
  box-shadow: -35px 30px #729754;
}
.stats,
.sources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat,
article,
.panel {
  background: #fffefa;
  border: 1px solid #d8ddd1;
  border-radius: 9px;
}
.stat {
  padding: 13px 20px;
  font-size: 13px;
  color: #53685e;
}
.stat strong {
  display: block;
  font:
    34px Georgia,
    serif;
  color: #24473b;
}
.bar {
  margin: 23px 0 14px;
}
.bar h2,
h2 {
  font-size: 19px;
  margin: 0;
}
.tools {
  gap: 8px;
}
input,
select,
textarea,
button {
  border: 1px solid #c7d2c3;
  border-radius: 6px;
  padding: 6px 10px;
  background: #fffefa;
  color: #203f33;
}
button:hover,
a:hover {
  filter: brightness(0.92);
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #71994c;
}
.primary {
  background: #245342;
  color: white;
  border-color: #245342;
}
.panel,
article {
  padding: 18px 22px;
  margin-bottom: 12px;
}
.panel label,
dialog label {
  display: block;
  margin: 9px 0;
}
article h3 {
  margin: 7px 0;
  font:
    600 clamp(18px, 1.5vw, 23px) / 1.3 Georgia,
    serif;
  overflow-wrap: anywhere;
}
article p,
.subtle,
summary {
  font-size: 13px;
  color: #58695f;
}
.meta {
  gap: 7px;
  font: 12px/1.6 monospace;
}
.chip {
  background: #eaf1de;
  color: #38583b;
  border-radius: 4px;
  padding: 2px 7px;
}
.hit {
  background: #f3e6c6;
  color: #745a1e;
}
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.actions a,
a {
  color: #276747;
}
.actions a {
  font-size: 13px;
}
.actions details {
  flex: 1;
}
summary {
  cursor: pointer;
}
details > div {
  margin-top: 12px;
}
textarea {
  display: block;
  width: 100%;
  margin: 9px 0;
}
.abstract {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.figure {
  max-width: min(100%, 480px);
  max-height: 210px;
  object-fit: contain;
  display: block;
  margin: 12px 0;
}
.sources {
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
}
.sources .panel {
  margin: 0;
}
.sources h3 {
  margin: 5px 0;
}
.empty {
  text-align: center;
  padding: 36px 16px;
  color: #53685e;
}
.pages {
  display: flex;
  gap: 10px;
}
.status,
#notice:not(:empty) {
  background: #f7efd8;
  border-radius: 7px;
  padding: 10px 14px;
  margin: 10px 0;
}
dialog {
  border: 1px solid #c5d2c1;
  border-radius: 12px;
  padding: 30px;
}
dialog::backdrop {
  background: #173b3477;
}
.hidden {
  display: none;
}
@media (max-width: 800px) {
  aside {
    position: static;
    width: auto;
    padding: 12px 16px;
  }
  .brand {
    font-size: 16px;
  }
  .brand br,
  footer {
    display: none;
  }
  .radar {
    width: 28px;
    height: 28px;
  }
  nav {
    display: flex;
    overflow: auto;
    margin: 10px 0 0;
    gap: 5px;
  }
  nav button {
    white-space: nowrap;
    font-size: 13px;
    padding: 6px;
  }
  main {
    margin: 0;
    padding: 15px;
  }
  .scope {
    width: 66px;
    height: 66px;
    margin: 0;
  }
  .hero {
    padding: 16px;
    margin: 15px 0;
  }
  .stats {
    gap: 5px;
  }
  .stat {
    padding: 8px;
  }
  .stat strong {
    font-size: 25px;
  }
  article,
  .panel {
    padding: 14px;
  }
  .top {
    gap: 5px;
  }
  .hero p {
    max-width: 28em;
  }
}
