:root {
  --yx-bg: #eef2f7;
  --yx-sidebar: #111827;
  --yx-panel: #ffffff;
  --yx-text: #111827;
  --yx-muted: #667085;
  --yx-line: #d8dee9;
  --yx-blue: #2563eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--yx-bg);
  color: var(--yx-text);
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

body {
  overflow-x: hidden;
}

body.embed-mode .yx-admin-shell {
  min-height: auto;
}

body.embed-mode {
  background: #eef2f7;
}

body.embed-mode .yx-admin-shell {
  grid-template-columns: minmax(0, 1fr);
}

body.embed-mode .yx-sidebar {
  display: none !important;
}

body.embed-mode .yx-sidebar button,
body.embed-mode .yx-sidebar a {
  min-height: 34px;
  padding: 0 10px;
}

body.embed-mode .yx-admin-content {
  padding: 12px 16px 64px;
}

body.embed-mode .yx-admin-content header {
  margin-bottom: 8px;
}

body.embed-mode .yx-admin-content header p {
  margin-bottom: 4px;
  font-size: 12px;
}

body.embed-mode .yx-admin-content h1 {
  font-size: 24px;
  line-height: 1.15;
}

body.embed-mode .yx-panel {
  min-height: auto;
  padding: 14px 16px;
  border-radius: 7px;
}

body.embed-mode .yx-panel h2 {
  margin-bottom: 6px;
  font-size: 18px;
}

body.embed-mode .yx-panel p {
  font-size: 13px;
  line-height: 1.45;
}

body.embed-mode .yx-panel-head {
  margin-bottom: 10px;
}

body.embed-mode .yx-section {
  margin-top: 10px;
  padding-top: 10px;
}

body.embed-mode .yx-section-head {
  margin-bottom: 8px;
}

body.embed-mode .yx-section h3 {
  font-size: 15px;
}

body.embed-mode .yx-table th,
body.embed-mode .yx-table td {
  padding: 6px 8px;
  line-height: 1.25;
}

body.embed-mode .yx-platform-table th,
body.embed-mode .yx-platform-table td {
  padding: 7px 10px;
}

body.embed-mode .yx-platform-table th:last-child,
body.embed-mode .yx-platform-table td:last-child {
  min-width: 178px;
}

body.embed-mode .yx-platform-table td:first-child strong,
body.embed-mode .yx-platform-table td:first-child span {
  display: block;
  line-height: 1.25;
}

body.embed-mode .yx-primary {
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

body.embed-mode .yx-secondary,
body.embed-mode .yx-ghost,
body.embed-mode .yx-actions button {
  min-height: 26px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

body.embed-mode .yx-actions {
  flex-wrap: nowrap;
  gap: 5px;
}

body.embed-mode .yx-form-grid,
body.embed-mode .yx-filter-bar {
  gap: 8px;
  margin-top: 8px;
}

body.embed-mode .yx-platform-split,
body.embed-mode .yx-platform-form {
  gap: 12px;
}

body.embed-mode .yx-platform-form-fields {
  gap: 8px;
}

body.embed-mode .yx-form-grid input,
body.embed-mode .yx-form-grid select,
body.embed-mode .yx-form-grid textarea,
body.embed-mode .yx-filter-bar input,
body.embed-mode .yx-filter-bar select {
  padding: 7px 8px;
}

body.embed-mode .yx-ok,
body.embed-mode .yx-muted-pill {
  height: 22px;
  padding: 0 7px;
  font-size: 11px;
}

.yx-admin-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
}

.yx-sidebar {
  position: fixed;
  left: 50%;
  bottom: 10px;
  z-index: 50;
  width: min(1100px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  transform: translateX(-50%);
  padding: 9px 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.yx-brand,
.yx-sidebar a {
  display: none !important;
}

.yx-brand strong {
  display: block;
  font-size: 22px;
}

.yx-brand span {
  display: block;
  margin-top: 6px;
  color: #9ca3af;
  font-size: 13px;
}

.yx-sidebar nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.yx-nav-group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.34);
}

.yx-nav-group > span {
  flex: 0 0 auto;
  padding: 0 6px;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.yx-sidebar button,
.yx-sidebar a {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 9px;
  background: transparent;
  color: #d1d5db;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.yx-sidebar button:hover,
.yx-sidebar button.active,
.yx-sidebar a:hover {
  background: rgba(37, 99, 235, 0.34);
  border-color: rgba(96, 165, 250, 0.6);
  color: #fff;
}

.yx-sidebar a {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.platform-plan-builder {
  border-top: 1px solid var(--yx-line);
}

.platform-plan-builder-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.2fr);
  gap: 16px;
  align-items: start;
}

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

.platform-plan-input label,
.platform-plan-output article {
  display: grid;
  gap: 7px;
}

.platform-plan-input label.wide,
.platform-plan-input .yx-form-actions {
  grid-column: 1 / -1;
}

.platform-plan-input textarea,
.platform-plan-input input,
.platform-plan-input select {
  width: 100%;
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid var(--yx-line);
  border-radius: 7px;
  background: #fff;
  color: var(--yx-text);
  font: inherit;
}

.platform-plan-input textarea {
  resize: vertical;
  line-height: 1.5;
}

.platform-plan-output {
  display: grid;
  gap: 12px;
}

.platform-plan-output article {
  padding: 12px;
  border: 1px solid var(--yx-line);
  border-radius: 7px;
  background: #f8fafc;
}

.platform-plan-output header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.platform-plan-output header span {
  color: var(--yx-muted);
  font-size: 12px;
}

.platform-plan-output pre {
  min-height: 150px;
  max-height: 360px;
  margin: 0;
  padding: 12px;
  overflow: auto;
  border: 1px solid #dbe4f0;
  border-radius: 7px;
  background: #ffffff;
  color: #111827;
  font: 12px/1.55 Consolas, "Courier New", monospace;
  white-space: pre-wrap;
}

.platform-plan-table td:nth-child(2) {
  min-width: 260px;
}

.platform-plan-table td:nth-child(2) span,
.yx-table td span {
  color: var(--yx-muted);
  font-size: 12px;
}

.platform-plan-editor-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.34);
}

.platform-plan-editor-card {
  width: min(980px, 96vw);
  max-height: 92vh;
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.22);
}

.platform-plan-editor-form {
  display: grid;
  gap: 12px;
}

.platform-plan-editor-form label {
  display: grid;
  gap: 6px;
  color: var(--yx-text);
  font-weight: 700;
}

.platform-plan-editor-form input,
.platform-plan-editor-form textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  background: rgba(255, 255, 255, 0.92);
}

.platform-plan-editor-versions {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.9);
}

.platform-plan-editor-versions span {
  color: var(--yx-muted);
}

@media (max-width: 980px) {
  .platform-plan-builder-grid,
  .platform-plan-input {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-plan-input label.wide,
  .platform-plan-input .yx-form-actions {
    grid-column: auto;
  }

  .yx-nav-group {
    align-items: stretch;
  }
}

.yx-admin-content {
  padding: 24px 28px 78px;
}

.yx-admin-content header {
  margin-bottom: 18px;
}

.yx-admin-content header p {
  margin: 0 0 6px;
  color: var(--yx-blue);
  font-size: 13px;
  font-weight: 700;
}

.yx-admin-content h1 {
  margin: 0;
  font-size: 28px;
}

.yx-panel {
  display: none;
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--yx-line);
  border-radius: 8px;
  background: var(--yx-panel);
}

.yx-panel.active {
  display: block;
}

body:not(.platform-hub-view) #platform-hub-panel {
  display: none !important;
}

body.platform-hub-view .yx-panel:not(#platform-hub-panel) {
  display: none !important;
}

body.platform-hub-view #platform-hub-panel.active {
  display: block !important;
}

.yx-panel.active:not(#platform-hub-panel) {
  position: relative;
  z-index: 2;
}

.yx-embedded-panel {
  min-height: calc(100vh - 150px);
  padding: 0;
  overflow: hidden;
  background: #0a0f1c;
}

.yx-embedded-frame {
  display: block;
  width: 100%;
  min-height: calc(100vh - 150px);
  height: calc(100vh - 150px);
  border: 0;
  background: #0a0f1c;
}

#proxy-acceptance-panel.yx-embedded-panel,
#proxy-acceptance-panel .yx-embedded-frame {
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 250, 0.72) 0 2px, transparent 4px),
    linear-gradient(135deg, #f6f8ee 0%, #fbfaf1 42%, #edf5e6 100%) !important;
}

.account-os-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  background: #f5f7fb;
}

.account-os-shell-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 18px 14px;
  border-right: 1px solid #d8dee9;
  background: #101827;
  color: #e5e7eb;
}

