/* Croprix UI components v1.1.0
   只引用 tokens/dist/tokens.css 的 --cx-* 变量，不写死色值。
   前缀 cx-；修饰符用 --；状态用 is-/[aria-*]/[disabled]。
   焦点环：2px leaf.600，外扩 2px（decisions §5，所有可聚焦组件统一）。
   触控目标：交互元素可见高度 < 44px 时用 ::before 扩出 44px 命中区。 */

/* ---------- 0. 基础与共享 ---------- */
.cx-ui,
.cx-ui *,
.cx-ui *::before,
.cx-ui *::after {
  box-sizing: border-box;
}

.cx-ui {
  font-family: var(--cx-font-family-sans), var(--cx-font-family-cjk);
  font-size: var(--cx-font-size-md);
  line-height: var(--cx-line-height-md);
  color: var(--cx-color-fg);
  font-variant-numeric: tabular-nums;
  --cx-focus-ring: 0 0 0 2px var(--cx-color-bg), 0 0 0 4px var(--cx-color-leaf-600);
  --cx-hit: 44px;
}

.cx-ui :lang(zh),
.cx-ui :lang(ja),
.cx-ui :lang(ko) {
  line-height: var(--cx-line-height-cjk-md);
}

.cx-ui :focus-visible {
  outline: var(--cx-border-width-thick) solid var(--cx-color-leaf-600);
  outline-offset: 2px;
}

/* 扩大命中区（sm 按钮、复选、单选、开关、分页项） */
.cx-hit {
  position: relative;
}
.cx-hit::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: max(100%, var(--cx-hit));
  height: max(100%, var(--cx-hit));
  transform: translate(-50%, -50%);
}

