/* When Leadership Breaks the Compact — PHB design system */
/* Navy #0d2b4e | Teal #1d9e75 | Gold #ba7517 */

body { background: transparent !important; }

#phb-root {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	left: auto !important;
	right: auto !important;
	float: none !important;
	overflow-x: clip;
	background: #f5f7fa;
	color: #22303e;
	font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
	font-size: 17px;
	line-height: 1.6;
	text-align: left !important;
	-webkit-font-smoothing: antialiased;
}
#phb-root * { box-sizing: border-box; }
#phb-root .phb-shell {
	max-width: 1180px !important;
	margin: 0 auto !important;
	padding: 0 0 56px 0;
	text-align: left !important;
}
#phb-root h1, #phb-root h2, #phb-root h3, #phb-root h4 {
	font-family: 'Playfair Display', Georgia, serif !important;
	color: #0d2b4e;
	margin: 0 0 12px 0;
	line-height: 1.22;
}
#phb-root p { margin: 0 0 14px 0; }
#phb-root img { max-width: 100%; height: auto; display: block; }

/* ---------- Hero ---------- */
#phb-root .phb-hero {
	position: relative;
	min-height: 480px;
	display: flex;
	align-items: flex-end;
	background: #0d2b4e;
	overflow: hidden;
}
#phb-root .phb-hero-media, #phb-root .phb-hero-media img {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; object-position: center 30%;
}
#phb-root .phb-hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(13,43,78,0.42) 0%, rgba(13,43,78,0.82) 62%, rgba(13,43,78,0.96) 100%);
}
#phb-root .phb-hero-content { position: relative; padding: 190px 36px 34px 36px; width: 100%; }
#phb-root .phb-kicker {
	color: #f0b464; text-transform: uppercase; letter-spacing: 0.16em;
	font-weight: 700; font-size: 13px; margin-bottom: 10px;
}
#phb-root .phb-hero h1 { color: #ffffff; font-size: clamp(32px, 5vw, 54px); font-weight: 800; }
#phb-root .phb-hero-sub { color: #d5e2ef; font-size: clamp(16px, 2vw, 20px); max-width: 780px; }
#phb-root .phb-hero-author { color: #8fd6bb; font-weight: 700; font-size: 15px; letter-spacing: 0.04em; margin-bottom: 22px; }
#phb-root .phb-hero-stats {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
	border-top: 1px solid rgba(255,255,255,0.22); padding-top: 20px;
}
#phb-root .phb-hstat-num { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(24px, 3vw, 38px); font-weight: 800; color: #ffffff; }
#phb-root .phb-hstat-lab { display: block; color: #b9cbdd; font-size: 13px; line-height: 1.35; margin-top: 4px; }

/* ---------- Tabs ---------- */
#phb-root .phb-tabs {
	position: sticky !important;
	top: var(--wp-admin--admin-bar--height, 0px) !important;
	z-index: 40;
	display: flex; flex-wrap: wrap; gap: 4px;
	background: #0d2b4e;
	padding: 10px 14px;
	box-shadow: 0 3px 10px rgba(13,43,78,0.25);
}
#phb-root .phb-tab {
	appearance: none; border: 1px solid transparent; cursor: pointer;
	background: transparent; color: #b9cbdd;
	font-family: 'Source Sans 3', sans-serif !important;
	font-size: 14px; font-weight: 600; line-height: 1;
	padding: 9px 13px; border-radius: 999px;
	transition: background 0.2s, color 0.2s;
}
#phb-root .phb-tab:hover { color: #ffffff; background: rgba(255,255,255,0.10); }
#phb-root .phb-tab.is-active { background: #1d9e75; color: #ffffff; }

/* ---------- Panels ---------- */
#phb-root .phb-panel { display: none; padding: 34px 36px 8px 36px; }
#phb-root .phb-panel.is-active { display: block; }
#phb-root .phb-h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; border-bottom: 3px solid #1d9e75; padding-bottom: 10px; margin-bottom: 20px; }
#phb-root .phb-h3 { font-size: clamp(20px, 2.4vw, 25px); font-weight: 700; margin-top: 34px; }
#phb-root .phb-lede { font-size: 19px; color: #3c4c5e; }

