

:root{
  --bg: #fafafa;
  --bg-wash: #fafafa;
  --panel: #ffffff;
  --panel-elevated: #ffffff;
  --panel-soft: #f4f4f5;
  --surface: #ffffff;
  --surface-raised: #fafafa;
  --surface-muted: #f4f4f5;
  --surface-hover: #f4f4f5;
  --line: #e5e5e7;
  --line-soft: #e5e5e7;
  --line-strong: #d4d4d8;
  --text: #18181b;
  --text-strong: #09090b;
  --muted: #71717a;
  --muted-soft: #a1a1aa;
  --brand: #18181b;
  --brand-strong: #000000;
  --brand-ink: #18181b;
  --brand-soft: #f4f4f5;
  --brand-line: #e5e5e7;
  --brand-tint: #fafafa;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-focus: 0 0 0 2px rgba(24, 24, 27, 0.15);
  /* --font-sans 缂佺喍绔撮悽?design-system.css 鐎规矮绠熼敍宀冪箹闁插奔绗夐崘宥堫洬閻╂牓鈧?*/
}

html,
body{
  width: 100% !important;
  height: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}body{
  background: #fafafa !important;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

.app-shell,
body.is-authenticated .app-shell,
body.is-authenticated .app-shell[data-mobile-view]{
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-rows: minmax(0, 1fr) !important;
  gap: 0 !important;
  overflow: hidden !important;
}.center-pane,
.workspace,
body.is-authenticated .center-pane,
body.is-authenticated .workspace{
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  min-height: 0 !important;
  margin: 0 !important;
}.center-pane{
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  border-right: 1px solid #e5e5e7;
  background: #fafafa;
  box-shadow: none;
  backdrop-filter: none;
  overflow: hidden;
}

.x-home-mark{
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 6px;
  overflow: hidden;
  background: transparent url("../assets/xenlion-logo.png?v=20260509-logo-restore")
    no-repeat center / contain;
}.x-home-mark-sm{
  width: 28px;
  height: 28px;
}

.console-sidebar-body{
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 10px 10px;
  overflow-y: auto;
  overflow-x: hidden;
}

.console-sidebar-foot{
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 10px 12px;
  border-top: 1px solid #e5e5e7;
  background: #fafafa;
}.console-sidebar-action{
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #52525b;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 100ms ease, color 100ms ease;
}.console-sidebar-action:hover{
  background: #ececec;
  color: #18181b;
}

.workspace{
  padding: 18px;
  gap: 16px;
  background: #fafafa;
  overflow-y: auto;
}

.center-card{
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  backdrop-filter: none;
  padding: 14px;
}

.workspace-card{
  border-color: #e5e5e7;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
}

.workspace-head{
  border-color: #e5e5e7;
  background: #ffffff;
  box-shadow: none;
}

.workspace-head::after{
  display: none;
}

.hero-avatar{
  background: linear-gradient(135deg, #18181b 0%, #3f3f46 100%);
  box-shadow: none;
}

.employee-list{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.employee-card.simple{
  position: relative;
  min-height: 0;
  padding: 8px 6px 7px;
  border-radius: 8px;
  border: 1px solid #e5e5e7;
  background: #ffffff;
  background-image: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: background 100ms ease, border-color 100ms ease;
}.employee-card.simple::before{
  display: none;
}.employee-card.simple:hover{
  border-color: #a1a1aa;
  background: #fafafa;
  transform: none;
  box-shadow: none;
}.employee-card.simple.selected{
  background: #18181b;
  background-image: none;
  border-color: #18181b;
  box-shadow: none;
}.employee-card.simple.selected .employee-compact-num,
.employee-card.simple.selected .employee-compact-role{
  color: #ffffff;
}.employee-compact-num{
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1;
  color: #18181b;
  letter-spacing: -0.02em;
}.employee-compact-role{
  font-size: var(--fs-2xs);
  font-weight: 500;
  color: #71717a;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  max-width: 100%;
}

input,
select,
textarea{
  border-color: #e5e5e7;
}input:focus,
select:focus,
textarea:focus{
  border-color: #18181b;
  box-shadow: var(--shadow-focus);
}.filter-chip{
  border-color: #e5e5e7;
  background: #ffffff;
  color: #52525b;
  box-shadow: none;
}.filter-chip:hover{
  background: #f4f4f5;
  border-color: #d4d4d8;
  box-shadow: none;
}.filter-chip.active{
  background: #18181b;
  border-color: #18181b;
  color: #ffffff;
  box-shadow: none;
}.count-badge{
  background: #f4f4f5;
  border-color: #e5e5e7;
  color: #52525b;
}

.tab-bar{
  border-bottom-color: #e5e5e7;
}.tab-button{
  color: #71717a;
  font-weight: 600;
}.tab-button.active{
  color: #18181b;
  border-bottom-color: #18181b;
}.tab-button:hover:not(.active){
  color: #18181b;
}

.header-actions .primary,
.config-actions .primary,
button.primary,
a.primary{
  background: #18181b;
  border-color: #18181b;
  color: #ffffff;
  box-shadow: none;
}.header-actions .primary:hover,
.config-actions .primary:hover,
button.primary:hover,
a.primary:hover{
  background: #000000;
  box-shadow: none;
}

.config-actions{
  background: #ffffff;
}.config-actions button:first-child{
  background: #18181b;
  border-color: #18181b;
  color: #ffffff;
  box-shadow: none;
}.config-actions button:first-child:hover{
  background: #000000;
}

.header-actions .secondary{
  background: #ffffff;
  border-color: #e5e5e7;
  color: #18181b;
}

.header-actions .danger{
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.config-actions button:hover,
.header-actions button:hover{
  background: #f4f4f5;
  transform: none;
}.config-actions .primary:hover,
.header-actions .primary:hover{
  background: #000000;
}

.stat-chip{
  border-color: #e5e5e7;
  background: #fafafa;
  box-shadow: none;
}

.category-image,
.category-video{
  color: #52525b;
  background: #fafafa;
  border-color: #e5e5e7;
}.badge-category{
  background: #f4f4f5;
  border-color: #e5e5e7;
  color: #52525b;
}

/* Token 鐎靛綊缍?X 妫ｆ牠銆夐敍鍧攐me.css 缁?10 閼哄偊绱氶妴渚玤ent 瀹搞儰缍旈崠鐑樺付娴犺泛鍩㈡惔锕佺娑撹鍙嗛崣锝堣泲閵?*/
:root {
  --x-control-height: 32px;     /* X 妫ｆ牠銆?--x-ctrl-md = 32px */
  --x-control-radius: 8px;      /* X 妫ｆ牠銆?--x-r-md = 8px */
  --x-control-border: #e5e5e7;  /* X 妫ｆ牠銆夌紒鐔剁鏉堢澹?*/
  --x-control-hover: #f4f4f5;
  --x-control-active: #18181b;
  --x-muted-bg: #fafafa;
  --x-page-bg: #fafafa;          /* X 妫ｆ牠銆夋い鐢告桨閼冲本娅?*/
}

.x-activity-empty {
  min-height: 120px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: #71717a;
  text-align: center;
  font-family: var(--font-sans);
}

.x-activity-empty strong {
  color: #18181b;
  font-size: var(--fs-md);
}

.x-activity-empty span {
  color: #71717a;
  font-size: var(--fs-xs);
}

.x-activity-line {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px solid #ececec;
  font-family: var(--font-sans);
}

.x-activity-line:last-child {
  border-bottom: 0;
}

.x-activity-dot {
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 999px;
  background: #a1a1aa;
}

.x-activity-line[data-tone="success"] .x-activity-dot {
  background: #18181b;
}

.x-activity-line[data-tone="warn"] .x-activity-dot {
  background: #b45309;
}

.x-activity-line[data-tone="error"] .x-activity-dot {
  background: #b91c1c;
}

.x-activity-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.x-activity-message {
  color: #27272a;
  font-size: var(--fs-xs);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.x-activity-time {
  color: #a1a1aa;
  font-size: var(--fs-2xs);
  line-height: 1.2;
}

.mono,
.json-box,

.log-line-number {
  color: #a1a1aa !important;
}

.log-line-error .log-line-text {
  color: #b91c1c !important;
}

.log-line-warn .log-line-text {
  color: #b45309 !important;
}

.log-line-success .log-line-text,
.log-line-event .log-line-text {
  color: #18181b !important;
  font-weight: 600;
}

button,
.header-actions button,
.config-actions button,
.filter-chip,
.artifact-link,
.console-sidebar-action,
.tab-button,
.task-artifact-item .artifact-link {
  min-height: var(--x-control-height) !important;
  border-radius: var(--x-control-radius) !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

button.primary,
.header-actions .primary,
.config-actions .primary,
.config-actions button:first-child,
a.primary {
  border-color: var(--x-control-active) !important;
  background: var(--x-control-active) !important;
  color: #ffffff !important;
}

button.primary:hover,
.header-actions .primary:hover,
.config-actions .primary:hover,
.config-actions button:first-child:hover,
a.primary:hover {
  border-color: #000000 !important;
  background: #000000 !important;
}

.header-actions .secondary,
.config-actions button,
.filter-chip,
.console-sidebar-action,
.artifact-link {
  border-color: var(--x-control-border) !important;
  background: #ffffff !important;
  color: #18181b !important;
}

.header-actions .secondary:hover,
.config-actions button:hover,
.filter-chip:hover,
.console-sidebar-action:hover,
.artifact-link:hover {
  background: var(--x-control-hover) !important;
  color: #18181b !important;
}

.filter-chip.active,
.tab-button.active {
  color: #18181b !important;
}

.header-actions .danger {
  border-color: #fecdd3 !important;
  background: #fff1f2 !important;
  color: #be123c !important;
}

input,
select,
textarea,
.search-box input,
.task-search-box input,
.field input,
.field select,
.field textarea {
  min-height: var(--x-control-height) !important;
  border-color: var(--x-control-border) !important;
  border-radius: var(--x-control-radius) !important;
  background: #ffffff !important;
  color: #18181b !important;
  box-shadow: none !important;
}

input:focus,
select:focus,
textarea:focus,
.search-box input:focus,
.task-search-box input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #18181b !important;
  box-shadow: var(--shadow-focus) !important;
}

.app-shell,
body.is-authenticated .app-shell {
  grid-template-columns: 352px minmax(620px, 1fr) 394px !important;
}

.center-pane {
  border-right-color: #e7e7e8 !important;
  background: #f7f7f8 !important;
}

.workspace,

.console-sidebar-body {
  padding: 6px 14px 12px !important;
  gap: 12px !important;
}

.console-sidebar-foot {
  padding: 12px 14px 14px !important;
  background: #f7f7f8 !important;
}

.center-card,
.workspace-head,
.workspace-card,
.summary-section,
.metric-card,
.stat-chip,
.config-section,
.config-field-card,
.snapshot-summary > div,
.task-card,
.asset-record-card,
.empty {
  border: 1px solid #e5e5e7 !important;
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}

.employee-registry,
.overview-card {
  padding: 14px !important;
}

.employee-list-head,
.panel-head {
  margin-bottom: 12px !important;
}

.employee-list-head h3,
.panel-head h3,

.search-filter-bar {
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.filter-chips,
.task-filter-chips {
  gap: 7px !important;
}

.filter-chip {
  min-height: 34px !important;
  padding: 0 11px !important;
  border-radius: 8px !important;
  font-size: var(--fs-xs) !important;
  font-weight: 600 !important;
}

.filter-chip.active {
  background: #18181b !important;
  border-color: #18181b !important;
  color: #ffffff !important;
}

.employee-list {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  padding-right: 2px !important;
}

.employee-card.simple {
  min-height: 86px !important;
  padding: 12px 8px 10px !important;
  border-radius: 10px !important;
  background: #ffffff !important;
}

.employee-card.simple:hover {
  background: #f4f4f5 !important;
  border-color: #cfcfd3 !important;
}

.employee-card.simple.selected {
  background: #18181b !important;
  border-color: #18181b !important;
}

.employee-compact-num {
  font-size: var(--fs-xl) !important;
  font-weight: 700 !important;
}

.employee-compact-role {
  color: #71717a !important;
  font-size: var(--fs-2xs) !important;
  line-height: 1.35 !important;
}

.employee-card.simple.selected .employee-compact-role {
  color: #d4d4d8 !important;
}

.overview-card .stats-grid {
  gap: 8px !important;
}

.stat-chip {
  min-height: 66px !important;
  padding: 11px 12px !important;
  background: #fafafa !important;
}

.stat-chip .label,
.summary-item .label,
.summary-context-row .label,
.summary-section-title,
.muted {
  color: #71717a !important;
}

.stat-chip .value,
.summary-item .value,
.summary-context-row .value,
.summary-focus h3,
.summary-progress-number {
  color: #111113 !important;
}

.workspace-head {
  min-height: 138px !important;
  padding: 20px 24px !important;
}

.hero-avatar {
  width: 64px !important;
  height: 64px !important;
  border-radius: 12px !important;
  background: #27272a !important;
}

.workspace-title h2 {
  color: #09090b !important;
  font-size: var(--fs-2xl) !important;
  letter-spacing: 0 !important;
}

.badge,
.badge-category,
.status-idle,
.status-running,
.status-success,
.status-failed,
.status-stopped,
.status-partial_success,
.status-stopping,
.status-unknown,
.category-image,
.category-video,
.category-data {
  border-color: #e5e5e7 !important;
  background: #fafafa !important;
  color: #52525b !important;
  box-shadow: none !important;
}

.status-running,
.status-success,
.summary-item.tone-success .value {
  color: #18181b !important;
  font-weight: 600 !important;
}

.status-failed,
.status-stopped,
.summary-item.tone-danger .value {
  color: #b91c1c !important;
  font-weight: 600 !important;
}

.summary-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
}

.summary-section,
.summary-hero-card {
  min-height: 0 !important;
}

.summary-hero-card {
  gap: 14px !important;
}

.summary-focus {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

.summary-progress-number {
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: var(--fs-2xl) !important;
}

.progress-rail,
.task-progress {
  height: 8px !important;
  background: #e5e5e7 !important;
}

.progress-rail span,
.task-progress span {
  background: #18181b !important;
}

.summary-metric-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.metric-card {
  min-height: 74px !important;
  padding: 12px !important;
  background: #fafafa !important;
}

.summary-context-list {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  height: auto !important;
}

.summary-context-row {
  min-height: 66px !important;
  padding: 12px !important;
  border: 1px solid #e5e5e7 !important;
  border-radius: 10px !important;
  background: #fafafa !important;
}

.x-activity-line {
  padding: 10px 0 !important;
}

.x-activity-message {
  font-size: var(--fs-sm) !important;
}

.x-activity-time {
  font-family: var(--font-mono) !important;
}

.config-actions,
.task-center-toolbar {
  border-color: #e5e5e7 !important;
  background: #ffffff !important;
}

@media (max-width: 1320px) {
  .app-shell,
  body.is-authenticated .app-shell {
    grid-template-columns: 328px minmax(0, 1fr) 360px !important;
  }
}

/* 閳光偓閳光偓 Phase 4 item 6 閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓
   The compact 3-column employee grid makes per-chip status/category filtering
   unnecessary.  Hide the search bar and filter chips; DOM stays intact so
   existing JS listeners don't need to change.
   閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓閳光偓 */
.x-home-agent-workspace .search-filter-bar {
  display: none !important;
}



