:root {
  --yx-color-page-bg: #f5f6f7;
  --yx-color-surface: #ffffff;
  --yx-color-surface-soft: #fafafa;
  --yx-color-surface-muted: #fff7f1;
  --yx-color-border: #eeeeee;
  --yx-color-border-strong: #e2e2e6;
  --yx-color-divider: #f2f2f4;

  --yx-color-text-strong: #444050;
  --yx-color-text: #6d6b77;
  --yx-color-text-muted: #a4aabd;
  --yx-color-text-inverse: #ffffff;

  --yx-color-brand: #ff6600;
  --yx-color-brand-hover: #ff7a1a;
  --yx-color-brand-active: #f05c00;
  --yx-color-brand-soft: #fff3eb;
  --yx-color-brand-soft-strong: #ffe4d2;
  --yx-color-focus-ring: rgba(255, 106, 0, 0.14);
  --yx-color-link: #4c98ff;
  --yx-color-link-hover: #4d7dff;

  --yx-color-success: #28c76f;
  --yx-color-warning: #ff9f43;
  --yx-color-danger: #ff4d4f;
  --yx-color-info: #00bad1;

  --yx-font-family: "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  --yx-font-size-caption: 12px;
  --yx-font-size-body: 14px;
  --yx-font-size-title: 16px;
  --yx-font-size-h2: 22px;
  --yx-font-size-h1: 32px;

  --yx-line-height-caption: 18px;
  --yx-line-height-body: 22px;
  --yx-line-height-title: 24px;
  --yx-line-height-h2: 30px;
  --yx-line-height-h1: 40px;

  --yx-font-weight-regular: 400;
  --yx-font-weight-medium: 500;
  --yx-font-weight-semibold: 600;
  --yx-font-weight-bold: 700;

  --yx-space-1: 4px;
  --yx-space-2: 8px;
  --yx-space-3: 12px;
  --yx-space-4: 16px;
  --yx-space-5: 20px;
  --yx-space-6: 24px;
  --yx-space-7: 28px;
  --yx-space-8: 32px;
  --yx-space-9: 36px;
  --yx-space-10: 40px;

  /* 圆角层级：一级 20 / 二级 10 / 三级 5 / 四级及以下 0 */
  --yx-radius-card: 20px;
  --yx-radius-control: 10px;
  --yx-radius-inner: 5px;
  --yx-radius-pill: 999px;

  --yx-height-control: 44px;
  --yx-height-compact: 40px;
  --yx-height-toolbar: 64px;
  --yx-space-page: 16px;
  --yx-space-section: 24px;
  --yx-space-card: 20px;
  --yx-space-stack: 16px;
  --yx-space-control-gap: 12px;
  --yx-space-tight: 8px;

  --yx-shadow-card: 0 2px 10px rgba(0, 0, 0, 0.03);
  --yx-shadow-float: 0 10px 24px rgba(17, 24, 39, 0.08);
  --yx-scrollbar-size: 10px;
  --yx-scrollbar-track: rgba(68, 64, 80, 0.04);
  --yx-scrollbar-thumb: rgba(68, 64, 80, 0.18);
  --yx-scrollbar-thumb-hover: rgba(68, 64, 80, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

[hidden] {
  display: none !important;
}

body {
  background: #f5f6f7;
  color: var(--yx-color-text);
  font-family: var(--yx-font-family);
  font-size: var(--yx-font-size-body);
  line-height: var(--yx-line-height-body);
}

body.yx-preview-body--app {
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.yx-icon-sprite {
  display: none !important;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.yx-scrollbar,
.yx-modal__body,
.yx-modal-code,
.yx-code,
.yx-log-list,
.yx-table-wrap {
  scrollbar-width: thin;
  scrollbar-color: var(--yx-scrollbar-thumb) var(--yx-scrollbar-track);
  scrollbar-gutter: stable;
}

.yx-scrollbar::-webkit-scrollbar,
.yx-modal__body::-webkit-scrollbar,
.yx-modal-code::-webkit-scrollbar,
.yx-code::-webkit-scrollbar,
.yx-log-list::-webkit-scrollbar,
.yx-table-wrap::-webkit-scrollbar {
  width: var(--yx-scrollbar-size);
  height: var(--yx-scrollbar-size);
}

.yx-scrollbar::-webkit-scrollbar-track,
.yx-modal__body::-webkit-scrollbar-track,
.yx-modal-code::-webkit-scrollbar-track,
.yx-code::-webkit-scrollbar-track,
.yx-log-list::-webkit-scrollbar-track,
.yx-table-wrap::-webkit-scrollbar-track,
.yx-scrollbar::-webkit-scrollbar-corner,
.yx-modal__body::-webkit-scrollbar-corner,
.yx-modal-code::-webkit-scrollbar-corner,
.yx-code::-webkit-scrollbar-corner,
.yx-log-list::-webkit-scrollbar-corner,
.yx-table-wrap::-webkit-scrollbar-corner {
  background: var(--yx-scrollbar-track);
}

.yx-scrollbar::-webkit-scrollbar-thumb,
.yx-modal__body::-webkit-scrollbar-thumb,
.yx-modal-code::-webkit-scrollbar-thumb,
.yx-code::-webkit-scrollbar-thumb,
.yx-log-list::-webkit-scrollbar-thumb,
.yx-table-wrap::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--yx-scrollbar-thumb);
  background-clip: padding-box;
}

.yx-scrollbar::-webkit-scrollbar-thumb:hover,
.yx-modal__body::-webkit-scrollbar-thumb:hover,
.yx-modal-code::-webkit-scrollbar-thumb:hover,
.yx-code::-webkit-scrollbar-thumb:hover,
.yx-log-list::-webkit-scrollbar-thumb:hover,
.yx-table-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--yx-scrollbar-thumb-hover);
  background-clip: padding-box;
}

.yx-preview-page {
  width: min(1480px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
  display: grid;
  gap: var(--yx-space-9);
}

.yx-preview-page > * {
  min-width: 0;
}

.yx-preview-body--app .yx-preview-page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 20px;
  overflow: hidden;
}

.yx-panel {
  min-width: 0;
  background: var(--yx-color-surface);
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  box-shadow: var(--yx-shadow-card);
}

.yx-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 420px);
  gap: var(--yx-space-8);
  padding: 32px;
}

.yx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 14px;
  border-radius: var(--yx-radius-pill);
  background: var(--yx-color-brand-soft);
  color: var(--yx-color-brand);
  font-size: var(--yx-font-size-caption);
  font-weight: var(--yx-font-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.yx-page-hero h1 {
  margin: 18px 0 10px;
  font-size: var(--yx-font-size-h1);
  line-height: var(--yx-line-height-h1);
  color: var(--yx-color-text-strong);
}

.yx-page-hero p {
  margin: 0;
  color: var(--yx-color-text);
  max-width: 680px;
}

body.yx-login-page,
.yx-login-page {
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #444050;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  box-sizing: border-box;
}

body.yx-login-page .bg-container,
body.yx-login-page .grid-overlay,
.yx-login-page .bg-container,
.yx-login-page .grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body.yx-login-page .bg-container,
.yx-login-page .bg-container {
  z-index: 0;
  overflow: hidden;
}

body.yx-login-page .blob,
.yx-login-page .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(112px);
  opacity: 1;
  will-change: transform, left, top;
}

body.yx-login-page .blob-1,
.yx-login-page .blob-1 {
  width: 420px;
  height: 420px;
  background: rgba(255, 102, 0, 0.32);
  top: -60px;
  left: -80px;
}

body.yx-login-page .blob-2,
.yx-login-page .blob-2 {
  width: 460px;
  height: 460px;
  background: rgba(123, 217, 162, 0.30);
  right: -120px;
  bottom: -120px;
}

body.yx-login-page .blob-3,
.yx-login-page .blob-3 {
  width: 320px;
  height: 320px;
  background: rgba(22, 119, 255, 0.32);
  top: 14%;
  right: 10%;
}

body.yx-login-page .blob-4,
.yx-login-page .blob-4 {
  width: 300px;
  height: 300px;
  background: rgba(136, 114, 209, 0.24);
  left: 18%;
  bottom: 16%;
}

body.yx-login-page .blob-5,
.yx-login-page .blob-5 {
  width: 260px;
  height: 260px;
  background: rgba(19, 194, 194, 0.20);
  top: 18%;
  left: 40%;
}

body.yx-login-page .grid-overlay,
.yx-login-page .grid-overlay {
  z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.98) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.98) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.8;
}

body.yx-login-page .login-card,
.yx-login-page .login-card {
  position: relative;
  z-index: 1;
  width: min(380px, calc(100vw - 48px));
  padding: 24px 24px 22px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid #eeeeee;
  border-radius: var(--yx-radius-card);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.09);
}

body.yx-login-page .logo-section,
.yx-login-page .logo-section {
  position: relative;
  top: 10px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  row-gap: 8px;
  margin-bottom: 50px;
}

body.yx-login-page .logo-icon,
.yx-login-page .logo-icon,
body.yx-login-page .yx-login-piece-logo__icon,
.yx-login-page .yx-login-piece-logo__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--yx-radius-control);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff8a2b 0%, #ff6600 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(255, 102, 0, 0.2);
  animation: yx-login-logo-float 2.6s ease-in-out infinite;
  will-change: transform;
}

body.yx-login-page .logo-icon svg,
.yx-login-page .logo-icon svg,
body.yx-login-page .yx-login-piece-logo__icon svg,
.yx-login-page .yx-login-piece-logo__icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

body.yx-login-page .logo-text-wrapper h3,
body.yx-login-page .yx-login-piece-name-fit,
.yx-login-page .logo-text-wrapper h3,
.yx-login-page .yx-login-piece-name-fit {
  margin: 0;
  font-size: 22px;
  line-height: 1.14;
  color: #ff6600;
  font-weight: 800;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
  display: block;
  max-width: 100%;
}

body.yx-login-page .logo-text-wrapper p,
.yx-login-page .logo-text-wrapper p,
body.yx-login-page .yx-login-piece-name-sub,
.yx-login-page .yx-login-piece-name-sub {
  margin: 4px 0 0;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .16em;
  color: #8d92a3;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: anywhere;
  display: block;
  max-width: 100%;
}

body.yx-login-page .logo-text-wrapper,
.yx-login-page .logo-text-wrapper,
body.yx-login-page .yx-login-piece-name-wrap,
.yx-login-page .yx-login-piece-name-wrap {
  min-width: 0;
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.yx-login-page .yx-auth-field,
.yx-login-page .yx-auth-field {
  margin-bottom: 18px;
}

body.yx-login-page .yx-auth-field label,
.yx-login-page .yx-auth-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #444050;
}

body.yx-login-page .form-input,
.yx-login-page .form-input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #eeeeee;
  border-radius: var(--yx-radius-control);
  background: #fff;
  color: #444050;
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

body.yx-login-page .form-input:focus,
.yx-login-page .form-input:focus {
  border-color: #ff6600;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
}

body.yx-login-page .btn-login,
.yx-login-page .btn-login {
  width: 100%;
  height: 46px;
  margin-top: 8px;
  border: none;
  border-radius: var(--yx-radius-control);
  background: linear-gradient(135deg, #ff8a2b 0%, #ff6600 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 102, 0, 0.24);
}

body.yx-login-page .btn-login:disabled,
.yx-login-page .btn-login:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

body.yx-login-page .error-box,
.yx-login-page .error-box {
  display: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid #ffd8bf;
  border-radius: var(--yx-radius-control);
  background: #fff7e6;
  color: #d46b08;
  font-size: 12px;
  line-height: 1.6;
}

body.yx-login-page .error-mark,
.yx-login-page .error-mark {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 102, 0, 0.12);
  font-weight: 700;
}

.yx-login-page--preview {
  width: 100%;
  min-height: 720px;
  position: relative;
  border-radius: calc(var(--yx-radius-card) - 6px);
}

.yx-login-page--preview .bg-container,
.yx-login-page--preview .grid-overlay {
  position: absolute;
}

.yx-login-page--preview .login-card {
  width: min(380px, calc(100% - 48px));
}

@media (max-width: 640px) {
  body.yx-login-page,
  .yx-login-page {
    padding: 16px;
  }

  body.yx-login-page .login-card,
  .yx-login-page .login-card {
    width: calc(100vw - 32px);
    padding: 24px 18px 18px;
  }

  .yx-login-page--preview .login-card {
    width: min(100%, 360px);
  }
}

.yx-token-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--yx-space-6);
}

.yx-token-chip {
  --yx-token-chip-accent: var(--yx-color-text-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-pill);
  background: var(--yx-color-surface-soft);
  color: var(--yx-color-text-strong);
  font-size: 13px;
  font-weight: var(--yx-font-weight-semibold);
}

.yx-token-chip__swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yx-token-chip-accent);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9);
}

.yx-token-chip--brand {
  --yx-token-chip-accent: var(--yx-color-brand);
}

.yx-token-chip--strong {
  --yx-token-chip-accent: var(--yx-color-text-strong);
}

.yx-token-chip--text {
  --yx-token-chip-accent: var(--yx-color-text);
}

.yx-token-chip--border {
  --yx-token-chip-accent: var(--yx-color-border-strong);
}

.yx-hero-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--yx-radius-card);
  background: var(--yx-color-surface);
  border: 1px solid var(--yx-color-border);
}

.yx-hero-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--yx-color-text-strong);
  font-size: 18px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-hero-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.yx-hero-card__list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--yx-color-surface);
  border: 1px solid var(--yx-color-border);
}

.yx-entry-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--yx-radius-card);
  background: var(--yx-color-surface);
  border: 1px solid var(--yx-color-border);
}

.yx-entry-card__title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 18px;
  line-height: 26px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-entry-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.yx-entry-card__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--yx-color-border);
  border-radius: 12px;
  background: var(--yx-color-surface-soft);
}

.yx-entry-card__name {
  color: var(--yx-color-text-strong);
  font-size: 14px;
  font-weight: var(--yx-font-weight-semibold);
}

.yx-entry-card__link {
  color: var(--yx-color-brand);
  font-size: 13px;
  font-weight: var(--yx-font-weight-semibold);
  text-decoration: none;
}

.yx-entry-card__link:hover {
  text-decoration: underline;
}

.yx-entry-card__hint {
  margin: 0;
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-hero-card__list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--yx-color-text-strong);
}

.yx-grid {
  display: grid;
  gap: var(--yx-space-8);
  margin-bottom: 0;
}

.yx-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yx-grid-span-full {
  grid-column: 1 / -1;
}

.yx-section {
  padding: 30px;
}

.yx-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.yx-section-head h2 {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: var(--yx-font-size-h2);
  line-height: var(--yx-line-height-h2);
}

.yx-section-head p {
  margin: 8px 0 0;
  color: var(--yx-color-text);
}

.yx-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.yx-rule-card {
  min-height: 132px;
  padding: 18px;
  border-radius: 16px;
  background: var(--yx-color-surface-soft);
  border: 1px solid var(--yx-color-border);
}

.yx-rule-card h3 {
  margin: 0 0 8px;
  color: var(--yx-color-text-strong);
  font-size: 15px;
  line-height: 22px;
}

.yx-rule-card p {
  margin: 0;
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 21px;
}

.yx-comp-doc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.yx-comp-doc-item {
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  border: 1px solid var(--yx-color-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--yx-color-surface);
}

.yx-comp-doc-item__left {
  padding: 12px;
  border-right: 1px solid var(--yx-color-border);
  background: #fcfdff;
  display: grid;
  align-content: start;
  gap: 10px;
}

.yx-comp-doc-item__right {
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.yx-comp-doc-item__label {
  margin: 0;
  color: #4f5870;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
}

.yx-comp-doc-item__title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
}

.yx-comp-doc-item__desc {
  margin: 0;
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 21px;
}

.yx-comp-doc-item__meta {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 4px;
  color: #6f788f;
  font-size: 12px;
  line-height: 18px;
}

.yx-comp-doc-item__meta li {
  min-width: 0;
}

.yx-comp-doc-item__meta code {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.yx-comp-doc-preview {
  border: 1px dashed #dfe5f0;
  border-radius: var(--yx-radius-control);
  background: #ffffff;
  padding: 10px;
  overflow: hidden;
}

.yx-comp-doc-preview .yx-summary-hero {
  padding: 14px;
  border-radius: var(--yx-radius-control);
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
}

.yx-comp-doc-preview .yx-summary-hero__chip-row,
.yx-comp-doc-preview .yx-summary-hero__task-row {
  gap: 8px;
}

.yx-comp-doc-preview .yx-summary-hero__chip,
.yx-comp-doc-preview .yx-summary-hero__task {
  min-height: 34px;
}

.yx-comp-doc-preview .yx-summary-hero__title {
  font-size: 28px;
  line-height: 36px;
}

.yx-comp-doc-preview .yx-summary-hero__visual {
  min-height: 0;
}

.yx-comp-doc-preview .yx-summary-hero__visual-core {
  width: 142px;
  height: 142px;
}

.yx-comp-doc-preview .yx-summary-hero__visual-icon {
  width: 92px;
  height: 92px;
}

.yx-comp-doc-preview .yx-chart-card {
  border-radius: 12px;
}

.yx-comp-doc-preview .yx-chart-card__canvas {
  min-height: 160px;
}

.yx-comp-doc-preview .yx-rank-list {
  max-height: none;
}

.yx-comp-doc-preview .yx-data-card,
.yx-comp-doc-preview .yx-asset-card {
  min-height: 0;
}

.yx-login-piece-bg {
  position: relative;
  height: 170px;
  border: 1px solid #eceff5;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.yx-login-piece-bg__blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 1;
  will-change: transform, left, top;
}

.yx-login-piece-bg__blob--cyan {
  width: 120px;
  height: 120px;
  left: -16px;
  top: -10px;
  background: rgba(19, 194, 194, 0.68);
}

.yx-login-piece-bg__blob--peach {
  width: 132px;
  height: 132px;
  right: -18px;
  top: 26px;
  background: rgba(255, 102, 0, 0.72);
}

.yx-login-piece-bg__blob--mint {
  width: 138px;
  height: 138px;
  left: 62px;
  bottom: -38px;
  background: rgba(123, 217, 162, 0.64);
}

.yx-login-piece-bg__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.98) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.98) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.8;
}

.yx-login-piece-panel {
  min-height: 170px;
  display: grid;
  place-items: center;
}

.yx-login-piece-panel__card {
  width: 232px;
  min-height: 128px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(18px);
  padding: 14px 14px 12px;
  display: grid;
  gap: 10px;
}

.yx-login-piece-panel__head {
  height: 12px;
  width: 94px;
  border-radius: 999px;
  background: rgba(255, 102, 0, 0.2);
}

.yx-login-piece-panel__field {
  height: 34px;
  border-radius: 10px;
  border: 1px solid #eceef3;
  background: #ffffff;
}

.yx-login-piece-logo {
  min-height: 170px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.yx-login-piece-logo__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff8800, #ff5500);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  animation: yx-login-logo-float 2.6s ease-in-out infinite;
  will-change: transform;
  box-shadow: 0 8px 18px rgba(255, 102, 0, 0.2);
}

.yx-login-piece-logo__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.yx-login-piece-logo__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.yx-login-piece-logo__name {
  margin: 0;
  color: #ff6600;
  font-size: 22px;
  line-height: 1.14;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
}

.yx-login-piece-logo__sub {
  color: #8d92a3;
  font-size: 10px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .16em;
  white-space: normal;
  overflow-wrap: anywhere;
}

.yx-login-piece-logo--icon-only {
  width: 100%;
  justify-content: center;
  gap: 0;
}

.yx-login-piece-logo--icon-only .yx-login-piece-logo__copy {
  display: none;
}

.yx-login-piece-logo--icon-only .yx-login-piece-logo__icon {
  animation-duration: 5.8s;
}

.yx-login-piece-name-demo {
  min-height: 170px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.yx-login-piece-name-wrap {
  width: min(260px, 100%);
  min-width: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: grid;
  gap: 4px;
}

.yx-login-piece-name-wrap--narrow {
  width: 180px;
}

.yx-login-piece-name-fit {
  margin: 0;
  color: #ff6600;
  font-size: 22px;
  line-height: 1.14;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
  display: block;
}

.yx-login-piece-name-sub {
  color: #8d92a3;
  font-size: 10px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .16em;
  white-space: normal;
  overflow-wrap: anywhere;
  display: block;
}

@keyframes yx-login-piece-float {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(6px, -4px, 0);
  }
}

@keyframes yx-login-logo-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -4px, 0);
  }
}

.yx-spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.yx-spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--yx-color-border);
}

.yx-spec-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.yx-spec-list strong {
  color: var(--yx-color-text-strong);
  font-weight: var(--yx-font-weight-semibold);
}

.yx-spec-code {
  margin: 0;
  padding: 14px 16px;
  overflow: auto;
  border: 1px solid #1f2329;
  border-radius: var(--yx-radius-control);
  background: #282c34;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  tab-size: 4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-family: "Consolas", "SFMono-Regular", Menlo, Monaco, monospace;
}

.yx-form-stack {
  display: grid;
  gap: 24px;
}

.yx-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.yx-form-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yx-form-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yx-form-grid--text {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.yx-form-grid__ghost {
  min-width: 0;
}


.yx-field {
  min-width: 0;
  display: grid;
  gap: 0;
}

.yx-field--span-two {
  grid-column: span 2;
}

.yx-label {
  display: block;
  margin: 0 0 5px;
  padding-left: 10px;
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 20px;
  font-weight: var(--yx-font-weight-semibold);
}

.yx-help {
  display: block;
  margin-top: 5px;
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-search,
.yx-select select,
select.yx-select,
.yx-input,
.yx-textarea {
  width: 100%;
  border: 1px solid var(--yx-color-border);
  background: var(--yx-color-surface);
  color: var(--yx-color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.yx-input,
.yx-select select,
select.yx-select {
  height: var(--yx-height-control);
}

.yx-input,
.yx-select select,
select.yx-select,
.yx-textarea {
  border-radius: var(--yx-radius-control);
  padding: 0 14px;
  outline: none;
}

.yx-input::placeholder,
.yx-textarea::placeholder {
  color: var(--yx-color-text-muted);
}

.yx-input-affix {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}

.yx-input-affix__control {
  padding-right: 52px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yx-input-affix__control[role="link"] {
  cursor: pointer;
  color: var(--yx-color-text);
}

.yx-input-affix__control[role="link"]:hover,
.yx-input-affix__control[role="link"]:focus,
.yx-input-affix__control[role="link"]:active {
  border-color: var(--yx-color-border);
  background: var(--yx-color-surface);
  box-shadow: none;
  color: var(--yx-color-brand);
}

.yx-input-affix__copy {
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 1;
  margin-top: 0;
  transform: translateY(-50%);
}

/* 时间/日期输入：仅做可控的小改，不改浏览器原生弹层结构 */
.yx-input[type="time"],
.yx-input[type="date"] {
  --yx-picker-slot-size: calc(var(--yx-height-control) - 2px);
  --yx-picker-icon-size: 18px;
  --yx-picker-slot-bg: #f7f9fc;
  --yx-picker-slot-divider: #e6eaf0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
  padding-right: calc(var(--yx-picker-slot-size) + 12px);
  accent-color: var(--yx-color-brand);
  background-position:
    right calc((var(--yx-picker-slot-size) - var(--yx-picker-icon-size)) / 2) center,
    right var(--yx-picker-slot-size) center,
    right 0 top 0;
  background-repeat: no-repeat;
  background-size:
    var(--yx-picker-icon-size) var(--yx-picker-icon-size),
    1px calc(100% - 12px),
    var(--yx-picker-slot-size) 100%;
}

.yx-input[type="time"] {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='7' stroke='%235e5b67' stroke-width='1.8'/%3E%3Cpath d='M10 6.4v4.2l2.9 1.8' stroke='%235e5b67' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(var(--yx-picker-slot-divider), var(--yx-picker-slot-divider)),
    linear-gradient(var(--yx-picker-slot-bg), var(--yx-picker-slot-bg));
}

.yx-input[type="date"] {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Crect x='3.6' y='5.1' width='12.8' height='11.3' rx='1.6' stroke='%235e5b67' stroke-width='1.8'/%3E%3Cpath d='M6.5 3.8v2.8M13.5 3.8v2.8M3.8 8h12.4' stroke='%235e5b67' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"),
    linear-gradient(var(--yx-picker-slot-divider), var(--yx-picker-slot-divider)),
    linear-gradient(var(--yx-picker-slot-bg), var(--yx-picker-slot-bg));
}

.yx-input[type="time"]::-webkit-calendar-picker-indicator,
.yx-input[type="date"]::-webkit-calendar-picker-indicator {
  box-sizing: border-box;
  width: var(--yx-picker-slot-size);
  min-width: var(--yx-picker-slot-size);
  height: var(--yx-picker-slot-size);
  display: block;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.yx-input[type="time"]::-webkit-datetime-edit,
.yx-input[type="date"]::-webkit-datetime-edit {
  color: var(--yx-color-text);
}

.yx-input[type="time"]::-webkit-date-and-time-value,
.yx-input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

/* 标准展示页固定控件宽度（标准宽） */
.yx-standard-showcase {
  --yx-control-standard-width: 320px;
  --yx-control-standard-width-lg: 460px;
}

.yx-standard-showcase .yx-field > .yx-input,
.yx-standard-showcase .yx-field > .yx-input-affix,
.yx-standard-showcase .yx-field > .yx-search,
.yx-standard-showcase .yx-field > .yx-number,
.yx-standard-showcase .yx-field > .yx-select,
.yx-standard-showcase .yx-field > .yx-multi-select,
.yx-standard-showcase .yx-field > .yx-select select,
.yx-standard-showcase .yx-field > select.yx-select,
.yx-standard-showcase .yx-field > .yx-switch-card,
.yx-standard-showcase .yx-field > .yx-ops-binary,
.yx-standard-showcase .yx-field > .yx-ops-service-item,
.yx-standard-showcase .yx-field > .yx-apikey-service-item,
.yx-standard-showcase .yx-field > .yx-slider-row {
  width: min(var(--yx-control-standard-width), 100%);
}

.yx-standard-showcase .yx-field > .yx-slider-row.yx-slider-row--input {
  width: min(calc(var(--yx-control-standard-width) + 22px), 100%);
}

.yx-standard-showcase .yx-field > .yx-textarea {
  width: min(var(--yx-control-standard-width-lg), 100%);
}

/* 业务系统如果需要全宽或自定义宽度，显式配置即可 */
.yx-control--full {
  width: 100% !important;
  max-width: none !important;
}

.yx-control--auto {
  width: auto !important;
}

.yx-input:focus,
.yx-select select:focus,
select.yx-select:focus,
.yx-textarea:focus {
  border-color: var(--yx-color-brand);
  box-shadow: 0 0 0 3px var(--yx-color-focus-ring);
}

.yx-textarea {
  min-height: 138px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.7;
}

.yx-number {
  width: 100%;
  height: var(--yx-height-control);
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-control);
  background: var(--yx-color-surface);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.yx-number:focus-within {
  border-color: var(--yx-color-brand);
  box-shadow: 0 0 0 3px var(--yx-color-focus-ring);
}

.yx-number--compact {
  width: 140px;
}

.yx-number__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--yx-color-text-strong);
  padding: 0 14px;
  font-size: 14px;
  font-weight: var(--yx-font-weight-medium);
  appearance: textfield;
  -moz-appearance: textfield;
}

.yx-number__input::placeholder {
  color: var(--yx-color-text-muted);
}

.yx-number__input::-webkit-outer-spin-button,
.yx-number__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.yx-number__stepper {
  width: 38px;
  flex: 0 0 38px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  border-left: 1px solid var(--yx-color-border);
  background: #fbfbfc;
}

.yx-number__btn {
  border: 0;
  padding: 0;
  background: transparent;
  color: #9fa6b6;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.yx-number__btn + .yx-number__btn {
  border-top: 1px solid var(--yx-color-border);
}

.yx-number__btn:hover {
  background: var(--yx-color-brand-soft);
  color: var(--yx-color-brand);
}

.yx-number__btn:active {
  background: var(--yx-color-brand-soft-strong);
}

.yx-number__btn svg {
  width: 10px;
  height: 10px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yx-inline-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.yx-inline-item {
  min-width: 0;
}

.yx-inline-item--day {
  width: 160px;
  flex: 0 0 160px;
}

.yx-inline-item--time {
  width: 180px;
  flex: 0 0 180px;
}

.yx-inline-colon {
  color: var(--yx-color-text-strong);
  font-size: 26px;
  line-height: 1;
  font-weight: var(--yx-font-weight-semibold);
}

.yx-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--yx-height-control);
  padding: 0 16px;
  border-radius: var(--yx-radius-control);
  position: relative;
}

.yx-search:focus-within {
  border-color: var(--yx-color-brand);
  box-shadow: 0 0 0 3px var(--yx-color-focus-ring);
}

.yx-search__icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #9fa6b6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yx-search__icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.85;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yx-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  min-width: 0;
}

.yx-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.yx-search input::placeholder {
  color: var(--yx-color-text-muted);
}

.yx-search__tag {
  flex: 0 0 auto;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--yx-radius-pill);
  background: var(--yx-color-brand-soft);
  color: var(--yx-color-brand);
  font-size: 12px;
  font-weight: var(--yx-font-weight-bold);
  display: inline-flex;
  align-items: center;
}

.yx-select {
  position: relative;
}

.yx-select select,
select.yx-select {
  display: block;
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%239fa6b6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-size: 12px 12px;
  background-repeat: no-repeat;
}

.yx-select select:focus,
select.yx-select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%239fa6b6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* 下拉类型A：有提示词，必须手动选择（提示词颜色与输入框占位一致） */
.yx-select select.yx-select--placeholder,
select.yx-select.yx-select--placeholder {
  color: var(--yx-color-text-muted);
}

.yx-select select.yx-select--placeholder:required:valid,
select.yx-select.yx-select--placeholder:required:valid {
  color: var(--yx-color-text);
}

.yx-select select.yx-select--placeholder option,
select.yx-select.yx-select--placeholder option {
  color: var(--yx-color-text);
}

/* 下拉类型B：无提示词，默认就是有效选项 */
.yx-select select.yx-select--default,
select.yx-select.yx-select--default {
  color: var(--yx-color-text);
}

.yx-multi-select {
  position: relative;
  width: min(var(--yx-control-standard-width, 320px), 100%);
}

.yx-multi-select__trigger {
  width: 100%;
  min-height: var(--yx-height-control);
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-control);
  background: var(--yx-color-surface);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 42px 7px 12px;
  text-align: left;
  color: var(--yx-color-text);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  position: relative;
  user-select: none;
}

