.platform-system-body {
  min-width: 1120px;
  height: 100vh;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  color: #30343b;
  background: #f5f7fa;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
}

.platform-system-body button,
.platform-system-body input,
.platform-system-body select {
  font: inherit;
}

.platform-system-body button {
  cursor: pointer;
}

.platform-system-shell {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f5f7fa;
}

.platform-system-topbar {
  flex-basis: 52px;
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid #e0e5eb;
  border-radius: 0;
  background: #fff;
  overflow: visible;
}

.platform-system-brand {
  flex-basis: 207px;
  gap: 10px;
  padding-left: 22px;
}

.platform-system-logo {
  width: 28px;
  height: 28px;
  margin: 0;
  border-radius: 4px;
  background: #0046c8;
  font-size: 14px;
  font-weight: 700;
}

.platform-system-wordmark-image {
  width: 125px;
  height: 16px;
  display: block;
  object-fit: contain;
}

.platform-system-nav {
  justify-content: flex-start;
}

.platform-system-nav-item {
  min-width: 92px;
  padding: 0 20px;
  color: #333;
  font-size: 14px;
  font-weight: 400;
}

.platform-system-nav-item.is-active {
  color: #0046c8;
  background: #fff;
  box-shadow: inset 0 -2px 0 #0046c8;
}

.platform-system-user {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #333;
  font-size: 14px;
  font-weight: 400;
}

.platform-account {
  position: relative;
  margin: 0 20px;
}

.platform-account-menu {
  width: 288px;
  position: absolute;
  z-index: 80;
  top: calc(100% + 9px);
  right: 0;
  overflow: hidden;
  border: 1px solid #e0e5eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(28, 42, 62, 0.16);
}

.platform-account-menu[hidden] {
  display: none;
}

.account-menu-profile,
.account-menu-logout {
  width: 100%;
  display: flex;
  align-items: center;
  border: 0;
  background: #fff;
}

.account-menu-profile {
  height: 68px;
  gap: 12px;
  padding: 0 18px;
  color: #30343b;
}

.account-menu-profile:hover,
.account-menu-logout:hover {
  background: #f7f9fc;
}

.account-menu-profile strong {
  flex: 1;
  overflow: hidden;
  font-weight: 500;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-arrow {
  color: #8b929c;
  font-size: 24px;
  line-height: 1;
}

.account-menu-logout {
  height: 42px;
  justify-content: center;
  border-top: 1px solid #edf0f3;
  color: #f5222d;
}

.platform-user-avatar {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #5b8ff9;
  font-size: 12px;
}

.platform-system-layout {
  flex: 1 1 auto;
  min-height: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.platform-system-sidebar {
  flex-basis: 207px;
  padding: 18px 12px;
  border-color: #e0e5eb;
  background: #fff;
}

.platform-system-sidebar h2 {
  margin: 0 12px 14px;
  color: #333;
  font-size: 15px;
  font-weight: 600;
}

.platform-side-list {
  gap: 4px;
}

.platform-side-item {
  height: 40px;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid transparent;
  outline: none;
  border-radius: 3px;
  color: #0046c8;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
}

.platform-side-item.is-active {
  border-color: #c8dcff;
  background: #edf4ff;
}

.platform-side-item:focus-visible {
  border-color: #8fb7f8;
  box-shadow: 0 0 0 2px rgba(0, 70, 200, 0.08);
}

.platform-side-item:not(.is-active) .side-dot {
  opacity: 0;
}

.side-dot {
  width: 3px;
  height: 16px;
  border-radius: 1px;
  background: #0046c8;
}

.platform-system-main {
  min-height: 0;
  padding: 0 20px 20px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f5f7fa;
}

.platform-system-main.is-annotation-view {
  height: auto;
  min-height: 0;
  padding: 10px 12px 12px;
  overflow: hidden;
}

.platform-system-main.is-operator-detail-view {
  padding-bottom: 0;
  overflow: hidden;
}

.client-page {
  margin-top: 18px;
}

.client-title-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.client-title-row h1 {
  margin: 0;
  color: #141c28;
  font-size: 20px;
  font-weight: 600;
}

.client-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-toolbar {
  justify-content: space-between;
}

.client-toolbar .toolbar-left,
.client-toolbar .toolbar-right {
  display: flex;
  align-items: center;
}

.library-page-head p,
.dataset-context span,
.dataset-source {
  margin: 4px 0 0;
  display: block;
  color: #7b8491;
  font-size: 12px;
}

.dataset-head-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dataset-metric-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.dataset-metric-strip > div {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #e4e9f2;
  border-radius: 6px;
  background: #fff;
}

.dataset-metric-strip strong {
  color: #0046c8;
  font-size: 26px;
  line-height: 1.1;
}

.dataset-metric-strip span {
  margin-top: 6px;
  color: #667085;
}

.dataset-card {
  min-height: 260px;
}

.dataset-card .library-folder-meta small {
  margin-top: 8px;
  display: block;
  color: #7b8491;
}

.dataset-status,
.quality-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #d8dfe9;
  border-radius: 12px;
  background: #fff;
  color: #606a78;
  font-size: 12px;
  white-space: nowrap;
}

.dataset-status.is-pending {
  border-color: #ffe1a3;
  color: #ad6800;
  background: #fff7e6;
}

.dataset-status.is-confirmed,
.quality-tag.is-pass {
  border-color: #b7eb8f;
  color: #237804;
  background: #f6ffed;
}

.dataset-status.is-review,
.quality-tag.is-risk {
  border-color: #ffa39e;
  color: #a8071a;
  background: #fff1f0;
}

.dataset-status.is-muted {
  color: #8b929c;
  background: #f4f6f8;
}

.dataset-context {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.assist-chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  background: #e6f4ff;
  color: #0046c8;
}

.assist-chip.is-muted {
  background: #f4f6f8;
  color: #667085;
}

.assist-box {
  fill: rgba(0, 70, 200, 0.08);
  stroke: #0046c8;
  stroke-width: 4;
  stroke-dasharray: 14 10;
}

.assist-label-bg {
  fill: #0046c8;
  opacity: 0.92;
}

.assist-label {
  fill: #fff;
  font-size: 18px;
  font-weight: 600;
}

.dataset-assist-panel {
  gap: 12px;
  padding: 16px;
}

.assist-summary {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 6px;
  background: #f7f9fc;
}

.dataset-assist-panel p {
  margin: 0;
  color: #7b8491;
  line-height: 1.6;
}

.quality-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

.quality-panel,
.derive-card {
  padding: 18px;
  border: 1px solid #e4e9f2;
  border-radius: 6px;
  background: #fff;
}

.quality-panel h2,
.derive-preview h2 {
  margin: 0 0 14px;
  color: #30343b;
  font-size: 16px;
}

.quality-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f3;
}

.quality-row:last-child {
  border-bottom: 0;
}

.quality-row span {
  color: #0046c8;
  font-size: 20px;
  font-weight: 700;
}

.quality-row em {
  grid-column: 1 / -1;
  color: #7b8491;
  font-style: normal;
}

.quality-bars {
  display: grid;
  gap: 14px;
}

.quality-bars > div {
  display: grid;
  grid-template-columns: 70px 1fr 42px;
  align-items: center;
  gap: 10px;
}

.quality-bars b {
  height: 10px;
  border-radius: 5px;
  background: #0046c8;
}

.quality-bars em {
  color: #667085;
  font-style: normal;
}

.quality-panel p,
.derive-card p {
  color: #667085;
  line-height: 1.7;
}

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

.derive-card strong {
  display: block;
  margin-bottom: 10px;
  color: #30343b;
  font-size: 17px;
}

.derive-preview {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid #e4e9f2;
  border-radius: 6px;
  background: #fff;
}

.derive-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.derive-preview h2 {
  grid-column: 1 / -1;
}

.derive-preview figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #e4e9f2;
  border-radius: 6px;
  background: #f7f9fc;
}

.derive-preview img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
}

.derive-preview figcaption {
  padding: 10px;
  color: #667085;
  line-height: 1.5;
}

.model-version-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.model-version-strip article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #e4e9f2;
  border-radius: 6px;
  background: #fff;
}

.model-version-strip strong {
  color: #0046c8;
  font-size: 20px;
}

.model-version-strip span {
  color: #237804;
}

.model-version-strip small {
  color: #667085;
}

.train-model-modal {
  width: min(760px, 100%);
}

