:root {
  --lc-navy: #0d2a52;
  --lc-teal: #078c86;
  --lc-gold: #d99b27;
  --lc-ink: #1d2b3a;
  --lc-muted: #5e6b78;
  --lc-line: #dbe3ea;
  --lc-surface: #ffffff;
  --lc-soft: #f5f8fa;
}

* { box-sizing: border-box; }

body { color: var(--lc-ink); background: #fff; }

.lender-page {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 68px;
  overflow: clip;
}

.lender-page__eyebrow {
  margin: 0 0 8px;
  color: var(--lc-teal);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lender-page h1 {
  max-width: 760px;
  margin: 0;
  color: var(--lc-navy);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
}

.lender-page__intro {
  max-width: 760px;
  margin: 14px 0 28px;
  color: var(--lc-muted);
  line-height: 1.65;
}

.lc-root { min-width: 0; }

.lc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin: 0 0 18px;
}

.lc-count {
  margin: 0;
  color: var(--lc-muted);
  font-size: .94rem;
  font-weight: 700;
}

.lc-compare,
.lc-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--lc-teal);
  color: #fff;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.lc-compare { padding: 9px 16px; cursor: pointer; }
.lc-apply { padding: 9px 12px; font-size: .8rem; }
.lc-compare:hover,
.lc-apply:hover { background: #06766f; transform: translateY(-1px); }
.lc-compare:active,
.lc-apply:active { transform: translateY(0); }
.lc-compare:focus-visible,
.lc-apply:focus-visible,
.lc-choice input:focus-visible {
  outline: 3px solid rgba(217, 155, 39, .75);
  outline-offset: 3px;
}

.lc-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--lc-line);
  border-radius: 14px;
  background: var(--lc-surface);
  box-shadow: 0 8px 24px rgba(13, 42, 82, .06);
}

.lc-scroll table {
  width: 100%;
  min-width: 1160px;
  border-collapse: collapse;
  table-layout: fixed;
}

.lc-col-lender { width: 18%; }
.lc-col-loan { width: 12%; }
.lc-col-rates { width: 15%; }
.lc-col-terms { width: 22%; }
.lc-col-compare { width: 8%; }
.lc-col-action { width: 12%; }

.lc-scroll th {
  padding: 13px 10px;
  border-bottom: 1px solid #102d55;
  background: var(--lc-navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.25;
  text-align: left;
  vertical-align: middle;
}

.lc-scroll th:first-child { border-radius: 13px 0 0 0; padding-left: 14px; }
.lc-scroll th:last-child { border-radius: 0 13px 0 0; text-align: center; padding-right: 14px; }
.lc-scroll th:nth-last-child(2) { text-align: center; }

.lc-scroll td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--lc-line);
  color: var(--lc-ink);
  font-size: .82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  vertical-align: middle;
}

.lc-scroll td:first-child { padding-left: 14px; }
.lc-scroll td:last-child { padding-right: 14px; text-align: center; }
.lc-scroll tr:last-child td { border-bottom: 0; }
.lc-scroll tbody tr { transition: background-color .16s ease; }
.lc-scroll tbody tr:hover { background: #f8fbfc; }

.lc-lender {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.lc-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
  border: 1px solid var(--lc-line);
  border-radius: 8px;
  background: #fff;
}

.lc-lender strong { display: block; color: var(--lc-navy); font-size: .86rem; line-height: 1.3; }
.lc-category { display: block; margin-top: 3px; color: var(--lc-muted); font-size: .7rem; font-weight: 700; }

.lc-value { font-weight: 700; }
.lc-rate-list { display: grid; gap: 5px; margin: 0; }
.lc-terms { display: grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 12px; margin:0; }
.lc-rate-list span,
.lc-terms > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}
.lc-rate-list small,
.lc-terms dt { color: var(--lc-muted); font-size: .67rem; font-weight: 700; }
.lc-rate-list b,
.lc-terms dd { margin: 0; color: var(--lc-ink); font-size: .76rem; font-weight: 700; text-align: right; }
.lc-terms > div { display:block; min-width:0; }
.lc-terms dd { margin-top:3px; overflow-wrap:anywhere; text-align:left; }

.lc-choice { display: inline-flex; align-items: center; justify-content: center; }
.lc-choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--lc-teal); cursor: pointer; }