.yx-multi-select__trigger::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%239fa6b6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
}

.yx-multi-select.is-open .yx-multi-select__trigger,
.yx-multi-select__trigger:focus-visible {
  border-color: var(--yx-color-brand);
  box-shadow: 0 0 0 3px var(--yx-color-focus-ring);
  outline: none;
}

.yx-multi-select.is-open .yx-multi-select__trigger::after {
  transform: rotate(180deg);
}

.yx-multi-select__value {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
  flex-wrap: nowrap;
  overflow: hidden;
}

.yx-multi-select__placeholder {
  color: var(--yx-color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yx-multi-select__tags {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  flex-wrap: nowrap;
}

.yx-multi-select__tag {
  min-width: 0;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 102, 0, 0.18);
  border-radius: 999px;
  background: rgba(255, 102, 0, 0.08);
  color: var(--yx-color-brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  flex: 0 0 auto;
}

.yx-multi-select__tag-label {
  max-width: 86px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yx-multi-select__tag-remove {
  border: 0;
  padding: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 102, 0, 0.14);
  color: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
  flex: 0 0 auto;
}

.yx-multi-select__tag-remove:focus-visible,
.yx-multi-select__clear:focus-visible,
.yx-multi-select__option:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--yx-color-focus-ring);
}

.yx-multi-select__tag--more {
  border-color: #e6e8ef;
  background: #f5f6fa;
  color: var(--yx-color-text-muted);
}

.yx-multi-select__input {
  display: none;
}

.yx-multi-select__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  border: 1px solid #e7e8ef;
  border-radius: var(--yx-radius-control);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(31, 35, 41, 0.1);
  padding: 8px;
  display: none;
  z-index: 30;
  backdrop-filter: blur(8px);
}

.yx-multi-select.is-open .yx-multi-select__panel {
  display: block;
}

.yx-multi-select__list {
  display: grid;
  gap: 4px;
  max-height: 248px;
  overflow: auto;
}

.yx-multi-select__option {
  width: 100%;
  border: 0;
  border-radius: var(--yx-radius-inner);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  cursor: pointer;
  text-align: left;
  color: var(--yx-color-text);
  transition: background-color 0.18s ease, color 0.18s ease;
  font: inherit;
}

.yx-multi-select__option:hover {
  background: #f6f8fb;
}

.yx-multi-select__option.is-selected {
  background: rgba(255, 102, 0, 0.08);
  color: var(--yx-color-text-strong);
}

.yx-multi-select__option-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.yx-multi-select__option-label {
  color: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.yx-multi-select__option-sub {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-multi-select__option-sub:empty {
  display: none;
}

.yx-multi-select__check {
  width: 18px;
  height: 18px;
  border: 1px solid #d7dae3;
  border-radius: 6px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex: 0 0 auto;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  font-size: 12px;
  font-weight: 800;
}

.yx-multi-select__option.is-selected .yx-multi-select__check {
  border-color: var(--yx-color-brand);
  background: var(--yx-color-brand);
  color: #fff;
}

.yx-multi-select__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 6px 4px;
  margin-top: 6px;
  border-top: 1px solid #eff1f5;
}

.yx-multi-select__summary {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-multi-select__clear {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--yx-color-brand);
  cursor: pointer;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
}

.yx-multi-select__clear[hidden] {
  display: none;
}

.yx-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.yx-toolbar__search {
  width: min(320px, 100%);
  flex: 1 1 320px;
}

.yx-toolbar__filter {
  width: 180px;
  flex: 0 0 180px;
}

.yx-toolbar__search--standard {
  width: min(28%, 360px);
  min-width: 260px;
  max-width: 360px;
  flex: 1 1 280px;
}

.yx-search__clear {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: #f3f4f7;
  color: #9fa6b6;
  font-size: 0;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.yx-search__clear::before {
  content: "\00D7";
  display: block;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  transform: translateY(-0.5px);
}

.yx-search__clear[hidden] {
  display: none;
}

.yx-search__clear:hover {
  background: #ffe8d6;
  color: var(--yx-color-brand);
}

.yx-list-stage {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.yx-list-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.yx-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.yx-list-head .yx-list-toolbar {
  margin-left: auto;
  justify-content: flex-end;
}

.yx-preview-intro .yx-section-head {
  margin-bottom: 0;
}

.yx-preview-intro h2 {
  margin: 14px 0 0;
}

.yx-btn {
  height: var(--yx-height-control);
  padding: 0 20px;
  border-radius: var(--yx-radius-control);
  border: 1px solid var(--yx-color-border);
  background: var(--yx-color-surface);
  color: var(--yx-color-text-strong);
  font-size: 14px;
  font-weight: var(--yx-font-weight-bold);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.yx-btn:hover {
  border-color: var(--yx-color-brand-soft-strong);
  background: var(--yx-color-surface-muted);
}

.yx-btn--secondary {
  color: #888888;
}

.yx-btn--secondary:hover {
  color: #888888;
}

.yx-btn--primary {
  border-color: transparent;
  background: var(--yx-color-brand);
  color: var(--yx-color-text-inverse);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.22);
}

.yx-btn--primary:hover {
  background: var(--yx-color-brand-hover);
  box-shadow: 0 8px 18px rgba(255, 102, 0, 0.2);
}

.yx-btn--primary:active {
  background: var(--yx-color-brand-active);
  transform: translateY(1px);
}

.yx-btn:disabled,
.yx-btn[aria-disabled="true"] {
  cursor: not-allowed;
  border-color: #e1e1e1;
  background: #f2f2f2;
  color: #b2b2b2;
  box-shadow: none;
  transform: none;
}

.yx-btn--primary:disabled,
.yx-btn--primary[aria-disabled="true"] {
  border-color: #e1e1e1;
  background: #f2f2f2;
  color: #b2b2b2;
  box-shadow: none;
}

.yx-btn:disabled:hover,
.yx-btn[aria-disabled="true"]:hover {
  border-color: #e1e1e1;
  background: #f2f2f2;
  color: #b2b2b2;
  box-shadow: none;
}

.yx-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 22px;
  border-radius: var(--yx-radius-pill);
  background: #f0f0f0;
}

.yx-tab {
  min-width: 88px;
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--yx-radius-pill);
  background: transparent;
  color: var(--yx-color-text);
  font-size: 14px;
  font-weight: var(--yx-font-weight-medium);
  cursor: pointer;
}

.yx-tab--active {
  background: var(--yx-color-brand);
  color: var(--yx-color-text-inverse);
  box-shadow: 0 2px 6px rgba(255, 138, 0, 0.28);
}

.yx-list-shell {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-control);
  background: var(--yx-color-surface);
  margin-top: 2px;
}

.yx-table-wrap {
  min-width: 0;
  overflow: auto;
  position: relative;
}

.yx-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
}

.yx-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 48px;
  padding: 0 16px;
  background: var(--yx-color-surface-soft);
  border-bottom: 1px solid var(--yx-color-divider);
  color: var(--yx-color-text);
  font-size: 13px;
  font-weight: var(--yx-font-weight-semibold);
  text-align: left;
  white-space: nowrap;
}

.yx-table thead th.yx-col-type,
.yx-table thead th.yx-col-status,
.yx-table thead th.yx-col-source,
.yx-table tbody td.yx-col-type,
.yx-table tbody td.yx-col-status,
.yx-table tbody td.yx-col-source {
  text-align: center;
}

.yx-table thead th.yx-table__action,
.yx-table tbody td.yx-table__action {
  position: relative;
  right: auto;
  z-index: 1;
  width: var(--yx-action-col-width, auto);
  min-width: 100px;
  text-align: center;
  border-left: 1px solid var(--yx-color-divider);
  background: var(--yx-color-surface);
  white-space: nowrap;
}

.yx-table thead th.yx-table__action {
  z-index: 2;
  background: var(--yx-color-surface-soft);
}

.yx-table-wrap.yx-table-wrap--overflow-x .yx-table thead th.yx-table__action,
.yx-table-wrap.yx-table-wrap--overflow-x .yx-table tbody td.yx-table__action {
  position: sticky;
  right: 0;
  z-index: 2;
  box-shadow: -8px 0 10px rgba(0, 0, 0, 0.03);
}

.yx-table-wrap.yx-table-wrap--overflow-x .yx-table thead th.yx-table__action {
  z-index: 3;
}

.yx-table-wrap.yx-table-wrap--overflow-x.is-no-x-scroll .yx-table thead th.yx-table__action,
.yx-table-wrap.yx-table-wrap--overflow-x.is-no-x-scroll .yx-table tbody td.yx-table__action {
  position: relative;
  right: auto;
  z-index: 1;
  box-shadow: none;
}

.yx-table-wrap.yx-table-wrap--overflow-x.is-no-x-scroll .yx-table thead th.yx-table__action {
  z-index: 2;
}

.yx-table tbody td {
  height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--yx-color-divider);
  color: var(--yx-color-text);
  white-space: nowrap;
}

.yx-table tbody tr:nth-child(even) td {
  background: #fcfcfc;
}

.yx-table tbody tr:nth-child(even) td.yx-table__action {
  background: #fcfcfc;
}

.yx-table tbody tr:last-child td {
  border-bottom: 0;
}

.yx-table tbody tr:hover td {
  background: #fff8f2;
}

.yx-table tbody tr:hover td.yx-table__action {
  background: #fff8f2;
}

.yx-table__empty {
  height: var(--yx-table-state-row-height, 80px);
  padding: 0 !important;
  color: #8f95a3;
  text-align: left;
}

.yx-table__empty > .yx-table__state {
  position: sticky;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: var(--yx-table-state-width, 100%);
  min-height: var(--yx-table-state-row-height, 80px);
  padding: 26px 18px;
  box-sizing: border-box;
  color: inherit;
  text-align: left;
  white-space: normal;
}

.yx-table__main {
  color: var(--yx-color-text);
  font-weight: var(--yx-font-weight-regular);
}

.yx-table__main-link {
  display: block;
  color: var(--yx-color-text);
  text-decoration: none;
}

.yx-table__main-link:hover {
  color: var(--yx-color-brand);
}

.yx-modal-code--plain .yx-table__main-link,
.yx-modal-section__body .yx-modal-code--plain .yx-table__main-link {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  color: var(--yx-color-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.yx-modal-code--plain .yx-table__main-link:hover,
.yx-modal-code--plain .yx-table__main-link:focus-visible,
.yx-modal-section__body .yx-modal-code--plain .yx-table__main-link:hover,
.yx-modal-section__body .yx-modal-code--plain .yx-table__main-link:focus-visible {
  color: var(--yx-color-link-hover);
  text-decoration: underline;
}

.yx-action-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.yx-action-divider {
  color: var(--yx-color-border);
  font-size: 12px;
  line-height: 1;
}

.yx-inline-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-width: 0;
}

.yx-inline-split--triple {
  grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr);
}

.yx-inline-split--quad {
  grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr);
}

.yx-inline-split--single {
  grid-template-columns: minmax(0, 1fr);
}

.yx-inline-split__value {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yx-inline-split__value--left {
  text-align: right;
}

.yx-inline-split__value--right {
  text-align: left;
}

.yx-inline-split__value--center {
  text-align: center;
}

.yx-inline-split--single .yx-inline-split__value {
  text-align: center;
}

.yx-inline-split__divider {
  color: var(--yx-color-border);
  font-size: 12px;
  line-height: 1;
  text-align: center;
}

.yx-table__sub {
  display: block;
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--yx-radius-inner);
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: var(--yx-font-weight-bold);
  line-height: 1;
  white-space: nowrap;
}

.yx-status--queued,
.yx-status--neutral,
.yx-chip--neutral {
  background: #f7f8fa;
  border-color: #e2e6ee;
  color: #70798c;
}

.yx-status--running,
.yx-status--info,
.yx-chip--info {
  background: #ecf4ff;
  border-color: #c7ddff;
  color: #2f6fce;
}

.yx-status--done,
.yx-status--success,
.yx-chip--success {
  background: rgba(40, 199, 111, 0.08);
  border-color: rgba(40, 199, 111, 0.26);
  color: #22b86f;
}

.yx-status--warning,
.yx-chip--warning {
  background: rgba(255, 102, 0, 0.08);
  border-color: rgba(255, 102, 0, 0.18);
  color: #f07a18;
}

.yx-status--danger,
.yx-chip--danger {
  background: rgba(255, 77, 79, 0.12);
  border-color: rgba(255, 77, 79, 0.16);
  color: var(--yx-color-danger);
}

.yx-status--brand,
.yx-chip--brand {
  background: rgba(255, 102, 0, 0.08);
  border-color: rgba(255, 102, 0, 0.18);
  color: var(--yx-color-brand);
}

.yx-status--purple,
.yx-chip--purple {
  background: rgba(130, 96, 255, 0.1);
  border-color: rgba(130, 96, 255, 0.2);
  color: #7251dc;
}

.yx-status--teal,
.yx-chip--teal {
  background: rgba(15, 173, 167, 0.1);
  border-color: rgba(15, 173, 167, 0.2);
  color: #0b8d88;
}

.yx-status--indigo,
.yx-chip--indigo {
  background: rgba(84, 114, 255, 0.1);
  border-color: rgba(84, 114, 255, 0.2);
  color: #4c69db;
}

.yx-status--pink,
.yx-chip--pink {
  background: rgba(232, 83, 132, 0.1);
  border-color: rgba(232, 83, 132, 0.2);
  color: #d24d7b;
}

.yx-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--yx-radius-inner);
  border: 1px solid transparent;
  font-size: 12px;
  line-height: 1;
  font-weight: var(--yx-font-weight-semibold);
  white-space: nowrap;
}

.yx-mark-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: var(--yx-radius-pill);
  background: linear-gradient(135deg, #ff8f1f 0%, #ff6a00 100%);
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
  font-weight: var(--yx-font-weight-bold);
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(255, 106, 0, 0.2);
}

.yx-mark-badge--outline {
  background: #ffffff;
  border-color: rgba(255, 106, 0, 0.34);
  color: #ff6a00;
  box-shadow: none;
}

.yx-mark-badge--soft {
  background: #fff2e8;
  border-color: rgba(255, 106, 0, 0.16);
  color: #ff6a00;
  box-shadow: none;
}

.yx-mark-badge--warm {
  background: #fff7ef;
  border-color: #ffd7b8;
  color: #ea6d00;
  box-shadow: none;
}

.yx-mark-badge--neutral {
  background: #f5f7fa;
  border-color: #e1e6ee;
  color: #6e7789;
  box-shadow: none;
}

.yx-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #1677ff;
  font-size: 13px;
  font-weight: var(--yx-font-weight-semibold);
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}

.yx-action-link:hover {
  color: #4096ff;
  text-decoration: underline;
}

.yx-page-note {
  margin-top: 16px;
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-dashboard-shell {
  display: grid;
  gap: 24px;
}

.yx-dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.yx-dashboard-title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 24px;
  line-height: 32px;
}

.yx-dashboard-sub {
  margin: 8px 0 0;
  max-width: 760px;
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 21px;
}

.yx-dashboard-time {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-pill);
  background: var(--yx-color-surface-soft);
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--yx-font-weight-semibold);
  white-space: nowrap;
}

.yx-stat-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.yx-stat-chip {
  --yx-stat-accent: transparent;
  --yx-stat-border: var(--yx-color-border);
  --yx-stat-bg: var(--yx-color-surface);
  --yx-stat-label: var(--yx-color-text-muted);
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 16px 18px;
  border: 1px solid var(--yx-stat-border);
  border-radius: var(--yx-radius-control);
  background: var(--yx-stat-bg);
  box-shadow: none;
}

.yx-stat-chip--brand {
  --yx-stat-accent: var(--yx-color-brand);
  --yx-stat-border: #4c98ff;
  --yx-stat-bg: #ebf4ff;
  --yx-stat-label: #4c98ff;
}

.yx-stat-chip--success {
  --yx-stat-accent: var(--yx-color-success);
  --yx-stat-border: #ff6f7f;
  --yx-stat-bg: #fff1f4;
  --yx-stat-label: #ff6f7f;
}

.yx-stat-chip--warning {
  --yx-stat-accent: var(--yx-color-warning);
  --yx-stat-border: #42c06e;
  --yx-stat-bg: #ebfaef;
  --yx-stat-label: #42c06e;
}

.yx-stat-chip--danger {
  --yx-stat-accent: var(--yx-color-danger);
  --yx-stat-border: #f2c94c;
  --yx-stat-bg: #fff9e8;
  --yx-stat-label: #f2c94c;
}

.yx-stat-chip--info {
  --yx-stat-accent: var(--yx-color-info);
  --yx-stat-border: #ffad42;
  --yx-stat-bg: #fff6e9;
  --yx-stat-label: #ffad42;
}

.yx-stat-chip--violet {
  --yx-stat-accent: #8b5cf6;
  --yx-stat-border: #8b5cf6;
  --yx-stat-bg: #f5f0ff;
  --yx-stat-label: #8b5cf6;
}

.yx-stat-chip--teal {
  --yx-stat-accent: #0b8d88;
  --yx-stat-border: #0b8d88;
  --yx-stat-bg: #eefcfb;
  --yx-stat-label: #0b8d88;
}

.yx-stat-chip--indigo {
  --yx-stat-accent: #4c69db;
  --yx-stat-border: #4c69db;
  --yx-stat-bg: #f0f3ff;
  --yx-stat-label: #4c69db;
}

.yx-stat-chip--pink {
  --yx-stat-accent: #d24d7b;
  --yx-stat-border: #d24d7b;
  --yx-stat-bg: #fff2f8;
  --yx-stat-label: #d24d7b;
}

.yx-stat-chip__label {
  color: var(--yx-stat-label);
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--yx-font-weight-semibold);
}

.yx-stat-chip__sub {
  color: var(--yx-stat-label);
  color: color-mix(in srgb, var(--yx-stat-label) 80%, transparent);
  font-size: 11px;
  line-height: 16px;
}

.yx-stat-chip__value {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 30px;
  line-height: 1;
  font-weight: var(--yx-font-weight-bold);
}

.yx-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.yx-service-card {
  --yx-service-accent: var(--yx-color-brand);
  --yx-service-accent-soft: var(--yx-color-brand-soft);
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  min-height: 348px;
  padding: 20px;
  border: 1px solid var(--yx-color-border);
  border-radius: 20px;
  background: var(--yx-color-surface);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.02);
}

.yx-service-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.yx-service-card__lead {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.yx-service-card__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: var(--yx-radius-control);
  background: var(--yx-service-accent-soft, var(--yx-color-brand-soft));
  color: var(--yx-service-accent, var(--yx-color-brand));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yx-service-card__icon svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yx-service-card__title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 16px;
  line-height: 24px;
}

.yx-service-card__sub {
  margin: 4px 0 0;
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-service-card__body {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.yx-ring-chart {
  position: relative;
  width: 136px;
  height: 136px;
}

.yx-ring-chart__disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    conic-gradient(
      var(--yx-color-warning) 0 calc(var(--yx-ring-pending, 0) * 1%),
      var(--yx-color-success) calc(var(--yx-ring-pending, 0) * 1%) calc((var(--yx-ring-pending, 0) + var(--yx-ring-success, 0)) * 1%),
      var(--yx-color-danger) calc((var(--yx-ring-pending, 0) + var(--yx-ring-success, 0)) * 1%) calc((var(--yx-ring-pending, 0) + var(--yx-ring-success, 0) + var(--yx-ring-danger, 0)) * 1%),
      #f1f2f4 calc((var(--yx-ring-pending, 0) + var(--yx-ring-success, 0) + var(--yx-ring-danger, 0)) * 1%) 100%
    );
  position: relative;
}

.yx-ring-chart__disc::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: var(--yx-color-surface);
  box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.9);
}

.yx-ring-chart--empty .yx-ring-chart__disc {
  background: #f1f2f4;
}

.yx-ring-chart__center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 4px;
  text-align: center;
  padding: 0 18px;
}

.yx-ring-chart__total {
  color: var(--yx-color-text-strong);
  font-size: 28px;
  line-height: 1;
  font-weight: var(--yx-font-weight-bold);
}

.yx-ring-chart__label {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-ring-legend {
  display: grid;
  gap: 8px;
}

.yx-ring-widget {
  display: grid;
  gap: 12px;
  width: 100%;
  align-items: center;
  justify-items: center;
}

.yx-ring-widget--legend-bottom {
  grid-template-columns: 1fr;
}

.yx-ring-widget--legend-right {
  grid-template-columns: 136px minmax(0, 1fr);
  justify-items: stretch;
  column-gap: 16px;
}

.yx-ring-widget--legend-right .yx-ring-chart {
  justify-self: center;
}

.yx-ring-widget .yx-ring-legend {
  width: 100%;
}

.yx-ring-legend--row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 8px;
}

.yx-ring-legend--column {
  grid-template-columns: 1fr;
}

.yx-ring-legend__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 20px;
}

.yx-ring-legend__left {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yx-ring-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.yx-ring-legend__dot--pending {
  background: var(--yx-color-warning);
}

.yx-ring-legend__dot--success {
  background: var(--yx-color-success);
}

.yx-ring-legend__dot--danger {
  background: var(--yx-color-danger);
}

.yx-ring-legend__value {
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 20px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.yx-metric-card {
  --yx-metric-border: var(--yx-color-divider);
  --yx-metric-bg: var(--yx-color-surface-soft);
  --yx-metric-title: var(--yx-color-text-muted);
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--yx-metric-border);
  border-radius: var(--yx-radius-control);
  background: var(--yx-metric-bg);
}

.yx-metric-card__label {
  color: var(--yx-metric-title);
  font-size: 12px;
  line-height: 18px;
}

.yx-metric-card__value {
  color: var(--yx-color-text-strong);
  font-size: 18px;
  line-height: 24px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-summary-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 240px;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  background: linear-gradient(135deg, #ffffff 0%, #fff9f3 45%, #fff3e3 100%);
  box-shadow: var(--yx-shadow-card);
}

.yx-summary-hero__content {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.yx-summary-hero__title {
  margin: 0;
  color: var(--yx-color-brand);
  font-size: 34px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.5px;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.yx-summary-hero__sub {
  margin: 0;
  max-width: 780px;
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 1.7;
}

.yx-summary-hero__chip-row,
.yx-summary-hero__task-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.yx-summary-hero__chip,
.yx-summary-hero__task {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #eeeeee;
  background: #ffffff;
}

.yx-summary-hero__chip {
  min-height: 38px;
  border-radius: var(--yx-radius-pill);
}

.yx-summary-hero__task {
  min-height: 34px;
  border-radius: var(--yx-radius-control);
}

.yx-summary-hero__chip-icon,
.yx-summary-hero__task-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background: transparent;
  color: #7d7a88;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yx-summary-hero__chip-icon svg,
.yx-summary-hero__task-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.85;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yx-summary-hero__task-icon {
  color: var(--yx-color-brand);
}

.yx-summary-hero__chip-label,
.yx-summary-hero__task-label {
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
}

.yx-summary-hero__chip-value {
  color: var(--yx-color-brand);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  margin-left: 2px;
}

.yx-summary-hero__task-value {
  color: var(--yx-color-text-strong);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  margin-left: 2px;
  min-width: 30px;
  text-align: right;
}

.yx-summary-hero__time {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
  margin-top: 2px;
}

.yx-summary-hero__visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.yx-summary-hero__visual-core {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  place-items: center;
  overflow: visible;
}

.yx-summary-hero__visual-core::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(255, 102, 0, 0.26);
  animation: yx-orbit-spin 14s linear infinite;
}

.yx-summary-hero__visual-core::after {
  content: none;
}

.yx-summary-hero__visual-icon {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #ffc894 0%, #ff8f2b 55%, #ff6600 100%);
  color: #ffffff;
  box-shadow: 0 16px 35px rgba(255, 102, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  animation: yx-summary-core-float 3.2s ease-in-out infinite;
}

.yx-summary-hero__visual-icon svg {
  width: 44px;
  height: 44px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.85;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yx-summary-hero__visual-orbit {
  display: none;
}

.yx-summary-hero__visual-orbit--outer {
  inset: 10px;
  animation: yx-orbit-spin 18s linear infinite;
}

.yx-summary-hero__visual-orbit--inner {
  inset: 28px;
  border-style: dashed;
  opacity: 0.8;
  animation: yx-orbit-spin-reverse 12s linear infinite;
}

.yx-summary-hero__visual-particle {
  display: none;
}

.yx-summary-hero__visual-particle--a {
  width: 14px;
  height: 14px;
  top: 28px;
  right: 32px;
  animation: yx-particle-float-a 4.8s ease-in-out infinite;
}

.yx-summary-hero__visual-particle--b {
  width: 10px;
  height: 10px;
  left: 26px;
  bottom: 42px;
  opacity: 0.7;
  animation: yx-particle-float-b 5.2s ease-in-out infinite;
}

.yx-summary-hero__visual-node {
  display: none;
}

@keyframes yx-orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes yx-orbit-spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes yx-particle-float-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(4px, -6px, 0);
  }
}

@keyframes yx-particle-float-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-6px, 4px, 0);
  }
}

@keyframes yx-summary-core-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

.yx-chart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.yx-chart-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.yx-comp-piece-section {
  padding: 0;
  margin: 0;
}

.yx-comp-piece-section .yx-section-head {
  margin-bottom: 16px;
}

.yx-comp-piece-grid {
  margin: 0;
}

/* 说明页图表章节：两层控件网格之间使用同一套标准间距，避免额外 margin 叠加 */
.yx-chart-intro-solo {
  gap: 20px;
}

.yx-chart-intro-solo > .yx-chart-intro-grid {
  margin-bottom: 0;
}

.yx-chart-intro-card {
  min-height: 0;
}

.yx-chart-card--full {
  grid-column: 1 / -1;
}

.yx-chart-intro-body {
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.yx-chart-intro-visual {
  min-height: 218px;
  width: 100%;
  max-width: 380px;
  padding: 14px;
  margin: 0;
}

.yx-chart-intro-card--multi-select .yx-chart-intro-visual {
  min-height: 360px;
  position: relative;
  z-index: 1;
}

.yx-icon-only-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 42px));
  gap: 12px;
  justify-content: flex-start;
  align-content: flex-start;
}

.yx-stat-demo-stack {
  display: grid;
  gap: 10px;
}

