* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: #eef3f0;
  color: #16251d;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

button,
input {
  font: inherit;
}

.page {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 24px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid #b9c9be;
  border-radius: 8px;
  background: #f8fbf7;
}

.eyebrow {
  color: #24734c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-top: 10px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
}

.summary {
  max-width: 680px;
  margin-top: 16px;
  color: #4d6256;
  font-size: 17px;
  line-height: 1.7;
}

.stat-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.stat-board div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px;
  border-radius: 8px;
  background: #183f2d;
  color: #ffffff;
  padding: 24px;
}

.stat-board strong {
  font-size: 44px;
  line-height: 1;
}

.stat-board span {
  margin-top: 8px;
  color: #c8e2d1;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: 18px;
  margin-top: 18px;
}

.panel,
.explain article {
  border: 1px solid #b9c9be;
  border-radius: 8px;
  background: #ffffff;
}

.panel {
  min-height: 360px;
  padding: 20px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

h2 {
  font-size: 21px;
  letter-spacing: 0;
}

.panel-head span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #e5f0e9;
  color: #24734c;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

button {
  border: 0;
  border-radius: 6px;
  background: #24734c;
  color: #ffffff;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 800;
}

button.secondary {
  background: #d8862f;
}

.task-list,
.info-list {
  list-style: none;
}

.task-list li,
.info-list li {
  border-top: 1px solid #e3ebe6;
  padding: 12px 0;
  color: #405448;
}

.task-list label {
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.task-list input {
  width: 18px;
  height: 18px;
  accent-color: #24734c;
}

.log-box {
  height: 132px;
  overflow: auto;
  margin-top: 18px;
  border-radius: 6px;
  background: #121d17;
  color: #cfead7;
  padding: 12px;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
}

.log-box div + div {
  margin-top: 6px;
}

.explain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.explain article {
  padding: 20px;
}

.explain p {
  margin-top: 10px;
  color: #405448;
  line-height: 1.7;
}

pre {
  min-height: 180px;
  overflow-x: auto;
  margin-top: 14px;
  border-radius: 6px;
  background: #121d17;
  color: #d9f2df;
  padding: 14px;
  font-size: 13px;
  line-height: 1.5;
}

code {
  font-family: Consolas, Monaco, monospace;
}

.info-list code {
  border-radius: 4px;
  background: #eef3f0;
  color: #183f2d;
  padding: 1px 5px;
}

@media (max-width: 900px) {
  .hero,
  .workspace,
  .explain {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 24px;
  }

  .stat-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .stat-board {
    grid-template-columns: 1fr;
  }

  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
