/* Smarter job search graphic (templates/_graphics/jobSearch.twig) */
/* Page kit: a browser window, a pointer cursor, toasts, a success burst and flat illustration fills */
[data-g17-graphic="jobSearch"] .g17g-win {
    position: absolute; z-index: 2; display: flex; flex-direction: column; overflow: hidden;
    border-radius: 1em; background: var(--g17g-card);
    box-shadow: 0 .7em 2em var(--g17g-shadow), 0 .1em .35em var(--g17g-shadow-soft), 0 0 0 1px var(--g17g-edge);
}
[data-g17-graphic="jobSearch"] .g17g-win__bar { flex: none; display: flex; align-items: center; gap: .3em; height: 1.75em; padding: 0 .75em; border-bottom: 1px solid var(--g17g-rule); }
[data-g17-graphic="jobSearch"] .g17g-win__bar i { width: .45em; height: .45em; border-radius: 50%; background: var(--g17g-border); }
[data-g17-graphic="jobSearch"] .g17g-win__url {
    display: flex; align-items: center; gap: .35em; margin: 0 auto; padding: .2em .9em; border-radius: 999px;
    background: var(--g17g-soft); font-size: .54em; color: var(--g17g-faint); white-space: nowrap;
}
[data-g17-graphic="jobSearch"] .g17g-win__url svg { width: 1em; height: 1em; }
[data-g17-graphic="jobSearch"] .g17g-win__body { position: relative; flex: 1; padding: .8em .95em; }

[data-g17-graphic="jobSearch"] .g17g-nav { display: flex; align-items: center; gap: .55em; margin-bottom: .75em; }
[data-g17-graphic="jobSearch"] .g17g-nav__brand { display: flex; align-items: center; gap: .4em; font-size: .72em; font-weight: 700; white-space: nowrap; }
[data-g17-graphic="jobSearch"] .g17g-nav__mark { display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: .45em; background: var(--g17g-green); color: var(--g17g-on-green); font-size: .9em; }
[data-g17-graphic="jobSearch"] .g17g-nav__links { display: flex; gap: .5em; margin-left: auto; }
[data-g17-graphic="jobSearch"] .g17g-nav__links i { display: block; width: 2.2em; height: .38em; border-radius: .2em; background: var(--g17g-skel); }

/* Pointer cursor: the layer is the size of the stage, so xPercent and yPercent place its tip */
[data-g17-graphic="jobSearch"] .g17g-cursor { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
[data-g17-graphic="jobSearch"] .g17g-cursor__arrow { position: absolute; left: 0; top: 0; width: 1.35em; height: 1.35em; transform-origin: 0 0; }
[data-g17-graphic="jobSearch"] .g17g-cursor__arrow svg { width: 100%; height: 100%; filter: drop-shadow(0 .12em .2em var(--g17g-shadow)); }
[data-g17-graphic="jobSearch"] .g17g-cursor__arrow path { fill: var(--g17g-card); stroke: var(--g17g-text); stroke-width: 1.6; stroke-linejoin: round; }
[data-g17-graphic="jobSearch"] .g17g-cursor__ring { position: absolute; left: -1em; top: -1em; width: 2em; height: 2em; border-radius: 50%; border: 2px solid var(--g17g-green); opacity: 0; }

/* Toasts that float over the page edge */
[data-g17-graphic="jobSearch"] .g17g-toast {
    position: absolute; z-index: 5; display: flex; align-items: center; gap: .6em; padding: .6em .9em .6em .6em;
    border-radius: .9em; background: var(--g17g-card);
    box-shadow: 0 .6em 1.6em var(--g17g-shadow), 0 0 0 1px var(--g17g-edge); white-space: nowrap;
}
[data-g17-graphic="jobSearch"] .g17g-toast b { display: block; font-size: .72em; color: var(--g17g-purple-deep); }
[data-g17-graphic="jobSearch"] .g17g-toast span span { display: block; margin-top: .15em; font-size: .58em; color: var(--g17g-muted); }
[data-g17-graphic="jobSearch"] .g17g-toast .g17g-badge__icon { flex: none; font-size: .9em; }
[data-g17-graphic="jobSearch"] .g17g-toast--green b { color: var(--g17g-green-text); }
[data-g17-graphic="jobSearch"] .g17g-toast--green .g17g-badge__icon { background: var(--g17g-green); }

/* A small burst of green and purple dots on success */
[data-g17-graphic="jobSearch"] .g17g-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 6; }
[data-g17-graphic="jobSearch"] .g17g-burst i { position: absolute; left: -.2em; top: -.2em; width: .4em; height: .4em; border-radius: 50%; background: var(--g17g-green); opacity: 0; }
[data-g17-graphic="jobSearch"] .g17g-burst i:nth-child(even) { background: var(--g17g-purple); }
[data-g17-graphic="jobSearch"] .g17g-burst i:nth-child(3n) { width: .3em; height: .3em; }