.account-os-brand {
  padding: 4px 8px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.account-os-brand strong {
  display: block;
  font-size: 18px;
}

.account-os-brand span {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 12px;
}

.account-os-side-nav {
  display: grid;
  gap: 14px;
  padding-top: 16px;
}

.account-os-side-nav section {
  display: grid;
  gap: 6px;
}

.account-os-side-nav h3 {
  margin: 0 0 2px;
  padding: 0 8px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.account-os-side-nav button {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #d1d5db;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.account-os-side-nav button:hover,
.account-os-side-nav button.active {
  border-color: rgba(96, 165, 250, 0.36);
  background: rgba(37, 99, 235, 0.24);
  color: #fff;
}

.account-os-workspace {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 18px 22px 32px;
}

.account-os-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 12px 0;
  border-bottom: 1px solid #d8dee9;
  background: rgba(245, 247, 251, 0.94);
  backdrop-filter: blur(12px);
}

.account-os-topbar span {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.account-os-topbar h2 {
  margin: 0;
  font-size: 22px;
}

.account-os-top-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.account-os-top-tabs button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.account-os-top-tabs button.active {
  border-color: #2563eb;
  background: #dbeafe;
  color: #1d4ed8;
}

.account-os-panel {
  padding: 16px;
  border: 1px solid #d8dee9;
  border-radius: 8px;
  background: #fff;
}

.account-os-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.account-os-panel-head h3 {
  margin: 0;
  font-size: 17px;
}

.account-os-secondary {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.account-os-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.account-os-stat-grid article {
  padding: 14px;
  border: 1px solid #d8dee9;
  border-radius: 8px;
  background: #fff;
}

.account-os-stat-grid span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.account-os-stat-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 23px;
}

.account-os-stat-grid em {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.account-os-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.account-os-list-grid article {
  min-height: 92px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.account-os-list-grid strong {
  display: block;
  margin-bottom: 8px;
}

.account-os-list-grid span {
  color: #64748b;
  line-height: 1.5;
}

.account-os-admin {
  display: grid;
  gap: 18px;
}

.account-os-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border: 1px solid #d7e2f0;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 34%),
    linear-gradient(135deg, #0f172a, #17324f 55%, #1d4f6d);
  color: #f8fafc;
}

.account-os-eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-os-hero h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.1;
}

.account-os-hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(248, 250, 252, 0.84);
  line-height: 1.6;
}

.account-os-primary {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: #f59e0b;
  color: #111827;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.account-os-layers,
.account-os-kpis,
.account-os-grid-2 {
  display: grid;
  gap: 14px;
}

.account-os-layers {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.account-os-layers article,
.account-os-kpis article {
  padding: 16px;
  border: 1px solid #d7e2f0;
  border-radius: 16px;
  background: #fff;
}

.account-os-layers article {
  position: relative;
  overflow: hidden;
}

.account-os-layers article.is-active {
  border-color: #0ea5e9;
  box-shadow: 0 16px 34px rgba(14, 165, 233, 0.14);
}

.account-os-layers article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 800;
}

.account-os-layers article strong,
.account-os-kpis article strong {
  display: block;
}

.account-os-layers article em,
.account-os-kpis article em {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-style: normal;
}

.account-os-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.account-os-kpis article span {
  display: block;
  color: #64748b;
  font-size: 13px;
}

.account-os-kpis article strong {
  margin-top: 8px;
  font-size: 28px;
}

.account-os-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.account-os-toolbar-left,
.account-os-toolbar-right,
.account-os-row-actions,
.account-os-task-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.account-os-tab,
.account-os-refresh,
.account-os-row-actions button,
.account-os-task-actions button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  cursor: pointer;
}

.account-os-tab.active {
  border-color: #0ea5e9;
  background: #e0f2fe;
  color: #075985;
  font-weight: 700;
}

.account-os-toolbar-right input,
.account-os-toolbar-right select,
.account-os-form input,
.account-os-form select {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

.account-os-card {
  padding: 18px;
  border: 1px solid #d7e2f0;
  border-radius: 18px;
  background: #fff;
}

.account-os-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.account-os-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.account-os-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.account-os-table-wrap {
  overflow-x: auto;
}

.account-os-table {
  width: 100%;
  border-collapse: collapse;
}

.account-os-table th,
.account-os-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.account-os-platform-cell strong {
  display: block;
  margin-bottom: 4px;
}

.account-os-platform-cell span {
  color: #64748b;
  font-size: 12px;
}

.account-os-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.account-os-badge.is-api {
  background: #dbeafe;
  color: #1d4ed8;
}

.account-os-badge.is-rpa {
  background: #fef3c7;
  color: #b45309;
}

.account-os-badge.is-ok,
.account-os-badge.is-success {
  background: #dcfce7;
  color: #166534;
}

.account-os-badge.is-warning,
.account-os-badge.is-queued {
  background: #fef3c7;
  color: #92400e;
}

.account-os-badge.is-risk,
.account-os-badge.is-failed {
  background: #fee2e2;
  color: #b91c1c;
}

.account-os-badge.is-paused,
.account-os-badge.is-muted {
  background: #e2e8f0;
  color: #475569;
}

.account-os-badge.is-running {
  background: #e0f2fe;
  color: #0369a1;
}

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

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

.account-os-form label {
  display: grid;
  gap: 6px;
}

.account-os-form label span {
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.account-os-form button {
  grid-column: 1 / -1;
  justify-self: start;
}

.account-os-task-list {
  display: grid;
  gap: 10px;
}

.account-os-task-item {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}

.account-os-task-meta strong {
  display: block;
  margin-bottom: 4px;
}

.account-os-task-meta span,
.account-os-task-status span:last-child,
.account-os-empty,
.account-os-points li {
  color: #64748b;
}

.account-os-task-status {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.account-os-empty {
  padding: 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  text-align: center;
}

.account-os-points {
  margin: 0;
  padding-left: 18px;
}

.account-os-points li + li {
  margin-top: 8px;
}

@media (max-width: 1180px) {
  .account-os-layers,
  .account-os-kpis,
  .account-os-grid-2,
  .account-os-form {
    grid-template-columns: 1fr 1fr;
  }

  .account-os-task-item {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .account-os-task-status {
    justify-items: start;
  }
}

@media (max-width: 720px) {
  .account-os-shell {
    grid-template-columns: 1fr;
  }

  .account-os-shell-sidebar {
    position: relative;
    height: auto;
    max-height: 42vh;
  }

  .account-os-workspace {
    padding: 14px;
  }

  .account-os-topbar {
    position: relative;
    display: grid;
    align-items: start;
  }

  .account-os-stat-grid,
  .account-os-list-grid {
    grid-template-columns: 1fr;
  }

  .account-os-hero,
  .account-os-layers,
  .account-os-kpis,
  .account-os-grid-2,
  .account-os-form {
    grid-template-columns: 1fr;
  }

  .account-os-toolbar {
    align-items: stretch;
  }

  .account-os-toolbar-right {
    width: 100%;
  }

  .account-os-toolbar-right input,
  .account-os-toolbar-right select {
    flex: 1 1 100%;
  }
}

.yx-panel h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.yx-panel p {
  margin: 0;
  color: var(--yx-muted);
}

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

.yx-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--yx-line);
}

.yx-section:first-of-type {
  margin-top: 0;
}

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

.yx-section h3 {
  margin: 0;
  font-size: 16px;
}

.yx-primary {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: var(--yx-blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.yx-secondary,
.yx-ghost,
.yx-actions button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--yx-line);
  border-radius: 6px;
  background: #fff;
  color: var(--yx-text);
  font: inherit;
  cursor: pointer;
}

.yx-secondary {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
}

.yx-link-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  text-decoration: none;
}

.yx-ghost {
  color: var(--yx-muted);
}

.yx-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.yx-danger-hint {
  color: #b42318;
  font-size: 12px;
  font-weight: 700;
}

.yx-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.yx-stat {
  padding: 14px;
  border: 1px solid var(--yx-line);
  border-radius: 8px;
  background: #f8fafc;
}

.yx-stat span {
  display: block;
  color: var(--yx-muted);
  font-size: 12px;
}

.yx-stat strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.yx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

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

.yx-platform-pane {
  min-width: 0;
}

.yx-platform-table th,
.yx-platform-table td {
  padding: 10px 12px;
}

.yx-platform-table th:last-child,
.yx-platform-table td:last-child {
  width: 1%;
}

.yx-platform-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 12px;
}

.yx-platform-form-pane {
  min-width: 0;
}

.yx-platform-form-title {
  margin-bottom: 10px;
  color: var(--yx-muted);
  font-size: 14px;
  font-weight: 800;
}

.yx-platform-form-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.yx-platform-form-actions {
  align-self: end;
}

.yx-card {
  padding: 16px;
  border: 1px solid var(--yx-line);
  border-radius: 8px;
  background: #fff;
}

.yx-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

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

.yx-card dt {
  color: var(--yx-muted);
  font-size: 12px;
}

.yx-card dd {
  margin: 4px 0 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.yx-ok,
.yx-muted-pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
}

.yx-ok {
  background: #dcfce7;
  color: #166534;
}

.yx-muted-pill {
  background: #f3f4f6;
  color: #6b7280;
}

.yx-table-wrap {
  overflow-x: auto;
}

.yx-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.yx-table th,
.yx-table td {
  padding: 12px;
  border-bottom: 1px solid var(--yx-line);
  text-align: left;
  vertical-align: top;
}

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

.yx-compact-table th,
.yx-compact-table td {
  padding: 9px 10px;
  white-space: nowrap;
}

.yx-hub-alert {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
}

.yx-hub-alert strong {
  color: #7c2d12;
}

.yx-hub-alert span {
  color: #9a3412;
  line-height: 1.6;
}

.yx-hub-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.yx-hub-menu-grid span,
.yx-hub-map div,
.yx-hub-card {
  border: 1px solid var(--yx-line);
  border-radius: 8px;
  background: #fff;
}

.yx-hub-menu-grid span {
  min-height: 42px;
  display: grid;
  place-items: center;
  color: #1d4ed8;
  font-weight: 800;
}

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

.yx-hub-card {
  padding: 14px;
  background: #f8fafc;
}

.yx-hub-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

.yx-hub-card p {
  margin: 0;
  line-height: 1.55;
}

.yx-hub-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.yx-hub-flow span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.yx-hub-flow i {
  display: block;
  height: 2px;
  background: #bfdbfe;
}

.yx-hub-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.yx-hub-map div {
  display: grid;
  gap: 6px;
  padding: 12px;
}

.yx-hub-map strong {
  font-size: 13px;
}

.yx-hub-map span {
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
}

.yx-hub-code {
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  background: #111827;
  color: #e5e7eb;
  line-height: 1.7;
  overflow-x: auto;
}

body.platform-hub-view {
  background: #f3f7fc;
}

body.platform-hub-view > .yx-admin-shell {
  display: block;
  min-height: 100vh;
}

body.platform-hub-view .yx-admin-content {
  padding: 0;
}

body.platform-hub-view .yx-admin-content > header,
body.platform-hub-view .yx-admin-shell > .yx-sidebar {
  display: none !important;
}

body.platform-hub-view #platform-hub-panel {
  min-height: 100vh;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.platform-hub-view .account-os-shell {
  font-size: 14px;
}

body.platform-hub-view .account-os-table {
  min-width: 1080px;
}

.platform-meta-panel {
  display: grid;
  gap: 14px;
}

.platform-meta-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 58%, #fff7ed 100%);
}

.platform-meta-toolbar strong {
  display: block;
  margin-bottom: 3px;
  color: #0f172a;
  font-size: 18px;
}

.platform-meta-toolbar span {
  color: #64748b;
  font-size: 13px;
}

.platform-meta-toolbar-actions,
.platform-meta-actions,
.platform-meta-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.platform-meta-relation {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.platform-meta-relation article {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.platform-meta-relation article:not(:last-child)::after {
  content: ">";
  position: absolute;
  right: -9px;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  color: #94a3b8;
  font-weight: 900;
}

.platform-meta-relation strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
}

.platform-meta-relation span {
  color: #1e293b;
  font-size: 13px;
  font-weight: 800;
}

.platform-meta-table {
  min-width: 1180px;
}

.platform-meta-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform-meta-name > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  font-weight: 900;
}

.platform-meta-name strong,
.platform-meta-name em {
  display: block;
}

.platform-meta-name em {
  margin-top: 2px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.platform-meta-caps {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.platform-meta-caps span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.platform-meta-caps span.on {
  background: #dcfce7;
  color: #15803d;
}

.platform-meta-actions button {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.platform-meta-actions button:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.platform-meta-actions button.danger,
.account-os-primary.danger {
  background: #dc2626;
  color: #fff;
}

.platform-meta-test-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  background: #f0fdf4;
  color: #166534;
}

.platform-meta-test-result strong {
  color: #14532d;
}

.platform-meta-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.platform-meta-modal.open {
  display: block;
}

.platform-meta-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(3px);
}

.platform-meta-dialog {
  position: relative;
  width: min(980px, calc(100vw - 28px));
  max-height: calc(100vh - 44px);
  margin: 22px auto;
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.32);
}

.platform-meta-dialog > header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.platform-meta-dialog h3 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
}

.platform-meta-dialog header button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.platform-meta-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.platform-meta-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.platform-meta-form legend {
  padding: 0 6px;
  color: #0f172a;
  font-weight: 900;
}

.platform-meta-form label {
  display: grid;
  gap: 6px;
}

.platform-meta-form label span {
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.platform-meta-form input,
.platform-meta-form select {
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

.platform-meta-form input:focus,
.platform-meta-form select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}

.platform-meta-modal-actions {
  justify-content: flex-end;
}

.platform-meta-warning {
  margin: 0;
  padding: 12px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 800;
}

.platform-meta-delete-options {
  display: grid;
  gap: 10px;
}

.platform-meta-delete-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.platform-meta-delete-options input {
  margin-top: 3px;
}

@media (max-width: 980px) {
  .platform-meta-relation {
    grid-template-columns: 1fr;
  }

  .platform-meta-relation article:not(:last-child)::after {
    content: "";
  }

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

@media (max-width: 720px) {
  .platform-meta-form fieldset {
    grid-template-columns: 1fr;
  }

  .platform-meta-modal-actions,
  .platform-meta-toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

.platform-admin {
  --pa-bg: #f3f7fc;
  --pa-sidebar: #111318;
  --pa-blue: #2f68ff;
  --pa-blue-dark: #1f58f2;
  --pa-text: #14233f;
  --pa-muted: #687894;
  --pa-line: #e5ebf5;
  --pa-green: #20bf6b;
  display: grid;
  grid-template-columns: 187px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--pa-bg);
  color: var(--pa-text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.platform-admin * {
  box-sizing: border-box;
}

.platform-admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px 10px 14px;
  background: linear-gradient(180deg, #12151b 0%, #171b23 52%, #f8fbff 100%);
  color: #e9eef8;
  overflow-y: auto;
}

.platform-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 37px;
}

.platform-brand-home {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 14px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.platform-brand-home:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.platform-brand-home:focus-visible {
  outline: 2px solid rgba(88, 144, 255, 0.9);
  outline-offset: 3px;
}

.platform-brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #1d74ff, #4368ff);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(30, 105, 255, 0.36);
}

.platform-brand-icon span {
  position: relative;
  width: 22px;
  height: 22px;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-bottom-width: 0;
  border-radius: 12px 12px 5px 5px;
}

.platform-brand-icon span::before,
.platform-brand-icon span::after {
  content: "";
  position: absolute;
  bottom: 1px;
  width: 5px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.platform-brand-icon span::before {
  left: 1px;
}

.platform-brand-icon span::after {
  right: 1px;
}

.platform-brand strong,
.platform-brand span,
.platform-sidebar-foot span,
.platform-system-nav > span {
  display: block;
}

.platform-brand strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
}

.platform-brand span {
  margin-top: 3px;
  color: #c3cad7;
  font-size: 12px;
}

.platform-nav,
.platform-system-nav {
  display: grid;
  gap: 5px;
}

.platform-os-module-nav {
  gap: 10px;
  padding-right: 2px;
  overflow-y: auto;
}

.platform-os-nav-section {
  display: grid;
  gap: 4px;
}

.platform-os-nav-section h3 {
  margin: 4px 8px 3px;
  color: rgba(233, 238, 248, 0.66);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.platform-os-module-nav a {
  justify-content: flex-start;
  padding-left: 12px;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.platform-os-module-nav a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.42;
}

.platform-os-module-nav a.is-active::before {
  opacity: 1;
}

.platform-os-generated-host[hidden],
.platform-content[hidden] {
  display: none !important;
}

.platform-os-generated-host {
  min-width: 0;
}

.platform-os-generated-panel {
  min-height: calc(100vh - 54px);
  align-content: start;
}

.platform-data-acquisition-embedded {
  display: grid;
  gap: 12px;
}

#platform-hub-panel .platform-content > .platform-kpi-grid,
#platform-hub-panel .platform-content > .platform-bottom-grid {
  display: none !important;
}

body:has(#platform-hub-panel [data-account-os-module="data-acquisition"].is-active) #platform-hub-panel .platform-v7-global-layer,
.platform-data-acquisition-embedded > .platform-os-summary-card {
  display: none !important;
}

.platform-data-acquisition-frame-wrap {
  min-height: calc(100vh - 84px);
  overflow: hidden;
  border: 1px solid rgba(109, 139, 255, 0.22);
  border-radius: 8px;
  background: #0a0f1c;
}

.platform-data-acquisition-frame {
  display: block;
  width: 100%;
  min-height: calc(100vh - 84px);
  height: calc(100vh - 84px);
  border: 0;
  background: #0a0f1c;
}

.platform-proxy-acceptance-frame-wrap,
.platform-proxy-acceptance-frame {
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 250, 0.72) 0 2px, transparent 4px),
    linear-gradient(135deg, #f6f8ee 0%, #fbfaf1 42%, #edf5e6 100%) !important;
  border-color: rgba(144, 176, 139, 0.28) !important;
}

body.qmsj-eye-care-mode #proxy-acceptance-panel.yx-embedded-panel,
body.qmsj-eye-care-mode #proxy-acceptance-panel .yx-embedded-frame,
body.qmsj-eye-care-mode .platform-proxy-acceptance-frame-wrap,
body.qmsj-eye-care-mode .platform-proxy-acceptance-frame {
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 250, 0.72) 0 2px, transparent 4px),
    linear-gradient(135deg, #f6f8ee 0%, #fbfaf1 42%, #edf5e6 100%) !important;
}

.platform-data-acquisition-link {
  text-decoration: none;
}

.platform-os-summary-card {
  overflow: hidden;
  border: 1px solid #e5ebf5;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 56%, #fff7ed 100%);
  box-shadow: 0 12px 38px rgba(28, 45, 78, 0.04);
}

.platform-os-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 66px;
  padding: 10px 16px 8px;
  border: 0;
  border-bottom: 1px solid #eef3fb;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.platform-os-hero-card span {
  display: block;
  margin-bottom: 3px;
  color: #687894;
  font-size: 11px;
  font-weight: 900;
}

.platform-os-hero-card h2 {
  margin: 0;
  color: #14233f;
  font-size: 18px;
  line-height: 1.2;
}

.platform-os-hero-card p {
  margin: 5px 0 0;
  color: #687894;
  font-size: 12px;
  line-height: 1.35;
}

.platform-os-hero-card .refresh-button {
  min-width: 58px;
  min-height: 34px;
  padding: 0 12px;
  white-space: nowrap;
}

.platform-os-summary-card .platform-os-kpi-grid {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 12px 16px 14px;
}

.platform-v6-hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.platform-v7-global-layer {
  display: none !important;
  gap: 8px;
  padding: 8px 10px 0 14px;
}

.platform-api-v2-panel .platform-api-v2-grid {
  grid-template-columns: 1fr;
}

.platform-v7-global-bar,
.platform-v7-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #e6edf7;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 100%);
  box-shadow: 0 10px 28px rgba(28, 45, 78, 0.04);
}

.platform-v7-page-actions {
  justify-content: flex-end;
}

.platform-v7-global-bar button,
.platform-v7-page-actions button,
.platform-v7-module-actions button {
  min-height: 32px;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  background: #fff;
  color: #24415f;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
}

.platform-v7-global-bar button:first-child,
.platform-v7-page-actions button:first-child {
  border-color: #2f68ff;
  background: #2f68ff;
  color: #fff;
}

.platform-v6-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 16px 0;
}

.platform-v6-status-strip span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #36506f;
  font-size: 12px;
  font-weight: 850;
}

.platform-v6-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 12px;
  align-items: start;
}

.platform-v6-main,
.platform-v6-ai-panel,
.platform-v6-repair-log {
  border: 1px solid #e6edf7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(28, 45, 78, 0.04);
}

.platform-v6-main {
  padding: 14px;
}

.platform-v6-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.platform-v6-section-head h3,
.platform-v6-ai-panel h3,
.platform-v6-repair-log h3 {
  margin: 0;
  color: #13213a;
  font-size: 15px;
}

.platform-v6-section-head p {
  margin: 4px 0 0;
  color: #6c7d96;
  font-size: 12px;
}

.platform-v6-auto-repair,
.platform-v6-ai-panel button,
.platform-v6-primary {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: #2f68ff;
  color: #fff;
  padding: 0 14px;
  font-weight: 900;
}

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

.platform-v6-status-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid #e7edf6;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.platform-v6-status-card[data-status="risk"] {
  border-color: #ffe1a6;
  background: #fffaf0;
}

.platform-v6-status-card[data-status="error"] {
  border-color: #ffc9d1;
  background: #fff6f7;
}

.platform-v6-status-card[data-status="running"] {
  border-color: #bdeaff;
  background: #f2fbff;
}

.fingerprint-center-root .platform-kpi-grid {
  margin-bottom: 14px;
}

.fingerprint-session-id {
  font-family: Consolas, 'SFMono-Regular', Menlo, monospace;
  font-size: 12px;
  color: #36506f;
}

.platform-v6-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.platform-v6-card-top strong {
  display: block;
  color: #13213a;
  font-size: 15px;
}

.platform-v6-card-top span,
.platform-v6-card-value span {
  display: block;
  margin-top: 4px;
  color: #6a7b94;
  font-size: 12px;
}

.platform-v6-status {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.platform-v6-normal {
  background: #eafaf1;
  color: #128144;
}

.platform-v6-risk {
  background: #fff1c7;
  color: #9a6500;
}

.platform-v6-error {
  background: #ffe5e9;
  color: #be123c;
}

.platform-v6-running {
  background: #e3f5ff;
  color: #0369a1;
}

.platform-v6-card-value {
  margin-top: 12px;
}

.platform-v6-card-value b {
  display: block;
  margin-top: 4px;
  color: #0f1f38;
  font-size: 24px;
  line-height: 1;
}

.platform-v6-ai-line {
  min-height: 36px;
  margin: 12px 0;
  color: #36506f;
  font-size: 12px;
  line-height: 1.45;
}

.platform-v6-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.platform-v6-actions button,
.platform-v6-repair,
.platform-v6-modal-panel footer button {
  min-height: 32px;
  border: 1px solid #dbe6f4;
  border-radius: 7px;
  background: #fff;
  color: #24415f;
  font-size: 12px;
  font-weight: 900;
}

.platform-v6-repair {
  width: 100%;
  margin-top: 8px;
  border-color: #ffb4bd;
  background: #fff1f3;
  color: #be123c;
}

.platform-v7-module-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}

.platform-v7-module-actions button {
  border-color: #e5d7ff;
  background: #fbf8ff;
  color: #553c9a;
}

.platform-api-v2-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 16px 14px;
}

.platform-api-v2-stats article {
  padding: 12px;
  border: 1px solid rgba(219, 230, 244, 0.82);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
}

.platform-api-v2-stats span {
  display: block;
  color: #61738f;
  font-size: 12px;
  font-weight: 850;
}

.platform-api-v2-stats strong {
  display: block;
  margin-top: 5px;
  color: #10213d;
  font-size: 24px;
  line-height: 1;
}

.platform-api-v2-board {
  padding: 12px;
  border: 1px solid #e6edf7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(28, 45, 78, 0.04);
}

.platform-api-v2-panel .platform-api-v2-board-head,
.platform-api-v2-panel .platform-api-pipeline-runtime,
.platform-api-v2-panel .platform-api-orchestrator,
.platform-api-v2-panel .platform-api-binding-map,
.platform-api-v2-panel .platform-api-event-log,
.platform-api-v2-panel .platform-api-intelligence-flow,
.platform-api-v2-panel .platform-api-v2-grid,
.platform-api-v2-panel .platform-v6-repair-log {
  display: none;
}

.platform-api-v2-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.platform-api-v2-board-head h3 {
  margin: 0;
  color: #13213a;
  font-size: 15px;
}

.platform-api-v2-board-head p {
  margin: 3px 0 0;
  color: #6c7d96;
  font-size: 12px;
}