.cx-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@keyframes cx-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes cx-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
@keyframes cx-toast-in {
  from {
    opacity: 0;
    transform: translateY(var(--cx-space-3));
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes cx-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---------- 1. 按钮 ---------- */
.cx-btn {
  --cx-btn-h: 40px;
  --cx-btn-px: var(--cx-space-4);
  --cx-btn-fs: var(--cx-font-size-md);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--cx-space-2);
  min-height: var(--cx-btn-h);
  padding: 0 var(--cx-btn-px);
  border: var(--cx-border-width-thin) solid transparent;
  border-radius: var(--cx-radius-sm);
  font: inherit;
  font-size: var(--cx-btn-fs);
  font-weight: var(--cx-font-weight-semibold);
  line-height: 1.2;
  letter-spacing: var(--cx-letter-spacing-body);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color var(--cx-motion-duration-base) var(--cx-motion-ease-standard),
    border-color var(--cx-motion-duration-base) var(--cx-motion-ease-standard),
    color var(--cx-motion-duration-base) var(--cx-motion-ease-standard),
    transform var(--cx-motion-duration-fast) var(--cx-motion-ease-standard);
}
.cx-btn:active:not([disabled]):not(.is-loading) {
  transform: translateY(1px);
}
.cx-btn--sm {
  --cx-btn-h: 32px;
  --cx-btn-px: var(--cx-space-3);
  --cx-btn-fs: var(--cx-font-size-sm);
}
.cx-btn--lg {
  --cx-btn-h: 48px;
  --cx-btn-px: var(--cx-space-6);
  --cx-btn-fs: var(--cx-font-size-lg);
}
.cx-btn--sm::before {
  content: "";
  position: absolute;
  inset: calc((var(--cx-btn-h) - var(--cx-hit)) / 2) 0;
}

.cx-btn--primary {
  background: var(--cx-color-accent);
  border-color: var(--cx-color-accent);
  color: var(--cx-color-accent-fg);
}
.cx-btn--primary:hover:not([disabled]):not(.is-loading) {
  background: var(--cx-color-accent-hover);
  border-color: var(--cx-color-accent-hover);
}
.cx-btn--primary:active:not([disabled]):not(.is-loading) {
  background: var(--cx-color-leaf-700);
  border-color: var(--cx-color-leaf-700);
  color: var(--cx-color-white);
}

.cx-btn--secondary {
  background: var(--cx-color-bg-raised);
  border-color: var(--cx-color-brand);
  color: var(--cx-color-brand);
}
.cx-btn--secondary:hover:not([disabled]):not(.is-loading) {
  background: var(--cx-color-navy-50);
}
.cx-btn--secondary:active:not([disabled]):not(.is-loading) {
  background: var(--cx-color-navy-100);
}
:root[data-theme="dark"] .cx-btn--secondary:hover:not([disabled]):not(.is-loading) {
  background: var(--cx-color-navy-800);
}
:root[data-theme="dark"] .cx-btn--secondary:active:not([disabled]):not(.is-loading) {
  background: var(--cx-color-navy-700);
}

.cx-btn--ghost {
  background: transparent;
  color: var(--cx-color-brand);
}
.cx-btn--ghost:hover:not([disabled]):not(.is-loading) {
  background: var(--cx-color-bg-sunken);
}
.cx-btn--ghost:active:not([disabled]):not(.is-loading) {
  background: var(--cx-color-border);
}

.cx-btn--danger {
  background: var(--cx-color-danger);
  border-color: var(--cx-color-danger);
  color: var(--cx-color-white);
}
.cx-btn--danger:hover:not([disabled]):not(.is-loading) {
  background: var(--cx-color-crimson-800);
  border-color: var(--cx-color-crimson-800);
}
.cx-btn--danger:active:not([disabled]):not(.is-loading) {
  background: var(--cx-color-crimson-900);
  border-color: var(--cx-color-crimson-900);
}
:root[data-theme="dark"] .cx-btn--danger {
  color: var(--cx-color-crimson-950);
}
:root[data-theme="dark"] .cx-btn--danger:hover:not([disabled]):not(.is-loading) {
  background: var(--cx-color-crimson-300);
  border-color: var(--cx-color-crimson-300);
}
:root[data-theme="dark"] .cx-btn--danger:active:not([disabled]):not(.is-loading) {
  background: var(--cx-color-crimson-200);
  border-color: var(--cx-color-crimson-200);
}

.cx-btn[disabled],
.cx-btn[aria-disabled="true"] {
  cursor: not-allowed;
  background: var(--cx-color-bg-sunken);
  border-color: var(--cx-color-border);
  color: var(--cx-color-fg-subtle);
}
.cx-btn--ghost[disabled] {
  background: transparent;
  border-color: transparent;
}

.cx-btn.is-loading,
:root[data-theme="dark"] .cx-btn--danger.is-loading {
  cursor: progress;
  color: transparent;
}
.cx-btn.is-loading::after {
  content: "";
  position: absolute;
  width: 1em;
  height: 1em;
  border: var(--cx-border-width-thick) solid currentColor;
  border-color: var(--cx-color-accent-fg) transparent var(--cx-color-accent-fg) transparent;
  border-radius: var(--cx-radius-full);
  animation: cx-spin 800ms linear infinite;
}
.cx-btn--secondary.is-loading::after,
.cx-btn--ghost.is-loading::after {
  border-color: var(--cx-color-brand) transparent var(--cx-color-brand) transparent;
}
.cx-btn--danger.is-loading::after {
  border-color: var(--cx-color-white) transparent var(--cx-color-white) transparent;
}
:root[data-theme="dark"] .cx-btn--danger.is-loading::after {
  border-color: var(--cx-color-crimson-950) transparent var(--cx-color-crimson-950) transparent;
}

.cx-btn .cx-icon {
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
}
.cx-btn--icon {
  --cx-btn-px: 0;
  width: var(--cx-btn-h);
}

/* ---------- 2. 表单 ---------- */
.cx-field {
  display: flex;
  flex-direction: column;
  gap: var(--cx-space-1);
  max-width: 28rem;
}
.cx-field__label {
  font-size: var(--cx-font-size-sm);
  font-weight: var(--cx-font-weight-medium);
  color: var(--cx-color-fg);
}
.cx-field__label .req {
  color: var(--cx-color-danger);
  margin-inline-start: var(--cx-space-1);
}
.cx-field__hint {
  font-size: var(--cx-font-size-xs);
  color: var(--cx-color-fg-muted);
  display: flex;
  align-items: center;
  gap: var(--cx-space-1);
}
.cx-field--error .cx-field__hint {
  color: var(--cx-color-danger);
}
.cx-field--success .cx-field__hint {
  color: var(--cx-color-success);
}

.cx-input,
.cx-select,
.cx-textarea {
  width: 100%;
  min-height: 40px;
  padding: var(--cx-space-2) var(--cx-space-3);
  background: var(--cx-color-bg-sunken);
  border: var(--cx-border-width-thin) solid var(--cx-color-border-strong);
  border-radius: var(--cx-radius-sm);
  color: var(--cx-color-fg);
  font: inherit;
  font-size: var(--cx-font-size-md);
  line-height: 1.4;
  transition:
    border-color var(--cx-motion-duration-fast) var(--cx-motion-ease-standard),
    background-color var(--cx-motion-duration-fast) var(--cx-motion-ease-standard);
}
.cx-input::placeholder,
.cx-textarea::placeholder {
  color: var(--cx-color-fg-subtle);
}
.cx-input:hover,
.cx-select:hover,
.cx-textarea:hover {
  border-color: var(--cx-color-fg-muted);
}
.cx-input:focus-visible,
.cx-select:focus-visible,
.cx-textarea:focus-visible {
  background: var(--cx-color-bg-raised);
  border-color: var(--cx-color-accent);
  outline: var(--cx-border-width-thick) solid var(--cx-color-leaf-600);
  outline-offset: 2px;
}
.cx-input[disabled],
.cx-select[disabled],
.cx-textarea[disabled] {
  color: var(--cx-color-fg-subtle);
  border-color: var(--cx-color-border);
  background: var(--cx-color-bg-sunken);
  cursor: not-allowed;
}
.cx-input[readonly] {
  border-style: dashed;
}
.cx-field--error .cx-input,
.cx-field--error .cx-select,
.cx-field--error .cx-textarea,
.cx-input[aria-invalid="true"] {
  border-color: var(--cx-color-danger);
}
.cx-field--success .cx-input,
.cx-field--success .cx-select,
.cx-field--success .cx-textarea {
  border-color: var(--cx-color-success);
}
.cx-input--sm {
  min-height: 32px;
  padding-block: var(--cx-space-1);
  font-size: var(--cx-font-size-sm);
}
.cx-input--lg {
  min-height: 48px;
  font-size: var(--cx-font-size-lg);
}
.cx-textarea {
  min-height: 96px;
  resize: vertical;
  line-height: var(--cx-line-height-md);
}

.cx-select {
  appearance: none;
  padding-inline-end: var(--cx-space-10);
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - var(--cx-space-5)) 50%,
    calc(100% - var(--cx-space-4)) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
[dir="rtl"] .cx-select {
  background-position:
    var(--cx-space-4) 50%,
    var(--cx-space-5) 50%;
}

.cx-input-group {
  display: flex;
  align-items: center;
  gap: var(--cx-space-2);
}
.cx-input-group .cx-input {
  flex: 1;
}
.cx-input-group__unit {
  font-size: var(--cx-font-size-sm);
  color: var(--cx-color-fg-muted);
  white-space: nowrap;
}

/* 复选 / 单选 */
.cx-check,
.cx-radio {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: var(--cx-space-2);
  min-height: 24px;
  cursor: pointer;
  font-size: var(--cx-font-size-md);
  line-height: 1.5;
}
.cx-check input,
.cx-radio input {
  appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: var(--cx-border-width-thin) solid var(--cx-color-border-strong);
  border-radius: var(--cx-radius-xs);
  background: var(--cx-color-bg-raised);
  cursor: inherit;
  display: grid;
  place-content: center;
  transition:
    background-color var(--cx-motion-duration-fast) var(--cx-motion-ease-standard),
    border-color var(--cx-motion-duration-fast) var(--cx-motion-ease-standard);
}
.cx-radio input {
  border-radius: var(--cx-radius-full);
}
.cx-check input::before,
.cx-radio input::before {
  content: "";
  width: 12px;
  height: 12px;
  transform: scale(0);
  transition: transform var(--cx-motion-duration-fast) var(--cx-motion-ease-standard);
}
.cx-check input::before {
  width: 10px;
  height: 6px;
  border: 0 solid var(--cx-color-accent-fg);
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg) scale(0);
}
.cx-radio input::before {
  width: 10px;
  height: 10px;
  border-radius: var(--cx-radius-full);
  background: var(--cx-color-accent-fg);
}
.cx-check input:checked,
.cx-radio input:checked {
  background: var(--cx-color-accent);
  border-color: var(--cx-color-accent);
}
.cx-check input:checked::before {
  transform: translateY(-1px) rotate(-45deg) scale(1);
}
.cx-radio input:checked::before {
  transform: scale(1);
}
.cx-check input:indeterminate {
  background: var(--cx-color-accent);
  border-color: var(--cx-color-accent);
}
.cx-check input:indeterminate::before {
  width: 10px;
  height: 0;
  border-width: 0 0 2px;
  transform: none;
}
.cx-check input:hover:not(:disabled),
.cx-radio input:hover:not(:disabled) {
  border-color: var(--cx-color-accent);
}
.cx-check input:disabled,
.cx-radio input:disabled {
  background: var(--cx-color-bg-sunken);
  border-color: var(--cx-color-border);
  cursor: not-allowed;
}
.cx-check input:disabled:checked,
.cx-radio input:disabled:checked {
  background: var(--cx-color-border-strong);
  border-color: var(--cx-color-border-strong);
}
.cx-check:has(input:disabled),
.cx-radio:has(input:disabled) {
  color: var(--cx-color-fg-subtle);
  cursor: not-allowed;
}
.cx-check.is-error input,
.cx-radio.is-error input {
  border-color: var(--cx-color-danger);
}

