/* 财务可信度层 */
.confidence-panel { padding: 16px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.confidence-high { background-color: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.confidence-medium { background-color: #fefce8; color: #854d0e; border: 1px solid #fef08a; }
.confidence-low { background-color: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* 溯源与风险标记 */
.source-badge { cursor: pointer; font-size: 0.75rem; padding: 2px 6px; border-radius: 4px; background: #e2e8f0; color: #475569; margin-left: 8px; transition: all 0.2s; }
.source-badge:hover { background: #cbd5e1; }
.risk-badge { font-size: 0.75rem; padding: 2px 8px; border-radius: 12px; font-weight: bold; margin-left: 8px; animation: pulse 2s infinite; }
.risk-CRITICAL { background: #ef4444; color: white; } 
.risk-HIGH { background: #f97316; color: white; }     
.risk-MEDIUM { background: #eab308; color: black; }    
.risk-LOW { background: #22c55e; color: white; }       

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.8; } 100% { opacity: 1; } }

/* 审计抽屉 (Audit Drawer) */
.audit-drawer { position: fixed; right: -400px; top: 0; width: 400px; height: 100vh; background: #fff; box-shadow: -4px 0 15px rgba(0,0,0,0.1); transition: right 0.3s ease; z-index: 1000; padding: 20px; overflow-y: auto; }
.audit-drawer.open { right: 0; }
.drawer-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); display: none; z-index: 999; }
.drawer-overlay.open { display: block; }

/* 时间线轴 */
.timeline { border-left: 2px solid #e5e7eb; padding-left: 16px; margin-top: 16px; }
.timeline-item { margin-bottom: 16px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -21px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #3b82f6; border: 2px solid #fff; }