.pg-xmas { margin-block: 2rem; }
.pg-xmas table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.pg-xmas caption { text-align: left; font-weight: 600; padding-bottom: 0.5rem; }
.pg-xmas th, .pg-xmas td { border-bottom: 1px solid #d7e0eb; padding: 0.6rem 0.5rem; text-align: left; vertical-align: top; }
.pg-xmas thead th { background: #f4f7fb; color: #1b2c48; font-size: 0.9rem; }
.pg-xmas tbody th span, .pg-xmas td span { color: #4a5a72; font-size: 0.85rem; font-weight: 400; }
.pg-xmas-calc { background: #f4f7fb; border: 1px solid #d7e0eb; border-radius: 0.4rem; color: #1b2c48; margin-top: 1.25rem; padding: 1rem; }
.pg-xmas-calc h3 { margin: 0 0 0.75rem; }
.pg-xmas-fields { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.pg-xmas-fields label { display: flex; flex-direction: column; font-weight: 600; gap: 0.25rem; }
.pg-xmas-fields input { font: inherit; min-height: 44px; padding: 0 0.5rem; width: 6rem; }
.pg-xmas-check { align-items: center; display: flex; gap: 0.5rem; margin-top: 0.75rem; min-height: 44px; }
.pg-xmas-check input { height: 1.25rem; width: 1.25rem; }
.pg-xmas-calc input:focus-visible { outline: 2px solid #1b4f9c; outline-offset: 2px; }
.pg-xmas-note { font-size: 0.9rem; margin: 0.5rem 0; }
.pg-xmas-results { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.pg-xmas-results li { border-top: 1px solid #d7e0eb; padding: 0.5rem 0; }
.pg-xmas-results strong { font-variant-numeric: tabular-nums; }
.pg-xmas-sources { font-size: 0.9rem; margin-top: 1rem; }
@media (max-width: 40rem) {
  .pg-xmas thead { clip: rect(0 0 0 0); height: 1px; overflow: hidden; position: absolute; width: 1px; }
  .pg-xmas caption { display: block; }
  .pg-xmas table, .pg-xmas tbody, .pg-xmas tr, .pg-xmas th, .pg-xmas td { display: block; }
  .pg-xmas tbody tr { border: 1px solid #d7e0eb; border-radius: 0.4rem; margin-bottom: 0.85rem; padding: 0.35rem 0.75rem; }
  .pg-xmas tbody th, .pg-xmas td { border-bottom: 0; padding: 0.35rem 0; }
  .pg-xmas td::before { content: attr(data-label) ": "; font-weight: 600; }
  .pg-xmas td br { display: none; }
  .pg-xmas td span::before { content: ", "; }
}
.pg-xmas a { text-decoration: underline; text-underline-offset: 2px; }
