:root{
  --bg: #f4fbf7;
  --card: #ffffff;
  --border: #d7efe2;
  --border-strong: #c7e7d8;
  --text: #0f1b14;
  --muted: #5a6a61;
  --brand: #2fb86c;
  --brand-2: #34c975;
  --shadow: 0 10px 30px rgba(10, 40, 25, 0.06);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --container: 980px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color:var(--text);
  background:var(--bg);
}

a{color:inherit}
code{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

.page{
  max-width:var(--container);
  margin:0 auto;
  padding:28px 18px 60px;
}

.hero{
  background:linear-gradient(180deg, rgba(47,184,108,0.08), rgba(47,184,108,0.00));
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:26px 22px;
  box-shadow:var(--shadow);
}
.hero__title{
  margin:0;
  font-size:34px;
  line-height:1.2;
  letter-spacing:.2px;
}
.hero__subtitle{
  margin:10px 0 0;
  color:var(--muted);
}
.hero__actions{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}
.hero__meta{margin:14px 0 0; color:var(--muted); font-size:13px}
.dot{margin:0 8px; opacity:.6}

.btn{
  appearance:none;
  border:1px solid var(--border-strong);
  background:var(--card);
  color:var(--text);
  padding:10px 14px;
  border-radius:999px;
  font-weight:600;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.btn:disabled{opacity:.55; cursor:not-allowed}
.btn--primary{
  background:linear-gradient(180deg, var(--brand-2), var(--brand));
  border-color:rgba(47,184,108,.35);
  color:white;
}
.btn--ghost{background:transparent}

.test{margin-top:18px}
.test__topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.progress{flex:1}
.progress__track{
  background:rgba(47,184,108,.10);
  border:1px solid var(--border);
  border-radius:999px;
  height:12px;
  overflow:hidden;
}
.progress__fill{
  height:100%;
  background:linear-gradient(90deg, var(--brand), #6ee7b7);
  width:0%;
  transition:width .25s ease;
}
.progress__count{min-width:70px; text-align:right; color:var(--muted); font-weight:600}

.questions{margin-top:14px; display:flex; flex-direction:column; gap:14px}

.q{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  padding:18px 18px 14px;
}
.q__head{display:flex; align-items:flex-start; justify-content:space-between; gap:12px}
.q__badge{
  border:1px solid var(--border);
  background:rgba(47,184,108,.06);
  color:#1f7a4c;
  font-weight:700;
  padding:4px 10px;
  border-radius:999px;
  font-size:13px;
  white-space:nowrap;
}
.q__dim{color:var(--muted); font-size:13px; white-space:nowrap}
.q__stem{margin:10px 0 0; font-size:18px; line-height:1.5; font-weight:650}

.opts{margin-top:12px; display:flex; flex-direction:column; gap:10px}
.opt{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  padding:12px 12px;
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  background:#fff;
  text-align:left;
}
.opt:hover{border-color:var(--border-strong)}
.radio{
  width:18px;
  height:18px;
  border-radius:50%;
  border:2px solid rgba(15,27,20,.25);
  display:grid;
  place-items:center;
  flex:0 0 auto;
}
.radio::after{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:transparent;
}
.opt[data-checked="true"]{border-color:rgba(47,184,108,.55); box-shadow:0 0 0 3px rgba(47,184,108,.10)}
.opt[data-checked="true"] .radio{border-color:var(--brand)}
.opt[data-checked="true"] .radio::after{background:var(--brand)}
.opt__key{font-weight:800; width:20px; text-align:center; color:#1b5a3a}
.opt__text{flex:1; line-height:1.45}

.actions{display:flex; gap:12px; justify-content:flex-end; margin-top:14px; flex-wrap:wrap}

.site-footer{
  margin-top:22px;
  padding:10px 6px 0;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}
.site-footer a{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:2px;
}

@media (max-width: 640px){
  .hero__title{font-size:26px}
  .q{padding:16px 14px 12px}
  .q__stem{font-size:17px}
}