.platform-api-real-audit {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #dbe6f4;
  border-radius: 10px;
  background: #fff;
}

.platform-api-real-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.platform-api-real-head h3 {
  margin: 0;
  color: #13213a;
  font-size: 15px;
}

.platform-api-real-head p,
.platform-api-real-loading,
.platform-api-real-error {
  margin: 4px 0 0;
  color: #5f718b;
  font-size: 12px;
}

.platform-api-real-error {
  color: #be123c;
}

.platform-api-real-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-api-real-summary span,
.platform-api-real-row em {
  padding: 4px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.platform-api-real-summary .ok,
.platform-api-real-row[data-tone="ok"] em {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
}

.platform-api-real-summary .warn,
.platform-api-real-row[data-tone="warn"] em {
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.platform-api-real-summary .bad,
.platform-api-real-row[data-tone="bad"] em {
  color: #be123c;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

.platform-api-real-table {
  display: grid;
  gap: 6px;
}

.platform-api-real-row {
  display: grid;
  grid-template-columns: 150px minmax(130px, 1fr) 120px 130px 130px minmax(180px, 1.2fr);
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #fbfdff;
}

.platform-api-real-row.is-head {
  background: #f2f6fc;
}

.platform-api-real-row[data-tone="bad"] {
  border-color: #fecdd3;
  background: #fff7f8;
}

.platform-api-real-row[data-tone="warn"] {
  border-color: #fde68a;
  background: #fffdf3;
}

.platform-api-real-row strong,
.platform-api-real-row span,
.platform-api-real-row b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #13213a;
  font-size: 12px;
}

.platform-api-real-row span {
  color: #5f718b;
}

.platform-api-real-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #7d8da8;
  font-size: 11px;
  white-space: nowrap;
}

.platform-api-v2-actions,
.platform-api-v2-test-actions,
.platform-api-v2-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-api-v2-actions {
  justify-content: flex-end;
}

.platform-api-pipeline-runtime {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 10px;
  margin-bottom: 10px;
}

.platform-api-pipeline-flow,
.platform-api-engine-status {
  padding: 10px;
  border: 1px solid #e6edf7;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.platform-api-pipeline-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.platform-api-pipeline-head h3,
.platform-api-engine-status h3 {
  margin: 0;
  color: #13213a;
  font-size: 14px;
}

.platform-api-pipeline-head p {
  margin: 0;
  color: #6c7d96;
  font-size: 12px;
}

.platform-api-pipeline-steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.platform-api-pipeline-steps article {
  position: relative;
  min-width: 0;
  padding: 8px 7px;
  border: 1px solid #dbe6f4;
  border-radius: 9px;
  background: #fff;
}

.platform-api-pipeline-steps article::after {
  content: "";
  position: absolute;
  top: 18px;
  right: -7px;
  width: 8px;
  height: 2px;
  background: #c9d8ee;
}

.platform-api-pipeline-steps article:last-child::after {
  display: none;
}

.platform-api-pipeline-steps i {
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 999px;
  background: #94a3b8;
}

.platform-api-pipeline-steps strong,
.platform-api-pipeline-steps span {
  display: block;
}

.platform-api-pipeline-steps strong {
  margin-top: 6px;
  color: #13213a;
  font-size: 12px;
  line-height: 1.15;
}

.platform-api-pipeline-steps span {
  margin-top: 4px;
  color: #6c7d96;
  font-size: 11px;
}

.platform-api-pipeline-steps [data-flow="done"] {
  border-color: #bfead0;
  background: #f0fff6;
}

.platform-api-pipeline-steps [data-flow="done"] i {
  background: #22c55e;
}

.platform-api-pipeline-steps [data-flow="active"] {
  border-color: #9cc2ff;
  background: #f3f7ff;
  box-shadow: 0 0 0 3px rgba(47, 104, 255, 0.08);
}

.platform-api-pipeline-steps [data-flow="active"] i {
  background: #2f68ff;
  animation: apiFlowPulse 1.2s ease-in-out infinite;
}

.platform-api-pipeline-steps [data-flow="pending"] {
  background: #fbfdff;
}

.platform-api-engine-status dl {
  display: grid;
  gap: 6px;
  margin: 9px 0 0;
}

.platform-api-engine-status div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.platform-api-engine-status dt,
.platform-api-engine-status dd {
  margin: 0;
  color: #6c7d96;
  font-size: 12px;
  font-weight: 850;
}

.platform-api-engine-status dd {
  color: #13213a;
  text-align: right;
}

.platform-api-engine-progress {
  height: 8px;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 999px;
  background: #e8eef7;
}

.platform-api-engine-progress span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f68ff, #22c55e);
}

.platform-api-orchestrator {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #c7d8ff;
  border-radius: 10px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

.platform-api-orchestrator h3 {
  margin: 0;
  color: #13213a;
  font-size: 14px;
}

.platform-api-orchestrator p {
  margin: 6px 0 0;
  color: #5b6f8c;
  font-size: 12px;
}

.platform-api-orchestrator dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.platform-api-orchestrator dl div {
  min-width: 0;
  padding: 8px;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.platform-api-orchestrator dt,
.platform-api-orchestrator dd {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 850;
}

.platform-api-orchestrator dt {
  color: #6c7d96;
}

.platform-api-orchestrator dd {
  margin-top: 5px;
  color: #13213a;
}

.platform-api-binding-map {
  display: grid;
  gap: 9px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #dbe6f4;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.platform-api-binding-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.platform-api-binding-head h3 {
  margin: 0;
  color: #13213a;
  font-size: 14px;
}

.platform-api-binding-head p,
.platform-api-binding-statement {
  margin: 5px 0 0;
  color: #5b6f8c;
  font-size: 12px;
  line-height: 1.45;
}

.platform-api-binding-head span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #15803d;
  font-size: 12px;
  font-weight: 900;
}

.platform-api-binding-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.platform-api-binding-flow b {
  position: relative;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid #c7d8ff;
  border-radius: 8px;
  background: #f2f7ff;
  color: #24415f;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.platform-api-binding-flow b:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -8px;
  z-index: 1;
  transform: translateY(-50%);
  color: #2f68ff;
  font-size: 12px;
}

.platform-api-binding-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.platform-api-binding-list article {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 150px 150px;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid #e6edf7;
  border-radius: 9px;
  background: #fff;
}

.platform-api-binding-list strong,
.platform-api-binding-list span,
.platform-api-binding-list em,
.platform-api-binding-list small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 850;
}

.platform-api-binding-list strong {
  color: #13213a;
}

.platform-api-binding-list span,
.platform-api-binding-list small {
  color: #5f718b;
}

.platform-api-binding-list em {
  color: #2f68ff;
  font-style: normal;
}

.platform-api-event-log {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #e6edf7;
  border-radius: 10px;
  background: #0f172a;
}

.platform-api-event-log h3 {
  margin: 0;
  color: #e5f0ff;
  font-size: 14px;
}

.platform-api-event-log p {
  margin: 6px 0 0;
  color: #9fb3d1;
  font-size: 12px;
  line-height: 1.45;
}

.platform-api-event-log pre {
  min-height: 76px;
  max-height: 126px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  color: #bbf7d0;
  font: 12px/1.45 Consolas, "Courier New", monospace;
}

@keyframes apiFlowPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(47, 104, 255, 0.34);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(47, 104, 255, 0);
  }
}

.platform-api-intelligence-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 10px;
}

.platform-api-intelligence-flow article {
  min-width: 0;
  padding: 8px;
  border: 1px solid #e6edf7;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.platform-api-intelligence-flow b,
.platform-api-intelligence-flow strong,
.platform-api-intelligence-flow span {
  display: block;
}

.platform-api-intelligence-flow b {
  color: #2f68ff;
  font-size: 11px;
  line-height: 1;
}

.platform-api-intelligence-flow strong {
  margin-top: 5px;
  color: #13213a;
  font-size: 12px;
  line-height: 1.2;
}

.platform-api-intelligence-flow span {
  margin-top: 5px;
  color: #6c7d96;
  font-size: 11px;
  line-height: 1.35;
}

.platform-api-v2-actions button,
.platform-api-v2-test-actions button,
.platform-api-v2-row-actions button {
  min-height: 32px;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  background: #fff;
  color: #24415f;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
}

.platform-api-v2-actions button:first-child,
.platform-api-v2-test-actions button:first-child {
  border-color: #2f68ff;
  background: #2f68ff;
  color: #fff;
}

.platform-api-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 10px;
  align-items: start;
}

.platform-api-v2-card {
  padding: 11px 12px;
  border: 1px solid #e6edf7;
  border-radius: 10px;
  background: #fbfdff;
  box-shadow: none;
}

.platform-api-v2-card h3 {
  margin: 0 0 8px;
  color: #13213a;
  font-size: 15px;
}

.platform-api-v2-list {
  display: grid;
  gap: 7px;
}

.platform-api-v2-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 96px 100px auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid #e7edf6;
  border-radius: 8px;
  background: #fbfdff;
}

.platform-api-v2-row[data-status="risk"] {
  border-color: #ffe1a6;
  background: #fffaf0;
}

.platform-api-v2-row strong,
.platform-api-v2-row span {
  display: block;
}

.platform-api-v2-row strong {
  color: #13213a;
  font-size: 14px;
}

.platform-api-v2-row span,
.platform-api-v2-row b,
.platform-api-v2-row em {
  color: #5f718b;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.platform-api-v2-side {
  display: grid;
  gap: 10px;
}

.platform-api-v2-test-actions {
  display: grid;
}

.platform-api-v2-monitor {
  display: grid;
  gap: 4px;
  margin: 0;
}

.platform-api-v2-monitor div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #edf2f7;
}

.platform-api-v2-monitor div:last-child {
  border-bottom: 0;
}

.platform-api-v2-monitor dt,
.platform-api-v2-monitor dd {
  margin: 0;
  color: #5f718b;
  font-size: 12px;
  font-weight: 850;
}

.platform-api-v2-monitor dd {
  color: #13213a;
}

.content-hub-panel {
  display: grid;
  gap: 10px;
}

.content-hub-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 48%, #f4fff8 100%);
}

.content-hub-stats {
  padding-top: 10px;
}

.content-hub-flow-card,
.content-hub-layer,
.content-hub-adapter-card,
.content-hub-orchestrator-map,
.content-hub-approval-bar,
.content-hub-topology,
.content-hub-trace-panel,
.content-hub-vstrategy,
.content-hub-meta,
.content-hub-feedback {
  border: 1px solid #e6edf7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(28, 45, 78, 0.04);
}

.content-hub-flow-card,
.content-hub-adapter-card,
.content-hub-orchestrator-map,
.content-hub-approval-bar,
.content-hub-topology,
.content-hub-trace-panel,
.content-hub-vstrategy,
.content-hub-meta,
.content-hub-feedback {
  padding: 12px;
}

.content-hub-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.content-hub-section-head h3,
.content-hub-layer h3 {
  margin: 0;
  color: #13213a;
  font-size: 15px;
}

.content-hub-section-head p {
  margin: 4px 0 0;
  color: #6c7d96;
  font-size: 12px;
}

.content-hub-approval-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
  gap: 8px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.content-hub-approval-bar div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.content-hub-approval-bar b {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 24px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #2f68ff;
  font-size: 12px;
}

.content-hub-approval-bar span {
  overflow: hidden;
  color: #36506f;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 900;
}

.content-hub-approval-bar button {
  min-height: 32px;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  background: #fff;
  color: #24415f;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
}

.content-hub-approval-bar button:first-of-type {
  border-color: #2f68ff;
  background: #2f68ff;
  color: #fff;
}

.content-hub-section-head button,
.content-hub-choice button,
.content-hub-strategy button {
  min-height: 32px;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  background: #fff;
  color: #24415f;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
}

.content-hub-section-head button,
.content-hub-choice button:last-child {
  border-color: #2f68ff;
  background: #eef5ff;
  color: #2f68ff;
}

.content-hub-pipeline,
.content-hub-event-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.content-hub-pipeline article,
.content-hub-event-flow b {
  position: relative;
  min-width: 0;
  padding: 8px;
  border: 1px solid #dbe6f4;
  border-radius: 9px;
  background: #f8fbff;
  color: #24415f;
  text-align: center;
}

.content-hub-pipeline article[data-flow="done"] {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.content-hub-pipeline article[data-flow="active"] {
  border-color: #93c5fd;
  background: #eff6ff;
  animation: apiFlowPulse 1.8s ease-in-out infinite;
}

.content-hub-pipeline article i,
.content-hub-pipeline article strong,
.content-hub-pipeline article span {
  display: block;
}

.content-hub-pipeline article i {
  width: 8px;
  height: 8px;
  margin: 0 auto 6px;
  border-radius: 999px;
  background: #94a3b8;
}

.content-hub-pipeline article[data-flow="done"] i {
  background: #22c55e;
}

.content-hub-pipeline article[data-flow="active"] i {
  background: #2f68ff;
}

.content-hub-pipeline article strong,
.content-hub-event-flow b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 900;
}

.content-hub-pipeline article span {
  margin-top: 4px;
  color: #6c7d96;
  font-size: 11px;
  font-weight: 850;
}

.content-hub-topology {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  justify-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.content-hub-topology-node {
  width: min(420px, 100%);
  padding: 10px 12px;
  border: 1px solid #dbe6f4;
  border-radius: 10px;
  background: #fff;
  color: #13213a;
  text-align: center;
  font-size: 13px;
  font-weight: 950;
}

.content-hub-topology-node span {
  display: block;
  margin-top: 4px;
  color: #6c7d96;
  font-size: 11px;
  font-weight: 850;
}

.content-hub-topology-node.is-brain {
  border-color: #93c5fd;
  background: #eff6ff;
  box-shadow: 0 12px 28px rgba(47, 104, 255, 0.11);
}

.content-hub-topology-arrow {
  color: #2f68ff;
  font-size: 12px;
  font-weight: 900;
}

.content-hub-topology-arrow::after {
  content: " ↓";
}

.content-hub-topology-branches {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.content-hub-topology-branches b {
  min-width: 0;
  padding: 8px;
  border: 1px solid #e6edf7;
  border-radius: 9px;
  background: #fff;
  color: #24415f;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.content-hub-vstrategy {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 46%, #f0fdf4 100%);
}

.content-hub-meta {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 42%, #eef2ff 100%);
}

.content-hub-feedback {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 44%, #fff7ed 100%);
}

.content-hub-vstrategy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.content-hub-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.content-hub-feedback-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}

.content-hub-vstrategy-grid article,
.content-hub-meta-grid article,
.content-hub-feedback-grid article {
  min-width: 0;
  padding: 10px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.content-hub-vstrategy-grid span,
.content-hub-vstrategy-grid strong,
.content-hub-vstrategy-grid b,
.content-hub-vstrategy-grid em,
.content-hub-meta-grid span,
.content-hub-meta-grid strong,
.content-hub-meta-objective b,
.content-hub-meta-objective span,
.content-hub-feedback-grid span,
.content-hub-feedback-grid strong,
.content-hub-feedback-split b,
.content-hub-feedback-split span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-hub-vstrategy-grid span,
.content-hub-meta-grid span,
.content-hub-feedback-grid span {
  color: #2f68ff;
  font-size: 11px;
  font-weight: 950;
}

.content-hub-vstrategy-grid strong,
.content-hub-meta-grid strong,
.content-hub-feedback-grid strong {
  margin-top: 5px;
  color: #13213a;
  font-size: 14px;
  font-weight: 950;
}

.content-hub-vstrategy-grid b,
.content-hub-vstrategy-grid em {
  margin-top: 6px;
  color: #5f718b;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.content-hub-meta-objective {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.content-hub-meta-objective b {
  color: #13213a;
  font-size: 12px;
  font-weight: 950;
}

.content-hub-meta-objective span {
  margin-top: 7px;
  color: #5f718b;
  font-size: 12px;
  font-weight: 850;
}

.content-hub-feedback-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.content-hub-feedback-split article {
  min-width: 0;
  padding: 10px;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.content-hub-feedback-split b {
  color: #13213a;
  font-size: 12px;
  font-weight: 950;
}

.content-hub-feedback-split span {
  margin-top: 7px;
  color: #5f718b;
  font-size: 12px;
  font-weight: 850;
}

.content-hub-four-layers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.content-hub-layer {
  min-width: 0;
  padding: 12px;
}

.content-hub-layer label,
.content-hub-layer dl div,
.content-hub-layer p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 9px 0 0;
  color: #5f718b;
  font-size: 12px;
  font-weight: 850;
}

.content-hub-layer b,
.content-hub-layer dd {
  color: #13213a;
  text-align: right;
}

.content-hub-layer dl,
.content-hub-layer dt,
.content-hub-layer dd {
  margin: 0;
}

.content-hub-choice,
.content-hub-strategy div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.content-hub-progress {
  height: 8px;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 999px;
  background: #e8eef7;
}

.content-hub-progress span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f68ff, #22c55e);
}

.content-hub-adapter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.content-hub-adapter-grid article {
  min-width: 0;
  padding: 10px;
  border: 1px solid #e6edf7;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.content-hub-adapter-grid strong,
.content-hub-adapter-grid span,
.content-hub-adapter-grid b,
.content-hub-adapter-grid em,
.content-hub-adapter-grid small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-hub-adapter-grid strong {
  color: #13213a;
  font-size: 14px;
}

.content-hub-adapter-grid span {
  margin-top: 4px;
  color: #2f68ff;
  font-size: 12px;
  font-weight: 900;
}

.content-hub-adapter-grid b,
.content-hub-adapter-grid em,
.content-hub-adapter-grid small {
  margin-top: 6px;
  color: #5f718b;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.content-hub-orchestrator-map pre {
  min-height: 84px;
  max-height: 136px;
  margin: 10px 0 0;
  overflow: auto;
  padding: 10px;
  border-radius: 9px;
  background: #0f172a;
  color: #bbf7d0;
  white-space: pre-wrap;
  font: 12px/1.45 Consolas, "Courier New", monospace;
}

.content-hub-trace-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.content-hub-trace-grid article,
.content-hub-snapshot {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #e6edf7;
  border-radius: 9px;
  background: #f8fbff;
}

.content-hub-trace-grid span,
.content-hub-trace-grid strong,
.content-hub-snapshot b,
.content-hub-snapshot span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-hub-trace-grid span,
.content-hub-snapshot span {
  color: #6c7d96;
  font-size: 11px;
  font-weight: 850;
}

.content-hub-trace-grid strong,
.content-hub-snapshot b {
  margin-top: 4px;
  color: #13213a;
  font-size: 12px;
  font-weight: 950;
}

.content-hub-snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.content-hub-trace-panel pre {
  min-height: 82px;
  max-height: 146px;
  margin: 8px 0 0;
  overflow: auto;
  padding: 10px;
  border-radius: 9px;
  background: #111827;
  color: #bfdbfe;
  white-space: pre-wrap;
  font: 12px/1.45 Consolas, "Courier New", monospace;
}

.platform-v6-ai-panel {
  position: sticky;
  top: 12px;
  padding: 14px;
}

.platform-v6-ai-panel strong {
  display: block;
  margin-top: 10px;
  color: #13213a;
  font-size: 14px;
}

.platform-v6-ai-panel p {
  margin: 10px 0 0;
  color: #51647f;
  font-size: 12px;
  line-height: 1.5;
}

.platform-v6-ai-panel button {
  width: 100%;
  margin-top: 14px;
}

.platform-v6-repair-log {
  padding: 12px 14px;
}

.platform-v6-repair-log div {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.platform-v6-repair-log p {
  margin: 0;
  color: #51647f;
  font-size: 12px;
}

.platform-v6-repair-log .data-acquisition-log-line {
  padding: 2px 0;
  color: #dbe7ff;
  font-family: Consolas, "Microsoft YaHei", monospace;
  line-height: 1.45;
}

.platform-v6-repair-log .data-acquisition-log-line.is-cyan {
  color: #0891b2;
}

.platform-v6-repair-log .data-acquisition-log-line.is-warn {
  color: #d97706;
}

.platform-v6-repair-log .data-acquisition-log-line.is-bad {
  color: #dc2626;
}

.platform-v6-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
}

.platform-v6-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.32);
}

