/* Agent templates */
.fmt.tpl i { border-radius: 1px; transform: rotate(45deg) scale(.85); }
.tpl-line { padding: 10px 18px 0; font-size: 13.5px; font-weight: 600; color: var(--ink); display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.tpl-line span { font: 500 10.5px/1.6 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.fstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; padding: 14px 18px 0; }
.fstrip i { font-style: normal; color: var(--ink-3); font-size: 12px; }
.fs { font: 500 11px/1 var(--f-mono); padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: #FFFFFF; color: var(--ink-2); white-space: nowrap; }
.fs-guardrail { background: #0A0A0A; border-color: #0A0A0A; color: #FFFFFF; }
.fs-human { background: var(--wash); border-color: transparent; color: #0A0A0A; }
.fs-model { border-color: #0A0A0A; color: #0A0A0A; }
.fs-log { border-style: dashed; border-color: #0A0A0A; }
.tpl-feature { display: grid; gap: 10px; padding: 22px; border: 1px solid #0A0A0A; border-radius: var(--radius); background: #FFFFFF; transition: box-shadow .2s, transform .2s; }
.tpl-feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tpl-feature h3 { font-size: 22px; }
.tpl-feature p { color: var(--ink-2); }
.tpl-feature .fstrip { padding: 4px 0; }
.tpl-feature .link-arrow { justify-self: start; margin-top: 4px; }
.pv-steps.harness { margin-bottom: 28px; }
.spec.ctl .spec-row > div:first-child { text-transform: none; letter-spacing: .02em; }
.side-card .buy-meta span:first-child { white-space: nowrap; }
.flow-key { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; }
.flow li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding-bottom: 14px; }
.flow li::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line-2); }
.flow li:last-child { padding-bottom: 0; }
.flow li:last-child::before { display: none; }
.flow .n { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #0A0A0A; background: #FFFFFF; font: 600 13px/1 var(--f-mono); }
.flow .t-guardrail .n { background: #0A0A0A; color: #FFFFFF; }
.flow .t-human .n { background: var(--wash); border-color: transparent; }
.flow .t-log .n { border-style: dashed; }
.flow .fcard { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 12px 16px; display: grid; gap: 4px; }
.flow .t-guardrail .fcard { border-color: #0A0A0A; }
.flow .tag { font: 600 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.flow b { font: 600 17px/1.25 var(--f-display); letter-spacing: -0.01em; }
.flow p { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 600px) {
  .flow li { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .flow .n { width: 32px; height: 32px; font-size: 12px; }
  .flow li::before { left: 15px; top: 32px; }
  .tpl-feature { padding: 18px; }
}
