@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-switch {
    background: #0f172a;
    border-color: #334155;
  }

  :root:not([data-theme]) .theme-button {
    color: #94a3b8;
  }

  :root:not([data-theme]) .theme-button:hover,
  :root:not([data-theme]) .theme-button:focus-visible {
    background: #1e293b;
    color: #f8fafc;
  }

  :root:not([data-theme]) .theme-button.active {
    background: #1e3a8a;
    color: #bfdbfe;
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.34);
  }
}

:root[data-theme="dark"] .theme-switch {
  background: #0f172a;
  border-color: #334155;
}

:root[data-theme="dark"] .theme-button {
  color: #94a3b8;
}

:root[data-theme="dark"] .theme-button:hover,
:root[data-theme="dark"] .theme-button:focus-visible {
  background: #1e293b;
  color: #f8fafc;
}

:root[data-theme="dark"] .theme-button.active {
  background: #1e3a8a;
  color: #bfdbfe;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.34);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .activity-rail,
  :root:not([data-theme]) .semantic-outline,
  :root:not([data-theme]) .file-panel,
  :root:not([data-theme]) .file-panel-list,
  :root:not([data-theme]) .output-header,
  :root:not([data-theme]) .semantic-outline-header,
  :root:not([data-theme]) .file-panel-header,
  :root:not([data-theme]) .file-preview-header,
  :root:not([data-theme]) .statusbar {
    background: #1f2229;
    border-color: #3a404c;
  }

  :root:not([data-theme]) .output-body,
  :root:not([data-theme]) .panel,
  :root:not([data-theme]) .result-area,
  :root:not([data-theme]) .file-panel-viewer,
  :root:not([data-theme]) .file-preview,
  :root:not([data-theme]) .json-text {
    background: #171a21;
  }

  :root:not([data-theme]) .view-button.active,
  :root:not([data-theme]) .activity-button.active,
  :root:not([data-theme]) .file-panel-file.active,
  :root:not([data-theme]) .theme-button.active {
    background: #30384a;
    color: #d7e4f5;
    box-shadow: inset 0 0 0 1px rgba(122, 162, 214, 0.42);
  }

  :root:not([data-theme]) .file-panel-row.active-spec,
  :root:not([data-theme]) .file-panel-row.active-input,
  :root:not([data-theme]) .file-panel-row.dependency:not(.active-spec):not(.active-input) {
    background: rgba(48, 56, 74, 0.56);
  }

  :root:not([data-theme]) .filter-option:hover,
  :root:not([data-theme]) .filter-option:focus-visible,
  :root:not([data-theme]) .filter-type-label:hover,
  :root:not([data-theme]) .filter-type-label:focus-visible,
  :root:not([data-theme]) .filter-option.outline-hover,
  :root:not([data-theme]) .filter-type-label.outline-hover,
  :root:not([data-theme]) .view-button:hover,
  :root:not([data-theme]) .activity-button:hover,
  :root:not([data-theme]) .activity-button:focus-visible,
  :root:not([data-theme]) .mini-action:hover,
  :root:not([data-theme]) .mini-action:focus-visible,
  :root:not([data-theme]) .icon-button:hover,
  :root:not([data-theme]) .file-panel-close:hover,
  :root:not([data-theme]) .file-panel-close:focus-visible,
  :root:not([data-theme]) .input-clear:hover,
  :root:not([data-theme]) .file-tree-folder-name:hover,
  :root:not([data-theme]) .file-tree-folder-name:focus-visible,
  :root:not([data-theme]) .file-panel-file:hover,
  :root:not([data-theme]) .theme-button:hover,
  :root:not([data-theme]) .theme-button:focus-visible {
    background: #2a2f3a;
    color: #f0f4fa;
  }

  :root:not([data-theme]) .file-icon-yaml,
  :root:not([data-theme]) .filter-type-label,
  :root:not([data-theme]) .json-key,
  :root:not([data-theme]) .json-token-key,
  :root:not([data-theme]) .status-link,
  :root:not([data-theme]) .semantic-path-tooltip-row-type .semantic-path-tooltip-label,
  :root:not([data-theme]) .semantic-path-tooltip-field-type,
  :root:not([data-theme]) .syntax-key {
    color: #7aa2d6;
  }

  :root:not([data-theme]) .json-branch-summary,
  :root:not([data-theme]) .json-branch-close,
  :root:not([data-theme]) .json-bracket {
    color: #d7dce4;
  }

  :root:not([data-theme]) .filter-field-option,
  :root:not([data-theme]) .semantic-path-tooltip-row-field .semantic-path-tooltip-label,
  :root:not([data-theme]) .semantic-path-tooltip-field {
    color: #c9a26d;
  }

  :root:not([data-theme]) .outline-toggle {
    color: #8f9bad;
  }

  :root:not([data-theme]) .outline-toggle:hover,
  :root:not([data-theme]) .outline-toggle:focus-visible {
    background: #2a2f3a;
    color: #f0f4fa;
  }
}