/* Rolling numbers */
[data-g17-graphic="jobSearch"] .g17g-roll { position: relative; display: block; overflow: hidden; }
[data-g17-graphic="jobSearch"] .g17g-roll > span { position: absolute; left: 0; top: 0; white-space: nowrap; }

/* Flat illustration fills */
[data-g17-graphic="jobSearch"] .g17g-f-green { fill: var(--g17g-green); }
[data-g17-graphic="jobSearch"] .g17g-f-light { fill: var(--g17g-green-light); }
[data-g17-graphic="jobSearch"] .g17g-f-bar { fill: var(--g17g-green-bar); }
[data-g17-graphic="jobSearch"] .g17g-f-bg { fill: var(--g17g-green-bg); }
[data-g17-graphic="jobSearch"] .g17g-f-tint { fill: var(--g17g-green-tint); }
[data-g17-graphic="jobSearch"] .g17g-f-purple { fill: var(--g17g-purple); }
[data-g17-graphic="jobSearch"] .g17g-f-psoft { fill: var(--g17g-purple-soft); }
[data-g17-graphic="jobSearch"] .g17g-f-pbg { fill: var(--g17g-purple-bg); }
[data-g17-graphic="jobSearch"] .g17g-f-card { fill: var(--g17g-card); }
[data-g17-graphic="jobSearch"] .g17g-f-text { fill: var(--g17g-text-soft); }
[data-g17-graphic="jobSearch"] .g17g-s-card { fill: none; stroke: var(--g17g-card); }
[data-g17-graphic="jobSearch"] .g17g-s-green { fill: none; stroke: var(--g17g-green); }
[data-g17-graphic="jobSearch"] .g17g-s-purple { fill: none; stroke: var(--g17g-purple); }
[data-g17-graphic="jobSearch"] .g17g-lift { filter: drop-shadow(0 .12em .25em var(--g17g-shadow)); }

