.sln-financial-profile-page {
  background: var(--sln-page-gradient);
}

.sln-financial-profile-page .sln-site-header {
  display: none;
}

.sln-financial-profile-page.sln-financial-profile-existing-gate .sln-site-header {
  display: block;
}

.sln-financial-profile-page .sln-site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 100vh;
}

.sln-existing-financings {
  width: min(100% - 32px, var(--sln-container));
  min-height: 100vh;
  margin-inline: auto;
  padding: 128px 0 80px;
}

.sln-existing-financings__panel {
  width: 100%;
  margin-inline: auto;
  padding: clamp(26px, 4vw, 46px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 68px rgba(29, 36, 61, 0.09);
}

.sln-existing-financings__panel > .sln-existing-financings__intro,
.sln-existing-financings__panel > .woocommerce-message,
.sln-existing-financings__panel > .sln-existing-financings__list,
.sln-existing-financings__panel > .sln-existing-financings__footer {
  width: min(100%, 948px);
  margin-inline: auto;
}

.sln-existing-financings__intro {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.sln-existing-financings__intro h1,
.sln-existing-financings__intro p {
  margin: 0;
}

.sln-existing-financings__intro h1 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.sln-existing-financings__intro p {
  margin-top: 8px;
  color: var(--sln-color-muted);
}

.sln-existing-financings__icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 16px;
  background: #eaf0ff;
  color: var(--sln-color-primary-dark);
  place-items: center;
}

.sln-existing-financings__icon svg {
  width: 27px;
  height: 27px;
}

.sln-existing-financings__list {
  display: grid;
  gap: 12px;
}

.sln-existing-financing {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid #d5def2;
  border-radius: 16px;
}

.sln-existing-financing__type-icon {
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--sln-color-primary-dark);
  place-items: center;
}

.sln-existing-financing__type-icon svg {
  width: 34px;
  height: 34px;
}

.sln-existing-financing__content > span,
.sln-existing-financing__content p {
  color: var(--sln-color-muted);
  font-size: 13px;
}

.sln-existing-financing__content h2,
.sln-existing-financing__content p {
  margin: 0;
}

.sln-existing-financing__content h2 {
  margin: 2px 0 4px;
  font-size: 18px;
}

.sln-existing-financing__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sln-existing-financing__actions form {
  margin: 0;
}

.sln-existing-financing__actions svg {
  width: 17px;
  height: 17px;
}

.sln-existing-financings__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  margin-top: 26px;
}

.sln-existing-financings__new {
  min-width: 248px;
}

.sln-existing-financings__new svg {
  width: 18px;
  height: 18px;
}

.sln-existing-financings__account {
  min-width: 248px;
}

