/* POLWAX Site 1.5.0 – Hero Pro, Industries Pro, Application Explorer.
   Every rule is scoped to .pwx-hx so existing POLWAX components are not affected. */
.pwx-hx {
	--hx-yellow: #FDD400; --hx-yellow-d: #EBC400; --hx-green: #00AB84; --hx-green-d: #00775C; --hx-navy: #0B3D6B; --hx-navy-2: #0D4A82;
	--hx-text: #183B50; --hx-muted: #4A6475; --hx-bg: #F6F9FA; --hx-line: #DCE5EA; --hx-screen: #36E0A8; --hx-red: #E5484D; --hx-amber: #F5A524;
	--hx-ff: var(--polwax-font, Arial, Helvetica, sans-serif); /* 1.5.9: Arial */
	--hx-max: 1240px; --hx-gut: 24px;
	font-family: var(--hx-ff); color: var(--hx-text); line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.pwx-hx *, .pwx-hx *::before, .pwx-hx *::after { box-sizing: border-box; }
.pwx-hx :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
.pwx-hx :where(ul, ol) { list-style: none; }
.pwx-hx :where(img) { max-width: 100%; height: auto; display: block; border: 0; }
.pwx-hx :where(h1, h2, h3, h4) { font-family: var(--hx-ff); color: var(--hx-navy); letter-spacing: -.015em; text-transform: none; line-height: 1.15; }
.pwx-hx .tnum, .pwx-hx .hx-ro__val { font-variant-numeric: tabular-nums; }
.pwx-hx :focus-visible { outline: 3px solid var(--hx-yellow); outline-offset: 2px; }
.pwx-hx button { font-family: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; text-decoration: none; }
.pwx-hx .hx-wrap { max-width: calc(var(--hx-max) + 2 * var(--hx-gut)); margin: 0 auto; padding: 0 var(--hx-gut); } /* 1.5.7: content 1240 px, aligned with header, footer and catalogue */
.pwx-hx .hx-ic { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; }
@media (max-width: 767px) { .pwx-hx { --hx-gut: 16px; } }
@media (prefers-reduced-motion: reduce) { .pwx-hx *, .pwx-hx *::before, .pwx-hx *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

/* shared heading block */
.pwx-hx .hx-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-yellow); margin-bottom: 18px; }
.pwx-hx .hx-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--hx-yellow); }
.pwx-hx .hx-eyebrow--dark { color: var(--hx-green-d); }
.pwx-hx .hx-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 40px; }
.pwx-hx .hx-head__text { max-width: 720px; }
.pwx-hx .hx-h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 800; letter-spacing: -.025em; }
.pwx-hx .hx-h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.pwx-hx .hx-lead { margin-top: 14px; font-size: 1.06rem; color: var(--hx-muted); max-width: 62ch; }
.pwx-hx a.hx-textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--hx-navy); text-decoration: none; border-bottom: 2px solid var(--hx-yellow); padding-bottom: 3px; white-space: nowrap; }
.pwx-hx a.hx-textlink:hover { color: var(--hx-green-d); }

