/* WerQin-assistent: zwevende hulp (computer: paneel rechtsonder, telefoon: schermvullend). */
.wqa-root { --wqa-primary: var(--werqin-primary, #0b5cc4); --wqa-ink: #1c2b36; --wqa-muted: #4f6475; --wqa-line: #dfe7ef; --wqa-soft: #f3f6fa; font-family: inherit; color: var(--wqa-ink); }
.wqa-root *, .wqa-root *::before, .wqa-root *::after { box-sizing: border-box; }
.wqa-root button, .wqa-root input, .wqa-root select, .wqa-root textarea { font-family: inherit; }
.wqa-launcher-wrap { position: fixed; right: 24px; bottom: 24px; z-index: 1040; display: flex; align-items: center; gap: 12px; }
.wqa-launcher { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--wqa-primary); color: #fff; box-shadow: 0 10px 24px rgba(11, 92, 196, .35); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.wqa-launcher:hover, .wqa-launcher:focus-visible { transform: translateY(-1px); outline: none; box-shadow: 0 12px 28px rgba(11, 92, 196, .45); }
.wqa-teaser { background: #fff; border: 1px solid var(--wqa-line); border-radius: 14px; box-shadow: 0 8px 24px rgba(16, 35, 58, .14); padding: 11px 12px 11px 14px; display: flex; gap: 8px; align-items: flex-start; max-width: 270px; font-size: 14px; line-height: 20px; }
.wqa-teaser button { border: 0; background: transparent; color: var(--wqa-muted); font-size: 20px; line-height: 18px; cursor: pointer; padding: 0 2px; }
.wqa-teaser .wqa-teaser-open { all: unset; cursor: pointer; }
.wqa-panel { position: fixed; right: 24px; bottom: 24px; z-index: 1050; width: 400px; height: min(640px, calc(100vh - 48px)); background: var(--wqa-soft); border-radius: 18px; box-shadow: 0 18px 48px rgba(16, 35, 58, .28); display: flex; flex-direction: column; overflow: hidden; }
.wqa-panel[hidden], .wqa-launcher-wrap[hidden], .wqa-teaser[hidden] { display: none !important; }
.wqa-head { background: var(--wqa-primary); color: #fff; padding: 13px 14px 13px 16px; display: flex; align-items: center; gap: 10px; }
.wqa-head-title { flex: 1 1 auto; min-width: 0; }
.wqa-head-title strong { display: block; font-size: 16px; }
.wqa-head-title span { display: block; font-size: 12px; opacity: .85; }
.wqa-icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.wqa-icon-btn:hover, .wqa-icon-btn:focus-visible { background: rgba(255, 255, 255, .28); outline: none; }
.wqa-tabs { display: flex; gap: 4px; padding: 10px 12px 0; }
.wqa-tab { flex: 1 1 0; border: 0; border-radius: 10px; padding: 9px 8px; font-size: 13px; font-weight: 700; cursor: pointer; min-height: 40px; background: transparent; color: var(--wqa-muted); }
.wqa-tab[aria-pressed="true"] { background: #fff; color: var(--wqa-primary); box-shadow: 0 1px 3px rgba(16, 35, 58, .12); }
.wqa-body { flex: 1 1 auto; overflow-y: auto; padding: 12px 12px 18px; display: flex; flex-direction: column; gap: 10px; }
.wqa-msg { max-width: 88%; padding: 10px 12px; font-size: 14px; line-height: 20px; white-space: pre-line; }
.wqa-msg-bot { align-self: flex-start; background: #fff; border: 1px solid var(--wqa-line); border-radius: 4px 14px 14px 14px; }
.wqa-msg-user { align-self: flex-end; background: var(--wqa-primary); color: #fff; border-radius: 14px 4px 14px 14px; }
.wqa-choices { display: flex; flex-direction: column; gap: 8px; }
.wqa-choice { text-align: left; border: 1px solid #b9d0ec; background: #fff; color: var(--wqa-primary); border-radius: 12px; padding: 11px 13px; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 44px; }
.wqa-choice small { display: block; margin-top: 2px; color: var(--wqa-muted); font-weight: 400; font-size: 12px; }
.wqa-choice:hover, .wqa-choice:focus-visible { border-color: var(--wqa-primary); outline: none; background: #f7fbff; }
.wqa-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.wqa-chip { border: 1px solid #c9d6e2; background: #fff; color: #34495a; border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 40px; }
.wqa-chip[aria-pressed="true"] { border-color: var(--wqa-primary); background: #e8f1fc; color: #08408a; }
.wqa-card { background: #fff; border: 1px solid var(--wqa-line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.wqa-card label, .wqa-label { float: none; display: block; margin: 0; font-size: 13px; font-weight: 600; color: #34495a; }
.wqa-input, .wqa-select, .wqa-textarea { width: 100%; height: 42px; border: 1px solid #c9d6e2; border-radius: 9px; padding: 0 11px; font-size: 15px; background: #fff; color: var(--wqa-ink); }
.wqa-textarea { height: auto; padding: 10px 11px; line-height: 20px; resize: vertical; font-size: 14px; }
.wqa-row { display: flex; gap: 8px; }
.wqa-row > * { flex: 1 1 0; min-width: 0; }
.wqa-primary { align-self: flex-end; border: 0; background: var(--wqa-primary); color: #fff; border-radius: 999px; padding: 11px 18px; font-size: 14px; font-weight: 700; cursor: pointer; min-height: 44px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.wqa-primary:hover, .wqa-primary:focus-visible { color: #fff; text-decoration: none; filter: brightness(.95); outline: none; }
.wqa-primary[disabled] { opacity: .5; cursor: not-allowed; }
.wqa-secondary { border: 1px solid #c9d6e2; background: #fff; color: var(--wqa-ink); border-radius: 999px; padding: 10px 16px; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 42px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.wqa-secondary:hover { text-decoration: none; color: var(--wqa-ink); border-color: #8fa5b8; }
.wqa-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.wqa-req { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; border-bottom: 1px solid #edf2f6; }
.wqa-req:last-child { border-bottom: 0; }
.wqa-req-name { font-size: 14px; font-weight: 600; }
.wqa-seg { display: flex; gap: 3px; background: #eef2f6; border-radius: 9px; padding: 3px; }
.wqa-seg button { flex: 1 1 0; border: 0; border-radius: 7px; padding: 7px 6px; font-size: 12px; font-weight: 700; cursor: pointer; background: transparent; color: #34495a; min-height: 34px; }
.wqa-seg button[aria-pressed="true"] { background: #1f4f7a; color: #fff; }
.wqa-seg button.is-preferred[aria-pressed="true"] { background: #dbe8f5; color: #1f4f7a; }
.wqa-req-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wqa-req-remove { flex: 0 0 auto; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #6b7f8c; font-size: 20px; line-height: 1; cursor: pointer; }
.wqa-req-remove:hover, .wqa-req-remove:focus { background: #f3f6fa; color: #a3261b; }
.wqa-req-more { margin-top: 10px; }
.wqa-req-add { margin-top: 12px; }
.wqa-req-add label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 4px; }
.wqa-req-add-row { display: flex; gap: 6px; }
.wqa-req-add-row .wqa-input { flex: 1 1 auto; min-width: 0; margin: 0; }
.wqa-info { margin-top: 10px; font-size: 13px; color: #24506e; background: #eef5fd; border-radius: 8px; padding: 8px 10px; }
.wqa-seg button[aria-pressed="true"].is-none { background: #8796a3; }
.wqa-result { background: #fff; border: 1px solid var(--wqa-line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.wqa-result-top { display: flex; gap: 10px; align-items: flex-start; }
.wqa-result-title { font-size: 15px; font-weight: 700; color: #173f55; }
.wqa-result-meta { font-size: 12px; color: var(--wqa-muted); }
.wqa-fit { flex: 0 0 auto; max-width: 118px; text-align: center; border-radius: 11px; padding: 6px 9px; font-size: 13.5px; font-weight: 800; line-height: 1.2; }
.wqa-fit small { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; opacity: .85; }
.wqa-fit.is-good { background: #e6f5ec; color: #1d6b3c; }
.wqa-fit.is-good.is-soft { background: #eef7f1; }
.wqa-fit.is-mid { background: #eef3f8; color: #24506e; }
.wqa-tag.is-unknown { background: #f3f5f7; color: #4f6475; }
.wqa-tag.is-unknown.is-req { background: #fff4e0; color: #7a5200; }
.wqa-tag.is-dev { background: #fff4e0; color: #7a5200; }
.wqa-score { flex: 0 0 auto; min-width: 54px; text-align: center; border-radius: 11px; padding: 7px 4px; font-size: 17px; font-weight: 800; }
.wqa-score.is-good { background: #e6f5ec; color: #1d6b3c; }
.wqa-score.is-mid { background: #fff4e0; color: #8a4b00; }
.wqa-score.is-low { background: #fdecea; color: #a3261b; }
.wqa-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.wqa-tag { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; background: #eef2f6; color: var(--wqa-muted); }
.wqa-tag.is-ok { background: #e6f5ec; color: #1d6b3c; }
.wqa-tag.is-missing { background: #fdecea; color: #a3261b; }
.wqa-tag.is-fact { background: #eef4fb; color: #21456b; }
.wqa-note { font-size: 12px; color: var(--wqa-muted); }
.wqa-pc-hint { display: block; margin: -2px 0 8px; }
.wqa-input.is-missing, .wqa-select.is-missing { border-color: #c62828 !important; box-shadow: 0 0 0 3px rgba(198,40,40,.12); }
#wqa-tenure-box.is-missing, #wqa-engagement-box.is-missing { margin: 0 -8px 6px; padding: 4px 8px 6px; border: 1px solid #c62828; border-radius: 10px; background: #fff6f6; }
#wqa-tenure-box.is-missing .wqa-label::after, #wqa-engagement-box.is-missing .wqa-label::after { content: ' – kies er een'; color: #c62828; font-weight: 600; }
.wqa-pc-hint:empty { display: none; }
.wqa-pc-hint.is-ok { color: #1d6b3c; }
.wqa-pc-hint.is-err { color: #a12a2a; }
.wqa-warn { font-size: 13px; color: #7a5200; background: #fff4e0; border-radius: 8px; padding: 8px 10px; }
.wqa-ok { font-size: 13px; color: #1d6b3c; background: #e9f7ef; border-radius: 8px; padding: 9px 10px; }
.wqa-check { font-size: 13px; border-radius: 8px; padding: 7px 10px; }
.wqa-check.is-ok { background: #e6f5ec; color: #1d6b3c; }
.wqa-check.is-warn { background: #fff4e0; color: #8a4b00; }
.wqa-terms { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 400 !important; }
.wqa-terms input { width: auto; height: auto; margin: 3px 0 0; }
.wqa-foot { padding: 9px 12px; border-top: 1px solid var(--wqa-line); background: #fff; font-size: 11px; color: var(--wqa-muted); display: flex; justify-content: space-between; gap: 8px; }
.wqa-foot button { border: 0; background: transparent; color: var(--wqa-primary); font-size: 11px; font-weight: 600; cursor: pointer; padding: 0; }
.wqa-loading { align-self: flex-start; font-size: 13px; color: var(--wqa-muted); }
@media (max-width: 600px) {
    .wqa-launcher-wrap { right: 14px; bottom: 14px; }
    .wqa-teaser { max-width: 210px; font-size: 13px; }
    .wqa-panel { inset: 0; right: 0; bottom: 0; width: 100%; height: 100%; border-radius: 0; }
}

/* Blokken op de dashboards (na inloggen) */
.wqa-dash { margin: 0 0 18px; padding: 18px 20px; border: 1px solid #dfe7ef; border-radius: 12px; background: #fff; }
.wqa-dash-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.wqa-dash-head h2 { margin: 0; flex: 1 1 260px; font-size: 18px; font-weight: 700; color: #173f55; }
.wqa-dash-list { margin: 0; padding: 0; list-style: none; }
.wqa-dash-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #edf2f6; flex-wrap: wrap; }
.wqa-dash-list li:last-child { border-bottom: 0; }
.wqa-dash-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-radius: 999px; padding: 2px 8px; background: #e8f1fc; color: #0b5cc4; }
.wqa-dash-tag.is-warn { background: #fff4e0; color: #8a4b00; }
.wqa-dash-text { flex: 1 1 260px; min-width: 0; }
.wqa-dash-text strong { display: block; color: #1c2b36; }
.wqa-dash-text span { font-size: 13px; color: #4f6475; }
.wqa-dash-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.wqa-dash .btn { border-radius: 999px; }
.wqa-dash-progress { height: 8px; border-radius: 999px; background: #e3eaf2; overflow: hidden; margin: 4px 0 10px; }
.wqa-dash-progress span { display: block; height: 8px; border-radius: 999px; background: #1d8a4f; }

/* Pagina's met eigen assistentknoppen (werkgeversdashboard): geen zwevende knop erbij. */
.wqa-inline .wqa-launcher-wrap { display: none !important; }
/* Boven een vaste opslaanbalk onderin (vacatureformulier) blijft de knop vrij. */
body.vacancy-sticky-visible .wqa-launcher-wrap { bottom: 92px; }
.wqa-dash.is-clear { padding: 11px 16px; background: #f1faf4; border-color: #cfe9d8; }
.wqa-dash.is-clear p { margin: 0; color: #1d6b3c; font-weight: 600; font-size: 14px; }

/* Werkgeversdashboard: kopbalk zoals de andere kaarten; oranje alleen als er echt iets moet gebeuren.
   Kleur staat altijd naast een woord (label), nooit alleen. */
.wqa-dash-employer { overflow: hidden; border-color: #cfd9e3; box-shadow: 0 2px 6px rgba(23, 63, 85, .10); }
.wqa-dash-employer:not(.is-clear) .wqa-dash-head { margin: -18px -20px 12px; padding: 12px 20px; background: #eaf2fb; border-bottom: 1px solid #cddcee; }
.wqa-dash-employer.is-attention { border-color: #ebc68f; }
.wqa-dash-employer.is-attention .wqa-dash-head { background: #fff1dc; border-bottom-color: #f1d3a6; }
.wqa-dash-employer .wqa-dash-list li { margin: 0 0 6px; padding: 10px 12px; border: 0; border-left: 4px solid #6c9bd2; border-radius: 0 8px 8px 0; background: #f5f9fe; }
.wqa-dash-employer .wqa-dash-list li:last-child { margin-bottom: 0; }
.wqa-dash-employer .wqa-dash-list li.is-tone-action { border-left-color: #e8913a; background: #fff8ee; }
.wqa-dash-employer .wqa-dash-list li.is-tone-late { border-left-color: #c8372d; background: #fdf1f0; }
.wqa-dash-tag.is-late { background: #fbe1de; color: #9b2a21; }

/* Voorbeeld van de vacature (assistent) */
.wqa-actions-wrap { flex-wrap: wrap; }
.wqa-pv { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 12px; background: rgba(15, 30, 45, .5); overflow-y: auto; font-family: inherit; }
.wqa-pv-dialog { width: 100%; max-width: 760px; border-radius: 14px; background: #f3f6fa; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); overflow: hidden; }
.wqa-pv-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #173f55; color: #fff; font-size: 14px; }
.wqa-pv-bar strong { color: #fff; }
.wqa-pv-bar .wqa-pv-close { margin-left: auto; border: 0; background: none; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.wqa-pv-page { margin: 16px; padding: 24px 26px; border-radius: 12px; background: #fff; color: #263c47; font-size: 15px; line-height: 1.6; }
.wqa-pv-page h2 { margin: 0 0 4px; color: #173f55; font-size: 26px; font-weight: 800; line-height: 1.25; }
.wqa-pv-meta { margin: 0 0 10px; color: #5b6f7c; font-weight: 600; }
.wqa-pv-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.wqa-pv-facts span { padding: 4px 10px; border-radius: 999px; background: #eef3f8; color: #24506e; font-size: 13px; font-weight: 700; }
.wqa-pv-page h3 { margin: 18px 0 6px; color: #173f55; font-size: 18px; font-weight: 800; }
.wqa-pv-page p { margin: 0 0 10px; }
.wqa-pv-page ul { margin: 0 0 10px; padding-left: 20px; }
.wqa-pv-page mark { background: #fff1a8; color: #5a4600; padding: 0 2px; border-radius: 3px; }
.wqa-pv-apply { display: inline-block; margin-top: 12px; padding: 10px 22px; border-radius: 999px; background: var(--werqin-primary, #0b5cc4); color: #fff; font-weight: 700; }
.wqa-pv-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px 16px; color: #34495a; font-size: 13.5px; }
@media (max-width: 600px) { .wqa-pv { padding: 0; } .wqa-pv-dialog { border-radius: 0; min-height: 100%; } .wqa-pv-page { margin: 10px; padding: 18px 16px; } .wqa-pv-foot { flex-direction: column; align-items: stretch; } }

/* Eisen: hoe wordt het gecontroleerd */
.wqa-req-intro { display: block; margin: 0 0 8px; }
.wqa-req-how { display: block; margin: 6px 2px 0; font-size: 12px; line-height: 1.45; color: var(--wqa-muted); }
.wqa-req-how.is-question q { color: #1d5fa8; font-weight: 600; quotes: "\201E" "\201D"; }
.wqa-req-how .wqa-req-method { display: inline; padding: 0; border: 0; background: none; color: var(--wqa-muted); font-size: 12px; text-decoration: underline; cursor: pointer; }
.wqa-req-how .wqa-req-method:hover, .wqa-req-how .wqa-req-method:focus { color: inherit; }

/* Eisenstap: label hoe een eis gecontroleerd wordt */
.wqa-req-badge { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #eef2f5; color: #4f6475; font-size: 11px; font-weight: 600; vertical-align: 1px; white-space: nowrap; }
.wqa-req-badge.is-question { background: #e8f1fc; color: #0b4fa8; }
/* Stap: vragen aan sollicitanten */
.wqa-ask-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 12px; }
.wqa-ask-mode button { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 2px solid #d5e0ea; border-radius: 10px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: #173f55; }
.wqa-ask-mode button strong { font-size: 13.5px; }
.wqa-ask-mode button span { font-size: 11.5px; color: var(--wqa-muted); }
.wqa-ask-mode button.is-on { border-color: var(--wqa-primary, #0b5cc4); background: #f3f8ff; }
.wqa-ask-list { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 12px; }
.wqa-ask-item { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 7px 9px; border: 1px solid #e1e8ef; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; color: #4f6475; }
.wqa-ask-item.is-on { border-color: #b9d1ee; background: #f5f9fe; color: #173f55; }
.wqa-ask-item input { margin-top: 2px; }
.wqa-ask-item em { font-style: normal; font-size: 11px; color: #8a4b00; font-weight: 700; }
.wqa-ask-preview { margin: 0 0 12px; padding: 10px 12px; border: 1px dashed #b9cde2; border-radius: 10px; background: #fbfdff; }
.wqa-ask-preview-title, .wqa-ask-cv-title { display: block; margin: 0 0 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #5b6f7c; }
.wqa-ask-q { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid #edf2f6; font-size: 13px; color: #1c2b36; }
.wqa-ask-q:first-of-type { border-top: 0; }
.wqa-ask-yn { display: inline-flex; gap: 4px; flex: 0 0 auto; }
.wqa-ask-yn b { padding: 2px 10px; border: 1px solid #c9d8e5; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; color: #0b4fa8; }
.wqa-ask-meta { display: block; margin-top: 6px; font-size: 11.5px; color: var(--wqa-muted); }
.wqa-ask-cv { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #f6f8fa; }
.wqa-ask-cv-list { display: block; font-size: 13px; font-weight: 600; color: #173f55; }
.wqa-ask-cv-note { display: block; margin-top: 4px; font-size: 12px; line-height: 1.45; color: var(--wqa-muted); }
@media (max-width: 380px) { .wqa-ask-mode { grid-template-columns: 1fr; } }
.wqa-root .wqa-ask-item input[type="checkbox"] { width: 16px !important; height: 16px; min-width: 16px; flex: 0 0 16px; margin: 1px 0 0 !important; padding: 0; box-shadow: none; }
.wqa-root .wqa-ask-item { display: flex !important; gap: 9px; }
.wqa-root .wqa-ask-item span { flex: 1 1 auto; text-align: left; }
