.agent-question-input { min-height: 112px; resize: vertical; line-height: 1.45; }
.agent-scope-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; align-items: end; margin-top: 12px; padding: 12px; border-radius: 8px; border: 1px solid rgba(112,229,255,.18); background: rgba(112,229,255,.055); }
.agent-scope-panel label { display: grid; gap: 5px; margin: 0; }
.agent-scope-panel label span,
.agent-scope-panel > div > span { color: #a9eef8; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.agent-scope-panel select { min-height: 38px; }
.agent-scope-panel p { margin: 5px 0 0; color: #b8c7bf; font-size: 12px; line-height: 1.35; }
.agent-question-actions { display: grid; grid-template-columns: minmax(120px, .35fr) minmax(160px, .65fr); gap: 10px; margin-top: 12px; }
.agent-question-actions .ghost-button,
.agent-question-actions .primary-button { width: 100%; justify-content: center; }
.agent-question-actions .primary-button { grid-column: 1 / -1; min-height: 46px; }
.agent-ask-timer { display: grid; gap: 4px; margin-top: 10px; padding: 11px 12px; border-radius: 8px; border: 1px solid rgba(123,213,111,.2); background: rgba(123,213,111,.075); }
.agent-ask-timer.running { border-color: rgba(112,229,255,.28); background: rgba(112,229,255,.08); }
.agent-ask-timer span { color: #a9eef8; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.agent-ask-timer strong { color: #f7fff8; font-size: 22px; line-height: 1.05; }
.agent-ask-timer p { margin: 0; color: #b8c7bf; font-size: 12px; line-height: 1.35; }
.agent-explain-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.agent-explain-actions .ghost-button { width: 100%; justify-content: center; }
.agent-answer-scope { margin: 12px 0 0; padding: 11px 12px; border-radius: 8px; border: 1px solid rgba(123,213,111,.2); background: rgba(123,213,111,.075); }
.agent-answer-scope span { display: block; color: #bcefb0; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.agent-answer-scope strong { display: block; margin-top: 4px; color: #f7fff8; font-size: 14px; line-height: 1.25; }
.agent-answer-scope p { margin: 5px 0 0; color: #b8c7bf; font-size: 12px; line-height: 1.4; }
.agent-loading-panel { border-color: rgba(112,229,255,.2); background: linear-gradient(135deg, rgba(112,229,255,.08), rgba(123,213,111,.045)); }
.agent-loading-state { display: grid; justify-items: start; gap: 9px; min-height: 154px; align-content: center; padding: 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); }
.agent-loading-state.compact { min-height: 88px; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: center; }
.agent-loading-state strong { color: #f7fff8; font-size: 18px; line-height: 1.2; }
.agent-loading-state p { margin: 0; color: #b8c7bf; font-size: 13px; line-height: 1.4; }
.provider-result-list article.agent-context-item { border-left-color: #70e5ff; background: rgba(112,229,255,.055); }
.agent-how-it-works-modal { width: min(860px, calc(100vw - 40px)); }
.agent-how-it-works-script { margin: 14px 0 0; padding: 14px; border-radius: 8px; overflow: auto; white-space: pre-wrap; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.1); color: #dce7df; font-family: inherit; font-size: 13px; line-height: 1.55; }
.agent-how-it-works-footer { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: rgba(123,213,111,.1); border: 1px solid rgba(123,213,111,.22); color: #dff6dc; font-size: 13px; line-height: 1.4; }
.agent-samples-backdrop { place-items: stretch end; padding: 0; background: rgba(0,0,0,.45); }
.agent-samples-panel { width: min(880px, calc(100vw - 24px)); height: 100vh; overflow: auto; padding: 18px; border-radius: 8px 0 0 8px; background: #101a15; border-left: 1px solid rgba(255,255,255,.14); box-shadow: -24px 0 70px rgba(0,0,0,.48); color: #eff8f0; }
.agent-samples-panel .panel-title { align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.agent-samples-panel .context-note { margin: 5px 0 0; }
.agent-sample-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.agent-sample-group { display: grid; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; background: rgba(255,255,255,.018); }
.agent-sample-group.expanded { grid-column: 1 / -1; border-color: rgba(112,229,255,.28); background: rgba(112,229,255,.025); }
.agent-sample-group h3 { margin: 0; color: #f7fff8; font-size: 15px; line-height: 1.2; }
.agent-sample-group > div > span { display: block; margin-top: 3px; color: var(--fb-dark-muted); font-size: 12px; line-height: 1.35; }
.agent-sample-group-toggle { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; width: 100%; min-height: 70px; padding: 12px 14px; border: 0; border-radius: 0; background: rgba(255,255,255,.025); color: inherit; text-align: left; cursor: pointer; }
.agent-sample-group-toggle:hover { border-color: rgba(112,229,255,.38); background: rgba(112,229,255,.045); }
.agent-sample-group-copy { display: grid; gap: 4px; min-width: 0; }
.agent-sample-group-copy strong { color: #f7fff8; font-size: 15px; line-height: 1.25; }
.agent-sample-group-copy small { color: var(--fb-dark-muted); font-size: 12px; line-height: 1.35; }
.agent-sample-group-meta { display: flex; align-items: center; gap: 9px; align-self: center; white-space: nowrap; }
.agent-sample-group-meta b { color: #b9c8c0; font-size: 11px; font-weight: 800; }
.agent-sample-group-meta i { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(112,229,255,.34); border-radius: 50%; color: #a9eef8; font-size: 19px; font-style: normal; line-height: 1; }
.agent-sample-group.expanded .agent-sample-group-toggle { background: rgba(112,229,255,.055); }
.agent-sample-group-body { display: grid; gap: 10px; padding: 12px 14px 14px; border-top: 1px solid rgba(112,229,255,.2); }
.agent-sample-body-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 2px; }
.agent-sample-body-heading strong { color: #a9eef8; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.agent-sample-body-heading span { color: #84958c; font-size: 11px; }
.agent-sample-group-prompts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.agent-sample-group-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0; }
.agent-sample-button { position: relative; display: grid; gap: 4px; justify-items: start; min-height: 60px; text-align: left; white-space: normal; line-height: 1.35; }
.agent-sample-button.demo-favourite { padding-top: 22px; border-color: rgba(232,179,79,.36); background: linear-gradient(135deg, rgba(232,179,79,.12), rgba(255,255,255,.035)); box-shadow: inset 0 0 0 1px rgba(232,179,79,.08); }
.agent-sample-favourite { position: absolute; top: 7px; right: 8px; display: grid; width: 26px; height: 26px; place-items: center; border-radius: 999px; border: 1px solid rgba(232,179,79,.5); background: rgba(232,179,79,.18); color: #f0d282; font-size: 14px; line-height: 1; box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.agent-sample-button strong { color: #eef8ee; font-size: 13px; line-height: 1.35; }
.agent-sample-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.agent-sample-tags b { display: inline-flex; min-height: 21px; align-items: center; padding: 0 8px; border-radius: 999px; background: rgba(123,213,111,.12); color: #bcefb0; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.agent-sample-tags b:nth-child(2) { background: rgba(112,229,255,.11); color: #a9eef8; }
.agent-sample-button small { color: var(--fb-dark-muted); font-size: 11px; line-height: 1.35; }
.agent-sample-button:disabled { cursor: not-allowed; opacity: .62; border-style: dashed; }
.agent-sample-button:disabled .agent-sample-tags b { background: rgba(232,179,79,.12); color: #f0d282; }