.train-cascade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.train-cascade section {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.train-cascade h3 {
  margin: 0;
  color: #30343b;
  font-size: 14px;
  font-weight: 600;
}

.train-cascade-list {
  max-height: 300px;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 8px;
  border: 1px solid #e0e5eb;
  border-radius: 6px;
  background: #f8fafc;
}

.train-cascade-list button {
  width: 100%;
  min-height: 58px;
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: #fff;
  text-align: left;
}

.train-cascade-list button:hover,
.train-cascade-list button.is-selected {
  transform: none;
  border-color: #8fb7f8;
  background: #f1f6ff;
}

.train-cascade-list strong {
  color: #141c28;
  font-weight: 600;
}

.train-cascade-list span,
.train-cascade-empty {
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}

.train-cascade-empty {
  padding: 18px 12px;
  border: 1px dashed #d8dde5;
  border-radius: 5px;
  background: #fff;
}

.client-toolbar input {
  width: 320px;
}

.client-table {
  table-layout: fixed;
}

.client-table th:nth-child(1) {
  width: 14%;
}

.client-table th:nth-child(2) {
  width: 34%;
}

.hardware-code {
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-status {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 3px;
  font-size: 12px;
}

.client-status.is-online {
  color: #237804;
  background: #f0fff0;
}

.client-status.is-offline {
  color: #7a828c;
  background: #f1f3f5;
}

.replica-home {
  display: grid;
  gap: 16px;
  padding-top: 18px;
}

.home-journey-banner {
  min-height: 292px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  align-items: center;
  gap: 60px;
  padding: 26px 54px;
  border: 1px solid #e0e5eb;
  border-radius: 4px;
  background: linear-gradient(105deg, #eaf7ff 0%, #f0f3ff 54%, #fcebf8 100%);
}

.home-journey-copy h1 {
  margin: 0 0 14px;
  color: #0759ce;
  font-size: 37px;
  font-weight: 600;
  line-height: 1.25;
}

.home-journey-copy p {
  margin: 0;
  color: #7398df;
  font-size: 20px;
  font-weight: 500;
}

.home-mode-card {
  min-height: 232px;
  position: relative;
  display: grid;
  align-content: center;
  gap: 56px;
  padding: 30px 42px;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #8fd6ff 0%, #6381ed 100%);
}

.home-mode-card strong {
  font-size: 32px;
  font-weight: 600;
}

.home-mode-card span {
  position: relative;
  z-index: 1;
  font-size: 17px;
  font-weight: 500;
}

.home-mode-card b {
  position: absolute;
  right: 26px;
  bottom: -10px;
  color: rgba(255, 255, 255, 0.13);
  font-size: 90px;
  line-height: 1;
}

.home-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #e0e5eb;
  border-radius: 4px;
  background: #fff;
}

.home-overview-panel {
  min-width: 0;
  padding: 18px 20px 24px;
}

.home-overview-panel + .home-overview-panel {
  border-left: 1px solid #e0e5eb;
}

.home-overview-panel > header {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #edf0f3;
}

.home-overview-panel h2 {
  margin: 0;
  color: #30343b;
  font-size: 18px;
  font-weight: 500;
}

.home-overview-panel header span {
  color: #5f6771;
  font-size: 13px;
}

.home-overview-panel header b {
  color: #1677ff;
  font-size: 25px;
  font-weight: 600;
}

.home-terminal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-terminal-card {
  min-width: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 4px;
  background: #f5f8fd;
}

.home-terminal-card div {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.home-terminal-card strong {
  color: #30343b;
  font-size: 14px;
  font-weight: 500;
}

.home-terminal-card span {
  overflow: hidden;
  color: #7d858f;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-terminal-card em {
  flex: 0 0 auto;
  min-width: 52px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dde5;
  border-radius: 3px;
  color: #747b85;
  background: #fff;
  font-size: 11px;
  font-style: normal;
}

.home-folder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-folder-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 92px;
  gap: 10px;
  padding: 11px;
  border-radius: 4px;
  background: #f2f7ff;
  cursor: pointer;
}

.home-folder-card div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.home-folder-card strong {
  overflow: hidden;
  color: #30343b;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-folder-card span {
  color: #8a929d;
  font-size: 11px;
}

.home-folder-card img {
  width: 100%;
  height: 92px;
  object-fit: cover;
}

.ui-icon {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn,
.table-icon-btn,
.row-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #606873;
  background: transparent;
}

.table-icon-btn,
.row-icon-btn {
  width: 28px;
  height: 28px;
}

.table-icon-btn:hover,
.row-icon-btn:hover {
  color: #0046c8;
  background: #edf4ff;
}

.danger-icon {
  color: #f5222d;
}

.danger-icon:hover {
  color: #cf1322;
  background: #fff1f0;
}

.platform-table-page,
.platform-library-page,
.folder-detail-page {
  min-height: calc(100vh - 120px);
  gap: 14px;
  padding: 16px;
  border: 1px solid #e0e5eb;
  border-radius: 3px;
  background: #fff;
}

.model-list-page,
.training-record-page,
.library-root-page,
.library-folder-page,
.scene-page,
.scene-detail-page {
  margin-top: 18px;
}

.scene-page-head,
.scene-detail-head,
.model-page-head,
.library-page-head {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.scene-sticky-head {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  gap: 12px;
  margin: -16px -16px 14px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #edf0f3;
  background: #fff;
}

.scene-page-head h1,
.scene-detail-head h1,
.model-page-head h1,
.library-page-head h1 {
  margin: 0;
  color: #141c28;
  font-size: 20px;
  font-weight: 600;
}

.scene-detail-head p {
  margin: 6px 0 0;
  color: #667085;
  font-size: 13px;
}

.scene-detail-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.model-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #667085;
  font-size: 14px;
}

.model-breadcrumb button {
  padding: 0;
  border: 0;
  color: #0046c8;
  background: transparent;
  cursor: pointer;
}

.model-breadcrumb strong {
  color: #141c28;
  font-size: 18px;
  font-weight: 600;
}

.scene-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.scene-page-subtitle {
  max-width: 760px;
  margin: 8px 0 0;
  color: #667085;
  line-height: 1.6;
}

.scene-tabs {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #d8e1ef;
  border-radius: 6px;
  background: #f7f9fc;
}

.scene-tabs button {
  min-width: 92px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  color: #667085;
  background: transparent;
}

.scene-tabs button.is-active {
  color: #0046c8;
  background: #fff;
  box-shadow: 0 1px 3px rgba(10, 24, 45, 0.12);
}

.scene-category-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e4e9f2;
  border-radius: 6px;
  background: #f7f9fc;
}

.scene-category-strip span {
  color: #667085;
}

.scene-category-strip em,
.scene-card-tags span,
.scene-status-pill {
  padding: 4px 9px;
  border-radius: 999px;
  color: #0046c8;
  background: #edf4ff;
  font-style: normal;
  font-size: 12px;
}

.scene-filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid #e4e9f2;
  border-radius: 6px;
  background: #f7f9fc;
}

.scene-filter-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #667085;
}

.scene-filter-row select {
  min-width: 176px;
  height: 32px;
  padding: 0 32px 0 10px;
  border: 1px solid #d8e1ef;
  border-radius: 4px;
  color: #30343b;
  background: #fff;
}

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

.scene-instance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.scene-template-card,
.scene-instance-card,
.scene-info-panel,
.scene-workflow-panel,
.scene-object-card {
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  background: #fff;
}

.scene-template-card,
.scene-instance-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.scene-template-card {
  gap: 12px;
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.scene-template-card:hover,
.scene-template-card:focus-visible {
  border-color: #8fb7f8;
  box-shadow: 0 8px 24px rgba(10, 24, 45, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.scene-template-cover {
  position: relative;
  height: 168px;
  overflow: hidden;
  border-radius: 6px;
  background: #eef2f7;
}

.scene-template-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.scene-template-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(10, 21, 38, 0.56) 100%);
}

.scene-template-cover span {
  position: absolute;
  z-index: 1;
  left: 10px;
  bottom: 9px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scene-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #667085;
}

.scene-card-top span {
  color: #0046c8;
}

.scene-card-top em {
  font-style: normal;
}

.scene-template-card h2,
.scene-instance-card h2,
.scene-info-panel h2,
.scene-workflow-panel h2 {
  margin: 0;
  color: #141c28;
  font-size: 16px;
  font-weight: 600;
}

.scene-template-card h2 {
  font-size: 17px;
}

.scene-template-card p,
.scene-instance-card p,
.scene-info-panel p,
.scene-workflow-panel p,
.scene-empty-copy {
  margin: 0;
  color: #667085;
  line-height: 1.6;
}

.scene-template-card p {
  display: -webkit-box;
  min-height: 66px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.scene-template-card dl,
.scene-instance-card dl,
.scene-info-panel dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.scene-template-card dl div,
.scene-instance-card dl div,
.scene-info-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.scene-template-card dl {
  gap: 5px;
  font-size: 12px;
}

.scene-template-card dt,
.scene-instance-card dt,
.scene-info-panel dt {
  color: #8b929c;
}

.scene-template-card dd,
.scene-instance-card dd,
.scene-info-panel dd {
  margin: 0;
  color: #30343b;
  text-align: right;
}

.scene-template-card dd {
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scene-card-tags,
.scene-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scene-template-card .scene-card-tags {
  min-height: 24px;
}

.scene-card-actions {
  justify-content: flex-end;
}

.scene-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f7;
}

.scene-progress b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #1677ff, #52c41a);
}

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

.scene-info-panel,
.scene-workflow-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.scene-template-example {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff 0%, #fff 54%);
}

.scene-template-example-cover {
  min-height: 184px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef2f7;
}

.scene-template-example-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.scene-template-example-content {
  display: grid;
  align-content: start;
  gap: 14px;
}

.scene-template-example h2 {
  margin: 0;
  color: #141c28;
  font-size: 16px;
  font-weight: 600;
}

.scene-example-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.scene-example-steps article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 118px;
  padding: 12px;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  background: #fff;
}

.scene-example-steps span {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: #1677ff;
  font-size: 12px;
  font-weight: 600;
}

.scene-example-steps strong {
  color: #141c28;
  font-size: 13px;
}

.scene-example-steps p {
  margin: 0;
  color: #667085;
  line-height: 1.5;
}

.scene-template-modal {
  width: min(1120px, 100%);
}

.scene-template-modal .modal-body {
  display: grid;
  gap: 14px;
}

.scene-template-modal-hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  background: #f8fbff;
}

.scene-template-modal-hero img {
  width: 100%;
  height: 178px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  background: #eef2f7;
}

.scene-template-modal-hero div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.scene-template-modal-hero > div > span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  color: #0046c8;
  background: #edf4ff;
  font-size: 12px;
}

.scene-template-modal-hero p {
  margin: 0;
  color: #30343b;
  line-height: 1.7;
}

.scene-template-modal .scene-workflow-panel,
.scene-template-modal .scene-info-panel,
.scene-template-modal .scene-template-example {
  box-shadow: none;
}

.detail-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  background: #fff;
}

.detail-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.detail-panel-head h2 {
  margin: 0;
  color: #141c28;
  font-size: 16px;
  font-weight: 600;
}

.detail-panel-head span {
  color: #667085;
  line-height: 1.5;
}

.dataset-pool-panel {
  margin-top: 4px;
}

.dataset-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.dataset-inline-tabs {
  flex: 0 0 auto;
}

.dataset-pool-note {
  padding: 10px 12px;
  border: 1px solid #edf1f6;
  border-radius: 4px;
  color: #667085;
  background: #f8fafc;
  font-size: 13px;
}

.dataset-version-table th,
.dataset-version-table td {
  vertical-align: middle;
}

.dataset-version-table {
  table-layout: fixed;
  min-width: 1080px;
}

.annotation-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.annotation-summary span {
  height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid #d8e6ff;
  border-radius: 3px;
  color: #0046c8;
  background: #f4f8ff;
  white-space: nowrap;
}

