.home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f0f0f0;
}

/* ===== Profile ===== */
.profile {
  background: #0a7bf5;
  padding: 16px 14px 10px;
  position: relative;
  color: #fff;
}

.profile-logout {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 22px;
  height: 22px;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3v9' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M6.7 6.2a8 8 0 1 0 10.6 0' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: center;
}

.profile-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-right: 28px;
}

.avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.15);
  display: block;
}

.profile-info {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.profile-name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.profile-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.icon-qr,
.icon-edit {
  width: 16px;
  height: 16px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-qr {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3Cpath d='M14 14h3v3h-3zM18 14h3v3h-3zM14 18h3v3h-3zM18 18h3v3h-3z' fill='%23fff' stroke='none'/%3E%3C/svg%3E");
}

.icon-edit {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 16.5V20h3.5L18 9.5l-3.5-3.5L4 16.5z'/%3E%3C/svg%3E");
}

.profile-meta {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
}

.profile-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
}

.profile-more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
  margin-top: -3px;
}

/* ===== Task section ===== */
.task-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #f0f0f0;
}

.task-head-title {
  font-size: 15px;
  color: #333;
  font-weight: 400;
}

.task-head-link {
  font-size: 15px;
  color: #4a9ad4;
  flex-shrink: 0;
}

.task-list {
  background: #fff;
}

.task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  font-size: 15px;
  color: #333;
  line-height: 1.4;
}

.task-item:last-child {
  border-bottom: none;
}

.task-item:active {
  background: #f5f5f5;
}

.task-item-text {
  flex: 1;
  padding-right: 12px;
}

.task-item::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #c8c8c8;
  border-top: 1.5px solid #c8c8c8;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.task-empty {
  flex: 1;
  background: #f0f0f0;
  min-height: 40vh;
}
