
h1,
h2,
h3 {
  color: #111827;
  line-height: 1.2;
}

pre {
  overflow: auto;
}

.case-intro-panel {
  display: grid;
  gap: 12px;
  margin: 4px 0 28px;
  padding: 18px;
  border: 1px solid rgba(106, 17, 203, .14);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(106, 17, 203, .06), rgba(37, 99, 235, .05));
}

.case-intro-panel__item {
  display: grid;
  gap: 6px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(148, 163, 184, .22);
}

.case-intro-panel__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.case-intro-panel__label {
  color: #4c1d95;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.case-intro-panel__text p {
  margin: 0;
  color: #334155;
  line-height: 1.65;
}

.case-transform-modal .fas,
.case-transform-modal .fa,
.case-table-editor-snapshot .fas,
.case-table-editor-snapshot .fa,
.case-table-column-example .fas,
.case-table-column-example .fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1em;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.case-transform-modal .fa-grip-vertical::before { content: "⋮"; }
.case-transform-modal .fa-file-export::before { content: "⇩"; }
.case-transform-modal .fa-file-import::before { content: "⇧"; }
.case-transform-modal .fa-expand::before { content: "⛶"; }
.case-transform-modal .fa-times::before { content: "×"; }
.case-transform-modal .fa-plus::before { content: "+"; }
.case-transform-modal .fa-chevron-down::before {
  content: "⌄";
  display: block;
  margin-top: -5px;
}
.case-transform-modal .fa-star::before { content: "★"; }
.case-transform-modal .fa-list::before { content: "☰"; }
.case-transform-modal .fa-clone::before { content: "⧉"; }
.case-transform-modal .fa-arrow-up::before { content: "↑"; }
.case-transform-modal .fa-arrow-down::before { content: "↓"; }

.case-table-column-example .fa-grip-vertical::before { content: "⋮"; }
.case-table-column-example .fa-expand::before { content: "⛶"; }
.case-table-column-example .fa-times::before { content: "×"; }
.case-table-column-example .fa-plus::before { content: "+"; }
.case-table-column-example .fa-chevron-down::before {
  content: "⌄";
  display: block;
  margin-top: -5px;
}
.case-table-column-example .fa-list::before { content: "☰"; }
.case-table-column-example .fa-clone::before { content: "⧉"; }
.case-table-column-example .fa-arrow-up::before { content: "↑"; }
.case-table-column-example .fa-arrow-down::before { content: "↓"; }
.case-table-column-example .fa-rotate::before { content: "↻"; }

.case-table-editor-snapshot .fa-cog::before,
.case-table-editor-snapshot .fa-grip-vertical::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
.case-table-editor-snapshot .fa-cog::before { content: "\f013"; }
.case-table-editor-snapshot .fa-grip-vertical::before { content: "\f58e"; }
.case-table-editor-snapshot .fa-arrow-left::before { content: "←"; }
.case-table-editor-snapshot .fa-arrow-right::before { content: "→"; }
.case-table-editor-snapshot .fa-trash::before { content: "⌫"; }
.case-table-editor-snapshot .fa-plus::before { content: "+"; }
.case-table-editor-snapshot .fa-check::before { content: "✓"; }
.case-table-editor-snapshot .fa-minus::before { content: "−"; }
.case-table-editor-snapshot .fa-pen::before { content: "✎"; }
.case-table-editor-snapshot .fa-eye::before { content: "◉"; }
.case-table-editor-snapshot .fa-table::before { content: "▦"; }

.case_before_after,
.case-before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 28px;
}
ol {
    padding-left: 20px;
}
.case_before_after__card,
.case-example-card {
  border: 1px solid #dfe6f0;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
  display: flex;
  flex-direction: column;
}

.case_before_after__head,
.case-example-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #edf1f7;
  background: #f8fafc;
}

.case-example-card--table .case-example-card__head {
  background: linear-gradient(135deg, #eef4ff 0%, #f7faff 100%);
  border-bottom-color: #dbe7ff;
}

.case-example-card--table .case-example-card__badge {
  background: #fff;
}

.case_before_after__title,
.case-example-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #182230;
}