.annotation-summary b {
  color: #30343b;
  font-weight: 500;
}

.dataset-quality-action {
  font-weight: 500;
}

.dataset-quality-score {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 0;
  border: 0;
  color: #0046c8;
  background: transparent;
}

.dataset-quality-score strong {
  color: #0046c8;
  font-size: 16px;
  font-weight: 600;
}

.dataset-quality-score span {
  color: #667085;
  font-size: 12px;
}

.dataset-quality-score:hover span,
.dataset-quality-action:hover {
  color: #003aa7;
  text-decoration: underline;
}

.dataset-version-publish {
  color: #0046c8;
  font-weight: 500;
}

.table-muted {
  color: #98a2b3;
}

.quality-detail-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #e7edf5;
  border-radius: 6px;
  background: #f8fbff;
}

.quality-detail-summary div {
  display: grid;
  gap: 5px;
}

.quality-detail-summary strong {
  color: #141c28;
  font-size: 16px;
  font-weight: 600;
}

.quality-detail-summary span {
  color: #667085;
  font-size: 13px;
}

.quality-detail-summary b {
  min-width: 58px;
  color: #0046c8;
  font-size: 28px;
  font-weight: 700;
  text-align: right;
}

.quality-detail-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.quality-detail-item {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid #edf1f6;
  border-radius: 6px;
}

.quality-detail-item div {
  display: grid;
  gap: 4px;
}

.quality-detail-item strong {
  color: #30343b;
  font-weight: 600;
}

.quality-detail-item span {
  color: #667085;
  font-size: 13px;
}

.quality-detail-item em {
  color: #0046c8;
  font-style: normal;
  font-weight: 600;
}

.quality-detail-note {
  margin-top: 14px;
  color: #667085;
  font-size: 13px;
  line-height: 1.7;
}

.version-source-options {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d8dde5;
  border-radius: 3px;
  background: #fff;
}

.version-source-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #30343b;
}

.version-source-options input {
  flex: 0 0 auto;
}

.scene-workflow-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scene-workflow-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid #edf1f7;
  border-radius: 6px;
  background: #fafbfd;
}

.scene-workflow-list li > span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #667085;
  background: #edf1f7;
}

.scene-workflow-list li.is-done > span {
  color: #fff;
  background: #52c41a;
}

.scene-workflow-list li.is-current {
  border-color: #b7d0ff;
  background: #f4f8ff;
}

.scene-workflow-list li.is-current > span {
  color: #fff;
  background: #1677ff;
}

.scene-workflow-list strong {
  display: block;
  margin-bottom: 6px;
  color: #141c28;
}

.scene-workflow-list p {
  margin: 4px 0;
}

.scene-step-objects {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.scene-step-objects > span {
  color: #8b929c;
  font-size: 12px;
}

.scene-workflow-list button {
  margin-top: 10px;
}

.scene-object-card {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 12px;
}

.scene-object-card strong {
  color: #141c28;
}

.scene-object-card span {
  color: #667085;
}

.scene-ideal-flow {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scene-ideal-flow li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.scene-ideal-flow span {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #0046c8;
  background: #edf4ff;
  font-size: 12px;
  font-weight: 600;
}

.scene-ideal-flow p {
  margin: 0;
  color: #30343b;
  line-height: 1.55;
}

.scene-orchestration-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
  align-items: start;
}

.scene-node-panel {
  min-height: 420px;
}

.scene-deploy-panel {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 70px;
}

.scene-operator-pipeline {
  display: grid;
  gap: 10px;
}

.scene-operator-pipeline.is-compact {
  gap: 8px;
}

.scene-tool-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.scene-tool-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #98a2b3;
  font-size: 18px;
}

.scene-tool-step-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  padding: 14px;
  border: 1px solid #e4e9f2;
  border-radius: 10px;
  background: #fbfcff;
}

.scene-tool-step-card.has-node {
  background: #fff;
}

.scene-tool-step-card h3 {
  margin: 0;
  color: #141c28;
  font-size: 17px;
  font-weight: 600;
}

.scene-tool-step-card > p {
  margin: 0;
  color: #667085;
  line-height: 1.6;
}

.scene-tool-step-card .scene-operator-node-card {
  padding: 12px;
  box-shadow: none;
}

.scene-operator-node-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  background: #fff;
}

.scene-operator-node-card.is-bound {
  border-color: #c9dcff;
  box-shadow: 0 8px 22px rgba(22, 119, 255, 0.08);
}

.scene-operator-node-card.is-empty {
  border-style: dashed;
  background: #fbfcff;
}

.scene-node-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.scene-node-head span,
.scene-node-head em {
  height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
}

.scene-node-head span {
  color: #0046c8;
  background: #edf4ff;
}

.scene-node-head em {
  color: #344054;
  background: #f2f4f7;
}

.scene-operator-node-card.is-bound .scene-node-head em {
  color: #037a48;
  background: #e9f8ef;
}

.scene-operator-node-card h3 {
  margin: 0;
  color: #141c28;
  font-size: 16px;
  font-weight: 600;
}

.scene-operator-node-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
}

.scene-operator-node-card dl div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.scene-operator-node-card dt {
  color: #98a2b3;
  font-size: 12px;
}

.scene-operator-node-card dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #30343b;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scene-node-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.scene-node-rule {
  margin: -2px 0 0;
  padding: 8px 10px;
  border-radius: 6px;
  color: #667085;
  background: #f8fafc;
  font-size: 12px;
  line-height: 1.5;
}

.scene-pipeline-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  color: #667085;
  font-size: 12px;
}

.scene-pipeline-connector::before,
.scene-pipeline-connector::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: #e4e9f2;
}

.scene-pipeline-connector span {
  padding: 4px 10px;
  border: 1px solid #e4e9f2;
  border-radius: 999px;
  background: #fff;
}

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

.scene-connection-list li {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #edf1f7;
  border-radius: 6px;
  background: #fbfcff;
}

.scene-connection-list strong {
  color: #141c28;
}

.scene-connection-list span,
.scene-return-note {
  color: #667085;
  line-height: 1.6;
}

.scene-return-note {
  margin: 0;
  padding: 10px;
  border-radius: 6px;
  background: #f8fafc;
  font-size: 13px;
}

.library-scope-note {
  color: #667085;
  font-size: 13px;
}

.platform-toolbar {
  min-height: 36px;
}

.toolbar-context-group {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.model-context {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8b929c;
  font-size: 12px;
  white-space: nowrap;
}

.model-context strong {
  max-width: 240px;
  overflow: hidden;
  color: #30343b;
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
}

.model-context i {
  width: 1px;
  height: 16px;
  margin: 0 3px;
  background: #d8dde5;
}

.toolbar-left,
.toolbar-right,
.folder-toolbar {
  gap: 10px;
}

.platform-toolbar select,
.platform-toolbar input,
.folder-toolbar select,
.form-field > input,
.form-field > select,
.form-field > textarea {
  height: 34px;
  min-width: 180px;
  padding: 0 10px;
  border: 1px solid #d8dde5;
  border-radius: 3px;
  color: #333;
  background: #fff;
  font-size: 13px;
  outline: none;
}

.platform-toolbar input {
  width: 220px;
}

.platform-system-body input:focus,
.platform-system-body select:focus,
.platform-system-body textarea:focus {
  border-color: #0046c8;
  box-shadow: 0 0 0 2px rgba(0, 70, 200, 0.08);
}

.primary-btn,
.secondary-btn,
.danger-btn,
.ghost-btn {
  min-width: 74px;
  height: 34px;
  padding: 0 14px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 400;
}

.primary-btn {
  border: 1px solid #0046c8;
  color: #fff;
  background: #0046c8;
}

.primary-btn:hover {
  background: #003aa7;
}

.secondary-btn,
.ghost-btn {
  border: 1px solid #d8dde5;
  color: #333;
  background: #fff;
}

.danger-btn {
  border: 1px solid #f5222d;
  color: #fff;
  background: #f5222d;
}

.primary-btn:disabled,
.secondary-btn:disabled,
.table-actions button:disabled {
  cursor: not-allowed;
  color: #b8bec7;
  border-color: #e2e5e9;
  background: #f5f6f7;
}

.danger-outline {
  color: #f5222d;
  border-color: #ffb7bb;
}

.danger-outline:hover {
  color: #cf1322;
  border-color: #f5222d;
  background: #fff2f2;
}

.platform-table-wrap {
  border: 1px solid #e0e5eb;
}

.model-list-page .platform-table-wrap {
  overflow: visible;
}

.operator-list-page .platform-data-table {
  min-width: 1180px;
}

.operator-summary-grid,
.operator-deploy-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.operator-summary-grid article,
.operator-deploy-grid article {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e7ebf0;
  border-radius: 4px;
  background: #fbfcfe;
}

.operator-summary-grid span,
.operator-deploy-grid span {
  display: block;
  margin-bottom: 6px;
  color: #7d858f;
  font-size: 12px;
}

.operator-summary-grid strong,
.operator-deploy-grid strong {
  display: block;
  overflow: hidden;
  color: #1f2937;
  font-size: 16px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-deploy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.operator-data-table .library-image-name img,
.public-data-table .library-image-name img {
  width: 44px;
  height: 30px;
}

.operator-record-menu {
  right: 0;
  min-width: 126px;
}

.operator-version-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
}

.operator-detail-title-row {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 18px;
}

.operator-profile-header {
  flex: 0 0 auto;
  display: grid;
  gap: 10px;
  margin: -2px -16px 2px;
  padding: 12px 32px 18px;
  border-bottom: 1px solid #e7edf5;
}

.operator-profile-back {
  justify-self: start;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #d9e0e9;
  border-radius: 3px;
  background: #fff;
  color: #66758c;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.operator-profile-back:hover {
  color: #004fc4;
  border-color: #9fc2ff;
  background: #f5f9ff;
}

.operator-profile-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.operator-profile-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.operator-profile-copy h1 {
  margin: 0;
  overflow: hidden;
  color: #1f2a3a;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-profile-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.operator-profile-tag,
.operator-profile-scene,
.operator-current-version {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid #d9e3f0;
  border-radius: 4px;
  background: #fff;
  color: #526175;
  font: inherit;
  font-size: 12px;
  white-space: nowrap;
}

.operator-profile-tag {
  color: #0754c9;
  border-color: #c8dcff;
  background: #edf4ff;
}

.operator-profile-scene {
  cursor: pointer;
}

.operator-profile-scene:hover {
  color: #004fc4;
  border-color: #8cb8ff;
  background: #f5f9ff;
}

.operator-profile-scene.is-muted {
  color: #8a94a3;
  cursor: default;
}

.operator-profile-scene.is-muted:hover {
  color: #8a94a3;
  border-color: #d9e3f0;
  background: #fff;
}

.operator-profile-copy p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  color: #758195;
  font-size: 14px;
}

.operator-profile-copy p i {
  color: #a4adba;
  font-style: normal;
}

.operator-current-version {
  padding-right: 4px;
}

.operator-current-version-list {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 3px;
  color: #607087;
  background: transparent;
  cursor: pointer;
}

.operator-current-version-list:hover {
  color: #004fc4;
  background: #edf4ff;
}

.operator-current-version-list .ui-icon {
  width: 16px;
  height: 16px;
}

.operator-profile-train {
  min-width: 96px;
  height: 38px;
  padding: 0 18px;
  font-size: 14px;
}

.operator-version-list-modal {
  width: min(1040px, calc(100vw - 80px));
}

.operator-version-list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #768397;
  font-size: 12px;
}

