/* Full-screen frame for the plugin's own pages (Apply, Competency Test, My Application). Only loaded there. */
html { -webkit-text-size-adjust: 100%; }
body.chf-fs {
    margin: 0; min-height: 100vh; display: flex; flex-direction: column;
    background: radial-gradient(90% 50% at 50% 0%, #dcfae6 0%, rgba(220, 250, 230, 0) 70%), #f4f6f5;
    color: #101828; font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body.chf-fs *, body.chf-fs *::before, body.chf-fs *::after { box-sizing: border-box; }
body.chf-fs a { color: #008a3c; }
body.chf-fs img { max-width: 100%; height: auto; }
body.chf-fs h1, body.chf-fs h2, body.chf-fs h3 { font-family: inherit; color: #101828; }

/* top bar */
.chf-fs-top { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 1280px; margin: 0 auto; padding: 22px 20px 6px; }
.chf-fs-me { position: absolute; top: 50%; right: 20px; display: flex; align-items: center; gap: 10px; transform: translateY(-30%); }
.chf-fs-hi { color: #475467; font-size: 14px; font-weight: 600; }
.chf-fs-out { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid #d0d5dd; border-radius: 9px; background: #fff; color: #344054 !important; font-size: 13.5px; font-weight: 600; text-decoration: none !important; }
.chf-fs-out:hover { background: #f9fafb; }
.chf-fs-brand { display: inline-flex; align-items: center; gap: 10px; color: #101828 !important; font-size: 18px; font-weight: 700; text-decoration: none !important; }
.chf-fs-logo-img { display: block; max-height: 46px; width: auto; }
.chf-fs-icon { width: 34px; height: 34px; border-radius: 9px; }
.chf-fs-mark { display: inline-block; width: 34px; height: 34px; border-radius: 10px; background: #008a3c; }

/* page */
.chf-fs-main { flex: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 18px 20px 48px; }
.chf-fs-main > :first-child { margin-top: 0; }
.chf-fs-main > p:empty { display: none; }

/* My Application: the sign-in card in the middle, like HireDesk */
.chf-fs-portal .chf-fs-main { display: flex; flex-direction: column; justify-content: center; max-width: 560px; }
.chf-fs-portal .chf-portal { margin: 0 auto; width: 100%; }

/* footer */
.chf-fs-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 18px 20px 26px; color: #667085; font-size: 13px; }
.chf-fs-foot a { color: #667085 !important; }

@media (max-width: 600px) {
    .chf-fs-top { justify-content: space-between; padding: 16px 16px 2px; }
    .chf-fs-me { position: static; transform: none; }
    .chf-fs-hi { display: none; }
    .chf-fs-main { padding: 12px 16px 36px; }
}

/* My Application card, same look as the HR sign-in */
body.chf-fs #chf-portal .chf-p-card { padding: 30px; border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06); }
body.chf-fs #chf-portal .chf-p-title { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
body.chf-fs #chf-portal .chf-p-text { color: #667085; }
body.chf-fs #chf-portal .chf-p-langs { display: flex; width: max-content; margin: 0 0 14px auto; gap: 0; padding: 3px; border: 1px solid #e4e7ec; border-radius: 10px; background: #fff; }
body.chf-fs #chf-portal .chf-p-lang { border: 0; border-radius: 7px; background: transparent; color: #344054; font-weight: 600; padding: 5px 11px; }
body.chf-fs #chf-portal .chf-p-lang.is-on { background: #ecfdf3; color: #006c2f; }
body.chf-fs #chf-portal .chf-p-input { min-height: 46px; border: 1px solid #d0d5dd; border-radius: 10px; padding: 10px 12px; font-size: 16px; }
body.chf-fs #chf-portal .chf-p-input:focus { outline: none; border-color: #008a3c; box-shadow: 0 0 0 4px rgba(0, 138, 60, .14); }
body.chf-fs #chf-portal .chf-p-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border-radius: 10px; background: #008a3c; color: #fff; text-align: center; text-decoration: none; }
body.chf-fs #chf-portal .chf-p-form .chf-p-btn { width: 100%; }
body.chf-fs #chf-portal .chf-p-step .chf-p-btn { min-width: 170px; margin-top: 12px; }
body.chf-fs #chf-portal .chf-p-btn:hover { background: #006c2f; }
/* signed in: greeting, sign out and the steps */
body.chf-fs #chf-portal .chf-p-head { align-items: center; margin: 0 0 2px; }
body.chf-fs #chf-portal .chf-p-head .chf-p-title { margin: 0; }
body.chf-fs #chf-portal .chf-p-head .chf-p-link { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid #d0d5dd; border-radius: 9px; background: #fff; color: #344054; font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
body.chf-fs #chf-portal .chf-p-head .chf-p-link:hover { background: #f9fafb; }
body.chf-fs #chf-portal .chf-p-muted { color: #667085; }
body.chf-fs #chf-portal .chf-p-steps { margin-top: 20px; }
body.chf-fs #chf-portal .chf-p-step { position: relative; gap: 14px; padding: 18px; border: 1px solid #e4e7ec; border-radius: 14px; }
body.chf-fs #chf-portal .chf-p-step.is-open, body.chf-fs #chf-portal .chf-p-step.is-saved, body.chf-fs #chf-portal .chf-p-step.is-todo, body.chf-fs #chf-portal .chf-p-step.is-failed { border-color: #abefc6; box-shadow: 0 0 0 3px rgba(23, 178, 106, .08); }
body.chf-fs #chf-portal .chf-p-step.is-done { background: #f6fef9; border-color: #abefc6; }
body.chf-fs #chf-portal .chf-p-step.is-locked { opacity: 1; background: #fcfcfd; }
body.chf-fs #chf-portal .chf-p-step.is-locked .chf-p-name, body.chf-fs #chf-portal .chf-p-step.is-locked .chf-p-status { color: #98a2b3; }
body.chf-fs #chf-portal .chf-p-num { flex: 0 0 32px; width: 32px; height: 32px; border: 2px solid #e4e7ec; background: #fff; color: #667085; font-size: 14px; }
body.chf-fs #chf-portal .is-open .chf-p-num, body.chf-fs #chf-portal .is-saved .chf-p-num, body.chf-fs #chf-portal .is-todo .chf-p-num, body.chf-fs #chf-portal .is-failed .chf-p-num { border-color: #17b26a; background: #fff; color: #067647; box-shadow: 0 0 0 4px rgba(23, 178, 106, .14); }
body.chf-fs #chf-portal .is-done .chf-p-num { border-color: #17b26a; background: #17b26a; color: #fff; }
body.chf-fs #chf-portal .chf-p-eyebrow { margin: 2px 0 2px; color: #067647; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body.chf-fs #chf-portal .is-locked .chf-p-eyebrow { color: #98a2b3; }
body.chf-fs #chf-portal .chf-p-name { margin: 0; font-size: 18px; font-weight: 700; }
body.chf-fs #chf-portal .chf-p-status { margin: 2px 0 0; color: #475467; }
@media (max-width: 600px) {
    body.chf-fs #chf-portal .chf-p-card { padding: 22px 18px; }
    body.chf-fs #chf-portal .chf-p-step { padding: 16px 14px; }
    body.chf-fs #chf-portal .chf-p-step .chf-p-btn { width: 100%; }
}

/* sign-in page: centred, with a side panel on wide screens */
body.chf-fs .chf-fs-portal .chf-fs-main, .chf-fs-portal .chf-fs-main { justify-content: flex-start; max-width: 1280px; margin-left: auto !important; margin-right: auto !important; padding-top: clamp(16px, 7vh, 72px); }
body.chf-fs #chf-portal { max-width: 560px; margin-left: auto; margin-right: auto; }
body.chf-fs #chf-portal.is-split { max-width: 1280px; }
body.chf-fs #chf-portal .chf-p-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 0; align-items: stretch; border: 1px solid #e4e7ec; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 12px 32px -12px rgba(16, 24, 40, .14), 0 1px 3px rgba(16, 24, 40, .06); }
body.chf-fs #chf-portal .chf-p-split > .chf-p-card { border: 0; border-radius: 0; box-shadow: none; padding: 36px 36px 30px; }
body.chf-fs #chf-portal .chf-p-aside { display: flex; flex-direction: column; justify-content: center; padding: 40px 36px; background: linear-gradient(160deg, #00843d 0%, #006b31 100%); color: #fff; }
body.chf-fs #chf-portal .chf-p-aside-title { margin: 0 0 8px; color: #fff; font-size: 26px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
body.chf-fs #chf-portal .chf-p-aside-text { margin: 0 0 22px; color: rgba(255, 255, 255, .85); font-size: 16px; }
body.chf-fs #chf-portal .chf-p-aside-list { margin: 0; padding: 0; list-style: none; }
body.chf-fs #chf-portal .chf-p-aside-list li { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 14px; color: #fff; font-size: 15.5px; line-height: 1.45; }
body.chf-fs #chf-portal .chf-p-tick { display: inline-flex; flex: 0 0 24px; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; }
body.chf-fs #chf-portal .chf-p-badge { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; margin: 0 0 14px; border-radius: 12px; background: #ecfdf3; color: #008a3c; }
body.chf-fs #chf-portal .chf-p-split .chf-p-langs { margin: 0 0 10px auto; }
body.chf-fs #chf-portal .chf-p-input { height: 50px; border-color: #d0d5dd; border-radius: 10px; padding: 10px 14px; }
body.chf-fs #chf-portal .chf-p-input:focus { border-color: #008a3c; outline: 3px solid rgba(0, 138, 60, .18); }
body.chf-fs #chf-portal .chf-p-btn { display: block; width: 100%; height: 50px; margin-top: 16px; border-radius: 10px; background: #008a3c; font-size: 16px; }
body.chf-fs #chf-portal .chf-p-btn:hover { background: #006f30; }
body.chf-fs #chf-portal .chf-p-note { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; color: #667085; font-size: 13.5px; line-height: 1.45; }
body.chf-fs #chf-portal .chf-p-note svg { flex: 0 0 16px; margin-top: 2px; color: #008a3c; }
body.chf-fs #chf-portal .chf-p-new { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #eaecf0; color: #475467; font-size: 14.5px; }
body.chf-fs #chf-portal .chf-p-new a { color: #008a3c; font-weight: 600; }
@media (max-width: 820px) {
    body.chf-fs #chf-portal .chf-p-split { grid-template-columns: 1fr; border: 0; border-radius: 0; overflow: visible; background: none; box-shadow: none; }
    body.chf-fs #chf-portal .chf-p-aside { display: none; }
    body.chf-fs #chf-portal .chf-p-split > .chf-p-card { border: 1px solid #e4e7ec; border-radius: 16px; box-shadow: 0 1px 3px rgba(16, 24, 40, .06); padding: 26px 22px; }
    body.chf-fs #chf-portal.is-split { max-width: 520px; margin: 0 auto; }
}
/* sign-in: centred on the screen, both ways */
body.chf-fs.chf-fs-portal { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.chf-fs.chf-fs-portal .chf-fs-main { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: stretch; width: 100%; padding-top: 16px; padding-bottom: 32px; }
body.chf-fs.chf-fs-portal #chf-portal { width: 100%; margin-left: auto !important; margin-right: auto !important; }
/* sign-in: the logo sits just above the card, and both are centred together */
body.chf-fs.chf-fs-portal .chf-fs-top { margin-top: auto; padding-top: 28px; padding-bottom: 0; max-width: 1280px; }
body.chf-fs.chf-fs-portal .chf-fs-main { flex: 0 0 auto; justify-content: flex-start; padding-top: 22px; padding-bottom: 28px; }
body.chf-fs.chf-fs-portal .chf-fs-foot { margin-top: auto; }
body.chf-fs.chf-fs-portal .chf-fs-brand { font-size: 20px; gap: 12px; }
body.chf-fs.chf-fs-portal .chf-fs-logo-img { max-height: 52px; }
body.chf-fs.chf-fs-portal .chf-fs-icon { width: 42px; height: 42px; }
body.chf-fs.chf-fs-portal .chf-fs-top:not(:has(.chf-fs-me)) { justify-content: center; }

/* the Text Zoom plugin's side tab is not shown on these pages */
#kx-zoom-shadow-root { display: none !important; }

/* top bar: updates and help */
.chf-fs-ico { position: relative; display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; padding: 0; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; color: #344054; cursor: pointer; }
.chf-fs-ico:hover { border-color: #067647; color: #067647; }
.chf-fs-ico:focus-visible { outline: 2px solid #067647; outline-offset: 2px; }
.chf-fs-n { position: absolute; top: -6px; right: -6px; min-width: 18px; padding: 0 5px; border-radius: 999px; background: #d92d20; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.chf-fs-n[hidden] { display: none; }
.chf-notes-pop { position: fixed; z-index: 99992; width: min(360px, calc(100vw - 16px)); max-height: min(480px, calc(100vh - 100px)); overflow-y: auto; padding: 6px; border: 1px solid #e4e7ec; border-radius: 14px; background: #fff; box-shadow: 0 18px 44px -12px rgba(16, 24, 40, .28); font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #101828; text-align: left; }
.chf-notes-pop[hidden] { display: none; }
.chf-notes-t { margin: 6px 8px 8px; font-weight: 700; font-size: 14px; }
.chf-notes-l { list-style: none; margin: 0; padding: 0; }
.chf-notes-l li { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 9px; }
.chf-notes-l li.is-new { background: #ecfdf3; }
.chf-notes-l em { font-style: normal; font-size: 12px; color: #667085; }
.chf-notes-none { color: #667085; }

a.chf-notes-a { display: flex; flex-direction: column; gap: 2px; margin: -10px; padding: 10px; border-radius: 9px; color: inherit !important; text-decoration: none !important; }
a.chf-notes-a:hover { background: #f2f4f7; }
a.chf-notes-a span { text-decoration: underline; text-decoration-color: #abefc6; text-underline-offset: 3px; }

/* applicant menu */
.chf-an { width: 100%; max-width: 1280px; margin: 6px auto 0; padding: 0 20px; }
.chf-an-in { display: flex; gap: 4px; padding: 4px; overflow-x: auto; border: 1px solid #e4e7ec; border-radius: 14px; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); scrollbar-width: none; }
.chf-an-in::-webkit-scrollbar { display: none; }
.chf-an-a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; color: #344054 !important; font-size: 14.5px; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
.chf-an-a:hover { background: #f2f4f7; }
.chf-an-a.is-on { background: #ecfdf3; color: #067647 !important; box-shadow: inset 0 0 0 1px #abefc6; }
.chf-an-a:focus-visible { outline: 2px solid #067647; outline-offset: 1px; }
.chf-an-n { min-width: 20px; padding: 0 6px; border-radius: 999px; background: #067647; color: #fff; font-size: 11.5px; line-height: 20px; text-align: center; }
.chf-an-n.is-warn { background: #dc6803; }
.chf-an-n[hidden] { display: none; }
@media (max-width: 600px) { .chf-an { padding: 0 12px; } .chf-an-a { padding: 8px 11px; font-size: 13.5px; } }
/* the Help page */
.chf-fs-portal .chf-fs-main:has(.chf-help-wrap) { max-width: 1280px; justify-content: flex-start; }
.chf-help-wrap { width: 100%; }
.chf-help-h { margin: 8px 0 4px; font-size: 26px; }
.chf-help-p { margin: 0 0 16px; color: #475467; }
.chf-an-sub { font-style: normal; font-size: 12px; font-weight: 600; color: #475467; padding: 1px 7px; border-radius: 999px; background: #f2f4f7; }
.chf-an-a.is-on .chf-an-sub { background: #dcfae6; color: #067647; }

body.chf-fs.chf-portal-in #chf-portal { max-width: 1280px; }
body.chf-fs.chf-portal-in.chf-fs-portal .chf-fs-main { padding-top: 16px; }
body.chf-fs.chf-portal-in.chf-fs-portal .chf-fs-top { margin-top: 0; }

/* a step with documents still needed */
.chf-stepper li.is-pending .chf-stepper-dot { background: #dc6803 !important; border-color: #dc6803 !important; color: #fff !important; font-weight: 800; }
.chf-stepper li.is-pending::before, .chf-stepper li.is-pending .chf-stepper-bar { background: #fdb022 !important; }
.chf-stepper li.is-pending .chf-stepper-label { color: #b54708 !important; font-weight: 700; }
.chf-stepper-n { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; background: #dc6803; color: #fff; font-size: 11px; font-style: normal; line-height: 18px; text-align: center; }
.chf-left-docs { margin: 10px 0 4px; padding-left: 20px; color: #344054; }
.chf-left-docs li { margin: 2px 0; font-weight: 600; }

.chf-help-h { font-size: 24px; letter-spacing: -.01em; }
.chf-help-p { font-size: 15px; }

/* ---- applicant area: wider */
.chf-fs-top, .chf-an { max-width: 1440px; }
body.chf-fs.chf-portal-in.chf-fs-portal .chf-fs-main, body.chf-fs.chf-portal-in #chf-portal, .chf-fs-portal .chf-fs-main:has(.chf-help-wrap) { max-width: 1440px; }
/* signed in: tidy head (greeting left, language and icons right) */
body.chf-fs.chf-portal-in #chf-portal .chf-p-card { position: relative; padding: 24px 28px 28px; }
body.chf-fs.chf-portal-in #chf-portal .chf-p-langs { position: absolute; top: 24px; right: 28px; margin: 0; }
body.chf-fs.chf-portal-in #chf-portal .chf-p-head { margin: 0; padding: 0 0 0 0; min-height: 44px; }
body.chf-fs.chf-portal-in #chf-portal .chf-p-head .chf-p-headr { margin-right: 190px; }
body.chf-fs.chf-portal-in #chf-portal .chf-p-title { margin: 0; font-size: 26px; }
@media (max-width: 760px) { body.chf-fs.chf-portal-in #chf-portal .chf-p-langs { position: static; margin: 0 0 12px auto; } body.chf-fs.chf-portal-in #chf-portal .chf-p-head .chf-p-headr { margin-right: 0; } }
/* steps: a compact timeline */
body.chf-fs.chf-portal-in #chf-portal .chf-p-eyebrow { display: none; }
body.chf-fs.chf-portal-in #chf-portal .chf-p-name { grid-area: name; font-size: 16px; font-weight: 700; color: #101828; }
body.chf-fs.chf-portal-in #chf-portal .chf-p-status { grid-area: status; font-size: 13.5px; color: #667085; }
#chf-portal .chf-p-docs-up svg { flex: none; }
#chf-portal .chf-p-docs-up { gap: 7px !important; }

/* ---- the applicant menu at the side */
.chf-app { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 24px; align-items: start; width: 100%; max-width: 1440px; margin: 14px auto 0; padding: 0 20px; box-sizing: border-box; }
.chf-app > .chf-fs-main { max-width: none !important; width: 100%; margin: 0 !important; padding: 0 0 48px !important; }
.chf-app-side { position: static; } /* not sticky: the journey and test cards follow it in the same column */
.chf-app .chf-an { max-width: none; margin: 0; padding: 0; }
.chf-app .chf-an-in { flex-direction: column; gap: 2px; padding: 8px; overflow: visible; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.chf-app .chf-an-a { width: 100%; padding: 11px 12px; border-radius: 10px; box-sizing: border-box; }
.chf-app .chf-an-a > span { flex: 1 1 auto; }
.chf-app .chf-an-a.is-on { border-radius: 10px; }
.chf-app .chf-an-sub { display: block; flex: 0 0 auto; }
@media (max-width: 900px) {
  .chf-app { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0 12px; }
  .chf-app-side { position: static; }
  .chf-app .chf-an-in { flex-direction: row; overflow-x: auto; border-radius: 14px; padding: 4px; }
  .chf-app .chf-an-a { width: auto; }
  .chf-app .chf-an-a.is-on { box-shadow: inset 0 0 0 1px #abefc6; }
}

/* no left accent bars */
.chf-app .chf-an-a.is-on { box-shadow: inset 0 0 0 1px #abefc6 !important; }
.chf-msg-panel.is-page .chf-msg-tk.is-on, .chf-msg-tk.has-new { box-shadow: none !important; }
.chf-msg-tk.has-new { border-color: #abefc6; }

.chf-an-a.is-done { color: #98a2b3 !important; cursor: default; }
.chf-an-a.is-done:hover { background: transparent; }
.chf-an-done { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: #ecfdf3; color: #067647; font-size: 11.5px; font-style: normal; font-weight: 700; }


/* the applicant's buttons (photo, updates, help, settings, sign out) in the top bar, right side */
.chf-fs-top .chf-p-headr.in-top { position: absolute; top: 50%; right: 20px; display: flex; align-items: center; gap: 8px; margin: 0; transform: translateY(-30%); }
@media (max-width: 760px) { .chf-fs-top .chf-p-headr.in-top { position: static; transform: none; margin-left: auto; } body.chf-fs .chf-fs-top:has(.chf-p-headr.in-top) { justify-content: space-between; } }
body.chf-fs .chf-fs-top:has(.chf-p-headr.in-top) + .chf-an, body.chf-fs .chf-an { margin-top: 14px; }

/* top bar buttons (moved out of the card) */
.chf-p-headr.in-top .chf-p-bell { position: relative; display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; padding: 0; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; color: #344054; cursor: pointer; box-shadow: none; }
.chf-p-headr.in-top .chf-p-bell:hover { border-color: #008a3c; color: #006c2f; }
.chf-p-headr.in-top .chf-p-bell:focus-visible { outline: 2px solid #008a3c; outline-offset: 2px; }
.chf-p-headr.in-top .chf-p-bell-n { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; background: #d92d20; color: #fff; font: 700 11px/15px system-ui, sans-serif; text-align: center; }
.chf-p-headr.in-top .chf-p-bell-n[hidden] { display: none; }
.chf-p-headr.in-top .chf-p-me { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #e4e7ec; }
.chf-p-headr.in-top .chf-p-link { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid #d0d5dd; border-radius: 9px; background: #fff; color: #344054; font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
.chf-p-headr.in-top .chf-p-link:hover { background: #f9fafb; }
.chf-p-headr.in-top .chf-p-link { text-decoration: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; }

/* the menu box: as wide as the page content, with the person's buttons at its right end */
body.chf-fs.chf-fs-portal .chf-an { max-width: 1440px; }
.chf-an-in { align-items: center; }
.chf-an-in > .chf-fs-me, .chf-an-in > .chf-p-headr { position: static !important; transform: none !important; display: flex; align-items: center; gap: 8px; margin: 0 4px 0 auto !important; padding-left: 8px; flex: 0 0 auto; }
.chf-an-in .chf-p-headr .chf-p-bell, .chf-an-in .chf-fs-me .chf-fs-ico { width: 36px; height: 36px; }
.chf-an-in .chf-p-headr .chf-p-me { width: 34px; height: 34px; }
.chf-an-in .chf-p-headr .chf-p-bell, .chf-an-in .chf-p-headr .chf-p-link, .chf-an-in .chf-p-headr .chf-p-me { width: auto; }
.chf-an-in .chf-p-headr .chf-p-bell { width: 36px; }
.chf-an-in .chf-p-headr .chf-p-me { width: 34px; }
@media (max-width: 760px) { .chf-an-in { flex-wrap: wrap; } .chf-an-in > .chf-fs-me, .chf-an-in > .chf-p-headr { width: 100%; justify-content: flex-end; margin: 4px 0 0 !important; padding: 4px 0 0; border-top: 1px solid #eaecf0; } }
.chf-an-in { overflow: visible; flex-wrap: wrap; row-gap: 4px; }

/* menu steps not reached yet */
.chf-an-a.is-later { color: #98a2b3 !important; cursor: default; }
.chf-an-a.is-later:hover { background: transparent; }
.chf-an-later { font-style: normal; font-size: 11.5px; font-weight: 700; color: #667085; padding: 1px 7px; border-radius: 999px; background: #f2f4f7; }

/* steps pages (application, test, documents, interview): page content as wide as the menu box above it */
body.chf-fs:not(.chf-fs-portal) .chf-an, body.chf-fs:not(.chf-fs-portal) .chf-fs-top, body.chf-fs:not(.chf-fs-portal) .chf-fs-main { max-width: 1440px; }

/* the steps, under the menu: same box, same width, on every applicant page */
.chf-sb { width: 100%; max-width: 1440px; margin: 10px auto 0; padding: 0 20px; box-sizing: border-box; }
.chf-sb-in { display: grid; grid-template-columns: repeat(var(--chf-n, 5), minmax(0, 1fr)); margin: 0; padding: 14px 8px 12px; list-style: none; border: 1px solid #e4e7ec; border-radius: 14px; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); }
.chf-sb-step { position: relative; margin: 0; padding: 0; min-width: 0; }
.chf-sb-step::before { content: ""; position: absolute; top: 15px; right: calc(50% + 20px); width: calc(100% - 40px); height: 2px; border-radius: 2px; background: #e4e7ec; }
.chf-sb-step:first-child::before { display: none; }
.chf-sb-step.is-done::before, .chf-sb-step.is-open::before, .chf-sb-step.is-saved::before, .chf-sb-step.is-booked::before, .chf-sb-step.is-here::before { background: #32d583; }
.chf-sb-a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 6px 4px; border-radius: 10px; color: #101828 !important; text-align: center; text-decoration: none !important; }
a.chf-sb-a:hover .chf-sb-name { text-decoration: underline; text-underline-offset: 3px; }
a.chf-sb-a:focus-visible { outline: 2px solid #067647; outline-offset: 2px; }
.chf-sb-dot { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #d0d5dd; background: #fff; color: #667085; font-size: 13px; font-weight: 700; box-sizing: border-box; }
.chf-sb-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.chf-sb-name { font-size: 14px; font-weight: 700; line-height: 1.3; }
.chf-sb-st { font-size: 12.5px; line-height: 1.35; color: #667085; }
.chf-sb-step.is-done .chf-sb-dot { border-color: #17b26a; background: #17b26a; color: #fff; }
.chf-sb-step.is-done .chf-sb-st { color: #067647; }
.chf-sb-step.is-open .chf-sb-dot, .chf-sb-step.is-saved .chf-sb-dot, .chf-sb-step.is-todo .chf-sb-dot, .chf-sb-step.is-booked .chf-sb-dot { border-color: #067647; background: #067647; color: #fff; }
.chf-sb-step.is-failed .chf-sb-dot { border-color: #d92d20; background: #fef3f2; color: #b42318; }
.chf-sb-step.is-failed .chf-sb-st { color: #b42318; }
.chf-sb-step.is-locked .chf-sb-name, .chf-sb-step.is-locked .chf-sb-st { color: #98a2b3; }
.chf-sb-step.is-locked .chf-sb-a { cursor: default; }
.chf-sb-step.is-here .chf-sb-dot { box-shadow: 0 0 0 4px #d1fadf; }
.chf-sb-step.is-here .chf-sb-name { color: #067647; }
@media (max-width: 760px) {
  .chf-sb { padding: 0 12px; }
  .chf-sb-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 12px 6px 10px; }
  .chf-sb-in::-webkit-scrollbar { display: none; }
  .chf-sb-step { flex: 0 0 116px; }
  .chf-sb-st { display: none; }
  .chf-sb-step.is-here .chf-sb-st { display: block; }
}
/* the steps are only in the bar: not repeated inside the page */
body:has(.chf-sb) .chf-wrap .chf-head-step, body:has(.chf-sb) .chf-wrap .chf-stepper, body:has(.chf-sb) #chf-portal .chf-p-hsteps, body:has(.chf-sb) #chf-portal .chf-p-coltitle { display: none !important; }

/* "My application": a list of every step */
.chf-an-dd { position: relative; flex: 0 0 auto; }
.chf-an-ddbtn { border: 0; background: transparent; font: inherit; cursor: pointer; }
.chf-an-ddbtn[aria-expanded="true"] { background: #f2f4f7; }
.chf-an-ddbtn[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.chf-an-ddbtn svg:last-child { transition: transform .15s; color: #667085; }
.chf-an-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; width: 320px; max-width: calc(100vw - 32px); padding: 6px; border: 1px solid #e4e7ec; border-radius: 14px; background: #fff; box-shadow: 0 16px 32px rgba(16, 24, 40, .14); }
.chf-an-menu[hidden] { display: none; }
.chf-an-mi { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: #101828 !important; text-decoration: none !important; }
a.chf-an-mi:hover { background: #f9fafb; }
a.chf-an-mi:focus-visible { outline: 2px solid #067647; outline-offset: -2px; }
.chf-an-mi.is-here { background: #ecfdf3; }
.chf-an-mi + .chf-an-mi { margin-top: 2px; }
.chf-an-mdot { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #d0d5dd; background: #fff; color: #667085; font-size: 12px; font-weight: 700; box-sizing: border-box; }
.chf-an-mdot.is-home { border-color: #e4e7ec; color: #344054; }
.chf-an-mdot.is-done { border-color: #17b26a; background: #17b26a; color: #fff; }
.chf-an-mdot.is-open, .chf-an-mdot.is-saved, .chf-an-mdot.is-todo, .chf-an-mdot.is-booked { border-color: #067647; background: #067647; color: #fff; }
.chf-an-mdot.is-failed { border-color: #d92d20; color: #b42318; background: #fef3f2; }
.chf-an-mt { display: flex; flex-direction: column; min-width: 0; }
.chf-an-mt b { font-size: 14px; font-weight: 700; }
.chf-an-mt em { font-style: normal; font-size: 12.5px; color: #667085; }
.chf-an-mi.is-done .chf-an-mt em { color: #067647; }
.chf-an-mi.is-locked { cursor: default; }
.chf-an-mi.is-locked .chf-an-mt b, .chf-an-mi.is-locked .chf-an-mt em { color: #98a2b3; }

/* every applicant page: the main box fills the screen under the menu and the steps, so pages keep one height */
body.chf-fs:has(.chf-sb) #chf-portal { display: flex; flex-direction: column; min-height: max(520px, calc(100vh - 340px)); box-sizing: border-box; }
body.chf-fs:has(.chf-sb) #chf-portal > .chf-p-card { flex: 1 0 auto; box-sizing: border-box; }
body.chf-fs:has(.chf-sb) .chf-wrap { display: flex; flex-direction: column; min-height: max(520px, calc(100vh - 340px)); }
body.chf-fs:has(.chf-sb) .chf-wrap > .chf-form-card:last-child, body.chf-fs:has(.chf-sb) .chf-wrap > :last-child:not(script):not(style) { flex: 1 0 auto; }
@media (max-width: 760px) { body.chf-fs:has(.chf-sb) #chf-portal, body.chf-fs:has(.chf-sb) .chf-wrap { min-height: 0; } }
/* staff signed in to WordPress: the drawer starts below the admin bar */
body.admin-bar .chf-drawer:not([hidden]), body.admin-bar #chf-portal .chf-drawer:not([hidden]) { top: var(--wp-admin--admin-bar--height, 32px) !important; height: calc(100vh - var(--wp-admin--admin-bar--height, 32px)); }

/* drawers: notifications and settings slide in from the right */
.chf-drawer:not([hidden]), #chf-portal .chf-drawer:not([hidden]) { position: fixed !important; top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important; z-index: 99993; width: min(420px, 100vw); height: 100vh; height: 100dvh; max-height: none; margin: 0 !important; padding: 22px 18px 24px; overflow-y: auto; border: 0; border-radius: 18px 0 0 18px; background: #fff; box-shadow: 0 0 0 100vmax rgba(16, 24, 40, .38), -14px 0 36px rgba(16, 24, 40, .18); box-sizing: border-box; animation: chf-drawer-in .22s ease-out; text-align: left; }
@keyframes chf-drawer-in { from { transform: translateX(32px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chf-drawer:not([hidden]) { animation: none; } }
.chf-drawer .chf-drawer-x { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1px solid #e4e7ec; border-radius: 10px; background: #fff; color: #344054; cursor: pointer; }
.chf-drawer .chf-drawer-x:hover { background: #f2f4f7; }
.chf-drawer .chf-drawer-x:focus-visible { outline: 2px solid #067647; outline-offset: 2px; }
.chf-drawer .chf-p-notes-t, .chf-drawer .chf-notes-t { margin: 4px 52px 14px 2px !important; font-size: 18px !important; font-weight: 700; color: #101828; }
@media (max-width: 600px) { .chf-drawer:not([hidden]), #chf-portal .chf-drawer:not([hidden]) { width: 100vw; border-radius: 0; } }
html:has(.chf-drawer:not([hidden])) { overflow: hidden; }
.chf-an { position: relative; z-index: 40; } /* its dropdown opens over the step bar */

/* phones: the steps as dots with one line for the current step; nothing cut off */
.chf-sb-cap { display: none; }
@media (max-width: 760px) {
  .chf-sb-in { display: grid !important; grid-template-columns: repeat(var(--chf-n, 5), minmax(0, 1fr)) !important; gap: 0 !important; overflow: visible !important; padding: 12px 6px 4px !important; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
  .chf-sb-step { flex: initial !important; }
  .chf-sb-step::before { right: calc(50% + 17px); width: calc(100% - 34px); }
  .chf-sb-txt { display: none !important; }
  .chf-sb-a { padding: 0 2px 6px; }
  .chf-sb-dot { width: 30px; height: 30px; }
  .chf-sb-cap { display: block; margin: 0; padding: 4px 14px 12px; border: 1px solid #e4e7ec; border-top: 0; border-radius: 0 0 14px 14px; background: rgba(255,255,255,.85); text-align: center; font-size: 14px; line-height: 1.4; color: #101828; }
  .chf-sb-cap b { font-weight: 700; }
  .chf-sb-cap span { display: block; font-size: 13px; color: #667085; }
}
/* the menu at the top of the page: no empty space above the logo on pages with the menu */
body.chf-fs:has(.chf-an) .chf-fs-top { margin-top: 0 !important; }

.chf-sb-step.is-wait .chf-sb-dot { border-color: #067647; background: #fff; color: #067647; }
.chf-sb-step.is-wait::before { background: #32d583; }
.chf-an-mdot.is-wait { border-color: #067647; color: #067647; }

.chf-fs-terms { margin-left: 14px; }
.chf-fs-terms .chf-terms-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.chf-fs-terms .chf-terms-link:hover { color: #067647; }

/* the privacy note under the page (no pop-up) */
.chf-terms-note { display: flex; align-items: flex-start; gap: 10px; max-width: 760px; margin: 8px auto 0; padding: 12px 16px; border: 1px solid #e4e7ec; border-radius: 12px; background: rgba(255, 255, 255, .85); color: #475467; font-size: 13.5px; line-height: 1.5; box-sizing: border-box; }
.chf-terms-note svg { flex: 0 0 auto; margin-top: 2px; color: #067647; }
.chf-terms-note p { margin: 0; }
.chf-terms-note .chf-terms-link { color: #067647; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) { .chf-terms-note { margin: 8px 16px 0; } }
/* the step they are on: an arrow under it, pointing down at the page */
.chf-sb-in { padding-bottom: 6px; }
.chf-sb-arrow { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: #067647; color: #fff; box-shadow: 0 4px 10px rgba(6, 118, 71, .25); animation: chf-sb-nudge 1.6s ease-in-out infinite; }
.chf-sb-step.is-cur .chf-sb-name { color: #067647; }
.chf-sb-step.is-cur .chf-sb-dot { box-shadow: 0 0 0 4px #d1fadf; }
@keyframes chf-sb-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .chf-sb-arrow { animation: none; } }
@media (max-width: 760px) { .chf-sb-arrow { width: 22px; height: 22px; } .chf-sb-arrow svg { width: 14px; height: 14px; } }
/* a step with nothing to open yet is not a link */
span.chf-sb-a { cursor: default; }
span.chf-sb-a:hover .chf-sb-name { text-decoration: none; }
span.chf-an-mi[aria-disabled="true"] { cursor: default; }

/* the account menu (name, photo or initials): My settings and Sign out */
.chf-acct { position: relative; display: inline-flex; }
.chf-acct-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 3px 10px 3px 3px; border: 1px solid #d0d5dd; border-radius: 999px; background: #fff; color: #101828; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: none; }
.chf-acct-btn:hover { border-color: #067647; }
.chf-acct-btn:focus-visible { outline: 2px solid #067647; outline-offset: 2px; }
.chf-acct-btn[aria-expanded=true] { border-color: #067647; box-shadow: 0 0 0 3px #dcfae6; }
.chf-acct-av { display: inline-flex; width: 30px !important; height: 30px !important; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; background: #dcfae6; color: #067647; font-size: 12px; font-weight: 700; letter-spacing: .3px; object-fit: cover; }
img.chf-acct-av { background: #e4e7ec; }
.chf-acct-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chf-acct-chev { color: #667085; transition: transform .15s; }
.chf-acct-btn[aria-expanded=true] .chf-acct-chev { transform: rotate(180deg); }
.chf-acct-menu { position: absolute; z-index: 1000; top: calc(100% + 8px); right: 0; display: flex; flex-direction: column; width: 240px; padding: 6px; border: 1px solid #e4e7ec; border-radius: 12px; background: #fff; box-shadow: 0 18px 44px -12px rgba(16, 24, 40, .28); text-align: left; }
.chf-acct-menu[hidden] { display: none; }
.chf-acct-who { display: flex; flex-direction: column; gap: 2px; padding: 9px 10px 11px; margin: 0 0 4px; border-bottom: 1px solid #f2f4f7; }
.chf-acct-who strong { color: #101828; font-size: 14px; }
.chf-acct-who small { color: #667085; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chf-acct-menu a, .chf-acct-menu button { display: flex !important; align-items: center; gap: 10px; width: 100% !important; height: auto !important; margin: 0; padding: 9px 10px !important; border: 0 !important; border-radius: 8px; background: none !important; color: #344054 !important; font: inherit; font-size: 14px; font-weight: 500; text-align: left; text-decoration: none !important; cursor: pointer; box-shadow: none !important; }
.chf-acct-menu a:hover, .chf-acct-menu button:hover, .chf-acct-menu a:focus-visible, .chf-acct-menu button:focus-visible { background: #f2f4f7 !important; outline: none; }
.chf-acct-menu svg { color: #667085; flex: 0 0 auto; }
.chf-acct-menu .chf-acct-out { margin-top: 4px; border-top: 1px solid #f2f4f7 !important; border-radius: 0 0 8px 8px; color: #b42318 !important; }
.chf-acct-menu .chf-acct-out svg { color: #b42318; }
@media (max-width: 760px) { .chf-acct-name { display: none; } .chf-acct-btn { padding-right: 8px; } }

/* the chosen file: preview under its upload box */
.chf-fprev { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; padding: 10px; border: 1px solid #e4e7ec; border-radius: 12px; background: #fff; }
.chf-fprev-th { display: inline-flex; flex: 0 0 auto; width: 64px; height: 64px; align-items: center; justify-content: center; overflow: hidden; border-radius: 9px; background: #f2f4f7; color: #b42318; text-decoration: none !important; }
.chf-fprev.is-img .chf-fprev-th { width: 96px; height: 72px; background: #101828; }
.chf-fprev-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chf-fprev-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.chf-fprev-t strong { overflow: hidden; color: #101828; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.chf-fprev-t small { color: #667085; font-size: 12.5px; }
.chf-fprev-open { flex: 0 0 auto; padding: 7px 12px; border: 1px solid #d0d5dd; border-radius: 9px; background: #fff; color: #344054 !important; font-size: 13px; font-weight: 600; text-decoration: none !important; }
.chf-fprev-open:hover { border-color: #067647; color: #067647 !important; }
@media (max-width: 480px) { .chf-fprev.is-img { flex-wrap: wrap; } .chf-fprev.is-img .chf-fprev-th { width: 100%; height: 180px; } .chf-fprev.is-img .chf-fprev-th img { object-fit: contain; } }

/* any action: the pressed button says what it is doing */
.chf-is-busy { position: relative; cursor: progress !important; pointer-events: none; opacity: .92; }
.chf-is-busy > span { vertical-align: middle; }
.chf-busy-spin { display: inline-block; width: 16px; height: 16px; margin-right: 8px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -3px; animation: chf-busy-spin .8s linear infinite; }
@keyframes chf-busy-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .chf-busy-spin { animation-duration: 2.4s; } }
.chf-busy-note { margin: 10px 0 0; color: #344054; font-size: 13.5px; line-height: 1.5; }
.chf-need-msg { margin: 0 0 10px; padding: 10px 12px; border: 1px solid #fecdca; border-radius: 10px; background: #fef3f2; color: #b42318; font-size: 14px; font-weight: 600; }
.chf-need { outline: 2px solid #f04438; outline-offset: 3px; border-radius: 10px; }
/* the "still working" note: its own line under the button */
.chf-busy-note { display: block; flex: 1 1 100%; width: 100%; margin: 10px 0 0; text-align: inherit; }
/* a short message card (training, orientation packet, signing) that fills the page height: its content sits in the middle */
body.chf-fs .chf-form-card:has(> .chf-sign) { display: flex; flex-direction: column; justify-content: center; }

/* a step left open behind the current one: amber, needs attention */
.chf-sb-step.is-attn .chf-sb-dot { border-color: #f79009; background: #fffaeb; color: #b54708; }
.chf-sb-step.is-attn .chf-sb-st { color: #b54708; font-weight: 600; }
.chf-sb-step.is-attn .chf-sb-a { position: relative; }
.chf-sb-attn { position: absolute; z-index: 2; top: -4px; left: calc(50% + 8px); display: inline-flex; width: 16px; height: 16px; align-items: center; justify-content: center; border: 2px solid #fff; border-radius: 50%; background: #f79009; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; }

/* account menu, redesigned */
.chf-acct-menu { width: 272px !important; padding: 6px !important; border: 1px solid #eaecf0 !important; border-radius: 14px !important; background: #fff !important; box-shadow: 0 16px 40px -8px rgba(16,24,40,.22), 0 2px 6px rgba(16,24,40,.06) !important; }
.chf-acct-who { flex-direction: row !important; align-items: center; gap: 12px !important; padding: 12px 10px 14px !important; margin: 0 0 6px !important; border-bottom: 1px solid #f2f4f7; }
.chf-acct-wav { display: inline-flex; flex: 0 0 auto; width: 40px !important; height: 40px !important; align-items: center; justify-content: center; border-radius: 50%; background: #dcfae6; color: #067647; font-size: 15px; font-weight: 700; object-fit: cover; }
img.chf-acct-wav { background: #e4e7ec; }
.chf-acct-wt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chf-acct-who strong { overflow: hidden; color: #101828; font-size: 14.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.chf-acct-who small, .chf-acct-who small a { overflow: hidden; color: #667085 !important; font-family: inherit !important; font-size: 12.5px !important; text-decoration: none !important; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.chf-acct-menu a, .chf-acct-menu button { gap: 12px !important; padding: 10px 10px !important; border-radius: 10px !important; color: #344054 !important; font-family: inherit !important; font-size: 14px !important; font-weight: 600 !important; }
.chf-acct-menu a svg, .chf-acct-menu button svg { width: 18px; height: 18px; padding: 7px; box-sizing: content-box; border-radius: 9px; background: #f2f4f7; color: #475467; }
.chf-acct-menu a:hover svg, .chf-acct-menu button:hover svg { background: #dcfae6; color: #067647; }
.chf-acct-menu .chf-acct-out { margin-top: 6px !important; padding-top: 12px !important; border-top: 1px solid #f2f4f7 !important; border-radius: 0 0 10px 10px !important; color: #b42318 !important; }
.chf-acct-menu .chf-acct-out svg { background: #fef3f2; color: #d92d20; }
.chf-acct-menu .chf-acct-out:hover svg { background: #fee4e2; color: #b42318; }

/* My settings in a panel on any page */
html.chf-setov-on { overflow: hidden; }
.chf-setov { position: fixed; inset: 0; z-index: 2147483000; }
.chf-setov-bg { position: absolute; inset: 0; background: rgba(16, 24, 40, .45); animation: chfSetFade .2s ease; }
.chf-setov-p { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(440px, 100vw); background: #f6f7f9; box-shadow: -12px 0 40px rgba(16, 24, 40, .2); animation: chfSetIn .25s ease; }
body.admin-bar .chf-setov-p { top: var(--wp-admin--admin-bar--height, 32px); }
.chf-setov-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 12px 20px; border-bottom: 1px solid #eaecf0; background: #fff; }
.chf-setov-h strong { color: #101828; font-size: 18px; font-weight: 700; }
.chf-setov-x { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1px solid #e4e7ec; border-radius: 10px; background: #fff; color: #344054; cursor: pointer; }
.chf-setov-x:hover { background: #f2f4f7; }
.chf-setov-p iframe { flex: 1 1 auto; width: 100%; border: 0; opacity: 0; transition: opacity .2s; }
.chf-setov.is-ready iframe { opacity: 1; }
.chf-setov-load { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.chf-setov-load span { display: block; width: 28px; height: 28px; border: 3px solid #d1fadf; border-top-color: #067647; border-radius: 50%; animation: chfSetSpin .8s linear infinite; }
.chf-setov.is-ready .chf-setov-load { display: none; }
@keyframes chfSetIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes chfSetFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes chfSetSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .chf-setov-p, .chf-setov-bg { animation: none; } }
/* inside the panel: only the settings */
html.chf-embed, html.chf-embed body { background: #f6f7f9 !important; }
html.chf-embed body * { visibility: hidden !important; }
html.chf-embed .chf-p-settings, html.chf-embed .chf-p-settings * { visibility: visible !important; }
html.chf-embed .chf-p-settings:not([hidden]) { top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; border-radius: 0 !important; box-shadow: none !important; animation: none !important; }
html.chf-embed .chf-p-settings .chf-drawer-x, html.chf-embed .chf-p-settings .chf-notes-t, html.chf-embed .chf-p-settings .chf-p-notes-t { display: none !important; }
html.chf-embed #wpadminbar { display: none !important; }
html.chf-embed body.admin-bar .chf-drawer:not([hidden]) { top: 0 !important; height: 100vh !important; }
html.chf-embed .chf-p-settings:not([hidden]) { padding-top: 16px !important; }

/* ------------------------------------------------------------------
 * Sign-in page, redesigned: balanced two-panel card with a 4-step path
 * ------------------------------------------------------------------ */
body.chf-fs #chf-portal.is-split { max-width: 1040px; }
body.chf-fs #chf-portal .chf-p-split { grid-template-columns: minmax(0, 1fr) minmax(0, 470px); border: 0; border-radius: 24px; box-shadow: 0 24px 48px -20px rgba(6, 64, 32, .28), 0 2px 6px rgba(16, 24, 40, .06); }
body.chf-fs #chf-portal .chf-p-aside { position: relative; overflow: hidden; justify-content: space-between; padding: 44px 40px; background: radial-gradient(120% 90% at 0% 0%, #0a9a49 0%, #007a37 46%, #005c29 100%); }
body.chf-fs #chf-portal .chf-p-aside::before, body.chf-fs #chf-portal .chf-p-aside::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
body.chf-fs #chf-portal .chf-p-aside::before { width: 340px; height: 340px; right: -120px; top: -110px; background: rgba(255, 255, 255, .07); }
body.chf-fs #chf-portal .chf-p-aside::after { width: 240px; height: 240px; left: -90px; bottom: -120px; background: rgba(255, 255, 255, .06); }
body.chf-fs #chf-portal .chf-p-aside-in { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
body.chf-fs #chf-portal .chf-p-aside-kicker { display: inline-flex; align-self: flex-start; margin: 0 0 18px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #e6f7ed; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body.chf-fs #chf-portal .chf-p-aside-title { margin: 0 0 10px; font-size: 30px; line-height: 1.18; letter-spacing: -.02em; }
body.chf-fs #chf-portal .chf-p-aside-text { margin: 0 0 28px; color: rgba(255, 255, 255, .86); font-size: 16px; line-height: 1.5; }
body.chf-fs #chf-portal .chf-p-aside-steps { position: relative; margin: 0 0 28px; padding: 0; list-style: none; }
body.chf-fs #chf-portal .chf-p-aside-steps li { position: relative; display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 0 0 20px; }
body.chf-fs #chf-portal .chf-p-aside-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, .22); }
body.chf-fs #chf-portal .chf-p-anum { display: inline-flex; flex: 0 0 32px; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: #006b31; font-size: 14px; font-weight: 800; box-shadow: 0 0 0 4px rgba(255, 255, 255, .14); }
body.chf-fs #chf-portal .chf-p-astep { display: flex; flex-direction: column; gap: 2px; padding-top: 5px; }
body.chf-fs #chf-portal .chf-p-astep b { color: #fff; font-size: 15.5px; font-weight: 600; line-height: 1.35; }
body.chf-fs #chf-portal .chf-p-astep small { color: rgba(255, 255, 255, .74); font-size: 13.5px; line-height: 1.4; }
body.chf-fs #chf-portal .chf-p-aside-help { display: flex; align-items: center; gap: 10px; margin: auto 0 0; padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, .14); color: #fff; font-size: 14.5px; font-weight: 600; }
body.chf-fs #chf-portal .chf-p-aside-help svg { flex: 0 0 16px; opacity: .9; }
body.chf-fs #chf-portal .chf-p-split > .chf-p-card { display: flex; flex-direction: column; justify-content: center; padding: 40px 44px 36px; }
body.chf-fs #chf-portal .chf-p-split .chf-p-langs { position: absolute; top: 22px; right: 24px; margin: 0; }
body.chf-fs #chf-portal .chf-p-split > .chf-p-card { position: relative; }
body.chf-fs #chf-portal .chf-p-split .chf-p-badge { width: 52px; height: 52px; margin: 18px 0 18px; border-radius: 14px; background: linear-gradient(180deg, #ecfdf3, #d1fadf); }
body.chf-fs #chf-portal .chf-p-split .chf-p-title { margin: 0 0 6px; font-size: 28px; letter-spacing: -.02em; }
body.chf-fs #chf-portal .chf-p-split .chf-p-text { margin: 0 0 22px; font-size: 15.5px; line-height: 1.55; }
body.chf-fs #chf-portal .chf-p-split .chf-p-label { font-size: 14px; font-weight: 600; color: #344054; }
body.chf-fs #chf-portal .chf-p-split .chf-p-input { height: 52px; font-size: 16px; background: #fcfcfd; }
body.chf-fs #chf-portal .chf-p-split .chf-p-btn { height: 52px; border-radius: 12px; box-shadow: 0 6px 14px -6px rgba(0, 138, 60, .55); font-weight: 700; }
body.chf-fs #chf-portal .chf-p-split .chf-p-note { padding: 12px 14px; border-radius: 12px; background: #f6fef9; color: #475467; }
body.chf-fs #chf-portal .chf-p-split .chf-p-new { margin-top: 22px; text-align: center; }
@media (max-width: 900px) {
    body.chf-fs #chf-portal .chf-p-split { grid-template-columns: 1fr; border-radius: 0; box-shadow: none; }
    body.chf-fs #chf-portal .chf-p-split > .chf-p-card { padding: 30px 22px 26px; }
    body.chf-fs #chf-portal .chf-p-split .chf-p-langs { top: 16px; right: 16px; }
}

/* HireDesk logo */
.hd-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.hd-logo .hd-mark { display: block; flex: 0 0 auto; border-radius: 9px; }
.hd-word { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: #101828; line-height: 1; }
.hd-word span { color: #008a3c; }

.chf-fs-brand .hd-word { font-size: 22px; }
body.chf-fs.chf-fs-portal .chf-fs-brand .hd-word { font-size: 24px; }
.chf-fs-powered { display: inline-flex; align-items: center; gap: 6px; color: #667085; }
.chf-fs-powered .hd-mark { border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Top bar: the HireDesk logo at the left, the person's buttons at the right; it stays at the top while scrolling */
body.chf-fs .chf-fs-top { position: sticky; top: 0; z-index: 60; justify-content: flex-start !important; width: 100%; max-width: none !important; margin: 0 !important; padding: 12px 28px !important; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid #eaecf0; }
body.chf-fs .chf-fs-top .chf-fs-brand .hd-word { font-size: 21px; }
body.chf-fs .chf-fs-top .chf-fs-me, body.chf-fs .chf-fs-top .chf-p-headr.in-top { right: 28px; }
body.admin-bar.chf-fs .chf-fs-top { top: 32px; }
@media (max-width: 782px) { body.admin-bar.chf-fs .chf-fs-top { top: 46px; } }
@media (max-width: 600px) { body.chf-fs .chf-fs-top { justify-content: space-between !important; padding: 10px 16px !important; } body.chf-fs .chf-fs-top .chf-fs-brand .hd-word { font-size: 19px; } }

/* the logo at the left of the menu bar (signed in) */
.chf-an-in > .chf-an-brand { display: inline-flex; align-items: center; flex: 0 0 auto; margin: 0 10px 0 6px; padding: 4px 6px; border-radius: 10px; text-decoration: none !important; }
.chf-an-in > .chf-an-brand:focus-visible { outline: 2px solid #008a3c; outline-offset: 2px; }
.chf-an-in > .chf-an-brand .hd-word { font-size: 19px; }
.chf-app .chf-an-in > .chf-an-brand { margin: 4px 6px 10px; }
body.chf-fs .chf-an { margin-top: 16px; }
@media (max-width: 600px) { .chf-an-in > .chf-an-brand .hd-word { font-size: 17px; } }

/* the company's logo with "Powered by HireDesk" */
.hd-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.hd-brand .hd-co-logo { display: block; width: auto; height: auto; max-width: 200px; }
.hd-brand .hd-co-icon { display: block; border-radius: 9px; }
.hd-brand .hd-co-name { color: #101828; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.hd-powered { display: inline-flex; align-items: center; gap: 5px; padding-left: 12px; border-left: 1px solid #e4e7ec; color: #667085; font-size: 12px; font-weight: 600; white-space: nowrap; }
.hd-powered .hd-mark { border-radius: 4px; }
.hd-powered b { color: #101828; font-weight: 800; }
.hd-powered b i { color: #008a3c; font-style: normal; }
@media (max-width: 600px) { .hd-brand .hd-co-logo { max-width: 140px; } .hd-powered { font-size: 11px; padding-left: 8px; } }

.chf-fs-powered .hd-credit { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.chf-fs-powered .hd-credit:hover { text-decoration: underline; }

/* the logo (home) and "Powered by" (its own link) side by side */
.chf-fs-brandrow, .chf-an-brandrow { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.chf-an-in > .chf-an-brandrow { margin: 0 10px 0 6px; }
.chf-an-brandrow .chf-an-brand { margin: 0; }
.hd-powered .hd-credit { display: inline-flex; align-items: center; gap: 5px; color: inherit !important; text-decoration: none !important; }
.hd-powered .hd-credit:hover b { text-decoration: underline; }

/* the long top bar: logo at the left, "Powered by" at the right (beside the sign-out buttons when shown) */
body.chf-fs .chf-fs-top > .chf-fs-brandrow { flex: 1 1 auto; min-width: 0; }
body.chf-fs .chf-fs-top > .chf-fs-brandrow > .hd-powered { margin-left: auto; }
body.chf-fs .chf-fs-top > .chf-fs-me, body.chf-fs .chf-fs-top > .chf-p-headr.in-top { position: static !important; transform: none !important; margin: 0 0 0 18px !important; flex: 0 0 auto; }
@media (max-width: 520px) { body.chf-fs .chf-fs-top > .chf-fs-brandrow > .hd-powered > * > span:first-child, body.chf-fs .chf-fs-top > .chf-fs-brandrow > .hd-powered > span:first-child { display: none; } }
.chf-fs-powered .chf-fs-site { color: #98a2b3; }
