:root {
  --lp-bg: #0f172a;
  --lp-side: #111827;
  --lp-accent: #10b981;
  --el-color-primary: #10b981;
}
html, body, #app { height: 100%; margin: 0; }
body { font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.lp-layout { height: 100%; }
.lp-aside {
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%);
  border-right: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}
.lp-brand {
  display: flex; align-items: center; gap: 10px;
  height: 64px; padding: 0 18px; color: #fff;
  font-weight: 700; letter-spacing: .02em;
}
.lp-brand span { color: var(--lp-accent); }
.lp-aside .el-menu { border-right: 0; background: transparent; }
.lp-header {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 20px;
  background: #fff; border-bottom: 1px solid #eef0f3;
}
.lp-title { font-size: 16px; font-weight: 650; color: #111827; }
.lp-main { padding: 20px; background: #f5f7fb; min-height: calc(100% - 64px); }
.lp-card { margin-bottom: 16px; }
.lp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
@media (max-width: 960px) { .lp-stats { grid-template-columns: 1fr 1fr; } }
.lp-stat {
  background: #fff; border-radius: 12px; padding: 18px 20px;
  border: 1px solid #eef0f3;
}
.lp-stat b { display: block; font-size: 28px; color: #111827; }
.lp-stat span { color: #6b7280; font-size: 13px; }
.lp-hint { color: #6b7280; font-size: 13px; line-height: 1.6; }
.lp-host-tag { margin: 0 8px 8px 0; }
.lp-login {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%);
}
.lp-login-card { width: 380px; }
.lp-login-brand {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}
.lp-login-brand span { color: var(--lp-accent); }
.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 480px;
}
.promo-cell {
  position: relative;
  display: block;
  width: 100%;
  min-height: 160px;
  aspect-ratio: 9 / 16;
  border: 1px dashed #9ca3af;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
  cursor: pointer;
  box-sizing: border-box;
}
.promo-cell .promo-file {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}
.promo-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-cell .ph {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #6b7280; font-weight: 700; font-size: 13px; text-align: center; line-height: 1.4;
  pointer-events: none;
}
.promo-cell.is-splash { outline: 2px solid var(--lp-accent); }
.promo-cell .del {
  position: absolute; top: 4px; right: 4px; z-index: 3;
  width: 22px; height: 22px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; cursor: pointer;
}
.promo-actions { margin-top: 8px; }
.pack-icon { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: #e5e7eb; }
.el-button--primary { --el-color-primary: #10b981; }
.batch-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.batch-chips span {
  display: inline-flex; align-items: flex-start; gap: 6px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 6px 8px; font-size: 12px;
  max-width: 100%;
}
.batch-chips img { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.batch-chips em { font-style: normal; line-height: 1.35; word-break: break-all; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; color: #4b5563; word-break: break-all; }
.el-menu-item.is-active { background: rgba(16,185,129,.12) !important; color: #6ee7b7 !important; }