.operator-version-list-title strong {
  color: #263244;
  font-size: 14px;
}

.operator-version-modal-table-wrap {
  max-height: 460px;
  overflow: auto;
}

.operator-version-modal-table {
  min-width: 900px;
}

.operator-version-modal-table td:first-child {
  white-space: nowrap;
}

.operator-version-latest-tag {
  display: inline-block;
  margin-left: 7px;
  padding: 1px 6px;
  border-radius: 8px;
  color: #0754c9;
  background: #eaf2ff;
  font-size: 10px;
}

.operator-sample-pool-panel {
  margin-top: 0;
}

.operator-training-pool {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.operator-pool-split {
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  overflow: hidden;
  background: #fff;
}

.operator-pool-split.has-detail .operator-training-pool {
  flex: 1 1 0;
}

.operator-pool-resizer {
  position: relative;
  z-index: 2;
  flex: 0 0 7px;
  cursor: col-resize;
  touch-action: none;
  background: #f4f7fb;
  border-right: 1px solid #dce3ec;
  border-left: 1px solid #dce3ec;
}

.operator-pool-resizer::before {
  position: absolute;
  inset: 0 -4px;
  content: "";
}

.operator-pool-resizer span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 42px;
  border-radius: 2px;
  background: #aab6c6;
  box-shadow: -3px 0 0 #d5dce6, 3px 0 0 #d5dce6;
  transform: translate(-50%, -50%);
}

.operator-pool-resizer:hover,
.operator-pool-split.is-resizing .operator-pool-resizer {
  background: #e8f1ff;
  border-color: #8abaff;
}

.operator-pool-split.is-resizing,
.operator-pool-split.is-resizing * {
  cursor: col-resize !important;
  user-select: none !important;
}

.operator-sample-panel {
  position: relative;
  flex: 0 0 min(var(--operator-sample-panel-width, 520px), calc(100% - 320px));
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.operator-sample-panel.is-opening {
  animation: operator-sample-panel-enter 180ms ease-out both;
}

@keyframes operator-sample-panel-enter {
  from { flex-basis: 0; opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}

.operator-sample-drawer-head {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 18px;
  border-bottom: 1px solid #e6ebf2;
}

.operator-sample-drawer-head > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.operator-sample-drawer-head span {
  color: #7b8798;
  font-size: 11px;
}

.operator-sample-drawer-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #263445;
  font-size: 16px;
}

.operator-sample-drawer-nav {
  display: grid;
  grid-template-columns: 92px 1fr 92px;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-top: 1px solid #edf0f4;
  background: #fbfcfe;
}

.operator-sample-drawer-nav span {
  color: #697586;
  font-size: 12px;
  text-align: center;
}

.operator-sample-drawer-scroll {
  min-height: 0;
  flex: 1 1 auto;
  padding: 14px 18px;
  overflow-y: auto;
}

.operator-sample-detail-layout {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: stretch;
  gap: 14px;
}

.operator-sample-drawer-canvas {
  height: min(100%, 62vh);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid #dce3ec;
  border-radius: 5px;
  background: #111827;
}

.operator-sample-drawer-canvas .operator-sample-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.operator-sample-drawer-summary {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e3e8ef;
  border-radius: 5px;
  background: #fbfcfe;
}

.operator-sample-drawer-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.operator-sample-drawer-summary > div > span {
  color: #6f7c8e;
  font-size: 12px;
}

.operator-sample-drawer-summary dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.operator-sample-drawer-summary dl > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  font-size: 12px;
}

.operator-sample-drawer-summary dt {
  color: #7b8798;
}

.operator-sample-drawer-summary dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #334155;
}

.operator-sample-summary-note {
  display: block;
  padding: 10px;
  border: 1px solid #ffd591;
  border-radius: 4px;
  background: #fff7e6;
  color: #7a5520;
  font-size: 12px;
  line-height: 1.5;
}

.operator-sample-summary-actions {
  display: grid;
  gap: 8px;
}

.operator-sample-drawer-summary > .operator-sample-summary-note {
  display: block;
}

.operator-sample-drawer-summary > .operator-sample-summary-actions {
  display: grid;
  align-items: stretch;
  justify-content: stretch;
}

.operator-sample-summary-actions .primary-btn,
.operator-sample-summary-actions .secondary-btn {
  width: 100%;
}

.operator-prediction-switch {
  position: relative;
  width: 34px;
  height: 18px;
  padding: 0;
  border: 1px solid #cfd8e5;
  border-radius: 999px;
  background: #e7ebf0;
  cursor: pointer;
  vertical-align: middle;
}

.operator-prediction-switch span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .22);
  transition: transform 140ms ease;
}

.operator-prediction-switch.is-on {
  border-color: #86b7ff;
  background: #1f6feb;
}

.operator-prediction-switch.is-on span {
  transform: translateX(16px);
}

.operator-drawer-annotate {
  width: 100%;
}

@media (max-width: 900px) {
  .operator-sample-panel {
    flex-basis: min(var(--operator-sample-panel-width, 460px), calc(100% - 260px));
  }

  .operator-pool-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .operator-sample-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.operator-version-grid .detail-panel {
  min-width: 0;
}

.operator-version-grid .platform-table-wrap {
  overflow-x: auto;
}

.operator-version-grid .model-version-table,
.operator-version-grid .dataset-version-table {
  min-width: 720px;
}

.operator-versions-panel {
  margin-top: 0;
  padding: 0;
  overflow: visible;
}

.operator-section-head {
  min-height: 48px;
  padding: 0 12px;
  border-bottom: 1px solid #e7edf5;
}

.operator-section-head h2 {
  margin: 0;
}

.operator-sample-pool-panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.operator-detail-page {
  height: calc(100% - 18px);
  min-height: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.operator-sample-pool-panel > .operator-data-filter,
.operator-sample-pool-panel > .operator-data-subfilter {
  margin-right: 12px;
  margin-left: 12px;
}

.operator-section-head h2 span {
  margin-left: 6px;
  color: #8a94a3;
  font-size: 12px;
  font-weight: 400;
}

.operator-pool-toolbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 10px 12px;
  border-bottom: 1px solid #e7edf5;
  background: #fbfcfe;
}

.operator-pool-split.has-detail .operator-pool-toolbar {
  grid-template-columns: minmax(96px, 1.2fr) minmax(86px, .9fr) minmax(86px, .9fr) auto auto;
  display: grid;
  align-items: center;
  gap: 7px;
  min-height: 0;
  padding: 8px 10px;
}

.operator-pool-split.has-detail .operator-pool-search,
.operator-pool-split.has-detail .operator-pool-toolbar select {
  width: 100%;
}

.operator-pool-split.has-detail .operator-pool-result-count {
  margin-left: 0;
  text-align: right;
}

.operator-pool-toolbar select {
  width: 150px;
  height: 34px;
}

.operator-pool-search {
  position: relative;
  width: 240px;
}

.operator-pool-search input {
  width: 100%;
  height: 34px;
  padding-right: 31px;
  padding-left: 30px;
}

.operator-pool-search-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 11px;
  color: #98a2b2;
  font-size: 16px;
  transform: translateY(-50%);
  pointer-events: none;
}

.operator-pool-search-submit {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #7c8796;
  cursor: pointer;
  transform: translateY(-50%);
}

.operator-pool-search-submit:hover {
  color: #004fc4;
  background: #eef4ff;
}

.operator-pool-search-submit .ui-icon {
  width: 14px;
  height: 14px;
}

.operator-pool-reset-link {
  height: 28px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #7b8798;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.operator-pool-reset-link:hover {
  color: #004fc4;
}

.operator-pool-star-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #d8e0eb;
  border-radius: 3px;
  background: #fff;
  color: #515d6d;
  white-space: nowrap;
}

.operator-pool-result-count {
  margin-left: auto;
  color: #7b8798;
  font-size: 12px;
  white-space: nowrap;
}

.operator-pool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 104px);
  gap: 8px;
}

.operator-pool-timeline {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 18px 12px 22px 34px;
  overflow-x: hidden;
  overflow-y: auto;
}

.operator-pool-timeline::before {
  position: absolute;
  top: 25px;
  bottom: 28px;
  left: 19px;
  width: 1px;
  background: #d8e3f1;
  content: "";
}

.operator-pool-batch {
  position: relative;
  display: grid;
  gap: 10px;
}

.operator-pool-batch-head {
  min-height: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.operator-pool-timeline-dot {
  position: absolute;
  top: 7px;
  left: -21px;
  z-index: 1;
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #1264d8;
  box-shadow: 0 0 0 1px #77a9ee;
}

.operator-pool-batch-head time {
  color: #263244;
  font-size: 13px;
  font-weight: 600;
}

.operator-pool-batch-head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #5d6b7f;
  font-size: 12px;
  font-weight: 500;
}

