/* JSON view — theme-aware code block. */
.pp-json {
    display: block;
    margin: 0;
    padding: .6rem .75rem;
    overflow: auto;
    font: .8rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    background: var(--pp-surface-soft, #f8fafc);
    color: var(--pp-text, #0f172a);
    border: 1px solid var(--pp-border, #e6e9f0);
    border-radius: 8px;
    white-space: pre;
    tab-size: 2;
}
.pp-json.is-invalid { color: var(--pp-danger, #dc2626); white-space: pre-wrap; word-break: break-word; }