:root[data-theme="dark"] .activity-rail,
:root[data-theme="dark"] .semantic-outline,
:root[data-theme="dark"] .file-panel,
:root[data-theme="dark"] .file-panel-list,
:root[data-theme="dark"] .output-header,
:root[data-theme="dark"] .semantic-outline-header,
:root[data-theme="dark"] .file-panel-header,
:root[data-theme="dark"] .file-preview-header,
:root[data-theme="dark"] .statusbar {
  background: #1f2229;
  border-color: #3a404c;
}

:root[data-theme="dark"] .output-body,
:root[data-theme="dark"] .panel,
:root[data-theme="dark"] .result-area,
:root[data-theme="dark"] .file-panel-viewer,
:root[data-theme="dark"] .file-preview,
:root[data-theme="dark"] .json-text {
  background: #171a21;
  border-color: #3a404c;
}

:root[data-theme="dark"] .view-button.active,
:root[data-theme="dark"] .activity-button.active,
:root[data-theme="dark"] .file-panel-file.active,
:root[data-theme="dark"] .theme-button.active {
  background: #30384a;
  color: #d7e4f5;
  box-shadow: inset 0 0 0 1px rgba(122, 162, 214, 0.42);
}

:root[data-theme="dark"] .file-panel-row.active-spec,
:root[data-theme="dark"] .file-panel-row.active-input,
:root[data-theme="dark"] .file-panel-row.dependency:not(.active-spec):not(.active-input) {
  background: rgba(48, 56, 74, 0.56);
}

:root[data-theme="dark"] .filter-option:hover,
:root[data-theme="dark"] .filter-option:focus-visible,
:root[data-theme="dark"] .filter-type-label:hover,
:root[data-theme="dark"] .filter-type-label:focus-visible,
:root[data-theme="dark"] .filter-option.outline-hover,
:root[data-theme="dark"] .filter-type-label.outline-hover,
:root[data-theme="dark"] .view-button:hover,
:root[data-theme="dark"] .activity-button:hover,
:root[data-theme="dark"] .activity-button:focus-visible,
:root[data-theme="dark"] .mini-action:hover,
:root[data-theme="dark"] .mini-action:focus-visible,
:root[data-theme="dark"] .icon-button:hover,
:root[data-theme="dark"] .file-panel-close:hover,
:root[data-theme="dark"] .file-panel-close:focus-visible,
:root[data-theme="dark"] .input-clear:hover,
:root[data-theme="dark"] .file-tree-folder-name:hover,
:root[data-theme="dark"] .file-tree-folder-name:focus-visible,
:root[data-theme="dark"] .file-panel-file:hover,
:root[data-theme="dark"] .theme-button:hover,
:root[data-theme="dark"] .theme-button:focus-visible {
  background: #2a2f3a;
  color: #f0f4fa;
}

:root[data-theme="dark"] .file-icon-yaml,
:root[data-theme="dark"] .filter-type-label,
:root[data-theme="dark"] .json-key,
:root[data-theme="dark"] .json-token-key,
:root[data-theme="dark"] .status-link,
:root[data-theme="dark"] .semantic-path-tooltip-row-type .semantic-path-tooltip-label,
:root[data-theme="dark"] .semantic-path-tooltip-field-type,
:root[data-theme="dark"] .syntax-key {
  color: #7aa2d6;
}

:root[data-theme="dark"] .json-branch-summary,
:root[data-theme="dark"] .json-branch-close,
:root[data-theme="dark"] .json-bracket {
  color: #d7dce4;
}

:root[data-theme="dark"] .filter-field-option,
:root[data-theme="dark"] .semantic-path-tooltip-row-field .semantic-path-tooltip-label,
:root[data-theme="dark"] .semantic-path-tooltip-field {
  color: #c9a26d;
}