.operator-pool-batch-head em {
  flex: none;
  min-width: 24px;
  padding: 2px 6px;
  border-radius: 9px;
  color: #0754c9;
  background: #edf4ff;
  font-size: 11px;
  font-style: normal;
  text-align: center;
}

.operator-pool-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe6ef;
  border-radius: 5px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.operator-pool-card:hover {
  border-color: #8cb6ff;
  box-shadow: 0 4px 12px rgb(21 82 167 / 10%);
}

.operator-pool-card.is-active {
  border-color: #1677ff;
  box-shadow: 0 0 0 1px #1677ff;
}

.operator-pool-card-image {
  position: relative;
  display: block;
  width: 100%;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #eef1f5;
}

.operator-pool-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.operator-pool-state {
  position: absolute;
  bottom: 5px;
  left: 5px;
  padding: 1px 5px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 16px;
}

.operator-pool-state.is-annotated {
  background: rgb(82 196 26 / 90%);
  color: #fff;
}

.operator-pool-state.is-prediction {
  background: rgb(250 140 22 / 92%);
  color: #fff;
}

.operator-pool-state.is-unlabeled {
  background: rgb(55 65 81 / 84%);
  color: #fff;
}


.operator-pool-card-body {
  display: grid;
  gap: 3px;
  padding: 6px 7px 7px;
}

.operator-pool-card-body strong,
.operator-pool-card-body span,
.operator-pool-card-body small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-pool-card-body strong {
  color: #263244;
  font-size: 11px;
}

.operator-pool-card-body small {
  color: #7b8798;
  font-size: 10px;
}

.operator-pool-card-body span,
.operator-pool-card-body em {
  display: none;
}

.operator-pool-card-body em {
  color: #d46b08;
  font-size: 11px;
  font-style: normal;
}

.operator-pool-empty {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #8a94a3;
}

.operator-pool-empty strong {
  color: #4c596a;
}

.operator-pool-onboarding {
  min-height: 300px;
  padding: 32px;
  text-align: center;
}

.operator-pool-onboarding-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #0758d1;
  background: #eaf2ff;
  font-size: 24px;
}

.operator-pool-onboarding span {
  max-width: 480px;
  color: #6f7b8c;
}

.operator-pool-onboarding .primary-btn {
  margin-top: 8px;
}

.operator-pool-onboarding small {
  color: #9aa4b2;
}

.operator-version-table-wrap {
  overflow: visible;
}

.unified-operator-version-table {
  min-width: 1120px;
}

.operator-version-main-row {
  cursor: pointer;
}

.operator-version-main-row:hover > td,
.operator-version-main-row.is-expanded > td {
  background: #f7faff;
}

.operator-version-main-row > td:first-child {
  white-space: nowrap;
}

.operator-version-main-row > td:first-child strong {
  margin-right: 8px;
}

.operator-version-main-row > td:first-child small {
  color: #8a94a3;
}

.operator-version-expand {
  width: 24px;
  height: 24px;
  margin-right: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #66758c;
  font-size: 14px;
  line-height: 24px;
}

.operator-version-detail-row > td {
  padding: 0 !important;
  background: #f7faff;
}

.unified-version-detail {
  padding: 14px 16px 16px 40px;
  border-top: 1px solid #e6edf7;
}

.unified-version-detail-tabs {
  width: max-content;
  margin: 0 0 12px;
}

.unified-version-data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 10px;
}

.unified-version-data-grid > article {
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid #e1e8f2;
  border-radius: 4px;
  background: #fff;
}

.unified-version-data-grid > article > span {
  display: block;
  margin-bottom: 8px;
  color: #7b8798;
  font-size: 12px;
}

.unified-version-data-grid > article > strong {
  display: block;
  color: #263244;
  font-size: 13px;
}

.unified-version-data-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.unified-version-empty-result {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 12px;
  border: 1px dashed #ccd7e7;
  border-radius: 4px;
  background: #fff;
}

.unified-training-result-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.unified-training-result-list > article {
  display: grid;
  gap: 8px;
  min-height: 130px;
  padding: 12px;
  border: 1px solid #dfe7f2;
  border-radius: 4px;
  background: #fff;
}

.unified-training-result-list > article > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.unified-training-result-list > article > span {
  color: #66758c;
  font-size: 12px;
}

.unified-training-result-list .table-actions {
  align-self: end;
}

.operator-data-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 40px;
  padding: 8px 0 12px;
}

.operator-data-filter label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #606873;
}

.operator-data-filter select {
  min-width: 160px;
}

.operator-split-tabs {
  margin: 0;
}

.operator-split-tabs.is-disabled {
  opacity: 0.48;
}

.operator-filter-check {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #d8dde5;
  border-radius: 3px;
  background: #fff;
}

.operator-data-subfilter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #e7ebf0;
  border-radius: 4px;
  background: #fafbfd;
}

.operator-annotation-version-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.operator-annotation-version-filter > span {
  margin-right: 2px;
  color: #606873;
}

.operator-annotation-version-filter button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid #d8dde5;
  border-radius: 14px;
  color: #606873;
  background: #fff;
}

.operator-annotation-version-filter button.is-active {
  border-color: #1677ff;
  color: #005bd7;
  background: #eaf3ff;
}

.operator-view-tabs {
  flex: 0 0 auto;
  margin: 0;
}

.operator-data-table {
  min-width: 1180px;
}

.operator-date-group-row td {
  height: 36px;
  min-height: 36px;
  padding: 7px 14px;
  color: #3f4a5a;
  font-weight: 600;
  background: #f4f7fb;
}

.operator-version-annotation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.operator-version-annotation-tags span {
  padding: 3px 7px;
  border: 1px solid #e1e6ed;
  border-radius: 3px;
  color: #747d89;
  background: #f8fafc;
  font-size: 12px;
  white-space: nowrap;
}

.operator-version-annotation-tags span.has-annotation {
  border-color: #b7e6a5;
  color: #2e7d19;
  background: #f0faec;
}

.operator-sample-viewer {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 280px;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid #e0e5eb;
  border-radius: 4px;
  background: #fff;
}

.operator-sample-list {
  overflow-y: auto;
  border-right: 1px solid #e0e5eb;
  background: #fbfcfe;
}

.operator-sample-list header {
  padding: 12px;
  border-bottom: 1px solid #e0e5eb;
}

.operator-sample-list > button {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 9px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  text-align: left;
  background: transparent;
}

.operator-sample-list > button.is-active {
  color: #0046c8;
  background: #eaf3ff;
}

.operator-sample-list img {
  grid-row: 1 / span 2;
  width: 54px;
  height: 38px;
  object-fit: cover;
}

.operator-sample-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-sample-list i {
  color: #d46b08;
  font-size: 12px;
  font-style: normal;
}

.operator-sample-canvas-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #eef1f5;
}

.operator-sample-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #dfe4ea;
  background: #fff;
}

