:root {
  --ice-50: #f0f9ff;
  --ice-100: #e0f2fe;
  --ice-200: #bae6fd;
  --ice-300: #7dd3fc;
  --ice-400: #38bdf8;
  --ice-500: #0ea5e9;
  --ice-600: #0284c7;
  --ice-700: #0369a1;
  --ice-800: #075985;
  --ice-900: #0c4a6e;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --shadow-soft: 0 4px 20px -2px rgba(14, 165, 233, 0.05);
  --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-inner-soft: inset 0 2px 4px 0 rgba(14, 165, 233, 0.03);

  --el-color-primary: var(--ice-500);
  --el-color-primary-light-3: #38bdf8;
  --el-color-primary-light-5: #7dd3fc;
  --el-color-primary-light-7: #bae6fd;
  --el-color-primary-light-8: #e0f2fe;
  --el-color-primary-light-9: #f0f9ff;
  --el-color-primary-dark-2: #0284c7;
}

* {
  box-sizing: border-box;
}

html,
body,
.app-root {
  margin: 0;
  min-height: 100vh;
}

body {
  font-family:
    'Inter',
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  background: var(--slate-50);
  color: var(--slate-800);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--ice-200);
  color: var(--ice-900);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--ice-200);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ice-300);
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* ── Content pages (about, blog) ── */

.content-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.content-page__body {
  flex: 1;
  width: min(800px, 100%);
  margin: 0 auto;
  padding: 24px 16px;
}

.content-page__card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
}

.content-page__card h1 {
  margin-top: 0;
  color: var(--slate-900);
}

.content-page__card h2 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.125rem;
  color: var(--slate-900);
}

.content-page__card p,
.content-page__card li {
  color: var(--slate-600);
  line-height: 1.65;
}

.content-page__card ul {
  padding-left: 20px;
}

.content-page__card dl {
  margin: 0;
  padding: 0;
}

.content-page__card dt {
  font-weight: 600;
  color: var(--slate-800);
  margin-top: 16px;
  margin-bottom: 2px;
}

.content-page__card dl dt:first-child {
  margin-top: 0;
}

.content-page__card dd {
  margin-left: 0;
  margin-inline-start: 0;
  color: var(--slate-600);
  line-height: 1.65;
}

.content-page__card a {
  color: var(--ice-600);
  text-decoration: none;
}

.content-page__card a:hover {
  color: var(--ice-700);
}

.content-page__back {
  margin-top: 28px;
  margin-bottom: 0;
}

.content-page__body--wide {
  width: min(1024px, 100%);
  padding: 48px 16px;
}

.content-page__wide {
  width: 100%;
}

@media (min-width: 768px) {
  .content-page__body--wide {
    padding: 64px 24px;
  }
}

/* ── Header ── */

.app-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.app-header__inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.header-brand__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ice-400), var(--ice-600));
  box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.header-brand__icon svg {
  width: 20px;
  height: 20px;
}

.header-brand__text {
  min-width: 0;
}

.header-brand__title {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  line-height: 1.2;
  margin: 0;
}

.header-brand__subtitle {
  font-size: 10px;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin: 0;
}

.header-logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  text-decoration: none;
}

.header-logo:hover {
  color: var(--ice-600);
}

.header-nav {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 4px;
  background: var(--slate-100);
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 0.6);
  flex-shrink: 1;
  min-width: 0;
}

.header-nav--desktop {
  display: none;
}

@media (min-width: 768px) {
  .header-nav--desktop {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    overflow: visible;
  }
}

.header-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--slate-600);
  cursor: pointer;
  flex-shrink: 0;
}

.header-menu-btn:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}

