/* Alliance health check: one type system and a restrained navy/green palette. */
.alliance-graph{--health-navy:#09265f;--health-green:#215442;background:#fff;color:var(--health-navy);font-family:Manrope,sans-serif;gap:20px}
.alliance-graph .demo-topline{align-items:baseline;gap:12px;color:var(--health-navy);margin-bottom:20px}
.alliance-graph .demo-topline span{font:500 12px/1.5 Manrope,sans-serif;letter-spacing:0;text-transform:none;color:var(--health-navy)}
.alliance-graph .demo-topline span:first-child{font-size:16px;font-weight:600}
.alliance-graph .cycle-flow{gap:18px;margin:0}
.alliance-graph .cycle-flow li{padding:16px 12px;gap:12px;background:#fff;border:1px solid var(--health-navy);border-radius:6px;color:var(--health-navy)}
.alliance-graph .cycle-flow strong,.alliance-graph .graph-foundations button{font:600 12px/1.5 Manrope,sans-serif;letter-spacing:0;text-transform:none;color:var(--health-navy)}
.alliance-graph .cycle-flow small,.alliance-graph .cycle-index{font:400 12px/1.5 Manrope,sans-serif;letter-spacing:0;color:var(--health-navy)}
.alliance-graph .cycle-flow small{margin-top:8px}
.alliance-graph .cycle-flow li:last-child{background:var(--health-green);border-color:var(--health-green)}
.alliance-graph .cycle-flow li:last-child strong,.alliance-graph .cycle-flow li:last-child small,.alliance-graph .cycle-flow li:last-child .cycle-index{color:#fff}
.alliance-graph .cycle-flow li:not(:last-child)::after,.alliance-graph .graph-foundations::before,.alliance-graph .graph-foundations button::before{background:var(--health-navy)}
.alliance-graph .cycle-flow li:not(:last-child)::before,.alliance-graph .graph-foundations button:nth-child(2)::after{border-color:var(--health-navy)}
.alliance-graph .cycle-return svg{stroke:var(--health-navy)}
.alliance-graph .cycle-return::before,.alliance-graph .cycle-return::after{border-color:var(--health-navy)}
.alliance-graph .cycle-return span,.alliance-graph .foundation-caption,.alliance-graph .foundation-hint{font:400 12px/1.5 Manrope,sans-serif;color:var(--health-navy);letter-spacing:0;text-transform:none}
.alliance-graph .foundation-caption{font-weight:600;margin-bottom:32px}
.alliance-graph .graph-foundations button{border:1px solid var(--health-navy);border-radius:6px;background:#fff;padding:14px 12px;box-shadow:none}
.alliance-graph .graph-foundations button small{font:400 12px/1.5 Manrope,sans-serif;letter-spacing:0;text-transform:none;color:var(--health-navy);margin-bottom:8px}
.alliance-graph .graph-foundations button[aria-selected=true]{background:#fff;border-color:var(--health-navy);color:var(--health-navy);box-shadow:inset 0 -3px 0 var(--health-navy)}
.alliance-graph .graph-foundations button:focus-visible{outline:2px solid var(--health-navy);outline-offset:3px}
.alliance-graph [role=tabpanel]{border-top:1px solid #09265f30;padding-top:20px;margin-top:20px}
.alliance-graph .workspace-label,.alliance-graph .sta-support>span{display:block;font:600 12px/1.5 Manrope,sans-serif;letter-spacing:0;text-transform:none;color:var(--health-navy);margin:0 0 10px}
.alliance-graph .foundation-panel ul,.alliance-graph .sta-support p{font:400 12px/1.7 Manrope,sans-serif;color:var(--health-navy);letter-spacing:0;margin:0}
.alliance-graph .foundation-panel li+li{margin-top:8px}
.alliance-graph .sta-support{background:#fff;border:0;border-top:1px solid #09265f30;border-radius:0;padding:18px 0 0;margin-top:20px}
@media(max-width:680px){.alliance-graph .cycle-flow li{padding:16px}.alliance-graph .graph-foundations{flex-direction:column;gap:10px}.alliance-graph .graph-foundations::before,.alliance-graph .graph-foundations button::before,.alliance-graph .graph-foundations button::after{display:none}.alliance-graph .foundation-caption{margin-bottom:16px}.alliance-graph .demo-topline{flex-wrap:wrap;gap:4px}}
.alliance-graph .cycle-flow li:nth-child(n){background:#fff;border-color:var(--health-navy);min-height:162px}
.alliance-graph .cycle-flow li:nth-child(n) strong{font:600 12px/1.5 Manrope,sans-serif;color:var(--health-navy)}
.alliance-graph .cycle-flow li:nth-child(n) small,.alliance-graph .cycle-flow li:nth-child(n) .cycle-index{font:400 12px/1.5 Manrope,sans-serif;color:var(--health-navy)}
.alliance-graph .cycle-flow li:last-child{background:var(--health-green);border-color:var(--health-green)}
.alliance-graph .cycle-flow li:last-child strong,.alliance-graph .cycle-flow li:last-child small,.alliance-graph .cycle-flow li:last-child .cycle-index{color:#fff}
.alliance-graph .graph-foundations button[aria-selected=true] small{color:var(--health-navy)}
.alliance-graph .cycle-return::before,.alliance-graph .cycle-return::after{border-color:var(--health-navy)!important}
@media(max-width:680px){.alliance-graph .cycle-flow li:nth-child(n){min-height:0}}
.alliance-graph .demo-topline span:last-child{font:400 12px/1.5 Manrope,sans-serif;color:var(--health-navy);letter-spacing:0;text-transform:none}

/* Selected foundation is explicit; foundations need no upward connectors. */
.alliance-graph .graph-foundations button[aria-selected=true]{background:var(--health-navy);color:#fff;border-color:var(--health-navy);box-shadow:none}
.alliance-graph .graph-foundations button[aria-selected=true] small{color:#fff}
.alliance-graph .graph-foundations::before,.alliance-graph .graph-foundations button::before,.alliance-graph .graph-foundations button::after{display:none}
.alliance-graph .foundation-caption{margin-bottom:16px}

/* Small grey direction markers between the four process steps. */
.alliance-graph .cycle-flow li:not(:last-child)::after{display:none}
.alliance-graph .cycle-flow li:not(:last-child)::before{content:'';position:absolute;left:calc(100% + 6px);top:calc(50% - 5px);width:7px;height:10px;border:0;background:#a8adb4;clip-path:polygon(0 0,100% 50%,0 100%);transform:none}
@media(max-width:680px){.alliance-graph .cycle-flow li:not(:last-child)::before{left:calc(50% - 5px);top:calc(100% + 6px);width:10px;height:7px;clip-path:polygon(0 0,100% 0,50% 100%)}}