/* 开关 */
.cx-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--cx-space-2);
  cursor: pointer;
  font-size: var(--cx-font-size-md);
}
.cx-switch input {
  appearance: none;
  flex: none;
  width: 40px;
  height: 24px;
  margin: 0;
  border-radius: var(--cx-radius-full);
  background: var(--cx-color-border-strong);
  position: relative;
  cursor: inherit;
  transition: background-color var(--cx-motion-duration-base) var(--cx-motion-ease-standard);
}
.cx-switch input::before {
  content: "";
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 18px;
  height: 18px;
  border-radius: var(--cx-radius-full);
  background: var(--cx-color-white);
  box-shadow: var(--cx-shadow-sm);
  transition: transform var(--cx-motion-duration-base) var(--cx-motion-ease-standard);
}
.cx-switch input:checked {
  background: var(--cx-color-accent);
}
.cx-switch input:checked::before {
  transform: translateX(16px);
}
[dir="rtl"] .cx-switch input:checked::before {
  transform: translateX(-16px);
}
.cx-switch input:disabled {
  background: var(--cx-color-border);
  cursor: not-allowed;
}
.cx-switch input:disabled::before {
  background: var(--cx-color-bg-sunken);
  box-shadow: none;
}
.cx-switch:has(input:disabled) {
  color: var(--cx-color-fg-subtle);
  cursor: not-allowed;
}

/* ---------- 3. 标签、状态点、徽章 ---------- */
.cx-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--cx-space-1);
  min-height: 28px;
  padding: 0 var(--cx-space-3);
  border: var(--cx-border-width-hairline) solid var(--cx-color-border);
  border-radius: var(--cx-radius-full);
  background: var(--cx-color-bg-raised);
  color: var(--cx-color-fg);
  font-size: var(--cx-font-size-sm);
  font-weight: var(--cx-font-weight-medium);
  line-height: 1;
  white-space: nowrap;
}
.cx-chip--accent {
  background: var(--cx-color-accent-soft);
  border-color: transparent;
  color: var(--cx-color-success);
}
.cx-chip--brand {
  background: var(--cx-color-navy-100);
  border-color: transparent;
  color: var(--cx-color-navy-900);
}
:root[data-theme="dark"] .cx-chip--brand {
  background: var(--cx-color-navy-800);
  color: var(--cx-color-navy-100);
}
.cx-chip--selectable {
  cursor: pointer;
}
.cx-chip--selectable:hover {
  border-color: var(--cx-color-border-strong);
}
.cx-chip[aria-pressed="true"],
.cx-chip.is-selected {
  background: var(--cx-color-brand);
  border-color: var(--cx-color-brand);
  color: var(--cx-color-fg-inverse);
}
.cx-chip__remove {
  all: unset;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-inline-end: calc(var(--cx-space-2) * -1);
  border-radius: var(--cx-radius-full);
  cursor: pointer;
  line-height: 1;
}
.cx-chip__remove:hover {
  background: var(--cx-color-bg-sunken);
}
.cx-chip__remove .cx-icon {
  width: 14px;
  height: 14px;
}

