/* ==========================================================================
   Easyrupeeloan customer portal: the home page, the account pages (Repay Loan sign-in, your loan,
   pay, payment status, the checkout step) and the company and privacy pages, laid out like
   www.easyrupeeloan.com.

   Builds on assets/brand.css (the --er-* palette, Inter, the shared header and footer). It also
   loads after platform.css, which the apply pages share and restyle on their own schedule, so
   every rule here is scoped to these pages (body.pt) and sets what it needs itself: a change to
   platform.css's base (.btn, .input, headings) cannot reach in and change these pages.
   Mobile first where it matters: everything works at 360px wide with no sideways scrolling.
   ========================================================================== */

/* ---------- base ---------- */
body.pt {
  /* platform.css's font names, pointed at the site's Inter on these pages */
  --font: var(--er-font); --font-display: var(--er-font);
  --hm-gut: 16px;
  --pt-grey: #6B7280;        /* the Repay Loan page's secondary text */
  --pt-label: #374151;
  --pt-rule: #E5E7EB;
  --pt-band: linear-gradient(135deg, #1A1A2E 0%, #16213E 55%, #1F3A6E 100%);
  --pt-lift: 0 20px 50px -22px rgba(15, 23, 42, .28);
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: #fff; color: var(--er-ink);
  font-family: var(--er-font); font-size: 16px; font-weight: 500; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@media (min-width: 768px) { body.pt { --hm-gut: 24px; } }
body.pt.pt-acc { background: var(--er-page); }
body.pt > main { flex: 1 0 auto; }
body.pt [hidden] { display: none !important; }
/* :where() keeps this at the weight of one class, so a component's own link colour always wins */
body.pt :where(main a:not(.btn)) { color: var(--er-primary-dk); text-decoration: none; }
body.pt :where(main a:not(.btn)):hover { text-decoration: underline; }
body.pt :is(h1, h2, h3) { font-family: var(--er-font); letter-spacing: 0; }
body.pt :is(h1, h2, h3) em { font-style: normal; color: var(--er-primary); }
body.pt .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
body.pt .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95em; }
body.pt .muted { color: var(--pt-grey); }
body.pt .nowrap { white-space: nowrap; }
body.pt .mt-12 { margin-top: 12px; } body.pt .mt-16 { margin-top: 16px; }
body.pt .mb-0 { margin-bottom: 0; } body.pt .mb-8 { margin-bottom: 8px; }
body.pt .ic { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
body.pt .spin { animation: pt-spin 1s linear infinite; }
@keyframes pt-spin { to { transform: rotate(360deg); } }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 1100; display: inline-flex; align-items: center; min-height: 44px; background: var(--er-dark); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 8px; text-decoration: none; }

/* One focus ring: a solid 2px line in the brand orange, clear of the control; white on the navy. */
body.pt :focus-visible { outline: 2px solid var(--er-primary); outline-offset: 2px; box-shadow: none; }
body.pt :is(.pt-top, .pt-ask, .hm-repay) :focus-visible { outline-color: #fff; }
/* a heading or <main> that takes the focus from script (to be read out) is not a control: no ring */
body.pt [tabindex="-1"]:focus { outline: none; }

/* ---------- buttons (the site's: orange, 8px or a 48px pill; the Repay page's dark one) ---------- */
body.pt .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--er-radius); border: 1px solid transparent;
  font: 700 16px/1.2 var(--er-font); letter-spacing: 0; text-decoration: none; white-space: nowrap;
  cursor: pointer; box-shadow: none; transition: background .15s, border-color .15s, color .15s;
}
body.pt .btn:hover { text-decoration: none; }
body.pt .btn[disabled] { opacity: .6; cursor: not-allowed; }
body.pt .btn.is-loading { opacity: .85; }
body.pt .btn-primary { background: var(--er-primary); color: #fff; }
body.pt .btn-primary:hover { background: var(--er-primary-dk); }
body.pt .btn-dark { background: var(--er-dark); color: #fff; border-radius: 10px; font-weight: 600; }
body.pt .btn-dark:hover { background: #2B2B4A; }
body.pt .btn-line, body.pt .btn-ghost { background: #fff; color: var(--er-ink); border-color: var(--er-ink); }
body.pt .btn-line:hover, body.pt .btn-ghost:hover { background: var(--er-ink); color: #fff; }
body.pt .btn-amber { background: var(--er-amber-2); color: var(--er-ink); }
body.pt .btn-amber:hover { background: var(--er-amber); }
body.pt .btn-onnavy { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
body.pt .btn-onnavy:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
body.pt .btn-success { background: #166534; color: #fff; }
body.pt .btn-danger { background: #fff; color: #B91C1C; border-color: #F3C6C6; }
body.pt .btn-pill { border-radius: var(--er-pill); padding-left: 32px; padding-right: 32px; }
body.pt .btn-xl { min-height: 52px; padding-top: 14px; padding-bottom: 14px; }
body.pt .btn-lg { min-height: 50px; }
body.pt .btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
body.pt .btn-block { width: 100%; }
body.pt .btn.er-ph { background: #FEF3C7; color: #7C2D12; border: 1px dashed #B45309; cursor: default; }
body.pt .btn-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none;
  font: 600 15px/1.3 var(--er-font); color: var(--er-primary-dk); cursor: pointer;
}
body.pt .btn-link:hover { text-decoration: underline; }
body.pt .btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (max-width: 640px) { body.pt .btn-sm { min-height: 44px; } }

/* ---------- form fields (the Repay page's: a label above, a white box, a "+91" prefix) ---------- */
body.pt .field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
body.pt .field > label { display: flex; align-items: center; gap: 4px; font: 600 14px/1.4 var(--er-font); color: var(--pt-label); }
body.pt .field .req { color: #EF4444; font-weight: 700; }
body.pt .hint { font-size: 13px; color: var(--pt-grey); line-height: 1.5; }
body.pt .err { display: none; font-size: 13px; font-weight: 600; color: #B91C1C; }
body.pt .field.invalid .err { display: block; }
body.pt .input {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #E2E8F0; border-radius: 12px; background: #fff;
  font: 500 16px/1.3 var(--er-font); color: var(--er-ink); box-shadow: none;  /* 16px keeps iOS from zooming in */
}
body.pt .input::placeholder { color: #9CA3AF; }
body.pt .input:focus, body.pt .input-group:focus-within { outline: 2px solid var(--er-primary); outline-offset: 1px; border-color: var(--er-primary); box-shadow: none; }
body.pt .input-group { display: flex; align-items: stretch; border: 1px solid #E2E8F0; border-radius: 12px; background: #fff; overflow: hidden; }
body.pt .input-group .input { border: 0; border-radius: 0; min-width: 0; min-height: 50px; }
body.pt .input-group .input:focus { outline: none; }
body.pt .input-group .addon { display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #F8FAFC; border-right: 1px solid #E2E8F0; font-weight: 600; color: var(--er-ink); }
body.pt .input-group .addon svg { display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
body.pt .field.invalid .input, body.pt .field.invalid .input-group { border-color: #DC2626; }

/* choice cards (the pay page's loan and amount) */
body.pt .choices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
body.pt .choice {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 14px 16px;
  border: 1px solid #E2E8F0; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 600; font-size: 15px;
}
body.pt .choice:hover { border-color: #CBD5E1; }
body.pt .choice input { position: absolute; opacity: 0; pointer-events: none; }
body.pt .choice .mark { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #CBD5E1; flex: 0 0 auto; background: #fff; }
body.pt .choice input:checked ~ .mark { border-color: var(--er-primary); background: radial-gradient(circle, var(--er-primary) 45%, #fff 50%); }
body.pt .choice:has(input:checked) { border-color: var(--er-primary); background: #FFF8F5; box-shadow: 0 0 0 1px var(--er-primary) inset; }
body.pt .choice:has(input:focus-visible) { outline: 2px solid var(--er-primary); outline-offset: 2px; }
body.pt .choice .grow { flex: 1 1 auto; min-width: 0; }
body.pt .choice .sub { display: block; font-size: 13px; font-weight: 500; color: var(--pt-grey); }

/* ---------- messages ---------- */
.pt-banner { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid; font-size: 14px; line-height: 1.55; background: #fff; }
.pt-banner p { margin: 0 0 4px; }
.pt-banner p:last-child { margin: 0; }
.pt-banner .grow { flex: 1 1 auto; min-width: 0; }
.pt-banner .btn { margin-top: 8px; }
.pt-banner .ic { margin-top: 2px; }
.pt-banner.danger { background: #FEF2F2; color: #7F1D1D; border-color: #FECACA; }
.pt-banner.info { background: #F1F5F9; color: #1F2937; border-color: #E2E8F0; }
.pt-alert:empty { display: none; }
.pt-alert:not(:empty) { margin-bottom: 16px; }
.pt-stage > .pt-alert .pt-banner { box-shadow: var(--pt-lift); }
.pt-loading { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--pt-grey); padding: 28px 4px; font-weight: 600; }
.pt-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: #FEF3C7; color: #7C2D12; border: 1px solid #F59E0B; font-size: 12px; font-weight: 800; }
.pt-lede { color: var(--pt-grey); font-size: 15px; }
.pt-small { font-size: 13px; color: var(--pt-grey); }
.pt-small a { font-weight: 700; }

/* ==========================================================================
   Home page (index.html): the company site's home, section by section
   ========================================================================== */
.hm-wrap { width: 100%; max-width: calc(1290px + 2 * var(--hm-gut)); margin: 0 auto; padding: 0 var(--hm-gut); }
.hm-narrow { max-width: calc(1000px + 2 * var(--hm-gut)); }
.hm-sec { padding: 100px 0; scroll-margin-top: 8px; }
.hm-sec-alt { background: var(--er-surface); }
.hm-sec-top0 { padding-top: 40px; }
.hm-head { max-width: 860px; margin: 0 auto 48px; text-align: center; }
.hm-head > :last-child { margin-bottom: 0; }
body.pt .hm-h { margin: 0 0 14px; font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; line-height: 1.25; color: var(--er-ink); text-align: center; }
body.pt .hm-h-left { text-align: left; }
.hm-lead { margin: 0 0 6px; font-size: 18px; color: var(--er-muted); }
.hm-lead-ink { font-size: 16px; color: var(--er-ink); }
body.pt .hm-h3 { margin: 28px 0 20px; font-size: clamp(21px, 2vw, 26px); font-weight: 700; line-height: 1.2; color: var(--er-ink); }
.hm-p { margin: 0 0 20px; color: var(--er-muted); line-height: 1.65; }
.hm-center { margin: 40px 0 0; text-align: center; }
.hm-btns { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 767px) {
  .hm-sec { padding: 60px 0; }
  .hm-sec-top0 { padding-top: 20px; }
  .hm-head { margin-bottom: 32px; }
  .hm-lead { font-size: 16px; }
}

/* the hero: three lines, the last in orange, the phone in a hand on the right */
.hm-hero { background: var(--er-hero); overflow: hidden; }
.hm-hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; min-height: 640px; }
.hm-hero-text { align-self: center; padding: 64px 0; }
body.pt .hm-hero h1 { margin: 0 0 22px; font-size: clamp(32px, 3.2vw, 46px); font-weight: 700; line-height: 1.45; color: var(--er-ink); }
.hm-hero h1 span, .hm-hero h1 em { display: block; }
.hm-hero p { margin: 0 0 40px; font-size: 18px; line-height: 1.55; color: var(--er-muted); }
.hm-hero-art { align-self: end; display: flex; justify-content: flex-end; }
.hm-hero-art img { display: block; width: 100%; max-width: 470px; height: auto; margin-right: 30px; }
@media (max-width: 900px) {
  .hm-hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; }
  .hm-hero-text { padding: 40px 0 28px; }
  body.pt .hm-hero h1 { font-size: clamp(28px, 7.4vw, 40px); line-height: 1.3; }
  .hm-hero p { font-size: 16px; margin-bottom: 28px; }
  .hm-br { display: none; }
  .hm-hero-art { justify-content: center; }
  .hm-hero-art img { max-width: 300px; margin: 0; }
}
@media (max-width: 420px) { .hm-hero .hm-btns .btn { flex: 1 1 100%; } }

/* Company Overview: the picture, then the words and two pill buttons */
.hm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 100px; align-items: center; }
.hm-ov-media img, .hm-about-media img { display: block; width: 100%; height: auto; }
.hm-about-media img { border-radius: 20px; }
.hm-ov-text > .hm-h, .hm-split .hm-h-left { margin-bottom: 0; }
@media (max-width: 1200px) { .hm-split { column-gap: 48px; } }
@media (max-width: 960px) { .hm-split { grid-template-columns: minmax(0, 1fr); } }

/* Our Services: a photo with a white label card over its bottom edge */
.hm-svcs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
body.pt .hm-svc { display: block; padding-bottom: 12px; color: var(--er-ink); text-decoration: none; }
.hm-svc img { display: block; width: 100%; height: auto; aspect-ratio: 410 / 308; object-fit: cover; border-radius: 16px; }
.hm-svc-card { position: relative; display: flex; flex-direction: column; justify-content: center; width: 80%; min-height: 122px; margin: -30px auto 0; padding: 20px 16px; border-radius: 6px; background: #fff; text-align: center; box-shadow: 0 16px 30px -12px rgba(18, 18, 18, .2); }
.hm-svc-k { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--er-muted); }
.hm-svc-t { display: block; font-size: 24px; font-weight: 700; line-height: 1.25; }
.hm-svc:hover .hm-svc-t { color: var(--er-primary-dk); }
@media (max-width: 1200px) { .hm-svc-t { font-size: 20px; } .hm-svc-card { width: 86%; min-height: 108px; } }
@media (max-width: 960px) { .hm-svcs { gap: 18px; } .hm-svc-t { font-size: 17px; } .hm-svc-card { width: 90%; padding: 16px 10px; } }
/* one column, not two, on a phone: three cards in two columns leave one on its own */
@media (max-width: 640px) { .hm-svcs { grid-template-columns: minmax(0, 1fr); gap: 24px; } .hm-svc-t { font-size: 19px; } .hm-svc-card { width: 80%; min-height: 0; } }

/* Why Choose Us: six white cards with the site's illustrations */
.hm-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.hm-why li { padding: 40px 32px; border-radius: 6px; background: #fff; text-align: center; }
.hm-why img { display: block; width: 90px; height: 90px; margin: 0 auto 20px; }
body.pt .hm-why h3 { margin: 0 0 12px; font-size: 20px; font-weight: 700; color: var(--er-ink); }
.hm-why p { margin: 0; color: var(--er-muted); line-height: 1.65; }
@media (max-width: 960px) { .hm-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hm-why { grid-template-columns: minmax(0, 1fr); gap: 16px; } .hm-why li { padding: 32px 24px; } }

/* Rate And Charges, Eligibility Criteria: white cards with the site's orange round checks */
.hm-card { padding: 32px 30px; border: 1px solid #EEEEEE; border-radius: 16px; background: #fff; box-shadow: 0 4px 18px -8px rgba(18, 18, 18, .14); }
body.pt .hm-card-h { margin: 0 0 22px; font-size: 20px; font-weight: 700; text-transform: uppercase; color: var(--er-ink); }
.hm-rates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.hm-elig { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; }
@media (max-width: 860px) { .hm-rates, .hm-elig { grid-template-columns: minmax(0, 1fr); } .hm-card { padding: 26px 20px; } }
.pt-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pt-checks li { position: relative; min-height: 26px; padding-left: 44px; line-height: 1.55; color: var(--er-ink); }
.pt-checks li::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--er-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}
.pt-checks b { font-weight: 600; }
.hm-kfs { display: flex; gap: 14px; align-items: flex-start; margin-top: 30px; padding: 20px 24px; border-radius: 12px; background: var(--er-primary-soft); }
.hm-kfs .ic { margin-top: 2px; color: var(--er-primary-dk); }
.hm-kfs p { margin: 0; font-size: 15px; line-height: 1.65; }

/* Application Of Loan In Simple Steps: three columns split by thin rules */
.hm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-steps li { padding: 0 32px; border-left: 1px solid #E5E5E5; }
.hm-steps li:first-child { border-left: 0; }
.hm-steps img { display: block; width: 56px; height: 56px; margin-bottom: 10px; }
body.pt .hm-steps h3 { margin: 0 0 8px; font-size: 21px; font-weight: 700; line-height: 1.35; color: var(--er-ink); }
.hm-steps p { margin: 0; color: var(--er-muted); line-height: 1.65; }
@media (max-width: 860px) { .hm-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; } .hm-steps li { padding: 0; border-left: 0; } }

/* the way to Repay Loan, in that page's navy */
.hm-repay-wrap { padding: 0 0 100px; }
.hm-repay {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px 48px;
  padding: 48px 56px; border-radius: 20px; color: #fff; background: var(--pt-band);
}
.hm-repay::before { content: ""; position: absolute; right: -70px; top: -120px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.hm-repay > * { position: relative; }
body.pt .hm-repay h2 { margin: 0 0 10px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; color: #fff; }
body.pt .hm-repay h2 em { color: var(--er-amber-2); }
.hm-repay p { margin: 0; max-width: 58ch; color: rgba(255, 255, 255, .78); font-size: 17px; }
@media (max-width: 760px) { .hm-repay-wrap { padding-bottom: 60px; } .hm-repay { flex-direction: column; align-items: flex-start; padding: 32px 24px; } }

/* Frequently Asked Questions: the picture and the orange line on the left, the questions on the right */
.hm-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--er-surface); scroll-margin-top: 8px; }
.hm-faq-media { display: flex; flex-direction: column; min-width: 0; }
.hm-faq-media img { display: block; flex: 1 1 auto; width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.hm-aim { display: flex; align-items: center; gap: 28px; padding: 44px 48px 44px 70px; background: var(--er-primary); }
.hm-aim svg { display: block; flex: 0 0 auto; width: 96px; height: 96px; color: #fff; }
.hm-aim p { margin: 0; font-size: clamp(22px, 2.3vw, 34px); font-weight: 700; line-height: 1.25; color: var(--er-ink); }
.hm-faq-body { padding: 44px 64px 80px 84px; min-width: 0; }
.hm-faq-body .hm-h { margin-bottom: 28px; }
.hm-qs details { margin-bottom: 10px; border: 1px solid #E5E5E5; border-radius: 4px; background: #fff; }
.hm-qs summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 16px;
  font-size: 19px; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none;
}
.hm-qs summary::-webkit-details-marker { display: none; }
.hm-qs summary::after { content: "+"; flex: 0 0 auto; font-size: 22px; font-weight: 700; line-height: 1; }
.hm-qs details[open] summary::after { content: "\2212"; }
.hm-qs summary:hover { color: var(--er-primary-dk); }
.hm-qs details p { margin: 0; padding: 0 16px 18px; color: var(--er-muted); line-height: 1.7; }
@media (max-width: 960px) {
  .hm-faq { grid-template-columns: minmax(0, 1fr); }
  .hm-faq-media img { min-height: 0; max-height: 340px; height: auto; }
  .hm-aim { gap: 18px; padding: 28px var(--hm-gut); }
  .hm-aim svg { width: 64px; height: 64px; }
  .hm-faq-body { padding: 48px var(--hm-gut) 60px; }
  .hm-qs summary { font-size: 17px; }
}

/* ==========================================================================
   Company and privacy pages: the site's inner-page banner, then sections of white cards
   ========================================================================== */
/* the photo is the site's own banner, already darkened; the extra shade on the left keeps the white
   words readable whatever the width */
.pt-pagehead {
  display: flex; min-height: 400px; color: #fff; background-color: #5F6878;
  background-image: linear-gradient(90deg, rgba(25, 28, 50, .45), rgba(25, 28, 50, 0) 65%), url("site/page-banner.jpg");
  background-position: center; background-size: cover; background-repeat: no-repeat;
}
.pt-pagehead-in { width: 100%; max-width: calc(1290px + 2 * var(--hm-gut)); margin: 0 auto; padding: 32px var(--hm-gut) 64px; }
.pt-pillcrumbs { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 72px; padding: 5px 16px; border-radius: var(--er-pill); background: var(--er-primary); color: var(--er-ink); font-size: 14px; }
body.pt .pt-pillcrumbs a { display: inline-flex; align-items: center; min-height: 34px; color: var(--er-ink); }
.pt-pillcrumbs [aria-current] { font-weight: 700; }
body.pt .pt-pagehead h1 { margin: 0 0 20px; font-size: clamp(30px, 3vw, 36px); font-weight: 800; color: #fff; }
.pt-pagehead p { max-width: 640px; margin: 0; font-size: 16px; line-height: 1.65; color: #fff; }
@media (max-width: 767px) { .pt-pagehead { min-height: 0; } .pt-pillcrumbs { margin-bottom: 40px; } .pt-pagehead-in { padding-bottom: 48px; } }

/* "On this page": the sections as pill links */
.pt-onpage { background: #fff; border-bottom: 1px solid var(--er-line); }
.pt-onpage .hm-wrap { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
body.pt .pt-onpage a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid #D9D9D9; border-radius: var(--er-pill); color: var(--er-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
body.pt .pt-onpage a:hover { border-color: var(--er-primary); color: var(--er-primary-dk); text-decoration: none; }
@media (max-width: 640px) { body.pt .pt-onpage a { min-height: 44px; } }

.pt-docbody { padding: 64px 0 100px; background: var(--er-surface); }
.pt-doc-note { margin: 0 0 20px; font-size: 14px; color: var(--er-muted); }
.pt-doc-card { padding: 32px; border: 1px solid #EEEEEE; border-radius: 16px; background: #fff; box-shadow: 0 4px 18px -8px rgba(18, 18, 18, .12); scroll-margin-top: 12px; }
.pt-doc-card + .pt-doc-card { margin-top: 30px; }
body.pt .pt-doc-card h2 { margin: 0 0 14px; font-size: 24px; font-weight: 700; color: var(--er-ink); }
body.pt .pt-doc-card h3 { margin: 0 0 12px; font-size: 20px; font-weight: 700; color: var(--er-ink); }
body.pt .pt-doc-card h2 ~ h3 { margin: 24px 0 8px; font-size: 17px; }
.pt-doc-card p, .pt-doc-card li { color: var(--er-ink-2); line-height: 1.7; }
.pt-doc-card p { margin: 0 0 14px; }
.pt-doc-card ul:not(.pt-checks):not(.pt-band) { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 6px; }
.pt-doc-card .pt-checks { margin: 0 0 18px; }
.pt-doc-card .pt-checks li { color: var(--er-ink-2); }
.pt-doc-card .pt-checks b { color: var(--er-ink); }
.pt-doc-card > :last-child { margin-bottom: 0; }
.pt-doc-more { font-size: 15px; }
.pt-cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; margin-bottom: 30px; }
.pt-cards2 > .pt-doc-card + .pt-doc-card { margin-top: 0; }
@media (max-width: 900px) { .pt-cards2 { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 20px; } }
@media (max-width: 620px) { .pt-doc-card { padding: 22px 18px; } .pt-doc-card + .pt-doc-card { margin-top: 20px; } .pt-docbody { padding: 40px 0 60px; } }

.pt-dl { display: grid; gap: 10px; margin: 0 0 16px; }
.pt-dl > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 2px 16px; padding-bottom: 10px; border-bottom: 1px dashed #E5E5E5; }
.pt-dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.pt-dl dt { padding-top: 3px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--er-muted); }
.pt-dl dd { margin: 0; color: var(--er-ink); overflow-wrap: anywhere; }
.pt-dl .pt-dd-note { display: block; margin-top: 4px; font-size: 14px; color: var(--er-muted); }
.pt-dl-stack > div { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 620px) { .pt-dl > div { grid-template-columns: minmax(0, 1fr); } }

.pt-doc-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.pt-doc-table th, .pt-doc-table td { padding: 11px 12px; border-bottom: 1px solid #EEEEEE; text-align: left; vertical-align: top; color: var(--er-ink-2); line-height: 1.55; }
.pt-doc-table thead th { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--er-muted); background: var(--er-surface); }
.pt-doc-table tbody th { font-weight: 700; color: var(--er-ink); }
.pt-doc-table tbody tr:last-child > * { border-bottom: 0; }
.pt-doc-table .sub { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--er-muted); }
.pt-scroll { max-width: 100%; margin: 0 0 16px; overflow-x: auto; border: 1px solid #EEEEEE; border-radius: 12px; -webkit-overflow-scrolling: touch; }
/* on a phone each table row becomes a small labelled block, so nothing has to scroll sideways */
@media (max-width: 620px) {
  .pt-doc-table { min-width: 0; }
  .pt-doc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .pt-doc-table, .pt-doc-table tbody, .pt-doc-table tr, .pt-doc-table tbody th, .pt-doc-table td { display: block; width: 100%; }
  .pt-doc-table tr { padding: 12px 14px; border-bottom: 1px solid #EEEEEE; }
  .pt-doc-table tbody tr:last-child { border-bottom: 0; }
  .pt-doc-table tbody th, .pt-doc-table td { padding: 2px 0; border: 0; }
  .pt-doc-table td[data-label]::before { content: attr(data-label); display: block; margin-top: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--er-muted); }
}
.pt-callout { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; padding: 16px 18px; border-radius: 12px; background: var(--er-primary-soft); color: var(--er-ink); }
.pt-callout .ic { margin-top: 3px; color: var(--er-primary-dk); }
.pt-callout p { margin: 0 0 6px; color: inherit; }
.pt-callout p:last-child { margin: 0; }
/* the SMA / NPA groups on the company page */
.pt-band { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pt-band li { padding: 14px; border-radius: 12px; background: var(--er-surface); border-top: 3px solid var(--er-primary); line-height: 1.4; }
.pt-band b { display: block; font-size: 18px; color: var(--er-ink); }
.pt-band span { font-size: 14px; color: var(--er-muted); }
@media (max-width: 700px) { .pt-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pt-escalate { margin-top: 0; }

/* the company site's Contact Us: "Get In Touch" with three round-icon lines */
.pt-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 40px 80px; align-items: center; }
.pt-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #2266D0; }
.pt-touch { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.pt-touch li { display: flex; align-items: center; gap: 16px; }
.pt-touch-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; background: var(--er-ink); color: #fff; }
.pt-touch li > span:last-child { padding-left: 16px; border-left: 1px solid #D9D9D9; font-size: 19px; overflow-wrap: anywhere; min-width: 0; }
.pt-touch small { display: block; font-size: 13px; font-weight: 600; color: var(--er-muted); }
body.pt .pt-touch a { display: inline-flex; align-items: center; min-height: 44px; color: var(--er-ink); }
body.pt .pt-contact-card h3 { margin-bottom: 18px; }
@media (max-width: 900px) { .pt-contact-grid { grid-template-columns: minmax(0, 1fr); } .pt-touch li > span:last-child { font-size: 17px; } }

/* ==========================================================================
   Account pages: the company site's Repay Loan page
   (navy band with a breadcrumb, a white card with an amber top edge, the trust row,
   HOW IT WORKS, the never-pay-cash notice and the "Still have questions?" card)
   ========================================================================== */
.pt-main { flex: 1 0 auto; padding: 0; }
.pt-main:focus { outline: none; }
.pt-top { position: relative; overflow: hidden; padding: 40px 16px 80px; background: var(--pt-band); color: #fff; text-align: center; }
.pt-top::before { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.pt-top::after { content: ""; position: absolute; left: -120px; bottom: -150px; width: 300px; height: 300px; border-radius: 50%; background: rgba(252, 167, 66, .09); }
.pt-top-slim { padding-top: 36px; }
.pt-top-in { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.pt-crumbs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; margin-bottom: 10px; font-size: 13px; color: rgba(255, 255, 255, .62); }
body.pt .pt-crumbs a { display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .8); }
body.pt .pt-crumbs a:hover { color: #fff; }
@media (max-width: 640px) { body.pt .pt-crumbs a, body.pt .pt-pillcrumbs a { min-height: 44px; } }
body.pt .pt-top-h { margin: 0 0 14px; font-size: clamp(28px, 3vw, 36px); font-weight: 800; line-height: 1.2; color: #fff; }
body.pt .pt-top-h em { font-style: normal; color: var(--er-amber-2); }
.pt-top-sub { max-width: 420px; margin: 0 auto; font-size: 16px; font-weight: 600; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.pt-top-sub:empty { display: none; }

.pt-stage { position: relative; z-index: 2; width: 100%; max-width: 532px; margin: -40px auto 0; padding: 0 16px 80px; }
/* 10 Oct 2026 (the owner: "fill the screen"): the dashboard lines up with the top bar's logo and nav (brand.css .cx-head-in).
   11 Oct 2026: at the customer app's shared width, 20 px under its welcome banner */
.pt-stage-wide { max-width: calc(var(--cx-max, 1168px) + 2 * var(--cx-gut, 16px)); margin-top: 20px; padding-left: var(--cx-gut, 16px); padding-right: var(--cx-gut, 16px); }
/* 11 Oct 2026 (the owner: "fill this"): the dashboard's band is a compact welcome banner inside the page width, the heading
   on the left and the status pill on the right */
.pt-top.pt-welcome { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; width: calc(100% - 2 * var(--cx-gut, 16px));
  max-width: var(--cx-max, 1168px); margin: 20px auto 0; padding: 28px 32px; border-radius: 20px; text-align: left; }
.pt-welcome .pt-top-in { margin: 0; max-width: none; }
body.pt .pt-welcome .pt-top-h { margin: 0 0 4px; }
.pt-welcome .pt-top-sub { max-width: none; margin: 0; }
.pt-welcome .pt-top-pill { position: relative; z-index: 1; }
@media (max-width: 640px) { .pt-top.pt-welcome { padding: 22px 20px; } }
/* 19 Oct 2026 (the owner: "mainly the customer photo"): the customer's own selfie, round, beside the heading
   (page-dashboard.js showPhoto) */
.pt-welcome .pt-top-in.has-photo { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 18px; }
.pt-top-photo { grid-row: span 2; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, .85); }
@media (max-width: 640px) { .pt-welcome .pt-top-in.has-photo { column-gap: 14px; } .pt-top-photo { width: 52px; height: 52px; } }

/* the card */
.pt-panel { position: relative; padding: 28px; border-radius: 16px; border-top: 4px solid var(--er-amber); background: #fff; box-shadow: var(--pt-lift); }
.pt-panel + .pt-panel { margin-top: 20px; }
.pt-stage > .pt-panel, #dash > .pt-loading, #pay-body > .pt-loading, #sim > .pt-loading { margin-bottom: 0; }
#dash > .pt-loading, #pay-body > .pt-loading, #sim > .pt-loading { border-radius: 16px; border-top: 4px solid var(--er-amber); background: #fff; box-shadow: var(--pt-lift); }
.pt-panel-h { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #F0F0F0; }
.pt-tile { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 10px; background: #FFF7ED; border: 1px solid var(--er-amber-2); color: #C2410C; }
body.pt .pt-panel-h :is(h1, h2) { margin: 0 0 2px; font-size: 18px; font-weight: 700; line-height: 1.3; color: #1F2937; }
body.pt .pt-panel-h .pt-lede { margin: 0; font-size: 14px; color: var(--pt-grey); }
@media (max-width: 420px) { .pt-panel { padding: 22px 18px; } }

.pt-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 22px 0 0; padding: 0; font-size: 13px; font-weight: 500; color: #4B5563; }
.pt-trust li { display: inline-flex; align-items: center; gap: 7px; }
.pt-trust .ti { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #DCFCE7; color: #15803D; }
.pt-trust .ti svg { width: 12px; height: 12px; }

.pt-how { margin: 40px 0 28px; text-align: center; }
body.pt .pt-how h2 { margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--er-muted); }
.pt-how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pt-how li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; line-height: 1.4; color: #4B5563; }
.pt-how .n { position: relative; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--er-amber-2); background: #fff; color: var(--er-amber); font-weight: 700; }
.pt-how li:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: calc(50% + 30px); right: calc(-50% + 30px); height: 2px; background: repeating-linear-gradient(90deg, var(--er-amber-2) 0 6px, transparent 6px 12px); opacity: .7; }

.pt-cash { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 24px; padding: 22px 22px 22px 18px; border: 1px solid #FDE68A; border-left: 4px solid var(--er-amber-2); border-radius: 12px; background: var(--er-warn-bg); }
.pt-cash-ic { display: block; flex: 0 0 auto; }
body.pt .pt-cash h2 { margin: 0 0 8px; font-size: 15px; font-weight: 800; line-height: 1.4; text-transform: uppercase; color: #92400E; }
.pt-cash p { margin: 0; font-size: 14px; line-height: 1.65; color: #78350F; }
body.pt .pt-cash a { color: #B45309; font-weight: 700; }

.pt-ask { padding: 36px 28px; border-radius: 16px; background: var(--pt-band); color: #fff; text-align: center; }
body.pt .pt-ask h2 { margin: 0 0 10px; font-size: 20px; font-weight: 800; color: #fff; }
.pt-ask p { max-width: 430px; margin: 0 auto 20px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.pt-ask-go { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pt-stage-wide > .pt-cash { margin-top: 40px; }

/* ---------- sign-in ---------- */
.pt-auth form { display: flex; flex-direction: column; gap: 20px; }
.pt-otp { letter-spacing: .5em; font-weight: 700; font-variant-numeric: tabular-nums; }
.pt-otp::placeholder { letter-spacing: .3em; }
.pt-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--pt-label); }
.pt-hint b { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.pt-hint.pt-sent { flex-wrap: nowrap; align-items: flex-start; }
.pt-hint.pt-sent .ic { margin-top: 3px; }
.pt-auth-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-top: -8px; font-size: 14px; color: var(--pt-grey); }
.pt-auth-go { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.pt-auth-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid #F0F0F0; font-size: 13px; line-height: 1.6; color: var(--pt-grey); text-align: center; }
.pt-auth-foot p { margin: 0; }
body.pt .pt-auth-foot a { display: inline-block; padding: 6px 0; font-weight: 600; }

/* ---------- your loan (dashboard.html) ---------- */
.pt-due-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: end; }
.pt-due .lab { font-size: 14px; font-weight: 600; color: var(--pt-grey); }
.pt-due .amt { margin: 6px 0 12px; font-size: clamp(38px, 6vw, 50px); font-weight: 800; line-height: 1.05; letter-spacing: -.01em; color: var(--er-ink); font-variant-numeric: tabular-nums; }
.pt-due .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 15px; color: var(--pt-label); }
.pt-due .note-line { max-width: 60ch; margin: 12px 0 0; font-size: 14px; color: var(--pt-grey); }
.pt-due .act { display: flex; flex-direction: column; align-items: stretch; gap: 4px; min-width: 250px; }
.pt-due .act .btn-link { justify-content: center; }
.pt-due .act .pt-pay-how { max-width: 340px; margin-inline: auto; }   /* the contact hand-off's longer line wraps, so the amount keeps its room */
@media (max-width: 640px) { .pt-due-body { grid-template-columns: minmax(0, 1fr); } .pt-due .act { min-width: 0; } }
.pt-chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border: 1px solid #E5E7EB; border-radius: 999px; background: #F3F4F6; color: var(--pt-label); font-size: 13px; font-weight: 700; }
.pt-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pt-chip.t-amber { background: #FFF7ED; color: #9A3412; border-color: #FED7AA; }
.pt-chip.t-blue { background: #EFF6FF; color: #1D4ED8; border-color: #BFDBFE; }
.pt-chip.t-green { background: #F0FDF4; color: #166534; border-color: #BBF7D0; }
.pt-pending { margin-top: 16px; }
.pt-loan + .pt-loan { margin-top: 40px; padding-top: 36px; border-top: 1px dashed #CBD5E1; }
/* your loan application (26 Sep 2026): the loan card's layout, above the loans */
.pt-app + .pt-app, .pt-app + .pt-loan { margin-top: 32px; }
.pt-none .pt-app-note { color: var(--pt-label); font-weight: 600; }
.pt-loan > .mt-16 { margin-top: 20px; }

/* the clean white cards below the summary: details, the sum, the schedule, the payments */
.pt-card { border: 1px solid var(--pt-rule); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 30px -24px rgba(15, 23, 42, .3); }
.pt-card + .pt-card { margin-top: 20px; }
.pt-card-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; padding: 22px 24px 0; }
body.pt .pt-card-h h2 { margin: 0; font-size: 18px; font-weight: 700; color: #1F2937; }
.pt-card-h .sub { font-size: 13px; color: var(--pt-grey); }
.pt-card-b { padding: 14px 24px 24px; }
.pt-card-b > :last-child { margin-bottom: 0; }
.pt-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 20px; }
.pt-grid > .pt-card + .pt-card { margin-top: 0; }
@media (max-width: 820px) { .pt-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .pt-card-h { padding: 18px 18px 0; } .pt-card-b { padding: 12px 18px 20px; } }

.pt-kv { display: flex; flex-direction: column; margin: 0; }
.pt-kv > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--pt-rule); }
.pt-kv > div:last-child { border-bottom: 0; }
.pt-kv dt { font-size: 14px; color: var(--pt-grey); }
.pt-kv dd { margin: 0; font-size: 15px; font-weight: 700; text-align: right; overflow-wrap: anywhere; color: var(--er-ink); }
.pt-kv .total dt { font-weight: 700; color: var(--er-ink); }
.pt-kv .total dd { font-size: 16px; }
.pt-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 0; margin: 0; font-size: 14px; }
.pt-sum dt { padding-right: 12px; color: var(--pt-label); }
.pt-sum dt small { display: block; font-size: 12.5px; color: var(--pt-grey); }
.pt-sum dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.pt-sum .sep { margin-top: 2px; padding-top: 8px; border-top: 1px solid var(--pt-rule); }
.pt-sum .strong { font-weight: 800; color: var(--er-ink); }
.pt-facts { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; font-size: 14px; color: var(--pt-label); }
.pt-facts li { display: flex; gap: 10px; align-items: flex-start; }
.pt-facts .ic { margin-top: 3px; color: var(--er-primary-dk); }

/* tables that turn into labelled rows on a phone */
.pt-tw { overflow: hidden; border: 1px solid var(--pt-rule); border-radius: 12px; }
.pt-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pt-table th { padding: 10px 12px; border-bottom: 1px solid var(--pt-rule); background: #F9FAFB; font-size: 12px; font-weight: 700; color: var(--pt-grey); text-align: left; }
.pt-table td { padding: 12px; border-bottom: 1px solid #F1F5F9; vertical-align: top; }
.pt-table tbody tr:last-child td { border-bottom: 0; }
.pt-table .num { text-align: right; white-space: nowrap; }
.pt-table .sub { display: block; font-size: 12.5px; font-weight: 500; color: var(--pt-grey); }
@media (max-width: 700px) {
  .pt-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .pt-table, .pt-table tbody, .pt-table tr, .pt-table td { display: block; width: 100%; }
  .pt-table tr { padding: 6px 14px; border-bottom: 1px solid var(--pt-rule); }
  .pt-table tbody tr:last-child { border-bottom: 0; }
  .pt-table td { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 6px 0; border: 0; text-align: right; }
  .pt-table td::before { content: attr(data-label); flex: 0 0 auto; max-width: 50%; font-size: 13px; font-weight: 600; color: var(--pt-grey); text-align: left; }
  .pt-table .num { white-space: normal; }
  .pt-table td > * { min-width: 0; }
  .pt-table .pt-state { white-space: normal; text-align: left; }
}
.pt-state { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pt-state.t-green { background: #F0FDF4; color: #166534; }
.pt-state.t-blue { background: #EFF6FF; color: #1D4ED8; }
.pt-empty { padding: 24px 16px; text-align: center; color: var(--pt-grey); }

.pt-none { text-align: center; }
body.pt .pt-none h2 { margin: 4px 0 0; font-size: 22px; font-weight: 800; color: var(--er-ink); }
.pt-none p { max-width: 52ch; margin: 10px auto 0; color: var(--pt-grey); }
.pt-none .btn-row { justify-content: center; margin-top: 20px; }
.pt-contact { max-width: 420px; margin: 18px auto 0; text-align: left; }
/* the re-loan card (30 Sep 2026): the "no open loan" panel's frame, with the limits as a key-value list */
.pt-reloan { text-align: center; }
.pt-rl-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pt-rl-chips:empty { display: none; }
body.pt .pt-reloan h2 { margin: 12px 0 0; font-size: 22px; font-weight: 800; line-height: 1.3; color: var(--er-ink); }
.pt-reloan p { max-width: 52ch; margin: 10px auto 0; color: var(--pt-grey); }
.pt-rl-kv { max-width: 420px; margin: 18px auto 0; padding: 4px 16px; border: 1px solid var(--pt-rule); border-radius: 12px; background: #F9FAFB; text-align: left; }
.pt-rl-kv .total dd { color: #166534; font-size: 17px; }
.pt-reloan .pt-rl-how { color: var(--pt-label); font-weight: 600; }
.pt-reloan .pt-rl-small { font-size: 13.5px; }
.pt-reloan .btn-row { justify-content: center; margin-top: 20px; }
/* the PAN first (29 Oct 2026), in the same frame, before the re-loan card */
.pt-rl-pan { text-align: center; }
body.pt .pt-rl-pan h2 { margin: 4px 0 0; font-size: 22px; font-weight: 800; line-height: 1.3; color: var(--er-ink); }
.pt-rl-pan p { max-width: 52ch; margin: 10px auto 0; color: var(--pt-grey); }
.pt-rl-pan form { max-width: 360px; margin: 18px auto 0; text-align: left; }
.pt-rl-pan .input { text-transform: uppercase; letter-spacing: .06em; }
.pt-rl-pan .btn-row { justify-content: center; margin-top: 16px; }
.pt-rlp-again { margin: 10px 0 0; text-align: center; color: var(--pt-grey); }
.pt-rl-sim { border-top-color: #FDBA74; background: #FFFBEB; }
body.pt .pt-rl-sim h2 { margin: 0; font-size: 15px; }
.pt-rl-sim p { margin: 10px 0 0; color: #78350F; font-size: 14px; }
.pt-rl-sims { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
@media (max-width: 420px) { .pt-rl-sims li { flex: 1 1 calc(50% - 8px); } .pt-rl-sims .btn { width: 100%; justify-content: center; } }

/* ---------- pay ---------- */
.pt-steps-sm { display: flex; flex-direction: column; gap: 20px; }
.pt-pay fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.pt-pay legend { margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 600; color: var(--pt-label); }
.pt-pay .choice { align-items: flex-start; }
.pt-pay .choice .mark { margin-top: 2px; }
.pt-pay .choice .grow { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.pt-pay .choice .amt { font-weight: 800; }
.pt-part { max-width: 300px; margin: 12px 0 0 34px; }
@media (max-width: 420px) { .pt-part { max-width: none; margin-left: 0; } }
.pt-payee { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--pt-rule); border-radius: 12px; background: #F8FAFC; font-size: 14px; line-height: 1.6; color: var(--pt-label); }
.pt-payee .ic { margin-top: 3px; color: #C2410C; }
.pt-payee p { margin: 0 0 6px; }
.pt-payee p:last-child { margin: 0; }
/* the hand-off to the gateway: the amount and the payee the server named */
.pt-handoff { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; padding: 16px; border: 1px solid #FED7AA; border-radius: 12px; background: #FFF7ED; font-size: 14px; color: var(--er-ink); }
.pt-handoff .ic { margin-top: 3px; color: #C2410C; }
.pt-handoff p { margin: 0 0 4px; }
.pt-handoff p:last-child { margin: 0; }
.pt-back { margin: 16px 0 24px; text-align: center; }

/* ---------- payment status ---------- */
.pt-result { padding: 8px 0 4px; text-align: center; }
.pt-result .oi { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #F1F5F9; color: #475569; }
.pt-result.green .oi { background: #DCFCE7; color: #15803D; }
.pt-result.amber .oi { background: #FFEDD5; color: #C2410C; }
.pt-result.blue .oi { background: #FFF7ED; color: var(--er-amber); }
body.pt .pt-result h1 { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.25; color: var(--er-ink); }
.pt-result p { max-width: 46ch; margin: 10px auto 0; font-size: 15px; color: #4B5563; }
.pt-result .pt-kv { max-width: 380px; margin: 18px auto 0; text-align: left; }
.pt-result .btn-row { justify-content: center; margin-top: 22px; }
.pt-result p.pt-result-more { margin-top: 16px; font-size: 13px; color: var(--pt-grey); }
body.pt .pt-result a:not(.btn) { font-weight: 700; }
#st + .pt-ask { margin-top: 32px; }

/* ---------- the checkout step (stub-checkout.html, stub mode only) ---------- */
/* testing marks on: the labelled Preview page, deliberately unlike a payment page */
.pt-sim { padding: 22px; border: 2px dashed #F59E0B; border-radius: 16px; background: #FFFBEB; }
body.pt .pt-sim h1 { margin: 0 0 8px; font-size: 22px; color: #7C2D12; }
.pt-sim p { color: #78350F; }
.pt-sim .pt-kv { margin: 14px 0; padding: 4px 14px; border: 1px solid #FDE68A; border-radius: 10px; background: #fff; }
.pt-sim .btn-row { flex-direction: column; align-items: stretch; }
@media (min-width: 560px) { .pt-sim .btn-row { flex-direction: row; } }
/* testing marks off: a plain payment step in the portal's own card. It copies no payment gateway's
   name, logo or look, and asks for no card, UPI or bank details. */
body.pt .pt-checkout .pt-panel-h h1 { font-size: 20px; }
.pt-checkout .pt-kv { margin: 0 0 20px; }
.pt-checkout .pt-kv .total dd { font-size: 22px; font-variant-numeric: tabular-nums; }
.pt-checkout-go { display: flex; flex-direction: column; gap: 12px; }

@media print {
  .er-preview, .er-header, .er-footer, .skip-link, .pt-ask, .pt-onpage { display: none; }
  .pt-top, .pt-pagehead { background: none; color: #000; }
  body.pt .pt-top-h, body.pt .pt-pagehead h1, .pt-pagehead p { color: #000; }
}
/* aa.html (5 Oct 2026): the short form (the bank's mobile, the bank, the consent, one button) */
#f-aa { display: flex; flex-direction: column; gap: 14px; }
.pt-aa-h { font-size: 22px; margin: 0 0 14px; }
.pt-aa-alt { margin: 0; text-align: center; font-size: 13.5px; color: var(--muted); }

/* 9 Oct 2026 (the owner: "Show it on the dashboard"): the credit score on the application card (page-dashboard.js scoreBlock) */
.pt-score { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--er-line); }
.pt-score-g { position: relative; flex: 0 0 auto; width: 180px; }
.pt-score-g svg { display: block; width: 100%; height: auto; }
.pt-score-g .g-track, .pt-score-g .g-fill { fill: none; stroke-width: 20; stroke-linecap: round; }
.pt-score-g .g-track { stroke: #E6EAE7; }
.pt-score-g b { position: absolute; left: 0; right: 0; top: 42%; font-size: 36px; font-weight: 800; line-height: 1; text-align: center; color: var(--er-ink); font-variant-numeric: tabular-nums; }
.pt-score-t { flex: 1 1 220px; min-width: 0; }
.pt-score-t :is(h2, h3) { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--er-ink); }
.pt-score-t p { max-width: 60ch; margin: 0; font-size: 14px; line-height: 1.5; color: var(--pt-grey); }
@media (max-width: 480px) { .pt-score { justify-content: center; text-align: center; } }

/* ---------- 10 Oct 2026 (the owner's sample dashboard): an open application as its loan journey, its sections and the
   customer's answers, with the status, the credit score and the team to call beside them (page-dashboard.js appBlock) */
.pt-app-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 20px; align-items: start; }
.pt-app-main > .pt-panel + .pt-panel, .pt-app-side > .pt-panel + .pt-panel { margin-top: 20px; }
@media (max-width: 960px) { .pt-app-grid { grid-template-columns: minmax(0, 1fr); } }
/* 11 Oct 2026 (the owner: "fill this"): at the wider page the side column takes about 37%, and the sections go 3 across */
@media (min-width: 961px) { body.cx-app .pt-app-grid { grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); } }
@media (min-width: 1100px) { body.cx-app .pt-sec-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body.pt .pt-ph-h { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: #1F2937; }
.pt-journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 22px 0 14px; padding: 0; list-style: none; position: relative; }
.pt-journey::before { content: ''; position: absolute; left: 10%; right: 10%; top: 23px; height: 2px; background: #E6E7EA; }
.pt-js { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.pt-js-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid #E1E3E8; color: #9AA0A8; }
.pt-js.is-done .pt-js-dot { background: #1F9D55; border-color: #1F9D55; color: #fff; box-shadow: 0 0 0 5px rgba(31, 157, 85, .14); }
.pt-js.is-current .pt-js-dot, .pt-js.is-blocked .pt-js-dot { background: var(--er-primary, #FE512F); border-color: var(--er-primary, #FE512F); color: #fff; box-shadow: 0 0 0 5px rgba(254, 81, 47, .16); }
.pt-js-t { font-size: 13.5px; font-weight: 700; color: var(--er-ink, #121212); line-height: 1.3; }
.pt-js-s { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #9AA0A8; }
.pt-js.is-done .pt-js-s { color: #1F7A45; }
.pt-js.is-current .pt-js-s, .pt-js.is-blocked .pt-js-s { color: var(--er-primary-dk, #C2410C); }
.pt-jbar { height: 8px; margin: 4px 0 18px; border-radius: 99px; background: #EEF0F3; overflow: hidden; }
.pt-jbar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--er-primary, #FE512F), #FF8A5B); }
.pt-jbar-0 { width: 0%; }
.pt-jbar-5 { width: 5%; }
.pt-jbar-10 { width: 10%; }
.pt-jbar-15 { width: 15%; }
.pt-jbar-20 { width: 20%; }
.pt-jbar-25 { width: 25%; }
.pt-jbar-30 { width: 30%; }
.pt-jbar-35 { width: 35%; }
.pt-jbar-40 { width: 40%; }
.pt-jbar-45 { width: 45%; }
.pt-jbar-50 { width: 50%; }
.pt-jbar-55 { width: 55%; }
.pt-jbar-60 { width: 60%; }
.pt-jbar-65 { width: 65%; }
.pt-jbar-70 { width: 70%; }
.pt-jbar-75 { width: 75%; }
.pt-jbar-80 { width: 80%; }
.pt-jbar-85 { width: 85%; }
.pt-jbar-90 { width: 90%; }
.pt-jbar-95 { width: 95%; }
.pt-jbar-100 { width: 100%; }
@media (max-width: 560px) {
  .pt-journey { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pt-journey::before { left: 23px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .pt-js { flex-direction: row; text-align: left; gap: 12px; }
  .pt-js-s { margin-left: auto; }
}
.pt-sec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.pt-sec { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #ECEDEF; border-radius: 12px; background: #FAFAFB; font-weight: 600; color: var(--er-ink, #121212); }
.pt-sec .ic { color: #9AA0A8; flex: 0 0 auto; }
.pt-sec.is-done .ic { color: #1F9D55; }
.pt-sec .pt-chip { margin-left: auto; white-space: nowrap; flex: 0 0 auto; }
.pt-sec > span { min-width: 0; }
@media (max-width: 560px) { .pt-sec-list { grid-template-columns: minmax(0, 1fr); } }
.pt-ans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 14px 0; }
.pt-ans dt { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8A9099; }
.pt-ans dd { margin: 3px 0 0; font-weight: 600; color: var(--er-ink, #121212); }
.pt-answers .pt-small .ic { vertical-align: -2px; }
.pt-stat { text-align: center; }
.pt-stat-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 10px; border-radius: 50%; background: #FFF4E5; color: #C27500; }
.pt-stat.is-ok .pt-stat-ic { background: #E8F6EE; color: #1F7A45; }
body.pt .pt-stat h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: #B45309; }
body.pt .pt-stat.is-ok h2 { color: #1F7A45; }
.pt-stat p { margin: 0; color: #4B5563; }
.pt-team-who { display: flex; align-items: center; gap: 12px; margin: 12px 0; padding: 12px; border-radius: 12px; background: #F7F7F8; }
.pt-team-who b { display: block; }
.pt-team-av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--er-primary, #FE512F); color: #fff; flex: 0 0 auto; }
.pt-team-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-top: 1px solid #EFF0F2; }
.pt-team-row span { color: #6B7280; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.pt-team-row a { font-weight: 700; overflow-wrap: anywhere; }
.pt-score-p .pt-score { margin: 0; padding: 0; border: 0; }
/* 19 Oct 2026 (the owner): with no open application, the last score in one panel first on the page */
.pt-score-top { margin-bottom: 20px; }
