@font-face {
  font-family: "Noto Sans SC";
  src: url("/assets/fonts/NotoSansSC-VF.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f4f5f7;
  --bg-soft: #eef0f3;
  --card: #ffffff;
  --border: #e8eaed;
  --border-strong: #d5d8dc;
  --text: #1a1c1e;
  --text-2: #5f6368;
  --text-3: #9aa0a6;
  --side-bg: #ffffff;
  --side-text: #5f6368;
  --side-text-active: #1a56db;
  --side-active-bg: #eaf1ff;
  --side-hover-bg: #f2f4f7;
  --side-border: #e8eaed;
  --brand: #2f6bff;
  --brand-soft: #eaf1ff;
  --line: #eef0f2;
  --danger: #d93025;
  --danger-bg: #fcebea;
  --ok: #188038;
  --ok-bg: #e7f4ec;
  --warn: #b06000;
  --warn-bg: #fdf3e0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .14);
  --login-card: rgba(255, 255, 255, .34);
  --login-border: rgba(255, 255, 255, .45);
}

html[data-theme="dark"] {
  --bg: #14161a;
  --bg-soft: #1a1d21;
  --card: #1e2227;
  --border: #2c3038;
  --border-strong: #3a4048;
  --text: #e8eaed;
  --text-2: #b0b6bd;
  --text-3: #7a8088;
  --side-bg: #1a1d21;
  --side-text: #b0b6bd;
  --side-text-active: #7aa5ff;
  --side-active-bg: #22304a;
  --side-hover-bg: #252a31;
  --side-border: #2c3038;
  --brand: #4d82ff;
  --brand-soft: #22304a;
  --line: #262a31;
  --danger: #f28b82;
  --danger-bg: #3a2422;
  --ok: #81c995;
  --ok-bg: #1e3328;
  --warn: #fdd663;
  --warn-bg: #382f18;
  --shadow: 0 1px 3px rgba(0, 0, 0, .4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, .55);
  --login-card: rgba(22, 26, 32, .38);
  --login-border: rgba(255, 255, 255, .10);
}

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

html, body { height: 100%; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.6;
  transition: background .2s, color .2s;
}

h1, h2, h3, b, strong, th, .btn-dark, .rp-tab.active { font-weight: 400; }
.card-title, .k-value, .kpi .k-value { font-weight: 400; }

/* ---------- 主题切换按钮 ---------- */
.theme-toggle {
  width: 38px; height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--card);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all .15s;
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }
.theme-toggle::before {
  content: "";
  width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: var(--theme-icon) center / contain no-repeat;
          mask: var(--theme-icon) center / contain no-repeat;
}
html[data-theme="light"] {
  --theme-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"><path d="M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z"/></svg>');
}
html[data-theme="dark"] {
  --theme-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg>');
}

