/* P0 待测工具共用：选项行 / Schema 双输入 */
.tool-form-json-convert .json-p0-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: #555;
}

.tool-form-json-convert .json-p0-options label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}

.tool-form-json-convert .json-p0-options .form-input {
    width: auto;
    min-width: 140px;
    height: 30px;
    padding: 2px 8px;
}

.tool-form-json-schema-validate .json-schema-validate-result {
    margin-top: 12px;
    height: 22vh;
    min-height: 140px;
    max-height: 28vh;
    display: flex;
    flex-direction: column;
    border: 1px solid #efefef;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

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

.tool-form-json-schema-validate .json-schema-validate-result .json-convert-output-wrap {
    flex: 1;
    min-height: 0;
    background: #fff !important;
}

.tool-form-json-schema-validate .json-schema-validate-result .json-convert-output-wrap.output-panel-error,
.tool-form-json-schema-validate .json-schema-validate-result .json-convert-output-wrap.output-panel-success {
    background: #fff !important;
}

.tool-form-json-schema-validate .json-schema-validate-result .ace-chrome,
.tool-form-json-schema-validate .json-schema-validate-result .ace_scroller,
.tool-form-json-schema-validate .json-schema-validate-result .ace_content {
    background-color: #fff !important;
}

.tool-form-json-schema-validate .json-schema-validate-result #output-editor,
.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace_scroller,
.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace_content,
.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace_line,
.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace_text-layer {
    -webkit-user-select: none !important;
    user-select: none !important;
    cursor: default !important;
}

.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace_cursor,
.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace_hidden-cursors .ace_cursor,
.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace_marker-layer .ace_selection,
.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace_marker-layer .ace_bracket {
    display: none !important;
    opacity: 0 !important;
}

.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace_cursor-layer {
    display: none !important;
    visibility: hidden !important;
}

.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace_text-input {
    caret-color: transparent !important;
    opacity: 0 !important;
}

.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace_scroller {
    cursor: default !important;
}

.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace_gutter,
.tool-form-json-schema-validate .json-schema-validate-result #output-editor.ace-chrome .ace_gutter,
.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace_gutter-layer,
.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace-chrome .ace_gutter-active-line,
.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace_gutter-cell {
    background-color: #fff !important;
    background: #fff !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

.tool-form-json-schema-validate .json-schema-validate-result #output-editor .ace_gutter,
.tool-form-json-schema-validate .json-schema-validate-result #output-editor.ace-chrome .ace_gutter {
    border-right: 1px solid #efefef !important;
}

.tool-form-json-schema-validate .json-schema-validate-meta {
    font-size: 0.825rem;
    font-weight: 400;
    color: #888;
}

.tool-form-json-schema-validate .json-schema-validate-meta.is-ok {
    color: #2e7d32;
}

.tool-form-json-schema-validate .json-schema-validate-meta.is-fail {
    color: #c62828;
}

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

.tool-form-json-schema-validate #schema-editor-host .cm-editor {
    background: #fff;
}

.tool-form-json-schema-validate .json-convert-split {
    height: 42vh;
    min-height: 42vh;
    max-height: 42vh;
}
