:root {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --portal-primary: #2f80ff;
  --portal-primary-deep: #155eef;
  --portal-primary-soft: #e9f3ff;
  --portal-border: rgba(153, 196, 255, 0.45);
  --portal-shadow: 0 20px 48px rgba(32, 94, 180, 0.1);
  --portal-panel-bg: rgba(255, 255, 255, 0.94);
  --portal-text-main: #102a43;
  --portal-text-soft: #5c7086;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(74, 144, 255, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.16), transparent 24%),
    linear-gradient(180deg, #f5faff 0%, #edf5ff 100%);
  color: var(--portal-text-main);
}

.shell { display: flex; min-height: 100vh; }

/* ---------- 侧栏 ---------- */
.sider {
  width: 228px;
  flex: 0 0 228px;
  background: linear-gradient(180deg, #16314a 0%, #0e2435 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px 18px;
  color: #f4f8fc;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2f80ff, #18b7ff);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(47, 128, 255, 0.26);
}

.brand-copy { display: grid; }
.brand-title { font-size: 18px; font-weight: 800; color: #f4f8fc; white-space: nowrap; }
.brand-subtitle { margin-top: 4px; color: rgba(225, 236, 248, 0.72); font-size: 12px; }

.menu { display: grid; gap: 8px; padding: 8px 12px 18px; }
.menu-item {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  color: rgba(232, 240, 248, 0.82);
  text-decoration: none;
  transition: all 0.2s ease;
}
.menu-item:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.menu-item.is-active {
  color: #fff;
  background: linear-gradient(135deg, #2f80ff, #18b7ff);
  box-shadow: 0 12px 24px rgba(11, 37, 84, 0.24);
}
.menu-group { display: grid; }
.menu-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: none;
  background: transparent;
  color: rgba(232, 240, 248, 0.82);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 14px;
  transition: all 0.2s ease;
}
.menu-group-head:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.menu-group-head.is-active { color: #fff; background: rgba(255, 255, 255, 0.08); }
.menu-arrow { transition: transform 0.2s ease; }
.menu-group.is-open .menu-arrow { transform: rotate(90deg); }
.menu-group-body { display: none; padding: 4px 0 4px 12px; }
.menu-group.is-open .menu-group-body { display: grid; gap: 4px; }
.menu-sub { height: 40px; font-size: 13px; padding-left: 20px; }

/* ---------- 主区 ---------- */
.main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }

.header {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 12px 24px;
  background: rgba(249, 251, 253, 0.9);
  border-bottom: 1px solid var(--portal-border);
  backdrop-filter: blur(14px);
}
.header-main { display: flex; justify-content: flex-end; align-items: center; gap: 16px; width: 100%; }

.user-chip { display: flex; align-items: center; gap: 8px; }
.logout { color: var(--portal-primary); text-decoration: none; font-size: 13px; margin-left: 4px; }
.logout:hover { text-decoration: underline; }

/* ---------- 移动端抽屉导航 ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 8px;
  margin-right: auto;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--portal-text-main);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.shell.is-nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.shell.is-nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.shell.is-nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sider-mask { display: none; }

.content { padding: 32px; flex: 1 1 auto; }
.page { display: grid; }

/* ---------- 通用组件 ---------- */
.panel {
  border-radius: 24px;
  border: 1px solid var(--portal-border);
  background: var(--portal-panel-bg);
  box-shadow: var(--portal-shadow);
}
.page-panel { padding: 26px; }
.page-title { font-size: 22px; font-weight: 800; color: var(--portal-text-main); }
.page-subtitle { margin-top: 8px; color: var(--portal-text-soft); }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(47, 128, 255, 0.1);
  color: var(--portal-primary);
  font-weight: 700;
  font-size: 12px;
}
.pill-company { background: rgba(47, 128, 255, 0.1); color: #1d69f4; }
.pill-muted { background: rgba(15, 23, 42, 0.06); color: var(--portal-text-main); }
.pill-status-pending_review { background: rgba(217, 119, 6, 0.12); color: #b45309; }
.pill-status-approved { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.pill-status-rejected { background: rgba(212, 53, 28, 0.12); color: #b91c1c; }
.pill-link { text-decoration: none; cursor: pointer; transition: background 0.2s ease; }
.pill-link:hover { background: rgba(47, 128, 255, 0.2); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 12px;
  border: 1px solid rgba(47, 128, 255, 0.24);
  background: #f5f9ff;
  color: #155eef;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}
.button:hover { background: #eaf3ff; }
.button-primary { background: linear-gradient(135deg, #2f80ff, #18b7ff); color: #fff; border: none; box-shadow: 0 12px 24px rgba(47, 128, 255, 0.24); }
.button-primary:hover { opacity: 0.92; background: linear-gradient(135deg, #2f80ff, #18b7ff); }
.button-block { width: 100%; }
.button-lg { padding: 12px 18px; font-size: 15px; }
.button-secondary { padding: 8px 16px; border-radius: 12px; border: 1px solid rgba(47, 128, 255, 0.24); color: #155eef; text-decoration: none; font-weight: 600; }
.button.is-disabled { opacity: 0.6; cursor: not-allowed; }
.button-sm { padding: 4px 10px; font-size: 12px; border-radius: 10px; line-height: 1.5; }
.code-button { flex: 0 0 128px; white-space: nowrap; }

.form { display: grid; gap: 16px; }
.form-wide { max-width: 560px; }
.field { display: grid; gap: 6px; color: var(--portal-text-main); font-size: 14px; }
.field > span { font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(153, 196, 255, 0.5);
  background: #fff;
  font-size: 14px;
  color: var(--portal-text-main);
  outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--portal-primary); box-shadow: 0 0 0 3px rgba(47, 128, 255, 0.12); }
.code-row { display: flex; gap: 12px; }
.code-row input { flex: 1 1 auto; min-width: 0; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.review-card {
  padding: 18px;
  border-radius: 20px;
  background: #f8fbff;
  border: 1px solid rgba(148, 189, 255, 0.35);
}
.review-header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.review-header strong { color: var(--portal-text-main); font-size: 18px; }
.meta { color: var(--portal-text-soft); line-height: 1.9; font-size: 13px; word-break: break-all; }
.action-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.button-danger { border-color: rgba(217, 51, 51, 0.24); background: #fff5f5; color: #d4351c; }
.button-danger:hover { background: #ffecec; }
.perm-list { display: flex; flex-wrap: wrap; gap: 10px; }
.perm-item { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--portal-text-main); }
.perm-item input { cursor: pointer; }
.field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(153, 196, 255, 0.5);
  background: #fff;
  font-size: 14px;
  color: var(--portal-text-main);
  outline: none;
}
.field select:focus { border-color: var(--portal-primary); box-shadow: 0 0 0 3px rgba(47, 128, 255, 0.12); }
.empty { padding: 40px 0; text-align: center; color: var(--portal-text-soft); }

/* ---------- 认证页 ---------- */
.auth-page { display: grid; }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr); gap: 24px; padding: 26px; }
.auth-side h1 { margin: 16px 0 12px; color: #0f2d4d; font-size: 38px; line-height: 1.2; }
.auth-side p { margin: 0; color: #61788f; line-height: 1.8; }
.auth-points { display: grid; gap: 14px; margin-top: 24px; }
.auth-point { padding: 16px 18px; border-radius: 20px; background: #f8fbff; border: 1px solid rgba(153, 196, 255, 0.38); }
.auth-point strong { display: block; color: #12304a; margin-bottom: 6px; }
.auth-point span { color: #698096; }
.auth-card { padding: 20px; }
.auth-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(47, 128, 255, 0.08); margin-bottom: 20px; }
.switch-item { padding: 9px 18px; border-radius: 999px; text-decoration: none; color: #5e748a; font-weight: 700; }
.switch-item.active { background: linear-gradient(135deg, #2f80ff, #18b7ff); color: #fff; }
.auth-form-title { margin-bottom: 18px; color: #12304a; font-size: 22px; font-weight: 800; }

/* ---------- 文档页 ---------- */
.docs-panel { padding: 18px; }
.docs-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; min-height: 560px; }
.docs-side { border-right: 1px solid rgba(153, 196, 255, 0.4); padding-right: 16px; }
.docs-cat { margin-bottom: 4px; }
.docs-cat-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
}
.docs-cat-toggle {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding: 8px;
  border: none;
  background: transparent;
  color: var(--portal-text-main);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  border-radius: 10px;
}
.docs-cat-toggle:hover { background: #f0f7ff; }
.docs-download {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: #1677ff;
  border-radius: 8px;
  cursor: pointer;
}
.docs-download:hover { background: #eaf4ff; }
.docs-download.is-disabled { color: #c3cdd8; cursor: default; }
.docs-download.is-disabled:hover { background: transparent; }
.docs-cat-body { display: none; padding: 4px 8px 12px; }
.docs-cat.is-open .docs-cat-body { display: block; }
.docs-link {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--portal-text-soft);
  text-decoration: none;
  font-size: 13px;
}
.docs-link:hover { background: #f0f7ff; }
.docs-link.is-active { background: #eaf4ff; color: var(--portal-primary-deep); font-weight: 700; }
.docs-empty { padding: 8px 12px; color: #9db0c2; font-size: 13px; }
.docs-attach-list { display: grid; gap: 10px; min-height: 40px; }
.docs-attach-list:empty::after { content: "暂无附件"; color: var(--portal-text-soft); text-align: center; padding: 16px 0; display: block; }
.docs-attach-item {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid rgba(148, 189, 255, 0.35);
  color: var(--portal-primary);
  text-decoration: none;
  font-size: 13px;
  word-break: break-all;
}
.docs-attach-item:hover { background: #eaf4ff; text-decoration: underline; }
.docs-content { padding-left: 4px; overflow: auto; }
.docs-placeholder { color: var(--portal-text-soft); padding: 40px 0; text-align: center; }

/* Markdown 渲染（GitHub 风格，高对比度） */
.doc-body {
  color: #1f2328;
  font-size: 15px;
  line-height: 1.75;
}
.doc-body h1, .doc-body h2, .doc-body h3, .doc-body h4 {
  margin: 26px 0 14px;
  color: #1f2328;
  font-weight: 700;
  line-height: 1.3;
}
.doc-body h1 { font-size: 28px; padding-bottom: 10px; border-bottom: 1px solid #d8dee4; }
.doc-body h2 { font-size: 22px; padding-bottom: 8px; border-bottom: 1px solid #eaecef; }
.doc-body h3 { font-size: 18px; }
.doc-body h4 { font-size: 16px; }
.doc-body p { margin: 0 0 14px; color: #1f2328; }
.doc-body strong { color: #0d1117; }
.doc-body a { color: #0969da; text-decoration: none; }
.doc-body a:hover { text-decoration: underline; }
.doc-body ul, .doc-body ol { padding-left: 26px; margin: 0 0 14px; color: #1f2328; }
.doc-body li { margin: 4px 0; }
.doc-body code {
  background: #eff1f3;
  color: #d63384;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 85%;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
.doc-body pre {
  background: #0d1117;
  color: #e6edf3;
  padding: 16px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 0 0 16px;
}
.doc-body pre code { background: transparent; color: inherit; padding: 0; font-size: 13px; }
.doc-body table { border-collapse: collapse; width: 100%; margin: 0 0 16px; }
.doc-body th, .doc-body td { border: 1px solid #d0d7de; padding: 8px 13px; text-align: left; }
.doc-body th { background: #f6f8fa; color: #1f2328; font-weight: 700; }
.doc-body td { color: #1f2328; }
.doc-body tr:nth-child(2n) td { background: #f6f8fa; }
.doc-body blockquote {
  margin: 0 0 16px;
  padding: 2px 16px;
  color: #57606a;
  border-left: 4px solid #d0d7de;
}

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0;
  background: rgba(15, 35, 55, 0.4);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
}
.modal { width: 480px; max-width: 90vw; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 24px 64px rgba(18, 37, 57, 0.2); }
.modal-title { font-size: 18px; font-weight: 800; color: var(--portal-text-main); margin-bottom: 18px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  top: 24px; left: 50%;
  transform: translate(-50%, -16px);
  padding: 10px 18px;
  border-radius: 12px;
  background: #102a43;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 200;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast-error { background: #d4351c; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .shell { flex-direction: column; }
  .sider {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    flex: none;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 90;
    overflow-y: auto;
    box-shadow: 12px 0 32px rgba(15, 35, 55, 0.18);
  }
  .shell.is-nav-open .sider { transform: translateX(0); }
  .sider-mask {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 35, 55, 0.45);
    z-index: 80;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .shell.is-nav-open .sider-mask { opacity: 1; pointer-events: auto; }
  .menu { grid-template-columns: 1fr; }
  .content { padding: 20px 16px 40px; }
  .auth-shell { grid-template-columns: 1fr; padding: 20px; }
  .auth-side h1 { font-size: 32px; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-side { border-right: none; padding-right: 0; }
}

/* ---------- 首页 Landing ---------- */
.landing { min-height: 100vh; display: flex; flex-direction: column; }

.landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 32px;
  background: rgba(249, 251, 253, 0.9);
  border-bottom: 1px solid var(--portal-border);
  backdrop-filter: blur(14px);
}
.landing-header .brand { color: #12304a; padding: 0; }
.landing-header .brand-title { color: #12304a; }
.landing-header .brand-subtitle { color: #5c7086; }
.landing-actions { display: flex; align-items: center; gap: 12px; }

.landing-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 64px;
  display: grid;
  gap: 24px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 20px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.2), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}
.hero-copy h1 { margin: 16px 0 14px; color: #0f2d4d; font-size: 44px; line-height: 1.18; }
.hero-subtitle { margin: 0; max-width: 720px; color: #5d738a; font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-side { padding: 22px; }
.hero-side-title { color: #0f2d4d; font-size: 24px; font-weight: 800; }
.hero-side-subtitle { margin-top: 8px; color: #6b7f95; line-height: 1.65; }
.side-list { display: grid; gap: 12px; padding: 0; margin: 20px 0 0; list-style: none; }
.side-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid rgba(153, 196, 255, 0.35);
}
.side-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 999px;
  background: rgba(47, 128, 255, 0.14);
  color: #1f6fe5;
  font-size: 13px;
  font-weight: 800;
}
.side-list strong { display: block; color: #14324e; margin-bottom: 4px; }
.side-list p { margin: 0; color: #698096; line-height: 1.5; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { display: block; padding: 22px 20px; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.feature-card:hover { transform: translateY(-3px); }
.feature-tag { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: rgba(47, 128, 255, 0.08); color: #1b69df; font-size: 12px; font-weight: 700; }
.feature-card h3 { margin: 16px 0 10px; color: #12304a; font-size: 20px; }
.feature-card p { margin: 0; color: #657b90; line-height: 1.75; }
.feature-link { margin-top: 18px; color: #1677ff; font-weight: 700; }

.guide-panel { padding: 24px; }
.guide-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.guide-header h2 { margin: 14px 0 0; color: #0f2d4d; font-size: 22px; }
.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.guide-step { padding: 18px; }
.guide-no { color: #2f80ff; font-size: 24px; font-weight: 800; }
.guide-text { margin-top: 10px; color: #12304a; font-size: 18px; font-weight: 700; }
.guide-step p { margin: 10px 0 0; color: #698096; line-height: 1.7; }

@media (max-width: 900px) {
  .landing-header { padding: 12px 16px; }
  .landing-content { padding: 20px 16px 40px; }
  .hero-panel { grid-template-columns: 1fr; padding: 22px; }
  .hero-copy h1 { font-size: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 财务管理 ---------- */
.filter-bar { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 20px; }
.filter-item { display: grid; gap: 6px; font-size: 13px; color: var(--portal-text-main); }
.filter-item > span { font-weight: 600; }
.filter-item input, .filter-item select {
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(153, 196, 255, 0.5);
  background: #fff;
  font-size: 14px;
  color: var(--portal-text-main);
  outline: none;
}
.filter-actions { display: flex; gap: 10px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(153, 196, 255, 0.35); font-size: 13px; }
.data-table th { background: #f7fbff; color: var(--portal-text-main); font-weight: 800; white-space: nowrap; }
.data-table td { color: var(--portal-text-soft); }
@media (max-width: 640px) {
  .filter-bar { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .filter-item input, .filter-item select { width: 100%; }
  .filter-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .data-table, .data-table thead, .data-table tbody, .data-table tr, .data-table td { display: block; }
  .data-table thead { display: none; }
  .data-table tr {
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid rgba(148, 189, 255, 0.35);
  }
  .data-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(153, 196, 255, 0.3);
  }
  .data-table td:last-child { border-bottom: none; }
  .data-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: var(--portal-text-soft);
    font-weight: 600;
  }
  .data-table td.empty { display: block; text-align: center; border: none; }
  .data-table td.empty::before { content: none; }
}
.status-success { color: #16a34a; font-weight: 700; }
.status-failed { color: #d4351c; font-weight: 700; }
.status-processing { color: #d97706; font-weight: 700; }
.stat-amount { font-size: 30px; font-weight: 800; color: var(--portal-primary); margin: 10px 0 4px; }
.detail-body { display: grid; gap: 10px; max-height: 60vh; overflow: auto; }
.detail-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #f8fbff; border: 1px solid rgba(148, 189, 255, 0.35); }
.detail-row span { color: var(--portal-text-soft); flex: 0 0 auto; }
.detail-row b { color: var(--portal-text-main); text-align: right; word-break: break-all; }