/* ---------- Cards, grids, callouts ---------- */
#phb-root .phb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 16px 0; align-items: start; }
#phb-root .phb-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 16px 0; }
#phb-root .phb-card {
	background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px;
	padding: 20px 22px; box-shadow: 0 2px 8px rgba(13,43,78,0.06);
}
#phb-root .phb-card h4 { font-size: 18px; }
#phb-root .phb-card p { margin-bottom: 0; font-size: 15.5px; color: #3c4c5e; }
#phb-root .phb-card-mini h4 { font-size: 17px; color: #1d9e75; }
#phb-root .phb-card-line-teal { border-top: 4px solid #1d9e75; }
#phb-root .phb-card-line-gold { border-top: 4px solid #ba7517; }
#phb-root .phb-callout { border-radius: 12px; padding: 20px 24px; margin: 22px 0; }
#phb-root .phb-callout p:last-child { margin-bottom: 0; }
#phb-root .phb-callout-navy { background: #0d2b4e; color: #e8eef5; }
#phb-root .phb-callout-navy p { color: #e8eef5; }
#phb-root .phb-callout-teal { background: #e7f5ef; border-left: 5px solid #1d9e75; color: #17423a; }
#phb-root .phb-callout-gold { background: #fbf1e2; border-left: 5px solid #ba7517; color: #5c3a0d; }
#phb-root .phb-callout-label {
	font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
	font-size: 12.5px; margin-bottom: 6px;
}
#phb-root .phb-callout-navy .phb-callout-label { color: #f0b464; }
#phb-root .phb-callout-teal .phb-callout-label { color: #147a5a; }
#phb-root .phb-callout-gold .phb-callout-label { color: #a05f0a; }
#phb-root .phb-eq { font-size: 20px; font-weight: 700; letter-spacing: 0.02em; }

/* ---------- Tables ---------- */
#phb-root .phb-table-wrap { overflow-x: auto; margin: 14px 0 8px 0; border-radius: 12px; border: 1px solid #e2e8f0; background: #ffffff; }
#phb-root .phb-table { width: 100%; border-collapse: collapse; font-size: 15px; }
#phb-root .phb-table th, #phb-root .phb-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #e9eef4; }
#phb-root .phb-table thead th {
	background: #0d2b4e; color: #ffffff;
	font-family: 'Source Sans 3', sans-serif !important;
	text-transform: uppercase; font-size: 12.5px; letter-spacing: 0.08em;
}
#phb-root .phb-table tbody tr:nth-child(even) { background: #f7fafc; }
#phb-root .phb-table tbody tr:last-child td { border-bottom: none; }

/* Weight and confidence chips */
#phb-root .phb-weight, #phb-root .phb-conf {
	display: inline-block; padding: 3px 10px; border-radius: 999px;
	font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
#phb-root .phb-weight-high, #phb-root .phb-conf-mod { background: #e7f5ef; color: #147a5a; }
#phb-root .phb-weight-mod, #phb-root .phb-conf-low { background: #fbf1e2; color: #a05f0a; }
#phb-root .phb-weight-ctx { background: #e8eef5; color: #0d2b4e; }
#phb-root .phb-conf-emg { background: #f2e8fb; color: #6b3fa0; }
#phb-root .phb-conf-unk { background: #eef1f4; color: #55657a; }

/* ---------- Charts ---------- */
#phb-root .phb-chartbox {
	position: relative; background: #ffffff; border: 1px solid #e2e8f0;
	border-radius: 12px; padding: 14px; margin: 14px 0 6px 0;
	overflow: hidden !important;
	box-shadow: 0 2px 8px rgba(13,43,78,0.06);
}
#phb-root .phb-source { font-size: 13.5px; color: #6a7a8c; margin: 4px 0 18px 0; }

/* Published-figure toggle */
#phb-root .phb-figtoggle { margin: 4px 0 20px 0; }
#phb-root .phb-fig { display: none; margin-top: 12px; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; background: #ffffff; }
#phb-root .phb-fig.is-open { display: block; }
#phb-root .phb-featured { margin: 18px 0 24px 0; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; background: #ffffff; }
#phb-root .phb-featured figcaption, #phb-root .phb-photo figcaption {
	padding: 12px 16px; font-size: 13.5px; color: #55657a; background: #f7fafc; border-top: 1px solid #e9eef4;
}
#phb-root .phb-photo { margin: 18px 0 24px 0; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; background: #ffffff; }