/* ---------- 登录 ---------- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url("/assets/login-bg.jpg") center / cover no-repeat;
}
.login-wrap::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10, 14, 24, .78) 0%, rgba(10, 14, 24, .48) 45%, rgba(10, 14, 24, .26) 100%);
}
.login-theme-toggle {
  position: absolute; top: 22px; right: 22px; z-index: 3;
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}
.login-theme-toggle:hover { color: #fff; border-color: rgba(255,255,255,.7); }
.login-card {
  position: relative;
  z-index: 1;
  width: 400px;
  padding: 46px 40px 40px;
  border-radius: 20px;
  background: var(--login-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--login-border);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.login-logo-col img { height: 64px; margin-bottom: 18px; }
.login-title {
  font-size: 19px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 28px;
  color: var(--text);
}
.login-card form { text-align: left; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47, 107, 255, .14); }
.login-error { color: var(--danger); font-size: 13px; min-height: 20px; margin-bottom: 8px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: all .15s;
}
.btn:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-dark { background: var(--dark, #14161a); border-color: #14161a; color: #fff; }
html[data-theme="dark"] .btn-dark { background: #e8eaed; border-color: #e8eaed; color: #14161a; }
.btn-dark:hover { opacity: .9; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { opacity: .92; color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; color: inherit; }
.btn-danger { border-color: var(--danger); color: var(--danger); background: transparent; }
.btn-danger:hover { background: var(--danger-bg); border-color: var(--danger); }
.btn-sm { padding: 3px 9px; font-size: 12px; }
.btn-block { width: 100%; }

/* ---------- 布局 ---------- */
.app { display: flex; height: 100vh; overflow: hidden; }
.app[hidden] { display: none; }
.sidebar {
  width: 198px;
  background: var(--side-bg);
  border-right: 1px solid var(--side-border);
  color: var(--side-text);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: background .2s;
}
.brand { padding: 16px 14px 12px; display: flex; align-items: center; justify-content: center; }
.brand img { height: 38px; }
.nav { flex: 1; overflow-y: auto; padding: 6px 10px; }
.nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  margin-bottom: 3px;
  color: var(--side-text);
  cursor: pointer;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all .15s;
}
.nav a svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav a:hover { color: var(--text); background: var(--side-hover-bg); }
.nav a.active {
  color: var(--side-text-active);
  background: var(--side-active-bg);
  border-left-color: var(--brand);
}
.sidebar-foot { padding: 12px 14px; border-top: 1px solid var(--side-border); }
.user-box { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--side-hover-bg);
  color: var(--side-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  overflow: hidden;
}
.avatar-sm { width: 22px; height: 22px; font-size: 10px; }
.user-meta { overflow: hidden; }
.user-box .uname { color: var(--text); font-weight: 400; font-size: 13px; white-space: nowrap; }
.user-box .role { display: block; color: var(--text-3); font-size: 11.5px; white-space: nowrap; }
.sidebar-foot .btn { width: 100%; padding: 7px 12px; font-size: 13px; }

