body { font-family: Arial, sans-serif; margin: 0; background: #f3f5f7; color: #1f2937; }
.container { max-width: 980px; margin: auto; padding: 24px; }
.hero { background: #0f172a; color: white; border-radius: 18px; padding: 28px; margin-bottom: 20px; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.brand-link { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-weight: 800; }
.brand-link img { width: 64px; height: 64px; object-fit: contain; background: white; border-radius: 10px; padding: 5px; }
.home-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 10px 16px; border-radius: 10px; background: white; color: #0f172a; text-decoration: none; font-weight: 800; }
.home-button:hover { background: #e2e8f0; }
.card { background: white; border-radius: 16px; padding: 20px; margin: 16px 0; box-shadow: 0 4px 18px rgba(0,0,0,.08); }
label { display: block; margin: 12px 0; font-weight: 600; }
input, select, textarea { width: 100%; box-sizing: border-box; padding: 10px; margin-top: 6px; border: 1px solid #cbd5e1; border-radius: 10px; }
textarea { min-height: 100px; }
button { padding: 10px 16px; border: 0; border-radius: 10px; background: #2563eb; color: white; font-weight: 700; cursor: pointer; margin: 4px; }
button:hover { background: #1d4ed8; }
.vote-buttons button:nth-child(2) { background: #991b1b; }
.vote-buttons button:nth-child(3) { background: #6b7280; }
pre { white-space: pre-wrap; background: #f8fafc; border-radius: 12px; padding: 12px; }
.auth-summary { border: 1px solid #cbd5e1; border-radius: 12px; padding: 14px; margin: 14px 0; display: grid; gap: 4px; }
.auth-summary strong { font-size: 1.05rem; }
.auth-summary span { color: #475569; }
.auth-summary.logged-in { background: #ecfdf5; border-color: #10b981; }
.auth-summary.logged-out { background: #f8fafc; }
.auth-summary.partial-login { background: #fffbeb; border-color: #f59e0b; }
details { margin-top: 12px; }
summary { cursor: pointer; font-weight: 700; color: #334155; }
.admin-operations { border-top: 1px solid #e2e8f0; margin-top: 18px; padding-top: 14px; }
.admin-operations h3 { margin: 0 0 8px; color: #0f172a; }
.admin-operations button { background: #0f766e; }
.admin-operations button:hover { background: #115e59; }
@media (max-width: 640px) {
  .hero-top { align-items: flex-start; flex-direction: column; }
}
