/* Shared Swarm Troopers identity: "the run is the interface". Dark-first, colour only means state. Pages alias these --st-* tokens. */
:root{
  --st-shell:#0D0E11;--st-pane:#14161B;--st-pane-2:#1A1D23;--st-line:#262931;--st-line-2:#363A44;
  --st-ink:#ECEEF2;--st-ink-2:#A6ABB6;--st-ink-3:#7D8390;--st-on-ink:#0D0E11;
  --st-run:#4F7BFF;--st-run-soft:rgba(79,123,255,.16);--st-done:#3DD68C;--st-wait:#F5C542;--st-fail:#FF5C7A;
  --st-eli:#ECEEF2;--st-ada:#7DB4FF;--st-mia:#B98CFF;--st-noe:#5FE3D0;--st-iris:#FF7EB6;
  --st-mono:"Geist Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --st-sans:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --st-dispatch:cubic-bezier(.16,1,.3,1);--st-act:cubic-bezier(.3,0,.2,1);--st-confirm:cubic-bezier(.34,1.56,.64,1);
  --st-r:6px;
  color-scheme:dark;
}
@media (prefers-color-scheme:light){:root:not([data-theme=dark]){
  --st-shell:#F1F2F4;--st-pane:#FFFFFF;--st-pane-2:#F7F8FA;--st-line:#DCDFE5;--st-line-2:#C4C8D1;
  --st-ink:#0D0E11;--st-ink-2:#454B57;--st-ink-3:#5F6674;--st-on-ink:#FFFFFF;
  --st-run:#2457F5;--st-run-soft:rgba(36,87,245,.1);--st-done:#0B8F57;--st-wait:#9A6F00;--st-fail:#D21F45;
  --st-eli:#0D0E11;color-scheme:light;
}}
:root[data-theme=light]{
  --st-shell:#F1F2F4;--st-pane:#FFFFFF;--st-pane-2:#F7F8FA;--st-line:#DCDFE5;--st-line-2:#C4C8D1;
  --st-ink:#0D0E11;--st-ink-2:#454B57;--st-ink-3:#5F6674;--st-on-ink:#FFFFFF;
  --st-run:#2457F5;--st-run-soft:rgba(36,87,245,.1);--st-done:#0B8F57;--st-wait:#9A6F00;--st-fail:#D21F45;
  --st-eli:#0D0E11;color-scheme:light;
}

/* Lockup: formation mark, then the lowercase mono wordmark. */
.swarmtroopers-brand,.site-footer .swarmtroopers-brand,.demo-home.swarmtroopers-brand{display:inline-flex;align-items:center;gap:10px;flex:none;min-height:44px;color:inherit;text-decoration:none;font:650 18px/1 var(--st-mono);letter-spacing:-.02em;white-space:nowrap;text-transform:lowercase}
.swarmtroopers-brand img{display:block;width:28px;height:28px;flex:none}
.swarmtroopers-brand-dot{display:none}
.swarmtroopers-brand:focus-visible,.swarmtroopers-github:focus-visible{outline:2px solid var(--st-run);outline-offset:4px;border-radius:4px}

/* GitHub chip */
.swarmtroopers-github{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;box-sizing:border-box;min-height:40px;max-width:100%;padding:0 12px;border:1px solid color-mix(in srgb,currentColor 22%,transparent);border-radius:var(--st-r);background:transparent;color:inherit;text-decoration:none;font:500 12px/1.2 var(--st-mono);letter-spacing:0;white-space:nowrap;transition:background-color 140ms var(--st-act),border-color 140ms var(--st-act)}
.swarmtroopers-github svg{display:block;width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.swarmtroopers-github-star{color:inherit}
.swarmtroopers-github [data-github-count]{font-variant-numeric:tabular-nums;max-width:15ch;overflow:hidden;text-overflow:ellipsis}
.swarmtroopers-github[data-state=ready] [data-github-count]{padding-left:8px;border-left:1px solid color-mix(in srgb,currentColor 18%,transparent)}
.swarmtroopers-github[aria-disabled=true]{cursor:default}
.swarmtroopers-github[data-state=unpublished],.swarmtroopers-github[data-state=unavailable]{color:var(--st-ink-3)}
.swarmtroopers-github[data-state=unpublished] [data-github-count],.swarmtroopers-github[data-state=unavailable] [data-github-count]{font-size:11px}
[data-github-link][aria-disabled=true]{cursor:default}
[data-github-link][aria-disabled=true]:not(.swarmtroopers-github){opacity:.65}
@media(hover:hover) and (pointer:fine){.swarmtroopers-github[data-state=ready]:hover{background:color-mix(in srgb,currentColor 7%,transparent);border-color:color-mix(in srgb,currentColor 40%,transparent)}}
@media(max-width:640px){.swarmtroopers-brand,.site-footer .swarmtroopers-brand,.demo-home.swarmtroopers-brand{font-size:16px;gap:8px}.swarmtroopers-brand img{width:24px;height:24px}.swarmtroopers-github{min-height:38px;font-size:11px;padding-inline:10px;gap:6px}}
@media(prefers-reduced-motion:reduce){.swarmtroopers-github{transition:none}}
