:root {
  --bg: #f6f7f9; --panel: #ffffff; --border: #e4e7ec;
  --text: #1f2937; --muted: #6b7280; --accent: #3b6df0;
  --ok: #16a34a; --err: #dc2626;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text); min-height: 100vh; padding: 24px;
}
.wrap { max-width: 980px; margin: 0 auto; }
header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
header h1 { font-size: 22px; font-weight: 700; }
.app-version {
  font-size: .7rem; font-weight: 400; margin-left: 6px;
  color: #6b7280; white-space: nowrap; user-select: none; vertical-align: middle;
}
header .health { color: var(--muted); font-size: 13px; margin-left: auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px; text-decoration: none; color: var(--text); display: block;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--accent); box-shadow: 0 4px 12px rgba(59, 109, 240, .12); }
.card h3 { font-size: 16px; margin-bottom: 6px; }
.card p { font-size: 12px; color: var(--muted); margin-bottom: 10px; line-height: 1.5; }
.card .tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 6px; background: #eef2ff; border: 1px solid #dbe2fb; color: var(--ok); }
.card .tag.off { color: var(--muted); }
.card.disabled { opacity: .5; pointer-events: none; }
.install-hint { margin-top: 20px; font-size: 12px; color: var(--muted); }
footer { margin-top: 28px; font-size: 12px; color: var(--muted); }
