/* Scoped to the new debt tool. Preserve site-wide header and brand assets. */
.pbfam-page.pbdebt-page .wrap{max-width:1130px}
.pbdebt-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:start}
.pbdebt-row{min-width:0;border:1px solid var(--family-line);border-radius:11px;padding:.8rem;margin:.8rem 0;background:#faf8f3}
.pbdebt-row legend{font-weight:700;font-size:.87rem;color:#284b44;padding:0 .3rem}
.pbdebt-gate{margin:.8rem 0;padding:.65rem .75rem;background:#f2f5ee;border:1px solid #cbd6c9;border-radius:9px;color:#294f45;font-size:.9rem;line-height:1.55}
.pbdebt-confirm-class{display:flex;align-items:flex-start;gap:.6rem;padding:.72rem .75rem;border:1px solid #cccbbd;border-radius:9px;margin:.8rem 0;background:#fbfaf5;font-size:.89rem;font-weight:650;line-height:1.5}
.pbdebt-confirm-class input{width:1.2rem;min-width:1.2rem;height:1.2rem;min-height:1.2rem;padding:0;margin:.16rem 0 0;accent-color:#28604f}
.pbdebt-confirm-class label{min-width:0;cursor:pointer;color:var(--family-ink);line-height:1.48}
.pbdebt-controls{margin-top:.9rem}.pbdebt-credit-result{border-top:1px solid var(--family-line);margin-top:.7rem;padding-top:.65rem}
.pbdebt-credit-result h3{font-size:1.04rem;font-weight:700;color:var(--family-ink);margin:.15rem 0 .55rem;overflow-wrap:anywhere}
.pbdebt-credit-result dl{margin:0;display:grid;gap:.32rem}
.pbdebt-credit-result dl div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem;align-items:start;font-size:.83rem;color:var(--family-muted)}
.pbdebt-credit-result dd{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:650;margin:0;color:var(--family-ink)}
.pbdebt-result{scroll-margin-top:calc(var(--pb-header-height,175px) + 24px)}
.pbdebt-page .pbdebt-error{color:#8f3727;font-weight:650}.pbdebt-page .pbfam-balance dd{overflow-wrap:anywhere}
.pbdebt-page .pbfam-balance>div:not(.pbfam-key) dd{font-size:clamp(.97rem,1.5vw,1.13rem)}
.pbdebt-page .pbfam-balance>div:last-child{grid-column:1/-1}
.pbdebt-page .pbdebt-controls{align-items:stretch}
.pbdebt-page .pbdebt-controls button{min-height:44px}
.pbdebt-page .pbdebt-note{color:#6f4c21;background:#fbf2e2;border:1px solid #d8c2a4;border-radius:9px;padding:.65rem .75rem;font-size:.85rem}
.pbdebt-page .pbdebt-actions-bottom{display:flex;flex-wrap:wrap;gap:.52rem;justify-content:flex-end;margin-top:.6rem}
@media(max-width:900px){.pbdebt-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:520px){.pbdebt-row .pbfam-fields{grid-template-columns:minmax(0,1fr);gap:.55rem}.pbdebt-row{padding:.67rem .65rem}.pbdebt-controls{gap:.5rem}.pbdebt-credit-result dl div{grid-template-columns:minmax(0,1fr) auto}.pbdebt-page .pbdebt-actions-bottom button{width:100%}}
@media print{.pbdebt-page [data-debt-form],.pbdebt-page .pbfam-cta,.pbdebt-page [data-debt-download]{display:none!important}.pbdebt-grid{display:block}}