.cx-status {
  display: inline-flex;
  align-items: center;
  gap: var(--cx-space-2);
  font-size: var(--cx-font-size-sm);
  color: var(--cx-color-fg);
  white-space: nowrap;
}
.cx-status::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: var(--cx-radius-full);
  background: var(--cx-status-color, var(--cx-color-fg-subtle));
}
.cx-status--running {
  --cx-status-color: var(--cx-color-success);
}
.cx-status--idle {
  --cx-status-color: var(--cx-color-fg-subtle);
}
.cx-status--warning {
  --cx-status-color: var(--cx-color-warning);
}
.cx-status--error {
  --cx-status-color: var(--cx-color-danger);
}
.cx-status--info {
  --cx-status-color: var(--cx-color-info);
}
.cx-status--running::before {
  animation: cx-pulse 2s var(--cx-motion-ease-standard) infinite;
}
@keyframes cx-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
  50% {
    box-shadow: 0 0 0 4px var(--cx-color-accent-soft);
  }
}

.cx-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 var(--cx-space-2);
  border-radius: var(--cx-radius-full);
  background: var(--cx-color-brand);
  color: var(--cx-color-fg-inverse);
  font-size: var(--cx-font-size-2xs);
  font-weight: var(--cx-font-weight-semibold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cx-badge--danger {
  background: var(--cx-color-danger);
  color: var(--cx-color-white);
}
:root[data-theme="dark"] .cx-badge--danger {
  color: var(--cx-color-crimson-950);
}
.cx-badge--accent {
  background: var(--cx-color-accent);
  color: var(--cx-color-accent-fg);
}
.cx-badge--muted {
  background: var(--cx-color-bg-sunken);
  color: var(--cx-color-fg-muted);
}
.cx-badge--label {
  border-radius: var(--cx-radius-xs);
  text-transform: uppercase;
  letter-spacing: var(--cx-letter-spacing-caps);
}

/* ---------- 4. 卡片、表格、列表 ---------- */
.cx-card {
  background: var(--cx-color-bg-raised);
  border: var(--cx-border-width-hairline) solid var(--cx-color-border);
  border-radius: var(--cx-radius-lg);
  padding: var(--cx-space-6);
  box-shadow: var(--cx-shadow-sm);
}
.cx-card--flat {
  box-shadow: none;
}
.cx-card--raised {
  box-shadow: var(--cx-shadow-md);
}
.cx-card--sm {
  padding: var(--cx-space-4);
  border-radius: var(--cx-radius-md);
}
.cx-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cx-space-3);
  margin-bottom: var(--cx-space-4);
}
.cx-card__title {
  margin: 0;
  font-size: var(--cx-font-size-lg);
  font-weight: var(--cx-font-weight-semibold);
  color: var(--cx-color-brand);
  letter-spacing: var(--cx-letter-spacing-heading);
}
.cx-card__eyebrow {
  margin: 0 0 var(--cx-space-1);
  font-size: var(--cx-font-size-xs);
  font-weight: var(--cx-font-weight-semibold);
  letter-spacing: var(--cx-letter-spacing-caps);
  text-transform: uppercase;
  color: var(--cx-color-fg-muted);
}
.cx-card__footer {
  display: flex;
  gap: var(--cx-space-2);
  justify-content: flex-end;
  margin-top: var(--cx-space-4);
  padding-top: var(--cx-space-4);
  border-top: var(--cx-border-width-hairline) solid var(--cx-color-border);
}
.cx-card--interactive {
  cursor: pointer;
  transition:
    border-color var(--cx-motion-duration-fast) var(--cx-motion-ease-standard),
    box-shadow var(--cx-motion-duration-base) var(--cx-motion-ease-standard);
}
.cx-card--interactive:hover {
  border-color: var(--cx-color-border-strong);
  box-shadow: var(--cx-shadow-md);
}
.cx-card--selected {
  border-color: var(--cx-color-accent);
  box-shadow: 0 0 0 1px var(--cx-color-accent);
}

.cx-table-wrap {
  overflow-x: auto;
  border: var(--cx-border-width-hairline) solid var(--cx-color-border);
  border-radius: var(--cx-radius-md);
  background: var(--cx-color-bg-raised);
}
.cx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--cx-font-size-sm);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.cx-table th,
.cx-table td {
  padding: var(--cx-space-2) var(--cx-space-3);
  text-align: start;
  vertical-align: middle;
  border-bottom: var(--cx-border-width-hairline) solid var(--cx-color-border);
}
.cx-table thead th {
  position: sticky;
  top: 0;
  background: var(--cx-color-bg-sunken);
  color: var(--cx-color-fg-muted);
  font-size: var(--cx-font-size-xs);
  font-weight: var(--cx-font-weight-semibold);
  letter-spacing: var(--cx-letter-spacing-caps);
  text-transform: uppercase;
  white-space: nowrap;
}
.cx-table tbody tr:last-child td {
  border-bottom: 0;
}
.cx-table--striped tbody tr:nth-child(even) td {
  background: var(--cx-color-bg-sunken);
}
.cx-table tbody tr:hover td {
  background: var(--cx-color-accent-soft);
}
.cx-table tr.is-selected td {
  background: var(--cx-color-navy-100);
}
:root[data-theme="dark"] .cx-table tr.is-selected td {
  background: var(--cx-color-navy-800);
}
.cx-table .num {
  text-align: end;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cx-table--dense th,
.cx-table--dense td {
  padding: var(--cx-space-1) var(--cx-space-2);
}
.cx-table th[aria-sort] {
  cursor: pointer;
}
.cx-table th[aria-sort="ascending"]::after {
  content: " ↑";
}
.cx-table th[aria-sort="descending"]::after {
  content: " ↓";
}
.cx-table caption {
  caption-side: bottom;
  padding: var(--cx-space-2) var(--cx-space-3);
  text-align: start;
  font-size: var(--cx-font-size-xs);
  color: var(--cx-color-fg-muted);
}

.cx-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--cx-color-bg-raised);
  border: var(--cx-border-width-hairline) solid var(--cx-color-border);
  border-radius: var(--cx-radius-md);
}
.cx-list__item {
  display: flex;
  align-items: center;
  gap: var(--cx-space-3);
  min-height: 48px;
  padding: var(--cx-space-3) var(--cx-space-4);
  border-bottom: var(--cx-border-width-hairline) solid var(--cx-color-border);
}
.cx-list__item:last-child {
  border-bottom: 0;
}
.cx-list__item .cx-icon {
  color: var(--cx-color-brand);
}
.cx-list__body {
  flex: 1;
  min-width: 0;
}
.cx-list__title {
  font-weight: var(--cx-font-weight-medium);
}
.cx-list__meta {
  font-size: var(--cx-font-size-xs);
  color: var(--cx-color-fg-muted);
}
.cx-list__item--link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.cx-list__item--link:hover {
  background: var(--cx-color-bg-sunken);
}

