/* Loan calculator ([sl_loan_calc], inc/loan-calc.php). Loads only on a page that carries the shortcode.
 * Palette and type come from site.css tokens (--sl-*). Mobile first. */

.sl-calc { --sl-calc-line: rgba(7, 18, 14, .14); --sl-calc-soft: #DDF2E7; display: grid; gap: var(--sl-space-6); margin-top: var(--sl-space-4); font-variant-numeric: tabular-nums; }
.sl-calc :where(h3, p, dl, dd, figure, fieldset) { margin: 0; }
.sl-calc fieldset { border: 0; padding: 0; min-width: 0; }
.sl-calc__noscript { padding: var(--sl-space-3); border-radius: var(--sl-radius); background: var(--sl-mint); }

/* ---------- Main: inputs beside the answer ---------- */
.sl-calc__main { display: grid; gap: var(--sl-space-3); align-items: start; }
@media (min-width: 1024px) {
	.sl-calc__main { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sl-space-4); }
	.sl-calc__result { position: sticky; top: calc(var(--sl-header-h, 81px) + 20px); }
}
.sl-calc__inputs { display: grid; gap: var(--sl-space-3); padding: 22px; border-radius: 22px; background: var(--sl-mint); box-shadow: inset 0 0 0 1px rgba(0, 107, 96, .1); }
@media (min-width: 600px) { .sl-calc__inputs { padding: 28px 30px 30px; } }

.sl-calc__legend, .sl-calc__label { display: block; font-size: .95rem; font-weight: 600; line-height: 1.35; color: var(--sl-emerald); }
.sl-calc__legend { margin-bottom: 10px; padding: 0; }
.sl-calc__segs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--sl-calc-line); }
@media (min-width: 600px) { .sl-calc__segs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sl-calc__solve--sm .sl-calc__segs { grid-template-columns: 1fr 1fr; }
.sl-calc__seg { position: relative; display: block; cursor: pointer; }
.sl-calc__seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sl-calc__seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 10px; border-radius: 11px; font-size: .95rem; font-weight: 600; line-height: 1.2; text-align: center; color: var(--sl-slate); transition: background-color .15s ease, color .15s ease; }
.sl-calc__seg:hover span { background: var(--sl-mint); color: var(--sl-emerald); }
.sl-calc__seg input:checked + span { background: var(--sl-emerald); color: var(--sl-mint); }
.sl-calc__seg input:focus-visible + span { outline: 3px solid var(--sl-teal); outline-offset: 2px; }

