body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f5f5;
}

.rc-header {
  background: #d32f2f;
  color: #fff;
  padding: 12px 24px;
}

.rc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
}

.rc-header-title {
  font-weight: 700;
}

.rc-header-subtitle {
  font-size: 12px;
  opacity: 0.9;
  display: block;
}

.rc-nav a {
  color: #fff;
  margin-left: 16px;
  text-decoration: none;
  font-size: 14px;
}

.rc-main {
  max-width: 960px;
  margin: 16px auto;
  padding: 0 16px 32px;
}

.rc-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rc-card-center {
  max-width: 360px;
  margin: 40px auto;
}

.rc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rc-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.rc-form input[type='text'],
.rc-form input[type='password'],
.rc-form input[type='datetime-local'],
.rc-form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
}

.rc-form textarea {
  resize: vertical;
}

.rc-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.rc-button {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: #e0e0e0;
  color: #333;
  font-size: 14px;
}

.rc-button-primary {
  background: #d32f2f;
  color: #fff;
}

.rc-button-danger {
  background: transparent;
  color: #d32f2f;
  border: 1px solid #d32f2f;
}

.rc-error {
  color: #f44336;
  font-size: 14px;
}

.rc-error-msg {
  color: #c62828;
  margin: 12px 0;
  font-family: monospace;
  font-size: 14px;
}

.rc-error-hint {
  background: #fff3e0;
  padding: 12px;
  border-radius: 6px;
  color: #e65100;
  font-size: 14px;
  margin: 12px 0;
}

.rc-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 14px;
}

.rc-table th,
.rc-table td {
  border: 1px solid #e0e0e0;
  padding: 6px 8px;
}

.rc-table th {
  background: #fafafa;
  text-align: left;
}

.rc-poll-title {
  margin-top: 4px;
  margin-bottom: 4px;
}

.rc-poll-description {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

