/* ── 종합부동산세 계산기 페이지 ── */
.calc-page { max-width: 720px; }
.calc-lead {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.jbs-calc {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-bottom: 28px;
}
.jbs-field { display: flex; flex-direction: column; gap: 12px; }
.jbs-field label, .jbs-field-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
}
.jbs-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.jbs-price-row input[type="number"] {
  width: 110px;
  padding: 10px 12px;
  font-size: 1.15rem;
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-primary);
}
.jbs-price-row input[type="range"] {
  flex: 1;
  accent-color: var(--accent);
}

.jbs-pillgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.jbs-pillgroup button {
  padding: 10px 16px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.jbs-pillgroup button:hover { border-color: var(--accent); color: var(--accent); }
.jbs-pillgroup button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.jbs-result {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  text-align: center;
}
.jbs-result-label {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.jbs-result-amount {
  margin: 0 0 18px;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.jbs-steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.jbs-steps li {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-muted);
}
.jbs-steps li strong { color: var(--text-primary); font-weight: 700; }

.jbs-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.jbs-share-btn:hover { background: var(--accent-hover); }

.jbs-unpublished {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-primary));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
}
.jbs-unpublished p { margin: 0; font-size: 0.9rem; line-height: 1.7; color: var(--text-primary); }

@media (max-width: 480px) {
  .jbs-price-row { flex-direction: column; align-items: stretch; }
  .jbs-price-row input[type="number"] { width: 100%; }
}