.case_before_after__badge,
.case-example-card__badge {
  border-radius: 999px;
  padding: 5px 9px;
  background: #eef4ff;
  color: #3538cd;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.case_before_after__code,
.case-code-block {
  margin: 0;
  padding: 16px;
  min-height: 210px;
  flex: 1 1 auto;
  background: #101828;
  color: #e4e7ec;
  overflow: auto;
  font-family: "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
}

.case_before_after__code code,
.case-code-block code {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.case-table-wrap {
  overflow: auto;
  background: #fff;
  flex: 1 1 auto;
}

.case-data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
  font-size: 14px;
}

.case-data-table th,
.case-data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #edf1f7;
  text-align: left;
  vertical-align: top;
}

.case-data-table th {
  background: #f8fafc;
  color: #344054;
  font-weight: 800;
}

.case-data-table td {
  color: #1f2937;
}

.case-data-table tr:nth-child(even) td {
  background: #fbfcff;
}

.case-editor-snapshot {
  --primary: #6a11cb;
  --secondary: #2575fc;
  margin: 18px 0 26px;
  max-width: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
}

.case-editor-snapshot *,
.case-editor-snapshot *::before,
.case-editor-snapshot *::after {
  box-sizing: border-box;
}

.case-snapshot-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.case-snapshot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #edf1f7;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.case-snapshot-head strong {
  color: #111827;
  font-size: 15px;
  font-weight: 800;
}

.case-snapshot-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(106, 17, 203, .08);
  color: #4c1d95;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.case-snapshot-tree {
  padding: 14px;
  background:
    linear-gradient(90deg, rgba(106, 17, 203, .035), transparent 34%),
    #fff;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
}

.case-snapshot-row {
  position: relative;
  padding-left: calc((var(--depth) * 22px) + 4px);
  margin: 2px 0;
}

.case-snapshot-row::before {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: calc((var(--depth) * 22px) - 8px);
  width: 1px;
  border-left: 1px dashed #d7d7d7;
  opacity: .42;
}

.case-snapshot-row[data-depth="0"]::before {
  display: none;
}

.case-snapshot-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 1px 6px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.case-snapshot-marker {
  width: 14px;
  flex: 0 0 14px;
  color: #667085;
  font-size: 12px;
  line-height: 1;
}

.case-snapshot-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}

.case-snapshot-key-wrap,
.case-snapshot-value-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.case-snapshot-key {
  color: #881280;
  font-size: 15px;
  font-weight: 700;
}

.case-snapshot-divider {
  color: #667085;
  font-weight: 700;
}

.case-snapshot-bracket {
  color: #374151;
  font-weight: 700;
}

.case-snapshot-value {
  color: #1f2937;
  white-space: nowrap;
}

.case-snapshot-value-wrap.has-settings .case-snapshot-value {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(106, 17, 203, .42);
  text-underline-offset: 3px;
}

.case-snapshot-value--string {
  color: #1f2937;
}

.case-snapshot-value--number {
  color: #155724;
}

.case-snapshot-value--boolean {
  color: #c7254e;
  font-weight: 700;
}

.case-snapshot-value--null {
  color: #8c8c8c;
  font-style: italic;
}

.case-snapshot-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid rgba(46, 204, 113, .25);
  border-radius: 999px;
  background: rgba(46, 204, 113, .12);
  color: #1f7a42;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.case-editor-snapshot figcaption {
  margin-top: 10px;
  color: #667085;
  font-size: 14px;
}

.case-transform-modal {
  --primary:    #6a11cb;
  --secondary:  #2575fc;
  --dark:       #2c3e50;
  --border:     #dee2e6;
  --muted:      #6c757d;
  --danger:     #e74c3c;
  --case-shadow: 0 10px 30px rgba(0, 0, 0, .10);
  margin: 24px 0;
  max-width: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
}

.case-transform-modal *,
.case-transform-modal *::before,
.case-transform-modal *::after {
  box-sizing: border-box;
}

.case-transform-modal .xe-modal__dialog {
  position: relative;
  width:  100%;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--case-shadow);
  border: 1px solid rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column;
  color: var(--dark);
}

.case-transform-modal .xe-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  min-height: 65px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  flex-wrap: nowrap;
}

.case-transform-modal .xe-modal__title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 50%;
  max-width: 50%;
  min-width: 0;
}

.case-transform-modal [data-field-modal-drag] {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: grab;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: .7;
  font-size: 14px;
  flex: 0 0 auto;
}

