:root{
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #4f46e5;
  --logo: #111827;
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Top navigation tabs */
.tabs{
  display: flex;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.tab{
  padding: 14px 20px;
  cursor: pointer;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: #374151;
}

.tab.active{
  border-bottom: 3px solid var(--accent);
  color: #111827;
  font-weight: 600;
}

/* Page content */
.page{
  display: none;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page.active{
  display: block;
}

.page-title{
  margin-top: 0;
  font-size: 20px;
}

/* Home content */
.logo{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef2ff 0%, #fff 60%);
  border: 1px solid #e5e7eb;
}

.logo-mark{
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #fff;
  font-weight: 700;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.logo-text{
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #374151;
}

.intro{
  margin-top: 8px;
  color: var(--muted);
}

/* People grid */
.grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 14px;
}

.card{
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.avatar{
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: #e5e7eb;
  display: block;
  margin: 6px auto 8px;
}

.name{
  font-size: 12px;
  color: #374151;
  min-height: 14px;
}

/* Activities list */
.activities{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.activity{
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}

.activity .title{
  font-weight: 600;
  margin-bottom: 6px;
}

.activity .date{
  font-size: 12px;
  color: var(--muted);
}
