*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f5f5;
  color: #333;
  min-height: 100vh;
}

.screen { display: none; min-height: 100vh; }
.screen.active { display: flex; flex-direction: column; }

.card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  flex: 1;
}

h1 { font-size: 24px; font-weight: 700; margin-bottom: 8px; color: #1a1a1a; }
h2 { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
p { font-size: 16px; line-height: 1.5; color: #555; margin-bottom: 16px; }

.btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
  text-align: center;
}
.btn:disabled { background: #ccc; cursor: not-allowed; }
.btn-secondary { background: #f0f0f0; color: #333; }

.input-group { margin-bottom: 16px; }
.input-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: #555; }
.input-group input[type="text"] {
  width: 100%; padding: 14px; border: 2px solid #ddd;
  border-radius: 10px; font-size: 16px;
}
.input-group input:focus { border-color: #0066cc; outline: none; }

.situation-btn {
  display: block; width: 100%; padding: 18px; margin-bottom: 12px;
  background: white; border: 2px solid #ddd; border-radius: 12px;
  font-size: 17px; font-weight: 500; cursor: pointer; text-align: left;
}
.situation-btn:hover { border-color: #0066cc; background: #f0f7ff; }

.guide-img {
  width: 100%; border-radius: 12px; margin-bottom: 16px;
  border: 2px solid #eee; background: #f9f9f9;
  min-height: 160px; object-fit: contain;
}

.progress { display: flex; gap: 8px; padding: 16px; justify-content: center; }
.progress-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #ddd; transition: background 0.3s;
}
.progress-dot.done { background: #28a745; }
.progress-dot.active { background: #0066cc; }

.status-msg {
  padding: 14px; border-radius: 10px; margin-top: 12px;
  font-size: 15px; text-align: center;
}
.status-msg.checking { background: #e8f4fd; color: #0066cc; }
.status-msg.ok { background: #d4edda; color: #155724; }
.status-msg.error { background: #f8d7da; color: #721c24; }

.gdpr-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; }
.gdpr-row input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.gdpr-row label { font-size: 14px; color: #555; line-height: 1.4; }

.honeypot { display: none; }

.thank-you { text-align: center; padding-top: 48px; }
.thank-you .icon { font-size: 64px; margin-bottom: 16px; }

.page-thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0; }
.page-thumb { background: #e8f5e9; color: #2e7d32; padding: 4px 10px; border-radius: 20px; font-size: 0.85rem; }