/* ---------- 5. 导航、标签页、面包屑、分页 ---------- */
.cx-navbar {
  display: flex;
  align-items: center;
  gap: var(--cx-space-6);
  min-height: 56px;
  padding: 0 var(--cx-space-6);
  background: var(--cx-color-bg-raised);
  border-bottom: var(--cx-border-width-hairline) solid var(--cx-color-border);
}
.cx-navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--cx-space-2);
  color: var(--cx-color-brand);
  text-decoration: none;
  font-weight: var(--cx-font-weight-semibold);
}
.cx-navbar__brand img {
  height: 28px;
  width: auto;
}
.cx-navbar__links {
  display: flex;
  gap: var(--cx-space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}
.cx-navbar__links a {
  display: inline-flex;
  align-items: center;
  gap: var(--cx-space-2);
  min-height: 40px;
  padding: 0 var(--cx-space-3);
  border-radius: var(--cx-radius-sm);
  color: var(--cx-color-fg-muted);
  font-size: var(--cx-font-size-sm);
  font-weight: var(--cx-font-weight-medium);
  text-decoration: none;
}
.cx-navbar__links a:hover {
  color: var(--cx-color-brand);
  background: var(--cx-color-bg-sunken);
}
.cx-navbar__links a[aria-current="page"] {
  color: var(--cx-color-brand);
  box-shadow: inset 0 calc(var(--cx-border-width-thick) * -1) 0 var(--cx-color-accent);
  border-radius: var(--cx-radius-sm) var(--cx-radius-sm) 0 0;
}
.cx-navbar__spacer {
  flex: 1;
}
.cx-navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--cx-space-2);
}
.cx-navbar--inverse {
  background: var(--cx-color-bg-inverse);
  border-bottom-color: transparent;
}
.cx-navbar--inverse .cx-navbar__brand,
.cx-navbar--inverse .cx-navbar__links a {
  color: var(--cx-color-fg-inverse);
}
.cx-navbar--inverse .cx-navbar__links a:hover {
  background: var(--cx-color-navy-800);
}
:root[data-theme="dark"] .cx-navbar--inverse .cx-navbar__links a:hover {
  background: var(--cx-color-sand-200);
}
.cx-navbar--inverse .cx-navbar__links a[aria-current="page"] {
  box-shadow: inset 0 calc(var(--cx-border-width-thick) * -1) 0 var(--cx-color-leaf-500);
}

.cx-tabs {
  display: flex;
  gap: var(--cx-space-1);
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: var(--cx-border-width-hairline) solid var(--cx-color-border);
  overflow-x: auto;
}
.cx-tabs [role="tab"] {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: var(--cx-space-2);
  min-height: 44px;
  padding: 0 var(--cx-space-3);
  margin-bottom: -1px;
  border-bottom: var(--cx-border-width-thick) solid transparent;
  color: var(--cx-color-fg-muted);
  font-size: var(--cx-font-size-sm);
  font-weight: var(--cx-font-weight-medium);
  white-space: nowrap;
  cursor: pointer;
  transition:
    color var(--cx-motion-duration-fast) var(--cx-motion-ease-standard),
    border-color var(--cx-motion-duration-fast) var(--cx-motion-ease-standard);
}
.cx-tabs [role="tab"]:hover {
  color: var(--cx-color-brand);
}
.cx-tabs [role="tab"][aria-selected="true"] {
  color: var(--cx-color-brand);
  border-bottom-color: var(--cx-color-accent);
}
.cx-tabs [role="tab"]:focus-visible {
  outline: var(--cx-border-width-thick) solid var(--cx-color-leaf-600);
  outline-offset: -2px;
  border-radius: var(--cx-radius-sm);
}
.cx-tabs [role="tab"][aria-disabled="true"] {
  color: var(--cx-color-fg-subtle);
  cursor: not-allowed;
}
.cx-tabs--pill {
  border-bottom: 0;
  gap: var(--cx-space-2);
}
.cx-tabs--pill [role="tab"] {
  min-height: 36px;
  border: var(--cx-border-width-hairline) solid var(--cx-color-border);
  border-radius: var(--cx-radius-full);
  margin-bottom: 0;
}
.cx-tabs--pill [role="tab"][aria-selected="true"] {
  background: var(--cx-color-brand);
  border-color: var(--cx-color-brand);
  color: var(--cx-color-fg-inverse);
}
.cx-tabpanel {
  padding: var(--cx-space-4) 0;
}