/* ---------- Buttons ---------- */
#phb-root .phb-btn {
	appearance: none; cursor: pointer; border-radius: 999px;
	font-family: 'Source Sans 3', sans-serif !important;
	font-size: 15px; font-weight: 700; padding: 10px 20px; line-height: 1;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
#phb-root .phb-btn-solid { background: #1d9e75; color: #ffffff; border: 2px solid #1d9e75; }
#phb-root .phb-btn-solid:hover { background: #147a5a; border-color: #147a5a; }
#phb-root .phb-btn-ghost { background: transparent; color: #0d2b4e; border: 2px solid #0d2b4e; }
#phb-root .phb-btn-ghost:hover { background: #0d2b4e; color: #ffffff; }

/* ---------- Practices / stats ---------- */
#phb-root .phb-practices { display: grid; gap: 10px; margin: 14px 0; }
#phb-root .phb-practice {
	display: flex; gap: 14px; align-items: flex-start;
	background: #ffffff; border: 1px solid #e2e8f0; border-left: 5px solid #ba7517;
	border-radius: 10px; padding: 14px 18px;
}
#phb-root .phb-practice p { margin: 0; font-size: 15.5px; }
#phb-root .phb-pnum {
	flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
	background: #ba7517; color: #ffffff; display: flex; align-items: center; justify-content: center;
	font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: 16px;
}
#phb-root .phb-statrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 16px 0; }
#phb-root .phb-statstack { display: grid; gap: 14px; align-content: start; }
#phb-root .phb-stat {
	background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px;
	padding: 16px 18px; box-shadow: 0 2px 8px rgba(13,43,78,0.06);
}
#phb-root .phb-stat-num { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 28px; font-weight: 800; color: #1d9e75; }
#phb-root .phb-stat-lab { display: block; font-size: 13.5px; color: #55657a; margin-top: 3px; line-height: 1.4; }

/* ---------- Calculator ---------- */
#phb-root .phb-calc {
	display: grid; grid-template-columns: 320px 1fr; gap: 20px;
	background: #0d2b4e; border-radius: 14px; padding: 24px; margin: 16px 0 8px 0;
}
#phb-root .phb-calc-inputs { display: grid; gap: 12px; align-content: start; }
#phb-root .phb-calc-inputs label { color: #b9cbdd; font-size: 13.5px; font-weight: 600; display: block; }
#phb-root .phb-calc-inputs input {
	display: block; width: 100%; margin-top: 4px;
	background: #ffffff; color: #22303e; border: 1px solid #33507a; border-radius: 8px;
	padding: 9px 12px; font-size: 16px; font-family: 'Source Sans 3', sans-serif !important;
}
#phb-root .phb-calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
#phb-root .phb-calc-cell { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; padding: 16px 18px; }
#phb-root .phb-calc-hi { background: rgba(29,158,117,0.25); border-color: #1d9e75; }
#phb-root .phb-calc-num { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 30px; font-weight: 800; color: #ffffff; }
#phb-root .phb-calc-hi .phb-calc-num { color: #8fd6bb; }
#phb-root .phb-calc-lab { display: block; color: #b9cbdd; font-size: 13px; margin-top: 4px; line-height: 1.35; }

/* ---------- Pathway (Figure 3) ---------- */
#phb-root .phb-pathway { position: relative; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 30px 26px 22px 26px; margin: 16px 0 8px 0; }
#phb-root .phb-path-line { position: absolute; top: 44px; left: 8%; right: 8%; height: 4px; background: #e2e8f0; border-radius: 2px; }
#phb-root .phb-path-progress { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #1d9e75, #ba7517); border-radius: 2px; transform-origin: left center; }
#phb-root .phb-path-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
#phb-root .phb-path-step { text-align: center; padding: 0 4px; }
#phb-root .phb-path-dot {
	display: block; width: 22px; height: 22px; margin: 0 auto 14px auto;
	border-radius: 50%; background: #1d9e75; border: 4px solid #ffffff;
	box-shadow: 0 0 0 2px #1d9e75;
}
#phb-root .phb-path-step:nth-child(5) .phb-path-dot { background: #ba7517; box-shadow: 0 0 0 2px #ba7517; }
#phb-root .phb-path-step h4 { font-size: 16.5px; margin-bottom: 6px; }
#phb-root .phb-path-step p { font-size: 13.5px; color: #55657a; margin: 0; }

