.JSONViewerTool-module__xcQHWa__root{gap:var(--space-4);flex-direction:column;min-height:0;display:flex}.JSONViewerTool-module__xcQHWa__layout{gap:var(--space-4);grid-template-columns:1fr 1fr;min-height:520px;display:grid}.JSONViewerTool-module__xcQHWa__pane{background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius-lg);flex-direction:column;display:flex;overflow:hidden}.JSONViewerTool-module__xcQHWa__paneHeader{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-4);background:var(--bg-alt);border-bottom:1px solid var(--border);flex-shrink:0;display:flex}.JSONViewerTool-module__xcQHWa__paneTitle{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:.8rem;font-weight:600}.JSONViewerTool-module__xcQHWa__errorBadge{color:var(--error);border-radius:var(--radius-full);background:#fee2e2;padding:2px 8px;font-size:.75rem;font-weight:600}.JSONViewerTool-module__xcQHWa__okBadge{color:#065f46;border-radius:var(--radius-full);background:#d1fae5;padding:2px 8px;font-size:.75rem;font-weight:600}[data-theme=dark] .JSONViewerTool-module__xcQHWa__okBadge{color:#6ee7b7;background:#052e16}[data-theme=dark] .JSONViewerTool-module__xcQHWa__errorBadge{color:#fca5a5;background:#450a0a}.JSONViewerTool-module__xcQHWa__statsPill{gap:var(--space-2);color:var(--text-subtle);font-size:.75rem;display:flex}.JSONViewerTool-module__xcQHWa__textarea{padding:var(--space-4);font-family:var(--font-mono);color:var(--text);resize:none;caret-color:var(--primary);background:0 0;border:none;outline:none;flex:1;font-size:.875rem;line-height:1.65}.JSONViewerTool-module__xcQHWa__textareaErr{color:var(--error)}.JSONViewerTool-module__xcQHWa__errMsg{color:var(--error);padding:var(--space-2) var(--space-4);font-size:.8rem;font-family:var(--font-mono);background:#fef2f2;border-top:1px solid #fca5a5;flex-shrink:0}[data-theme=dark] .JSONViewerTool-module__xcQHWa__errMsg{background:#450a0a;border-top-color:#7f1d1d}.JSONViewerTool-module__xcQHWa__viewer{padding:var(--space-4);flex:1;overflow:auto}.JSONViewerTool-module__xcQHWa__placeholder{color:var(--text-subtle);font-size:.875rem;font-style:italic}.JSONViewerTool-module__xcQHWa__node{flex-direction:column;display:flex}.JSONViewerTool-module__xcQHWa__children{border-left:1px dashed var(--border);margin-left:.25rem;padding-left:1.5rem}.JSONViewerTool-module__xcQHWa__line{font-family:var(--font-mono);flex-wrap:wrap;align-items:flex-start;gap:4px;padding:1px 0;font-size:.8375rem;line-height:1.5;display:flex}.JSONViewerTool-module__xcQHWa__toggle{cursor:pointer;color:var(--text-muted);width:14px;transition:color var(--transition-fast);background:0 0;border:none;flex-shrink:0;padding:0;font-size:.7rem}.JSONViewerTool-module__xcQHWa__toggle:hover{color:var(--primary-text)}.JSONViewerTool-module__xcQHWa__key{color:var(--primary-text);font-weight:500}.JSONViewerTool-module__xcQHWa__brace{color:var(--text);font-weight:600}.JSONViewerTool-module__xcQHWa__preview{color:var(--text-subtle);margin:0 4px;font-size:.8rem;font-style:italic}.JSONViewerTool-module__xcQHWa__valString{color:#16a34a}.JSONViewerTool-module__xcQHWa__valNumber{color:#2563eb}.JSONViewerTool-module__xcQHWa__valBool{color:#7c3aed;font-weight:600}.JSONViewerTool-module__xcQHWa__valNull{color:var(--text-subtle);font-style:italic}[data-theme=dark] .JSONViewerTool-module__xcQHWa__valString{color:#4ade80}[data-theme=dark] .JSONViewerTool-module__xcQHWa__valNumber{color:#60a5fa}[data-theme=dark] .JSONViewerTool-module__xcQHWa__valBool{color:#c4b5fd}@media (max-width:900px){.JSONViewerTool-module__xcQHWa__layout{grid-template-columns:1fr;min-height:auto}}