.case-transform-modal .xe-modal__title-text {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 900;
  color: var(--dark);
}

.case-transform-modal .xe-modal__title-credits {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  white-space: nowrap;
  margin-left: 0;
  font-size: 14px;
  color: #5b21b6;
}

.case-transform-modal [data-field-modal-actions-group] {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-left: auto;
  min-width: 0;
}

.case-transform-modal .xe-modal__head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-left: auto;
  min-width: 0;
  overflow-x: auto;
}

.docs-article-content .case-transform-modal .xe-modal__head-actions {
  display: none;
}

.docs-article-content .case-transform-modal .xe-modal__title-group {
  flex-basis: auto;
  max-width: calc(100% - 96px);
}

.case-transform-modal .xe-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .06);
  white-space: nowrap;
}

.case-transform-modal .xe-btn--outline {
  background: #fff;
  border-color: var(--border);
  color: var(--dark);
}

.case-transform-modal .xe-btn--primary {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: #fff;
}

.case-transform-modal .xe-btn--small {
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 10px;
}

.case-transform-modal .xe-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #51606f;
  flex: 0 0 auto;
}

.case-transform-modal .xe-modal__body {
  padding: 16px;
  flex: 1 1 auto;
  min-height: 0;
  background: #fff;
  font-size: 13px;
}

.case-transform-modal .xe-rules-section {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: #fbfcff;
}

.case-transform-modal .xe-rules-section--static .xe-rules-section__head {
  margin-bottom: 12px;
}

.case-transform-modal .xe-rules-section__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.case-transform-modal .xe-rules-section__head strong {
  display: block;
  font-size: 16px;
  color: #111827;
  margin-bottom: 4px;
}

.case-transform-modal .xe-rules-section__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-transform-modal .xe-rule-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) minmax(120px, 1fr) minmax(120px, 1fr) minmax(120px, 1fr) 150px;
  gap: 8px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: #fafbff;
  margin-bottom: 8px;
}

.docs-article-content .case-transform-modal .xe-rule-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.docs-article-content .case-transform-modal .xe-rule-row .xe-rule-actions {
  display: none;
}

.case-transform-modal .xe-condition-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.2fr) minmax(150px, .9fr) minmax(145px, .9fr) minmax(190px, 1fr) 150px;
  gap: 8px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
  margin-bottom: 8px;
}

.docs-article-content .case-transform-modal .xe-condition-row {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1fr);
}

.docs-article-content .case-transform-modal .xe-condition-row .xe-rule-actions {
  display: none;
}

.case-transform-modal .xe-condition-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-transform-modal .xe-condition-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}

.case-transform-modal .xe-condition-scope-tabs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin: 0;
}

.case-transform-modal .xe-condition-scope-tab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid #e3d6ff;
  background: #fff;
  color: #344054;
  font-weight: 700;
}

.case-transform-modal .xe-condition-scope-tab:first-child {
  border-radius: 999px 0 0 999px;
}

.case-transform-modal .xe-condition-scope-tab:last-child {
  border-radius: 0 999px 999px 0;
  margin-left: -1px;
}

.case-transform-modal .xe-condition-scope-tab.is-active {
  background: #f2eaff;
  color: var(--primary);
  border-color: #c5a7ff;
  position: relative;
  z-index: 1;
}

.case-transform-modal .xe-rule-row > * {
  min-width: 0;
}

.case-transform-modal .xe-condition-row > * {
  min-width: 0;
}

.case-transform-modal .xe-condition-row .xe-control.small,
.case-transform-modal .xe-condition-row .xe-combobox__trigger,
.case-transform-modal .xe-condition-row .xe-icon-btn {
  height: 35px;
  min-height: 35px;
}

.case-transform-modal .xe-condition-row .xe-inline-field {
  height: 35px;
}

.case-transform-modal .xe-condition-row__scope {
  min-height: 35px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
  color: #475467;
  font-size: 13px;
  font-weight: 600;
}

.case-transform-modal .xe-control,
.case-transform-modal .xe-combobox__trigger,
.case-transform-modal .xe-combo-btn {
  font: inherit;
}

.case-transform-modal .xe-control {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  min-width: 0;
  background: #fff;
  color: #1f2937;
}

