/*
 * Read-only JSON blocks in webhook event details (PineappleJsonPropertyEditor).
 * Payloads are long single-line jsonb strings; without this they render as an unreadable
 * one-liner exactly when someone is trying to work out why an integration failed.
 */
pre.pineapple-json {
    margin: 0;
    padding: 0.75rem 0.9rem;
    max-height: 26rem;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.8125rem;
    line-height: 1.45;
    tab-size: 2;
    white-space: pre;
    border: 1px solid var(--dxbl-border-color, rgba(128, 128, 128, 0.35));
    border-radius: 0.375rem;
    /* Inherit the shell's palette so the block works in both light and dark themes. */
    background-color: var(--dxbl-textbox-bg, rgba(128, 128, 128, 0.08));
    color: inherit;
}

.pineapple-json-empty {
    opacity: 0.6;
}

.pineapple-json-warning {
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dxbl-warning, #b8860b);
}
