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

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #fafafa;
  color: #1a1a1a;
  line-height: 1.6;
  padding: 24px 16px 48px;
}

.container {
  max-width: 640px;
  margin: 0 auto;
}

.header {
  margin-bottom: 32px;
}

.header h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.header p {
  font-size: 14px;
  color: #666;
}

.progress-bar {
  margin-bottom: 36px;
}

.progress-text {
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}

.bar-bg {
  background: #e5e5e5;
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}

.bar-fill {
  background: #1a1a1a;
  height: 6px;
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s ease;
}

.section {
  margin-bottom: 32px;
}

.section-title {
  font-size: 15px;
  font-weight: 700;
  border-left: 3px solid #1a1a1a;
  padding-left: 10px;
  margin-bottom: 14px;
}

.checklist {
  list-style: none;
}

.checklist li {
  margin-bottom: 10px;
}

.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
}

.checklist input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #1a1a1a;
  cursor: pointer;
}

.checklist label:has(input:checked) {
  color: #aaa;
  text-decoration: line-through;
}

.checklist--ref label {
  color: #555;
}

.checklist--ref label:has(input:checked) {
  color: #bbb;
}

.result {
  margin-top: 32px;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}

.result.complete {
  background: #1a1a1a;
  color: #fff;
}

.result.incomplete {
  background: #f0f0f0;
  color: #555;
}

.reset-btn {
  display: block;
  margin: 16px auto 0;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  color: #555;
  transition: border-color 0.2s, color 0.2s;
}

.reset-btn:hover {
  border-color: #888;
  color: #1a1a1a;
}