@media (max-width: 700px) {
  .sln-existing-financings {
    width: min(100% - 24px, var(--sln-container));
    padding-top: 106px;
  }

  .sln-existing-financings__panel {
    padding: 22px 16px;
  }

  .sln-existing-financings__intro {
    align-items: flex-start;
  }

  .sln-existing-financing {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .sln-existing-financing__type-icon {
    width: 40px;
    height: 40px;
  }

  .sln-existing-financing__type-icon svg {
    width: 29px;
    height: 29px;
  }

  .sln-existing-financing__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .sln-existing-financings__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.sln-financial-flow {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 100vh;
  color: var(--sln-color-text);
}

.sln-financial-flow__header {
  padding: 36px 0;
}

.sln-financial-flow__header-inner {
  width: min(100% - 32px, var(--sln-container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
}

.sln-financial-flow__header .sln-logo img {
  width: 200px;
  max-width: 100%;
}

.sln-financial-progress {
  min-width: 0;
}

.sln-financial-progress__row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sln-financial-progress__row output {
  min-width: 48px;
  color: var(--sln-color-text);
  font-family: var(--sln-font-counter);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.sln-financial-flow__assistance {
  position: relative;
  z-index: 20;
  justify-self: end;
}

body.sln-flow-assistance-open .sln-financial-flow__assistance { z-index: 1200; }

.sln-financial-progress__track {
  height: 10px;
  flex: 1 1 auto;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(40, 89, 255, 0.14);
}

.sln-financial-progress__track span {
  display: block;
  width: 13%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sln-color-primary-dark), var(--sln-color-primary));
  transition: width 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sln-financial-flow__main {
  width: min(100% - 48px, var(--sln-container));
  margin-inline: auto;
  padding: 20px 0 96px;
}

.sln-financial-form {
  width: 100%;
  min-width: 0;
  min-height: 650px;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 68px rgba(29, 36, 61, 0.09);
}

/* Keep the actual form controls at their established width inside the wider frame. */
.sln-flow-step,
.sln-flow-complete,
.sln-flow-error,
.sln-flow-actions {
  width: min(100%, 804px);
  margin-inline: auto;
}

.sln-flow-step[hidden],
.sln-flow-complete[hidden],
.sln-flow-actions[hidden],
.sln-flow-button[hidden],
[data-sln-branch][hidden],
[data-sln-refinance-kind][hidden],
[data-sln-codebtor-income][hidden] {
  display: none !important;
}

.sln-flow-step.is-active {
  animation: sln-flow-step-in 360ms ease both;
}

@keyframes sln-flow-step-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sln-flow-step__intro {
  max-width: 680px;
  margin: 0 auto 38px;
  text-align: center;
}

.sln-flow-step__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--sln-color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.sln-flow-step__intro h1,
.sln-flow-complete h1 {
  margin: 0;
  color: var(--sln-color-text);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  outline: none;
}

.sln-flow-step__intro p,
.sln-flow-complete p {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--sln-color-muted);
  font-size: 17px;
  line-height: 1.55;
}

.sln-choice-grid {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 16px;
}

.sln-choice-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sln-choice-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sln-choice-card {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 210px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 0;
  border-radius: 18px;
  background: var(--sln-color-soft);
  box-shadow: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.sln-choice-card:hover,
.sln-choice-card:focus-within {
  background: var(--sln-color-primary);
  box-shadow: none;
  color: #fff;
  transform: translateY(-3px);
}

.sln-choice-card:has(input:checked) {
  background: var(--sln-color-primary);
  box-shadow: none;
  color: #fff;
  transform: translateY(-3px);
}

.sln-choice-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: var(--sln-color-primary-dark);
}

.sln-choice-card__icon svg {
  width: 42px;
  height: 42px;
}

.sln-choice-card strong {
  min-width: 0;
  max-width: 100%;
  color: var(--sln-color-text);
  font-size: 18px;
  line-height: 1.25;
}

.sln-choice-card small {
  min-width: 0;
  max-width: 100%;
  margin-top: 8px;
  color: var(--sln-color-muted);
  font-size: 14px;
  line-height: 1.45;
}

.sln-choice-card:hover strong,
.sln-choice-card:focus-within strong,
.sln-choice-card:has(input:checked) strong,
.sln-choice-card:hover small,
.sln-choice-card:focus-within small,
.sln-choice-card:has(input:checked) small,
.sln-choice-card:hover .sln-choice-card__icon,
.sln-choice-card:focus-within .sln-choice-card__icon,
.sln-choice-card:has(input:checked) .sln-choice-card__icon {
  color: #fff;
}

.sln-choice-card:hover small,
.sln-choice-card:focus-within small,
.sln-choice-card:has(input:checked) small {
  color: rgba(255, 255, 255, 0.82);
}

.sln-choice-card:has(input:checked) .sln-choice-card__check {
  border-color: transparent;
  background: #fff;
  color: var(--sln-color-primary);
}

@media (hover: hover) and (pointer: fine) {
  .sln-choice-card:not(:has(input:checked)):hover .sln-choice-card__check {
    border-color: #fff;
    background: transparent;
    color: transparent;
  }
}

.sln-choice-card--compact {
  min-height: 126px;
  align-items: flex-start;
  justify-content: center;
  padding-right: 56px;
  text-align: left;
}

.sln-choice-card--with-icon {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 18px;
  row-gap: 6px;
  padding-left: 22px;
}

.sln-choice-card--with-icon .sln-choice-card__icon {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
  margin: 0;
}

.sln-choice-card--with-icon .sln-choice-card__icon svg {
  width: 40px;
  height: 40px;
}

.sln-choice-card--with-icon .sln-choice-card__icon--refinance {
  position: relative;
}

.sln-choice-card--with-icon .sln-choice-card__refresh {
  position: absolute;
  right: -5px;
  bottom: -5px;
  display: grid;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: var(--sln-color-soft);
  color: var(--sln-color-primary-dark);
  box-shadow: 0 0 0 3px var(--sln-color-soft);
  place-items: center;
}

.sln-choice-card--with-icon .sln-choice-card__refresh svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.sln-choice-card:hover .sln-choice-card__refresh,
.sln-choice-card:focus-within .sln-choice-card__refresh,
.sln-choice-card:has(input:checked) .sln-choice-card__refresh {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: none;
}

.sln-choice-card--with-icon strong,
.sln-choice-card--with-icon small {
  grid-column: 2;
}

.sln-choice-card--with-icon small {
  margin-top: 0;
}

.sln-chance-preview {
  --sln-chance-very-low: #ff5a5f;
  --sln-chance-low: #f4b942;
  --sln-chance-medium: #f7d66a;
  --sln-chance-good: #28afe0;
  --sln-chance-very-good: #45d6a1;
  margin-top: 48px;
  padding-top: 46px;
  border-top: 1px solid #e7ebf6;
}

.sln-chance-preview__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.sln-chance-card,
.sln-account-preview {
  min-width: 0;
  padding: 28px;
  border-radius: 20px;
}

.sln-chance-card {
  border: 1px solid var(--sln-color-border);
  background: #fff;
  text-align: center;
}

.sln-chance-gauge {
  width: min(100%, 400px);
  margin: -6px auto -2px;
}

.sln-chance-gauge--locked {
  position: relative;
}

.sln-chance-gauge__question {
  position: absolute;
  bottom: 9%;
  left: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  color: #405c63;
  transform: translateX(-50%);
  place-items: center;
}

.sln-chance-gauge__question svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.sln-chance-gauge svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.sln-chance-gauge__rim,
.sln-chance-gauge__segment {
  fill: none;
}

.sln-chance-gauge__rim {
  stroke: rgba(40, 175, 224, 0.42);
  stroke-width: 1.3;
}

.sln-chance-gauge__ticks {
  stroke: rgba(42, 137, 166, 0.28);
  stroke-width: 1.4;
  stroke-linecap: butt;
}

.sln-chance-gauge__ticks use:nth-child(5n + 1) {
  stroke: rgba(42, 137, 166, 0.4);
  stroke-width: 1.6;
}

.sln-chance-gauge__segment {
  stroke-width: 13;
  stroke-linecap: butt;
}

.sln-chance-gauge__segment--very-low {
  stroke: var(--sln-chance-very-low);
}

.sln-chance-gauge__segment--low {
  stroke: var(--sln-chance-low);
}

.sln-chance-gauge__segment--medium {
  stroke: var(--sln-chance-medium);
}

.sln-chance-gauge__segment--good {
  stroke: var(--sln-chance-good);
}

.sln-chance-gauge__segment--very-good {
  stroke: var(--sln-chance-very-good);
}

.sln-chance-gauge__needle line {
  stroke: #1d243d;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.sln-chance-gauge__needle {
  transform-box: view-box;
  transform-origin: 200px 200px;
  transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sln-chance-gauge__halo--outer {
  fill: rgba(40, 175, 224, 0.12);
}

.sln-chance-gauge__halo--inner {
  fill: rgba(40, 175, 224, 0.32);
}

.sln-chance-gauge__hub {
  fill: #53666d;
  stroke: #fff;
  stroke-width: 2.5;
}

.sln-chance-gauge text {
  font-family: var(--sln-font-body);
  text-anchor: middle;
}

.sln-chance-gauge__result {
  fill: #405c63;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.sln-chance-legend {
  margin: -2px 0 0;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid #e7ebf6;
  list-style: none;
}

.sln-chance-legend li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  opacity: 0.72;
}

.sln-chance-legend li.is-active {
  font-weight: 700;
  opacity: 1;
}

.sln-chance-legend li span {
  width: 30px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.sln-chance-legend .sln-chance-legend__very-low {
  color: var(--sln-chance-very-low);
}

.sln-chance-legend .sln-chance-legend__low {
  color: var(--sln-chance-low);
}

.sln-chance-legend .sln-chance-legend__medium {
  color: var(--sln-chance-medium);
}

.sln-chance-legend .sln-chance-legend__good {
  color: var(--sln-chance-good);
}

.sln-chance-legend .sln-chance-legend__very-good {
  color: var(--sln-chance-very-good);
}

.sln-chance-card__note {
  max-width: 340px;
  margin: 18px auto 0;
  color: var(--sln-color-muted);
  font-size: 12px;
  line-height: 1.45;
}

.sln-account-preview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #eef3ff;
}

.sln-account-preview__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  display: grid;
  border-radius: 16px;
  background: var(--sln-color-primary);
  color: #fff;
  place-items: center;
}

.sln-account-preview__icon svg {
  width: 28px;
  height: 28px;
}

.sln-account-preview .sln-flow-step__eyebrow {
  margin-bottom: 8px;
}

.sln-account-preview h3 {
  margin: 0;
  color: var(--sln-color-text);
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.sln-account-preview > p {
  margin: 12px 0 0;
  color: var(--sln-color-muted);
  font-size: 14px;
  line-height: 1.5;
}

.sln-account-benefits {
  width: 100%;
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.sln-account-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--sln-color-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.sln-account-benefits svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  padding: 3px;
  border-radius: 50%;
  background: var(--sln-color-primary);
  color: #fff;
  stroke-width: 3;
}

.sln-account-preview__button {
  width: 100%;
  margin: auto 0 0;
}

.sln-account-preview > small {
  width: 100%;
  margin-top: 10px;
  color: var(--sln-color-muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.sln-result-widget__status,
.sln-result-widget__error {
  min-height: 180px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--sln-color-border);
  border-radius: 20px;
  background: #fff;
  color: var(--sln-color-text);
  text-align: center;
}

.sln-result-widget__status[hidden],
.sln-result-widget__error[hidden],
.sln-result-widget__locked[hidden],
.sln-result-widget__revealed[hidden] {
  display: none;
}

.sln-result-widget__status p,
.sln-result-widget__error p {
  margin: 0;
}

.sln-result-widget__locked {
  width: 100%;
}

.sln-result-widget__details {
  text-align: left;
  outline: none;
}

.sln-result-widget__details h3 {
  margin: 0;
  color: var(--sln-color-text);
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.sln-result-widget__details .sln-chance-card__note {
  max-width: none;
  margin-inline: 0;
}

.sln-result-widget__score {
  margin: 24px 0 8px;
  color: var(--sln-color-text);
  font-variant-numeric: tabular-nums;
}

.sln-result-widget__score strong {
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1;
}

.sln-result-widget__score span {
  color: var(--sln-color-muted);
  font-size: 18px;
  font-weight: 700;
}

.sln-result-widget__reasons {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
  text-align: left;
}

.sln-result-widget__reasons li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e7ebf6;
  color: var(--sln-color-muted);
  font-size: 13px;
}

.sln-result-widget__reasons strong {
  color: var(--sln-color-text);
  white-space: nowrap;
}

.sln-result-widget__financing {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.sln-result-widget__financing-copy {
  min-width: 0;
}

.sln-result-widget__financing-copy p {
  margin: 12px 0 0;
  color: var(--sln-color-muted);
  font-size: 14px;
  line-height: 1.5;
}

.sln-result-widget__financing .sln-account-preview__button {
  width: auto;
  margin: 0;
  white-space: nowrap;
}

.sln-result-widget__financing-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.sln-result-widget__financing-actions[hidden] {
  display: none;
}

.sln-financing-request-noscript {
  max-width: var(--sln-container);
  margin: 24px auto;
  padding: 0 20px;
  color: var(--sln-color-muted);
  text-align: center;
}

.sln-has-modal {
  overflow: hidden;
}

.sln-financing-request-modal[hidden] {
  display: none;
}

.sln-financing-request-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.sln-financing-request-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: color-mix(in srgb, var(--sln-color-text) 52%, transparent);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.sln-financing-request-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100dvh - 40px);
  border: 1px solid var(--sln-color-border);
  border-radius: var(--sln-radius);
  background: var(--sln-color-surface);
  box-shadow: var(--sln-shadow-soft);
  color: var(--sln-color-text);
  overflow: auto;
}

.sln-financing-request-modal__dialog:focus-visible {
  outline: 2px solid var(--sln-color-primary);
  outline-offset: 4px;
}

.sln-financing-request-modal__header {
  display: flex;
  gap: 18px;
  padding: 28px 30px 24px;
  border-bottom: 1px solid var(--sln-color-border);
}

.sln-financing-request-modal__icon {
  display: grid;
  width: var(--sln-icon-button-size);
  height: var(--sln-icon-button-size);
  border-radius: var(--sln-button-radius);
  background: var(--sln-color-soft);
  color: var(--sln-color-primary-dark);
  flex: 0 0 var(--sln-icon-button-size);
  place-items: center;
}

.sln-financing-request-modal__icon svg {
  width: var(--sln-action-icon-size);
  height: var(--sln-action-icon-size);
}

.sln-financing-request-modal__header h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.sln-financing-request-modal__header p {
  margin: 8px 0 0;
  color: var(--sln-color-muted);
  line-height: 1.5;
}

.sln-financing-request-modal__body {
  display: grid;
  gap: 22px;
  padding: 24px 30px;
}

.sln-financing-request-modal__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--sln-color-border);
  border-radius: var(--sln-radius);
  background: var(--sln-color-soft);
  overflow: hidden;
}

.sln-financing-request-modal__summary > div {
  padding: 16px 18px;
  border-bottom: 1px solid var(--sln-color-border);
}

.sln-financing-request-modal__summary > div:nth-child(odd) {
  border-right: 1px solid var(--sln-color-border);
}

.sln-financing-request-modal__summary > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.sln-financing-request-modal__summary dt {
  color: var(--sln-color-muted);
  font-size: 13px;
}

.sln-financing-request-modal__summary dd {
  margin: 6px 0 0;
  font-weight: 700;
}

.sln-financing-request-modal__consent {
  align-items: flex-start;
}

.sln-financing-request-modal__consent .sln-selection-control__indicator {
  margin-top: 1px;
}

.sln-financing-request-modal__consent .sln-selection-control__label {
  color: var(--sln-color-muted);
  font-size: 13px;
  line-height: 1.5;
}

.sln-financing-request-modal__consent .sln-selection-control__label a {
  color: inherit;
  text-underline-offset: 2px;
}

.sln-financing-request-modal__status {
  margin: 0;
  color: var(--sln-color-success);
  font-weight: 700;
}

.sln-financing-request-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 22px 30px 28px;
  border-top: 1px solid var(--sln-color-border);
}

