.fc-json-view { display:flex; flex-direction:column; min-width:0; min-height:min(30vh, 100%); color:var(--fc-ink); background:var(--fc-surface); border:1px solid var(--fc-line); border-radius:.65rem; overflow:hidden; }
.fc-json-view--fill { height:100%; min-height:0; flex:1 1 auto; }
.fc-json-view--expanded { position:fixed; inset:0; z-index:2000; height:auto; min-height:0; border-radius:0; box-shadow:var(--fc-shadow); }
.fc-json-toolbar,.fc-json-footer { display:flex; align-items:center; gap:.4rem; flex:0 0 auto; padding:.45rem .6rem; color:var(--fc-muted); background:var(--fc-surface-soft); border-bottom:1px solid var(--fc-line); font: .78rem/1.3 var(--fc-mono); }
.fc-json-footer { justify-content:space-between; border-top:1px solid var(--fc-line); border-bottom:0; }
.fc-json-toolbar-spacer { flex:1; }
.fc-json-tool { padding:.25rem .5rem; color:var(--fc-ink); background:var(--fc-surface); border:1px solid var(--fc-line); border-radius:.35rem; font:inherit; cursor:pointer; }
.fc-json-tool[aria-pressed="true"] { color:var(--fc-accent-ink); background:var(--fc-accent); border-color:var(--fc-accent); }
.fc-json-content { display:flex; gap:.5rem; flex:1 1 auto; min-height:0; overflow:auto; padding:.5rem; }
.fc-json-source,.fc-json-editor { flex:1 1 50%; min-width:0; min-height:0; margin:0; padding:.65rem; overflow:auto; color:var(--fc-ink); background:var(--fc-bg); border:1px solid var(--fc-line); border-radius:.4rem; font: .8rem/1.45 var(--fc-mono); white-space:pre-wrap; overflow-wrap:anywhere; tab-size:2; }
.fc-json-editor { resize:none; min-height:calc(var(--fc-json-rows, 8) * 1.45em + 1.3rem); }
.fc-json-view--fill .fc-json-content { min-height:0; }
.fc-json-table-wrap { flex:1 1 50%; min-width:0; overflow:auto; }
.fc-json-table { width:100%; border-collapse:collapse; font-size:.82rem; }
.fc-json-table th,.fc-json-table td { padding:.4rem .5rem; border:1px solid var(--fc-line); text-align:left; vertical-align:top; }
.fc-json-table th { position:sticky; top:0; color:var(--fc-muted); background:var(--fc-surface-soft); }
.fc-json-table pre { max-width:32rem; margin:.35rem 0 0; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; font: .76rem/1.4 var(--fc-mono); }
.fc-json-cell-details summary,.fc-json-expanded-row summary { cursor:pointer; color:var(--fc-accent-strong); }
.fc-json-expanded-row td { padding-top:0; border-top:0; }
.fc-json-valid { color:var(--fc-buy); }
.fc-json-invalid { color:var(--fc-danger); }
@media(max-width:760px) { .fc-json-content { flex-direction:column; } .fc-json-source,.fc-json-editor,.fc-json-table-wrap { flex-basis:auto; min-height:0; } .fc-json-view--fill .fc-json-content { min-height:0; } }