.sl-calc__fields { display: grid; gap: var(--sl-space-3); }
@media (min-width: 600px) { .sl-calc__fields { grid-template-columns: 1fr 1fr; column-gap: var(--sl-space-4); } }
.sl-calc__field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.sl-calc__box { display: flex; align-items: center; gap: 6px; min-height: 56px; padding: 0 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--sl-calc-line); transition: box-shadow .15s ease, background-color .15s ease; }
.sl-calc__box:focus-within { box-shadow: inset 0 0 0 2px var(--sl-teal); }
.sl-calc__box--sm { min-height: 48px; }
.sl-calc__affix { flex: none; font-size: 1.2rem; font-weight: 600; color: var(--sl-slate); }
.sl-calc__input { flex: 1 1 auto; width: 100%; min-width: 0; height: 52px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 1.3rem; font-weight: 600; color: var(--sl-emerald); font-variant-numeric: tabular-nums; }
.sl-calc__box--sm .sl-calc__input { height: 44px; font-size: 1.1rem; }
.sl-calc__input:focus, .sl-calc__input:focus-visible { outline: none; }
.sl-calc__input::placeholder { color: rgba(51, 70, 63, .55); font-weight: 500; }
.sl-calc__unit, .sl-calc__select { font: inherit; color: var(--sl-emerald); }
.sl-calc__unit { flex: none; height: 40px; padding: 0 4px; border: 0; border-radius: 10px; background: var(--sl-mint); font-size: .95rem; font-weight: 600; cursor: pointer; }
.sl-calc__select { width: 100%; min-height: 48px; padding: 0 12px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--sl-calc-line); font-size: 1rem; font-weight: 600; cursor: pointer; }
.sl-calc__sched { display: grid; gap: 8px; }
@media (min-width: 600px) { .sl-calc__sched { grid-template-columns: auto minmax(0, 240px); align-items: center; column-gap: var(--sl-space-2); } }
.sl-calc__chip { flex: none; padding: 4px 8px; border-radius: 999px; background: var(--sl-emerald); color: var(--sl-turq); font-size: .7rem; font-weight: 700; letter-spacing: var(--sl-track); text-transform: uppercase; line-height: 1.2; }
.sl-calc__chip[hidden] { display: none; }
.sl-calc__field.is-solved .sl-calc__box { background: linear-gradient(135deg, #fff 0%, var(--sl-calc-soft) 100%); box-shadow: inset 0 0 0 2px var(--sl-teal); }
.sl-calc__field.is-solved .sl-calc__input { color: var(--sl-teal); cursor: default; }
.sl-calc__hint { min-height: 0; font-size: .85rem; line-height: 1.4; color: var(--sl-slate); }
.sl-calc__hint:empty { display: none; }

/* Sliders: --sl-calc-fill is set by the script. */
.sl-calc__range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
.sl-calc__range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--sl-teal) var(--sl-calc-fill, 0%), rgba(7, 18, 14, .14) var(--sl-calc-fill, 0%)); }
.sl-calc__range::-moz-range-track { height: 6px; border-radius: 999px; background: rgba(7, 18, 14, .14); }
.sl-calc__range::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--sl-teal); }
.sl-calc__range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--sl-turq); border: 3px solid var(--sl-emerald); box-shadow: 0 2px 6px rgba(7, 18, 14, .25); }
.sl-calc__range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--sl-turq); border: 3px solid var(--sl-emerald); box-shadow: 0 2px 6px rgba(7, 18, 14, .25); }
.sl-calc__range:focus-visible { outline: 3px solid var(--sl-teal); outline-offset: 2px; border-radius: 8px; }
.sl-calc__range:disabled { cursor: default; opacity: .4; }
.sl-calc__range.is-empty::-webkit-slider-thumb { background: #fff; border-color: rgba(7, 18, 14, .35); box-shadow: none; }
.sl-calc__range.is-empty::-moz-range-thumb { background: #fff; border-color: rgba(7, 18, 14, .35); box-shadow: none; }

/* ---------- The answer (dark card) ---------- */
.sl-calc__result { display: grid; gap: 18px; padding: 24px; border-radius: 22px; color: var(--sl-mint); background: radial-gradient(90% 45% at 100% 0%, rgba(0, 230, 207, .16), transparent 70%), linear-gradient(165deg, var(--sl-forest) 0%, var(--sl-emerald) 78%); box-shadow: inset 0 1px 0 rgba(239, 250, 245, .08), 0 0 0 1px rgba(0, 230, 207, .22), 0 18px 40px -22px rgba(7, 18, 14, .45); }
@media (min-width: 600px) { .sl-calc__result { padding: 28px 30px; } }
.sl-calc__answer { display: grid; gap: 4px; }
.sl-calc__answer-label { font-size: .78rem; font-weight: 700; letter-spacing: var(--sl-track); text-transform: uppercase; color: var(--sl-turq); }
.sl-calc__answer-value { font-size: clamp(2.3rem, 1.7rem + 2.4vw, 3.3rem); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: #fff; overflow-wrap: anywhere; }
.sl-calc__answer-value.is-empty { display: none; }
.sl-calc__answer-sub { font-size: 1rem; line-height: 1.45; color: rgba(239, 250, 245, .82); }
.sl-calc__answer-sub:empty { display: none; }
.sl-calc__empty { padding: 14px 16px; border-radius: 14px; background: rgba(239, 250, 245, .08); font-size: 1.05rem; line-height: 1.45; color: var(--sl-mint); }
.sl-calc__empty[hidden] { display: none; }
.sl-calc__stats { display: grid; }
.sl-calc__stats[hidden], .sl-calc__month[hidden], .sl-calc__route[hidden] { display: none; }
.sl-calc__stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(239, 250, 245, .14); }
.sl-calc__stats dt { font-size: .98rem; color: rgba(239, 250, 245, .82); }
.sl-calc__stats dd { font-size: 1.12rem; font-weight: 700; color: #fff; text-align: right; white-space: nowrap; }
/* The first payment, split: two tiles side by side. */
.sl-calc__month { display: grid; gap: 10px; }
.sl-calc__month-title { font-size: .95rem; font-weight: 600; color: rgba(239, 250, 245, .9); }
.sl-calc__month-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.sl-calc__month-split > div { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: rgba(239, 250, 245, .07); box-shadow: inset 0 0 0 1px rgba(0, 230, 207, .18); }
.sl-calc__month-split dt { font-size: .85rem; color: rgba(239, 250, 245, .78); }
.sl-calc__month-split dd { margin: 0; font-size: 1.22rem; font-weight: 700; line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
.sl-calc__month-split > div:first-child dd { color: var(--sl-turq); }
.sl-calc__route { font-size: .95rem; line-height: 1.45; color: rgba(239, 250, 245, .86); }
.sl-calc__result a:not(.sl-inquiry-cta) { color: var(--sl-turq); }
.sl-calc__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sl-calc__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(0, 230, 207, .7); color: var(--sl-mint); font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.sl-calc__btn:hover:not(:disabled) { background: rgba(0, 230, 207, .14); color: #fff; }
.sl-calc__btn--quiet { box-shadow: inset 0 0 0 1.5px rgba(239, 250, 245, .22); }
.sl-calc__btn:disabled { opacity: .45; cursor: default; }
.sl-calc__btn:focus-visible { outline: 3px solid var(--sl-turq); outline-offset: 3px; }
.sl-calc__status { min-height: 1.4em; font-size: .9rem; line-height: 1.4; color: var(--sl-turq); }
.sl-calc__status:empty { min-height: 0; }
.sl-calc__go { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(239, 250, 245, .14); }
.sl-calc__go-text { font-size: 1rem; line-height: 1.45; color: rgba(239, 250, 245, .9); }
.sl-calc__go .sl-inquiry-cta { justify-self: start; background: var(--sl-turq); color: var(--sl-emerald); }
.sl-calc__go .sl-inquiry-cta:hover { background: var(--sl-green); color: var(--sl-emerald); }
.sl-calc__go .sl-inquiry-cta:focus-visible { outline-color: var(--sl-turq); }

/* ---------- The five views ---------- */
.sl-calc__more { display: grid; gap: var(--sl-space-2); }
.sl-calc__more-title { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; color: var(--sl-emerald); }
.sl-calc__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.sl-calc__tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--sl-calc-line); color: var(--sl-emerald); font: inherit; font-size: .98rem; font-weight: 600; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.sl-calc__tab:hover { background: var(--sl-mint); }
.sl-calc__tab[aria-selected="true"] { background: var(--sl-emerald); color: var(--sl-mint); box-shadow: none; }
.sl-calc__tab-badge { padding: 2px 8px; border-radius: 999px; background: var(--sl-turq); color: var(--sl-emerald); font-size: .75rem; font-weight: 700; line-height: 1.4; }
.sl-calc__tab-badge[hidden] { display: none; }
.sl-calc__panel { padding: 22px; border-radius: 22px; background: var(--sl-mint); box-shadow: inset 0 0 0 1px rgba(0, 107, 96, .1); }
@media (min-width: 600px) { .sl-calc__panel { padding: 28px 30px; } }
.sl-calc__panel:focus-visible { outline: 3px solid var(--sl-teal); outline-offset: 3px; }
.sl-calc__panel[hidden], .sl-calc__panel-body[hidden], [data-calc-rent-ready][hidden], .sl-calc__wait[hidden] { display: none; }
.sl-calc__panel-body, [data-calc-rent-ready] { display: grid; gap: var(--sl-space-3); }
.sl-calc__wait, .sl-calc__empty-note { font-size: 1.02rem; line-height: 1.5; color: var(--sl-slate); }
.sl-calc__empty-note[hidden], .sl-calc__scroll[hidden] { display: none; }
.sl-calc__row { display: grid; gap: var(--sl-space-2); align-items: end; }
@media (min-width: 768px) { .sl-calc__row { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--sl-space-4); } }
.sl-calc__mini { display: grid; gap: 8px; min-width: 0; align-content: start; }
.sl-calc__mini.is-off { opacity: .5; }
.sl-calc__grid4 { display: grid; gap: var(--sl-space-2); }
@media (min-width: 600px) { .sl-calc__grid4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sl-calc__grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sl-calc__grid3 { display: grid; gap: var(--sl-space-2); }
@media (min-width: 768px) { .sl-calc__grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sl-calc__panel-lede { font-size: 1.02rem; line-height: 1.55; color: var(--sl-slate); max-width: 72ch; }
.sl-calc__headline { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; color: var(--sl-teal); }
.sl-calc__headline:empty, [data-calc-refi-ready][hidden], [data-calc-refi-cash][hidden] { display: none; }
.sl-calc__table--refi td.sl-calc__refi-diff { color: var(--sl-teal); }
.sl-calc__check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .98rem; font-weight: 600; color: var(--sl-emerald); cursor: pointer; }
.sl-calc__check input { width: 20px; height: 20px; accent-color: var(--sl-teal); }
.sl-calc__scrub { display: grid; gap: 8px; }
.sl-calc__facts { display: grid; gap: 10px; }
@media (min-width: 600px) { .sl-calc__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sl-calc__facts > div { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(7, 18, 14, .06); }
.sl-calc__facts dt { font-size: .88rem; line-height: 1.35; color: var(--sl-slate); }
.sl-calc__facts dd { font-size: 1.22rem; font-weight: 700; line-height: 1.3; color: var(--sl-emerald); overflow-wrap: anywhere; }
@media (max-width: 599px) {
	/* Phones: one compact row per figure, label left and number right. */
	.sl-calc__facts { gap: 0; padding: 4px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(7, 18, 14, .06); }
	.sl-calc__facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-radius: 0; background: none; box-shadow: none; }
	.sl-calc__facts > div + div { border-top: 1px solid rgba(7, 18, 14, .07); }
	.sl-calc__facts dt { font-size: .92rem; }
	.sl-calc__facts dd { font-size: 1.08rem; text-align: right; }
}
.sl-calc__vs { font-size: .98rem; line-height: 1.5; color: var(--sl-slate); }
.sl-calc__vs:empty { display: none; }
.sl-calc__note { font-size: .95rem; line-height: 1.55; color: var(--sl-slate); max-width: 72ch; }
.sl-calc__note a, .sl-calc__panel a { color: var(--sl-teal); }

/* Charts: the script sizes the viewBox to the drawn width, so text stays at its real size. */
.sl-calc__chart { display: grid; gap: 10px; padding: 14px 14px 12px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(7, 18, 14, .06); }
.sl-calc__svg { display: block; width: 100%; height: 220px; overflow: visible; }
@media (min-width: 768px) { .sl-calc__svg { height: 260px; } }
.sl-calc__grid line { stroke: rgba(7, 18, 14, .09); stroke-width: 1; }
.sl-calc__grid text { fill: var(--sl-slate); font-size: 12px; font-family: inherit; }
.sl-calc__line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.sl-calc__line.is-main { stroke: var(--sl-teal); }
.sl-calc__line.is-base { stroke: var(--sl-slate); stroke-width: 2; stroke-dasharray: 6 5; opacity: .7; }
.sl-calc__area { stroke: none; }
.sl-calc__area.is-main { fill: rgba(0, 107, 96, .12); }
.sl-calc__marker { stroke: var(--sl-emerald); stroke-width: 1.5; stroke-dasharray: 3 4; }
.sl-calc__legend-row { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--sl-slate); }
.sl-calc__legend-item { display: inline-flex; align-items: center; gap: 8px; }
.sl-calc__swatch { display: inline-block; width: 18px; height: 0; border-top: 3px solid var(--sl-teal); }
.sl-calc__swatch.is-base { border-top: 3px dashed var(--sl-slate); }

/* Tables: year by year and Compare. Wide tables scroll inside their box, never the page. */
.sl-calc__table-wrap summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--sl-teal); cursor: pointer; list-style: none; }
.sl-calc__table-wrap summary::-webkit-details-marker { display: none; }
.sl-calc__table-wrap summary::after { content: ""; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; }
.sl-calc__table-wrap[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.sl-calc__table-wrap[open] summary { margin-bottom: 10px; }
.sl-calc__scroll { overflow-x: auto; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(7, 18, 14, .06); }
.sl-calc__scroll:focus-visible { outline: 3px solid var(--sl-teal); outline-offset: 2px; }
.sl-calc__table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.sl-calc__table th, .sl-calc__table td { padding: 10px 14px; text-align: right; white-space: nowrap; border-top: 1px solid rgba(7, 18, 14, .07); }
.sl-calc__table thead th { border-top: 0; font-size: .82rem; font-weight: 700; color: var(--sl-slate); vertical-align: bottom; }
.sl-calc__table th:first-child { text-align: left; }
.sl-calc__table tbody th { font-weight: 600; color: var(--sl-emerald); }
.sl-calc__table tr.is-on > * { background: var(--sl-calc-soft); }
.sl-calc__table--compare { min-width: 520px; }
.sl-calc__table--compare td { font-weight: 600; color: var(--sl-emerald); vertical-align: top; }
.sl-calc__tag { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--sl-emerald); color: var(--sl-turq); font-size: .95rem; }
.sl-calc__th-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 6px; }
.sl-calc__diff { display: block; margin-top: 2px; font-size: .8rem; font-weight: 600; color: var(--sl-teal); }
@media (max-width: 599px) {
	/* Phones: each figure's name on its own line, then the scenarios side by side (no sideways scroll). */
	.sl-calc__table--compare { min-width: 0; }
	.sl-calc__table--compare tr { display: grid; grid-template-columns: repeat(var(--sl-calc-n, 1), minmax(0, 1fr)); column-gap: 10px; padding: 0 12px; border-top: 1px solid rgba(7, 18, 14, .07); }
	.sl-calc__table--compare thead tr { border-top: 0; padding-top: 10px; }
	.sl-calc__table--compare thead th:first-child { display: none; }
	.sl-calc__table--compare th, .sl-calc__table--compare td { padding: 8px 0; border-top: 0; text-align: left; white-space: normal; }
	.sl-calc__table--compare tbody th { grid-column: 1 / -1; padding: 10px 0 0; font-size: .82rem; font-weight: 700; color: var(--sl-slate); }
	.sl-calc__table--compare td { padding-top: 2px; font-size: .98rem; overflow-wrap: anywhere; }
	.sl-calc__th-actions { justify-content: flex-start; }
}
.sl-calc__link { min-height: 32px; padding: 0; border: 0; background: none; color: var(--sl-teal); font: inherit; font-size: .88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* Rental check */
.sl-calc__dscr { display: grid; gap: 10px; }
.sl-calc__dscr-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.sl-calc__dscr-num > span { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--sl-emerald); }
.sl-calc__dscr-num small { font-size: .95rem; color: var(--sl-slate); }
.sl-calc__meter { position: relative; height: 12px; border-radius: 999px; background: rgba(7, 18, 14, .1); }
.sl-calc__meter-fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--sl-teal), var(--sl-turq)); }
.sl-calc__meter-fill.is-low { background: var(--sl-slate); }
.sl-calc__meter-mark { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--sl-emerald); }
.sl-calc__meter-target { position: absolute; top: -9px; width: 0; height: 0; margin-left: -7px; border: 7px solid transparent; border-top-color: var(--sl-emerald); border-bottom: 0; }
.sl-calc__meter-key { display: flex; justify-content: space-between; gap: 8px; font-size: .82rem; color: var(--sl-slate); }

