.agent-suggestion { display: inline-flex; }
.agent-suggestion-trigger { color: #216e39; background: transparent; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 6px; }
.agent-suggestion-trigger:hover { background: #edf7ee; }
.agent-suggestion-trigger.false-fav { width: auto; padding: 0 8px; white-space: nowrap; font-size: 12px; font-weight: 700; color: #a43b16; background: #fff1e9; }
.tag-badge.false-fav { color: #a43b16; background: #fff1e9; }
.tag-badge.weak-fav { color: #b91c1c; background: #fee2e2; border: 1px solid #fecaca; }
.agent-suggestion-trigger:focus-visible, .agent-suggestion-close:focus-visible { outline: 2px solid #216e39; outline-offset: 2px; }
.agent-suggestion svg { width: 19px; height: 19px; fill: currentColor; }
.agent-suggestion-dialog { box-sizing: border-box; width: min(680px, calc(100% - 24px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid #b5d6be; border-radius: 14px; background: #fff; color: #242424; overflow: auto; overscroll-behavior: contain; box-shadow: 0 16px 48px #0004; }
.agent-suggestion-dialog::backdrop { background: #0008; }
.agent-suggestion-dialog form { position: sticky; top: 0; display: flex; justify-content: flex-end; margin: 0; padding: 10px 16px; background: #fff; border-bottom: 1px solid #eee; }
.agent-suggestion-close { min-height: 44px; padding: 8px 18px; border: 1px solid #39794b; border-radius: 8px; background: #fff; color: #216e39; font: inherit; font-weight: 600; cursor: pointer; }
.agent-suggestion-panel { padding: 16px 20px 24px; overflow-wrap: anywhere; white-space: normal; font-size: 16px; line-height: 1.6; font-weight: normal; }
.agent-suggestion-panel h2 { margin: 0 0 16px; font-size: 21px; line-height: 1.3; }
.agent-suggestion-panel p { margin: 14px 0; white-space: pre-line; }
.agent-suggestion-panel small { font-size: 14px; }
