/* JSON 格式化工具专属样式 */

/* easy-json 容器：撑满卡片 */
.jf-wrapper {
    padding: 0;
    overflow: hidden;
    height: 90vh;
    min-height: 500px;
}

#angejson-mount {
    width: 100%;
    height: 100%;
    border-radius: var(--theme-card-radius, 8px);
    overflow: hidden;
}

/* === 响应式：移动端 ≤768px === */
@media (max-width: 768px) {
    .jf-wrapper {
        height: 90vh;
        min-height: 500px;
    }
}

/* === 编辑器光标对齐修复 ===
 * 隔离 easy-json 高亮层，免受全局 * 通配符污染
 * （ange.css 中 `* { font-family: Helvetica Neue, ... }` 会把无字体声明的
 *   .editor-line / token span 强制设为比例字体，导致与等宽字体的 textarea 光标错位）
 */
.editor-highlight,
.editor-highlight * {
    font-family: var(--font-mono, ui-monospace, "Cascadia Code", "JetBrains Mono", "Fira Code", Menlo, Monaco, Consolas, "Courier New", monospace) !important;
    font-weight: 400 !important;
}
