.tool-form-json-convert .tool-header-split {
    gap: 12px;
}

.tool-form-json-convert .json-convert-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    height: 46.8vh;
    min-height: 46.8vh;
    max-height: 46.8vh;
}

.tool-form-json-convert .json-convert-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    border: 1px solid #efefef;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.tool-form-json-convert .json-convert-panel-title {
    padding: 8px 12px;
    font-size: 0.925rem;
    font-weight: 600;
    color: #686868;
    border-bottom: 1px solid #f0f0f0;
    background: #fff !important;
    flex-shrink: 0;
}

.tool-form-json-convert #input-editor-host {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

.tool-form-json-convert #input-editor-host .cm-editor {
    background: #fff;
}

.tool-form-json-convert #input-editor-host .cm-editor .cm-gutters {
    background-color: #f6f6f6;
    border-right: none;
}

.tool-form-json-convert .json-convert-output-wrap {
    flex: 1;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

.tool-form-json-convert #output-editor {
    flex: 1;
    min-height: 0;
    width: 100%;
    height: 100% !important;
    font-size: 14px;
    background: #fff;
}

.tool-form-json-convert #output-editor.ace_editor,
.tool-form-json-convert #output-editor .ace_scroller {
    background-color: #fff !important;
}

.tool-form-json-convert #output-editor .ace_gutter,
.tool-form-json-convert #output-editor.ace-chrome .ace_gutter {
    background-color: #f6f6f6 !important;
    border-right: none;
}

.tool-form-json-convert #output-editor .ace-chrome .ace_gutter-active-line {
    background-color: #f6f6f6 !important;
}

.tool-form-json-convert #output-editor .ace-chrome .ace_marker-layer .ace_active-line {
    background-color: transparent !important;
}

.tool-form-json-convert #output-editor .ace_gutter-cell {
    color: #686868;
}

.tool-form-json-convert #output-editor .ace_marker-layer .ace_bracket,
.tool-form-json-convert #output-editor .ace_marker-layer .ace_error_bracket,
.tool-form-json-convert #output-editor .ace_br15 {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.tool-form-json-convert #output-editor .ace_fold-widget {
    display: none !important;
}

.tool-form-json-convert .json-convert-output-wrap.output-panel-error {
    background-color: #fff;
}

.tool-form-json-convert .json-convert-output-wrap.output-panel-error .ace_line {
    color: #ea5455 !important;
    white-space: pre-wrap !important;
    word-break: break-word;
}

.tool-form-json-convert .json-convert-tip {
    margin: 8px 0 0;
    text-align: left;
    font-size: 0.875rem;
    color: #888;
    line-height: 1.6;
}

.tool-form-json-convert .form-btn {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 8px;
}

.main-three-part-grid-container .tool-form-json-convert .form-btn .btn {
    margin: 0;
    flex-shrink: 0;
}

.tool-form-json-convert .json-convert-options {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    margin: 0;
    min-height: 2.25rem;
    padding: 0;
    box-sizing: border-box;
    font-size: 0.875rem;
    line-height: 1;
    color: #686868;
    white-space: nowrap;
}

.tool-form-json-convert .json-convert-options-label {
    display: inline-flex;
    align-items: center;
    color: #686868;
    margin-right: 8px;
    line-height: 1;
}

.tool-form-json-convert .json-convert-option {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-top: 4px;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

.tool-form-json-convert .json-convert-option + .json-convert-option {
    margin-left: 10px;
}

.tool-form-json-convert .json-convert-option input[type="radio"] {
    margin: 0;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.tool-form-json-convert .json-convert-field-label {
    display: inline-flex;
    align-items: center;
    height: 2.25rem;
    margin: 0;
    font-size: 0.875rem;
    color: #686868;
    white-space: nowrap;
}

.tool-form-json-convert .json-convert-field-input {
    width: 280px;
    max-width: 100%;
    height: 2.25rem;
    margin: 0;
    padding: .375rem .75rem;
    box-sizing: border-box;
    font-size: 0.875rem;
    border: 1px solid #e3e3e3;
    border-radius: 3px;
    color: #525252;
    background: #fff;
}

.tool-form-json-convert .tool-name-sub {
    margin-left: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    color: #686868;
}

.tool-form-json-convert.fullscreen .form-field {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.tool-form-json-convert.fullscreen .json-convert-split {
    flex: 1;
    min-height: 0;
    height: auto;
    max-height: none;
}

.tool-form-json-convert.fullscreen .form-btn,
.tool-form-json-convert.fullscreen .json-convert-tip {
    flex-shrink: 0;
}

.tool-form-json-convert.fullscreen #input-editor-host .cm-editor,
.tool-form-json-convert.fullscreen #input-editor-host .ln-textarea {
    min-height: 0;
    height: 100%;
}

.tool-form-json-convert.fullscreen #output-editor {
    min-height: 0;
    height: 100% !important;
}

@media screen and (max-width: 900px) {
    .tool-form-json-convert .json-convert-split {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
        max-height: none;
    }

    .tool-form-json-convert .json-convert-panel {
        height: 32vh;
        min-height: 32vh;
        max-height: 32vh;
    }
}
