/* ==========================================================================
   VAAS · Plataforma · Visão geral (overview)
   --------------------------------------------------------------------------
   A general platform hero (title + flow diagram), then a pinned, centered
   "stage" that swaps from module to module as you scroll. The module title and
   text sit centered on top; the simplified, uniform stage snapshot sits in the
   middle; four feature cards flank it (two left, two right). On narrow screens
   it reflows to clean stacked sections (no pin, no flanking).

   Accent = VAAS blue; lime marks the human module (Mesa). Light surfaces.
   ========================================================================== */

.po {
  --po-accent: var(--vaas-blue);
  --po-ink: var(--vaas-blue-deep);
  --po-line: rgba(0, 11, 88, .12);
  --po-line-soft: rgba(0, 11, 88, .07);
  --po-card: #ffffff;
  --po-lime: #7d9b00;          /* readable lime ink */
  --po-lime-fill: var(--vaas-lime);
  --po-muted: rgba(0, 11, 88, .6);
  --po-top: 76px;
  font-family: var(--font-sans);
  color: var(--po-ink);
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 16%, #f7f8fb 88%, #ffffff 100%);
}
.po[data-accent="lime"] { --po-accent: #6e8a00; }
.po[data-accent="deep"] { --po-accent: #000b58; }

/* ---------------------------------------------------------------- Hero --- */
.po-hero {
  position: relative;
  padding: clamp(118px, 16vh, 188px) 24px clamp(40px, 6vh, 72px);
  text-align: center;
  overflow: hidden;
}
.po-hero__inner { max-width: 1080px; margin: 0 auto; position: relative; z-index: 2; }
.po-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--po-accent);
  display: inline-flex; align-items: center; gap: 9px;
}
.po-hero__eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--po-accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--po-accent) 16%, transparent);
}
.po-hero__title {
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.02; letter-spacing: -.025em; font-weight: 600;
  margin: 20px 0 0; text-wrap: balance;
}
.po-hero__title em { font-style: normal; color: var(--po-accent); }
.po-hero__sub {
  font-size: clamp(16px, 1.7vw, 20px); line-height: 1.5;
  color: var(--po-muted); max-width: 660px; margin: 22px auto 0; text-wrap: pretty;
}
.po-hero__flowlabel {
  display: block; margin-top: clamp(40px, 6vh, 68px);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(0, 11, 88, .42);
}
.po-hero__grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(var(--po-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--po-line-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 32%, #000 0%, transparent 76%);
          mask-image: radial-gradient(ellipse 72% 62% at 50% 32%, #000 0%, transparent 76%);
  opacity: .85;
}

/* ---- flow diagram (five module nodes) ---- */
.po-flow {
  margin: 18px auto 0; max-width: 1020px;
  display: flex; align-items: stretch; justify-content: center;
  flex-wrap: wrap; gap: 6px;
}
.po-flow__node {
  flex: 1 1 0; min-width: 150px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--po-line);
  background: var(--po-card);
  box-shadow: var(--shadow-xs);
  cursor: pointer; text-align: left;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}
.po-flow__node:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--po-accent) 40%, transparent); box-shadow: var(--shadow-sm); }
.po-flow__node.is-active { border-color: var(--po-accent); background: color-mix(in oklab, var(--po-accent) 5%, #fff); box-shadow: 0 10px 26px -16px color-mix(in oklab, var(--po-accent) 70%, transparent); }
.po-flow__node[data-kind="human"].is-active { border-color: var(--po-lime); background: color-mix(in oklab, var(--po-lime-fill) 16%, #fff); }
.po-flow__n {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--po-accent);
}
.po-flow__node[data-kind="human"] .po-flow__n { color: var(--po-lime); }
.po-flow__name { font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--po-ink); line-height: 1.1; }
.po-flow__tag { font-family: var(--font-mono); font-size: 10.5px; color: rgba(0, 11, 88, .45); }
.po-flow__link {
  align-self: center; flex: 0 0 14px; height: 2px; width: 14px;
  background: var(--po-line); border-radius: 2px;
}

/* ----------------------------------------------------- Journey (pin) --- */
.po-journey { position: relative; display: grid; grid-template-columns: 1fr; }
.po-pin {
  grid-area: 1 / 1; z-index: 2;
  position: sticky; top: var(--po-top);
  height: calc(100vh - var(--po-top));
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(14px, 2.4vh, 26px) 24px clamp(18px, 3vh, 30px);
}
.po-rail { grid-area: 1 / 1; z-index: 1; pointer-events: none; }
.po-trigger { height: calc(100vh - var(--po-top)); }

/* switcher (always visible, centered top) */
.po-pin__switch {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px; border-radius: var(--radius-pill);
  border: 1px solid var(--po-line); background: var(--po-card);
  box-shadow: var(--shadow-xs);
}
.po-pin__sw {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: var(--radius-pill);
  border: 0; background: none; cursor: pointer; font-family: inherit;
  font-size: 12.5px; color: rgba(0, 11, 88, .5);
  transition: background .25s, color .25s;
}
.po-pin__sw-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto;
  background: var(--po-line); transition: background .25s, box-shadow .25s;
}
.po-pin__sw.is-done .po-pin__sw-dot { background: color-mix(in oklab, var(--po-accent) 55%, #fff); }
.po-pin__sw.is-active {
  background: color-mix(in oklab, var(--po-accent) 8%, #fff);
  color: var(--po-ink); font-weight: 600;
}
.po-pin__sw.is-active .po-pin__sw-dot { background: var(--po-accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--po-accent) 18%, transparent); }
.po-pin__sw[data-kind="human"].is-active { background: color-mix(in oklab, var(--po-lime-fill) 22%, #fff); }
.po-pin__sw[data-kind="human"].is-active .po-pin__sw-dot { background: var(--po-lime-fill); box-shadow: 0 0 0 4px color-mix(in oklab, var(--po-lime-fill) 36%, transparent); }

/* overlaid layers */
.po-pin__view { position: relative; flex: 1 1 auto; width: 100%; min-height: 0; }
.po-layer {
  position: absolute; inset: 0;
  display: flex; align-items: stretch; justify-content: center;
  padding: clamp(6px, 1.2vh, 16px) 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .55s var(--ease-out);
}
.po-layer.is-active { opacity: 1; pointer-events: auto; }
.po[data-anim="slide"] .po-layer:not(.is-active) { transform: translateX(46px); }
.po[data-anim="scale"] .po-layer:not(.is-active) { transform: scale(.93); }
.po[data-anim="flip"]  .po-layer:not(.is-active) { transform: perspective(1200px) rotateY(9deg) scale(.96); transform-origin: center left; }

/* ---- module composition ---- */
.po-module {
  width: 100%; max-width: 1120px;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(8px, 1.4vh, 16px);
}
.po-module__head { text-align: center; max-width: 740px; flex: 0 0 auto; }
.po-module__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  color: var(--po-accent);
}
.po-module[data-kind="human"] .po-module__eyebrow { color: var(--po-lime); }
.po-module__n {
  font-weight: 600; font-size: 11px;
  border: 1px solid color-mix(in oklab, var(--po-accent) 30%, transparent);
  background: color-mix(in oklab, var(--po-accent) 7%, #fff);
  border-radius: 6px; padding: 2px 7px;
}
.po-module[data-kind="human"] .po-module__n { border-color: color-mix(in oklab, var(--po-lime-fill) 60%, transparent); background: color-mix(in oklab, var(--po-lime-fill) 26%, #fff); color: #5e6b00; }
.po-module__title {
  font-size: clamp(23px, 2.4vw, 34px); line-height: 1.06; letter-spacing: -.02em;
  font-weight: 600; margin: 9px 0 0; text-wrap: balance;
}
.po-module__title em { font-style: normal; color: var(--po-accent); }
.po-module[data-kind="human"] .po-module__title em { color: var(--po-lime); }
.po-module__sub {
  font-size: clamp(14px, 1.3vw, 16px); line-height: 1.45;
  color: var(--po-muted); margin: 8px auto 0; max-width: 560px; text-wrap: pretty;
}

/* ---- the focal stage panel ---- */
.po-stage {
  position: relative; flex: 1 1 auto; width: 100%; min-height: 0;
  display: grid; place-items: center;
  padding: clamp(14px, 2.4vh, 44px) clamp(16px, 3vw, 52px);
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--po-line);
  background: color-mix(in oklab, var(--po-accent) 6%, #fff);
}
.po-stage[data-kind="human"] { background: color-mix(in oklab, var(--po-lime-fill) 13%, #fff); }
.po-stage__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(color-mix(in oklab, var(--po-accent) 12%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--po-accent) 12%, transparent) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 78% 70% at 50% 50%, #000 0%, transparent 82%);
          mask-image: radial-gradient(ellipse 78% 70% at 50% 50%, #000 0%, transparent 82%);
  opacity: .7;
}
.po-stage[data-kind="human"] .po-stage__grid {
  background-image:
    linear-gradient(color-mix(in oklab, var(--po-lime) 22%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--po-lime) 22%, transparent) 1px, transparent 1px);
}
.po-stage__decor { position: absolute; inset: 0; z-index: 1; }
.po-stage__tile {
  position: absolute; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--po-line);
  color: var(--po-accent); opacity: .55; box-shadow: var(--shadow-xs);
}
.po-stage__tile svg { width: 17px; height: 17px; }
.po-stage[data-kind="human"] .po-stage__tile { color: var(--po-lime); }
.po-stage__tile--1 { top: 12%; left: 7%; }
.po-stage__tile--2 { top: 16%; right: 9%; }
.po-stage__tile--3 { bottom: 16%; left: 11%; }
.po-stage__tile--4 { bottom: 13%; right: 8%; }
.po-stage .po-screen { position: relative; z-index: 2; width: min(520px, 100%); }

/* ---- bottom row: small feature chips + CTA ---- */
.po-module__bottom { flex: 0 0 auto; width: 100%; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.po-feats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.po-feat {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 8px;
  border: 1px solid var(--po-line); background: #fff; color: rgba(0, 11, 88, .68);
  transition: border-color .2s, color .2s, background .2s;
}
.po-feat:hover { border-color: color-mix(in oklab, var(--po-accent) 40%, transparent); color: var(--po-accent); background: color-mix(in oklab, var(--po-accent) 6%, #fff); }
.po-module[data-kind="human"] .po-feat:hover { border-color: color-mix(in oklab, var(--po-lime-fill) 60%, transparent); color: #5e6b00; background: color-mix(in oklab, var(--po-lime-fill) 18%, #fff); }

/* per-module CTA into the detail page */
.po-module__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--radius-pill);
  border: 1px solid color-mix(in oklab, var(--po-accent) 32%, transparent);
  background: color-mix(in oklab, var(--po-accent) 6%, #fff);
  color: var(--po-accent); font-weight: 600; font-size: 13.5px; letter-spacing: -.01em;
  text-decoration: none; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.po-module__cta svg { width: 14px; height: 14px; transition: transform .2s; }
.po-module__cta:hover { background: color-mix(in oklab, var(--po-accent) 12%, #fff); border-color: color-mix(in oklab, var(--po-accent) 55%, transparent); transform: translateY(-1px); box-shadow: 0 10px 26px -14px color-mix(in oklab, var(--po-accent) 70%, transparent); }
.po-module__cta:hover svg { transform: translateX(3px); }
.po-module[data-kind="human"] .po-module__cta { color: #5e6b00; border-color: color-mix(in oklab, var(--po-lime-fill) 60%, transparent); background: color-mix(in oklab, var(--po-lime-fill) 22%, #fff); }

/* ==========================================================================
   Uniform "screen" shell + per-module stage snapshots
   ========================================================================== */
.po-screen {
  width: 100%;
  text-align: left;
  background: var(--po-card);
  border: 1px solid var(--po-line); border-radius: 15px;
  box-shadow: 0 26px 60px -34px rgba(0, 11, 88, .34), 0 2px 6px rgba(0, 11, 88, .05);
  overflow: hidden;
}
.po-screen__bar { display: flex; align-items: center; gap: 9px; padding: 11px 15px; border-bottom: 1px solid var(--po-line-soft); }
.po-screen__dots { display: inline-flex; gap: 5px; }
.po-screen__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--po-line); }
.po-screen__path { font-family: var(--font-mono); font-size: 11px; color: rgba(0, 11, 88, .5); }
.po-screen__run { font-family: var(--font-mono); font-size: 9.5px; color: rgba(0, 11, 88, .5); border: 1px solid var(--po-line); border-radius: var(--radius-pill); padding: 2px 8px; white-space: nowrap; }
.po-screen__live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(0, 11, 88, .45);
}
.po-screen__live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--po-lime-fill);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--po-lime-fill) 70%, transparent);
  animation: po-pulse 2s infinite;
}
@keyframes po-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--po-lime-fill) 60%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.po-screen__tabs { display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--po-line-soft); background: #fcfcfe; }
.po-screen__tab { font-size: 11.5px; padding: 9px 11px; color: rgba(0, 11, 88, .5); border-bottom: 2px solid transparent; white-space: nowrap; }
.po-screen__tab--active { color: var(--po-accent); border-bottom-color: var(--po-accent); font-weight: 600; }
.po-screen__body { padding: 14px 16px; }

/* shared bits */
.po-head { font-family: var(--font-mono); font-size: 10.5px; color: rgba(0, 11, 88, .5); margin-bottom: 11px; }
.po-head b { color: var(--po-accent); font-weight: 600; }
.po-foot { margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--po-line-soft); font-family: var(--font-mono); font-size: 10.5px; color: rgba(0, 11, 88, .5); }
.po-sec { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(0, 11, 88, .4); margin: 13px 0 8px; }
.po-tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .04em; padding: 2px 7px; border-radius: var(--radius-pill); }
.po-tag--ok { color: #1f7a3d; background: rgba(31, 122, 61, .1); }
.po-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.po-chip { font-family: var(--font-mono); font-size: 10.5px; padding: 4px 9px; border-radius: 7px; border: 1px solid var(--po-line); color: rgba(0, 11, 88, .55); background: #fcfcfe; }
.po-chip--active { color: var(--po-accent); border-color: color-mix(in oklab, var(--po-accent) 40%, transparent); background: color-mix(in oklab, var(--po-accent) 8%, #fff); font-weight: 600; }
.po-chip--more { color: rgba(0, 11, 88, .42); }
.po-typing { display: inline-flex; gap: 2px; margin-left: 4px; }
.po-typing i { width: 3px; height: 3px; border-radius: 50%; background: var(--po-accent); animation: po-type 1.2s infinite; }
.po-typing i:nth-child(2) { animation-delay: .2s; }
.po-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes po-type { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

/* Workflows trace */
.po-wfhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.po-wfhead__name { font-size: 12.5px; font-weight: 600; color: var(--po-ink); }
.po-wfhead__name b { font-family: var(--font-mono); font-weight: 600; font-size: 11px; color: var(--po-accent); margin-left: 4px; }
.po-wfhead__ok { font-family: var(--font-mono); font-size: 10px; color: #1f7a3d; border: 1px solid rgba(31,122,61,.3); background: rgba(31,122,61,.07); border-radius: var(--radius-pill); padding: 3px 9px; white-space: nowrap; }
.po-trace { display: flex; flex-direction: column; }
.po-trace__step { display: flex; gap: 13px; }
.po-trace__rail { position: relative; display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.po-trace__node {
  width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto;
  border: 2px solid var(--po-accent); background: color-mix(in oklab, var(--po-accent) 8%, #fff);
  color: var(--po-accent); display: grid; place-items: center; z-index: 1;
}
.po-trace__node svg { width: 14px; height: 14px; }
.po-trace__step:not(.po-trace__step--last) .po-trace__rail::after {
  content: ""; position: absolute; top: 28px; bottom: -4px; left: 50%; width: 2px; transform: translateX(-50%);
  background: var(--po-accent);
}
.po-trace__c { flex: 1 1 auto; min-width: 0; padding-bottom: 12px; }
.po-trace__l { display: flex; align-items: baseline; gap: 9px; }
.po-trace__l b { font-size: 13px; font-weight: 600; color: var(--po-ink); }
.po-trace__ms { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: rgba(0, 11, 88, .42); }
.po-trace__d { font-size: 12px; color: rgba(0, 11, 88, .55); margin-top: 3px; }
.po-trace__step--branch .po-trace__node { border-color: var(--po-lime); color: #5e6b00; background: color-mix(in oklab, var(--po-lime-fill) 18%, #fff); }
.po-out {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 41px; margin-top: 2px;
  padding: 9px 14px; border-radius: 9px;
  background: color-mix(in oklab, var(--po-lime-fill) 16%, #fff);
  border: 1px solid color-mix(in oklab, var(--po-lime-fill) 50%, transparent);
  color: #5e6b00; font-weight: 600; font-size: 13px;
}
.po-out svg { width: 14px; height: 14px; flex: 0 0 auto; color: #6e7d00; }

/* Datahub sources */
.po-srcs { display: flex; flex-direction: column; gap: 7px; }
.po-src { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--po-line); background: #fcfcfe; }
.po-src__cat { flex: 0 0 92px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(0, 11, 88, .42); }
.po-src__v { flex: 1 1 auto; min-width: 0; font-size: 12.5px; font-weight: 500; color: var(--po-ink); }
.po-src__ms { flex: 0 0 auto; font-family: var(--font-mono); font-size: 10px; color: rgba(0, 11, 88, .4); }
.po-src__st { flex: 0 0 auto; font-family: var(--font-mono); font-size: 11px; display: inline-flex; align-items: center; gap: 4px; min-width: 18px; justify-content: flex-end; }
.po-src__st--ok { color: #1f7a3d; }
.po-src--ok { border-color: rgba(31, 122, 61, .22); }
.po-src__st--run { color: var(--po-accent); }
.po-src--run { border-color: color-mix(in oklab, var(--po-accent) 32%, transparent); background: color-mix(in oklab, var(--po-accent) 5%, #fff); }

/* AI extraction + recommendation */
.po-file { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 9px; border: 1px solid color-mix(in oklab, var(--po-accent) 26%, transparent); background: color-mix(in oklab, var(--po-accent) 5%, #fff); }
.po-file__ico { width: 26px; height: 26px; border-radius: 6px; flex: 0 0 auto; display: grid; place-items: center; background: color-mix(in oklab, var(--po-accent) 14%, #fff); color: var(--po-accent); }
.po-file__ico svg { width: 15px; height: 15px; }
.po-file__name { flex: 1 1 auto; min-width: 0; font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; color: var(--po-ink); }
.po-file__st { flex: 0 0 auto; font-family: var(--font-mono); font-size: 11px; color: var(--po-accent); display: inline-flex; align-items: center; gap: 4px; }
.po-kv { display: flex; flex-direction: column; }
.po-kv__row { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--po-line-soft); font-size: 12.5px; }
.po-kv__row:last-child { border-bottom: 0; }
.po-kv__row > span { color: rgba(0, 11, 88, .5); width: 104px; flex: 0 0 auto; }
.po-kv__row > b { flex: 1 1 auto; min-width: 0; font-weight: 600; color: var(--po-ink); }
.po-kv__row > em { flex: 0 0 auto; font-style: normal; color: #1f7a3d; font-size: 12px; }
.po-rec { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--po-line-soft); }
.po-rec__ico { width: 22px; height: 22px; border-radius: 6px; flex: 0 0 auto; display: grid; place-items: center; background: color-mix(in oklab, var(--po-accent) 12%, #fff); color: var(--po-accent); }
.po-rec__ico svg { width: 13px; height: 13px; }
.po-rec__chip { font-family: var(--font-mono); font-size: 11.5px; padding: 6px 11px; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--po-lime-fill) 30%, #fff); color: var(--po-ink); font-weight: 500; }
.po-rec__conf { font-family: var(--font-mono); font-size: 11px; color: rgba(0, 11, 88, .5); }

/* Mesa decision */
.po-brief { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 13px; padding: 10px 12px; border-radius: 10px; border: 1px solid color-mix(in oklab, var(--po-accent) 20%, transparent); background: color-mix(in oklab, var(--po-accent) 4%, #fff); }
.po-brief__ico { width: 24px; height: 24px; border-radius: 7px; flex: 0 0 auto; display: grid; place-items: center; background: color-mix(in oklab, var(--po-accent) 12%, #fff); color: var(--po-accent); }
.po-brief__ico svg { width: 14px; height: 14px; }
.po-brief__txt { min-width: 0; }
.po-brief__txt > span { font-size: 12px; color: rgba(0, 11, 88, .6); }
.po-brief__txt > b { display: block; margin-top: 3px; font-size: 12.5px; color: var(--po-ink); font-weight: 600; }
.po-case { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.po-case__av { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; font-weight: 600; background: color-mix(in oklab, var(--po-accent) 16%, #fff); color: var(--po-accent); }
.po-case__info { min-width: 0; }
.po-case__info b { display: block; font-size: 13px; font-weight: 600; }
.po-case__info span { font-family: var(--font-mono); font-size: 11px; color: rgba(0, 11, 88, .5); }
.po-case__tier { margin-left: auto; flex: 0 0 auto; font-family: var(--font-mono); font-size: 10px; padding: 4px 9px; border-radius: var(--radius-pill); color: var(--po-accent); border: 1px solid color-mix(in oklab, var(--po-accent) 30%, transparent); background: color-mix(in oklab, var(--po-accent) 6%, #fff); white-space: nowrap; }
.po-votes { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.po-vote { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; padding: 5px 10px; border-radius: var(--radius-pill); border: 1px solid var(--po-line); color: rgba(0, 11, 88, .6); }
.po-vote b { font-weight: 600; color: var(--po-ink); }
.po-vote--ok { border-color: rgba(31, 122, 61, .3); background: rgba(31, 122, 61, .06); color: #1f7a3d; }
.po-vote--ok b { color: #1f7a3d; }
.po-vote--warn { border-color: rgba(176, 106, 0, .3); background: rgba(240, 160, 32, .08); color: #9a5800; }
.po-vote--warn b { color: #9a5800; }
.po-acts { display: flex; gap: 9px; }
.po-act { flex: 1 1 0; text-align: center; font-size: 13px; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--po-line); display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.po-act--deny { background: #fff; color: rgba(0, 11, 88, .55); opacity: .5; }
.po-act--approve { background: var(--po-lime-fill); border-color: var(--po-lime-fill); color: var(--po-ink); font-weight: 600; }
.po-act--approve em { font-style: normal; font-weight: 700; }
.po-result { margin-top: 12px; font-family: var(--font-mono); font-size: 11.5px; color: rgba(0, 11, 88, .6); }
.po-result b { color: var(--po-ink); }

/* Central tiers + re-open */
.po-monh { margin-bottom: 4px; }
.po-monh__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.po-monh__head > span:first-child { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(0, 11, 88, .4); }
.po-monh__trend { font-family: var(--font-mono); font-size: 10.5px; color: #b06a00; }
.po-spark { width: 100%; height: 52px; display: block; overflow: visible; }
.po-spark__fill { fill: rgba(240, 160, 32, .12); }
.po-spark__line { fill: none; stroke: #f0a020; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.po-spark__dot { fill: #f0a020; stroke: #fff; stroke-width: 1.5; }
.po-tiers { display: flex; flex-direction: column; gap: 8px; }
.po-tier { display: grid; grid-template-columns: 56px 1fr auto auto; align-items: center; gap: 10px; }
.po-tier__l { font-size: 12.5px; font-weight: 600; color: var(--po-ink); }
.po-tier__bar { height: 7px; border-radius: var(--radius-pill); background: var(--po-line-soft); overflow: hidden; }
.po-tier__bar i { display: block; height: 100%; border-radius: inherit; background: var(--po-accent); }
.po-tier__freq { font-family: var(--font-mono); font-size: 10.5px; color: rgba(0, 11, 88, .5); white-space: nowrap; }
.po-tier__n { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--po-ink); text-align: right; min-width: 48px; }
.po-tier--low  .po-tier__bar i { background: #1f7a3d; }
.po-tier--med  .po-tier__bar i { background: #c0902a; }
.po-tier--high .po-tier__bar i { background: #d4533f; }
.po-tier--crit .po-tier__bar i { background: #c2402c; }
.po-reopen { display: flex; align-items: flex-start; gap: 10px; margin-top: 13px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(240, 160, 32, .32); background: rgba(240, 160, 32, .07); }
.po-reopen__ico { width: 24px; height: 24px; border-radius: 7px; flex: 0 0 auto; display: grid; place-items: center; background: rgba(240, 160, 32, .18); color: #9a5800; }
.po-reopen__ico svg { width: 14px; height: 14px; }
.po-reopen__txt b { display: block; font-size: 12.5px; font-weight: 600; color: var(--po-ink); }
.po-reopen__txt span { font-size: 12px; color: rgba(0, 11, 88, .6); }

/* ==========================================================================
   Mobile stacked reflow
   ========================================================================== */
.po-stack { display: none; }

@media (prefers-reduced-motion: reduce) {
  .po-layer { transition: opacity .2s !important; transform: none !important; }
  .po-screen__live::before, .po-typing i { animation: none !important; }
}

@media (max-width: 1040px) {
  /* drop the pinned scrollytelling: render clean stacked module sections */
  .po-journey { display: block; }
  .po-pin, .po-rail { display: none; }
  .po-stack { display: block; max-width: 720px; margin: 0 auto; padding: 8px 22px clamp(20px, 6vh, 60px); }
  .po-stack__mod {
    padding: clamp(30px, 6vh, 52px) 0;
    border-top: 1px solid var(--po-line-soft);
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
  }
  .po-stack__mod:first-child { border-top: 0; }
  .po-stack__mod .po-module__eyebrow { justify-content: center; }
  .po-stack__mod .po-module__title { font-size: clamp(24px, 6vw, 32px); }
  .po-stack__mod .po-module__sub { font-size: 15.5px; }
  .po-stack__stage { width: 100%; max-width: 540px; margin: 20px auto 0; }
  .po-stack__stage .po-stage { min-height: 380px; }
  .po-stage__tile { display: none; }
  .po-stack__mod .po-feats { margin: 18px 0 0; justify-content: center; }
  .po-stack__mod .po-module__cta { margin-top: 20px; }
}

@media (max-width: 560px) {
  .po-flow__node { min-width: 0; flex-basis: calc(50% - 6px); }
  .po-flow__link { display: none; }
  .po-screen__path { font-size: 10px; }
  .po-src__cat { flex-basis: 72px; }
}