.main { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.topbar {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar h1 { font-size: 16px; }
.hamburger { display: none; }
.content { flex: 1; overflow-y: auto; padding: 20px 22px; }
.sidebar-mask {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 40;
}
.sidebar-mask.show { display: block; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.card-title { font-size: 14px; margin-bottom: 14px; }

/* ---------- KPI ---------- */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.kpi .k-label { color: var(--text-2); font-size: 12.5px; }
.kpi .k-value { font-size: 20px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .k-sub { color: var(--text-3); font-size: 12px; margin-top: 2px; }
.kpi.neg .k-value { color: var(--danger); }
.kpi.pos .k-value { color: var(--ok); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
table.tbl { width: 100%; border-collapse: separate; border-spacing: 0; }
.tbl th, .tbl td {
  padding: 9px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  vertical-align: middle;
}
.tbl th { background: var(--bg-soft); color: var(--text-2); white-space: nowrap; position: sticky; top: 0; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tbody tr { transition: background .12s; }
.tbl tbody tr:hover td { background: var(--brand-soft); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .muted { color: var(--text-3); }
.tbl .empty { text-align: center; color: var(--text-3); padding: 32px; }
.cell-user { display: flex; align-items: center; gap: 8px; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.f-label { font-size: 12.5px; color: var(--text-2); margin-bottom: 5px; display: block; }
.f-input, .f-select, .f-textarea {
  width: 100%;
  padding: 6px 11px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: var(--card);
  color: var(--text);
  outline: none;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47, 107, 255, .12); }
.f-textarea { min-height: 80px; resize: vertical; }
.f-row { margin-bottom: 14px; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  background: var(--card);
}
.tag.ok { color: var(--ok); border-color: transparent; background: var(--ok-bg); }
.tag.danger { color: var(--danger); border-color: transparent; background: var(--danger-bg); }
.tag.warn { color: var(--warn); border-color: transparent; background: var(--warn-bg); }
.tag.dark { color: #fff; background: var(--brand); border-color: transparent; }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(16, 24, 40, .5);
  display: none; align-items: center; justify-content: center; z-index: 100;
  backdrop-filter: blur(2px);
}
.modal-mask.show { display: flex; }
.modal {
  background: var(--card); width: 580px; max-width: 92vw; max-height: 88vh;
  overflow-y: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.modal-head {
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-body { padding: 22px; }
.modal-foot { padding: 16px 22px; border-top: 1px solid var(--border); text-align: right; }
.modal-foot .btn { margin-left: 10px; }
.modal-close { cursor: pointer; color: var(--text-3); font-size: 22px; line-height: 1; background: none; border: none; }
.modal-close:hover { color: var(--text); }

/* ---------- 工具栏 ---------- */
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .spacer { flex: 1; }
.toolbar .f-input, .toolbar .f-select { width: auto; }
.field input { padding: 8px 12px; font-size: 13.5px; }

/* ---------- 图表 ---------- */
.chart-legend { display: flex; gap: 18px; font-size: 12px; color: var(--text-2); margin-top: 12px; }
.chart-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }
.dash-charts { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.dash-charts .card { margin-bottom: 0; }
.hbar-list { display: flex; flex-direction: column; gap: 12px; }
.hbar { display: grid; grid-template-columns: 76px 1fr 90px; align-items: center; gap: 10px; font-size: 13px; }
.hbar .h-name { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar .h-track { height: 10px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.hbar .h-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #5c8dff, var(--brand)); }
.hbar .h-val { text-align: right; color: var(--text-2); font-variant-numeric: tabular-nums; }
.chart-empty { color: var(--text-3); text-align: center; padding: 30px 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; top: 22px; left: 50%; transform: translateX(-50%);
  background: var(--text); color: var(--bg); padding: 11px 22px; font-size: 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.toast.show { opacity: 1; }
.toast.err { background: var(--danger); color: #fff; }

/* ---------- 详情 ---------- */
.detail-row { display: flex; padding: 9px 0; border-bottom: 1px solid var(--line); }
.detail-row:last-child { border-bottom: none; }
.detail-row .d-label { width: 120px; color: var(--text-2); flex-shrink: 0; }
.detail-row .d-val { flex: 1; }

.receipt-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.receipt-thumbs img {
  height: 72px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer;
}

.upload-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.upload-list .up-item { position: relative; }
.upload-list img { height: 64px; border: 1px solid var(--border); border-radius: var(--radius-sm); }

.empty-state { text-align: center; color: var(--text-3); padding: 40px; }

/* ---------- 税务申报表 ---------- */
.tax-sheet {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 40px;
  margin-bottom: 18px;
}
.tax-sheet .ts-head { text-align: center; margin-bottom: 6px; }
.tax-sheet .ts-title { font-size: 20px; letter-spacing: 3px; }
.tax-sheet .ts-period { font-size: 13px; color: var(--text-2); margin-top: 6px; }
.tax-sheet .ts-info {
  display: flex; flex-wrap: wrap; gap: 6px 26px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-size: 13px;
  margin: 14px 0 0;
}
.tax-sheet .ts-info b { font-weight: 400; }
table.ts-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.ts-table th, .ts-table td {
  border: 1px solid var(--border-strong);
  padding: 9px 12px;
  font-size: 13px;
}
.ts-table th { background: var(--bg-soft); text-align: center; }
.ts-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.ts-table .rowno { width: 52px; text-align: center; color: var(--text-3); }
.ts-table td.indent { padding-left: 34px; }
.ts-table tr.section td { background: var(--bg-soft); }
.ts-table tr.strong td { background: var(--bg-soft); }
.ts-table tr.total td { background: var(--brand-soft); }
.ts-foot {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-2);
}
.ts-actions { margin-top: 14px; display: flex; gap: 10px; }

/* ---------- 设置页签 ---------- */
.set-tabs {
  display: flex; gap: 2px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.set-tab {
  padding: 9px 16px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.set-tab svg { width: 15px; height: 15px; }
.set-tab:hover { color: var(--text); }
.set-tab.active { color: var(--brand); border-bottom-color: var(--brand); }

/* ---------- 美化上传按钮 ---------- */
.file-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--text-2);
  font-size: 13.5px;
  cursor: pointer;
  transition: all .15s;
  overflow: hidden;
}
.file-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.file-btn svg { width: 16px; height: 16px; }
.file-btn input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-count { margin-left: 8px; font-size: 12.5px; color: var(--text-3); }

/* ---------- 报销提示 ---------- */
.claim-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; align-items: start; }
.tips-card { position: sticky; top: 0; }
.tips-card .tip-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
  color: var(--text-2);
}
.tips-card .tip-item:last-child { border-bottom: none; }
.tips-card .tip-item .tip-ico {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
}
.tips-card .tip-item .tip-txt b { color: var(--text); font-weight: 400; display: block; margin-bottom: 2px; }

/* ---------- 图表 tooltip ---------- */
.chart-tip {
  position: fixed;
  z-index: 300;
  pointer-events: none;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.7;
  box-shadow: var(--shadow-lg);
  display: none;
  white-space: nowrap;
}
html[data-theme="dark"] .chart-tip { background: #2c3038; color: #e8eaed; }
.chart-tip b { font-weight: 400; }

/* ---------- 报表页签 ---------- */
.rp-tabs-bar { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 4px; width: fit-content; margin-bottom: 18px; box-shadow: var(--shadow); }
.rp-tab { padding: 8px 20px; cursor: pointer; font-size: 14px; border-radius: 7px; color: var(--text-2); }
.rp-tab.active { background: var(--brand); color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .dash-charts { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .sidebar { width: 68px; }
  .brand { padding: 16px 0; }
  .brand img { height: 30px; }
  .nav { padding: 8px; }
  .nav a { justify-content: center; padding: 10px 0; font-size: 0; gap: 0; border-left-width: 0; }
  .nav a svg { width: 19px; height: 19px; }
  .nav a.active { border-left-color: transparent; }
  .sidebar-foot { padding: 10px 8px; }
  .user-box { justify-content: center; }
  .user-meta { display: none; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 50;
    transform: translateX(-100%);
    transition: transform .2s;
    box-shadow: var(--shadow-lg);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-mask.show { display: block; }
  .nav a { justify-content: flex-start; font-size: 14px; gap: 10px; padding: 10px 14px; }
  .nav a svg { width: 17px; height: 17px; }
  .hamburger {
    display: inline-flex; flex-direction: column; gap: 4px;
    width: 36px; height: 36px;
    border: 1px solid var(--border-strong); border-radius: 8px;
    background: var(--card); cursor: pointer;
    align-items: center; justify-content: center;
  }
  .hamburger span { width: 16px; height: 2px; background: var(--text-2); border-radius: 2px; }
  .kpi-row { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .claim-layout { grid-template-columns: 1fr; }
  .tips-card { position: static; }
  .content { padding: 14px; }
  .topbar { padding: 0 14px; }
  .login-card { width: 92vw; padding: 34px 24px; }
  .tax-sheet { padding: 22px 16px; }
}

/* ---------- 备案条 ---------- */
.icp-bar {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 2;
  color: rgba(255, 255, 255, .75);
  font-size: 12.5px;
}
.icp-bar img { height: 16px; opacity: .85; }
.icp-bar a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.icp-bar a:hover { color: #fff; text-decoration: underline; }

@media print {
  .sidebar, .topbar, .toolbar, .rp-tabs-bar, .toast, .modal-mask, .ts-actions, .theme-toggle { display: none !important; }
  .content { padding: 0; overflow: visible; }
  .app { height: auto; overflow: visible; }
  body { background: #fff; }
  .tax-sheet { box-shadow: none; border: none; padding: 0; }
}