/* Pathway animation (JS-gated) */
#phb-root.phb-js-anim .phb-path-progress { transform: scaleX(0); }
#phb-root.phb-js-anim .phb-pathway.phb-inview .phb-path-progress { transform: scaleX(1); transition: transform 2.4s ease-in-out; }
#phb-root.phb-js-anim .phb-pathway .phb-path-step { opacity: 0; transform: translateY(10px); }
#phb-root.phb-js-anim .phb-pathway.phb-inview .phb-path-step { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }
#phb-root.phb-js-anim .phb-pathway.phb-inview .phb-path-step[data-step="1"] { transition-delay: 0.1s; }
#phb-root.phb-js-anim .phb-pathway.phb-inview .phb-path-step[data-step="2"] { transition-delay: 0.55s; }
#phb-root.phb-js-anim .phb-pathway.phb-inview .phb-path-step[data-step="3"] { transition-delay: 1.0s; }
#phb-root.phb-js-anim .phb-pathway.phb-inview .phb-path-step[data-step="4"] { transition-delay: 1.45s; }
#phb-root.phb-js-anim .phb-pathway.phb-inview .phb-path-step[data-step="5"] { transition-delay: 1.9s; }

/* ---------- Attribution zones ---------- */
#phb-root .phb-zones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
#phb-root .phb-zone { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px 20px; }
#phb-root .phb-zone-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
#phb-root .phb-zone-head h4 { margin: 0; font-size: 18px; }
#phb-root .phb-dot { width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto; }
#phb-root .phb-dot-teal { background: #1d9e75; }
#phb-root .phb-dot-gold { background: #ba7517; }
#phb-root .phb-dot-navy { background: #0d2b4e; }
#phb-root .phb-dot-grey { background: #8fa0b3; }
#phb-root .phb-zone p { font-size: 14.5px; margin-bottom: 6px; }
#phb-root .phb-zone-int { color: #147a5a; font-weight: 700; margin-bottom: 0 !important; }

/* ---------- Anatomy chips ---------- */
#phb-root .phb-anatomy { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 18px 0; }
#phb-root .phb-anat {
	background: #ffffff; border: 2px solid #1d9e75; color: #0d2b4e;
	border-radius: 999px; padding: 9px 16px; font-size: 14.5px; font-weight: 600;
}
#phb-root.phb-js-anim .phb-anat { opacity: 0; transform: translateY(8px); }
#phb-root.phb-js-anim .phb-anatomy.phb-inview .phb-anat { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }
#phb-root.phb-js-anim .phb-anatomy.phb-inview .phb-anat[data-step="2"] { transition-delay: 0.15s; }
#phb-root.phb-js-anim .phb-anatomy.phb-inview .phb-anat[data-step="3"] { transition-delay: 0.3s; }
#phb-root.phb-js-anim .phb-anatomy.phb-inview .phb-anat[data-step="4"] { transition-delay: 0.45s; }
#phb-root.phb-js-anim .phb-anatomy.phb-inview .phb-anat[data-step="5"] { transition-delay: 0.6s; }
#phb-root.phb-js-anim .phb-anatomy.phb-inview .phb-anat[data-step="6"] { transition-delay: 0.75s; }
#phb-root.phb-js-anim .phb-anatomy.phb-inview .phb-anat[data-step="7"] { transition-delay: 0.9s; }
#phb-root.phb-js-anim .phb-anatomy.phb-inview .phb-anat[data-step="8"] { transition-delay: 1.05s; }