.sln-result-widget__back {
  width: fit-content;
  margin: 26px auto 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--sln-color-primary-dark);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.sln-result-widget__back:hover {
  text-decoration: underline;
}

.sln-result-widget__back:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--sln-color-primary);
  outline-offset: 4px;
}

.sln-result-widget__back svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.sln-flow-fieldset {
  min-width: 0;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}

.sln-flow-fieldset:last-child {
  margin-bottom: 0;
}

.sln-flow-fieldset legend {
  width: 100%;
  margin-bottom: 14px;
  color: var(--sln-color-text);
  font-size: 16px;
  font-weight: 700;
}

.sln-segmented-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sln-segmented-options--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sln-segmented-options label {
  position: relative;
  display: block;
  width: 100%;
  cursor: pointer;
}

.sln-segmented-options label > .sln-selection-control__label {
  min-height: 64px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--sln-color-border);
  border-radius: 14px;
  background: #fff;
  color: var(--sln-color-text);
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.sln-segmented-options label:hover > .sln-selection-control__label {
  border-color: rgba(40, 89, 255, 0.42);
}

.sln-segmented-options input:checked + .sln-selection-control__label {
  border-color: var(--sln-color-primary);
  background: var(--sln-color-primary);
  color: #fff;
}

.sln-flow-range-grid {
  width: 100%;
  min-width: 0;
  display: grid;
  margin: 0;
}