.yx-chart-intro-note {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.yx-chart-intro-note__title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-chart-intro-note__list {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 6px;
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 19px;
}

.yx-chart-intro-note__list li {
  min-width: 0;
}

.yx-chart-intro-note__list code {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.yx-chart-intro-card--list .yx-chart-intro-body {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
}

.yx-chart-intro-card--list .yx-chart-intro-visual {
  max-width: none;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.yx-chart-intro-card--list .yx-list-stage {
  gap: 14px;
}

.yx-chart-intro-card--loading .yx-chart-intro-body {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
}

.yx-chart-intro-card--loading .yx-chart-intro-visual {
  max-width: none;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.yx-chart-intro-card--chart-wide .yx-chart-intro-body {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
}

.yx-chart-intro-card--chart-wide .yx-chart-intro-visual {
  max-width: none;
  min-height: 0;
}

.yx-loading-demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.yx-loading-demo-card {
  display: grid;
  gap: 12px;
}

.yx-loading-demo-label {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-loading-demo-list {
  display: grid;
  gap: 14px;
  min-height: 240px;
  padding: 18px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
  box-shadow: var(--yx-shadow-card);
}

.yx-loading-demo-page {
  display: grid;
  gap: 16px;
  min-height: 260px;
  padding: 18px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
  box-shadow: var(--yx-shadow-card);
}

.yx-loading-demo-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.yx-loading-demo-page-head span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f7f8fb 0%, #eff1f6 100%);
}

.yx-loading-demo-page-head span:first-child {
  width: 126px;
}

.yx-loading-demo-page-head span:last-child {
  width: 88px;
}

.yx-loading-demo-panels {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.yx-loading-demo-panel {
  min-height: 158px;
  border: 1px solid #ececf2;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
}

.yx-loading-demo-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.yx-loading-demo-toolbar span {
  display: block;
  height: 36px;
  border: 1px solid #ffe2cd;
  border-radius: 999px;
  background: #fff4eb;
}

.yx-loading-demo-toolbar span:nth-child(1) {
  width: 132px;
}

.yx-loading-demo-toolbar span:nth-child(2) {
  width: 112px;
}

.yx-loading-demo-toolbar span:nth-child(3) {
  width: 86px;
}

.yx-loading-demo-lines {
  display: grid;
  gap: 10px;
}

.yx-loading-demo-lines span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f6f7fb 0%, #eceef5 50%, #f6f7fb 100%);
  background-size: 200% 100%;
  animation: yx-loading-shimmer 1.6s linear infinite;
}

.yx-loading-demo-lines span:nth-child(1) {
  width: 100%;
}

.yx-loading-demo-lines span:nth-child(2) {
  width: 82%;
}

.yx-loading-demo-lines span:nth-child(3) {
  width: 90%;
}

.yx-loading-demo-lines span:nth-child(4) {
  width: 76%;
}

.yx-chart-intro-legend {
  display: grid;
  gap: 6px;
}

.yx-chart-intro-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 18px;
}

.yx-chart-intro-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.yx-chart-intro-legend__dot--base {
  background: rgba(127, 114, 242, 0.24);
}

.yx-chart-intro-legend__dot--mid {
  background: rgba(127, 114, 242, 0.58);
}

.yx-chart-intro-legend__dot--top {
  background: rgba(127, 114, 242, 1);
}

.yx-chart-intro-legend__dot--active {
  background: rgba(40, 199, 111, 1);
}

.yx-chart-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  min-height: 320px;
  padding: 20px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  background: var(--yx-color-surface);
  box-shadow: var(--yx-shadow-card);
}

.yx-chart-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.yx-chart-card__title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 16px;
  line-height: 24px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-chart-card__sub {
  margin: 4px 0 0;
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-chart-card__metric {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  text-align: right;
}

.yx-chart-card__value {
  color: var(--yx-color-text-strong);
  font-size: 28px;
  line-height: 1;
  font-weight: var(--yx-font-weight-bold);
}

.yx-chart-card__trend {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--yx-radius-pill);
  border: 1px solid var(--yx-color-divider);
  background: var(--yx-color-surface-soft);
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--yx-font-weight-semibold);
  white-space: nowrap;
}

.yx-chart-card__trend--up {
  border-color: rgba(40, 199, 111, 0.18);
  background: rgba(40, 199, 111, 0.1);
  color: #1f9d57;
}

.yx-chart-card__trend--down {
  border-color: rgba(255, 77, 79, 0.16);
  background: rgba(255, 77, 79, 0.08);
  color: #e5484d;
}

.yx-chart-card__canvas {
  min-width: 0;
  min-height: 236px;
  padding: 16px;
  border: 1px solid var(--yx-color-divider);
  border-radius: var(--yx-radius-control);
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
}

.yx-chart-card .apexcharts-canvas,
.yx-chart-card .apexcharts-svg,
.yx-chart-card .echarts-for-react,
.yx-chart-card .echarts-instance,
.yx-chart-card__canvas > canvas,
.yx-chart-card__canvas > svg {
  width: 100% !important;
}

.yx-chart-card .apexcharts-text tspan,
.yx-chart-card .apexcharts-legend-text {
  font-family: var(--yx-font-family) !important;
}

.yx-chart-card .apexcharts-tooltip {
  box-shadow: var(--yx-shadow-float) !important;
}

.yx-chart-card .apexcharts-tooltip.apexcharts-theme-light {
  border: 1px solid var(--yx-color-border) !important;
  background: var(--yx-color-surface) !important;
  color: var(--yx-color-text-strong) !important;
}

.yx-chart-card .apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
  border-bottom: 1px solid var(--yx-color-divider) !important;
  background: var(--yx-color-surface) !important;
  color: var(--yx-color-text-strong) !important;
  font-family: var(--yx-font-family) !important;
  font-weight: var(--yx-font-weight-semibold) !important;
}

.yx-chart-card .apexcharts-gridline {
  stroke: var(--yx-color-divider);
}

.yx-chart-card .apexcharts-xaxis-label,
.yx-chart-card .apexcharts-yaxis-label,
.yx-chart-card .apexcharts-legend-text {
  fill: var(--yx-color-text-muted) !important;
  color: var(--yx-color-text-muted) !important;
}

.yx-chart-card .apexcharts-xaxistooltip,
.yx-chart-card .apexcharts-yaxistooltip {
  border-color: var(--yx-color-border) !important;
  background: var(--yx-color-surface) !important;
  color: var(--yx-color-text-strong) !important;
}

.yx-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.yx-chart-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 18px;
}

.yx-chart-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.yx-chart-legend__dot--brand {
  background: var(--yx-color-brand);
}

.yx-chart-legend__dot--brand-soft {
  background: #ffbe87;
}

.yx-chart-legend__dot--info {
  background: var(--yx-color-info);
}

.yx-chart-legend__dot--success {
  background: var(--yx-color-success);
}

.yx-chart-legend__dot--purple {
  background: #7f72f2;
}

.yx-chart-legend__value {
  color: var(--yx-color-text-strong);
  font-weight: var(--yx-font-weight-semibold);
}

.yx-bar-stack {
  --yx-bar-stack-axis-width: 44px;
  --yx-bar-stack-track-height: 142px;
  --yx-bar-stack-value-slot: 18px;
  --yx-bar-stack-label-slot: 18px;
  --yx-bar-stack-col-gap: 8px;
  --yx-bar-stack-col-min: 36px;
  display: grid;
  gap: 12px;
  min-height: calc(var(--yx-bar-stack-track-height) + var(--yx-bar-stack-value-slot) + var(--yx-bar-stack-label-slot));
  min-width: 0;
}

.yx-bar-stack__body {
  display: grid;
  grid-template-columns: var(--yx-bar-stack-axis-width) minmax(0, 1fr);
  gap: 8px;
  align-items: end;
  min-width: 0;
}

.yx-bar-stack__y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  height: var(--yx-bar-stack-track-height);
  margin-top: var(--yx-bar-stack-value-slot);
  margin-bottom: var(--yx-bar-stack-label-slot);
}

.yx-bar-stack__tick {
  color: var(--yx-color-text-muted);
  font-size: 11px;
  line-height: 1;
  font-weight: var(--yx-font-weight-medium);
  white-space: nowrap;
}

.yx-bar-stack__plot {
  position: relative;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.yx-bar-stack__guides {
  position: absolute;
  inset: var(--yx-bar-stack-value-slot) 0 var(--yx-bar-stack-label-slot);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.yx-bar-stack__guide {
  display: block;
  width: 100%;
  border-top: 1px solid rgba(242, 242, 244, 0.95);
}

.yx-bar-stack__cols {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(var(--yx-bar-stack-col-min), 1fr));
  gap: var(--yx-bar-stack-col-gap);
  align-items: end;
  min-width: 0;
}

.yx-bar-stack__col {
  display: grid;
  grid-template-rows: var(--yx-bar-stack-value-slot) var(--yx-bar-stack-track-height) var(--yx-bar-stack-label-slot);
  justify-items: center;
  gap: 8px;
  min-width: 0;
}

.yx-bar-stack__value {
  color: var(--yx-color-text-muted);
  font-size: 11px;
  line-height: 1;
  font-weight: var(--yx-font-weight-semibold);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.yx-bar-stack__track {
  position: relative;
  width: 18px;
  height: var(--yx-bar-stack-track-height);
  border-radius: var(--yx-radius-pill);
  background: #f1f2f4;
  overflow: hidden;
}

.yx-bar-stack__layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--yx-radius-pill);
}

.yx-bar-stack__layer--base {
  background: rgba(127, 114, 242, 0.24);
}

.yx-bar-stack__layer--mid {
  background: rgba(127, 114, 242, 0.58);
}

.yx-bar-stack__layer--top {
  background: rgba(127, 114, 242, 1);
}

.yx-bar-stack__col--active .yx-bar-stack__layer--base {
  background: rgba(40, 199, 111, 0.24);
}

.yx-bar-stack__col--active .yx-bar-stack__layer--mid {
  background: rgba(40, 199, 111, 0.58);
}

.yx-bar-stack__col--active .yx-bar-stack__layer--top {
  background: rgba(40, 199, 111, 1);
}

.yx-bar-stack__label {
  color: var(--yx-color-text-muted);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.yx-line-chart {
  display: grid;
  gap: 12px;
}

.yx-line-chart__frame {
  position: relative;
  min-height: 188px;
  overflow: hidden;
}

.yx-line-chart__grid {
  position: absolute;
  inset: 4px 4px 30px;
  background:
    linear-gradient(to bottom, transparent 0 24%, rgba(242, 242, 244, 0.95) 24% 25%, transparent 25% 49%, rgba(242, 242, 244, 0.95) 49% 50%, transparent 50% 74%, rgba(242, 242, 244, 0.95) 74% 75%, transparent 75% 100%);
  pointer-events: none;
}

.yx-line-chart__svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 188px;
  display: block;
  overflow: visible;
}

.yx-line-chart__area {
  fill: rgba(0, 186, 209, 0.12);
}

.yx-line-chart__area--secondary {
  fill: rgba(127, 114, 242, 0.12);
}

.yx-line-chart__path {
  fill: none;
  stroke: var(--yx-color-info);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yx-line-chart__path--secondary {
  stroke: #7f72f2;
}

.yx-line-chart__point {
  fill: #ffffff;
  stroke: var(--yx-color-info);
  stroke-width: 3;
}

.yx-line-chart__point--secondary {
  stroke: #7f72f2;
}

.yx-line-chart__axis {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  color: var(--yx-color-text-muted);
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.yx-rank-list {
  display: grid;
  gap: 4px;
}

.yx-rank-list__item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 2px;
  border-bottom: 1px solid var(--yx-color-divider);
}

.yx-rank-list__item:last-child {
  border-bottom: none;
}

.yx-rank-list__index {
  width: 24px;
  height: 24px;
  border-radius: var(--yx-radius-control);
  border: 1px solid var(--yx-color-border);
  background: var(--yx-color-surface-soft);
  color: var(--yx-color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  font-weight: var(--yx-font-weight-bold);
}

.yx-rank-list__index--top {
  border-color: #ffdcb8;
  background: #fff4e7;
  color: var(--yx-color-brand);
}

.yx-rank-list__name {
  min-width: 0;
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yx-rank-list__value {
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 20px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.yx-data-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  background: var(--yx-color-surface);
  box-shadow: var(--yx-shadow-card);
}

.yx-data-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
}

.yx-data-card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--yx-radius-control);
  background: var(--yx-color-brand-soft);
  color: var(--yx-color-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.yx-data-card__icon svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.85;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yx-data-card__title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 18px;
  line-height: 26px;
}

.yx-data-card__metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--yx-color-divider);
  border-radius: var(--yx-radius-control);
  background: var(--yx-color-surface-soft);
}

.yx-data-card__metric-label {
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 20px;
}

.yx-data-card__metric-side {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.yx-data-card__metric-value {
  color: var(--yx-color-text-strong);
  font-size: 22px;
  line-height: 1;
  font-weight: var(--yx-font-weight-bold);
}

.yx-data-card__metric-meta {
  color: var(--yx-color-brand);
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--yx-font-weight-semibold);
}

.yx-data-card__progress {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 10px;
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 18px;
}

.yx-data-card__progress-track {
  display: block;
  height: 8px;
  width: 100%;
  border-radius: var(--yx-radius-pill);
  background: #f1f2f4;
  overflow: hidden;
}

.yx-data-card__progress-fill {
  display: block;
  height: 100%;
  border-radius: var(--yx-radius-pill);
  background: linear-gradient(90deg, #ffbf86 0%, var(--yx-color-brand) 100%);
}

.yx-asset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.yx-asset-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  min-height: 184px;
  padding: 20px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  background: var(--yx-color-surface);
  box-shadow: var(--yx-shadow-card);
}

.yx-asset-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}

.yx-asset-card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--yx-radius-control);
  border: 1px solid #ffdcb8;
  background: #fff4e7;
  color: var(--yx-color-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.yx-asset-card__icon svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.85;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yx-asset-card__title {
  color: var(--yx-color-text);
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--yx-font-weight-semibold);
}

.yx-asset-card__value {
  color: var(--yx-color-text-strong);
  font-size: 38px;
  line-height: 1;
  font-weight: var(--yx-font-weight-bold);
}

.yx-asset-card__delta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  border-radius: var(--yx-radius-pill);
  border: 1px solid #ffdcb8;
  background: #fff4e7;
  color: var(--yx-color-brand);
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-asset-card__meta {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.yx-kpi-card {
  padding: 18px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
}

.yx-kpi-card__label {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--yx-font-weight-semibold);
}

.yx-kpi-card__value {
  margin-top: 10px;
  color: var(--yx-color-text-strong);
  font-size: 28px;
  line-height: 34px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-kpi-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 18px;
}

.yx-kpi-trend {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--yx-radius-pill);
  background: var(--yx-color-brand-soft);
  color: var(--yx-color-brand);
  font-weight: var(--yx-font-weight-bold);
}

.yx-kpi-trend--success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--yx-color-success);
}

.yx-filter-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  background: #fcfcfd;
}

.yx-filter-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.yx-toolbar__date {
  width: 152px;
  flex: 0 0 152px;
}

.yx-toolbar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.yx-toolbar-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-pill);
  background: var(--yx-color-surface);
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 18px;
}

.yx-bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px solid #ffe1cb;
  border-radius: 16px;
  background: var(--yx-color-brand-soft);
}

.yx-bulk-bar__info {
  display: grid;
  gap: 4px;
}

.yx-bulk-bar__info strong {
  color: var(--yx-color-text-strong);
}

.yx-bulk-bar__info span {
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 18px;
}

.yx-bulk-bar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.yx-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
}

.yx-pagination-demo-shell {
  width: 100%;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-control);
  background: var(--yx-color-surface);
  padding: 14px;
}

.yx-pagination--intro {
  padding-top: 0;
  justify-content: flex-start;
}

.yx-pagination--intro .yx-pagination__right {
  margin-left: 0;
}

.yx-pagination__left,
.yx-pagination__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.yx-pagination__left {
  flex-wrap: nowrap;
}

.yx-pagination__size {
  width: auto;
  min-width: 0;
}

.yx-select--compact {
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
}

.yx-select--compact select {
  width: auto;
  min-width: 128px;
  height: 36px;
  line-height: 36px;
  padding: 0 34px 0 12px;
  border-radius: var(--yx-radius-control);
  font-size: 13px;
  background-position: calc(100% - 12px) center;
  background-size: 16px 16px;
}

.yx-pagination .yx-select--compact select {
  border-radius: var(--yx-radius-inner);
}

.yx-list-toolbar .yx-select--compact select {
  border-radius: var(--yx-radius-control);
}

.yx-pagination__total,
.yx-pagination__page {
  color: var(--yx-color-text);
  font-size: 14px;
  line-height: 22px;
}

.yx-pagination__total {
  white-space: nowrap;
}

.yx-pagination__page {
  min-width: 52px;
  text-align: center;
}

.yx-pagination__right {
  margin-left: auto;
}

.yx-pagination__pages {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yx-pagination__ellipsis {
  color: var(--yx-color-text-muted);
  font-size: 13px;
  line-height: 1;
}

.yx-pagination__btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-inner);
  background: var(--yx-color-surface);
  color: #8d8d99;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.yx-pagination__icon {
  width: 14px;
  height: 14px;
  display: block;
}

.yx-pagination__icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yx-pagination__btn:hover {
  border-color: #ffd2b3;
  background: #fff8f2;
  color: var(--yx-color-brand);
}

.yx-pagination__btn:disabled {
  border-color: #eeeeee;
  background: var(--yx-color-surface);
  color: #dddddd;
  cursor: not-allowed;
}

.yx-pagination__btn:disabled:hover {
  border-color: #eeeeee;
  background: var(--yx-color-surface);
  color: #dddddd;
}

.yx-pagination__btn--page {
  width: 36px;
  min-width: 36px;
}

.yx-pagination__btn--active {
  border-color: var(--yx-color-brand);
  background: var(--yx-color-brand);
  color: #fff;
}

.yx-pagination__btn--active:hover {
  border-color: var(--yx-color-brand-hover);
  background: var(--yx-color-brand-hover);
  color: #fff;
}

.yx-pagination--standard {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--yx-color-divider);
}

.yx-table--standard .yx-col-id {
  min-width: 260px;
}

.yx-table--standard .yx-col-type {
  min-width: 120px;
}

.yx-table--standard .yx-col-status,
.yx-table--standard .yx-col-source {
  min-width: 136px;
}

.yx-table--standard .yx-col-time {
  min-width: 164px;
}

.yx-card-list {
  display: grid;
  gap: 16px;
}

.yx-list-card {
  padding: 20px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  background: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.02);
}

.yx-list-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.yx-list-card__title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 16px;
  line-height: 24px;
}

.yx-list-card__meta {
  margin-top: 6px;
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 20px;
}

.yx-list-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.yx-mini-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--yx-radius-pill);
  background: var(--yx-color-surface-soft);
  border: 1px solid var(--yx-color-border);
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--yx-font-weight-semibold);
}

.yx-list-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.yx-list-card__stats div {
  padding: 12px 14px;
  border: 1px solid var(--yx-color-divider);
  border-radius: 14px;
  background: var(--yx-color-surface);
}

.yx-list-card__stats span {
  display: block;
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-list-card__stats strong {
  display: block;
  margin-top: 4px;
  color: var(--yx-color-text-strong);
  font-size: 15px;
  line-height: 22px;
}

.yx-list-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--yx-color-divider);
}

.yx-list-card__time {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-empty-state {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 34px 20px;
  border: 1px dashed #e9e9ee;
  border-radius: var(--yx-radius-card);
  background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
  text-align: center;
}

.yx-empty-state__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--yx-color-brand-soft);
  color: var(--yx-color-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-empty-state h3 {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 16px;
  line-height: 24px;
}

.yx-empty-state p {
  margin: 0;
  max-width: 360px;
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 21px;
}

.yx-loading-host {
  position: relative;
  overflow: hidden;
  border-radius: var(--yx-radius-card);
}

.yx-loading-shell {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 24px;
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}

.yx-loading-shell::before {
  content: none;
}

.yx-loading-shell[hidden] {
  display: none;
}

.yx-loading-shell--overlay {
  background: transparent;
  backdrop-filter: none;
}

.yx-loading {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(162px, 100%);
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(14, 17, 22, 0.72) 0%, rgba(10, 12, 17, 0.78) 100%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: center;
  pointer-events: auto;
}

.yx-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 28%);
  pointer-events: none;
}

.yx-loading__copy {
  display: grid;
  gap: 4px;
}

.yx-loading__title {
  color: #ffffff;
  font-size: 15px;
  line-height: 22px;
  font-weight: var(--yx-font-weight-bold);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.yx-loading__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 21px;
}

.yx-loading__desc:empty {
  display: none;
}

.yx-loading__dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.yx-loading__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(243, 246, 252, 0.94) 58%, rgba(223, 228, 238, 0.9) 100%);
  animation: yx-loading-bounce 1s ease-in-out infinite;
}

.yx-loading__dot:nth-child(2) {
  animation-delay: 0.14s;
}

.yx-loading__dot:nth-child(3) {
  animation-delay: 0.28s;
}

.yx-log-shell {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  background: #fffdfb;
}

.yx-log-shell__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--yx-color-divider);
}

.yx-log-shell__head h3 {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 16px;
  line-height: 24px;
}

.yx-log-shell__head span {
  color: var(--yx-color-text-muted);
  font-size: 12px;
}

.yx-log-list {
  max-height: 272px;
  overflow: auto;
  padding: 0 18px 18px;
}

.yx-log-item {
  display: grid;
  grid-template-columns: 78px 66px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--yx-color-divider);
  align-items: start;
}

.yx-log-item:last-child {
  border-bottom: 0;
}

@keyframes yx-loading-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

@keyframes yx-loading-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yx-loading-demo-lines span,
  .yx-loading__dot {
    animation: none;
  }
}

.yx-log-time {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-log-level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: var(--yx-radius-pill);
  background: var(--yx-color-surface-soft);
  color: var(--yx-color-text);
  font-size: 11px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-log-level--success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--yx-color-success);
}

.yx-log-level--warning {
  background: rgba(255, 159, 67, 0.14);
  color: #cf6c13;
}

.yx-log-level--info {
  background: rgba(0, 186, 209, 0.12);
  color: var(--yx-color-info);
}

.yx-log-line {
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 20px;
  word-break: break-word;
}

.yx-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.yx-detail-block {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-control);
  background: var(--yx-color-surface);
}

.yx-modal__body .yx-detail-block {
  border-radius: var(--yx-radius-control);
}

.yx-detail-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.yx-detail-block__head h3 {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 16px;
  line-height: 24px;
}

.yx-detail-block__head span {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.yx-detail-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--yx-color-divider);
}

.yx-detail-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.yx-detail-list strong {
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 20px;
}

.yx-detail-list > li > span:not([class]):not(:has(*)) {
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 20px;
  text-align: right;
}

.yx-detail-list > li > .yx-inline-split {
  width: min(100%, 260px);
  margin-left: auto;
}

.yx-detail-list .yx-inline-split__value {
  font-size: inherit;
  line-height: inherit;
}

.yx-detail-list .yx-inline-split__value--left {
  text-align: right;
}

.yx-detail-list .yx-inline-split__value--right {
  text-align: left;
}

.yx-detail-list .yx-inline-split__value--center,
.yx-detail-list .yx-inline-split__divider {
  text-align: center;
}

.yx-api-panel {
  display: grid;
  gap: 18px;
}

.yx-api-panel__section {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--yx-color-divider);
}

.yx-api-panel__section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.yx-api-panel__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.yx-api-panel__title strong {
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 20px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-api-panel__title span {
  color: var(--yx-color-text-muted);
  font-size: 11px;
  line-height: 16px;
}

.yx-api-panel__list {
  display: grid;
  gap: 0;
}

.yx-api-panel__item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--yx-color-divider);
  background: transparent;
}

.yx-api-panel__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.yx-api-panel__item strong {
  color: #5f6980;
  font-family: "SF Mono", "JetBrains Mono", "Consolas", monospace;
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--yx-font-weight-semibold);
}

.yx-api-panel__item span {
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 20px;
  text-align: left;
}

.yx-api-status-list {
  display: grid;
  gap: 0;
}

.yx-api-status {
  display: grid;
  grid-template-columns: minmax(112px, 132px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--yx-color-divider);
  background: transparent;
}

.yx-api-status:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.yx-api-status__code {
  min-width: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
  font-family: "SF Mono", "JetBrains Mono", "Consolas", monospace;
  font-size: 13px;
  line-height: 18px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-api-status__body {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.yx-api-status__name {
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 18px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-api-status__desc {
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 20px;
}

.yx-api-status--success {
  border-color: var(--yx-color-divider);
}

.yx-api-status--success .yx-api-status__code {
  color: var(--yx-color-success);
}

.yx-api-status--info {
  border-color: var(--yx-color-divider);
}

.yx-api-status--info .yx-api-status__code {
  color: var(--yx-color-info);
}

.yx-api-status--warning {
  border-color: var(--yx-color-divider);
}

.yx-api-status--warning .yx-api-status__code {
  color: #cf6c13;
}

.yx-api-status--danger {
  border-color: var(--yx-color-divider);
}

.yx-api-status--danger .yx-api-status__code {
  color: #d63b3c;
}

.yx-code--dense {
  min-height: 214px;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.yx-code {
  padding: 16px 18px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-control);
  background: #fffaf7;
  color: var(--yx-color-text-strong);
  font-family: "SF Mono", "JetBrains Mono", "Consolas", monospace;
  font-size: 12px;
  line-height: 20px;
  overflow: auto;
}

.yx-nav-preview {
  display: grid;
  gap: 24px;
}

.yx-tab-family {
  display: grid;
  gap: 14px;
}

.yx-tab-family__label {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 16px;
  font-weight: var(--yx-font-weight-semibold);
  line-height: 24px;
}

.yx-tab-family__hint {
  margin: 0;
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 20px;
}

.yx-topbar-preview {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0 28px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  background: var(--yx-color-surface);
  box-shadow: var(--yx-shadow-card);
}

.yx-main-nav {
  display: inline-flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 28px;
  min-height: 44px;
  min-width: 0;
}

.yx-main-nav__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 2px 12px;
  border: 0;
  background: transparent;
  color: #8b90a2;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.yx-main-nav__item:hover,
.yx-main-nav__item:focus-visible {
  outline: none;
  color: var(--yx-color-brand);
}

.yx-main-nav__item--active {
  color: var(--yx-color-brand);
  font-size: 14px;
  font-weight: 800;
}

.yx-main-nav__item--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--yx-color-brand);
}

.yx-main-nav--topbar {
  align-items: center;
  min-height: 64px;
  height: 100%;
}

.yx-main-nav--topbar .yx-main-nav__item {
  min-height: 0;
  height: 100%;
  padding: 0 2px;
}

.yx-sub-tabs {
  display: inline-flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 28px;
  min-height: 46px;
  min-width: 0;
  padding: 0 0 2px;
  border-bottom: 1px solid var(--yx-color-border);
  background: transparent;
}

.yx-sub-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 2px 12px;
  border: 0;
  background: transparent;
  color: #8b90a2;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.yx-sub-tab:hover,
.yx-sub-tab:focus-visible {
  outline: none;
  color: var(--yx-color-brand);
}

.yx-sub-tab--active,
.yx-sub-tab.active {
  color: var(--yx-color-brand);
  font-size: 14px;
  font-weight: 800;
}

.yx-sub-tab--active::after,
.yx-sub-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--yx-color-brand);
}

.yx-list-tabs {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid #eceef3;
  border-radius: var(--yx-radius-pill);
  background: #f5f6f8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.yx-list-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 92px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--yx-radius-pill);
  background: transparent;
  color: #7d8596;
  font-size: 14px;
  font-weight: var(--yx-font-weight-semibold);
  line-height: 40px;
  cursor: pointer;
  box-shadow: none;
}

.yx-list-tab:hover:not(.yx-list-tab--active) {
  background: #eceff4;
  color: #5f6778;
}

.yx-list-tab--active {
  background: linear-gradient(180deg, #ff8a1e 0%, #ff6600 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(255, 102, 0, 0.22);
}

.yx-list-tab::after,
.yx-list-tab--active::after {
  content: none;
  display: none;
}

.yx-list-tab__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff4d4f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
}

.yx-list-tab--active .yx-list-tab__badge {
  background: #ffffff;
  color: #ff6600;
}

.yx-plug-play-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.yx-plug-play-strip .yx-token-chip {
  min-height: 44px;
}

.yx-sidebar-modal-sample {
  min-height: 170px;
  display: grid;
  align-content: center;
}

.yx-sidebar-modal-sample--notice {
  min-height: 260px;
}