.case-transform-modal .xe-rule-row .xe-control.small {
  max-width: none;
  width: 100%;
  min-height: 35px;
  height: 35px;
}

.case-transform-modal .xe-combobox {
  position: relative;
  min-width: 0;
  width: 100%;
}

.case-transform-modal .xe-combobox__control {
  position: relative;
}

.case-transform-modal .xe-combobox__control.is-with-button {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.case-transform-modal .xe-combobox__trigger {
  width: 100%;
  min-height: 35px;
  height: 35px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  text-align: left;
  box-shadow: none;
}

.case-transform-modal .xe-combobox__trigger-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-transform-modal .xe-inline-field {
  position: relative;
  min-width: 0;
}

.case-transform-modal .xe-inline-field--single-action .xe-control {
  padding-right: 44px;
}

.case-transform-modal .xe-inline-field__actions {
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.case-transform-modal .xe-inline-field__actions .xe-combobox {
  flex: 0 0 34px;
  min-width: 34px;
  width: 34px;
}

.case-transform-modal .xe-inline-field__actions .xe-combobox__control,
.case-transform-modal .xe-inline-field__actions .xe-combobox__control.is-with-button {
  display: block;
  height: 100%;
}

.case-transform-modal .xe-combo-btn {
  width: 38px;
  height: 35px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #51606f;
  box-shadow: none;
}

.case-transform-modal .xe-inline-field__actions .xe-combo-btn {
  width: 34px;
  height: 100%;
  min-height: 31px;
  border-radius: 7px;
  border: none;
  background: transparent;
  box-shadow: none;
}

.case-transform-modal .xe-inline-field .xe-control.is-disabled,
.case-transform-modal .xe-inline-field .xe-control:disabled,
.case-transform-modal .xe-combobox.is-disabled {
  opacity: .48;
}

.case-transform-modal .xe-inline-field .xe-control.is-disabled,
.case-transform-modal .xe-inline-field .xe-control:disabled {
  background: #f1f5f9;
  border-color: #d8e1ee;
  color: #94a3b8;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .08);
}

.case-transform-modal .xe-inline-field:has(.xe-control.is-disabled) .xe-inline-field__actions,
.case-transform-modal .xe-inline-field:has(.xe-control:disabled) .xe-inline-field__actions {
  opacity: .32;
  pointer-events: none;
}

.case-transform-modal .xe-rule-actions {
  display: flex;
  gap: 3px;
  justify-content: flex-end;
  flex-wrap: nowrap;
  min-width: max-content;
}

.case-transform-modal .xe-icon-btn {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #51606f;
  flex: 0 0 35px;
  margin: 0;
  font-size: 13px;
}

.case-transform-modal .xe-icon-btn.danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

.case-transform-modal .xe-add-rule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 180px;
  margin-bottom: 10px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(106, 17, 203, .45);
  color: var(--primary);
  background: linear-gradient(180deg, rgba(248, 245, 255, .96) 0%, rgba(245, 243, 255, .88) 100%);
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(106, 17, 203, .08);
  width: fit-content;
}

.case-transform-modal .xe-add-rule--condition {
  max-width: none;
  margin-bottom: 0;
  white-space: nowrap;
}

.case-transform-modal .xe-settings-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fafbff;
}

.case-transform-modal .xe-settings-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
  min-height: 35px;
  color: #1f2937;
  font-size: 14px;
}

.case-transform-modal .xe-settings-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #2563eb;
}

.case-transform-modal .xe-settings-item__label {
  font-weight: 600;
}

.case-transform-modal .xe-settings-item__note {
  grid-column: 2;
  color: #667085;
  font-size: 12px;
}

.case-transform-modal .xe-settings-item .xe-control {
  grid-column: 1 / -1;
}

.case-transform-modal .xe-modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  align-items: center;
}

.case-transform-modal .xe-modal-actions--footer {
  margin: 24px -16px -16px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, #fff 24%);
}

.case-transform-modal .xe-modal-actions--footer > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.case-transform-modal .xe-combobox__menu,
.case-transform-modal .xe-regex-btn.is-hidden,
.case-transform-modal input[type="hidden"] {
  display: none;
}

.case-transform-modal figcaption {
  margin-top: 10px;
  color: #667085;
  font-size: 14px;
}