.operator-sample-nav strong {
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-sample-canvas {
  width: 100%;
  margin: auto;
  background: #252b33;
}

.operator-formal-box {
  fill: rgba(22, 119, 255, 0.08);
  stroke: #1677ff;
  stroke-width: 4;
}

.operator-formal-label,
.operator-prediction-label {
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
  fill: #005bd7;
  font-size: 20px;
  font-weight: 600;
}

.operator-prediction-box {
  fill: rgba(250, 140, 22, 0.08);
  stroke: #fa8c16;
  stroke-width: 4;
  stroke-dasharray: 12 8;
}

.operator-prediction-label {
  fill: #d46b08;
}

.operator-sample-inspector {
  padding: 14px;
  overflow-y: auto;
  border-left: 1px solid #e0e5eb;
}

.operator-sample-inspector > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.operator-sample-inspector dl {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 9px;
  margin: 0 0 14px;
}

.operator-sample-inspector dt {
  color: #8a929d;
}

.operator-sample-inspector dd {
  margin: 0;
  color: #303843;
}

.operator-inspector-annotate {
  width: 100%;
  margin-top: 16px;
}

.dataset-split-links {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.dataset-split-links button {
  height: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  color: #0046c8;
  background: transparent;
  font-size: 13px;
}

.dataset-split-links button:hover,
.dataset-split-links button.is-active {
  text-decoration: underline;
}

.dataset-split-links span {
  color: #a5acb5;
}


.platform-data-table {
  min-width: 920px;
}

.platform-data-table th,
.platform-data-table td {
  height: 48px;
  min-height: 48px;
  padding: 10px 14px;
  color: #555d66;
  font-size: 13px;
}

.platform-data-table th {
  color: #333;
  background: #f5f7fa;
  font-weight: 500;
}

.platform-data-table tbody tr:nth-child(even) td {
  background: #fff;
}

.platform-data-table tbody tr + tr td {
  border-top: 1px solid #edf0f3;
}

.platform-data-table tbody tr:hover td {
  background: #f7faff;
}

.table-actions {
  position: relative;
  white-space: nowrap;
}

.table-actions > * + * {
  margin-left: 12px;
}

.table-actions button {
  color: #0046c8;
  font-size: 13px;
  font-weight: 400;
}

.table-actions .danger-link,
.danger-link {
  color: #f5222d;
}

.table-actions .danger-link:disabled {
  color: #c8ced6;
}

.model-main-row {
  cursor: pointer;
}

.model-main-row .table-actions,
.model-main-row .table-actions * {
  cursor: default;
}

.model-row-toggle {
  display: inline-flex;
  width: 16px;
  margin-right: 6px;
  color: #667085;
  font-size: 13px;
}

.model-row-index {
  color: #667085;
}

.table-link {
  padding: 0;
  border: 0;
  color: #0046c8;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.dataset-version-meta {
  display: block;
  margin-top: 4px;
  color: #8b929c;
  font-size: 12px;
}

.model-version-table {
  table-layout: fixed;
}

.model-version-table th,
.model-version-table td {
  vertical-align: middle;
}

.model-version-table .dataset-version-link,
.model-version-metrics {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-version-table .table-actions {
  white-space: nowrap;
}

.model-main-row.is-expanded td {
  border-bottom-color: transparent;
  background: #fbfdff;
}

.model-version-preview-row > td {
  padding: 0 12px 14px;
  background: #fbfdff;
}

.model-version-preview {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #dce8f8;
  border-radius: 6px;
  background: #fff;
}

.model-version-preview-head strong {
  color: #141c28;
  font-size: 14px;
  font-weight: 600;
}

.model-version-preview-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.model-version-preview-list article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 142px;
  padding: 12px;
  border: 1px solid #edf1f6;
  border-radius: 6px;
  background: #f8fafc;
}

.model-version-preview-list article > div {
  min-width: 0;
}

.model-version-preview-list article header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.version-card-grid {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
}

.model-version-preview-list span {
  display: block;
  margin-bottom: 3px;
  color: #8b929c;
  font-size: 12px;
}

.model-version-preview-list b,
.model-version-preview-list strong {
  color: #30343b;
  font-size: 13px;
  font-weight: 500;
}

.model-version-preview-list .dataset-version-link,
.model-version-preview-list b {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-table-footer {
  min-height: 40px;
  gap: 10px;
  border: 0;
  color: #606873;
  font-size: 13px;
}

.pager-current {
  min-width: 28px;
  height: 28px;
  border-radius: 3px;
  background: #0046c8;
  font-weight: 400;
}

.training-status {
  height: 26px;
  padding: 0 9px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 400;
}

.training-status.is-pending {
  color: #666;
  border-color: #d9dde3;
  background: #f7f8f9;
}

.training-status.is-queued {
  color: #d48806;
  border: 1px solid #ffe0a3;
  background: #fff8e8;
}

.training-status.is-training {
  color: #0046c8;
  border: 1px solid #b9d2ff;
  background: #eef4ff;
}

.training-status.is-done {
  color: #389e0d;
  border-color: #b7e3a6;
  background: #f2faee;
}

.training-status.is-failed {
  color: #cf1322;
  border: 1px solid #ffccc7;
  background: #fff1f0;
}

.training-meta {
  display: block;
  margin: 5px 0 0;
  color: #9097a1;
  font-size: 12px;
}

.record-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.record-menu {
  position: absolute;
  z-index: 100;
  top: calc(100% + 6px);
  right: 0;
  min-width: 112px;
  padding: 6px;
  border: 1px solid #e0e5eb;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 33, 52, 0.16);
}

.record-menu button {
  width: 100%;
  height: 32px;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  color: #30343b;
  background: transparent;
  text-align: left;
  white-space: nowrap;
}

.record-menu button:hover {
  transform: none;
  background: #f5f8ff;
}

.record-menu button.danger-link {
  color: #f5222d;
}

.record-menu button + button {
  margin-top: 2px;
}

.record-menu button:disabled {
  cursor: not-allowed;
  color: #a9afb7;
  background: #f7f8f9;
}

.training-workspace {
  min-height: calc(100vh - 120px);
  gap: 12px;
  padding-top: 0;
}

.is-annotation-view .training-workspace {
  height: calc(100vh - 74px);
  min-height: 620px;
  gap: 8px;
}

.training-top-actions {
  min-height: 54px;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #e0e5eb;
  border-radius: 3px;
  background: #fff;
}

.is-annotation-view .training-top-actions {
  min-height: 46px;
  padding: 6px 10px;
}

.is-annotation-view .training-body {
  grid-template-columns: 310px minmax(620px, 1fr);
  gap: 8px;
  min-height: 0;
}

.training-tip {
  height: 32px;
  padding: 0 12px;
  border-color: #b9d2ff;
  border-radius: 3px;
  color: #0046c8;
  background: #eef4ff;
  font-size: 13px;
  font-weight: 400;
}

.training-spacer {
  flex: 1;
}

.training-rule {
  color: #7a828c;
  font-size: 12px;
}

.training-body {
  grid-template-columns: 340px minmax(620px, 1fr);
  gap: 12px;
}

.training-image-list {
  border-color: #e0e5eb;
  border-radius: 3px;
  background: #fff;
}

.training-tabs {
  height: 44px;
}

.training-tabs button {
  color: #666;
  border-color: #e0e5eb;
  font-size: 13px;
  font-weight: 400;
}

.training-tabs button.is-active {
  color: #0046c8;
  box-shadow: inset 0 -2px 0 #0046c8;
}

.training-list-header,
.training-image-row {
  grid-template-columns: 55px minmax(0, 1fr) 42px;
  min-height: 40px;
  padding: 0 12px;
  font-size: 12px;
}

.training-list-header.is-batch,
.training-image-row.is-batch {
  grid-template-columns: 24px 48px minmax(0, 1fr) 18px;
  column-gap: 5px;
}

.training-image-row.is-selected {
  color: #0046c8;
  background: #f2f7ff;
}

.training-image-row > input {
  width: 15px;
  height: 15px;
  margin: 0;
}

.training-row-selection-state,
.training-check-placeholder {
  width: 18px;
}

.training-list-header {
  color: #333;
  background: #f5f7fa;
  font-weight: 500;
}

.training-group {
  min-height: 36px;
  padding: 0 12px;
  color: #555d66;
  font-size: 12px;
  font-weight: 500;
}

.training-image-scroll {
  min-height: 0;
  flex: 1;
  overflow: auto;
}

.dataset-annotation-list-head {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid #e6ebf2;
  border-radius: 3px;
  background: #fff;
}

.dataset-annotation-list-head > strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #263445;
  font-size: 13px;
}

.dataset-annotation-train {
  flex: none;
  min-width: 88px;
  height: 32px;
  padding: 0 14px;
  font-size: 12px;
}

.dataset-version-preannotation {
  min-height: 34px;
  padding: 0 10px;
  white-space: nowrap;
}

.annotation-version-chip {
  padding: 4px 8px;
  border-radius: 999px;
  color: #0759d9;
  background: #eaf2ff;
  font-size: 12px;
  white-space: nowrap;
}

.dataset-annotation-exit {
  flex: none;
  width: auto;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #d9e0e9;
  border-radius: 3px;
  color: #5f6b7a;
  background: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.dataset-annotation-exit:hover {
  color: #004fc4;
  border-color: #9fc2ff;
  background: #f5f9ff;
}

.dataset-annotation-source-head {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-bottom: 1px solid #e6ebf2;
  color: #667085;
  background: #f6f8fb;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}

.dataset-annotation-source-head:hover {
  color: #0759d9;
  background: #eef4ff;
}

.dataset-annotation-source-head i {
  color: #8b95a3;
  font-style: normal;
}

.dataset-annotation-source-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.dataset-annotation-source-head span {
  flex: none;
  margin-left: 8px;
  color: #9098a4;
}

.dataset-annotation-filterbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid #edf0f3;
}

.dataset-annotation-filterbar input {
  height: 32px;
  min-width: 0;
  padding: 0 9px;
  border-radius: 3px;
  font-size: 12px;
}

.dataset-annotation-split-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.dataset-annotation-split-filter button {
  height: 28px;
  border: 1px solid #dfe5ec;
  border-radius: 3px;
  color: #667085;
  background: #fff;
  font-size: 11px;
  cursor: pointer;
}

.dataset-annotation-split-filter button.is-active {
  border-color: #9fc1ff;
  color: #0759d9;
  background: #edf4ff;
}

.dataset-annotation-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 3px;
  border: 1px solid #dfe5ec;
  border-radius: 4px;
  background: #f6f8fb;
}

.dataset-annotation-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 30px;
  padding: 0 4px;
  border: 0;
  border-radius: 3px;
  color: #5d6673;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.dataset-annotation-tabs button span {
  color: #8b95a3;
  font-size: 11px;
}

.dataset-annotation-tabs button.is-active {
  color: #0759d9;
  background: #fff;
  box-shadow: 0 1px 4px rgba(22, 89, 190, 0.14);
  font-weight: 600;
}

.dataset-annotation-tabs button.is-active span {
  color: inherit;
}

.dataset-sample-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 8px 10px;
  border-bottom: 1px solid #edf0f3;
  color: #555d66;
  cursor: pointer;
}

.dataset-annotation-workspace .dataset-sample-row {
  grid-template-columns: 52px minmax(0, 1fr);
}

.dataset-sample-row:hover,
.dataset-sample-row.is-active {
  color: #0046c8;
  background: #edf4ff;
}

.dataset-sample-row img {
  width: 52px;
  height: 38px;
  border-radius: 3px;
  object-fit: cover;
  background: #eef1f5;
}

.dataset-sample-row > span:not(.dataset-status) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dataset-sample-row > span:not(.dataset-status) strong,
.dataset-sample-row > span:not(.dataset-status) small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dataset-sample-row > span:not(.dataset-status) strong {
  font-size: 12px;
  font-weight: 500;
}

.dataset-sample-row > span:not(.dataset-status) small {
  color: #8b929c;
  font-size: 11px;
}

.training-image-row {
  border-color: #edf0f3;
  color: #555d66;
  cursor: pointer;
}

.training-image-row.is-active {
  color: #0046c8;
  background: #edf4ff;
}

.training-image-row .complete-mark {
  color: #52c41a;
}

.training-image-row button {
  color: #f5222d;
}

.training-batch-btn {
  height: 42px;
  border-color: #e0e5eb;
  color: #0046c8;
  font-size: 13px;
  font-weight: 400;
}

.training-batch-btn:disabled {
  cursor: not-allowed;
  color: #b8bec7;
  background: #f5f6f7;
}

.training-batch-actions {
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(72px, 1fr) auto auto auto;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  border-top: 1px solid #e0e5eb;
  background: #fff;
}

.training-batch-actions span {
  color: #69717c;
  font-size: 11px;
}

.training-batch-actions button {
  height: 28px;
  padding: 0 7px;
  border: 1px solid #d8dde5;
  border-radius: 3px;
  color: #333;
  background: #fff;
  font-size: 11px;
  white-space: nowrap;
}

.training-batch-actions button.danger-link {
  color: #f5222d;
  border-color: #ffb7bb;
}

.training-batch-actions button:disabled {
  cursor: not-allowed;
  color: #b8bec7;
  border-color: #e2e5e9;
  background: #f5f6f7;
}

.annotation-stage {
  min-height: 640px;
  align-items: stretch;
  padding: 42px 0 0;
  border: 1px solid #d7dce3;
  border-radius: 3px;
  background: #e8eaed;
  overflow: hidden;
}