.yx-sidebar-modal-sample .yx-modal {
  --yx-modal-width: 360px;
  width: min(360px, 100%);
  max-height: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.yx-sidebar-modal-sample--notice .yx-modal {
  --yx-modal-width: 460px;
  width: min(460px, 100%);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.yx-sidebar-modal-sample .yx-modal__header {
  padding: 14px 16px;
}

.yx-sidebar-modal-sample--notice .yx-modal__header {
  padding: 22px 24px 14px;
}

.yx-sidebar-modal-sample .yx-modal__body {
  max-height: none;
  padding: 14px 16px;
}

.yx-sidebar-modal-sample--notice .yx-modal__body {
  padding: 0 24px 24px;
}

.yx-sidebar-modal-sample .yx-modal__footer {
  padding: 12px 16px 16px;
}

.yx-sidebar-modal-sample .yx-form-stack {
  gap: 12px;
}

.yx-sidebar-modal-sample .yx-modal--fit-form {
  --yx-modal-width: auto;
  width: fit-content;
  max-width: min(100%, calc(100vw - 48px));
  justify-self: center;
  align-self: center;
}

.yx-sidebar-modal-sample .yx-modal--fit-form .yx-modal__header {
  padding: 24px 24px 0;
}

.yx-sidebar-modal-sample .yx-modal--fit-form .yx-modal__body {
  padding: 24px;
}

.yx-sidebar-modal-sample .yx-modal--fit-form .yx-modal__footer {
  padding: 0 24px 24px;
}

.yx-sidebar-modal-sample .yx-modal--fit-form .yx-form-stack {
  gap: 24px;
}

.yx-demo-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.yx-demo-row--actions {
  gap: 14px;
}

.yx-modal-close-demo {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 220px;
  padding: 14px 16px;
  border: 1px solid var(--yx-color-border);
  border-radius: 14px;
  background: var(--yx-color-surface-soft);
}

.yx-modal-close-demo__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.yx-modal-close-demo__title {
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.yx-modal-close-demo__sub {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.yx-modal-close-spotlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(255, 102, 0, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.92) 0%, rgba(255, 255, 255, 1) 100%);
}

.yx-modal-close-spotlight__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yx-modal-close-spotlight__title {
  color: var(--yx-color-text-strong);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.yx-modal-close-spotlight__sub {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.yx-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.46);
  z-index: 4000;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.yx-modal-overlay.is-active {
  display: flex;
}

.yx-modal {
  width: min(var(--yx-modal-width, 780px), calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  background: var(--yx-color-surface);
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.yx-modal--sm { --yx-modal-width: 520px; }
.yx-modal--md { --yx-modal-width: 720px; }
.yx-modal--lg { --yx-modal-width: 860px; }
.yx-modal--xl { --yx-modal-width: 1180px; }

.yx-modal--fit-form {
  --yx-modal-form-field-width: 320px;
  --yx-modal-form-gap: 24px;
  width: fit-content;
  max-width: calc(100vw - 48px);
}

.yx-modal--fit-form .yx-modal__header {
  padding: 24px 24px 0;
}

.yx-modal--fit-form .yx-modal__title-wrap {
  padding-left: 5px;
}

.yx-modal--fit-form .yx-modal__body {
  padding: 24px;
}

.yx-modal--fit-form .yx-modal__footer {
  padding: 0 24px 24px;
}

.yx-modal--fit-form .yx-form-stack,
.yx-modal--fit-form .yx-modal-form-section {
  width: fit-content;
  max-width: 100%;
}

.yx-modal--fit-form .yx-field {
  width: min(var(--yx-modal-form-field-width), calc(100vw - 108px));
  max-width: 100%;
}

.yx-modal--fit-form .yx-field.yx-modal-field--full {
  width: auto;
}

.yx-modal--fit-form .yx-form-grid {
  width: fit-content;
  max-width: 100%;
  gap: var(--yx-modal-form-gap);
  grid-template-columns: repeat(2, minmax(0, var(--yx-modal-form-field-width)));
}

.yx-modal--fit-form .yx-form-grid--three {
  grid-template-columns: repeat(3, minmax(0, var(--yx-modal-form-field-width)));
}

.yx-modal--fit-form .yx-form-grid--four {
  grid-template-columns: repeat(4, minmax(0, var(--yx-modal-form-field-width)));
}

@media (max-width: 920px) {
  .yx-modal--fit-form {
    width: min(calc(100vw - 48px), 100%);
  }

  .yx-modal--fit-form .yx-form-stack,
  .yx-modal--fit-form .yx-modal-form-section,
  .yx-modal--fit-form .yx-field,
  .yx-modal--fit-form .yx-form-grid {
    width: 100%;
  }

  .yx-modal--fit-form .yx-form-grid,
  .yx-modal--fit-form .yx-form-grid--three,
  .yx-modal--fit-form .yx-form-grid--four {
    grid-template-columns: 1fr;
  }
}

.yx-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: #fff;
}

.yx-modal__header:not(:has(.yx-modal__eyebrow:not([hidden]))):not(:has(.yx-modal__sub:not([hidden]))) {
  align-items: center;
}

.yx-modal__header:not(:has(.yx-modal__eyebrow:not([hidden]))):not(:has(.yx-modal__sub:not([hidden]))) .yx-modal__close {
  align-self: center;
}

.yx-modal__title-wrap {
  min-width: 0;
  flex: 1 1 auto;
  padding-left: 0;
}

.yx-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  margin-bottom: 8px;
  border-radius: var(--yx-radius-pill);
  background: var(--yx-color-brand-soft);
  color: var(--yx-color-brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.yx-modal__title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.yx-modal__sub {
  margin: 6px 0 0;
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 1.75;
}

.yx-modal__close {
  flex: 0 0 auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--yx-radius-control);
  background: transparent;
  color: #7a7686;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.yx-modal__close::before,
.yx-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.yx-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.yx-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.yx-modal__close:hover {
  background: #fff2e8;
  color: var(--yx-color-brand);
}

.yx-modal__body {
  padding: 0 24px 24px;
  overflow: auto;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  position: relative;
  background: #fff;
  box-shadow: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.yx-modal__body.yx-modal__body--shadow-top {
  box-shadow: inset 0 12px 12px -12px rgba(15, 23, 42, 0.18);
}

.yx-modal__body.yx-modal__body--shadow-bottom {
  box-shadow: inset 0 -12px 12px -12px rgba(15, 23, 42, 0.18);
}

.yx-modal__body.yx-modal__body--shadow-top.yx-modal__body--shadow-bottom {
  box-shadow:
    inset 0 12px 12px -12px rgba(15, 23, 42, 0.18),
    inset 0 -12px 12px -12px rgba(15, 23, 42, 0.18);
}

.yx-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px 20px;
  background: #fff;
}

.yx-modal--md .yx-modal__header {
  gap: 20px;
  padding: 24px 28px 16px;
}

.yx-modal--md .yx-modal__title {
  font-size: 20px;
  line-height: 1.35;
}

.yx-modal--md .yx-modal__sub {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
}

.yx-modal--md .yx-modal__close {
  width: 36px;
  height: 36px;
  border-radius: var(--yx-radius-control);
  background: transparent;
  color: #7a7686;
}

.yx-modal--md .yx-modal__close:hover {
  background: #fff2e8;
  color: var(--yx-color-brand);
}

.yx-modal--md .yx-modal__body {
  gap: 18px;
  padding: 0 28px 28px;
}

.yx-modal--md .yx-modal__footer {
  padding: 16px 28px 24px;
}

.yx-modal__footer[hidden] {
  display: none !important;
}

/* 弹窗圆角按结构层级收口：直属控件保留二级 10px，仅块内继续嵌套的控件收成三级 5px。 */
.yx-modal .yx-detail-block .yx-input,
.yx-modal .yx-detail-block .yx-select select,
.yx-modal .yx-detail-block select.yx-select,
.yx-modal .yx-detail-block .yx-textarea,
.yx-modal .yx-detail-block .yx-number,
.yx-modal .yx-detail-block .yx-search,
.yx-modal .yx-detail-block .yx-multi-select__trigger,
.yx-modal .yx-detail-block .yx-btn,
.yx-modal .yx-detail-block .yx-status,
.yx-modal .yx-modal-section .yx-input,
.yx-modal .yx-modal-section .yx-select select,
.yx-modal .yx-modal-section select.yx-select,
.yx-modal .yx-modal-section .yx-textarea,
.yx-modal .yx-modal-section .yx-number,
.yx-modal .yx-modal-section .yx-search,
.yx-modal .yx-modal-section .yx-multi-select__trigger,
.yx-modal .yx-modal-section .yx-btn,
.yx-modal .yx-modal-section .yx-status,
.yx-modal .yx-modal-kv-item .yx-input,
.yx-modal .yx-modal-kv-item .yx-select select,
.yx-modal .yx-modal-kv-item select.yx-select,
.yx-modal .yx-modal-kv-item .yx-textarea,
.yx-modal .yx-modal-kv-item .yx-number,
.yx-modal .yx-modal-kv-item .yx-search,
.yx-modal .yx-modal-kv-item .yx-multi-select__trigger,
.yx-modal .yx-modal-kv-item .yx-btn,
.yx-modal .yx-modal-kv-item .yx-status,
.yx-modal .yx-modal-form-section .yx-input,
.yx-modal .yx-modal-form-section .yx-select select,
.yx-modal .yx-modal-form-section select.yx-select,
.yx-modal .yx-modal-form-section .yx-textarea,
.yx-modal .yx-modal-form-section .yx-number,
.yx-modal .yx-modal-form-section .yx-search,
.yx-modal .yx-modal-form-section .yx-multi-select__trigger,
.yx-modal .yx-modal-form-section .yx-btn,
.yx-modal .yx-modal-form-section .yx-status,
.yx-modal .yx-voice-customer-detail-card .yx-input,
.yx-modal .yx-voice-customer-detail-card .yx-select select,
.yx-modal .yx-voice-customer-detail-card select.yx-select,
.yx-modal .yx-voice-customer-detail-card .yx-textarea,
.yx-modal .yx-voice-customer-detail-card .yx-number,
.yx-modal .yx-voice-customer-detail-card .yx-search,
.yx-modal .yx-voice-customer-detail-card .yx-multi-select__trigger,
.yx-modal .yx-voice-customer-detail-card .yx-btn,
.yx-modal .yx-voice-customer-detail-card .yx-status {
  border-radius: var(--yx-radius-inner);
}

#masterPwdOverlay .yx-form-grid,
#shellPwdOverlay .yx-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px;
}

#masterPwdOverlay .yx-field > .yx-label,
#shellPwdOverlay .yx-field > .yx-label {
  margin-left: 10px;
}

.yx-modal-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.yx-modal-summary-item {
  min-height: 84px;
  padding: 12px 14px;
  border-radius: var(--yx-radius-control);
  border: 1px solid var(--yx-color-border);
  background: var(--yx-color-surface-soft);
}

.yx-modal-summary-label {
  margin-bottom: 8px;
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.yx-modal-summary-value {
  color: var(--yx-color-text);
  font-size: 14px;
  line-height: 1.7;
  font-weight: var(--yx-font-weight-regular);
  word-break: break-word;
}

.yx-modal-kv-grid,
.yx-modal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.yx-modal-kv-item,
.yx-modal-form-section {
  padding: 14px 16px;
  border-radius: var(--yx-radius-control);
  border: 1px solid var(--yx-color-border);
  background: #fafafa;
}

.yx-modal-kv-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--yx-color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.yx-modal-kv-item > span:not([class]):not(:has(*)) {
  display: block;
  color: var(--yx-color-text);
  font-size: 14px;
  line-height: 1.7;
  word-break: break-word;
}

.yx-modal-section {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-control);
  overflow: hidden;
  background: #fff;
}

.yx-modal-section--ghost {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.yx-modal-section--list-plain {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.yx-modal-section--list-plain .yx-modal-section__head {
  display: none;
}

.yx-modal-section--list-plain .yx-modal-section__body {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 0 16px;
  gap: 0;
}

.yx-modal-section--list-plain .yx-list-shell {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0;
}

.yx-modal-section--list-plain .yx-table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.yx-modal-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--yx-color-border);
  background: #fcfcfd;
}

.yx-modal-section__head--plain {
  padding: 0;
  border-bottom: 0;
  background: transparent;
}

.yx-modal-section__title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
}

.yx-modal-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #aaaaaa;
  cursor: pointer;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.yx-copy-switch-button {
  position: relative;
  overflow: visible;
}

.yx-input-affix .yx-input-affix__copy.yx-copy-switch-button {
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 1;
  margin-top: 0;
  transform: translateY(-50%);
}

.yx-copy-switch-button__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--yx-copy-icon-size, 18px);
  height: var(--yx-copy-icon-size, 18px);
  margin: auto;
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.yx-copy-switch-button__icon--default {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.yx-copy-switch-button__icon--success {
  opacity: 0;
  transform: scale(0.64) rotate(-12deg);
}

.yx-copy-switch-button__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.yx-copy-switch-button__icon--morph {
  opacity: 1;
  transform: scale(1);
}

.yx-copy-switch-button__shape-copy {
  transform-origin: 14px 14px;
  transition: opacity 0.24s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.yx-copy-switch-button__shape-check-fill {
  opacity: 0;
  transform-origin: 14px 14px;
  transform: scale(0.72);
  transition: opacity 0.2s ease 0.06s, transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1) 0.06s;
}

.yx-copy-switch-button.is-copied .yx-copy-switch-button__icon--default {
  opacity: 0;
  transform: scale(0.66) rotate(10deg);
}

.yx-copy-switch-button.is-copied .yx-copy-switch-button__icon--success {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.yx-copy-switch-button.is-copied .yx-copy-switch-button__shape-copy {
  opacity: 0;
  transform: scale(0.72) rotate(-8deg);
}

.yx-copy-switch-button.is-copied .yx-copy-switch-button__shape-check-fill {
  opacity: 1;
  transform: scale(1);
}

.yx-copy-switch-button.is-copied {
  animation: yx-copy-switch-pop 0.32s ease;
}

.yx-input-affix .yx-input-affix__copy.yx-copy-switch-button.is-copied {
  animation: yx-input-affix-copy-switch-pop 0.32s ease;
}

@keyframes yx-copy-switch-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

@keyframes yx-input-affix-copy-switch-pop {
  0% { transform: translateY(-50%) scale(1); }
  35% { transform: translateY(-50%) scale(1.12); }
  100% { transform: translateY(-50%) scale(1); }
}

.yx-modal-copy-button:hover {
  opacity: 1;
}

.yx-modal-copy-button__icon {
  width: 18px;
  height: 18px;
  display: block;
}

.yx-modal-copy-button {
  --yx-copy-icon-size: 24px;
}

.yx-modal-section__sub {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.yx-modal-section__body {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yx-modal-action-block {
  width: 100%;
}

.yx-modal-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  width: 100%;
}

.yx-modal-action-row > .yx-select,
.yx-modal-action-row > .yx-field,
.yx-modal-action-row > .yx-input-affix,
.yx-modal-action-row > .yx-search,
.yx-modal-action-row > .yx-number,
.yx-modal-action-row > .yx-textarea {
  width: 100%;
  min-width: 0;
}

.yx-modal-action-row > .yx-btn {
  justify-self: start;
  min-width: 88px;
}

.yx-modal-action-block .yx-form-stack,
.yx-modal-action-block .yx-form-grid {
  width: 100%;
}

.yx-modal--md .yx-modal-section {
  border-radius: var(--yx-radius-control);
  border-color: #ece8e1;
  background: #fffdfa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.yx-modal--md .yx-modal-section__head {
  gap: 14px;
  padding: 16px 18px;
  border-bottom-color: #f0ebe4;
  background: #fffaf6;
}

.yx-modal--md .yx-modal-section__title {
  font-size: 15px;
  line-height: 1.5;
}

.yx-modal--md .yx-modal-section__sub {
  font-size: 12px;
  line-height: 1.7;
}

.yx-modal--md .yx-modal-section__body {
  gap: 14px;
  padding: 18px;
}

.yx-modal--md .yx-modal-section--list-plain {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.yx-modal--md .yx-modal-section--list-plain .yx-modal-section__body {
  gap: 0;
  padding: 0 0 18px;
}

@media (max-width: 720px) {
  .yx-modal-action-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .yx-modal-action-row > .yx-btn {
    width: 100%;
  }
}

.yx-modal-media {
  margin: 0;
  display: grid;
  gap: 10px;
  --yx-modal-media-frame-height: clamp(260px, 70vh, 560px);
  --yx-modal-media-audio-width: 100%;
  --yx-modal-media-audio-max-width: 100%;
  --yx-modal-media-audio-min-width: 0;
  --yx-modal-media-audio-justify: stretch;
}

.yx-modal-media__frame {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 220px;
  height: var(--yx-modal-media-frame-height);
  max-height: var(--yx-modal-media-frame-height);
}

.yx-modal-media__video {
  display: block;
  border: 0;
  border-radius: var(--yx-radius-inner);
  background: #ffffff;
  object-fit: contain;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.yx-modal-media--portrait .yx-modal-media__video {
  width: min(480px, 100%);
  height: auto;
  max-height: 100%;
}

.yx-modal-media--landscape .yx-modal-media__video {
  height: min(480px, 100%);
  width: auto;
  max-width: 100%;
}

.yx-modal-media__audio-wrap {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  justify-items: var(--yx-modal-media-audio-justify);
}

.yx-modal-media__audio {
  width: var(--yx-modal-media-audio-width);
  max-width: var(--yx-modal-media-audio-max-width);
  min-width: var(--yx-modal-media-audio-min-width);
  box-sizing: border-box;
  display: block;
}

.yx-modal-media__meta {
  margin: 0;
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.yx-modal-image-gallery {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.yx-modal-image-gallery__stage-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.yx-modal-image-gallery__stage-card {
  border: 1px solid #ececf2;
  border-radius: var(--yx-radius-control);
  padding: 14px 16px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yx-modal-image-gallery__stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.yx-modal-image-gallery__stage-name {
  font-size: 14px;
  font-weight: 700;
  color: #333333;
}

.yx-modal-image-gallery__stage-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.yx-modal-image-gallery__stage-state--success {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.yx-modal-image-gallery__stage-state--failed {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.yx-modal-image-gallery__stage-state--skipped {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.yx-modal-image-gallery__stage-state--pending {
  background: rgba(107, 114, 128, 0.12);
  color: #4b5563;
}

.yx-modal-image-gallery__stage-msg {
  font-size: 13px;
  line-height: 1.6;
  color: #666666;
  word-break: break-word;
}

.yx-modal-image-gallery__viewer {
  display: flex;
  justify-content: center;
}

.yx-modal-image-gallery__viewer-link {
  position: relative;
  display: block;
  width: min(360px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: var(--yx-radius-control);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(238, 238, 238, 0.96);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.yx-modal-image-gallery__viewer-link:hover {
  transform: translateY(-2px);
}

.yx-modal-image-gallery__viewer-link:focus-visible {
  outline: 2px solid rgba(255, 122, 0, 0.42);
  outline-offset: 3px;
}

.yx-modal-image-gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
}

.yx-modal-image-gallery__badge,
.yx-modal-image-gallery__score {
  position: absolute;
  top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.yx-modal-image-gallery__badge {
  left: 14px;
  background: linear-gradient(135deg, #ff8a00, #ff5a00);
  color: #ffffff;
  letter-spacing: 1px;
  box-shadow: 0 8px 18px rgba(255, 106, 0, 0.28);
}

.yx-modal-image-gallery__score {
  right: 14px;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.yx-modal-image-gallery__thumb-title {
  font-weight: 700;
  color: #333333;
  font-size: 15px;
}

.yx-modal-image-gallery__thumb-list {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.yx-modal-image-gallery__thumb {
  position: relative;
  width: 140px;
  border: 2px solid #e8e8e8;
  border-radius: var(--yx-radius-inner);
  padding: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  font: inherit;
  text-align: left;
}

.yx-modal-image-gallery__thumb:hover {
  border-color: #ffb066;
  transform: translateY(-2px);
}

.yx-modal-image-gallery__thumb[aria-pressed="true"] {
  border-color: #ff7a00;
  box-shadow: 0 10px 22px rgba(255, 122, 0, 0.18);
}

.yx-modal-image-gallery__thumb:focus-visible {
  border-color: #ff7a00;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.16);
}

.yx-modal-image-gallery__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--yx-radius-inner);
  background: #f5f5f5;
}

.yx-modal-image-gallery__thumb-score,
.yx-modal-image-gallery__thumb-best {
  position: absolute;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 700;
}

.yx-modal-image-gallery__thumb-score {
  left: 12px;
  min-width: 38px;
  height: 26px;
  padding: 0 8px;
  background: rgba(0, 0, 0, 0.72);
  font-size: 12px;
}

.yx-modal-image-gallery__thumb-best {
  right: 12px;
  height: 24px;
  padding: 0 8px;
  background: linear-gradient(135deg, #ff8a00, #ff5a00);
  font-size: 11px;
  box-shadow: 0 8px 18px rgba(255, 106, 0, 0.24);
}

.yx-modal-section__body--tight {
  padding: 8px 0 0;
}

.yx-modal-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 2px 0;
}

.yx-modal-meta-row__label {
  color: var(--yx-color-text-strong);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
}

.yx-modal-meta-row__value {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
  word-break: break-word;
}

.yx-modal-code,
.yx-modal-thinking {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--yx-radius-inner);
  border: 1px solid var(--yx-color-border);
  background: #fafafa;
  color: var(--yx-color-text);
  font-family: "SFMono-Regular", "Menlo", "Monaco", "Consolas", monospace;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  overflow: auto;
}

.yx-modal-code.yx-modal-code--request,
pre.yx-modal-code--request {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.yx-modal-code.yx-modal-code--plain,
pre.yx-modal-code--plain {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  font-family: var(--yx-font-family);
  font-size: var(--yx-font-size-body);
  line-height: 1.8;
  font-weight: var(--yx-font-weight-regular);
  color: var(--yx-color-text);
  max-height: min(46vh, 420px);
  overflow: auto !important;
}

.yx-modal-code.yx-modal-code--viewer,
pre.yx-modal-code--viewer {
  min-height: 220px;
  max-height: min(48vh, 420px);
  border-color: var(--yx-color-border-strong);
  background: #fcfcfd;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-family: var(--yx-font-family);
  font-size: var(--yx-font-size-body);
  line-height: 1.8;
  font-weight: var(--yx-font-weight-regular);
  color: var(--yx-color-text);
  overflow: auto;
  overflow-wrap: anywhere;
}

.yx-modal-section__body > .yx-modal-code.yx-modal-code--viewer,
.yx-modal-section__body > pre.yx-modal-code.yx-modal-code--viewer {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.yx-modal-thinking {
  max-height: 280px;
  background: #f8f8fa;
}

.yx-alert-body {
  padding: 2px 0 4px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--yx-color-text);
}

.yx-alert-reason {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--yx-radius-inner);
  background: #fff7f7;
  border: 1px solid #ffd8d8;
  color: #9f1239;
  font-size: 14px;
  line-height: 1.9;
}

.yx-modal--md .yx-alert-reason {
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 18px 18px 18px 16px;
  border-radius: 14px;
  border-color: #f7d7d7;
  background: linear-gradient(180deg, #fff8f8 0%, #fff4f4 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #9f1239;
}

.yx-alert-reason__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e58d8b;
  margin-top: 3px;
}

.yx-modal--md .yx-alert-reason__icon {
  width: 22px;
  height: 22px;
  margin-top: 0;
  color: #de8d8a;
}

.yx-alert-reason__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.yx-modal--md .yx-alert-reason__icon svg {
  width: 22px;
  height: 22px;
}

.yx-alert-reason__text {
  flex: 1 1 auto;
  min-width: 0;
}

.yx-modal--md .yx-alert-reason__text {
  font-size: 14px;
  line-height: 1.95;
}

.yx-alert-copy-button {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.88;
  transition: opacity 0.2s ease;
  --yx-copy-icon-size: 24px;
}

.yx-modal--md .yx-alert-copy-button {
  width: 32px;
  height: 32px;
}

.yx-alert-copy-button--danger,
.yx-alert-reason .yx-alert-copy-button {
  color: #d79a99;
  opacity: 1;
}

.yx-alert-copy-button--danger:hover,
.yx-alert-copy-button--danger.is-copied,
.yx-alert-copy-button--danger.is-error,
.yx-alert-reason .yx-alert-copy-button:hover,
.yx-alert-reason .yx-alert-copy-button.is-copied,
.yx-alert-reason .yx-alert-copy-button.is-error {
  color: #d79a99;
  opacity: 1;
}

.yx-alert-copy-button:hover {
  color: inherit;
  opacity: 1;
}

.yx-alert-copy-button.is-copied {
  color: inherit;
  opacity: 1;
}

.yx-alert-copy-button.is-error {
  color: inherit;
  opacity: 1;
}

.yx-alert-copy-button__icon {
  width: 19px;
  height: 19px;
  display: block;
}

.yx-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 6000;
  min-width: 120px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.92);
  color: #ffffff;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.yx-toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.yx-modal--md .yx-alert-reason:first-child {
  margin-top: 2px;
}

/* Notice-style md modals keep the secondary content area neutral.
   Only the alert strip itself carries the warm prompt color. */
.yx-modal--md .yx-alert-reason + .yx-modal-section {
  border-color: #e8ebf2;
  background: #ffffff;
  box-shadow: none;
}

.yx-modal--md .yx-alert-reason + .yx-modal-section .yx-modal-section__head {
  border-bottom-color: #eceff5;
  background: #f8f9fb;
}

.yx-modal--md .yx-alert-reason + .yx-modal-section .yx-modal-section__body {
  background: #ffffff;
}

.yx-modal-form-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
}

.yx-modal-form-section__title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 15px;
  font-weight: 700;
}

.yx-modal-form-section__sub {
  margin: -4px 0 0;
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 1.7;
}

.yx-modal-field--full {
  grid-column: 1 / -1;
}

.yx-modal-confirm {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.yx-modal-confirm__icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(225, 29, 72, 0.16);
  background: #fff1f2;
  color: #e11d48;
  font-size: 24px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.05);
}

.yx-modal-confirm__icon svg,
.yx-modal-confirm__icon i {
  display: block;
  width: 1em;
  height: 1em;
}

.yx-modal-confirm__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yx-modal-confirm__copy h3 {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 18px;
}

.yx-modal-confirm__copy p {
  margin: 0;
  color: var(--yx-color-text);
  font-size: 14px;
  line-height: 1.9;
}

.yx-modal-confirm--retry .yx-modal-confirm__icon {
  flex: 0 0 auto;
  width: auto;
  min-width: 16px;
  height: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--yx-color-brand);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.yx-modal-confirm--retry .yx-modal-confirm__icon i,
.yx-modal-confirm--retry .yx-modal-confirm__icon svg {
  display: block;
}

.yx-modal-confirm--retry {
  padding-left: 10px;
}

.yx-modal-confirm--retry .yx-modal-confirm__copy {
  gap: 0;
}

.yx-modal-confirm--retry .yx-modal-confirm__copy p {
  font-size: 14px;
  line-height: 24px;
}

.yx-modal-confirm--retry .yx-modal-confirm__copy p strong {
  color: var(--yx-color-text-strong);
}

.yx-modal-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yx-modal-bullet {
  padding: 12px 14px;
  border-radius: var(--yx-radius-inner);
  border: 1px solid var(--yx-color-border);
  background: #fafafa;
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 1.8;
}

.yx-modal-bullet strong {
  color: var(--yx-color-text-strong);
}


.yx-table--standard {
  width: max-content;
  min-width: 100%;
  table-layout: fixed;
}

.yx-table--standard .yx-col-id {
  width: 260px;
  min-width: 260px;
  max-width: 260px;
}

.yx-table--standard .yx-col-link {
  width: 320px;
  min-width: 320px;
  max-width: 320px;
}

.yx-table--standard .yx-col-type {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.yx-table--standard .yx-col-status,
.yx-table--standard .yx-col-source {
  width: 136px;
  min-width: 136px;
  max-width: 136px;
}

.yx-table--standard .yx-col-time {
  width: 164px;
  min-width: 164px;
  max-width: 164px;
}

.yx-table--standard .yx-col-id .yx-table__main,
.yx-table--standard .yx-col-id .yx-table__sub,
.yx-table--standard .yx-col-link .yx-table__main,
.yx-table--standard .yx-col-link .yx-table__sub {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yx-table--task {
  width: max-content;
  min-width: 0;
  table-layout: fixed;
}

.yx-table--batch {
  width: 100%;
  min-width: 100%;
  table-layout: fixed;
}

.yx-table--task tbody td:not(.yx-col-status):not(.yx-table__action),
.yx-table--batch tbody td:not(.yx-col-status):not(.yx-table__action) {
  color: #6d6b77;
}

.yx-table--task tbody td:not(.yx-col-status):not(.yx-table__action) .yx-table__main,
.yx-table--batch tbody td:not(.yx-col-status):not(.yx-table__action) .yx-table__main,
.yx-table--task tbody td:not(.yx-col-status):not(.yx-table__action) .yx-table__sub,
.yx-table--batch tbody td:not(.yx-col-status):not(.yx-table__action) .yx-table__sub {
  color: inherit;
  font-weight: var(--yx-font-weight-regular);
  font-size: inherit;
  line-height: inherit;
}

.yx-table--task col.yx-col-id,
.yx-table--task .yx-col-id {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
}

.yx-table--task col.yx-col-index,
.yx-table--task .yx-col-index,
.yx-table--batch col.yx-col-index,
.yx-table--batch .yx-col-index {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}

.yx-table--task col.yx-col-type,
.yx-table--task .yx-col-type {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}

.yx-table--task col.yx-col-source,
.yx-table--task .yx-col-source {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.yx-table--task col.yx-col-time,
.yx-table--task .yx-col-time {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
}

.yx-table--task col.yx-col-link,
.yx-table--task .yx-col-link {
  width: var(--yx-link-col-width, 320px);
  min-width: var(--yx-link-col-width, 320px);
  max-width: var(--yx-link-col-width, 320px);
}

.yx-table--task .yx-col-link .yx-table__main,
.yx-table--task .yx-col-link .yx-table__sub,
.yx-table--task .yx-col-link .yx-table__main-link {
  display: block;
  width: 100%;
  max-width: var(--yx-link-col-width, 320px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yx-table--task .yx-col-time .yx-table__time,
.yx-table--batch .yx-col-time .yx-table__time {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-variant-numeric: tabular-nums;
}

.yx-datetime,
.yx-datetime--date {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.yx-datetime-range {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.yx-table--task thead th.yx-col-time,
.yx-table--task tbody td.yx-col-time {
  padding-left: 10px;
  padding-right: 10px;
}

.yx-table--task .yx-col-source .yx-chip {
  max-width: 100%;
}

.yx-table--task thead th.yx-table__action,
.yx-table--task tbody td.yx-table__action {
  width: var(--yx-action-col-width, 100px);
  min-width: var(--yx-action-col-width, 100px);
  max-width: var(--yx-action-col-width, 100px);
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
}

.yx-table--task col.yx-col-action,
.yx-table--task .yx-col-action {
  width: var(--yx-action-col-width, 100px);
  min-width: var(--yx-action-col-width, 100px);
  max-width: var(--yx-action-col-width, 100px);
}

.yx-table--task col.yx-col-action--wide,
.yx-table--task .yx-col-action--wide {
  width: var(--yx-action-col-width, 120px);
  min-width: var(--yx-action-col-width, 120px);
  max-width: var(--yx-action-col-width, 120px);
}

.yx-table--content-task {
  width: max-content;
  min-width: 100%;
  table-layout: fixed;
}

.yx-table--content-task .yx-col-index {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}

.yx-table--content-task .yx-col-account-name {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
}

.yx-table--content-task .yx-col-crawl-task-id {
  width: 210px;
  min-width: 210px;
  max-width: 210px;
}

.yx-table--content-task .yx-col-account-id,
.yx-table--content-task .yx-col-queue-index,
.yx-table--content-task .yx-col-content-count,
.yx-table--content-task .yx-col-pending-count {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}

.yx-table--content-task .yx-col-task-type {
  width: 130px;
  min-width: 130px;
  max-width: 130px;
}

.yx-table--content-task .yx-col-status {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  text-align: center;
}

.yx-table--content-task .yx-col-account-id {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.yx-table--content-task .yx-col-text-stats,
.yx-table--content-task .yx-col-filter-stats,
.yx-table--content-task .yx-col-vector-stats {
  width: 400px;
  min-width: 400px;
  max-width: 400px;
}

.yx-table--content-task .yx-col-exception-count {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}

.yx-table--content-task .yx-col-time {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
}

.yx-table--content-task .yx-table__action {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}

.yx-table--content-task .yx-col-queue-index,
.yx-table--content-task .yx-col-content-count,
.yx-table--content-task .yx-col-pending-count,
.yx-table--content-task .yx-col-exception-count {
  text-align: center;
}

.yx-table--content-task thead th.yx-col-text-stats,
.yx-table--content-task thead th.yx-col-filter-stats,
.yx-table--content-task thead th.yx-col-vector-stats {
  text-align: center;
}

.yx-table--content-task tbody td:not(.yx-col-status):not(.yx-table__action) .yx-table__main,
.yx-table--content-task tbody td:not(.yx-col-status):not(.yx-table__action) .yx-table__sub,
.yx-table--content-task tbody td:not(.yx-col-status):not(.yx-table__action) .yx-table__text {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yx-content-task-stats {
  display: grid;
  grid-template-columns: 72px 12px 72px 12px 72px;
  align-items: center;
  justify-content: center;
  width: 240px;
  max-width: 100%;
  margin: 0 auto;
}

.yx-content-task-stats--quad {
  grid-template-columns: 76px 12px 76px 12px 76px 12px 76px;
  width: 340px;
}

.yx-table--content-task .yx-content-task-stats .yx-inline-split__value {
  font-size: 13px;
  line-height: 1.6;
}

.yx-table--content-task .yx-content-task-stats .yx-inline-split__value--left,
.yx-table--content-task .yx-content-task-stats .yx-inline-split__value--center,
.yx-table--content-task .yx-content-task-stats .yx-inline-split__value--right {
  text-align: center;
}

.yx-table--content-task thead .yx-content-task-stats .yx-inline-split__value {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.yx-table--content-task .yx-content-task-stats .yx-inline-split__value.is-waiting {
  color: var(--yx-color-text-muted);
}

.yx-table--content-task .yx-content-task-stats .yx-inline-split__value.is-pending {
  color: var(--yx-color-info);
}

.yx-table--content-task .yx-content-task-stats .yx-inline-split__value.is-done {
  color: var(--yx-color-success);
}

.yx-table--content-task .yx-content-task-stats .yx-inline-split__value.is-running,
.yx-table--content-task .yx-content-task-stats .yx-inline-split__value.is-failed {
  color: var(--yx-color-danger);
}

.yx-table--batch thead th.yx-table__action,
.yx-table--batch tbody td.yx-table__action {
  width: var(--yx-action-col-width, 100px);
  min-width: var(--yx-action-col-width, 100px);
  max-width: var(--yx-action-col-width, 100px);
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
  position: static;
  right: auto;
  border-left: 0;
  box-shadow: none;
}

.yx-table--batch col.yx-col-action,
.yx-table--batch .yx-col-action {
  width: var(--yx-action-col-width, 100px);
  min-width: var(--yx-action-col-width, 100px);
  max-width: var(--yx-action-col-width, 100px);
}

.yx-table--batch .yx-col-batch-id,
.yx-table--batch .yx-col-customer-name,
.yx-table--batch .yx-col-plan-range {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
}

.yx-table--batch .yx-col-account-count,
.yx-table--batch .yx-col-item-count {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}

.yx-table--batch .yx-datetime-range {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yx-table--batch thead th.yx-table__action {
  background: var(--yx-color-surface-soft);
}

.yx-table--batch tbody tr:nth-child(even) td.yx-table__action {
  background: #fcfcfc;
}

.yx-table--batch tbody tr:hover td.yx-table__action {
  background: #fff8f2;
}

.yx-rebuild-pillbox {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.yx-console-stage {
  display: grid;
  grid-template-columns: clamp(276px, 20vw, 292px) minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
  max-width: 100%;
}

.yx-console-stage__sidebar {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  min-height: 0;
  padding: 24px 0;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  background: var(--yx-color-surface);
  box-shadow: var(--yx-shadow-card);
  overflow: hidden;
}

.yx-console-stage__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 30px 20px;
}

.yx-console-stage__brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--yx-color-brand) 0%, #ffa24b 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(255, 102, 0, 0.18);
  flex: 0 0 auto;
  animation: yx-brand-float 2.6s ease-in-out infinite;
  will-change: transform;
}

.yx-console-stage__brand-mark svg,
.yx-console-stage__nav-label svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
  stroke: none;
}

.yx-console-stage__brand-mark svg {
  width: 17px;
  height: 17px;
}

.yx-console-stage__brand-mark i {
  font-size: 19px;
  line-height: 1;
}

@keyframes yx-brand-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.yx-console-stage__brand-copy {
  display: grid;
  gap: 4px;
  flex: 1 1 0;
  justify-items: start;
  min-width: 0;
}

.yx-console-stage__brand-title {
  display: inline-block;
  max-width: 100%;
  color: var(--yx-color-brand);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  white-space: nowrap;
}

.yx-console-stage__brand-sub {
  display: inline-block;
  max-width: 100%;
  color: #8f95a3;
  font-size: 9px;
  line-height: 14px;
  letter-spacing: 0;
  font-weight: var(--yx-font-weight-semibold);
  white-space: nowrap;
  text-transform: uppercase;
}

.yx-console-stage__nav {
  display: grid;
  align-content: start;
  gap: 2px;
  min-height: 0;
  overflow: auto;
  margin-top: -10px;
  padding: 0 20px;
}

.yx-console-stage__nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 16px;
  border-radius: var(--yx-radius-control);
  background: transparent;
  color: #6f7b91;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.yx-console-stage__nav-item:hover {
  background: #f7f7f8;
  color: var(--yx-color-text-strong);
}

.yx-console-stage__nav-label {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  font-size: 15px;
  line-height: 22px;
  font-weight: var(--yx-font-weight-semibold);
}

.yx-console-stage__nav-label > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yx-console-stage__nav-label svg {
  width: 20px;
  height: 20px;
  color: #97a0b4;
  flex: 0 0 auto;
}

.yx-console-stage__nav-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ff5c57;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1;
  font-weight: var(--yx-font-weight-bold);
  box-shadow: 0 6px 14px rgba(255, 92, 87, 0.18);
}

.yx-console-stage__nav-item--active {
  background: linear-gradient(135deg, var(--yx-color-brand) 0%, #ff8426 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(255, 102, 0, 0.14);
}

.yx-console-stage__nav-item--active:hover {
  background: linear-gradient(135deg, var(--yx-color-brand) 0%, #ff8426 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(255, 102, 0, 0.16);
}

.yx-console-stage__nav-item--active .yx-console-stage__nav-label svg {
  color: #fff;
}

.yx-console-stage__nav-item--active .yx-console-stage__nav-badge {
  background: #fff;
  color: var(--yx-color-brand);
  box-shadow: none;
}

.yx-console-stage__foot {
  display: grid;
  gap: 12px;
  padding: 12px 24px 0;
  justify-items: center;
  text-align: center;
}

.yx-console-stage__foot-copy {
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 20px;
  font-weight: var(--yx-font-weight-semibold);
  max-width: 244px;
  word-break: break-word;
}

.yx-console-stage__foot-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  color: #b6bccb;
  font-size: 12px;
  white-space: nowrap;
}

.yx-console-stage__foot-actions a {
  color: #2f7dff;
  text-decoration: none;
  font-weight: 600;
  line-height: 18px;
}

.yx-console-stage__foot-actions span {
  color: #b6bccb;
  line-height: 18px;
}

.yx-console-stage__foot-actions a:hover {
  color: #2f7dff;
  text-decoration: underline;
}

.yx-console-stage__foot-actions a:visited {
  color: #2f7dff;
}

.yx-console-stage__main {
  min-width: 0;
  display: grid;
  gap: 20px;
  min-height: 0;
}

.yx-console-stage__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  min-height: 72px;
  padding: 0 22px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  background: var(--yx-color-surface);
  box-shadow: var(--yx-shadow-card);
}

.yx-console-stage__topbar-meta,
.yx-console-stage__topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
  min-width: 0;
}

.yx-task-detail-topbar {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.yx-task-detail-topbar__title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 16px;
  line-height: 24px;
  font-weight: var(--yx-font-weight-semibold);
  white-space: nowrap;
}

.yx-task-detail-topbar__back {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 30px;
  padding: 0;
  border: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  color: var(--yx-color-text-strong);
  border-radius: 0;
  cursor: pointer;
}

.yx-task-detail-topbar__back .yx-pagination__icon {
  width: 20px;
  height: 20px;
}

.yx-task-detail-topbar__back .yx-pagination__icon path {
  stroke-width: 2;
}

.yx-task-detail-topbar__back:hover,
.yx-task-detail-topbar__back:focus-visible,
.yx-task-detail-topbar__back:active {
  border: 0;
  outline: none;
  background: transparent;
  color: var(--yx-color-text-strong);
  box-shadow: none;
}

.yx-console-stage__topbar-meta span,
.yx-console-note {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-pill);
  background: var(--yx-color-surface);
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 18px;
}

.yx-console-stage__topbar-meta .yx-btn {
  margin-left: 2px;
}

.yx-service-status-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 46px;
  padding: 0 18px;
  border: 1px solid #cfe0ff;
  border-radius: var(--yx-radius-control);
  background: #eef4ff;
  color: #4d7dff;
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--yx-font-weight-semibold);
  white-space: nowrap;
  cursor: default;
  box-shadow: none;
}

.yx-service-status-btn:hover {
  border-color: #cfe0ff;
  background: #eef4ff;
  color: #4d7dff;
}

.yx-service-status-btn:disabled,
.yx-service-status-btn[aria-disabled="true"] {
  opacity: 1;
}

.yx-service-status-btn__icon {
  width: 16px;
  height: 16px;
  color: currentColor;
  fill: currentColor;
  animation: yx-service-spin 1.6s linear infinite;
}

.yx-service-status-btn__icon use {
  fill: currentColor;
}

.yx-console-stage__content {
  min-width: 0;
  max-width: 100%;
  display: grid;
  gap: 20px;
  overflow-x: hidden;
}

.yx-console-block,
.yx-blueprint-card {
  padding: 20px;
  display: grid;
  gap: 20px;
  min-width: 0;
  max-width: 100%;
}

.yx-console-block__head,
.yx-blueprint-card__head,
.yx-code-window__head,
.yx-setting-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.yx-console-block__head h3,
.yx-blueprint-card__head h3,
.yx-setting-card__head h4 {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 18px;
  line-height: 28px;
}

.yx-console-block__head p,
.yx-blueprint-card__head p,
.yx-setting-card__text {
  margin: 6px 0 0;
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 21px;
}

.yx-task-monitor {
  display: grid;
  gap: 14px;
}

.yx-task-monitor__banner {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--yx-radius-control);
  background: #f9f9f9;
}

.yx-task-monitor__banner strong {
  color: var(--yx-color-text-strong);
  font-size: 14px;
  line-height: 40px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-task-monitor__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}

.yx-task-worker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 16px 16px 14px;
  border: 1px solid #ececf1;
  border-radius: var(--yx-radius-control);
  background: #ffffff;
}

.yx-task-worker__meta {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 10px;
}

.yx-task-worker__row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.yx-task-worker__row strong {
  flex: 0 0 auto;
  color: #676f81;
  font-size: 13px;
  line-height: 20px;
  font-weight: var(--yx-font-weight-medium);
}

.yx-task-worker__row span {
  min-width: 0;
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 20px;
  font-weight: var(--yx-font-weight-semibold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yx-task-ring {
  --yx-ring-progress: 0.88;
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
}

.yx-task-ring svg {
  display: block;
  width: 72px;
  height: 72px;
  transform: rotate(-90deg);
}

.yx-task-ring__track {
  fill: none;
  stroke: #e9f6ed;
  stroke-width: 2;
}

.yx-task-ring__value {
  fill: none;
  stroke: #2fc467;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 188.5;
  stroke-dashoffset: calc(188.5 * (1 - var(--yx-ring-progress, 0.88)));
}

.yx-task-ring__text {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8f98ab;
  font-size: 15px;
  line-height: 1;
  font-weight: var(--yx-font-weight-bold);
}

@keyframes yx-service-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.yx-task-console__head {
  display: inline-flex;
  align-items: baseline;
  padding-left: 10px;
  gap: 8px;
  margin: -5px 0;
  flex-wrap: wrap;
}

.yx-task-console__title {
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 18px;
  font-weight: var(--yx-font-weight-bold);
}

.yx-task-console__sub {
  color: #9aa2b3;
  font-size: 11px;
  line-height: 16px;
  font-weight: var(--yx-font-weight-semibold);
}

.yx-task-console {
  border: 1px solid #2b2f3d;
  border-radius: var(--yx-radius-control);
  background: #282b38;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  height: 152px;
  min-height: 152px;
  max-height: 152px;
  overflow-y: auto;
}

.yx-task-console__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.yx-task-console__item {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 30px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.yx-task-console__item:last-child {
  border-bottom: 0;
}

.yx-task-console__time {
  flex: 0 0 auto;
  min-width: 0;
  color: #a8b0c3;
  font-size: 11px;
  line-height: 30px;
  font-weight: var(--yx-font-weight-regular);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.yx-task-console__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 30px;
  flex: 0 0 14px;
  margin-left: 10px;
  margin-right: 6px;
  color: #ffb45c;
  font-size: 11px;
  line-height: 30px;
}

.yx-task-console__text {
  flex: 1 1 auto;
  min-width: 0;
  color: #93f0a5;
  font-size: 12px;
  line-height: 30px;
  font-weight: var(--yx-font-weight-regular);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yx-docs-stack {
  display: grid;
  gap: 16px;
}

.yx-docs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.yx-settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 20px;
  align-items: start;
}

.yx-code-window,
.yx-setting-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-control);
  background: #fbfbfc;
}

.yx-code-window__head span {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-setting-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.yx-setting-card__list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--yx-color-divider);
}

.yx-setting-card__list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.yx-setting-card__list strong {
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 20px;
}

.yx-setting-card__list span {
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 20px;
  text-align: right;
  min-width: 0;
}

.yx-blueprint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.yx-live-preview {
  margin-top: 20px;
  padding: 20px;
  display: grid;
  gap: 20px;
}

.yx-preview-link-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.yx-preview-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-pill);
  background: var(--yx-color-surface);
  color: var(--yx-color-text);
  text-decoration: none;
  font-size: 13px;
  line-height: 20px;
  font-weight: var(--yx-font-weight-semibold);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.yx-preview-link:hover {
  color: var(--yx-color-brand);
  border-color: rgba(255, 102, 0, 0.24);
  background: #fff8f2;
  box-shadow: 0 8px 18px rgba(255, 102, 0, 0.1);
}

.yx-preview-embed {
  padding: 14px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  background: #f6f7f9;
}

.yx-preview-embed__frame {
  display: block;
  width: 100%;
  height: 1360px;
  border: 0;
  border-radius: calc(var(--yx-radius-card) - 6px);
  background: var(--yx-color-surface);
}

.yx-code-window__head strong {
  color: var(--yx-color-text-strong);
  font-size: 16px;
  line-height: 24px;
}

.yx-code-window .yx-code {
  margin-top: 16px;
  min-height: 228px;
  background: #fff8f2;
}

.yx-code-window--code .yx-code {
  border-color: #232a39;
  background: linear-gradient(180deg, #222938 0%, #171c27 100%);
  color: #8ec5ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.yx-code-window--code .yx-code--dense {
  white-space: pre;
  word-break: normal;
}

.yx-settings-stack {
  display: grid;
  gap: 16px;
}

.yx-icon-solid svg {
  fill: currentColor !important;
  stroke: none !important;
}

.yx-preview-body--app .yx-console-stage {
  min-height: calc(100vh - 40px);
  min-height: calc(100dvh - 40px);
  height: calc(100vh - 40px);
  height: calc(100dvh - 40px);
  align-items: stretch;
}

.yx-preview-body--app .yx-console-stage__sidebar {
  position: sticky;
  top: 20px;
  min-height: calc(100vh - 40px);
  min-height: calc(100dvh - 40px);
  height: calc(100vh - 40px);
  height: calc(100dvh - 40px);
}

.yx-preview-body--app .yx-console-stage__main {
  min-height: 0;
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 20px;
  overflow: hidden;
}

.yx-preview-body--app .yx-console-stage__main.yx-console-stage__main--no-topbar {
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
}

.yx-preview-body--app .yx-console-stage__topbar {
  position: relative;
  top: auto;
  z-index: 2;
}

.yx-preview-body--app .yx-console-stage__content {
  min-height: 0;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 0;
}

.yx-preview-body--app .yx-console-stage__content > * + * {
  margin-top: 20px;
}

.yx-preview-body--app .yx-console-stage__content > [hidden] + * {
  margin-top: 0;
}

.yx-preview-body--app .yx-list-shell {
  overflow: hidden;
}

.yx-preview-body--app .yx-table-wrap {
  min-height: 0;
  overflow: auto;
}

.yx-preview-body--app .yx-console-stage__content > .yx-panel,
.yx-preview-body--app .yx-docs-layout,
.yx-preview-body--app .yx-settings-layout,
.yx-preview-body--app .yx-docs-stack,
.yx-preview-body--app .yx-settings-stack,
.yx-preview-body--app .yx-code-window,
.yx-preview-body--app .yx-detail-block,
.yx-preview-body--app .yx-setting-card {
  min-height: 0;
}

.yx-preview-body--app .yx-code-window .yx-code {
  max-height: 260px;
}

.yx-mini-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yx-preview-body--app .yx-console-stage__content > .yx-docs-stage {
  min-height: 100%;
}

.yx-preview-body--app .yx-docs-stage {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  height: auto;
  min-width: 0;
  min-height: 100%;
  max-height: none;
  overflow: visible;
  gap: var(--yx-space-card);
  padding: var(--yx-space-card);
}

.yx-preview-body--app .yx-docs-stage > .yx-sub-tabs {
  flex: 0 0 auto;
  display: flex;
  width: 100%;
  margin: 0;
  padding-left: 10px;
}

.yx-preview-body--app .yx-doc-section {
  flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 0;
  padding-right: 0;
  overflow: visible;
}

.yx-preview-body--app .yx-doc-section[hidden] {
  display: none !important;
}

.yx-preview-body--app .yx-doc-section > :first-child {
  margin-top: 0;
}

.yx-preview-body--app .yx-docs-stage h2 {
  color: var(--yx-color-text-strong);
  padding-left: 10px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.yx-preview-body--app .yx-docs-stage h3 {
  color: var(--yx-color-text-strong);
  padding-left: 10px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
}

.yx-preview-body--app .yx-docs-stage h2,
.yx-preview-body--app .yx-docs-stage h3,
.yx-preview-body--app .yx-docs-stage p,
.yx-preview-body--app .yx-docs-stage ul,
.yx-preview-body--app .yx-docs-stage ol,
.yx-preview-body--app .yx-docs-stage table,
.yx-preview-body--app .yx-docs-stage .yx-docs-code-panel,
.yx-preview-body--app .yx-docs-stage .yx-docs-code-surface,
.yx-preview-body--app .yx-docs-stage .yx-note-box {
  margin-top: 0;
  margin-bottom: 16px;
}

.yx-preview-body--app .yx-docs-stage p,
.yx-preview-body--app .yx-docs-stage li {
  margin: 0 0 14px;
  color: var(--yx-color-text);
  font-size: 14px;
  line-height: 24px;
}

.yx-preview-body--app .yx-docs-stage > .yx-doc-section > p {
  padding-left: 10px;
}

.yx-preview-body--app .yx-docs-stage p > strong:only-child {
  display: inline-block;
  color: var(--yx-color-text-strong);
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
}

.yx-preview-body--app .yx-docs-stage code {
  display: inline-block;
  padding: 0 5px;
  border-radius: 4px;
  background: #f5f7fa;
  color: #2f6db4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 20px;
}

.yx-preview-body--app .yx-console-stage__content--settings {
  min-height: 0;
  overflow: auto;
}

.yx-preview-body--app .yx-settings-stage {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--yx-space-card);
  gap: 20px;
}

/* Preview shell helpers for crawl-p0-preview.html */
html.yx-shell-frame-embed,
body.yx-shell-frame-embed {
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  overflow: hidden !important;
  background: transparent !important;
}

body.yx-shell-frame-embed.yx-preview-body--app .yx-preview-page {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: transparent !important;
  overflow: hidden !important;
}

body.yx-shell-frame-embed #app {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.yx-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.yx-console-embed {
  min-height: calc(100vh - 40px);
  min-height: calc(100dvh - 40px);
  height: calc(100vh - 40px);
  height: calc(100dvh - 40px);
}

.yx-console-embed .yx-console-stage__main {
  min-height: 0;
  height: 100%;
  display: grid;
  gap: 20px;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.yx-console-embed .yx-console-stage__main--content-only {
  grid-template-rows: minmax(0, 1fr);
}

.yx-console-embed .yx-console-stage__content {
  min-height: 0;
  height: 100%;
  overflow: auto;
  padding-right: 0;
}

.yx-console-embed .yx-console-stage__content--settings {
  display: flex;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: contain;
}

body.yx-shell-frame-embed .yx-console-embed {
  min-height: 100%;
  height: 100%;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

body.yx-shell-frame-embed .yx-console-embed .yx-console-stage__main {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

body.yx-shell-frame-embed .yx-console-embed .yx-console-stage__main--content-only {
  grid-template-rows: minmax(0, 1fr);
}

body.yx-shell-frame-embed .yx-console-stage__content {
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
}

body.yx-shell-frame-embed .yx-console-stage__content--settings {
  display: flex;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: contain;
}

.yx-console-stage__nav-label i {
  width: 18px;
  min-width: 18px;
  text-align: center;
  font-size: 15px;
  line-height: 1;
}

.yx-settings-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  border: 0;
  background: transparent;
}

.yx-settings-frame-host {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.yx-modal-detail-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 0 auto;
  min-width: 0;
}

.yx-modal-inline-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yx-modal-spacer {
  height: 24px;
  flex: 0 0 24px;
  background: transparent;
  pointer-events: none;
}

.yx-modal-media--audio-centered {
  --yx-modal-media-audio-width: min(560px, 100%);
  --yx-modal-media-audio-justify: center;
}

.yx-modal-media__audio--center {
  display: block;
  margin: 0 auto;
}

.yx-table__priority--retry {
  color: #e11d48;
  font-weight: 600;
}

.yx-cover-gen-candidate-list {
  display: flex;
  flex-direction: column;
}

.yx-cover-gen-candidate-row {
  display: grid;
  grid-template-columns: 100px 100px minmax(0, 1fr) 100px;
  min-height: 52px;
}

.yx-cover-gen-candidate-row + .yx-cover-gen-candidate-row {
  border-top: 1px solid var(--yx-color-divider);
}

.yx-cover-gen-candidate-row--head {
  background: var(--yx-color-surface-soft);
  color: var(--yx-color-text);
  font-size: 13px;
  font-weight: var(--yx-font-weight-semibold);
}

.yx-cover-gen-candidate-row--body {
  background: var(--yx-color-surface);
}

.yx-cover-gen-candidate-row--alt {
  background: #fcfcfc;
}

.yx-cover-gen-candidate-row--body:hover {
  background: #fff8f2;
}

.yx-cover-gen-candidate-cell {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 16px;
  color: var(--yx-color-text);
}

.yx-cover-gen-candidate-row--head .yx-cover-gen-candidate-cell {
  color: var(--yx-color-text);
}

.yx-cover-gen-candidate-cell--score,
.yx-cover-gen-candidate-cell--action {
  justify-content: center;
  text-align: center;
}

.yx-cover-gen-candidate-cell--reason {
  overflow: hidden;
}

.yx-cover-gen-candidate-cell--reason .yx-table__main {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.yx-cover-gen-candidate-cell--action {
  border-left: 1px solid var(--yx-color-divider);
}

.yx-cover-gen-candidate-index {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.yx-cover-gen-candidate-best {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 40px;
  height: 28px;
  margin-left: 5px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a00, #ff5a00);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(255, 106, 0, 0.28);
}

.yx-cover-gen-candidate-row--body:hover .yx-cover-gen-candidate-cell--action {
  background: #fff8f2;
}

.yx-cover-gen-candidate-cell--action .yx-action-group {
  width: 100%;
  justify-content: center;
}

.yx-cover-gen-candidate-empty {
  padding: 26px 16px;
  color: #8f95a3;
  text-align: center;
}

.yx-settings-stage__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.yx-settings-stage__intro {
  min-width: 0;
}

.yx-settings-stage__title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}

.yx-settings-stage__desc {
  margin: 8px 0 0;
  color: var(--yx-color-text-muted);
  font-size: 13px;
  line-height: 21px;
}

.yx-settings-stage__desc code {
  white-space: nowrap;
}

.yx-settings-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: var(--yx-radius-inner);
  border: 1px solid var(--yx-color-border);
  background: #f5f7fa;
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}

.yx-settings-state--saving {
  border-color: #bfdcff;
  background: #f1f8ff;
  color: #1d5fd0;
}

.yx-settings-state--success {
  border-color: #b7ebc6;
  background: #f3fff7;
  color: #128f43;
}

.yx-settings-state--error {
  border-color: #ffc9c5;
  background: #fff5f4;
  color: #cc3b32;
}


.yx-settings-form {
  min-width: 0;
  gap: 20px;
}

.yx-settings-field--full {
  grid-column: 1 / -1;
}

.yx-apikey-stage {
  gap: 16px;
}

.yx-apikey-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.yx-apikey-toolbar .yx-toolbar__search--standard {
  width: 360px;
  min-width: 360px;
  max-width: 360px;
  flex: 0 0 360px;
}

.yx-apikey-toolbar .yx-toolbar__filter {
  width: 180px;
  flex: 0 0 180px;
}

.yx-apikey-toolbar .yx-btn {
  flex: 0 0 auto;
}

.yx-main-nav--apikey {
  gap: 24px;
}

.yx-main-nav--apikey .yx-main-nav__item {
  min-width: 88px;
  font-size: 13px;
}

.yx-main-nav--apikey .yx-main-nav__item--active {
  font-size: 14px;
}

.yx-apikey-filters {
  display: grid;
  gap: 10px;
  align-items: end;
}

.yx-apikey-filters--duration {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yx-apikey-filters--count {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yx-table--apikey .yx-col-id {
  width: 92px;
  min-width: 92px;
}

.yx-table--apikey .yx-col-memo {
  min-width: 188px;
}

.yx-table--apikey .yx-col-access {
  min-width: 250px;
}

.yx-apikey-access-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
}

.yx-apikey-access {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #24324d;
  font-size: 12px;
  line-height: 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.yx-apikey-copy-btn {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 18px;
}

.yx-table--apikey .yx-col-period,
.yx-table--apikey .yx-col-count,
.yx-table--apikey .yx-col-status {
  min-width: 96px;
}

.yx-table--apikey .yx-col-start_at,
.yx-table--apikey .yx-col-end_at,
.yx-table--apikey .yx-col-created_at {
  min-width: 160px;
}

.yx-table--apikey .yx-col-services {
  min-width: 220px;
}

.yx-table--apikey .yx-col-action,
.yx-table--apikey .yx-table__action {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
  text-align: center;
}

.yx-table--apikey thead th.yx-col-action,
.yx-table--apikey tbody td.yx-col-action {
  position: sticky;
  right: 0;
  z-index: 2;
  box-shadow: -8px 0 10px rgba(0, 0, 0, 0.03);
}

.yx-table--apikey thead th.yx-col-action {
  z-index: 3;
}

.yx-table-wrap.is-no-x-scroll .yx-table--apikey thead th.yx-col-action,
.yx-table-wrap.is-no-x-scroll .yx-table--apikey tbody td.yx-col-action {
  position: relative;
  right: auto;
  z-index: 1;
  box-shadow: none;
}

.yx-table-wrap.is-no-x-scroll .yx-table--apikey thead th.yx-col-action {
  z-index: 3;
}

.yx-apikey-services {
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 21px;
}

.yx-apikey-footer-note {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-apikey-action--disabled {
  color: #a0a8ba;
  font-size: 12px;
  line-height: 18px;
}

.yx-apikey-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.yx-apikey-create-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  column-gap: 10px;
  row-gap: 20px !important;
  margin-bottom: 20px;
}

.yx-apikey-create-fields .yx-apikey-field--desc {
  grid-column: span 2;
}


.yx-apikey-all-service-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #444;
  cursor: pointer;
}

.yx-apikey-all-service-control--on {
  background: transparent;
}

.yx-apikey-all-service-control:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--yx-color-focus-ring);
  border-radius: 6px;
}

.yx-apikey-service-section {
  display: grid;
  gap: 10px;
}

.yx-apikey-service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.yx-apikey-service-head-right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.yx-apikey-service-head-label {
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
}

.yx-apikey-service-title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
}

.yx-apikey-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #e3e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.yx-apikey-service-item:hover {
  border-color: #d2d9e6;
}

.yx-apikey-service-item--on {
  border-color: #9bd8b4;
  background: #f1fcf5;
}

.yx-apikey-service-item--off {
  border-color: #e3e8f0;
  background: #fff;
}

.yx-apikey-service-item.is-disabled {
  background: #f7f8fa;
}

.yx-switch-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yx-switch-control--compact {
  width: 44px;
  height: 24px;
}

.yx-switch-control input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: auto;
  cursor: pointer;
}

.yx-switch {
  display: inline-block;
  vertical-align: middle;
  --yx-switch-track-width: 32px;
  --yx-switch-track-height: 12px;
  --yx-switch-thumb-size: 24px;
  position: relative;
  width: var(--yx-switch-track-width);
  height: var(--yx-switch-track-height);
  border-radius: calc(var(--yx-switch-track-height) / 2);
  background: var(--yx-color-border);
  transition: background-color 0.3s ease;
}

.yx-switch::after {
  content: "";
  position: absolute;
  top: calc((var(--yx-switch-track-height) - var(--yx-switch-thumb-size)) / 2);
  left: calc((var(--yx-switch-track-height) - var(--yx-switch-thumb-size)) / 2);
  width: var(--yx-switch-thumb-size);
  height: var(--yx-switch-thumb-size);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.yx-switch-control input:checked + .yx-switch,
.yx-switch.is-on {
  background: #22c900;
}

.yx-switch-control input:checked + .yx-switch::after,
.yx-switch.is-on::after {
  transform: translateX(calc(var(--yx-switch-track-width) - var(--yx-switch-track-height)));
}

.yx-apikey-service-item__switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 24px;
  margin-top: 0;
}

.yx-apikey-service-item__switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.yx-apikey-service-switch {
  --yx-switch-track-width: 32px;
  --yx-switch-track-height: 12px;
  --yx-switch-thumb-size: 24px;
  position: relative;
  width: var(--yx-switch-track-width);
  height: var(--yx-switch-track-height);
  border-radius: calc(var(--yx-switch-track-height) / 2);
  background: #d9d9d9;
  transition: background-color 0.3s ease;
}

.yx-apikey-service-switch::after {
  content: "";
  position: absolute;
  top: calc((var(--yx-switch-track-height) - var(--yx-switch-thumb-size)) / 2);
  left: calc((var(--yx-switch-track-height) - var(--yx-switch-thumb-size)) / 2);
  width: var(--yx-switch-thumb-size);
  height: var(--yx-switch-thumb-size);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.yx-apikey-service-switch.is-on {
  background: #22c900;
}

.yx-apikey-service-switch.is-on::after {
  transform: translateX(calc(var(--yx-switch-track-width) - var(--yx-switch-track-height)));
}

.yx-apikey-service-item__switch input:checked + .yx-apikey-service-switch {
  background: #22c900;
}

.yx-apikey-service-item__switch input:checked + .yx-apikey-service-switch::after {
  transform: translateX(calc(var(--yx-switch-track-width) - var(--yx-switch-track-height)));
}

.yx-apikey-service-item__switch input:disabled + .yx-apikey-service-switch {
  background: #dfe3eb;
}

.yx-apikey-service-item__switch input:disabled + .yx-apikey-service-switch::after {
  box-shadow: none;
}

.yx-apikey-service-item__name {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yx-apikey-service-item__code {
  flex: 0 0 auto;
  margin-left: auto;
  color: #9ba3b6;
  font-size: 11px;
  line-height: 20px;
  font-style: normal;
  white-space: nowrap;
}

.yx-apikey-form-error {
  margin-top: 4px;
  padding: 9px 10px;
  border: 1px solid #ffd3cf;
  border-radius: 10px;
  background: #fff7f6;
  color: #c63f36;
  font-size: 12px;
  line-height: 18px;
}

.yx-main-nav--ops {
  gap: 20px;
}

.yx-main-nav--ops .yx-main-nav__item {
  min-width: 96px;
}

.yx-switch-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--yx-color-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.yx-switch-card:hover {
  border-color: var(--yx-color-border-strong);
}

.yx-switch-card--on {
  border-color: #9bd8b4;
  background: #f1fcf5;
}

.yx-switch-card--off {
  border-color: var(--yx-color-border);
  background: #fff;
}

.yx-switch-card__switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 24px;
  flex: 0 0 44px;
}

.yx-switch-card__switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.yx-switch-card__switch input:checked + .yx-switch,
.yx-switch-card--on .yx-switch {
  background: #22c900;
}

.yx-switch-card__switch input:checked + .yx-switch::after,
.yx-switch-card--on .yx-switch::after {
  transform: translateX(calc(var(--yx-switch-track-width) - var(--yx-switch-track-height)));
}

.yx-switch-card__main {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
}

.yx-switch-card__sub {
  flex: 0 0 auto;
  margin-left: auto;
  color: #8f96a8;
  font-size: 12px;
  line-height: 20px;
}

.yx-ops-stage {
  display: grid;
  gap: 20px;
}

.yx-ops-card {
  gap: 16px;
}

.yx-ops-restart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.yx-ops-action-tile {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--yx-color-border);
  border-radius: 10px;
  background: #ffffff;
}

.yx-ops-action-tile h4 {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 15px;
  line-height: 24px;
}

.yx-ops-action-tile p {
  margin: 0;
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 20px;
}

.yx-ops-action-tile code {
  padding: 0 4px;
  border-radius: 4px;
  background: #f2f4f8;
  color: #2f3e63;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.yx-ops-strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.yx-ops-strategy-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--yx-color-border);
  border-radius: 10px;
  background: #ffffff;
}

.yx-ops-strategy-card h4,
.yx-ops-default-policy h4 {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
}

.yx-ops-hint {
  margin: 0;
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-ops-field-full {
  grid-column: 1 / -1;
}

.yx-ops-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.yx-ops-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #e3e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.yx-ops-service-item:hover {
  border-color: #d2d9e6;
}

.yx-ops-service-item--on {
  border-color: #9bd8b4;
  background: #f1fcf5;
}

.yx-ops-service-item__switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 24px;
}

.yx-ops-service-item__switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.yx-ops-service-switch {
  --yx-switch-track-width: 32px;
  --yx-switch-track-height: 12px;
  --yx-switch-thumb-size: 24px;
  position: relative;
  width: var(--yx-switch-track-width);
  height: var(--yx-switch-track-height);
  border-radius: calc(var(--yx-switch-track-height) / 2);
  background: #d9d9d9;
  transition: background-color 0.3s ease;
}

.yx-ops-service-switch::after {
  content: "";
  position: absolute;
  top: calc((var(--yx-switch-track-height) - var(--yx-switch-thumb-size)) / 2);
  left: calc((var(--yx-switch-track-height) - var(--yx-switch-thumb-size)) / 2);
  width: var(--yx-switch-thumb-size);
  height: var(--yx-switch-thumb-size);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.yx-ops-service-item__switch input:checked + .yx-ops-service-switch {
  background: #22c900;
}

.yx-ops-service-item__switch input:checked + .yx-ops-service-switch::after {
  transform: translateX(calc(var(--yx-switch-track-width) - var(--yx-switch-track-height)));
}

.yx-ops-service-item__name {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yx-ops-service-item__code {
  flex: 0 0 auto;
  color: #9ba3b6;
  font-size: 11px;
  line-height: 20px;
  white-space: nowrap;
}

.yx-ops-binary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #e3e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.yx-ops-binary:hover {
  border-color: #d2d9e6;
}

.yx-ops-binary--on {
  border-color: #9bd8b4;
  background: #f1fcf5;
}

.yx-ops-binary input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.yx-ops-binary__switch {
  --yx-switch-track-width: 32px;
  --yx-switch-track-height: 12px;
  --yx-switch-thumb-size: 24px;
  position: relative;
  width: var(--yx-switch-track-width);
  height: var(--yx-switch-track-height);
  border-radius: calc(var(--yx-switch-track-height) / 2);
  background: #d9d9d9;
  transition: background-color 0.3s ease;
}

.yx-ops-binary__switch::after {
  content: "";
  position: absolute;
  top: calc((var(--yx-switch-track-height) - var(--yx-switch-thumb-size)) / 2);
  left: calc((var(--yx-switch-track-height) - var(--yx-switch-thumb-size)) / 2);
  width: var(--yx-switch-thumb-size);
  height: var(--yx-switch-thumb-size);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.yx-ops-binary input:checked + .yx-ops-binary__switch {
  background: #22c900;
}

.yx-ops-binary input:checked + .yx-ops-binary__switch::after {
  transform: translateX(calc(var(--yx-switch-track-width) - var(--yx-switch-track-height)));
}

.yx-ops-binary__text {
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
}

.yx-ops-default-policy {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--yx-color-border);
  border-radius: 10px;
  background: #ffffff;
}

.yx-ops-policy-grid {
  gap: 12px;
}

.yx-table--ops-policy .yx-col-service {
  min-width: 160px;
}

.yx-table--ops-policy .yx-col-number {
  min-width: 160px;
}

.yx-table--ops-policy .yx-col-mode {
  min-width: 130px;
}

.yx-table--ops-policy .yx-number__input {
  min-width: 96px;
}

.yx-table--ops-policy .yx-select {
  min-width: 110px;
}

.yx-ops-active-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yx-table--ops-log .yx-col-id {
  width: 92px;
  min-width: 92px;
}

.yx-table--ops-log .yx-col-time {
  width: 180px;
  min-width: 180px;
}

.yx-table--ops-log .yx-col-log {
  min-width: 360px;
}

.yx-ops-empty {
  margin: 0;
}

.yx-main-nav--settings {
  gap: 20px;
}

.yx-main-nav--settings .yx-main-nav__item {
  min-width: 96px;
}

.yx-settings-user-stage {
  gap: 16px;
}

.yx-settings-user-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.yx-settings-user-toolbar .yx-toolbar__search--standard {
  width: 360px;
  min-width: 360px;
  max-width: 360px;
  flex: 0 0 360px;
}

.yx-settings-user-toolbar .yx-toolbar__filter {
  width: 180px;
  flex: 0 0 180px;
}

.yx-table--settings-user {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.yx-table--settings-user .yx-col-name {
  min-width: 140px;
}

.yx-table--settings-user .yx-col-phone {
  min-width: 136px;
}

.yx-table--settings-user .yx-col-role {
  min-width: 120px;
}

.yx-table--settings-user .yx-col-status {
  min-width: 96px;
}

.yx-table--settings-user .yx-col-time {
  min-width: 170px;
}

.yx-table--settings-user .yx-col-action,
.yx-table--settings-user .yx-table__action {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
}

.yx-table--settings-user thead th.yx-col-action,
.yx-table--settings-user tbody td.yx-col-action,
.yx-table--settings-user thead th.yx-table__action,
.yx-table--settings-user tbody td.yx-table__action {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
}

.yx-table--settings-user tbody td.yx-table__action {
  overflow: hidden;
}

.yx-settings-user-modal {
  gap: 20px;
}

.yx-settings-user-modal__title {
  margin-left: -10px;
}

.yx-settings-user-modal--add {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}




.yx-settings-user-modal--add .yx-settings-user-field--role {
  grid-column: 1 / span 1;
}

.yx-settings-user-modal--add .yx-settings-user-field--password {
  grid-column: 1 / span 1;
  grid-row: 3;
}

.yx-settings-user-modal--add .yx-settings-user-field--password-confirm {
  grid-column: 2 / span 1;
  grid-row: 3;
}

.yx-settings-user-error {
  margin-top: 12px;
  padding: 9px 10px;
  border: 1px solid #ffd3cf;
  border-radius: 10px;
  background: #fff7f6;
  color: #c63f36;
  font-size: 12px;
  line-height: 18px;
}

.yx-settings-summary-stage {
  display: grid;
  gap: 20px;
}

.yx-settings-summary-kpi {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.yx-settings-summary-kpi__item {
  display: grid;
  gap: 4px;
  min-height: 84px;
  padding: 14px;
  border: 1px solid var(--yx-color-border);
  border-radius: 10px;
  background: #ffffff;
}

.yx-settings-summary-kpi__item span {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-settings-summary-kpi__item strong {
  color: var(--yx-color-text-strong);
  font-size: 24px;
  line-height: 34px;
  font-weight: 700;
}

.yx-settings-summary-infra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.yx-settings-summary-infra__card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--yx-color-border);
  border-radius: 10px;
  background: #ffffff;
}

.yx-settings-summary-infra__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.yx-settings-summary-infra__head h4 {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
}

.yx-settings-summary-infra__card p {
  margin: 0;
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 21px;
}

.yx-settings-summary-infra__extra {
  color: var(--yx-color-text-muted) !important;
  font-size: 12px !important;
  line-height: 18px !important;
}

.yx-table--settings-summary .yx-col-service {
  min-width: 180px;
}

.yx-table--settings-summary .yx-col-number {
  min-width: 96px;
}

.yx-console-stage__content--summary {
  overflow: auto;
  gap: 16px;
}

.yx-summary-dashboard {
  display: grid;
  gap: 20px;
}

.yx-summary-overview-panel {
  padding-top: 16px;
  padding-bottom: 16px;
}

.yx-summary-overview-frame {
  padding: 12px;
  border: 1px solid #e5e7f0;
  border-radius: var(--yx-radius-card);
  background: #ffffff;
}

.yx-summary-stat-strip {
  gap: 14px;
}

.yx-summary-stat-strip .yx-stat-chip {
  box-shadow: none;
  border-color: var(--yx-stat-border, var(--yx-color-border));
  background: var(--yx-stat-bg, #ffffff);
}

.yx-summary-stat-strip .yx-stat-chip--brand {
  --yx-stat-border: #4c98ff;
  --yx-stat-bg: #ebf4ff;
}

.yx-summary-stat-strip .yx-stat-chip--warning {
  --yx-stat-border: #42c06e;
  --yx-stat-bg: #ebfaef;
}

.yx-summary-stat-strip .yx-stat-chip--info {
  --yx-stat-border: #ffad42;
  --yx-stat-bg: #fff6e9;
}

.yx-summary-stat-strip .yx-stat-chip--violet {
  --yx-stat-border: #8b5cf6;
  --yx-stat-bg: #f5f0ff;
}

.yx-summary-stat-strip .yx-stat-chip--success {
  --yx-stat-border: #ff6f7f;
  --yx-stat-bg: #fff1f4;
}

.yx-summary-stat-strip .yx-stat-chip--danger {
  --yx-stat-border: #f2c94c;
  --yx-stat-bg: #fff9e8;
}

.yx-summary-stat-strip .yx-stat-chip__label {
  color: var(--yx-stat-border, var(--yx-color-text-muted));
}

.yx-summary-health-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.yx-summary-health-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-card);
  background: #ffffff;
  box-shadow: var(--yx-shadow-card);
}

.yx-summary-health-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.yx-summary-health-card__chips {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.yx-summary-health-card__lead {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.yx-summary-health-card__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: var(--yx-radius-control);
  background: var(--yx-color-brand-soft);
  color: var(--yx-color-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yx-summary-health-card__chips .yx-chip {
  border-radius: var(--yx-radius-control);
}

.yx-summary-health-card__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.yx-summary-health-card__title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
}

.yx-summary-health-card__sub {
  margin: 2px 0 0;
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-summary-health-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.yx-summary-health-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--yx-color-divider);
  border-radius: var(--yx-radius-control);
  background: var(--yx-color-surface-soft);
}

.yx-summary-health-metric__label {
  min-width: 0;
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 18px;
}

.yx-summary-health-metric__right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 0 0 150px;
}

.yx-summary-health-metric__value {
  min-width: 44px;
  text-align: right;
  color: var(--yx-color-text-strong);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.yx-summary-health-progress {
  position: relative;
  flex: 1 1 auto;
  min-width: 86px;
  height: 8px;
  display: flex;
  align-items: center;
}

.yx-summary-health-progress::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: #e8edf5;
  border-radius: 999px;
  z-index: 0;
  transform: translateY(-50%);
}

.yx-summary-health-progress__fill {
  position: relative;
  z-index: 1;
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #22c55e;
  transition: width 0.3s ease;
}

.yx-summary-health-progress__fill--success {
  background: #22c55e;
}

.yx-summary-health-progress__fill--warning {
  background: #f59e0b;
}

.yx-summary-health-progress__fill--danger {
  background: #ef4444;
}

.yx-summary-health-card__extra {
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.yx-summary-health-card__perf {
  display: flex;
  justify-content: flex-end;
}

.yx-summary-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yx-summary-service-grid .yx-summary-service-body {
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.yx-summary-service-visual {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.yx-summary-service-grid .yx-ring-chart {
  width: 168px;
  height: 168px;
}

.yx-summary-service-grid .yx-ring-chart__disc::after {
  inset: 20px;
}

.yx-summary-service-legend {
  width: 100%;
  margin-top: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 10px;
}

.yx-summary-service-legend .yx-ring-legend__item {
  position: relative;
  font-size: 12px;
  line-height: 18px;
  padding-right: 6px;
}

.yx-summary-service-legend .yx-ring-legend__item + .yx-ring-legend__item::before {
  content: '|';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: #c7c9d2;
  font-size: 12px;
  line-height: 1;
}

.yx-summary-service-panel {
  width: 100%;
  max-width: 360px;
  justify-self: end;
}

.yx-summary-service-metrics {
  margin-top: 0;
}

.yx-summary-metric-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.yx-summary-metric-label__icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: #8f95a3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yx-summary-metric-label__icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.yx-summary-metric-sub {
  display: block;
  margin-top: 2px;
  color: var(--yx-color-text-muted);
  font-size: 11px;
  line-height: 16px;
}

.yx-service-card--empty {
  min-height: 180px;
  align-items: center;
  justify-content: center;
}

.yx-subtitle-settings {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 20px;
  align-items: start;
}

.yx-subtitle-settings__form-panel,
.yx-subtitle-settings__preview-panel {
  min-width: 0;
}

.yx-subtitle-settings__preview-panel {
  position: sticky;
  top: 0;
}

.yx-preview-body--app .yx-subtitle-settings__preview-panel {
  height: var(--yx-subtitle-preview-panel-height, calc(100vh - 132px));
  height: var(--yx-subtitle-preview-panel-height, calc(100dvh - 132px));
  max-height: var(--yx-subtitle-preview-panel-height, calc(100vh - 132px));
  max-height: var(--yx-subtitle-preview-panel-height, calc(100dvh - 132px));
  overflow: hidden;
}

.yx-preview-body--app .yx-subtitle-settings__preview-panel .yx-subtitle-phone {
  flex: 1 1 auto;
  min-height: 0;
}

.yx-subtitle-settings__group {
  display: grid;
  gap: 14px;
}

.yx-subtitle-settings__group + .yx-subtitle-settings__group {
  padding-top: 16px;
  border-top: 1px solid var(--yx-color-divider);
}

.yx-subtitle-settings--clean .yx-subtitle-settings__group + .yx-subtitle-settings__group {
  padding-top: 0;
  border-top: 0;
}

.yx-subtitle-settings__group-title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
}

.yx-audio-emotion-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.yx-audio-advanced {
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-control);
  background: var(--yx-color-surface-soft);
}

.yx-audio-advanced > summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  color: var(--yx-color-text-strong);
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
}

.yx-audio-advanced > summary::-webkit-details-marker {
  display: none;
}

.yx-audio-advanced[open] > summary {
  border-bottom: 1px solid var(--yx-color-divider);
}

.yx-audio-advanced__body {
  display: grid;
  gap: 16px;
  padding: 14px;
}

.yx-audio-settings-stage .yx-subtitle-settings__group + .yx-subtitle-settings__group {
  padding-top: 0;
  border-top: 0;
}

.yx-subtitle-settings__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.yx-subtitle-color-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
}

.yx-subtitle-color-row__hex {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
}

.yx-input--color {
  padding: 6px;
  min-height: 44px;
}

.yx-input--color::-webkit-color-swatch-wrapper {
  padding: 0;
}

.yx-input--color::-webkit-color-swatch {
  border: 0;
  border-radius: 8px;
}

.yx-slider-row,
.yx-subtitle-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yx-slider-wrap,
.yx-subtitle-slider-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.yx-slider-bg,
.yx-subtitle-slider-bg {
  position: absolute;
  top: 50%;
  left: 3px;
  right: 3px;
  transform: translateY(-50%);
  height: 4px;
  border-radius: 2px;
  background: #e0e0e0;
  pointer-events: none;
  z-index: 0;
}

.yx-slider,
.yx-subtitle-slider {
  position: relative;
  z-index: 1;
  width: 100%;
  --yx-slider-percent: 0%;
  --yx-slider-height: 8px;
  --yx-slider-radius: 4px;
  --yx-slider-fill-color: #22c900;
  --yx-slider-thumb-size: 24px;
  --yx-slider-thumb-size-moz: 24px;
  --yx-slider-thumb-offset-y: -8px;
  --yx-slider-thumb-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
  --yx-slider-active-scale: 1.06;
  -webkit-appearance: none;
  appearance: none;
  height: var(--yx-slider-height);
  border: none;
  border-radius: var(--yx-slider-radius);
  margin: 0;
  outline: none;
  background: linear-gradient(
    to right,
    var(--yx-slider-fill-color) 0%,
    var(--yx-slider-fill-color) var(--yx-slider-percent),
    transparent var(--yx-slider-percent),
    transparent 100%
  );
  cursor: pointer;
}

.yx-slider:focus,
.yx-subtitle-slider:focus {
  outline: none;
}

.yx-slider::-webkit-slider-runnable-track,
.yx-subtitle-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: var(--yx-slider-height);
  border: 0;
  border-radius: var(--yx-slider-radius);
  background: transparent;
}

.yx-slider::-webkit-slider-thumb,
.yx-subtitle-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: var(--yx-slider-thumb-size);
  height: var(--yx-slider-thumb-size);
  margin-top: var(--yx-slider-thumb-offset-y);
  border-radius: 50%;
  border: none;
  background: #ffffff;
  box-shadow: var(--yx-slider-thumb-shadow);
}

.yx-slider::-moz-range-track,
.yx-subtitle-slider::-moz-range-track {
  width: 100%;
  height: var(--yx-slider-height);
  border: 0;
  border-radius: var(--yx-slider-radius);
  background: transparent;
}

.yx-slider::-moz-range-progress,
.yx-subtitle-slider::-moz-range-progress {
  height: var(--yx-slider-height);
  border: 0;
  border-radius: var(--yx-slider-radius);
  background: transparent;
}

.yx-slider::-moz-range-thumb,
.yx-subtitle-slider::-moz-range-thumb {
  width: var(--yx-slider-thumb-size-moz);
  height: var(--yx-slider-thumb-size-moz);
  border-radius: 50%;
  border: none;
  background: #ffffff;
  box-shadow: var(--yx-slider-thumb-shadow);
}

.yx-slider:active::-webkit-slider-thumb,
.yx-slider:active::-moz-range-thumb,
.yx-subtitle-slider:active::-webkit-slider-thumb,
.yx-subtitle-slider:active::-moz-range-thumb {
  transform: scale(var(--yx-slider-active-scale));
}

.yx-slider__value,
.yx-subtitle-slider-row__value {
  flex: 0 0 auto;
  min-width: 44px;
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
  text-align: right;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.yx-slider-row--input {
  align-items: stretch;
}

.yx-slider__field {
  flex: 0 0 auto;
  width: 66px;
  min-width: 66px;
}

.yx-slider__input {
  width: 100%;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.yx-slider__input::-webkit-outer-spin-button,
.yx-slider__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.yx-slider__input[type="number"] {
  -moz-appearance: textfield;
}

.yx-subtitle-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.yx-subtitle-preview {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 974 / 1883;
  overflow: hidden;
}

.yx-subtitle-preview__phone-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.yx-subtitle-preview__screen {
  position: absolute;
  left: 8.93%;
  top: 3.82%;
  width: 81.93%;
  height: 91.56%;
  border-radius: 11.3%;
  overflow: hidden;
  z-index: 1;
  background: transparent;
  box-shadow: none;
}

.yx-subtitle-preview__media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 96px;
  background:
    radial-gradient(120% 70% at 50% 12%, #90a6d6 0%, #30466f 56%, #172235 100%),
    linear-gradient(180deg, rgba(10, 14, 24, 0.22) 0%, rgba(10, 14, 24, 0.72) 100%);
}

.yx-subtitle-preview__virtual-image {
  width: min(78%, 240px);
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(24, 33, 54, 0.48) 100%),
    linear-gradient(145deg, #9db2dd 0%, #4b6291 48%, #233454 100%);
  box-shadow:
    0 14px 28px rgba(3, 7, 18, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.yx-subtitle-preview__virtual-badge {
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(8, 11, 20, 0.36);
  color: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 0.02em;
}

.yx-subtitle-preview__virtual-title {
  margin: 0;
  color: #f8fafc;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.yx-subtitle-preview__caption-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.yx-subtitle-preview__caption {
  position: absolute;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%);
  margin: 0;
  max-width: 90%;
  padding: 10px 12px;
  border-radius: 10px;
  box-sizing: border-box;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  -webkit-text-stroke: 2px #111;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
  transition: all 0.1s ease-out;
}

.yx-preview-body--app .yx-note-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #b8e6ef;
  border-radius: var(--yx-radius-control);
  background: #f1fcff;
  color: var(--yx-color-text);
}

.yx-preview-body--app .yx-note-box > i {
  flex: 0 0 18px;
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--yx-color-info);
  font-size: 16px;
  line-height: 1;
}

.yx-preview-body--app .yx-note-box > i svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
}

.yx-preview-body--app .yx-note-box--info {
  border-color: #b8e6ef;
  background: #f1fcff;
}

.yx-preview-body--app .yx-note-box--info > i {
  color: var(--yx-color-info);
}

.yx-preview-body--app .yx-note-box--warn {
  border-color: #ffd8bf;
  background: #fff8f3;
}

.yx-preview-body--app .yx-note-box--warn > i {
  color: #f79009;
}

.yx-preview-body--app .yx-note-box > p {
  flex: 1 1 auto;
  margin: 0;
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 22px;
}

.yx-preview-body--app .yx-docs-divider {
  margin: 18px 0;
  border: 0;
  border-top: 1px solid var(--yx-color-divider);
}

.yx-preview-body--app .yx-docs-stage .yx-docs-code-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-code-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-left: 10px;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-code-panel__title {
  margin: 0;
  padding-left: 0;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  color: var(--yx-color-text-strong);
}

.yx-preview-body--app .yx-docs-stage .yx-docs-code-surface {
  position: relative;
  padding: 14px 16px;
  overflow: auto;
  border: 1px solid #1f2329;
  border-radius: var(--yx-radius-control);
  background: #282c34;
  color: #ffffff;
  font-family: "Consolas", "SFMono-Regular", Menlo, Monaco, monospace;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  tab-size: 4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.yx-preview-body--app .yx-docs-stage .yx-docs-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #aaaaaa;
  cursor: pointer;
  opacity: 0.88;
  transition: opacity 0.2s ease;
  --yx-copy-icon-size: 24px;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-copy-button:hover {
  color: #aaaaaa;
  opacity: 1;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-copy-button.is-copied {
  color: #aaaaaa;
  opacity: 1;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-copy-button.is-error {
  color: #aaaaaa;
  opacity: 1;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-copy-button__icon {
  width: 18px;
  height: 18px;
  display: block;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-code-surface .keyword {
  color: #c678dd;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-code-surface .string {
  color: #98c379;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-code-surface .number {
  color: #d19a66;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-code-surface .comment {
  color: #7f8694;
  font-style: italic;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-code-surface .function {
  color: #61afef;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-control);
}

.yx-preview-body--app .yx-docs-stage .yx-docs-table th,
.yx-preview-body--app .yx-docs-stage .yx-docs-table td {
  width: 25%;
  min-width: 25%;
  max-width: 25%;
  padding: 12px 14px;
  border-bottom: 1px solid var(--yx-color-divider);
  vertical-align: top;
  word-break: break-word;
  font-size: 13px;
  line-height: 22px;
  text-align: left;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-table th {
  background: var(--yx-color-surface-soft);
  color: var(--yx-color-text-strong);
  font-weight: 700;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-table tr:last-child td {
  border-bottom: 0;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: var(--yx-radius-inner);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-badge--required {
  background: #fff1f0;
  color: #d92d20;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-badge--optional {
  background: #eff8ff;
  color: #1570ef;
}

.yx-preview-body--app .yx-docs-stage .yx-docs-badge--conditional {
  background: #fff7e6;
  color: #b54708;
}

.yx-preview-body--app .yx-note-box--success {
  border-color: #b7ebc6;
  background: #f3fff7;
}

.yx-preview-body--app .yx-note-box--success > i {
  color: #16a34a;
}

.yx-preview-body--app .yx-note-box--danger {
  border-color: #fecaca;
  background: #fff5f5;
}

.yx-preview-body--app .yx-note-box--danger > i {
  color: #d92d20;
}

.yx-preview-body--app .yx-docs-stage .yx-doc-code {
  display: inline-block;
  font-weight: 700;
}

.yx-preview-body--app .yx-docs-stage .yx-doc-code--success {
  color: #12b76a;
}

.yx-preview-body--app .yx-docs-stage .yx-doc-code--pending {
  color: #1570ef;
}

.yx-preview-body--app .yx-docs-stage .yx-doc-code--progress {
  color: #7a5af8;
}

.yx-preview-body--app .yx-docs-stage .yx-doc-code--warning {
  color: #f79009;
}

.yx-preview-body--app .yx-docs-stage .yx-doc-code--danger {
  color: #d92d20;
}



@media (max-width: 1180px) {
  .yx-docs-layout,
  .yx-settings-layout,
  .yx-blueprint-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .yx-modal-kv-grid,
  .yx-modal-form-grid {
    grid-template-columns: 1fr;
  }

  .yx-settings-stage__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .yx-subtitle-settings {
    grid-template-columns: 1fr;
  }

  .yx-apikey-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yx-apikey-toolbar {
    flex-wrap: wrap;
  }

  .yx-apikey-toolbar .yx-toolbar__search--standard {
    width: 100%;
    min-width: 260px;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .yx-settings-user-toolbar {
    flex-wrap: wrap;
  }

  .yx-settings-user-toolbar .yx-toolbar__search--standard {
    width: 100%;
    min-width: 260px;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .yx-settings-summary-kpi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yx-settings-summary-infra {
    grid-template-columns: 1fr;
  }

  .yx-apikey-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yx-ops-restart-grid,
  .yx-ops-strategy-grid {
    grid-template-columns: 1fr;
  }

  .yx-ops-service-grid {
    grid-template-columns: 1fr;
  }

  .yx-subtitle-settings__preview-panel {
    position: relative;
    top: auto;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .yx-subtitle-color-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .yx-audio-emotion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yx-subtitle-preview {
    margin: 0 auto;
  }

  .yx-preview-body--app .yx-doc-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .yx-preview-body--app .yx-docs-stage > .yx-sub-tabs {
    padding-right: 16px;
    padding-left: 16px;
  }

  .yx-preview-body--app .yx-docs-stage .yx-docs-table {
    table-layout: auto;
  }
}


@media (max-width: 768px) {
  .yx-rebuild-pillbox,
  .yx-console-stage__topbar-meta,
  .yx-console-stage__topbar-actions,
  .yx-preview-link-row {
    justify-content: flex-start;
  }

  .yx-console-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .yx-console-stage__sidebar {
    max-height: 240px;
  }

  .yx-subtitle-preview {
    width: min(100%, 320px);
  }

  .yx-apikey-filters {
    grid-template-columns: 1fr;
  }

  .yx-apikey-toolbar .yx-toolbar__search--standard,
  .yx-apikey-toolbar .yx-toolbar__filter {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .yx-settings-user-toolbar .yx-toolbar__search--standard,
  .yx-settings-user-toolbar .yx-toolbar__filter {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .yx-settings-summary-kpi {
    grid-template-columns: 1fr;
  }

  .yx-apikey-service-grid {
    grid-template-columns: 1fr;
  }

  .yx-table--ops-log .yx-col-time {
    min-width: 150px;
    width: 150px;
  }


  .yx-subtitle-slider-row {
    flex-wrap: wrap;
  }

  .yx-console-stage__topbar,
  .yx-console-block__head,
  .yx-blueprint-card__head,
  .yx-code-window__head,
  .yx-setting-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .yx-task-monitor__grid {
    grid-template-columns: 1fr;
  }

  .yx-task-worker {
    align-items: flex-start;
    flex-direction: column;
  }

  .yx-task-console__item {
    gap: 0;
    padding: 0 14px;
  }

  .yx-api-status {
    grid-template-columns: 1fr;
  }

  .yx-api-panel__item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .yx-preview-embed__frame {
    height: 980px;
  }
}

@media (max-width: 768px) {
  body.yx-preview-body--app {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .yx-plug-play-strip {
    display: grid;
  }

  .yx-preview-body--app .yx-preview-page {
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    padding: 20px;
    overflow: visible;
  }

  .yx-preview-body--app .yx-console-stage {
    min-height: 0;
    height: 100%;
  }

  .yx-preview-body--app .yx-console-stage__sidebar {
    position: static;
    top: auto;
    min-height: 0;
    height: auto;
    max-height: none;
  }

  .yx-preview-body--app .yx-console-stage__main {
    height: auto;
    overflow: visible;
  }

  .yx-console-stage__brand {
    padding: 0 18px 12px;
  }

  .yx-console-stage__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 18px;
  }

  .yx-console-stage__nav-item {
    min-height: 46px;
    padding: 0 12px;
    border-radius: var(--yx-radius-control);
  }

  .yx-console-stage__nav-label {
    gap: 12px;
    font-size: 14px;
    line-height: 20px;
  }

  .yx-console-stage__nav-label svg {
    width: 17px;
    height: 17px;
  }

  .yx-console-stage__foot {
    display: none;
  }

  .yx-console-stage__topbar {
    min-height: auto;
    padding: 14px 16px;
    position: static;
  }

  .yx-console-stage__topbar-meta,
  .yx-console-stage__topbar-actions {
    width: 100%;
  }

  .yx-modal-overlay {
    padding: 12px;
  }

  .yx-modal {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: var(--yx-radius-card);
  }

  .yx-modal__header,
  .yx-modal__body,
  .yx-modal__footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .yx-modal__footer {
    flex-wrap: wrap;
  }

  .yx-modal__footer .yx-btn {
    width: 100%;
  }

  .yx-modal-confirm {
    flex-direction: column;
  }

  .yx-modal-media--portrait .yx-modal-media__video,
  .yx-modal-media--landscape .yx-modal-media__video {
    width: 100%;
    height: auto;
  }

  .yx-modal-image-gallery__stage-flow {
    grid-template-columns: 1fr;
  }

  .yx-modal-image-gallery__thumb-list {
    justify-content: center;
  }

  .yx-modal-media__frame {
    --yx-modal-media-frame-height: clamp(220px, 52vh, 420px);
  }
}

/* Service list standard mode
   Freeze the current live service list language as the unified standard. */
#master-list-card.list-card {
  background: var(--yx-color-surface);
  border: 1px solid #e6e6e8;
  border-radius: var(--yx-radius-card);
  box-shadow: var(--yx-shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px 24px;
}

#master-list-card .list-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 20px;
}

#master-list-card .sub-tab-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 32px;
  background: #f0f0f0;
}

#master-list-card .sub-btn {
  border: none;
  outline: none;
  cursor: pointer;
  padding: 8px 24px;
  border-radius: 28px;
  background: transparent;
  color: #666;
  font-size: 14px;
  font-weight: 400;
  transition: all .2s ease;
}

#master-list-card .sub-btn:hover {
  color: #ff8a00;
}

#master-list-card .sub-btn.active {
  background: #ff8a00;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(255, 138, 0, 0.28);
}

#master-list-card .badge-fail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ff4d4f;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

#master-list-card .sub-btn.active .badge-fail {
  background: #fff;
  color: #ff8a00;
}

#master-list-card .list-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}

#master-list-card .failed-range-select,
#master-list-card .page-size-select {
  height: 40px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--yx-color-border);
  border-radius: 999px;
  background-color: #fff;
  color: var(--yx-color-text);
  font-size: 13px;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #8f8a98 50%),
    linear-gradient(135deg, #8f8a98 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

#master-list-card .failed-range-select:focus,
#master-list-card .page-size-select:focus {
  outline: none;
  border-color: #ffd6bf;
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12);
}

#master-list-card .table-box {
  width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-inner);
  background: #fff;
}

#master-list-card .master-table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
}

#master-list-card .master-table th,
#master-list-card .master-table td {
  height: 44px;
  max-height: 44px;
  padding: 0 10px;
  border-bottom: 1px solid #f5f5f5;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
  background: #fff;
  font-size: 14px;
  color: var(--yx-color-text);
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
}

#master-list-card .master-table tbody tr:last-child td {
  border-bottom: none;
}

#master-list-card .master-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

#master-list-card .master-table tbody tr:nth-child(even) td,
#master-list-card .master-table tbody tr:hover td {
  background: #fff;
}

#master-list-card .master-table th.col-id,
#master-list-card .master-table td.col-id {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
}

#master-list-card .master-table th.col-priority,
#master-list-card .master-table td.col-priority {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
  text-align: center;
}

