:root {
  --green: #07c160; --blue: #1677ff; --bg: #f0f2f5;
  --card-bg: #fff; --text: #1a1a2e; --hint: #999; --border: #e8ecf1;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg); min-height: 100vh;
}
.header {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 0 24px; height: 56px; display: flex;
  align-items: center; justify-content: space-between;
}
.header .logo { font-size: 16px; font-weight: 700; color: var(--text); }
.header .logo span { color: var(--blue); }
.user-info { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text); }
.user-info .avatar {
  width: 32px; height: 32px; border-radius: 50%; background: #e0e7ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #4f46e5; overflow: hidden;
}
.user-info .avatar img { width: 100%; height: 100%; object-fit: cover; }
.btn-logout {
  background: none; border: 1px solid var(--border); border-radius: 6px;
  padding: 5px 12px; font-size: 12px; color: var(--hint); cursor: pointer;
}
.container { max-width: 1100px; margin: 0 auto; padding: 32px 24px; }
.section-title { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 20px; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.app-card {
  background: #fff; border-radius: 12px; padding: 24px; border: 1px solid var(--border);
  text-decoration: none; color: inherit; transition: box-shadow .2s, transform .1s;
  display: flex; gap: 16px; align-items: flex-start;
}
.app-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.app-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.app-card .app-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.app-card .app-desc { font-size: 13px; color: var(--hint); line-height: 1.5; }
.app-card .app-tag {
  display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 4px;
  font-size: 11px; background: #e6f4ff; color: var(--blue);
}
.login-card {
  background: #fff; border-radius: 12px; box-shadow: 0 2px 16px rgba(0,0,0,.08);
  padding: 48px 40px 36px; width: 400px; max-width: 92vw; text-align: center;
  margin: 80px auto;
}
.login-card .logo-icon {
  width: 56px; height: 56px; background: var(--green); border-radius: 14px;
  margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
}
.login-card h2 { font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.login-card .desc { font-size: 14px; color: var(--hint); margin-bottom: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px 20px; border: none; border-radius: 8px;
  font-size: 15px; font-weight: 500; cursor: pointer; background: var(--green);
  color: #fff; transition: background .2s;
}
.btn:hover { background: #06ad56; }
.status {
  margin-top: 18px; padding: 10px 14px; border-radius: 8px; font-size: 13px;
}
.status-info { background: #e6f4ff; color: var(--blue); }
.hidden { display: none !important; }
.footer { text-align: center; font-size: 12px; color: #ccc; margin-top: 40px; padding: 20px; }
