* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f7f5fb;
  color: #1f2937;
  min-height: 100vh;
  padding: 40px 16px;
  line-height: 1.5;
}
.consens-app {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(43, 29, 98, 0.08);
  padding: 32px;
}
.consens-header h1 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: #2b1d62;
}
.consens-subtitle {
  margin: 0 0 24px;
  color: #6b7280;
  font-size: 14px;
}
.consens-status {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
}
.consens-status[data-kind="error"] { background: #fef2f2; color: #991b1b; border: 1px solid #f87171; }
.consens-status[data-kind="success"] { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.consens-status[data-kind="info"] { background: #eef2ff; color: #3730a3; border: 1px solid #a5b4fc; }
.consens-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.consens-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.consens-item:hover { border-color: #c4b5fd; background: #faf8ff; }
.consens-item input[type="checkbox"] {
  margin: 2px 0 0;
  width: 20px;
  height: 20px;
  accent-color: #2b1d62;
  cursor: pointer;
  flex-shrink: 0;
}
.consens-item-text { flex: 1; }
.consens-item-name { font-weight: 600; color: #111827; }
.consens-item-desc { font-size: 13px; color: #6b7280; margin-top: 3px; }
.consens-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.consens-btn-primary {
  background: #2b1d62;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}
.consens-btn-primary:hover { background: #1d1346; }
.consens-btn-primary:disabled { background: #9ca3af; cursor: not-allowed; }
.consens-footer {
  margin-top: 28px;
  text-align: center;
  color: #9ca3af;
}
.consens-footer small { font-size: 12px; }
@media (max-width: 480px) {
  body { padding: 16px 12px; }
  .consens-app { padding: 20px; }
  .consens-header h1 { font-size: 19px; }
}
