/* Keep the theme's pale header background, then end its page gradient at the footer colour. */
body.page-template-dvc-points-payout-page .body-wrapper:has(> .site-content > .dvc-payout-page) {
  background: #c8cefc;
}
body.page-template-dvc-points-payout-page .body-wrapper > .site-content:has(> .dvc-payout-page) {
  background: linear-gradient(180deg, #c8cefc 0%, var(--it-color-brand, #4e61f6) 100%);
}
.dvc-payout {
  --dvc-payout-ink: #213047;
  --dvc-payout-muted: #536276;
  --dvc-payout-brand: var(--it-color-brand, #4e61f6);
  --dvc-payout-border: #dfe3ef;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding: clamp(1.5rem, 2.5vw, 2.25rem) var(--it-global-padding, 1.5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 1.25rem;
  background: transparent;
  color: var(--dvc-payout-ink);
  font-family: inherit;
  line-height: 1.55;
  text-align: left;
}
.dvc-payout *, .dvc-payout *::before, .dvc-payout *::after { box-sizing: border-box; }
.dvc-payout [hidden] { display: none !important; }
.dvc-payout__shell {
  width: 100%;
  max-width: 67rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 1.5rem;
  background: #f8f9fd;
  box-shadow: 0 16px 36px rgba(31, 45, 125, .1);
}
.dvc-payout__header { max-width: none; margin: 0 0 1.5rem; text-align: left; }
.dvc-payout__eyebrow {
  display: inline-block;
  margin: 0 0 .45rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4654b7;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.dvc-payout .dvc-payout__title {
  margin: 0;
  padding: 0;
  color: #1d3050;
  font-family: inherit;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.035em;
  text-transform: none;
}
.dvc-payout__intro { max-width: 40rem; margin: .55rem 0 0; color: #25375b; font-size: clamp(.98rem, 1.3vw, 1.075rem); }
.dvc-payout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, .9fr);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.dvc-payout__card, .dvc-payout__aside {
  min-width: 0;
  background: transparent;
}
.dvc-payout__card { grid-column: 1; grid-row: 1; padding: 0; }
.dvc-payout__aside { grid-column: 2; grid-row: 1; padding: 0 0 0 clamp(1.3rem, 2.5vw, 2rem); border-left: 1px solid #dfe3ee; }
.dvc-payout__interactive { display: none; }
.dvc-payout--ready .dvc-payout__interactive { display: block; }
.dvc-payout__form { display: grid; gap: 1rem; margin: 0; }
.dvc-payout .dvc-payout__field { display: grid; align-content: start; gap: .45rem; }
.dvc-payout .dvc-payout__field label { display: block; margin: 0 !important; padding: 0; color: var(--dvc-payout-ink); font-size: .95rem; font-weight: 600; line-height: 1.35; }
.dvc-payout__field select, .dvc-payout__field input {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  height: auto;
  margin: 0 !important;
  padding: .7rem 1rem;
  border: 1.5px solid #bfc7db;
  border-radius: .75rem;
  background: #fff;
  color: var(--dvc-payout-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.3;
}
/* The DVC theme replaces selects with Nice Select. Keep its hidden original
   out of the form grid so it cannot leave a blank row above the visible menu. */
.dvc-payout .dvc-payout__field select.hidden-select {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0 !important;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
}
/* Match the native field if the theme adds its Nice Select presentation. */
.dvc-payout .dvc-payout__field .nice-select {
  width: 100%;
  height: 3.25rem;
  margin: 0;
  padding: 0 2.75rem 0 1rem;
  border: 1.5px solid #bfc7db;
  border-radius: .75rem;
  background: #fff;
  color: var(--dvc-payout-ink);
  font: inherit;
  line-height: 3.1rem;
}
.dvc-payout .dvc-payout__field .nice-select .list .option[data-value=""] { display: none; }
.dvc-payout__field input::placeholder { color: #8a93a5; opacity: 1; }
.dvc-payout__field select:hover, .dvc-payout__field input:hover { border-color: #8291c6; }
.dvc-payout__field select:focus-visible, .dvc-payout__field input:focus-visible,
.dvc-payout .dvc-payout__field .nice-select:focus-visible,
.dvc-payout .dvc-payout__button:focus-visible, .dvc-payout__text-link:focus-visible,
.dvc-payout__result:focus-visible { outline: 3px solid #1d3050; outline-offset: 3px; }
.dvc-payout__error { margin: 0; color: #a32632; font-size: .85rem; font-weight: 600; line-height: 1.4; }
.dvc-payout .dvc-payout__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: .8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.dvc-payout .dvc-payout__button--primary { border-color: var(--dvc-payout-brand); background: var(--dvc-payout-brand); color: #fff; box-shadow: none; }
@media (hover: hover) {
  .dvc-payout .dvc-payout__button--primary:hover {
    border-color: var(--dvc-payout-brand);
    background: #fff;
    color: var(--dvc-payout-brand);
    box-shadow: none;
  }
}
.dvc-payout__form > .dvc-payout__button { width: 100%; }
.dvc-payout__result {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  margin: .1rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid #dfe3ee;
  background: transparent;
}
.dvc-payout .dvc-payout__result-heading { margin: 0 0 .9rem; padding: 0; color: #1d3050; font-family: inherit; font-size: 1.3rem; font-weight: 600; line-height: 1.3; text-transform: none; }
.dvc-payout__result-options { display: grid; grid-template-columns: 1fr; }
.dvc-payout__result-options:has(.dvc-payout__option--lower:not([hidden])) { grid-template-columns: minmax(0, 1.45fr) minmax(16rem, .9fr); column-gap: clamp(1.5rem, 3vw, 2.5rem); }
.dvc-payout__option { min-width: 0; }
.dvc-payout__option--lower { padding: .3rem 0 .3rem clamp(1.3rem, 2.5vw, 2rem); border-left: 1px solid #dfe3ee; }
.dvc-payout__result-label { margin: 0; color: #4654b7; font-size: .82rem; font-weight: 700; line-height: 1.35; letter-spacing: .045em; text-transform: uppercase; }
.dvc-payout__amount { margin: .28rem 0 0; color: #1d3050; font-size: clamp(2rem, 3.2vw, 2.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; overflow-wrap: anywhere; }
.dvc-payout__rate-note { margin: .15rem 0 0; color: var(--dvc-payout-ink); font-size: .99rem; }
.dvc-payout__result-options:has(.dvc-payout__option--lower:not([hidden])) .dvc-payout__option:first-child .dvc-payout__amount { font-size: clamp(2.3rem, 4.5vw, 3.8rem); }
.dvc-payout__result-options:has(.dvc-payout__option--lower:not([hidden])) .dvc-payout__option:first-child .dvc-payout__rate-note { font-size: 1.05rem; }
.dvc-payout__option--lower .dvc-payout__result-label { color: #66738a; font-size: .75rem; }
.dvc-payout__option--lower .dvc-payout__amount { color: #4e5c73; font-size: clamp(1.7rem, 2.3vw, 1.9rem); font-weight: 600; }
.dvc-payout__option--lower .dvc-payout__rate-note { color: var(--dvc-payout-muted); font-size: .9rem; }
.dvc-payout__condition, .dvc-payout__qualification { margin: .85rem 0 0; color: var(--dvc-payout-muted); font-size: .84rem; line-height: 1.5; }
.dvc-payout__condition + .dvc-payout__qualification { margin-top: .3rem; }
.dvc-payout__comparison { margin: 1rem 0 0; border: 1px solid var(--dvc-payout-border); border-radius: .75rem; background: #fff; }
.dvc-payout__comparison > summary { margin: 0; padding: .85rem 1rem; color: #3549ca; font-size: .9rem; font-weight: 600; line-height: 1.4; cursor: pointer; }
.dvc-payout__comparison > summary::marker { color: #4654b7; }
.dvc-payout__comparison > summary:focus-visible, .dvc-payout__comparison-links a:focus-visible { outline: 3px solid #1d3050; outline-offset: 3px; }
.dvc-payout__comparison[open] > summary { border-bottom: 1px solid var(--dvc-payout-border); }
.dvc-payout__comparison-content { padding: .9rem 1rem 1rem; }
.dvc-payout__comparison-content > p { margin: 0 0 .8rem; color: var(--dvc-payout-muted); font-size: .83rem; line-height: 1.5; }
.dvc-payout__comparison-content > p:last-child { margin-bottom: 0; }
.dvc-payout .dvc-payout__example-table { width: 100%; margin: 0 0 .8rem; table-layout: fixed; border-collapse: collapse; color: var(--dvc-payout-ink); font-size: .83rem; line-height: 1.45; }
.dvc-payout .dvc-payout__example-table th, .dvc-payout .dvc-payout__example-table td { margin: 0; padding: .65rem .45rem; border: 0; border-bottom: 1px solid var(--dvc-payout-border); background: transparent; vertical-align: top; text-align: left; }
.dvc-payout .dvc-payout__example-table th:first-child { width: 42%; }
.dvc-payout .dvc-payout__example-table thead th { background: #f1f3ff; color: #25375b; font-weight: 600; }
.dvc-payout__example-table tbody th { font-weight: 600; overflow-wrap: anywhere; }
.dvc-payout__example-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.dvc-payout .dvc-payout__example-table .dvc-payout__example-total th, .dvc-payout .dvc-payout__example-table .dvc-payout__example-total td { background: #f1f3ff; color: #25375b; font-weight: 700; }
.dvc-payout__comparison-content > .dvc-payout__example-assumptions { font-size: .78rem; line-height: 1.5; }
.dvc-payout__comparison-links a { color: #3549ca; text-decoration: underline; text-underline-offset: 3px; }
.dvc-payout__comparison-links a:hover { color: #1c2b8d; }
.dvc-payout__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 1.2rem; }
.dvc-payout__text-link { color: #3549ca; font-size: .95rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dvc-payout__text-link:hover { color: #1c2b8d; }
.dvc-payout__fallback { margin: 0; padding: 1rem; border: 1px solid var(--dvc-payout-border); border-radius: .75rem; background: #f6f7fc; color: var(--dvc-payout-ink); font-size: .95rem; }
.dvc-payout__fallback a { color: #3549ca; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dvc-payout__aside h2 { margin: 0 0 1rem; padding: 0; color: #1d3050; font-family: inherit; font-size: 1.3rem; font-weight: 600; line-height: 1.3; text-transform: none; }
.dvc-payout__aside ol { margin: 0; padding: 0; list-style: none; counter-reset: dvc-payout-step; }
.dvc-payout__aside li { position: relative; min-height: 2.25rem; margin: 0 0 1rem; padding-left: 2.75rem; counter-increment: dvc-payout-step; }
.dvc-payout__aside li::before { content: counter(dvc-payout-step); position: absolute; top: .05rem; left: 0; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #eceeff; color: #394bcf; font-weight: 700; }
.dvc-payout__aside li strong { display: block; color: var(--dvc-payout-ink); font-size: .95rem; }
.dvc-payout__aside li span { display: block; margin-top: .1rem; color: var(--dvc-payout-muted); font-size: .88rem; line-height: 1.45; }
.dvc-payout-page { width: 100%; }
.dvc-payout-page .dvc-payout { border-radius: 0; background: transparent; }
.site-content > .dvc-payout-page { width: calc(100% + var(--it-global-padding, 0px) * 2); margin-inline: calc(var(--it-global-padding, 0px) * -1); }
@media (max-width: 760px) {
  .dvc-payout__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .dvc-payout__card, .dvc-payout__result, .dvc-payout__aside { grid-column: 1; grid-row: auto; }
  .dvc-payout__header { margin-bottom: 1.35rem; }
  .dvc-payout__result-options:has(.dvc-payout__option--lower:not([hidden])) { grid-template-columns: 1fr; }
  .dvc-payout__option--lower { margin-top: 1rem; padding: 1rem 0 0; border-top: 1px solid #dfe3ee; border-left: 0; }
  .dvc-payout__aside { display: block; padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid #dfe3ee; }
}
@media (max-width: 480px) {
  .dvc-payout { padding: 2rem 1rem; border-radius: 1.1rem; }
  .dvc-payout__shell { padding: 1.25rem; border-radius: 1.15rem; }
  .dvc-payout__actions { align-items: stretch; flex-direction: column; }
  .dvc-payout__actions .dvc-payout__button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .dvc-payout .dvc-payout__button { transition: none; }
}
