@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');
* { margin:0; padding:0; box-sizing:border-box; }

:root {
  --bg: #f0f2f5;
  --card: #ffffff;
  --text: #1a1a2e;
  --gray: #64748b;
  --light-gray: #94a3b8;
  --border: #e8ecf1;
  --blue: #4f6ef7;
  --blue-dark: #3b5de7;
  --green: #22c55e;
  --green-bg: #f0fdf4;
  --orange: #f97316;
  --orange-bg: #fff7ed;
  --purple: #8b5cf6;
  --purple-bg: #f5f3ff;
  --pink: #ec4899;
  --pink-bg: #fdf2f8;
  --blue-bg: #eff3ff;
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.08);
  --radius: 14px;
}

body { font-family:'Noto Sans SC',-apple-system,'PingFang SC','Microsoft YaHei',sans-serif; background:var(--bg); color:var(--text); overflow:hidden; height:100vh; height:100dvh; width:100vw; }

/* ===== COVER ===== */
.cover { position:fixed; inset:0; background:linear-gradient(135deg,#1a6fc4 0%,#2d8ee8 50%,#e8772e 100%); display:flex; flex-direction:column; align-items:center; justify-content:center; z-index:1000; transition:all 1s cubic-bezier(0.4,0,0.2,1); }
.cover.hidden { opacity:0; pointer-events:none; transform:scale(1.05); }
.cover h1 { font-size:3.6rem; font-weight:900; color:#fff; text-shadow:0 2px 20px rgba(0,0,0,0.15); animation:fadeUp 1s ease both; }
.cover .sub { font-size:1.3rem; color:rgba(255,255,255,0.85); font-weight:300; margin-top:16px; letter-spacing:2px; animation:fadeUp 1s ease 0.3s both; }
.cover .brand { font-size:1.1rem; color:rgba(255,255,255,0.5); margin-top:8px; animation:fadeUp 1s ease 0.5s both; }
.cover .start-btn { margin-top:40px; padding:16px 48px; background:rgba(255,255,255,0.2); border:2px solid rgba(255,255,255,0.5); color:#fff; font-size:1.1rem; cursor:pointer; letter-spacing:2px; border-radius:50px; transition:all 0.3s; animation:fadeUp 1s ease 0.7s both; font-family:inherit; backdrop-filter:blur(10px); }
.cover .start-btn:hover { background:rgba(255,255,255,0.35); transform:scale(1.05); }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* ===== MAIN APP ===== */
.app { display:flex; flex-direction:column; height:100vh; height:100dvh; opacity:0; transition:opacity 0.6s ease 0.3s; }
.app.visible { opacity:1; }

/* ===== CONTENT LAYOUT ===== */
.content-wrap {
  width:60%;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:stretch;
}

/* ===== TAB BAR ===== */
.tab-bar {
  display:flex;
  gap:6px;
  background:#fff;
  border-radius:14px;
  padding:6px;
  box-shadow:0 2px 12px rgba(0,0,0,0.06);
  margin-bottom:24px;
}
.tab-btn {
  flex:1; max-width:200px;
  padding:12px 20px; border:none; background:transparent;
  font-size:0.94rem; font-weight:600; color:#7f8c8d;
  cursor:pointer; border-radius:10px;
  transition:all 0.3s ease;
  font-family:inherit;
  display:flex; flex-direction:column; align-items:center; gap:4px;
}
.tab-btn:hover { color:var(--blue); background:rgba(26,115,232,0.05); }
.tab-btn.active {
  color:#fff;
  background:linear-gradient(135deg, #1a73e8, #6610f2);
  box-shadow:0 4px 15px rgba(26,115,232,0.35);
}
.tab-btn .tab-icon { display:flex; align-items:center; justify-content:center; }
.tab-btn .tab-icon svg { width:20px; height:20px; }
.tab-btn .tab-icon svg path,
.tab-btn .tab-icon svg rect,
.tab-btn .tab-icon svg circle,
.tab-btn .tab-icon svg polyline,
.tab-btn .tab-icon svg line { stroke:#7f8c8d; transition:stroke 0.3s; }
.tab-btn:hover .tab-icon svg path,
.tab-btn:hover .tab-icon svg rect,
.tab-btn:hover .tab-icon svg circle,
.tab-btn:hover .tab-icon svg polyline,
.tab-btn:hover .tab-icon svg line { stroke:var(--blue); }
.tab-btn.active .tab-icon svg path,
.tab-btn.active .tab-icon svg rect,
.tab-btn.active .tab-icon svg circle,
.tab-btn.active .tab-icon svg polyline,
.tab-btn.active .tab-icon svg line { stroke:#fff; }

/* ===== CONTENT AREA ===== */
.content-area {
  flex:1; overflow-y:auto;
  padding:40px 0;
  display:flex; flex-direction:column; align-items:center;
}
.content-area::-webkit-scrollbar { width:5px; }
.content-area::-webkit-scrollbar-thumb { background:#d1d5db; border-radius:3px; }

/* ===== SECTION HEADER ===== */
.section-header { text-align:center; margin-bottom:20px; }
.section-header h2 { font-size:1.35rem; font-weight:700; margin-bottom:6px; color:#1e293b; }
.section-header p { font-size:0.88rem; color:#7f8c8d; font-weight:400; line-height:1.5; }

/* ===== CARD GRID ===== */
.card-grid {
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
}

/* Micro / App project grids (compact cards) */
.micro-grid { grid-template-columns:repeat(4, 1fr); gap:16px; }
.app-grid { grid-template-columns:repeat(5, 1fr); gap:14px; }
.micro-grid .p-card, .app-grid .p-card { min-height:150px; padding:20px; }
.micro-grid .p-card .pc-header .pc-title, .app-grid .p-card .pc-header .pc-title { font-size:1rem; }
.micro-grid .p-card .pc-desc, .app-grid .p-card .pc-desc { font-size:0.8rem; line-height:1.6; }

/* Accent colors for micro/app */
.p-card.accent-cyan::before { background:linear-gradient(90deg, #06b6d4, #0891b2); }
.p-card.accent-rose::before { background:linear-gradient(90deg, #f43f5e, #e11d48); }
.p-card.accent-pink::before { background:linear-gradient(90deg, #ec4899, #db2777); }
.p-card {
  background:#fff;
  border-radius:14px;
  padding:24px 24px 16px 24px;
  box-shadow:0 2px 12px rgba(0,0,0,0.06);
  cursor:pointer;
  transition:all 0.3s ease;
  border:1.5px solid transparent;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
  min-height:180px;
}
.p-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
}
.p-card:hover { transform:translateY(-4px); box-shadow:0 8px 30px rgba(0,0,0,0.12); border-color:#d5e0f0; }
.p-card:active { transform:translateY(-2px); }
.p-card .pc-header { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.p-card .pc-header .pc-title { flex:1; font-size:1.1rem; font-weight:700; color:#2c3e50; line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.p-card .pc-header .pc-icon { font-size:1.4rem; flex-shrink:0; }
.p-card .pc-status {
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px; border-radius:50%;
  font-size:0.85rem; font-weight:600;
  flex-shrink:0; position:relative; cursor:help;
}
.p-card .pc-status.done { background:rgba(30,132,73,0.15); color:#1e8449; }
.p-card .pc-status.doing { background:rgba(184,115,10,0.15); color:#b8730a; }
.p-card .pc-status.todo { background:rgba(100,116,139,0.15); color:#64748b; }
.p-card .pc-status.done::after { content:'✓'; }
.p-card .pc-status.doing::after { content:'⟳'; }
.p-card .pc-status.todo::after { content:'○'; }
.p-card .pc-status::before {
  content:attr(data-tooltip);
  position:absolute; bottom:100%; left:50%; transform:translateX(-50%);
  background:#2c3e50; color:#fff; padding:6px 12px; border-radius:6px;
  font-size:0.75rem; white-space:nowrap; opacity:0; pointer-events:none;
  transition:opacity 0.2s; margin-bottom:8px;
}
.p-card .pc-status:hover::before { opacity:1; }
.p-card .pc-desc { font-size:0.85rem; color:#7f8c8d; line-height:1.7; flex:1; display:flex; align-items:center; }
.p-card .pc-footer { margin-top:12px; font-size:0.75rem; color:var(--blue); font-weight:500; display:flex; align-items:center; gap:6px; }
.p-card .pc-footer .arrow { margin-left:auto; font-size:0.88rem; }
.p-card .pc-tags { margin-top:12px; display:flex; gap:4px; overflow:hidden; }
.p-card .pc-tag { display:inline-block; padding:2px 6px; border-radius:8px; font-size:0.65rem; font-weight:500; background:rgba(79,110,247,0.1); color:#4f6ef7; white-space:nowrap; }
.p-card .pc-kpis { margin-top:8px; display:flex; gap:12px; font-size:0.75rem; font-weight:500; color:#4f6ef7; }
.p-card .pc-kpi { white-space:nowrap; padding:4px 10px; border:1px dashed rgba(79,110,247,0.4); border-radius:6px; }

/* Gradient top borders by accent */
.p-card.accent-blue::before { background:linear-gradient(90deg, #4f6ef7, #1a73e8); }
.p-card.accent-green::before { background:linear-gradient(90deg, #22c55e, #27ae60); }
.p-card.accent-orange::before { background:linear-gradient(90deg, #f97316, #e67e22); }
.p-card.accent-purple::before { background:linear-gradient(90deg, #8b5cf6, #6610f2); }

/* Wide card (spans 2 cols) */
.p-card.wide { grid-column:span 2; }

/* ===== OVERVIEW CARD STYLES ===== */
.ov-grid { grid-template-columns:repeat(4, 1fr); gap:20px; }

/* ===== MODAL ===== */
.modal-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,0.25);
  z-index:200; display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity 0.3s;
  backdrop-filter:blur(3px);
}
.modal-overlay.show { opacity:1; pointer-events:auto; }
.modal {
  background:#fff; border-radius:16px; padding:32px 36px;
  max-width:680px; width:90%; max-height:80vh; overflow-y:auto;
  box-shadow:0 20px 50px rgba(0,0,0,0.1);
  transform:translateY(16px); transition:transform 0.3s;
}
.modal-overlay.show .modal { transform:translateY(0); }
.modal .m-close { float:right; width:36px; height:36px; border-radius:8px; border:none; background:var(--bg); cursor:pointer; font-size:0.9rem; display:flex; align-items:center; justify-content:center; transition:background 0.2s; }
.modal .m-close:hover { background:var(--border); }
.modal .m-tag { display:inline-flex; align-items:center; gap:8px; padding:8px 20px; border-radius:20px; font-size:0.92rem; font-weight:700; margin-bottom:12px; }
.modal .m-tag.blue { background:var(--blue-bg); color:var(--blue); }
.modal .m-tag.green { background:var(--green-bg); color:var(--green); }
.modal .m-tag.orange { background:var(--orange-bg); color:var(--orange); }
.modal .m-tag.purple { background:var(--purple-bg); color:var(--purple); }
.modal .m-tag.cyan { background:#ecfeff; color:#0891b2; }
.modal .m-tag.rose { background:#fff1f2; color:#e11d48; }
.modal .m-tag.pink { background:var(--pink-bg); color:var(--pink); }
.modal h2 { font-size:1.3rem; font-weight:900; margin-bottom:6px; }
.modal .m-sub { font-size:0.82rem; color:var(--gray); line-height:1.6; margin-bottom:16px; }
.modal .m-body { font-size:0.82rem; line-height:1.7; color:#334155; }
.modal .m-body h4 { font-size:0.88rem; font-weight:700; margin:14px 0 6px; }
.modal .m-body ul { padding-left:18px; }
.modal .m-body li { margin-bottom:4px; }

/* KPI in modal */
.m-kpi-row { display:flex; gap:10px; margin:12px 0; }
.m-kpi { flex:1; text-align:center; padding:12px 6px; background:var(--bg); border-radius:8px; }
.m-kpi .mk-val { font-size:1.3rem; font-weight:900; }
.m-kpi .mk-lbl { font-size:0.68rem; color:var(--gray); margin-top:2px; }

/* Overview modal header */
.m-ov-header { display:flex; align-items:center; gap:14px; margin-bottom:8px; }
.m-ov-icon { width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:1.6rem; flex-shrink:0; }
.m-ov-icon.blue { background:var(--blue-bg); }
.m-ov-icon.green { background:var(--green-bg); }
.m-ov-icon.orange { background:var(--orange-bg); }
.m-ov-icon.purple { background:var(--purple-bg); }
.m-ov-icon.cyan { background:#ecfeff; }
.m-ov-icon.rose { background:#fff1f2; }
.m-ov-icon.pink { background:var(--pink-bg); }
.m-ov-name { font-size:1.4rem; font-weight:900; color:#1e293b; line-height:1.3; }
.m-ov-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(79,110,247,0.1), rgba(139,92,246,0.08));
  color: #4f6ef7;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.25s;
  flex-shrink: 0;
  margin-left: 2px;
  cursor: pointer;
}
.m-ov-link:hover {
  background: linear-gradient(135deg, rgba(79,110,247,0.2), rgba(139,92,246,0.16));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79,110,247,0.2);
}
.m-ov-link:active { transform: scale(0.95); }
.m-ov-tagline { font-size:0.92rem; color:var(--blue); font-weight:600; margin-bottom:20px; padding-bottom:16px; border-bottom:1px dashed var(--border); }
.m-ov-tagline.green { color:var(--green); }
.m-ov-tagline.orange { color:var(--orange); }
.m-ov-tagline.purple { color:var(--purple); }
.m-ov-tagline.cyan { color:#0891b2; }
.m-ov-tagline.rose { color:#e11d48; }
.m-ov-tagline.pink { color:var(--pink); }

/* Why section in modal */
.m-why-header { margin-bottom:12px; display:flex; align-items:center; justify-content:space-between; }
.m-why-header .why-label { font-size:0.9rem; font-weight:700; color:#64748b; }
.m-why-header .why-progress { font-size:0.85rem; color:#6366f1; cursor:pointer; font-weight:500; }
.m-why-header .why-progress:hover { text-decoration:underline; }
.m-why-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.m-why-item { padding:12px 14px; border:1px solid var(--border); border-radius:8px; display:flex; flex-direction:column; gap:6px; }
.m-why-item .why-top { display:flex; align-items:center; gap:6px; }
.m-why-item .why-icon { font-size:0.88rem; flex-shrink:0; }
.m-why-item .why-title { font-size:0.82rem; font-weight:700; color:#1e293b; }
.m-why-item .why-desc { font-size:0.74rem; line-height:1.55; color:#64748b; }

/* Timeline in modal */
.m-tl { position:relative; padding-left:22px; margin:12px 0; }
.m-tl::before { content:''; position:absolute; left:5px; top:4px; bottom:4px; width:2px; background:var(--border); }
.m-tl-item { position:relative; margin-bottom:14px; }
.m-tl-item::before { content:''; position:absolute; left:-20px; top:5px; width:9px; height:9px; border-radius:50%; border:2px solid var(--blue); background:#fff; }
.m-tl-item.done::before { background:var(--blue); }
.m-tl-item .mt-phase { font-size:0.65rem; font-weight:700; color:var(--blue); text-transform:uppercase; letter-spacing:1px; margin-bottom:2px; }
.m-tl-item .mt-title { font-size:0.88rem; font-weight:700; margin-bottom:2px; }
.m-tl-item .mt-desc { font-size:0.78rem; color:var(--gray); line-height:1.55; }

/* Horizontal timeline */
.m-h-tl { display:flex; align-items:flex-start; position:relative; padding:32px 8px 8px; margin:12px 0 20px; }
.m-h-tl::before { content:''; position:absolute; top:40px; left:24px; right:24px; height:3px; background:var(--border); border-radius:2px; }
.m-h-node { flex:1; display:flex; flex-direction:column; align-items:center; position:relative; z-index:1; text-align:center; padding:0 4px; }
.m-h-node .mh-dot { width:18px; height:18px; border-radius:50%; border:3px solid var(--blue); background:#fff; margin-bottom:12px; flex-shrink:0; transition:all 0.3s; box-shadow:0 0 0 3px #fff; }
.m-h-node.done .mh-dot { background:var(--blue); box-shadow:0 0 0 3px #fff, 0 2px 8px rgba(79,110,247,0.3); }
.m-h-node .mh-phase { font-size:0.62rem; font-weight:700; color:var(--blue); text-transform:uppercase; letter-spacing:0.8px; margin-bottom:3px; }
.m-h-node.done .mh-phase { color:#16a34a; }
.m-h-node .mh-title { font-size:0.82rem; font-weight:700; color:#1e293b; margin-bottom:3px; line-height:1.3; }
.m-h-node .mh-desc { font-size:0.7rem; color:var(--gray); line-height:1.4; }

/* Chart section in modal */
.m-chart-section { margin-top:16px; padding-top:16px; border-top:1px dashed var(--border); }
.m-chart-title { font-size:0.82rem; font-weight:700; color:var(--text); margin-bottom:12px; display:flex; align-items:center; gap:6px; }
.m-progress-list { display:flex; flex-direction:column; gap:10px; }
.m-progress-item { display:flex; align-items:center; gap:10px; }
.m-progress-label { width:70px; font-size:0.78rem; font-weight:600; color:#334155; flex-shrink:0; }
.m-progress-track { flex:1; height:14px; background:var(--bg); border-radius:7px; overflow:hidden; }
.m-progress-fill { height:100%; border-radius:7px; display:flex; align-items:center; justify-content:flex-end; padding-right:6px; font-size:0.62rem; color:#fff; font-weight:700; min-width:28px; transition:width 0.6s ease; }
.m-progress-fill.blue { background:linear-gradient(90deg, #4f6ef7, #1a73e8); }
.m-progress-fill.green { background:linear-gradient(90deg, #22c55e, #16a34a); }
.m-progress-fill.orange { background:linear-gradient(90deg, #f97316, #ea580c); }
.m-progress-fill.purple { background:linear-gradient(90deg, #8b5cf6, #7c3aed); }
.m-progress-fill.cyan { background:linear-gradient(90deg, #06b6d4, #0891b2); }
.m-progress-fill.rose { background:linear-gradient(90deg, #f43f5e, #e11d48); }
.m-progress-fill.pink { background:linear-gradient(90deg, #ec4899, #db2777); }

/* List in modal */
.m-list { list-style:none; padding:0; }
.m-list li { padding:8px 0; border-bottom:1px solid var(--border); font-size:0.82rem; display:flex; align-items:flex-start; gap:8px; line-height:1.5; }
.m-list li:last-child { border-bottom:none; }
.m-list .ml-dot { width:5px; height:5px; border-radius:50%; flex-shrink:0; margin-top:7px; }

/* Mini cards in modal */
.m-mini-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:12px 0; }
.m-mini { background:var(--bg); border-radius:10px; padding:16px 12px; text-align:center; }
.m-mini .mm-icon { font-size:1.2rem; margin-bottom:6px; }
.m-mini .mm-title { font-size:0.82rem; font-weight:700; margin-bottom:3px; }
.m-mini .mm-desc { font-size:0.72rem; color:var(--gray); line-height:1.45; }

/* Bar chart in modal */
.m-bar { margin:6px 0; }
.m-bar-row { display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.m-bar-label { width:44px; font-size:0.75rem; font-weight:600; }
.m-bar-track { flex:1; height:16px; background:var(--bg); border-radius:8px; overflow:hidden; }
.m-bar-fill { height:100%; border-radius:8px; display:flex; align-items:center; justify-content:flex-end; padding-right:6px; font-size:0.65rem; color:#fff; font-weight:600; }
.m-bar-fill.blue { background:var(--blue); }
.m-bar-fill.green { background:var(--green); }
.m-bar-fill.orange { background:var(--orange); }

/* Goal box in modal */
.m-goal { border-left:3px solid var(--blue); padding:12px 16px; background:var(--bg); border-radius:0 8px 8px 0; margin-top:12px; }
.m-goal.orange { border-color:var(--orange); }
.m-goal.green { border-color:var(--green); }
.m-goal.purple { border-color:var(--purple); }
.m-tags-row { margin-top:8px; font-size:0.85rem; font-weight:500; line-height:1.6; }
.m-detail-section { display:flex; flex-direction:column; gap:12px; }
.m-detail-item { padding:14px 16px; background:linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); border-radius:10px; border:1.5px solid #e8ecf1; box-shadow:0 2px 8px rgba(0,0,0,0.04); transition:all 0.2s ease; }
.m-detail-item:hover { transform:translateY(-2px); box-shadow:0 4px 12px rgba(79,110,247,0.12); border-color:var(--blue); }
.m-detail-item.research { position:relative; background:linear-gradient(135deg,#fffdf5 0%,#ffffff 60%); border:1.5px solid rgba(245,158,11,0.2); }
.m-detail-item.research:hover { border-color:#f59e0b; box-shadow:0 4px 12px rgba(245,158,11,0.15); }
.m-detail-item.research::after { content:'🏆'; position:absolute; top:12px; right:12px; width:20px; height:20px; display:flex; align-items:center; justify-content:center; border:1.5px solid #f59e0b; border-radius:50%; background:rgba(255,251,235,0.95); font-size:10px; line-height:1; box-shadow:0 1px 3px rgba(245,158,11,0.2); cursor:help; transition:all 0.25s; }
.m-detail-item.research:hover::after { transform:rotate(360deg) scale(1.1); border-color:#d97706; background:#fef3c7; }
.m-detail-label { font-size:0.9rem; font-weight:700; color:#2c3e50; margin-bottom:6px; display:flex; align-items:center; gap:6px; }
.m-detail-icon { font-size:1.1rem; }
.m-detail-desc { font-size:0.85rem; color:#7f8c8d; line-height:1.6; padding-left:12px; }
.m-kpi-row { display:flex; gap:10px; margin:12px 0 16px 0; }
.m-kpi-item { flex:1; padding:8px 12px; background:#ffffff; border-radius:8px; border:1.5px dashed rgba(79,110,247,0.4); text-align:center; }
.m-kpi-value { font-size:0.8rem; font-weight:600; color:#4f6ef7; }
.m-goal.cyan { border-color:#0891b2; }
.m-goal.rose { border-color:#e11d48; }
.m-goal.pink { border-color:var(--pink); }
.m-goal .mg-label { font-size:0.65rem; font-weight:700; text-transform:uppercase; letter-spacing:1.5px; color:var(--blue); margin-bottom:3px; }
.m-goal.orange .mg-label { color:var(--orange); }
.m-goal.green .mg-label { color:var(--green); }
.m-goal.purple .mg-label { color:var(--purple); }
.m-goal.cyan .mg-label { color:#0891b2; }
.m-goal.rose .mg-label { color:#e11d48; }
.m-goal.pink .mg-label { color:var(--pink); }
.m-goal p { font-size:0.82rem; line-height:1.6; color:#334155; }

/* Two col in modal */
.m-two-col { display:grid; grid-template-columns:1fr 1fr; gap:16px; }

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  display:flex; align-items:center; justify-content:center;
  height:36px; flex-shrink:0; background:transparent;
  position:relative; z-index:50;
}
.bottom-nav .hint { font-size:0.7rem; color:var(--light-gray); opacity:0.6; }
.bottom-nav .hint kbd { background:var(--border); padding:1px 5px; border-radius:3px; font-size:0.65rem; font-family:inherit; }

/* ===== PROGRESS BAR ===== */
.progress-wrap {
  padding:12px 0 28px;
  margin-bottom:12px;
  position:relative;
  width:100%;
}
.progress-track {
  position:relative;
  display:flex;
  align-items:flex-start;
  width:100%;
}
.progress-track::before {
  content:'';
  position:absolute;
  left:14px; right:14px;
  top:14px;
  height:2px;
  background:repeating-linear-gradient(90deg, #e8ecf1 0, #e8ecf1 6px, transparent 6px, transparent 10px);
  z-index:0;
}
.progress-fill {
  position:absolute;
  left:14px;
  top:14px;
  height:2px;
  z-index:1;
  transition:width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  background:linear-gradient(90deg, #22c55e, #16a34a);
}
.progress-node {
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  position:relative;
  z-index:2;
  cursor:pointer;
  transition:transform 0.2s;
}
.progress-node:hover { transform:translateY(-2px); }
.progress-node .pn-dot {
  width:28px; height:28px;
  border-radius:50%;
  background:#fff;
  border:2.5px solid #e2e8f0;
  display:flex; align-items:center; justify-content:center;
  font-size:0.72rem; font-weight:700; color:#94a3b8;
  transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position:relative;
  flex-shrink:0;
}
.progress-node.done .pn-dot {
  background:linear-gradient(135deg, #22c55e, #16a34a);
  border-color:#16a34a;
  color:#fff;
  box-shadow:0 2px 8px rgba(34,197,94,0.25);
}
.progress-node.doing .pn-dot {
  border-width:3px;
  color:#fff;
  animation:pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0%, 100% { box-shadow:0 0 0 0 currentColor; }
  50% { box-shadow:0 0 0 5px transparent; }
}
.progress-node.todo .pn-dot {
  background:#f8fafc;
  border-style:dashed;
}
.progress-node .pn-title {
  font-size:0.72rem;
  font-weight:600;
  color:#475569;
  margin-top:10px;
  text-align:center;
  line-height:1.4;
  transition:color 0.2s;
  width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.progress-node:hover .pn-title { color:#1e293b; }
.progress-node.done .pn-title { color:#16a34a; font-weight:700; }
.progress-node.doing .pn-title { font-weight:700; }
.progress-detail {
  max-height:0;
  overflow:hidden;
  transition:max-height 0.4s ease, padding 0.3s ease;
}
.progress-detail.show {
  max-height:80vh;
  padding-top:14px;
}
.progress-detail-inner {
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  padding:16px 20px;
  position:relative;
  overflow-y:auto;
}
.progress-detail-inner::-webkit-scrollbar { width:4px; }
.progress-detail-inner::-webkit-scrollbar-track { background:var(--bg); border-radius:2px; }
.progress-detail-inner::-webkit-scrollbar-thumb { background:#d1d5db; border-radius:2px; }
.progress-detail-inner::-webkit-scrollbar-thumb:hover { background:#9ca3af; }
.progress-detail-inner::before {
  content:'';
  position:absolute;
  left:0; top:0; bottom:0;
  width:3px;
  background:linear-gradient(180deg, var(--theme-color, #4f6ef7), var(--theme-color, #4f6ef7));
  opacity:0.8;
  z-index:2;
}
.progress-detail-inner li::before {
  content:'';
  position:absolute;
  left:0;
  top:7px;
  width:6px; height:6px;
  border-radius:50%;
  background:var(--theme-color, #4f6ef7);
  opacity:0.7;
}
.progress-detail-inner .pdi-title {
  font-size:0.82rem;
  font-weight:700;
  color:#1e293b;
  margin-bottom:10px;
  display:flex;
  align-items:center;
  gap:8px;
}
.progress-detail-inner .pdi-title .pdi-badge {
  padding:2px 10px;
  border-radius:20px;
  font-size:0.68rem;
  font-weight:600;
}
.progress-detail-inner .pdi-badge.done { background:#e8f8ef; color:#1e8449; }
.progress-detail-inner .pdi-badge.doing { background:#fef5e7; color:#b8730a; }
.progress-detail-inner .pdi-badge.todo { background:#f1f5f9; color:#64748b; }
.progress-detail-inner ul {
  list-style:none;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
  max-height:180px;
  overflow-y:auto;
}
.progress-detail-inner ul::-webkit-scrollbar {
  width:4px;
}
.progress-detail-inner ul::-webkit-scrollbar-track {
  background:var(--bg);
  border-radius:2px;
}
.progress-detail-inner ul::-webkit-scrollbar-thumb {
  background:#d1d5db;
  border-radius:2px;
}
.progress-detail-inner ul::-webkit-scrollbar-thumb:hover {
  background:#9ca3af;
}
.progress-detail-inner li {
  font-size:0.78rem;
  color:#475569;
  padding-left:18px;
  position:relative;
  line-height:1.5;
}
.progress-detail-inner .pdi-tech-label,
.progress-detail-inner .pdi-biz-label {
  font-size:0.72rem;
  font-weight:700;
  color:#64748b;
  letter-spacing:0.5px;
  margin-bottom:6px;
  margin-top:12px;
}
.progress-detail-inner .pdi-tech-label:first-child { margin-top:0; }
.progress-detail-inner .pdi-columns {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  margin-top:12px;
}
.progress-detail-inner .pdi-column {
  padding-right:6px;
}
.progress-detail-inner .pdi-column h4 {
  font-size:0.72rem;
  font-weight:700;
  color:#64748b;
  letter-spacing:0.5px;
  margin-bottom:8px;
  padding-bottom:6px;
  border-bottom:1px solid var(--border);
}
.progress-detail-inner .pdi-column ul {
  list-style:none;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:6px;
  max-height:none;
  overflow-y:visible;
}
.progress-detail-inner .pdi-column li {
  font-size:0.72rem;
  color:#475569;
  padding-left:14px;
  position:relative;
  line-height:1.4;
}
.progress-detail-inner .pdi-column li::before {
  content:'';
  position:absolute;
  left:0;
  top:6px;
  width:5px; height:5px;
  border-radius:50%;
  background:var(--theme-color, #4f6ef7);
  opacity:0.6;
}
.progress-detail-inner .pdi-metrics {
  display:flex;
  gap:12px;
  margin:12px 0;
  padding:12px;
  background:var(--bg);
  border-radius:8px;
}
.progress-detail-inner .pdi-metric {
  flex:1;
  text-align:center;
  padding:8px 4px;
  background:#fff;
  border-radius:6px;
  border:1px solid var(--border);
}
.progress-detail-inner .pm-val {
  font-size:1.4rem;
  font-weight:900;
  color:var(--theme-color, #4f6ef7);
  line-height:1;
}
.progress-detail-inner .pm-lbl {
  font-size:0.68rem;
  color:#64748b;
  margin-top:4px;
  font-weight:500;
}

/* ===== VALUE ASSESSMENT (💎 价值评估) ===== */
.m-value-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-light, #e8ecf1);
}
.m-value-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  cursor: pointer;
  user-select: none;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background 0.25s, box-shadow 0.25s;
  position: relative;
}
.m-value-header:hover {
  background: linear-gradient(135deg, rgba(79,110,247,0.06), rgba(139,92,246,0.04));
  box-shadow: 0 2px 12px rgba(79,110,247,0.08);
}
.m-value-header .mv-icon {
  font-size: 1.2rem;
}
.m-value-header .mv-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text, #1a1a2e);
  letter-spacing: -0.3px;
}
.m-value-header .mv-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-light, #e8ecf1), transparent);
}
.m-value-header .mv-toggle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79,110,247,0.1), rgba(139,92,246,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #4f6ef7;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s;
  flex-shrink: 0;
}
.m-value-section:not(.collapsed) .mv-toggle {
  transform: rotate(180deg);
  background: linear-gradient(135deg, rgba(79,110,247,0.18), rgba(139,92,246,0.14));
}
.m-value-header .mv-hint {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 500;
  transition: opacity 0.25s;
  white-space: nowrap;
}
.m-value-section:not(.collapsed) .mv-hint {
  opacity: 0;
  pointer-events: none;
}

/* Collapsible body */
.m-value-body {
  max-height: 3000px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s ease 0.05s,
              margin-top 0.35s ease;
  margin-top: 0;
}
.m-value-section.collapsed .m-value-body {
  max-height: 0;
  opacity: 0;
  margin-top: -4px;
}

/* Headline banner */
.m-value-headline {
  background: linear-gradient(135deg, rgba(79,110,247,0.08), rgba(139,92,246,0.06));
  border: 1px solid rgba(79,110,247,0.15);
  border-radius: 12px;
  padding: 18px 24px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text, #1a1a2e);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  line-height: 1.4;
}
.m-value-headline .mv-num {
  background: linear-gradient(135deg, #4f6ef7, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
}

/* Metrics grid */
.m-value-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.m-value-metric {
  background: var(--surface, #fff);
  border: 1px solid var(--border-light, #e8ecf1);
  border-radius: 10px;
  padding: 16px 14px;
  text-align: center;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.m-value-metric::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--vm-accent, linear-gradient(90deg, #4f6ef7, #8b5cf6));
}
.m-value-metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  border-color: rgba(79,110,247,0.25);
}
.m-value-metric .vm-icon {
  font-size: 1.3rem;
  margin-bottom: 6px;
  display: block;
}
.m-value-metric .vm-val {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text, #1a1a2e);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #4f6ef7, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.m-value-metric .vm-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text, #1a1a2e);
  margin-bottom: 2px;
}
.m-value-metric .vm-desc {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.4;
}

/* Before/After comparison */
.m-value-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.m-value-compare-col {
  border-radius: 10px;
  padding: 16px 18px;
}
.m-value-compare-col.before {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.m-value-compare-col.after {
  background: linear-gradient(135deg, rgba(34,197,94,0.06), rgba(34,197,94,0.02));
  border: 1px solid rgba(34,197,94,0.2);
}
.mv-compare-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed currentColor;
}
.m-value-compare-col.before .mv-compare-title {
  color: #94a3b8;
}
.m-value-compare-col.after .mv-compare-title {
  color: #16a34a;
}
.mv-compare-title .mv-compare-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.m-value-compare-col.before .mv-compare-badge {
  background: #fee2e2;
  color: #dc2626;
}
.m-value-compare-col.after .mv-compare-badge {
  background: #dcfce7;
  color: #16a34a;
}
.mv-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mv-compare-list li {
  font-size: 0.8rem;
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.m-value-compare-col.before .mv-compare-list li {
  color: #64748b;
}
.m-value-compare-col.before .mv-compare-list li::before {
  content: '✕';
  color: #dc2626;
  font-weight: 900;
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 2px;
}
.m-value-compare-col.after .mv-compare-list li {
  color: #1a4d2e;
  font-weight: 500;
}
.m-value-compare-col.after .mv-compare-list li::before {
  content: '✓';
  color: #16a34a;
  font-weight: 900;
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* Strategic alignment */
.m-value-alignment {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.mv-align-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  margin-right: 4px;
}
.mv-align-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 20px;
  background: rgba(79,110,247,0.08);
  color: #4f6ef7;
  border: 1px solid rgba(79,110,247,0.15);
}

/* Verdict callout */
.m-value-verdict {
  background: linear-gradient(135deg, rgba(34,197,94,0.08), rgba(34,197,94,0.03));
  border: 1px solid rgba(34,197,94,0.2);
  border-left: 3px solid #16a34a;
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: #1a4d2e;
  line-height: 1.7;
}
.m-value-verdict .mvv-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Value section responsive */
@media(max-width:640px) {
  .m-value-metrics { grid-template-columns: repeat(2, 1fr); }
  .m-value-compare { grid-template-columns: 1fr; }
  .m-value-headline { font-size: 1.05rem; }
  .m-value-headline .mv-num { font-size: 1.2rem; }
  .m-value-metric .vm-val { font-size: 1.3rem; }
  .m-value-header { padding: 8px 12px; gap: 8px; }
  .m-value-header .mv-hint { display: none; }
}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) { .card-grid,.ov-grid,.micro-grid { grid-template-columns:repeat(2,1fr); } .app-grid { grid-template-columns:repeat(3,1fr); } .p-card.wide { grid-column:span 2; } .m-mini-grid { grid-template-columns:repeat(2,1fr); } .m-two-col { grid-template-columns:1fr; } }
@media(max-width:640px) { .card-grid,.ov-grid,.micro-grid,.app-grid { grid-template-columns:1fr; } .p-card.wide { grid-column:span 1; } .content-wrap { width:92%; } .tab-bar { padding:4px; gap:4px; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; } .tab-bar::-webkit-scrollbar { display:none; } .tab-btn { padding:10px 14px; font-size:0.82rem; flex-shrink:0; min-width:max-content; min-height:44px; } .content-area { padding:20px 0 12px; } .modal { padding:28px 24px; } .cover h1 { font-size:2rem; } .cover .sub { font-size:0.95rem; letter-spacing:0; } .cover .brand { font-size:0.88rem; } .cover .start-btn { padding:12px 32px; font-size:0.95rem; } .m-why-grid { grid-template-columns:1fr; } .m-mini-grid { grid-template-columns:1fr; } .m-kpi-row { flex-wrap:wrap; } .m-kpi-item { min-width:calc(50% - 5px); } .progress-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; } .progress-node .pn-title { font-size:0.65rem; } }
