/* /services/ai-agents only (route styles: service-page.css, then this sheet). Prefix sp-ai-agents-.
   The page is built from the service-page kit (docs/service-page-kit.md); these rules add the three
   things the kit does not draw: ghost plates for unearned rungs, two label states and the human-owned cell. */

/* Hero drawing: rungs not yet earned are ghost plates, dashed and almost transparent
   (DESIGN.md "Dashed Means Planned"), so the earned plate and the agent below stay visible. */
.sp-draw .sp-ai-agents-ghost{color:var(--ink-soft)}
.sp-draw .sp-ai-agents-ghost :is(.d-top,.d-left,.d-right){fill:color-mix(in srgb,currentColor 4%,transparent);stroke-dasharray:4 5}
.sp-draw .sp-ai-agents-ghost .d-top{fill:color-mix(in srgb,currentColor 6%,transparent)}

/* Figure labels: the rung the agent stands on takes the level colour; unearned rungs are dashed and muted. */
.sp-ai-agents-label--here>b{border-color:var(--sp-level);color:var(--sp-level)}
.sp-ai-agents-label--open{color:var(--ink-soft)}
.sp-ai-agents-label--open>b{border-style:dashed}

/* Build sequence: the human-ownership cell is human-gated, so its top rule is dashed in the accent. */
.sp-page .sp-grid>.sp-cell.sp-ai-agents-owner{border-top:1px dashed var(--accent)}