.cx-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cx-space-1);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--cx-font-size-sm);
  color: var(--cx-color-fg-muted);
}
.cx-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: var(--cx-space-1);
}
.cx-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 var(--cx-space-1);
  border-radius: var(--cx-radius-xs);
  color: var(--cx-color-link);
  text-decoration: none;
}
.cx-breadcrumb a:hover {
  text-decoration: underline;
}
.cx-breadcrumb li + li::before {
  content: "/";
  color: var(--cx-color-fg-subtle);
  padding: 0 var(--cx-space-1);
}
.cx-breadcrumb [aria-current="page"] {
  color: var(--cx-color-fg);
  font-weight: var(--cx-font-weight-medium);
}

.cx-pagination {
  display: flex;
  align-items: center;
  gap: var(--cx-space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}
.cx-pagination a,
.cx-pagination button {
  all: unset;
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 var(--cx-space-2);
  border-radius: var(--cx-radius-sm);
  color: var(--cx-color-fg);
  font-size: var(--cx-font-size-sm);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  position: relative;
}
.cx-pagination a::before,
.cx-pagination button::before {
  content: "";
  position: absolute;
  inset: -4px 0;
}
.cx-pagination a:hover,
.cx-pagination button:hover {
  background: var(--cx-color-bg-sunken);
}
.cx-pagination [aria-current="page"] {
  background: var(--cx-color-brand);
  color: var(--cx-color-fg-inverse);
  font-weight: var(--cx-font-weight-semibold);
}
.cx-pagination [aria-disabled="true"] {
  color: var(--cx-color-fg-subtle);
  cursor: not-allowed;
}
.cx-pagination a:focus-visible,
.cx-pagination button:focus-visible {
  outline: var(--cx-border-width-thick) solid var(--cx-color-leaf-600);
  outline-offset: 2px;
}
.cx-pagination__ellipsis {
  padding: 0 var(--cx-space-1);
  color: var(--cx-color-fg-subtle);
}
.cx-pagination__summary {
  margin-inline-start: var(--cx-space-3);
  font-size: var(--cx-font-size-sm);
  color: var(--cx-color-fg-muted);
}

/* ---------- 6. 提示条、toast、模态、工具提示 ---------- */
.cx-alert {
  --cx-alert-color: var(--cx-color-info);
  --cx-alert-bg: var(--cx-color-sky-50);
  display: flex;
  gap: var(--cx-space-3);
  padding: var(--cx-space-3) var(--cx-space-4);
  border: var(--cx-border-width-hairline) solid var(--cx-color-border);
  border-inline-start: var(--cx-border-width-thick) solid var(--cx-alert-color);
  border-radius: var(--cx-radius-md);
  background: var(--cx-alert-bg);
  color: var(--cx-color-fg);
  font-size: var(--cx-font-size-sm);
  line-height: 1.5;
}
.cx-alert .cx-icon {
  flex: none;
  color: var(--cx-alert-color);
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
.cx-alert__title {
  display: block;
  font-weight: var(--cx-font-weight-semibold);
  color: var(--cx-color-fg);
}
.cx-alert__body {
  flex: 1;
  min-width: 0;
}
.cx-alert__body p {
  margin: 0;
}
.cx-alert__close {
  all: unset;
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: -6px -8px -6px 0;
  border-radius: var(--cx-radius-sm);
  cursor: pointer;
  color: var(--cx-color-fg-muted);
}
.cx-alert__close:hover {
  background: var(--cx-color-bg-raised);
}
.cx-alert__close:focus-visible {
  outline: var(--cx-border-width-thick) solid var(--cx-color-leaf-600);
  outline-offset: 2px;
}
.cx-alert__close .cx-icon {
  color: inherit;
  width: 16px;
  height: 16px;
  margin: 0;
}
.cx-alert--success {
  --cx-alert-color: var(--cx-color-success);
  --cx-alert-bg: var(--cx-color-leaf-50);
}
.cx-alert--warning {
  --cx-alert-color: var(--cx-color-warning);
  --cx-alert-bg: var(--cx-color-harvest-50);
}
.cx-alert--danger {
  --cx-alert-color: var(--cx-color-danger);
  --cx-alert-bg: var(--cx-color-crimson-50);
}
:root[data-theme="dark"] .cx-alert {
  --cx-alert-bg: var(--cx-color-bg-raised);
}

.cx-toast-region {
  position: fixed;
  inset-block-end: var(--cx-space-6);
  inset-inline-end: var(--cx-space-6);
  z-index: var(--cx-z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--cx-space-2);
  width: min(360px, calc(100vw - var(--cx-space-8)));
}
.cx-toast {
  display: flex;
  align-items: flex-start;
  gap: var(--cx-space-3);
  padding: var(--cx-space-3) var(--cx-space-4);
  border-radius: var(--cx-radius-md);
  background: var(--cx-color-bg-inverse);
  color: var(--cx-color-fg-inverse);
  box-shadow: var(--cx-shadow-lg);
  font-size: var(--cx-font-size-sm);
  line-height: 1.5;
  animation: cx-toast-in var(--cx-motion-duration-enter) var(--cx-motion-ease-enter);
}
.cx-toast .cx-icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--cx-color-leaf-400);
}
.cx-toast--warning .cx-icon {
  color: var(--cx-color-harvest-400);
}
.cx-toast--danger .cx-icon {
  color: var(--cx-color-crimson-400);
}
.cx-toast--info .cx-icon {
  color: var(--cx-color-sky-300);
}
:root[data-theme="dark"] .cx-toast .cx-icon {
  color: var(--cx-color-leaf-700);
}
:root[data-theme="dark"] .cx-toast--warning .cx-icon {
  color: var(--cx-color-harvest-700);
}
:root[data-theme="dark"] .cx-toast--danger .cx-icon {
  color: var(--cx-color-crimson-700);
}
:root[data-theme="dark"] .cx-toast--info .cx-icon {
  color: var(--cx-color-sky-700);
}
.cx-toast__body {
  flex: 1;
  min-width: 0;
}
.cx-toast__title {
  display: block;
  font-weight: var(--cx-font-weight-semibold);
}
.cx-toast__action {
  all: unset;
  cursor: pointer;
  font-weight: var(--cx-font-weight-semibold);
  color: var(--cx-color-leaf-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}
:root[data-theme="dark"] .cx-toast__action {
  color: var(--cx-color-leaf-700);
}
.cx-toast__action:focus-visible,
.cx-toast__close:focus-visible {
  outline: var(--cx-border-width-thick) solid var(--cx-color-leaf-600);
  outline-offset: 2px;
  border-radius: var(--cx-radius-xs);
}
.cx-toast__close {
  all: unset;
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: -4px -6px -4px 0;
  border-radius: var(--cx-radius-sm);
  cursor: pointer;
  opacity: 0.8;
}
.cx-toast__close .cx-icon {
  color: inherit;
  width: 16px;
  height: 16px;
  margin: 0;
}

.cx-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--cx-z-overlay);
  background: var(--cx-color-navy-950);
  opacity: 0.6;
  animation: cx-fade-in var(--cx-motion-duration-base) var(--cx-motion-ease-enter);
}
.cx-modal {
  position: fixed;
  inset: 0;
  z-index: var(--cx-z-modal);
  display: grid;
  place-items: center;
  padding: var(--cx-space-4);
}
.cx-modal__dialog {
  width: min(560px, 100%);
  max-height: calc(100vh - var(--cx-space-8));
  display: flex;
  flex-direction: column;
  background: var(--cx-color-bg-raised);
  border: var(--cx-border-width-hairline) solid var(--cx-color-border);
  border-radius: var(--cx-radius-lg);
  box-shadow: var(--cx-shadow-lg);
  animation: cx-toast-in var(--cx-motion-duration-enter) var(--cx-motion-ease-enter);
}
.cx-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cx-space-3);
  padding: var(--cx-space-5) var(--cx-space-6) var(--cx-space-3);
}
.cx-modal__title {
  margin: 0;
  font-size: var(--cx-font-size-xl);
  font-weight: var(--cx-font-weight-semibold);
  color: var(--cx-color-brand);
  letter-spacing: var(--cx-letter-spacing-heading);
  line-height: 1.3;
}
.cx-modal__body {
  padding: 0 var(--cx-space-6) var(--cx-space-4);
  overflow: auto;
  color: var(--cx-color-fg);
}
.cx-modal__body p {
  margin: 0 0 var(--cx-space-3);
}
.cx-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--cx-space-2);
  padding: var(--cx-space-4) var(--cx-space-6) var(--cx-space-5);
  border-top: var(--cx-border-width-hairline) solid var(--cx-color-border);
}
.cx-modal--static {
  position: static;
  padding: 0;
  display: block;
}
.cx-modal--static .cx-modal__dialog {
  animation: none;
}