.is-annotation-view .annotation-stage {
  min-height: 0;
}

.annotation-toolbar {
  right: 0;
  height: 42px;
  gap: 2px;
  padding: 0 8px;
  border: 0;
  border-bottom: 1px solid #d7dce3;
  border-radius: 0;
  color: #5d6570;
  font-weight: 400;
}

.annotation-toolbar-spacer {
  flex: 1;
}

.annotation-complete-next {
  min-width: 108px;
  height: 30px;
  margin-left: 8px;
  padding: 0 14px;
}

.toolbar-divider {
  width: 1px;
  height: 22px;
  margin: 0 8px;
  background: #d7dce3;
}

.canvas-tool {
  width: 34px;
  min-width: 34px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #5d6570;
  background: transparent;
  font-size: 12px;
}

.canvas-tool:hover,
.canvas-tool.is-active {
  color: #0046c8;
  border-color: #b9d2ff;
  background: #eef4ff;
}

.canvas-tool:disabled {
  cursor: not-allowed;
  color: #b8bec7;
  border-color: transparent;
  background: transparent;
}

.canvas-zoom-value {
  min-width: 42px;
  color: #69717c;
  font-size: 12px;
  text-align: center;
}

.annotation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  min-height: 0;
  height: 100%;
}

.dataset-annotation-layout {
  display: block;
}

.annotation-canvas-wrap {
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 22px;
  overflow: auto;
}

.annotation-canvas {
  width: min(100%, 1120px);
  flex: 0 0 auto;
  margin: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  display: block;
  background: #222;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  touch-action: none;
  user-select: none;
}

.annotation-canvas .draw-surface {
  fill: transparent;
  cursor: crosshair;
}

.annotation-canvas .annotation-box {
  fill: rgba(245, 34, 45, 0.08);
  stroke-width: 3;
  cursor: move;
}

.annotation-canvas .annotation-box.is-selected {
  fill: rgba(245, 34, 45, 0.13);
  stroke-width: 4;
}

.annotation-canvas .annotation-caption {
  fill: #fff;
  font-size: 17px;
  font-weight: 600;
  pointer-events: none;
}

.annotation-canvas .annotation-caption-bg {
  pointer-events: none;
}

.annotation-canvas .annotation-handle {
  fill: #fff;
  stroke-width: 3;
  cursor: nwse-resize;
}

.label-panel {
  border-left: 1px solid #d7dce3;
  background: #fff;
}

.label-panel-header {
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid #e0e5eb;
  color: #333;
  font-weight: 500;
}

.label-list {
  padding: 8px;
}

.label-item {
  width: 100%;
  height: 38px;
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #333;
  background: #fff;
  text-align: left;
}

.label-item.is-active {
  border-color: #b9d2ff;
  color: #0046c8;
  background: #eef4ff;
}

.label-swatch {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.label-count {
  color: #939aa3;
  font-size: 12px;
}

.label-panel-actions {
  padding: 8px 14px;
  border-top: 1px solid #e0e5eb;
}

.label-panel-actions button {
  width: 100%;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  color: #0046c8;
  background: #fff;
}

.label-panel-actions .ui-icon {
  width: 15px;
  height: 15px;
}

.annotation-footer {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid #d7dce3;
  background: #fff;
}

.annotation-footer-note {
  color: #8b929c;
  font-size: 12px;
}

.selection-summary {
  color: #606873;
  font-size: 12px;
}

.library-page-head h1 {
  margin: 0;
}

.library-actionbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.library-actionbar select {
  width: 150px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #d8dde5;
  border-radius: 3px;
  color: #555d66;
  background: #fff;
}

.library-action-spacer {
  flex: 1;
}

.library-actionbar > span {
  color: #7a828c;
  font-size: 12px;
}

.library-actionbar input,
.picker-toolbar input {
  width: 240px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #d8dde5;
  border-radius: 3px;
  outline: none;
}

.segmented-control {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #d8dde5;
  border-radius: 3px;
  background: #fff;
}

.segmented-control button {
  min-width: 38px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  color: #69717c;
  background: #fff;
  font-size: 12px;
}

.segmented-control button + button {
  border-left: 1px solid #d8dde5;
}

.segmented-control button.is-active {
  color: #0046c8;
  background: #edf4ff;
}

.library-folder-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  color: #30343b;
  background: transparent;
}

.library-folder-icon {
  width: 30px;
  height: 22px;
  position: relative;
  display: inline-block;
  border-radius: 2px;
  background: #6ca9f8;
}

.library-folder-icon::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 14px;
  height: 6px;
  border-radius: 2px 2px 0 0;
  background: #4e91eb;
}

.library-folder-icon.is-large {
  width: 54px;
  height: 40px;
}

.library-folder-icon.is-large::before {
  top: -7px;
  width: 25px;
  height: 10px;
}

.library-folder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.library-folder-tile {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e5eb;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.library-folder-tile:hover {
  border-color: #9ebff7;
  box-shadow: 0 4px 14px rgba(23, 55, 101, 0.08);
}

.library-folder-cover {
  height: 148px;
  flex: 0 0 148px;
  display: grid;
  place-items: center;
  background: #f2f5f9;
}

.library-folder-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.library-folder-meta {
  min-height: 58px;
  position: static;
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  color: #30343b;
  background: #fff;
}

.library-folder-meta strong {
  overflow: hidden;
  color: #30343b;
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.library-folder-meta span {
  color: #707985;
  font-size: 12px;
}

.library-tile-actions {
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 42px;
  display: flex;
  gap: 5px;
}

.library-tile-action {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 3px;
  color: #fff;
  background: rgba(20, 30, 42, 0.58);
}

.library-tile-action .ui-icon {
  width: 14px;
  height: 14px;
}

.library-tile-delete {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  color: #fff;
  background: rgba(20, 30, 42, 0.58);
  padding: 0;
}

.library-tile-delete .ui-icon {
  width: 15px;
  height: 15px;
}

.library-folder-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.library-back-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #d8dde5;
  border-radius: 3px;
  color: #555d66;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.library-image-table tbody tr.is-selected td {
  background: #edf4ff;
}

.library-image-name {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.library-image-name img {
  width: 48px;
  height: 34px;
  border: 1px solid #e0e5eb;
  border-radius: 2px;
  object-fit: cover;
}

.library-image-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #b9d2ff;
  border-radius: 3px;
  color: #0046c8;
  background: #eef4ff;
  font-size: 12px;
}

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

.library-image-tile {
  min-width: 0;
  position: relative;
  border: 1px solid #e0e5eb;
  border-radius: 3px;
  background: #fff;
  overflow: hidden;
}

.library-image-tile.is-selected {
  border-color: #0046c8;
  box-shadow: 0 0 0 1px #0046c8;
}

.library-image-tile > input {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
}

.library-image-delete {
  width: 28px;
  height: 28px;
  position: absolute;
  z-index: 3;
  top: 7px;
  right: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 3px;
  color: #fff;
  background: rgba(20, 30, 42, 0.62);
}

.library-image-delete .ui-icon {
  width: 15px;
  height: 15px;
}

.library-image-preview {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  color: #30343b;
  background: #fff;
  text-align: left;
}

.library-image-preview > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.library-image-preview > span {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
}

.library-image-preview strong {
  overflow: hidden;
  color: #30343b;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.library-image-preview small {
  overflow: hidden;
  color: #8b929c;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-center-page {
  min-height: calc(100vh - 52px);
  margin: 0 -20px -20px;
  padding: 16px 0;
  background: #f6f7fc;
}

.user-center-shell {
  width: min(1260px, calc(100% - 32px));
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  background: #fff;
}

.user-center-hero {
  height: 180px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(105deg, #1565d8 0%, #0046c8 52%, #6b4ce6 100%);
}

.user-center-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, transparent 0 34%, rgba(255, 255, 255, 0.08) 34% 49%, transparent 49%),
    linear-gradient(55deg, transparent 0 58%, rgba(255, 255, 255, 0.08) 58% 70%, transparent 70%);
}

.user-center-hero img {
  width: 44px;
  height: 52px;
  position: absolute;
  left: calc(50% - 96px);
  object-fit: contain;
}

.user-center-hero h1 {
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 400;
}

.user-center-content {
  width: min(880px, calc(100% - 48px));
  margin: 76px auto 0;
  padding-bottom: 60px;
}

.user-center-content h2 {
  margin: 0 0 12px;
  color: #0d0d0d;
  font-size: 16px;
  font-weight: 600;
}

.user-info-card,
.company-info-card {
  margin-bottom: 40px;
  border: 1px solid #e0e5eb;
  background: #fff;
}

.user-info-form,
.company-edit-form {
  width: min(480px, calc(100% - 48px));
  display: grid;
  gap: 20px;
  margin: 0 auto;
  padding: 50px 0 30px;
}

.user-info-form label,
.company-edit-form label {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
}

.user-info-form label > span,
.company-edit-form label > span {
  padding-right: 14px;
  color: #333;
  text-align: right;
}

.user-info-form input,
.company-edit-form input,
.company-edit-form select {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #e0e5eb;
  border-radius: 2px;
  background: #fff;
}

.user-info-form input:disabled {
  color: #555d66;
  background: #f5f6f7;
}

.password-rule {
  margin: -10px 0 0 120px;
  color: #8b929c;
  font-size: 12px;
  line-height: 1.6;
}

.user-card-actions {
  height: 40px;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid #e0e5eb;
}

.user-card-actions.is-split {
  grid-template-columns: 1fr 1fr;
}

.user-card-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  color: #0046c8;
  background: #fff;
}

.user-card-actions button + button {
  border-left: 1px solid #e0e5eb;
}

.user-card-actions button:first-child:not(:only-child) {
  color: #333;
}

.user-card-actions .ui-icon {
  width: 16px;
  height: 16px;
}

.company-info-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 48px 80px;
}

.company-info-list div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
}

.company-info-list dt,
.company-info-list dd {
  margin: 0;
  color: #333;
}

.platform-modal.upload-modal {
  width: min(860px, 100%);
}

.upload-methods {
  display: grid;
  gap: 14px;
}

