/* Product UI for the direction boards: mirrors the Flextion platform (same type, colors, cards). */
.pui, .pui * { box-sizing: border-box; }
.pui { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; color: #1D1D1F; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; }
.pui-search { display: flex; align-items: center; gap: 10px; height: 50px; background: #fff; border-radius: 25px; padding: 0 6px 0 18px; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 10px 30px rgba(0,0,0,.10); transition: box-shadow .35s; }
.pui-search.focus { box-shadow: 0 0 0 2px #0071E3, 0 10px 30px rgba(0,113,227,.18); }
.pui-search svg { width: 17px; height: 17px; color: #86868B; flex: none; }
.pui-q { font-size: 15px; white-space: pre; }
.pui-caret { width: 1.6px; height: 19px; background: #0071E3; animation: puiBlink 1s steps(1) infinite; margin-left: -8px; }
@keyframes puiBlink { 50% { opacity: 0; } }
.pui-go { margin-left: auto; height: 38px; padding: 0 18px; border-radius: 19px; background: #0071E3; color: #fff; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; }
.pui-head { display: flex; align-items: baseline; gap: 10px; margin: 20px 4px 12px; }
.pui-head b { font-size: 19px; letter-spacing: -.03em; }
.pui-head > span { font-size: 12.5px; color: #86868B; }
.pui-chip { margin-left: auto; align-self: center; font-size: 11.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #fff; color: #6E6E73; box-shadow: 0 0 0 1px #E3E3E8; display: inline-flex; gap: 6px; align-items: center; transition: all .4s cubic-bezier(.16,1,.3,1); }
.pui-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2BA84A; }
.pui-chip.on { background: #E7F7EC; color: #1E8C3C; box-shadow: 0 0 0 1px #BFE6CB; }
.pui-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.pui-card { background: #fff; border-radius: 16px; padding: 15px 16px 0; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 12px 30px rgba(0,0,0,.08); opacity: 0; transform: translateY(18px); filter: blur(4px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1), filter .7s; }
.pui-card.in { opacity: 1; transform: none; filter: none; }
.pui-ch { display: flex; gap: 11px; align-items: flex-start; }
.pui-badge { width: 32px; height: 32px; border-radius: 9px; color: #fff; font-size: 9.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; letter-spacing: .02em; }
.pui-nm { font-size: 13px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.pui-tk { font-size: 10.5px; color: #86868B; margin-top: 3px; }
.pui-cm { display: flex; align-items: center; gap: 13px; margin: 13px 0 12px; }
.pui-rw { position: relative; display: flex; flex: none; }
.pui-rn { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.pui-rn b { font-size: 17px; font-weight: 700; color: #1E8C3C; font-variant-numeric: tabular-nums; }
.pui-rn i { font-style: normal; font-size: 6.5px; font-weight: 700; letter-spacing: .12em; color: #86868B; margin-top: 3px; }
.pui-rw.big .pui-rn { flex-direction: row; align-items: baseline; justify-content: center; top: 44px; }
.pui-rw.big .pui-rn b { font-size: 34px; } .pui-rw.big .pui-rn i { font-size: 15px; font-weight: 700; color: #1E8C3C; letter-spacing: 0; }
.pui-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: #1E8C3C; background: #E7F7EC; padding: 4px 9px; border-radius: 999px; }
.pui-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2BA84A; }
.pui-since { font-size: 10px; color: #86868B; margin-top: 6px; }
.pui-bench { border-top: 1px solid #F0F0F3; margin: 0 -16px; padding: 9px 16px 10px; display: flex; gap: 10px; align-items: baseline; }
.pui-bench span { font-size: 8px; font-weight: 700; letter-spacing: .1em; color: #A1A1A6; } .pui-bench b { font-size: 10.5px; }
.pui-panel { background: #fff; border-radius: 16px; padding: 22px 24px; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 12px 30px rgba(0,0,0,.08); }
.pui-k { font-size: 11px; font-weight: 600; color: #0071E3; } .pui-k.rf { color: #D24411; letter-spacing: .08em; font-size: 10px; font-weight: 700; }
.pui-pt { font-size: 18px; font-weight: 700; letter-spacing: -.025em; margin-top: 3px; }
.pui-o { display: flex; align-items: center; gap: 26px; margin-top: 18px; }
.pui-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #1E8C3C; background: #E7F7EC; border-radius: 6px; padding: 5px 10px; }
.pui-st { font-size: 19px; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; margin-top: 10px; max-width: 22ch; }
.pui-vs { font-size: 11px; color: #86868B; margin-top: 8px; line-height: 1.5; }
.pui-themes { display: grid; gap: 14px; margin-top: 18px; }
.pui-tt { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.pui-tt em { font-style: normal; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 5px; }
.pui-tt em.Positive { color: #1E8C3C; background: #E7F7EC; } .pui-tt em.Negative { color: #D70015; background: #FFECEB; } .pui-tt em.Neutral { color: #2A5F86; background: #EDF4FA; }
.pui-tr { position: relative; height: 6px; border-radius: 3px; background: #EEEEF1; margin-top: 8px; }
.pui-tr::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: #CFCFD4; }
.pui-tr span { position: absolute; top: 0; bottom: 0; border-radius: 3px; transform: scaleX(0); transition: transform 1s cubic-bezier(.16,1,.3,1); }
.pui-tr span.in { transform: scaleX(1); }
.pui-rows { margin-top: 14px; }
.pui-row { border-top: 1px solid #F0F0F3; padding: 11px 0; font-size: 13px; font-weight: 600; }
.pui-row p { font-size: 12px; font-weight: 400; color: #5E5E63; line-height: 1.55; margin: 8px 0 0; }
.pui-board { display: flex; gap: 10px; margin-top: 16px; }
.pui-board div { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 11px 13px; border-radius: 12px; background: #F5F5F7; }
.pui-board .d { width: 7px; height: 7px; border-radius: 50%; } .pui-board b { margin-left: auto; }
.pui-flag { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 13px; border-radius: 12px; box-shadow: 0 0 0 1px #FFD1CE; background: #FFF8F7; }
.pui-fl { font-size: 12.5px; font-weight: 600; } .pui-note { font-size: 11.5px; color: #5E5E63; margin-top: 4px; }
.pui-count { margin-left: auto; font-size: 11px; font-weight: 700; color: #D70015; white-space: nowrap; }
.pui-stage { position: relative; }
.pui-sc { position: absolute; inset: 0; opacity: 0; transform: translateY(10px) scale(.99); filter: blur(4px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1), filter .6s; pointer-events: none; }
.pui-sc.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.rise { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1.2s cubic-bezier(.16,1,.3,1), filter 1s; }
.rise.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .rise, .pui-card, .pui-sc { transition: none !important; } }

/* product screens sitting on dark panels: headings above the cards switch to light */
.pui.dark .pui-head b { color: #F5F5F7; } .pui.dark .pui-head > span { color: rgba(255,255,255,.55); }
.pui.dark .pui-chip { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.pui.dark .pui-chip.on { background: #E7F7EC; color: #1E8C3C; box-shadow: none; }
.pui-sc { display: flex; flex-direction: column; justify-content: center; }   /* screens sit centered in their panel */
