/* 运营后台 · Element Plus 基础上的少量布局定制 */
[v-cloak] { display: none; }

html, body, #app { height: 100%; }
body {
  margin: 0;
  font-size: 14px;
  color: #303133;
  background: #f0f2f5;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC',
               'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}
a { text-decoration: none; }

/* ---- 侧栏 ---- */
.layout { height: 100vh; }
.layout > .el-aside { position: relative; }
.layout .el-aside { overflow-y: auto; }
.layout .el-aside .el-menu { border-right: none; }
.brand {
  height: 56px;
  padding: 0 16px;
  line-height: 56px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #263445;
  white-space: nowrap;
}
.brand em { font-style: normal; font-size: 12px; font-weight: normal; color: #8fa3b8; margin-left: 6px; }
.el-menu .el-menu-item-group__title { color: #637389; font-size: 12px; }
.menu-badge { display: inline-flex; align-items: center; }
.side-user {
  position: sticky;
  bottom: 0;
  padding: 12px 16px;
  background: #263445;
  color: #bfcbd9;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.side-user a { color: #bfcbd9; }
.side-user a:hover { color: #fff; }

/* ---- 顶栏与主区 ---- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: #fff;
  border-bottom: 1px solid #e4e7ed;
}
.topbar-title { font-size: 16px; font-weight: 600; }
.topbar-right { color: #909399; font-size: 13px; }
.page-main { padding: 16px 20px; }
.page-foot { margin-top: 24px; text-align: center; color: #c0c4cc; font-size: 12px; }

/* ---- 通用 ---- */
.mb16 { margin-bottom: 16px; }
.el-table .el-row-muted { color: #909399; }
.el-table .el-row-muted .el-button { color: #a0a6ad; }

/* ---- 看板统计块 ---- */
.stat { background: #fff; border: 1px solid #e4e7ed; border-radius: 4px; padding: 14px 16px; }
.stat .v { font-size: 22px; font-weight: 600; }
.stat .l { font-size: 12px; color: #909399; margin-top: 4px; }

/* ---- 排期墙 ---- */
.sched-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid #ebeef5;
}
.sched-row:last-child { border-bottom: none; }
.sched-row .d { width: 100px; color: #606266; font-variant-numeric: tabular-nums; flex-shrink: 0; }

/* ---- 登录页 ---- */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.login-card { width: 340px; }
.login-card h1 { font-size: 17px; text-align: center; margin: 0 0 4px; }
.login-sub { text-align: center; color: #909399; font-size: 13px; margin: 0 0 20px; }
.login-foot { text-align: center; color: #c0c4cc; font-size: 12px; margin: 16px 0 0; }