.sl-calc__reset { text-align: left; margin-top: calc(-1 * var(--sl-space-3)) !important; }

@media (prefers-reduced-motion: reduce) {
	.sl-calc * { transition: none !important; }
}
@media (forced-colors: active) {
	.sl-calc__seg input:checked + span, .sl-calc__tab[aria-selected="true"] { outline: 2px solid CanvasText; }
	.sl-calc__meter-fill { forced-color-adjust: none; }
}

/* #paths band (page-loan-calculator.php): the product pages the numbers lead to. */
.sl-calc-paths { display: grid; gap: 12px; margin: var(--sl-space-3) 0 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .sl-calc-paths { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sl-calc-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sl-calc-path { position: relative; display: grid; gap: 4px; height: 100%; box-sizing: border-box; padding: 18px 48px 18px 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 107, 96, .12); color: var(--sl-emerald); text-decoration: none; transition: box-shadow .15s ease; }
.sl-calc-path::after { content: ""; position: absolute; top: 50%; right: 20px; width: 9px; height: 9px; margin-top: -5px; border-top: 2px solid var(--sl-teal); border-right: 2px solid var(--sl-teal); transform: rotate(45deg); }
.sl-calc-path:hover { box-shadow: inset 0 0 0 2px var(--sl-teal); }
.sl-calc-path__name { font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
.sl-calc-path__desc { font-size: .95rem; line-height: 1.45; color: var(--sl-slate); }
