/* JSON — editor dark panes, blue + lime */
.json-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.json-toolbar select { width: auto; min-height: 42px; }
.json-toolbar .spacer { flex: 1; }
.json-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r); overflow: hidden; border: 1px solid #23262e; background: #15171c; }
@media (max-width: 760px) { .json-grid { grid-template-columns: 1fr; } }
.pane { display: flex; flex-direction: column; min-width: 0; }
.pane + .pane { border-left: 1px solid #23262e; }
@media (max-width: 760px) { .pane + .pane { border-left: 0; border-top: 1px solid #23262e; } }
.pane-head { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; background: #1b1e24; border-bottom: 1px solid #23262e; }
.pane-head label, .pane-head .lbl { color: #9aa3b2; font: 600 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.pane-head .dots { display: flex; gap: 6px; }
.pane-head .dots i { width: 9px; height: 9px; border-radius: 50%; background: #2c313a; }
#input, .out {
  min-height: 440px; height: 440px; margin: 0; border: 0; border-radius: 0;
  background: #15171c; color: #e6e9ef; font: 13.5px/1.6 var(--mono); padding: 14px 16px;
}
#input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
#input::placeholder { color: #5b6372; }
.out { overflow: auto; white-space: pre; }
.status { min-height: 26px; margin: 14px 0 0; font-weight: 650; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.status.ok::before, .status.error::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.j-key { color: #7cc4ff; } .j-str { color: #a5d65b; } .j-num { color: #ffb36b; } .j-bool { color: #e58cff; } .j-null { color: #8a93a3; font-style: italic; }
.err-line { background: rgba(255, 90, 90, .22); box-shadow: inset 3px 0 0 #ff6b6b; display: inline-block; width: 100%; }
