:root {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  --blue: #1890ff;
  --bg: #eef6ff;
  --card: #ffffff;
  --text: #102033;
  --muted: #6b7280;
  --line: #dbeafe;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
}

.shell {
  display: grid;
  gap: 10px;
  width: min(420px, 100%);
  padding: 10px;
}

.card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 8px 20px rgba(24, 144, 255, 0.08);
}

.profile-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.eyebrow,
p,
h1,
h2 {
  margin-top: 0;
}

.eyebrow {
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 12px;
}

h1 {
  margin-bottom: 4px;
  font-size: 20px;
}

h2 {
  margin-bottom: 0;
  font-size: 16px;
}

p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.score {
  min-width: 78px;
  color: var(--blue);
  font-size: 28px;
  text-align: right;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.section-title span,
select {
  color: var(--muted);
  font-size: 12px;
}

select {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.metric-list,
.task-list,
.material-list {
  display: grid;
  gap: 8px;
}

.metric,
.task,
.material {
  padding: 9px;
  border-radius: 8px;
  background: #f8fbff;
}

.metric {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.metric strong,
.material strong {
  display: block;
  margin-bottom: 4px;
}

.trend-up {
  color: #ef4444;
}

.trend-down {
  color: #16a34a;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.tag,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #0958b8;
  background: #e6f4ff;
  font-size: 12px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

button {
  min-height: 34px;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  background: var(--blue);
  font: inherit;
  cursor: pointer;
}