#master-list-card .master-table th.col-url,
#master-list-card .master-table td.col-url {
  width: 320px;
  min-width: 320px;
  max-width: 320px;
}

#master-list-card .master-table th.col-source,
#master-list-card .master-table td.col-source {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
  text-align: center;
  overflow: visible;
  text-overflow: clip;
}

#master-list-card .master-table th.col-time,
#master-list-card .master-table td.col-time {
  min-width: 170px;
}

#master-list-card .master-table th.action-col,
#master-list-card .master-table td.action-col {
  position: sticky;
  right: 0;
  z-index: 2;
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  text-align: center;
  border-left: 1px solid #f0f0f0;
  box-shadow: -8px 0 10px rgba(0, 0, 0, 0.03);
  background: #fff;
}

#master-list-card .master-table thead th.action-col {
  z-index: 4;
  background: #fafafa;
}

.yx-table-wrap.is-no-x-scroll #master-list-card .master-table th.action-col,
.yx-table-wrap.is-no-x-scroll #master-list-card .master-table td.action-col {
  position: relative;
  right: auto;
  z-index: 1;
  box-shadow: none;
}

.yx-table-wrap.is-no-x-scroll #master-list-card .master-table thead th.action-col {
  z-index: 4;
}

#master-list-card .source-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  line-height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
}