/* buttons */
.pwx-hx a.hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 10px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.pwx-hx a.hx-btn--primary { background: var(--hx-yellow); border-color: var(--hx-yellow); color: var(--hx-navy); }
.pwx-hx a.hx-btn--primary:hover { background: var(--hx-yellow-d); border-color: var(--hx-yellow-d); color: var(--hx-navy); }
.pwx-hx a.hx-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.pwx-hx a.hx-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--hx-navy); }
.pwx-hx a.hx-btn--link { background: transparent; color: #fff; padding: 0 6px 0 0; /* 1.5.9: aligns with the buttons when it wraps */ min-height: 52px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
.pwx-hx a.hx-btn--link:hover { color: var(--hx-yellow); }

/* ================================================================== Hero Pro */
.pwx-hx.hx-hero { position: relative; overflow: hidden; color: #DCE4E9; background-color: var(--hx-navy);
	background-image: radial-gradient(60% 70% at 85% 30%, rgba(253, 212, 0, .10) 0%, rgba(253, 212, 0, 0) 60%), linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: auto, 44px 44px, 44px 44px; }
.pwx-hx .hx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; padding-top: 88px; padding-bottom: 84px; }
.pwx-hx .hx-hero__title { color: #fff; font-size: clamp(2.4rem, 1.3rem + 3.4vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.pwx-hx .hx-hero__title span { color: var(--hx-yellow); }
.pwx-hx .hx-hero__lead { margin-top: 22px; font-size: 1.12rem; color: #B9C6D0; max-width: 54ch; }
.pwx-hx .hx-hero__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 34px; }
.pwx-hx .hx-hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .92rem; font-weight: 600; color: #DCE4E9; }
.pwx-hx .hx-hero__chips li { display: inline-flex; align-items: center; gap: 8px; }
.pwx-hx .hx-hero__chips .hx-ic { color: var(--hx-green); width: 18px; height: 18px; }
.pwx-hx .hx-hero__media { position: relative; padding: 26px 26px 34px 34px; }
.pwx-hx .hx-hero__media::before { content: ""; position: absolute; right: 0; bottom: 8px; width: 60%; height: 62%; background: var(--hx-yellow); border-radius: 22px; }
.pwx-hx .hx-hero__frame { position: relative; z-index: 1; border-radius: 22px; overflow: hidden; background: #fff; aspect-ratio: 5 / 4; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.pwx-hx .hx-hero__img { width: 100%; height: 100%; object-fit: cover; }
.pwx-hx .hx-hero__collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; height: 100%; background: var(--hx-line); }
.pwx-hx .hx-hero__collage li { background: #fff; display: flex; }
.pwx-hx .hx-hero__collage a, .pwx-hx .hx-hero__collage li > img { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px; text-decoration: none; }
.pwx-hx .hx-hero__collage img { max-height: 120px; width: auto; object-fit: contain; }
.pwx-hx .hx-hero__collage span { font-size: .72rem; color: var(--hx-muted); margin-top: 6px; text-align: center; }
.pwx-hx .hx-hero__tags { position: absolute; left: 18px; bottom: 18px; display: flex; gap: 0; border-radius: 999px; overflow: hidden; box-shadow: 0 6px 16px rgba(11, 61, 107, .25); }
.pwx-hx .hx-hero__tags li { background: var(--hx-navy); color: #fff; font-size: .8rem; font-weight: 700; padding: 8px 14px; }
.pwx-hx .hx-hero__tags li + li { border-left: 1px solid rgba(255, 255, 255, .18); }
.pwx-hx .hx-hero__tags li:last-child { background: var(--hx-yellow); color: var(--hx-navy); }
.pwx-hx .hx-ro { position: absolute; z-index: 2; display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 6px; padding: 12px 26px 12px 14px; min-width: 150px; border-radius: 12px; background: rgba(11, 61, 107, .88); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.pwx-hx .hx-ro__label { grid-column: 1 / -1; font-size: .72rem; color: #9FB0BC; font-weight: 600; }
.pwx-hx .hx-ro__val { color: var(--hx-screen); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.pwx-hx .hx-ro__unit { color: #9FB0BC; font-size: .8rem; font-weight: 600; }
.pwx-hx .hx-ro__dot { position: absolute; right: 10px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--hx-green); box-shadow: 0 0 0 0 rgba(0, 171, 132, .6); animation: hx-blink 2s infinite; }
@keyframes hx-blink { 0% { box-shadow: 0 0 0 0 rgba(0, 171, 132, .55); } 70% { box-shadow: 0 0 0 8px rgba(0, 171, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 171, 132, 0); } }
.pwx-hx .hx-ro--a { left: 0; top: 0; }
.pwx-hx .hx-ro--b { right: -6px; top: 42%; }
.pwx-hx .hx-ro--c { left: -4px; bottom: 34%; }
.pwx-hx .hx-hero__note { position: absolute; right: 30px; bottom: -14px; font-size: .7rem; color: #7F95A5; }
.pwx-hx .hx-hero__strip { border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); }
.pwx-hx .hx-hero__strip ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding-top: 18px; padding-bottom: 18px; font-size: .84rem; font-weight: 600; color: #9FB0BC; }
.pwx-hx .hx-hero__strip li { display: inline-flex; align-items: center; gap: 18px; }
.pwx-hx .hx-hero__strip li:not(:last-child)::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--hx-yellow); }
@media (max-width: 1024px) {
	.pwx-hx .hx-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 64px; padding-bottom: 64px; }
	.pwx-hx .hx-hero__media { max-width: 620px; }
	/* 1.5.9: measured-quantities strip on tablets: even columns, no orphaned bullets at line ends */
	.pwx-hx .hx-hero__strip ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 16px; }
	.pwx-hx .hx-hero__strip li:not(:last-child)::after { display: none; }
}
@media (max-width: 767px) {
	.pwx-hx .hx-hero__grid { padding-top: 44px; padding-bottom: 52px; gap: 36px; }
	.pwx-hx .hx-hero__lead { font-size: 1.02rem; }
	.pwx-hx a.hx-btn { min-height: 48px; padding: 0 20px; font-size: .95rem; }
	.pwx-hx .hx-hero__actions { gap: 10px; }
	.pwx-hx .hx-hero__actions a.hx-btn--primary, .pwx-hx .hx-hero__actions a.hx-btn--ghost { flex: 1 1 100%; }
	.pwx-hx .hx-hero__media { padding: 14px 14px 26px 18px; }
	.pwx-hx .hx-ro { min-width: 0; padding: 8px 22px 8px 10px; }
	.pwx-hx .hx-ro__val { font-size: 1.2rem; }
	.pwx-hx .hx-ro--b { display: none; }
	/* 1.5.9: measured quantities as a tidy three-column list instead of wrapped bullet runs */
	.pwx-hx .hx-hero__strip ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; justify-content: stretch; font-size: .8rem; padding-top: 16px; padding-bottom: 16px; }
	.pwx-hx .hx-hero__strip li { gap: 0; min-width: 0; }
	.pwx-hx .hx-hero__strip li:not(:last-child)::after { display: none; }
	/* 1.5.9: hero calls to action – stacked, full width, comfortable tap targets; chips in two columns */
	.pwx-hx .hx-hero__actions a.hx-btn--link { flex: 1 1 100%; justify-content: center; min-height: 44px; text-decoration: underline; text-decoration-color: var(--hx-yellow); text-decoration-thickness: 2px; text-underline-offset: 6px; }
	.pwx-hx .hx-hero__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin-top: 24px; }
	.pwx-hx .hx-hero__title { overflow-wrap: break-word; }
	.pwx-hx .hx-hero__note { right: 16px; bottom: -6px; }
}