.case-table-editor-snapshot {
  --primary: #6a11cb;
  --secondary: #2575fc;
  --dark: #111827;
  --muted: #667085;
  --border: #e5e7eb;
  margin: 18px 0 26px;
  max-width: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
}

.case-table-editor-snapshot *,
.case-table-editor-snapshot *::before,
.case-table-editor-snapshot *::after {
  box-sizing: border-box;
}

.case-sheet-shell {
  display: grid;
  gap: 12px;
}

.case-sheet-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.case-sheet-tab {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 300px;
  padding: 12px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 14px 30px rgba(37, 117, 252, .20);
}

.case-sheet-tab__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.case-sheet-tab__text strong {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.case-sheet-tab__text span {
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 700;
}

.case-sheet-tab__actions,
.case-sheet-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-sheet-tab__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.case-sheet-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .07);
  white-space: nowrap;
}

.case-sheet-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.case-sheet-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #edf1f7;
  background: #fff;
}

.case-sheet-card__head strong {
  color: #2f343d;
  font-size: 18px;
  font-weight: 900;
}

.case-sheet-card__head span {
  color: #667085;
  font-size: 14px;
  font-weight: 700;
}

.case-sheet-scroller {
  overflow-x: auto;
  background: #fff;
}

.case-sheet-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.case-sheet-table th,
.case-sheet-table td {
  border-right: 1px solid #e5eaf2;
  border-bottom: 1px solid #e5eaf2;
  vertical-align: top;
}

.case-sheet-table th:last-child,
.case-sheet-table td:last-child {
  border-right: 0;
}

.case-sheet-table th {
  padding: 12px 10px;
  background: #fbfcff;
  width: 230px;
}

.case-sheet-table td {
  height: 56px;
  padding: 12px 12px;
  color: #344054;
  background: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.case-sheet-table tr.is-excluded td {
  color: #94a3b8;
  background: #f8fafc;
  text-decoration: line-through;
  text-decoration-color: rgba(148, 163, 184, .55);
}

.case-sheet-field {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 8px;
  padding: 0 13px;
  overflow: hidden;
  border: 1px solid rgba(196, 181, 253, .66);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.case-sheet-field--source {
  background: linear-gradient(180deg, #fff 0%, #fbfaff 100%);
}

.case-sheet-field--title {
  font-weight: 800;
}

.case-sheet-column-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.case-sheet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #dfe6f0;
  border-radius: 8px;
  background: #fff;
  color: #667085;
  font-size: 14px;
}

.case-sheet-icon--drag {
  color: #475467;
}

.case-sheet-icon--danger {
  color: #dc2626;
  border-color: #fecaca;
}

.case-sheet-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid #bbf7d0;
  border-radius: 9px;
  background: #f0fdf4;
  color: #15803d;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.case-table-editor-snapshot figcaption {
  margin-top: 10px;
  color: #667085;
  font-size: 14px;
}

.case-table-column-example {
  --primary: #6a11cb;
  --secondary: #2575fc;
  --dark: #111827;
  --muted: #667085;
  --border: #e5e7eb;
  margin: 18px 0 26px;
  max-width: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
}

.case-table-column-example *,
.case-table-column-example *::before,
.case-table-column-example *::after {
  box-sizing: border-box;
}

.case-table-column-example .te-modal__dialog {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .09);
}

.case-table-column-example .te-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.case-table-column-example .te-modal__head-group,
.case-table-column-example .te-modal__head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.case-table-column-example .te-modal__head-group {
  flex: 1 1 auto;
}

.case-table-column-example .te-modal__head h3 {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  color: var(--dark);
  font-size: 18px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-table-column-example .te-modal__title-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: #15803d;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.case-table-column-example .te-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: #51606f;
}

.case-table-column-example .te-close--ghost {
  border: 0;
  background: transparent;
}

.case-table-column-example .te-modal__body {
  padding: 16px;
}

.case-table-column-example .te-column-modal {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.case-table-column-example .te-column-section {
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fbfcff;
}

.case-table-column-example .te-column-section--collapsible {
  padding: 0;
  overflow: hidden;
}

.case-table-column-example .te-column-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.case-table-column-example .te-column-section__head strong,
.case-table-column-example .te-help-inline-title {
  color: #111827;
  font-size: 16px;
  font-weight: 800;
}

.case-table-column-example .te-column-section__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  cursor: default;
  list-style: none;
}

