* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.inline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.inline-gap-10 {
  gap: 10px;
}

.inline-wrap {
  flex-wrap: wrap;
}

.inline-end {
  justify-content: flex-end;
}

.input-flex-1 {
  flex: 1;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.section-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.subtle {
  color: var(--muted);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d9e5f2;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  overflow: hidden;
}

.pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-3);
  font-size: var(--text-xs);
  color: var(--muted);
}

.text-xs {
  font-size: var(--text-xs);
}