.cx-tooltip {
  position: relative;
  display: inline-block;
}
.cx-tooltip__bubble {
  position: absolute;
  inset-block-end: calc(100% + var(--cx-space-2));
  inset-inline-start: 50%;
  transform: translateX(-50%) translateY(2px);
  z-index: var(--cx-z-overlay);
  max-width: 240px;
  width: max-content;
  padding: var(--cx-space-1) var(--cx-space-2);
  border-radius: var(--cx-radius-sm);
  background: var(--cx-color-bg-inverse);
  color: var(--cx-color-fg-inverse);
  font-size: var(--cx-font-size-xs);
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--cx-motion-duration-fast) var(--cx-motion-ease-standard),
    transform var(--cx-motion-duration-fast) var(--cx-motion-ease-standard);
}
[dir="rtl"] .cx-tooltip__bubble {
  transform: translateX(50%) translateY(2px);
}
.cx-tooltip__bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: inherit;
  transform: rotate(45deg);
}
.cx-tooltip:hover .cx-tooltip__bubble,
.cx-tooltip:focus-within .cx-tooltip__bubble,
.cx-tooltip.is-open .cx-tooltip__bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
[dir="rtl"] .cx-tooltip:hover .cx-tooltip__bubble,
[dir="rtl"] .cx-tooltip:focus-within .cx-tooltip__bubble,
[dir="rtl"] .cx-tooltip.is-open .cx-tooltip__bubble {
  transform: translateX(50%) translateY(0);
}
.cx-tooltip__bubble--bottom {
  inset-block-end: auto;
  inset-block-start: calc(100% + var(--cx-space-2));
}
.cx-tooltip__bubble--bottom::after {
  top: auto;
  bottom: 100%;
  margin: 0 0 -4px -4px;
}