:root[data-theme="dark"] .outline-toggle {
  color: #8f9bad;
}

:root[data-theme="dark"] .outline-toggle:hover,
:root[data-theme="dark"] .outline-toggle:focus-visible {
  background: #2a2f3a;
  color: #f0f4fa;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) body,
  :root:not([data-theme]) .app-shell {
    background: #171a21;
    color: #d7dce4;
  }

  :root:not([data-theme]) .app-header {
    background: #151922;
    border-color: #333a46;
  }

  :root:not([data-theme]) .activity-rail,
  :root:not([data-theme]) .semantic-outline,
  :root:not([data-theme]) .file-panel,
  :root:not([data-theme]) .file-panel-list,
  :root:not([data-theme]) .output-header,
  :root:not([data-theme]) .semantic-outline-header,
  :root:not([data-theme]) .file-panel-header,
  :root:not([data-theme]) .file-preview-header,
  :root:not([data-theme]) .statusbar {
    background: #1f2229;
    border-color: #3a404c;
  }

  :root:not([data-theme]) .output-body,
  :root:not([data-theme]) .panel,
  :root:not([data-theme]) .result-area,
  :root:not([data-theme]) .file-panel-viewer,
  :root:not([data-theme]) .file-preview,
  :root:not([data-theme]) .json-text {
    background: #171a21;
    color: #d7dce4;
  }

  :root:not([data-theme]) .view-button.active,
  :root:not([data-theme]) .activity-button.active,
  :root:not([data-theme]) .file-panel-file.active,
  :root:not([data-theme]) .theme-button.active {
    background: #30384a;
    color: #d7e4f5;
    box-shadow: inset 0 0 0 1px rgba(122, 162, 214, 0.42);
  }

  :root:not([data-theme]) .file-panel-row.active-spec,
  :root:not([data-theme]) .file-panel-row.active-input,
  :root:not([data-theme]) .file-panel-row.dependency:not(.active-spec):not(.active-input) {
    background: rgba(48, 56, 74, 0.56);
  }

  :root:not([data-theme]) .view-button:hover,
  :root:not([data-theme]) .activity-button:hover,
  :root:not([data-theme]) .activity-button:focus-visible,
  :root:not([data-theme]) .mini-action:hover,
  :root:not([data-theme]) .mini-action:focus-visible,
  :root:not([data-theme]) .icon-button:hover,
  :root:not([data-theme]) .file-panel-close:hover,
  :root:not([data-theme]) .file-panel-close:focus-visible,
  :root:not([data-theme]) .input-clear:hover,
  :root:not([data-theme]) .file-tree-folder-name:hover,
  :root:not([data-theme]) .file-tree-folder-name:focus-visible,
  :root:not([data-theme]) .file-panel-file:hover,
  :root:not([data-theme]) .filter-option:hover,
  :root:not([data-theme]) .filter-option:focus-visible,
  :root:not([data-theme]) .filter-type-label:hover,
  :root:not([data-theme]) .filter-type-label:focus-visible,
  :root:not([data-theme]) .filter-option.outline-hover,
  :root:not([data-theme]) .filter-type-label.outline-hover,
  :root:not([data-theme]) .theme-button:hover,
  :root:not([data-theme]) .theme-button:focus-visible {
    background: #2a2f3a;
    color: #f0f4fa;
  }

  :root:not([data-theme]) .filter-option.outline-pinned,
  :root:not([data-theme]) .filter-type-label.outline-pinned,
  :root:not([data-theme]) .json-match-node.class-highlight-pinned,
  :root:not([data-theme]) .json-entry.class-highlight-match,
  :root:not([data-theme]) .json-summary.class-highlight-match,
  :root:not([data-theme]) .json-text.class-highlight-match {
    background: rgba(91, 54, 42, 0.72);
    color: #f1c7a2;
    box-shadow: inset 0 0 0 1px rgba(201, 125, 83, 0.42);
  }

  :root:not([data-theme]) .json-match-node.class-highlight-hover {
    background: rgba(48, 56, 74, 0.76);
    box-shadow: 0 0 0 2px rgba(122, 162, 214, 0.28);
  }





  :root:not([data-theme]) .file-icon-yaml,
  :root:not([data-theme]) .filter-type-label,
  :root:not([data-theme]) .json-key,
  :root:not([data-theme]) .json-token-key,
  :root:not([data-theme]) .status-link,
  :root:not([data-theme]) .semantic-path-tooltip-row-type .semantic-path-tooltip-label,
  :root:not([data-theme]) .semantic-path-tooltip-field-type,
  :root:not([data-theme]) .syntax-key {
    color: #7aa2d6;
  }

  :root:not([data-theme]) .filter-field-option,
  :root:not([data-theme]) .semantic-path-tooltip-row-field .semantic-path-tooltip-label,
  :root:not([data-theme]) .semantic-path-tooltip-field {
    color: #c9a26d;
  }


  :root:not([data-theme]) .semantic-path-tooltip {
    background: rgba(31, 34, 40, 0.98);
    border-color: rgba(86, 95, 112, 0.9);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.48);
  }

  :root:not([data-theme]) .semantic-path-tooltip-text {
    background: rgba(31, 34, 40, 0.98);
    border-color: rgba(122, 162, 214, 0.24);
  }

  :root:not([data-theme]) .semantic-path-tooltip-text .semantic-path-tooltip-label {
    color: #d7dce4;
  }

  :root:not([data-theme]) .status-warning {
    background: rgba(91, 54, 42, 0.58);
    border-color: rgba(201, 125, 83, 0.48);
    color: #f1c7a2;
  }

  :root:not([data-theme]) .status-warning:hover,
  :root:not([data-theme]) .status-warning:focus-visible,
  :root:not([data-theme]) .status-warning[aria-expanded="true"] {
    background: rgba(113, 63, 38, 0.76);
    border-color: rgba(242, 177, 121, 0.58);
  }

  :root:not([data-theme]) .warnings-panel {
    background: #1f2229;
    border-color: #3a404c;
    color: #d7dce4;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.46);
  }

  :root:not([data-theme]) .warnings-panel-header {
    border-color: #3a404c;
    color: #d7dce4;
  }

  :root:not([data-theme]) .warning-item {
    background: rgba(91, 54, 42, 0.36);
  }

  :root:not([data-theme]) .warning-item-title {
    color: #f1c7a2;
  }

  :root:not([data-theme]) .warning-item-message {
    color: #d7dce4;
  }

  :root:not([data-theme]) .warning-item-recommendation {
    color: #a8b3c3;
  }

  :root:not([data-theme]) .match-tree {
    color: #d7dce4;
  }

  :root:not([data-theme]) .match-tree .node-field {
    color: #d6a45f;
  }

  :root:not([data-theme]) .match-tree-index {
    color: #94a3b8;
  }

  :root:not([data-theme]) .match-tree .node-type {
    color: #8ab4f8;
  }

  :root:not([data-theme]) .match-tree-type-meta {
    border-color: rgba(138, 180, 248, 0.34);
    background: rgba(138, 180, 248, 0.09);
    color: #8ab4f8;
  }

  :root:not([data-theme]) .match-tree-text {
    color: #d7dce4;
  }

  :root:not([data-theme]) .match-tree-text-preview {
    color: #c5ceda;
    opacity: 0.72;
  }

  :root:not([data-theme]) .match-tree-text-leaf {
    color: #eef2f7;
    opacity: 1;
  }

  :root:not([data-theme]) .match-tree-children {
    border-color: rgba(127, 140, 163, 0.46);
  }
}

