/* EDU360 lead assist styles. Uses the site's design tokens when present, with safe fallbacks. */
.la-root{--la-navy:var(--navy,#0F2942);--la-accent:var(--accent,#e8590c);--la-ink:var(--ink,#16202a);--la-bg:#fff;--la-line:#dfe5ea;
  font:16px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--la-ink)}
.la-root *{box-sizing:border-box}
.la-root [hidden]{display:none!important}

/* slim bar: never a modal. Bottom of the viewport on mobile, a small pill on desktop. */
.la-bar{position:fixed;z-index:60;left:0;right:0;bottom:0;display:flex;gap:8px;align-items:center;justify-content:center;
  padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:var(--la-navy);box-shadow:0 -2px 12px rgba(0,0,0,.18)}
.la-bar__cta,.la-btn{appearance:none;border:1px solid var(--la-line);background:#fff;color:var(--la-ink);font:inherit;font-weight:600;
  padding:10px 16px;border-radius:10px;cursor:pointer;min-height:44px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.la-bar__cta{background:var(--la-accent);border-color:var(--la-accent);color:#fff;flex:1;max-width:320px}
.la-bar__call{color:#fff;font-weight:600;text-decoration:none;padding:10px 6px;white-space:nowrap}
.la-btn--primary{background:var(--la-accent);border-color:var(--la-accent);color:#fff}
.la-btn:focus-visible,.la-bar__cta:focus-visible,.la-x:focus-visible,.la-bar__call:focus-visible,.la-link:focus-visible,
.la-root input:focus-visible,.la-root select:focus-visible{outline:3px solid #2b6cb0;outline-offset:2px}
.la-has-bar{padding-bottom:64px}
@media(min-width:1024px){
  .la-bar{left:auto;right:20px;bottom:20px;border-radius:14px;padding:8px 10px;gap:10px;box-shadow:0 6px 24px rgba(0,0,0,.22)}
  .la-has-bar{padding-bottom:0}
}

/* soft nudge: a small card, not an overlay. No scroll lock, no dimmed page. */
.la-nudge{position:fixed;z-index:95;left:12px;right:12px;bottom:76px;max-width:340px;background:var(--la-bg);border:1px solid var(--la-line);
  border-radius:14px;padding:16px 16px 14px;box-shadow:0 8px 28px rgba(0,0,0,.18);opacity:0;transform:translateY(8px);transition:opacity .18s,transform .18s}
.la-nudge.is-in{opacity:1;transform:none}
.la-nudge__t{margin:0 24px 4px 0;font-weight:700}
.la-nudge__s{margin:0 0 12px;color:#4a5865;font-size:14px}
@media(min-width:1024px){.la-nudge{left:20px;right:auto;bottom:20px}}
.la-x{position:absolute;top:6px;right:6px;width:44px;height:44px;border:0;background:transparent;font-size:26px;line-height:1;cursor:pointer;color:#4a5865;border-radius:10px}

/* sheet: bottom sheet on mobile, centred card on desktop. Opened only by a tap. */
.la-sheet{position:fixed;inset:0;z-index:650;display:flex;align-items:flex-end;justify-content:center;background:rgba(15,41,66,.45);opacity:0;transition:opacity .18s}
.la-sheet.is-open{opacity:1}
.la-panel{position:relative;width:100%;max-width:440px;max-height:92vh;overflow:auto;background:var(--la-bg);border-radius:18px 18px 0 0;padding:22px 20px calc(20px + env(safe-area-inset-bottom));
  transform:translateY(16px);transition:transform .18s}
.la-sheet.is-open .la-panel{transform:none}
@media(min-width:600px){.la-sheet{align-items:center}.la-panel{border-radius:18px}}
.la-panel h2{margin:0 36px 4px 0;font-size:20px}
.la-sub{margin:0 0 14px;color:#4a5865}
.la-form label{display:block;margin:12px 0 4px;font-weight:600;font-size:14px}
.la-form input,.la-form select,.la-done input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #b8c3cc;border-radius:10px;font:inherit;background:#fff}
.la-phone{display:flex;gap:8px}.la-phone span{display:flex;align-items:center;padding:0 12px;border:1px solid #b8c3cc;border-radius:10px;background:#f4f7f9;font-weight:600}
.la-form .la-btn{width:100%;margin-top:16px}
.la-err{margin:10px 0 0;color:#b42318;font-size:14px}
.la-fine{margin:12px 0 0;color:#5b6773;font-size:12px}
.la-done h3{margin:0 0 6px}.la-done .la-btn{margin-top:12px;width:100%}
.la-link{background:none;border:0;color:#2b6cb0;font:inherit;text-decoration:underline;cursor:pointer;padding:8px 0}
@media(prefers-reduced-motion:reduce){.la-nudge,.la-sheet,.la-panel{transition:none}}
/* printing: never print the bar */
@media print{.la-root{display:none}}

/* ---- Edu360 site integration (added when installed; the file in Engineering Refocus/lead-assist is the untouched original) ----
   The portal already has its own bottom chrome. Below 1024px: .action-bar (Call / WhatsApp / Free counselling), the chat
   button at right:12px bottom:84px (46px) and the compare tray. From 1024px: .fab (WhatsApp + call, right:18px bottom:96px)
   and the chat button at right:24px bottom:24px (58px). The lead-assist pieces are placed around those, not over them. */
.la-root{--la-accent:var(--coral-600,#e8590c)}
.la-has-bar{padding-bottom:0}
@media(max-width:1023.98px){
  /* the action bar's "Free counselling" button opens the sheet here, so a second bar would only stack on top of it */
  .la-bar{display:none}
  /* sit above the action bar and stop short of the chat button */
  .la-nudge{left:12px;right:68px;max-width:340px;bottom:calc(var(--bottom-bar-h,64px) + 12px + env(safe-area-inset-bottom))}
}
@media(min-width:1024px){
  /* a pill left of the 58px chat button, on the same baseline */
  .la-bar{right:94px;bottom:26px} .la-bar__call{display:none}
  .footer__bottom{padding-bottom:72px}
}
/* never stack on the chat panel */
body:has(.chatbot-panel.open) .la-bar,body:has(.chatbot-panel.open) .la-nudge{display:none!important}
/* anti-spam (v2): the honeypot is moved off-screen, never display:none, so bots still see it; the Turnstile slot is empty unless Cloudflare asks for a click */
.la-hp{position:absolute!important;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.la-ts{margin-top:8px;min-height:0}
.la-fine a{color:inherit;text-decoration:underline}