/* ---------- 7. 进度、骨架屏、空状态 ---------- */
.cx-progress {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: var(--cx-radius-full);
  background: var(--cx-color-leaf-100);
  overflow: hidden;
}
:root[data-theme="dark"] .cx-progress {
  background: var(--cx-color-leaf-900);
}
.cx-progress__bar {
  display: block;
  height: 100%;
  width: var(--cx-progress, 0%);
  border-radius: inherit;
  background: var(--cx-color-accent);
  transition: width var(--cx-motion-duration-slow) var(--cx-motion-ease-standard);
}
.cx-progress--sm {
  height: 4px;
}
.cx-progress--warning .cx-progress__bar {
  background: var(--cx-color-warning);
}
.cx-progress--warning {
  background: var(--cx-color-harvest-100);
}
.cx-progress--danger .cx-progress__bar {
  background: var(--cx-color-danger);
}
.cx-progress--danger {
  background: var(--cx-color-crimson-100);
}
:root[data-theme="dark"] .cx-progress--warning {
  background: var(--cx-color-harvest-900);
}
:root[data-theme="dark"] .cx-progress--danger {
  background: var(--cx-color-crimson-900);
}
.cx-progress--indeterminate .cx-progress__bar {
  width: 40%;
  animation: cx-indeterminate 1.4s var(--cx-motion-ease-standard) infinite;
}
@keyframes cx-indeterminate {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(250%);
  }
}
.cx-progress-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--cx-space-2) var(--cx-space-3);
  font-size: var(--cx-font-size-sm);
}
.cx-progress-row .cx-progress {
  grid-column: 1 / -1;
}
.cx-progress-row__value {
  font-variant-numeric: tabular-nums;
  color: var(--cx-color-fg-muted);
}

.cx-skeleton {
  display: block;
  border-radius: var(--cx-radius-sm);
  background: linear-gradient(
    90deg,
    var(--cx-color-bg-sunken) 0%,
    var(--cx-color-border) 50%,
    var(--cx-color-bg-sunken) 100%
  );
  background-size: 200% 100%;
  animation: cx-shimmer 1.6s linear infinite;
  min-height: 1em;
}
.cx-skeleton--text {
  height: 0.9em;
  margin: 0.35em 0;
}
.cx-skeleton--title {
  height: 1.4em;
  width: 40%;
}
.cx-skeleton--circle {
  width: 40px;
  height: 40px;
  border-radius: var(--cx-radius-full);
}
.cx-skeleton--rect {
  height: 120px;
  border-radius: var(--cx-radius-md);
}

.cx-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cx-space-2);
  padding: var(--cx-space-10) var(--cx-space-6);
  text-align: center;
  color: var(--cx-color-fg-muted);
  border: var(--cx-border-width-hairline) dashed var(--cx-color-border-strong);
  border-radius: var(--cx-radius-lg);
}
.cx-empty .cx-icon {
  width: 40px;
  height: 40px;
  color: var(--cx-color-fg-subtle);
  stroke-width: 1.25;
}
.cx-empty__title {
  margin: var(--cx-space-2) 0 0;
  color: var(--cx-color-fg);
  font-size: var(--cx-font-size-lg);
  font-weight: var(--cx-font-weight-semibold);
}
.cx-empty p {
  margin: 0;
  max-width: 36em;
  font-size: var(--cx-font-size-sm);
}
.cx-empty .cx-btn {
  margin-top: var(--cx-space-3);
}

/* ---------- 8. 业务组件：机器人任务卡 ---------- */
.cx-task {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "icon head status"
    "icon progress progress"
    "icon meta meta";
  gap: var(--cx-space-1) var(--cx-space-3);
  align-items: center;
  padding: var(--cx-space-4);
  background: var(--cx-color-bg-raised);
  border: var(--cx-border-width-hairline) solid var(--cx-color-border);
  border-inline-start: var(--cx-border-width-thick) solid
    var(--cx-task-accent, var(--cx-color-border));
  border-radius: var(--cx-radius-md);
  box-shadow: var(--cx-shadow-sm);
}
.cx-task--running {
  --cx-task-accent: var(--cx-color-accent);
}
.cx-task--warning {
  --cx-task-accent: var(--cx-color-warning);
}
.cx-task--error {
  --cx-task-accent: var(--cx-color-danger);
}
.cx-task--idle {
  --cx-task-accent: var(--cx-color-border-strong);
}
.cx-task__icon {
  grid-area: icon;
  align-self: start;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--cx-radius-icon);
  background: var(--cx-color-navy-50);
  color: var(--cx-color-brand);
}
:root[data-theme="dark"] .cx-task__icon {
  background: var(--cx-color-navy-800);
}
.cx-task__icon .cx-icon {
  width: 24px;
  height: 24px;
}
.cx-task__head {
  grid-area: head;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: var(--cx-space-2);
  flex-wrap: wrap;
}
.cx-task__name {
  font-weight: var(--cx-font-weight-semibold);
  color: var(--cx-color-fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cx-task__category {
  font-size: var(--cx-font-size-xs);
  color: var(--cx-color-fg-muted);
  text-transform: uppercase;
  letter-spacing: var(--cx-letter-spacing-caps);
}
.cx-task__status {
  grid-area: status;
  justify-self: end;
}
.cx-task__progress {
  grid-area: progress;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--cx-space-3);
  font-size: var(--cx-font-size-xs);
  color: var(--cx-color-fg-muted);
}
.cx-task__meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  gap: var(--cx-space-1) var(--cx-space-4);
  font-size: var(--cx-font-size-xs);
  color: var(--cx-color-fg-muted);
}
.cx-task__meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--cx-space-1);
}
.cx-task__meta .cx-icon {
  width: 14px;
  height: 14px;
  color: var(--cx-color-fg-subtle);
}
.cx-task__meta .mono {
  font-family: var(--cx-font-family-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 9. reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .cx-ui *,
  .cx-ui *::before,
  .cx-ui *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
  }
  .cx-btn.is-loading::after,
  .cx-progress--indeterminate .cx-progress__bar {
    animation: none;
  }
  .cx-progress--indeterminate .cx-progress__bar {
    width: 100%;
    opacity: 0.5;
  }
  .cx-skeleton {
    animation: none;
    background: var(--cx-color-bg-sunken);
  }
  .cx-status--running::before {
    animation: none;
  }
}