.case-table-column-example .te-column-section__summary::-webkit-details-marker {
  display: none;
}

.case-table-column-example .te-column-section__toggle {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.case-table-column-example .te-column-section__body--details {
  padding: 0 16px 16px;
}

.case-table-column-example .te-rule-box {
  display: grid;
  gap: 8px;
}

.case-table-column-example .te-rule-row {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(100px, 1fr) minmax(100px, 1fr) minmax(100px, 1fr) minmax(100px, 1fr) 150px;
  align-items: start;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fafbff;
}

.case-table-column-example .te-condition-row {
  grid-template-columns: minmax(100px, 1fr) minmax(140px, 1fr) minmax(100px, 1fr) minmax(140px, 1.35fr) 150px;
  align-items: center;
}

.case-table-column-example .te-combobox,
.case-table-column-example .te-inline-field {
  min-width: 0;
}

.case-table-column-example .te-combobox__control {
  display: flex;
  min-width: 0;
}

.case-table-column-example .te-combobox__trigger,
.case-table-column-example .te-input,
.case-table-column-example .te-combo-btn {
  min-height: 38px;
  border: 1px solid var(--border);
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 14px;
}

.case-table-column-example .te-combobox__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0 11px;
  border-radius: 10px;
}

.case-table-column-example .te-combobox__trigger-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-table-column-example .te-inline-field {
  position: relative;
}

.case-table-column-example .te-inline-field--single-action .te-input {
  width: 100%;
  padding: 0 44px 0 11px;
  border-radius: 10px;
}

.case-table-column-example .te-inline-field__actions {
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  display: flex;
  align-items: center;
}

.case-table-column-example .te-combo-btn {
  width: 34px;
  height: 100%;
  min-height: 31px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.case-table-column-example .te-input.is-disabled,
.case-table-column-example .te-input:disabled {
  background: #f1f5f9;
  color: #64748b;
}

.case-table-column-example .te-rule-actions,
.case-table-column-example .te-condition-actions {
  display: flex;
  justify-content: flex-end;
  gap: 3px;
  flex-wrap: wrap;
}

.case-table-column-example .te-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: #475467;
}

.case-table-column-example .te-icon-btn--danger {
  color: #b42318;
  border-color: #fecaca;
}

.case-table-column-example .te-add-rule,
.case-table-column-example .te-preview-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(106, 17, 203, .2);
  border-radius: 12px;
  background: #fff;
  color: #4c1d95;
  font-size: 14px;
  font-weight: 800;
}

.case-table-column-example .te-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.case-table-column-example .te-modal-actions--start {
  margin-top: 10px;
}

.case-table-column-example .te-modal-actions--footer {
  justify-content: flex-end;
  margin: 6px -16px -16px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.case-table-column-example .te-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}

.case-table-column-example .te-btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}

.case-table-column-example .te-btn--danger-soft {
  color: #b42318;
  border-color: #fecaca;
  background: #fff7f7;
}

.case-table-column-example .te-column-preview,
.case-table-column-example .te-conditions-toolbar {
  display: grid;
  gap: 12px;
}

.case-table-column-example .te-conditions-toolbar {
  grid-template-columns: auto 1fr;
  align-items: center;
  margin-bottom: 10px;
}

