/* Scoped to the private finance tools; shared navigation retains its own style. */
.pft { --pft-navy: #0a1f44; --pft-ink: #22344e; --pft-muted: #526271; --pft-cream: #f7f5ee; --pft-teal: #006f70; color: var(--pft-ink); }
.pft [hidden] { display: none !important; }
.pft a:not(.btn) { color: var(--pft-teal); text-decoration: underline; text-underline-offset: 3px; }
.pft p { line-height: 1.65; }
.pft-intro { padding-top: 24px; padding-bottom: 0; }
.pft-notice { padding: 20px 24px; border-left: 3px solid var(--pft-teal); border-radius: 0 12px 12px 0; background: var(--pft-cream); }
.pft-notice strong { color: var(--pft-navy); font-size: 16px; }
.pft-notice p { margin: 5px 0 0; font-size: 14px; }
.pft-notice + .pft-notice, .pft noscript .pft-notice { margin-top: 16px; }
.pft .shead { max-width: 780px; }
.pft #loan-calculator, .pft #equity-calculator { scroll-margin-top: 110px; }
.pft-layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pft-form { border: 1px solid #d6e2e2; border-radius: 20px; padding: 28px; background: #fff; box-shadow: 0 8px 26px rgba(10,31,68,.035); }
.pft-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pft-form legend { color: var(--pft-navy); font-weight: 750; font-size: 21px; margin-bottom: 22px; padding: 0; }
.pft-form fieldset:disabled { opacity: .65; }
.pft-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 18px; }
.pft-field { min-width: 0; }
.pft-field-wide { grid-column: 1 / -1; }
.pft-field label { display: block; font-size: 14px; font-weight: 700; color: var(--pft-navy); margin-bottom: 7px; line-height: 1.4; }
.pft-field input, .pft-field select { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 11px 12px; border: 1px solid #a9b9c4; border-radius: 9px; background: #fff; color: var(--pft-navy); font: inherit; font-size: 16px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.pft-field select { text-overflow: ellipsis; padding-right: 28px; }
.pft-field input:focus-visible, .pft-field select:focus-visible, .pft summary:focus-visible, .pft button:focus-visible { outline: 3px solid var(--pft-teal); outline-offset: 3px; }
.pft-field input[aria-invalid="true"], .pft-field select[aria-invalid="true"] { border-color: #a2282c; }
.pft-hint { display: block; color: var(--pft-muted); font-size: 12.5px; line-height: 1.55; margin-top: 6px; }
.pft-error { display: block; color: #9f262b; font-size: 13px; font-weight: 600; line-height: 1.5; margin-top: 4px; }
.pft-error:empty { display: none; }
.pft-form-error { color: #842025; background: #fff2f1; padding: 14px 16px; border: 1px solid #dcb6b5; border-radius: 9px; margin-bottom: 18px; font-size: 14px; line-height: 1.5; }
.pft-input-details { border-top: 1px solid #dce5e8; margin-top: 25px; padding-top: 17px; }
.pft summary { cursor: pointer; color: var(--pft-navy); font-weight: 700; font-size: 15px; padding: 7px 0; line-height: 1.4; }
.pft summary::marker { color: var(--pft-teal); }
.pft-input-details > .pft-hint { margin: 4px 0 18px; }
.pft-form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.pft-form-actions .btn { min-height: 46px; }
.pft-reset { min-height: 44px; color: var(--pft-muted); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; padding: 8px 0; }
.pft-status { color: var(--pft-muted); font-size: 13px; margin: 0 0 12px; }
.pft-status:empty { display: none; }
.pft-result-card { background: var(--pft-navy); border-radius: 20px; color: #fff; padding: 28px; }
.pft-result-kicker { color: #bbd9df; text-transform: uppercase; letter-spacing: .09em; font-size: 11px; font-weight: 700; }
.pft-primary-result { margin-top: 22px; padding-bottom: 25px; border-bottom: 1px solid #435475; }
.pft-primary-result h3 { color: #e3edf1; font-size: 16px; line-height: 1.4; font-weight: 500; }
.pft-primary-result > output { display: block; color: #fff; font-size: clamp(34px, 3.6vw, 47px); font-weight: 700; letter-spacing: -.035em; margin: 5px 0 9px; overflow-wrap: anywhere; }
.pft-primary-result p { font-size: 13px; color: #c7d5df; }
.pft-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.pft-result-grid h3 { color: #d8e6ed; font-size: 13px; font-weight: 500; line-height: 1.4; }
.pft-result-grid output { display: block; color: #fff; font-size: clamp(21px, 2.15vw, 29px); font-weight: 700; letter-spacing: -.03em; margin: 7px 0; overflow-wrap: anywhere; }
.pft-result-grid p { color: #bdcfdb; font-size: 12px; }
.pft output { font-variant-numeric: tabular-nums; }
.pft-monthly { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; border-top: 1px solid #435475; padding-top: 18px; margin-top: 24px; color: #d8e6ed; font-size: 13px; }
.pft-monthly strong { font-size: 19px; color: #fff; white-space: nowrap; }
.pft-result-note { color: #c7d5df; font-size: 12px; margin-top: 9px; }
.pft-breakdown { border: 1px solid #d6e2e2; border-radius: 16px; padding: 17px 22px; margin-top: 18px; background: #fff; }
.pft dl { margin-top: 14px; }
.pft dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 9px 0; border-bottom: 1px solid #dfe5e5; font-size: 13px; line-height: 1.5; }
.pft dl > div:last-child { border-bottom: 0; }
.pft dt { min-width: 0; }
.pft dt small { display: block; color: var(--pft-muted); }
.pft dd { font-weight: 700; color: var(--pft-navy); text-align: right; overflow-wrap: anywhere; min-width: 0; }
.pft-delay-card { margin-top: 18px; padding: 24px; background: var(--pft-cream); border: 1px solid #e4e1d7; border-radius: 16px; }
.pft-delay-card h3 { font-size: 20px; margin-top: 6px; color: var(--pft-navy); }
.pft-delay-card > p[data-result="totalMonths"] { font-size: 13px; color: var(--pft-muted); margin-top: 12px; }
.pft .pft-emphasis { font-size: 16px; padding: 13px 0; font-weight: 700; }
.pft-equity-section { background: var(--pft-cream); }
.pft-equity-result { background: #fff; border: 1px solid #d6e2e2; border-radius: 20px; padding: 28px; }
.pft-equity-result > output { display: block; color: var(--pft-navy); font-size: clamp(34px, 4vw, 46px); font-weight: 700; letter-spacing: -.035em; margin: 8px 0 13px; overflow-wrap: anywhere; }
.pft-equity-result > p { font-size: 14px; }
.pft-equity-result .pft-hint { font-size: 12.5px; margin-top: 14px; }
.pft-method h2 { max-width: 700px; }
.pft-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; margin-top: 26px; }
.pft-method-grid h3 { font-size: 20px; color: var(--pft-navy); margin-bottom: 15px; }
.pft-method-grid ul { list-style: disc; padding-left: 20px; }
.pft-method-grid li { margin-bottom: 13px; font-size: 14px; line-height: 1.65; }
.pft-method-grid p { margin-bottom: 14px; font-size: 14px; }
.pft-related { margin-top: 30px; font-size: 15px; }
.pft-faqs { max-width: 850px; margin-top: 36px; }
.pft-faqs details { border-top: 1px solid #d6e2e2; padding: 12px 0; }
.pft-faqs summary { font-size: 16px; }
.pft-faqs p { margin: 8px 0; font-size: 14px; }
.pft-cta { background: #f0f7f7; }
.pft-cta h2, .pft-cta p { max-width: 760px; }
.pft-cta .cta-row { margin-top: 24px; }
@media (max-width: 880px) { .pft-layout { grid-template-columns: 1fr; } .pft-method-grid { gap: 26px; } .pft-result-grid output { font-size: 29px; } }
@media (max-width: 580px) {
  .pft .container { padding-left: 20px; padding-right: 20px; }
  .pft-form, .pft-result-card, .pft-equity-result { padding: 21px; border-radius: 16px; }
  .pft-fields, .pft-method-grid { grid-template-columns: 1fr; }
  .pft-result-grid { gap: 16px; }
  .pft-result-grid output { font-size: 24px; }
  .pft-notice { padding: 18px; }
  .pft-delay-card, .pft-breakdown { padding: 18px; }
  .pft-form-actions .btn { flex: 1; }
  .pft .pft-emphasis { font-size: 14px; }
}
@media print { .pft-form, .pft-cta, .pft-status { display: none; } .pft-layout, .pft-method-grid { display: block; } .pft-result-card { background: #fff; border: 1px solid #999; } .pft-result-card * { color: #111 !important; } .pft section { break-inside: avoid; } }
