:root {
  --bg: #f3f8ef;
  --card: #fff;
  --line: #d5e1d5;
  --text: #1f2f22;
  --muted: #607364;
  --primary: #1f6a40;
  --ok: #126734;
  --warn: #b42318;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at 0 0, #dff2da, transparent 38%), var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.layout {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 14px 32px;
  display: grid;
  gap: 14px;
}

.hero {
  background: linear-gradient(130deg, #0f4828 0%, #2f8956 100%);
  color: #eefaf1;
  border-radius: 16px;
  padding: 20px;
}

.hero h1 { margin: 8px 0; font-size: clamp(1.2rem, 3.6vw, 1.9rem); }
.hero p { margin: 0; color: #ddf0e2; }
.eyebrow { margin: 0; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

h2 { margin: 0 0 12px; font-size: 1.08rem; }

.row { display: flex; gap: 8px; }
.prefix-row button { min-width: 150px; }

input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 10px;
}

button {
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  padding: 0 14px;
  height: 40px;
  cursor: pointer;
}
.ghost { background: #eef5ef; color: #244b33; border: 1px solid #c8dbc9; }
.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  background: #ffffff;
  color: #1f6a40;
  border: 1px solid #d8e8da;
  height: 40px;
  padding: 0 14px;
  font-weight: 600;
}

.muted { color: var(--muted); margin: 8px 0 0; }
.hidden { display: none; }
.item { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef3ee; }
.item:last-child { border-bottom: none; }
.value-ok { color: var(--ok); font-weight: 700; }
.value-warn { color: var(--warn); font-weight: 700; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 900px; }
th, td { border-bottom: 1px solid #edf3ee; text-align: left; padding: 10px 8px; font-size: 14px; }
th { background: #f5faf5; color: #345340; }
.empty { text-align: center; color: #607364; }

@media (max-width: 700px) {
  .row { flex-direction: column; }
  button { width: 100%; }
  .grid-3 { grid-template-columns: 1fr; }
  .link-btn { width: 100%; }
}
