/**
 * cawood-elements.css
 * -------------------
 * Styles for the marketing demo shortcodes registered in
 * inc/cawood-elements.php ([cawood_question], [cawood_result], [cawood_org],
 * [cawood_gap], [cawood_domains]). Namespace: cwe- (Cawood Elements), per
 * PLATFORM_STANDARDS.md's unique-prefix-per-module rule.
 *
 * All colours trace back to cawood-tokens.css / domains.css custom
 * properties (--cw-*), with the canonical hex as fallback for pages where
 * those files haven't loaded — per PLATFORM_STANDARDS.md: "Never hardcode
 * brand hex values in component CSS."
 *
 * Sections:
 *   0. Shared primitives (button, avatar, pill)
 *   1. Question card
 *   2. Personal result card
 *   3. Org insights card
 *   4. Perception gap
 *   5. Domain explorer
 *   6. Responsive
 */

/* ── 0. Shared primitives ─────────────────────────────────────────────────── */

.cwe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 13px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s, box-shadow .22s, opacity .12s;
  text-decoration: none;
}
.cwe-btn--coral {
  background: var(--cw-colour-coral, #FF6F61);
  border-color: var(--cw-colour-coral, #FF6F61);
  color: #fff;
  box-shadow: 0 2px 10px rgba(255,111,97,.22);
}
.cwe-btn--coral:hover { background: #e0574a; box-shadow: 0 6px 18px rgba(255,111,97,.34); }
.cwe-btn--navy {
  background: var(--cw-colour-navy, #1C2541);
  border-color: var(--cw-colour-navy, #1C2541);
  color: #fff;
}
.cwe-btn--navy:hover { opacity: .88; }
.cwe-btn--sm { font-size: 13px; padding: 8px 16px; }

.cwe-avatar {
  width: 42px; height: 42px; flex: none;
  border-radius: 11px;
  background: var(--cw-colour-navy, #1C2541);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-weight: 700; font-size: 14px;
}

.cwe-pill {
  display: inline-block;
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(12,245,126,.16);
  color: #0a7a47;
  text-transform: uppercase; letter-spacing: .05em;
}

/* ── 1. Question card ─────────────────────────────────────────────────────── */

.cwe-question {
  max-width: 480px;
}
.cwe-question__rule { margin-bottom: 22px; }
.cwe-question__eyebrow {
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cw-colour-muted, #8896A7);
  margin-bottom: 13px;
}
.cwe-question__prompt {
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-size: 25px; line-height: 1.28; font-weight: 700;
  color: var(--cw-colour-navy, #1C2541);
  margin-bottom: 22px;
}
.cwe-question__answers { display: flex; flex-direction: column; gap: 9px; }
.cwe-question__answer {
  text-align: left;
  font-family: var(--cw-font-body, 'Open Sans', sans-serif);
  font-size: 14.5px; font-weight: 600;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--cw-colour-border, #E4E9F1);
  background: #fff;
  color: var(--cw-colour-text, #3A506B);
  cursor: pointer;
  min-height: 48px;
  transition: all .16s;
}
.cwe-question__answer:hover { border-color: #C9D2DE; background: #FBFAF7; }
.cwe-question__answer--selected {
  border-color: var(--cw-colour-navy, #1C2541);
  background: var(--cw-colour-navy, #1C2541);
  color: #fff;
}
.cwe-question__reply {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--cw-colour-hairline, #EEF1F6);
  display: flex; gap: 13px; align-items: flex-start;
  animation: cweFadeUp .45s ease both;
}
.cwe-question__reply-mark { width: 4px; height: 16px; flex: none; margin-top: 3px; border-radius: 2px; }
.cwe-question__reply-text { font-family: var(--cw-font-body, 'Open Sans', sans-serif); font-size: 15px; line-height: 1.6; color: #33425C; margin: 0; }
.cwe-question__more { display: block; font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-size: 14px; font-weight: 600; color: var(--cw-colour-coral, #FF6F61); margin-top: 13px; }
.cwe-question__hint { font-size: 13px; color: var(--cw-colour-muted, #8896A7); margin: 17px 0 0; }
.cwe-question[data-cwe-answered] .cwe-question__hint { display: none; }

@keyframes cweFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── 1b. Intent router (hero, Homepage.dc.html 2026-08-10) ─────────────── */

.cwe-intent {
  max-width: 480px;
}
.cwe-intent__rule { margin-bottom: 22px; }
.cwe-intent__eyebrow {
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cw-colour-muted, #8896A7);
  margin-bottom: 13px;
}
.cwe-intent__prompt {
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-size: 25px; line-height: 1.28; font-weight: 700;
  color: var(--cw-colour-navy, #1C2541);
  margin-bottom: 22px;
}
.cwe-intent__options { display: flex; flex-direction: column; gap: 9px; }
.cwe-intent__option {
  text-align: left;
  font-family: var(--cw-font-body, 'Open Sans', sans-serif);
  font-size: 13.5px; font-weight: 600;
  padding: 13px 17px;
  border-radius: 12px;
  border: 1.5px solid var(--cw-colour-border, #E4E9F1);
  background: #fff;
  color: var(--cw-colour-text, #3A506B);
  cursor: pointer;
  min-height: 48px;
  transition: all .16s;
}
.cwe-intent__option:hover { border-color: #C9D2DE; background: #FBFAF7; }
.cwe-intent__option--selected {
  border-color: var(--cw-colour-navy, #1C2541);
  background: var(--cw-colour-navy, #1C2541);
  color: #fff;
}
.cwe-intent__reply {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--cw-colour-hairline, #EEF1F6);
  animation: cweFadeUp .45s ease both;
}
.cwe-intent__reply-row { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 16px; }
.cwe-intent__reply-bar { width: 4px; flex: none; align-self: stretch; border-radius: 2px; }
.cwe-intent__reply-title {
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-size: 17px; line-height: 1.35; font-weight: 700;
  color: var(--cw-colour-navy, #1C2541);
  margin-bottom: 7px;
}
.cwe-intent__reply-text { font-family: var(--cw-font-body, 'Open Sans', sans-serif); font-size: 14.5px; line-height: 1.65; color: #33425C; margin: 0; }
.cwe-intent__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-left: 17px; }
.cwe-intent__cta {
  display: inline-block;
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-size: 14.5px; font-weight: 700;
  color: #fff !important;
  border-radius: 999px;
  padding: 13px 26px;
  text-decoration: none;
  transition: filter .18s;
}
.cwe-intent__cta:hover { filter: brightness(.92); }
.cwe-intent__alt {
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-size: 14px; font-weight: 600;
  color: var(--cw-colour-navy, #1C2541) !important;
}
.cwe-intent__note { font-family: var(--cw-font-body, 'Open Sans', sans-serif); font-size: 12.5px; color: var(--cw-colour-muted, #8896A7); margin: 14px 0 0; padding-left: 17px; }
.cwe-intent__hint { font-size: 13px; color: var(--cw-colour-muted, #8896A7); margin: 17px 0 0; }
.cwe-intent[data-cwe-answered] .cwe-intent__hint { display: none; }

/* ── 2. Personal result card ─────────────────────────────────────────────── */

.cwe-result { max-width: 640px; background: #fff; border: 1px solid #DDE3EC; border-radius: 16px; box-shadow: 0 6px 26px rgba(28,37,65,.09); overflow: hidden; }
.cwe-result__chrome {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 26px;
  border-bottom: 1px solid #E7EBF2;
}
.cwe-result__chrome-title { font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-weight: 700; font-size: 15px; color: var(--cw-colour-navy, #1C2541); }
.cwe-result__chrome-sub { font-size: 11.5px; color: var(--cw-colour-muted, #8896A7); }
.cwe-result__body { padding: 30px 32px 32px; }
.cwe-result__top { display: flex; align-items: flex-end; gap: 30px; margin-bottom: 26px; flex-wrap: wrap; }
.cwe-result__mark { display: flex; align-items: flex-end; gap: 8px; height: 132px; flex: none; }
.cwe-result__mark > span { width: 24px; border-radius: 3px 3px 0 0; transform-origin: bottom; animation: cweSixFill .8s cubic-bezier(.22,1,.36,1) both; }
.cwe-result__mark > span:nth-child(1) { animation-delay: .1s; }
.cwe-result__mark > span:nth-child(2) { animation-delay: .19s; }
.cwe-result__mark > span:nth-child(3) { animation-delay: .28s; }
.cwe-result__mark > span:nth-child(4) { animation-delay: .37s; }
.cwe-result__mark > span:nth-child(5) { animation-delay: .46s; }
.cwe-result__mark > span:nth-child(6) { animation-delay: .55s; }
.cwe-result__headline { flex: 1; min-width: 190px; }
.cwe-result__eyebrow { font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cw-colour-muted, #8896A7); }
.cwe-result__type { font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-weight: 700; font-size: 26px; line-height: 1.15; color: var(--cw-colour-navy, #1C2541); margin: 5px 0 10px; }
.cwe-result__meta { display: flex; align-items: center; gap: 12px; }
.cwe-result__avg { font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-weight: 800; font-size: 22px; color: var(--cw-colour-navy, #1C2541); }
.cwe-result__avg small { font-family: var(--cw-font-body, 'Open Sans', sans-serif); font-weight: 400; font-size: 12px; color: var(--cw-colour-muted, #8896A7); }
.cwe-result__rows { display: flex; flex-direction: column; gap: 9px; }
.cwe-result__row { display: flex; align-items: center; gap: 12px; }
.cwe-result__row-label { width: 150px; flex: none; font-size: 12.5px; font-weight: 600; color: var(--cw-colour-navy, #1C2541); }
.cwe-result__row-track { flex: 1; height: 8px; background: #E9ECF3; border-radius: 999px; overflow: hidden; }
.cwe-result__row-fill { height: 100%; border-radius: 999px; transform-origin: left; animation: cweGrowX .9s cubic-bezier(.22,1,.36,1) both; }
.cwe-result__row-level { width: 80px; flex: none; text-align: right; font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-size: 11px; font-weight: 600; color: var(--cw-colour-muted, #8896A7); }
/* Very narrow phones. The row carries two fixed text columns, 150px + 80px,
   plus two 12px gaps — 254px before the track gets anything. Below about 360px
   that leaves the track nothing and the level label runs past the edge; measured
   6px of page overflow at 320px. Resolved the same way as the account app's
   Insights rows and dashboard empty state: label and level keep the first line,
   the track takes the full width beneath them. */
@media (max-width: 360px) {
  .cwe-result__row { flex-wrap: wrap; gap: 6px 12px; }
  .cwe-result__row-label { width: auto; flex: 1 1 auto; min-width: 0; }
  .cwe-result__row-level { width: auto; }
  .cwe-result__row-track { flex-basis: 100%; order: 3; }
}

.cwe-result__nextwin {
  border-top: 1px solid var(--cw-colour-hairline, #EEF1F6);
  margin-top: 24px; padding-top: 20px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.cwe-result__nextwin > span:first-child { width: 4px; height: 34px; flex: none; border-radius: 2px; }
.cwe-result__nextwin p { flex: 1; min-width: 220px; font-size: 13.5px; line-height: 1.6; color: var(--cw-colour-text, #3A506B); margin: 0; }

@keyframes cweSixFill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes cweGrowX { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ── 3. Org insights card ─────────────────────────────────────────────────── */

.cwe-org { background: #fff; border: 1px solid #DDE3EC; border-radius: 16px; box-shadow: 0 6px 26px rgba(28,37,65,.09); overflow: hidden; max-width: 640px; }
.cwe-org__head { display: flex; align-items: center; gap: 12px; padding: 18px 26px; border-bottom: 1px solid #E7EBF2; }
.cwe-org__title { font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-weight: 700; font-size: 14.5px; color: var(--cw-colour-navy, #1C2541); }
.cwe-org__sub { font-size: 11.5px; color: var(--cw-colour-muted, #8896A7); }
.cwe-org__body { padding: 26px 28px 28px; }
.cwe-org__avgrow { display: flex; align-items: center; gap: 26px; margin-bottom: 24px; flex-wrap: wrap; }
.cwe-org__avg { font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-weight: 800; font-size: 46px; line-height: 1; color: var(--cw-colour-navy, #1C2541); }
.cwe-org__avg-label { font-family: var(--cw-font-body, 'Open Sans', sans-serif); font-weight: 400; font-size: 11.5px; color: var(--cw-colour-muted, #8896A7); margin-top: 4px; }
.cwe-org__dist { flex: 1; min-width: 240px; }
.cwe-org__dist-label { font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cw-colour-muted, #8896A7); margin-bottom: 10px; }
.cwe-org__dist-bar { display: flex; height: 18px; gap: 2px; border-radius: 4px; overflow: hidden; }
.cwe-org__dist-bar span:nth-child(1) { background: #E2D6EF; }
.cwe-org__dist-bar span:nth-child(2) { background: #B7D7E0; }
.cwe-org__dist-bar span:nth-child(3) { background: var(--cw-domain-5-process, #FF9E94); }
.cwe-org__dist-bar span:nth-child(4) { background: var(--cw-domain-4-tools, #5B7FA6); }
.cwe-org__dist-bar span:nth-child(5) { background: var(--cw-colour-navy, #1C2541); }
.cwe-org__dist-legend { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-size: 9.5px; font-weight: 600; color: #A6B0BF; }
.cwe-org__depts-label { font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cw-colour-muted, #8896A7); margin-bottom: 12px; }
.cwe-org__depts { display: flex; flex-direction: column; gap: 10px; }
.cwe-org__dept { display: flex; align-items: center; gap: 14px; }
.cwe-org__dept-name { width: 92px; flex: none; font-size: 12.5px; font-weight: 600; color: var(--cw-colour-navy, #1C2541); }
.cwe-org__dept-track { flex: 1; height: 10px; background: #E9ECF3; border-radius: 999px; overflow: hidden; }
.cwe-org__dept-fill { height: 100%; border-radius: 999px; background: var(--cw-colour-coral, #FF6F61); transform-origin: left; animation: cweGrowX .9s cubic-bezier(.22,1,.36,1) both; }
.cwe-org__dept-score { width: 32px; flex: none; text-align: right; font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-size: 12px; font-weight: 600; color: var(--cw-colour-muted, #8896A7); }
.cwe-org__insight { border-top: 1px solid var(--cw-colour-hairline, #EEF1F6); margin-top: 22px; padding-top: 18px; display: flex; align-items: flex-start; gap: 12px; }
.cwe-org__insight > span { width: 4px; height: 38px; flex: none; background: var(--cw-colour-coral, #FF6F61); border-radius: 2px; }
.cwe-org__insight p { font-size: 13.5px; line-height: 1.6; color: var(--cw-colour-text, #3A506B); margin: 0; }

/* ── 4. Perception gap ────────────────────────────────────────────────────── */

.cwe-gap { background: #fff; border: 1px solid #DDE3EC; border-radius: 16px; padding: 28px 30px 30px; max-width: 560px; }
.cwe-gap__legend { display: flex; justify-content: space-between; margin-bottom: 22px; font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cwe-gap__legend span:first-child { color: var(--cw-domain-4-tools, #5B7FA6); }
.cwe-gap__legend span:last-child { color: var(--cw-colour-coral, #FF6F61); }
.cwe-gap__rows { display: flex; flex-direction: column; gap: 22px; }
.cwe-gap__row-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; gap: 12px; }
.cwe-gap__row-label { font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-weight: 600; font-size: 15px; color: var(--cw-colour-navy, #1C2541); }
.cwe-gap__row-verdict { font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-weight: 600; font-size: 12px; color: var(--cw-colour-coral, #FF6F61); }
.cwe-gap__track { position: relative; height: 14px; background: var(--cw-colour-hairline, #EEF1F6); border-radius: 999px; overflow: hidden; }
.cwe-gap__fill { position: absolute; left: 0; top: 0; height: 100%; border-radius: 999px; transform-origin: left; animation: cweGrowX .9s cubic-bezier(.22,1,.36,1) both; }
.cwe-gap__fill--lead { background: #B7D7E0; animation-delay: .1s; }
.cwe-gap__fill--team { background: var(--cw-colour-coral, #FF6F61); animation-delay: .3s; }

/* ── 5. Domain explorer ───────────────────────────────────────────────────── */

/* No card/background wrapper by design — this drops directly into whatever
   Divi section it's placed in, not a boxed widget. */
.cwe-domains { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cwe-domains__row { display: flex; align-items: center; gap: 16px; padding: 16px 12px; margin: 0 -12px; border-top: 1px solid var(--cw-colour-hairline, #E4E9F1); border-radius: 10px; cursor: pointer; opacity: .55; transition: opacity .18s, background .2s; }
.cwe-domains__row:hover, .cwe-domains__row--active { opacity: 1; }
.cwe-domains__row:hover { background: #F5F2EC; }
.cwe-domains__row-bar { width: 5px; flex: none; height: 13px; border-radius: 2px; transition: height .22s cubic-bezier(.22,1,.36,1); }
.cwe-domains__row--active .cwe-domains__row-bar { height: 26px; }
.cwe-domains__row-label { font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-weight: 600; font-size: 17px; color: var(--cw-colour-navy, #1C2541); flex: 1; }
.cwe-domains__row-arrow { color: var(--cw-colour-disabled, #B4BECC); font-size: 18px; }
.cwe-domains__list-note { border-top: 1px solid var(--cw-colour-hairline, #E4E9F1); padding-top: 15px; font-size: 13px; color: var(--cw-colour-muted, #8896A7); }
.cwe-domains__panel { animation: cweFadeUp .45s cubic-bezier(.22,1,.36,1) both; }
.cwe-domains__panel-mark { display: flex; align-items: flex-end; gap: 5px; height: 34px; margin-bottom: 20px; }
.cwe-domains__panel-mark > span { width: 11px; border-radius: 2px 2px 0 0; transition: height .25s, background .25s; }
.cwe-domains__panel-eyebrow { font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cw-colour-muted, #8896A7); margin-bottom: 13px; }
.cwe-domains__panel-headline { font-family: var(--cw-font-head, 'Exo 2', sans-serif); font-weight: 800; font-size: 36px; line-height: 1.1; letter-spacing: -.03em; color: var(--cw-colour-navy, #1C2541); margin-bottom: 18px; }
.cwe-domains__panel-text { font-size: 16.5px; line-height: 1.7; color: var(--cw-colour-text, #3A506B); margin: 0; }

/* ── 6. Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .cwe-domains { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cwe-result__top { flex-direction: column; align-items: flex-start; }
  .cwe-result__mark { height: 96px; }
  .cwe-org__avgrow { flex-direction: column; align-items: flex-start; }
  .cwe-gap__row-top { flex-direction: column; align-items: flex-start; gap: 2px; }
}
@media (max-width: 520px) {
  .cwe-question__prompt { font-size: 21px; }
  .cwe-domains__panel-headline { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .cwe-result__mark > span,
  .cwe-result__row-fill,
  .cwe-org__dept-fill,
  .cwe-gap__fill,
  .cwe-question__reply,
  .cwe-domains__panel { animation: none !important; }
}

/* ── 7. Pathway progress strip — [cawood_progress] ─────────────────────────── */

.cwe-progress {
  background: #fff;
  border: 1px solid var(--cw-colour-hairline-dark, #DDE3EC);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(28, 37, 65, .07);
}
.cwe-progress__band .cw-rule > div { height: 5px; }
.cwe-progress__body { padding: 22px 26px 24px; }
.cwe-progress--compact .cwe-progress__body { padding: 14px 20px 16px; }
.cwe-progress__head {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.cwe-progress--compact .cwe-progress__head { margin-bottom: 12px; }
.cwe-progress__week { background: rgba(255, 111, 97, .14); }
.cwe-progress__title {
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-weight: 700; font-size: 17px;
  color: var(--cw-colour-navy, #1C2541);
}
.cwe-progress__checkin {
  font-size: 13px; color: var(--cw-colour-muted, #8896A7);
  margin-left: auto;
}
.cwe-progress__barrow { display: flex; align-items: center; gap: 16px; }
.cwe-progress__track {
  flex: 1; height: 8px; border-radius: 999px; overflow: hidden;
  background: var(--cw-colour-track, #E9ECF3);
}
.cwe-progress__fill { height: 100%; border-radius: 999px; }
.cwe-progress__count {
  flex: none;
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-weight: 600; font-size: 12.5px;
  color: var(--cw-colour-navy, #1C2541);
}
.cwe-progress__ticks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cwe-progress__ticks > span {
  width: 4px; height: 22px; flex: none;
  background: var(--cw-colour-hairline, #E4E9F1);
}

/* ── 8. Step check — [cawood_step_check] ───────────────────────────────────── */

.cwe-check {
  background: #fff;
  border: 1px solid var(--cw-colour-hairline-dark, #DDE3EC);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 26px rgba(28, 37, 65, .09);
}
.cwe-check__band .cw-rule > div { height: 5px; }
.cwe-check__header {
  background: var(--cw-colour-navy, #1C2541);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
}
.cwe-check__header-mark { display: flex; align-items: flex-end; gap: 3px; height: 30px; flex: none; }
.cwe-check__header-mark > span { width: 5px; transition: height .5s cubic-bezier(.22, 1, .36, 1); }
/* On-navy mark set (domains.css on-navy variants; state-green stays a state colour) */
.cwe-check__header-mark > span:nth-child(1) { height: 40%;  background: var(--cw-domain-1-direction, #FF6F61); }
.cwe-check__header-mark > span:nth-child(2) { height: 100%; background: var(--cw-domain-2-safety-on-navy, #8FA6C4); }
.cwe-check__header-mark > span:nth-child(3) { height: 34%;  background: var(--cw-domain-3-learning-on-navy, #0CF57E); }
.cwe-check__header-mark > span:nth-child(4) { height: 62%;  background: var(--cw-domain-4-tools, #5B7FA6); }
.cwe-check__header-mark > span:nth-child(5) { height: 48%;  background: var(--cw-domain-5-process, #FF9E94); }
.cwe-check__header-mark > span:nth-child(6) { height: 56%;  background: var(--cw-domain-6-ai-on-navy, #B5A6E0); }
.cwe-check--passed .cwe-check__header-mark > span { height: 100%; }
.cwe-check__header-eyebrow {
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-weight: 600; font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cw-colour-muted, #8896A7);
}
.cwe-check__header-num {
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-weight: 700; font-size: 32px; line-height: 1; color: #fff;
}
.cwe-check__header-num > span { font-size: 15px; color: #5B6B8C; }
.cwe-check__dots { margin-left: auto; display: flex; gap: 6px; align-items: flex-end; }
.cwe-check__dots > span { width: 5px; height: 12px; background: #3A4667; }
.cwe-check__dots > .cwe-check__dot--current { height: 22px; background: var(--cw-colour-coral, #FF6F61); }
.cwe-check__body { padding: 20px 22px 24px; }
.cwe-check__eyebrow {
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-weight: 700; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cw-colour-muted, #8896A7);
  margin-bottom: 8px;
}
.cwe-check__prompt {
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-weight: 700; font-size: 18px; line-height: 1.4;
  color: var(--cw-colour-navy, #1C2541);
  margin-bottom: 18px;
  text-wrap: pretty;
}
.cwe-check__options { display: flex; flex-direction: column; gap: 10px; }
.cwe-check__option {
  border: 1.5px solid var(--cw-colour-hairline-dark, #DDE3EC);
  border-radius: 12px;
  padding: 14px 18px;
  min-height: 48px;
  font-family: var(--cw-font-body, 'Open Sans', sans-serif);
  font-size: 14.5px; text-align: left;
  color: var(--cw-colour-slate, #33425C);
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.cwe-check__option:hover { border-color: var(--cw-colour-muted, #8896A7); }
.cwe-check__option--right {
  border-color: var(--cw-colour-navy, #1C2541);
  background: var(--cw-colour-navy, #1C2541);
  color: #fff; font-weight: 600;
}
.cwe-check__option--wrong {
  border-color: var(--cw-colour-coral, #FF6F61);
  background: rgba(255, 111, 97, .07);
  font-weight: 600;
}
.cwe-check__option--dim { opacity: .55; }
.cwe-check__feedback {
  display: flex; gap: 14px;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--cw-colour-hairline-light, #EEF1F6);
}
.cwe-check__feedback-bar { width: 4px; flex: none; align-self: stretch; }
.cwe-check--right .cwe-check__feedback-bar { background: var(--cw-colour-green-deep, #0a7a47); }
.cwe-check--wrong .cwe-check__feedback-bar { background: var(--cw-colour-coral, #FF6F61); }
.cwe-check__feedback-title {
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-weight: 700; font-size: 15px;
  color: var(--cw-colour-navy, #1C2541);
  margin-bottom: 4px;
}
.cwe-check__feedback-body {
  font-size: 14px; line-height: 1.6;
  color: var(--cw-colour-slate, #33425C);
  margin: 0;
}
.cwe-check__more {
  display: inline-block; margin-top: 10px;
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-weight: 600; font-size: 13.5px;
  color: var(--cw-colour-coral, #FF6F61);
  text-decoration: none;
}
.cwe-check__hint {
  font-size: 12px; color: var(--cw-colour-muted, #8896A7);
  margin: 14px 0 0;
}
.cwe-check--answered .cwe-check__hint { display: none; }
.cwe-check__meta {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-top: 1px solid var(--cw-colour-hairline-light, #EEF1F6);
  font-size: 12px; color: var(--cw-colour-muted, #8896A7);
}
.cwe-check__meta > span { width: 4px; height: 14px; flex: none; }

/* ── 9. Breadcrumb — [cawood_breadcrumb] ───────────────────────────────────── */

.cwe-crumb {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0;
  overflow: hidden;
}
.cwe-crumb__bar { width: 4px; height: 16px; flex: none; }
.cwe-crumb__link {
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-weight: 600; font-size: 13px;
  color: var(--cw-colour-slate-mid, #5A6B82);
  text-decoration: none; white-space: nowrap; flex: none;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
}
.cwe-crumb__link:hover { color: var(--cw-colour-navy, #1C2541); border-color: var(--cw-colour-hairline-mid, #C9D2DE); }
.cwe-crumb__sep { font-size: 13px; color: var(--cw-colour-hairline-mid, #C9D2DE); flex: none; }
.cwe-crumb__current {
  font-family: var(--cw-font-head, 'Exo 2', sans-serif);
  font-weight: 600; font-size: 13px;
  color: var(--cw-colour-navy, #1C2541);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0; flex: 1;
}

/* ── 7-9 responsive (same breakpoint family as section 6) ──────────────────── */

@media (max-width: 620px) {
  .cwe-progress__checkin { margin-left: 0; width: 100%; }
  .cwe-check__body { padding: 18px; }
  .cwe-check__prompt { font-size: 16px; }
}
