/* H-2 employer form — scoped to preserve the existing site. */
.workforce-request{background:var(--pale);padding-top:80px;padding-bottom:80px}
.workforce-card{max-width:960px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.workforce-heading{padding:36px 40px;background:var(--ink);color:white}
.workforce-heading .eyebrow{color:#acc9ff;margin-bottom:14px}
.workforce-heading h2{font-size:clamp(28px,3vw,40px);letter-spacing:-1px;line-height:1.15;margin:0 0 14px}
.workforce-heading>p:last-child{max-width:700px;margin:0;color:#e0e8f4}
#workforce-form{padding:34px 40px}
.workforce-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
#workforce-form label,#workforce-form legend{font-size:14px;font-weight:600}
#workforce-form input:not([type=radio]),#workforce-form select,#workforce-form textarea{display:block;width:100%;min-width:0;margin-top:8px;border:1px solid #becbdb;border-radius:7px;padding:13px 14px;background:white;color:var(--ink);font:inherit;font-weight:400;min-height:48px}
#workforce-form textarea{resize:vertical}
#workforce-form input::placeholder,#workforce-form textarea::placeholder{color:#707d90;opacity:1}
#workforce-form :is(input,select,textarea,button):focus-visible{outline:3px solid var(--blue);outline-offset:3px}
#workforce-form fieldset{border:0;min-width:0;margin:26px 0;padding:0}
#workforce-form legend{padding:0;margin-bottom:10px}
.workforce-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.workforce-options label{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #becbdb;border-radius:7px;background:#f8faff;cursor:pointer}
.workforce-options input{accent-color:var(--blue);width:18px;height:18px;flex-shrink:0;margin:0}
.workforce-options label:has(input:checked){border-color:var(--blue);background:#edf3ff}
#workforce-form .optional{font-weight:400}
.workforce-bottom{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:28px;border-top:1px solid var(--line);padding-top:24px}
.workforce-bottom p{font-size:12px;color:var(--muted);flex:1;margin:0}
.workforce-bottom .button{border:0;background:var(--blue);font-family:inherit;gap:16px;font-size:14px}
.workforce-bottom .button:disabled{opacity:.65;cursor:not-allowed;transform:none}
#workforce-status{font-size:13px;color:var(--muted);margin:20px 0 0}
@media(max-width:640px){.workforce-request{padding-top:45px;padding-bottom:45px}.workforce-heading,#workforce-form{padding:26px 20px}.workforce-grid,.workforce-options{grid-template-columns:1fr}.workforce-bottom{flex-direction:column;align-items:stretch}.workforce-bottom .button{justify-content:center}.workforce-grid>label{min-width:0}}

.workforce-bottom .button{cursor:pointer}

/* Compact form heading. */
.workforce-heading{padding:20px 28px}
.workforce-heading .eyebrow{font-size:11px;margin-bottom:8px}
.workforce-heading h2{font-size:clamp(22px,2.3vw,28px);letter-spacing:-.5px;line-height:1.2;margin:0 0 8px}
.workforce-heading>p:last-child{font-size:13px;line-height:1.5}
@media(max-width:640px){.workforce-heading{padding:18px 20px}}
/* Open only on request; preserve the page position. */
#workforce-dialog{padding:0;border:0;border-radius:14px;width:min(820px,calc(100% - 32px));max-width:820px;max-height:calc(100dvh - 40px);margin:auto;overflow:auto;background:#fff;color:var(--ink);box-shadow:0 24px 90px #0004}
#workforce-dialog::backdrop{background:rgba(10,24,35,.58)}
#workforce-dialog .workforce-card{border:0;border-radius:0}
#workforce-dialog .workforce-heading{padding-right:68px}
#workforce-dialog .workforce-close{position:absolute;top:10px;right:12px;width:44px;height:44px;border:0;border-radius:6px;background:transparent;color:#fff;font-size:30px;line-height:1;cursor:pointer}
#workforce-dialog #workforce-form{padding:22px 28px}
#workforce-dialog .workforce-grid{gap:14px 20px}
#workforce-dialog .workforce-grid>label{min-width:0}
#workforce-dialog .workforce-bottom{margin-top:20px;padding-top:18px}
@media(max-width:640px){#workforce-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px)}#workforce-dialog #workforce-form{padding:20px}#workforce-dialog .workforce-grid{gap:14px}}

.header-contact{display:flex;flex-direction:column;align-items:center;gap:7px;flex-shrink:0}.header-contact>p{margin:0;font-size:12px;line-height:1.4;color:var(--muted);white-space:nowrap}.header-contact>p>a{color:var(--blue);font-weight:600;text-decoration:none}.header-contact>p>a:hover{text-decoration:underline}@media(max-width:480px){.header-contact>p{font-size:11px}}
@keyframes workforce-rise{from{opacity:0;transform:translateY(85px)}to{opacity:1;transform:translateY(0)}}@keyframes workforce-dim{from{background:rgba(10,24,35,0)}to{background:rgba(10,24,35,.58)}}#workforce-dialog[open]{animation:workforce-rise 420ms cubic-bezier(.16,1,.3,1) both}#workforce-dialog[open]::backdrop{animation:workforce-dim 320ms ease-out both}@media(prefers-reduced-motion:reduce){#workforce-dialog[open],#workforce-dialog[open]::backdrop{animation:none}}