/* Hero: headline, search bar and a picture */
[data-g17-graphic="jobSearch"] .g17g-hero { position: relative; display: flex; gap: .8em; padding: 1em 1.1em; border-radius: .9em; overflow: hidden; background: var(--g17g-purple); color: var(--g17g-on-green); }
[data-g17-graphic="jobSearch"] .g17g-hero__chip { background: var(--g17g-card); color: var(--g17g-purple-text); }
[data-g17-graphic="jobSearch"] .g17g-hero__text { position: relative; flex: 1; min-width: 0; }
[data-g17-graphic="jobSearch"] .g17g-hero__h { display: block; margin-top: .45em; font-size: 1.22em; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
[data-g17-graphic="jobSearch"] .g17g-hero__p { display: block; margin-top: .25em; font-size: .6em; opacity: .85; white-space: nowrap; }
[data-g17-graphic="jobSearch"] .g17g-sbar { width: 64%; color: var(--g17g-text); display: flex; align-items: center; gap: .3em; margin-top: .7em; padding: .25em .25em .25em .35em; border-radius: 999px; background: var(--g17g-card); box-shadow: 0 .25em .7em var(--g17g-shadow-soft), 0 0 0 1px var(--g17g-edge); }
[data-g17-graphic="jobSearch"] .g17g-sbar__seg { flex: 1; display: flex; align-items: center; gap: .4em; padding: 0 .45em; font-size: .68em; font-weight: 600; white-space: nowrap; }
[data-g17-graphic="jobSearch"] .g17g-sbar__seg + .g17g-sbar__seg { border-left: 1px solid var(--g17g-rule); }
[data-g17-graphic="jobSearch"] .g17g-sbar__seg svg { flex: none; width: 1.1em; height: 1.1em; }
[data-g17-graphic="jobSearch"] .g17g-sbar__go { flex: none; display: grid; place-items: center; width: 1.75em; height: 1.75em; border-radius: 50%; background: var(--g17g-green); }
[data-g17-graphic="jobSearch"] .g17g-sbar__go svg { width: 52%; height: 52%; }

/* Filter chips the pointer taps */
[data-g17-graphic="jobSearch"] .g17g-fchips { display: flex; gap: .35em; margin: .75em 0 .7em; }
[data-g17-graphic="jobSearch"] .g17g-fchip {
    position: relative; display: inline-flex; align-items: center; gap: .3em; padding: .4em .7em .4em .55em;
    border-radius: 999px; border: 1px solid var(--g17g-border); background: var(--g17g-card);
    font-size: .6em; font-weight: 600; color: var(--g17g-muted); white-space: nowrap;
}
[data-g17-graphic="jobSearch"] .g17g-fchip svg { width: 1.1em; height: 1.1em; flex: none; }
[data-g17-graphic="jobSearch"] .g17g-fchip__on {
    position: absolute; inset: -1px; display: inline-flex; align-items: center; gap: .3em; padding: 0 .7em 0 .55em;
    border-radius: inherit; border: 1px solid var(--g17g-green); background: var(--g17g-green-bg); color: var(--g17g-green-text);
}

/* Results */
[data-g17-graphic="jobSearch"] .g17g-rhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5em; }
[data-g17-graphic="jobSearch"] .g17g-rhead__t { font-size: .76em; font-weight: 700; white-space: nowrap; }
[data-g17-graphic="jobSearch"] .g17g-rhead__t span { margin-left: .4em; font-size: .78em; font-weight: 500; color: var(--g17g-faint); }
[data-g17-graphic="jobSearch"] .g17g-alertbtn {
    position: relative; display: inline-flex; align-items: center; gap: .35em; padding: .4em .8em; border-radius: 999px;
    border: 1px solid var(--g17g-purple); color: var(--g17g-purple-text); font-size: .58em; font-weight: 700; white-space: nowrap;
}
[data-g17-graphic="jobSearch"] .g17g-alertbtn svg { width: 1.15em; height: 1.15em; }
[data-g17-graphic="jobSearch"] .g17g-alertbtn__on {
    position: absolute; inset: -1px; display: flex; align-items: center; justify-content: center; gap: .35em;
    border-radius: inherit; background: var(--g17g-purple); color: var(--g17g-on-green);
}
[data-g17-graphic="jobSearch"] .g17g-jobs { display: grid; }
[data-g17-graphic="jobSearch"] .g17g-jobs__layer { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; }
[data-g17-graphic="jobSearch"] .g17g-job { min-width: 0; padding: .6em .65em .65em; border-radius: .8em; background: var(--g17g-card); box-shadow: 0 .3em .9em var(--g17g-shadow-soft), 0 0 0 1px var(--g17g-edge); }
[data-g17-graphic="jobSearch"] .g17g-job__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: .45em; }
[data-g17-graphic="jobSearch"] .g17g-job__t { display: block; font-size: .68em; font-weight: 700; white-space: nowrap; }
[data-g17-graphic="jobSearch"] .g17g-job__m { display: block; margin-top: .2em; font-size: .54em; color: var(--g17g-muted); white-space: nowrap; }
[data-g17-graphic="jobSearch"] .g17g-job__chips { display: flex; gap: .25em; margin-top: .5em; }
[data-g17-graphic="jobSearch"] .g17g-job__chips .g17g-chip { font-size: .52em; padding: .25em .6em; }
[data-g17-graphic="jobSearch"] .g17g-logo { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: .7em; background: var(--g17g-soft); color: var(--g17g-muted); font-size: .58em; font-weight: 700; letter-spacing: .02em; }
[data-g17-graphic="jobSearch"] .g17g-logo--purple { background: var(--g17g-purple-bg); color: var(--g17g-purple-text); }
[data-g17-graphic="jobSearch"] .g17g-logo--green { background: var(--g17g-green-bg); color: var(--g17g-green-text); }
[data-g17-graphic="jobSearch"] .g17g-heart { position: relative; width: 1.05em; height: 1.05em; color: var(--g17g-faint); }
[data-g17-graphic="jobSearch"] .g17g-heart > svg, [data-g17-graphic="jobSearch"] .g17g-heart__on, [data-g17-graphic="jobSearch"] .g17g-heart__on svg { position: absolute; inset: 0; width: 100%; height: 100%; }
[data-g17-graphic="jobSearch"] .g17g-heart__on { color: var(--g17g-purple); }