#master-list-card .tag-internal {
  background: rgba(40, 199, 111, 0.14);
  color: #28c76f;
  border: 1px solid rgba(40, 199, 111, 0.3);
}

#master-list-card .link-box {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#master-list-card .link-url {
  color: var(--yx-color-text);
  font-size: 13px;
  text-decoration: none;
}

#master-list-card .link-url:hover {
  color: #1677ff;
  text-decoration: underline;
}

#master-list-card .op-link {
  display: inline-block;
  color: #1677ff;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  padding: 0 4px;
}

#master-list-card .op-link:hover {
  color: #4096ff;
}

#master-list-card .op-divider {
  color: #cfcfd6;
  font-size: 12px;
}

#master-list-card .pager-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

#master-list-card .pager-left,
#master-list-card .pager-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

#master-list-card .pager-total,
#master-list-card .pager-page {
  color: var(--yx-color-text);
  font-size: 13px;
}

#master-list-card .pager-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--yx-color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--yx-color-text);
  cursor: pointer;
  transition: all .2s ease;
}

#master-list-card .pager-btn:hover:not([disabled]) {
  border-color: #ffd6bf;
  color: var(--yx-color-brand);
  background: #fff8f3;
}

#master-list-card .pager-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 1180px) {
  .yx-page-hero,
  .yx-grid--two,
  .yx-form-grid,
  .yx-form-grid--text,
  .yx-detail-grid {
    grid-template-columns: 1fr;
  }

  .yx-field--span-two {
    grid-column: 1 / -1;
  }

  .yx-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yx-stat-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .yx-chart-grid,
  .yx-chart-intro-grid,
  .yx-data-grid,
  .yx-asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yx-comp-doc-item {
    grid-template-columns: 1fr;
  }

  .yx-comp-doc-item__left {
    border-right: 0;
    border-bottom: 1px solid var(--yx-color-border);
  }

  .yx-summary-health-grid {
    grid-template-columns: 1fr;
  }

  .yx-chart-intro-body {
    grid-template-columns: 1fr;
  }

  .yx-chart-intro-visual {
    max-width: none;
  }

  .yx-summary-service-grid .yx-summary-service-body {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .yx-summary-hero {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .yx-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #masterPwdOverlay .yx-form-grid > [aria-hidden="true"],
  #shellPwdOverlay .yx-form-grid > [aria-hidden="true"] {
    display: none;
  }

  .yx-form-grid__ghost {
    display: none;
  }
}

