/* divergence_module.css */
.tz-card { border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 12px; margin-top: 10px; }
.tz-card-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom: 10px; }
.tz-title { font-weight: 800; font-size: 14px; opacity: .95; }
.tz-head-right { display:flex; align-items:center; gap:8px; }

.tz-pill { padding: 6px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }
.tz-pill.ok { background: rgba(0,255,0,0.08); }
.tz-pill.warn { background: rgba(255,200,0,0.10); }
.tz-pill.bad { background: rgba(255,0,0,0.08); }

.tz-badge { padding: 6px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; border: 1px solid rgba(255,255,255,0.12); }
.tz-badge.ok { background: rgba(0,255,0,0.08); }
.tz-badge.warn { background: rgba(255,200,0,0.10); }
.tz-badge.bad { background: rgba(255,0,0,0.08); }

.tz-summary { padding: 12px 12px; border-radius: 12px; background: rgba(255,255,255,0.04); font-weight: 900; font-size: 13px; line-height: 1.35; margin: 8px 0; border: 1px solid rgba(255,255,255,0.08); }
.tz-summary.ok { background: rgba(0,140,255,0.12); border-color: rgba(0,140,255,0.26); }
.tz-summary.warn { background: rgba(255,200,0,0.10); border-color: rgba(255,200,0,0.22); }
.tz-summary.bad { background: rgba(255,0,0,0.10); border-color: rgba(255,0,0,0.22); }

.tz-details { margin-top: 8px; }
.tz-details-summary { cursor: pointer; font-weight: 800; font-size: 12px; opacity: .8; }
.tz-details[open] .tz-details-summary { opacity: 1; }

.tz-chips { display:flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.tz-chip { display:inline-flex; align-items:baseline; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.tz-chip-k { font-size: 11px; opacity: .75; font-weight: 800; }
.tz-chip b { font-size: 12px; font-weight: 900; }

.tz-row { display:flex; gap:10px; flex-wrap: wrap; margin: 8px 0; }
.tz-kv { flex: 1 1 120px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,0.04); }
.tz-kv span { display:block; font-size: 11px; opacity: .7; margin-bottom: 4px; }
.tz-kv b { font-size: 13px; }

.tz-reason { margin: 8px 0; padding: 10px; border-radius: 12px; background: rgba(255,255,255,0.05); font-weight: 800; }

.tz-levels { display:flex; gap:10px; flex-wrap: wrap; margin-top: 8px; }
.tz-level { flex: 1 1 180px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,0.04); }
.tz-level span { display:block; font-size: 11px; opacity: .7; margin-bottom: 4px; }
.tz-level b { font-size: 14px; }

.tz-note { margin-top: 10px; font-weight: 800; opacity: .95; }
.tz-hint { margin-top: 6px; font-size: 12px; opacity: .75; }

.tz-context { margin-top: 10px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,0.03); display:flex; gap:10px; align-items:center; }
.tz-context-label { font-size: 12px; opacity: .75; font-weight: 700; }
