/* Loan Calculator (namespaced .lc-*) */
.lc-term { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lc-term input { flex: 1 1 70px; min-width: 70px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--field); border-radius: 10px; background: var(--surface); font-weight: 500; font-size: 15px; }
.lc-term .seg button { min-height: 36px; padding: 0 12px; }
.lc-label { font-weight: 600; font-size: 14px; }
.lc-summary { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.lc-big { flex: 2 1 280px; min-width: 0; }
.lc-big span { font-weight: 600; opacity: .9; }
.lc-big b { overflow-wrap: anywhere; }
.lc-big small { font-size: 14px; opacity: .9; }
.lc-stats { flex: 3 1 300px; min-width: 0; }
.lc-stats .stat b { font-size: 22px; overflow-wrap: anywhere; }
.lc-stats .stat span { display: block; font-weight: 600; }
.lc-stats .stat small { color: var(--faint); font-size: 12px; }
.lc-split { margin-top: 16px; }
.lc-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--soft); }
.lc-bar-p { background: var(--cat); }
.lc-bar-i { background: var(--yellow); }
.lc-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.lc-legend b { color: var(--ink); }
.lc-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.lc-dot-p { background: var(--cat); }
.lc-dot-i { background: var(--yellow); }
[dir="rtl"] .lc-dot { margin-right: 0; margin-left: 6px; }
.lc-title { margin: 10px 0 4px; font-family: var(--display); font-size: 20px; }
.lc-hint { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.lc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lc-table td, .lc-table th { white-space: nowrap; }
.lc-actions { margin-top: 0; }
