.json-page .qtool-card + .qtool-card {
    margin-top: 16px;
}
.json-page .json-editor-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #263238;
}
.json-page .json-editor-wrap .CodeMirror {
    height: 360px;
    font-size: 14px;
    line-height: 1.6;
    border-radius: 12px;
}
.json-page .json-toolbar-card {
    padding: 20px 24px;
}
.json-page .json-toolbar-card .qtool-actions {
    margin-top: 0;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef0f3;
}
.json-page #ControlsRow {
    margin: 0;
    white-space: normal;
}
.json-page .json-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}
.json-page .json-options__group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.json-page .json-options__label,
.json-page .json-levels__label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
}
.json-page .json-options__select {
    min-width: 64px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #f8fafc;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
}
.json-page .json-options__check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f9fafb;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.json-page .json-options__check:hover {
    border-color: #9ca3af;
    background: #fff;
}
.json-page .json-options__check input {
    margin: 0;
    accent-color: #478a21;
}
.json-page .json-options__link {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f0fdf4;
    border: 1px solid rgba(90, 172, 44, 0.25);
    color: #478a21 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.json-page .json-options__link:hover {
    border-color: rgba(90, 172, 44, 0.45);
    text-decoration: none;
}
.json-page .json-levels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e5e7eb;
}
.json-page #CollapsibleViewDetail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.json-page #CollapsibleViewDetail a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #374151 !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.json-page #CollapsibleViewDetail a:hover {
    background: #e5e7eb;
    text-decoration: none;
}
.json-page .json-canvas {
    font-family: "JetBrains Mono", "Fira Code", "SF Mono", Consolas, monospace;
    font-size: 13px;
    line-height: 1.65;
    min-height: 120px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.json-page PRE.CodeContainer {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}
.json-page PRE.CodeContainer img {
    cursor: pointer;
    border: none;
    margin: 0 4px 0 0;
    vertical-align: middle;
    opacity: 0.75;
    transition: opacity 0.2s;
}
.json-page PRE.CodeContainer img:hover {
    opacity: 1;
}
.json-page .ObjectBrace { color: #059669; font-weight: 600; }
.json-page .ArrayBrace { color: #2563eb; font-weight: 600; }
.json-page .PropertyName { color: #dc2626; font-weight: 600; }
.json-page .String { color: #0d9488; }
.json-page .Number { color: #7c3aed; }
.json-page .Boolean { color: #2563eb; }
.json-page .Function { color: #d97706; font-style: italic; }
.json-page .Null { color: #6b7280; }
.json-page .Comma { color: #9ca3af; }
.json-page .fail {
    margin: 0;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    font-size: 14px;
    line-height: 1.6;
}
.json-page #RawJson {
    display: none;
}
@media screen and (max-width: 640px) {
    .json-page .json-editor-wrap .CodeMirror {
        height: 280px;
    }
    .json-page .json-options {
        flex-direction: column;
        align-items: stretch;
    }
    .json-page .json-options__group,
    .json-page .json-options__check,
    .json-page .json-options__link {
        width: 100%;
        justify-content: center;
    }
    .json-page .json-levels {
        flex-direction: column;
        align-items: stretch;
    }
    .json-page #CollapsibleViewDetail {
        justify-content: center;
    }
}
