/* Lending module (loans, fixed deposits). */
.ln-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.ln-product { border: 1px solid #cbd7e2; border-radius: 4px; background: #fff; padding: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ln-product .hd { display: flex; align-items: center; gap: 10px; }
.ln-product .hd i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #eef6ff; color: #0a6fd2; font-size: 16px; flex: none; }
.ln-product .hd b { font-size: 14px; }
.ln-product .rate { font-size: 22px; font-weight: 800; color: #0b3a66; font-variant-numeric: tabular-nums; }
.ln-product .rate small { font-size: 12px; font-weight: 400; color: var(--muted); }
.ln-product p { margin: 0; color: var(--muted); font-size: 12.5px; }
.ln-product ul { margin: 0; padding: 0; list-style: none; font-size: 12px; display: grid; gap: 2px; }
.ln-product .ct-btn { margin-top: auto; }
.ln-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 10px 0; }
.ln-sum .ct-tile b { font-variant-numeric: tabular-nums; }
.ln-sum .ct-tile.hl { background: #eef6ff; border-color: #9cc6f2; }
.ln-cols { display: flex; align-items: flex-end; gap: 10px; height: 170px; padding-top: 10px; }
.ln-cols .m { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; min-width: 0; }
.ln-cols .pair { display: flex; gap: 3px; align-items: flex-end; height: 100%; width: 100%; justify-content: center; }
.ln-cols .pair span { width: 40%; max-width: 22px; border-radius: 2px 2px 0 0; min-height: 2px; }
.ln-cols .exp { background: #b9cde2; }
.ln-cols .act { background: linear-gradient(180deg, #2083ee, #0962d3); }
.ln-cols small { font-size: 10.5px; color: var(--muted); }
.ln-legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 8px; flex-wrap: wrap; }
.ln-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.ln-rates { font-variant-numeric: tabular-nums; }
.ln-rates td.best { color: var(--okFg); font-weight: 700; }
.ln-terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.ln-terms label { border: 1px solid #b9c8d6; border-radius: 4px; padding: 9px 10px; display: flex; gap: 8px; align-items: flex-start; cursor: pointer; background: #fff; }
.ln-terms label:has(input:checked) { border-color: #0a6fd2; background: #eef6ff; box-shadow: inset 0 0 0 1px #0a6fd2; }
.ln-terms input { margin-top: 2px; accent-color: #0a6fd2; }
.ln-terms b { display: block; font-size: 13px; }
.ln-terms small { color: var(--muted); font-size: 12px; }
.ln-note { white-space: pre-line; font-size: 13px; }
.ln-split { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 4px; }
tr.ln-overdue td { background: #fff5f5; }
tr.ln-paid td { color: var(--muted); }
@media (max-width: 600px) {
    .ln-cols { gap: 4px; }
    .ln-product .rate { font-size: 19px; }
}