/* Floating stat */
[data-g17-graphic="jobSearch"] .g17g-stat { z-index: 4; padding: .9em 1em; }
[data-g17-graphic="jobSearch"] .g17g-stat__l { display: block; font-size: .62em; font-weight: 600; color: var(--g17g-muted); }
[data-g17-graphic="jobSearch"] .g17g-stat__n { height: 1.2em; margin-top: .15em; font-size: 1.9em; font-weight: 700; letter-spacing: -.03em; }
[data-g17-graphic="jobSearch"] .g17g-stat__s { display: block; margin-top: .15em; font-size: .58em; font-weight: 600; color: var(--g17g-green-text); white-space: nowrap; }
[data-g17-graphic="jobSearch"] .g17g-stat__bars { display: flex; align-items: flex-end; gap: 7%; height: 2.4em; margin-top: .7em; }
[data-g17-graphic="jobSearch"] .g17g-stat__bars i { flex: 1; border-radius: .2em .2em 0 0; background: var(--g17g-green-bar); transform-origin: 50% 100%; }
[data-g17-graphic="jobSearch"] .g17g-stat__bars i:last-child { background: var(--g17g-green); }

/* Speed: a results timer by the count, and a "results as you type" hint */
[data-g17-graphic="jobSearch"] .g17g-js-countrow { display: flex; align-items: center; gap: .5em; }
[data-g17-graphic="jobSearch"] .g17g-js-countrow .g17g-stat__n { flex: 1; min-width: 0; }
[data-g17-graphic="jobSearch"] .g17g-js-speed { flex: none; margin-top: .3em; gap: .25em; padding: .3em .6em .3em .45em; font-size: .62em; font-weight: 700; }
[data-g17-graphic="jobSearch"] .g17g-js-ms { display: inline-grid; height: 1.25em; overflow: hidden; line-height: 1.25em; }
[data-g17-graphic="jobSearch"] .g17g-js-ms > span { grid-area: 1 / 1; white-space: nowrap; }
[data-g17-graphic="jobSearch"] .g17g-js-hint {
    position: absolute; left: 67%; bottom: .55em; display: inline-flex; align-items: center; gap: .35em;
    font-size: .56em; font-weight: 600; color: var(--g17g-on-green); white-space: nowrap;
}
[data-g17-graphic="jobSearch"] .g17g-js-hint svg { width: 1.15em; height: 1.15em; color: var(--g17g-green-light); }

/* A client's own name, initials and web address keep to their lines */
[data-g17-graphic="jobSearch"] .g17g-win__url { min-width: 0; max-width: 72%; }
[data-g17-graphic="jobSearch"] .g17g-win__url svg { flex: none; }
[data-g17-graphic="jobSearch"] .g17g-js-urltext { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
[data-g17-graphic="jobSearch"] .g17g-nav__brand { min-width: 0; }
[data-g17-graphic="jobSearch"] .g17g-nav__mark { flex: none; width: auto; min-width: 1.6em; padding: 0 .3em; letter-spacing: -.02em; }
[data-g17-graphic="jobSearch"] .g17g-js-brandname { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
[data-g17-graphic="jobSearch"] .g17g-nav > :not(.g17g-nav__brand) { flex: none; }
