/* AI Agents page — page-specific widgets. After styles.css + marketing.css. LIGHT. */
/* agent run mockup */
.agentui { padding: 0; }
.ag-head { display: flex; align-items: center; gap: 14px; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.ag-bot { width: 48px; height: 48px; border-radius: 13px; background: var(--grad); display: grid; place-items: center; font-size: 24px; }
.ag-nm { font-size: 19px; font-weight: 800; } .ag-meta { font-size: 13px; color: var(--muted); }
.ag-state { margin-left: auto; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.ag-state.amber { background: rgba(214,158,46,.14); color: #b7791f; }
.ag-mission { margin: 18px 26px 0; padding: 16px 18px; border-radius: 12px; background: var(--gradSoft); border: 1px solid rgba(124,92,255,.18); }
.ag-mission .lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 6px; }
.ag-mission .txt { font-size: 16px; line-height: 1.45; color: var(--ink); }
.ag-sec { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted2); margin: 20px 26px 8px; }
.ag-step { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 9px 26px; font-size: 14px; }
.ag-step .k { width: 26px; height: 26px; border-radius: 7px; background: var(--surface3); display: grid; place-items: center; font-size: 13px; }
.ag-step .fn { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--ink); }
.ag-step .r { font-size: 13px; color: var(--muted); }
.ag-prop { margin: 8px 26px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ag-prop__h { display: grid; grid-template-columns: 90px 1fr 70px; gap: 10px; padding: 10px 16px; background: var(--surface2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted2); border-bottom: 1px solid var(--line); }
.ag-prow { display: grid; grid-template-columns: 90px 1fr 70px; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.ag-prow:last-child { border-bottom: 0; }
.ag-op { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 6px; background: var(--gradSoft); color: var(--brand); justify-self: start; }
.ag-op.upd { background: rgba(33,212,253,.14); color: #0a7ea4; }
.ag-rec { color: var(--ink); } .ag-rec b { font-weight: 600; }
.ag-approve { display: flex; gap: 10px; padding: 14px 26px; border-top: 1px solid var(--line); }
.ag-btn { font-size: 14px; font-weight: 700; padding: 9px 18px; border-radius: 10px; }
.ag-btn.ok { background: var(--grad); color: #fff; box-shadow: 0 10px 22px -10px rgba(124,92,255,.6); }
.ag-btn.no { background: var(--surface3); color: var(--muted); }

/* trigger cards */
.trig__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .trig__grid { grid-template-columns: 1fr; } }
.trig { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.trig__i { width: 52px; height: 52px; border-radius: 13px; background: var(--gradSoft); display: grid; place-items: center; font-size: 25px; margin-bottom: 16px; }
.trig h3 { font-size: 20px; } .trig p { font-size: 15px; color: var(--muted); margin-top: 6px; }

/* steps strip */
.flow { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.flow__step { flex: 1; min-width: 150px; text-align: center; padding: 0 10px; position: relative; }
.flow__n { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; margin: 0 auto 12px; }
.flow__step h4 { font-size: 17px; } .flow__step p { font-size: 14px; color: var(--muted); margin-top: 4px; }
