/* Sits directly above the floating search button (right:18px, bottom:104px, 56px tall). */
.candidate-layout .jobot{position:fixed;right:18px;bottom:172px;z-index:1038}
.candidate-layout .jobot.is-open{z-index:1050}
.candidate-layout .jobot-trigger{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:8px 13px;border:1px solid #69418b;border-radius:999px;background:#fff;color:#3f1f58;box-shadow:0 8px 24px #2412312b}
.candidate-layout .jobot-trigger:focus-visible,.candidate-layout .jobot button:focus-visible,.candidate-layout .jobot a:focus-visible{outline:3px solid #8a63a8;outline-offset:2px}
.candidate-layout .jobot-panel{position:absolute;right:0;bottom:52px;width:min(380px,calc(100vw - 28px));max-height:min(650px,calc(100dvh - 96px));overflow:hidden;border:1px solid #d9cee3;border-radius:18px;background:#fff;box-shadow:0 18px 48px #2013293d}
.candidate-layout .jobot-panel[hidden],.candidate-layout .jobot [hidden]{display:none!important}
.candidate-layout .jobot-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #eee8f2;background:linear-gradient(135deg,#faf6fd,#fff)}
.candidate-layout .jobot-header>div{display:flex;align-items:center;gap:6px}.candidate-layout .jobot-header small{display:block;margin-inline-start:4px;color:#6b7280;font-size:.72rem}
.candidate-layout .jobot-close{width:36px;height:36px;border:0;border-radius:50%;background:#f2edf5;color:#31213c;font-size:1.4rem;line-height:1}
.candidate-layout .jobot-body{max-height:calc(min(650px,100dvh - 96px) - 61px);overflow-y:auto;overscroll-behavior:contain;padding:14px}
.candidate-layout .jobot-step{display:grid;gap:12px}
.candidate-layout .jobot-bubble{border-radius:6px 16px 16px 16px;background:#f5eff9;padding:13px;color:#291a33}
.candidate-layout .jobot-bubble h2{margin:0 0 7px;font-size:1.08rem;font-weight:750}.candidate-layout .jobot-bubble p{margin:0 0 7px}.candidate-layout .jobot-bubble p:last-child{margin-bottom:0}
.candidate-layout .jobot-actions{position:sticky;bottom:-14px;display:flex;flex-wrap:wrap;gap:8px;padding:9px 0 0;background:linear-gradient(#fff0,#fff 14px)}
.candidate-layout .jobot-actions .btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center}
.candidate-layout .jobot-context,.candidate-layout .jobot-remember,.candidate-layout .jobot-profile-hint{border:1px solid #e3d9ea;border-radius:12px;padding:11px;background:#fff}
.candidate-layout .jobot-context p,.candidate-layout .jobot-remember p,.candidate-layout .jobot-profile-hint{margin:0 0 9px}
.candidate-layout .jobot-examples{font-size:.78rem;color:#6b7280;margin:-5px 0 0}
.candidate-layout .jobot-error{min-height:1em;margin:0;color:#b42318;font-size:.82rem}
.candidate-layout .jobot-country-any,.candidate-layout .jobot-countries label,.candidate-layout .jobot-choice{display:flex;align-items:center;gap:9px;border:1px solid #e0d7e6;border-radius:10px;padding:9px;cursor:pointer}
.candidate-layout .jobot-country-any{font-weight:700;background:#faf8fc}
.candidate-layout .jobot-countries{display:grid;gap:6px;max-height:230px;overflow:auto}
.candidate-layout .jobot-countries label:has(input:checked),.candidate-layout .jobot-choice:has(input:checked){border-color:#765092;background:#f8f2fb}
.candidate-layout .jobot-choice span{display:grid}.candidate-layout .jobot-choice small{color:#6b7280}
.candidate-layout .jobot.is-genie .jobot-trigger{animation:jobot-glow 1.2s ease both}.candidate-layout .jobot.is-genie .jobot-panel{animation:jobot-enter .45s .35s ease both}
html[dir=rtl] .candidate-layout .jobot{right:auto;left:18px}html[dir=rtl] .candidate-layout .jobot-panel{right:auto;left:0}
@keyframes jobot-glow{0%{opacity:.3;transform:scale(.72);box-shadow:0 0 0 #a46aca00}55%{opacity:1;transform:scale(1.12);box-shadow:0 0 34px #a46acaaa}100%{transform:scale(1);box-shadow:0 8px 24px #2412312b}}
@keyframes jobot-enter{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:none}}
@media(max-width:575.98px){
 .candidate-layout .jobot{right:12px;bottom:164px}.candidate-layout .jobot-trigger{min-height:44px;padding:8px 12px}
 html[dir=rtl] .candidate-layout .jobot{right:auto;left:12px}
 .candidate-layout .jobot-panel{position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:min(82dvh,680px);border-radius:20px 20px 0 0;padding-bottom:env(safe-area-inset-bottom)}
 .candidate-layout .jobot-body{max-height:calc(min(82dvh,680px) - 61px);padding:13px}
 .candidate-layout .jobot-actions{bottom:-13px}
}
@media(max-width:340px){.candidate-layout .jobot-trigger strong{font-size:.85rem}}
@media(prefers-reduced-motion:reduce){.candidate-layout .jobot.is-genie .jobot-trigger,.candidate-layout .jobot.is-genie .jobot-panel{animation:none}}
@media print{.candidate-layout .jobot{display:none!important}}