.header-menu-btn svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) {
  .header-menu-btn {
    display: none;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Locale switcher ── */

.locale-switcher {
  position: relative;
  flex-shrink: 0;
}

.locale-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: #fff;
  color: var(--slate-600);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.locale-switcher__btn:hover {
  border-color: var(--ice-300);
  color: var(--ice-700);
  background: var(--ice-50);
}

.locale-switcher__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.locale-switcher__code {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.locale-switcher__arrow {
  width: 12px;
  height: 12px;
  color: var(--slate-400);
  transition: transform 0.2s;
}

.locale-switcher__arrow--open {
  transform: rotate(180deg);
}

.locale-switcher__menu {
  position: fixed;
  min-width: 148px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  padding: 4px;
  z-index: 200;
}

.locale-switcher__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 13px;
  color: var(--slate-700);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  gap: 8px;
  text-decoration: none;
  box-sizing: border-box;
}

.locale-switcher__item:hover {
  background: var(--ice-50);
  color: var(--ice-700);
}

.locale-switcher__item.active {
  background: var(--ice-100);
  color: var(--ice-700);
  font-weight: 600;
}

.locale-switcher__item-name {
  flex: 1;
}

.locale-switcher__check {
  width: 14px;
  height: 14px;
  color: var(--ice-600);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .locale-switcher__code {
    display: none;
  }

  .locale-switcher__btn {
    padding: 0 8px;
    width: 36px;
    justify-content: center;
  }

  .locale-switcher__arrow {
    display: none;
  }
}

.header-nav-mobile {
  display: block;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--slate-100);
  background: rgba(255, 255, 255, 0.98);
}

@media (min-width: 768px) {
  .header-nav-mobile {
    display: none !important;
  }
}

.header-nav-mobile__group {
  margin-bottom: 12px;
}

.header-nav-mobile__group:last-child {
  margin-bottom: 0;
}

.header-nav-mobile__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-400);
  margin: 0 0 8px;
}

.header-nav-mobile__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tab-btn--mobile {
  justify-content: center;
  padding: 10px 8px;
  font-size: 13px;
  width: 100%;
}

.tab-btn--mobile-full {
  width: 100%;
}

@media (max-width: 380px) {
  .header-nav-mobile__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.header-nav__sep {
  width: 1px;
  height: 20px;
  background: var(--slate-300);
  margin: 0 4px;
  flex-shrink: 0;
}

.tab-btn {
  padding: 6px 16px;
  border-radius: 6px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.tab-btn:hover {
  color: var(--slate-900);
  background: rgba(226, 232, 240, 0.5);
}

.tab-btn.active {
  background: var(--ice-100);
  color: var(--ice-700);
  font-weight: 600;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.tab-btn__arrow {
  width: 12px;
  height: 12px;
  color: var(--slate-400);
}

.convert-dropdown {
  position: relative;
  flex-shrink: 0;
}

.convert-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 120px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  padding: 4px;
  z-index: 200;
}

.convert-dropdown__menu[hidden] {
  display: none;
}

.convert-dropdown__item {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 13px;
  color: var(--slate-700);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.convert-dropdown__item:hover {
  background: var(--ice-50);
  color: var(--ice-700);
}

.convert-dropdown__item.active {
  background: var(--ice-100);
  color: var(--ice-700);
  font-weight: 600;
}

/* ── Hero ── */

.app-hero {
  background: linear-gradient(to bottom, var(--ice-50), #fff);
  padding: 40px 24px 24px;
  text-align: center;
  flex-shrink: 0;
}

.app-hero__inner {
  max-width: 896px;
  margin: 0 auto;
}

.app-hero__title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 16px;
}

.app-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--slate-600);
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
  margin-inline: auto;
}

/* ── Main ── */

.app-main {
  flex: 1;
  width: min(1800px, 100%);
  margin: 0 auto;
  padding: 16px 24px 24px;
}

.tool-workbench {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Panels ── */

.panel-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease;
}

.panel-card:hover {
  box-shadow: var(--shadow-soft), var(--shadow-card);
}

.panel-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 48px;
  border-bottom: 1px solid var(--slate-100);
  background: rgba(248, 250, 252, 0.8);
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
}

.panel-card__body {
  min-height: 360px;
}

.editor-textarea {
  width: 100%;
  min-height: 360px;
  border: none;
  outline: none;
  resize: vertical;
  padding: 16px;
  font-family: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
  tab-size: 2;
  background: #fafafa;
  color: var(--slate-800);
}

