/* ============================================================
   墨白 AI 工作站 · 员工展开页共享样式
   风格：Vercel Geist 工程极简 × 浅色玻璃拟态（对齐 ai-station.html）
   ============================================================ */
:root {
  --bg-canvas: #ffffff;
  --text-primary: #171717;
  --text-secondary: #4d4d4d;
  --text-tertiary: #666666;
  --border-subtle: rgba(0,0,0,0.08);
  --accent-blue: #0a72ef;
  --accent-red: #ff5b4f;
  --accent-pink: #de1d8d;
  --link-blue: #0072f5;
  --radius-card: 12px;
  --radius-panel: 16px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow-border: 0px 0px 0px 1px rgba(0,0,0,0.08);
  --shadow-card: 0px 0px 0px 1px rgba(0,0,0,0.08), 0px 2px 2px rgba(0,0,0,0.04), 0px 8px 8px -8px rgba(0,0,0,0.04);
  --glass-bg: rgba(255,255,255,0.65);
  --glass-blur: blur(16px) saturate(180%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link-blue); text-decoration: none; }

/* ---------- 导航 ---------- */
.nav-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -0.3px; }
.nav-brand .logo {
  width: 28px; height: 28px; border-radius: 8px;
  background: #171717; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.nav-links { display: flex; gap: 24px; font-size: 13px; }
.nav-links a { color: var(--text-secondary); }
.nav-links a:hover { color: var(--text-primary); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 32px 40px;
  max-width: 1080px;
  margin: 0 auto;
}
.hero::before {
  content: '';
  position: absolute;
  top: -140px; right: -80px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,114,239,0.15), rgba(222,29,141,0.09) 55%, transparent 72%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-top { display: flex; align-items: center; gap: 24px; position: relative; flex-wrap: wrap; }
.hero-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-subtle);
  background: #fafafa;
  box-shadow: var(--shadow-card);
}
.hero-title { font-size: 30px; font-weight: 600; letter-spacing: -1px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-role {
  display: inline-block;
  font-size: 12px;
  font-family: var(--font-mono);
  color: #fff;
  border-radius: 6px;
  padding: 3px 10px;
  font-weight: 500;
  vertical-align: middle;
}
.hero-persona { font-size: 13px; color: var(--text-tertiary); margin-top: 6px; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-tertiary); margin-top: 8px; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2e7d32;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,125,50,0.4); }
  70% { box-shadow: 0 0 0 6px rgba(46,125,50,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,125,50,0); }
}
.quick-prompts { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; position: relative; }
.qp-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #171717; color: #fff;
  border: none; border-radius: 8px;
  padding: 8px 14px; font-size: 12.5px; font-weight: 500;
  cursor: pointer; font-family: var(--font-sans);
  transition: background 0.15s ease;
}
.qp-btn:hover { background: #333; }
.qp-btn { text-decoration: none; }

/* ---------- 主内容 ---------- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px 72px; }
.section { margin-bottom: 40px; }
.section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.4px;
  margin-bottom: 16px;
}
.section-title::before { content: ''; width: 3px; height: 14px; border-radius: 2px; background: var(--accent-blue); }

/* ---------- 玻璃卡片 ---------- */
.glass-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255,255,255,0.6);
  padding: 20px;
}

/* ---------- 简介 ---------- */
.intro-text { font-size: 14px; color: var(--text-secondary); line-height: 1.9; }

/* ---------- 能力卡片 ---------- */
.ability-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ability-card { padding: 18px; }
.ability-card .num {
  font-family: var(--font-mono); font-size: 11px; color: var(--link-blue);
  background: #ebf5ff; border-radius: 6px; padding: 2px 8px; display: inline-block; margin-bottom: 8px;
}
.ability-card .cap-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.ability-card .cap-desc { font-size: 12.5px; color: var(--text-tertiary); line-height: 1.7; }

/* ---------- 技能标签 ---------- */
.skill-group { margin-bottom: 18px; }
.skill-group .group-name { font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }
.tag-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  background: rgba(0,0,0,0.04);
  border-radius: 6px;
  padding: 3px 10px;
  white-space: nowrap;
  display: inline-block;
  margin: 0 8px 8px 0;
}
.tag-pill.key { background: #ebf5ff; color: #0068d6; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 22px; }
.timeline::before {
  content: '';
  position: absolute; left: 5px; top: 4px; bottom: 4px;
  width: 2px; background: var(--border-subtle);
  border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 18px; }
.tl-item::before {
  content: '';
  position: absolute; left: -21px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent-blue);
  border: 2px solid #fff;
  box-shadow: var(--shadow-border);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-date {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--link-blue);
  background: #ebf5ff; border-radius: 6px; padding: 2px 8px; display: inline-block; margin-bottom: 6px;
}
.tl-title { font-size: 13.5px; font-weight: 600; margin-bottom: 3px; }
.tl-desc { font-size: 12.5px; color: var(--text-tertiary); line-height: 1.7; }

/* ---------- 工作记录区（数据驱动） ---------- */
#worklog { display: none; }
#worklog.active { display: block; }

/* ---------- 页脚 ---------- */
.site-footer {
  max-width: 1080px; margin: 0 auto; padding: 24px 32px 40px;
  border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-tertiary);
}

/* ---------- 响应式 ---------- */
@media (max-width: 640px) {
  .hero { padding: 76px 20px 32px; }
  .container { padding: 0 20px 56px; }
  .nav-bar { padding: 0 20px; }
  .nav-links { display: none; }
  .hero-title { font-size: 24px; }
  .ability-grid { grid-template-columns: 1fr; }
}