.sln-flow-range-grid--three {
  grid-template-columns: minmax(0, 1fr);
}

.sln-flow-range-grid--two {
  grid-template-columns: minmax(0, 1fr);
}

.sln-flow-range {
  position: relative;
  min-width: 0;
  min-height: 126px;
  padding: 22px 0 0;
  display: grid;
  align-content: start;
  grid-template-rows: 24px 52px 24px;
}

.sln-flow-range:first-child {
  padding-top: 0;
}

.sln-flow-range:last-child {
  padding-bottom: 0;
}

.sln-flow-range + .sln-flow-range {
  margin-top: 22px;
  border-left: 0;
}

.sln-flow-range + .sln-flow-range::before {
  position: absolute;
  top: 0;
  right: 18px;
  bottom: auto;
  left: 18px;
  width: auto;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(216, 223, 245, 0.88) 18%, rgba(216, 223, 245, 0.88) 82%, transparent 100%);
  content: "";
  pointer-events: none;
}

.sln-flow-range__label {
  position: relative;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  color: var(--sln-color-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sln-flow-range__info {
  position: relative;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  display: inline-grid;
  flex: 0 0 20px;
  border: 0;
  background: transparent;
  color: rgba(29, 36, 61, 0.48);
  cursor: help;
  place-items: center;
}

.sln-flow-range__info > svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.sln-flow-range__info:focus-visible {
  border-radius: 50%;
  outline: 2px solid var(--sln-color-primary);
  outline-offset: 3px;
}

.sln-flow-range__tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 20;
  width: max-content;
  max-width: min(260px, calc(100vw - 40px));
  padding: 9px 11px;
  border-radius: 9px;
  background: var(--sln-color-text);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
  white-space: normal;
  box-shadow: 0 10px 28px rgba(29, 36, 61, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  visibility: hidden;
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.sln-flow-range__tooltip::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--sln-color-text);
  content: "";
  transform: translate(-50%, 50%) rotate(45deg);
}

.sln-flow-range__info:hover .sln-flow-range__tooltip,
.sln-flow-range__info:focus .sln-flow-range__tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.sln-flow-range:last-child .sln-flow-range__tooltip {
  right: 0;
  left: auto;
  transform: translate(0, -4px);
}

.sln-flow-range:last-child .sln-flow-range__info:hover .sln-flow-range__tooltip,
.sln-flow-range:last-child .sln-flow-range__info:focus .sln-flow-range__tooltip {
  transform: translate(0, 0);
}

.sln-flow-range:last-child .sln-flow-range__tooltip::before {
  right: 6px;
  left: auto;
}

.sln-flow-range__value-row {
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.sln-flow-range__editor {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--sln-color-text);
  font-size: clamp(17px, 1.3vw, 22px);
  font-weight: 700;
  line-height: 1.1;
}

.sln-flow-range__editor input {
  width: min(9ch, 100%);
  min-width: 0;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 40px;
  line-height: inherit;
}

.sln-flow-range__editor input:hover,
.sln-flow-range__editor input:focus {
  border-bottom-color: rgba(40, 89, 255, 0.45);
}

.sln-flow-range__percentage {
  color: rgba(29, 36, 61, 0.48);
  font-size: clamp(17px, 1.3vw, 22px);
  font-weight: 700;
  line-height: 1.1;
}

.sln-flow-range__period-presets {
  min-height: 52px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.sln-flow-range__period-presets button {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(29, 36, 61, 0.38);
  font: inherit;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: color 140ms ease;
}

.sln-flow-range__period-presets button:hover,
.sln-flow-range__period-presets button.is-active {
  color: var(--sln-color-text);
}

.sln-flow-input-grid--after-ranges {
  margin-top: 30px;
}

.sln-flow-input-grid {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sln-flow-input-grid--dependants {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.sln-flow-consent {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 10px;
  color: var(--sln-color-muted);
  font-size: 14px;
}

.sln-checkbox-icon {
  margin-top: 1px;
}

.sln-flow-error {
  margin: 24px auto -8px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff2f2;
  color: #b4232d;
  font-size: 14px;
  text-align: center;
}

.sln-flow-actions {
  width: 100%;
  min-width: 0;
  margin-top: 42px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #e7ebf6;
}

.sln-flow-button svg {
  width: 20px;
  height: 20px;
}

.sln-flow-button--primary {
  min-width: 190px;
  margin-left: auto;
}

.sln-flow-complete {
  min-height: 510px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: sln-flow-step-in 360ms ease both;
}

.sln-flow-complete__icon {
  width: 74px;
  height: 74px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sln-color-primary);
  color: #fff;
}

.sln-flow-complete__icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.sln-flow-complete .sln-flow-button {
  margin: 34px 0 0;
}

@media (max-width: 760px) {
  .sln-financial-flow__header {
    padding: 28px 0;
  }

  .sln-financial-flow__header-inner {
    width: min(100% - 34px, 560px);
    grid-template-columns: 170px minmax(72px, 1fr) auto;
    gap: 16px;
  }

  .sln-financial-flow__header .sln-logo img {
    width: 170px;
  }

  .sln-financial-progress__row {
    gap: 10px;
  }

  .sln-financial-progress__row output {
    min-width: 42px;
    font-size: 15px;
  }

  .sln-financial-progress__track {
    height: 8px;
  }

  .sln-financial-flow__main {
    width: 100%;
    padding: 12px 0 64px;
  }

  .sln-financial-form {
    min-height: 620px;
    padding: 38px 24px 42px;
    border-radius: 0;
    box-shadow: none;
  }

  .sln-flow-step__intro {
    margin-bottom: 30px;
  }

  .sln-flow-step__intro h1,
  .sln-flow-complete h1 {
    font-size: 30px;
  }

  .sln-flow-step__intro p,
  .sln-flow-complete p {
    font-size: 16px;
  }

  .sln-choice-grid--three,
  .sln-choice-grid--two,
  .sln-flow-range-grid--three,
  .sln-flow-range-grid--two,
  .sln-flow-input-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sln-flow-range {
    min-height: 126px;
    padding: 22px 0 0;
    grid-template-rows: 24px 52px 24px;
  }

  .sln-flow-range:first-child {
    padding-top: 0;
  }

  .sln-flow-range + .sln-flow-range {
    margin-top: 22px;
    border-top: 0;
    border-left: 0;
  }

  .sln-flow-range + .sln-flow-range::before {
    top: 0;
    right: 18px;
    bottom: auto;
    left: 18px;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(216, 223, 245, 0.88) 18%, rgba(216, 223, 245, 0.88) 82%, transparent 100%);
  }

  .sln-flow-range__editor input,
  .sln-flow-range__period-presets button {
    font-size: 35px;
  }

  .sln-choice-card {
    min-height: 126px;
    padding: 24px 54px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .sln-choice-card__icon {
    position: static;
    width: 58px;
    height: 58px;
    margin: 0 0 16px;
    transform: none;
  }

  .sln-choice-card__icon svg {
    width: 40px;
    height: 40px;
  }

  .sln-choice-card__check {
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
  }

  .sln-choice-card--compact {
    padding-left: 20px;
    align-items: flex-start;
    text-align: left;
  }

  .sln-choice-card--with-icon {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 22px 54px 22px 20px;
  }

  .sln-choice-card--with-icon .sln-choice-card__icon {
    width: 58px;
    height: 58px;
    margin: 0;
  }

  .sln-chance-preview {
    margin-top: 38px;
    padding-top: 36px;
  }

  .sln-chance-preview__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sln-chance-card,
  .sln-account-preview {
    padding: 24px 20px;
  }

  .sln-chance-gauge {
    width: min(100%, 340px);
  }

  .sln-account-preview {
    align-items: center;
    text-align: center;
  }

  .sln-result-widget__details {
    text-align: left;
  }

  .sln-result-widget__financing {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .sln-result-widget__financing .sln-account-preview__button {
    width: 100%;
  }

  .sln-result-widget__financing-actions,
  .sln-financing-request-modal__actions {
    width: 100%;
    flex-direction: column-reverse;
  }

  .sln-result-widget__financing-actions .sln-button,
  .sln-financing-request-modal__actions .sln-button {
    width: 100%;
  }

  .sln-financing-request-modal {
    place-items: end center;
    padding: 0;
  }

  .sln-financing-request-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - var(--sln-button-height));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: var(--sln-radius) var(--sln-radius) 0 0;
  }

  .sln-financing-request-modal__header {
    padding: 24px 20px 20px;
  }

  .sln-financing-request-modal__header h2 {
    font-size: 26px;
  }

  .sln-financing-request-modal__body {
    padding: 22px 20px;
  }

  .sln-financing-request-modal__summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .sln-financing-request-modal__summary > div,
  .sln-financing-request-modal__summary > div:nth-child(odd),
  .sln-financing-request-modal__summary > div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--sln-color-border);
  }

  .sln-financing-request-modal__summary > div:last-child {
    border-bottom: 0;
  }

  .sln-financing-request-modal__actions {
    padding: 20px;
  }

  .sln-account-benefits li {
    text-align: left;
  }

  .sln-segmented-options,
  .sln-segmented-options--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sln-flow-actions {
    align-items: stretch;
  }

  .sln-flow-button--primary {
    flex: 1;
  }

  .sln-flow-button--back {
    min-width: 58px;
    padding-inline: 18px;
  }

  .sln-flow-button--back span {
    display: none;
  }
}