:root[data-theme="dark"] body,
:root[data-theme="dark"] .app-shell {
  background: #171a21;
  color: #d7dce4;
}

:root[data-theme="dark"] .app-header {
  background: #151922;
  border-color: #333a46;
}

:root[data-theme="dark"] .activity-rail,
:root[data-theme="dark"] .semantic-outline,
:root[data-theme="dark"] .file-panel,
:root[data-theme="dark"] .file-panel-list,
:root[data-theme="dark"] .output-header,
:root[data-theme="dark"] .semantic-outline-header,
:root[data-theme="dark"] .file-panel-header,
:root[data-theme="dark"] .file-preview-header,
:root[data-theme="dark"] .statusbar {
  background: #1f2229;
  border-color: #3a404c;
}

:root[data-theme="dark"] .output-body,
  :root[data-theme="dark"] .panel,
  :root[data-theme="dark"] .result-area,
  :root[data-theme="dark"] .file-panel-viewer,
  :root[data-theme="dark"] .file-preview,
  :root[data-theme="dark"] .json-text {
  background: #171a21;
  border-color: #3a404c;
  color: #d7dce4;
}

:root[data-theme="dark"] .view-button.active,
:root[data-theme="dark"] .activity-button.active,
:root[data-theme="dark"] .file-panel-file.active,
:root[data-theme="dark"] .theme-button.active {
  background: #30384a;
  color: #d7e4f5;
  box-shadow: inset 0 0 0 1px rgba(122, 162, 214, 0.42);
}

