.intent-filter-wrap { max-width:100%; }
.intent-filter-wrap select { max-width:100%; }
.intent-scope-note { margin:0 0 20px; padding:10px 14px; background:#f4f6f8; border-radius:8px; line-height:1.6; }
.intent-badge { align-self:flex-start; display:inline-block; max-width:100%; padding:5px 9px; color:#425565; background:#edf2f6; border-radius:6px; font-size:12px; overflow-wrap:anywhere; }
.prompt-intent-field { display:grid; gap:10px; margin-top:20px; }
.prompt-intent-field > p { margin:0; }
.intent-examples { margin:16px 0; display:grid; gap:7px; }
.intent-examples dt { font-weight:600; }
.intent-examples dd { margin:0 0 10px; color:#4a5968; }
.cost-row-explanation { max-width:280px; margin-top:8px; font-size:12px; white-space:normal; }
.cost-row-explanation summary { cursor:pointer; color:#536175; text-decoration:underline; text-underline-offset:3px; }
.cost-row-explanation[open] { min-width:210px; }
.cost-row-explanation .cost-uncertainty { margin-top:10px; padding:12px; background:#f9f6ef; border:1px solid #e9dfca; border-radius:8px; }
.cost-row-explanation .cost-uncertainty > strong,.cost-short-reason { display:none; }
.cost-row-explanation ul { padding-left:16px; margin:0; }
.cost-row-explanation li { margin:0 0 8px; overflow-wrap:anywhere; }
.cost-row-explanation p { line-height:1.6; }
#selection-context > span { min-width:0; overflow-wrap:anywhere; }
#selection-context > span > small { display:block; color:#566273; margin-top:5px; }
@media(max-width:640px) { .intent-filter-wrap { flex:1 1 100%; } .intent-filter-wrap select { width:100%; } }

.intent-suggestion { padding:14px 16px; border:1px solid #dce4d7; border-radius:9px; background:#f5f8f1; min-width:0; }
.intent-suggestion[hidden] { display:none!important; }
.intent-suggestion-label { display:block; margin:0 0 7px; color:#67745f; font-size:10px; line-height:1.5; }
.intent-suggestion-title { display:block; color:#3b503c; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.intent-suggestion-reason { margin:6px 0 0; color:#586a51; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
.intent-suggestion-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:12px; }
.intent-suggestion-actions [hidden] { display:none!important; }
.intent-suggestion[data-state="ambiguous"],.intent-suggestion[data-state="uncertain"],.intent-suggestion[data-state="empty"] { background:#f7f8f5; border-color:#e1e5dc; }
.intent-suggestion-actions .text-button { font-size:11px; color:#64715b; }
@media(max-width:480px) { .intent-suggestion { padding:12px; } .intent-suggestion-actions .button { width:100%; justify-content:center; } }
