/* Adapt Leads form brand: white, ink and the one blue. The shared layer follows. */
:root{--f-brand:#1d5bff;--f-brand-ink:#fff;--f-ink:#0f1115;--f-bg:#fff;--f-line:#dcdfe4;--f-line-strong:#b9bec8;--f-tint:#eef3ff;--f-mute:#8a909c}
/* Branded form controls: one layer for every form on the site. Brand comes from five variables defined per site:
   --f-brand (focus, checked, slider), --f-brand-ink (text on brand), --f-ink, --f-bg (field fill), --f-line (field border), --f-tint (hover). */
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,textarea:-webkit-autofill,select:-webkit-autofill{
  -webkit-text-fill-color:var(--f-ink);caret-color:var(--f-ink);box-shadow:0 0 0 1000px var(--f-bg) inset!important;-webkit-box-shadow:0 0 0 1000px var(--f-bg) inset!important;transition:background-color 99999s ease-out 0s}
input:autofill{box-shadow:0 0 0 1000px var(--f-bg) inset!important;-webkit-text-fill-color:var(--f-ink)}
input:focus-visible,select:focus-visible,textarea:focus-visible,.ts-btn:focus-visible{outline:2px solid var(--f-brand);outline-offset:2px}
input:not([type=checkbox]):not([type=radio]):not([type=range]):focus,textarea:focus,.ts-btn:focus{border-color:var(--f-brand)!important}
input::placeholder,textarea::placeholder{color:var(--f-mute,#8a8f86);opacity:1}
textarea{scrollbar-width:thin}

/* checkboxes and radios */
input[type=checkbox]:not([data-native]),input[type=radio]:not([data-native]){-webkit-appearance:none;appearance:none;width:18px;height:18px;min-width:18px;flex:0 0 18px;margin:0;border:1.5px solid var(--f-line-strong,var(--f-line));background:var(--f-bg);display:inline-grid;place-content:center;vertical-align:-4px;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
input[type=checkbox]:not([data-native]){border-radius:6px}
input[type=radio]:not([data-native]){border-radius:50%}
input[type=checkbox]:not([data-native])::after{content:"";width:10px;height:6px;border:solid var(--f-brand-ink);border-width:0 0 2px 2px;transform:translateY(-1px) rotate(-45deg) scale(0);transition:transform .15s}
input[type=radio]:not([data-native])::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--f-brand-ink);transform:scale(0);transition:transform .15s}
input[type=checkbox]:not([data-native]):checked,input[type=radio]:not([data-native]):checked{background:var(--f-brand);border-color:var(--f-brand)}
input[type=checkbox]:not([data-native]):checked::after{transform:translateY(-1px) rotate(-45deg) scale(1)}
input[type=radio]:not([data-native]):checked::after{transform:scale(1)}
input[type=checkbox]:not([data-native]):hover,input[type=radio]:not([data-native]):hover{border-color:var(--f-brand)}
input[type=checkbox]:not([data-native]):disabled,input[type=radio]:not([data-native]):disabled{opacity:.5;cursor:not-allowed}

/* the slider */
input[type=range]:not([data-native]){-webkit-appearance:none;appearance:none;height:6px;border-radius:6px;background:linear-gradient(90deg,var(--f-brand) var(--p,0%),var(--f-line) var(--p,0%));outline-offset:6px;cursor:pointer}
input[type=range]:not([data-native])::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;border-radius:50%;background:#fff;border:2px solid var(--f-brand);box-shadow:0 4px 10px rgba(15,17,21,.2);transition:transform .15s}
input[type=range]:not([data-native])::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#fff;border:2px solid var(--f-brand);box-shadow:0 4px 10px rgba(15,17,21,.2)}
input[type=range]:not([data-native])::-moz-range-track{background:transparent}
input[type=range]:not([data-native]):active::-webkit-slider-thumb{transform:scale(1.12)}

/* the dropdown (replaces the browser's own list; touch devices keep the native one) */
.ts-native{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)}
.ts-wrap{position:relative;display:block;min-width:0}
.ts-btn{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;cursor:pointer;box-sizing:border-box;-webkit-appearance:none;appearance:none}
.ts-btn[data-empty="true"] .ts-label{color:var(--f-mute,#8a8f86)}
.ts-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.ts-chev{flex:0 0 18px;width:18px;height:18px;transition:transform .2s;color:var(--f-ink)}
.ts-btn[aria-expanded="true"] .ts-chev{transform:rotate(180deg)}
.ts-list{position:fixed;z-index:2147483000;margin:0;padding:6px;list-style:none;background:var(--f-bg);border:1px solid var(--f-line);border-radius:14px;box-shadow:0 24px 50px -18px rgba(15,17,21,.35),0 2px 6px rgba(15,17,21,.06);max-height:min(320px,50vh);overflow:auto;opacity:0;transform:translateY(-4px);transition:opacity .12s,transform .12s;font-family:inherit;color:var(--f-ink)}
.ts-list.on{opacity:1;transform:none}
.ts-opt{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:9px;font-size:15px;line-height:1.35;cursor:pointer;color:var(--f-ink)}
.ts-opt[aria-selected="true"]{font-weight:600}
.ts-opt[aria-selected="true"]::after{content:"";flex:0 0 14px;height:7px;width:12px;border:solid var(--f-brand);border-width:0 0 2px 2px;transform:rotate(-45deg) translateY(-2px)}
.ts-opt[data-active="true"]{background:var(--f-tint)}
.ts-opt[aria-disabled="true"]{opacity:.45;cursor:not-allowed}
@media (prefers-reduced-motion:reduce){.ts-list,.ts-chev,input[type=checkbox]:not([data-native])::after,input[type=radio]:not([data-native])::after{transition:none}}
