/* Keep findings readable while the workspace column scrolls past the summary. */

.adam-final-p21-cutoff-disclosure,
.adam-final-p21-notice {
    color: var(--text-secondary, var(--nwc-text-secondary));
    font-size: 0.75rem;
    line-height: 1.45;
}

/* WC renders grid menus under body. Keep them above the P21 drilldown dialog and below toasts. */
body:has(.adam-p21-dialog.wc-ui-modal-open) > nph-action-menu.wc-ag-col-menu-toggler.context-menu {
    z-index: calc(var(--nwc-z-toast, 300) - 1);
}

.adam-final-p21-finding-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ag-cell.adam-p21-unreviewed-cell {
    display: flex;
    align-items: center;
}

.adam-p21-review-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    margin-block: 0.5rem;
}

.adam-p21-review-source-preview {
    padding: 1rem;
}

.adam-final-p21-comparison {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.adam-final-p21-comparison-metadata {
    display: grid;
    gap: 0.35rem;
    font-size: 0.8rem;
    overflow-wrap: anywhere;
}

.adam-final-p21-comparison-message {
    color: var(--text-secondary, var(--nwc-text-secondary));
}
