* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { font-family: system-ui, sans-serif; margin: 0; background: #f5f5f5; color: #222;
       min-height: 100vh; display: flex; flex-direction: column; }

/* Header bar */
.site-header { display: flex; align-items: center; justify-content: space-between;
               gap: 1rem; padding: 0.75rem 1.5rem; background: white;
               box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.site-header .brand { font-weight: 600; font-size: 1.1rem; color: inherit; text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: 0.5rem; }

button, .button { font: inherit; font-size: 0.9rem; padding: 0.5rem 1rem; border-radius: 8px;
                  border: 1px solid #ccc; background: white; color: inherit;
                  cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .button:hover { background: #f0f0f0; }
.button.active { background: #eee; }

/* Page content */
main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.card { background: white; padding: 2.5rem; border-radius: 12px; width: 100%; max-width: 28rem;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08); text-align: center; }
.error { color: #c00; margin-top: 1rem; font-size: 0.9rem; }

/* Profile */
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #eee; }
.profile-fields { text-align: left; margin: 1.5rem 0 0; }
.profile-fields dt { font-size: 0.8rem; color: #666; margin-top: 1rem; }
.profile-fields dd { margin: 0.25rem 0 0; font-size: 1rem; word-break: break-word; }
.profile-fields .hint { font-size: 0.75rem; color: #888; }
