.pd-resources{color-scheme:only light;background:#fff;color:#182b43}.pd-resource-inner,.pd-resources .puk-endowment-inner{max-width:650px;margin:auto}.pd-resources .pd-resource-title{display:block;font-size:.76rem;font-weight:800;letter-spacing:.04em;line-height:1.4;margin:0 0 .45rem}.pd-payoff-matrix{width:100%;table-layout:fixed;border-collapse:collapse;font-size:.82rem;line-height:1.3;margin:0}.pd-payoff-matrix th,.pd-payoff-matrix td{border:1px solid #ccd8e7;padding:.35rem .5rem;text-align:center;vertical-align:middle;overflow-wrap:anywhere}.pd-payoff-matrix th{background:#f0f5fb;color:#23496e;font-weight:700}.pd-payoff-matrix .pd-matrix-own-axis{width:34%;background:#f8fafc}.pd-payoff-matrix th[scope="row"]{text-align:left}.pd-payoff-matrix td{background:#fff;font-size:1.05rem;font-variant-numeric:tabular-nums}.pd-payoff-matrix [data-pd-own]{font-weight:800;color:#174d94}.pd-payoff-matrix [data-pd-other]{font-weight:600;color:#334c66}.pd-pay-separator{color:#526276}.pd-resources .pd-matrix-legend{font-size:.74rem;line-height:1.35;margin:.4rem 0 0}.pd-resources .pd-no-endowment{font-size:.7rem;line-height:1.35;margin:.25rem 0 0;color:#526276}.pd-table-wrap{overflow-x:auto;max-width:100%}.pd-table-wrap table{width:100%;border-collapse:collapse;font-size:.85rem}.pd-table-wrap th,.pd-table-wrap td{padding:.5rem;border-bottom:1px solid #dce4f0;text-align:left}.pd-history{padding:1rem;background:#eef5fb;border-radius:.7rem;margin:1rem 0}.pd-history h2{font-size:1rem}.pd-history p:last-child{margin-bottom:0}
.pd-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0}.pd-result-grid>div{padding:1rem;border:1px solid #d5e1ed;border-radius:12px}.pd-result-grid span,.pd-result-grid strong{display:block}.pd-result-grid strong{font-size:1.8rem;color:#0039a6}.pd-finish{text-align:center;padding:1.5rem 0}.pd-finish>strong{font-size:3rem;color:#0039a6}.pd-finish small{font-size:1rem}
.portal .pd-resources{position:sticky;top:0;z-index:15;max-width:990px;width:calc(100% - 60px);margin:.5rem auto;padding:.65rem 1rem;border:1px solid #dce4f0;border-radius:.6rem}.puk-endowment.pd-resources{padding:10px 19px}
@media(max-width:640px){.pd-resources{position:sticky;top:0;z-index:10}.pd-payoff-matrix{font-size:.75rem;line-height:1.25}.pd-payoff-matrix th,.pd-payoff-matrix td{padding:.27rem .3rem}.pd-payoff-matrix td{font-size:.96rem}.pd-resources .pd-resource-title{font-size:.7rem;margin-bottom:.3rem}.pd-resources .pd-matrix-legend{font-size:.7rem}.pd-resources .pd-no-endowment{font-size:.66rem}.portal .pd-resources{width:calc(100% - 20px);margin:.35rem auto;padding:.45rem}.puk-endowment.pd-resources{padding:8px 10px}.pd-history{padding:.8rem}}
@media print{.portal .pd-resources,.pd-resources{position:static}}