/* ---------- Demands ---------- */
#phb-root .phb-demands { display: grid; grid-template-columns: 300px 1fr; gap: 20px; margin: 18px 0; align-items: start; }
#phb-root .phb-demand-nav { display: grid; gap: 6px; }
#phb-root .phb-dbtn {
	appearance: none; cursor: pointer; text-align: left;
	display: flex; align-items: center; gap: 12px;
	background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px;
	padding: 11px 14px; font-family: 'Source Sans 3', sans-serif !important;
	font-size: 14.5px; font-weight: 600; color: #22303e;
	transition: border-color 0.2s, background 0.2s;
}
#phb-root .phb-dbtn span {
	flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
	background: #e8eef5; color: #0d2b4e; display: flex; align-items: center; justify-content: center;
	font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: 14px;
}
#phb-root .phb-dbtn:hover { border-color: #1d9e75; }
#phb-root .phb-dbtn.is-active { background: #0d2b4e; border-color: #0d2b4e; color: #ffffff; }
#phb-root .phb-dbtn.is-active span { background: #1d9e75; color: #ffffff; }
#phb-root .phb-demand-detail { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 26px 28px; min-height: 300px; }
#phb-root .phb-dpanel { display: none; }
#phb-root .phb-dpanel.is-active { display: block; }
#phb-root .phb-dpanel h4 { font-size: 22px; color: #1d9e75; }
#phb-root .phb-dpanel p { font-size: 15.5px; }
#phb-root .phb-dconseq { background: #fbf1e2; border-left: 4px solid #ba7517; border-radius: 8px; padding: 12px 16px; }

/* ---------- Heatmap ---------- */
#phb-root .phb-heatmap-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 18px; margin: 14px 0; align-items: start; }
#phb-root .phb-heatmap { width: 100%; border-collapse: collapse; background: #ffffff; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; font-size: 14px; }
#phb-root .phb-heatmap th, #phb-root .phb-heatmap td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #e9eef4; }
#phb-root .phb-heatmap thead th { background: #0d2b4e; color: #ffffff; text-transform: uppercase; font-size: 12px; letter-spacing: 0.06em; font-family: 'Source Sans 3', sans-serif !important; }
#phb-root .phb-heatmap tbody th { font-weight: 700; color: #0d2b4e; background: #f7fafc; font-family: 'Source Sans 3', sans-serif !important; }
#phb-root .phb-heatmap td { cursor: pointer; font-weight: 700; text-align: center; transition: filter 0.15s; }
#phb-root .phb-heatmap td:hover { filter: brightness(0.94); }
#phb-root .phb-heatmap td.hm-ok { background: #d9f0e6; color: #147a5a; }
#phb-root .phb-heatmap td.hm-warn { background: #fbeccd; color: #a05f0a; }
#phb-root .phb-heatmap td.hm-red { background: #f7d9d2; color: #a33a25; }
#phb-root .phb-heatmap td.is-selected { outline: 3px solid #0d2b4e; outline-offset: -3px; }
#phb-root .phb-heatmap-resp { background: #0d2b4e; color: #e8eef5; border-radius: 12px; padding: 18px 20px; font-size: 14.5px; min-height: 120px; }
#phb-root .phb-heatmap-resp h5 { color: #f0b464; font-family: 'Playfair Display', Georgia, serif; font-size: 16px; margin: 0 0 6px 0; }
#phb-root .phb-heatmap-resp p { margin: 0; color: #e8eef5; }

/* ---------- Roadmap ---------- */
#phb-root .phb-roadmap { position: relative; margin: 18px 0; padding-left: 34px; display: grid; gap: 20px; }
#phb-root .phb-roadmap::before { content: ""; position: absolute; left: 10px; top: 14px; bottom: 14px; width: 4px; background: #e2e8f0; border-radius: 2px; }
#phb-root .phb-road-step { position: relative; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px 22px; }
#phb-root .phb-road-dot {
	position: absolute; left: -32px; top: 22px; width: 20px; height: 20px;
	border-radius: 50%; background: #1d9e75; border: 4px solid #f5f7fa; box-shadow: 0 0 0 2px #1d9e75;
}
#phb-root .phb-road-step h4 { font-size: 19px; }
#phb-root .phb-road-step p { margin: 0; font-size: 15px; color: #3c4c5e; }
#phb-root.phb-js-anim .phb-road-step { opacity: 0; transform: translateY(12px); }
#phb-root.phb-js-anim .phb-roadmap.phb-inview .phb-road-step { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }
#phb-root.phb-js-anim .phb-roadmap.phb-inview .phb-road-step[data-step="2"] { transition-delay: 0.35s; }
#phb-root.phb-js-anim .phb-roadmap.phb-inview .phb-road-step[data-step="3"] { transition-delay: 0.7s; }
#phb-root.phb-js-anim .phb-roadmap.phb-inview .phb-road-step[data-step="4"] { transition-delay: 1.05s; }