.editor-textarea::placeholder {
  color: var(--slate-400);
}

.editor-textarea--error {
  background: #fef2f2;
}

.output-pre {
  margin: 0;
  padding: 16px;
  min-height: 360px;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
  overflow: auto;
  background: rgba(248, 250, 252, 0.5);
  box-shadow: var(--shadow-inner-soft);
  color: var(--slate-700);
}

.output-pre--highlight {
  white-space: pre;
}

.json-hl-string { color: #059669; }
.json-hl-number { color: #d97706; }
.json-hl-boolean { color: #2563eb; }
.json-hl-null { color: #dc2626; font-weight: bold; }
.json-hl-key { color: var(--slate-900); font-weight: 500; }

.output-empty {
  padding: 24px;
  color: var(--slate-400);
  text-align: center;
  font-size: 14px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.three-column {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

/* ── Toolbar ── */

.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.formatter-toolbar {
  margin-top: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  overflow: hidden;
}

.formatter-toolbar__options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-left: 16px;
  border-left: 1px solid var(--slate-200);
}

@media (max-width: 640px) {
  .formatter-toolbar__options {
    width: 100%;
    padding-left: 0;
    border-left: none;
    padding-top: 12px;
    border-top: 1px solid var(--slate-200);
  }
}

.indent-select {
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  padding: 5px 8px;
  outline: none;
  color: var(--slate-700);
  font-family: inherit;
  cursor: pointer;
}

.indent-select:focus {
  border-color: var(--ice-400);
  box-shadow: 0 0 0 2px var(--ice-100);
}

.toolbar-option-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-left: 4px;
  padding-left: 16px;
  border-left: 1px solid var(--slate-200);
}

.toolbar-option-label {
  color: var(--slate-500);
  font-size: 14px;
  white-space: nowrap;
}

.toolbar-option-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  font-size: 14px;
  color: var(--slate-600);
  cursor: pointer;
  user-select: none;
}

.toolbar-option-checkbox input {
  accent-color: var(--ice-500);
}

.panel-skeleton__body {
  background: linear-gradient(90deg, var(--slate-100) 25%, var(--slate-50) 50%, var(--slate-100) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.toolbar-row .el-button--small {
  border-radius: 8px;
  font-weight: 500;
}

.toolbar-row .el-button--default {
  color: var(--slate-600);
  border-color: var(--slate-200);
}

.toolbar-row .el-button--default:hover {
  background: var(--slate-100);
  color: var(--slate-800);
}

.panel-card__header .el-button--primary.is-plain {
  background: var(--ice-50);
  border-color: var(--ice-200);
  color: var(--ice-700);
}

.panel-card__header .el-button--primary.is-plain:hover {
  background: var(--ice-100);
  border-color: var(--ice-300);
}

.panel-card__header .el-button--success.is-plain {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

/* ── Status ── */

[hidden] {
  display: none !important;
}

.status-success {
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.status-error {
  color: #ef4444;
}

.error-snippet {
  margin-top: 8px;
  padding: 8px 12px;
  background: #fef2f2;
  border-radius: 8px;
  font-family: 'Fira Code', ui-monospace, monospace;
  font-size: 12px;
  white-space: pre-wrap;
}

/* ── Diff / Tree / Convert ── */

.json-diff-output {
  padding: 16px;
  min-height: 360px;
  overflow: auto;
  font-size: 13px;
}

.json-diff-output .jsondiffpatch-added {
  background: #e6ffed;
}

.json-diff-output .jsondiffpatch-deleted {
  background: #ffeef0;
  text-decoration: line-through;
}

.json-diff-output .jsondiffpatch-modified {
  background: #fff8e6;
}

.diff-same {
  color: #10b981;
  text-align: center;
  padding: 24px;
}

.tree-panel {
  padding: 16px;
  min-height: 360px;
  overflow: auto;
}

.jsonpath-results {
  padding: 16px;
  min-height: 200px;
}

.convert-options {
  padding: 12px 16px;
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  background: rgba(248, 250, 252, 0.5);
}

.size-warning {
  margin-bottom: 8px;
}

/* ── Intro sections ── */

.app-intro {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.app-intro__block {
  margin-bottom: 56px;
}

.app-intro__block--alt {
  background: linear-gradient(to bottom, var(--ice-50), transparent);
  margin-inline: -24px;
  padding: 40px 24px;
  border-radius: 24px;
}

.app-intro__heading {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--slate-900);
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.app-intro__lead {
  font-size: 15px;
  color: var(--slate-600);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.app-intro__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.app-intro__feature-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-intro__feature-card:hover {
  border-color: var(--ice-200);
  box-shadow: var(--shadow-soft), var(--shadow-card);
}

.app-intro__feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ice-50);
  color: var(--ice-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.app-intro__feature-icon svg {
  width: 20px;
  height: 20px;
}

.app-intro__feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-900);
  margin: 0 0 8px;
}

.app-intro__feature-desc {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.65;
  margin: 0;
}

.app-intro__scenarios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.app-intro__scenario-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}

.app-intro__scenario-role {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ice-700);
  background: var(--ice-50);
  border: 1px solid var(--ice-100);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.app-intro__scenario-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.8;
}

.app-intro__scenario-list li {
  margin-bottom: 2px;
}

.app-intro__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.app-intro__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.app-intro__step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ice-400), var(--ice-600));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
  flex-shrink: 0;
}

.app-intro__step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-900);
  margin: 0 0 6px;
}

