.pension-history-inputs { margin-block: 1rem; }
.pension-history-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.pension-history-grid > div { display: flex; flex-direction: column; min-width: 0; }
.pension-history-grid label { margin-bottom: 6px; font-weight: 600; }
.pension-history-grid input, .pension-history-grid select { width: 100%; min-width: 0; min-height: 46px; box-sizing: border-box; padding: 10px; font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--steel); border-radius: 6px; }
.pension-history-grid input:focus-visible, .pension-history-grid select:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.pension-history-inputs .pension-history-check { display: flex; align-items: flex-start; gap: 10px; margin-block: 16px; font-size: 0.95rem; line-height: 1.55; }
.pension-history-check input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 4px; }
.pension-history-inputs p, .pension-history-inputs summary { font-size: 0.95rem; line-height: 1.55; }
.pension-history-inputs [hidden] { display: none !important; }
.pension-pay-breakdown { max-width: 100%; overflow-x: auto; }
.pension-pay-breakdown table { width: 100%; min-width: 560px; font-size: 0.9rem; border-collapse: collapse; }
.pension-pay-breakdown td:first-child, .pension-pay-breakdown td:nth-child(3), .pension-pay-breakdown td:last-child { white-space: nowrap; }
.pension-pay-breakdown th, .pension-pay-breakdown td { padding: 8px; border-bottom: 1px solid var(--steel); text-align: left; vertical-align: top; }
.pension-pay-breakdown caption { text-align: left; font-weight: 700; padding-block: 12px; }