.lc-comparison { margin-top: 26px; }
.lc-comparison h2 { margin: 0 0 12px; color: var(--lc-navy); font-size: 1.25rem; }
.lc-empty { margin: 0; color: var(--lc-muted); }
.lc-compare-table { width: 100%; border-collapse: collapse; background: #fff; }
.lc-compare-table th,
.lc-compare-table td { padding: 11px; border: 1px solid var(--lc-line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.lc-compare-table th { color: #fff; background: var(--lc-navy); }

@media (max-width: 1120px) {
  .lender-page { width: min(100% - 36px, 1040px); }
  .lc-scroll th { padding: 12px 7px; font-size: .67rem; }
  .lc-scroll td { padding: 12px 7px; font-size: .77rem; }
  .lc-scroll td:first-child { padding-left: 10px; }
  .lc-scroll td:last-child { padding-right: 10px; }
  .lc-logo { width: 30px; height: 30px; }
  .lc-lender strong { font-size: .8rem; }
  .lc-apply { padding: 8px 9px; font-size: .73rem; }
}

@media (max-width: 900px) {
  .lender-page { width: min(100% - 32px, 760px); padding-top: 30px; }
  .lc-toolbar { align-items: stretch; }
  .lc-compare { width: 100%; }
  .lc-scroll { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .lc-scroll table,
  .lc-scroll tbody,
  .lc-scroll tr,
  .lc-scroll td { display: block; width: 100%; }
  .lc-scroll table { min-width: 0; }
  .lc-scroll table { border-collapse: separate; border-spacing: 0 14px; }
  .lc-scroll thead { display: none; }
  .lc-scroll tbody tr {
    overflow: hidden;
    border: 1px solid var(--lc-line);
    border-radius: 13px;
    background: var(--lc-surface);
    box-shadow: 0 5px 16px rgba(13, 42, 82, .05);
  }
  .lc-scroll tbody tr:hover { background: var(--lc-surface); }
  .lc-scroll td {
    display: grid;
    grid-template-columns: minmax(118px, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 12px;
    min-height: 45px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--lc-line);
    font-size: .88rem;
    text-align: right;
  }
  .lc-scroll td:first-child { padding: 14px; }
  .lc-scroll td:last-child { padding: 12px 14px; border-bottom: 0; text-align: right; }
  .lc-scroll td::before {
    content: attr(data-label);
    color: var(--lc-muted);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-align: left;
  }
  .lc-scroll td[data-label="Lender"] { display: block; }
  .lc-scroll td[data-label="Lender"]::before { display: none; }
  .lc-lender { justify-content: flex-start; text-align: left; }
  .lc-lender strong { font-size: .96rem; }
  .lc-category { font-size: .73rem; }
  .lc-rate-list,
  .lc-terms { justify-self: stretch; text-align: right; }
  .lc-choice { justify-self: end; }
  .lc-apply { justify-self: end; min-width: 126px; font-size: .8rem; }
  .lc-comparison { overflow: hidden; }
}

@media (max-width: 520px) {
  .lender-page { width: min(100% - 24px, 520px); padding: 25px 0 50px; }
  .lender-page__intro { margin-bottom: 22px; }
  .lc-toolbar { gap: 10px; margin-bottom: 12px; }
  .lc-scroll table { border-spacing: 0 12px; }
  .lc-scroll td {
    grid-template-columns: minmax(96px, .82fr) minmax(0, 1.18fr);
    gap: 8px;
    padding: 10px 12px;
  }
  .lc-scroll td:first-child { padding: 13px 12px; }
  .lc-scroll td:last-child { padding: 11px 12px; }
  .lc-rate-list small,
  .lc-terms dt { font-size: .63rem; }
  .lc-rate-list b,
  .lc-terms dd { font-size: .73rem; }
  .lc-compare-table th,
  .lc-compare-table td { padding: 9px; font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lc-compare,
  .lc-apply,
.lc-scroll tbody tr { transition: none; }
}
@media(min-width:641px) and (max-width:900px){.lc-scroll table{display:table!important;border-collapse:collapse!important;border-spacing:0!important}.lc-scroll thead{display:table-header-group!important}.lc-scroll tbody{display:table-row-group!important}.lc-scroll tr{display:table-row!important;border:0!important;border-radius:0!important;box-shadow:none!important}.lc-scroll td{display:table-cell!important;width:auto!important;min-height:0!important;text-align:left!important}.lc-scroll td::before{display:none!important}.lc-scroll td:last-child,.lc-scroll td:nth-last-child(2){text-align:center!important}.lc-scroll td[data-label="Lender"]{display:table-cell!important}.lc-scroll .lc-rate-list,.lc-scroll .lc-terms{justify-self:auto!important;text-align:left!important}.lc-scroll .lc-choice,.lc-scroll .lc-apply{justify-self:auto!important}}

/* Compact scan-first presentation for the Compare All directory only. */
.lc-compare-directory .lc-toolbar{border:0;background:transparent;box-shadow:none;padding:4px 0 18px}.lc-compare-directory .lc-count{color:#48688d!important;font-size:.84rem!important}.lc-compare-directory .lc-count span{display:inline;background:transparent;color:inherit;margin:0}.lc-compare-directory .lc-scroll table{min-width:980px!important}.lc-compare-directory .lc-col-lender{width:14%!important}.lc-compare-directory .lc-col-loan,.lc-compare-directory .lc-col-rates,.lc-compare-directory .lc-col-terms{width:14%!important}.lc-compare-directory .lc-col-compare{width:14%!important}.lc-compare-directory .lc-col-action{width:16%!important}.lc-compare-directory .lc-scroll td{height:80px;padding:14px 12px!important}.lc-compare-directory .lc-lender{min-height:52px!important;gap:10px!important}.lc-compare-directory .lc-lender .lc-badge{width:46px!important;height:46px!important;min-width:46px!important;flex-basis:46px!important;padding:5px!important;border-radius:10px!important}.lc-compare-directory .lc-lender strong{font-size:.81rem!important;font-weight:850!important}.lc-compare-directory .lc-category{display:inline-flex;margin-top:5px!important;border-radius:999px;background:#e7f6f1;padding:3px 6px;color:#08786e;font-size:.58rem!important;font-weight:900!important;letter-spacing:.025em}.lc-single-rate{color:#007c70!important;font-weight:850!important;white-space:nowrap}.lc-compare-directory .lc-choice{width:auto;height:auto}.lc-compare-directory .lc-choice input{width:16px!important;height:16px!important}.lc-compare-directory .lc-apply{min-width:96px;min-height:36px!important;border-radius:8px!important;padding:8px 11px!important;font-size:.72rem!important}@media(max-width:640px){.lc-compare-directory .lc-toolbar{padding:0 0 14px}.lc-compare-directory .lc-scroll table{min-width:0!important}.lc-compare-directory .lc-scroll td{height:auto}.lc-compare-directory .lc-single-rate{white-space:normal}.lc-compare-directory .lc-lender .lc-badge{width:48px!important;height:48px!important;min-width:48px!important}}

.lc-scroll .lc-badge.lender-logo-fallback{display:grid!important;place-items:center;padding:0!important;background:#e7f6f1!important;color:#08786e!important;font:900 .67rem Inter,system-ui,sans-serif!important;letter-spacing:.04em}.lc-compare-directory .lc-scroll tbody tr{transition:background-color .18s ease}.lc-compare-directory .lc-scroll tbody tr:nth-child(even){background:#fbfcfd}.lc-compare-directory .lc-scroll tbody tr:hover{background:#f1faf8!important}.lc-compare-directory .lc-scroll td{border-color:#dce6e9!important}.lc-compare-directory .lc-single-rate{font-variant-numeric:tabular-nums}.lc-compare-directory .lc-choice{display:inline-grid;place-items:center;min-width:42px;min-height:42px;border-radius:8px}.lc-compare-directory .lc-choice:hover{background:#e7f6f1}.lc-compare-directory .lc-choice input:focus-visible{outline:3px solid #f5b91d;outline-offset:3px}.lc-compare-directory .lc-apply:focus-visible,.lc-compare-directory .lc-lender:focus-within{outline:3px solid #f5b91d;outline-offset:3px}

/* Dense comparison values are deliberately self-contained, so their rhythm
   remains consistent even when an individual lender has a longer value. */
.lc-scroll td[data-label="Interest rates"],.lc-scroll td[data-label="Repayment and fees"]{vertical-align:middle}.lc-rate-list{gap:0!important;border:1px solid #e3ecee;border-radius:9px;background:#fbfdfd;overflow:hidden}.lc-rate-list span{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin:0!important;padding:10px 11px!important;border:0!important}.lc-rate-list span+span{border-top:1px solid #e3ecee!important}.lc-rate-list small{display:inline-flex;width:max-content;align-items:center;border-radius:999px;background:#e7f6f1;padding:3px 6px;color:#08786e!important;font-size:.61rem!important;font-weight:850!important;letter-spacing:.025em}.lc-rate-list b{min-width:0;color:#102a52!important;font-size:.8rem!important;font-weight:850!important;text-align:right;white-space:normal!important;overflow-wrap:anywhere}.lc-terms{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0!important;overflow:hidden;border:1px solid #e3ecee;border-radius:9px;background:#fbfdfd}.lc-terms>div{min-height:57px;padding:9px 10px!important}.lc-terms>div:nth-child(odd){border-right:1px solid #e3ecee}.lc-terms>div:nth-child(-n+2){border-bottom:1px solid #e3ecee}.lc-terms dt{margin:0;color:#718699!important;font-size:.61rem!important;font-weight:800!important;letter-spacing:.025em;line-height:1.25;text-transform:uppercase}.lc-terms dd{margin:5px 0 0!important;color:#173753!important;font-size:.75rem!important;font-weight:850!important;line-height:1.3;overflow-wrap:anywhere;text-align:left!important}.lc-scroll tbody tr:hover .lc-rate-list,.lc-scroll tbody tr:hover .lc-terms{border-color:#bcded9;background:#f8fcfb}@media(max-width:640px){.lc-rate-list span{padding:9px 10px!important}.lc-rate-list b{font-size:.78rem!important}.lc-terms>div{min-height:54px;padding:8px 9px!important}.lc-terms dd{font-size:.73rem!important}.lc-scroll td[data-label="Interest rates"],.lc-scroll td[data-label="Repayment and fees"]{align-items:stretch}.lc-scroll td[data-label="Interest rates"] .lc-rate-list,.lc-scroll td[data-label="Repayment and fees"] .lc-terms{width:100%}}

/* Premium comparison-directory layout.  The legacy document supplies the data;
   these rules intentionally own only presentation and responsive behavior. */
.lc-page-shell{width:min(1280px,calc(100% - 48px));margin:0 auto;padding:34px 0 74px}.lc-page-shell .crumb{display:inline-flex;align-items:center;min-height:40px;color:#08786e;font:800 .84rem Inter,system-ui,sans-serif;text-decoration:none}.lc-page-shell .crumb:hover{text-decoration:underline}.lc-page-shell .hero{margin:12px 0 32px;padding:clamp(30px,5vw,54px);overflow:hidden;border:1px solid #d8e8e7;border-radius:22px;background:linear-gradient(125deg,#102a52,#17476d 65%,#08786e 150%);color:#fff;box-shadow:0 18px 42px #102a5217}.lc-page-shell .hero .ey,.directory-heading .ey{margin:0 0 10px;color:#8be4d1;font:850 .72rem Inter,system-ui,sans-serif;letter-spacing:.13em;text-transform:uppercase}.lc-page-shell .hero h1{max-width:690px;margin:0;font:800 clamp(2.05rem,4vw,3.5rem)/1.08 Inter,system-ui,sans-serif;letter-spacing:-.04em}.lc-page-shell .hero>p:last-child{max-width:660px;margin:17px 0 0;color:#dbeaf1;font:400 1rem/1.7 Inter,system-ui,sans-serif}.directory{margin:0}.directory-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:0 0 18px}.directory-heading .ey{color:#08786e}.directory-heading h2{margin:0;color:#102a52;font:800 clamp(1.45rem,2.8vw,2rem)/1.15 Inter,system-ui,sans-serif;letter-spacing:-.025em}.directory-heading>p{max-width:330px;margin:0;color:#647b8e;font:600 .82rem/1.55 Inter,system-ui,sans-serif}.directory>.lender-page{width:100%;margin:0;padding:0;overflow:visible}.directory .legal{margin:18px 0 0;color:#718698;font:600 .75rem/1.55 Inter,system-ui,sans-serif}.lc-tabs{display:flex!important;flex-wrap:wrap;gap:9px;margin:0 0 18px!important}.lc-tabs button{min-height:40px!important;border:1px solid #d5e2e4!important;border-radius:999px!important;background:#fff!important;padding:9px 15px!important;color:#45627a!important;font:800 .78rem Inter,system-ui,sans-serif!important;cursor:pointer;transition:border-color .18s,background .18s,color .18s,transform .18s}.lc-tabs button:hover{border-color:#66b8ae!important;background:#f0faf8!important;color:#08786e!important;transform:translateY(-1px)}.lc-tabs button.active{border-color:#08786e!important;background:#08786e!important;color:#fff!important}.lc-tabs button:focus-visible{outline:3px solid #f5b91d!important;outline-offset:3px}.lc-toolbar{margin:0 0 18px!important;border:1px solid #d8e5e5;border-radius:15px;background:#fff;padding:14px 16px 14px 18px;box-shadow:0 8px 22px #102a5209}.lc-count{color:#486277!important}.lc-count span{display:inline-grid;width:25px;height:25px;place-items:center;margin-right:4px;border-radius:50%;background:#e7f6f1;color:#08786e}.lc-compare{min-height:44px!important;border-radius:10px!important;padding:10px 17px!important}.lc-compare:disabled{background:#aec8c5!important;color:#eff8f6!important;cursor:not-allowed}.lc-scroll{overflow:auto!important;border-radius:15px!important;box-shadow:0 10px 30px #102a5210!important}.lc-scroll table{min-width:1200px!important;table-layout:fixed}.lc-col-lender{width:20%!important}.lc-col-loan{width:12%!important}.lc-col-rates{width:16%!important}.lc-col-terms{width:22%!important}.lc-col-compare{width:7%!important}.lc-col-action{width:11%!important}.lc-scroll th{position:sticky;top:0;z-index:2;padding:16px 13px!important;font-size:.68rem!important;letter-spacing:.055em;text-transform:uppercase}.lc-scroll td{padding:18px 13px!important;font-size:.82rem!important;line-height:1.45!important}.lc-scroll tbody tr:nth-child(even){background:#fbfcfd}.lc-scroll tbody tr:hover{background:#eff9f7!important}.lc-scroll th:first-child,.lc-scroll td:first-child{padding-left:18px!important}.lc-scroll th:nth-last-child(2),.lc-scroll th:last-child,.lc-scroll td:nth-last-child(2),.lc-scroll td:last-child{text-align:center}.lc-lender{min-height:66px!important;gap:12px!important}.lc-lender strong{font-size:.9rem!important}.lc-rate-list{gap:9px!important}.lc-rate-list span{padding-bottom:7px;border-bottom:1px solid #e6edef}.lc-rate-list span:last-child{padding-bottom:0;border-bottom:0}.lc-rate-list small,.lc-terms dt{font-size:.67rem!important;letter-spacing:.01em}.lc-rate-list b{font-size:.78rem!important;white-space:nowrap}.lc-terms{gap:11px 14px!important}.lc-terms dd{font-size:.76rem!important;line-height:1.35}.lc-choice{width:44px;height:44px}.lc-choice input{width:20px!important;height:20px!important}.lc-apply{min-width:118px;min-height:40px!important;border-radius:8px!important;white-space:nowrap}.lc-scroll:focus-visible{outline:3px solid #f5b91d;outline-offset:3px}@media(min-width:641px) and (max-width:1000px){.lc-scroll th:first-child,.lc-scroll td:first-child{position:sticky;left:0;z-index:1;background:#fff;box-shadow:8px 0 12px #102a5208}.lc-scroll th:first-child{z-index:3;background:#0d2a52}.lc-scroll tbody tr:nth-child(even) td:first-child{background:#fbfcfd}.lc-scroll tbody tr:hover td:first-child{background:#eff9f7}}@media(max-width:640px){.lc-page-shell{width:min(100% - 28px,560px);padding:18px 0 48px}.lc-page-shell .hero{margin:8px 0 24px;padding:28px 22px;border-radius:17px}.lc-page-shell .hero h1{font-size:2.05rem}.directory-heading{display:block;margin-bottom:16px}.directory-heading>p{margin-top:8px}.lc-toolbar{align-items:stretch!important;flex-direction:column;padding:14px!important}.lc-compare{width:100%}.lc-scroll{overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}.lc-scroll table{min-width:0!important}.lc-scroll th{position:static}.lc-scroll td{padding:11px 14px!important}.lc-scroll tbody tr{border-radius:15px!important}.lc-rate-list{gap:6px!important}.lc-terms{gap:8px 12px!important}.lc-choice{height:38px}.lc-apply{min-width:126px}.directory .legal{font-size:.72rem}}
