/* ==================== PDF 文档管理平台 管理端（Flask）全局样式 ====================
   主题沿用参照项目：深绿主色 #14563d / #1b6b4c / #2a8a63 + 金色点缀 #c9a227 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background: #f0f2f5;
  color: #303133;
  font-size: 14px;
}

[v-cloak] { display: none; }

#layout { display: flex; height: 100vh; overflow: hidden; }

/* ---------- 左侧边栏（绿色医疗主题，参照 SideMenu.vue） ---------- */
.layout-aside {
  width: 220px;
  background: #14563d;
  color: #fff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: width 0.3s ease;
  overflow: hidden;
}
.layout-aside .logo {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  background: #0f4530;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 14px;
  overflow: hidden;
  white-space: nowrap;
}
.layout-aside .logo .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.layout-aside .logo .logo-mark .logo-img,
.login-brand .brand-mark .brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
}
.layout-aside .logo .logo-mark:hover { transform: translateY(-1px); }
.layout-aside .logo .logo-text {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}

/* 侧栏折叠态（参照 Layout.vue is-collapse：220px -> 64px） */
#layout.is-collapse .layout-aside { width: 64px; }
#layout.is-collapse .layout-aside .logo-text,
#layout.is-collapse .menu-item span,
#layout.is-collapse .menu-group-title span,
#layout.is-collapse .menu-group-title .menu-arrow,
#layout.is-collapse .menu-group-body { display: none; }
#layout.is-collapse .layout-aside .logo { padding: 0; }
#layout.is-collapse .menu-group-title { justify-content: center; padding: 10px 0 6px; }
#layout.is-collapse .menu-item { justify-content: center; padding: 0; }
#layout.is-collapse .menu-item i { margin: 0; }
#layout.is-collapse .side-menu .menu-group { border-bottom: 1px solid rgba(255,255,255,0.06); }

.side-menu { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 6px 0; }
.side-menu::-webkit-scrollbar { width: 5px; }
.side-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 4px; }
.side-menu::-webkit-scrollbar-track { background: transparent; }

/* 菜单分组（目录，可点击展开/收起，参照 el-submenu） */
.menu-group { position: relative; }
.menu-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.menu-group-title:hover { color: rgba(255, 255, 255, 0.85); }
.menu-group-title i { font-size: 15px; width: 18px; text-align: center; }
.menu-group-title .menu-arrow {
  margin-left: auto;
  font-size: 12px;
  transition: transform 0.25s ease;
}
.menu-group.open .menu-group-title .menu-arrow { transform: rotate(180deg); }
.menu-group-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.menu-group.open .menu-group-body { max-height: 520px; padding-bottom: 4px; }