.platform-v6-modal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, calc(100vw - 32px));
  transform: translate(-50%, -50%);
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.platform-v6-modal-panel header,
.platform-v6-modal-panel footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #edf2f7;
}

.platform-v6-modal-panel footer {
  justify-content: flex-end;
  border-top: 1px solid #edf2f7;
  border-bottom: 0;
}

.platform-v6-modal-panel h3 {
  margin: 0;
  color: #13213a;
  font-size: 16px;
}

.platform-v6-modal-panel header button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: #f2f5fa;
  color: #53647f;
  font-size: 18px;
}

.platform-v6-modal-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.platform-v6-modal-body p {
  margin: 0;
  color: #36506f;
  font-size: 13px;
  line-height: 1.55;
}

.platform-os-generated-table td strong {
  color: #14233f;
}

.platform-os-bottom-grid {
  grid-template-columns: minmax(360px, 1fr) minmax(300px, 0.72fr);
}

body.platform-hub-view .platform-os-hero-card {
  padding: 10px 16px 8px;
}

.platform-nav a,
.platform-system-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  border-radius: 7px;
  color: #cdd5e3;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.platform-nav a span,
.platform-system-nav a span {
  width: 17px;
  flex: 0 0 17px;
  color: currentColor;
  text-align: center;
}

.platform-nav a.is-section-active {
  background: linear-gradient(135deg, #2e72ff, #2559ef);
  color: #fff;
  box-shadow: 0 10px 24px rgba(42, 103, 255, 0.28);
}

.platform-nav a.is-active {
  margin-left: -1px;
  background: rgba(241, 246, 255, 0.94);
  color: #2864f0;
}

.platform-nav a:not(.is-section-active):not(.is-active):hover,
.platform-system-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.platform-system-nav {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 224, 238, 0.12);
}

.platform-system-nav > span {
  margin: 0 16px 12px;
  color: #a7b1c5;
  font-size: 12px;
}

.platform-system-nav a {
  color: #2f3b51;
}

.platform-sidebar-foot {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 20px 16px 0;
  color: #596579;
  font-size: 12px;
}

.platform-admin-main {
  min-width: 0;
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr);
}

.platform-topbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 14px 0 24px;
  border-bottom: 1px solid var(--pa-line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.platform-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #6d7a93;
  font-size: 15px;
  font-weight: 800;
}

.platform-breadcrumb span {
  color: #315b98;
  font-size: 18px;
}

.platform-breadcrumb strong {
  color: #697792;
}

.platform-breadcrumb i {
  color: #a7b2c4;
  font-style: normal;
}

.platform-breadcrumb b {
  color: var(--pa-text);
}

.platform-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.doc-button,
.add-platform-button,
.select-button,
.refresh-button,
.platform-tabs button,
.row-actions button,
.page-nav,
.page-current,
.page-size {
  font: inherit;
  border: 0;
  cursor: pointer;
}

.icon-button {
  position: relative;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f6f9ff;
  color: #64748b;
}

.icon-button::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 2px solid #8ea0bd;
  border-radius: 50%;
}

.notification-button {
  background: transparent;
}

.notification-button::before {
  display: none;
}

.notification-button span {
  position: relative;
  width: 16px;
  height: 18px;
  display: block;
  border: 1.8px solid #344863;
  border-radius: 9px 9px 6px 6px;
  border-bottom-color: transparent;
}

.notification-button span::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #344863;
}

.notification-button i {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #fb3d46;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  line-height: 17px;
}

