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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #F1B82D; /* Mizzou Gold */
}

.header h1 {
  font-size: 1.75rem;
  color: #000;
  margin-bottom: 8px;
}

.stats {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: #666;
}

.stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.publication {
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}

.publication:last-child {
  border-bottom: none;
}

.pub-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.4;
}

.pub-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.pub-title a:hover {
  color: #F1B82D; /* Mizzou Gold */
  text-decoration: underline;
}

.pub-authors {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 4px;
}

.pub-venue {
  font-size: 0.85rem;
  color: #777;
  font-style: italic;
}

.pub-meta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 0.8rem;
}

.pub-year {
  color: #666;
  font-weight: 500;
}

.pub-citations {
  color: #666;
}

.pub-citations strong {
  color: #333;
}

.pub-links {
  margin-left: auto;
}

.pub-links a {
  color: #0066cc;
  text-decoration: none;
  font-size: 0.8rem;
}

.pub-links a:hover {
  text-decoration: underline;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #666;
}

.error {
  text-align: center;
  padding: 40px;
  color: #cc0000;
}

.last-updated {
  font-size: 0.75rem;
  color: #999;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
  text-align: center;
}

/* For embedding - remove extra margins */
@media (max-width: 600px) {
  body {
    padding: 12px;
  }

  .header h1 {
    font-size: 1.4rem;
  }

  .stats {
    flex-direction: column;
    gap: 4px;
  }

  .pub-meta {
    flex-wrap: wrap;
  }
}