@media (max-width: 430px) {
  .sln-financial-flow__header-inner {
    grid-template-columns: 170px minmax(60px, 1fr) auto;
    gap: 10px;
  }

  .sln-financial-flow__header .sln-logo img {
    width: 170px;
  }

  .sln-financial-form {
    padding-inline: 18px;
  }

  .sln-segmented-options,
  .sln-segmented-options--two {
    grid-template-columns: 1fr;
  }
}

/* Touch devices must not retain the card hover state after a tap. */
@media (hover: none), (pointer: coarse) {
  .sln-choice-card:not(:has(input:checked)):hover {
    background: var(--sln-color-soft);
    box-shadow: none;
    color: var(--sln-color-text);
    transform: none;
  }

  .sln-choice-card:not(:has(input:checked)):hover strong {
    color: var(--sln-color-text);
  }

  .sln-choice-card:not(:has(input:checked)):hover small {
    color: var(--sln-color-muted);
  }

  .sln-choice-card:not(:has(input:checked)):hover .sln-choice-card__icon {
    color: var(--sln-color-primary-dark);
  }

.sln-choice-card:not(:has(input:checked)):hover .sln-choice-card__check {
    color: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sln-financial-progress__track span,
  .sln-flow-step.is-active,
  .sln-flow-complete,
  .sln-chance-gauge__needle {
    transition: none;
    animation: none;
  }
}