/* ================================================================== Industries Pro */
.pwx-hx.hx-ind { background: #fff; padding: 96px 0; }
.pwx-hx .hx-ind__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pwx-hx .hx-ind__card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 24px; border: 1px solid var(--hx-line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pwx-hx .hx-ind__card:hover { border-color: var(--hx-navy); box-shadow: 0 18px 40px rgba(11, 61, 107, .10); transform: translateY(-2px); }
.pwx-hx .hx-ind__card::before { content: ""; position: absolute; left: -1px; top: 22px; bottom: 22px; width: 4px; border-radius: 0 4px 4px 0; background: var(--hx-yellow); opacity: 0; transition: opacity .2s; }
.pwx-hx .hx-ind__card:hover::before { opacity: 1; }
.pwx-hx .hx-ind__img { display: block; margin: -26px -26px 4px; height: 150px; overflow: hidden; border-radius: 15px 15px 0 0; }
.pwx-hx .hx-ind__img img { width: 100%; height: 100%; object-fit: cover; }
.pwx-hx .hx-ind__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: var(--hx-navy); color: var(--hx-yellow); }
.pwx-hx .hx-ind__icon .hx-ic { width: 26px; height: 26px; }
.pwx-hx .hx-ind__title { font-size: 1.16rem; font-weight: 700; padding-right: 28px; }
.pwx-hx .hx-ind__title a { color: var(--hx-navy); text-decoration: none; }
.pwx-hx .hx-ind__title a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; z-index: 0; }
.pwx-hx .hx-ind__title a:hover { color: var(--hx-green-d); }
.pwx-hx .hx-ind__text { font-size: .94rem; color: var(--hx-muted); }
.pwx-hx .hx-ind__go { position: absolute; right: 22px; top: 24px; color: var(--hx-navy); }
.pwx-hx .hx-ind__card.has-img .hx-ind__go { top: 172px; }
.pwx-hx .hx-ind__apps { position: relative; z-index: 1; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hx-line); }
.pwx-hx .hx-ind__apps > span { display: block; font-size: .74rem; font-weight: 700; color: var(--hx-muted); margin-bottom: 8px; }
.pwx-hx .hx-ind__apps ul { display: flex; flex-wrap: wrap; gap: 6px; }
.pwx-hx button.hx-apptag { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; line-height: 1.2; color: var(--hx-navy); background: var(--hx-bg); border: 1px solid var(--hx-line); border-radius: 999px; padding: 6px 11px; cursor: pointer; }
.pwx-hx button.hx-apptag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hx-yellow); box-shadow: 0 0 0 2px var(--hx-navy); }
.pwx-hx button.hx-apptag:hover, .pwx-hx button.hx-apptag:focus-visible { background: var(--hx-yellow); border-color: var(--hx-yellow); color: var(--hx-navy); }
.pwx-hx button.hx-apptag.is-static { cursor: default; }
.pwx-hx button.hx-apptag.is-static:hover { background: var(--hx-bg); border-color: var(--hx-line); }
@media (max-width: 1024px) { .pwx-hx .hx-ind__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pwx-hx.hx-ind { padding: 80px 0; } }
@media (max-width: 640px) { .pwx-hx .hx-ind__grid { grid-template-columns: minmax(0, 1fr); } .pwx-hx.hx-ind { padding: 64px 0; } }

