/* PQC Insights Leads — assessment and contact form. Brand: Ink #0F2B3D, Mint #95E1D3, Cyan #7FD8E8, Teal #1F7A6A. */
.pqci-asmt, .pqci-cform { --ink: #0F2B3D; --mint: #95E1D3; --cyan: #7FD8E8; --teal: #1F7A6A; --line: #DDE5EC; --soft: #F4F8F9; --txt: #33465B; --mut: #5B6B7D;
  font-family: 'IBM Plex Sans', system-ui, sans-serif; color: var(--txt); max-width: 920px; margin: 0 auto; }
.pqci-asmt *, .pqci-cform * { box-sizing: border-box; }
.pqci-asmt h3, .pqci-cform h3, .pqci-asmt h4 { font-family: 'Space Grotesk', system-ui, sans-serif; color: var(--ink); font-weight: 700; margin: 0 0 8px; }
.pqci-asmt h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.2; }
.pqci-asmt h4 { font-size: 1.15rem; line-height: 1.3; }
.pqci-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 44px); box-shadow: 0 24px 48px -36px rgba(15,43,61,.45); }
.pqci-muted { color: var(--mut); margin: 0 0 24px; }
.pqci-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin: 0 0 10px; }
.pqci-asmt__loading { color: var(--mut); }

/* Intro facts */
.pqci-facts { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pqci-facts li { background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.pqci-facts strong { color: var(--ink); }

/* Fields */
.pqci-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.pqci-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pqci-f--wide { grid-column: 1 / -1; }
.pqci-f label { font-weight: 600; font-size: 15px; color: var(--ink); }
.pqci-f__opt { font-weight: 400; color: var(--mut); }
.pqci-f input, .pqci-f select, .pqci-f textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #C7D3DD; border-radius: 10px; padding: 11px 14px; min-height: 48px; }
.pqci-f textarea { min-height: 140px; resize: vertical; }
.pqci-f input:focus, .pqci-f select:focus, .pqci-f textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,122,106,.18); }
.pqci-f [aria-invalid="true"] { border-color: #B42318; }
.pqci-f__err { color: #B42318; font-size: 14px; margin: 0; min-height: 0; }
.pqci-f__err:empty { display: none; }
.pqci-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Declaration */
.pqci-declare { margin-top: 28px; background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--mint); border-radius: 12px; padding: 20px 22px; }
.pqci-declare h4 { font-size: 1rem; margin-bottom: 6px; }
.pqci-declare > p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
.pqci-consent { margin-top: 18px; }
.pqci-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--ink); cursor: pointer; }
.pqci-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--teal); }
.pqci-check--small { font-size: 14px; color: var(--mut); margin-top: 10px; }
.pqci-check a { color: var(--teal); }

