/* Get a quote has its own colour (--cta) so it never reads as the selected header button (--accent is the "you are here" colour). Per theme. */
:root{--cta:hsl(24 90% 42%);--cta-ink:#fff}
:root[data-theme="dark"]{--cta:hsl(28 92% 58%);--cta-ink:#1e1e1e}
:root[data-theme="grayscale-light"]{--cta:#1f1f1f;--cta-ink:#fff}
:root[data-theme="grayscale-dark"]{--cta:#f0f0f0;--cta-ink:#1e1e1e}
:root[data-theme="neutral"]{--cta:hsl(28 70% 58%);--cta-ink:#101418}
/* Get a quote: the header button (centred on desktop, a bar under the header on the phone) and the wizard flyout. */
.hdr-quote{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 26px;border:0;border-radius:999px;background:var(--cta);color:var(--cta-ink);font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}
.hdr-quote .icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hdr-quote:hover{filter:brightness(1.08)}
.hdr-quote:focus-visible{outline:2px solid var(--cta);outline-offset:3px}

/* Desktop: logo left, button centred, the rest right */
.app-header-inner:has(.hdr-mid){display:grid;grid-template-columns:1fr auto 1fr}
.app-header-inner:has(.hdr-mid) > .logo{grid-column:1;justify-self:start}
.app-header-inner:has(.hdr-mid) > .hdr-mid{grid-column:2;justify-self:center}
.app-header-inner:has(.hdr-mid) > .header-end{grid-column:3;justify-self:end;margin-left:0}

/* "For agents": a link styled like the icon buttons; text label on wide screens, icon only on narrow ones */
.header-end a.icon-btn{display:inline-flex;width:auto;padding:0 12px;gap:6px;align-items:center;text-decoration:none;white-space:nowrap}
@media (max-width:760px){.header-end a.icon-btn .post-btn-label{display:none}.header-end a.icon-btn{width:40px;padding:0;justify-content:center}}

/* Desktop layout in a narrow window (or a phone asking for the desktop site): everything has to fit the header, so it is compacted */
@media (max-width:640px){
  .app-header-inner:has(.hdr-mid){grid-template-columns:auto 1fr auto;gap:8px;padding:0 10px}
  .app-header-inner:has(.hdr-mid) .logo-tag{display:none}
  .app-header-inner:has(.hdr-mid) .hdr-share{display:none}
  .app-header-inner:has(.hdr-mid) .hdr-quote{padding:0 14px;min-height:38px}
  .app-header-inner:has(.hdr-mid) .hdr-quote .icon{display:none}
  .app-header-inner:has(.hdr-mid) .header-end{gap:6px}
  .app-header-inner:has(.hdr-mid) .header-end .icon-btn{width:38px;height:38px}
}

/* Phone: a full-width bar under the header */
.m-quote-bar{flex:none;padding:8px 12px;background:var(--bg);border-bottom:1px solid var(--border)}
.m-quote-bar .hdr-quote{width:100%;min-height:44px}

/* All | Agents | Companies: the new view slides up a little */
@keyframes wti-up{from{opacity:.4;transform:translateY(10px)}to{opacity:1;transform:none}}
#agent-results.is-in{animation:wti-up .18s ease-out}
@media (prefers-reduced-motion:reduce){#agent-results.is-in{animation:none}}

/* Phone: the footer line is centred */
body.is-mobile .site-foot{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;text-align:center;width:100%;margin-left:auto;margin-right:auto}

/* Wizard */
.wiz-q{font-size:1.15rem;margin:0 0 12px}
.wiz-h3{font-size:1.05rem;margin:18px 0 8px}
.wiz-lbl{display:block;margin:0 0 6px;font-size:.9rem;color:var(--muted)}
.wiz-sel{width:100%;min-height:48px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font:inherit}
.wiz-actions{margin:16px 0 0}
.wiz-opts{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.wiz-opt{min-height:56px;padding:10px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;font-weight:600;text-align:left;cursor:pointer}
.wiz-opt{transition:background-color .15s,border-color .15s,color .15s}
.wiz-opt.is-sel,.wiz-opt:hover,.wiz-opt:focus-visible{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.wiz-back,.wiz-link{padding:0;margin:0 0 12px;border:0;background:none;color:var(--accent);font:inherit;cursor:pointer;text-decoration:underline}
.wiz-link{margin:0}
.wiz-none{padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2,transparent)}

/* Wizard shell: a Traverse (country | type | options | form) with a step aside on desktop and a footer on the phone */
#listing-detail:has(.wz),.jd.jd-wiz{max-width:none;width:100%}
.wz{display:flex;flex-direction:column;height:100%;min-height:0;width:100%}
.jd-wiz > .jd-bar{display:flex;justify-content:flex-end;align-items:center;padding-right:16px}
.wz-body{flex:1;min-height:0;display:flex;width:100%;max-width:960px;margin:0 auto}
.wz-main{flex:1;min-width:0;display:flex;flex-direction:column;margin:0 0 16px 0;border:1px solid var(--border);border-radius:12px;overflow:hidden}
.wz-tv{position:relative;flex:1;min-height:0;width:100%}
.wz-tv .tv-panel{overflow-y:auto;overflow-x:hidden}
.wz-panel{width:100%;max-width:none;margin:0 auto;padding:24px 22px 32px;box-sizing:border-box}
.wz-panel--form{display:flex;flex-direction:column;height:100%;max-width:none}
.wz-frame{flex:1;width:100%;min-height:420px;border:1px solid var(--border);border-radius:10px;background:#fff}
.wz-panel--fixed{display:flex;flex-direction:column;height:100%;padding-bottom:0}
.wz-fixed{flex:none}
.wz-scroll{flex:1;min-height:0;overflow-y:auto;align-content:start;padding:0 0 24px}
#wiz-p1{overflow:hidden !important}
.wz-flag{flex:none;width:24px;height:18px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px var(--border)}
.wz-item{display:flex;align-items:center;gap:10px}
.wz .wz-item{min-height:72px;padding:12px 20px;gap:14px;font-size:1.05rem;font-weight:600;line-height:1.25}
.wz-item span{min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere}
.wz-flag{width:28px;height:21px}
/* Selected card: a light accent tint and border, with a filled circle + white tick at the right */
.wz .wz-item.is-sel,.wz .wiz-opt.is-sel{background:color-mix(in srgb,var(--accent) 12%,var(--surface));border-color:var(--accent);color:var(--text);box-shadow:inset 0 0 0 1px var(--accent)}
.wz .wz-item.is-sel::after,.wz .wiz-opt.is-sel::after{content:'';flex:none;margin-left:auto;width:28px;height:28px;border-radius:50%;background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat}
.wz-fixed{display:flex;align-items:center;gap:16px;margin:0 0 14px}
.wz-fixed .wiz-q{margin:0;white-space:nowrap}
.wz-fixed .wz-find{flex:1;min-width:0;margin:0}
.wz-findwrap{position:relative;flex:1;min-width:0}
.wz-findwrap .wz-find{width:100%;padding-left:42px;padding-right:48px;box-sizing:border-box}
.wz-find::placeholder{font-style:italic;opacity:.7}
.wz-find-ic{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:20px;height:20px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;pointer-events:none}
.wz-find::-webkit-search-cancel-button{display:none;-webkit-appearance:none}
.wz-clear{position:absolute;top:50%;right:6px;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:8px;background:none;color:var(--text);cursor:pointer}
.wz-clear svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}
.wz-clear:hover,.wz-clear:focus-visible{background:var(--surface-2,rgba(128,128,128,.15))}
.wz .wiz-opts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.wz .wiz-opt{display:flex;align-items:center;gap:14px;min-height:72px;padding:12px 20px;font-size:1.05rem}
.wz .wiz-ic{width:28px;height:28px}
.wiz-ic{flex:none;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wz-note{margin:10px 0 0;font-size:.75rem;line-height:1.4;color:var(--muted)}
.wz-find{margin:0 0 10px}
.wz-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.wz-list li[hidden]{display:none}
.wz-item{width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:background-color .15s,border-color .15s,color .15s}
.wz-item:hover,.wz-item:focus-visible,.wz-item.is-sel{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.wz-eyebrow{margin:0 0 6px;font-size:.8rem;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}

/* Desktop aside: numbers in circles, like the sign-up aside */
.wz-side{flex:none;width:300px;padding:28px 12px 28px 28px;box-sizing:border-box;overflow-y:auto}
.wz-side-title{margin:0 0 4px;font-size:1.25rem}
.wz-side-sub{margin:0 0 22px;color:var(--muted);font-size:.9rem}
.wz-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.wz-stepbtn{display:flex;align-items:center;gap:12px;width:100%;padding:8px 6px;border:0;border-radius:10px;background:none;color:var(--muted);font:inherit;text-align:left;cursor:pointer}
.wz-stepbtn:disabled{cursor:default}
.wz-stepbtn:not(:disabled):hover{background:var(--surface-2,rgba(128,128,128,.1))}
.wz-num{flex:none;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;border:2px solid var(--border);font-weight:700;font-size:.9rem;color:var(--muted);background:transparent}
.wz-st{display:flex;flex-direction:column;min-width:0}
.wz-st b{font-weight:600}
.wz-st i{font-style:normal;font-size:.82rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wz-steps li.is-on .wz-stepbtn{color:var(--text);background:color-mix(in srgb,var(--accent) 14%,transparent)}
.wz-steps li.is-on .wz-num{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.wz-steps li.is-done .wz-num{border-color:var(--accent);color:var(--accent)}
.wz-steps li.is-done .wz-stepbtn{color:var(--text)}

/* Phone: Close / Change country / Change type in the footer; panels use the full viewport width */
.wz-foot{flex:none;display:flex;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--bg)}
.wz-fbtn{flex:1;min-height:44px;padding:0 8px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font:inherit;font-weight:600;cursor:pointer}
.wz-fbtn[hidden]{display:none}
.wz-fbtn:disabled{opacity:.45;cursor:default}
.wz-fbtn--go{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
@media (min-width:641px){.wz-scroll{padding-right:8px}.wz-fixed{padding-right:8px}.wz-main{margin-right:28px}.wz-foot{justify-content:center;gap:12px}.wz-fbtn{flex:none;min-width:140px}}
body.is-mobile .wz-panel{max-width:none;padding:18px 16px 24px}
body.is-mobile .wz-side{display:none}
body.is-mobile .wz-main{margin:0;border:0;border-radius:0}
.wz-st i{display:flex;align-items:center;gap:6px}
.wz-chip{display:inline-flex;flex:none}
.wz-chip:empty{display:none}
.wz-chip .wiz-ic{width:16px;height:16px}
.wz-chip .wz-flag{width:20px;height:15px}
body.is-mobile .dialog-body--flyout:has(.wz){padding-left:0 !important;padding-right:0 !important}

/* Options, quote form and agent panels: fixed header (gets a background once the content scrolls), faded content edges, back-to-top FAB */
#wiz-p3,#wiz-p4,#wiz-p5{overflow:hidden !important}
.wz .wz-panel.wz-opt{position:relative;padding:0}
.wz-opt-head{flex:none;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 22px 12px;border-bottom:1px solid transparent;background:transparent;transition:background-color .2s,border-color .2s,box-shadow .2s;z-index:2}
.wz-opt-head.is-scrolled,.wz-opt-head.is-solid{background:var(--bg);border-bottom-color:var(--border);box-shadow:0 2px 10px rgba(0,0,0,.08)}
.wz-opt-head .wiz-q,.wz-opt-head .wiz-h3{margin:0}
.wz-opt-head .wiz-back{display:inline-flex;align-items:center;gap:6px;min-height:36px;margin:0;padding:0 14px 0 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);font-weight:600;text-decoration:none}
.wz-opt-head .wiz-back:hover,.wz-opt-head .wiz-back:focus-visible{border-color:var(--accent);color:var(--accent)}
.wz-opt-head .wiz-back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.wz-opt-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 22px 56px;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 var(--ft,0px),#000 calc(100% - var(--fb,28px)),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 var(--ft,0px),#000 calc(100% - var(--fb,28px)),transparent 100%)}
.wz-opt-body{flex:1;min-height:0;display:flex;padding:0}
.wz-opt .wz-frame{display:block;min-height:0;height:100%;border:0;border-radius:0;box-shadow:none;background:#fff}
.wz-opt .wz-frame[hidden]{display:none}
.wz-fab{position:absolute;right:18px;bottom:18px;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:var(--accent);color:var(--accent-ink);box-shadow:0 4px 14px rgba(0,0,0,.25);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility .2s}
.wz-fab.is-on{opacity:1;visibility:visible;transform:none}
.wz-fab:hover{filter:brightness(1.08)}
.wz-fab:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.wz-fab svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
body.is-mobile .wz-opt-head{padding:14px 16px 10px}
body.is-mobile .wz-opt-scroll{padding:4px 16px 56px}
/* Quote form and agent: the card grows to the left over the step aside (which stays in place underneath), and splits into a description column and the form / contact column */
.wz-main{position:relative;z-index:1;background:var(--bg);transition:margin-left .35s ease}
body:not(.is-mobile) .wz[data-step="4"] .wz-main,body:not(.is-mobile) .wz[data-step="5"] .wz-main{margin-left:-300px}
.wz-split{flex:1;min-height:0;display:flex}
.wz-split-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}
.wz-aside{flex:none;width:300px;box-sizing:border-box;padding:22px 22px 22px 28px;overflow-y:auto;border-right:1px solid var(--border)}
.wz-aside .jc-av{margin:0 0 12px}
.wz-aside-title{margin:0 0 2px;font-size:1.25rem}
.wz-aside-sub{margin:0 0 4px;color:var(--muted)}
.wz-aside-loc{margin:0 0 12px;color:var(--muted);font-size:.9rem}
.wz-aside-desc{margin:12px 0 0;line-height:1.5}
.wz-aside .jd-chips{margin:0 0 4px}
.wz-first{margin-top:12px}
.wz .wiz-opt[hidden]{display:none}
.wz .wiz-none[hidden]{display:none}
body.is-mobile .wz-split{flex-direction:column}
body.is-mobile .wz-aside{width:auto;max-height:38%;padding:14px 16px;border-right:0;border-bottom:1px solid var(--border)}
@media (prefers-reduced-motion:reduce){.wz-main{transition:none}}
.wz-agent-head{display:flex;align-items:center;gap:14px;margin:0 0 16px}
.wz-agent-title{margin:0 0 2px;font-size:1.25rem}
.wz-agent-head p{margin:0}
@media (prefers-reduced-motion:reduce){.wz-opt-head,.wz-fab{transition:none}}

/* Options: the counts first (the company page's gradient + tiles), the agents / quote programs then slide in from the right */
#wiz-p3 .wz-res{position:relative;flex:1;min-height:0;display:flex;overflow:hidden;padding:0}
.wz-res-sum{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-start;padding:28px 24px;color:#fff;overflow-y:auto;background:radial-gradient(120% 70% at 100% 0%,hsl(0 0% 100%/.2),transparent 60%),linear-gradient(135deg,hsl(var(--h) 72% 36%),hsl(calc(var(--h) + 55) 78% 24%));background:radial-gradient(120% 70% at 100% 0%,hsl(0 0% 100%/.2),transparent 60%),linear-gradient(135deg in oklch,hsl(var(--h) 72% 36%),hsl(calc(var(--h) + 55) 78% 24%))}
.wz-res-list{position:absolute;inset:0;display:flex;flex-direction:column;background:var(--bg);transform:translateX(100%);visibility:hidden;transition:transform .35s ease,visibility 0s linear .35s;z-index:2}
.wz-res[data-wz-view="list"] .wz-res-list{transform:none;visibility:visible;transition-delay:0s}
.wz-res-sec[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.wz-res-list{transition:none}}
.wz-res-q{margin:0 0 6px;display:grid;gap:2px;color:#fff}
.wz-res-q span{font-size:1.1rem;font-weight:500;opacity:.9}
.wz-res-q b{font-size:1.75rem;line-height:1.2;font-weight:800}
.wz-aside-pick[hidden]{display:none}
.wz-aside-ic{display:block;width:76px;height:76px;padding:14px;box-sizing:border-box;border-radius:14px;margin:0 0 14px;background:color-mix(in srgb,var(--accent) 14%,var(--surface));color:var(--accent);fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
/* Options list open: the card grows left over the step aside, like the quote form */
body:not(.is-mobile) .wz[data-split] .wz-main{margin-left:-300px}
/* Step 3 current: the number stays visible (is-done must not repaint it) */
.wz-steps li.is-on .wz-num{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}

/* Direct Contact form: icon fields, name row, big-tick type buttons, counter */
.jd-dc{max-width:none}
.jd-dc .lf{display:grid;gap:4px;font-weight:600;min-width:0}
.jd-dc .lf-l{font-size:.92rem}
.lf-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.lf-w{position:relative;display:block}
.lf-i{position:absolute;left:11px;top:50%;width:18px;height:18px;margin-top:-9px;fill:none;stroke:var(--muted);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.lf-i-top{top:12px;margin-top:0}
.jd-dc .lf-w input,.jd-dc .lf-w select,.jd-dc .lf-w textarea{width:100%;box-sizing:border-box;padding:9px 10px 9px 38px;border:1px solid var(--border,#bbb);border-radius:8px;background:var(--surface,#fff);color:inherit;font:inherit;font-weight:400}
.jd-dc .lf-w textarea{resize:vertical;min-height:110px}
.jd-dc .lf-more select,.jd-dc .lf-more input{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid var(--border,#bbb);border-radius:8px;background:var(--surface,#fff);color:inherit;font:inherit;font-weight:400}
.jd-dc .lf-more{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.lf-count{justify-self:end;font-size:.8rem;font-weight:400;color:var(--muted)}
.lf-types{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.lf-opt{display:flex;align-items:center;min-height:52px;padding:10px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;font-weight:600;text-align:left;cursor:pointer;transition:background-color .15s,border-color .15s}
.lf-opt:hover,.lf-opt:focus-visible{border-color:var(--accent)}
.lf-opt.is-sel{background:color-mix(in srgb,var(--accent) 12%,var(--surface));border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.lf-opt.is-sel::after{content:'';flex:none;margin-left:auto;width:28px;height:28px;border-radius:50%;background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat}
/* Phone: the labels of the personal fields become placeholders */
body.is-mobile .lf-row{grid-template-columns:1fr}

/* Field icons live in the controls themselves (background image), so they always sit inside the box */
.jd-dc .lf-w input,.jd-dc .lf-w select,.jd-dc .lf-w textarea{background-color:var(--surface,#fff);background-repeat:no-repeat;background-position:12px center;background-size:18px 18px}
.jd-dc .lf-w textarea{background-position:12px 12px}
.jd-dc .lf-w .ic-user{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%237d8794%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%223.5%22/%3E%3Cpath d=%22M5 20c0-3.6 3.1-6 7-6s7 2.4 7 6%22/%3E%3C/svg%3E")}
.jd-dc .lf-w .ic-mail{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%237d8794%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22/%3E%3Cpath d=%22M3 7l9 6 9-6%22/%3E%3C/svg%3E")}
.jd-dc .lf-w .ic-phone{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%237d8794%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 3h3l2 5-2.2 1.3a11 11 0 0 0 5.9 5.9L16 13l5 2v3a2 2 0 0 1-2 2A16 16 0 0 1 4 5a2 2 0 0 1 2-2z%22/%3E%3C/svg%3E")}
.jd-dc .lf-w .ic-globe{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%237d8794%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M3 12h18M12 3c3 3.2 3 14.8 0 18M12 3c-3 3.2-3 14.8 0 18%22/%3E%3C/svg%3E")}
.jd-dc .lf-w .ic-msg{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%237d8794%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5h16v11H9l-5 4z%22/%3E%3C/svg%3E")}
.lf-i{display:none}

/* Input text must not inherit the white of the gradient slide; placeholders show on phones only (the phone number's example always) */
.jd-dc .lf-w input,.jd-dc .lf-w select,.jd-dc .lf-w textarea,.jd-dc .lf-more input,.jd-dc .lf-more select{color:var(--text,#1c1c1c)}
.jd-dc select option{color:var(--text,#1c1c1c);background:var(--surface,#fff)}
.jd-dc input::placeholder,.jd-dc textarea::placeholder{color:var(--muted,#6b7480);opacity:1}
.jd-dc .lf-more .lf{grid-column:1/-1}

/* Agent flyout, right slide: "Message ..." stays fixed on top, the form scrolls under it */
.jd.is-split .jd-slide-info:has(> #lead-box){overflow:hidden}
.jd-slide-info:has(> #lead-box){gap:0}
.jd-slide-info:has(> #lead-box) .jd-info-head{flex:none;display:block;padding-bottom:14px;min-width:0;border-bottom:1px solid hsl(0 0% 100%/.25)}
.jd-slide-info > #lead-box{flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;padding:16px 4px 12px 4px;box-sizing:border-box;overscroll-behavior-y:contain;overscroll-behavior-x:auto}
.jd-slide-info > #lead-box{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 12px,#000 calc(100% - 12px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 12px,#000 calc(100% - 12px),transparent 100%)}
/* Review step: what will be sent, then the code box */
.lf-review{margin:0 0 12px;padding:12px 14px;border:1px solid var(--border,#bbb);border-radius:12px;background:var(--surface,#fff);color:var(--text,#1c1c1c)}
.lf-review-t{margin:0 0 8px;font-size:1rem}
.lf-sum{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:0;font-size:.92rem}
.lf-sum dt{font-weight:600;color:var(--muted,#6b7480)}
.lf-sum dd{margin:0;min-width:0;overflow-wrap:anywhere}
.lf-sum-msg{white-space:pre-wrap}
.lf-otp{display:grid;gap:2px;margin:0 0 12px;padding:10px 14px;border-radius:12px;border:2px solid var(--accent,#2b6cb0);background:color-mix(in srgb,var(--accent,#2b6cb0) 14%,var(--surface,#fff));color:var(--text,#1c1c1c)}
.jd-dc .lf-code{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--border,#bbb);border-radius:8px;background:var(--surface,#fff);color:var(--text,#1c1c1c);font:inherit;font-size:1.4rem;letter-spacing:.35em;text-align:center}
.jd-dc .lf-country{margin:0;display:flex;gap:8px;align-items:baseline}
.jd-dc .lf-country b{font-weight:600}
.jd-dc .lf-ns{font-weight:400;font-size:.85rem;opacity:.85}
/* No Share agent: the No Share icon sits left of the phone icon, inside the field */
.jd-dc .lf-w .ic-phone-ns{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 32 32%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22translate%286 6%29 scale%28.83%29%22 stroke=%22%237d8794%22 stroke-width=%222.4%22%3E%3Ccircle cx=%2218%22 cy=%225%22 r=%223%22/%3E%3Ccircle cx=%226%22 cy=%2212%22 r=%223%22/%3E%3Ccircle cx=%2218%22 cy=%2219%22 r=%223%22/%3E%3Cpath d=%22M8.6 10.5l6.8-4M8.6 13.5l6.8 4%22/%3E%3C/g%3E%3Cg stroke=%22%23d32f2f%22 stroke-width=%221.8%22%3E%3Ccircle cx=%2216%22 cy=%2216%22 r=%2214.2%22/%3E%3Cpath d=%22M6 6l20 20M26 6L6 26%22/%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%237d8794%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 3h3l2 5-2.2 1.3a11 11 0 0 0 5.9 5.9L16 13l5 2v3a2 2 0 0 1-2 2A16 16 0 0 1 4 5a2 2 0 0 1 2-2z%22/%3E%3C/svg%3E");background-position:10px center,36px center;background-size:20px 20px,18px 18px;padding-left:64px}
.jd-dc .lf-count{color:var(--text,#1c1c1c);opacity:.85;font-weight:600}
.jd-slide-info .lf-count{color:#fff;opacity:1}

/* No Share status badge beside the phone label */
.jd-dc .lf-ns{display:inline-flex;align-items:center;gap:5px;margin-left:6px;padding:2px 10px 2px 6px;border-radius:999px;font-size:.8rem;font-weight:600;opacity:1;background:#fff;color:#1c1c1c;box-shadow:0 0 0 1px rgba(0,0,0,.12)}
.jd-dc .lf-ns-ic{width:15px;height:15px;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.jd-dc .lf-ns-yes .lf-ns-ic{stroke:#1b7f3b}
.jd-dc .lf-ns-no .lf-ns-ic{stroke:#c62828}
/* Placeholders read as hints, not as typed text: lighter and italic */
.jd-dc input::placeholder,.jd-dc textarea::placeholder{color:#9aa3ae;font-style:italic;opacity:1}
.jd-dc .lf-next{margin-top:-4px;font-size:.88rem}

/* Beam trace: a light travelling round the Verify message button's border */
@property --beam-a{syntax:'<angle>';initial-value:0deg;inherits:false}
@keyframes lf-beam{to{--beam-a:360deg}}
.lf-beam{position:relative;isolation:isolate}
.lf-beam::after{content:'';position:absolute;inset:-3px;padding:3px;border-radius:calc(var(--r-btn,8px) + 3px);border-radius:inherit;background:conic-gradient(from var(--beam-a),transparent 0 62%,var(--accent,#2b6cb0) 82%,#fff 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);animation:lf-beam 2.6s linear infinite;pointer-events:none}
.jd-slide-info .lf-beam::after{background:conic-gradient(from var(--beam-a),transparent 0 62%,#7fe3ff 82%,#fff 100%)}
@media (prefers-reduced-motion:reduce){.lf-beam::after{animation:none;opacity:0}}
.jd-dc .lf-beam{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;line-height:1.2}
.jd-dc .lf-b2{font-size:.78rem;font-weight:400;opacity:.9}
.jd-dc .lf-next{text-align:center}
.jd-dc .lf-beam{min-height:64px;padding:12px 18px}
.jd-dc .lf-b1{font-size:1.15rem;font-weight:700}
.jd-dc .lf-b2{font-size:.88rem}
/* Age: until one is chosen, "Choose..." reads as a hint */
.jd-dc .lf-more select:has(option[value=""]:checked){color:#9aa3ae;font-style:italic}
.jd-dc .lf-more select option{color:var(--text,#1c1c1c);font-style:normal}

/* 6-digit code boxes (same look as globaljoblistings) */
.em-code-group{display:flex;gap:10px;justify-content:center;margin:14px 0}
.em-digit{width:46px;height:56px;padding:0;text-align:center;font:inherit;font-size:1.5rem;font-weight:700;border:2px solid var(--border,#bbb);border-radius:8px;background:var(--bg,#fff);color:var(--text,#1c1c1c);caret-color:var(--accent,#2b6cb0)}
.em-digit:focus{outline:none;border-color:var(--accent,#2b6cb0);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent,#2b6cb0) 22%,transparent)}
@media (max-width:420px){.em-digit{width:40px;height:50px}.em-code-group{gap:6px}}

/* Phone block: No Share tag sits under the callback line */
.jd-dc .lf-nsrow .lf-ns{margin-left:0}
/* Pick-one questions: tick buttons on desktop, a drop-down on phones */
.jd-dc .lf-sel{display:none}
body.is-mobile .jd-dc .lf-types{display:none}
body.is-mobile .jd-dc select.lf-sel{display:block;width:100%;box-sizing:border-box;min-height:48px;padding:10px 12px;border:1px solid var(--border,#bbb);border-radius:8px;background-color:var(--surface,#fff);color:var(--text,#1c1c1c);font:inherit;font-size:16px;font-weight:400}
body.is-mobile .jd-dc select.lf-sel:has(option[value=""]:checked){color:#9aa3ae;font-style:italic}
/* Phone: more room between the fields */
body.is-mobile .jd-dc{display:grid;gap:20px}
body.is-mobile .jd-dc .lf{gap:3px}
body.is-mobile .jd-dc .lf-l{font-size:1rem}
body.is-mobile .jd-dc .lf-w input,body.is-mobile .jd-dc .lf-w select,body.is-mobile .jd-dc .lf-more input,body.is-mobile .jd-dc .lf-more select{min-height:48px;font-size:16px}
body.is-mobile .jd-dc .lf-w textarea{font-size:16px;min-height:130px}
body.is-mobile .jd-dc .lf-more{gap:20px}
body.is-mobile .jd-dc .lf-row{gap:20px}
.jd-dc .lf-pmeta{display:grid;gap:8px;justify-items:start;margin-top:-6px}
.jd-dc .lf-pmeta > *{margin:0}
body.is-mobile .jd-dc .lf-pmeta{margin-top:-12px}

/* Yes / No questions: radio buttons */
.lf-radios{display:flex;gap:12px;flex-wrap:wrap}
.lf-radio{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:8px 18px;border:1px solid var(--border,#bbb);border-radius:12px;background:var(--surface,#fff);color:var(--text,#1c1c1c);font-weight:600;cursor:pointer}
.lf-radio input{width:20px;height:20px;margin:0;accent-color:var(--accent,#2b6cb0)}
.lf-radio:has(input:checked){border-color:var(--accent,#2b6cb0);background:color-mix(in srgb,var(--accent,#2b6cb0) 12%,var(--surface,#fff));box-shadow:inset 0 0 0 1px var(--accent,#2b6cb0)}
/* Message slide: nothing may push past the panel width */
#lead-box,#lead-box .jd-dc,#lead-box .lf-row>*,#lead-box .lf-w{min-width:0;max-width:100%}
#lead-box .lf-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#lead-box .lf-types{grid-template-columns:repeat(auto-fill,minmax(min(150px,100%),1fr))}
#lead-box .lf-more{grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr))}
#lead-box .lf-opt{min-width:0;overflow-wrap:anywhere}
#lead-box .lf-ns{max-width:100%;flex-wrap:wrap}
/* Equal air: header line -> intro text -> First name row */
#lead-box > .jd-info-text{margin:0 0 16px}
/* Header title: one line that scrolls sideways, right edge fades, chevron until scrolled */
.hs-wrap{position:relative;min-width:0;max-width:100%}
.hs-bar{white-space:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:0;outline-offset:2px}
.hs-bar::-webkit-scrollbar{display:none}
.hs-wrap:not(.is-end) .hs-bar{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 44px),transparent 100%);mask-image:linear-gradient(to right,#000 calc(100% - 44px),transparent 100%)}
.hs-wrap.is-start:not(.is-end) .hs-bar{}
.hs-wrap:not(.is-start):not(.is-end) .hs-bar{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 28px,#000 calc(100% - 44px),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 28px,#000 calc(100% - 44px),transparent 100%)}
.hs-wrap.is-end:not(.is-start) .hs-bar{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 28px);mask-image:linear-gradient(to right,transparent 0,#000 28px)}
.hs-hint{position:absolute;right:2px;top:calc(50% - 5px);translate:0 -50%;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--accent,#2b6cb0);box-shadow:0 1px 4px rgba(0,0,0,.25);pointer-events:none;animation:hs-nudge 1.3s ease-in-out infinite;transition:opacity .25s ease}
.hs-hint svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.hs-wrap.is-end .hs-hint,.hs-wrap.was-scrolled .hs-hint{opacity:0;animation:none}
@keyframes hs-nudge{0%,100%{transform:translateX(-3px)}50%{transform:translateX(3px)}}
@media (prefers-reduced-motion:reduce){.hs-hint{animation:none}}
/* Message slide side padding matches the first slide (8px content inset) */
.jd .jd-slide-info:has(> #lead-box),.jd.is-split .jd-slide-info:has(> #lead-box){padding-left:12px;padding-right:12px}
.jd-slide-info:has(> #lead-box){padding-bottom:8px}
.jd-slide-info > #lead-box{padding-bottom:4px}
/* Mobile: name fields stack; tighter space under the header and before the intro text */
body.is-mobile .jd-dc .lf-row{grid-template-columns:minmax(0,1fr);gap:20px}
body.is-mobile .jd-slide-info:has(> #lead-box) .jd-info-head{padding-bottom:6px}
body.is-mobile .jd-slide-info > #lead-box{padding-top:8px}
/* Header chevron: like the details swipe hint, nudges a few times, then fades out for good */
.hs-hint{animation:hs-nudge 1.3s ease-in-out .5s 3 backwards,hs-out .4s ease 4.4s forwards}
@keyframes hs-out{to{opacity:0}}
@media (prefers-reduced-motion:reduce){.hs-hint{animation:hs-out .4s ease 4.4s forwards}}
/* Phone: an agent opens as two slides (details | message) with the footer nav; Back lives in the footer */
body.is-mobile .wz-panel.wz-agent-m{padding:0}
.wz-agent-m .jd{max-width:none;margin:0;height:100%;flex:1 1 auto}
body.is-mobile .wz[data-step="5"] .wz-foot{display:none}
body.is-mobile .co .wz-opt-head .wiz-back,body.is-mobile .wz-agent-m .wiz-back{display:none}
body.is-mobile .co .jd-foot-solo{flex:none;display:flex;justify-content:center}
body.is-mobile .co .jd-foot-solo .jd-foot-close{flex:0 0 auto;width:38%;transform:none}
body.is-mobile .co #co-p5 .wz-opt-head{display:none}
/* Name fields stack on phones (also in a narrow window); beats the #lead-box two-column rule above */
body.is-mobile #lead-box .lf-row{grid-template-columns:minmax(0,1fr);gap:20px}
@media (max-width:640px){#lead-box .lf-row{grid-template-columns:minmax(0,1fr);gap:20px}}

/* Quote form screens: form only, on the same themed gradient as the Direct Contact panel; the partner note sits under the form */
.wz-aside[hidden]{display:none}
.wz-opt-body--qf{flex-direction:column;gap:10px;padding:14px;box-sizing:border-box;color:#fff;background:radial-gradient(120% 70% at 100% 0%,hsl(0 0% 100%/.2),transparent 60%),linear-gradient(135deg,hsl(var(--h,215) 72% 36%),hsl(calc(var(--h,215) + 55) 78% 24%));background:radial-gradient(120% 70% at 100% 0%,hsl(0 0% 100%/.2),transparent 60%),linear-gradient(135deg in oklch,hsl(var(--h,215) 72% 36%),hsl(calc(var(--h,215) + 55) 78% 24%))}
.wz-opt .wz-opt-body--qf .wz-frame{flex:1 1 auto;height:auto;min-height:0;border-radius:12px}
.wz-opt-body--qf .wz-note{flex:none;margin:0;color:hsl(0 0% 100%/.85);text-align:center}

/* Desktop: Back centred on its own line, the title on the next line at the left */
body:not(.is-mobile) .wz-opt-head:has(> .wiz-q){flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:10px}
body:not(.is-mobile) .wz-opt-head:has(> .wiz-q) .wiz-back{align-self:center}
body:not(.is-mobile) .wz-opt-head:has(> .wiz-q) .wiz-q{align-self:flex-start}

/* Quote form screens: Back centred; the form sits in a scrolling content area, 800px max, on the box background (no white) */
.wz-panel--form .wz-opt-head{justify-content:center}
.wz-opt-body--qf{overflow-y:auto;align-items:center}
.wz-opt .wz-opt-body--qf .wz-frame{flex:1 0 auto;width:100%;max-width:800px;min-height:460px;background:transparent}
.wz-opt-body--qf .wz-note{width:100%;max-width:800px}

/* Quote form, desktop: two columns - an aside about the program on the left, the form on the right; phones show the form only */
body.is-mobile .wz-panel--form .wz-aside{display:none}
body:not(.is-mobile) .wz-panel--form .wz-split{flex-direction:row}
body:not(.is-mobile) .wz-panel--form .wz-aside{display:block}
body:not(.is-mobile) .wz-opt .wz-opt-body--qf{flex:1;min-width:0;align-items:stretch}
body:not(.is-mobile) .wz-opt .wz-opt-body--qf .wz-frame,body:not(.is-mobile) .wz-opt-body--qf .wz-note{max-width:none}

/* Desktop: the Back / Back to ... buttons move up into the flyout's top bar, just left of the Close button. They stay in their panel's markup;
   CSS anchor positioning pins them to the Close button (browsers without it keep the buttons in the panel header). */
@supports (anchor-name:--a){
  body:not(.is-mobile) .jd-bar .jd-x{anchor-name:--jd-close}
  body:not(.is-mobile) .jd:has(> .jd-bar) .wz-opt-head .wiz-back{position:fixed;position-anchor:--jd-close;top:anchor(center);right:calc(anchor(left) + 0px);translate:-24px -50%;z-index:60}
  body:not(.is-mobile) .jd:has(> .jd-bar) .wz-opt-head:not(:has(> .wiz-q)){padding:0;min-height:0;border:0;box-shadow:none;background:none}
}
body:not(.is-mobile) .jd-wiz > .jd-bar{justify-content:center;padding-right:0}

/* Quote form iframes sit on the gradient: transparent, and a light colour-scheme so a dark-mode page does not force an opaque backdrop behind them */
.wz-frame,.jd-info-frame,.wz-opt .wz-frame{background:transparent !important;color-scheme:light}

/* Narrow form column (split flyout, small windows): first and last name stack on separate rows */
#lead-box{container-type:inline-size}
@container (max-width:380px){#lead-box .lf-row{grid-template-columns:minmax(0,1fr)}}

/* Step 1 (country list): faded top and bottom edges; the first row starts below the top fade, so nothing is dimmed at rest */
.wz-scroll{padding-top:14px;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 14px,#000 calc(100% - 24px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 14px,#000 calc(100% - 24px),transparent 100%)}
/* Phone: the step fills the content area edge to edge; the list scrolls inside it */
body.is-mobile #wiz-p1 .wz-panel{padding:16px 0 0}
body.is-mobile #wiz-p1 .wz-fixed{padding:0 16px}
body.is-mobile #wiz-p1 .wz-scroll{padding:14px 16px 28px;overscroll-behavior:contain}

/* Phone, options list (Message an agent / Compare quotes): no "Back to options" header (the footer Back does it); a small icon with the title and sub-header to its right */
body.is-mobile .wz-res-list .wz-opt-head{display:none}
body.is-mobile .wz-res-aside .wz-aside-pick:not([hidden]){display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:center}
body.is-mobile .wz-res-aside .wz-aside-ic{grid-column:1;grid-row:1 / span 2;width:48px;height:48px;padding:10px;margin:0;border-radius:12px}
body.is-mobile .wz-res-aside .wz-aside-title{grid-column:2;grid-row:1;margin:0;align-self:end}
body.is-mobile .wz-res-aside .wz-aside-sub{grid-column:2;grid-row:2;margin:0;align-self:start}
body.is-mobile .wz-res-aside .wz-aside-desc{grid-column:1 / -1;grid-row:3;margin:10px 0 0}

/* Phone: the options header and the wizard footer take a themed tint (follows the accent of the active theme) instead of the plain page colour */
body.is-mobile{--wz-bar-bg:color-mix(in srgb,var(--accent) 9%,var(--bg))}
body.is-mobile .wz-res-aside,body.is-mobile .wz-foot{background:var(--wz-bar-bg)}

/* Phone, options list: the header shrinks to a small icon + title while the list scrolls (sub-header fades away), with a soft shadow under it */
body.is-mobile .wz-res-aside{position:relative;z-index:2;transition:padding .2s ease,box-shadow .2s ease}
body.is-mobile .wz-res-aside.is-scrolled{box-shadow:0 2px 10px rgba(0,0,0,.1)}
body.is-mobile .wz-res-aside .wz-aside-ic,body.is-mobile .wz-res-aside .wz-aside-title{transition:width .2s ease,height .2s ease,padding .2s ease,font-size .2s ease,transform .25s ease}
body.is-mobile .wz-res-aside .wz-aside-sub{max-height:3em;overflow:hidden;transition:max-height .2s ease,opacity .2s ease}
body.is-mobile .wz-res-aside.is-compact{padding-top:8px;padding-bottom:8px}
body.is-mobile .wz-res-aside.is-compact .wz-aside-ic{width:30px;height:30px;padding:6px;border-radius:9px}
body.is-mobile .wz-res-aside.is-compact .wz-aside-title{font-size:1rem;align-self:center;grid-row:1 / span 2}
body.is-mobile .wz-res-aside.is-compact .wz-aside-sub{max-height:0;opacity:0}
@media (prefers-reduced-motion:reduce){body.is-mobile .wz-res-aside,body.is-mobile .wz-res-aside *{transition:none !important}}

/* Wizard step 2: types in groups, optional search */
.wz .wiz-group{margin:0 0 18px}
.wz .wiz-group[hidden]{display:none}
.wz .wiz-gh{margin:0 0 8px;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.wz .wiz-opt[data-tq-hide]{display:none}
.wz .wz-tfind{margin:0 0 16px;flex:none}

/* Agent panel (desktop): a wider left column with no divider, the Direct Contact column on the same themed gradient as the flyout's message slide */
.wz-agent .wz-aside{width:375px;border-right:0}
.wz-agent .wz-split-main{margin:0 14px 14px 0;border-radius:16px;overflow:hidden;color:#fff;background:radial-gradient(120% 70% at 100% 0%,hsl(0 0% 100%/.2),transparent 60%),linear-gradient(135deg,hsl(var(--h,215) 72% 36%),hsl(calc(var(--h,215) + 55) 78% 24%));background:radial-gradient(120% 70% at 100% 0%,hsl(0 0% 100%/.2),transparent 60%),linear-gradient(135deg in oklch,hsl(var(--h,215) 72% 36%),hsl(calc(var(--h,215) + 55) 78% 24%))}
.wz-agent .wz-split-main .wiz-h3,.wz-agent .wz-split-main .jd-sec h3{color:#fff}
.wz-agent .wz-split-main .info-tip:hover,.wz-agent .wz-split-main .info-tip:focus-visible,.wz-agent .wz-split-main .info-tip.is-open{color:#fff}
.wz-agent .wz-split-main .lf-beam::after{background:conic-gradient(from var(--beam-a),transparent 0 62%,#7fe3ff 82%,#fff 100%)}
.wz-agent .wz-split-main .lf-count{color:#fff;opacity:1}

/* "Find agents & companies": an outlined pill beside Get a quote (the long label on wide screens, "Search" on narrow ones and on the phone bar) */
.hdr-mid{display:flex;align-items:center;gap:10px}
.hdr-find{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 20px;border:2px solid var(--accent);border-radius:999px;background:var(--surface);color:var(--accent);font:inherit;font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer}
.hdr-find .icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hdr-find:hover{background:color-mix(in srgb,var(--accent) 10%,var(--surface))}
.hdr-find:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.hdr-find .hl-short{display:none}
@media (max-width:900px){.hdr-find .hl-long{display:none}.hdr-find .hl-short{display:inline}}
@media (max-width:640px){.app-header-inner:has(.hdr-mid) .hdr-mid{gap:6px}.app-header-inner:has(.hdr-mid) .hdr-find{padding:0 12px;min-height:38px}.app-header-inner:has(.hdr-mid) .hdr-find .icon{display:none}}
.m-quote-bar{display:flex;gap:8px}
.m-quote-bar .hdr-quote{flex:1 1 auto;width:auto}
.m-quote-bar .hdr-find{flex:none;min-height:44px;padding:0 16px}
.m-quote-bar .hdr-find .hl-long{display:none}
.m-quote-bar .hdr-find .hl-short{display:inline}
/* Very narrow screens: Search shrinks to its magnifier so the header still fits */
@media (max-width:480px){
  .app-header-inner:has(.hdr-mid) .hdr-find{width:38px;padding:0}
  .app-header-inner:has(.hdr-mid) .hdr-find .icon{display:block}
  .app-header-inner:has(.hdr-mid) .hdr-find .hl-short{display:none}
  .app-header-inner:has(.hdr-mid) .logo-text{display:none}   /* the globe stays; the name is in the page title and footer */
}
