/* /apply-for-a-loan form styles - moved out of the page embed verbatim
   (2026-09-23) so the embed has room for the full set of questions. */

:root{--n:#111437;--o:#E46021;--oh:#D45516;--paper:#FEF3EC;--warm:#fff8f3;--w:#fff;--ink:#4A4D6B;--muted:#747791;--line:rgba(17,20,55,.14)}
.ue,.ue *{box-sizing:border-box}.ue{font-family:"Reckless","Helvetica Neue",Arial,sans-serif;color:var(--n);background:var(--paper);padding:clamp(44px,7vw,90px) 0;-webkit-font-smoothing:antialiased}.ue button,.ue input,.ue select,.ue textarea{font:inherit}.ue-shell{max-width:1160px;margin:auto;padding:0 clamp(20px,4vw,64px);display:grid;grid-template-columns:minmax(0,1fr) minmax(440px,540px);gap:clamp(42px,7vw,92px);align-items:start}.ue-contact{min-width:0;padding-top:8px}.ue-contact-kicker{color:var(--o);font-size:.76rem;font-weight:400;letter-spacing:.12em;margin-bottom:15px}.ue-contact-heading{font-family:"Reckless",Georgia,serif!important;font-weight:300!important;color:var(--n)!important;font-size:clamp(2.7rem,5.2vw,4.6rem)!important;line-height:1.02!important;letter-spacing:-.03em!important;max-width:620px}.ue-contact-dot{color:var(--o)}.ue-contact-lede{color:var(--n);font-size:1.125rem;line-height:1.62;max-width:44ch;margin-top:18px}.ue-direct{display:grid;gap:14px;margin:32px 0 0}.ue-direct-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.ue-direct-key,.ue-direct-link{font-family:"Reckless",Georgia,serif;font-size:clamp(1.2rem,2vw,1.55rem)}.ue-direct-key{color:var(--n)}.ue-direct-key:after{content:"·";color:var(--o);margin-left:10px}.ue-direct-value{margin:0;min-width:0}.ue-direct-link{display:inline-flex;gap:9px;color:var(--n)!important;text-decoration:underline!important;text-decoration-color:var(--o)!important;text-decoration-thickness:2px!important;text-underline-offset:5px;overflow-wrap:anywhere}.ue-direct-arrow{color:var(--o)}.ue-direct-link:hover,.ue-direct-link:focus-visible{color:var(--o)!important}.ue-scenario{margin-top:36px;display:flex;align-items:center;gap:13px;max-width:460px;padding:14px 16px;background:var(--warm);border:1px solid var(--o);border-radius:8px;color:var(--n)!important;text-decoration:none!important}.ue-scenario:hover,.ue-scenario:focus-visible{transform:translateY(-2px);box-shadow:0 10px 28px rgba(17,20,55,.09)}.ue-scenario-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--o);color:#fff}.ue-scenario-copy{display:grid;gap:3px}.ue .ue-scenario-strong.ue-scenario-strong{font-family:"DM Sans",sans-serif!important;font-size:1rem!important;font-weight:400!important;line-height:1.3!important;letter-spacing:0!important}.ue-scenario-sub{font-size:.78rem;color:var(--n)}.ue-art{position:relative;width:min(230px,48%);margin:clamp(22px,4vw,38px) 6% 0 auto}.ue-plane{display:block;width:100%;height:auto;transform-origin:54% 88%}.ue-route{position:absolute;right:61%;top:7%;width:66%;height:42%;overflow:visible}.ue-route-path{fill:none;stroke:var(--o);stroke-width:2;stroke-linecap:round;vector-effect:non-scaling-stroke;opacity:.8}.ue-scenario:hover~.ue-art .ue-plane,.ue-scenario:focus-visible~.ue-art .ue-plane{animation:none;transform:translate(5px,-4px) rotate(2deg)}
.ue-main{min-width:0}.ue-card{background:#fff;border:1px solid rgba(17,20,55,.16);border-radius:10px;box-shadow:0 16px 45px rgba(17,20,55,.09);padding:clamp(22px,4vw,36px)}.ue-card-heading{font-family:"Reckless",Georgia,serif!important;font-size:clamp(1.7rem,3vw,2.2rem)!important;font-weight:300!important;line-height:1.1!important;color:var(--n)!important;margin:0 0 24px}.ue-step-title{font-family:"Reckless",Georgia,serif!important;font-weight:300!important;color:var(--n)!important;font-size:clamp(1.35rem,2.6vw,1.75rem)!important;line-height:1.15!important;letter-spacing:-.012em!important;margin:0 0 7px!important}.ue .ue-step-copy.ue-step-copy{font-family:"DM Sans",sans-serif!important;color:var(--n)!important;font-size:.95rem!important;font-weight:400!important;line-height:1.55!important;letter-spacing:0!important;margin:0 0 22px}
.ue-role-combo{position:relative}.ue-role-combo *{font-family:"DM Sans",Arial,sans-serif!important}.ue-role-trigger{width:100%;min-height:56px;border:1px solid rgba(17,20,55,.22);border-radius:5px;background:#fff;color:var(--n);display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 13px;text-align:left;cursor:pointer}.ue-role-current{display:grid;gap:2px}.ue-role-current strong{font-weight:500}.ue-role-current span,.ue-role-option span{font-size:.75rem;color:var(--n)}.ue-role-caret{color:var(--o)}.ue-role-menu{position:absolute;z-index:120;inset-inline:0;top:calc(100% + 6px);list-style:none;margin:0;padding:5px;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 14px 36px rgba(17,20,55,.14)}.ue-role-menu[hidden]{display:none}.ue-role-option{width:100%;border:0;background:#fff;border-radius:4px;padding:10px 11px;text-align:left;display:grid;gap:3px;cursor:pointer;color:var(--n)}.ue-role-option strong{font-weight:500}.ue-role-option:hover,.ue-role-option:focus-visible,.ue-role-option[aria-selected=true]{background:var(--paper);outline:0}.ue-progress-wrap{display:none;margin:24px 0 20px;padding:0 0 16px;border-bottom:1px solid var(--line)}.ue-progress-wrap.show{display:block}.ue-progress-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}.ue-progress-label{font-size:.78rem;color:var(--n)}.ue-track{height:3px;background:rgba(17,20,55,.1)}.ue-track span{display:block;height:100%;background:var(--o)}
.ue-core{display:grid;gap:20px}.ue-shared-fields{padding-top:18px;border-top:1px solid var(--line)}.ue-conditional-block{margin-top:20px;padding-top:20px;border-top:1px solid var(--line);transition:opacity .15s ease,transform .15s ease}.ue-conditional-block.is-leaving{opacity:0;transform:translateX(-10px)}.ue-conditional-block.is-entering{animation:ue-refresh .26s ease}.ue-panel{display:none}.ue-panel.active{display:block;animation:ue-in .28s ease}.ue-panel.active+.ue-panel.active{margin-top:24px}@keyframes ue-refresh{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}@keyframes ue-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.ue-fields{display:grid;grid-template-columns:1fr 1fr;gap:17px 18px}.ue-field{min-width:0}.ue-field.full{grid-column:1/-1}.ue-label{display:block;font-family:"DM Sans",Arial,sans-serif!important;font-size:.75rem!important;font-weight:400!important;color:var(--n);margin-bottom:7px}.ue-label small{font-weight:400;color:var(--n)}.ue-input,.ue-select,.ue-textarea,.ue-date-display{font-family:"DM Sans",Arial,sans-serif!important;font-size:1rem!important;width:100%;min-height:46px;border:1px solid rgba(17,20,55,.22);border-radius:5px;background:#fff;color:var(--n);padding:11px 12px;outline:0}.ue-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%23E46021' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:38px}.ue-textarea{min-height:110px;resize:vertical}.ue-input:focus,.ue-select:focus,.ue-textarea:focus,.ue-date-display:focus{border-color:var(--o);box-shadow:0 0 0 2px rgba(228,96,33,.11)}.ue-input[aria-invalid=true],.ue-select[aria-invalid=true],.ue-textarea[aria-invalid=true],.ue-date-display[aria-invalid=true]{border-color:#b9382e}.ue-error{display:none;color:#a93229;font-size:.74rem;margin-top:5px}.ue-error.show{display:block}.ue-help{color:var(--n);font-size:.72rem;line-height:1.45;margin-top:5px}.ue-currency{position:relative}.ue-currency:before{content:"$";position:absolute;left:12px;top:12px;color:var(--n);z-index:1}.ue-currency .ue-input{padding-left:27px}.ue-conditional[hidden]{display:none!important}
.ue-date{position:relative}.ue-date-row{display:grid;grid-template-columns:1fr 46px;gap:7px}.ue-date-open{border:1px solid rgba(17,20,55,.22);border-radius:5px;background:#fff;color:var(--o);cursor:pointer;font-size:1.15rem}.ue-date-open:focus-visible{outline:2px solid rgba(228,96,33,.25);outline-offset:2px}.ue-cal{position:absolute;z-index:100;right:0;top:53px;width:min(320px,calc(100vw - 54px));background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 14px 38px rgba(17,20,55,.16);padding:13px}.ue-cal[hidden]{display:none}.ue-cal-head{display:grid;grid-template-columns:36px 1fr 36px;align-items:center;margin-bottom:7px}.ue-cal-title{text-align:center;font-weight:500;font-size:.88rem}.ue-cal-nav{height:36px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--n);cursor:pointer}.ue-cal-week,.ue-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.ue-cal-week span{font-size:.64rem;color:var(--n);text-align:center;padding:6px 0}.ue-day{aspect-ratio:1;border:0;border-radius:3px;background:transparent;color:var(--n);cursor:pointer;font-size:.78rem}.ue-day:hover{background:var(--paper)}.ue-day[disabled]{opacity:.28;cursor:not-allowed}.ue-day.today{box-shadow:inset 0 0 0 1px var(--o)}.ue-day.selected{background:var(--o);color:#fff}.ue-asap{width:100%;margin-top:8px;border:0;border-top:1px solid var(--line);background:#fff;color:var(--o);padding:11px 5px 4px;cursor:pointer;font-weight:500}
.ue #ue-back[hidden]{display:none!important}.ue-actions{display:flex;justify-content:space-between;gap:12px;margin-top:26px;padding-top:18px;border-top:1px solid var(--line)}.ue-btn{font-family:"DM Sans",Arial,sans-serif!important;font-size:1rem!important;border-radius:6px;min-height:44px;padding:.85rem 1.5rem;border:1px solid var(--n);cursor:pointer;font-weight:500!important;box-shadow:0 4px 12px rgba(17,20,55,.08)}.ue-btn.primary{background:var(--o);border-color:var(--o);color:#fff}.ue-btn.primary:hover{background:var(--oh)}.ue-btn.secondary{background:#fff;color:var(--n)}.ue-btn.secondary:hover{background:rgba(17,20,55,.04)}.ue-btn:disabled{opacity:.5;cursor:not-allowed}.ue-submit-status{color:#a93229;font-size:.78rem;margin-top:12px}.ue-review{display:grid;gap:8px}.ue-review-group{border-top:1px solid var(--line);padding-top:10px}.ue-review-heading{font-size:.78rem;color:var(--o)}.ue-review-row{display:grid;grid-template-columns:110px 1fr;gap:8px;padding:4px 0;font-size:.8rem}.ue-review-row dt{color:var(--n)}.ue-review-row dd{margin:0;overflow-wrap:anywhere}.ue-note{background:rgba(228,96,33,.07);border-left:2px solid var(--o);padding:10px 12px;color:var(--n);font-size:.78rem;line-height:1.48;margin:17px 0}.ue-success{display:none}.ue-success.show{display:block}.ue-success-title{font:300 1.9rem Reckless;color:var(--n);margin-bottom:7px}.apply-currency-hint{font-size:.72rem;color:var(--n);margin-top:5px}.apply-address-shell{position:relative}.apply-address-list{border-radius:5px!important}.ue [class*="spl-premium-select"]{font-family:"DM Sans",Arial,sans-serif!important}.ue .spl-premium-select-trigger,.ue .spl-premium-select-menu{border-radius:5px!important}
.ue .ue-step-title.ue-step-title{font-size:clamp(1.75rem,2.8vw,2rem)!important}.ue .ue-card-heading.ue-card-heading{font-size:clamp(1.7rem,3vw,2.2rem)!important}.ue .ue-label.ue-label{font-size:.75rem!important}.ue .ue-progress-label.ue-progress-label{font-size:.78rem!important}
@media(max-width:920px){.ue-shell{grid-template-columns:1fr;max-width:760px;gap:34px}.ue-contact-heading{font-size:clamp(2.5rem,9vw,4rem)!important}.ue-art{width:130px;margin-top:18px;margin-right:3%}.ue-main{width:100%}}
@media(max-width:600px){.ue{padding:34px 0 52px}.ue-shell{padding-inline:18px;gap:28px}.ue-contact-lede{font-size:.95rem}.ue-direct-row{display:block}.ue-direct-key{font-size:1rem}.ue-direct-key:after{margin-left:6px}.ue-direct-link{font-size:1.16rem;margin-top:3px}.ue-scenario{padding:13px}.ue-art{width:105px}.ue-card{padding:20px}.ue-fields{grid-template-columns:1fr}.ue-field.full{grid-column:auto}.ue-actions{align-items:stretch}.ue-btn{flex:1;padding-inline:12px}.ue-review-row{grid-template-columns:1fr;gap:3px}}
@media(prefers-reduced-motion:reduce){.ue *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}


/* ---------------------------------------------------------------------------
   Added with the move (2026-09-23)
   --------------------------------------------------------------------------- */
/* A question hidden by the show/hide rules takes no space. */
#splApplyForm [hidden] { display: none !important; }
/* Longer, plain-English question labels (as on the current site) wrap
   cleanly instead of pushing the field down unevenly. */
#splApplyForm .ue-label { line-height: 1.35; }


/* ===========================================================================
   v2 (2026-09-23) - GUIDED FORM REDESIGN
   The form shows one stage at a time under numbered steps, uses buttons
   instead of dropdowns for short lists (no more cut-off options), takes any
   number of properties and directors, and summarises everything with Edit
   links before sending. The site's blanket weight / colour rules outrank
   ordinary selectors, so the few weights and selected-state colours below
   carry four never-matching ids.
   =========================================================================== */

/* ---- Layout: a wider form column; the contact column stays in view ---- */
@media (min-width: 921px) {
  .ue-shell { grid-template-columns: minmax(0, 1fr) minmax(480px, 640px); gap: clamp(40px, 5vw, 72px); }
  .ue-contact { position: sticky; top: 112px; }
}
.ue-card-heading[hidden], .ue-steps[hidden] { display: none !important; }
.ue-conditional-block { margin-top: 0; padding-top: 0; border-top: 0; }
.ue-role-combo { margin-bottom: 26px; }
.ue-panel.active + .ue-panel.active { margin-top: 0; }

/* Icons share one line style */
.ue-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* ---- First screen: the four enquiry types as cards ---- */
.ue-choose-copy { display: none; }
#splApplyForm.ue-choosing .ue-choose-copy { display: block; margin: -10px 0 18px; font-family: "DM Sans", Arial, sans-serif !important; font-size: .95rem; color: var(--n); }
#splApplyForm.ue-choosing .ue-role-trigger,
#splApplyForm.ue-choosing #ue-role-label { display: none !important; }
#splApplyForm.ue-choosing .ue-role-menu,
#splApplyForm.ue-choosing .ue-role-menu[hidden] {
  display: grid !important; position: static; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 0; margin: 0; border: 0; box-shadow: none; background: none; max-height: none !important; overflow: visible;
}
#splApplyForm.ue-choosing .ue-role-menu li { display: flex; list-style: none; }
.ue-role-option .ue-ico { display: none; }
#splApplyForm.ue-choosing .ue-role-option {
  min-height: 128px; padding: 18px; border: 1px solid rgba(17, 20, 55, .18); border-radius: 12px;
  align-content: start; gap: 5px;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
#splApplyForm.ue-choosing .ue-role-option:hover,
#splApplyForm.ue-choosing .ue-role-option:focus-visible {
  border-color: var(--o); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(17, 20, 55, .08);
}
#splApplyForm.ue-choosing .ue-role-option .ue-ico {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(228, 96, 33, .12); color: var(--o); margin-bottom: 8px;
}
#splApplyForm.ue-choosing .ue-role-option strong { font-size: 1.05rem; }
#splApplyForm.ue-choosing .ue-role-option span { font-size: .82rem; line-height: 1.4; }

/* ---- Numbered steps with a sliding underline ---- */
.ue-steps { position: relative; margin: 0 0 26px; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.ue-steps ol { display: flex; gap: clamp(16px, 3.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.ue-steps li { margin: 0; min-width: 0; }
.ue-step {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 0 13px; border: 0; background: none;
  color: var(--n); font-family: "DM Sans", Arial, sans-serif !important; font-size: .92rem; white-space: nowrap; cursor: default;
}
.ue-step.is-todo { opacity: .5; }
button.ue-step { cursor: pointer; }
button.ue-step:hover .ue-step-label, button.ue-step:focus-visible .ue-step-label { text-decoration: underline; text-decoration-color: var(--o); text-underline-offset: 4px; }
.ue-step-num { display: inline-grid; place-items: center; min-width: 1.5em; font-size: .78rem; color: var(--o); }
.ue-step-num svg { width: 15px; height: 15px; }
.ue-steps-bar {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--o);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), width .4s cubic-bezier(.16, 1, .3, 1);
}

/* ---- Choice buttons: chips, joined segments and cards ---- */
.ue-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.ue-choice [data-value] {
  font-family: "DM Sans", Arial, sans-serif !important; font-size: .92rem; line-height: 1.25; color: var(--n);
  background: transparent; border: 1px solid rgba(17, 20, 55, .24); border-radius: 999px; padding: 10px 16px; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.ue-choice [data-value]:hover { border-color: var(--n); }
.ue-choice [data-value]:focus-visible { outline: 2px solid var(--o); outline-offset: 2px; }
html body #splApplyForm .ue-choice [data-value][aria-checked="true"]:not(#_a):not(#_b):not(#_c):not(#_d) {
  background: var(--n) !important; border-color: var(--n) !important; color: #FEF3EC !important;
}
/* Joined segments (Yes / No, loan term, held by ...) */
.ue-seg { display: flex; flex-wrap: nowrap; gap: 3px; padding: 3px; border: 1px solid rgba(17, 20, 55, .22); border-radius: 9px; background: rgba(17, 20, 55, .03); }
.ue-seg [data-value] { flex: 1 1 auto; min-width: 0; border: 0; border-radius: 7px; padding: 10px 6px; font-size: .86rem; white-space: nowrap; text-align: center; }
.ue-seg [data-value]:hover { background: rgba(17, 20, 55, .06); }
.ue-seg-short { max-width: 240px; }
/* Cards (loan purpose, repayments) - the whole wording always fits */
.ue-cards { display: grid; gap: 10px; }
.ue-cards-2 { grid-template-columns: 1fr 1fr; }
.ue-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ue-cards [data-value] {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 12px; row-gap: 3px;
  text-align: left; border-radius: 12px; padding: 14px 15px; white-space: normal;
}
.ue-cards [data-value] > i { grid-row: 1 / span 2; margin-top: 1px; color: var(--o); }
.ue-cards [data-value] > strong { font-size: .98rem; line-height: 1.25; }
.ue-cards [data-value] > span { grid-column: 2; font-size: .8rem; line-height: 1.4; }
.ue-radio { display: block; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(17, 20, 55, .4); position: relative; }
.ue-cards-3 [data-value] { grid-template-columns: minmax(0, 1fr); padding: 14px; }
.ue-cards-3 [data-value] > i { grid-row: auto; margin-bottom: 6px; }
.ue-cards-3 [data-value] > span { grid-column: 1; }
html body #splApplyForm .ue-cards [data-value][aria-checked="true"]:not(#_a):not(#_b):not(#_c):not(#_d) {
  background: rgba(228, 96, 33, .08) !important; border-color: var(--o) !important; color: var(--n) !important;
  box-shadow: inset 0 0 0 1px var(--o);
}
.ue-cards [aria-checked="true"] .ue-radio { border-color: var(--o); }
.ue-cards [aria-checked="true"] .ue-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--o); }
/* A choice left unanswered */
.ue-field.has-error .ue-choice [data-value] { border-color: #b9382e; }
.ue-field.has-error .ue-seg { border-color: #b9382e; }
.ue-field.has-error .ue-seg [data-value] { border-color: transparent; }

/* Weights: the site forces 400 everywhere, so the few 500s need the ids */
html body #splApplyForm .ue-cards [data-value] > strong:not(#_a):not(#_b):not(#_c):not(#_d),
html body #splApplyForm.ue-choosing .ue-role-option strong:not(#_a):not(#_b):not(#_c):not(#_d),
html body #splApplyForm .ue-prop-num:not(#_a):not(#_b):not(#_c):not(#_d),
html body #splApplyForm .ue-step.is-current .ue-step-label:not(#_a):not(#_b):not(#_c):not(#_d) { font-weight: 500 !important; }

/* ---- Security properties ---- */
.ue-block { margin-top: 26px; }
.ue-block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.ue-block-title, .ue-divider {
  font-family: "DM Sans", Arial, sans-serif !important; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--o);
}
.ue-block-count { font-family: "DM Sans", Arial, sans-serif !important; font-size: .78rem; color: var(--n); }
.ue-props { display: grid; gap: 10px; }
.ue-prop {
  border: 1px solid rgba(17, 20, 55, .16); border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, opacity .18s ease, transform .18s ease;
}
.ue-prop.is-open { border-color: rgba(17, 20, 55, .3); box-shadow: 0 10px 26px rgba(17, 20, 55, .06); }
.ue-prop.is-removing { opacity: 0; transform: translateY(-6px); }
.ue-prop-head { display: flex; align-items: center; gap: 4px; padding: 3px 6px 3px 3px; }
.ue-prop-toggle {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px; border: 0; background: none;
  color: var(--n); text-align: left; cursor: pointer; font-family: "DM Sans", Arial, sans-serif !important;
}
.ue-prop-num { font-size: .95rem; white-space: nowrap; }
.ue-prop-sum { flex: 1; min-width: 0; font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .78; }
.ue-prop.is-open .ue-prop-sum { visibility: hidden; }
.ue-prop-tick { display: none; width: 20px; height: 20px; border-radius: 50%; background: var(--o); color: #fff; place-items: center; flex: none; }
.ue-prop-tick svg { width: 12px; height: 12px; }
.ue-prop.is-done:not(.is-open) .ue-prop-tick { display: grid; }
.ue-prop-chev { width: 9px; height: 9px; border-right: 1.5px solid var(--o); border-bottom: 1.5px solid var(--o); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; flex: none; margin-right: 4px; }
.ue-prop.is-open .ue-prop-chev { transform: rotate(-135deg) translate(-2px, -2px); }
.ue-prop-remove {
  border: 0; background: none; padding: 8px 10px; border-radius: 6px; color: var(--n); cursor: pointer;
  font-family: "DM Sans", Arial, sans-serif !important; font-size: .8rem; text-decoration: underline; text-underline-offset: 3px;
}
.ue-prop-remove:hover { color: #a93229; }
.ue-prop-body { display: none; padding: 2px 16px 18px; }
.ue-prop.is-open .ue-prop-body { display: block; animation: ue-in .25s ease; }
.ue-prop .ue-fields .ue-fields { gap: 17px 18px; }
.ue-add {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 10px; padding: 13px 16px;
  border: 1px dashed rgba(17, 20, 55, .34); border-radius: 12px; background: none; color: var(--n); cursor: pointer;
  font-family: "DM Sans", Arial, sans-serif !important; font-size: .92rem; transition: border-color .15s ease, color .15s ease;
}
.ue-add:hover, .ue-add:focus-visible { border-color: var(--o); color: var(--o); outline: 0; }
.ue-add-plus { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--o); font-size: 16px; line-height: 1; }
html body #splApplyForm .ue-add-plus:not(#_a):not(#_b):not(#_c):not(#_d),
html body #splApplyForm .ue-prop-tick:not(#_a):not(#_b):not(#_c):not(#_d) { color: #FFFFFF !important; }
.ue-add-sm { display: inline-flex; width: auto; padding: 9px 14px; }

/* Aerial previews: two across, each labelled with its property */
#splApplyForm .spl-aerial { margin-top: 14px; }
#splApplyForm .spl-aerial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#splApplyForm .spl-aerial-card[data-label]::before {
  content: attr(data-label); position: absolute; left: 8px; top: 8px; z-index: 1; padding: 2px 8px; border-radius: 4px;
  background: rgba(17, 20, 55, .72); color: #fff; font-family: "DM Sans", Arial, sans-serif; font-size: 11px; line-height: 1.5; pointer-events: none;
}

/* Empty helper lines take no room: the address lookup's status line until
   there is something to say, and the aerial status until an address is
   picked (the switch's own hint already explains it). */
#splApplyForm .apply-address-status:empty { display: none; }
#splApplyForm .spl-aerial-status:has(+ .spl-aerial-grid:empty) { display: none; }
#splApplyForm .spl-aerial-grid:empty { display: none; }
.ue-prop .ue-chips { gap: 6px; }
.ue-prop .ue-chips [data-value] { padding: 8px 13px; font-size: .86rem; }

/* Indicative LVR under the property list (loan amount / total values) */
.ue-lvr { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 16px; padding: 12px 16px; border-left: 2px solid var(--o); border-radius: 0 10px 10px 0; background: rgba(228, 96, 33, .07); color: var(--n); }
.ue-lvr-k { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.ue-lvr-v { font-size: 1.6rem; line-height: 1; color: var(--o); }
.ue-lvr-s { font-size: .82rem; }

/* After the first screen, the enquiry type shrinks to one line: a small
   label and a pill that reopens the list. Shown on the first step only. */
#splApplyForm:not(.ue-choosing) .ue-role-combo { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
#splApplyForm:not(.ue-choosing) #ue-role-label { margin: 0; }
#splApplyForm:not(.ue-choosing) .ue-role-trigger { width: auto; min-height: 0; padding: 6px 14px; border-radius: 999px; gap: 10px; }
#splApplyForm:not(.ue-choosing) .ue-role-current span { display: none; }
#splApplyForm:not(.ue-choosing) .ue-role-menu { top: calc(100% + 8px); }

/* ---- Borrower ---- */
.ue-divider { display: flex; align-items: center; gap: 12px; margin: 30px 0 18px; }
.ue-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ue-people-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ue-person { position: relative; }
.ue-person .ue-input { padding-right: 42px; }
.ue-person-remove {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: none; color: var(--n); font-size: 20px; line-height: 1; cursor: pointer;
}
.ue-person-remove:hover { background: rgba(17, 20, 55, .08); }

/* ---- Last step: contact + summary ---- */
#splApplyForm .ue-shared-fields { padding-top: 0; border-top: 0; margin: 0 !important; border-bottom: 0 !important; }
.ue-review { margin-top: 28px; gap: 12px; }
.ue-review-title { font-family: "Reckless", Georgia, serif; font-size: 1.25rem; color: var(--n); margin-bottom: 2px; }
.ue-review-group { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px 10px; }
.ue-review-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.ue-review-edit {
  border: 0; background: none; padding: 4px 0; color: var(--n); cursor: pointer; font-family: "DM Sans", Arial, sans-serif !important;
  font-size: .8rem; text-decoration: underline; text-decoration-color: var(--o); text-underline-offset: 3px;
}
.ue-review-group .ue-review-row { grid-template-columns: 140px minmax(0, 1fr); gap: 12px; margin: 0; padding: 6px 0; font-size: .84rem; line-height: 1.45; border-top: 1px solid rgba(17, 20, 55, .07); }
#splApplyForm .ue-textarea { min-height: 88px; }

/* ---- Buttons ---- */
.ue-actions { align-items: center; }
#ue-next, #apply-submit-btn { margin-left: auto; }
.ue-next-arrow { display: inline-block; margin-left: 10px; transition: transform .2s cubic-bezier(.34, 1.56, .64, 1); }
#ue-next:hover .ue-next-arrow { transform: translateX(4px); }

/* ---- Phones ---- */
@media (max-width: 600px) {
  #splApplyForm.ue-choosing .ue-role-option { min-height: 0; padding: 14px; }
  #splApplyForm.ue-choosing .ue-role-option span { font-size: .78rem; }
  .ue-step:not(.is-current) .ue-step-label { display: none; }
  .ue-cards-3 { grid-template-columns: 1fr; }
  .ue-cards-3 [data-value] { grid-template-columns: auto minmax(0, 1fr); }
  .ue-cards-3 [data-value] > i { grid-row: 1 / span 2; margin-bottom: 0; }
  .ue-cards-3 [data-value] > span { grid-column: 2; }
  .ue-cards-2 [data-value] { grid-template-columns: minmax(0, 1fr); padding: 13px; }
  .ue-cards-2 [data-value] > i { grid-row: auto; margin-bottom: 4px; }
  .ue-cards-2 [data-value] > span { grid-column: 1; }
  .ue-prop-body { padding: 2px 12px 16px; }
  .ue-people-list { grid-template-columns: 1fr; }
  .ue-seg [data-value] { padding: 10px 4px; font-size: .86rem; }
  .ue-review-group .ue-review-row { grid-template-columns: 1fr; gap: 2px; }
  .ue-seg-short { max-width: none; }
}


/* ===========================================================================
   v5 (2026-09-24)
   =========================================================================== */

/* The contact column got narrower when the form widened, and the email
   address broke across two lines. On desktop the "Call" / "Email" labels now
   sit above their links, so each link has the full column and stays whole. */
@media (min-width: 921px) {
  .ue-direct { gap: 18px; }
  .ue-direct-row { display: grid; gap: 3px; }
  .ue-direct .ue-direct-key { font-size: 15px; }
  .ue-direct-key:after { content: none; }
  .ue-direct .ue-direct-link { font-size: clamp(1.1rem, 1.55vw, 1.4rem); white-space: nowrap; }
}

/* A calendar icon on the date button */
.ue-date-open { display: grid; place-items: center; }
.ue-cal-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ue-cal-ico circle { fill: currentColor; stroke: none; }

/* Steps already reached ahead of the current one can be clicked too */
.ue-step.is-visited { cursor: pointer; }

/* "Same as Property 1" beside the proprietor label on property 2 onwards */
.ue-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ue-same {
  border: 0; background: none; padding: 0 0 7px; color: var(--n); cursor: pointer; white-space: nowrap; font-size: .75rem;
  text-decoration: underline; text-decoration-color: var(--o); text-underline-offset: 3px;
}
.ue-same:hover { color: var(--o); }

/* A small tick once an address is picked from the suggestions */
#splApplyForm [data-f="address"][data-longitude] {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='%23E46021'/%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}

.ue-lvr-note { flex-basis: 100%; font-size: .74rem; }

/* Thank-you: a drawn tick, then the next steps in the site's own words */
.ue-success.show { animation: ue-in .4s ease; }
.ue-success-tick { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--o); margin-bottom: 18px; }
.ue-success-tick svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: ue-tick .5s .2s ease forwards; }
@keyframes ue-tick { to { stroke-dashoffset: 0; } }
.ue-success-lede { font-size: 1rem; line-height: 1.6; margin: 6px 0 24px; color: var(--n); }
.ue-success-lede a { color: var(--n); text-decoration: underline; text-decoration-color: var(--o); text-underline-offset: 3px; }
.ue-success-kicker { font-size: .8rem; color: var(--o); margin-bottom: 6px; }
.ue-next { list-style: none; margin: 0; padding: 0; counter-reset: ue-next; }
.ue-next li { counter-increment: ue-next; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 3px 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.ue-next li::before { content: counter(ue-next); grid-row: 1 / span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--o); color: var(--o); font-size: .85rem; }
.ue-next strong { font-size: 1rem; color: var(--n); }
.ue-next span { font-size: .88rem; line-height: 1.5; color: var(--n); }
@media (prefers-reduced-motion: reduce) { .ue-success-tick svg { stroke-dashoffset: 0; } }