/* ================================================================== Application Explorer */
.pwx-hx.hx-ex { background: var(--hx-bg); padding: 96px 0; }
.pwx-hx .hx-ex__stage { display: grid; grid-template-columns: 290px minmax(0, 1fr); border-radius: 20px; overflow: hidden; background: var(--hx-navy); box-shadow: 0 30px 60px rgba(11, 61, 107, .18); }
.pwx-hx .hx-ex__side { padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; }
.pwx-hx .hx-zones { display: grid; gap: 4px; }
.pwx-hx .hx-zones button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; background: transparent; color: #E8EEF2; border: 0; border-radius: 8px; padding: 9px 12px; font-size: .92rem; font-weight: 500; line-height: 1.3; cursor: pointer; }
.pwx-hx .hx-zones button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.pwx-hx .hx-zones button[aria-pressed="true"] { background: var(--hx-yellow); color: var(--hx-navy); }
.pwx-hx .hx-count { font-size: .78rem; color: #8EA2B1; font-variant-numeric: tabular-nums; }
.pwx-hx .hx-zones button[aria-pressed="true"] .hx-count { color: var(--hx-text); }
.pwx-hx .hx-help { margin-top: auto; font-size: .8rem; color: #8EA2B1; }
.pwx-hx .hx-plant { position: relative; isolation: isolate; z-index: 0; overflow: hidden; height: clamp(480px, 64vh, 680px); background: radial-gradient(120% 90% at 60% 40%, #FBFCFD 0%, #E9EFF3 55%, #D8E2E8 100%); touch-action: none; cursor: grab; }
.pwx-hx .hx-plant.dragging { cursor: grabbing; }
.pwx-hx .hx-plant.is-failed { cursor: default; }
.pwx-hx .plant-canvas { position: absolute; inset: 0; }
.pwx-hx .hotspots { position: absolute; inset: 0; pointer-events: none; }
.pwx-hx button.hs { position: absolute; left: 0; top: 0; pointer-events: auto; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; width: 0; height: 0; min-height: 0; }
.pwx-hx button.hs:hover, .pwx-hx button.hs:focus { background: none; }
.pwx-hx .hs-dot { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; background: var(--hx-yellow); border: 2px solid var(--hx-navy); box-shadow: 0 2px 6px rgba(11, 61, 107, .35); }
.pwx-hx .hs-dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 3px solid var(--hx-yellow); opacity: .9; animation: hx-pulse 2.2s ease-out infinite; }
@keyframes hx-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.pwx-hx .hs-label { position: absolute; left: 16px; top: -16px; white-space: nowrap; background: var(--hx-navy); color: #fff; font-size: .8rem; font-weight: 600; line-height: 1; padding: 8px 10px; border-radius: 6px; opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; pointer-events: none; }
.pwx-hx button.hs:hover .hs-label, .pwx-hx button.hs:focus-visible .hs-label, .pwx-hx button.hs.is-active .hs-label { opacity: 1; transform: none; }
.pwx-hx button.hs:hover, .pwx-hx button.hs:focus-visible, .pwx-hx button.hs.is-active { z-index: 999 !important; }
.pwx-hx button.hs.is-active .hs-dot { background: #fff; }
.pwx-hx button.hs.is-dim .hs-dot { opacity: .28; }
.pwx-hx button.hs.is-dim .hs-dot::after { animation: none; opacity: 0; }
.pwx-hx .hx-plant__tools { position: absolute; right: 14px; top: 14px; z-index: 5; }
.pwx-hx button.hx-plant__reset { background: rgba(255, 255, 255, .94); border: 1px solid var(--hx-line); border-radius: 8px; padding: 8px 12px; font-size: .82rem; font-weight: 600; color: var(--hx-navy); cursor: pointer; }
.pwx-hx button.hx-plant__reset:hover { background: #fff; color: var(--hx-navy); border-color: var(--hx-navy); }
.pwx-hx .hx-plant__hint { position: absolute; left: 14px; top: 14px; z-index: 5; background: rgba(255, 255, 255, .92); border-radius: 8px; padding: 8px 12px; font-size: .8rem; color: var(--hx-text); pointer-events: none; }
.pwx-hx .hx-plant__noscript { position: absolute; inset: auto 16px 16px; background: #fff; padding: 12px; border-radius: 8px; }
.pwx-hx .hx-ex__list { margin-top: 48px; }
.pwx-hx .hx-ex__zones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.pwx-hx .hx-ex__zone h4 { font-size: .86rem; font-weight: 700; color: var(--hx-muted); padding-bottom: 8px; margin-bottom: 4px; border-bottom: 2px solid var(--hx-navy); }
.pwx-hx button.hx-ex__app { display: grid; gap: 2px; width: 100%; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--hx-line); border-radius: 0; padding: 11px 0; color: var(--hx-text); cursor: pointer; }
.pwx-hx button.hx-ex__app strong { color: var(--hx-navy); font-weight: 700; font-size: .93rem; line-height: 1.35; }
.pwx-hx button.hx-ex__app span { font-size: .78rem; color: var(--hx-muted); line-height: 1.4; }
.pwx-hx button.hx-ex__app:hover, .pwx-hx button.hx-ex__app:focus { background: transparent; color: var(--hx-text); }
.pwx-hx button.hx-ex__app:hover strong { color: var(--hx-green-d); }
.pwx-hx .hx-ex__solutions { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--hx-line); }
.pwx-hx .hx-ex__solutions ul { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pwx-hx .hx-ex__solutions li a, .pwx-hx .hx-ex__solutions li span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hx-line); background: #fff; color: var(--hx-navy); font-size: .88rem; font-weight: 600; text-decoration: none; }
.pwx-hx .hx-ex__solutions li a:hover { border-color: var(--hx-navy); background: var(--hx-yellow); }
@media (max-width: 1024px) {
	.pwx-hx.hx-ex { padding: 80px 0; }
	.pwx-hx .hx-ex__stage { grid-template-columns: minmax(0, 1fr); }
	.pwx-hx .hx-ex__side, .pwx-hx .hx-plant { min-width: 0; }
	.pwx-hx .hx-zones { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
	.pwx-hx .hx-zones li { flex: 0 0 auto; }
	.pwx-hx .hx-zones button { white-space: nowrap; border: 1px solid #2B4A63; border-radius: 999px; padding: 7px 12px; font-size: .84rem; }
	.pwx-hx .hx-zones .hx-count { display: none; }
	.pwx-hx .hx-help { display: none; }
	.pwx-hx .hx-ex__zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.pwx-hx.hx-ex { padding: 64px 0; }
	.pwx-hx .hx-plant { height: 70vh; min-height: 420px; }
	.pwx-hx .hs-dot { width: 16px; height: 16px; left: -8px; top: -8px; }
	.pwx-hx .hs-dot::after { inset: -6px; }
	.pwx-hx .hs-label { display: none; }
	.pwx-hx button.hs.is-active .hs-label { display: block; }
	.pwx-hx .hx-ex__zones { grid-template-columns: minmax(0, 1fr); }
}

/* ================================================================== Drawer + simulations */
html.hx-lock { overflow: hidden; }
.pwx-hx.hx-drawer-wrap { position: relative; z-index: 100000; }
.pwx-hx .hx-scrim { position: fixed; inset: 0; background: rgba(11, 61, 107, .5); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 100000; }
.pwx-hx .hx-scrim.is-open { opacity: 1; pointer-events: auto; }
.pwx-hx .hx-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(1080px, 94vw); z-index: 100001; background: var(--hx-navy); color: #DCE4E9; display: flex; flex-direction: column; transform: translateX(102%); visibility: hidden; transition: transform .28s cubic-bezier(.2, .7, .2, 1), visibility 0s .28s; }
.pwx-hx .hx-drawer.is-open { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2, .7, .2, 1); box-shadow: -20px 0 60px rgba(11, 61, 107, .35); }
.pwx-hx .hx-drawer__head { display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pwx-hx .hx-drawer__head h2 { color: #fff; font-size: 1.45rem; font-weight: 700; margin-bottom: 4px; }
.pwx-hx .hx-drawer__head p { color: #AFC2CE; font-size: .93rem; max-width: 70ch; }
.pwx-hx button.hx-drawer__close { margin-left: auto; flex: 0 0 auto; background: rgba(255, 255, 255, .08); color: #fff; border: 0; border-radius: 8px; padding: 10px 16px; font-size: .86rem; font-weight: 700; cursor: pointer; }
.pwx-hx button.hx-drawer__close:hover { background: var(--hx-yellow); color: var(--hx-navy); }
.pwx-hx .hx-drawer__body { overflow-y: auto; padding: 18px 24px 28px; flex: 1; overscroll-behavior: contain; }
.pwx-hx .hx-drawer__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 24px; }
.pwx-hx .hx-drawer__cols h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.pwx-hx .hx-steps { counter-reset: hxs; display: grid; gap: 10px; }
.pwx-hx .hx-steps li { counter-increment: hxs; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: .9rem; color: #C3CED6; }
.pwx-hx .hx-steps li::before { content: counter(hxs); width: 28px; height: 28px; border-radius: 50%; background: var(--hx-yellow); color: var(--hx-navy); font-weight: 700; font-size: .82rem; display: flex; align-items: center; justify-content: center; }
.pwx-hx .hx-drawer__why { margin-top: 14px; font-size: .86rem; color: #8EA2B1; }
.pwx-hx .hx-pcards { display: grid; gap: 10px; }
.pwx-hx .hx-pcard { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: start; background: rgba(255, 255, 255, .05); border-radius: 10px; padding: 10px; }
.pwx-hx .hx-pcard__img { width: 72px; height: 72px; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 6px; }
.pwx-hx .hx-pcard__img img { max-height: 100%; width: auto; object-fit: contain; }
.pwx-hx .hx-pcard__img--none { background: var(--hx-navy-2); }
.pwx-hx .hx-pcard strong { display: block; font-size: .92rem; line-height: 1.3; }
.pwx-hx .hx-pcard strong a { color: #fff; text-decoration: underline; text-decoration-color: rgba(253, 212, 0, .7); text-underline-offset: 3px; }
.pwx-hx .hx-pcard strong a:hover { color: var(--hx-yellow); }
.pwx-hx .hx-pcard__model { display: block; font-size: .76rem; color: #8EA2B1; margin-top: 2px; }
.pwx-hx .hx-pcard__kv { margin-top: 6px; font-size: .78rem; display: grid; gap: 2px; }
.pwx-hx .hx-pcard__kv li { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .06); padding-top: 3px; }
.pwx-hx .hx-pcard__kv li span:first-child { color: #8EA2B1; }
.pwx-hx .hx-pcard__kv li span:last-child { color: #E8EEF2; text-align: right; }
.pwx-hx .hx-drawer__note { margin-top: 20px; font-size: .8rem; color: #8EA2B1; max-width: 90ch; }
.pwx-hx .hx-drawer__foot { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) { .pwx-hx .hx-drawer__cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .pwx-hx .hx-drawer { width: 100vw; } .pwx-hx .hx-drawer__head { padding: 16px; } .pwx-hx .hx-drawer__body { padding: 14px 16px 24px; } }

.pwx-hx .sim { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; background: #13283A; border-radius: 12px; padding: 14px; }
.pwx-hx .sim-stage { position: relative; background: #F6F9FA; border-radius: 8px; overflow: hidden; align-self: start; }
.pwx-hx .sim-stage svg { display: block; width: 100%; height: auto; font-family: var(--hx-ff); }
.pwx-hx .sim-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pwx-hx .sim-clock { font-size: .78rem; color: #8EA2B1; display: flex; gap: 6px; align-items: baseline; }
.pwx-hx .sim-clock b { color: #fff; font-weight: 700; font-size: .95rem; }
.pwx-hx .sim-clock .speed { color: var(--hx-yellow); font-weight: 700; }
.pwx-hx .sim-readouts { display: grid; grid-template-columns: 1fr; margin: 0; }
.pwx-hx .sim-readouts dt { font-size: .74rem; color: #8EA2B1; margin-top: 6px; }
.pwx-hx .sim-readouts dd { margin: 0; color: var(--hx-screen); font-size: 1.25rem; font-weight: 700; line-height: 1.25; display: flex; gap: 6px; align-items: baseline; font-variant-numeric: tabular-nums; }
.pwx-hx .sim-readouts dd .r-unit { font-size: .78rem; color: #8EA2B1; font-weight: 500; }
.pwx-hx .sim-readouts dd.is-alarm { color: #FF7B7F; } .pwx-hx .sim-readouts dd.is-warn { color: var(--hx-amber); } .pwx-hx .sim-readouts dd.is-info { color: #9CC9E8; }
.pwx-hx .sim-readouts dd:first-of-type { font-size: 1.9rem; }
.pwx-hx .sim-trend { background: var(--hx-navy); border-radius: 8px; padding: 8px 8px 6px; }
.pwx-hx .trend-svg { width: 100%; height: 72px; display: block; }
.pwx-hx .trend-label { font-size: .72rem; color: #8EA2B1; margin-top: 4px; } .pwx-hx .trend-label span { color: #5E7385; }
.pwx-hx .sim-output:empty { display: none; }
.pwx-hx .out-label { font-size: .72rem; color: #8EA2B1; }
.pwx-hx .out-bar { height: 8px; background: var(--hx-navy); border-radius: 4px; overflow: hidden; margin: 5px 0 3px; }
.pwx-hx .out-bar span { display: block; height: 100%; background: var(--hx-yellow); width: 0; transition: width .2s linear; }
.pwx-hx .out-val { color: #fff; font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pwx-hx .sim-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.pwx-hx button.sim-btn { font-size: .82rem; font-weight: 700; line-height: 1.3; padding: 9px 12px; border-radius: 7px; border: 1.5px solid var(--hx-yellow); background: transparent; color: var(--hx-yellow); cursor: pointer; text-align: left; }
.pwx-hx button.sim-btn:hover, .pwx-hx button.sim-btn:focus { background: rgba(253, 212, 0, .12); color: var(--hx-yellow); border-color: var(--hx-yellow); }
.pwx-hx button.sim-btn.is-primary, .pwx-hx button.sim-btn[aria-pressed="true"] { background: var(--hx-yellow); color: var(--hx-navy); }
.pwx-hx .sim-slider { display: block; width: 100%; color: #DCE4E9; font-size: .8rem; }
.pwx-hx .sl-top { display: flex; justify-content: space-between; margin-bottom: 2px; }
.pwx-hx .sl-top .tnum { color: #fff; font-weight: 700; }
.pwx-hx .sim-slider input[type="range"] { width: 100%; accent-color: var(--hx-yellow); padding: 0; border: 0; background: transparent; }
.pwx-hx .sim-choice { width: 100%; font-size: .78rem; color: #8EA2B1; }
.pwx-hx .seg { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.pwx-hx .seg button { flex: 1 1 auto; font-size: .78rem; font-weight: 700; line-height: 1.3; padding: 7px 8px; border-radius: 6px; border: 1px solid #2B4A63; background: transparent; color: #DCE4E9; cursor: pointer; }
.pwx-hx .seg button:hover, .pwx-hx .seg button:focus { background: rgba(255, 255, 255, .08); color: #fff; border-color: #2B4A63; }
.pwx-hx .seg button[aria-checked="true"] { background: #fff; color: var(--hx-navy); border-color: #fff; }
.pwx-hx .sim-log { margin: 0; padding: 0; font-size: .76rem; color: #AFC2CE; display: grid; gap: 3px; max-height: 128px; overflow: hidden; }
.pwx-hx .sim-log li { padding-left: 10px; border-left: 2px solid #2B4A63; }
.pwx-hx .sim-log li time { color: #5E7385; margin-right: 4px; }
.pwx-hx .sim-log li.is-alarm { border-color: var(--hx-red); color: #FFB3B5; } .pwx-hx .sim-log li.is-ok { border-color: var(--hx-green); } .pwx-hx .sim-log li.is-warn { border-color: var(--hx-amber); }
.pwx-hx .sim.is-alarm .sim-stage { box-shadow: 0 0 0 3px var(--hx-red); }
.pwx-hx .sim-overlay { position: absolute; inset: 0; background: rgba(11, 61, 107, .55); display: flex; align-items: center; justify-content: center; padding: 12px; }
.pwx-hx .sim-overlay[hidden] { display: none; }
.pwx-hx .ov-card { background: #fff; color: var(--hx-text); border-radius: 10px; padding: 16px 18px; width: min(520px, 100%); max-height: 100%; overflow: auto; font-size: .85rem; }
.pwx-hx .ov-card h4 { margin: 0 0 8px; font-size: 1rem; color: var(--hx-navy); }
.pwx-hx .ov-kicker { margin: 0 0 2px; color: var(--hx-muted); font-size: .76rem; }
.pwx-hx .rep-chart { width: 100%; height: auto; display: block; margin: 4px 0 8px; }
.pwx-hx .ov-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 8px; }
.pwx-hx .ov-stats dt { font-size: .7rem; color: var(--hx-muted); } .pwx-hx .ov-stats dd { margin: 0; font-weight: 700; color: var(--hx-navy); }
.pwx-hx .ov-note { color: var(--hx-muted); font-size: .76rem; margin: 0 0 10px; }
.pwx-hx .ov-table { max-height: 150px; overflow: auto; margin-bottom: 8px; }
.pwx-hx .ov-table table { width: 100%; border-collapse: collapse; font-size: .78rem; } .pwx-hx .ov-table th, .pwx-hx .ov-table td { text-align: left; padding: 3px 6px; border-bottom: 1px solid var(--hx-line); }
.pwx-hx button.ov-close { font-size: .82rem; font-weight: 700; background: var(--hx-navy); color: #fff; border: 0; border-radius: 7px; padding: 8px 12px; cursor: pointer; }
.pwx-hx button.ov-close:hover { background: var(--hx-text); color: #fff; }
.pwx-hx .wave { animation: hx-wv 1.2s ease-in-out infinite; }
@keyframes hx-wv { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (max-width: 860px) { .pwx-hx .sim { grid-template-columns: minmax(0, 1fr); } .pwx-hx .sim-readouts { grid-template-columns: 1fr 1fr; column-gap: 12px; } .pwx-hx .sim-readouts dd:first-of-type { font-size: 1.4rem; } .pwx-hx .ov-stats { grid-template-columns: 1fr 1fr; } }


/* 1.5.1: prevent application-list text from overlapping in Elementor/theme styles. */
.pwx-hx.hx-ex .hx-ex__zones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 28px 32px;
  width: 100%;
  min-width: 0;
}
.pwx-hx.hx-ex .hx-ex__zone,
.pwx-hx.hx-ex .hx-ex__zone ul,
.pwx-hx.hx-ex .hx-ex__zone li {
  min-width: 0;
  max-width: 100%;
}
.pwx-hx.hx-ex button.hx-ex__app {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 4px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.5;
}
.pwx-hx.hx-ex button.hx-ex__app strong,
.pwx-hx.hx-ex button.hx-ex__app span {
  display: block !important;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  text-overflow: clip;
}
.pwx-hx.hx-ex button.hx-ex__app strong {
  line-height: 1.4;
  margin: 0;
}
.pwx-hx.hx-ex button.hx-ex__app span {
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 1024px) {
  .pwx-hx.hx-ex .hx-ex__zones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 767px) {
  .pwx-hx.hx-ex .hx-ex__zones { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

/* 1.5.9.2 – navy #0B3D6B: the explorer's counts and help text use the existing light grey #AFC2CE on
   the navy stage (the previous #8EA2B1 has only 4.2:1 contrast on the new, lighter navy). */
.pwx-hx .hx-ex__stage .hx-count, .pwx-hx .hx-ex__stage .hx-help { color: #AFC2CE; }
