.sw-json-toolbar {
    display: flex;
    padding: 14px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #e5ebf3;
    background: #f7faff;
}

.sw-json-toolbar__group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.sw-json-inline-label {
    color: #5d6d82;
    font-size: 11px;
    font-weight: 780;
}

.sw-json-indent {
    width: auto;
    min-width: 135px;
    min-height: 42px;
}

.sw-json-sort {
    min-height: 42px;
    margin: 0;
}

.sw-json-editors {
    display: grid;
}

.sw-json-editor {
    min-width: 0;
    background: #ffffff;
}

.sw-json-editor + .sw-json-editor {
    border-top: 1px solid #e5ebf3;
}

.sw-json-editor__head {
    display: flex;
    min-height: 48px;
    padding: 8px 13px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #e9eef5;
    background: #fbfcfe;
}

.sw-json-editor__head > div:first-child {
    display: grid;
}

.sw-json-editor__head span {
    color: #32435a;
    font-size: 12px;
    font-weight: 810;
}

.sw-json-editor__head small {
    margin-top: 2px;
    color: #7b899c;
    font-size: 9px;
}

.sw-json-editor__head > div:last-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sw-json-editor__head button,
.sw-json-file {
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font: inherit;
    font-size: 10px;
    font-weight: 790;
    cursor: pointer;
}

.sw-json-textarea {
    display: block;
    width: 100%;
    min-height: 430px;
    padding: 16px;
    border: 0;
    background: #ffffff;
    color: #1f3047;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    line-height: 1.65;
    outline: none;
    resize: vertical;
    tab-size: 2;
}

.sw-json-textarea:focus {
    box-shadow: inset 0 0 0 3px rgba(20, 72, 150, 0.12);
}

.sw-json-textarea[readonly] {
    background: #f8fbff;
}

.sw-json-diagnostics {
    padding: 16px;
    border-top: 1px solid #e5ebf3;
}

.sw-json-error {
    margin-top: 10px;
    color: #a72838;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    line-height: 1.5;
    white-space: pre-wrap;
}

@media (min-width: 940px) {
    .sw-json-editors {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sw-json-editor + .sw-json-editor {
        border-top: 0;
        border-left: 1px solid #e5ebf3;
    }
}

@media (max-width: 640px) {
    .sw-json-toolbar .sw-tools-button {
        min-height: 42px;
        padding: 0 13px;
    }

    .sw-json-textarea {
        min-height: 320px;
    }
}
