* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f5f5ee;
  color: #173b33;
  font:
    15px/1.5 "Microsoft YaHei",
    system-ui,
    sans-serif;
}
main {
  width: min(1080px, 100%);
  margin: auto;
  padding: 36px 26px 100px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #cbd6cb;
  padding-bottom: 22px;
  margin-bottom: 23px;
}
h1 {
  font-size: clamp(24px, 4vw, 37px);
  margin: 0;
  letter-spacing: -1px;
}
h2 {
  font-size: 21px;
  margin: 0 0 17px;
}
h3 {
  font-size: 16px;
}
button,
select,
input,
textarea {
  font: inherit;
  color: inherit;
}
button,
select,
input,
textarea {
  border: 1px solid #a7b9ac;
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
}
button {
  cursor: pointer;
  font-weight: 600;
}
button:hover {
  background: #e2efdf;
}
button:disabled {
  opacity: 0.55;
}
button.primary,
nav button[aria-current="true"] {
  background: #1c483b;
  color: #fff;
  border-color: #1c483b;
}
nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
section {
  background: #fffffb;
  border: 1px solid #d5dfd3;
  border-radius: 17px;
  padding: 22px;
  margin: 16px 0;
  overflow-x: auto;
}
label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 95px;
  font-size: 13px;
}
form,
.actions {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
}
input,
select {
  max-width: 100%;
}
textarea {
  width: 100%;
  min-height: 160px;
  font:
    13px/1.5 Consolas,
    monospace;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin: 15px 0;
}
th,
td {
  border-bottom: 1px solid #e1e6dc;
  padding: 9px 8px;
  font-size: 13px;
}
th {
  color: #587062;
}
code {
  font-size: 12px;
  word-break: break-all;
}
.notice {
  padding: 9px 14px;
  border-radius: 8px;
  background: #e4ecd9;
  margin: 12px 0;
}
.err {
  background: #fde5d9;
  color: #7d2c19;
}
.muted {
  color: #587062;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
}
.wide {
  flex: 1 1 300px;
}
.hidden,
[hidden] {
  display: none !important;
}
small {
  display: block;
  color: #61776a;
  margin-top: 8px;
}
.kpi {
  font-size: 22px;
  font-weight: bold;
}
.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.grid article {
  border: 1px solid #dbe3d7;
  border-radius: 10px;
  padding: 12px;
}
a {
  color: #215d50;
}
.thumb {
  width: 140px;
  height: 110px;
  object-fit: contain;
}
header button {
  font-size: 13px;
}