.doc-button,
.add-platform-button {
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.doc-button {
  min-width: 86px;
}

.add-platform-button {
  min-width: 90px;
  justify-content: center;
}

.doc-button {
  border: 1px solid #dce5f3;
  background: #fff;
  color: #233552;
}

.add-platform-button {
  background: linear-gradient(135deg, #3473ff, #255cf2);
  color: #fff;
  box-shadow: 0 10px 22px rgba(48, 108, 255, 0.23);
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #1f2d44;
}

.admin-profile img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef4ff;
}

.admin-profile strong,
.admin-profile span {
  display: block;
}

.admin-profile strong {
  font-size: 13px;
  line-height: 1.1;
}

.admin-profile span {
  color: #53647f;
  font-size: 12px;
  line-height: 1.1;
}

.admin-profile { position: relative; }
.admin-profile summary { display:flex; align-items:center; gap:7px; cursor:pointer; list-style:none; }
.admin-profile summary::-webkit-details-marker { display:none; }
.admin-profile-menu { position:absolute; z-index:1000; top:calc(100% + 8px); right:0; width:154px; padding:6px; border:1px solid #e4e7ec; border-radius:6px; background:#fff; box-shadow:0 12px 28px rgba(16,24,40,.16); }
.admin-profile-menu button { display:block; width:100%; min-height:34px; padding:0 10px; border:0; border-radius:4px; background:transparent; color:#344054; text-align:left; cursor:pointer; font:inherit; font-size:13px; }
.admin-profile-menu button:hover { background:#f2f4f7; }
.admin-quick-settings #adminEyeCareToggle { width:auto; min-width:42px; padding:0 9px; font-size:12px; }
html[data-theme="eye-care"] .admin-profile-menu,
html[data-theme="dark"] .admin-profile-menu { background:var(--theme-surface); border-color:var(--theme-border); }
html[data-theme="dark"] .admin-profile-menu button { color:var(--theme-text-primary); }

.platform-content {
  display: grid;
  gap: 15px;
  padding: 17px 10px 14px 14px;
}

.platform-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(28, 45, 78, 0.04);
}

.platform-kpi {
  min-width: 0;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  position: relative;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.platform-kpi:hover,
.platform-kpi:focus-visible {
  background: #f8fbff;
  box-shadow: 0 10px 26px rgba(48, 108, 255, 0.08);
  transform: translateY(-1px);
}

.kpi-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
}

.kpi-icon > span {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.kpi-stack-icon::before,
.kpi-grid-icon::before,
.kpi-board-icon::before,
.kpi-card-icon::before,
.kpi-tool-icon::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.kpi-stack-icon::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 9px 0 currentColor;
}

.kpi-grid-icon::before {
  background:
    linear-gradient(currentColor, currentColor) 50% 0 / 2px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat;
}

.kpi-board-icon::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.kpi-card-icon::before {
  border-radius: 2px;
  box-shadow: inset 0 5px 0 rgba(255, 255, 255, 0.85);
}

.kpi-card-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 10px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.kpi-tool-icon {
  transform: rotate(-35deg);
}

.kpi-tool-icon::before {
  inset: 8px 3px 8px 3px;
  border-radius: 999px;
  background: currentColor;
}

.kpi-tool-icon::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 2px;
  width: 6px;
  height: 8px;
  border-radius: 4px 4px 2px 2px;
  background: currentColor;
}

.kpi-orange {
  background: #fff3dd;
  color: #f6a52d;
}

.kpi-blue {
  background: #eaf1ff;
  color: #3e71ff;
}

.kpi-indigo {
  background: #e7efff;
  color: #5278ff;
}

.kpi-cyan {
  background: #e9f7ff;
  color: #12a7e8;
}

.kpi-sky {
  background: #edf7ff;
  color: #2aa8ff;
}

.kpi-copy span,
.kpi-copy em {
  display: block;
}

.kpi-copy span {
  color: #667690;
  font-size: 13px;
  font-weight: 800;
}

.kpi-copy strong {
  display: block;
  margin-top: 6px;
  color: #0f1f38;
  font-size: 26px;
  line-height: 1;
}

.kpi-copy em {
  margin-top: 10px;
  color: #5b6c86;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.kpi-copy em b {
  color: #fa3442;
}

.kpi-copy .kpi-ok {
  color: #22b958;
}

.kpi-pulse {
  position: absolute;
  right: 4px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3fbff;
  color: #22bb73;
  font-size: 26px;
  font-weight: 900;
}

.kpi-pulse span {
  width: 22px;
  height: 12px;
  display: block;
  background:
    linear-gradient(135deg, transparent 0 34%, #22bb73 35% 45%, transparent 46% 100%),
    linear-gradient(45deg, transparent 0 40%, #22bb73 41% 50%, transparent 51% 100%);
}

.platform-table-card,
.metric-panel,
.chart-panel,
.task-panel {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(28, 45, 78, 0.04);
}

.platform-table-card {
  padding: 15px 18px 13px;
}

.platform-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 11px;
}

.platform-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.platform-tabs button {
  height: 36px;
  padding: 0 14px;
  border-radius: 7px;
  background: transparent;
  color: #5d6f8a;
  font-size: 14px;
  font-weight: 900;
}

.platform-tabs button.active {
  border: 1px solid #2f68ff;
  background: #eef5ff;
  color: var(--pa-blue);
}

.platform-filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform-access-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.platform-access-list-head {
  margin: 6px 0 10px;
}

.platform-access-list-head h3 {
  margin: 0;
  color: #172641;
  font-size: 15px;
  font-weight: 900;
}

.platform-access-list-head span {
  color: #6d7d95;
  font-size: 12px;
  font-weight: 800;
}

.platform-section-title {
  display: grid;
  gap: 4px;
}

.platform-section-title strong {
  color: #172641;
  font-size: 15px;
  font-weight: 950;
}

.platform-section-title span {
  color: #6d7d95;
  font-size: 12px;
  font-weight: 800;
}

.top-nav-manager-card {
  margin-top: 12px;
}

.button-module-card {
  margin-top: 12px;
}

.top-nav-data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.button-module-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.top-nav-data-table th,
.button-module-table th {
  height: 38px;
  background: #f4f7fb;
  color: #60708b;
  text-align: left;
  font-size: 12px;
  font-weight: 900;
}

.top-nav-data-table td,
.button-module-table td {
  height: 46px;
  border-bottom: 1px solid #e9eef6;
  color: #22314c;
  font-size: 13px;
  font-weight: 800;
}

.top-nav-data-table th,
.top-nav-data-table td,
.button-module-table th,
.button-module-table td {
  padding: 0 12px;
}

.top-nav-data-table .row-actions button[disabled],
.button-module-table .row-actions button[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.top-nav-stored-title td {
  height: 36px;
  background: #fff7ed;
  color: #9a5a12;
  font-size: 12px;
  font-weight: 950;
}

.top-nav-stored-row td {
  background: #fffaf3;
  color: #77553a;
}

.column-name-cell {
  display: grid;
  gap: 3px;
}

.column-name-cell strong {
  color: #111c31;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.08;
}

.column-name-cell span {
  color: #60708a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
}

.select-button,
.platform-search,
.refresh-button {
  height: 36px;
  border: 1px solid #dfe7f3;
  border-radius: 7px;
  background: #fff;
}

.select-button {
  min-width: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 14px;
  color: #33435d;
  font-size: 14px;
}

.platform-search {
  width: 170px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.platform-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #253551;
  font: inherit;
  font-size: 14px;
}

.platform-search span {
  color: #8fa0b9;
  font-size: 19px;
}

.refresh-button {
  width: 40px;
  color: #31506f;
  font-size: 18px;
}

.platform-data-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.platform-data-table {
  width: 100%;
  min-width: 1540px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: #1f2f4b;
  font-size: 14px;
}

.platform-data-table th {
  height: 43px;
  padding: 0 13px;
  background: #f8fbff;
  color: #52627b;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  white-space: nowrap;
}

.platform-data-table td {
  height: 45px;
  padding: 0 13px;
  border-bottom: 1px solid #e7edf6;
  color: #25344f;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-data-table th:nth-child(1),
.platform-data-table td:nth-child(1) {
  width: 135px;
}

.platform-data-table th:nth-child(2),
.platform-data-table td:nth-child(2) {
  width: 74px;
}

.platform-data-table th:nth-child(3),
.platform-data-table td:nth-child(3) {
  width: 104px;
}

.platform-data-table th:nth-child(4),
.platform-data-table td:nth-child(4) {
  width: 70px;
}

.platform-data-table th:nth-child(5),
.platform-data-table td:nth-child(5) {
  width: 175px;
}

.platform-data-table th:nth-child(6),
.platform-data-table td:nth-child(6) {
  width: 118px;
}

.platform-data-table th:nth-child(7),
.platform-data-table td:nth-child(7) {
  width: 94px;
}

.platform-data-table th:nth-child(8),
.platform-data-table td:nth-child(8) {
  width: 108px;
}

.platform-data-table th:nth-child(9),
.platform-data-table td:nth-child(9) {
  width: 96px;
}

.platform-data-table th:nth-child(10),
.platform-data-table td:nth-child(10) {
  width: 112px;
}

.platform-data-table th:nth-child(11),
.platform-data-table td:nth-child(11) {
  width: 100px;
}

.platform-data-table th:nth-child(12),
.platform-data-table td:nth-child(12) {
  width: 108px;
}

.platform-data-table th:nth-child(13),
.platform-data-table td:nth-child(13) {
  width: 166px;
}

.platform-data-table tr.is-disabled td {
  color: #8a98ad;
  background: #fbfcff;
}

.platform-data-table th:last-child,
.platform-data-table td:last-child {
  position: sticky;
  right: 0;
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  overflow: visible;
  background: #fff;
  box-shadow: -12px 0 18px rgba(28, 45, 78, 0.06);
  z-index: 5;
}

.platform-data-table th:last-child {
  background: #f8fbff;
  z-index: 6;
}

.platform-data-table tr.is-disabled td:last-child {
  background: #fbfcff;
}

.platform-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.platform-logo {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.platform-logo-edit {
  cursor: pointer;
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}

.platform-logo-edit:hover,
.platform-logo-edit:focus-visible {
  box-shadow: 0 0 0 3px rgba(47, 104, 255, 0.18);
  outline: none;
  transform: translateY(-1px);
}

.logo-douyin {
  background: #10131a;
  color: #fff;
  font-size: 20px;
}

.logo-site {
  background: #2f68ff;
  color: #fff;
}

.logo-red {
  background: #ef3434;
}

.logo-video {
  background: #ff9f22;
  font-size: 17px;
}

.logo-kuaishou {
  background: #ff4b1f;
  font-size: 14px;
}

.logo-bili {
  background: #ff3a9e;
}

.logo-wechat {
  background: #20a953;
  font-size: 19px;
}

.logo-baidu {
  background: #3e7ff7;
  font-size: 14px;
}

.logo-toutiao {
  background: #ef3434;
}

.logo-weibo {
  background: linear-gradient(135deg, #ffd84a, #ff6a4d);
  font-size: 16px;
}

.logo-zhihu {
  background: #1977ff;
  font-size: 15px;
}

.mode-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.mode-pill {
  border: 1px solid #e2e8f2;
  background: #fff;
  color: #2f3d54;
}

.status-pill.success {
  background: #e6f8ed;
  color: #1daa5a;
}

.status-pill.danger {
  background: #ffecee;
  color: #f13a48;
}

.status-pill.running {
  background: #eaf8ee;
  color: #1faf66;
}

.status-pill.warning {
  background: #fff4da;
  color: #eca320;
}

.row-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.row-actions button {
  padding: 0;
  background: transparent;
  color: #2f68ff;
  font-size: 13px;
  font-weight: 900;
}

.row-actions button:last-child {
  color: #63728c;
}

.table-add-platform-button {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid #2f68ff;
  border-radius: 8px;
  background: #2f68ff;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.platform-empty {
  height: 90px;
  display: grid;
  place-items: center;
  color: #7a8aa5;
  font-weight: 800;
}

.platform-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
  color: #263750;
  font-size: 14px;
  font-weight: 800;
}

.page-nav,
.page-current,
.page-size {
  height: 32px;
  border: 1px solid #dfe7f3;
  border-radius: 6px;
  background: #fff;
  color: #5e708b;
  font-weight: 900;
}

.page-nav,
.page-current {
  width: 34px;
}

.page-current {
  border-color: var(--pa-blue);
  background: var(--pa-blue);
  color: #fff;
}

.page-size {
  padding: 0 12px;
}

.platform-bottom-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(360px, 1fr) minmax(300px, 0.9fr);
  gap: 14px;
}

.platform-bottom-toolbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: -2px;
}

.platform-bottom-toolbar strong {
  display: block;
  color: #15243f;
  font-size: 15px;
}

.platform-bottom-toolbar span {
  display: block;
  margin-top: 2px;
  color: #687894;
  font-size: 12px;
  font-weight: 800;
}

.platform-bottom-refresh {
  flex: 0 0 auto;
}

.metric-panel,
.chart-panel,
.task-panel {
  min-width: 0;
  padding: 17px 20px 16px;
  height: 276px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}

.metric-panel:hover,
.chart-panel:hover,
.task-panel:hover,
.metric-panel:focus-visible,
.chart-panel:focus-visible,
.task-panel:focus-visible {
  box-shadow: 0 16px 42px rgba(28, 45, 78, 0.08);
  transform: translateY(-1px);
}

.metric-panel h3,
.chart-panel h3,
.task-panel h3 {
  margin: 0 0 17px;
  color: #15243f;
  font-size: 16px;
}

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

.metric-grid div {
  min-width: 0;
}

.metric-grid span,
.metric-grid em {
  display: block;
  color: #6b7b94;
  font-size: 13px;
  font-weight: 800;
}

.metric-grid strong {
  display: block;
  margin-top: 7px;
  color: #101f38;
  font-size: 24px;
  line-height: 1;
}

.metric-grid em {
  margin-top: 7px;
  color: #26a763;
  font-size: 12px;
  font-style: normal;
}

.chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 6px;
  color: #62738f;
  font-size: 12px;
  font-weight: 800;
}

.chart-legend span,
.donut-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chart-legend i,
.donut-legend i {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
}

.legend-blue,
.run-dot {
  background: #326bff;
}

.legend-red,
.fail-dot {
  background: #ef4052;
}

.legend-deep {
  background: #2372cc;
}

.legend-purple {
  background: #8751b7;
}

.legend-green,
.success-dot {
  background: #21bf6b;
}

.line-chart {
  width: 100%;
  height: 188px;
  aspect-ratio: auto;
}

.line-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.grid-lines line {
  stroke: #e5ebf3;
  stroke-width: 1;
}

.axis-labels text,
.day-labels text {
  fill: #6c7b92;
  font-size: 11px;
  font-weight: 700;
}

.line-blue,
.line-deep,
.line-red,
.line-green,
.line-orange {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-blue {
  stroke: #326bff;
}

.line-deep {
  stroke: #2b5be8;
}

.line-red {
  stroke: #ef4052;
}

.line-green {
  stroke: #4aa84e;
}

.line-orange {
  stroke: #f28d2d;
}

.donut-layout {
  min-height: 210px;
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(170px, 1fr);
  align-items: center;
  gap: 12px;
}

.donut-chart {
  width: min(100%, 184px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 45%, transparent 46%),
    conic-gradient(#20bf6b 0 92.23%, #ff3d47 92.23% 98.6%, #326bff 98.6% 100%);
}

.donut-chart span {
  display: grid;
  gap: 8px;
  color: #53647d;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.donut-chart strong {
  color: #14223a;
  font-size: 26px;
  line-height: 1;
}

.donut-legend {
  display: grid;
  gap: 16px;
  color: #344560;
  font-size: 14px;
  font-weight: 800;
}

.platform-hub-toast {
  position: fixed;
  top: 86px;
  right: 26px;
  z-index: 200;
  min-width: 180px;
  max-width: 360px;
  padding: 12px 16px;
  border: 1px solid #dce7f7;
  border-radius: 8px;
  background: #fff;
  color: #17233b;
  box-shadow: 0 16px 45px rgba(29, 45, 78, 0.18);
  font-size: 14px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.platform-hub-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.platform-hub-toast[data-type="success"] {
  border-color: #bdebd0;
  color: #108d4c;
}

.platform-status-menu {
  position: fixed;
  z-index: 160;
  width: 120px;
  display: none;
  padding: 6px;
  border: 1px solid #dfe7f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(33, 50, 82, 0.16);
}

.platform-status-menu.open {
  display: grid;
}

.platform-status-menu button {
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #24344e;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.platform-status-menu button:hover {
  background: #eef5ff;
  color: #2f68ff;
}

.platform-hub-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: none;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.platform-hub-modal.open {
  display: block;
}

.platform-modal-backdrop {
  position: absolute;
  inset: 0;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.platform-modal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(560px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 48px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  transform: translate(-50%, -50%);
  border-radius: 8px;
  border: 1px solid rgba(209, 222, 241, 0.72);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 28px 70px rgba(11, 22, 48, 0.18);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  overflow: hidden;
}

.platform-modal-panel header {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 20px;
  border-bottom: 1px solid #e7edf6;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.platform-hub-modal.is-window-locked .platform-modal-panel header {
  cursor: default;
}

.platform-modal-window-moving,
.platform-modal-window-moving * {
  cursor: grabbing !important;
  user-select: none !important;
}

.platform-modal-window-resizing,
.platform-modal-window-resizing * {
  cursor: nwse-resize !important;
  user-select: none !important;
}

.platform-modal-panel h3 {
  margin: 0;
  color: #13213a;
  font-size: 17px;
}

.platform-modal-window-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.platform-modal-panel header button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: #f4f7fb;
  color: #52627b;
  font-size: 20px;
  cursor: pointer;
}

.platform-modal-panel header .platform-modal-lock-button {
  width: auto;
  min-width: 54px;
  padding: 0 10px;
  border: 1px solid #d9e5f5;
  background: rgba(244, 247, 251, 0.82);
  color: #52627b;
  font-size: 13px;
  font-weight: 900;
}

.platform-hub-modal.is-window-locked .platform-modal-lock-button {
  border-color: rgba(47, 104, 255, 0.42);
  background: rgba(47, 104, 255, 0.12);
  color: #2f68ff;
}

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

.platform-modal-resize-handle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 8px 0 8px 0;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(47, 104, 255, 0.55) 50% 56%, transparent 58%),
    linear-gradient(135deg, transparent 0 64%, rgba(47, 104, 255, 0.36) 66% 72%, transparent 74%);
  cursor: nwse-resize;
  touch-action: none;
}

.platform-hub-modal.is-window-locked .platform-modal-resize-handle {
  opacity: 0.28;
  cursor: not-allowed;
}

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

.platform-edit-form label {
  display: grid;
  gap: 6px;
  color: #5d6d86;
  font-size: 13px;
  font-weight: 900;
}

.platform-edit-form input,
.platform-edit-form select {
  width: 100%;
  height: 38px;
  border: 1px solid #dfe7f3;
  border-radius: 7px;
  padding: 0 10px;
  color: #16243d;
  font: inherit;
  font-weight: 800;
}

.platform-edit-form .platform-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.platform-edit-form .platform-check input {
  width: auto;
  height: auto;
}

.platform-duplicate-hint {
  grid-column: 1 / -1;
  margin: -4px 0 2px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 900;
}

.platform-form-hint {
  grid-column: 1 / -1;
  margin: -2px 0 2px;
  color: #6d7d95;
  font-size: 12px;
  font-weight: 800;
}

.platform-modal-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.platform-modal-actions button,
.platform-more-actions button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #dfe7f3;
  border-radius: 7px;
  background: #fff;
  color: #25344f;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.platform-modal-actions .platform-modal-primary {
  border-color: #2f68ff;
  background: #2f68ff;
  color: #fff;
}

.platform-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.platform-detail-list div {
  padding: 12px;
  border: 1px solid #e7edf6;
  border-radius: 8px;
  background: #f8fbff;
}

.platform-detail-list dt {
  color: #6b7b94;
  font-size: 12px;
  font-weight: 900;
}

.platform-detail-list dd {
  margin: 6px 0 0;
  color: #14233f;
  font-size: 15px;
  font-weight: 900;
}

.platform-more-actions,
.platform-notice-list {
  display: grid;
  gap: 10px;
}

.platform-module-table {
  display: grid;
  gap: 10px;
}

.platform-module-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px 72px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e7edf6;
  border-radius: 8px;
  background: #f8fbff;
}

.platform-module-table strong {
  color: #17233b;
  font-size: 14px;
}

.platform-module-table span {
  color: #17a65c;
  font-size: 13px;
  font-weight: 900;
}

.platform-module-table button {
  min-height: 32px;
  border: 1px solid #bfdbfe;
  border-radius: 7px;
  background: #eff6ff;
  color: #1d4ed8;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.platform-more-actions button {
  justify-content: flex-start;
  text-align: left;
}

.platform-help-text,
.platform-notice-list p {
  margin: 0;
  color: #51627e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.refresh-button.is-spinning {
  animation: hubSpin 0.5s linear;
}

@keyframes hubSpin {
  to {
    transform: rotate(360deg);
  }
}

.yx-test-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 880px;
}

.yx-form-grid,
.yx-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.yx-platform-form .yx-platform-form-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.yx-platform-table th:last-child,
.yx-platform-table td:last-child {
  min-width: 150px;
}

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

.yx-form-grid label,
.yx-filter-bar label {
  display: grid;
  gap: 6px;
  color: var(--yx-muted);
  font-weight: 700;
}

.yx-form-grid input,
.yx-form-grid select,
.yx-form-grid textarea,
.yx-filter-bar input,
.yx-filter-bar select {
  width: 100%;
  border: 1px solid var(--yx-line);
  border-radius: 6px;
  padding: 10px;
  color: var(--yx-text);
  font: inherit;
}

.yx-form-actions {
  display: flex;
  align-items: end;
  gap: 10px;
}

.yx-check {
  display: flex !important;
  align-items: center;
  grid-template-columns: auto 1fr;
}

.yx-check input {
  width: auto;
}

.yx-test-form label {
  display: grid;
  gap: 6px;
  color: var(--yx-muted);
  font-weight: 700;
}

.yx-test-form input,
.yx-test-form select,
.yx-test-form textarea {
  width: 100%;
  border: 1px solid var(--yx-line);
  border-radius: 6px;
  padding: 10px;
  color: var(--yx-text);
  font: inherit;
}

.yx-wide {
  grid-column: 1 / -1;
}

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

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

.yx-list-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--yx-line);
  border-radius: 8px;
  background: #fff;
}

.yx-list-row span {
  color: var(--yx-muted);
  text-align: right;
}

.yx-result {
  margin-top: 18px;
  min-height: 180px;
  padding: 16px;
  border-radius: 8px;
  background: #111827;
  color: #e5e7eb;
  overflow: auto;
  white-space: pre-wrap;
}

@media (max-width: 820px) {
  .platform-admin {
    grid-template-columns: 1fr;
  }

  .platform-admin-sidebar {
    position: static;
    height: auto;
    max-height: none;
  }

  .platform-topbar,
  .platform-table-toolbar,
  .platform-top-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .platform-topbar {
    height: auto;
    padding: 16px;
  }

  .platform-content {
    padding: 14px;
  }

  .platform-kpi-grid,
  .platform-bottom-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .platform-filter-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .platform-search {
    width: min(100%, 260px);
  }

  .donut-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .yx-admin-shell {
    grid-template-columns: 1fr;
  }

  .yx-sidebar {
    width: min(100vw - 14px, 720px);
    bottom: 7px;
    min-height: auto;
    padding: 7px;
    border-radius: 12px;
  }

  .yx-sidebar nav {
    justify-content: flex-start;
    gap: 6px;
  }

  .yx-sidebar button {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .yx-admin-content {
    padding: 12px 10px 62px;
  }

  .yx-panel-head,
  .yx-test-form,
  .yx-form-grid,
  .yx-filter-bar,
  .yx-compact-form,
  .yx-platform-split,
  .yx-platform-form,
  .yx-two-col {
    grid-template-columns: 1fr;
  }

  .yx-platform-form-fields {
    grid-template-columns: 1fr;
  }
}

/* Compact platform hub: keep the full platform table visible in normal browser zoom. */
body.platform-hub-view {
  font-size: 12px;
}

body.platform-hub-view .platform-admin {
  grid-template-columns: 156px minmax(0, 1fr);
}

body.platform-hub-view .platform-admin-sidebar {
  padding: 14px 7px 10px;
}

body.platform-hub-view .platform-brand {
  gap: 8px;
  padding: 0 7px 22px;
}

body.platform-hub-view .platform-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 11px;
}

body.platform-hub-view .platform-brand strong {
  font-size: 13px;
}

body.platform-hub-view .platform-brand span,
body.platform-hub-view .platform-sidebar-foot {
  font-size: 11px;
}

body.platform-hub-view .platform-nav,
body.platform-hub-view .platform-system-nav {
  gap: 4px;
}

body.platform-hub-view .platform-nav a,
body.platform-hub-view .platform-system-nav a {
  min-height: 34px;
  gap: 8px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 12px;
}

body.platform-hub-view .platform-system-nav {
  margin-top: 14px;
  padding-top: 12px;
}

body.platform-hub-view .platform-sidebar-foot {
  padding: 14px 12px 0;
}

body.platform-hub-view .platform-admin-main {
  grid-template-rows: 54px minmax(0, 1fr);
}

body.platform-hub-view .platform-topbar {
  height: 54px;
  gap: 14px;
  padding: 0 8px 0 18px;
}

body.platform-hub-view .platform-breadcrumb {
  gap: 8px;
  font-size: 13px;
}

body.platform-hub-view .platform-breadcrumb span {
  font-size: 16px;
}

body.platform-hub-view .platform-top-actions {
  gap: 6px;
}

body.platform-hub-view .icon-button {
  width: 28px;
  height: 28px;
}

body.platform-hub-view .doc-button,
body.platform-hub-view .add-platform-button {
  height: 32px;
  gap: 6px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 12px;
}

body.platform-hub-view .doc-button {
  min-width: 76px;
}

body.platform-hub-view .add-platform-button {
  min-width: 78px;
}

body.platform-hub-view .admin-profile img {
  width: 30px;
  height: 30px;
}

body.platform-hub-view .admin-profile strong {
  font-size: 12px;
}

body.platform-hub-view .admin-profile span {
  font-size: 11px;
}

body.platform-hub-view .platform-content {
  gap: 10px;
  padding: 12px 7px 10px 10px;
}

body.platform-hub-view .platform-kpi-grid {
  gap: 9px;
  padding: 10px 12px;
}