@media (max-width: 768px) {
  .yx-preview-page {
    width: min(100vw - 24px, 100%);
    padding-top: 18px;
    gap: var(--yx-space-6);
  }

  .yx-page-hero,
  .yx-section {
    padding: 18px;
  }

  .yx-section-head {
    flex-direction: column;
  }

  .yx-toolbar__search,
  .yx-toolbar__filter {
    width: 100%;
    flex-basis: auto;
  }

  .yx-toolbar__search--standard {
    min-width: 0;
    max-width: none;
  }

  .yx-number--compact,
  .yx-inline-item--day,
  .yx-inline-item--time {
    width: 100%;
    flex-basis: 100%;
  }

  .yx-inline-colon {
    display: none;
  }

  .yx-rule-grid {
    grid-template-columns: 1fr;
  }

  .yx-comp-doc-preview .yx-summary-hero {
    grid-template-columns: 1fr;
  }

  .yx-comp-doc-preview .yx-summary-hero__visual {
    justify-content: flex-start;
  }

  .yx-kpi-grid,
  .yx-stat-strip,
  .yx-chart-grid,
  .yx-chart-intro-grid,
  .yx-data-grid,
  .yx-asset-grid,
  .yx-summary-service-grid,
  .yx-summary-health-metrics,
  .yx-service-grid,
  .yx-list-card__stats {
    grid-template-columns: 1fr;
  }

  .yx-summary-health-metric {
    flex-direction: column;
    align-items: stretch;
  }

  .yx-summary-health-metric__right {
    width: 100%;
    flex: 1 1 auto;
  }

  .yx-summary-service-grid .yx-summary-service-body {
    grid-template-columns: 1fr;
  }

  .yx-summary-service-panel {
    max-width: none;
    justify-self: stretch;
  }

  .yx-summary-service-legend {
    grid-template-columns: 1fr;
  }

  .yx-summary-service-legend .yx-ring-legend__item + .yx-ring-legend__item::before {
    content: none;
  }

  .yx-ring-widget--legend-right {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .yx-ring-legend--row {
    grid-template-columns: 1fr;
  }

  .yx-dashboard-head,
  .yx-service-card__head {
    flex-direction: column;
  }

  .yx-summary-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .yx-summary-hero__visual {
    justify-content: flex-start;
  }

  .yx-summary-hero__visual-core {
    width: 148px;
    height: 148px;
  }

  .yx-summary-hero__visual-icon {
    width: 84px;
    height: 84px;
    font-size: 28px;
  }

  .yx-service-card__body {
    grid-template-columns: 1fr;
  }

  .yx-chart-card,
  .yx-data-card,
  .yx-asset-card {
    padding: 18px;
  }

  .yx-chart-card__head {
    flex-direction: column;
  }

  .yx-chart-card__metric {
    justify-content: flex-start;
    text-align: left;
  }

  .yx-chart-card__canvas {
    min-height: 208px;
    padding: 14px;
  }

  .yx-bar-stack {
    --yx-bar-stack-axis-width: 44px;
    --yx-bar-stack-track-height: 128px;
    --yx-bar-stack-col-gap: 8px;
  }

  .yx-bar-stack__body {
    gap: 10px;
  }

  .yx-bar-stack__track {
    width: 16px;
  }

  .yx-line-chart__frame {
    min-height: 172px;
  }

  .yx-line-chart__svg {
    height: 172px;
  }

  .yx-ring-chart {
    margin: 0 auto;
  }

  .yx-metric-grid {
    grid-template-columns: 1fr;
  }

  .yx-data-card__metric {
    min-height: 58px;
  }

  .yx-data-card__progress {
    grid-template-columns: 72px 1fr 44px;
  }

  .yx-bulk-bar,
  .yx-pagination,
  .yx-pagination__left,
  .yx-pagination__right {
    align-items: stretch;
  }

  .yx-pagination__left {
    flex-wrap: wrap;
  }

  .yx-pagination__pages {
    flex-wrap: wrap;
  }

  .yx-pagination__right {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }

  .yx-log-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .yx-list-card__head,
  .yx-list-card__footer,
  .yx-log-shell__head {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* YX_ICON_LIBRARY_P0_19_START */
.yx-icon-library {
  display: grid;
  gap: 20px;
}

.yx-icon-library__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.yx-icon-summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--yx-color-border);
  background: #ffffff;
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 18px;
}

.yx-icon-summary-chip strong {
  color: var(--yx-color-text-strong);
  font-size: 13px;
}

.yx-icon-library__sections {
  display: grid;
  gap: 18px;
}

.yx-icon-library__group {
  border: 1px solid var(--yx-color-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--yx-shadow-card);
  padding: 18px;
  display: grid;
  gap: 16px;
}

.yx-icon-library__group-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.yx-icon-library__group-title {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 18px;
  line-height: 26px;
}

.yx-icon-library__group-sub {
  margin: 4px 0 0;
  color: var(--yx-color-text);
  font-size: 13px;
  line-height: 20px;
}

.yx-icon-library__count {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--yx-color-brand-soft);
  color: var(--yx-color-brand);
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
}

.yx-icon-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.yx-icon-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--yx-color-border);
  background: #ffffff;
  min-width: 0;
}

.yx-icon-card__preview {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: transparent;
  color: #7b7686;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.yx-icon-card__preview svg {
  width: 28px;
  height: 28px;
  display: block;
}

.yx-icon-card__meta {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.yx-icon-card__label {
  margin: 0;
  color: var(--yx-color-text-strong);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.yx-icon-card__id {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 18px;
  color: #8c8898;
  word-break: break-all;
}

.yx-icon-card__desc {
  margin: 0;
  color: var(--yx-color-text);
  font-size: 12px;
  line-height: 19px;
}

.yx-icon-card__scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.yx-icon-card__scope span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f8f7f4;
  color: #7b7686;
  font-size: 11px;
  line-height: 16px;
}

.yx-icon-callout {
  display: grid;
  gap: 10px;
}

.yx-icon-callout__code {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #2b2a31;
  color: #ffffff;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 20px;
}

.yx-icon-map-panel {
  display: grid;
  gap: 14px;
}

.yx-icon-map-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--yx-color-border);
  border-radius: 16px;
  background: #ffffff;
}

.yx-icon-map-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.yx-icon-map-table th,
.yx-icon-map-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--yx-color-divider);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
  line-height: 20px;
  color: var(--yx-color-text);
}

.yx-icon-map-table th {
  background: #fcfbf8;
  color: var(--yx-color-text-strong);
  font-weight: 700;
  white-space: nowrap;
}

.yx-icon-map-table tr:last-child td {
  border-bottom: 0;
}

.yx-icon-map-preview {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yx-color-text-strong);
  font-weight: 600;
}

.yx-icon-map-preview svg {
  width: 20px;
  height: 20px;
  color: #7b7686;
  display: block;
}