/* ---------- Stepped wedge ---------- */
#phb-root .phb-wedge { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 22px; margin: 14px 0 6px 0; overflow-x: auto; }
#phb-root .phb-wedge-grid { display: grid; grid-template-columns: 110px repeat(5, 1fr); gap: 8px; min-width: 620px; }
#phb-root .phb-wedge-rowlab { font-weight: 700; color: #0d2b4e; font-size: 14px; display: flex; align-items: center; }
#phb-root .phb-wedge-collab { text-align: center; font-size: 13px; color: #6a7a8c; font-weight: 600; padding-top: 4px; }
#phb-root .wcell { border-radius: 8px; text-align: center; font-size: 13.5px; font-weight: 700; padding: 14px 6px; }
#phb-root .wc-base { background: #eef1f4; color: #55657a; }
#phb-root .wc-int { background: #1d9e75; color: #ffffff; }
#phb-root.phb-js-anim .wc-int { opacity: 0.12; }
#phb-root.phb-js-anim .phb-wedge.phb-inview .wc-int { opacity: 1; transition: opacity 0.8s ease; }
#phb-root.phb-js-anim .phb-wedge.phb-inview .wc-int[data-order="2"] { transition-delay: 0.5s; }
#phb-root.phb-js-anim .phb-wedge.phb-inview .wc-int[data-order="3"] { transition-delay: 1.0s; }
#phb-root.phb-js-anim .phb-wedge.phb-inview .wc-int[data-order="4"] { transition-delay: 1.5s; }

/* ---------- Readiness ---------- */
#phb-root .phb-scale-key { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px 20px; font-size: 14.5px; margin: 12px 0 18px 0; }
#phb-root .phb-assess { display: grid; gap: 10px; }
#phb-root .phb-aitem {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 18px;
}
#phb-root .phb-aitem-crit { border-left: 5px solid #ba7517; }
#phb-root .phb-crit-flag { display: inline-block; background: #fbf1e2; color: #a05f0a; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 999px; padding: 2px 9px; margin-left: 8px; }
#phb-root .phb-aq { margin: 0; font-weight: 600; font-size: 15.5px; }
#phb-root .phb-aopts { display: flex; gap: 6px; flex: 0 0 auto; }
#phb-root .phb-aopt {
	appearance: none; cursor: pointer; width: 40px; height: 40px; border-radius: 50%;
	border: 2px solid #cbd6e2; background: #ffffff; color: #55657a;
	font-family: 'Source Sans 3', sans-serif !important; font-size: 15px; font-weight: 700;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}
#phb-root .phb-aopt:hover { border-color: #1d9e75; color: #1d9e75; }
#phb-root .phb-aopt.is-selected { background: #1d9e75; border-color: #1d9e75; color: #ffffff; }
#phb-root .phb-assess-actions { display: flex; gap: 12px; margin-top: 8px; }
#phb-root .phb-result {
	display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center;
	background: #0d2b4e; border-radius: 14px; padding: 26px 28px; margin: 20px 0 8px 0;
}
#phb-root .phb-ring-wrap { position: relative; width: 160px; height: 160px; margin: 0 auto; }
#phb-root .phb-ring { width: 160px; height: 160px; transform: rotate(-90deg); }
#phb-root .phb-ring-bg { fill: none; stroke: rgba(255,255,255,0.15); stroke-width: 12; }
#phb-root .phb-ring-val { fill: none; stroke: #1d9e75; stroke-width: 12; stroke-linecap: round; stroke-dasharray: 414.7; transition: stroke-dashoffset 1.6s ease-in-out, stroke 0.4s; }
#phb-root .phb-ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #ffffff; }
#phb-root .phb-ring-text span { font-family: 'Playfair Display', Georgia, serif; font-size: 42px; font-weight: 800; line-height: 1; }
#phb-root .phb-ring-text small { color: #b9cbdd; font-size: 13px; margin-top: 2px; }
#phb-root .phb-result-text h4 { color: #ffffff; font-size: 24px; }
#phb-root .phb-result-text p { color: #d5e2ef; font-size: 15.5px; margin-bottom: 8px; }
#phb-root .phb-result-move { color: #8fd6bb !important; font-weight: 700; }