.app-intro__step-desc {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.65;
  margin: 0;
}

.app-intro__privacy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--ice-200);
  border-radius: 14px;
  padding: 20px 24px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.app-intro__privacy svg {
  width: 28px;
  height: 28px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

.app-intro__privacy strong {
  display: block;
  font-size: 14px;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.app-intro__privacy span {
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ── SEO content sections ── */

.app-seo {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px 48px;
}

.app-seo__block {
  margin-bottom: 48px;
}

.app-seo__block--alt {
  background: linear-gradient(to bottom, var(--ice-50), transparent);
  margin-inline: -24px;
  padding: 32px 24px;
  border-radius: 24px;
}

.app-seo__intro {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.75;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.app-seo__heading {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--slate-900);
  text-align: center;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.app-seo__steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-seo__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14px;
  color: var(--slate-700);
  line-height: 1.6;
}

.app-seo__step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ice-100);
  color: var(--ice-700);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-seo__examples {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.app-seo__example {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.app-seo__example-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-900);
  margin: 0 0 10px;
}

.app-seo__code {
  margin: 0;
  padding: 12px 14px;
  background: var(--slate-900);
  color: #e2e8f0;
  border-radius: 8px;
  font-family: 'Fira Code', ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.55;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.app-seo__list {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 20px;
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.75;
}

@keyframes discover-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes discover-line-grow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.app-seo__discover {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(14, 165, 233, 0.07), transparent 70%),
    var(--slate-50);
  border-top: 1px solid var(--slate-200);
  padding: 52px 24px 56px;
  margin: 0;
}

.app-seo__discover-inner {
  max-width: 960px;
  margin: 0 auto;
}

.app-seo__discover-title {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  color: var(--slate-900);
  text-align: center;
  margin: 0 0 32px;
  letter-spacing: -0.02em;
  animation: discover-rise 0.55s ease both;
}

.app-seo__discover-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ice-400), var(--ice-600));
  transform-origin: center;
  animation: discover-line-grow 0.6s ease 0.15s both;
}

.app-seo__discover-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.app-seo__discover-card {
  position: relative;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  animation: discover-rise 0.6s ease both;
}

.app-seo__discover-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--ice-400), var(--ice-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-seo__discover-card--tools {
  animation-delay: 0.1s;
}

.app-seo__discover-card--reading::before {
  background: linear-gradient(90deg, #a78bfa, #7c3aed);
}

.app-seo__discover-card--reading {
  animation-delay: 0.2s;
}

.app-seo__discover-card:hover {
  transform: translateY(-4px);
  border-color: var(--ice-200);
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.12);
}

.app-seo__discover-card--reading:hover {
  border-color: #ddd6fe;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.1);
}

.app-seo__discover-card:hover::before {
  transform: scaleX(1);
}

.app-seo__discover-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-800);
  text-align: left;
  margin: 0 0 16px;
  letter-spacing: 0;
}