/* Buttons */
.pqci-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.pqci-actions--start { justify-content: flex-start; }
.pqci-lead .pqci-actions { justify-content: flex-end; }
.pqci-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 10px; border: 0; background: var(--ink); color: #fff !important; font: 600 16px/1.2 'IBM Plex Sans', system-ui, sans-serif; text-decoration: none !important; cursor: pointer; transition: background .15s; }
.pqci-btn:hover { background: #16384F; }
.pqci-btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.pqci-btn[disabled] { opacity: .6; cursor: wait; }
.pqci-btn--ghost { background: #fff; color: var(--ink) !important; border: 1.5px solid #C7D3DD; }
.pqci-btn--ghost:hover { background: var(--soft); }
.pqci-link { background: none; border: 0; padding: 0; color: var(--teal); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.pqci-status { color: #B42318; margin: 12px 0 0; font-size: 15px; }
.pqci-status:empty { display: none; }
.pqci-ts { margin-top: 20px; }

/* Progress */
.pqci-progress-wrap { margin-bottom: 22px; }
.pqci-progress { height: 8px; background: #E4ECF1; border-radius: 99px; overflow: hidden; }
.pqci-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), var(--cyan)); border-radius: 99px; transition: width .3s; }

/* Questions */
.pqci-q { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.pqci-q legend { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 1.12rem; line-height: 1.4; color: var(--ink); margin-bottom: 6px; padding: 0; }
.pqci-q__n { color: var(--teal); margin-right: 2px; }
.pqci-q__help { font-size: 15px; color: var(--mut); margin: 0 0 12px; line-height: 1.55; }
.pqci-opts { display: grid; gap: 8px; margin-top: 10px; }
.pqci-opt { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; line-height: 1.5; font-size: 15.5px; color: var(--ink); transition: border-color .12s, background .12s; }
.pqci-opt:hover { border-color: #A9BCCB; }
.pqci-opt input { width: 19px; height: 19px; margin: 2px 0 0; flex: none; accent-color: var(--teal); }
.pqci-opt:has(input:checked) { border-color: var(--teal); background: #EAF6F2; }
.pqci-opt:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(31,122,106,.25); }
.pqci-opts--scale .pqci-opt--l0 .pqci-opt__txt::before,
.pqci-opts--scale .pqci-opt--l1 .pqci-opt__txt::before,
.pqci-opts--scale .pqci-opt--l2 .pqci-opt__txt::before,
.pqci-opts--scale .pqci-opt--l3 .pqci-opt__txt::before { display: inline-block; min-width: 26px; margin-right: 8px; padding: 1px 6px; border-radius: 6px; font-size: 12px; font-weight: 700; text-align: center; vertical-align: 1px; background: #E8EEF2; color: var(--mut); }
.pqci-opts--scale .pqci-opt--l0 .pqci-opt__txt::before { content: "L0"; }
.pqci-opts--scale .pqci-opt--l1 .pqci-opt__txt::before { content: "L1"; }
.pqci-opts--scale .pqci-opt--l2 .pqci-opt__txt::before { content: "L2"; }
.pqci-opts--scale .pqci-opt--l3 .pqci-opt__txt::before { content: "L3"; background: #D7F1EA; color: var(--teal); }
.pqci-opt--aside { background: var(--soft); color: var(--mut); padding-top: 10px; padding-bottom: 10px; font-size: 15px; }
.pqci-q__err { display: none; margin-top: 8px; }
.pqci-q.is-missing .pqci-q__err { display: block; }
.pqci-q.is-missing .pqci-opt { border-color: #E8B4AE; }

/* Result */
.pqci-res__head { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 32px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.pqci-ring-wrap { position: relative; width: 170px; height: 170px; }
.pqci-ring { width: 170px; height: 170px; display: block; }
.pqci-ring__bg { fill: none; stroke: #E4ECF1; stroke-width: 11; }
.pqci-ring__fg { fill: none; stroke: var(--teal); stroke-width: 11; stroke-linecap: round; }
.pqci-ring__num { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 58px; font-family: 'Space Grotesk', system-ui, sans-serif; color: var(--ink); }
.pqci-ring__num strong { font-size: 46px; line-height: 1; }
.pqci-ring__num span { font-size: 16px; color: var(--mut); margin-left: 2px; }
.pqci-res__sum p { margin: 0 0 12px; line-height: 1.6; }
.pqci-badge { display: inline-block; padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.45; }
.pqci-badge--high { background: #FDECEA; color: #8A1C12; }
.pqci-badge--medium { background: #FFF4DC; color: #7A4D00; }
.pqci-badge--low { background: #EAF6F2; color: #135A4E; }
.pqci-res__h { margin: 30px 0 14px !important; }
.pqci-bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.pqci-bar__top { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.pqci-bar__track { height: 10px; border-radius: 99px; background: #E4ECF1; overflow: hidden; }
.pqci-bar__fill { display: block; height: 100%; border-radius: 99px; background: var(--teal); }
.pqci-bar__fill.is-mid { background: #2E9C8A; opacity: .8; }
.pqci-bar__fill.is-low { background: #D98A3D; }
.pqci-pri { list-style: none; counter-reset: pri; margin: 0; padding: 0; display: grid; gap: 14px; }
.pqci-pri__item { counter-increment: pri; position: relative; padding: 20px 22px 20px 70px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.pqci-pri__item::before { content: counter(pri); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--mint); font: 700 17px/34px 'Space Grotesk', system-ui, sans-serif; text-align: center; }
.pqci-pri__item p { margin: 0 0 8px; line-height: 1.6; }
.pqci-pri__area { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.pqci-pri__help { font-size: 15px; padding-top: 8px; border-top: 1px dashed #C7D3DD; }
.pqci-pri__help a { color: var(--teal); font-weight: 600; }
.pqci-extras { margin: 18px 0 0; padding-left: 20px; line-height: 1.6; }
.pqci-note { margin: 18px 0 0; font-size: 15px; color: var(--mut); }
.pqci-next { margin-top: 28px; padding: 24px; border-radius: 14px; background: var(--ink); color: #D6E3EA; }
.pqci-next h4 { color: #fff; }
.pqci-next p { margin: 0; line-height: 1.6; }
.pqci-next .pqci-btn { background: var(--mint); color: var(--ink) !important; }
.pqci-next .pqci-btn:hover { background: #fff; }
.pqci-next .pqci-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.4); }
.pqci-next .pqci-actions { margin-top: 18px; }
.pqci-fine { font-size: 13px; color: var(--mut); margin: 20px 0 0; line-height: 1.55; }
.pqci-res__tools { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; }
.pqci-done h3 { margin-bottom: 6px; }

@media (max-width: 680px) {
  .pqci-grid, .pqci-bars { grid-template-columns: minmax(0, 1fr); }
  .pqci-res__head { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 18px; }
  .pqci-pri__item { padding: 64px 18px 18px; }
  .pqci-actions .pqci-btn { flex: 1 1 auto; }
}
@media print {
  .pqci-res__tools, .pqci-next .pqci-actions, header, footer, .site-header, .site-footer { display: none !important; }
  .pqci-card { box-shadow: none; border: 0; padding: 0; }
}


/* 41. PQC Insights Leads plugin (assessment and contact form): stop site-wide .pqci-card,
   .pqci-eyebrow, .pqci-badge and .pqci-link styles from leaking into the forms (v1.28) */
.pqci-asmt .pqci-card, .pqci-cform .pqci-card { background: #FFFFFF; border: 1px solid #DDE5EC; border-radius: 20px;
  padding: clamp(22px, 4vw, 44px) !important; box-shadow: 0 24px 48px -36px rgba(15,43,61,.45); }
.pqci-asmt .pqci-card h3, .pqci-cform .pqci-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.2; margin: 0 0 8px; }
.pqci-asmt .pqci-card p, .pqci-cform .pqci-card p { font-size: inherit; color: inherit; }
.pqci-asmt .pqci-card p.pqci-muted { margin: 0 0 24px; color: #5B6B7D; }
.pqci-asmt .pqci-eyebrow, .pqci-cform .pqci-eyebrow { display: block; margin: 0 0 10px !important; padding: 0; border: 0;
  border-radius: 0; background: none; color: #1F7A6A; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pqci-asmt .pqci-eyebrow::before, .pqci-cform .pqci-eyebrow::before { content: none; display: none; }
.pqci-asmt .pqci-badge { border-radius: 10px; padding: 8px 14px; font-size: 14px; letter-spacing: 0; }
.pqci-asmt .pqci-link { margin: 0 !important; }
.pqci-asmt .pqci-pri__item p { margin: 0 0 8px; }
.pqci-asmt .pqci-res__sum p { margin: 0 0 12px; }
.pqci-asmt .pqci-declare > p { margin: 0 0 14px; }
.pqci-asmt .pqci-card p.pqci-fine { margin: 20px 0 0; font-size: 13px; color: #5B6B7D; }
.pqci-asmt .pqci-card p.pqci-note { margin: 18px 0 0; font-size: 15px; color: #5B6B7D; }
.pqci-asmt .pqci-card p.pqci-q__help { margin: 0 0 12px; font-size: 15px; color: #5B6B7D; }
.pqci-asmt .pqci-next p { color: #D6E3EA; margin: 0; }
.pqci-contact-cols { gap: 48px !important; }

.pqci-thanks { text-align: left; }
.pqci-thanks__icon { margin-bottom: 14px; }
.pqci-thanks p { line-height: 1.65; }
/* v1.2.0: self-rating tip, headline result */
.pqci-asmt .pqci-tip { margin: 4px 0 18px; padding: 10px 14px; border-left: 4px solid var(--teal); background: #EAF6F2; border-radius: 6px; font-size: 15px; color: var(--ink); }
.pqci-asmt .pqci-head { margin: 18px 0 16px; padding: 18px 22px; border-radius: 12px; color: #fff; background: var(--teal); }
.pqci-asmt .pqci-head--critical { background: #8A1C12; }
.pqci-asmt .pqci-head--high { background: #C2410C; }
.pqci-asmt .pqci-head--medium { background: #8A5A00; }
.pqci-asmt .pqci-head--low { background: #1F7A6A; }
.pqci-asmt .pqci-head > div { margin: 0; color: #fff; line-height: 1.4; }
.pqci-asmt .pqci-head__k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.pqci-asmt .pqci-head__v { font-family: 'Space Grotesk', sans-serif; font-size: 34px !important; font-weight: 700; line-height: 1.15 !important; margin: 4px 0 6px !important; }
.pqci-asmt .pqci-head__a { font-size: 17px; }
.pqci-asmt .pqci-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.pqci-asmt .pqci-stats > div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--soft); }
.pqci-asmt .pqci-stats dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.pqci-asmt .pqci-stats dd { margin: 4px 0 2px; font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; color: var(--ink); }
.pqci-asmt .pqci-stats dd small { font-size: 14px; color: var(--mut); font-weight: 400; }
.pqci-asmt .pqci-stats p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--mut); }
.pqci-asmt .pqci-small { font-size: 13px; }
@media (max-width: 640px) { .pqci-asmt .pqci-stats { grid-template-columns: 1fr; } }

/* v1.2.1 */
.pqci-asmt .pqci-f__req { color: #B42318; font-weight: 700; }
.pqci-asmt .pqci-declare p { font-size: 15px; line-height: 1.6; margin: 0 0 10px; }
.pqci-cform .pqci-small { font-size: 14px; margin: 8px 0 4px; }