:root[data-theme="dark"] .file-panel-row.active-spec,
:root[data-theme="dark"] .file-panel-row.active-input,
:root[data-theme="dark"] .file-panel-row.dependency:not(.active-spec):not(.active-input) {
  background: rgba(48, 56, 74, 0.56);
}

:root[data-theme="dark"] .view-button:hover,
:root[data-theme="dark"] .activity-button:hover,
:root[data-theme="dark"] .activity-button:focus-visible,
:root[data-theme="dark"] .mini-action:hover,
:root[data-theme="dark"] .mini-action:focus-visible,
:root[data-theme="dark"] .icon-button:hover,
:root[data-theme="dark"] .file-panel-close:hover,
:root[data-theme="dark"] .file-panel-close:focus-visible,
:root[data-theme="dark"] .input-clear:hover,
:root[data-theme="dark"] .file-tree-folder-name:hover,
:root[data-theme="dark"] .file-tree-folder-name:focus-visible,
:root[data-theme="dark"] .file-panel-file:hover,
:root[data-theme="dark"] .filter-option:hover,
:root[data-theme="dark"] .filter-option:focus-visible,
:root[data-theme="dark"] .filter-type-label:hover,
:root[data-theme="dark"] .filter-type-label:focus-visible,
:root[data-theme="dark"] .filter-option.outline-hover,
:root[data-theme="dark"] .filter-type-label.outline-hover,
:root[data-theme="dark"] .theme-button:hover,
:root[data-theme="dark"] .theme-button:focus-visible {
  background: #2a2f3a;
  color: #f0f4fa;
}

:root[data-theme="dark"] .filter-option.outline-pinned,
:root[data-theme="dark"] .filter-type-label.outline-pinned,
:root[data-theme="dark"] .json-match-node.class-highlight-pinned,
:root[data-theme="dark"] .json-entry.class-highlight-match,
:root[data-theme="dark"] .json-summary.class-highlight-match,
:root[data-theme="dark"] .json-text.class-highlight-match {
  background: rgba(91, 54, 42, 0.72);
  color: #f1c7a2;
  box-shadow: inset 0 0 0 1px rgba(201, 125, 83, 0.42);
}

:root[data-theme="dark"] .json-match-node.class-highlight-hover {
  background: rgba(48, 56, 74, 0.76);
  box-shadow: 0 0 0 2px rgba(122, 162, 214, 0.28);
}





:root[data-theme="dark"] .file-icon-yaml,
:root[data-theme="dark"] .filter-type-label,
:root[data-theme="dark"] .json-key,
:root[data-theme="dark"] .json-token-key,
:root[data-theme="dark"] .status-link,
:root[data-theme="dark"] .semantic-path-tooltip-row-type .semantic-path-tooltip-label,
:root[data-theme="dark"] .semantic-path-tooltip-field-type,
:root[data-theme="dark"] .syntax-key {
  color: #7aa2d6;
}

:root[data-theme="dark"] .filter-field-option,
:root[data-theme="dark"] .semantic-path-tooltip-row-field .semantic-path-tooltip-label,
:root[data-theme="dark"] .semantic-path-tooltip-field {
  color: #c9a26d;
}

:root[data-theme="dark"] .semantic-path-tooltip {
  background: rgba(31, 34, 40, 0.98);
  border-color: rgba(86, 95, 112, 0.9);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.48);
}

:root[data-theme="dark"] .semantic-path-tooltip-text {
  background: rgba(31, 34, 40, 0.98);
  border-color: rgba(122, 162, 214, 0.24);
}

:root[data-theme="dark"] .semantic-path-tooltip-text .semantic-path-tooltip-label {
  color: #d7dce4;
}

:root[data-theme="dark"] .status-warning {
  background: rgba(91, 54, 42, 0.58);
  border-color: rgba(201, 125, 83, 0.48);
  color: #f1c7a2;
}

