/* How it works: evidence to decision (14 Nov 2026). Four evidence kinds feed a practical next step; no merged score. */
.hx { background: linear-gradient(170deg, #04122b 0%, #0a2a40 100%); color: #DCE8F0; }
.hx-kicker { margin: 0 0 0.5rem; font-size: var(--ds-t-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #F5A32B; }
.hx h2 { color: #fff; margin: 0 0 0.75rem; max-width: 34rem; }
.hx-intro { max-width: 46rem; margin: 0 0 1.5rem; color: #CFDDE7; }
.hx-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.hx-tab { font: inherit; font-weight: 600; font-size: var(--ds-t-s); min-height: 44px; padding: 0.55rem 1rem; border-radius: 999px; border: 1.5px solid rgba(158, 216, 236, 0.55); background: transparent; color: #fff; cursor: pointer; }
.hx-tab[aria-pressed="true"] { background: #F5A32B; border-color: #F5A32B; color: #04122b; }
.hx-tab:focus-visible { outline: 3px solid #9ED8EC; outline-offset: 2px; }
.hx-board { display: grid; grid-template-columns: minmax(0, 1fr) 3.5rem minmax(0, 1.1fr); gap: 0; align-items: stretch; }
.hx-srcs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.hx-src { padding: 0.85rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); transition: opacity 0.3s, border-color 0.3s, background 0.3s; }
.hx-src h3 { margin: 0 0 0.25rem; font-size: 1rem; color: #fff; }
.hx-src p { margin: 0; font-size: var(--ds-t-s); line-height: 1.5; color: #CFDDE7; }
.hx-src p.hx-from { margin-top: 0.35rem; font-size: var(--ds-t-xs); color: #9FB8C8; }
.hx.is-live .hx-src { opacity: 0.4; }
.hx.is-live .hx-src.is-on { opacity: 1; border-color: #9ED8EC; background: rgba(80, 184, 220, 0.12); }
.hx-flow { position: relative; }
.hx-flow svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hx-flow path { fill: none; stroke: #9ED8EC; stroke-width: 2; stroke-dasharray: 5 7; animation: hx-dash 1.4s linear infinite; }
@keyframes hx-dash { to { stroke-dashoffset: -24; } }
.hx-out { display: grid; gap: 1rem; }
.hx-dec { padding: 1.1rem 1.25rem; border-radius: 16px; background: #fff; color: #0b2333; }
.hx-dec h3 { margin: 0 0 0.35rem; font-family: var(--ds-serif); font-size: 1.35rem; color: #04122b; }
.hx-dec p { margin: 0 0 0.6rem; font-size: var(--ds-t-s); line-height: 1.55; }
.hx-dec p.hx-uses { font-size: var(--ds-t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #0B5F62; }
.hx-dec p.hx-not { padding: 0.6rem 0.75rem; border-radius: 10px; background: #FFF6E6; }
.hx-links { list-style: none; margin: 0.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hx-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0.4rem 0.8rem; border-radius: 999px; background: #EAF4F8; color: #04122b; font-weight: 600; font-size: var(--ds-t-s); text-decoration: none; }
.hx-links a:hover { background: #d7ecf4; } .hx-links a:focus-visible { outline: 3px solid #50B8DC; outline-offset: 2px; }
.hx.is-live .hx-dec { display: none; } .hx.is-live .hx-dec.is-on { display: block; animation: hx-in 0.35s ease-out; }
@keyframes hx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hx-fine { margin: 1.25rem 0 0; font-size: var(--ds-t-xs); color: #9FB8C8; max-width: 52rem; }
@media (prefers-reduced-motion: reduce) { .hx-flow path, .hx.is-live .hx-dec.is-on { animation: none; } .hx-src { transition: none; } }
@media (max-width: 52rem) {
  .hx-board { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .hx-flow { display: none; }
  .hx-srcs { grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); }
}
main#main .hx h2, main#main .hx-src h3 { color: #fff; }
main#main .hx-dec h3 { font-family: var(--ds-serif); font-size: 1.35rem; color: #04122b; }
.hx-out { align-self: start; }
@media (max-width: 52rem) { .hx-out { order: -1; } }