/* ---------- References ---------- */
#phb-root .phb-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px 0; }
#phb-root .phb-pill {
	appearance: none; cursor: pointer; border-radius: 999px;
	border: 2px solid #0d2b4e; background: transparent; color: #0d2b4e;
	font-family: 'Source Sans 3', sans-serif !important; font-size: 14px; font-weight: 700;
	padding: 8px 16px; line-height: 1; transition: background 0.2s, color 0.2s;
}
#phb-root .phb-pill:hover { background: rgba(13,43,78,0.08); }
#phb-root .phb-pill.is-active { background: #0d2b4e; color: #ffffff; }
#phb-root .phb-refs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
#phb-root .phb-refs li { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 14px 18px; font-size: 14.5px; }
#phb-root .phb-refs li.is-hidden { display: none; }
#phb-root .phb-refs a { color: #1d9e75; font-weight: 700; text-decoration: none; }
#phb-root .phb-refs a:hover { text-decoration: underline; }

#phb-root .phb-footer { margin-top: 40px; border-top: 3px solid #0d2b4e; padding-top: 18px; }
#phb-root .phb-footer p { margin: 0 0 4px 0; color: #55657a; font-size: 14px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	#phb-root.phb-js-anim .phb-path-progress,
	#phb-root.phb-js-anim .phb-path-step,
	#phb-root.phb-js-anim .phb-anat,
	#phb-root.phb-js-anim .phb-road-step,
	#phb-root.phb-js-anim .wc-int {
		opacity: 1 !important; transform: none !important; transition: none !important;
	}
	#phb-root .phb-ring-val { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	#phb-root .phb-grid-3 { grid-template-columns: 1fr 1fr; }
	#phb-root .phb-statrow { grid-template-columns: 1fr 1fr; }
	#phb-root .phb-demands { grid-template-columns: 1fr; }
	#phb-root .phb-demand-nav { grid-template-columns: 1fr 1fr; }
	#phb-root .phb-heatmap-wrap { grid-template-columns: 1fr; }
	#phb-root .phb-calc { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	#phb-root .phb-panel { padding: 26px 18px 8px 18px; }
	#phb-root .phb-hero-content { padding: 150px 18px 26px 18px; }
	#phb-root .phb-hero-stats { grid-template-columns: 1fr 1fr; }
	#phb-root .phb-grid-2, #phb-root .phb-grid-3, #phb-root .phb-zones { grid-template-columns: 1fr; }
	#phb-root .phb-statrow { grid-template-columns: 1fr; }
	#phb-root .phb-path-steps { grid-template-columns: 1fr; gap: 18px; }
	#phb-root .phb-path-line { display: none; }
	#phb-root .phb-demand-nav { grid-template-columns: 1fr; }
	#phb-root .phb-result { grid-template-columns: 1fr; text-align: center; }
	#phb-root .phb-scale-key { grid-template-columns: 1fr; }
	#phb-root .phb-aitem { flex-direction: column; align-items: flex-start; }
	#phb-root .phb-calc-out { grid-template-columns: 1fr; }
}

