.broken-utf8-assistant{border:1px solid var(--color-border);background:var(--color-surface);border-radius:var(--radius-md);padding:18px;margin-block:18px 26px}
.broken-utf8-assistant.article-wide{width:100%;max-width:100%;margin-inline:0}
.broken-utf8-head{display:flex;justify-content:space-between;gap:14px;align-items:start;margin-bottom:14px}
.broken-utf8-head h3{margin:0 0 4px;font-size:24px}
.broken-utf8-mode,.broken-utf8-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:12px 0}
.broken-utf8-mode label,.broken-utf8-actions label{display:flex;gap:6px;align-items:center;font-weight:700}
.broken-utf8-actions label{display:grid;gap:4px}
.broken-utf8-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.broken-utf8-summary article{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-bg);padding:12px}
.broken-utf8-summary h4{margin:0 0 6px}
.broken-utf8-assistant code{white-space:normal;overflow-wrap:anywhere}
.confidence-high{font-weight:700;color:#056650}
.confidence-medium{font-weight:700;color:#7c2d12}
.confidence-low,.confidence-none{font-weight:700;color:var(--color-muted)}
@media(max-width:760px){.broken-utf8-summary{grid-template-columns:1fr}.broken-utf8-head{display:block}.broken-utf8-head .badge{display:inline-flex;margin-top:8px}}