body.platform-hub-view .platform-os-summary-card .platform-kpi-grid {
  padding: 10px 16px 12px;
}

body.platform-hub-view .platform-kpi {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 9px;
}

body.platform-hub-view .kpi-icon {
  width: 38px;
  height: 38px;
  font-size: 18px;
}

body.platform-hub-view .kpi-copy span {
  font-size: 11px;
}

body.platform-hub-view .kpi-copy strong {
  margin-top: 3px;
  font-size: 20px;
}

body.platform-hub-view .kpi-copy em {
  margin-top: 6px;
  font-size: 11px;
}

body.platform-hub-view .kpi-pulse {
  width: 44px;
  height: 44px;
  font-size: 18px;
}

body.platform-hub-view .platform-table-card {
  padding: 11px 12px 10px;
}

body.platform-hub-view .platform-table-toolbar {
  gap: 10px;
  margin-bottom: 8px;
}

body.platform-hub-view .platform-tabs {
  gap: 8px;
}

body.platform-hub-view .platform-tabs button {
  height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 12px;
}

body.platform-hub-view .platform-filter-actions {
  gap: 7px;
}

body.platform-hub-view .select-button,
body.platform-hub-view .platform-search,
body.platform-hub-view .table-add-platform-button,
body.platform-hub-view .refresh-button {
  height: 32px;
  border-radius: 6px;
}

body.platform-hub-view .table-add-platform-button {
  padding: 0 10px;
  font-size: 12px;
}

body.platform-hub-view .select-button {
  min-width: 96px;
  gap: 8px;
  padding: 0 10px;
  font-size: 12px;
}

body.platform-hub-view .platform-search {
  width: 138px;
  padding: 0 9px;
}

body.platform-hub-view .platform-search input {
  font-size: 12px;
}

body.platform-hub-view .refresh-button {
  width: 34px;
  font-size: 15px;
}

body.platform-hub-view .platform-access-list-head {
  margin: 4px 0 7px;
}

body.platform-hub-view .platform-access-list-head h3 {
  font-size: 13px;
}

body.platform-hub-view .platform-access-list-head span {
  font-size: 11px;
}

body.platform-hub-view .platform-data-table {
  min-width: 1210px;
  font-size: 12px;
}

body.platform-hub-view .platform-data-table th {
  height: 34px;
  padding: 0 8px;
  font-size: 11px;
}

body.platform-hub-view .platform-data-table td {
  height: 36px;
  padding: 0 8px;
}

body.platform-hub-view .platform-data-table th:nth-child(1),
body.platform-hub-view .platform-data-table td:nth-child(1) {
  width: 94px;
}

body.platform-hub-view .platform-data-table th:nth-child(2),
body.platform-hub-view .platform-data-table td:nth-child(2) {
  width: 50px;
}

body.platform-hub-view .platform-data-table th:nth-child(3),
body.platform-hub-view .platform-data-table td:nth-child(3) {
  width: 72px;
}

body.platform-hub-view .platform-data-table th:nth-child(4),
body.platform-hub-view .platform-data-table td:nth-child(4) {
  width: 52px;
}

body.platform-hub-view .platform-data-table th:nth-child(5),
body.platform-hub-view .platform-data-table td:nth-child(5) {
  width: 124px;
}

body.platform-hub-view .platform-data-table th:nth-child(6),
body.platform-hub-view .platform-data-table td:nth-child(6) {
  width: 82px;
}

body.platform-hub-view .platform-data-table th:nth-child(7),
body.platform-hub-view .platform-data-table td:nth-child(7) {
  width: 70px;
}

body.platform-hub-view .platform-data-table th:nth-child(8),
body.platform-hub-view .platform-data-table td:nth-child(8) {
  width: 78px;
}

body.platform-hub-view .platform-data-table th:nth-child(9),
body.platform-hub-view .platform-data-table td:nth-child(9) {
  width: 74px;
}

body.platform-hub-view .platform-data-table th:nth-child(10),
body.platform-hub-view .platform-data-table td:nth-child(10) {
  width: 84px;
}

body.platform-hub-view .platform-data-table th:nth-child(11),
body.platform-hub-view .platform-data-table td:nth-child(11) {
  width: 76px;
}

body.platform-hub-view .platform-data-table th:nth-child(12),
body.platform-hub-view .platform-data-table td:nth-child(12) {
  width: 82px;
}

body.platform-hub-view .platform-data-table th:nth-child(13),
body.platform-hub-view .platform-data-table td:nth-child(13) {
  width: 120px;
}

body.platform-hub-view .platform-data-table th:last-child,
body.platform-hub-view .platform-data-table td:last-child {
  width: 88px;
  min-width: 88px;
  max-width: 88px;
}

body.platform-hub-view .column-name-cell {
  gap: 1px;
}

body.platform-hub-view .column-name-cell strong {
  font-size: 12px;
}

body.platform-hub-view .column-name-cell span {
  font-size: 10px;
}

body.platform-hub-view .platform-name-cell {
  gap: 8px;
}

body.platform-hub-view .platform-logo {
  width: 23px;
  height: 23px;
  border-radius: 6px;
  font-size: 10px;
}

body.platform-hub-view .mode-pill,
body.platform-hub-view .status-pill {
  min-width: 38px;
  height: 20px;
  padding: 0 7px;
  font-size: 11px;
}

body.platform-hub-view .row-actions {
  gap: 8px;
}

body.platform-hub-view .row-actions button {
  font-size: 12px;
}

body.platform-hub-view .platform-pagination {
  gap: 8px;
  padding-top: 10px;
  font-size: 12px;
}

body.platform-hub-view .page-nav,
body.platform-hub-view .page-current,
body.platform-hub-view .page-size {
  height: 28px;
  border-radius: 6px;
  font-size: 12px;
}

body.platform-hub-view .page-current {
  width: 30px;
}

.collect-pill,
.risk-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  max-width: 100%;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.collect-api {
  background: #eaf2ff;
  color: #2f68ff;
}

.collect-rpa {
  background: #f4edff;
  color: #7c4dff;
}

.collect-hybrid,
.collect-auto {
  background: #e8f7ef;
  color: #189b55;
}

.risk-pill {
  justify-content: flex-start;
  overflow: hidden;
  text-overflow: ellipsis;
}

.risk-pill.success {
  background: #e8f7ef;
  color: #189b55;
}

.risk-pill.warning {
  background: #fff5db;
  color: #c78105;
}

.risk-pill.danger {
  background: #ffecef;
  color: #d73545;
}

.collect-mode-select {
  width: 68px;
  height: 26px;
  border: 1px solid #dce5f2;
  border-radius: 6px;
  background: #fff;
  color: #26344d;
  font: inherit;
  font-weight: 900;
  outline: none;
}

.collect-mode-select:focus {
  border-color: #2f68ff;
  box-shadow: 0 0 0 2px rgba(47, 104, 255, 0.12);
}

.collect-actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.collect-actions button {
  height: 24px;
  padding: 0 7px;
  border: 1px solid #dce5f2;
  border-radius: 6px;
  background: #fff;
  color: #2f68ff;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.collect-actions button:first-child {
  border-color: #2f68ff;
  background: #2f68ff;
  color: #fff;
}

.collect-actions button:disabled,
.collect-mode-select:disabled {
  cursor: wait;
  opacity: 0.62;
}

body.platform-hub-view .platform-data-table {
  min-width: 1268px;
  font-size: 11px;
}

body.platform-hub-view .platform-data-table th {
  padding: 0 5px;
  font-size: 10px;
}

body.platform-hub-view .platform-data-table td {
  padding: 0 5px;
}

body.platform-hub-view .platform-data-table th:nth-child(1),
body.platform-hub-view .platform-data-table td:nth-child(1) {
  width: 82px;
}

body.platform-hub-view .platform-data-table th:nth-child(2),
body.platform-hub-view .platform-data-table td:nth-child(2) {
  width: 38px;
}

body.platform-hub-view .platform-data-table th:nth-child(3),
body.platform-hub-view .platform-data-table td:nth-child(3) {
  width: 60px;
}

body.platform-hub-view .platform-data-table th:nth-child(4),
body.platform-hub-view .platform-data-table td:nth-child(4) {
  width: 42px;
}

body.platform-hub-view .platform-data-table th:nth-child(5),
body.platform-hub-view .platform-data-table td:nth-child(5) {
  width: 104px;
}

body.platform-hub-view .platform-data-table th:nth-child(6),
body.platform-hub-view .platform-data-table td:nth-child(6) {
  width: 66px;
}

body.platform-hub-view .platform-data-table th:nth-child(7),
body.platform-hub-view .platform-data-table td:nth-child(7) {
  width: 56px;
}

body.platform-hub-view .platform-data-table th:nth-child(8),
body.platform-hub-view .platform-data-table td:nth-child(8) {
  width: 60px;
}

body.platform-hub-view .platform-data-table th:nth-child(9),
body.platform-hub-view .platform-data-table td:nth-child(9) {
  width: 60px;
}

body.platform-hub-view .platform-data-table th:nth-child(10),
body.platform-hub-view .platform-data-table td:nth-child(10) {
  width: 66px;
}

body.platform-hub-view .platform-data-table th:nth-child(11),
body.platform-hub-view .platform-data-table td:nth-child(11) {
  width: 62px;
}

body.platform-hub-view .platform-data-table th:nth-child(12),
body.platform-hub-view .platform-data-table td:nth-child(12) {
  width: 70px;
}

body.platform-hub-view .platform-data-table th:nth-child(13),
body.platform-hub-view .platform-data-table td:nth-child(13) {
  width: 60px;
}

body.platform-hub-view .platform-data-table th:nth-child(14),
body.platform-hub-view .platform-data-table td:nth-child(14) {
  width: 110px;
}

body.platform-hub-view .platform-data-table th:nth-child(15),
body.platform-hub-view .platform-data-table td:nth-child(15) {
  width: 64px;
}

body.platform-hub-view .platform-data-table th:nth-child(16),
body.platform-hub-view .platform-data-table td:nth-child(16) {
  width: 100px;
  overflow: visible;
}

body.platform-hub-view .platform-data-table th:nth-child(17),
body.platform-hub-view .platform-data-table td:nth-child(17) {
  width: 96px;
}

body.platform-hub-view .platform-data-table th:last-child,
body.platform-hub-view .platform-data-table td:last-child {
  width: 70px;
  min-width: 70px;
  max-width: 70px;
}

body.platform-hub-view .collect-pill,
body.platform-hub-view .risk-pill {
  height: 20px;
  padding: 0 6px;
  font-size: 10px;
}

body.platform-hub-view .collect-mode-select {
  width: 58px;
  height: 23px;
  font-size: 10px;
}

body.platform-hub-view .collect-actions {
  gap: 3px;
}

body.platform-hub-view .collect-actions button {
  height: 22px;
  padding: 0 5px;
  border-radius: 5px;
  font-size: 10px;
}

body.platform-hub-view .platform-name-cell {
  gap: 5px;
}

body.platform-hub-view .platform-logo {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  font-size: 9px;
}

body.platform-hub-view .mode-pill,
body.platform-hub-view .status-pill {
  min-width: 32px;
  height: 19px;
  padding: 0 5px;
  font-size: 10px;
}

body.platform-hub-view .row-actions {
  gap: 5px;
}

body.platform-hub-view .row-actions button {
  font-size: 10px;
}

body.platform-hub-view .platform-v6-main {
  padding: 12px;
}

body.platform-hub-view .platform-v6-layout {
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) 250px;
}

body.platform-hub-view .platform-v6-card-grid {
  gap: 10px;
}

body.platform-hub-view .platform-v6-status-card {
  padding: 11px;
}

body.platform-hub-view .platform-v6-card-value b {
  font-size: 21px;
}

body.platform-hub-view .platform-v6-ai-panel,
body.platform-hub-view .platform-v6-repair-log {
  padding: 12px;
}

body.platform-hub-view .platform-v7-global-layer {
  padding: 7px 7px 0 10px;
}

body.platform-hub-view .platform-v7-global-bar,
body.platform-hub-view .platform-v7-page-actions {
  gap: 6px;
  padding: 8px 10px;
}

body.platform-hub-view .platform-v7-global-bar button,
body.platform-hub-view .platform-v7-page-actions button,
body.platform-hub-view .platform-v7-module-actions button {
  min-height: 29px;
  padding: 0 9px;
  font-size: 11px;
}

body.platform-hub-view .platform-api-v2-stats {
  gap: 8px;
  padding: 10px 16px 12px;
}

body.platform-hub-view .platform-api-v2-board {
  padding: 10px;
}

body.platform-hub-view .platform-api-v2-board-head {
  margin-bottom: 8px;
}

body.platform-hub-view .platform-api-v2-card {
  padding: 9px 10px;
}

body.platform-hub-view .platform-api-v2-row {
  padding: 7px 9px;
}

@media (max-width: 1100px) {
  .platform-v6-layout,
  body.platform-hub-view .platform-v6-layout {
    grid-template-columns: 1fr;
  }

  .platform-v6-ai-panel {
    position: static;
  }
}

/* Admin information architecture: six operational centers. */
body:not(.embed-mode) .yx-admin-shell {
  grid-template-columns: 252px minmax(0, 1fr);
}

body:not(.embed-mode) .yx-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: 252px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  transform: none;
  padding: 18px 14px;
  border: 0;
  border-right: 1px solid rgba(151, 176, 215, 0.28);
  border-radius: 0;
  overflow: hidden;
}

body:not(.embed-mode) .yx-sidebar .yx-brand {
  display: block !important;
  flex: 0 0 auto;
  padding: 2px 8px 16px;
  border-bottom: 1px solid rgba(151, 176, 215, 0.22);
}

body:not(.embed-mode) .yx-sidebar .yx-brand strong { font-size: 18px; }
body:not(.embed-mode) .yx-sidebar .yx-brand span { margin-top: 3px; font-size: 11px; }

body:not(.embed-mode) .yx-sidebar .yx-menu-tree {
  display: block;
  flex: 1 1 auto;
  padding: 10px 2px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
}

body:not(.embed-mode) .yx-sidebar > nav {
  display: block;
  flex: 1 1 auto;
  padding: 10px 2px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
}

.yx-menu-group {
  display: grid;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(151, 176, 215, 0.16);
}

.yx-menu-group:last-child { border-bottom: 0; }

.yx-menu-group h2 {
  margin: 0 0 4px;
  padding: 0 9px;
  color: #405573 !important;
  font-size: 11px;
  font-weight: 800;
  line-height: 22px;
}

body:not(.embed-mode) .yx-sidebar .yx-menu-group button,
body:not(.embed-mode) .yx-sidebar .yx-menu-group a {
  display: flex !important;
  align-items: center;
  width: 100%;
  min-height: 34px;
  justify-content: flex-start;
  margin: 0;
  padding: 0 10px 0 18px;
  border-radius: 6px;
  font-size: 12px;
  text-align: left;
}

body:not(.embed-mode) .yx-sidebar > nav > button,
body:not(.embed-mode) .yx-sidebar > nav > .yx-nav-group > button {
  display: flex !important;
  align-items: center;
  width: 100%;
  min-height: 34px;
  justify-content: flex-start;
  margin: 0 0 4px;
  padding: 0 10px 0 18px;
  border-radius: 6px;
  font-size: 12px;
  text-align: left;
}

body:not(.embed-mode) .yx-sidebar > nav > .yx-nav-group {
  display: grid;
  gap: 2px;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid rgba(151, 176, 215, 0.16);
  border-bottom: 1px solid rgba(151, 176, 215, 0.16);
  border-radius: 0;
  background: transparent;
}

body:not(.embed-mode) .yx-sidebar > nav > .yx-nav-group > span {
  padding: 0 9px;
  color: #405573 !important;
  font-size: 11px;
  font-weight: 800;
  line-height: 22px;
}

body:not(.embed-mode) .yx-sidebar .yx-menu-home button {
  padding-left: 10px;
  font-size: 13px;
}

body:not(.embed-mode) .yx-sidebar > a {
  display: flex !important;
  flex: 0 0 auto;
  justify-content: center;
  margin: 8px 2px 0;
  border: 1px solid rgba(91, 126, 220, 0.18) !important;
}

body:not(.embed-mode) .yx-admin-content {
  grid-column: 2;
  min-width: 0;
  padding: 24px 28px 40px;
}

body.embed-mode .yx-admin-content { margin-left: 0; }

@media (max-width: 900px) {
  body:not(.embed-mode) .yx-admin-shell { display: block; }
  body:not(.embed-mode) .yx-sidebar {
    position: static;
    width: 100%;
    height: auto;
    max-height: 52vh;
    border-right: 0;
    border-bottom: 1px solid rgba(151, 176, 215, 0.28);
  }
  body:not(.embed-mode) .yx-sidebar .yx-menu-tree {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 14px;
  }
  body:not(.embed-mode) .yx-admin-content { padding: 18px 14px 32px; }
}

