@media not all and (min-width: 1200px) {
  .xml-desktop-only,
  html body main.xml-seo-page[data-tool="xml-formatter"] .xml-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) {
  .xml-legacy-mobile {
    display: none !important;
  }

  html body.flux-tool-body.flux-tool-developer-tools.compress-100kb-pro main#main.xml-seo-page[data-tool="xml-formatter"] {
    --c100kb-seo-wide: min(94vw, 1600px);
    --jfmt-toolbar-height: 64px;
    --jfmt-intent-block: clamp(132px, 17vh, 172px);
  }

  html:has(body.xml-editor-active.compress-100kb-pro.compress-100kb-ready),
  body.xml-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.xml-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.xml-editor-active.compress-100kb-ready nav.xml-legacy-mobile,
  body.xml-editor-active.compress-100kb-ready section.tool-page-hero.xml-legacy-mobile,
  body.xml-editor-active.compress-100kb-ready #tool-workspace,
  body.xml-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.xml-editor-active.compress-100kb-ready section.tool-layout.xml-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.xml-editor-active.compress-100kb-ready section.tool-layout.xml-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.xml-editor-active.compress-100kb-ready main#main.xml-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.xml-editor-active.compress-100kb-ready main#main.xml-seo-page > section.tool-layout:not(#xml-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.xml-editor-active.compress-100kb-ready #xml-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.xml-editor-active.compress-100kb-ready #xml-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.xml-editor-active.compress-100kb-ready #xml-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.xml-editor-active.compress-100kb-ready #xml-desktop-workspace.jfmt-desktop-intent-panel > * {
    position: relative;
    z-index: 1;
  }

  body.xml-editor-active.compress-100kb-ready #xml-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.xml-editor-active.compress-100kb-ready #xml-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.xml-editor-active.compress-100kb-ready #xml-desktop-shell .c100kb-tool-intent-header .c100kb-h1-tail {
    white-space: nowrap;
    color: #0f172a !important;
    opacity: 1 !important;
  }

  body.xml-editor-active.compress-100kb-ready #xml-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.xml-editor-active.compress-100kb-ready #xml-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.xml-editor-active.compress-100kb-ready #xml-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.xml-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.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor,
  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor p,
  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor label,
  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor button,
  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor select,
  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor a.jfmt-btn,
  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor span,
  body.xml-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.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-card-title,
  body.xml-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.xml-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.xml-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.xml-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.xml-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.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-status-badge {
    opacity: 1 !important;
    font-weight: 700 !important;
  }

  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-stale-badge {
    opacity: 1 !important;
    font-weight: 700 !important;
  }

  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn {
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    opacity: 1 !important;
  }

  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn span {
    color: inherit !important;
    opacity: 1 !important;
  }

  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-primary span {
    color: #fff !important;
  }

  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-secondary span,
  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-quiet span {
    color: #1e293b !important;
  }

  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn svg,
  body.xml-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.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-primary svg,
  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-primary i[data-lucide] {
    color: #fff !important;
    stroke: #fff !important;
  }

  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-secondary svg,
  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-secondary i[data-lucide],
  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-quiet svg,
  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .jfmt-btn-quiet i[data-lucide] {
    color: #1e293b !important;
    stroke: #1e293b !important;
  }

  body.xml-editor-active.compress-100kb-ready .c100kb-json-formatter-editor .c100kb-editor-title {
    color: #0f172a !important;
    opacity: 1 !important;
    font-weight: 800 !important;
  }

  body.xml-editor-active.compress-100kb-ready .jfmt-side-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    max-height: 100% !important;
  }

  body.xml-editor-active.compress-100kb-ready .jfmt-side-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 0.15rem !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.45) transparent;
  }

  body.xml-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.xml-editor-active.compress-100kb-ready .xml-control-section {
    margin-bottom: 0.65rem;
  }

  body.xml-editor-active.compress-100kb-ready .xml-dialect-section {
    margin-bottom: 0.75rem;
  }

  body.xml-editor-active.compress-100kb-ready .xml-dialect-select {
    width: 100%;
    padding: 0.48rem 0.55rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 1 !important;
    cursor: pointer;
  }

  body.xml-editor-active.compress-100kb-ready .xml-dialect-select:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 1px;
  }

  body.xml-editor-active.compress-100kb-ready .xml-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.xml-editor-active.compress-100kb-ready .xml-segment {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
  }

  body.xml-editor-active.compress-100kb-ready .xml-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.xml-editor-active.compress-100kb-ready .xml-segment-btn.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
  }

  body.xml-editor-active.compress-100kb-ready .xml-advanced {
    margin-bottom: 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
  }

  body.xml-editor-active.compress-100kb-ready .xml-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.xml-editor-active.compress-100kb-ready .xml-advanced-summary::-webkit-details-marker {
    display: none;
  }

  body.xml-editor-active.compress-100kb-ready .xml-advanced-body {
    padding: 0 0.65rem 0.65rem;
    border-top: 1px solid #e2e8f0;
  }

  body.xml-editor-active.compress-100kb-ready .xml-adv-row {
    margin-bottom: 0.55rem;
  }

  body.xml-editor-active.compress-100kb-ready .xml-adv-row .xml-segment {
    margin-top: 0.3rem;
  }

  body.xml-editor-active.compress-100kb-ready .xml-adv-segment-btn {
    font-size: 0.7rem;
    padding: 0.35rem 0.4rem;
  }

  body.xml-editor-active.compress-100kb-ready .xml-advanced-note {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    line-height: 1.45;
    opacity: 1 !important;
  }

  body.xml-editor-active.compress-100kb-ready [data-xml-format-btn].is-busy {
    opacity: 0.72 !important;
    pointer-events: none;
  }
}
