/* 门店补货助手 · 演示版样式（手机优先，简洁易懂） */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: #f2f4f7;
  color: #1f2329;
}

.demo-banner {
  background: #b45309;
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 6px 8px;
  letter-spacing: 1px;
}

.page { max-width: 560px; margin: 0 auto; padding: 12px 12px 40px; }
.page-wide { max-width: 900px; margin: 0 auto; padding: 12px 16px 40px; }

/* 顶部栏 */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 2px 14px;
}
.topbar .title { font-size: 20px; font-weight: 700; }
.topbar .who { font-size: 13px; color: #646a73; margin-top: 2px; }

/* 登录 */
.login-card {
  background: #fff; border-radius: 12px; padding: 28px 22px;
  margin-top: 40px; box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.login-card h1 { font-size: 22px; text-align: center; margin-bottom: 4px; }
.login-card .sub { text-align: center; color: #8f959e; font-size: 13px; margin-bottom: 22px; }
.login-card .el-input { margin-bottom: 14px; }
.login-card .el-button { width: 100%; }
.demo-accounts {
  margin-top: 18px; background: #f7f8fa; border-radius: 8px;
  padding: 10px 12px; font-size: 13px; color: #646a73; line-height: 1.8;
}

/* 搜索 */
.search-row { margin-bottom: 12px; }

/* 门店卡片 */
.store-card {
  background: #fff; border-radius: 12px; padding: 14px 16px;
  margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.store-head { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.store-name { font-size: 17px; font-weight: 600; }
.store-tags { display: flex; gap: 6px; margin-left: 8px; flex-shrink: 0; }
.store-summary { margin-top: 8px; font-size: 15px; }
.store-summary .need { color: #d4380d; font-weight: 700; font-size: 17px; }
.store-summary .ok { color: #389e0d; font-weight: 600; }
.store-toggle { font-size: 12px; color: #8f959e; margin-top: 6px; }

/* SKU 明细 */
.sku-list { margin-top: 10px; border-top: 1px dashed #e5e6eb; padding-top: 8px; }
.sku-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 2px; border-bottom: 1px solid #f2f3f5;
}
.sku-row:last-child { border-bottom: none; }
.sku-name { font-size: 15px; font-weight: 600; }
.sku-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag {
  font-size: 12px; padding: 2px 8px; border-radius: 10px;
  background: #f2f3f5; color: #4e5969; white-space: nowrap;
}
.tag-danger { background: #fde2e2; color: #d4380d; font-weight: 600; }
.tag-need { background: #d4380d; color: #fff; font-weight: 600; }
.sku-cases { text-align: right; flex-shrink: 0; margin-left: 10px; }
.sku-cases .num { font-size: 19px; font-weight: 700; color: #d4380d; }
.sku-cases .num .unit { font-size: 12px; font-weight: 400; }
.sku-cases .ok { font-size: 13px; color: #389e0d; }

/* 管理后台 */
.admin-section { background: #fff; border-radius: 12px; padding: 18px; margin-bottom: 14px; }
.admin-section h2 { font-size: 16px; margin-bottom: 10px; }
.admin-section .desc { font-size: 13px; color: #646a73; line-height: 1.8; margin-bottom: 12px; }

.empty { text-align: center; color: #8f959e; padding: 40px 0; font-size: 14px; }
