.report-log-card,
.server-log-card,
.audit-log-card {
  overflow: visible;
}

.report-log-card .report-action-menu { position: relative; display: inline-flex; }
.report-log-card .report-action-menu-items { position: absolute; z-index: 25; top: calc(100% + 6px); right: 0; display: none; min-width: 150px; padding: 6px; border: 1px solid var(--dg-border); border-radius: 10px; background: var(--dg-bg-deep); }
.report-log-card .report-action-menu.is-open .report-action-menu-items { display: grid; gap: 4px; }
.report-log-card .report-action-menu-items button { border: 0; border-radius: 7px; padding: 8px 10px; background: transparent; color: var(--dg-text); text-align: left; cursor: pointer; }
.report-log-card .report-action-menu-items button:hover { background: rgba(var(--dg-highlight-rgb), .12); color: var(--dg-highlight); }
.report-log-card .report-action-menu-items button.is-danger:hover { background: rgba(255, 82, 82, .12); color: #ff8f8f; }

.dg-report-context-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border: 1px solid var(--dg-highlight); border-radius: 999px; color: var(--dg-highlight); font-size: .72rem; vertical-align: middle; }
.dg-evidence-link { color: var(--dg-highlight); text-decoration: underline; word-break: break-all; }
.dg-confirm-dialog.dg-report-detail { width: min(940px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; }
.dg-report-detail__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dg-report-detail__body { margin-top: 14px; overflow-y: auto; display: grid; gap: 10px; padding-right: 4px; }
.dg-report-detail__body h4 { margin: 12px 0 0; color: var(--dg-text); }
.dg-report-detail__body th { width: 140px; text-align: left; color: var(--dg-text-muted); font-weight: 600; }
.dg-report-log-scroll { max-height: 320px; overflow-y: auto; }
.dg-report-evidence-edit { display: flex; gap: 8px; align-items: center; }
.dg-report-evidence-edit input { flex: 1; min-width: 0; }

.dg-privacy-note { margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--dg-border); border-left: 3px solid var(--dg-highlight); border-radius: 10px; color: var(--dg-text-dim); font-size: .88rem; line-height: 1.5; }
