/* AI Score Box */
.ai-score-box { padding: 20px; margin-bottom: 20px; }
.ai-score-header { display: flex; align-items: center; gap: 16px; }
.ai-score-label { font-size: 12px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.5px; }
.ai-score-value { font-size: 42px; font-weight: 700; line-height: 1; }
.ai-score-value .of4 { font-size: 16px; font-weight: 400; opacity: 0.5; }
.tag { padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 500; }
.tag-conflict { background: var(--red-dim); color: var(--red); }
.tag-agree { background: var(--green-dim); color: var(--green); }
.ai-original { font-size: 12px; color: var(--text-tertiary); margin-top: 8px; }
.synth-notes { font-size: 12px; color: var(--text-secondary); margin-top: 8px; font-family: monospace; }
.evidence-detail { margin-top: 10px; }
.evidence-detail summary { font-size: 12px; color: var(--accent); cursor: pointer; }
.override-reason { font-size: 12px; color: var(--yellow); margin-top: 8px; }
.override-toggle-btn { margin-top: 14px; padding: 6px 14px; font-size: 12px; background: transparent; border: 1px solid var(--glass-border); color: var(--text-secondary); border-radius: var(--radius-sm); cursor: pointer; }
.override-toggle-btn:hover { border-color: var(--accent); color: var(--accent); }
.override-panel { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--glass-border); }
/* Conflict sides */
.conflict-sides { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; margin: 12px 0; }
.conflict-side { padding: 12px; background: rgba(4,49,89,0.03); border-radius: var(--radius-sm); }
.side-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.side-header span { font-size: 18px; font-weight: 600; }
.conflict-divider { display: flex; align-items: center; font-size: 11px; color: var(--text-tertiary); font-weight: 600; }
.resolved-note { font-size: 12px; color: var(--green); padding: 8px 0; }
.resolve-text { min-height: 60px; }
.citation { font-size: 12px; color: var(--text-tertiary); padding: 6px 0; border-bottom: 1px solid var(--glass-border); line-height: 1.5; }
.perspectives { display: flex; flex-direction: column; gap: 10px; }
.item-view h3 { font-size: 14px; font-weight: 500; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.5px; margin: 24px 0 12px; }

/* Perspective cards */
.perspectives { display: flex; flex-direction: column; gap: 12px; }
.persp-card { padding: 16px; overflow: hidden; }
.persp-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.persp-source { min-width: 0; flex: 1; }
.persp-source b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.persp-score { flex: 0 0 auto; white-space: nowrap; font-size: 13px; font-weight: 600; text-align: right; }
.persp-notes { margin: 12px 0 0; line-height: 1.45; color: var(--text-secondary); }
.persp-citations { margin-top: 12px; }
.persp-citations summary { cursor: pointer; color: var(--accent); font-size: 12px; }
.persp-citations .citation { margin-top: 8px; overflow-wrap: anywhere; }
.persp-actions { display: flex; justify-content: flex-end; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--glass-border); }
.persp-actions .context-btn { margin: 0; width: auto; flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 720px) {
  .persp-header { flex-direction: column; gap: 8px; }
  .persp-score { text-align: left; white-space: normal; }
  .persp-actions { justify-content: flex-start; }
}