:root[data-theme="dark"] .status-warning:hover,
:root[data-theme="dark"] .status-warning:focus-visible,
:root[data-theme="dark"] .status-warning[aria-expanded="true"] {
  background: rgba(113, 63, 38, 0.76);
  border-color: rgba(242, 177, 121, 0.58);
}

:root[data-theme="dark"] .warnings-panel {
  background: #1f2229;
  border-color: #3a404c;
  color: #d7dce4;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.46);
}

:root[data-theme="dark"] .warnings-panel-header {
  border-color: #3a404c;
  color: #d7dce4;
}

:root[data-theme="dark"] .warning-item {
  background: rgba(91, 54, 42, 0.36);
}

:root[data-theme="dark"] .warning-item-title {
  color: #f1c7a2;
}

:root[data-theme="dark"] .warning-item-message {
  color: #d7dce4;
}

:root[data-theme="dark"] .warning-item-recommendation {
  color: #a8b3c3;
}

:root[data-theme="dark"] .match-tree {
  color: #d7dce4;
}

:root[data-theme="dark"] .match-tree .node-field {
  color: #d6a45f;
}

:root[data-theme="dark"] .match-tree-index {
  color: #94a3b8;
}

:root[data-theme="dark"] .match-tree .node-type {
  color: #8ab4f8;
}

:root[data-theme="dark"] .match-tree-type-meta {
  border-color: rgba(138, 180, 248, 0.34);
  background: rgba(138, 180, 248, 0.09);
  color: #8ab4f8;
}

:root[data-theme="dark"] .match-tree-text {
  color: #d7dce4;
}

:root[data-theme="dark"] .match-tree-text-preview {
  color: #c5ceda;
  opacity: 0.72;
}

:root[data-theme="dark"] .match-tree-text-leaf {
  color: #eef2f7;
  opacity: 1;
}

:root[data-theme="dark"] .match-tree-children {
  border-color: rgba(127, 140, 163, 0.46);
}

:root[data-theme="dark"] .outline-children {
  border-color: rgba(127, 140, 163, 0.46);
}

