* { box-sizing: border-box; }

body {
  font-family: -apple-system, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: #f4f2ee;
  color: #201c18;
  margin: 0;
  padding: 24px;
}

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

h1 {
  font-size: 22px;
  margin-bottom: 4px;
}

.card {
  background: #fff;
  border: 2px solid #201c18;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 12px 0 4px;
}

input, textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid #b8b0a4;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}

textarea { min-height: 70px; resize: vertical; }

button {
  background: #b8401c;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 14px;
}

button:hover { opacity: 0.9; }

button.secondary {
  background: transparent;
  color: #b8401c;
  border: 1.5px solid #b8401c;
}

button.danger {
  background: transparent;
  color: #c0392b;
  border: 1.5px solid #c0392b;
  padding: 4px 10px;
  font-size: 12px;
  margin-top: 0;
}

.error { color: #c0392b; font-size: 13px; margin-top: 8px; }
.hint { color: #6b6259; font-size: 12px; margin-top: 4px; }

.toggle-link {
  font-size: 13px;
  color: #b8401c;
  cursor: pointer;
  text-decoration: underline;
}

.faq-item {
  border-top: 1px solid #e5e0d8;
  padding: 12px 0;
}

.faq-item .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.faq-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b6259;
  margin-top: 6px;
  cursor: pointer;
}

.faq-toggle input { width: auto; }

.faq-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.faq-actions button.secondary {
  padding: 4px 10px;
  font-size: 12px;
  margin-top: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-box {
  background: #f4f2ee;
  border-radius: 6px;
  padding: 14px;
  text-align: center;
}

.stat-box .num { font-size: 26px; font-weight: 700; }
.stat-box .label { font-size: 12px; color: #6b6259; }

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
