/* CyberXYZ: the xyz MCP page (2026-10-20)
     .bm    fig. 01, the beam: six agents ask xyz MCP and each answer lands (after
            21st.dev dillionverma "animated-beam", rebuilt without React)
     .ags   the six agent cards with their real config paths
     .t1    the setup terminal: types each command, then its output; copy and
            replay buttons (after 21st.dev ziegfiroyt "terminal1", light theme)
     .runs  fig. 02, four ways in and the checkpoint that stops each (a CI-style
            run board, after 21st.dev ibrandify "build-pipeline")
     .ses   fig. 03, an agent session with a command card and approval footer
            (after 21st.dev "bash-tool", drawn in the component's own neutrals)
     .tx    the tool explorer: pick a tool, see a real call and answer
   Without JS or with reduced motion every figure shows its finished state. */

/* glossy card: white glass over the page ground (blog cards, nav, matrix) */
.bm__stage, .ag, .mfile, .tx, .runs__grid, .mhook__side {
  background: linear-gradient(160deg, rgba(255,255,255,.66) 0%, rgba(255,255,255,.8) 55%, rgba(255,255,255,.72) 100%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(10,10,35,.04), 0 8px 24px rgba(10,10,35,.05);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
}

/* verdict pills (the dashboard's: 50 fill, 200 ring, 700 text) */
.vp { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font: 700 11px/1 var(--x-font-mono); letter-spacing: .04em; white-space: nowrap; }
.vp--block { background: #fef2f2; color: #b91c1c; box-shadow: inset 0 0 0 1px #fecaca; }
.vp--quarantine { background: #fffbeb; color: #b45309; box-shadow: inset 0 0 0 1px #fde68a; }
.vp--alert { background: #f0f9ff; color: #0369a1; box-shadow: inset 0 0 0 1px #bae6fd; }
.vp--allow { background: #ecfdf5; color: #047857; box-shadow: inset 0 0 0 1px #a7f3d0; }

/* hero */
.pp-hero--mcp .pp-hero__title { text-wrap: balance; }

/* hero facts under the buttons */
.mfacts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--x-orange-200); }
.mfacts li { display: flex; align-items: baseline; gap: 8px; }
.mfacts b { font: 800 26px/1 var(--x-font-display); letter-spacing: -.02em; color: var(--x-ink-900); }
.mfacts span { font: 400 12px/1.4 var(--x-font-mono); color: var(--x-ink-500); }

/* ── fig. 01: the beam ───────────────────────────────────────────── */
.bm { margin: 0; }
.bm__stage { position: relative; display: grid; grid-template-columns: minmax(0, 168px) minmax(56px, 1fr) auto minmax(56px, 1fr) minmax(0, 236px);
  align-items: center; padding: 26px 22px; border-radius: 22px; min-height: 380px; }
.bm__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.bm__agents { grid-column: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.bm__a { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff;
  border: 1px solid var(--x-line); box-shadow: 0 1px 2px rgba(10,10,35,.04); transition: border-color .3s, box-shadow .3s, transform .3s; }
.bm__logo { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px rgba(10,10,35,.08); }
.bm__logo img { width: 20px; height: 20px; object-fit: contain; }
.bm__n { font: 600 13px/1.2 var(--x-font-body); color: var(--x-ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm__a.is-on { border-color: var(--x-orange-200); box-shadow: 0 0 0 3px var(--x-orange-100), 0 6px 18px rgba(239,65,54,.12); transform: translateX(3px); }
.bm__hub { grid-column: 3; position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; }
.bm__core { position: relative; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(10,10,35,.08), 0 10px 30px rgba(239,65,54,.16); }
.bm__core::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(239,65,54,.35); }
.bm__hub.is-hit .bm__core::after { animation: bmRing .9s ease-out; }
@keyframes bmRing { from { box-shadow: 0 0 0 0 rgba(239,65,54,.4); } to { box-shadow: 0 0 0 22px rgba(239,65,54,0); } }
.bm__hub b { font: 600 12px/1 var(--x-font-mono); color: var(--x-ink-900); }
.bm__out { grid-column: 5; position: relative; z-index: 1; }
.bm__card { display: grid; justify-items: start; gap: 10px; padding: 16px 16px 15px; border-radius: 16px; background: #fff; border: 1px solid var(--x-line);
  box-shadow: 0 1px 2px rgba(10,10,35,.04), 0 12px 30px rgba(10,10,35,.08); transition: opacity .25s ease, transform .25s ease; }
.bm__card.is-out { opacity: 0; transform: translateY(4px) scale(.98); }
.bm__card.is-in { animation: bmPop .45s cubic-bezier(.34,1.56,.64,1); }
@keyframes bmPop { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
.bm__who { display: flex; align-items: center; gap: 7px; font: 400 11.5px/1.3 var(--x-font-mono); color: var(--x-ink-500); }
.bm__who img { width: 14px; height: 14px; object-fit: contain; }
.bm__call { font: 400 12px/1.45 var(--x-font-mono); color: var(--x-ink-900); background: var(--x-paper-2); border-radius: 8px; padding: 6px 9px; word-break: break-word; }
.bm__call b { font-weight: 700; }
.bm__why { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--x-ink-700); }
.bm__base { fill: none; stroke: rgba(10,10,35,.12); stroke-width: 1.5; }
.bm__glow { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: .24 3; stroke-dashoffset: .24; opacity: 0; }
.bm__glow.is-go { animation: bmGo 1s cubic-bezier(.45,.05,.55,.95) forwards; }
.bm__glow--out.is-go { animation-duration: .75s; }
@keyframes bmGo { 0% { stroke-dashoffset: .24; opacity: 1; } 92% { opacity: 1; } 100% { stroke-dashoffset: -1; opacity: 0; } }
@media (max-width: 760px) {
  .bm__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 48px auto 40px auto; justify-items: center; padding: 20px 14px; min-height: 0; }
  .bm__agents { grid-row: 1; grid-column: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .bm__a { padding: 0; border-radius: 50%; }
  .bm__a .bm__n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bm__a.is-on { transform: translateY(2px); }
  .bm__hub { grid-row: 3; grid-column: 1; }
  .bm__out { grid-row: 5; grid-column: 1; width: 100%; max-width: 320px; }
}

/* ── the agent cards ─────────────────────────────────────────────── */
.ags { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ag { border-radius: 18px; padding: 20px 20px 18px; transition: transform .25s, box-shadow .25s; }
.ag:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(10,10,35,.04), 0 14px 32px rgba(10,10,35,.08); }
.ag__h { display: flex; align-items: center; gap: 14px; }
.ag__logo { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px rgba(10,10,35,.08), 0 2px 6px rgba(10,10,35,.05); }
.ag__logo img { width: 28px; height: 28px; object-fit: contain; }
.ag__h b { display: block; font: 700 18px/1.2 var(--x-font-display); letter-spacing: -.01em; color: var(--x-ink-900); }
.ag__flag { display: inline-block; margin-top: 5px; font: 400 12px/1.3 var(--x-font-mono); color: var(--x-orange-700); background: var(--x-orange-100); border-radius: 6px; padding: 2px 7px; }
.ag__d { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--x-line); }
.ag__d dt { font: 500 11px/1.6 var(--x-font-mono); color: var(--x-ink-500); text-transform: uppercase; letter-spacing: .04em; }
.ag__d dd { margin: 0; font: 400 12px/1.6 var(--x-font-mono); color: var(--x-ink-900); overflow-wrap: anywhere; }
.ag__d dd code { font: inherit; }
.ag__x { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--x-ink-500); }
.ag__x code { font-size: 12px; }
@media (max-width: 1000px) { .ags { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ags { grid-template-columns: minmax(0, 1fr); } }

/* ── setup: terminal + the file it writes ────────────────────────── */
.msetup { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.t1 .tmw__bar { padding-right: 8px; }
.t1__acts { margin-left: auto; display: flex; gap: 4px; position: relative; z-index: 1; }
.t1__btn { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 7px; border: 0; border-radius: 5px; background: transparent; color: #5a5a5a; font: 500 11.5px/1 var(--x-font-body); cursor: pointer; }
.t1__btn:hover { background: rgba(0,0,0,.06); color: #222; }
.t1__btn:focus-visible { outline: 2px solid #005fb8; outline-offset: 1px; }
.t1__btn svg { width: 13px; height: 13px; }
.t1__btn.is-copied { color: var(--ansi-green); }

.t1__cur { display: inline-block; width: .6em; height: 1.15em; vertical-align: -.2em; background: var(--tml-fg); animation: t1Blink 1.06s steps(1) infinite; }
@keyframes t1Blink { 50% { opacity: 0; } }
.t1.is-live .t1__o:not(.on), .t1.is-live .t1__c:not(.on), .t1.is-live .t1__end:not(.on) { display: none; }
.mfile { border-radius: 16px; overflow: hidden; }
.mfile__tab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--x-line); background: rgba(255,255,255,.6); }
.mfile__tab span { font: 500 12px/1.3 var(--x-font-mono); color: var(--x-ink-900); }
.mfile__tab em { font: 400 11px/1.3 var(--x-font-mono); font-style: normal; color: var(--x-ink-500); }
.mfile__body { margin: 0; padding: 14px 16px; font: 400 12px/1.6 var(--x-font-mono); color: #3b3b3b; background: #fff; overflow-x: auto; }
.mfile__note { margin: 0; padding: 13px 16px 15px; font-size: 14px; line-height: 1.55; color: var(--x-ink-500); border-top: 1px solid var(--x-line); }
@media (max-width: 980px) { .msetup { grid-template-columns: minmax(0, 1fr); } }

/* JSON (VS Code Light Modern tokens) */
.jk { color: #0451a5; } .js { color: #a31515; } .jn { color: #098658; } .jb { color: #0000ff; } .jf { color: #795e26; font-weight: 600; }
.jt { color: #6e7681; font-style: italic; }

/* ── fig. 02: the run board ──────────────────────────────────────── */
.runs { margin: 0; }
.runs__grid { border-radius: 20px; padding: 8px 18px 10px; display: grid; grid-template-columns: minmax(0, 1.45fr) repeat(4, minmax(0, 1fr)) minmax(0, .9fr); }
.runs__head, .runs__row { display: contents; }
.runs__head > span { padding: 14px 8px 12px; font: 500 11px/1.3 var(--x-font-mono); color: var(--x-ink-500); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--x-line); }
.runs__st { display: grid; justify-items: center; text-align: center; gap: 5px; color: var(--x-ink-900) !important; }
.runs__st img, .runs__st svg { width: 18px; height: 18px; color: var(--x-ink-700); }
.runs__st em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--x-ink-500); font-size: 11px; }
.runs__row > * { padding: 16px 8px; border-bottom: 1px solid var(--x-line); display: flex; align-items: center; min-width: 0; }
.runs__row:last-child > * { border-bottom: 0; }
.runs__lbl { flex-direction: column; align-items: flex-start !important; justify-content: center; gap: 5px; }
.runs__lbl b { font: 600 14.5px/1.3 var(--x-font-body); color: var(--x-ink-900); }
.runs__lbl code { font: 400 12px/1.3 var(--x-font-mono); color: var(--x-ink-700); background: var(--x-paper-2); border-radius: 6px; padding: 2px 7px; overflow-wrap: anywhere; }
.rc { position: relative; flex-direction: column; justify-content: center; gap: 6px; text-align: center; }
.rc > i { position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.rc > span { font: 400 11.5px/1.3 var(--x-font-mono); color: var(--x-ink-500); }
.rc::before { content: ""; position: absolute; top: calc(16px + 13px); right: calc(50% + 17px); left: calc(-50% + 17px); height: 2px; background: var(--x-line); z-index: 0; }
.runs__row > .runs__lbl + .rc::before { display: none; }
.rc--pass > i { background: #ecfdf5; box-shadow: inset 0 0 0 1.5px #16a34a; }
.rc--pass > i::after { content: ""; width: 9px; height: 5px; border: solid #16a34a; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.rc--pass > span { color: #047857; }
.rc--block > i { background: #dc2626; box-shadow: 0 0 0 4px #fef2f2; }
.rc--block > i::before, .rc--block > i::after { content: ""; position: absolute; width: 11px; height: 2px; border-radius: 1px; background: #fff; transform: rotate(45deg); }
.rc--block > i::after { transform: rotate(-45deg); }
.rc--block > span { color: #b91c1c; font-weight: 700; }
.rc--skip > i { box-shadow: inset 0 0 0 1.5px #c9cad6; background: #fff; }
.rc--skip > i::after { content: ""; width: 8px; height: 2px; border-radius: 1px; background: #c9cad6; }
.rc--wait > i { box-shadow: inset 0 0 0 1.5px #dcdde6; background: #fff; }
.rc--wait > span { visibility: hidden; }
.rc--run > i { box-shadow: inset 0 0 0 2px #e7e7f0; background: #fff; }
.rc--run > i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--x-ink-500); animation: rcSpin .7s linear infinite; }
.rc--run > span { visibility: hidden; }
@keyframes rcSpin { to { transform: rotate(360deg); } }
.rc.is-land > i { animation: bmPop .4s cubic-bezier(.34,1.56,.64,1); }
.runs__res { font: 600 13.5px/1.35 var(--x-font-body); color: var(--x-ink-900); justify-content: flex-start; }
.runs.is-live .runs__res:not(.on) { opacity: 0; }
.runs__res.on { animation: bmPop .45s cubic-bezier(.34,1.56,.64,1); }
.runs__row.is-cur > * { background: rgba(255,241,232,.55); }
.runs__row.is-cur > :first-child { border-radius: 12px 0 0 12px; } .runs__row.is-cur > :last-child { border-radius: 0 12px 12px 0; }
@media (max-width: 900px) {
  .runs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 6px 12px; }
  .runs__head { display: none; }
  .runs__lbl { grid-column: 1 / -1; padding-bottom: 6px !important; border-bottom: 0 !important; }
  .runs__res { grid-column: 1 / -1; padding-top: 4px !important; }
  .runs__row > .rc { border-bottom: 0; padding: 8px 4px; }
  .rc::before { display: none; }
  .rc[data-st]::after { content: attr(data-st); order: -1; font: 500 10.5px/1.2 var(--x-font-mono); color: var(--x-ink-900); }
  .runs__row:not(:last-child) .runs__res { border-bottom: 1px solid var(--x-line); padding-bottom: 16px !important; }
}

/* ── fig. 03: the agent session (bash-tool's own neutrals) ───────── */
.mhook { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ses { margin: 0; }
.ses__win { border-radius: 14px; overflow: hidden; background: #fafafa; border: 1px solid #e5e5e5; box-shadow: 0 22px 50px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.05); }
.ses__bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; border-bottom: 1px solid #e5e5e5; background: #f5f5f5; font: 500 12px/1 var(--x-font-body); color: #737373; }
.ses__log { display: grid; gap: 12px; padding: 18px 18px 20px; align-content: start; }
.ses__msg { margin: 0; font-size: 14.5px; line-height: 1.55; color: #171717; max-width: 58ch; }
.ses__msg--you { justify-self: end; background: #f0f0f0; border: 1px solid #e5e5e5; border-radius: 14px 14px 4px 14px; padding: 9px 13px; }
.bt { border-radius: 10px; border: 1px solid #e5e5e5; background: #f5f5f5; overflow: hidden; }
.bt__h { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 10px; font: 400 12px/1 var(--x-font-body); color: #737373; }
.bt__run { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.bt__shim { background-image: linear-gradient(90deg, #a3a3a3 0%, #a3a3a3 40%, #525252 50%, #a3a3a3 60%, #a3a3a3 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: btShim 1.2s linear infinite; }
@keyframes btShim { from { background-position: 100% center; } to { background-position: 0% center; } }
.bt__spin { width: 12px; height: 12px; color: #737373; animation: rcSpin .8s linear infinite; }
.bt__done { color: #b91c1c; font-weight: 600; }
.bt__b { padding: 7px 10px; border-top: 1px solid #e5e5e5; background: #fff; font: 400 12.5px/1.5 var(--x-font-mono); color: #171717; overflow-wrap: anywhere; }
.bt__d { color: #d97706; user-select: none; }
.bt__deny { padding: 9px 11px 10px; border-top: 1px solid #fecaca; background: #fef2f2; font: 400 12px/1.55 var(--x-font-mono); color: #7f1d1d; }
.bt__deny b { display: block; margin-bottom: 3px; font-weight: 700; color: #b91c1c; }
.bt__f { display: flex; align-items: center; justify-content: space-between; min-height: 30px; padding: 4px 8px 4px 11px; border-top: 1px solid #e5e5e5; background: #f5f5f5; }
.bt__st { font: 400 12px/1 var(--x-font-body); color: #737373; }
.bt__dots i { font-style: normal; animation: btDot 1.4s infinite; }
.bt__dots i:nth-child(2) { animation-delay: .2s; } .bt__dots i:nth-child(3) { animation-delay: .4s; }
@keyframes btDot { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }
.bt__btns { display: flex; gap: 4px; margin-left: auto; }
.bt__skip, .bt__go { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 5px; font: 500 12px/1 var(--x-font-body); }
.bt__skip { color: #737373; }
.bt__go { background: #3b82f6; color: #fff; }
.bt__go.is-press { animation: btPress .3s ease; }
@keyframes btPress { 50% { transform: scale(.94); } }
.ses.is-live .bt__go [data-t]:not(.on), .ses:not(.is-live) .bt__go [data-u] { display: none; }
.ses__tool { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 9px 11px; border-radius: 10px; border: 1px dashed #d4d4d4; background: #fff; font: 400 12px/1.4 var(--x-font-mono); color: #525252; }
.ses__tool-n { display: inline-flex; align-items: center; gap: 6px; color: #171717; }
.ses__tool-n img { width: 14px; height: 14px; }
.ses__tool code { font: inherit; color: #171717; background: #f5f5f5; border-radius: 5px; padding: 2px 6px; }
.ses__tool-r { flex-basis: 100%; color: #047857; }
.ses.is-live [data-t]:not(.on) { display: none; }
.ses.is-live .bt__h [data-t]:not(.on) { display: none; }
.ses:not(.is-live) [data-u] { display: none; }
.ses.is-live [data-u].off { display: none; }
.ses.is-live .ses__log > .on { animation: sesIn .45s cubic-bezier(.2,.7,.2,1); }
.ses.is-live .bt__deny.on, .ses.is-live .vp.on { animation: bmPop .45s cubic-bezier(.34,1.56,.64,1); }
@keyframes sesIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mhook__side { border-radius: 18px; padding: 22px 22px 20px; display: grid; gap: 12px; }
.mhook__k { font: 400 12px/1.4 var(--x-font-mono); color: var(--x-orange-700); }
.mhook__k:not(:first-child) { margin-top: 8px; }
.mpms { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mpms li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--x-ink-700); }
.mpms img { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.mpms b { color: var(--x-ink-900); font-weight: 600; }
.mhook__p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--x-ink-700); }
@media (max-width: 980px) { .mhook { grid-template-columns: minmax(0, 1fr); } }

/* ── the tool explorer ───────────────────────────────────────────── */
.tx { border-radius: 22px; display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); overflow: hidden; }
.tx__nav { list-style: none; margin: 0; padding: 14px 10px 16px; border-right: 1px solid var(--x-line); background: rgba(255,255,255,.45); max-height: 680px; overflow-y: auto; }
.tx__grp { display: flex; align-items: center; gap: 7px; padding: 12px 10px 6px; font: 500 11px/1.2 var(--x-font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--x-ink-500); }
.tx__grp:first-child { padding-top: 4px; }
.tx__grp .i, .tx__grp-l .i { width: 15px; height: 15px; color: var(--x-orange-600); }
.tx__tab { position: relative; display: grid; gap: 2px; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; color: var(--x-ink-900); overflow: hidden; }
.tx__tab code { font: 600 13px/1.3 var(--x-font-mono); }
.tx__tab span { font-size: 12.5px; line-height: 1.3; color: var(--x-ink-500); }
.tx__tab:hover { background: rgba(10,10,35,.04); }
.tx__tab:focus-visible { outline: 2px solid var(--x-blue-500); outline-offset: -2px; }
.tx__tab[aria-selected="true"] { background: #fff; box-shadow: 0 1px 2px rgba(10,10,35,.06), 0 4px 14px rgba(10,10,35,.06); }
.tx__tab[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 2px; background: var(--x-brand-gradient); }
.tx__tab::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 1px; background: var(--x-orange-200); transform: scaleX(0); transform-origin: left; }
.tx.is-auto .tx__tab[aria-selected="true"]::after { animation: txBar var(--tx-dwell, 7s) linear forwards; }
@keyframes txBar { to { transform: scaleX(1); } }
.tx__panels { min-width: 0; }
.tx__panel { padding: 24px 26px 26px; min-width: 0; }
.tx__panel:focus-visible { outline: 2px solid var(--x-blue-500); outline-offset: -4px; }
.tx.is-js .tx__panel:not(.is-on) { display: none; }
.tx:not(.is-js) .tx__panel + .tx__panel { border-top: 1px solid var(--x-line); }
.tx__panel.is-on { animation: sesIn .35s cubic-bezier(.2,.7,.2,1); }
.tx__grp-l { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1.2 var(--x-font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--x-ink-500); }
.tx__name { margin: 8px 0 0; font: 700 24px/1.2 var(--x-font-display); letter-spacing: -.01em; }
.tx__name code { font: 700 22px/1.2 var(--x-font-mono); color: var(--x-ink-900); }
.tx__desc { margin: 8px 0 0; max-width: 66ch; font-size: 15px; line-height: 1.55; color: var(--x-ink-500); }
.tx__io { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 18px; }
.tx__call, .tx__res { min-width: 0; }
.tx__lbl { display: block; margin-bottom: 6px; font: 400 11.5px/1.3 var(--x-font-mono); color: var(--x-ink-500); }
.tx__call pre, .tx__res pre { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #e5e5e5; font: 400 12.5px/1.6 var(--x-font-mono); color: #3b3b3b; overflow-x: auto; }
.tx__call pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.tx__res pre { max-height: 380px; overflow-y: auto; }
.tx__res pre code, .tx__call pre code { font: inherit; }
.tx__cap { margin-top: 12px; }
@media (max-width: 860px) {
  .tx { grid-template-columns: minmax(0, 1fr); }
  .tx__nav { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; max-height: none; padding: 10px; border-right: 0; border-bottom: 1px solid var(--x-line); scroll-snap-type: x proximity; }
  .tx__nav > li { flex: none; scroll-snap-align: start; }
  .tx__grp { display: none; }
  .tx__tab { width: auto; padding: 8px 12px; }
  .tx__tab span { display: none; }
  .tx__panel { padding: 18px 16px 20px; }
  .tx__name code { font-size: 18px; }
  .tx__call pre, .tx__res pre { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .bm__glow, .rc--run > i::after, .bt__shim, .bt__spin, .t1__cur, .bt__dots i { animation: none !important; }
}
.bm__core img { width: 48px; height: 48px; }

/* The product pages' inline-code chip (product-pages.css, specificity 0,4,2)
   is for code inside prose. These are labels and mock-ups, so they opt out. */
.tx__tab > code, .tx__name > code { background: none !important; border: 0 !important; padding: 0 !important; font-size: inherit !important; color: var(--x-ink-900) !important; }
.tx__name > code { font-size: 22px !important; }
.bm__call, .ses__tool > code { border: 0 !important; font-size: 12px !important; color: #171717 !important; }
.bm__call { background: var(--x-paper-2) !important; padding: 6px 9px !important; border-radius: 8px !important; }
.ses__tool > code { background: #f5f5f5 !important; padding: 2px 6px !important; }
.ag__flag { border: 0 !important; font-size: 12px !important; padding: 2px 7px !important; background: var(--x-orange-100) !important; color: var(--x-orange-700) !important; }
.runs__lbl > code { white-space: nowrap; }
@media (max-width: 860px) { .tx__name > code { font-size: 18px !important; } }
@media (max-width: 600px) {
  .tx__res pre, .mfile__body { white-space: pre-wrap; overflow-wrap: anywhere; }
}

/* ── setup v2 (2026-10-20): three numbered steps, one copy button per
   command, an agent picker that swaps step 3 and replays the terminal ── */
.msetup { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; }
.msteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mstep { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 18px 20px 20px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.66) 0%, rgba(255,255,255,.8) 55%, rgba(255,255,255,.72) 100%);
  border: 1px solid rgba(255,255,255,.9); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(10,10,35,.04), 0 8px 24px rgba(10,10,35,.05); }
.mstep__n { position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--x-font-mono); color: var(--x-ink-900); background: #fff; }
.mstep__n::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 2px; background: var(--x-brand-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.mstep__b { min-width: 0; }
.mstep h3 { margin: 4px 0 0; font: 700 18px/1.25 var(--x-font-display); letter-spacing: -.01em; color: var(--x-ink-900); }
.mstep p { margin: 6px 0 12px; font-size: 14.5px; line-height: 1.5; color: var(--x-ink-500); }
.mstep .cmd { font-size: 13px; }
.mpick { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.mpick__b { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 9px; border-radius: 999px; border: 1px solid var(--x-line); background: #fff; color: var(--x-ink-900); font: 500 13px/1 var(--x-font-body); cursor: pointer; transition: border-color .2s, background .2s; }
.mpick__b img { width: 18px; height: 18px; object-fit: contain; }
.mpick__b:hover { border-color: var(--x-ink-400); }
.mpick__b[aria-selected="true"] { border-color: var(--x-blue-500); background: var(--x-blue-100); color: var(--x-blue-700); box-shadow: inset 0 0 0 1px var(--x-blue-500); }
.mpick__b:focus-visible { outline: 2px solid var(--x-blue-500); outline-offset: 2px; }
.mpick__note { margin: 10px 0 0 !important; font-size: 13.5px !important; }
.mhook__json { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #e5e5e5; font: 400 11.5px/1.6 var(--x-font-mono); color: #3b3b3b; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 980px) { .msetup { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .mstep { grid-template-columns: minmax(0, 1fr); } .mstep__n { width: 28px; height: 28px; font-size: 12.5px; } .mpick__b span { font-size: 12.5px; } }
.mstep .cmd { align-items: flex-start; }
.mstep .cmd__text { white-space: normal; overflow-wrap: anywhere; padding-top: 6px; }
.mstep .cmd__prompt { padding-top: 6px; }
@media (min-width: 981px) { .msetup > .t1 { position: sticky; top: 110px; } }

/* the MCP page's JSON and files in THE TERMINAL's dark family (2026-10-20) */
.tx__call pre, .tx__res pre, .mhook__json, .mfile__body { background: #09090b !important; border: 1px solid #3f3f46 !important; color: #e4e4e7 !important; }
.jk { color: #93c5fd; } .js { color: #fca5a5; } .jn { color: #86efac; } .jb { color: #c4b5fd; } .jf { color: #fcd34d; } .jt { color: #71717a; }
.mstep .cmd__text { overflow-wrap: break-word; word-break: normal; }
