/* ==========================================================
   考试费用页专属样式 fees.css
   ========================================================== */

.page-title { font-size: 26px; color: var(--c-primary); line-height: 1.35; margin-top: 16px; }
@media (min-width: 769px) { .page-title { font-size: 32px; } }

/* 2026 vs 2027 条形图 */
.bar-chart { margin-top: 4px; }
.bar-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 12px 0; border-bottom: 1px dashed var(--c-line); }
.bar-row:last-of-type { border-bottom: none; }
.bar-label { font-size: 13px; font-weight: 600; color: var(--c-primary); }
.bar-track { display: flex; flex-direction: column; gap: 4px; }
.bar {
  display: block;
  height: 24px;
  width: var(--w, 50%);
  min-width: 84px;
  border-radius: 4px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 24px;
  padding-left: 8px;
  white-space: nowrap;
}
.bar--26 { background: #B9C6D8; color: #33415A; }
.bar--27 { background: var(--c-accent); }
.bar-legend { display: flex; gap: 18px; padding-top: 12px; font-size: 12.5px; color: var(--c-text-2); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; }
.dot--26 { background: #B9C6D8; }
.dot--27 { background: var(--c-accent); }

@media (min-width: 769px) {
  .bar-row { grid-template-columns: 150px 1fr; align-items: center; gap: 16px; }
  .bar { height: 26px; line-height: 26px; font-size: 12px; }
}

/* 计算器 */
.section-tool {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  padding: 24px var(--pad-x);
  margin-top: 48px;
}
@media (min-width: 769px) { .section-tool { padding: 32px 36px; } }

.calc-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 769px) { .calc-grid { grid-template-columns: 1fr 1fr; } .calc-grid .form-field--full { grid-column: 1 / -1; } }

input[type="range"] {
  width: 100%;
  accent-color: var(--c-primary);
  margin-top: 6px;
}
.switch-label { display: flex; align-items: center; gap: 10px; font-weight: 400 !important; cursor: pointer; font-size: 14px !important; }
.switch-label input { width: 18px; height: 18px; accent-color: var(--c-accent); }

.calc-result {
  border-top: 2px solid var(--c-accent);
  padding-top: 20px;
  text-align: left;
}
.calc-total-label { font-size: 13px; color: var(--c-text-2); }
.calc-total { font-size: 40px; font-weight: 800; color: var(--c-primary); line-height: 1.2; font-variant-numeric: tabular-nums; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.calc-table th, .calc-table td { padding: 9px 12px; border-bottom: 1px solid var(--c-line); text-align: left; }
.calc-table thead th { background: var(--c-bg-soft); color: var(--c-primary); font-weight: 600; }
.calc-table td:last-child { font-variant-numeric: tabular-nums; text-align: right; }
.calc-table td:last-child { text-align: right; }
.calc-table th:last-child { text-align: right; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
