/* 继承自通用样式的部分 */
.page-header .subtitle { color: var(--muted-color, #666); margin-top: 6px; font-size: 14px; }
.page-header .header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.page-header .header-row h1 { margin: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--primary-color, #2563eb); background: rgba(37, 99, 235, 0.06); border: 1px solid rgba(37, 99, 235, 0.25); padding: 8px 12px; border-radius: 8px; line-height: 1; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.back-link i { font-size: 16px; }
.back-link span { font-weight: 600; font-size: 14px; }
.back-link:hover { background: rgba(37, 99, 235, 0.12); border-color: rgba(37, 99, 235, 0.35); transform: translateY(-1px); }

.input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px 28px;
}
.full-width {
  grid-column: 1 / -1;
}
.form-field { display: flex; flex-direction: column; }
.form-field label { font-weight: 600; margin-bottom: 8px; font-size: 15px; }
.form-field input { font-size: 16px; padding: 12px 14px; border: 1px solid var(--border-color, #e5e7eb); border-radius: 10px; }
.form-actions { display: flex; justify-content: center; }

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  text-align: center;
}
.stat-item {
  background-color: #f9fafb;
  padding: 20px 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color, #e5e7eb);
}
.stat-item .value {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color, #1d4ed8);
}
.stat-item .value.secondary {
  color: #16a34a; /* 绿色，用于税后收入 */
}
.stat-item .label {
  font-size: 14px;
  color: #6b7280;
  margin-top: 8px;
}
.muted {
  color: var(--muted-color, #666);
  font-size: 13px;
}

/* 税率表样式 */
.table-responsive {
  overflow-x: auto; /* 在小屏幕上允许水平滚动 */
  margin-top: 10px;
}
.tax-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.tax-table th, .tax-table td {
  border: 1px solid var(--border-color, #e5e7eb);
  padding: 10px 12px;
  text-align: left;
}
.tax-table thead th {
  background-color: #f9fafb;
  font-weight: 600;
  text-align: center;
}
.tax-table tbody tr:nth-child(odd) {
  background-color: #f9fafb;
}
.tax-table td:first-child, .tax-table td:nth-child(3), .tax-table td:nth-child(4) {
  text-align: center;
}
