/* The official home search and account shortcuts only. */
html body.tc-home-compact #accueil .hero-copy > h1.tc-seo-only {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
}
html body.tc-home-compact #accueil #heroSearch#heroSearch#heroSearch{
  display:grid!important;grid-template-columns:minmax(0,1fr) 48px!important;
  align-items:end!important;gap:10px!important;max-width:760px!important;
  padding:12px!important;border-radius:20px!important;
}
html body.tc-home-compact #accueil #heroSearch#heroSearch .tc-home-search-secondary{display:none!important}
html body.tc-home-compact #accueil #heroSearch#heroSearch .suggest-field{grid-column:auto!important}
html body.tc-home-compact #accueil #heroSearch#heroSearch .field label{
  font-size:13px!important;line-height:18px!important;letter-spacing:0!important;
  text-transform:none!important;margin:0 0 5px!important;font-weight:700!important;
}
html body.tc-home-compact #accueil #heroSearch#heroSearch #jobQ{
  box-sizing:border-box;width:100%;
  border:2px solid #71829b!important;background:#fff!important;box-shadow:none!important;
  min-height:48px!important;height:48px!important;padding:0 13px!important;font-size:16px!important;
  color:#162d50!important;border-radius:12px!important;
}
html body.tc-home-compact #accueil #heroSearch#heroSearch #jobQ::placeholder{color:#52657e;opacity:1}
html body.tc-home-compact #accueil #heroSearch#heroSearch #jobQ:focus{border-color:#2455a4!important;outline:2px solid #2455a4!important;outline-offset:2px}
html body.tc-home-compact #accueil #heroSearch#heroSearch .tc-search-icon{
  width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;
  margin:0!important;align-self:end!important;border-radius:50%!important;
}
.tc-account-dock {
  position:fixed;
  right:max(12px, env(safe-area-inset-right, 0px));
  bottom:calc(clamp(14px, 3vw, 28px) + env(safe-area-inset-bottom, 0px));
  z-index:90;
  display:flex;
  gap:6px;
  padding:6px;
  border-radius:32px;
  border:1px solid #cbd7e9;
  background:#fff;
  box-shadow:0 8px 26px #122b552b;
}
.tc-account-dock a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:44px;
  padding:8px clamp(8px, 2vw, 16px);
  border:1px solid #cbd7e9;
  border-radius:24px;
  color:#193a68;
  font-size:clamp(13px, 3.5vw, 15px);
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}
.tc-account-dock a svg { flex:none; width:18px; height:18px }
.tc-account-dock a.tc-account-dock-login { background:#2455a4; border-color:#2455a4 }
/* Match the shared theme's specificity so the blue action retains white text and icon. */
html[data-tc-theme] body:is(body,#tcThemeScopeA):is(body,#tcThemeScopeB):is(body,#tcThemeScopeC) .tc-account-dock-login,
html[data-tc-theme] body:is(body,#tcThemeScopeA):is(body,#tcThemeScopeB):is(body,#tcThemeScopeC) .tc-account-dock-login * {
  color:#fff!important;
}
.tc-account-dock a.tc-account-dock-login:hover { background:#193f80; border-color:#193f80 }
.tc-account-dock a.tc-account-dock-signup:hover { background:#edf3fc; border-color:#2455a4 }
.tc-account-dock a:focus-visible { outline:2px solid #2455a4; outline-offset:2px }
body.tc-home-compact > footer.footer { padding-bottom:calc(90px + env(safe-area-inset-bottom, 0px)) }
body.tc-home-compact.jobs-mode .tc-account-dock { display:none }
@media(max-width:1240px){
  html body.tc-home-compact header .navlinks{display:none!important}
  html body.tc-home-compact header .menu-btn{display:block!important;margin-left:auto!important;min-width:44px!important;min-height:44px!important}
  html body.tc-home-compact #mobilePanel.open{display:flex!important;position:fixed!important;inset:72px 0 auto!important;z-index:1000!important;background:#fff!important;padding:12px 24px!important;gap:4px!important;flex-direction:column!important;max-height:calc(100dvh - 72px)!important;overflow-y:auto!important}
}
@media(max-width:640px){
  html body.tc-home-compact #accueil #heroSearch#heroSearch#heroSearch{padding:10px!important;gap:8px!important}
}
@media(max-width:540px){
  html body.tc-home-compact #mobilePanel.open{top:64px!important;max-height:calc(100dvh - 64px)!important}
}
