/* Steps after the test: documents and interview booking (plugin pages only) */
.chf-wrap .chf-onb { padding: 26px 28px; }
.chf-wrap .chf-onb-note { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; border: 1px solid; font-size: 15px; }
.chf-wrap .chf-onb-note-error { background: #fef3f2; border-color: #fecdca; color: #912018; }
.chf-wrap .chf-onb-note-ok { background: #ecfdf3; border-color: #abefc6; color: #054f31; }
.chf-wrap .chf-onb-note-info { background: #eff8ff; border-color: #b2ddff; color: #194185; }
.chf-wrap .chf-doc-type { display: block; margin: 0 0 18px; }
.chf-wrap .chf-doc-type > span { display: block; margin: 0 0 6px; font-weight: 700; color: #101828; }
.chf-wrap .chf-doc-type select { width: 100%; max-width: 420px; min-height: 46px; padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; font-size: 16px; }
.chf-wrap .chf-doc-type em { display: block; margin: 6px 0 0; color: #667085; font-style: normal; font-size: 13.5px; }
.chf-wrap .chf-docs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.chf-wrap .chf-doc { padding: 16px; border: 1px solid #e4e7ec; border-radius: 14px; background: #fff; }
.chf-wrap .chf-doc[hidden] { display: none; }
.chf-wrap .chf-doc.is-done { border-color: #abefc6; background: #f6fef9; }
.chf-wrap .chf-doc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.chf-wrap .chf-doc-top strong { font-size: 15.5px; color: #101828; }
.chf-wrap .chf-req { color: #d92d20; }
.chf-wrap .chf-doc-ok { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; background: #dcfae6; color: #067647; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.chf-wrap .chf-doc-help { margin: 4px 0 12px; color: #667085; font-size: 13.5px; }
.chf-wrap .chf-doc-pick { position: relative; display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 10px 14px; border: 1.5px dashed #98a2b3; border-radius: 12px; background: #f9fafb; color: #344054; font-weight: 600; font-size: 14.5px; text-align: center; cursor: pointer; overflow: hidden; }
.chf-wrap .chf-doc-pick:hover, .chf-wrap .chf-doc-pick:focus-within { border-color: #008a3c; background: #f6fef9; }
.chf-wrap .chf-doc-pick.has-file { border-style: solid; border-color: #17b26a; color: #054f31; }
.chf-wrap .chf-doc-pick input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.chf-wrap .chf-doc-pick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chf-wrap .chf-doc-later { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: 14px; color: #344054; cursor: pointer; }
.chf-wrap .chf-doc-later input { width: 18px; height: 18px; margin-top: 2px; accent-color: #008a3c; }
.chf-wrap .chf-doc-rules { margin: 14px 0 18px; color: #667085; font-size: 13.5px; }
.chf-wrap .chf-onb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 0; border-radius: 10px; background: #008a3c; color: #fff !important; font-size: 16px; font-weight: 700; text-decoration: none !important; cursor: pointer; }
.chf-wrap .chf-onb-btn:hover { background: #006c2f; }
.chf-wrap .chf-onb-btn[disabled] { opacity: .6; cursor: wait; }
/* booking */
.chf-wrap .chf-book-days { display: flex; gap: 8px; margin: 0 0 18px; padding: 2px 2px 8px; overflow-x: auto; scrollbar-width: thin; }
.chf-wrap .chf-book-day { flex: 0 0 auto; cursor: pointer; }
.chf-wrap .chf-book-day input { position: absolute; opacity: 0; pointer-events: none; }
.chf-wrap .chf-book-day span { display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 9px 8px; border: 1px solid #e4e7ec; border-radius: 12px; background: #fff; }
.chf-wrap .chf-book-day em { color: #667085; font-style: normal; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.chf-wrap .chf-book-day strong { font-size: 20px; line-height: 1.2; color: #101828; }
.chf-wrap .chf-book-day input:checked + span { border-color: #008a3c; background: #ecfdf3; box-shadow: 0 0 0 3px rgba(0, 138, 60, .15); }
.chf-wrap .chf-book-day input:focus-visible + span { outline: 2px solid #008a3c; outline-offset: 2px; }
.chf-wrap .chf-book-times { margin: 0 0 20px; padding: 0; border: 0; }
.chf-wrap .chf-book-times[hidden] { display: none; }
.chf-wrap .chf-book-times legend { margin: 0 0 10px; font-weight: 700; color: #101828; }
.chf-wrap .chf-book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.chf-wrap .chf-book-time { cursor: pointer; }
.chf-wrap .chf-book-time input { position: absolute; opacity: 0; pointer-events: none; }
.chf-wrap .chf-book-time span { display: block; padding: 11px 8px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; text-align: center; font-weight: 600; color: #344054; font-variant-numeric: tabular-nums; }
.chf-wrap .chf-book-time input:checked + span { border-color: #008a3c; background: #008a3c; color: #fff; }
.chf-wrap .chf-book-time input:focus-visible + span { outline: 2px solid #008a3c; outline-offset: 2px; }
.chf-wrap .chf-onb-empty { margin: 0; color: #475467; }
/* booked */
.chf-wrap .chf-iv-card { padding: 22px; border: 1px solid #abefc6; border-radius: 14px; background: linear-gradient(135deg, #ecfdf3, #fff 70%); }
.chf-wrap .chf-iv-when { margin: 0; font-size: 21px; font-weight: 800; color: #054f31; }
.chf-wrap .chf-iv-meta { margin: 4px 0 16px; color: #475467; }
.chf-wrap .chf-iv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 18px 0 0; }
.chf-wrap .chf-iv-actions form { margin: 0; }
.chf-wrap .chf-linkbtn { padding: 0; border: 0; background: none; color: #b42318; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.chf-wrap .chf-btn-ghost { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; color: #344054 !important; font-weight: 600; text-decoration: none !important; }
.chf-wrap .chf-onb-small { margin: 14px 0 0; color: #475467; font-size: 14px; }
.chf-wrap .chf-onb-ppd { margin: 18px 0 10px; padding: 14px 16px; border-radius: 12px; background: #fffaeb; border: 1px solid #fedf89; color: #93370d; }
.chf-wrap .chf-onb-ppd p { margin: 0; }
.chf-wrap .chf-onb-next { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; padding: 18px 20px; border: 1px solid #b2ddff; border-radius: 14px; background: #eff8ff; }
.chf-wrap .chf-onb-next span { color: #175cd3; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.chf-wrap .chf-onb-next strong { flex: 1; font-size: 17px; color: #101828; }
@media (max-width: 640px) {
    .chf-wrap .chf-onb { padding: 20px 16px; }
    .chf-wrap .chf-docs-grid { grid-template-columns: 1fr; }
    .chf-wrap .chf-onb-btn { width: 100%; }
}
/* the day row scrolls inside the card instead of widening the page */
.chf-wrap .chf-onb, .chf-wrap .chf-book, .chf-wrap .chf-book-days { min-width: 0; max-width: 100%; }
.chf-wrap .chf-onb { overflow: hidden; }
.chf-wrap .chf-book-day, .chf-wrap .chf-book-time { position: relative; }
.chf-wrap .chf-book-day input, .chf-wrap .chf-book-time input { top: 0; left: 0; width: 1px; height: 1px; margin: 0; }

.chf-wrap a.chf-btn.chf-btn-ghost, .chf-wrap .chf-iv-actions .chf-btn-ghost { background: #fff !important; color: #344054 !important; border: 1px solid #d0d5dd !important; }
.chf-wrap a.chf-btn.chf-btn-ghost:hover { background: #f9fafb !important; }

/* Zoom or in person */
.chf-wrap .chf-book-mode { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.chf-wrap .chf-book-mode legend { margin: 0 0 10px; padding: 0; font-weight: 700; color: #101828; }
.chf-wrap .chf-book-modeopt { position: relative; display: block; margin: 0 0 8px; cursor: pointer; }
.chf-wrap .chf-book-modeopt input { position: absolute; top: 17px; left: 16px; width: 18px; height: 18px; margin: 0; accent-color: #008a3c; }
.chf-wrap .chf-book-modeopt span { display: block; padding: 14px 16px 14px 46px; border: 1px solid #d0d5dd; border-radius: 12px; background: #fff; }
.chf-wrap .chf-book-modeopt strong { display: block; color: #101828; }
.chf-wrap .chf-book-modeopt em { display: block; margin-top: 2px; color: #667085; font-style: normal; font-size: 13.5px; }
.chf-wrap .chf-book-modeopt input:checked + span { border-color: #008a3c; background: #f6fef9; box-shadow: 0 0 0 3px rgba(0, 138, 60, .12); }
.chf-wrap .chf-book-where { margin: 0 0 16px; color: #344054; }
.chf-wrap .chf-iv-addr { margin: 0 0 14px; color: #344054; }

/* Upload problems: one card per document */
.chf-wrap .chf-onb-problems { margin: 0 0 20px; padding: 16px 18px; border: 1px solid #fecdca; border-radius: 12px; background: #fffbfa; color: #7a271a; font-size: 15px; line-height: 1.55; }
.chf-wrap .chf-onb-problems-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 700; font-size: 16px; color: #912018; }
.chf-wrap .chf-onb-problems-title svg, .chf-wrap .chf-onb-problems-more svg { flex: 0 0 auto; color: #d92d20; }
.chf-wrap .chf-onb-problem-list { margin: 0; padding: 0; list-style: none; }
.chf-wrap .chf-onb-problem-list > li { margin: 0 0 10px; padding: 12px 14px; border: 1px solid #fee4e2; border-radius: 10px; background: #fff; }
.chf-wrap .chf-onb-problem-list > li:last-child { margin-bottom: 0; }
.chf-wrap .chf-onb-problem-list > li > strong { display: block; margin: 0 0 4px; color: #101828; font-size: 15px; }
.chf-wrap .chf-onb-problem-list ul { margin: 0; padding: 0 0 0 20px; list-style: disc; color: #475467; }
.chf-wrap .chf-onb-problem-list ul li { margin: 2px 0; }
.chf-wrap .chf-onb-problems-more { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; color: #912018; }

/* Upload progress screen */
html.chf-up-open, html.chf-up-open body { overflow: hidden; }
.chf-up { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(16, 24, 40, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); font-family: inherit; }
.chf-up-card { width: 100%; max-width: 420px; padding: 28px 26px 22px; border-radius: 18px; background: #fff; color: #101828; text-align: center; box-shadow: 0 24px 48px rgba(16, 24, 40, .25); }
.chf-up-ring { display: flex; justify-content: center; margin: 0 0 14px; }
.chf-up-ring .chf-up-spin { width: 44px; height: 44px; border-width: 4px; }
.chf-up-spin { display: inline-block; width: 14px; height: 14px; border: 2px solid #d1fadf; border-top-color: #079455; border-radius: 50%; animation: chf-up-rot .8s linear infinite; vertical-align: middle; }
@keyframes chf-up-rot { to { transform: rotate(360deg); } }
.chf-up-title { margin: 0 0 14px; font-size: 18px; font-weight: 700; line-height: 1.35; }
.chf-up-bar { position: relative; height: 8px; overflow: hidden; border-radius: 8px; background: #eaecf0; }
.chf-up-bar span { display: block; width: 0; height: 100%; border-radius: 8px; background: #079455; transition: width .2s; }
.chf-up-bar.is-wait span { width: 35%; animation: chf-up-slide 1.2s ease-in-out infinite; }
@keyframes chf-up-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
.chf-up-pct { min-height: 20px; margin: 6px 0 0; color: #475467; font-size: 13px; font-variant-numeric: tabular-nums; }
.chf-up-steps { margin: 14px 0 0; padding: 0; list-style: none; text-align: left; }
.chf-up-steps li { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: #667085; font-size: 14.5px; }
.chf-up-steps li .chf-up-mark { display: inline-flex; flex: 0 0 22px; width: 22px; height: 22px; align-items: center; justify-content: center; border: 1.5px solid #d0d5dd; border-radius: 50%; }
.chf-up-steps li.is-on { color: #101828; font-weight: 600; }
.chf-up-steps li.is-on .chf-up-mark { border-color: transparent; }
.chf-up-steps li.is-done { color: #067647; }
.chf-up-steps li.is-done .chf-up-mark { border-color: #079455; background: #079455; color: #fff; }
.chf-up-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #eaecf0; color: #475467; font-size: 13.5px; }
@media (prefers-reduced-motion: reduce) { .chf-up-spin, .chf-up-bar.is-wait span { animation-duration: 3s; } }

/* Photo ID: tabs */
.chf-wrap .chf-doc-type .chf-idt-native { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; overflow: hidden; clip: rect(0 0 0 0); border: 0 !important; opacity: 0; pointer-events: none; }
.chf-wrap .chf-doc-type { position: relative; }
.chf-wrap .chf-idtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; }
.chf-wrap .chf-idtab { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 9px 16px; border: 1.5px solid #d0d5dd; border-radius: 999px; background: #fff; color: #344054; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-transform: none; letter-spacing: normal; cursor: pointer; box-shadow: none; transition: border-color .15s, background .15s; }
.chf-wrap .chf-idtab:hover { border-color: #98a2b3; background: #f9fafb; color: #101828; }
.chf-wrap .chf-idtab.is-on { border-color: #079455; background: #ecfdf3; color: #054f31; }
.chf-wrap .chf-idtab:focus-visible { outline: 2px solid #079455; outline-offset: 2px; }
.chf-wrap .chf-idtabs.is-invalid .chf-idtab { border-color: #f04438; }
.chf-wrap .chf-idother { display: block; margin: 12px 0 0; max-width: 420px; }
.chf-wrap .chf-idother[hidden] { display: none; }
.chf-wrap .chf-idother > span { display: block; margin: 0 0 6px; font-weight: 600; font-size: 14px; color: #344054; }
.chf-wrap .chf-idother select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; font-size: 16px; }
.chf-wrap .chf-doc.is-waiting { background: #f9fafb; border-style: dashed; }
.chf-wrap .chf-doc.is-waiting .chf-doc-help { color: #b54708; font-weight: 600; }
.chf-wrap .chf-doc.is-waiting .chf-doc-pick { opacity: .55; pointer-events: none; }

/* Continue on the phone (computers only) */
.chf-wrap .chf-handoff { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 18px 0 0; padding: 16px 18px; border: 1px solid #b2ddff; border-radius: 14px; background: #f5faff; }
.chf-wrap .chf-handoff-ico { display: inline-flex; flex: 0 0 44px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: #fff; color: #175cd3; box-shadow: 0 1px 2px rgba(16, 24, 40, .08); }
.chf-wrap .chf-handoff-txt { flex: 1 1 260px; min-width: 0; }
.chf-wrap .chf-handoff-txt strong { display: block; color: #101828; font-size: 15.5px; }
.chf-wrap .chf-handoff-txt p { margin: 2px 0 0; color: #475467; font-size: 14px; }
.chf-wrap .chf-handoff-qr { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.chf-wrap .chf-handoff-qr[hidden] { display: none; }
.chf-wrap .chf-handoff-code { flex: 0 0 auto; padding: 10px; border: 1px solid #e4e7ec; border-radius: 12px; background: #fff; line-height: 0; }
.chf-wrap .chf-handoff-code svg { display: block; width: 200px; height: 200px; }
.chf-wrap .chf-handoff-note { flex: 1 1 240px; margin: 0; color: #344054; font-size: 14px; }
.chf-wrap .chf-handoff-wait { flex: 1 1 100%; margin: 0; color: #175cd3; font-size: 13.5px; font-weight: 600; }
@media (max-width: 760px), (pointer: coarse) { .chf-wrap .chf-handoff { display: none; } }
.chf-wrap .chf-handoff .chf-handoff-btn { flex: 0 0 auto; min-height: 44px; padding: 10px 18px !important; border: 1px solid #84caff !important; border-radius: 10px !important; background: #fff !important; color: #175cd3 !important; font-weight: 700; box-shadow: none !important; cursor: pointer; }
.chf-wrap .chf-handoff .chf-handoff-btn:hover { background: #eff8ff !important; }
.chf-wrap .chf-handoff .chf-handoff-btn:focus-visible { outline: 2px solid #175cd3; outline-offset: 2px; }

.chf-wrap .chf-iv-joinsoon { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px dashed #abefc6; color: #344054; font-size: 15px; }

/* documents wizard */
.chf-wz-hide { display: none !important; }
.chf-wz-bar { margin: 0 0 18px; }
.chf-wz-top { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: 13.5px; font-weight: 700; color: #067647; letter-spacing: .2px; }
.chf-wz-track { height: 6px; border-radius: 999px; background: #e4e7ec; overflow: hidden; }
.chf-wz-track span { display: block; height: 100%; width: 0; border-radius: 999px; background: #17b26a; transition: width .25s ease; }
.chf-wz-on .chf-docs-grid { grid-template-columns: minmax(0, 1fr) !important; }
.chf-wz-on .chf-docs-grid > .chf-doc { max-width: none; }
.chf-wz-nav { display: flex; gap: 10px; justify-content: space-between; margin: 18px 0 0; }
.chf-wz-nav .chf-wz-next { margin-left: auto; min-width: 160px; }
.chf-wz-nav [hidden], .chf-wz-nav .chf-btn[hidden] { display: none !important; }
.chf-wz-msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fef3f2; color: #b42318; font-weight: 600; }
.chf-wz-msg[hidden] { display: none; }
.chf-wz-sum { padding: 14px 16px; border: 1px solid #e4e7ec; border-radius: 14px; background: #f9fafb; }
.chf-wz-sum[hidden] { display: none; }
.chf-wz-sumt { margin: 0 0 10px; font-weight: 700; font-size: 16px; color: #101828; }
.chf-wz-sum ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chf-wz-sum li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #eaecf0; }
.chf-wz-sum li span { font-weight: 600; color: #101828; }
.chf-wz-edit { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 10px; border: 1px solid #d0d5dd; border-radius: 999px; background: #fff; color: #344054; font: inherit; font-size: 12.5px; cursor: pointer; }
.chf-wz-sum li.is-new .chf-wz-edit, .chf-wz-sum li.is-have .chf-wz-edit { border-color: #abefc6; background: #ecfdf3; color: #067647; }
.chf-wz-sum li.is-later .chf-wz-edit { border-color: #fedf89; background: #fffaeb; color: #b54708; }
@media (max-width: 600px) { .chf-wz-nav { flex-direction: column-reverse; } .chf-wz-nav .chf-btn { width: 100%; } }

.chf-doc-date { display: grid; gap: 4px; margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: #344054; }
.chf-doc-date input { height: 42px; padding: 0 10px; border: 1px solid #d0d5dd; border-radius: 10px; font: inherit; font-weight: 400; background: #fff; max-width: 260px; }

/* the wizard buttons: Back (plain) on the left, Next / Upload and continue (green) on the right, one row */
.chf-wrap .chf-wz-nav { align-items: center; }
.chf-wrap .chf-wz-nav .chf-wz-back { background: #fff !important; color: #344054 !important; border: 1px solid #d0d5dd !important; box-shadow: none !important; }
.chf-wrap .chf-wz-nav .chf-wz-back:hover { background: #f9fafb !important; }
.chf-wrap .chf-wz-nav .chf-onb-btn { margin-left: auto; }
@media (max-width: 600px) { .chf-wrap .chf-wz-nav .chf-onb-btn { width: 100%; margin-left: 0; } }
/* "Continue on your phone" at the top of the documents page */
.chf-onb > .chf-handoff { margin: 0 0 18px; }

/* a document saved as soon as it was chosen */
.chf-wrap .chf-doc-auto { margin: 8px 0 0; font-size: 13.5px; font-weight: 600; color: #475467; }
.chf-wrap .chf-doc-auto.is-ok { color: #067647; }
.chf-wrap .chf-doc-auto.is-err { color: #b42318; }
.chf-wrap .chf-doc-auto:empty { display: none; }

/* accepted files under each upload; a saved file whose date still has to be typed */
.chf-wrap .chf-doc-fmt { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: #667085; }
.chf-wrap .chf-doc-auto.is-warn { color: #b54708; }

/* the phone in "Continue on your phone" */
.chf-wrap .chf-cap-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin: 0 0 18px; padding: 14px 16px; border: 1px solid #b2ddff; border-radius: 14px; background: #f5faff; color: #175cd3; font-size: 14.5px; font-weight: 600; }
.chf-wrap .chf-cap-bar .chf-btn { margin: 0; }
@media (max-width: 600px) { .chf-wrap .chf-cap-bar .chf-btn { width: 100%; } }

/* "Continue on your phone": the card opens a dialog with the code, the steps and live status */
.chf-wrap .chf-handoff-qr { display: none !important; }
.chf-wrap .chf-handoff .chf-handoff-btn { background: #175cd3 !important; border-color: #175cd3 !important; color: #fff !important; }
.chf-wrap .chf-handoff .chf-handoff-btn:hover { background: #1849a9 !important; }
html.chf-ho-lock { overflow: hidden; }
.chf-ho { position: fixed; inset: 0; z-index: 99995; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(16, 24, 40, .55); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #101828; }
.chf-ho-card { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 26px 28px 22px; border-radius: 20px; background: #fff; box-shadow: 0 24px 60px rgba(16, 24, 40, .3); box-sizing: border-box; animation: chf-ho-in .2s ease-out; }
@keyframes chf-ho-in { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chf-ho-card { animation: none; } }
.chf-ho-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-ho-x:hover { background: #f2f4f7; }
.chf-ho-head { display: flex; align-items: center; gap: 12px; margin: 0 48px 18px 0; }
.chf-ho-head h2 { margin: 0; font-size: 20px; line-height: 1.3; color: #101828; }
.chf-ho-ico { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #eff8ff; color: #175cd3; }
.chf-ho-body { display: flex; gap: 24px; align-items: center; }
.chf-ho-qrwrap { flex: 0 0 auto; text-align: center; }
.chf-ho-qr { position: relative; display: flex; align-items: center; justify-content: center; width: 216px; height: 216px; padding: 8px; border: 1px solid #e4e7ec; border-radius: 16px; background: #fff; box-sizing: border-box; }
.chf-ho-qr svg { display: block; width: 100%; height: 100%; transition: filter .2s, opacity .2s; }
.chf-ho-qr.is-gone svg, .chf-ho-qr.is-used svg { filter: blur(4px); opacity: .35; }
.chf-ho-qr.is-used::after { content: ""; position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: #17b26a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='2.5'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E") center / 30px no-repeat; }
.chf-ho-left { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #475467; font-variant-numeric: tabular-nums; min-height: 20px; }
.chf-ho-steps { flex: 1 1 auto; margin: 0; padding: 0; list-style: none; counter-reset: ho; }
.chf-ho-steps li { position: relative; margin: 0 0 14px; padding: 2px 0 0 40px; counter-increment: ho; font-size: 15px; color: #344054; }
.chf-ho-steps li::before { content: counter(ho); position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #eff8ff; color: #175cd3; font-size: 13px; font-weight: 700; }
.chf-ho-status { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: #f9fafb; font-size: 14.5px; font-weight: 600; color: #344054; }
.chf-ho-status.is-on, .chf-ho-status.is-done { background: #ecfdf3; color: #067647; }
.chf-ho-status.is-gone { background: #fffaeb; color: #b54708; }
.chf-ho-dot { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: currentColor; }
.chf-ho-dot svg, .chf-ho-status.is-gone .chf-ho-dot { color: #fff; }
.chf-ho-status.is-gone .chf-ho-dot { font-weight: 800; font-size: 14px; }
.chf-ho-status.is-gone .chf-ho-dot, .chf-ho-status.is-gone .chf-ho-dot * { color: #fff; }
.chf-ho-status.is-gone .chf-ho-dot { background: #dc6803; }
.chf-ho-spin { flex: 0 0 auto; width: 18px; height: 18px; border: 2.5px solid #d0d5dd; border-top-color: #175cd3; border-radius: 50%; animation: chf-ho-spin .8s linear infinite; }
.chf-ho-spin.is-big { width: 34px; height: 34px; border-width: 3px; }
@keyframes chf-ho-spin { to { transform: rotate(360deg); } }
.chf-ho-safe { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; color: #667085; }
.chf-ho-safe svg { flex: 0 0 auto; margin-top: 2px; }
.chf-ho-foot { display: flex; justify-content: flex-end; gap: 10px; margin: 18px 0 0; }
.chf-ho-foot .chf-btn { margin: 0; min-height: 44px; }
.chf-ho-foot .chf-ho-again { background: #175cd3; border-color: #175cd3; color: #fff; }
@media (max-width: 560px) { .chf-ho-body { flex-direction: column; } .chf-ho-card { padding: 22px 18px 18px; } }

/* the phone shows only the documents: no step bar */
body.chf-cap .chf-wrap .chf-head-step, body.chf-cap .chf-wrap .chf-stepper { display: none !important; }
/* dialog buttons (the dialog sits outside the page styles) */
.chf-ho .chf-ho-foot .chf-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; color: #344054; font: 600 15px/1.2 inherit; font-family: inherit; cursor: pointer; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.chf-ho .chf-ho-foot .chf-btn:hover { background: #f9fafb; }
.chf-ho .chf-ho-foot .chf-ho-again { border-color: #175cd3; background: #175cd3; color: #fff; }
.chf-ho .chf-ho-foot .chf-ho-again:hover { background: #1849a9; }
.chf-ho .chf-ho-foot .chf-btn:focus-visible, .chf-ho .chf-ho-x:focus-visible { outline: 2px solid #175cd3; outline-offset: 2px; }
.chf-ho .chf-ho-foot .chf-btn[hidden] { display: none; }

.chf-ho-keep { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: #fffaeb; color: #93370d; font-size: 13.5px; font-weight: 600; }

/* the phone icon on a used code (an element, not a background image) */
.chf-ho-qr.is-used::after { content: none !important; display: none !important; }
.chf-ho-badge { position: absolute; inset: 0; margin: auto; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #17b26a; color: #fff; box-shadow: 0 6px 16px rgba(23, 178, 106, .35); }
.chf-ho-badge svg { width: 30px; height: 30px; }
/* live list of what the phone has sent */
.chf-ho-live { flex: 1 1 auto; min-width: 0; }
.chf-ho-live-t { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #667085; }
.chf-ho-live ul { margin: 0; padding: 0; list-style: none; max-height: 250px; overflow-y: auto; }
.chf-ho-live li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #eaecf0; font-size: 14px; }
.chf-ho-live li:first-child { border-top: 0; }
.chf-ho-li-ico { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d0d5dd; box-sizing: border-box; }
.chf-ho-live li.is-got .chf-ho-li-ico { border-color: #17b26a; background: #17b26a; color: #fff; }
.chf-ho-live li.is-now .chf-ho-li-ico { border: 0; }
.chf-ho-li-name { flex: 1 1 auto; min-width: 0; font-weight: 600; color: #101828; }
.chf-ho-live em { flex: 0 0 auto; font-style: normal; font-size: 12.5px; font-weight: 600; color: #667085; }
.chf-ho-live li.is-got em { color: #067647; }
.chf-ho-live li.is-now em { color: #175cd3; }
.chf-ho-spin.is-sm { width: 18px; height: 18px; border-width: 2.5px; }
.chf-ho-qr.is-used .chf-ho-badge svg, .chf-ho-qr.is-gone .chf-ho-badge svg { filter: none !important; opacity: 1 !important; width: 30px !important; height: 30px !important; }

/* "Sign on your phone" under the sign button */
.chf-wrap .chf-sign + .chf-handoff { margin: 22px 0 0; text-align: left; }

/* Documents page after the first round */
.chf-wrap .chf-more-chip { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #f2f4f7; color: #475467; white-space: nowrap; }
.chf-wrap .chf-more-chip.is-ok { background: #ecfdf3; color: #067647; }
.chf-wrap .chf-more-chip.is-review { background: #eff8ff; color: #175cd3; }
.chf-wrap .chf-more-chip.is-fix, .chf-wrap .chf-more-chip.is-requested, .chf-wrap .chf-more-chip.is-needed { background: #fffaeb; color: #b54708; }
.chf-wrap .chf-more-doc .chf-doc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chf-wrap .chf-more-note { margin: 6px 0 8px; color: #b54708; font-size: 14px; }
.chf-wrap .chf-more-doc.is-target { box-shadow: 0 0 0 3px #abefc6; }
.chf-wrap .chf-more-doc.is-done { border-color: #abefc6; background: #f6fef9; }
.chf-wrap .chf-more-skip { margin: 8px 0 0; padding: 7px 12px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; color: #344054; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.chf-wrap .chf-more-msg { margin: 8px 0 0; font-size: 14px; color: #475467; }
.chf-wrap .chf-more-msg:empty { display: none; }
.chf-wrap .chf-more-msg.is-ok { color: #067647; font-weight: 600; }
.chf-wrap .chf-more-msg.is-err { color: #b42318; font-weight: 600; }
.chf-wrap .chf-more-all { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #ecfdf3; color: #067647; font-weight: 600; }
.chf-wrap .chf-more-have { margin: 16px 0 0; padding: 10px 14px; border: 1px solid #eaecf0; border-radius: 12px; }
.chf-wrap .chf-more-have summary { cursor: pointer; font-weight: 700; color: #344054; }
.chf-wrap .chf-more-have ul { margin: 8px 0 0; padding: 0; list-style: none; }
.chf-wrap .chf-more-have li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid #f2f4f7; }
.chf-wrap .chf-more-back { margin: 18px 0 0; }
.chf-wrap .chf-more-back .chf-btn { display: inline-flex; width: auto; text-decoration: none; }
/* the drop box: a big target, the file name once chosen */
.chf-wrap .chf-doc-pick.chf-drop { flex-direction: column; gap: 4px; min-height: 120px; padding: 18px 14px; }
.chf-wrap .chf-drop-ico { color: #008a3c; }
.chf-wrap .chf-drop-f { font-style: normal; font-weight: 400; font-size: 12.5px; color: #667085; }
.chf-wrap .chf-doc-pick.is-busy { opacity: .6; pointer-events: none; }
.chf-wrap .is-drag, .chf-wrap .chf-doc-pick.is-drag { border-color: #008a3c !important; border-style: solid !important; background: #ecfdf3 !important; box-shadow: 0 0 0 4px #d1fadf; }
/* Documents page: the file box, then the date, evenly spaced */
.chf-wrap .chf-more-doc { display: flex; flex-direction: column; gap: 12px; }
.chf-wrap .chf-more-doc .chf-doc-top, .chf-wrap .chf-more-doc .chf-more-note { margin: 0; }
.chf-wrap .chf-more-doc .chf-doc-date { margin: 0; }
.chf-wrap .chf-more-doc .chf-doc-date input { width: 100%; max-width: 260px; box-sizing: border-box; }
.chf-wrap .chf-more-doc .chf-more-skip { align-self: flex-start; margin: 0; }
.chf-wrap .chf-more-doc .chf-more-msg { margin: 0; }

.chf-wrap .chf-more-chip.is-expiring { background: #fffaeb; color: #b54708; }
.chf-wrap .chf-more-chip.is-expired { background: #fef3f2; color: #b42318; }

/* documents: Required / Optional */
.chf-reqtag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .2px; vertical-align: 2px; white-space: nowrap; }
.chf-reqtag.is-req { background: #fef3f2; color: #b42318; box-shadow: inset 0 0 0 1px #fecdca; }
.chf-reqtag.is-opt { background: #f2f4f7; color: #475467; box-shadow: inset 0 0 0 1px #e4e7ec; }
.chf-reqlegend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 14px; font-size: 13px; color: #475467; }
.chf-reqlegend .chf-reqtag { margin-left: 0; }
.chf-reqlegend span:not(.chf-reqtag) { margin-right: 10px; }
div.chf-doc.is-req:not(.is-done) { }
div.chf-doc.is-opt:not(.is-done) { background: #fcfcfd; }
.chf-reqhead { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; font-size: 14px; font-weight: 700; color: #101828; text-transform: none; }
.chf-reqhead::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f04438; }
.chf-reqhead.is-opt::before { background: #98a2b3; }
.chf-reqhead:first-of-type { margin-top: 4px; }

/* 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; } }
.chf-reqtag.is-later { background: #fffaeb; color: #b54708; box-shadow: inset 0 0 0 1px #fedf89; }
div.chf-doc.is-req:not(.is-done):has(.chf-reqtag.is-later) { }
/* sent later: no file and no date needed now */
div.chf-doc:has(.chf-doc-later input:checked) .chf-doc-date, div.chf-doc:has(.chf-doc-later input:checked) .chf-fprev { display: none; }
div.chf-doc:has(.chf-doc-later input:checked) .chf-doc-pick { opacity: .55; }

/* sign buttons: DocuSign is opening */
a.chf-sign-btn.is-busy { pointer-events: none; opacity: 1 !important; background: #067647 !important; cursor: progress; }
.chf-spin { display: inline-block; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: chf-spin .8s linear infinite; }
@keyframes chf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .chf-spin { animation-duration: 2.4s; } }
.chf-sign-wait { max-width: 460px; margin: 12px auto 0; color: #344054; font-size: 14px; line-height: 1.5; text-align: center; }
.chf-sign-retry { margin-left: 4px; color: #067647 !important; font-weight: 700; text-decoration: underline !important; }

/* later documents: a received one leaves; optional ones folded */
.chf-wrap .chf-more-doc { transition: opacity .3s, transform .3s; }
.chf-wrap .chf-more-doc.is-leaving { opacity: 0; transform: scale(.98); }
.chf-wrap .chf-more-opt { margin: 16px 0 0; border: 1px solid #e4e7ec; border-radius: 12px; background: #fff; }
.chf-wrap .chf-more-opt > summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; color: #344054; font-weight: 700; cursor: pointer; }
.chf-wrap .chf-more-opt > summary span { padding: 0 8px; border-radius: 999px; background: #f2f4f7; color: #475467; font-size: 12px; }
.chf-wrap .chf-more-opt > .chf-docs-grid { padding: 0 14px 14px; }
/* the Training page: everything centred, Back as a quiet link under the message */
.chf-wrap .chf-train-back { margin: 18px 0 0; text-align: center; }
.chf-wrap .chf-train-back a { display: inline-flex; align-items: center; gap: 6px; color: #475467 !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.chf-wrap .chf-train-back a::before { content: ""; width: 7px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.chf-wrap .chf-train-back a:hover { color: #067647 !important; }

/* built-in paid orientation */
.chf-wrap .chf-tv-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 16px; }
.chf-wrap .chf-tv-top span { color: #667085; font-size: 13px; }
.chf-wrap .chf-tv-bar { flex: 1 1 100%; height: 8px; border-radius: 999px; background: #f2f4f7; overflow: hidden; }
.chf-wrap .chf-tv-bar span { display: block; height: 100%; border-radius: 999px; background: #17b26a; }
.chf-wrap .chf-tv-cols { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
@media (max-width: 860px) { .chf-wrap .chf-tv-cols { grid-template-columns: 1fr; } }
.chf-wrap .chf-tv-play h3 { margin: 0 0 10px; font-size: 18px; }
.chf-wrap .chf-tv-media { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; background: #101828; overflow: hidden; }
.chf-wrap .chf-tv-media video, .chf-wrap .chf-tv-media iframe, .chf-wrap .chf-tv-frame, .chf-wrap .chf-tv-frame > * { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chf-wrap .chf-tv-msg { min-height: 1.4em; margin: 10px 0; color: #067647; font-weight: 600; }
.chf-wrap .chf-tv-list { margin: 0; padding: 0; list-style: none; border: 1px solid #e4e7ec; border-radius: 12px; overflow: hidden; }
.chf-wrap .chf-tv-list li + li { border-top: 1px solid #f2f4f7; }
.chf-wrap .chf-tv-list a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; color: #101828 !important; text-decoration: none !important; }
.chf-wrap .chf-tv-list li.is-on a { background: #f6fef9; }
.chf-wrap .chf-tv-dot { flex: 0 0 auto; width: 18px; height: 18px; border: 2px solid #d0d5dd; border-radius: 50%; }
.chf-wrap .chf-tv-list li.is-done .chf-tv-dot { border-color: #17b26a; background: #17b26a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.chf-wrap .chf-tv-n { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; }
.chf-wrap .chf-tv-n em { color: #667085; font-size: 12px; font-style: normal; font-weight: 500; }
.chf-wrap .chf-tv-next[hidden] { display: none !important; }

/* paid orientation list: numbered, length, progress, locked */
.chf-wrap .chf-tv-pl { margin: 0 0 2px; color: #067647; font-size: 12px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.chf-wrap .chf-tv-opt { padding: 1px 8px; border-radius: 999px; background: #f2f4f7; color: #475467; font-size: 11.5px; font-weight: 600; vertical-align: 2px; }
.chf-wrap .chf-tv-item { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; color: #101828 !important; text-decoration: none !important; }
.chf-wrap .chf-tv-list li.is-on .chf-tv-item { background: #f6fef9; }
.chf-wrap .chf-tv-list li.is-locked .chf-tv-item { color: #98a2b3 !important; cursor: not-allowed; }
.chf-wrap .chf-tv-num { display: inline-flex; flex: 0 0 auto; width: 26px; height: 26px; align-items: center; justify-content: center; border: 1.5px solid #d0d5dd; border-radius: 50%; color: #475467; font-size: 12px; font-weight: 700; }
.chf-wrap .chf-tv-list li.is-on .chf-tv-num { border-color: #17b26a; color: #067647; }
.chf-wrap .chf-tv-list li.is-done .chf-tv-num { border-color: #17b26a; background: #17b26a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.chf-wrap .chf-tv-list li.is-locked .chf-tv-num { background: #f2f4f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / 13px no-repeat; color: transparent; }
.chf-wrap .chf-tv-n { flex: 1 1 auto; min-width: 0; }
.chf-wrap .chf-tv-pbar { display: block; height: 4px; margin-top: 6px; border-radius: 999px; background: #f2f4f7; overflow: hidden; }
.chf-wrap .chf-tv-pbar span { display: block; height: 100%; background: #17b26a; }
.chf-wrap .chf-tv-list .chf-tv-dot { display: none; }
@media (min-width: 861px) { .chf-wrap .chf-tv-cols { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 860px) { .chf-wrap .chf-tv-cols { grid-template-columns: 1fr; } }

/* paid orientation, redesigned */
.chf-wrap .tvx { padding: 0; overflow: hidden; }
.chf-wrap .tvx-head { padding: 20px 24px 18px; border-bottom: 1px solid #eaecf0; background: linear-gradient(180deg, #f6fef9, #fff); }
.chf-wrap .tvx-stats { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 0 0 14px; }
.chf-wrap .tvx-stat { display: flex; flex-direction: column; gap: 2px; }
.chf-wrap .tvx-stat b { color: #101828; font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.2px; }
.chf-wrap .tvx-stat span { color: #667085; font-size: 12.5px; font-weight: 500; }
.chf-wrap .tvx-bar { height: 8px; border-radius: 999px; background: #e4e7ec; overflow: hidden; }
.chf-wrap .tvx-bar span { display: block; height: 100%; border-radius: 999px; background: #17b26a; transition: width .4s; }
.chf-wrap .tvx-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: stretch; }
.chf-wrap .tvx-main { min-width: 0; padding: 22px 24px 24px; }
.chf-wrap .tvx-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: #067647; font-size: 12.5px; font-weight: 700; letter-spacing: .2px; text-transform: uppercase; }
.chf-wrap .tvx-opt { padding: 1px 8px; border-radius: 999px; background: #f2f4f7; color: #475467; font-size: 11px; text-transform: none; letter-spacing: 0; }
.chf-wrap .tvx-title { margin: 0 0 14px; color: #101828; font-size: 21px; line-height: 1.3; }
.chf-wrap .tvx .chf-tv-media { border-radius: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.25); }
.chf-wrap .tvx-under { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; min-height: 44px; margin: 14px 0 0; }
.chf-wrap .tvx-msg { margin: 0; color: #067647; font-weight: 600; }
.chf-wrap .tvx-next { margin: 0 0 0 auto; }
.chf-wrap .tvx-next[hidden] { display: none !important; }
.chf-wrap .tvx-rule { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: #f9fafb; color: #475467; font-size: 13px; line-height: 1.5; }
.chf-wrap .tvx-side { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid #eaecf0; background: #fcfcfd; }
.chf-wrap .tvx-side-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; }
.chf-wrap .tvx-side-h strong { color: #101828; font-size: 14px; }
.chf-wrap .tvx-side-h span { padding: 1px 9px; border-radius: 999px; background: #f2f4f7; color: #475467; font-size: 12px; font-weight: 600; }
.chf-wrap .tvx-list { flex: 1 1 auto; max-height: 620px; margin: 0; padding: 0 8px 12px; list-style: none; overflow-y: auto; border: 0; border-radius: 0; }
.chf-wrap .tvx-list li + li { border: 0; }
.chf-wrap .tvx-item { display: flex; align-items: flex-start; gap: 12px; margin: 2px 0; padding: 10px; border-radius: 10px; color: #101828 !important; text-decoration: none !important; }
.chf-wrap a.tvx-item:hover { background: #f2f4f7; }
.chf-wrap .tvx-list li.is-on .tvx-item { background: #ecfdf3; }
.chf-wrap .tvx-ic { display: inline-flex; flex: 0 0 auto; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; border: 1.5px solid #d0d5dd; color: #475467; font-size: 12px; font-weight: 700; }
.chf-wrap .tvx-list li.is-on .tvx-ic { border-color: #17b26a; background: #17b26a; color: #fff; }
.chf-wrap .tvx-list li.is-done .tvx-ic { border-color: #dcfae6; background: #dcfae6; color: #067647; }
.chf-wrap .tvx-list li.is-locked .tvx-ic { border-color: #f2f4f7; background: #f2f4f7; color: #98a2b3; }
.chf-wrap .tvx-t { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.chf-wrap .tvx-name { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chf-wrap .tvx-t em { color: #667085; font-size: 12px; font-style: normal; }
.chf-wrap .tvx-list li.is-on .tvx-t em { color: #067647; font-weight: 600; }
.chf-wrap .tvx-list li.is-locked .tvx-name { color: #98a2b3; }
.chf-wrap .tvx-list li.is-locked .tvx-item { cursor: not-allowed; }
.chf-wrap .tvx-d { flex: 0 0 auto; padding-top: 2px; color: #667085; font-size: 12px; font-variant-numeric: tabular-nums; }
.chf-wrap .tvx-pb { display: block; height: 3px; margin-top: 5px; border-radius: 999px; background: #e4e7ec; overflow: hidden; }
.chf-wrap .tvx-pb span { display: block; height: 100%; background: #17b26a; }
@media (max-width: 900px) {
  .chf-wrap .tvx-cols { grid-template-columns: 1fr; }
  .chf-wrap .tvx-side { border-left: 0; border-top: 1px solid #eaecf0; }
  .chf-wrap .tvx-list { max-height: none; }
  .chf-wrap .tvx-head, .chf-wrap .tvx-main { padding-left: 16px; padding-right: 16px; }
  .chf-wrap .tvx-stat b { font-size: 19px; }
  .chf-wrap .tvx-title { font-size: 18px; }
}
.chf-wrap .chf-form-card.tvx { padding: 0 !important; }
.chf-wrap .tvx-under { min-height: 0; margin: 0; }
.chf-wrap .tvx-msg:not(:empty), .chf-wrap .tvx-next:not([hidden]) { margin-top: 14px; }
.chf-wrap .tvx-msg:empty { display: none; }
@media (max-width: 900px) { .chf-wrap .tvx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .chf-wrap .tvx-stat b { font-size: 17px; } .chf-wrap .tvx-stat span { font-size: 11.5px; } }

.chf-wrap .tvx .chf-tv-media { position: relative; }
.chf-wrap .tvx-sound { position: absolute; z-index: 3; left: 50%; top: 16px; transform: translateX(-50%); padding: 9px 16px; border: 0; border-radius: 999px; background: #fff; color: #101828; font: inherit; font-size: 14px; font-weight: 700; box-shadow: 0 6px 20px rgba(16,24,40,.35); cursor: pointer; }
.chf-wrap .tvx-sound::before { content: ''; display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101828' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7'/%3E%3Cpath d='M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E") center / contain no-repeat; }
.chf-wrap .tvx-count { margin-left: 4px; color: #344054; font-weight: 600; }
.chf-wrap .tvx-stop { margin-left: 10px; padding: 0; border: 0; background: none; color: #475467; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }

.chf-wrap .tvx-retry { margin-top: 10px; }

.chf-wrap .tvx-askip { margin: 12px 0 0; padding: 7px 14px; border: 1px dashed #f79009; border-radius: 8px; background: #fffaeb; color: #b54708; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.chf-wrap .tvx-askip:hover { background: #fef0c7; }
.chf-wrap .tvx-askip:disabled { opacity: .6; cursor: default; }

/* cover while a document is read or uploaded: nothing else can be done until it is finished */
html.chf-locked, html.chf-locked body { overflow: hidden; }
.chf-lock { position: fixed; inset: 0; z-index: 2147483000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(16, 24, 40, .45); backdrop-filter: blur(2px); }
.chf-lock.is-on { display: flex; }
.chf-lock-box { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 360px; padding: 26px 30px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -12px rgba(16, 24, 40, .3); text-align: center; color: #101828; }
.chf-lock-box strong { font-size: 16px; }
.chf-lock-sub { color: #667085; font-size: 14px; }
.chf-lock-spin { width: 36px; height: 36px; border: 3px solid #d1fadf; border-top-color: #008a3c; border-radius: 50%; animation: chf-lock-spin .8s linear infinite; }
@keyframes chf-lock-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .chf-lock-spin { animation-duration: 2.4s; } }

.chf-wrap .chf-doc-idtype select { width: 100%; max-width: 340px; height: 44px; padding: 0 12px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; font: inherit; }
.chf-wrap .chf-doc-idtype .chf-doc-hint { display: block; margin-top: 4px; color: #667085; font-size: 13px; font-style: normal; }

.chf-wrap input.is-read, #chf-portal input.is-read { background: #f9fafb; color: #101828; cursor: default; }
.chf-wrap .chf-doc-date .chf-doc-hint { display: block; margin-top: 4px; color: #667085; font-size: 13px; font-style: normal; }
