@media not all and (min-width: 1200px) {
  .json-to-yaml-desktop-only,
  html body main.json-to-yaml-seo-page[data-tool="json-to-yaml"] .json-to-yaml-desktop-only {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
}

@media (min-width: 1200px) {
  .json-to-yaml-legacy-mobile {
    display: none !important;
  }

  html body.flux-tool-body.flux-tool-developer-tools.compress-100kb-pro main#main.json-to-yaml-seo-page[data-tool="json-to-yaml"] {
    --c100kb-seo-wide: min(94vw, 1600px);
    --jfmt-toolbar-height: 64px;
    --jfmt-intent-block: clamp(132px, 17vh, 172px);
  }

  html:has(body.json-to-yaml-editor-active.compress-100kb-pro.compress-100kb-ready),
  body.json-to-yaml-editor-active.compress-100kb-pro.compress-100kb-ready {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100dvh !important;
    max-height: none !important;
    background: #eef2f7 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-pro.compress-100kb-ready .tool-content-stack {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready nav.json-to-yaml-legacy-mobile,
  body.json-to-yaml-editor-active.compress-100kb-ready section.tool-page-hero.json-to-yaml-legacy-mobile,
  body.json-to-yaml-editor-active.compress-100kb-ready #tool-workspace,
  body.json-to-yaml-editor-active.compress-100kb-ready .tool-workspace-note {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready section.tool-layout.json-to-yaml-legacy-mobile {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: var(--c100kb-seo-wide, min(94vw, 1600px)) !important;
    margin: 0 auto !important;
    padding: 0 1rem 2.5rem !important;
    box-sizing: border-box !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready section.tool-layout.json-to-yaml-legacy-mobile .tool-main {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready main#main.json-to-yaml-seo-page {
    visibility: visible !important;
    pointer-events: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready main#main.json-to-yaml-seo-page > section.tool-layout:not(#json-to-yaml-desktop-shell) {
    display: block !important;
    width: 100% !important;
    max-width: var(--c100kb-seo-wide, min(94vw, 1600px)) !important;
    margin: 0 auto !important;
    padding: 1.25rem 1rem 2.5rem !important;
    box-sizing: border-box !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready #json-to-yaml-desktop-shell {
    display: block !important;
    visibility: visible !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: #eef3fb !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready #json-to-yaml-desktop-workspace.jfmt-desktop-intent-panel {
    position: relative;
    isolation: isolate;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0.85rem 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg, #eff9ff, #eef3fb) !important;
    box-shadow: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready #json-to-yaml-desktop-workspace.jfmt-desktop-intent-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1px),
      linear-gradient(90deg, rgba(148, 163, 184, 0.14) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.32;
    pointer-events: none;
    z-index: 0;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready #json-to-yaml-desktop-workspace.jfmt-desktop-intent-panel > * {
    position: relative;
    z-index: 1;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready #json-to-yaml-desktop-shell .c100kb-tool-intent-header {
    display: block !important;
    visibility: visible !important;
    text-align: center !important;
    margin: 0 auto 0.45rem !important;
    padding: 0.2rem 1.25rem 0.35rem !important;
    flex: 0 0 auto !important;
    max-width: min(94vw, 960px) !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready #json-to-yaml-desktop-shell .c100kb-tool-intent-header h1 {
    margin: 0 !important;
    font-size: clamp(1.35rem, 2.5vw, 2rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    text-wrap: balance;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready #json-to-yaml-desktop-shell .c100kb-tool-intent-header .c100kb-h1-tail {
    white-space: nowrap;
    color: #0f172a !important;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready #json-to-yaml-desktop-shell .c100kb-tool-intent-header .c100kb-hero-lead {
    max-width: 42rem !important;
    margin: 0.35rem auto 0 !important;
    font-size: clamp(0.875rem, 0.95vw, 0.9375rem) !important;
    line-height: 1.55 !important;
    color: #334155 !important;
    text-transform: none !important;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready #json-to-yaml-desktop-mount {
    display: block !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-height: 0 !important;
    height: calc(100dvh - var(--jfmt-intent-block, 148px)) !important;
    max-height: calc(100dvh - var(--jfmt-intent-block, 148px)) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready #json-to-yaml-desktop-mount .jfmt-editor-host {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-actions a.jfmt-btn {
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    box-sizing: border-box !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor,
  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor p,
  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor label,
  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor button,
  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor select,
  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor a.jfmt-btn,
  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor span,
  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor strong {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    letter-spacing: 0 !important;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-card-title,
  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor h2.jfmt-card-title {
    font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif !important;
    color: #0f172a !important;
    opacity: 1 !important;
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.25 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-label {
    color: #334155 !important;
    font-weight: 700 !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-helper {
    color: #475569 !important;
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-metric strong {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 0.92rem !important;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-status {
    color: #334155 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-status-badge {
    opacity: 1 !important;
    font-weight: 700 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-stale-badge {
    opacity: 1 !important;
    font-weight: 700 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn {
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn span {
    color: inherit !important;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-primary span {
    color: #fff !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-secondary span,
  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-quiet span {
    color: #1e293b !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn svg,
  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn i[data-lucide] {
    width: 17px !important;
    height: 17px !important;
    flex-shrink: 0 !important;
    stroke-width: 2.1 !important;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-primary svg,
  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-primary i[data-lucide] {
    color: #fff !important;
    stroke: #fff !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-secondary svg,
  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-secondary i[data-lucide],
  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-quiet svg,
  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-quiet i[data-lucide] {
    color: #1e293b !important;
    stroke: #1e293b !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .c100kb-editor-title {
    color: #0f172a !important;
    opacity: 1 !important;
    font-weight: 800 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor.j2yaml-editor[data-c100kb-portaled="true"] {
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-side-col {
    min-height: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-side-card {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow: hidden !important;
    padding-bottom: 0.55rem !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-side-card > .jfmt-card-title {
    flex: 0 0 auto !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-side-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    padding-right: 2px !important;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.45) transparent;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-side-body::-webkit-scrollbar {
    width: 7px;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-side-body::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.35);
    border-radius: 999px;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-side-body::-webkit-scrollbar-track {
    background: transparent;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-actions {
    padding-bottom: 0.15rem !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-input-col,
  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-output-col {
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-input-col > .jfmt-card {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-input-col .jfmt-input-head,
  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-input-col .jfmt-helper,
  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-input-col [data-jfmt-action="sample"] {
    flex: 0 0 auto !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-input-col .jfmt-code-panel {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow: hidden !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-input-col .jfmt-code-input {
    min-height: 0 !important;
    height: 100% !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.45) transparent;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-input-col .jfmt-line-gutter {
    overflow: hidden !important;
    max-height: 100% !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-input-col .jfmt-code-input::-webkit-scrollbar,
  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-output-card .jfmt-code-scroll::-webkit-scrollbar {
    width: 7px;
    height: 7px;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-input-col .jfmt-code-input::-webkit-scrollbar-thumb,
  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-output-card .jfmt-code-scroll::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.35);
    border-radius: 999px;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-input-col .jfmt-code-input::-webkit-scrollbar-track,
  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-output-card .jfmt-code-scroll::-webkit-scrollbar-track {
    background: transparent;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-output-card .jfmt-output-head {
    flex: 0 0 auto !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-output-card .jfmt-output-panel {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow: hidden !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-output-card .jfmt-code-scroll {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-status-badge.is-pending {
    background: rgba(148, 163, 184, 0.22) !important;
    color: #334155 !important;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .html-control-section {
    margin-bottom: 0.65rem;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .html-control-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #334155;
    margin-bottom: 0.35rem;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .html-segment {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .html-segment-btn {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.42rem 0.55rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 1 !important;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .html-segment-btn.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .html-advanced {
    margin-bottom: 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .html-advanced-summary {
    padding: 0.55rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    list-style: none;
    user-select: none;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .html-advanced-summary::-webkit-details-marker {
    display: none;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .html-advanced-body {
    padding: 0 0.65rem 0.65rem;
    border-top: 1px solid #e2e8f0;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .html-adv-row {
    margin-bottom: 0.55rem;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .html-adv-row .html-segment {
    margin-top: 0.3rem;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .html-adv-segment-btn {
    font-size: 0.7rem;
    padding: 0.35rem 0.4rem;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-output-tabs {
    display: flex;
    gap: 0.35rem;
    flex: 0 0 auto;
    margin: 0.25rem 0 0.4rem;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-tab {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
    border-radius: 8px;
    padding: 0.38rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-tab.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-preview-panel {
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #fff;
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-preview-panel.is-stale {
    opacity: 0.72;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-preview-scroll {
    flex: 1 1 auto;
    overflow: auto;
    padding: 1rem 1.1rem;
    min-height: 200px;
    color: #0f172a !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render {
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render h1,
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render h2,
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render h3,
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render h4,
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render h5,
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render h6 {
    color: #0f172a !important;
    font-weight: 800 !important;
    line-height: 1.25;
    margin: 1rem 0 0.4rem;
    scroll-margin-top: 0.75rem;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render h1 { font-size: 1.65rem; }
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render h2 { font-size: 1.35rem; }
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render h3 { font-size: 1.15rem; }
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render h4 { font-size: 1.02rem; }
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render h5 { font-size: 0.95rem; }
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render h6 { font-size: 0.88rem; color: #334155 !important; }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render p,
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render li {
    color: #334155 !important;
    line-height: 1.65;
    margin: 0.35rem 0;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render ul,
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render ol {
    padding-left: 1.35rem;
    margin: 0.35rem 0 0.65rem;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render blockquote {
    margin: 0.65rem 0;
    padding: 0.5rem 0.85rem;
    border-left: 4px solid #cbd5e1;
    background: #f8fafc;
    color: #475569 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render hr {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 1rem 0;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render table {
    width: 100%;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    margin: 0.65rem 0;
    max-width: 100%;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render th,
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render td {
    border: 1px solid #e2e8f0;
    padding: 0.45rem 0.6rem;
    text-align: left;
    white-space: nowrap;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render th {
    background: #f8fafc;
    font-weight: 700;
    color: #0f172a !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.5rem 0;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render input[type="checkbox"] {
    margin-right: 0.35rem;
    vertical-align: middle;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render del,
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render s {
    color: #64748b !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render code {
    background: #f1f5f9;
    border-radius: 4px;
    padding: 0.1rem 0.35rem;
    font-family: ui-monospace, monospace;
    font-size: 0.9em;
    color: #0f172a !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render pre,
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render pre.mdprev-code-block {
    background: #0f172a;
    color: #e2e8f0 !important;
    padding: 0.85rem;
    border-radius: 10px;
    overflow: auto;
    max-width: 100%;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render pre code {
    background: transparent;
    color: inherit !important;
    padding: 0;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-render a {
    color: #2563eb !important;
    font-weight: 600;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-html-panel {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-html-code-panel {
    flex: 1 1 auto;
    min-height: 0;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-live-toggle {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.65rem 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155 !important;
    opacity: 1 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-output-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-output-card .jfmt-status {
    flex: 0 0 auto;
    margin: 0;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-preview-panel[hidden],
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-html-panel[hidden] {
    display: none !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-html-pre,
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-html-pre code {
    background: #0f172a !important;
    color: #e2e8f0 !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
    font-size: 0.8rem !important;
    line-height: 1.55 !important;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-outline {
    margin: 0.55rem 0 0.35rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-outline-summary {
    padding: 0.5rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    list-style: none;
    user-select: none;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-outline-summary::-webkit-details-marker {
    display: none;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-outline-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0 0.55rem 0.55rem;
    max-height: 9rem;
    overflow: auto;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-outline-item {
    border: 0;
    background: transparent;
    text-align: left;
    padding: 0.28rem 0.35rem;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-outline-item:hover {
    background: #e2e8f0;
    color: #0f172a;
  }

  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-outline-h1 { padding-left: 0.35rem; }
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-outline-h2 { padding-left: 0.75rem; }
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-outline-h3 { padding-left: 1.15rem; }
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-outline-h4 { padding-left: 1.55rem; }
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-outline-h5 { padding-left: 1.95rem; }
  body.json-to-yaml-editor-active.compress-100kb-ready .mdprev-outline-h6 { padding-left: 2.35rem; }

  body.json-to-yaml-editor-active.compress-100kb-ready .jfmt-hl-comment {
    color: #94a3b8 !important;
    opacity: 1 !important;
  }
}

@media (min-width: 1200px) {
  body.json-to-yaml-editor-active.compress-100kb-ready .j2yaml-direction-tabs,
  body.json-to-yaml-editor-active.compress-100kb-ready .j2yaml-segment {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.55rem;
  }
  body.json-to-yaml-editor-active.compress-100kb-ready .j2yaml-segment-btn {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #1e293b !important;
    border-radius: 8px;
    padding: 0.32rem 0.55rem;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 1 !important;
  }
  body.json-to-yaml-editor-active.compress-100kb-ready .j2yaml-segment-btn.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff !important;
  }
  body.json-to-yaml-editor-active.compress-100kb-ready .j2yaml-control-label {
    display: block;
    color: #0f172a !important;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    opacity: 1 !important;
  }
}
