/* Artículo «Diseñar para agentes de IA»: portada y esquemas */
.cv-agent { background: #e1f0ee; }
.cv-agent .cv-wrap { display: flex; align-items: center; gap: 22px; }
.cv-agent .cv-plan { display: grid; gap: 8px; width: 160px; padding: 13px; border: 1px solid #20201e; border-radius: 8px; background: #fff; }
.cv-agent .cv-row { display: flex; align-items: center; gap: 8px; }
.cv-agent .cv-row i { flex: none; width: 13px; height: 13px; border: 1.5px solid #20201e; border-radius: 3px; }
.cv-agent .cv-row i.ok { background: #20201e; }
.cv-agent .cv-row u { flex: 1; height: 6px; border-radius: 3px; background: #c4dcd8; text-decoration: none; }
.cv-agent .cv-row:nth-child(2) u { max-width: 70%; }
.cv-agent .cv-btns { display: flex; gap: 6px; margin-top: 3px; }
.cv-agent .cv-btns b { padding: 3px 10px; border-radius: 999px; background: #20201e; color: #fff; font: 600 10px/1.4 var(--mono); }
.cv-agent .cv-btns s { width: 36px; height: 18px; border: 1px solid #20201e; border-radius: 999px; }
.cv-agent .cv-dial { position: relative; flex: none; width: 74px; height: 38px; border: 7px solid #20201e; border-bottom: 0; border-radius: 74px 74px 0 0; }
.cv-agent .cv-dial i { position: absolute; left: 50%; bottom: -3px; width: 3px; height: 28px; background: #20201e; transform: translateX(-50%) rotate(38deg); transform-origin: 50% 100%; }

/* Seis patrones por momento */
.ag-life { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ag-life > li { display: grid; align-content: start; gap: 12px; padding: 16px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); }
.ag-life > li:nth-child(2) { background: var(--wash); border-color: #c9cdee; }
.ag-top { padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.ag-top b { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.ag-life ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ag-life ul li { display: grid; gap: 4px; }
.ag-life ul b { font-size: 18px; font-weight: 650; letter-spacing: -.03em; line-height: 1.15; }
.ag-life ul span { color: var(--muted); font-size: 14.5px; line-height: 1.4; }

/* Ejemplo: vista previa de la intención */
.ag-mock { max-width: 560px; margin-inline: auto; padding: 18px; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface, #fff); box-shadow: 0 8px 24px rgba(20, 20, 40, .07); }
.ag-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.ag-bar b { font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.ag-bar .flow-tag { margin: 0; }
.ag-head { margin: 14px 0 10px; font-size: 20px; font-weight: 650; letter-spacing: -.04em; line-height: 1.2; }
.ag-acts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ag-acts li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 8px; font-size: 14.5px; line-height: 1.35; }
.ag-chk { width: 16px; height: 16px; border-radius: 4px; background: var(--ink); box-shadow: inset 0 0 0 2px var(--surface, #fff); outline: 1.5px solid var(--ink); }
.ag-acts em { padding: 2px 9px; border-radius: 999px; font: 500 11px/1.5 var(--mono); font-style: normal; white-space: nowrap; }
.ag-ok { background: #e3efe1; color: #1f4d2a; }
.ag-no { background: #f9e2df; color: #8a2b20; }
.ag-effect { margin: 12px 0 0; font-weight: 650; font-size: 15px; }
.ag-conf { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.ag-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ag-b { padding: 8px 16px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; font-weight: 600; }
.ag-b.p { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* Dial de autonomía */
.ag-dial { display: grid; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.ag-dh, .ag-row { display: grid; grid-template-columns: 1.1fr 1.2fr 1.2fr 1.2fr; }
.ag-dh span { padding: 10px 14px; background: var(--paper); font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ag-dh span:first-child { color: var(--blue); }
.ag-row { border-top: 1px solid var(--rule); }
.ag-row > * { padding: 12px 14px; font-size: 14.5px; line-height: 1.4; }
.ag-row b { font-size: 15px; font-weight: 650; letter-spacing: -.02em; background: var(--wash); }
.ag-row:nth-of-type(2) b { background: color-mix(in srgb, var(--wash) 85%, var(--blue) 3%); }

/* Matriz reversibilidad x impacto */
.ag-quad { display: grid; grid-template-columns: 110px repeat(2, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.ag-ax { padding: 6px 4px; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.ag-ay { display: flex; align-items: center; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ag-q { display: grid; align-content: center; gap: 6px; padding: 18px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); }
.ag-q b { font-size: 20px; font-weight: 650; letter-spacing: -.04em; }
.ag-q span { color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.ag-q.q1 { background: #e3efe1; border-color: #bcd8b8; }
.ag-q.q2, .ag-q.q3 { background: var(--wash); border-color: #c9cdee; }
.ag-q.q4 { background: #f9e8e5; border-color: #ecc4be; }
.ag-q.q1 b, .ag-q.q4 b { color: var(--ink); }

@media (max-width: 900px) { .ag-life { grid-template-columns: 1fr; } .ag-dh, .ag-row { grid-template-columns: 1fr 1fr; } .ag-dh span:nth-child(n+3) { display: none; } .ag-row > b { grid-column: 1 / -1; } .ag-row > span::before { content: attr(data-l) ": "; display: block; font: 500 10px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 3px; } .ag-dh { display: none; } }
@media (max-width: 650px) { .ag-row { grid-template-columns: 1fr; } .ag-quad { grid-template-columns: 1fr 1fr; } .ag-corner { display: none; } .ag-ay { grid-column: 1 / -1; padding-top: 6px; } .ag-acts li { grid-template-columns: auto 1fr; } .ag-acts em { grid-column: 2; justify-self: start; } }
