/* Vantrex Health — clinical light theme (teal, rose for oncology highlights, violet for structure) */
.lx.health {
  --bg: #f5f9f9; --bg2: #e9f2f2; --card: #ffffff; --card2: #f3f8f8;
  --ink: #0b2230; --ink2: #34505e; --mut: #5f7884; --line: #d6e3e4; --line2: #e6eeef;
  --ac: #0d9488; --ac-ink: #ffffff; --ac-soft: #dff3f0; --ac2: #e0567a; --vi: #6366f1;
  --head-bg: rgba(245, 249, 249, .84);
  --shadow: 0 1px 2px rgba(11, 34, 48, .05), 0 18px 40px rgba(11, 34, 48, .08);
}
.health .lx-hero { background: radial-gradient(60% 55% at 80% 30%, rgba(13, 148, 136, .10), transparent 70%), radial-gradient(45% 45% at 8% 100%, rgba(224, 86, 122, .07), transparent 70%); }
.health .lx-h1 .dot, .health .lx-h2 .dot { color: var(--ac2); }
.health .lx-cta { background: linear-gradient(135deg, #0b2230, #0e3340); color: #eef6f6; }
.health .lx-cta::before { background: radial-gradient(closest-side, rgba(13, 148, 136, .6), transparent); }
.health .lx-cta .lx-btn.ghost { color: #eef6f6 !important; border-color: rgba(238, 246, 246, .3); }
.health .lx-cta .dot { color: #5eead4; }
.hx-small { font-size: 12.5px; line-height: 1.5; color: var(--mut); }
.health .lx-nav { gap: 24px; }
.health .lx-nav a { white-space: nowrap; }

/* ---------- Disclaimer strip ---------- */
.hx-disc { background: #0b2230; color: #dbe9ea; }
.hx-disc-in { display: flex; align-items: center; gap: 28px; padding: 18px 0; flex-wrap: wrap; }
.hx-disc-k { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: #5eead4; flex: none; }
.hx-disc-k .ico { width: 18px; height: 18px; }
.hx-disc ul { display: flex; flex-wrap: wrap; gap: 10px 28px; flex: 1; }
.hx-disc li { position: relative; font-size: 14px; line-height: 1.4; color: #b9cfd2; padding-left: 16px; }
.hx-disc li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: #e0567a; }
.hx-disc li b { color: #fff; font-weight: 600; }

/* ---------- Gantt ---------- */
.gt .lx-fig-h .lx-legend { margin-left: auto; }
.lx-legend i.lg-t { background: #e0567a; }
.lx-legend i.lg-a { background: #0d9488; }
.lx-legend i.lg-w { background: repeating-linear-gradient(135deg, #b9cbcf 0 3px, transparent 3px 6px); box-shadow: inset 0 0 0 1px #c8d8db; }
.gt-grid { display: grid; gap: 4px; }
.gt-row { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line2); }
.gt-row:last-child { border-bottom: 0; }
.gt-row > b { font: 500 14px/1.3 var(--font-sans); color: var(--ink); }
.gt-row > b small { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: var(--mut); }
.gt-track { position: relative; height: 34px; background: linear-gradient(90deg, var(--line2) 1px, transparent 1px) 0 0 / 10% 100%; }
.gt-track s { position: absolute; height: 12px; border-radius: 3px; left: var(--l); width: 0; transition: width .9s var(--ease); transition-delay: var(--dl, 0s); }
.gt-track s.t { top: 3px; background: #e0567a; }
.gt-track s.a { top: 19px; background: #0d9488; }
.gt-track s.w { background: repeating-linear-gradient(135deg, #b9cbcf 0 3px, transparent 3px 6px); box-shadow: inset 0 0 0 1px #d0dee0; }
.gt-track s.w.a { background: repeating-linear-gradient(135deg, #9fd3cd 0 3px, transparent 3px 6px); box-shadow: inset 0 0 0 1px #c3e5e1; }
.gt.go .gt-track s { width: var(--w); }
.gt-track em { position: absolute; top: 50%; transform: translate(8px, -50%); font: 600 11px/1 var(--font-sans); font-style: normal; color: var(--mut); white-space: nowrap; opacity: 0; transition: opacity .5s 1.2s; }
.gt.go .gt-track em { opacity: 1; }
.gt-end { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 2px solid; }
.gt-axis { display: flex; justify-content: space-between; margin: 10px 0 0 218px; font-size: 12px; color: var(--mut); }

/* ---------- Step 1: monitor ---------- */
.hx-mon { display: grid !important; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.hx-mon-h { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 12.5px; color: var(--mut); }
.hx-mon-h b { font: 500 15px/1.2 var(--font-display); color: var(--ink); }
#ceaChart .grid path { stroke: var(--line2); }
#ceaChart .ax text { fill: var(--mut); font-size: 11px; }
#ceaChart .band { fill: rgba(13, 148, 136, .07); }
#ceaChart .lim { stroke: #e0567a; stroke-dasharray: 5 5; stroke-width: 1.5; }
#ceaChart .limt { fill: #c23d61; font-size: 11px; font-weight: 600; }
#ceaChart .ln { fill: none; stroke: #0b2230; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 1.6s var(--ease); }
#ceaChart .pt { fill: #fff; stroke: #0b2230; stroke-width: 2; opacity: 0; transition: opacity .3s; }
#ceaChart .pt.hot { stroke: #e0567a; fill: #e0567a; }
#ceaChart .win { fill: rgba(224, 86, 122, .08); opacity: 0; transition: opacity .5s 1.2s; }
#ceaChart .wint { fill: #c23d61; font-size: 11.5px; font-weight: 600; opacity: 0; transition: opacity .5s 1.4s; }
.on #ceaChart .ln { stroke-dashoffset: 0; }
.on #ceaChart .pt, .on #ceaChart .win, .on #ceaChart .wint { opacity: 1; }
.on #ceaChart .pt:nth-of-type(n) { transition-delay: calc(var(--k) * .15s + .2s); }
.hx-sig { display: grid; gap: 8px; }
.hx-sig li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); opacity: 0; transform: translateX(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.on .hx-sig li { opacity: 1; transform: none; }
.hx-sig li:nth-child(2) { transition-delay: .12s; } .hx-sig li:nth-child(3) { transition-delay: .24s; } .hx-sig li:nth-child(4) { transition-delay: .36s; } .hx-sig li:nth-child(5) { transition-delay: .7s; }
.hx-sig li > i { width: 10px; height: 10px; border-radius: 50%; background: #9fb3ba; margin-top: 4px; }
.hx-sig li.hot > i { background: #e0567a; box-shadow: 0 0 0 4px rgba(224, 86, 122, .16); }
.hx-sig li.warm > i { background: #f2a33a; }
.hx-sig b { display: block; font: 600 13.5px/1.3 var(--font-sans); color: var(--ink); }
.hx-sig span { display: block; font-size: 12.5px; line-height: 1.4; color: var(--mut); }
.hx-sig li.flag { background: #0b2230; border-color: #0b2230; grid-template-columns: 18px 1fr; }
.hx-sig li.flag .ico { width: 18px; height: 18px; color: #5eead4; }
.hx-sig li.flag b { color: #fff; } .hx-sig li.flag span { color: #9fc0c5; }

/* ---------- Proposal card ---------- */
.hx-prop { background: var(--card); border: 1.5px solid #6366f1; border-radius: 14px; padding: 20px 22px; display: grid; gap: 14px; box-shadow: 0 18px 40px -24px rgba(99, 102, 241, .45); }
.hx-prop-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hx-prop-h small { font: 600 11.5px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: #4f46e5; }
.hx-wait { font: 600 11.5px/1 var(--font-sans); padding: 6px 10px; border-radius: 999px; background: #fdf1d8; color: #8a5a00; white-space: nowrap; transition: background .3s, color .3s; }
.hx-wait.ok { background: #dcf3e7; color: #1d7a45; } .hx-wait.mod { background: #e6e7fd; color: #3d3fc4; } .hx-wait.no { background: #fde4ea; color: #b2264b; }
.hx-prop h4 { font: 500 20px/1.3 var(--font-display); color: var(--ink); }
.hx-reasons { display: grid; gap: 8px; }
.hx-reasons li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink2); }
.hx-reasons i { width: 22px; height: 22px; border-radius: 50%; background: #eef0ff; color: #4f46e5; font: 600 11.5px/22px var(--font-sans); font-style: normal; text-align: center; }
.hx-basis { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--ac-soft); }
.hx-basis .ico { width: 18px; height: 18px; color: var(--ac); margin-top: 2px; }
.hx-basis p { font-size: 13.5px; line-height: 1.5; color: #134e4a; }
.hx-alt { display: grid; gap: 4px; font-size: 13px; line-height: 1.45; color: var(--mut); }
.hx-alt b { color: var(--ink2); font-weight: 600; }
.hx-ev { display: flex; flex-wrap: wrap; gap: 6px; }
.hx-ev span { font-size: 12px; padding: 5px 9px; border-radius: 6px; background: var(--card2); border: 1px solid var(--line); color: var(--ink2); }
.hx-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.hx-btns > * { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border: 1px solid var(--line); background: var(--card); font: 600 14px/1 var(--font-sans); color: var(--ink); }
.hx-btns > .ok { background: #0b2230; border-color: #0b2230; color: #fff; }
.hx-btns.live button { font: 600 14px/1 var(--font-sans); cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s; }
.hx-btns.live button:hover { transform: translateY(-1px); border-color: var(--ink); }
.hx-btns.live button:disabled { opacity: .35; cursor: default; transform: none; }
.hx-btns.live button.pick { opacity: 1; box-shadow: 0 0 0 3px rgba(13, 148, 136, .35); }
.hx-reset { justify-self: start; border: 0; background: none; padding: 0; font: 600 13px/1 var(--font-sans); color: var(--ac); text-decoration: underline; text-underline-offset: 3px; }
.hx-prop.sm { padding: 18px; gap: 12px; }
.hx-prop.sm h4 { font-size: 18px; }

/* ---------- Step 3: target ---------- */
.hx-tgt { display: grid !important; grid-template-columns: 1fr; gap: 18px; align-items: start; }
#lolli { max-width: 760px; margin: 0 auto; }
#lolli text { fill: var(--ink2); font-size: 11px; }
#lolli .t-h { fill: var(--ink); font-size: 12.5px; font-weight: 600; }
#lolli .t-s { fill: var(--mut); font-size: 10.5px; }
#lolli .ax { stroke: #9fb3ba; stroke-width: 1.5; }
#lolli .zoom { fill: rgba(224, 86, 122, .06); stroke: rgba(224, 86, 122, .35); stroke-dasharray: 3 3; }
#lolli .stick { stroke: #9fb3ba; stroke-width: 1.5; }
#lolli .stick.hit { stroke: #e0567a; stroke-width: 2.5; }
#lolli .head { fill: #fff; stroke: #9fb3ba; stroke-width: 2; }
#lolli .head.hit { fill: #e0567a; stroke: #e0567a; }
#lolli .lol { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .7s var(--ease); }
.on #lolli .lol { transform: none; }
#lolli .lol:nth-of-type(2) { transition-delay: .08s; } #lolli .lol:nth-of-type(3) { transition-delay: .16s; } #lolli .lol:nth-of-type(4) { transition-delay: .24s; }
.hx-tgt-r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 18px; align-items: start; }
.hx-tgt-r .hx-oth { grid-column: 2; grid-row: 1 / span 2; }
.hx-tgt-r > p { font-size: 13.5px; line-height: 1.55; color: var(--ink2); }
.hx-find { border-radius: 12px; padding: 14px 16px; background: #fff3f6; border: 1px solid #f6c8d4; display: grid; gap: 4px; }
.hx-find small { font: 600 11px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: #b2264b; }
.hx-find b { font: 500 26px/1.1 var(--font-display); color: var(--ink); }
.hx-find span { font-size: 13px; color: #8a3a52; }
.hx-oth { display: grid; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.hx-oth li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; font-size: 13px; color: var(--ink2); }
.hx-oth li + li { border-top: 1px solid var(--line2); }
.hx-oth em { font-style: normal; font-weight: 600; color: var(--ink); text-align: right; }
.hx-oth li.watch { background: #fff8eb; } .hx-oth li.watch em { color: #8a5a00; font-weight: 500; }

/* ---------- Step 4: structure ---------- */
.hx-str { display: grid !important; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; align-items: center; background: #0d1530 !important; border-color: #0d1530 !important; }
.hx-str-v { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: radial-gradient(70% 70% at 50% 45%, #18224a, #0b1128); cursor: grab; touch-action: pan-y; }
.hx-str-v:active { cursor: grabbing; }
.hx-str-v canvas { width: 100%; height: 100%; display: block; }
.hx-pin { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 30px)); padding: 6px 10px; border-radius: 6px; background: rgba(24, 18, 40, .88); border: 1px solid rgba(255, 125, 69, .7); color: #ffd6c2; font: 600 11.5px/1 var(--font-sans); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .3s; }
.hx-pin.on { opacity: 1; }
.hx-str-r { display: grid; gap: 12px; color: #c9d3f0; }
.hx-plddt { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: #aeb8da; }
.hx-plddt i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.hx-kv { border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; padding: 11px 13px; background: rgba(255, 255, 255, .03); }
.hx-kv small { display: block; font-size: 11.5px; color: #8e99c2; }
.hx-kv b { display: block; margin-top: 4px; font: 500 16px/1.3 var(--font-display); color: #fff; }
.hx-str .hx-small { color: #8e99c2; }

/* ---------- Step 5: design table ---------- */
.hx-tbl-w { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.hx-tbl { width: 100%; min-width: 680px; border-collapse: collapse; }
.hx-tbl th, .hx-tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line2); font-size: 13.5px; vertical-align: middle; }
.hx-tbl thead th { font: 600 11px/1.3 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mut); background: var(--card2); }
.hx-tbl thead th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 11px; }
.hx-tbl tbody tr:last-child td { border-bottom: 0; }
.hx-tbl td.n { width: 34px; font: 600 13px/1 var(--font-sans); color: var(--mut); }
.hx-tbl td b { display: block; font: 600 14px/1.3 var(--font-sans); color: var(--ink); }
.hx-tbl td small { display: block; font-size: 12px; color: var(--mut); margin-top: 2px; }
.hx-bar { display: grid; grid-template-columns: 1fr 42px; gap: 8px; align-items: center; min-width: 120px; }
.hx-bar i { height: 8px; border-radius: 4px; background: var(--line2); position: relative; overflow: hidden; }
.hx-bar i::after { content: ""; position: absolute; inset: 0; width: var(--v); border-radius: 4px; background: var(--c, #6366f1); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); transition-delay: var(--dl, 0s); }
.on .hx-bar i::after { transform: none; }
.hx-bar em { font: 600 12.5px/1 var(--font-sans); font-style: normal; color: var(--ink); text-align: right; }
.hx-flag { display: inline-block; font-size: 11.5px; padding: 4px 8px; border-radius: 5px; background: #fff3e6; color: #8a4b00; margin: 2px 4px 2px 0; }
.hx-flag.none { background: #e8f6f1; color: #1d7a45; }
.hx-st { font: 600 11.5px/1 var(--font-sans); padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.hx-st.rv2 { background: #eef0ff; color: #3d3fc4; } .hx-st.q { background: #eef3f4; color: var(--mut); } .hx-st.dr { background: #fde4ea; color: #b2264b; }
.hx-tbl tr.top td { background: rgba(99, 102, 241, .04); }

/* ---------- Step 6: decide + audit ---------- */
.hx-dec { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; justify-content: stretch !important; }
.hx-audit { border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.hx-audit-h { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--mut); }
.hx-audit-h b { font: 500 15px/1.2 var(--font-display); color: var(--ink); }
.hx-audit ol { display: grid; max-height: 330px; overflow: auto; }
.hx-audit li { display: grid; grid-template-columns: 44px 12px 1fr; gap: 10px; align-items: start; padding: 10px 14px; font-size: 13px; line-height: 1.45; color: var(--ink2); border-bottom: 1px solid var(--line2); animation: hxIn .5s var(--ease) both; }
.hx-audit li:last-child { border-bottom: 0; }
.hx-audit time { font: 600 12px/1.45 var(--font-sans); color: var(--mut); }
.hx-audit li > i { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; background: #6366f1; }
.hx-audit li.dr > i { background: #0d9488; } .hx-audit li.lab > i { background: #f2a33a; } .hx-audit li.no > i { background: #e0567a; }
.hx-audit li b { color: var(--ink); font-weight: 600; }
.hx-audit li small { display: block; color: var(--mut); font-size: 12px; }
@keyframes hxIn { from { opacity: 0; transform: translateY(-6px); background: rgba(13, 148, 136, .08); } }

/* ---------- Annotated workspace ---------- */
.hx-ws { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr); gap: 32px; align-items: center; }
.hx-ws-frame { position: relative; border-radius: 14px; overflow: hidden; border: 8px solid #0b2230; box-shadow: 0 40px 80px -40px rgba(11, 34, 48, .45); background: #0b2230; }
.hx-ws-frame img { width: 100%; display: block; border-radius: 6px; }
.hx-ws-v .hx-small { margin-top: 12px; }
.hx-dot { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; margin: -13px 0 0 -13px; line-height: 26px !important; border-radius: 50%; background: #e0567a; color: #fff; font: 600 13px/28px var(--font-sans); text-align: center; box-shadow: 0 0 0 4px rgba(224, 86, 122, .25); transition: transform .3s var(--ease), box-shadow .3s; }
.hx-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(224, 86, 122, .6); animation: hxRing 2.4s var(--ease) infinite; }
.hx-dot.hi { transform: scale(1.25); box-shadow: 0 0 0 8px rgba(224, 86, 122, .25); }
@keyframes hxRing { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hx-ws-l { display: grid; gap: 4px; }
.hx-ws-l li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; cursor: default; transition: background .2s, border-color .2s; }
.hx-ws-l li:hover, .hx-ws-l li.hi { background: var(--card); border-color: var(--line); }
.hx-ws-l i { width: 28px; height: 28px; border-radius: 50%; background: #fde4ea; color: #b2264b; font: 600 13px/28px var(--font-sans); font-style: normal; text-align: center; }
.hx-ws-l b { display: block; font: 500 16px/1.3 var(--font-display); color: var(--ink); }
.hx-ws-l span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--mut); }

/* ---------- Loop diagram ---------- */
#loopSvg .nd rect { fill: var(--card); stroke: var(--line); stroke-width: 1.3; }
#loopSvg .nd.ag rect { fill: #eef0ff; stroke: #a5a8f5; }
#loopSvg .nd.dr rect { fill: #0b2230; stroke: #0b2230; }
#loopSvg .nd.dr text { fill: #fff; } #loopSvg .nd.dr text.s { fill: #9fc0c5; }
#loopSvg .nd.au rect { fill: #f3f8f8; stroke: var(--line); stroke-dasharray: 5 4; }
#loopSvg text { fill: var(--ink2); font-size: 12.5px; }
#loopSvg text.h { fill: var(--ink); font-size: 15px; font-family: var(--font-display); font-weight: 500; }
#loopSvg text.s { fill: var(--mut); font-size: 11.5px; }
#loopSvg .wire { fill: none; stroke: #9fb3ba; stroke-width: 1.6; }
#loopSvg .wire.log { stroke-dasharray: 3 5; stroke: #b6c7cb; }
#loopSvg .wire.fb { stroke: #6366f1; stroke-dasharray: 6 5; opacity: .7; }
#loopSvg .pk { fill: #0d9488; }
#loopSvg .pk.r { fill: #e0567a; }
#loopSvg .tag rect { fill: #fff; stroke: var(--line); }
#loopSvg .tag text { font-size: 11px; font-weight: 600; fill: var(--ink2); }
#loopSvg .tag.ok rect { fill: #dcf3e7; stroke: #b6e3ca; } #loopSvg .tag.ok text { fill: #1d7a45; }
#loopSvg .tag.md rect { fill: #e6e7fd; stroke: #c8cafa; } #loopSvg .tag.md text { fill: #3d3fc4; }
#loopSvg .tag.no rect { fill: #fde4ea; stroke: #f6c8d4; } #loopSvg .tag.no text { fill: #b2264b; }

.hx-never { margin-top: 28px; display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: 32px; align-items: start; }
.hx-never-h .lx-p { margin-top: 8px; }
.hx-never-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hx-never-g li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 13.5px; line-height: 1.5; color: var(--ink2); }
.hx-never-g .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #fde4ea; color: #b2264b; stroke-width: 2.4; }
.hx-never-g b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* ---------- Data pipeline ---------- */
.hx-pipe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; position: relative; counter-reset: s; }
.hx-pipe::before { content: ""; position: absolute; left: 4%; right: 4%; top: 19px; height: 2px; background: linear-gradient(90deg, #e0567a, #0d9488 45%, #0d9488); opacity: .5; }
.hx-pipe > li { position: relative; display: flex; flex-direction: column; gap: 8px; }
.hx-pipe .n { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ac); color: var(--ac); display: grid; place-items: center; font: 600 14px/1 var(--font-sans); margin-bottom: 8px; }
.hx-pipe > li:first-child .n { border-color: #e0567a; color: #e0567a; }
.hx-pipe h3 { font: 500 18px/1.25 var(--font-display); color: var(--ink); }
.hx-pipe > li > p { font-size: 13.5px; line-height: 1.5; color: var(--mut); min-height: 4.5em; }
.rec { display: grid; border: 1px solid var(--line); border-radius: 10px; background: var(--card); overflow: hidden; margin-top: 4px; }
.rec > div { display: grid; grid-template-columns: 74px 1fr; gap: 8px; padding: 7px 10px; font-size: 12.5px; }
.rec > div + div { border-top: 1px solid var(--line2); }
.rec dt { color: var(--mut); }
.rec dd { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec dd.id { color: #b2264b; }
.rec dd.cut { color: #9fb3ba; text-decoration: line-through; text-decoration-color: #e0567a; text-decoration-thickness: 2px; }
.rec dd.new { color: #0f766e; font-weight: 600; }
.rec dd.lock { color: var(--mut); font-style: italic; font-weight: 400; }
.vault { margin-top: 4px; border-radius: 10px; background: #0b2230; color: #cfe3e5; padding: 16px 12px; display: grid; gap: 8px; justify-items: start; }
.vault .ico { width: 26px; height: 26px; color: #5eead4; margin-bottom: 4px; }
.vault span { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(94, 234, 212, .12); color: #a7f3e6; }
.hx-consent { margin-top: 36px; display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: 32px; align-items: start; padding-top: 32px; border-top: 1px solid var(--line); }
.hx-consent ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hx-consent li { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); display: grid; gap: 10px; align-content: start; }
.hx-consent p { font-size: 13.5px; line-height: 1.5; color: var(--ink2); }
.cs { justify-self: start; font: 600 12px/1 var(--font-sans); padding: 6px 10px; border-radius: 999px; }
.cs.ok { background: #dcf3e7; color: #1d7a45; } .cs.wd { background: #fff1d6; color: #8a5a00; } .cs.no { background: #fde4ea; color: #b2264b; } .cs.sy { background: #e6e7fd; color: #3d3fc4; }

.hx-swipe { display: none; margin-bottom: 10px; font-size: 12px; color: var(--mut); }

@media (max-width: 1100px) {
  .lx-steps-p { min-height: 0; }
  .hx-ws { grid-template-columns: 1fr; }
  .hx-ws-l { grid-template-columns: 1fr 1fr; }
  .hx-never { grid-template-columns: 1fr; }
  .hx-pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .hx-pipe::before { display: none; }
  .hx-consent { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hx-mon, .hx-tgt, .hx-str, .hx-dec, .hx-tgt-r { grid-template-columns: 1fr; }
  .hx-tgt-r .hx-oth { grid-column: auto; grid-row: auto; }
  .hx-never-g { grid-template-columns: 1fr 1fr; }
  .hx-consent ul { grid-template-columns: 1fr 1fr; }
  .gt-row { grid-template-columns: 1fr; gap: 6px; }
  .gt-axis { margin-left: 0; }
  .hx-pipe { grid-template-columns: 1fr 1fr; }
  .hx-pipe > li > p { min-height: 0; }
}
@media (max-width: 860px) {
  .hx-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .hx-scroll #loopSvg { min-width: 780px; }
  .hx-swipe { display: block; }
}
@media (max-width: 600px) {
  .hx-scroll #lolli { min-width: 540px; }
  #ceaChart .ax text { font-size: 16px; }
  #ceaChart .limt, #ceaChart .wint { font-size: 15px; }
  .hx-disc-in { flex-direction: column; align-items: flex-start; }
  .hx-disc-in { gap: 12px; padding: 16px 0; }
  .hx-disc ul { flex-direction: column; gap: 6px; }
  .hx-ws-l, .hx-never-g, .hx-consent ul, .hx-pipe { grid-template-columns: 1fr; }
  .hx-dot { width: 20px; height: 20px; margin: -10px 0 0 -10px; font-size: 10.5px; line-height: 20px; }
  .hx-ws-frame { border-width: 4px; border-radius: 10px; }
  .hx-prop { padding: 16px; }
  .hx-prop h4 { font-size: 17px; }
  .hx-audit li { grid-template-columns: 40px 10px 1fr; padding: 9px 10px; }
}