.app-seo__discover-heading::before {
  content: '';
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background-color: var(--ice-100);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
}

.app-seo__discover-card--tools .app-seo__discover-heading::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230284c7'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E");
}

.app-seo__discover-card--reading .app-seo__discover-heading::before {
  background-color: #ede9fe;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%237c3aed'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253'/%3E%3C/svg%3E");
}

.app-seo__discover-card:hover .app-seo__discover-heading::before {
  transform: scale(1.08) rotate(-4deg);
}

.app-seo__discover-card--tools:hover .app-seo__discover-heading::before {
  background-color: var(--ice-200);
}

.app-seo__discover-card--reading:hover .app-seo__discover-heading::before {
  background-color: #ddd6fe;
}

.app-seo__discover-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-seo__discover-links li {
  margin: 0;
}

.app-seo__discover-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  margin-inline: -12px;
  border-radius: 10px;
  color: var(--slate-600);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    padding-left 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-seo__discover-links a::after {
  content: '→';
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 8px;
  color: var(--ice-600);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-seo__discover-card--reading .app-seo__discover-links a::after {
  color: #7c3aed;
}

.app-seo__discover-links a:hover,
.app-seo__discover-links a:focus-visible {
  color: var(--ice-800);
  background: var(--ice-50);
  padding-left: 16px;
  text-decoration: none;
}

.app-seo__discover-card--reading .app-seo__discover-links a:hover,
.app-seo__discover-card--reading .app-seo__discover-links a:focus-visible {
  color: #5b21b6;
  background: #f5f3ff;
}

.app-seo__discover-links a:hover::after,
.app-seo__discover-links a:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.app-seo__discover + .app-footer {
  margin-top: 0;
}

@media (min-width: 768px) {
  .app-seo__discover-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-seo__discover-title,
  .app-seo__discover-card,
  .app-seo__discover-title::after {
    animation: none;
  }

  .app-seo__discover-card,
  .app-seo__discover-card::before,
  .app-seo__discover-heading::before,
  .app-seo__discover-links a,
  .app-seo__discover-links a::after {
    transition: none;
  }

  .app-seo__discover-card:hover {
    transform: none;
  }
}

.app-seo__faq {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-seo__faq-item {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 0 18px;
  box-shadow: var(--shadow-card);
}

.app-seo__faq-item summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-900);
  padding: 16px 0;
  list-style: none;
}

.app-seo__faq-item summary::-webkit-details-marker {
  display: none;
}

.app-seo__faq-item p {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .app-seo__examples {
    grid-template-columns: 1fr;
  }
}

/* ── Footer ── */

.app-footer {
  background: var(--slate-900);
  color: var(--slate-300);
  flex-shrink: 0;
  margin-top: 16px;
}

.app-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.app-footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-footer__brand {
  min-width: 0;
}

.app-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.app-footer__logo:hover {
  color: var(--ice-300);
}

.app-footer__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ice-400), var(--ice-600));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-footer__logo-icon svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.app-footer__tagline {
  font-size: 13px;
  color: var(--slate-400);
  line-height: 1.65;
  margin: 0;
  max-width: 280px;
}

.app-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.app-footer__link-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
  margin: 0 0 14px;
}

.app-footer__link-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.app-footer__link-group li {
  margin-bottom: 8px;
}

.app-footer__link-group a {
  font-size: 13px;
  color: var(--slate-300);
  text-decoration: none;
  transition: color 0.15s;
}

.app-footer__link-group a:hover {
  color: var(--ice-300);
}

.app-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
}

.app-footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-400);
  margin: 0;
}

.app-footer__badge svg {
  width: 14px;
  height: 14px;
  color: #10b981;
  flex-shrink: 0;
}

.app-footer__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--slate-500);
}