@media (max-width: 900px) {
  body {
    height: 100vh;
    min-height: 0;
    overflow: hidden;
  }

  .page {
    height: 100vh;
    min-height: 0;
  }

  .toolbar {
    align-items: center;
    flex-wrap: nowrap;
    padding: 0.55rem 0.75rem;
  }

  .toolbar-brand {
    width: auto;
    min-width: 0;
    flex: 0 1 auto;
  }

  .toolbar-actions {
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
    justify-content: flex-end;
  }

  .workspace {
    flex-direction: row;
    padding-left: 0;
    padding-right: 0;
  }

  .activity-rail {
    width: 2.35rem;
    min-height: 0;
    flex-direction: column;
    justify-content: flex-start;
    border-width: 0 1px 0 0;
  }

  .activity-rail-right {
    border-width: 0 0 0 1px;
  }

  .workbench-main,
  .panels {
    padding-left: 0;
    padding-right: 0;
  }

  .panel {
    height: 100%;
    min-height: 0;
  }

  .output-body {
    flex-direction: row;
  }

  .semantic-outline {
    width: 17rem;
    min-width: 14rem;
    max-height: none;
    border-left-width: 1px;
    border-left-style: solid;
    border-bottom: 0;
  }

  .semantic-outline-resizer {
    display: block;
  }

  .file-panel {
    width: 18rem;
    min-width: 11rem;
    max-height: none;
    border-top: 0;
    border-right-width: 1px;
    border-right-style: solid;
  }

  .file-panel-body {
    min-height: 0;
  }

  .file-panel-resizer {
    display: block;
  }

  .file-preview {
    position: absolute;
    inset: 0.75rem;
    border-radius: 8px;
  }

  .statusbar {
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    padding: 0.18rem 0.75rem;
  }

  .statusbar-right {
    width: auto;
    min-width: 0;
    justify-content: flex-end;
  }

  .status-meta {
    width: auto;
    justify-content: flex-end;
    gap: 0.75rem;
    overflow: hidden;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .syntax-type-key,
  :root:not([data-theme]) .syntax-type-reference {
    color: #7aa2d6;
  }

  :root:not([data-theme]) .syntax-directive-key {
    color: #b89ce8;
  }

  :root:not([data-theme]) .syntax-field-key,
  :root:not([data-theme]) .syntax-field-reference {
    color: #c9a26d;
  }
}

:root[data-theme="dark"] .syntax-type-key,
:root[data-theme="dark"] .syntax-type-reference {
  color: #7aa2d6;
}

:root[data-theme="dark"] .syntax-directive-key {
  color: #b89ce8;
}

:root[data-theme="dark"] .syntax-field-key,
:root[data-theme="dark"] .syntax-field-reference {
  color: #c9a26d;
}

:root {
  --semantic-type: #2563eb;
  --semantic-field: #b45309;
  --semantic-private: #64748b;
  --semantic-node-surface: rgba(248, 250, 252, 0.54);
  --semantic-node-border: rgba(148, 163, 184, 0.42);
  --semantic-node-hover-surface: rgba(219, 234, 254, 0.42);
  --semantic-node-hover-border: rgba(59, 130, 246, 0.5);
  --semantic-collapsed-surface: rgba(248, 250, 252, 0.92);
  --semantic-collapsed-border: rgba(148, 163, 184, 0.48);
  --semantic-collapsed-type-surface: rgba(239, 246, 255, 0.9);
  --semantic-collapsed-type-border: rgba(37, 99, 235, 0.38);
  --semantic-collapsed-field-surface: rgba(255, 251, 235, 0.92);
  --semantic-collapsed-field-border: rgba(180, 83, 9, 0.42);
  --semantic-highlight-bg: rgba(219, 234, 254, 0.72);
  --semantic-highlight-border: rgba(59, 130, 246, 0.34);
  --semantic-pinned-bg: rgba(253, 230, 138, 0.92);
  --semantic-pinned-border: rgba(217, 119, 6, 0.34);
}

.filter-type-label,
.semantic-path-tooltip-row-type .semantic-path-tooltip-label,
.semantic-path-tooltip-field-type {
  color: var(--semantic-type);
}

.filter-field-option,
.semantic-path-tooltip-row-field .semantic-path-tooltip-label,
.semantic-path-tooltip-field {
  color: var(--semantic-field);
}

.filter-private-type-label {
  color: var(--semantic-private);
}

.filter-option.outline-hover,
.filter-type-label.outline-hover,
.json-match-node.class-highlight-hover {
  background: var(--semantic-highlight-bg);
  box-shadow: inset 0 0 0 1px var(--semantic-highlight-border);
}

.filter-option.outline-pinned,
.filter-type-label.outline-pinned,
.json-match-node.class-highlight-pinned,
.json-entry.class-highlight-match,
.json-summary.class-highlight-match,
.json-text.class-highlight-match {
  background: var(--semantic-pinned-bg);
  box-shadow: inset 0 0 0 1px var(--semantic-pinned-border);
}

.filter-type-label.outline-hover,
.filter-type-label.outline-pinned {
  color: var(--semantic-type);
}

.filter-field-option.outline-hover,
.filter-field-option.outline-pinned {
  color: var(--semantic-field);
}

.json-match-node.class-highlight-hover {
  box-shadow: 0 0 0 2px var(--semantic-highlight-border);
}

.json-match-node.class-highlight-pinned {
  box-shadow: 0 0 0 2px var(--semantic-pinned-border);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --semantic-type: #8ab4f8;
    --semantic-field: #d6a45f;
    --semantic-private: #7f8ca3;
    --semantic-node-surface: #171a21;
    --semantic-node-border: rgba(86, 95, 112, 0.72);
    --semantic-node-hover-surface: rgba(43, 59, 87, 0.48);
    --semantic-node-hover-border: rgba(138, 180, 248, 0.54);
    --semantic-collapsed-surface: #1c2028;
    --semantic-collapsed-border: rgba(86, 95, 112, 0.74);
    --semantic-collapsed-type-surface: rgba(32, 43, 62, 0.86);
    --semantic-collapsed-type-border: rgba(138, 180, 248, 0.42);
    --semantic-collapsed-field-surface: rgba(55, 39, 24, 0.86);
    --semantic-collapsed-field-border: rgba(214, 164, 95, 0.48);
    --semantic-highlight-bg: rgba(43, 59, 87, 0.62);
    --semantic-highlight-border: rgba(138, 180, 248, 0.42);
    --semantic-pinned-bg: rgba(139, 88, 38, 0.48);
    --semantic-pinned-border: rgba(242, 190, 128, 0.44);
  }

  :root:not([data-theme]) .filter-box input {
    background: #151922;
    border-color: #3a404c;
    color: #d7dce4;
  }

  :root:not([data-theme]) .filter-box input::placeholder {
    color: #7f8ca3;
  }
}