/* ---------- Theme hardening: force critical backgrounds and text colors ---------- */
#phb-root .phb-callout { background-image: none !important; }
#phb-root .phb-callout-navy { background: #0d2b4e !important; color: #e8eef5 !important; }
#phb-root .phb-callout-navy p, #phb-root .phb-callout-navy strong { color: #e8eef5 !important; }
#phb-root .phb-callout-navy .phb-callout-label { color: #f0b464 !important; }
#phb-root .phb-callout-teal { background: #e7f5ef !important; color: #17423a !important; }
#phb-root .phb-callout-teal p, #phb-root .phb-callout-teal strong { color: #17423a !important; }
#phb-root .phb-callout-teal .phb-callout-label { color: #147a5a !important; }
#phb-root .phb-callout-gold { background: #fbf1e2 !important; color: #5c3a0d !important; }
#phb-root .phb-callout-gold p, #phb-root .phb-callout-gold strong { color: #5c3a0d !important; }
#phb-root .phb-callout-gold .phb-callout-label { color: #a05f0a !important; }
#phb-root h1, #phb-root .phb-h2, #phb-root .phb-h3, #phb-root .phb-card h4, #phb-root .phb-zone h4, #phb-root .phb-road-step h4, #phb-root .phb-path-step h4 { color: #0d2b4e !important; background: none !important; -webkit-text-fill-color: #0d2b4e !important; text-shadow: none !important; }
#phb-root .phb-hero h1 { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
#phb-root .phb-hero-sub { color: #d5e2ef !important; }
#phb-root .phb-hero-author { color: #8fd6bb !important; }
#phb-root .phb-kicker { color: #f0b464 !important; }
#phb-root .phb-hstat-num { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
#phb-root .phb-hstat-lab { color: #b9cbdd !important; }
#phb-root .phb-dpanel h4 { color: #1d9e75 !important; -webkit-text-fill-color: #1d9e75 !important; }
#phb-root .phb-card-mini h4 { color: #1d9e75 !important; -webkit-text-fill-color: #1d9e75 !important; }
#phb-root .phb-table thead th { background: #0d2b4e !important; color: #ffffff !important; }
#phb-root .phb-heatmap thead th { background: #0d2b4e !important; color: #ffffff !important; }
#phb-root .phb-tabs { background: #0d2b4e !important; }
#phb-root .phb-tab { color: #b9cbdd !important; background: transparent !important; }
#phb-root .phb-tab:hover { color: #ffffff !important; background: rgba(255,255,255,0.10) !important; }
#phb-root .phb-tab.is-active { background: #1d9e75 !important; color: #ffffff !important; }
#phb-root .phb-calc { background: #0d2b4e !important; }
#phb-root .phb-calc-inputs label { color: #b9cbdd !important; }
#phb-root .phb-calc-num { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
#phb-root .phb-calc-hi .phb-calc-num { color: #8fd6bb !important; -webkit-text-fill-color: #8fd6bb !important; }
#phb-root .phb-calc-lab { color: #b9cbdd !important; }
#phb-root .phb-result { background: #0d2b4e !important; }
#phb-root .phb-result-text h4 { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
#phb-root .phb-result-text p { color: #d5e2ef !important; }
#phb-root .phb-result-move { color: #8fd6bb !important; }
#phb-root .phb-ring-text span { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
#phb-root .phb-ring-text small { color: #b9cbdd !important; }
#phb-root .phb-heatmap-resp { background: #0d2b4e !important; color: #e8eef5 !important; }
#phb-root .phb-heatmap-resp p { color: #e8eef5 !important; }
#phb-root .phb-heatmap-resp h5 { color: #f0b464 !important; }
#phb-root .phb-card { background: #ffffff !important; }
#phb-root .phb-card p { color: #3c4c5e !important; }
#phb-root .phb-btn-solid { background: #1d9e75 !important; color: #ffffff !important; }
#phb-root .phb-btn-solid:hover { background: #147a5a !important; }
#phb-root .phb-btn-ghost { background: transparent !important; color: #0d2b4e !important; }
#phb-root .phb-btn-ghost:hover { background: #0d2b4e !important; color: #ffffff !important; }
#phb-root .phb-pill.is-active { background: #0d2b4e !important; color: #ffffff !important; }
#phb-root .phb-dbtn.is-active { background: #0d2b4e !important; color: #ffffff !important; }
#phb-root .phb-panel p, #phb-root .phb-lede { opacity: 1 !important; filter: none !important; }
#phb-root .phb-callout, #phb-root .phb-card, #phb-root .phb-hero-content { opacity: 1 !important; filter: none !important; transform: none !important; }