/* Phones: Back / Continue stay within thumb reach at the bottom of the
   screen while the step scrolls. */
@media (max-width: 600px) {
  .ue-actions {
    position: sticky; bottom: 0; z-index: 5; margin: 24px -20px -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; box-shadow: 0 -10px 24px rgba(17, 20, 55, .07);
  }
  /* The floating back-to-top button would sit on top of Continue; it moves
     up above the bar while the form is in progress. */
  html body:has(#splApplyForm .ue-actions:not([hidden])) .splport-top { bottom: 96px !important; }
  /* Question labels 12px -> 13.5px on phones */
  .ue .ue-label.ue-label { font-size: .84rem !important; }
}


/* ===========================================================================
   v6 (2026-09-24)
   =========================================================================== */

/* THE SUMMARY ON THE LAST STEP - EASIER TO READ
   Labels and answers were the same size and colour, so each card read as
   one block of text. Now each card has a tinted header, the labels are
   small and quieter, the answers are larger and full navy, and a property
   is set out as short lines instead of one long run-on sentence. */
html body #splApplyForm .ue-review { gap: 14px; }
html body #splApplyForm .ue-review-group { padding: 0; overflow: hidden; border: 1px solid rgba(17, 20, 55, .14); border-radius: 12px; }
html body #splApplyForm .ue-review-head {
  margin: 0; padding: 10px 16px; background: rgba(228, 96, 33, .07); border-bottom: 1px solid rgba(228, 96, 33, .16);
}
html body #splApplyForm .ue-review-heading:not(#_a):not(#_b):not(#_c):not(#_d) {
  font-family: "Reckless", Georgia, serif !important; font-size: 1.02rem !important; color: #111437 !important; letter-spacing: 0 !important;
}
html body #splApplyForm .ue-review-edit { font-size: .82rem; padding: 4px 0 4px 12px; }
html body #splApplyForm .ue-review-group .ue-review-row {
  grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: baseline; margin: 0; padding: 11px 16px;
  border-top: 1px solid rgba(17, 20, 55, .08);
}
html body #splApplyForm .ue-review-head + .ue-review-row { border-top: 0; }
html body #splApplyForm .ue-review-row dt:not(#_a):not(#_b):not(#_c):not(#_d) {
  font-family: "DM Sans", Arial, sans-serif !important; font-size: .78rem !important; line-height: 1.4 !important;
  color: rgba(17, 20, 55, .66) !important; letter-spacing: .01em !important;
}
html body #splApplyForm .ue-review-row dd:not(#_a):not(#_b):not(#_c):not(#_d) {
  font-family: "Reckless", Georgia, serif !important; font-size: .98rem !important; line-height: 1.45 !important; color: #111437 !important;
}
html body #splApplyForm .ue-rv-line { display: block; }
html body #splApplyForm .ue-rv-line + .ue-rv-line { margin-top: 3px; }
html body #splApplyForm .ue-rv-line:not(:first-child):not(#_a):not(#_b):not(#_c):not(#_d) { font-size: .9rem !important; }
@media (max-width: 600px) {
  html body #splApplyForm .ue-review-group .ue-review-row { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 10px 14px; }
  html body #splApplyForm .ue-review-head { padding: 9px 14px; }
}