/* 菜单项（参照 el-menu-item 圆角样式） */
.menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin: 2px 10px;
  padding: 0 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 13.5px;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
}
.menu-item:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.menu-item i { font-size: 16px; width: 20px; text-align: center; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.menu-item:hover i { color: #fff; }
.menu-item.active {
  background: linear-gradient(135deg, #2a8a63 0%, #1b6b4c 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}
.menu-item.active i { color: #fff; }
.menu-item.active::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background-color: #c9a227;
}

/* 子菜单项（目录下的二级菜单，参照 el-menu 内层） */
.menu-group-body .menu-item { padding-left: 24px; font-size: 13px; color: rgba(255,255,255,0.62); }

/* ---------- 右侧主区域 ---------- */
.layout-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.layout-header {
  height: 64px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(27, 107, 76, 0.08);
  border-bottom: 2px solid #1b6b4c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  flex-shrink: 0;
  z-index: 10;
}
.layout-header .header-title { font-size: 16px; font-weight: 600; color: #303133; }
/* 顶栏当前日期（工作台红格3位置：标题与用户区之间） */
.header-date {
  margin-left: auto; margin-right: 20px;
  font-size: 13px; color: #909399; white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
}
.header-date i { color: #1b6b4c; }

.header-user { position: relative; display: flex; align-items: center; }
.header-user .user-trigger {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 6px; cursor: pointer;
  transition: background 0.2s;
}
.header-user .user-trigger:hover { background: #e8f4ee; }
.header-user .user-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #2a8a63, #1b6b4c); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.header-user .user-name { color: #303133; }
.header-user .user-trigger > i { color: #909399; font-size: 12px; }
.header-user .dropdown {
  position: absolute; right: 0; top: 54px;
  background: #fff; border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  min-width: 130px; display: none; z-index: 99;
  border: 1px solid #e4e7ed;
  overflow: hidden;
}
.header-user:hover .dropdown,
.header-user .dropdown.show { display: block; }
.header-user .dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; color: #606266;
  text-decoration: none; font-size: 14px;
}
.header-user .dropdown a i { color: #1b6b4c; }
.header-user .dropdown a:hover { background: #f5f7fa; color: #1b6b4c; }

.layout-content {
  flex: 1; overflow-y: auto; padding: 16px 20px;
  display: flex; flex-direction: column;
}

/* ---------- 页面通用 ---------- */
.page-container {
  background: #fff; border-radius: 8px; padding: 16px 18px;
  display: flex; flex-direction: column; flex: 1; min-height: 0;
}
.page-title { font-size: 15px; color: #303133; margin-bottom: 14px; }
.toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px; flex-wrap: wrap; gap: 8px;
  flex-shrink: 0;
}
.toolbar > div { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* 表格占满中间剩余高度；分页栏固定贴底，深绿底色与左侧菜单栏一致 */
.page-container .el-table { flex: 1; min-height: 0; overflow: auto; }
.table-footer {
  display: flex; justify-content: flex-end; align-items: center;
  margin-top: auto; padding: 9px 14px; flex-shrink: 0;
  background: #14563d; border-radius: 8px; min-height: 42px;
}
/* 深绿底栏上的分页组件配色适配 */
.table-footer .el-pagination { color: rgba(255, 255, 255, 0.85); }
.table-footer .el-pagination__total { color: rgba(255, 255, 255, 0.85); font-size: 13px; }
.table-footer .el-pagination .btn-prev,
.table-footer .el-pagination .btn-next {
  background: transparent; color: rgba(255, 255, 255, 0.85);
}
.table-footer .el-pagination .btn-prev:hover,
.table-footer .el-pagination .btn-next:hover {
  color: #fff; background: rgba(255, 255, 255, 0.12);
}
.table-footer .el-pagination .btn-prev.is-disabled,
.table-footer .el-pagination .btn-next.is-disabled { color: rgba(255, 255, 255, 0.35); }
.table-footer .el-pagination .el-pager li {
  background: transparent; color: rgba(255, 255, 255, 0.7);
  border-radius: 4px; min-width: 26px; height: 26px; line-height: 26px;
}
.table-footer .el-pagination .el-pager li:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.table-footer .el-pagination .el-pager li.active {
  background: #2a8a63; color: #fff; font-weight: 600;
}

/* ElementUI 全局紧凑：表格行间距 / 按钮 / 输入框（专业、美观、大众审美） */
.el-table th {
  padding: 8px 0 !important;
  background: #f5f7fa !important;
  color: #606266 !important;
  font-size: 13px;
  font-weight: 600;
}
.el-table td { padding: 7px 0 !important; font-size: 13px; }
.el-table--border, .el-table--group { border-color: #ebeef5; }
.el-button { padding: 8px 14px; font-size: 13px; border-radius: 6px; }
.el-button--mini { padding: 4px 9px; font-size: 12px; border-radius: 5px; }
.el-button--small { padding: 6px 11px; font-size: 12px; border-radius: 6px; }
.el-input__inner { height: 36px; line-height: 36px; }
.el-select { width: 100%; }
.el-dialog { border-radius: 10px; }
.el-dialog__title { font-size: 16px; font-weight: 600; }
.el-pagination { font-size: 13px; }

/* 统计卡片（参照 Home.vue 彩色底图标；一行 6 个，紧凑精致） */
.stat-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 14px; }
.stat-card {
  background: #fff; border-radius: 8px; padding: 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10); }
.stat-card .stat-icon {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #1b6b4c;
}
.stat-card .stat-info .stat-num { font-size: 19px; font-weight: 700; color: #303133; line-height: 1.2; }
.stat-card .stat-info .stat-label { color: #909399; font-size: 12px; margin-top: 3px; }
.icon-blue { background: #ecf5ff; }
.icon-green { background: #e8f4ee; }
.icon-orange { background: #fdf6ec; }
.icon-red { background: #fef0f0; }
.icon-purple { background: #f4f4f5; }
.icon-cyan { background: #f0f9eb; }

.panel { background: #fff; border-radius: 8px; padding: 16px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06); }
.panel-title {
  font-size: 14px; font-weight: 600; color: #303133; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between;
  padding-left: 9px; border-left: 3px solid #1b6b4c;
}
.panel-title > span { display: flex; align-items: center; gap: 6px; }
.panel-title .panel-link { color: #1b6b4c; font-size: 12px; font-weight: 400; cursor: pointer; }
.panel-title .panel-link:hover { text-decoration: underline; }

/* 欢迎横幅（绿色渐变，含图标） */
.welcome-banner {
  background: linear-gradient(120deg, #1b6b4c 0%, #2a8a63 100%);
  border-radius: 8px; color: #fff; padding: 18px 22px;
  margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 4px 12px rgba(27, 107, 76, 0.22);
}
.welcome-banner h3 { font-size: 17px; margin-bottom: 5px; }
.welcome-banner p { opacity: 0.9; font-size: 12.5px; }
.welcome-banner > i { opacity: 0.85; }

/* 快捷入口（参照 Home.vue quick-links） */
.home-content { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.quick-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick-link {
  background: #f5f7fa; border-radius: 8px; padding: 14px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; transition: all 0.2s;
}
.quick-link:hover { background: #e8f4ee; transform: translateY(-2px); }
.quick-link i { font-size: 20px; color: #1b6b4c; }
.quick-link span { font-size: 12px; color: #606266; }

/* ---------- 登录页（参照 Login.vue 品牌双栏） ---------- */
.login-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background:
    radial-gradient(900px 640px at 82% 88%, rgba(255, 255, 255, 0.07) 0%, transparent 62%),
    linear-gradient(135deg, #0a2f20 0%, #124f38 50%, #1b6b4c 100%);
  position: relative;
  overflow: hidden;
}
.login-stage {
  position: relative; z-index: 1;
  display: flex; width: 100%; max-width: 860px; min-height: 560px;
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}
.login-brand {
  position: relative; flex: 1; padding: 40px 44px;
  background: linear-gradient(150deg, #0f4530 0%, #14563d 55%, #1b6b4c 100%);
  overflow: hidden; display: flex; flex-direction: column;
}
.login-brand::before,
.login-brand::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.login-brand::after {
  bottom: -90px; left: -60px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 70%);
}
.login-brand .grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(160deg, rgba(0, 0, 0, 0.9) 0%, transparent 78%);
}
.login-brand .brand-content { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.login-brand .brand-top {
  display: flex; align-items: center; gap: 12px; margin-bottom: 0;
}
.login-brand .brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2a8a63 0%, #1b6b4c 100%);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
}
.login-brand .brand-name { font-size: 15px; font-weight: 600; color: #fff; letter-spacing: 2px; }
.login-brand .brand-main { margin-bottom: 0; }
.login-brand .brand-main h1 {
  margin: 0 0 12px; font-size: 26px; font-weight: 700; line-height: 1.35;
  color: #fff; letter-spacing: 2px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}
.login-brand .brand-main p {
  margin: 0; font-size: 13px; line-height: 1.9;
  color: rgba(255, 255, 255, 0.68); letter-spacing: 0.5px; max-width: 300px;
}
.login-brand .brand-features {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.login-brand .feature-item {
  display: flex; align-items: center; gap: 12px;
  padding: 7px 10px; border-radius: 10px; transition: all 0.25s ease;
}
.login-brand .feature-item:hover { background: rgba(255, 255, 255, 0.05); transform: translateX(5px); }
.login-brand .feature-icon {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 15px; color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.login-brand .feature-text { display: flex; flex-direction: column; gap: 3px; }
.login-brand .feature-title { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, 0.94); }
.login-brand .feature-desc { font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, 0.58); }

.login-form-panel {
  flex: 1; background-color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 48px 56px; position: relative; overflow: hidden;
}
.login-form-panel .form-inner { width: 100%; max-width: 320px; position: relative; z-index: 1; }
.login-form-panel .form-header { margin-bottom: 26px; text-align: center; }
.login-form-panel .form-header h2 { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: #303133; letter-spacing: 2px; }
.login-form-panel .form-header p { margin: 0; font-size: 12px; color: #909399; letter-spacing: 0.5px; }
.login-form-panel .form-header::after {
  content: ''; display: block; width: 36px; height: 3px;
  margin: 12px auto 0; border-radius: 2px;
  background: linear-gradient(90deg, #1b6b4c 0%, #2a8a63 100%);
}
.login-form-panel .el-input__inner {
  border: 1px solid #dcdfe6; border-radius: 8px;
  padding: 0 14px 0 40px; height: 44px; font-size: 14px; background-color: #fafafa;
}
.login-form-panel .el-input__inner:focus {
  border-color: #1b6b4c; box-shadow: 0 0 0 3px rgba(27, 107, 76, 0.12); background-color: #fff;
}
.login-form-panel .el-input__prefix { left: 14px; color: #1b6b4c; font-size: 15px; }
.login-form-panel .el-form-item { margin-bottom: 18px; }
.login-button {
  width: 100%; height: 44px; font-size: 15px; font-weight: 600; letter-spacing: 6px;
  margin-top: 4px; border: none; border-radius: 8px;
  background: linear-gradient(135deg, #1b6b4c 0%, #2a8a63 100%);
  box-shadow: 0 5px 14px rgba(27, 107, 76, 0.24);
}
.login-button:hover {
  background: linear-gradient(135deg, #2a8a63 0%, #35a377 100%);
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(27, 107, 76, 0.32);
}
.login-form-panel .form-footer { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.login-form-panel .footer-line { flex: 1; height: 1px; background-color: #ebeef5; }
.login-form-panel .footer-text { font-size: 11.5px; font-weight: 600; letter-spacing: 1px; white-space: nowrap; color: #909399; }
.login-form-panel .login-tip { margin-top: 16px; text-align: center; font-size: 12px; line-height: 1.7; color: #a8adb8; letter-spacing: 0.5px; }

/* 医院信息展示 */
.hospital-card { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; }
.hospital-card .h-item .h-label { color: #909399; font-size: 13px; margin-bottom: 4px; }
.hospital-card .h-item .h-value { color: #303133; line-height: 1.6; }
.hospital-card .h-full { grid-column: 1 / -1; }

/* 响应式 */
@media (max-width: 1180px) {
  .stat-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .home-content { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .login-stage { max-width: 460px; min-height: auto; }
  .login-brand { display: none; }
  .login-form-panel { padding: 48px 36px; }
}

/* ==================== PDF 文档管理平台 业务组件补充样式 ==================== */
/* 详情信息栅格 */
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.detail-item { display: flex; flex-direction: column; gap: 5px; }
.detail-item .d-label { color: #909399; font-size: 12px; }
.detail-item .d-value { color: #303133; font-size: 13px; line-height: 1.6; word-break: break-all; }
.detail-item.full { grid-column: 1 / -1; }
.detail-block { background: #fafbfc; border: 1px solid #ebeef5; border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; }
.detail-block .d-block-title { font-size: 13px; font-weight: 600; color: #14563d; margin-bottom: 8px; padding-left: 8px; border-left: 3px solid #c9a227; }

/* 小指标条 */
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.mini-stat { background: linear-gradient(135deg, #f7fbf9, #eef6f1); border: 1px solid #e2efe7; border-radius: 8px; padding: 10px 12px; }
.mini-stat .m-num { font-size: 18px; font-weight: 700; color: #1b6b4c; line-height: 1.2; }
.mini-stat .m-label { font-size: 12px; color: #909399; margin-top: 2px; }

/* 文档标题列 */
.doc-title-cell { display: flex; align-items: center; gap: 6px; }
.doc-title-cell .doc-icon { color: #1b6b4c; font-size: 15px; }
.doc-title-cell .doc-text { color: #303133; }
.top-flag { display: inline-block; padding: 0 5px; height: 17px; line-height: 17px; border-radius: 3px; background: #c9a227; color: #fff; font-size: 11px; }

/* PDF 预览 */
.preview-frame { width: 100%; height: 68vh; border: 1px solid #ebeef5; border-radius: 8px; background: #f5f7fa; }
.preview-tip { font-size: 12px; color: #909399; margin-top: 8px; text-align: center; }

/* 意见 / 回复 */
.comment-content { font-size: 13px; color: #303133; line-height: 1.7; white-space: pre-wrap; }
.comment-meta { font-size: 12px; color: #909399; margin-top: 4px; }
.comment-reply { margin-top: 8px; padding: 8px 10px; background: #f2f8f5; border-left: 3px solid #2a8a63; border-radius: 4px; font-size: 12.5px; color: #1b6b4c; line-height: 1.7; white-space: pre-wrap; }
.score-stars { color: #c9a227; font-size: 14px; letter-spacing: 1px; }
.score-stars .off { color: #dcdfe6; }

/* 任务进度 */
.task-progress { display: flex; align-items: center; gap: 8px; }
.task-progress .el-progress { flex: 1; }

/* 授权对象选择 */
.auth-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border: 1px solid #ebeef5; border-radius: 8px; margin-bottom: 8px; background: #fff; }
.auth-item .a-name { font-size: 13px; color: #303133; }
.auth-item .a-sub { font-size: 12px; color: #909399; }
.auth-empty { text-align: center; color: #c0c4cc; font-size: 13px; padding: 24px 0; }

/* 上传框 */
.upload-box { border: 1px dashed #c8d6cf; border-radius: 8px; padding: 18px; text-align: center; background: #fbfdfc; cursor: pointer; transition: all .2s; }
.upload-box:hover { border-color: #2a8a63; background: #f2f8f5; }
.upload-box .u-icon { font-size: 26px; color: #2a8a63; }
.upload-box .u-text { font-size: 13px; color: #606266; margin-top: 6px; }
.upload-box .u-tip { font-size: 12px; color: #a8adb8; margin-top: 2px; }
.file-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: #f2f8f5; border: 1px solid #dbeae2; border-radius: 6px; font-size: 12.5px; color: #1b6b4c; }
.file-chip i { cursor: pointer; color: #f56c6c; }

/* 统计图表 */
.chart-box { width: 100%; height: 260px; }
.chart-empty { height: 160px; display: flex; align-items: center; justify-content: center; color: #c0c4cc; font-size: 13px; }

/* 信息提示条 */
.info-banner { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; background: #f2f8f5; border: 1px solid #dbeae2; color: #1b6b4c; font-size: 12.5px; margin-bottom: 12px; }
.info-banner i { font-size: 15px; }
.info-banner.warn { background: #fdf6ec; border-color: #faecd8; color: #b8860b; }

/* 状态点 */
.dot-status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.dot-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #909399; }
.dot-status.ok::before { background: #2a8a63; }
.dot-status.warn::before { background: #e6a23c; }
.dot-status.bad::before { background: #f56c6c; }

/* 深绿主按钮统一 */
.el-button--primary { background-color: #1b6b4c; border-color: #1b6b4c; }
.el-button--primary:hover, .el-button--primary:focus { background-color: #2a8a63; border-color: #2a8a63; }
.el-tag--success { background-color: #eef7f2; border-color: #cfe6d9; color: #1b6b4c; }
.el-radio-group .el-radio-button__orig-radio:checked + .el-radio-button__inner { background-color: #1b6b4c; border-color: #1b6b4c; box-shadow: -1px 0 0 0 #1b6b4c; }
.el-checkbox__input.is-checked .el-checkbox__inner, .el-radio__input.is-checked .el-radio__inner { background-color: #1b6b4c; border-color: #1b6b4c; }
.el-checkbox__input.is-checked + .el-checkbox__label, .el-radio__input.is-checked + .el-radio__label { color: #1b6b4c; }
.el-tabs__item.is-active { color: #1b6b4c; }
.el-tabs__active-bar { background-color: #1b6b4c; }
.el-switch.is-checked .el-switch__core { background-color: #1b6b4c; border-color: #1b6b4c; }

@media (max-width: 1280px) {
  .mini-stats { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
}
/* ==================== 工作台趋势图 / 分布条 / 侧栏条目 ==================== */
.aside-footer { padding: 10px 18px 14px; font-size: 11px; color: rgba(255,255,255,0.35); letter-spacing: 0.5px; }
#layout.is-collapse .aside-footer { display: none; }

.trend-chart { display: flex; align-items: flex-end; gap: 14px; height: 200px; padding: 10px 4px 0; }
.trend-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.trend-value { font-size: 12px; color: #606266; margin-bottom: 4px; }
.trend-bar-wrap { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.trend-bar { width: 60%; max-width: 42px; background: linear-gradient(180deg, #2a8a63, #1b6b4c); border-radius: 4px 4px 0 0; transition: height .3s ease; min-height: 4px; }
.trend-label { font-size: 12px; color: #909399; margin-top: 6px; }
.trend-footer { margin-top: 10px; font-size: 12.5px; color: #606266; }
.trend-footer b { color: #1b6b4c; }

.dist-item { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.dist-item .dist-name { width: 92px; font-size: 12.5px; color: #606266; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dist-item .dist-bar-wrap { flex: 1; height: 10px; background: #f0f2f5; border-radius: 5px; overflow: hidden; }
.dist-item .dist-bar { display: block; height: 100%; background: linear-gradient(90deg, #2a8a63, #c9a227); border-radius: 5px; }
.dist-item .dist-num { width: 26px; text-align: right; font-size: 12.5px; color: #909399; }

.side-item { padding: 10px 0; border-bottom: 1px dashed #ebeef5; }
.side-item:last-child { border-bottom: none; }
.side-item-title { font-size: 13px; color: #303133; margin-bottom: 4px; }
.side-item-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #909399; margin-bottom: 6px; flex-wrap: wrap; }
.side-item-num { font-size: 12px; color: #909399; white-space: nowrap; }

.perm-tree { width: 100%; max-height: 320px; overflow: auto; border: 1px solid #ebeef5; border-radius: 8px; padding: 10px; }
.param-remark { font-size: 12px; color: #909399; margin-left: 10px; }
.toolbar-tip { font-size: 12.5px; color: #e6a23c; }
/* ==================== 窄窗口适配（笔记本半屏 / 小尺寸窗口） ==================== */
@media (max-width: 820px) {
  .layout-aside { width: 168px; }
  .layout-aside .logo { padding: 0 8px; gap: 8px; }
  .layout-aside .logo .logo-text { font-size: 13px; letter-spacing: 0; }
  .menu-item { padding: 0 12px; font-size: 13px; }
  .menu-group-title { padding: 12px 12px 8px; font-size: 11px; }
  .stat-cards { grid-template-columns: 1fr; gap: 10px; }
  .home-content { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .content { padding: 12px 10px 18px; }
  .welcome-text { line-height: 1.7; }
}
@media (max-width: 820px) {
  .layout-header { padding: 0 10px; gap: 8px; }
  .header-title { font-size: 15px; white-space: nowrap; }
  .header-date { display: none; }
  .welcome-banner { padding: 14px 16px; }
  .welcome-banner h3 { font-size: 15px; line-height: 1.6; }
  .welcome-banner p { font-size: 12px; }
}
@media (max-width: 820px) {
  .welcome-banner { flex-wrap: wrap; gap: 8px; }
  .welcome-banner h3 { width: 100%; }
  .welcome-banner p { width: 100%; font-size: 12px; line-height: 1.7; }
}