.case-table-column-example .te-condition-scope {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.case-table-column-example .te-radio {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.case-table-column-example .te-radio.is-active {
  color: #4c1d95;
  border-color: rgba(106, 17, 203, .25);
  background: rgba(106, 17, 203, .08);
}

.case-table-column-example .te-column-preview__meta {
  color: #667085;
  font-size: 13px;
}

.case-table-column-example .te-preview-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.case-table-column-example .te-preview-column {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.case-table-column-example .te-preview-column__head {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.case-table-column-example .te-textarea {
  width: 100%;
  min-height: 138px;
  resize: none;
  border: 0;
  padding: 12px;
  color: #111827;
  background: #fff;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  line-height: 1.5;
}

.case-table-column-example .case-table-appearance-demo {
  color: #667085;
  font-size: 14px;
}

.case-table-column-example input[type="hidden"],
.case-table-column-example .te-combobox__menu {
  display: none;
}

.case-table-column-example figcaption {
  margin-top: 10px;
  color: #667085;
  font-size: 14px;
}

@media (max-width: 760px) {
  .case_before_after,
  .case-before-after {
    grid-template-columns: 1fr;
  }

  .case-transform-modal .xe-modal__head {
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
  }

  .case-transform-modal .xe-modal__title-group {
    flex: 1 1 auto;
    max-width: none;
    align-items: flex-start;
  }

  .case-transform-modal .xe-modal__title-text {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 16px;
    line-height: 1.18;
    word-break: break-word;
  }

  .case-transform-modal .xe-modal__title-credits {
    padding-top: 1px;
    font-size: 13px;
  }

  .case-transform-modal .xe-modal__head-actions,
  .case-transform-modal [data-action="toggle-field-fullscreen"] {
    display: none;
  }

  .case-transform-modal [data-field-modal-actions-group] {
    margin-left: 0;
    flex: 0 0 auto;
  }

  .case-transform-modal .xe-modal__body {
    padding: 12px;
  }

  .case-transform-modal .xe-rules-section {
    padding: 10px;
  }

  .case-transform-modal .xe-rule-row {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .case-transform-modal .xe-condition-row,
  .case-transform-modal .xe-settings-list {
    grid-template-columns: 1fr;
  }

  .case-transform-modal .xe-condition-scope-tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .case-transform-modal .xe-condition-scope-tab,
  .case-transform-modal .xe-condition-scope-tab:first-child,
  .case-transform-modal .xe-condition-scope-tab:last-child {
    border-radius: 999px;
    margin-left: 0;
  }

  .case-transform-modal .xe-condition-toolbar {
    align-items: stretch;
  }

  .case-transform-modal .xe-rule-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    min-width: 0;
  }

  .case-transform-modal .xe-icon-btn {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 9px;
  }

  .case-transform-modal .xe-modal-actions--footer > div,
  .case-transform-modal .xe-btn {
    width: 100%;
  }

  .case-transform-modal .xe-btn {
    justify-content: center;
  }

  .case-sheet-toolbar,
  .case-sheet-card__head {
    align-items: stretch;
    flex-direction: column;
  }

  .case-sheet-tab {
    width: 100%;
    min-width: 0;
  }

  .case-sheet-toolbar__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .case-sheet-action {
    width: 100%;
  }

  .case-sheet-table {
    min-width: 650px;
  }

  .case-sheet-table th {
    width: 205px;
  }

  .case-sheet-card__head span {
    font-size: 13px;
  }

  .case-table-column-example .te-modal__head {
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
  }

  .case-table-column-example .te-modal__head-group {
    align-items: flex-start;
  }

  .case-table-column-example .te-modal__head h3 {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 16px;
    line-height: 1.18;
    word-break: break-word;
  }

  .case-table-column-example .te-modal__head-actions {
    display: none;
  }

  .case-table-column-example .te-modal__body {
    padding: 12px;
  }

  .case-table-column-example .te-column-section {
    padding: 10px;
  }

  .case-table-column-example .te-column-section--collapsible {
    padding: 0;
  }

  .case-table-column-example .te-column-section__summary {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px;
  }

  .case-table-column-example .te-column-section__body--details {
    padding: 0 12px 12px;
  }

  .case-table-column-example .te-rule-row,
  .case-table-column-example .te-condition-row,
  .case-table-column-example .te-conditions-toolbar,
  .case-table-column-example .te-preview-columns {
    grid-template-columns: 1fr;
  }

  .case-table-column-example .te-condition-scope,
  .case-table-column-example .te-rule-actions,
  .case-table-column-example .te-condition-actions,
  .case-table-column-example .te-modal-actions--footer {
    justify-content: flex-start;
  }

  .case-table-column-example .te-btn,
  .case-table-column-example .te-add-rule,
  .case-table-column-example .te-preview-switch {
    width: 100%;
  }

  .case-snapshot-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-snapshot-tree {
    padding: 12px 10px;
    font-size: 13px;
  }

  .case-snapshot-row {
    padding-left: calc((var(--depth) * 14px) + 2px);
  }

  .case-snapshot-row::before {
    left: calc((var(--depth) * 14px) - 6px);
  }

  .case-snapshot-line {
    align-items: flex-start;
  }

}