/* THE STEP BAR ON PHONES - EVERY STEP NAMED
   Phones showed only the current step's name, with ticks and numbers for
   the rest. Each step now has its own equal column, with a one-word name
   under its tick or number, so you can see what's done, where you are and
   what's left - and tap back to a step by name. */
.ue-step-short { display: none; }
@media (max-width: 600px) {
  html body #splApplyForm .ue-steps { margin-bottom: 22px; }
  html body #splApplyForm .ue-steps ol { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
  html body #splApplyForm .ue-steps li { display: flex; min-width: 0; }
  html body #splApplyForm .ue-step { width: 100%; min-width: 0; flex-direction: column; align-items: center; gap: 3px; padding: 0 0 10px; }
  html body #splApplyForm .ue-step .ue-step-label { display: none !important; }
  html body #splApplyForm .ue-step-num { height: 18px; }
  html body #splApplyForm .ue-step-short:not(#_a):not(#_b):not(#_c):not(#_d) {
    display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
    font-size: .8rem !important; line-height: 1.2 !important; color: #111437 !important; letter-spacing: 0 !important;
  }
  html body #splApplyForm button.ue-step:hover .ue-step-short,
  html body #splApplyForm button.ue-step:focus-visible .ue-step-short { text-decoration: underline; text-decoration-color: #E46021; text-underline-offset: 3px; }
}
@media (max-width: 350px) {
  html body #splApplyForm .ue-step-short:not(#_a):not(#_b):not(#_c):not(#_d) { font-size: .72rem !important; }
}


/* REPRESENTING THE APPLICANT - two answers now, given equal halves */
html body #splApplyForm .ue-choice[data-for="representing"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }


/* ===========================================================================
   v7 (2026-09-24)
   =========================================================================== */

/* Property cards: opening and closing are both animated by the script now
   (it grows open and folds shut), so the old fade-in-on-open is switched off. */
html body #splApplyForm .ue-prop.is-open .ue-prop-body { animation: none; }

/* INDICATIVE LVR - larger. The label was 11.5px, the figure 26px and the
   line under it 13px; now 13px, 36px and 15px, in a slightly roomier box. */
html body #splApplyForm .ue-lvr { padding: 16px 20px; gap: 6px 14px; margin-top: 18px; }
html body #splApplyForm .ue-lvr-k:not(#_a):not(#_b):not(#_c):not(#_d) { font-size: .82rem !important; letter-spacing: .06em !important; }
html body #splApplyForm .ue-lvr-v:not(#_a):not(#_b):not(#_c):not(#_d) { font-size: 2.25rem !important; line-height: 1 !important; }
html body #splApplyForm .ue-lvr-s:not(#_a):not(#_b):not(#_c):not(#_d) { font-size: .95rem !important; }
