/* Tus agentes. Só tokens do app.css/next.css. */
.ag { max-width: 1080px; }
.ag-cupo { color: var(--ink-2); margin: 0 0 18px; } .ag-cupo span { color: var(--muted); font-size: 14px; margin-left: 8px; }
.ag-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ag-card { width: 100%; height: 100%; min-height: 104px; text-align: left; display: grid; gap: 6px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; cursor: pointer; font: inherit; color: var(--ink); }
.ag-card:hover { border-color: var(--brand); } .ag-card:active { transform: translateY(1px); }
.ag-card b { font: 600 19px var(--f-display); } .ag-card span { color: var(--ink-2); font-size: 15px; line-height: 1.4; }
.ag-hist { margin-top: 30px; } .ag-hist h2 { font-size: 18px; margin: 0 0 10px; }
.ag-hist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ag-hist li { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 8px 6px 14px; }
.ag-hist a { flex: 1; min-width: 0; display: grid; min-height: 44px; align-content: center; color: inherit; text-decoration: none; } .ag-hist b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ag-hist small { color: var(--muted); }
.ag-chat { display: flex; flex-direction: column; height: calc(100dvh - 64px); max-width: 820px; }
.ag-top { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ag-top div { display: grid; } .ag-top b { font: 600 18px var(--f-display); } .ag-top small { color: var(--muted); }
.ag-log { flex: 1; overflow-y: auto; padding: 18px 2px; display: flex; flex-direction: column; gap: 14px; }
.ag-m { max-width: 92%; } .ag-user { align-self: flex-end; background: var(--brand-soft); border-radius: 16px 16px 4px 16px; padding: 10px 14px; }
.ag-assistant { align-self: flex-start; }
.ag-txt { font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; } .ag-txt p { margin: 0 0 8px; } .ag-txt ul { margin: 0 0 8px; padding-left: 20px; } .ag-txt h3 { font-size: 16px; margin: 14px 0 6px; } .ag-txt hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.ag-txt blockquote { margin: 0 0 8px; padding-left: 12px; border-left: 2px solid var(--line-2); } .ag-txt mark { background: var(--warn-soft); color: var(--warn); border-radius: 4px; padding: 0 3px; }
.ag-pensando { color: var(--muted); animation: crp 1.4s ease-in-out infinite; }
.ag-acc { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.ag-sug { margin-top: 2px; } .ag-sug .chip { text-align: left; height: auto; min-height: 44px; }
.ag-form { display: flex; gap: 8px; align-items: flex-end; padding-top: 10px; }
.ag-form textarea { resize: none; min-height: 50px; max-height: 220px; }
.ag-go { width: 50px; height: 50px; min-height: 50px; padding: 0; flex: none; border-radius: 50%; }
@media (max-width: 720px) { .ag-chat { height: calc(100dvh - 150px); } .ag-m { max-width: 100%; } }
@media (prefers-reduced-motion: reduce) { .ag-pensando { animation: none; } }
