/* Laenkohe võrdlus – nimekiri (uus kujundus 2026-11). */
.lv-list { --lv-ink: #1E1841; --lv-muted: #4A5470; --lv-line: #E3E7EF; --lv-soft: #F4F6FA; --lv-teal: #0F5E73; --lv-teal-bg: #E2F3F6; --lv-go: #087A53; --lv-best: #FFF4B8; --lv-best-line: #E9DC8F; color: var(--lv-ink); margin: 0 0 32px; }
.lv-list .lv-wrap { max-width: 1140px; margin: 0 auto; padding: 0 15px; display: flex; flex-direction: column; gap: 14px; }
.lv-list *, .lv-list *::before, .lv-list *::after { box-sizing: border-box; }
.lv-list svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Filtririba */
.lv-bar { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--lv-line); border-radius: 14px; padding: 6px; white-space: nowrap; flex-wrap: wrap; }
.lv-basis { display: flex; align-items: center; gap: 12px; background: var(--lv-soft); border-radius: 10px; height: 40px; padding: 0 14px; font-size: 13px; color: var(--lv-muted); }
.lv-basis b { color: var(--lv-ink); font-weight: 600; font-size: 14px; margin-left: 4px; font-variant-numeric: tabular-nums; }
.lv-basis i { width: 1px; height: 18px; background: #CDD4E1; }
.lv-sep { width: 1px; height: 22px; background: var(--lv-line); margin: 0 4px; }
.lv-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--lv-muted); cursor: pointer; margin: 0; user-select: none; }
.lv-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lv-chip svg { width: 12px; height: 12px; stroke-width: 3; display: none; }
.lv-chip:hover { background: var(--lv-soft); }
.lv-chip:has(input:checked) { background: var(--lv-teal-bg); color: var(--lv-teal); }
.lv-chip:has(input:checked) svg { display: block; }
.lv-chip:has(input:focus-visible) { outline: 2px solid #3858e9; outline-offset: 2px; }
.lv-sort { margin: 0 0 0 auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--lv-muted); padding-right: 4px; }
.lv-sort select { font: inherit; font-size: 14px; font-weight: 600; color: var(--lv-ink); height: 40px; border: 1px solid var(--lv-line); border-radius: 10px; padding: 0 10px; background: #fff; }

/* Kaardid */
.lv-items { display: block; }
.lv-item { margin: 0; }
.lv-item + .lv-item { margin-top: 14px; }
.lv-item[hidden] { display: block; content-visibility: hidden; height: 0; overflow: hidden; margin: 0 !important; padding: 0; border: 0; }
.lv-item[hidden="until-found"] { display: block !important; }
.lv-item[style*="display: none"] { margin: 0; }
.lv-card { background: #fff; border: 1px solid var(--lv-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(30,24,65,.04), 0 8px 24px rgba(30,24,65,.05); overflow: hidden; }
.lv-card--best { border-color: var(--lv-best-line); }
.lv-best { display: flex; align-items: center; gap: 8px; background: var(--lv-best); padding: 9px 24px; font-size: 14px; font-weight: 600; }
.lv-best svg { width: 16px; height: 16px; stroke-width: 2.2; }
.lv-main { display: grid; grid-template-columns: 28px 168px minmax(0, 1fr) 184px; gap: 20px; align-items: center; padding: 20px 24px; }
.lv-pos { font-size: 20px; font-weight: 800; color: #9AA3B8; text-align: center; font-variant-numeric: tabular-nums; }
.lv-brand { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lv-logo { display: flex; align-items: center; height: 52px; max-width: 148px; }
.lv-logo img { max-width: 148px; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.lv-logo span { font-weight: 800; font-size: 17px; color: var(--lv-ink); }
.lv-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.lv-stars { color: #E6A100; letter-spacing: 1px; }
.lv-stars span { color: #D5DAE4; }
.lv-metrics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; margin: 0; white-space: nowrap; }
.lv-m { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lv-m dt { font-size: 12px; font-weight: 600; color: var(--lv-muted); text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.lv-m dd { margin: 0; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
.lv-m dd small { display: block; font-size: 12px; font-weight: 400; color: var(--lv-muted); }
.lv-m--cost dd b { display: block; font-size: 26px; font-weight: 800; line-height: 1.05; }
.lv-m--cost dd small { font-size: 13px; margin-top: 4px; }
.lv-cta { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.lv-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 12px; background: var(--lv-go); color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: 16px; border: 1.5px solid var(--lv-go); transition: background .15s; }
.lv-btn:hover { background: #06623F; border-color: #06623F; }
.lv-btn svg { width: 16px; height: 16px; }
.lv-btn--ghost { background: #fff; color: var(--lv-ink) !important; border-color: var(--lv-ink); }
.lv-btn--ghost:hover { background: var(--lv-soft); border-color: var(--lv-ink); }
.lv-note { font-size: 12px; color: var(--lv-muted); line-height: 1.3; }
.lv-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid #EEF1F6; padding: 11px 24px 11px 72px; }
.lv-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--lv-teal); background: var(--lv-teal-bg); padding: 5px 10px; border-radius: 999px; }
.lv-tag svg { width: 12px; height: 12px; stroke-width: 3; }
.lv-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--lv-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lv-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.lv-fold { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; background: #FAFBFD; border-top: 1px solid #EEF1F6; padding: 20px 24px 22px 72px; }
.lv-fold[hidden] { display: none; }
.lv-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; font-size: 14px; }
.lv-facts dt { color: var(--lv-muted); font-weight: 400; margin: 0; }
.lv-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.lv-fold-side { display: flex; flex-direction: column; gap: 12px; }
.lv-example { margin: 0; font-size: 13px; line-height: 1.55; color: var(--lv-muted); }
.lv-example b { color: var(--lv-ink); }
.lv-fold-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.lv-fold-links a { color: var(--lv-ink); }
.lv-more-wrap { display: flex; justify-content: center; }
.lv-more { height: 48px; padding: 0 24px; border-radius: 12px; border: 1px solid #CDD4E1; background: #fff; color: var(--lv-ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.lv-more[hidden] { display: none; }
.lv-empty { padding: 16px; text-align: center; }

@media (max-width: 991px) {
	.lv-main { grid-template-columns: 24px minmax(0, 1fr) 170px; grid-template-areas: "pos brand cta" "metrics metrics metrics"; row-gap: 16px; }
	.lv-pos { grid-area: pos; } .lv-brand { grid-area: brand; } .lv-cta { grid-area: cta; } .lv-metrics { grid-area: metrics; }
	.lv-foot, .lv-fold { padding-left: 24px; }
}
@media (max-width: 640px) {
	.lv-bar { white-space: normal; }
	.lv-sep { display: none; }
	.lv-basis { width: 100%; justify-content: center; }
	.lv-sort { margin-left: 0; width: 100%; justify-content: space-between; }
	.lv-main { grid-template-columns: 22px minmax(0, 1fr); grid-template-areas: "pos brand" "metrics metrics" "cta cta"; padding: 16px; gap: 14px; }
	.lv-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; white-space: normal; }
	.lv-m { background: var(--lv-soft); border-radius: 12px; padding: 10px 12px; }
	.lv-m--cost dd b { font-size: 22px; }
	.lv-foot { padding: 10px 16px; }
	.lv-fold { grid-template-columns: 1fr; padding: 16px; }
	.lv-best { padding: 8px 16px; }
}

/* Võrdlustabel, statistika, kalkulaator */
.lv-table-wrap { margin: 4px 0; }
.lv-table-wrap > summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.lv-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lv-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.lv-table th, .lv-table td { padding: 8px 10px; border-bottom: 1px solid #e5e5ea; text-align: left; vertical-align: top; }
.lv-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; opacity: .75; white-space: nowrap; }
.lv-table td:nth-child(n+2) { white-space: nowrap; }
.lv-lender-products td:last-child { white-space: normal; min-width: 16em; font-size: 13px; }
.lv-disclaimer { font-size: 12px; line-height: 1.55; color: #4A5470; margin: 0; text-align: center; }
.lv-stats { border-collapse: collapse; }
.lv-stats th, .lv-stats td { padding: 6px 12px 6px 0; text-align: left; }
/* Kalkulaator */
.lv-calc { --c-ink: #10231C; --c-text: #33463F; --c-muted: #52645D; --c-green: #0A6B4F; --c-soft: #F3F6F4; --c-line: #DDE3E0; background: #fff; border: 1px solid var(--c-line); border-radius: 18px; padding: 22px 24px; margin: 24px 0; color: var(--c-ink); }
.lv-calc *, .lv-calc *::before, .lv-calc *::after { box-sizing: border-box; }
.lv-calc-modes { display: flex; flex-wrap: wrap; gap: 4px 22px; border-bottom: 1px solid var(--c-line); margin: -4px 0 18px; }
.lv-calc-modes button { border: 0; background: none; padding: 10px 0; margin-bottom: -1px; border-bottom: 2px solid transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--c-muted); cursor: pointer; }
.lv-calc-modes button:hover { color: var(--c-ink); }
.lv-calc-modes button[aria-selected="true"] { color: var(--c-green); border-bottom-color: var(--c-green); }
.lv-calc-title { margin: 0 0 16px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--c-ink); }
.lv-calc-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.lv-calc-in { display: flex; flex-direction: column; gap: 14px; }
.lv-calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 14px; }
.lv-calc .lv-f { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--c-muted); margin: 0; }
.lv-calc .lv-f input, .lv-calc .lv-f select { width: 100%; height: 46px; border: 1px solid #CDD5D1; border-radius: 10px; padding: 0 12px; font: inherit; font-size: 17px; font-weight: 700; color: var(--c-ink); background: #fff; font-variant-numeric: tabular-nums; }
.lv-calc .lv-f select { font-size: 16px; font-weight: 600; }
.lv-calc .lv-f input[type="number"] { width: 100% !important; max-width: none !important; margin: 0 !important; }
.lv-calc-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--c-muted); }
.lv-calc-out { margin: 0; background: var(--c-soft); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.lv-calc-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--c-line); padding-top: 10px; }
.lv-calc-out .lv-o-main { flex-direction: column; align-items: flex-start; gap: 2px; border-top: 0; padding-top: 0; }
.lv-calc-out dt { font-size: 14px; color: var(--c-muted); font-weight: 500; }
.lv-calc-out dd { margin: 0; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lv-calc-out .lv-o-main dd { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.lv-calc-plan { margin-top: 18px; }
.lv-calc-plan summary { cursor: pointer; font-weight: 700; font-size: 16px; padding: 6px 0; }
.lv-calc-plan .lv-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; margin: 8px 0 0; }
.lv-calc-plan .lv-table th, .lv-calc-plan .lv-table td { text-align: right; padding: 8px 10px; border-bottom: 1px solid #E4E8E6; white-space: nowrap; }
.lv-calc-plan .lv-table th:first-child, .lv-calc-plan .lv-table td:first-child { text-align: left; }
.lv-calc-plan .lv-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-muted); font-weight: 600; }
.lv-calc-all { margin-top: 10px; border: 0; background: none; padding: 6px 0; font: inherit; font-size: 15px; font-weight: 700; color: var(--c-green); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.lv-calc .lv-disclaimer { font-size: 12px; line-height: 1.5; color: var(--c-muted); margin: 14px 0 0; }
.lv-calc .lv-only-liising, .lv-calc .lv-only-kodulaen, .lv-calc .lv-only-refinants, .lv-calc .lv-only-maksevoime { display: none; }
.lv-calc[data-mode="liising"] .lv-only-liising, .lv-calc[data-mode="refinants"] .lv-only-refinants, .lv-calc[data-mode="maksevoime"] .lv-only-maksevoime { display: flex; }
.lv-calc[data-mode="kodulaen"] p.lv-only-kodulaen, .lv-calc[data-mode="refinants"] p.lv-only-refinants { display: block; }
.lv-calc[data-mode="maksevoime"] .lv-not-maksevoime { display: none; }
@media (max-width: 760px) { .lv-calc { padding: 18px 16px; } .lv-calc-body { grid-template-columns: 1fr; } .lv-calc-modes { gap: 0 16px; } }
button:focus-visible, .lv-list a:focus-visible, .lv-calc input:focus-visible, .lv-sort select:focus-visible { outline: 2px solid #3858e9; outline-offset: 2px; }