.upload-method-card {
  min-height: 200px;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 24px 34px;
  border: 1px dashed #9ebff7;
  border-radius: 3px;
  color: #69717c;
  background: #f7faff;
  cursor: pointer;
}

.upload-method-card.is-selected {
  border-color: #0046c8;
  box-shadow: inset 0 0 0 1px #0046c8;
}

.upload-method-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #1677ff;
  background: #eaf2ff;
}

.upload-method-icon .ui-icon {
  width: 38px;
  height: 38px;
}

.upload-method-icon.zip-icon {
  color: #7a51d1;
  background: #f0eaff;
  font-size: 18px;
  font-weight: 700;
}

.upload-method-copy {
  display: grid;
  gap: 7px;
}

.upload-method-copy strong {
  color: #0046c8;
  font-size: 15px;
  font-weight: 500;
}

.upload-method-copy small {
  color: #8b929c;
}

.upload-method-copy > span {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 18px;
}

.upload-method-copy i {
  color: #69717c;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.upload-method-card input {
  display: none;
}

.upload-file-zip {
  width: 62px;
  height: 42px;
  display: grid !important;
  place-items: center;
  border-radius: 3px;
  color: #7a51d1;
  background: #f0eaff;
  font-weight: 700;
}

.upload-dropzone .ui-icon {
  width: 34px;
  height: 34px;
  color: #1677ff;
}

.upload-dropzone strong {
  color: #30343b;
  font-weight: 500;
}

.upload-dropzone span {
  color: #8b929c;
  font-size: 12px;
}

.upload-dropzone input {
  display: none;
}

.upload-file-list {
  max-height: 220px;
  display: grid;
  gap: 8px;
  margin-top: 14px;
  overflow: auto;
}

.upload-file-list > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid #edf0f3;
}

.upload-file-list img {
  width: 62px;
  height: 42px;
  object-fit: cover;
}

.upload-file-list span {
  display: grid;
  gap: 4px;
}

.upload-file-list strong {
  color: #30343b;
  font-size: 12px;
}

.upload-file-list small {
  color: #8b929c;
}

.platform-modal.image-detail-modal {
  width: min(1120px, 100%);
}

.image-detail-body {
  display: grid;
  grid-template-columns: minmax(560px, 1fr) 360px;
  gap: 20px;
}

.image-detail-preview {
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eef0f3;
}

.image-detail-preview img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
}

.image-detail-meta {
  margin: 0;
  border: 1px solid #e0e5eb;
}

.image-detail-meta div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  min-height: 48px;
  border-bottom: 1px solid #edf0f3;
}

.image-detail-meta div:last-child {
  border-bottom: 0;
}

.image-detail-meta dt,
.image-detail-meta dd {
  margin: 0;
  padding: 13px 12px;
}

.image-detail-meta dt {
  color: #69717c;
  background: #f7f8fa;
}

.image-detail-meta dd {
  overflow-wrap: anywhere;
  color: #30343b;
}

.image-detail-tag-row dd {
  display: grid;
  gap: 8px;
}

.image-detail-tag-row select {
  width: 100%;
  height: 34px;
  padding: 0 8px;
  border: 1px solid #d8dde5;
  border-radius: 3px;
  background: #fff;
}

.image-detail-tag-row .secondary-btn {
  width: 100%;
}

.modal-footer .secondary-btn .ui-icon {
  width: 15px;
  height: 15px;
  margin-right: 5px;
  vertical-align: -3px;
}

.tag-create-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px 74px;
  gap: 10px;
  margin-bottom: 14px;
}

.tag-create-row input,
.tag-create-row select {
  height: 34px;
  border: 1px solid #d8dde5;
  border-radius: 3px;
}

.tag-library-list {
  border: 1px solid #e0e5eb;
}

.tag-library-list > div {
  min-height: 46px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 100px 34px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid #edf0f3;
}

.tag-library-list > div:last-child {
  border-bottom: 0;
}

.tag-library-list strong {
  color: #30343b;
  font-weight: 500;
}

.tag-library-list > div > span:nth-child(3) {
  color: #8b929c;
  font-size: 12px;
}

.picker-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.picker-image small {
  display: block;
  padding-top: 3px;
  overflow: hidden;
  color: #9299a3;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.confirm-modal {
  width: min(460px, 100%);
}

.confirm-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 6px 2px;
}

.confirm-icon {
  flex: 0 0 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #faad14;
  font-size: 20px;
  font-weight: 700;
}

.confirm-content strong {
  display: block;
  padding-top: 2px;
  color: #30343b;
  font-size: 14px;
  font-weight: 500;
}

.confirm-content p {
  margin: 8px 0 0;
  color: #7a828c;
  font-size: 12px;
  line-height: 1.6;
}

.empty-state {
  min-height: 260px;
  display: grid;
  place-content: center;
  gap: 10px;
  color: #9097a1;
  text-align: center;
}

.empty-state strong {
  color: #555d66;
  font-size: 15px;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 28, 40, 0.45);
}

.platform-modal {
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(10, 24, 45, 0.22);
}

.platform-modal.is-wide {
  width: min(960px, 100%);
}

.modal-header,
.modal-footer {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 18px;
}

.modal-header {
  justify-content: space-between;
  border-bottom: 1px solid #e0e5eb;
}

.modal-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.modal-close {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: #7a828c;
  background: transparent;
}

.modal-body {
  min-height: 0;
  padding: 18px;
  overflow: auto;
}

.modal-footer {
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #e0e5eb;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-field {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.form-field > label {
  padding-top: 8px;
  color: #555d66;
  text-align: right;
}

.form-field textarea {
  min-height: 88px;
  padding: 9px 10px;
  resize: vertical;
}

.model-algorithm-field {
  align-items: stretch;
}

.algorithm-radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.algorithm-radio {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #d8e1ef;
  border-radius: 6px;
  color: #30343b;
  background: #fff;
  cursor: pointer;
}

.algorithm-radio input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  accent-color: #1677ff;
  box-shadow: none;
}

.algorithm-radio span {
  flex: 1;
  padding: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
}

.algorithm-radio input:focus {
  box-shadow: none;
}

.algorithm-radio.is-selected {
  border-color: #1677ff;
  color: #0046c8;
  background: #f4f8ff;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.08);
}

.required::before {
  content: "*";
  margin-right: 4px;
  color: #f5222d;
}

.image-picker {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 420px;
  border: 1px solid #e0e5eb;
}

.picker-folders {
  border-right: 1px solid #e0e5eb;
  background: #f7f8fa;
}

.picker-folder {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 0;
  color: #555d66;
  background: transparent;
  text-align: left;
}

.picker-folder.is-active {
  color: #0046c8;
  background: #eaf2ff;
}

.picker-images {
  min-width: 0;
  padding: 12px;
}

.picker-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.picker-image {
  position: relative;
  min-width: 0;
  padding: 6px;
  border: 1px solid #e0e5eb;
  border-radius: 3px;
  background: #fff;
}

.picker-image.is-selected {
  border-color: #0046c8;
  box-shadow: 0 0 0 1px #0046c8;
}

.picker-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.picker-image span {
  display: block;
  padding-top: 5px;
  overflow: hidden;
  color: #555d66;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picker-image input {
  position: absolute;
  top: 10px;
  right: 10px;
}

.demo-controller {
  position: fixed;
  z-index: 80;
  left: 14px;
  bottom: 18px;
}

.demo-toggle-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #d8dde5;
  border-radius: 4px;
  color: #606873;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(20, 33, 52, 0.12);
}

.demo-controller.is-open {
  width: 166px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid #d8dde5;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 20px rgba(20, 33, 52, 0.12);
}

.demo-controller-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-controller strong {
  padding: 0 4px;
  color: #555d66;
  font-size: 12px;
}

.demo-close-btn {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: #7a828c;
  background: transparent;
}

.demo-controller select {
  grid-column: 1 / -1;
  width: 100%;
  height: 30px;
  border: 1px solid #d8dde5;
  border-radius: 3px;
  font-size: 12px;
}

.demo-controller.is-open > button {
  height: 30px;
  padding: 0 10px;
  border: 1px solid #d8dde5;
  border-radius: 3px;
  color: #333;
  background: #fff;
  font-size: 12px;
}

.test-workspace {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.test-body {
  min-height: 640px;
  display: grid;
  grid-template-columns: 360px minmax(600px, 1fr);
  gap: 12px;
}

.test-list,
.test-viewer {
  border: 1px solid #e0e5eb;
  border-radius: 3px;
  background: #fff;
}

.test-list {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.test-list-header,
.test-image-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 76px;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
}

.test-list-header {
  background: #f5f7fa;
  color: #333;
  font-weight: 500;
}

.test-image-row {
  border-top: 1px solid #edf0f3;
  color: #555d66;
  cursor: pointer;
}

.test-image-row.is-active {
  color: #0046c8;
  background: #edf4ff;
}

.test-result-done {
  color: #52c41a;
}

.test-result-wait {
  color: #9ca3ad;
}

.test-viewer {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #e8eaed;
}

.test-canvas {
  width: min(100%, 980px);
  aspect-ratio: 16 / 10;
  background: #222;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.test-canvas .result-box {
  fill: rgba(245, 34, 45, 0.08);
  stroke: #f5222d;
  stroke-width: 4;
}

.test-canvas .result-label-bg {
  fill: #f5222d;
}

.test-canvas text {
  fill: #fff;
  font-size: 17px;
  font-weight: 600;
}

.test-running {
  color: #0046c8;
}

.toast-stack {
  z-index: 200;
}

.toast {
  border-radius: 3px;
}

@media (max-width: 1280px) {
  .platform-system-brand,
  .platform-system-sidebar {
    flex-basis: 180px;
  }

  .home-journey-banner {
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 34px;
    padding: 24px 36px;
  }

  .home-journey-copy h1 {
    font-size: 31px;
  }

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

  .training-body {
    grid-template-columns: 300px minmax(620px, 1fr);
  }

  .is-annotation-view .training-body {
    grid-template-columns: 280px minmax(620px, 1fr);
  }

  .annotation-layout {
    grid-template-columns: minmax(0, 1fr) 180px;
  }

  .library-folder-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .library-image-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
