/* Shared public portal polish. All selectors are scoped to the recruitment homepage. */
.qm-public-home .tcv-nav{max-width:1680px;margin:auto;padding-inline:clamp(16px,2.3vw,32px)}
.qm-public-home .tcv-menu{min-width:0}
.qm-public-home .tcv-actions{flex:0 0 auto}
.qm-public-home .tcv-mega-employer{left:auto;right:0;width:min(360px,calc(100vw - 32px));grid-template-columns:1fr;padding:12px}
.qm-public-home .tcv-mega-employer a{min-height:44px;display:flex;align-items:center;padding:10px 12px;border-radius:10px;font-weight:750}
.qm-public-home .tcv-mega-employer a:hover,.qm-public-home .tcv-mega-employer a:focus-visible{background:#eff6ff;color:#1d4ed8;outline:none}
.qm-public-home .tcv-hero{padding-block:clamp(34px,5vw,70px)}
.qm-public-home .tcv-hero-inner{max-width:1120px}
.qm-public-home .tcv-hero h1{max-width:850px;font-size:clamp(34px,5vw,64px)}
.qm-public-home .tcv-hero-grid{display:none}
.qm-public-home .hc2050-hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.qm-public-home .hc2050-hero-actions a{min-height:46px;display:inline-flex;align-items:center;justify-content:center}
.qm-public-home .tcv-search{margin-top:22px}
.qm-public-home .tcv-job-section{margin-top:clamp(24px,4vw,44px)}
.qm-public-home .ai-job-benefits{margin:8px 0;color:#334155;font-size:13px;line-height:1.5}
.qm-public-home .ai-job-benefits strong{color:#047857}
.qm-public-home .hrc-erp-entry-actions{display:grid;width:100%;max-width:24rem;grid-template-columns:repeat(2,minmax(0,1fr));justify-self:end;gap:10px}
.qm-public-home .hrc-erp-entry-actions>span{grid-column:1/-1}
.qm-public-home .hrc-erp-entry-actions>a{width:100%;min-width:0;white-space:normal}
.qm-public-home .hrc-support-launcher{min-width:132px}
@media(max-width:1180px){
  .qm-public-home .tcv-nav{flex-wrap:wrap}
  .qm-public-home .tcv-menu{order:3;width:100%;overflow-x:auto}
  .qm-public-home .tcv-actions{margin-left:auto}
  .qm-public-home .hrc-erp-entry-actions{max-width:none;justify-self:stretch}
}
@media(max-width:767px){
  .qm-public-home .tcv-header{position:sticky;top:0}
  .qm-public-home .tcv-menu{display:none}
  .qm-public-home .tcv-actions .tcv-erp{display:none}
  .qm-public-home .tcv-hero{padding:28px 0}
  .qm-public-home .hc2050-hero-actions{display:grid;grid-template-columns:1fr 1fr}
  .qm-public-home .tcv-search{display:grid;grid-template-columns:1fr}
  .qm-public-home .tcv-search button{min-height:48px}
  .qm-public-home .hrc-erp-entry-actions{grid-template-columns:1fr;justify-self:stretch}
}
@media(max-width:420px){.qm-public-home .hc2050-hero-actions{grid-template-columns:1fr}}
@media(prefers-color-scheme:dark) and (min-width:999999px){
  .qm-public-home .tcv-mega-employer a:hover,.qm-public-home .tcv-mega-employer a:focus-visible{background:#16263d;color:#bfdbfe}
  .qm-public-home .ai-job-benefits{color:#cbd5e1}
  .qm-public-home .ai-job-benefits strong{color:#6ee7b7}
}

/* Recruitment ERP navigation groups; route and permission checks remain server-side. */
body.recruitment-erp-2026 .rec-os-hero{align-items:flex-end}
body.recruitment-erp-2026 .rec-os-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
body.recruitment-erp-2026 .rec-portal-links{display:flex;flex-wrap:wrap;gap:8px}
body.recruitment-erp-2026 .rec-os-tabs{align-items:stretch!important;padding:10px!important;gap:10px!important}
body.recruitment-erp-2026 .rec-os-tabs>.rec-nav-group{flex:0 0 auto;display:grid;grid-template-columns:repeat(2,max-content);align-content:start;gap:4px;padding:5px;border-left:1px solid #dbe4ef}
body.recruitment-erp-2026 .rec-os-tabs>.rec-nav-group>span{grid-column:1/-1;padding:0 8px 3px;color:#64748b;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
body.recruitment-erp-2026 .rec-os-tabs>.rec-nav-group>a{min-height:36px!important;padding:7px 9px!important;font-size:12px!important}
body.recruitment-erp-2026 .rec-command-card>b{font-size:32px}
@media(max-width:991px){
  body.recruitment-erp-2026 .rec-os-hero{align-items:flex-start}
  body.recruitment-erp-2026 .rec-os-actions{justify-content:flex-start}
  body.recruitment-erp-2026 .rec-os-tabs>.rec-nav-group{grid-template-columns:max-content;border-left:0;border-right:1px solid #dbe4ef}
  body.recruitment-erp-2026 .rec-os-tabs>.rec-nav-group>span{grid-column:auto}
}
@media(prefers-color-scheme:dark) and (min-width:999999px){
  body.recruitment-erp-2026 .rec-os-tabs>.rec-nav-group{border-color:#334155}
  body.recruitment-erp-2026 .rec-os-tabs>.rec-nav-group>span{color:#94a3b8}
}
