/* Part D penalty calculator - simplified (2026 base, single input) */
.pd-calculator {
  max-width: 680px;
  margin: 18px auto;
  padding: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: #fff;
  color: #222;
  font-size: 17px;
}

.pd-calculator h2 {
  margin: 0 0 8px 0;
  font-size: 20px;
}

.pd-calculator p.lead {
  margin: 0 0 12px 0;
  color: #444;
  font-size: 17px;
}

.pd-row {
  display: block;
  gap: 10px;
  margin-bottom: 14px;
}

.pd-row.full { display:block; }

.pd-calculator label {
  font-size: 17px;
  color: #2b2b2b;
  display: block;
  margin-bottom: 6px;
}

.pd-calculator input[type="number"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  font-size: 17px;
  box-sizing: border-box;
}

.hint {
  font-size: 13px;
  color: #666;
  margin-top: 6px;
}

.actions {
  display:flex;
  gap:10px;
  margin-top: 8px;
}

.pd-calculator button {
  background: #0073aa;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 17px;
}

.pd-calculator button.secondary {
  background: #e9e9e9;
  color: #222;
}

/* result area */
.result {
  margin-top: 14px;
  padding: 12px;
  border-radius: 6px;
  background: #f7f9fb;
  border: 1px solid #e6eef6;
  font-size: 17px;
}

.result-top {
  display:flex;
  align-items: center;
  gap: 12px;
}

.result-label {
  font-size: 15px;
  color: #444;
}

.result strong {
  display:block;
  font-size: 22px;
  margin: 0;
}

.small {
  font-size: 15px;
  color: #444;
}

.error {
  color: #b00020;
  font-size: 15px;
  margin-top: 6px;
}

@media (max-width:640px) {
  .pd-calculator { padding: 12px; font-size: 16px; }
  .pd-calculator h2 { font-size: 18px; }
  .pd-calculator button { font-size: 16px; }
}