@media (max-width: 960px) {
  .yx-icon-wall {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 720px) {
  .yx-icon-card {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .yx-icon-card__preview {
    width: 36px;
    height: 36px;
  }
}
/* YX_ICON_LIBRARY_P0_19_END */

/* KNOWLEDGE_PREVIEW_STANDARD_P1_START */
.yx-action-link--danger {
  color: var(--yx-color-danger);
}

.yx-action-link--danger:hover,
.yx-action-link--danger:focus-visible {
  color: #ff7875;
}

.yx-table__text {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.yx-copy-helper {
  position: fixed;
  top: -9999px;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.yx-console-stage__content.yx-console-stage__content--settings {
  display: grid;
  min-height: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.yx-content-detail-copy-row,
.yx-account-detail-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.yx-content-detail-copy-row .yx-label,
.yx-account-detail-copy-row .yx-label {
  margin-bottom: 0;
}

.yx-content-table .yx-col-type,
.yx-content-table .yx-col-industry,
.yx-content-table .yx-col-time,
.yx-general-traffic-table .yx-col-time,
.yx-current-affairs-table .yx-col-time,
.yx-summary-table .yx-col-time,
.yx-summary-table .yx-col-source,
.yx-summary-table .yx-col-count,
.yx-summary-table .yx-col-rate,
.yx-summary-table .yx-col-status {
  text-align: center;
}

.yx-content-table .yx-col-time .yx-datetime,
.yx-general-traffic-table .yx-col-time .yx-datetime,
.yx-current-affairs-table .yx-col-time .yx-datetime,
.yx-summary-table .yx-col-time .yx-datetime,
.yx-table--ops-log .yx-col-time .yx-datetime,
.yx-table--ops-industry .yx-col-updated .yx-datetime,
.yx-table--video-group .yx-col-group-time .yx-datetime,
.yx-table--video-platform-group .yx-col-created-time .yx-datetime,
.yx-table--video-platform-group .yx-col-updated-time .yx-datetime,
.yx-table--video-assets .yx-col-expire .yx-datetime,
.yx-table--voice-customer-detail .yx-col-time .yx-datetime,
.yx-benchmark-table .yx-col-created-time .yx-datetime,
.yx-benchmark-table .yx-col-updated-time .yx-datetime {
  display: inline-flex;
  justify-content: center;
  width: 100%;
}

.yx-table--cover-assets,
.yx-table--voice-customer,
.yx-table--voice-system,
.yx-table--voice-category,
.yx-table--voice-customer-detail,
.yx-table--bgm,
.yx-table--bgm-import,
.yx-table--bgm-manage,
.yx-content-table,
.yx-general-traffic-table,
.yx-current-affairs-table,
.yx-benchmark-table,
.yx-table--video-assets,
.yx-table--video-group,
.yx-table--video-clip,
.yx-table--video-platform-group,
.yx-table--keyword,
.yx-table--keyword-detail,
.yx-table--ops-log,
.yx-table--ops-industry {
  width: max-content;
  min-width: 100%;
  table-layout: fixed;
}

.yx-table--cover-assets .yx-col-id,
.yx-table--bgm-import .yx-col-id,
.yx-table--voice-category .yx-col-id {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
}

.yx-table--bgm .yx-col-id {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
}

.yx-table--voice-category .yx-col-id {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
}

.yx-table--video-assets .yx-col-customer-id {
  width: 156px;
  min-width: 156px;
  max-width: 156px;
}

.yx-table--video-group .yx-col-group-id,
.yx-table--video-platform-group .yx-col-group-id {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
}

.yx-benchmark-table .yx-col-account-id {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
}

.yx-table--video-clip .yx-col-clip-id,
.yx-table--keyword .yx-col-industry-l1 {
  width: 170px;
  min-width: 170px;
  max-width: 170px;
}

.yx-table--voice-system .yx-col-name {
  width: 170px;
  min-width: 170px;
  max-width: 170px;
}

.yx-table--voice-customer .yx-col-id,
.yx-table--voice-customer .yx-col-created,
.yx-table--voice-customer .yx-col-updated,
.yx-table--bgm-manage .yx-col-manage-time,
.yx-table--cover-assets .yx-col-count,
.yx-table--voice-category .yx-col-count {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
}

.yx-table--voice-customer-detail .yx-col-voice-name,
.yx-table--bgm-import .yx-col-tag,
.yx-table--bgm .yx-col-tag {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
}

.yx-table--bgm thead .yx-col-tag,
.yx-table--bgm-import thead .yx-col-tag {
  text-align: center;
}

.yx-table--bgm-import .yx-col-name,
.yx-table--cover-assets .yx-col-name,
.yx-table--video-assets .yx-col-customer-name,
.yx-table--voice-category .yx-col-name,
.yx-table--video-platform-group .yx-col-group-name,
.yx-table--video-group .yx-col-group-name,
.yx-table--keyword-detail .yx-col-title,
.yx-benchmark-table .yx-col-account-name,
.yx-table--bgm-manage .yx-col-manage-name {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
}

.yx-table--video-group .yx-col-group-desc,
.yx-table--video-platform-group .yx-col-group-desc {
  width: 340px;
  min-width: 340px;
  max-width: 340px;
}

.yx-table--keyword .yx-col-industry-l2,
.yx-table--voice-system .yx-col-voice-id,
.yx-table--voice-customer-detail .yx-col-voice-id {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
}

.yx-table--keyword .yx-col-keyword-stats {
  width: 360px;
  min-width: 360px;
  max-width: 360px;
}

.yx-table--ops-log .yx-col-desc {
  width: 640px;
  min-width: 640px;
  max-width: 640px;
}

.yx-table--video-clip .yx-col-clip-desc {
  width: 420px;
  min-width: 420px;
  max-width: 420px;
}

.yx-table--voice-category .yx-col-desc {
  width: 480px;
  min-width: 480px;
  max-width: 480px;
}

.yx-table--video-assets .yx-col-agent-id,
.yx-table--bgm .yx-col-category,
.yx-table--bgm-import .yx-col-category,
.yx-table--voice-system .yx-col-type,
.yx-table--voice-customer-detail .yx-col-type,
.yx-table--voice-customer-detail .yx-col-status,
.yx-table--video-assets .yx-col-status,
.yx-table--video-platform-group .yx-col-status,
.yx-table--video-clip .yx-col-clip-status,
.yx-table--ops-industry .yx-col-status,
.yx-table--keyword-detail .yx-col-owner,
.yx-table--keyword-detail .yx-col-status {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  text-align: center;
}

.yx-table--voice-system .yx-col-type {
  width: 110px;
  min-width: 110px;
  max-width: 110px;
}

.yx-table--video-platform-group .yx-col-clip-count,
.yx-table--video-clip .yx-col-clip-duration,
.yx-table--video-clip .yx-col-clip-count,
.yx-table--video-assets .yx-col-host-count,
.yx-table--video-assets .yx-col-group-count,
.yx-table--video-assets .yx-col-clip-count,
.yx-table--bgm .yx-col-duration,
.yx-table--keyword-detail .yx-col-score,
.yx-table--keyword-detail .yx-col-count,
.yx-table--ops-industry .yx-col-l2-count,
.yx-table--voice-system .yx-col-count,
.yx-table--bgm-manage .yx-col-manage-count {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  text-align: center;
}

.yx-table--ops-log .yx-col-index {
  width: 90px;
  min-width: 90px;
  max-width: 90px;
  text-align: center;
}

.yx-table--ops-log .yx-col-user {
  width: 136px;
  min-width: 136px;
  max-width: 136px;
  text-align: center;
}

.yx-table--voice-customer .yx-col-status,
.yx-table--bgm-import .yx-col-status {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  text-align: center;
}

.yx-table--ops-industry .yx-col-industry-l1 {
  width: auto;
  min-width: 0;
  max-width: none;
}

.yx-table--ops-industry .yx-col-updated,
.yx-table--ops-log .yx-col-time,
.yx-table--voice-system .yx-col-time,
.yx-table--voice-customer-detail .yx-col-time,
.yx-table--video-group .yx-col-group-time,
.yx-table--video-platform-group .yx-col-created-time,
.yx-table--video-platform-group .yx-col-updated-time,
.yx-table--video-clip .yx-col-clip-time,
.yx-table--video-assets .yx-col-expire,
.yx-table--keyword .yx-col-time {
  width: 176px;
  min-width: 176px;
  max-width: 176px;
  text-align: center;
}

.yx-table--ops-industry .yx-col-updated {
  width: 176px;
  min-width: 176px;
  max-width: 176px;
}

.yx-table--voice-customer .yx-table__action,
.yx-table--cover-assets .yx-table__action,
.yx-table--bgm-import .yx-table__action,
.yx-table--voice-customer-detail .yx-table__action,
.yx-table--video-assets .yx-table__action {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  text-align: center;
}

.yx-table--ops-industry .yx-table__action {
  width: 96px;
  min-width: 96px;
  max-width: 96px;
  text-align: center;
}

.yx-table--keyword .yx-table__action {
  width: 110px;
  min-width: 110px;
  max-width: 110px;
}

.yx-table--keyword-detail .yx-table__action {
  width: 176px;
  min-width: 176px;
  max-width: 176px;
}

.yx-table--voice-category .yx-table__action {
  width: 170px;
  min-width: 170px;
  max-width: 170px;
}

.yx-table--video-group .yx-table__action,
.yx-table--video-platform-group .yx-table__action {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  text-align: center;
}

.yx-table--voice-system .yx-table__action {
  width: 250px;
  min-width: 250px;
  max-width: 250px;
}

.yx-table--voice-system-task {
  width: max-content;
  min-width: 100%;
  table-layout: fixed;
}

.yx-table--voice-system-task .yx-col-index {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}

.yx-table--voice-system-task .yx-col-system-id {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
}

.yx-table--voice-system-task .yx-col-name,
.yx-table--voice-system-task .yx-col-voice-id,
.yx-table--voice-system-task .yx-col-task-id,
.yx-table--voice-system-task .yx-col-error {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
}

.yx-table--voice-system-task .yx-col-status {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
  text-align: center;
}

.yx-table--voice-system-task .yx-col-time {
  width: 176px;
  min-width: 176px;
  max-width: 176px;
}

.yx-table--voice-system-task .yx-table__action {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}

.yx-table--voice-system-task tbody td:not(.yx-col-status):not(.yx-table__action) .yx-table__main,
.yx-table--voice-system-task tbody td:not(.yx-col-status):not(.yx-table__action) .yx-table__sub,
.yx-table--voice-system-task tbody td:not(.yx-col-status):not(.yx-table__action) .yx-table__text {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yx-table--voice-user-task {
  width: max-content;
  min-width: 100%;
  table-layout: fixed;
}

.yx-table--voice-user-task .yx-col-index {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}

.yx-table--voice-user-task .yx-col-customer-id {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
}

.yx-table--voice-user-task .yx-col-customer-name {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
}

.yx-table--voice-user-task .yx-col-record-id {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
}

.yx-table--voice-user-task .yx-col-voice-name {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
}

.yx-table--voice-user-task .yx-col-source {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.yx-table--voice-user-task .yx-col-voice-id,
.yx-table--voice-user-task .yx-col-task-id {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
}

.yx-table--voice-user-task .yx-col-status {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  text-align: center;
}

.yx-table--voice-user-task .yx-col-time {
  width: 176px;
  min-width: 176px;
  max-width: 176px;
}

.yx-table--voice-user-task tbody td:not(.yx-col-status) .yx-table__main,
.yx-table--voice-user-task tbody td:not(.yx-col-status) .yx-table__sub,
.yx-table--voice-user-task tbody td:not(.yx-col-status) .yx-table__text {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Standard index column: all list sequence columns share one left-aligned contract. */
.yx-table col.yx-col-index,
.yx-table .yx-col-index {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}

.yx-table thead th.yx-col-index,
.yx-table tbody td.yx-col-index {
  text-align: left;
}

.yx-table .yx-col-index .yx-table__main,
.yx-table .yx-col-index .yx-table__text {
  display: block;
  width: 100%;
  text-align: left;
}

/* Standard utility column widths: business pages should combine these instead of inline width patches. */
.yx-table col.yx-col-w80,
.yx-table .yx-col-w80 {
  width: 80px;
  min-width: 80px;
  max-width: 80px;
}

.yx-table col.yx-col-w100,
.yx-table .yx-col-w100 {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}

.yx-table col.yx-col-w120,
.yx-table .yx-col-w120 {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.yx-table col.yx-col-w160,
.yx-table .yx-col-w160 {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
}

.yx-table col.yx-col-w180,
.yx-table .yx-col-w180 {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
}

.yx-table col.yx-col-w200,
.yx-table .yx-col-w200 {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
}

.yx-table col.yx-col-w240,
.yx-table .yx-col-w240 {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
}

.yx-table col.yx-col-w280,
.yx-table .yx-col-w280 {
  width: 280px;
  min-width: 280px;
  max-width: 280px;
}

.yx-table col.yx-col-w320,
.yx-table .yx-col-w320 {
  width: 320px;
  min-width: 320px;
  max-width: 320px;
}

.yx-table col.yx-col-w360,
.yx-table .yx-col-w360 {
  width: 360px;
  min-width: 360px;
  max-width: 360px;
}

.yx-table col.yx-col-w400,
.yx-table .yx-col-w400 {
  width: 400px;
  min-width: 400px;
  max-width: 400px;
}

.yx-table col.yx-col-w480,
.yx-table .yx-col-w480 {
  width: 480px;
  min-width: 480px;
  max-width: 480px;
}

.yx-table col.yx-col-w600,
.yx-table .yx-col-w600 {
  width: 600px;
  min-width: 600px;
  max-width: 600px;
}

/* Standard utility alignment: pair with width classes or semantic aliases. */
.yx-table thead th.yx-col-left,
.yx-table tbody td.yx-col-left {
  text-align: left;
}

.yx-table thead th.yx-col-center,
.yx-table tbody td.yx-col-center {
  text-align: center;
}

.yx-table thead th.yx-col-right,
.yx-table tbody td.yx-col-right {
  text-align: right;
}

.yx-table .yx-col-left .yx-table__main,
.yx-table .yx-col-left .yx-table__sub,
.yx-table .yx-col-left .yx-table__text,
.yx-table .yx-col-left .yx-table__main-link {
  display: block;
  width: 100%;
  text-align: left;
}

.yx-table .yx-col-center .yx-table__main,
.yx-table .yx-col-center .yx-table__sub,
.yx-table .yx-col-center .yx-table__text,
.yx-table .yx-col-center .yx-table__main-link {
  display: block;
  width: 100%;
  text-align: center;
}

.yx-table .yx-col-right .yx-table__main,
.yx-table .yx-col-right .yx-table__sub,
.yx-table .yx-col-right .yx-table__text,
.yx-table .yx-col-right .yx-table__main-link {
  display: block;
  width: 100%;
  text-align: right;
}

/* Standard utility content behavior: keep truncation and wrapping out of page-local CSS. */
.yx-table .yx-col-truncate .yx-table__main,
.yx-table .yx-col-truncate .yx-table__sub,
.yx-table .yx-col-truncate .yx-table__text,
.yx-table .yx-col-truncate .yx-table__main-link {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yx-table thead th.yx-col-wrap,
.yx-table tbody td.yx-col-wrap {
  white-space: normal;
}

.yx-table .yx-col-wrap .yx-table__main,
.yx-table .yx-col-wrap .yx-table__sub,
.yx-table .yx-col-wrap .yx-table__text,
.yx-table .yx-col-wrap .yx-table__main-link {
  display: block;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.yx-table thead th.yx-col-nowrap,
.yx-table tbody td.yx-col-nowrap {
  white-space: nowrap;
}

.yx-table--bgm .yx-table__action {
  width: 260px;
  min-width: 260px;
  max-width: 260px;
}

.yx-table--bgm-manage .yx-table__action {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
  text-align: center;
}

.yx-table--video-group .yx-col-group-name .yx-table__text,
.yx-table--video-group .yx-col-group-desc .yx-table__text,
.yx-table--video-platform-group .yx-col-group-name .yx-table__text,
.yx-table--video-platform-group .yx-col-group-desc .yx-table__text,
.yx-table--video-assets .yx-col-customer-name .yx-table__text,
.yx-benchmark-table .yx-col-account-name .yx-table__text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yx-table--keyword thead .yx-col-keyword-stats,
.yx-table--keyword tbody .yx-col-keyword-stats {
  text-align: center;
}

.yx-table--keyword .yx-col-keyword-stats .yx-inline-split__value,
.yx-benchmark-table .yx-inline-split--triple .yx-inline-split__value {
  text-align: center;
}

.yx-benchmark-table thead .yx-col-industry,
.yx-benchmark-table thead .yx-col-owner {
  text-align: center;
}

.yx-template-table thead .yx-col-industry {
  text-align: center;
}

.yx-table--cover-assets thead .yx-col-industry {
  text-align: center;
}

.yx-benchmark-table .yx-inline-split--metric .yx-inline-split__value {
  font-size: 14px;
  line-height: 1.6;
}

.yx-benchmark-table .yx-inline-split--status .yx-inline-split__value {
  font-size: 13px;
  line-height: 1.6;
}

.yx-benchmark-table .yx-inline-split__value.is-waiting {
  color: var(--yx-color-text-muted);
}

.yx-benchmark-table .yx-inline-split__value.is-done {
  color: var(--yx-color-success);
}

.yx-benchmark-table .yx-inline-split__value.is-running {
  color: var(--yx-color-danger);
}

.yx-benchmark-create-grid .yx-benchmark-create-grid__wide,
.yx-video-group-grid__wide,
.yx-bgm-import-grid .yx-field--full {
  grid-column: 1 / -1;
  width: auto;
}

.yx-summary-board,
.yx-voice-customer-detail-cards,
.yx-video-host-list,
.yx-cover-gallery-group,
.yx-bgm-import-layout,
.yx-video-upload,
.yx-voice-upload,
.yx-bgm-upload {
  display: grid;
  gap: 16px;
}

.yx-summary-board {
  gap: 24px;
}

.yx-summary-tag-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.yx-summary-tag-grid.yx-summary-tag-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yx-summary-tag-grid .yx-stat-chip {
  box-shadow: none;
}

.yx-summary-chart-row {
  min-width: 0;
}

.yx-summary-chart-row__tags {
  min-width: 0;
}

.yx-summary-chart-row--top .yx-summary-chart-row__tags {
  grid-column: span 2;
}

.yx-summary-chart-row--top .yx-summary-tag-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yx-chart-card--span-2 {
  grid-column: span 2;
}

.yx-summary-ring-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.yx-summary-ring-item {
  display: grid;
  gap: 12px;
}

.yx-summary-ring-item__title {
  margin: 0;
  text-align: center;
  color: var(--yx-color-text-strong);
  font-size: 15px;
  line-height: 22px;
  font-weight: var(--yx-font-weight-semibold);
}

.yx-summary-ring-item .yx-ring-widget {
  justify-items: stretch;
  gap: 16px;
}

.yx-summary-ring-item .yx-ring-chart {
  justify-self: center;
}

.yx-summary-ring-item .yx-ring-chart__total {
  font-size: 24px;
}

.yx-summary-module-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}

.yx-summary-module-list__head {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 88px 72px;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--yx-color-divider);
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
  flex: 0 0 auto;
}

.yx-summary-module-list__head-main {
  grid-column: 1 / span 2;
}

.yx-summary-module-list__head-value,
.yx-summary-module-list__head-mom {
  text-align: right;
}

.yx-summary-module-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 88px 72px;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--yx-color-divider);
  flex: 1 1 0;
  min-height: 0;
}

.yx-summary-module-item:first-child {
  padding-top: 0;
}

.yx-summary-module-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.yx-summary-module-item__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--yx-module-icon-color, var(--yx-color-brand));
}

.yx-summary-module-item__icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.yx-summary-module-item__main {
  min-width: 0;
}

.yx-summary-module-item__label {
  color: var(--yx-color-text-strong);
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--yx-font-weight-semibold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yx-summary-module-item__value {
  color: var(--yx-color-text-strong);
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--yx-font-weight-semibold);
  text-align: right;
}

.yx-summary-module-item__mom {
  text-align: right;
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--yx-font-weight-semibold);
}

.yx-summary-module-item__mom--up {
  color: var(--yx-color-success);
}

.yx-summary-module-item__mom--down {
  color: var(--yx-color-danger);
}

.yx-summary-runtime-board {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.yx-summary-runtime-head,
.yx-summary-runtime-item {
  display: grid;
  grid-template-columns: 160px repeat(4, minmax(0, 1fr)) 140px 56px;
  align-items: center;
  gap: 12px;
}

.yx-summary-runtime-head {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--yx-color-divider);
  color: var(--yx-color-text-muted);
  font-size: 12px;
  line-height: 18px;
  flex: 0 0 auto;
  text-align: left;
}

.yx-summary-runtime-head span:not(:first-child) {
  text-align: center;
}

.yx-summary-runtime-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}

.yx-summary-runtime-item {
  min-height: 52px;
  padding: 6px 0;
  border-bottom: 1px solid var(--yx-color-divider);
  flex: 1 1 0;
}

.yx-summary-runtime-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.yx-summary-runtime-item__name {
  color: var(--yx-color-text-strong);
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--yx-font-weight-semibold);
  text-align: left;
}

.yx-summary-runtime-item__value {
  color: var(--yx-color-text-strong);
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--yx-font-weight-semibold);
  text-align: center;
}

.yx-summary-runtime-item__progress {
  display: block;
  width: 140px;
  justify-self: center;
}

.yx-summary-runtime-item__progress .yx-summary-health-progress {
  display: block;
  width: 140px;
  min-width: 140px;
  flex: 0 0 140px;
}

.yx-summary-runtime-item__percent {
  color: var(--yx-color-text-strong);
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--yx-font-weight-semibold);
  min-width: 40px;
  text-align: right;
}

.yx-summary-chart-row--metrics > .yx-chart-card {
  grid-template-rows: auto 1fr;
}

.yx-summary-chart-row--metrics > .yx-chart-card .yx-chart-card__canvas {
  height: 100%;
  display: grid;
}

.yx-summary-tag-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yx-summary-tag-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.yx-summary-tag-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yx-knowledge-index-topbar,
.yx-bgm-config-head,
.yx-bgm-import-toolbar,
.yx-bgm-manage-toolbar,
.yx-cover-gallery-group__head,
.yx-video-host-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.yx-knowledge-index-topbar {
  gap: 16px;
  min-height: 44px;
}

.yx-knowledge-index-topbar__title,
.yx-cover-gallery-group__title,
.yx-bgm-config-title,
.yx-video-host-card__title {
  margin: 0;
  color: var(--yx-color-text-strong);
  line-height: 1.5;
  font-weight: 600;
}

.yx-knowledge-index-topbar__title {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.yx-cover-gallery-group__title {
  font-size: 15px;
  font-weight: 700;
}

.yx-bgm-config-title,
.yx-video-host-card__title {
  font-size: 16px;
}

.yx-knowledge-index-topbar__meta,
.yx-bgm-config-status,
.yx-cover-gallery-group__meta,
.yx-video-host-card__meta,
.yx-bgm-import-file,
.yx-voice-customer-detail-note,
.yx-bgm-upload__name,
.yx-bgm-upload__hint,
.yx-voice-upload__name,
.yx-video-upload__name,
.yx-video-upload__hint {
  color: var(--yx-color-text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.yx-bgm-import-file,
.yx-bgm-config-actions,
.yx-bgm-upload__toolbar,
.yx-voice-upload__toolbar,
.yx-video-upload__toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.yx-bgm-config-actions {
  margin-left: auto;
}

.yx-bgm-manage-toolbar .yx-search {
  flex: 1 1 300px;
  max-width: 380px;
}

.yx-template-editor-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  height: 100%;
  min-height: 0;
  align-items: stretch;
  align-content: stretch;
  min-width: 0;
}

.yx-template-editor-layout > .yx-panel {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
}

.yx-template-form-panel,
.yx-template-form-stack,
.yx-template-form-field--grow,
.yx-template-preview-stack {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.yx-template-form-panel {
  flex-direction: column;
}

.yx-template-form-stack {
  flex: 1 1 auto;
  gap: 18px;
}

.yx-template-form-stack .yx-form-grid {
  flex: 0 0 auto;
  gap: 18px;
  align-items: start;
}

.yx-template-form-stack > .yx-field:not(.yx-template-form-field--grow) {
  flex: 0 0 auto;
}

.yx-template-form-field--grow {
  flex: 1 1 0;
}

.yx-template-form-field--grow .yx-textarea {
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  resize: none;
}

.yx-template-preview-stack {
  height: 100%;
  gap: 16px;
  min-width: 0;
}

.yx-template-preview-stack > div,
.yx-template-preview-stack .yx-code {
  min-width: 0;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
}

.yx-template-preview-stack > div:first-child {
  display: flex;
  flex: 1 1 0;
}

.yx-template-preview-stack > div:last-child {
  flex: 0 0 auto;
}

.yx-template-preview-code {
  display: block;
  flex: 1 1 auto;
}

.yx-template-preview-stack .yx-code,
.yx-code-window--code .yx-template-preview-code {
  height: 100%;
  min-height: 420px;
  margin: 0;
  border-color: #232a39;
  background: linear-gradient(180deg, #222938 0%, #171c27 100%);
  color: #8ec5ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  white-space: pre-wrap;
  word-break: break-word;
  tab-size: 2;
}

.yx-template-verify-shell {
  margin-top: 0;
  width: 100%;
}

.yx-template-verify-shell .yx-table-wrap {
  width: 100%;
  overflow: hidden;
}

.yx-template-verify-shell .yx-table.yx-table--standard {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.yx-template-verify-shell .yx-table thead th,
.yx-template-verify-shell .yx-table tbody td {
  padding-left: 14px;
  padding-right: 14px;
}

.yx-template-verify-shell .yx-col-key {
  width: 24%;
}

.yx-template-verify-shell .yx-col-value {
  width: 56%;
}

.yx-template-verify-shell .yx-col-hit {
  width: 20%;
}

.yx-template-verify-shell .yx-table tbody td:nth-child(2) {
  min-width: 0;
  color: var(--yx-color-text);
  word-break: break-word;
  white-space: normal;
  text-align: left;
}

.yx-template-verify-shell .yx-table tbody td:last-child {
  text-align: center;
}

.yx-template-var-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: #2f5a95;
  font-size: 12px;
  line-height: 1.6;
}

.yx-template-industry-pair,
.yx-account-detail-meta-grid,
.yx-keyword-detail-meta-grid,
.yx-voice-customer-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
  min-width: 0;
  align-items: start;
}

.yx-template-industry-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.yx-template-industry-group,
.yx-template-industry-pair .yx-field,
.yx-cover-summary-grid .yx-field {
  min-width: 0;
}

.yx-cover-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.yx-cover-grid.is-masonry-ready {
  grid-auto-flow: row dense;
  grid-auto-rows: 8px;
}

.yx-cover-card {
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-control);
  background: var(--yx-color-surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: auto;
  margin: 0;
}

.yx-cover-list-shell {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.yx-cover-card__preview {
  position: relative;
  margin: 0;
  border-bottom: 1px solid var(--yx-color-border);
  background: #f7f7f9;
  aspect-ratio: var(--yx-cover-preview-ratio, 9 / 16);
  display: grid;
  place-items: center;
}

.yx-cover-card__preview img,
.yx-cover-upload__frame img,
.yx-cover-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yx-cover-card__body {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.yx-cover-card__title {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--yx-color-text-strong);
  font-weight: 700;
}

.yx-cover-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--yx-color-text);
  min-height: 44px;
}

.yx-cover-card__meta {
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--yx-color-text-muted);
}

.yx-cover-card__actions {
  margin-top: 4px;
}

.yx-cover-upload,
.yx-cover-gallery-group {
  display: grid;
  gap: 10px;
}

.yx-cover-upload__toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yx-cover-upload__name {
  color: var(--yx-color-text-muted);
  font-size: 13px;
  line-height: 1.4;
}

.yx-cover-upload__preview {
  position: relative;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-control);
  background: var(--yx-color-surface-soft);
  min-height: 244px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yx-cover-upload__frame {
  border: 1px dashed var(--yx-color-border);
  border-radius: var(--yx-radius-inner);
  background: #ffffff;
  overflow: hidden;
  display: grid;
  place-items: center;
  max-width: 100%;
}

.yx-cover-upload__frame.yx-cover-ratio--916 {
  height: 214px;
  aspect-ratio: 9 / 16;
}

.yx-cover-upload__frame.yx-cover-ratio--169 {
  width: min(320px, 100%);
  aspect-ratio: 16 / 9;
}

.yx-cover-upload__preview img[hidden],
.yx-cover-upload__empty[hidden] {
  display: none;
}

.yx-cover-upload__empty {
  color: var(--yx-color-text-muted);
  font-size: 13px;
  padding: 10px 14px;
  text-align: center;
}

.yx-cover-ratio--916 {
  --yx-cover-preview-ratio: 9 / 16;
}

.yx-cover-ratio--169 {
  --yx-cover-preview-ratio: 16 / 9;
}

.yx-cover-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.yx-cover-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.yx-cover-gallery-shell {
  padding: 12px;
}

.yx-cover-gallery__item {
  margin: 0;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-control);
  background: #fff;
  overflow: hidden;
  min-width: 0;
}

.yx-cover-gallery__item img {
  aspect-ratio: 9 / 16;
  background: #f6f7f9;
}

.yx-cover-gallery__caption {
  padding: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--yx-color-text-muted);
  word-break: break-word;
}

.yx-video-customer-summary,
.yx-video-group-summary,
.yx-account-detail-summary,
.yx-keyword-detail-summary,
.yx-voice-customer-detail-summary,
.yx-industry-detail-summary {
  margin-bottom: 20px;
}

.yx-video-customer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 20px;
}

.yx-video-host-card__meta {
  font-size: 12px;
}

.yx-video-group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
}

.yx-video-clip-player,
.yx-bgm-audition-player,
.yx-voice-audition-player,
.yx-voice-customer-player {
  display: block;
  width: calc(100% - 20px);
  max-width: calc(100% - 20px);
  box-sizing: border-box;
  margin-inline: 10px;
}

.yx-field > .yx-video-clip-player,
.yx-field > .yx-bgm-audition-player,
.yx-field > .yx-voice-audition-player,
.yx-field > .yx-voice-customer-player {
  width: calc(100% - 20px);
  max-width: calc(100% - 20px);
  margin-inline: 10px;
}

.yx-video-clip-player {
  border-radius: var(--yx-radius-inner);
  background: #000;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: contain;
}

.yx-field > .yx-video-clip-player {
  height: auto;
}

.yx-voice-customer-detail-note {
  margin: 0 0 12px;
}

.yx-voice-customer-detail-card {
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-control);
  background: #fff;
  padding: 14px;
}

.yx-voice-customer-detail-card__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.yx-voice-customer-detail-card__player {
  margin-top: 12px;
}

.yx-industry-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
}

.yx-industry-l2-stack,
.yx-industry-l2-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.yx-industry-l2-shell {
  margin-top: 2px;
}

.yx-industry-l2-toolbar {
  align-items: center;
}

.yx-industry-l2-toolbar .yx-industry-l2-search {
  width: 100%;
  min-width: 0;
  max-width: none;
  flex: none;
}

.yx-industry-l2-search {
  width: min(300px, 100%);
  max-width: 100%;
}

.yx-industry-l2-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--yx-height-control);
  padding: 9px 12px 9px 16px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-control);
  background: var(--yx-color-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.yx-industry-l2-item:not([data-l2-status="frozen"]):hover,
.yx-industry-l2-item:not([data-l2-status="frozen"]):focus-within {
  border-color: var(--yx-color-brand);
  box-shadow: 0 0 0 3px var(--yx-color-focus-ring);
}

.yx-industry-l2-item[data-l2-status="frozen"] {
  background: #f7f8fa;
  border-color: var(--yx-color-border);
}

.yx-industry-l2-item[data-l2-status="frozen"] .yx-industry-l2-item__name {
  color: var(--yx-color-text-muted);
}

.yx-industry-l2-item__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yx-industry-l2-item__name {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yx-industry-l2-item__edit {
  width: 28px;
  height: 28px;
  border: 1px solid var(--yx-color-border);
  border-radius: var(--yx-radius-inner);
  background: #fff;
  color: var(--yx-color-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.yx-industry-l2-item:hover .yx-industry-l2-item__edit,
.yx-industry-l2-item:focus-within .yx-industry-l2-item__edit {
  opacity: 1;
  pointer-events: auto;
}

.yx-industry-l2-item__edit:hover,
.yx-industry-l2-item__edit:focus-visible {
  border-color: var(--yx-color-brand);
  color: var(--yx-color-brand);
  background: rgba(255, 102, 0, 0.04);
  outline: none;
}

.yx-industry-l2-item__edit svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.yx-industry-l2-empty {
  grid-column: 1 / -1;
  min-height: var(--yx-height-control);
  border: 1px dashed var(--yx-color-border);
  border-radius: var(--yx-radius-control);
  color: var(--yx-color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
}

.yx-industry-l2-empty[hidden],
.yx-template-toolbar-level2[hidden] {
  display: none !important;
}

.yx-page-file {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  line-height: 1.6;
  color: var(--yx-color-text-muted);
}

.yx-account-content-status-col .yx-inline-row {
  justify-content: center;
  flex-wrap: nowrap;
}


.yx-step-status-list {
  display: grid;
  gap: 8px;
  justify-content: center;
}

.yx-step-status-item {
  display: inline-grid;
  grid-template-columns: 40px auto;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
}

.yx-step-status-label {
  color: var(--yx-color-text-strong);
  font-size: 13px;
  line-height: 20px;
  text-align: right;
}

.yx-status.yx-status--button {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.yx-status.yx-status--button:hover {
  transform: translateY(-1px);
}

.yx-status.yx-status--button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 111, 206, 0.18);
}

.yx-account-step-col {
  min-width: 112px !important;
  width: 112px !important;
  text-align: center !important;
}

.yx-account-step-col .yx-status--button {
  min-width: 72px;
}

.yx-account-content-status-col .yx-inline-split {
  width: auto;
  max-width: 100%;
  margin-left: auto;
}

.yx-account-content-status-col .yx-inline-split--status .yx-inline-split__value {
  font-size: 13px;
  line-height: 1.6;
}

.yx-account-content-status-col .yx-inline-split__value.is-waiting {
  color: var(--yx-color-text-muted);
}

.yx-account-content-status-col .yx-inline-split__value.is-done {
  color: var(--yx-color-success);
}

.yx-account-content-status-col .yx-inline-split__value.is-running {
  color: var(--yx-color-danger);
}

.yx-table thead th.yx-account-content-status-col,
.yx-table tbody td.yx-account-content-status-col {
  width: 332px;
  min-width: 332px;
  max-width: 332px;
  text-align: center !important;
}

#accountContentDetailModal .yx-detail-list > li > .yx-inline-split {
  width: auto;
  max-width: 100%;
  margin-left: auto;
  grid-template-columns: auto 16px auto;
}

#accountContentDetailModal .yx-detail-list .yx-inline-split__value--left,
#accountContentDetailModal .yx-detail-list .yx-inline-split__value--right {
  text-align: right;
}

.yx-keyword-detail-toolbar {
  width: 100%;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.yx-keyword-detail-toolbar .yx-toolbar__search--standard {
  flex: 0 1 360px;
}

.yx-keyword-detail-toolbar .yx-toolbar__actions {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.yx-ops-garbage-table {
  --yx-link-col-width: 320px;
}

.yx-ops-garbage-table col.yx-col-link--narrow,
.yx-ops-garbage-table .yx-col-link--narrow {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
}

.yx-search__input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

.yx-settings-user-field,
.yx-settings-user-field--name,
.yx-settings-user-field--phone {
  min-width: 0;
}

.yx-settings-user-name-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.yx-knowledge-index-table,
.yx-template-table {
  width: max-content;
  min-width: 100%;
  table-layout: fixed;
}

.yx-knowledge-index-table .yx-col-module,
.yx-table--standard .yx-col-module {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.yx-knowledge-index-table .yx-col-page,
.yx-table--standard .yx-col-page {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
}

.yx-knowledge-index-table .yx-col-file,
.yx-table--standard .yx-col-file {
  width: 320px;
  min-width: 320px;
  max-width: 320px;
}

.yx-table--standard .yx-col-title {
  width: 320px;
  min-width: 320px;
  max-width: 320px;
}

.yx-table--standard .yx-col-summary {
  width: 360px;
  min-width: 360px;
  max-width: 360px;
}

.yx-table--standard .yx-col-industry,
.yx-table--standard .yx-col-owner {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
}

.yx-table--standard .yx-col-host-id {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
}

.yx-table--standard .yx-col-host-name {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
}

.yx-table--standard .yx-col-manage-id {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
}

.yx-table--standard .yx-col-metrics,
.yx-table--standard .yx-col-multi-status {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  text-align: center;
}

@media (max-width: 1480px) {
  .yx-summary-tag-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1320px) {
  .yx-video-customer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1280px) {
  .yx-cover-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .yx-summary-ring-grid {
    grid-template-columns: 1fr;
  }

  .yx-summary-runtime-head,
  .yx-summary-runtime-item {
    grid-template-columns: 160px repeat(4, minmax(0, 1fr)) 140px 56px;
    gap: 10px;
  }
}

@media (max-width: 1200px) {
  .yx-video-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .yx-template-editor-layout > .yx-panel {
    height: auto;
  }

  .yx-template-form-stack {
    display: grid;
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    grid-template-rows: auto;
  }

  .yx-template-form-field--grow .yx-textarea {
    min-height: 180px;
  }

  .yx-template-industry-pair,
  .yx-voice-customer-detail-grid,
  .yx-account-detail-meta-grid,
  .yx-keyword-detail-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yx-industry-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1320px) {
  .yx-cover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1160px) {
  .yx-cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .yx-summary-tag-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yx-summary-tag-grid.yx-summary-tag-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .yx-cover-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .yx-bgm-import-grid,
  .yx-voice-customer-detail-card__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .yx-account-detail-meta-grid,
  .yx-keyword-detail-meta-grid,
  .yx-voice-customer-detail-grid,
  .yx-industry-detail-grid {
    grid-template-columns: 1fr;
  }

  .yx-keyword-detail-toolbar {
    flex-wrap: wrap;
  }

  .yx-keyword-detail-toolbar .yx-toolbar__search--standard,
  .yx-keyword-detail-toolbar .yx-toolbar__actions {
    width: 100%;
    flex: 1 1 100%;
  }

  .yx-keyword-detail-toolbar .yx-toolbar__actions {
    margin-left: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  .yx-cover-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .yx-cover-summary-grid,
  .yx-video-customer-grid,
  .yx-video-group-grid {
    grid-template-columns: 1fr;
  }
}
/* KNOWLEDGE_PREVIEW_STANDARD_P1_END */