:root[data-theme="dark"] {
  --semantic-type: #8ab4f8;
  --semantic-field: #d6a45f;
  --semantic-private: #7f8ca3;
  --semantic-node-surface: #171a21;
  --semantic-node-border: rgba(86, 95, 112, 0.72);
  --semantic-node-hover-surface: rgba(43, 59, 87, 0.48);
  --semantic-node-hover-border: rgba(138, 180, 248, 0.54);
  --semantic-collapsed-surface: #1c2028;
  --semantic-collapsed-border: rgba(86, 95, 112, 0.74);
  --semantic-collapsed-type-surface: rgba(32, 43, 62, 0.86);
  --semantic-collapsed-type-border: rgba(138, 180, 248, 0.42);
  --semantic-collapsed-field-surface: rgba(55, 39, 24, 0.86);
  --semantic-collapsed-field-border: rgba(214, 164, 95, 0.48);
  --semantic-highlight-bg: rgba(43, 59, 87, 0.62);
  --semantic-highlight-border: rgba(138, 180, 248, 0.42);
  --semantic-pinned-bg: rgba(139, 88, 38, 0.48);
  --semantic-pinned-border: rgba(242, 190, 128, 0.44);
}

:root[data-theme="dark"] .filter-box input {
  background: #151922;
  border-color: #3a404c;
  color: #d7dce4;
}

:root[data-theme="dark"] .filter-box input::placeholder {
  color: #7f8ca3;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .filter-option.outline-hover,
  :root:not([data-theme]) .filter-type-label.outline-hover {
    background: var(--semantic-highlight-bg);
    color: inherit;
    box-shadow: inset 0 0 0 1px var(--semantic-highlight-border);
  }

  :root:not([data-theme]) .filter-option.outline-pinned,
  :root:not([data-theme]) .filter-type-label.outline-pinned {
    background: var(--semantic-pinned-bg);
    color: inherit;
    box-shadow: inset 0 0 0 1px var(--semantic-pinned-border);
  }

  :root:not([data-theme]) .filter-type-label.outline-hover,
  :root:not([data-theme]) .filter-type-label.outline-pinned {
    color: var(--semantic-type);
  }

  :root:not([data-theme]) .filter-field-option.outline-hover,
  :root:not([data-theme]) .filter-field-option.outline-pinned {
    color: var(--semantic-field);
  }
}

:root[data-theme="dark"] .filter-option.outline-hover,
:root[data-theme="dark"] .filter-type-label.outline-hover {
  background: var(--semantic-highlight-bg);
  color: inherit;
  box-shadow: inset 0 0 0 1px var(--semantic-highlight-border);
}

:root[data-theme="dark"] .filter-option.outline-pinned,
:root[data-theme="dark"] .filter-type-label.outline-pinned {
  background: var(--semantic-pinned-bg);
  color: inherit;
  box-shadow: inset 0 0 0 1px var(--semantic-pinned-border);
}

:root[data-theme="dark"] .filter-type-label.outline-hover,
:root[data-theme="dark"] .filter-type-label.outline-pinned {
  color: var(--semantic-type);
}

:root[data-theme="dark"] .filter-field-option.outline-hover,
:root[data-theme="dark"] .filter-field-option.outline-pinned {
  color: var(--semantic-field);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .output-header,
  :root:not([data-theme]) .semantic-outline-header,
  :root:not([data-theme]) .class-filter {
    background: #1f2229;
    border-color: #3a404c;
  }

  :root:not([data-theme]) .output-title,
  :root:not([data-theme]) .semantic-outline-header {
    color: #d7dce4;
  }

  :root:not([data-theme]) .view-switch {
    border-left-color: #3a404c;
  }
}

:root[data-theme="dark"] .output-header,
:root[data-theme="dark"] .semantic-outline-header,
:root[data-theme="dark"] .class-filter {
  background: #1f2229;
  border-color: #3a404c;
}

:root[data-theme="dark"] .output-title,
:root[data-theme="dark"] .semantic-outline-header {
  color: #d7dce4;
}

:root[data-theme="dark"] .view-switch {
  border-left-color: #3a404c;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .json-text {
    border-color: transparent;
  }
}

:root[data-theme="dark"] .json-text {
  border-color: transparent;
}