@media (max-width: 560px) {
  body:not(.embed-mode) .yx-sidebar .yx-menu-tree { grid-template-columns: 1fr; }
}

.yx-admin-content > header { position: relative; min-height: 62px; padding-right: 330px; }
.admin-header-actions { position: absolute; top: 10px; right: 22px; z-index: 99999; }
.admin-global-profile { position: relative; }
.admin-global-profile summary { min-width: 148px; height: 40px; display:flex; align-items:center; gap:8px; padding:0 9px; border:1px solid rgba(151,176,215,.3); border-radius:6px; background:rgba(255,255,255,.86); color:#263a55; cursor:pointer; list-style:none; }
.admin-global-profile summary::-webkit-details-marker { display:none; }
.admin-global-avatar { width:26px; height:26px; display:grid !important; place-items:center; flex:0 0 auto; border-radius:50%; background:#dce8df; color:#315c45 !important; font-size:11px; font-weight:800; }
.admin-global-identity { min-width:0; flex:1; }
.admin-global-identity strong,.admin-global-identity small { display:block; line-height:1.2; }
.admin-global-identity strong { font-size:12px; }
.admin-global-identity small { margin-top:2px; color:#718096; font-size:10px; }
.admin-global-menu { position:absolute; top:46px; right:0; width:160px; padding:6px; border:1px solid #d5dfeb; border-radius:6px; background:#fff; box-shadow:0 12px 28px rgba(45,63,87,.16); }
.admin-global-menu button { width:100%; min-height:34px; border:0; background:transparent; color:#40536d; text-align:left; padding:0 10px; cursor:pointer; }
.admin-global-menu button:hover { background:#edf3f8; }
.admin-theme-drawer-toggle { width:40px; height:40px; display:grid; place-items:center; border:1px solid rgba(151,176,215,.3); border-radius:8px; background:rgba(255,255,255,.86); color:#40536d; box-shadow:0 4px 12px rgba(45,63,87,.08); cursor:pointer; font:700 17px/1 "Microsoft YaHei",sans-serif; }
.admin-theme-drawer-toggle:hover { background:#edf3f8; color:#315c45; }
.admin-header-actions { display:flex; align-items:center; gap:8px; }
.yx-admin-content > header .qmsj-eye-assist { top:10px; right:184px; }
body[data-qmsj-theme="dark"] .admin-global-profile summary,
body[data-qmsj-theme="dark"] .admin-global-menu { background:#252c30; border-color:#485258; color:#e4ebe6; }
body[data-qmsj-theme="dark"] .admin-global-menu button { color:#d7ded9; }
body[data-qmsj-theme="eye-care"] .admin-global-profile summary,
body[data-qmsj-theme="eye-care"] .admin-global-menu { background:#edf2e9; border-color:#c3d0c5; color:#293e31; }
html[data-theme="dark"] .admin-global-profile summary,
html[data-theme="dark"] .admin-global-menu,
html[data-theme="dark"] .admin-theme-drawer-toggle { background:var(--theme-surface); border-color:var(--theme-border); color:var(--theme-text-primary); }
@media(max-width:760px){.yx-admin-content > header{padding-right:0;padding-top:100px}.admin-header-actions{top:8px;right:10px}.yx-admin-content > header .qmsj-eye-assist{top:54px;right:10px}}

@media (max-width: 760px) {
  .platform-v6-card-grid {
    grid-template-columns: 1fr;
  }

  .platform-v6-section-head,
  .platform-os-hero-card {
    align-items: stretch;
    flex-direction: column;
  }

  .platform-v6-hero-actions,
  .platform-v6-auto-repair {
    width: 100%;
  }

  .platform-os-hero-card .refresh-button,
  body.platform-hub-view .refresh-button {
    width: auto;
  }

  .platform-v6-actions,
  .platform-v7-module-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-api-v2-stats,
  .platform-api-pipeline-runtime,
  .platform-api-pipeline-steps,
  .platform-api-orchestrator,
  .platform-api-orchestrator dl,
  .platform-api-binding-flow,
  .platform-api-binding-list,
  .platform-api-binding-list article,
  .platform-api-event-log,
  .platform-api-intelligence-flow,
  .platform-api-v2-grid,
  .platform-api-v2-row {
    grid-template-columns: 1fr;
  }

  .platform-api-binding-head {
    flex-direction: column;
  }

  .platform-api-binding-flow b:not(:last-child)::after {
    display: none;
  }

  .platform-api-pipeline-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .platform-api-pipeline-steps article::after {
    display: none;
  }

  .platform-api-v2-actions,
  .platform-api-v2-row-actions {
    justify-content: stretch;
  }

  .platform-api-v2-board-head {
    align-items: stretch;
    flex-direction: column;
  }

  .platform-api-v2-actions button,
  .platform-api-v2-row-actions button {
    flex: 1 1 120px;
  }

  .content-hub-pipeline,
  .content-hub-event-flow,
  .content-hub-approval-bar,
  .content-hub-four-layers,
  .content-hub-adapter-grid,
  .content-hub-topology-branches,
  .content-hub-vstrategy-grid,
  .content-hub-meta-grid,
  .content-hub-feedback-grid,
  .content-hub-feedback-split,
  .content-hub-trace-grid,
  .content-hub-snapshot {
    grid-template-columns: 1fr;
  }

  .content-hub-section-head {
    flex-direction: column;
  }

  .content-hub-section-head button,
  .content-hub-approval-bar button,
  .content-hub-choice button,
  .content-hub-strategy button {
    flex: 1 1 120px;
  }
}
.user-admin-inline-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid rgba(55, 91, 255, 0.12);
  border-radius: 14px;
  background: rgba(247, 250, 255, 0.72);
}

.user-admin-inline-form label {
  display: grid;
  gap: 6px;
  color: #60708c;
  font-weight: 700;
}

.user-admin-inline-form input,
.user-admin-inline-form select {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #dbe5f3;
  border-radius: 10px;
  color: #17243d;
  background: #fff;
}

.user-admin-inline-form button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #2f6df6;
  font-weight: 800;
  cursor: pointer;
}

.user-management-root {
  display: grid;
  gap: 10px;
  align-content: start;
}

.platform-os-generated-panel > *,
.fingerprint-center-root > * {
  min-width: 0;
}

.fingerprint-center-root .platform-data-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.fingerprint-center-root .platform-v6-status {
  display: inline-block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.user-management-page-head {
  margin-bottom: 0;
}

.user-management-page {
  display: grid;
  gap: 14px;
}

.user-management-card {
  min-width: 0;
  border: 1px solid #e5edf8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.user-management-table-card {
  padding: 14px;
}

.user-management-card-head,
.user-management-toolbar,
.user-management-form-actions,
.user-management-actions {
  display: flex;
  align-items: center;
}

.user-management-card-head {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.user-management-card h3,
.user-management-card-head h3 {
  margin: 0;
  color: #14233d;
  font-size: 18px;
}

.user-management-card-head p,
.user-management-password-form p {
  margin: 5px 0 0;
  color: #73839b;
  font-size: 13px;
}

.user-management-toolbar {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.user-management-toolbar label {
  display: grid;
  gap: 6px;
  min-width: 190px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.user-management-toolbar input,
.user-management-toolbar select,
.user-management-form input,
.user-management-form select {
  min-height: 38px;
  border: 1px solid #dbe5f3;
  border-radius: 8px;
  background: #fff;
  color: #17243d;
  outline: none;
}

.user-management-toolbar input,
.user-management-toolbar select {
  padding: 0 12px;
}

.user-management-toolbar button,
.user-management-actions button,
.user-management-form-actions button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #dbe5f3;
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  font-weight: 800;
  cursor: pointer;
}

.user-management-toolbar button:hover,
.user-management-actions button:hover,
.user-management-form-actions button:hover {
  border-color: #2563eb;
  background: #eff6ff;
}

.user-management-table-wrap {
  overflow-x: auto;
  border: 1px solid #edf2f8;
  border-radius: 10px;
}

.user-management-table {
  width: 100%;
  min-width: 1280px;
  border-collapse: collapse;
}

.user-management-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #2563eb;
  font-weight: 900;
}

.user-management-muted {
  color: #94a3b8;
  font-weight: 700;
}

.user-management-table th:last-child,
.user-management-table td:last-child {
  position: sticky;
  right: 0;
  width: 280px;
  background: #fff;
  box-shadow: -10px 0 18px rgba(15, 23, 42, 0.04);
}

.user-management-table th:last-child {
  background: #f7faff;
}

.user-management-table th,
.user-management-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf2f8;
  color: #1f2e47;
  text-align: left;
  vertical-align: middle;
}

.user-management-table th {
  background: #f7faff;
  color: #667895;
  font-size: 12px;
}

.user-management-table tr.is-selected td {
  background: #f2f7ff;
}

.user-management-actions {
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.user-management-protected {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 8px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.user-management-actions button:disabled,
.user-management-modal-form button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.user-management-actions .danger,
.user-management-modal-form .danger {
  border-color: #fecaca;
  color: #dc2626;
  background: #fff7f7;
}

.user-management-actions .danger:hover,
.user-management-modal-form .danger:hover {
  border-color: #dc2626;
  background: #fee2e2;
}

.user-management-footer {
  padding-top: 12px;
  color: #64748b;
  font-size: 13px;
}

.user-management-footer strong {
  color: #17243d;
}

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

.user-management-form {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
}

.user-management-form label {
  display: grid;
  gap: 7px;
  color: #60708c;
  font-weight: 800;
}

.user-management-form input,
.user-management-form select {
  padding: 0 12px;
}

.user-management-form input[readonly],
.user-management-form input:disabled,
.user-management-form select:disabled {
  background: #f3f6fb;
  color: #7b8799;
}

.user-management-form-actions {
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.user-management-form-actions button[type="submit"],
.user-management-form-actions button:last-child,
.user-management-card-head .account-os-primary {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.user-management-password-form {
  border-color: #fde2bf;
}

.user-management-password-form h3 {
  color: #9a3412;
}

.user-management-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}

body.platform-hub-view .user-management-modal {
  inset: 0 0 0 156px;
}

.user-management-modal.open {
  display: grid;
  place-items: center;
}

.user-management-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(4px);
}

.user-management-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid #e2e9f5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.user-management-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #edf2f8;
}

.user-management-dialog header h3 {
  margin: 0;
  color: #14233d;
  font-size: 18px;
}

.user-management-dialog header button {
  width: 32px;
  height: 32px;
  border: 1px solid #dbe5f3;
  border-radius: 8px;
  background: #fff;
  color: #64748b;
  cursor: pointer;
}

.user-management-modal-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.user-management-modal-form label {
  display: grid;
  gap: 7px;
  color: #475569;
  font-weight: 800;
}

.user-management-modal-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff5f5;
  color: #b91c1c;
  font-weight: 900;
  line-height: 1.5;
}

.user-management-modal-form input,
.user-management-modal-form select {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #dbe5f3;
  border-radius: 8px;
  background: #fff;
  color: #17243d;
  outline: none;
}

.user-management-modal-form footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.user-management-modal-form footer button {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid #dbe5f3;
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  font-weight: 800;
  cursor: pointer;
}

.user-management-modal-form footer button[type="submit"],
.user-management-modal-form footer button:last-child:not(.danger) {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.user-management-modal-note,
.user-management-modal-target {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.user-management-modal-target strong {
  color: #17243d;
}

@media (max-width: 920px) {
  body.platform-hub-view .user-management-modal {
    inset: 0;
  }
}

.role-binding-page {
  display: grid;
  gap: 14px;
}

.role-binding-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid #e6edf7;
  border-radius: 12px;
  background: #fff;
}

.role-binding-page-head span {
  display: block;
  color: #6a7a94;
  font-weight: 800;
  font-size: 12px;
}

.role-binding-page-head h2 {
  margin: 2px 0 3px;
  color: #14233d;
  font-size: 20px;
  line-height: 1.25;
}

.role-binding-page-head p {
  margin: 0;
  color: #75849a;
  font-size: 13px;
  line-height: 1.45;
}

.role-binding-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e2e9f5;
  border-radius: 10px;
  background: #fff;
}

.role-binding-section h3 {
  margin: 0;
  color: #14233d;
  font-size: 16px;
}

.role-binding-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #65758f;
  font-weight: 700;
}

.role-binding-meta strong,
.role-binding-meta b {
  color: #17243d;
}

.role-binding-form {
  display: grid;
  grid-template-columns: minmax(180px, 320px) 180px;
  gap: 12px;
  align-items: end;
}

.role-binding-form label {
  display: grid;
  gap: 6px;
  color: #60708c;
  font-weight: 800;
}

.role-binding-form select {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #dbe5f3;
  border-radius: 10px;
  color: #17243d;
  background: #fff;
}

.role-binding-form button {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #2f6df6;
  font-weight: 900;
  cursor: pointer;
}

.role-binding-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.role-binding-table th,
.role-binding-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #edf2f8;
  color: #1f2e47;
}

.role-binding-table th {
  color: #667895;
  background: #f7faff;
  font-size: 12px;
}

.role-binding-empty {
  min-height: 94px;
  display: grid;
  place-items: center;
  color: #8390a4;
  border: 1px dashed #dbe5f3;
  border-radius: 10px;
  background: #fbfdff;
}

.role-binding-empty strong {
  display: block;
  color: #17243d;
}

@media (max-width: 980px) {
  .user-admin-inline-form,
  .role-binding-form {
    grid-template-columns: 1fr;
  }

  .user-management-form-grid {
    grid-template-columns: 1fr;
  }

  .user-management-card-head {
    align-items: stretch;
    flex-direction: column;
  }
}

/* 20260705: Moonlight Pearl Star White admin theme */
:root {
  --yx-bg: #f6f9ff;
  --yx-sidebar: rgba(255, 255, 255, 0.94);
  --yx-panel: rgba(255, 255, 255, 0.88);
  --yx-text: #17243d;
  --yx-muted: #6d7f9c;
  --yx-line: rgba(151, 176, 215, 0.32);
  --yx-blue: #2f6df6;
  --moon-bg: #f6f9ff;
  --moon-card: rgba(255, 255, 255, 0.9);
  --moon-soft: rgba(247, 251, 255, 0.82);
  --moon-line: rgba(151, 176, 215, 0.32);
  --moon-text: #17243d;
  --moon-muted: #6d7f9c;
  --moon-primary: #2f6df6;
  --moon-shadow: 0 18px 48px rgba(119, 141, 179, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

html,
body,
body.platform-hub-view,
body.embed-mode {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.98) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 14%, rgba(207, 222, 255, 0.72) 0 1px, transparent 3px),
    radial-gradient(circle at 74% 72%, rgba(255, 255, 255, 0.88) 0 2px, transparent 4px),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 38%, #eef5ff 72%, #fdfcff 100%) !important;
  color: var(--moon-text) !important;
  color-scheme: light;
}

.yx-admin-shell,
.platform-admin,
.account-os-shell,
.platform-admin-main,
.platform-content,
.platform-v6-main,
.platform-v7-global-layer {
  background: transparent !important;
  color: var(--moon-text) !important;
}

.yx-sidebar,
.platform-admin-sidebar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 255, 0.9)) !important;
  border-color: rgba(151, 176, 215, 0.28) !important;
  color: #23324c !important;
  box-shadow: inset -1px 0 0 rgba(151, 176, 215, 0.18), 12px 0 34px rgba(119, 141, 179, 0.1) !important;
}

.yx-sidebar *,
.platform-admin-sidebar *,
.platform-brand strong,
.platform-brand span,
.platform-sidebar-foot {
  color: #23324c !important;
}

.yx-sidebar button,
.yx-sidebar a,
.platform-nav a,
.platform-system-nav a {
  background: transparent !important;
  border-color: transparent !important;
  color: #5f7190 !important;
}

.yx-sidebar button.active,
.yx-sidebar a.active,
.platform-nav a.is-active,
.platform-system-nav a.is-active {
  background: linear-gradient(135deg, #ffffff, #edf5ff) !important;
  border-color: rgba(91, 126, 220, 0.24) !important;
  color: #2f6df6 !important;
  box-shadow: 0 10px 24px rgba(91, 126, 220, 0.14) !important;
}

.yx-admin-content,
.yx-panel,
.yx-section,
.yx-stat,
.yx-card,
.platform-os-hero-card,
.platform-kpi-card,
.platform-table-card,
.platform-meta-panel,
.platform-v6-status-card,
.platform-v6-ai-panel,
.platform-v6-repair-log,
.platform-v7-global-bar,
.platform-v7-page-actions,
.platform-api-v2-card,
.platform-api-v2-board,
.account-os-panel,
.account-os-card,
.user-management-card,
.role-binding-page-head,
.role-binding-section,
.role-binding-empty,
.user-management-dialog,
.platform-meta-dialog,
.platform-status-menu {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.82)) !important;
  border-color: var(--moon-line) !important;
  color: var(--moon-text) !important;
  box-shadow: var(--moon-shadow) !important;
  backdrop-filter: blur(14px) saturate(1.08) !important;
}

.platform-topbar,
.yx-admin-content > header,
.platform-table-toolbar,
.user-management-toolbar {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(151, 176, 215, 0.24) !important;
  color: var(--moon-text) !important;
}

h1, h2, h3, h4,
.yx-panel h2,
.yx-section h3,
.platform-breadcrumb,
.platform-breadcrumb strong,
.platform-os-hero-card h2,
.platform-meta-dialog h3,
.user-management-card h3,
.role-binding-page-head h2,
.role-binding-section h3,
.user-management-dialog header h3 {
  color: #10213c !important;
}

p, span, label, small, em,
.yx-muted,
.yx-panel p,
.platform-breadcrumb span,
.platform-help-text,
.platform-notice-list p,
.user-management-card p,
.user-management-footer,
.role-binding-page-head p,
.role-binding-meta,
.user-management-modal-note,
.user-management-modal-target {
  color: var(--moon-muted) !important;
}

input,
select,
textarea,
.yx-filter-bar input,
.yx-filter-bar select,
.user-management-toolbar input,
.user-management-toolbar select,
.user-management-modal-form input,
.user-management-modal-form select,
.role-binding-form select,
.platform-meta-form input,
.platform-meta-form select {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(151, 176, 215, 0.36) !important;
  color: var(--moon-text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

input::placeholder,
textarea::placeholder {
  color: #9aa9bf !important;
}

.yx-table,
.platform-data-table,
.platform-meta-table,
.user-management-table,
.role-binding-table {
  background: rgba(255, 255, 255, 0.78) !important;
  color: var(--moon-text) !important;
}

.yx-table th,
.platform-data-table th,
.platform-meta-table th,
.user-management-table th,
.role-binding-table th,
.user-management-table th:last-child {
  background: linear-gradient(180deg, #f7fbff, #eef5ff) !important;
  color: #5f7190 !important;
  border-color: rgba(151, 176, 215, 0.28) !important;
}

.yx-table td,
.platform-data-table td,
.platform-meta-table td,
.user-management-table td,
.user-management-table td:last-child,
.role-binding-table td {
  background: rgba(255, 255, 255, 0.66) !important;
  color: var(--moon-text) !important;
  border-color: rgba(151, 176, 215, 0.2) !important;
}

.yx-table tr:hover td,
.platform-data-table tr:hover td,
.platform-meta-table tr:hover td,
.user-management-table tr:hover td,
.role-binding-table tr:hover td {
  background: linear-gradient(90deg, rgba(238, 245, 255, 0.94), rgba(255, 255, 255, 0.86)) !important;
  box-shadow: inset 0 0 0 1px rgba(91, 126, 220, 0.12) !important;
}

.yx-primary,
.add-platform-button,
.account-os-primary,
.user-management-modal-form footer button[type="submit"],
.user-management-modal-form footer button:last-child:not(.danger),
.role-binding-form button {
  background: linear-gradient(135deg, #3d7cff, #6b8dff) !important;
  border-color: rgba(63, 115, 245, 0.52) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(63, 115, 245, 0.22) !important;
}

.yx-secondary,
.yx-ghost,
.user-management-toolbar button,
.user-management-actions button,
.user-management-modal-form footer button,
.platform-meta-actions button,
.icon-button,
.doc-button {
  background: rgba(255, 255, 255, 0.86) !important;
  border-color: rgba(151, 176, 215, 0.36) !important;
  color: #2f6df6 !important;
}

.platform-hub-toast {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(151, 176, 215, 0.36) !important;
  color: #17243d !important;
  box-shadow: 0 18px 48px rgba(119, 141, 179, 0.18) !important;
}

.user-management-modal-backdrop,
.platform-meta-backdrop {
  background: rgba(235, 241, 250, 0.62) !important;
  backdrop-filter: blur(5px) !important;
}

.qmsj-eye-care-toggle {
  position: fixed;
  right: 82px;
  bottom: 18px;
  z-index: 99999;
  min-width: 54px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(128, 166, 126, 0.36) !important;
  border-radius: 999px;
  color: #315f3a !important;
  background: linear-gradient(135deg, rgba(246, 251, 238, 0.96), rgba(232, 245, 224, 0.9)) !important;
  box-shadow: 0 8px 22px rgba(104, 141, 103, 0.14) !important;
  font: 800 13px/1 "Microsoft YaHei", Arial, sans-serif;
  cursor: pointer;
}

body.embed-mode .qmsj-eye-care-toggle {
  display: none !important;
}

.platform-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-quick-settings {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-quick-settings button {
  min-width: 58px;
  height: 40px;
  border: 1px solid rgba(132, 105, 222, 0.26);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(238,246,255,.72));
  color: #78648d;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(86, 112, 180, 0.08);
  cursor: pointer;
}

.admin-quick-settings button:hover {
  border-color: rgba(91, 126, 220, 0.45);
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(220,238,255,.86));
  color: #4f46e5;
}

.qmsj-eye-care-toggle.active {
  color: #ffffff !important;
  border-color: rgba(93, 142, 91, 0.48) !important;
  background: linear-gradient(135deg, #79a971, #5f9461) !important;
}

.qmsj-eye-care-toggle span {
  color: inherit !important;
}

html.qmsj-eye-care-mode,
body.qmsj-eye-care-mode {
  background: #f2f6ea !important;
}

html.qmsj-eye-care-mode body,
body.qmsj-eye-care-mode,
body.qmsj-eye-care-mode .yx-admin-shell,
body.qmsj-eye-care-mode .yx-admin-content {
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 250, 0.72) 0 2px, transparent 4px),
    linear-gradient(135deg, #f6f8ee 0%, #fbfaf1 42%, #edf5e6 100%) !important;
  color: #203826 !important;
}

body.qmsj-eye-care-mode .yx-sidebar,
body.qmsj-eye-care-mode .yx-panel,
body.qmsj-eye-care-mode .yx-section,
body.qmsj-eye-care-mode .yx-stat,
body.qmsj-eye-care-mode .yx-card,
body.qmsj-eye-care-mode .platform-os-hero-card,
body.qmsj-eye-care-mode .platform-kpi-card,
body.qmsj-eye-care-mode .platform-table-card,
body.qmsj-eye-care-mode .platform-meta-panel,
body.qmsj-eye-care-mode .account-os-panel,
body.qmsj-eye-care-mode .account-os-card,
body.qmsj-eye-care-mode .user-management-card,
body.qmsj-eye-care-mode .role-binding-page-head,
body.qmsj-eye-care-mode .role-binding-section,
body.qmsj-eye-care-mode .user-management-dialog,
body.qmsj-eye-care-mode .platform-meta-dialog,
body.qmsj-eye-care-mode .platform-status-menu {
  background:
    linear-gradient(145deg, rgba(250, 252, 243, 0.94), rgba(238, 247, 230, 0.78)) !important;
  border-color: rgba(144, 176, 139, 0.3) !important;
  color: #203826 !important;
  box-shadow: 0 8px 22px rgba(104, 141, 103, 0.08), 0 1px 2px rgba(217, 231, 209, 0.42) !important;
}

body.qmsj-eye-care-mode h1,
body.qmsj-eye-care-mode h2,
body.qmsj-eye-care-mode h3,
body.qmsj-eye-care-mode h4,
body.qmsj-eye-care-mode strong {
  color: #1f3525 !important;
}

body.qmsj-eye-care-mode p,
body.qmsj-eye-care-mode span,
body.qmsj-eye-care-mode label,
body.qmsj-eye-care-mode small,
body.qmsj-eye-care-mode em,
body.qmsj-eye-care-mode .yx-muted {
  color: #617a63 !important;
}

body.qmsj-eye-care-mode input,
body.qmsj-eye-care-mode select,
body.qmsj-eye-care-mode textarea,
body.qmsj-eye-care-mode button,
body.qmsj-eye-care-mode .yx-secondary,
body.qmsj-eye-care-mode .yx-ghost {
  background: rgba(250, 252, 243, 0.92) !important;
  border-color: rgba(144, 176, 139, 0.34) !important;
  color: #203826 !important;
  box-shadow: 0 6px 16px rgba(104, 141, 103, 0.08) !important;
}

body.qmsj-eye-care-mode .yx-table th,
body.qmsj-eye-care-mode .platform-data-table th,
body.qmsj-eye-care-mode .platform-meta-table th,
body.qmsj-eye-care-mode .user-management-table th,
body.qmsj-eye-care-mode .role-binding-table th {
  background: linear-gradient(180deg, #f4f9ec, #edf6e6) !important;
  color: #506b53 !important;
}

body.qmsj-eye-care-mode .yx-table td,
body.qmsj-eye-care-mode .platform-data-table td,
body.qmsj-eye-care-mode .platform-meta-table td,
body.qmsj-eye-care-mode .user-management-table td,
body.qmsj-eye-care-mode .role-binding-table td {
  background: rgba(244, 249, 236, 0.72) !important;
  color: #203826 !important;
  border-color: rgba(144, 176, 139, 0.2) !important;
}

html.qmsj-eye-care-mode .qmsj-eye-care-toggle.active,
body.qmsj-eye-care-mode .qmsj-eye-care-toggle.active {
  color: #ffffff !important;
  border-color: rgba(93, 142, 91, 0.48) !important;
  background: linear-gradient(135deg, #79a971, #5f9461) !important;
  box-shadow: 0 8px 22px rgba(104, 141, 103, 0.14) !important;
}

body.qmsj-eye-care-mode *,
body.qmsj-eye-care-mode *::before,
body.qmsj-eye-care-mode *::after {
  text-shadow: none !important;
}

body.qmsj-eye-care-mode [class*="card"],
body.qmsj-eye-care-mode [class*="panel"],
body.qmsj-eye-care-mode [class*="table"],
body.qmsj-eye-care-mode [class*="modal"],
body.qmsj-eye-care-mode [class*="dialog"],
body.qmsj-eye-care-mode [class*="section"],
body.qmsj-eye-care-mode [class*="shell"],
body.qmsj-eye-care-mode [class*="sidebar"],
body.qmsj-eye-care-mode [class*="content"],
body.qmsj-eye-care-mode [class*="container"] {
  box-shadow: 0 8px 20px rgba(104, 141, 103, 0.06), 0 1px 2px rgba(217, 231, 209, 0.36) !important;
}

body.qmsj-eye-care-mode [class*="overlay"],
body.qmsj-eye-care-mode [class*="backdrop"] {
  background: rgba(244, 248, 236, 0.58) !important;
  box-shadow: none !important;
}

html.qmsj-eye-care-mode ::selection,
body.qmsj-eye-care-mode ::selection {
  background: rgba(220, 239, 205, 0.92) !important;
  color: #203826 !important;
  text-shadow: none !important;
}

html.qmsj-eye-care-mode ::target-text,
body.qmsj-eye-care-mode ::target-text {
  background: rgba(220, 239, 205, 0.92) !important;
  color: #203826 !important;
}

/* Keep platform create/edit modal backdrop transparent, including eye-care mode. */
.platform-hub-modal,
body.qmsj-eye-care-mode .platform-hub-modal {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.platform-hub-modal .platform-modal-backdrop,
body.qmsj-eye-care-mode .platform-hub-modal .platform-modal-backdrop {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.platform-hub-modal .platform-modal-panel,
body.qmsj-eye-care-mode .platform-hub-modal .platform-modal-panel {
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(18px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
}
/* V25 operational AI health summary */
.ai-health-overview {
  margin-bottom: 14px;
}

.ai-health-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.ai-health-strip article {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--yx-border, #dce7df);
  border-radius: 6px;
  background: var(--yx-panel-soft, #f8fbf9);
}

.ai-health-strip span,
.ai-health-strip strong {
  display: block;
}

.ai-health-strip span {
  color: var(--yx-muted, #718178);
  font-size: 12px;
}

.ai-health-strip strong {
  margin-top: 6px;
  color: var(--yx-text, #24372d);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.ai-health-strip.is-healthy article:first-child strong {
  color: #108a5b;
}

.ai-health-strip.is-blocked article:first-child strong,
.ai-health-strip.is-blocked .ai-health-reason strong {
  color: #c8324b;
}

@media (max-width: 1100px) {
  .ai-health-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-health-reason {
    grid-column: 1 / -1;
  }
}

/* Scheme 30 hotspot history archive center */
.hotspot-history-admin-stats {
  margin-top: 0;
}

.hotspot-history-admin-rankings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hotspot-history-admin-rankings article {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--yx-border, #dce7df);
  border-radius: 8px;
  background: var(--yx-panel-soft, #f8fbf9);
}

.hotspot-history-admin-rankings h4 {
  margin: 0 0 10px;
  color: var(--yx-text, #24372d);
  font-size: 14px;
}

.hotspot-history-admin-rankings ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hotspot-history-admin-rankings li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(112, 130, 118, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.78);
}

.hotspot-history-admin-rankings li > span {
  color: var(--yx-muted, #718178);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.hotspot-history-admin-rankings strong,
.hotspot-history-admin-rankings small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotspot-history-admin-rankings strong {
  color: var(--yx-text, #24372d);
  font-size: 13px;
}

.hotspot-history-admin-rankings small {
  margin-top: 3px;
  color: var(--yx-muted, #718178);
  font-size: 11px;
}

.hotspot-history-admin-rankings em {
  color: var(--yx-primary, #39745a);
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.hotspot-history-admin-errors {
  display: grid;
  gap: 10px;
}

.hotspot-history-admin-errors article,
.hotspot-history-empty {
  padding: 12px;
  border: 1px solid var(--yx-border, #dce7df);
  border-radius: 8px;
  background: var(--yx-panel-soft, #f8fbf9);
}

.hotspot-history-admin-errors strong,
.hotspot-history-admin-errors span,
.hotspot-history-admin-errors small {
  display: block;
}

.hotspot-history-admin-errors strong {
  color: #c8324b;
  font-size: 13px;
}

.hotspot-history-admin-errors span,
.hotspot-history-admin-errors small,
.hotspot-history-empty {
  color: var(--yx-muted, #718178);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .hotspot-history-admin-rankings {
    grid-template-columns: 1fr;
  }
}

/* Keep the acquisition plan registry inside the backend content width. */
#platform-data-plans-panel,
#platform-data-plans-panel .yx-section,
#platform-data-plans-panel .yx-table-wrap {
  min-width: 0;
  max-width: 100%;
}

#platform-data-plans-panel .yx-table-wrap {
  overflow-x: hidden;
}

.platform-plan-table {
  table-layout: fixed;
}

.platform-plan-table th,
.platform-plan-table td {
  min-width: 0;
  padding: 10px 7px;
  overflow-wrap: anywhere;
  word-break: break-word;
  vertical-align: middle;
}

.platform-plan-table th:nth-child(1) { width: 22%; }
.platform-plan-table th:nth-child(2) { width: 21%; }
.platform-plan-table th:nth-child(3) { width: 9%; }
.platform-plan-table th:nth-child(4) { width: 7%; }
.platform-plan-table th:nth-child(5) { width: 9%; }
.platform-plan-table th:nth-child(6) { width: 8%; }
.platform-plan-table th:nth-child(7) { width: 10%; }
.platform-plan-table th:nth-child(8) { width: 14%; }

.platform-plan-table td:nth-child(2) {
  min-width: 0;
}

.platform-plan-table td.yx-actions {
  display: table-cell;
}

.platform-plan-table td.yx-actions button {
  margin: 2px;
  padding: 5px 7px;
  font-size: 12px;
  white-space: nowrap;
}

.xhs-comment-results[hidden] { display: none !important; }

.xhs-comment-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.xhs-comment-stats article {
  padding: 12px;
  border: 1px solid var(--yx-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
}

.xhs-comment-stats span,
.xhs-comment-stats strong { display: block; }
.xhs-comment-stats span { color: var(--yx-muted); font-size: 12px; }
.xhs-comment-stats strong { margin-top: 5px; font-size: 20px; }

.xhs-comment-table { table-layout: fixed; }
.xhs-comment-table th:nth-child(1) { width: 9%; }
.xhs-comment-table th:nth-child(2) { width: 18%; }
.xhs-comment-table th:nth-child(3) { width: 11%; }
.xhs-comment-table th:nth-child(4) { width: 40%; }
.xhs-comment-table th:nth-child(5) { width: 7%; }
.xhs-comment-table th:nth-child(6) { width: 15%; }
.xhs-comment-table td { overflow-wrap: anywhere; }
.xhs-comment-content { line-height: 1.55; }

@media (max-width: 900px) {
  .xhs-comment-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
