/* Element Plus 负责组件样式，这里只保留项目自身布局与少量覆盖 */
[v-cloak] { display: none; }
html, body { height: 100%; margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #303133; background: #f6f8fa;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; background: #f2f4f7; padding: 1px 5px; border-radius: 4px; }
.boot-screen { height: 100vh; display: flex; align-items: center; justify-content: center; color: #909399; }
.grow { flex: 1; }
.ep-muted { color: #909399; }
.ep-hint { font-size: 12px; color: #909399; line-height: 1.6; margin-top: 4px; }
.ep-tag { margin: 0 4px 4px 0; }
.ep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.ep-error { margin-bottom: 12px; }

/* 登录 */
.ep-login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: linear-gradient(160deg, #f6f8fa 0%, #e9eef5 100%);
}
.ep-login-card { width: 100%; max-width: 380px; border-radius: 12px; }
.login-brand { font-size: 22px; font-weight: 700; letter-spacing: .5px; color: #1f2328; }
.ep-login-submit { width: 100%; margin-top: 4px; }

/* 侧边栏 */
.ep-shell { height: 100vh; }
.ep-aside {
  display: flex; flex-direction: column; background: #161b22; padding: 16px 12px; overflow: hidden;
}
.brand { font-size: 18px; font-weight: 700; color: #fff; padding: 2px 10px 18px; letter-spacing: .5px; }
.ep-menu {
  --el-menu-bg-color: #161b22;
  --el-menu-text-color: #c9d1d9;
  --el-menu-hover-bg-color: #21262d;
  --el-menu-active-color: #fff;
  border-right: none !important;
}
.ep-menu .el-menu-item.is-active { background: #1f6feb !important; color: #fff !important; font-weight: 600; }
.ep-side-foot {
  margin-top: auto; padding-top: 10px; border-top: 1px solid #30363d; color: #8b949e;
  display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px;
}
.ep-side-foot > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 主区 */
.ep-main { background: #f6f8fa; padding: 16px; }
.ep-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ep-toolbar h2 { font-size: 15px; margin: 0; }
.ep-search { width: 180px; }
.ep-bind-select { width: 240px; }
.ep-pager { justify-content: flex-end; margin-top: 14px; }

/* 所有列表：列宽按内容自适应，单元格内容不换行（超宽由表格横向滚动） */
.ep-table .cell { white-space: nowrap; }
/* 表格至少铺满容器；内容更多时 table-layout:auto 仍会撑开 */
.ep-table .el-table__body,
.ep-table .el-table__header { min-width: 100%; }
.ep-table .el-scrollbar__view { min-width: 100%; }

/* 租户详情 */
.ep-desc { margin-bottom: 14px; }
.ep-detail-tabs .el-tabs__content { padding-top: 10px; }

/* 应用图片：圆形缩略图、表单预览与上传 */
.ep-app-thumb { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }
.ep-app-thumb img { border-radius: 50%; }
.ep-image-row { display: flex; align-items: flex-start; gap: 12px; }
.ep-app-image { width: 88px; height: 88px; border-radius: 8px; overflow: hidden; flex: 0 0 88px; }
.ep-image-placeholder {
  width: 88px; height: 88px; flex: 0 0 88px; display: flex; align-items: center; justify-content: center;
  border: 1px dashed #dcdfe6; border-radius: 8px; background: #f5f7fa; color: #909399; font-size: 12px;
}
.ep-image-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
