/* 页面切换动画 */
.main-content > .container { animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.loading { text-align: center; padding: 40px; color: #94a3b8; font-size: 14px; }

/* =====================================================================
   云端合同管理系统 · 样式
   ===================================================================== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --bg: #f1f5f9;
  --card: #ffffff;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --border: #e2e8f0;
  --danger: #dc2626;
  --warn: #d97706;
  --ok: #16a34a;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }

/* ---------- 通用 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); background: var(--card);
  color: var(--text-2); padding: 8px 16px; border-radius: 8px;
  font-size: 14px; transition: all 0.15s; white-space: nowrap;
}
.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-danger { color: var(--danger); border-color: #fecaca; }
.btn-danger:hover { background: #fef2f2; border-color: var(--danger); color: var(--danger); }
.btn-sm { padding: 4px 10px; font-size: 13px; border-radius: 6px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.badge {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: 12px; line-height: 1.6;
}
.badge-ok { background: #dcfce7; color: var(--ok); }
.badge-warn { background: #fef3c7; color: var(--warn); }
.badge-danger { background: #fee2e2; color: var(--danger); }
.badge-gray { background: #f1f5f9; color: var(--text-3); }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ---------- 顶部导航 ---------- */
.topbar {
  background: var(--card); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  height: 58px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 8px; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px;
  overflow: hidden; flex-shrink: 0;
}
.brand .logo img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; display: block; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topnav { display: flex; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.topbar-inner { position: relative; }
.nav-link {
  padding: 6px 16px; border-radius: 8px; color: var(--text-2);
  text-decoration: none; font-size: 14px; transition: all 0.15s;
}
.nav-link:hover { background: #f1f5f9; color: var(--primary); }
.nav-link.active { background: #eff6ff; color: var(--primary); font-weight: 600; }
.user-info { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: #dbeafe;
  color: var(--primary-dark); display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 13px;
}

/* ---------- 登录页 ---------- */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.15) 0%, rgba(30, 58, 138, 0.10) 100%),
    url("../login-bg.jpg") center/cover no-repeat fixed;
  padding: 20px;
}
.auth-card {
  width: 100%; max-width: 400px; background: rgba(255, 255, 255, 0.97); border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); padding: 24px 32px 36px;
  backdrop-filter: blur(10px);
}
.auth-card .auth-logo {
  width: 220px; height: 85px; border-radius: 12px; background: transparent;
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 54px; margin: 0 auto 4px; overflow: hidden;
}
.auth-card img.auth-logo { background: transparent; object-fit: contain; }
.auth-card h1 { text-align: center; font-size: 20px; margin: 0 0 2px; }
.auth-card .sub { text-align: center; color: var(--text-3); font-size: 13px; margin-bottom: 24px; }
.form-item { margin-bottom: 16px; }
.form-item label { display: block; margin-bottom: 6px; color: var(--text-2); font-size: 13px; }
.form-item input, .form-item select, .form-item textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border);
  border-radius: 8px; outline: none; transition: border 0.15s; background: #fff;
}
.form-item input:focus, .form-item select:focus, .form-item textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.auth-card .btn-primary { width: 100%; justify-content: center; padding: 10px; font-size: 15px; }
.auth-switch { text-align: center; margin-top: 16px; color: var(--text-3); font-size: 13px; }
.auth-switch a { color: var(--primary); cursor: pointer; text-decoration: none; }
.auth-tip {
  margin-top: 16px; padding: 10px 12px; border-radius: 8px;
  background: #fef3c7; color: #92400e; font-size: 13px; border: 1px solid #fde68a;
}
.msg { margin-bottom: 14px; padding: 10px 12px; border-radius: 8px; font-size: 13px; display: none; }
.msg.error { display: block; background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.msg.ok { display: block; background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.msg.warn { display: block; background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* ---------- 底部版权 ---------- */
.site-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  text-align: center; padding: 10px 12px; font-size: 13px; color: #94a3b8;
  background: rgba(248, 250, 252, 0.92); border-top: 1px solid #eef2f7;
  backdrop-filter: blur(4px);
}
body.auth-mode .site-footer {
  background: transparent !important; border-top: none; color: #ffffff;
  font-size: 13px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  backdrop-filter: none;
}
body.auth-mode { background: #0b1120 !important; overflow: hidden; }
html:has(body.auth-mode) { background: #0b1120; }
body { padding-bottom: 44px; }
.auth-wrap { padding-bottom: 64px; }

/* ---------- 列表页 ---------- */
.page { padding: 24px 0 60px; }
.page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.page-head h2 { font-size: 20px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-card { padding: 18px 20px; }
.stat-card .num { font-size: 24px; font-weight: 700; margin-top: 4px; }
.stat-card .lbl { color: var(--text-3); font-size: 13px; }
.stat-card .num.ok { color: var(--ok); }
.stat-card .num.warn { color: var(--warn); }
.stat-card .num.danger { color: var(--danger); }

.filter-bar { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.filter-bar input[type="text"], .filter-bar select {
  padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px;
  outline: none; background: #fff; min-width: 220px;
}
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--primary); }
.filter-bar select { min-width: 130px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { color: var(--text-3); font-weight: 500; font-size: 13px; background: #f8fafc; }
td .money { font-variant-numeric: tabular-nums; }
td .name-cell { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-actions { display: flex; gap: 8px; }
.empty { text-align: center; padding: 60px 20px; color: var(--text-3); }
.empty .big { font-size: 40px; margin-bottom: 8px; }
.loading { text-align: center; padding: 60px; color: var(--text-3); }

/* ---------- 表单页 ---------- */
.form-card { padding: 28px 30px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 20px; }
.form-grid .span-3 { grid-column: span 3; }
.form-grid .span-2 { grid-column: span 2; }
.form-item textarea { resize: vertical; min-height: 90px; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; }

.section-title { font-size: 16px; font-weight: 600; margin: 26px 0 14px; display: flex; align-items: center; gap: 8px; }
.section-title .hint { font-size: 12px; color: var(--text-3); font-weight: 400; }

/* 附件分类 */
.file-section { margin-bottom: 14px; }
.file-section .fs-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: #f8fafc; border: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
}
.file-section .fs-head .name { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.file-section .fs-body { border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--radius) var(--radius); padding: 8px 16px; }
.file-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 4px; border-bottom: 1px dashed var(--border); font-size: 13px;
}
.file-row:last-child { border-bottom: none; }
.file-row .f-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.file-row .f-name { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .f-meta { color: var(--text-3); font-size: 12px; }
.file-row .f-actions { display: flex; gap: 8px; flex-shrink: 0; }
.file-empty { color: var(--text-3); padding: 12px 4px; font-size: 13px; }
.upload-btn { position: relative; overflow: hidden; }
.upload-btn input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 100px;
}
.upload-progress {
  height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin-top: 6px;
}
.upload-progress > div { height: 100%; background: var(--primary); width: 0%; transition: width 0.2s; }
.disabled-zone { opacity: 0.55; pointer-events: none; }

/* ---------- 详情页 ---------- */
.detail-card { padding: 28px 30px; margin-bottom: 20px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 24px; }
.detail-item .d-label { color: var(--text-3); font-size: 12px; margin-bottom: 2px; }
.detail-item .d-value { font-size: 14px; word-break: break-all; }
.detail-item.full { grid-column: span 3; }

/* ---------- 预览弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6); z-index: 100;
  display: flex; align-items: stretch; justify-content: stretch; padding: 0;
}
.modal {
  background: var(--card); border-radius: 0; width: 100%; height: 100vh;
  display: flex; flex-direction: column; overflow: hidden;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.modal-head .t { font-weight: 600; }
.modal-close { border: none; background: none; font-size: 24px; color: var(--text-3); cursor: pointer; line-height: 1; }
.modal-body { padding: 0; overflow: auto; flex: 1; }
.modal-body iframe { width: 100%; height: 100%; border: none; }
.modal-body embed { width: 100%; height: 100%; border: none; }
.modal-body img { max-width: 100%; display: block; margin: 0 auto; }

/* 页面切换动画 */
.main-content > .container { animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.loading { text-align: center; padding: 40px; color: #94a3b8; font-size: 14px; }

/* =====================================================================
   数据看板
   ===================================================================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.kpi-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px;
}
.kpi-card .kpi-label { font-size: 12px; color: var(--text-2); margin-bottom: 8px; }
.kpi-card .kpi-value { font-size: 22px; font-weight: 700; color: var(--text); line-height: 1.2; }
.kpi-card .kpi-value small { font-size: 12px; font-weight: 500; color: var(--text-2); margin-left: 2px; }
.kpi-card .kpi-sub { font-size: 11px; color: var(--text-3); margin-top: 6px; }
.kpi-card.kpi-warn .kpi-value { color: #d97706; }
.kpi-card.kpi-danger .kpi-value { color: var(--danger); }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.chart-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px;
}
.chart-card.span-2 { grid-column: span 2; }
.chart-card .chart-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px;
}
.chart-card .chart-title { font-size: 15px; font-weight: 600; color: var(--text); }
.chart-card .chart-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.chart-box { width: 100%; height: 300px; }
.chart-box.tall { height: 340px; }
.chart-empty {
  height: 300px; display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 13px;
}

.seg-toggle { display: inline-flex; background: #f1f5f9; border-radius: 8px; padding: 2px; }
.seg-toggle button {
  border: none; background: transparent; padding: 4px 14px; border-radius: 6px;
  font-size: 12px; color: var(--text-2); cursor: pointer; transition: all 0.15s;
}
.seg-toggle button.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 1px 2px rgba(15,23,42,0.08); }

.deposit-status { padding: 2px 10px; border-radius: 999px; font-size: 12px; display: inline-block; }
.deposit-status.st-danger { background: #fef2f2; color: var(--danger); }
.deposit-status.st-warn { background: #fffbeb; color: #d97706; }
.deposit-status.st-ok { background: #f0fdf4; color: #16a34a; }
.deposit-status.st-gray { background: #f1f5f9; color: var(--text-2); }
.dash-banner {
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
  border-radius: var(--radius); padding: 10px 14px; font-size: 13px; margin-bottom: 16px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .chart-card.span-2 { grid-column: span 2; }
}
@media (max-width: 900px) {
  .topnav { position: static; transform: none; order: 3; width: 100%; justify-content: center; margin-top: 10px; }
  .topbar-inner { flex-wrap: wrap; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .chart-card.span-2 { grid-column: span 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid, .detail-grid { grid-template-columns: 1fr; }
  .form-grid .span-3, .form-grid .span-2, .detail-item.full { grid-column: span 1; }
}

/* 页面切换动画 */
.main-content > .container { animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.loading { text-align: center; padding: 40px; color: #94a3b8; font-size: 14px; }

/* =====================================================================
   左侧菜单布局（浅色简约）
   ===================================================================== */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: 220px;
  background: #f5f7fa; color: #303133; z-index: 100;
  display: flex; flex-direction: column;
  border-right: 1px solid #e4e7ed;
}
.sidebar-brand {
  display: flex; align-items: center; gap: 10px; padding: 16px;
  border-bottom: 1px solid #e4e7ed; background: #fff;
}
.sidebar-brand .logo { width: 30px; height: 30px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.sidebar-brand .logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sidebar-name { font-size: 15px; font-weight: 600; color: #303133; line-height: 1.3; }
.sidebar-menu { flex: 1; padding: 8px 0; overflow-y: auto; }
.sidebar-menu::-webkit-scrollbar { width: 4px; }
.sidebar-menu::-webkit-scrollbar-thumb { background: #c0c4cc; border-radius: 2px; }
.menu-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  color: #606266; text-decoration: none; font-size: 14px; cursor: pointer;
  transition: all 0.15s; border-left: 3px solid transparent;
}
.menu-item:hover { background: #ecf5ff; color: #409eff; }
.menu-item.active { background: #ecf5ff; color: #409eff; border-left-color: #409eff; font-weight: 500; }
.menu-icon { width: 18px; text-align: center; font-size: 16px; flex-shrink: 0; }
.menu-text { white-space: nowrap; }
.menu-divider { height: 1px; background: #e4e7ed; margin: 8px 16px; }
.sidebar-footer { padding: 12px 16px; border-top: 1px solid #e4e7ed; background: #fff; }
.sidebar-user { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sidebar-user .user-avatar { width: 34px; height: 34px; border-radius: 50%; background: #409eff; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.sidebar-user-info { display: flex; flex-direction: column; line-height: 1.3; }
.sidebar-username { font-size: 14px; color: #303133; font-weight: 500; }
.sidebar-userrole { font-size: 12px; color: #909399; }
.logout-link { color: #909399; font-size: 13px; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.logout-link:hover { color: #409eff; }
.main-content { margin-left: 220px; min-height: 100vh; padding-bottom: 20px; background: #f0f2f5; }
body.has-sidebar .site-footer { left: 220px; background: #fff; }

/* 已归档状态徽章 */
.badge-secondary { background: #e4e7ed; color: #606266; }

/* 侧边栏响应式 */
@media (max-width: 900px) {
  .sidebar { width: 60px; }
  .sidebar-name, .sidebar-username, .sidebar-userrole, .menu-text, .logout-text { display: none; }
  .sidebar-brand { justify-content: center; padding: 14px 8px; }
  .menu-item { justify-content: center; padding: 12px 0; }
  .menu-divider { margin: 8px; }
  .sidebar-user { justify-content: center; }
  .logout-link { justify-content: center; font-size: 16px; }
  .main-content { margin-left: 60px; }
  body.has-sidebar .site-footer { left: 60px; }
}

/* ---------- 到期提醒横幅 ---------- */
.warn-banner {
  background: linear-gradient(135deg, #fff7e6, #fffbeb);
  border: 1px solid #ffd591;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.warn-title {
  font-size: 14px; font-weight: 600; color: #d46b08; margin-bottom: 8px;
}
.warn-list { display: flex; flex-direction: column; gap: 6px; }
.warn-item { cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; background: #fff; border-radius: 6px;
  text-decoration: none; color: #333; transition: all 0.15s;
  border: 1px solid #ffe7ba;
}
.warn-item:hover { border-color: #ffa940; background: #fffbe6; }
.warn-icon { font-size: 16px; flex-shrink: 0; }
.warn-text { flex: 1; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.warn-tag {
  font-size: 12px; color: #d46b08; background: #fff7e6;
  padding: 2px 8px; border-radius: 4px; flex-shrink: 0; white-space: nowrap;
}

/* ---------- 手机端适配（底部版权 + 登录页） ---------- */
@media (max-width: 600px) {
  .site-footer {
    padding: 6px 8px;
    font-size: 10px;
    line-height: 1.5;
    word-break: break-all;
  }
  body.auth-mode .site-footer { color: #ffffff; }
  body { padding-bottom: 60px; }
  body.auth-mode { overflow: auto; padding-bottom: 0; }
  body.auth-mode .site-footer { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; }
  .auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px 70px;
  }
  .auth-card { padding: 24px 20px; margin-top: 20px; }
  .auth-card .auth-logo { width: 120px; height: 120px; margin-bottom: 6px; }
  .auth-card h1 { font-size: 18px; }
  .form-item { margin-bottom: 12px; }
  .main-content { padding-bottom: 110px; }
  body.has-sidebar .site-footer { left: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 12px 14px; }
  .stat-card .num { font-size: 18px; }
  .stat-card .lbl { font-size: 11px; }
  .page { padding: 12px 10px 60px; }
  .page-head h2 { font-size: 16px; }
  .filter-bar { gap: 8px; }
  .filter-bar input, .filter-bar select { font-size: 13px; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { font-size: 12px; min-width: 600px; }
  th, td { padding: 8px 6px; }
  .btn-sm { padding: 4px 8px; font-size: 12px; }
  .main-content { margin-left: 50px; }
  .sidebar { width: 50px; }
  body.has-sidebar .site-footer { left: 50px; }
  .chart-grid { grid-template-columns: 1fr !important; }

  /* iOS/Android 通用适配 */
  input, select, textarea { font-size: 16px !important; }
  -webkit-tap-highlight-color: transparent;
  body {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
  }
  .site-footer {
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
  }
  .modal { border-radius: 0; }
  .btn { min-height: 36px; }
  .file-row { padding: 10px 12px; }
  .f-name { font-size: 14px; }
  .f-meta { font-size: 11px; }
  .warn-item { padding: 10px 12px; }
  .auth-card { margin: 0; border-radius: 12px; }
  .kpi-card { padding: 12px; }
  .kpi-card .kpi-value { font-size: 18px; }
}
.kpi-clickable { cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
.kpi-clickable:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
tr.clickable-row { cursor: pointer; }
tr.clickable-row:hover td { background: #f0f5ff; }
.file-row { cursor: pointer; }
.file-row:hover { background: #f0f5ff; }