.app-footer__link {
  color: var(--slate-400);
  text-decoration: none;
  cursor: pointer;
}

.app-footer__link:hover {
  color: var(--ice-300);
  text-decoration: underline;
}

.app-footer__divider {
  color: var(--slate-600);
}

.app-footer__copy {
  color: var(--slate-500);
}

/* ── Element Plus ── */

.el-alert {
  border-radius: 8px;
}

.el-radio-button__inner {
  font-size: 12px !important;
}

.el-message {
  border-radius: 8px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

/* ── Shared utilities ── */

.panel-card--spaced {
  margin-top: 12px;
}

.panel-toolbar {
  margin-top: 12px;
}

.convert-hint {
  font-size: 12px;
  color: var(--slate-500);
  line-height: 1.5;
}

.convert-root-input {
  width: 160px;
  max-width: 100%;
}

.jsonpath-input {
  flex: 1;
  min-width: 200px;
}

.jsonpath-select {
  width: 220px;
  max-width: 100%;
}

.convert-options--jsonpath .el-input,
.convert-options--jsonpath .jsonpath-select {
  flex: 1;
  min-width: 0;
}

/* ── Responsive ── */

/* Tablet intro & footer */
@media (max-width: 960px) {
  .app-intro__features {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .app-footer__links {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet: three-column stacks earlier */
@media (max-width: 1200px) {
  .three-column {
    grid-template-columns: 1fr;
  }
}

/* Tablet / large phone */
@media (max-width: 960px) {
  .two-column,
  .three-column {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .app-header__inner {
    padding: 0 16px;
  }

  .app-main {
    padding: 12px 16px 20px;
  }

  .app-hero {
    padding: 28px 16px 20px;
  }

  .panel-card__header {
    flex-wrap: wrap;
    height: auto;
    min-height: 48px;
    padding: 10px 12px;
    gap: 8px;
  }

  .panel-card__header .toolbar-row {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .app-header__inner {
    height: 56px;
    gap: 12px;
  }

  .header-brand__subtitle {
    display: none;
  }

  .header-brand__title {
    font-size: 16px;
  }

  .header-brand__icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .header-brand__icon svg {
    width: 18px;
    height: 18px;
  }

  .app-hero__title {
    font-size: 1.5rem;
  }

  .app-hero__subtitle {
    font-size: 0.9375rem;
  }

  .panel-card {
    border-radius: 12px;
  }

  .panel-card__body,
  .editor-textarea,
  .output-pre,
  .json-diff-output {
    min-height: 280px;
  }

  .editor-textarea {
    min-height: 280px;
    padding: 12px;
    font-size: 13px;
  }

  .output-pre {
    padding: 12px;
    font-size: 13px;
  }

  .formatter-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .formatter-toolbar__options {
    width: 100%;
    padding-left: 0;
    border-left: none;
    padding-top: 12px;
    border-top: 1px solid var(--slate-200);
  }

  .toolbar-row {
    gap: 6px;
  }

  .toolbar-row .el-button--small {
    flex: 1;
    min-width: 0;
  }

  .panel-toolbar .el-button--primary {
    width: 100%;
  }

  .panel-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .panel-toolbar .toolbar-row {
    width: 100%;
  }

  .convert-options {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .convert-options .el-radio-group {
    width: 100%;
    display: flex;
  }

  .convert-options .el-radio-button {
    flex: 1;
  }

  .convert-options .el-radio-button__inner {
    width: 100%;
  }

  .convert-root-input {
    width: 100%;
  }

  .jsonpath-input,
  .jsonpath-select {
    width: 100%;
    min-width: 0;
  }

  .convert-options--jsonpath .el-button {
    width: 100%;
  }

  .app-footer {
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px 20px;
  }

  .app-footer__badge {
    text-align: center;
    line-height: 1.4;
  }

  .app-intro {
    padding: 32px 16px 24px;
  }

  .app-intro__block {
    margin-bottom: 40px;
  }

  .app-intro__block--alt {
    margin-inline: -16px;
    padding: 32px 16px;
    border-radius: 16px;
  }

  .app-intro__features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .app-intro__scenarios {
    grid-template-columns: 1fr;
  }

  .app-intro__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .app-intro__step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .app-footer__inner {
    padding: 36px 16px 24px;
  }

  .app-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 28px;
  }

  .app-footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .app-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 20px;
  }
}

/* Small phone */
@media (max-width: 480px) {
  .app-main {
    padding: 8px 12px 16px;
  }

  .app-hero {
    padding: 20px 12px 16px;
  }

  .two-column,
  .three-column {
    gap: 12px;
  }

  .panel-card__body,
  .editor-textarea,
  .output-pre,
  .json-diff-output {
    min-height: 220px;
  }

  .editor-textarea {
    min-height: 220px;
  }

  .tab-btn--mobile {
    font-size: 12px;
    padding: 8px 6px;
  }
}

/* ── Native UI components (replaces Element Plus) ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn--small {
  font-size: 13px;
  padding: 6px 12px;
}

.btn--default {
  color: var(--slate-600);
  background: #fff;
  border-color: var(--slate-200);
}

.btn--default:hover:not(:disabled) {
  background: var(--slate-100);
  color: var(--slate-800);
}

.btn--primary {
  color: #fff;
  background: var(--ice-500);
  border-color: var(--ice-500);
}

.btn--primary:hover:not(:disabled) {
  background: var(--ice-600);
  border-color: var(--ice-600);
}

.btn--primary.btn--plain {
  color: var(--ice-700);
  background: var(--ice-50);
  border-color: var(--ice-200);
}

.btn--primary.btn--plain:hover:not(:disabled) {
  background: var(--ice-100);
  border-color: var(--ice-300);
}

.btn--success.btn--plain {
  color: #047857;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.toolbar-row .btn--small,
.panel-toolbar .btn--primary {
  border-radius: 8px;
}

.alert {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  border: 1px solid transparent;
}

.alert--warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.alert--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  min-width: 200px;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--slate-900);
  color: #fff;
  font-size: 14px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast--visible {
  opacity: 1;
  transform: translateY(0);
}

.toast--success {
  background: #065f46;
}

.toast--warning {
  background: #92400e;
}

.toast--error {
  background: #991b1b;
}

.radio-group {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.radio-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}

.radio-btn input {
  accent-color: var(--ice-500);
}

.convert-root-input,
.jsonpath-input {
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  padding: 6px 10px;
  outline: none;
  color: var(--slate-700);
  font-family: inherit;
  min-width: 180px;
}

.convert-root-input {
  width: 120px;
}

.jsonpath-input {
  flex: 1;
  min-width: 240px;
}

.jsonpath-select {
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  padding: 6px 10px;
  outline: none;
  color: var(--slate-700);
  font-family: inherit;
}

.convert-options--jsonpath {
  padding: 12px 16px;
}

.convert-options--jsonpath .btn {
  flex-shrink: 0;
}

/* ── JSON Tree viewer ── */

.json-tree-root {
  font-family: 'Fira Code', ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.6;
}

.json-tree-node {
  margin-left: 0;
}

.json-tree-children {
  margin-left: 18px;
  border-left: 1px dashed var(--slate-200);
  padding-left: 8px;
}

.json-tree-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
  border-radius: 6px;
  cursor: pointer;
}

.json-tree-row:hover {
  background: var(--ice-50);
}

.json-tree-toggle {
  width: 18px;
  height: 18px;
  border: none;
  background: transparent;
  color: var(--slate-500);
  cursor: pointer;
  font-size: 10px;
  padding: 0;
}

.json-tree-spacer {
  display: inline-block;
  width: 18px;
}

.json-tree-key {
  color: var(--slate-800);
  font-weight: 500;
}

.json-tree-value {
  color: var(--slate-600);
}

.toolbar-row .btn--small,
.panel-card__header .btn--small {
  border-radius: 8px;
}

.panel-toolbar .btn--primary {
  padding: 8px 16px;
}

@media (max-width: 640px) {
  .convert-options--jsonpath .btn {
    width: 100%;
  }
}
