.tool [hidden] { display: none !important; }
.jf-error { white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; padding: 10px 12px; border: 1px solid currentColor; border-radius: 8px; margin-bottom: 12px; overflow-x: auto; }
.jf-tree { white-space: normal; word-break: break-word; max-height: 600px; overflow: auto; font-size: .9rem; }
.jf-tree details > div { padding-left: 18px; border-left: 1px dashed var(--border); margin-left: 5px; }
.jf-tree summary { cursor: pointer; }
.jf-tree .jf-leaf { padding-left: 14px; }
.jf-key { color: #a6338f; }
.jf-str { color: #2b8a3e; }
.jf-num { color: #1c7ed6; }
.jf-bool, .jf-null { color: #e8590c; }
.jf-meta { color: var(--muted); font-size: .85em; }
:root[data-theme="dark"] .jf-key { color: #e599f7; }
:root[data-theme="dark"] .jf-str { color: #8ce99a; }
:root[data-theme="dark"] .jf-num { color: #74c0fc; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .jf-key { color: #e599f7; }
    :root:not([data-theme="light"]) .jf-str { color: #8ce99a; }
    :root:not([data-theme="light"]) .jf-num { color: #74c0fc; }
}
