/* CherryDeskX Enterprise Infrastructure Console
   Loaded after the legacy themes so the authenticated operations workspace can
   evolve independently while the existing login and runtime hooks stay intact. */

.ops-shell {
  --enterprise-navy-950: #0f1c2f;
  --enterprise-navy-900: #162640;
  --enterprise-navy-850: #1a2c48;
  --enterprise-navy-800: #213653;
  --enterprise-blue: #1769e0;
  --enterprise-blue-dark: #0e56c2;
  --enterprise-blue-soft: #e9f2ff;
  --enterprise-canvas: #edf1f6;
  --enterprise-surface: #ffffff;
  --enterprise-surface-soft: #f7f9fc;
  --enterprise-border: #d6dde8;
  --enterprise-border-strong: #c2ccda;
  --enterprise-text: #17243a;
  --enterprise-text-2: #3f506a;
  --enterprise-muted: #6d7c92;
  --enterprise-success: #14835b;
  --enterprise-success-soft: #e7f5ef;
  --enterprise-warning: #aa6d05;
  --enterprise-warning-soft: #fff4dc;
  --enterprise-danger: #bc394c;
  --enterprise-danger-soft: #fff0f2;
  --enterprise-shadow: 0 1px 2px rgba(19, 35, 60, 0.05), 0 8px 24px rgba(19, 35, 60, 0.06);
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  color: var(--enterprise-text-2);
  background: var(--enterprise-canvas);
  font-family: "Inter", "Space Grotesk", system-ui, sans-serif;
}

.ops-shell button,
.ops-shell input,
.ops-shell select,
.ops-shell textarea {
  font-family: inherit;
}

/* Global infrastructure chrome */
.ops-shell .ops-topbar {
  position: relative;
  z-index: 40;
  height: 64px;
  grid-template-columns: minmax(230px, auto) minmax(190px, 250px) minmax(360px, 1fr) auto;
  gap: 16px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: var(--enterprise-navy-900);
  box-shadow: 0 2px 12px rgba(9, 18, 31, 0.22);
}

.ops-shell .ops-brand {
  gap: 10px;
}

.ops-shell .ops-brand::before {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid rgba(120, 177, 255, 0.38);
  border-radius: 7px;
  color: #ffffff;
  background: linear-gradient(145deg, #2377e6, #1256bd);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  content: "C";
  font-size: 15px;
  font-weight: 800;
}

.ops-shell .ops-brand-cherry {
  color: #f7faff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-shadow: none;
}

.ops-shell .ops-brand-sub {
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  color: #91a2bb;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ops-shell .ops-search {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  color: #9cafc8;
  background: #20334f;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.16);
  font-size: 11px;
}

.ops-shell .ops-kbd {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: #aebbd0;
  background: rgba(255, 255, 255, 0.06);
}

.ops-shell .ops-topbar-center {
  z-index: 45;
}

.ops-shell .ops-topnav {
  gap: 0;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ops-shell .ops-topnav-item {
  position: relative;
}

.ops-shell .ops-topnav-link {
  min-height: 64px;
  padding: 0 15px;
  border-radius: 0;
  color: #b6c3d6;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.ops-shell .ops-topnav-link::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #5ea0ff;
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.ops-shell .ops-topnav-item:hover > .ops-topnav-link,
.ops-shell .ops-topnav-item:focus-within > .ops-topnav-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.055);
}

.ops-shell .ops-topnav-item.is-active > .ops-topnav-link,
.ops-shell .ops-topnav-link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.ops-shell .ops-topnav-item.is-active > .ops-topnav-link::after,
.ops-shell .ops-topnav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.ops-shell .ops-topnav-panel {
  top: calc(100% - 5px);
  width: min(880px, calc(100vw - 64px));
  gap: 14px;
  padding: 18px;
  border: 1px solid #314762;
  border-radius: 8px;
  color: #d8e1ee;
  background: #1a2b45;
  box-shadow: 0 18px 46px rgba(7, 15, 28, 0.34);
}

.ops-shell .ops-topnav-panel::before {
  display: none;
}

.ops-shell .ops-topnav-column {
  gap: 7px;
}

.ops-shell .ops-topnav-column-title {
  padding: 0 5px 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #aebdd1;
  font-size: 9px;
}

.ops-shell .ops-mega-link,
.ops-shell .ops-mega-note {
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  box-shadow: none;
}

.ops-shell .ops-mega-link:hover,
.ops-shell .ops-mega-link:focus-visible,
.ops-shell .ops-mega-link.is-active {
  border-color: rgba(118, 172, 247, 0.26);
  background: rgba(93, 154, 239, 0.11);
  box-shadow: none;
  transform: none;
}

.ops-shell .ops-mega-link-title,
.ops-shell .ops-mega-note strong {
  color: #f4f7fb;
  font-size: 11px;
}

.ops-shell .ops-mega-link-copy,
.ops-shell .ops-mega-note span {
  color: #94a7c0;
  font-size: 9.5px;
  line-height: 1.45;
}

.ops-shell .ops-cluster-strip {
  display: none;
}

.ops-shell .ops-cluster-strip strong {
  color: #72d3a7;
}

.ops-shell .strip-dot {
  width: 5px;
  height: 5px;
  background: #5bc993;
  box-shadow: none;
}

.ops-shell .ops-topbar-right {
  gap: 7px;
}

.ops-shell .ops-clock {
  color: #99a9c0;
  font-size: 10px;
}

.ops-shell .ops-icon-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 5px;
  color: #c3cede;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ops-shell .ops-icon-btn:hover {
  border-color: rgba(126, 178, 249, 0.46);
  background: rgba(85, 145, 226, 0.16);
}

.ops-shell .ops-icon-btn.danger {
  color: #ff9caa;
}

.ops-shell .ops-user-pill {
  gap: 8px;
  min-height: 36px;
  padding: 3px 10px 3px 4px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
}

.ops-shell .user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: #2675df;
  font-size: 10px;
}

.ops-shell .user-name {
  color: #f1f5fa;
  font-size: 10.5px;
}

.ops-shell .user-realm {
  color: #90a2ba;
  font-size: 8.5px;
}

/* Inventory and navigation tree */
.ops-shell .ops-body {
  min-height: 0;
  background: var(--enterprise-canvas);
}

.ops-shell .ops-sidebar {
  width: 230px;
  border-right: 1px solid #263a57;
  color: #c1cede;
  background: var(--enterprise-navy-900);
}

.ops-shell .tree-section {
  padding: 7px 8px 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ops-shell .tree-header {
  min-height: 27px;
  padding: 5px 8px;
  border: 0;
  color: #91a3bb;
  background: transparent;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ops-shell .tree-header::before {
  width: 14px;
  height: 14px;
  color: #6e89aa;
  content: "▦";
  font-size: 12px;
}

.ops-shell .tree-items {
  gap: 2px;
}

.ops-shell .tree-item {
  position: relative;
  min-height: 32px;
  padding: 7px 9px 7px 31px;
  border: 0;
  border-radius: 4px;
  color: #bbc7d7;
  background: transparent;
  font-size: 10.5px;
  line-height: 1.25;
}

.ops-shell .tree-item::before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 14px;
  color: #7f94ae;
  content: "◇";
  font-size: 10px;
  text-align: center;
  transform: translateY(-50%);
}

.ops-shell .tree-item[data-view="summary"]::before { content: "▦"; }
.ops-shell .tree-item[data-view="cluster"]::before { content: "⌘"; }
.ops-shell .tree-item[data-view="storage"]::before { content: "▱"; }
.ops-shell .tree-item[data-view="backup"]::before,
.ops-shell .tree-item[data-view="backups"]::before { content: "↻"; }
.ops-shell .tree-item[data-view="permissions"]::before { content: "⌑"; }
.ops-shell .tree-item[data-view="tasks"]::before { content: "≡"; }
.ops-shell .tree-item[data-view="events"]::before { content: "◷"; }
.ops-shell .tree-item.vm-item::before { content: "▣"; }

.ops-shell .tree-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.ops-shell .tree-item.is-active {
  color: #ffffff;
  border: 0;
  background: #2468c5;
  box-shadow: inset 3px 0 0 #81b6ff;
}

.ops-shell .tree-item.is-active::before {
  color: #ffffff;
}

.ops-shell .tree-dot {
  width: 7px;
  height: 7px;
  background: #4fc38b;
  box-shadow: none;
}

.ops-shell .tree-vm-meta {
  color: #8094ae;
  font-size: 8.5px;
}

.ops-shell .tree-item.is-active .tree-vm-meta {
  color: #d8e8ff;
}

.ops-shell .compact-links .tree-item {
  padding-left: 31px;
}

/* Primary data workspace */
.ops-shell .ops-main {
  min-width: 0;
  padding: 18px 20px 24px;
  color: var(--enterprise-text-2);
  background: var(--enterprise-canvas);
}

.ops-shell .ops-node-header {
  min-height: 84px;
  margin: 0 0 14px;
  padding: 15px 18px;
  border: 1px solid var(--enterprise-border);
  border-radius: 8px;
  background: var(--enterprise-surface);
  box-shadow: 0 1px 2px rgba(23, 36, 58, 0.04);
}

.ops-shell .ops-node-kicker {
  margin-bottom: 5px;
  color: var(--enterprise-blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.ops-shell .ops-node-title {
  margin: 0;
  color: var(--enterprise-text) !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: var(--enterprise-text) !important;
  font-size: 24px !important;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.ops-shell .ops-node-sub {
  margin: 5px 0 0;
  color: var(--enterprise-muted);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.02em;
}

.ops-shell .ops-node-actions {
  gap: 9px;
}

.ops-shell .ops-node-meta {
  max-width: 260px;
  color: var(--enterprise-muted);
  font-size: 9.5px;
}

.ops-shell .ops-node-meta::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--enterprise-success);
  content: "";
}

.ops-shell .ops-node-meta.is-error {
  color: var(--enterprise-danger);
}

.ops-shell .ops-node-meta.is-error::before {
  background: var(--enterprise-danger);
}

.ops-shell .ops-toggle-btn {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--enterprise-border-strong) !important;
  border-radius: 5px;
  color: var(--enterprise-text-2) !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(23, 36, 58, 0.04);
  font-size: 9.5px;
  font-weight: 600;
}

.ops-shell .ops-toggle-btn:hover {
  border-color: #8faee0;
  color: var(--enterprise-blue-dark);
  box-shadow: none;
  transform: none;
}

.ops-shell .metric-grid {
  gap: 10px !important;
  margin-bottom: 14px;
}

.ops-shell .metric-card {
  min-height: 134px;
  gap: 0 !important;
  padding: 14px 15px 13px !important;
  overflow: hidden;
  border: 1px solid var(--enterprise-border) !important;
  border-top: 3px solid var(--mc, var(--enterprise-blue)) !important;
  border-radius: 7px !important;
  color: var(--enterprise-text-2);
  background: var(--enterprise-surface) !important;
  box-shadow: 0 1px 2px rgba(23, 36, 58, 0.04) !important;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.ops-shell .metric-card::before,
.ops-shell .metric-card::after {
  display: none;
}

.ops-shell .metric-card:hover {
  border-color: var(--enterprise-border-strong) !important;
  border-top-color: var(--mc, var(--enterprise-blue)) !important;
  box-shadow: var(--enterprise-shadow) !important;
  transform: none !important;
}

.ops-shell .metric-card.heat-cool,
.ops-shell .metric-card.heat-warm,
.ops-shell .metric-card.heat-hot,
.ops-shell .metric-card.heat-critical,
.ops-shell .metric-card.heat-idle {
  border-right-color: var(--enterprise-border) !important;
  border-bottom-color: var(--enterprise-border) !important;
  border-left-color: var(--enterprise-border) !important;
}

.ops-shell .metric-card-header {
  min-height: 20px;
}

.ops-shell .metric-label {
  gap: 7px;
  color: var(--enterprise-muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.ops-shell .metric-symbol {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 5px;
  color: var(--mc, var(--enterprise-blue));
  background: color-mix(in srgb, var(--mc, var(--enterprise-blue)) 10%, white);
}

.ops-shell .metric-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--enterprise-success);
  box-shadow: none;
}

.ops-shell .metric-value {
  margin: 12px 0 9px;
  color: var(--enterprise-text) !important;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.035em;
  text-shadow: none;
}

.ops-shell .metric-bar-wrap {
  height: 4px;
  margin-bottom: 9px;
  border-radius: 2px;
  background: #e8edf4;
}

.ops-shell .metric-bar {
  border-radius: 2px;
}

.ops-shell .metric-sparkline-wrap {
  display: none;
}

.ops-shell .metric-copy {
  color: var(--enterprise-muted);
  font-size: 9px;
  line-height: 1.35;
}

/* Enterprise VM inventory */
.ops-shell .vm-matrix-panel {
  gap: 0;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--enterprise-border) !important;
  border-radius: 8px !important;
  color: var(--enterprise-text-2);
  background: var(--enterprise-surface) !important;
  box-shadow: 0 1px 2px rgba(23, 36, 58, 0.04) !important;
}

.ops-shell .vm-matrix-panel::before {
  display: none;
}

.ops-shell .vm-matrix-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 82px;
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--enterprise-border);
  background: #ffffff;
}

.ops-shell .vm-matrix-hero-art {
  display: none;
}

.ops-shell .vm-matrix-title-copy {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
}

.ops-shell .summary-section-kicker {
  margin-bottom: 4px;
  color: var(--enterprise-blue);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-shell .section-title {
  margin: 0;
  color: var(--enterprise-text) !important;
  font-size: 16px !important;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.ops-shell .dash-message {
  margin: 4px 0 0;
  color: var(--enterprise-muted) !important;
  font-size: 9.5px !important;
  line-height: 1.45;
}

.ops-shell .vm-matrix-counter-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.ops-shell .vm-matrix-counter {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--enterprise-border);
  border-radius: 5px;
  color: var(--enterprise-muted) !important;
  background: var(--enterprise-surface-soft);
  box-shadow: none;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.ops-shell .vm-matrix-counter-label {
  color: var(--enterprise-muted);
}

.ops-shell .vm-matrix-counter strong {
  color: var(--enterprise-text);
  font-size: 11px;
  font-weight: 700;
}

.ops-shell .vm-matrix-counter:first-child {
  border-color: #b9dfcf;
  background: var(--enterprise-success-soft);
}

.ops-shell .vm-matrix-counter:first-child .vm-matrix-counter-label,
.ops-shell .vm-matrix-counter:first-child strong {
  color: var(--enterprise-success);
}

.ops-shell .vm-matrix-toolbar {
  gap: 4px;
  margin: 0;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid var(--enterprise-border);
  border-radius: 0;
  background: var(--enterprise-surface-soft);
  box-shadow: none;
}

.ops-shell .vm-view-mode-btn {
  min-width: 58px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--enterprise-text-2);
  background: transparent;
  font-size: 9px;
  font-weight: 600;
}

.ops-shell .vm-view-mode-btn:hover {
  color: var(--enterprise-blue-dark);
  border-color: var(--enterprise-border);
  background: #ffffff;
  transform: none;
}

.ops-shell .vm-view-mode-btn.is-active {
  color: #ffffff;
  border-color: var(--enterprise-blue);
  background: var(--enterprise-blue);
  box-shadow: none;
}

.ops-shell .vm-view-search-wrap {
  min-width: min(100%, 280px);
  min-height: 32px;
  margin-left: auto;
  padding: 0 10px 0 34px;
  border: 1px solid var(--enterprise-border-strong);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: inset 0 1px 2px rgba(23, 36, 58, 0.04);
}

.ops-shell .vm-view-search-icon {
  left: 10px;
  color: var(--enterprise-muted);
}

.ops-shell .vm-view-search-icon svg {
  width: 14px;
  height: 14px;
}

.ops-shell .vm-view-search {
  min-height: 30px;
  color: var(--enterprise-text);
  font-size: 10px;
  font-weight: 500;
}

.ops-shell .vm-view-search::placeholder {
  color: #98a5b7;
}

.ops-shell .vm-view-search-clear {
  right: 7px;
  width: 22px;
  height: 22px;
  color: var(--enterprise-muted);
  font-size: 16px;
}

.ops-shell .vm-view-search-clear:hover:not(:disabled) {
  color: var(--enterprise-text);
  background: #e9edf3;
}

.ops-shell .vm-grid {
  gap: 0;
  padding: 0;
}

.ops-shell .vm-runtime-grid.is-list-view {
  padding: 0;
}

.ops-shell .vm-matrix-panel .vm-runtime-list {
  min-width: 940px;
  gap: 0;
}

.ops-shell .vm-matrix-panel .vm-runtime-row {
  grid-template-columns: minmax(90px, 0.85fr) minmax(160px, 1.6fr) minmax(125px, 1.25fr) minmax(90px, 0.8fr) minmax(110px, 1fr) minmax(160px, 1.4fr);
  gap: 12px;
  min-height: 58px;
  padding: 9px 14px;
  border: 0;
  border-bottom: 1px solid var(--enterprise-border);
  border-radius: 0;
  color: var(--enterprise-text-2);
  background: #ffffff;
  box-shadow: none;
}

.ops-shell .vm-matrix-panel .vm-runtime-row:nth-child(odd):not(.vm-runtime-row-head) {
  background: #fbfcfe;
}

.ops-shell .vm-matrix-panel .vm-runtime-row:hover:not(.vm-runtime-row-head) {
  border-color: var(--enterprise-border);
  background: #eef5ff;
  box-shadow: inset 3px 0 0 var(--enterprise-blue);
}

.ops-shell .vm-matrix-panel .vm-runtime-row-head {
  min-height: 37px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid var(--enterprise-border-strong);
  background: #f0f3f7;
  box-shadow: none;
}

.ops-shell .vm-matrix-panel .vm-runtime-row-head::before,
.ops-shell .vm-matrix-panel .vm-runtime-row-head::after {
  display: none;
}

.ops-shell .vm-matrix-panel .vm-runtime-row-head > * {
  color: #5a6980;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-shadow: none;
}

.ops-shell .vm-matrix-panel .vm-runtime-status {
  justify-self: start;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid #e3bac1;
  border-radius: 999px;
  color: var(--enterprise-danger);
  background: var(--enterprise-danger-soft);
  box-shadow: none;
  font-size: 8.5px;
  font-weight: 650;
}

.ops-shell .vm-matrix-panel .vm-runtime-status span {
  width: 6px;
  height: 6px;
  background: var(--enterprise-danger);
  box-shadow: none;
}

.ops-shell .vm-matrix-panel .vm-runtime-status.is-running {
  border-color: #b9dfcf;
  color: var(--enterprise-success);
  background: var(--enterprise-success-soft);
  box-shadow: none;
}

.ops-shell .vm-matrix-panel .vm-runtime-status.is-running span {
  width: 6px;
  height: 6px;
  background: var(--enterprise-success);
  box-shadow: none;
}

.ops-shell .vm-matrix-panel .vm-runtime-list-name {
  color: var(--enterprise-blue-dark);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
}

.ops-shell .vm-matrix-panel .vm-runtime-list-name:hover {
  text-decoration: underline;
}

.ops-shell .vm-matrix-panel .vm-runtime-list-meta {
  color: var(--enterprise-muted);
  font-size: 9px;
  font-weight: 500;
}

.ops-shell .vm-matrix-panel .vm-runtime-list-stat {
  color: var(--enterprise-text);
  font-size: 10px;
  font-weight: 650;
}

.ops-shell .vm-matrix-panel .vm-runtime-list-stat small {
  margin-top: 2px;
  color: var(--enterprise-muted);
  font-size: 8px;
  font-weight: 500;
}

.ops-shell .vm-matrix-panel .vm-runtime-actions {
  display: flex;
  grid-template-columns: none;
  justify-content: flex-start;
  gap: 6px;
}

.ops-shell .vm-matrix-panel .vm-summary-console,
.ops-shell .vm-matrix-panel .vm-power-btn.compact {
  min-width: 64px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 4px;
  font-size: 8.5px;
  font-weight: 650;
  box-shadow: none;
}

.ops-shell .vm-matrix-panel .vm-summary-console {
  border: 1px solid var(--enterprise-blue);
  color: var(--enterprise-blue-dark);
  background: #ffffff;
}

.ops-shell .vm-matrix-panel .vm-summary-console:hover {
  color: #ffffff;
  background: var(--enterprise-blue);
}

.ops-shell .vm-matrix-panel .vm-summary-console.is-disabled {
  border-color: var(--enterprise-border);
  color: #9aa6b7;
  background: #f3f5f8;
}

.ops-shell .vm-matrix-panel .vm-power-btn.compact.danger {
  border: 1px solid #dfb4bc;
  color: var(--enterprise-danger);
  background: #ffffff;
  box-shadow: none;
}

.ops-shell .vm-matrix-panel .vm-power-btn.compact.success {
  border: 1px solid #a9d5c3;
  color: var(--enterprise-success);
  background: #ffffff;
  box-shadow: none;
}

.ops-shell .vm-matrix-panel .vm-power-btn.compact.danger:hover:not(:disabled) {
  color: #ffffff;
  background: var(--enterprise-danger);
}

.ops-shell .vm-matrix-panel .vm-power-btn.compact.success:hover:not(:disabled) {
  color: #ffffff;
  background: var(--enterprise-success);
}

.ops-shell .vm-runtime-footer {
  min-height: 42px;
  margin: 0;
  padding: 9px 14px;
  border-radius: 0;
  color: var(--enterprise-muted);
  background: var(--enterprise-surface-soft);
  font-size: 9px;
  font-weight: 500;
}

.ops-shell .vm-runtime-footer::before,
.ops-shell .vm-runtime-footer::after {
  display: none;
}

.ops-shell .vm-matrix-panel .vm-empty {
  margin: 14px;
  padding: 24px;
  border: 1px dashed var(--enterprise-border-strong);
  border-radius: 6px;
  color: var(--enterprise-text-2);
  background: var(--enterprise-surface-soft);
  box-shadow: none;
}

.ops-shell .vm-matrix-panel .vm-empty strong {
  color: var(--enterprise-text);
}

.ops-shell .vm-matrix-panel .vm-empty p {
  color: var(--enterprise-muted);
}

/* Alternate VM views retain the same enterprise surface language. */
.ops-shell .vm-runtime-grid.is-card-view {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
  gap: 10px !important;
  padding: 12px;
}

.ops-shell .vm-matrix-panel .vm-runtime-card,
.ops-shell .vm-matrix-panel .vm-board-item,
.ops-shell .vm-matrix-panel .vm-wall-tile,
.ops-shell .vm-matrix-panel .vm-board-column {
  border: 1px solid var(--enterprise-border);
  border-radius: 6px;
  color: var(--enterprise-text-2);
  background: #ffffff;
  box-shadow: none;
}

.ops-shell .vm-matrix-panel .vm-runtime-card {
  min-height: 190px;
}

.ops-shell .vm-matrix-panel .vm-runtime-name,
.ops-shell .vm-matrix-panel .vm-board-name,
.ops-shell .vm-matrix-panel .vm-wall-tile strong,
.ops-shell .vm-matrix-panel .vm-runtime-stats strong,
.ops-shell .vm-matrix-panel .vm-board-column-head {
  color: var(--enterprise-text);
}

.ops-shell .vm-matrix-panel .vm-runtime-meta,
.ops-shell .vm-matrix-panel .vm-board-meta,
.ops-shell .vm-matrix-panel .vm-wall-tile span,
.ops-shell .vm-matrix-panel .vm-board-stats span,
.ops-shell .vm-matrix-panel .vm-runtime-stats span,
.ops-shell .vm-matrix-panel .vm-runtime-stats small,
.ops-shell .vm-matrix-panel .vm-board-column-head span,
.ops-shell .vm-matrix-panel .vm-board-empty {
  color: var(--enterprise-muted);
}

.ops-shell .vm-matrix-panel .vm-runtime-stats div,
.ops-shell .vm-matrix-panel .vm-board-stats span,
.ops-shell .vm-matrix-panel .vm-board-empty,
.ops-shell .vm-matrix-panel .vm-board-column-head span {
  background: var(--enterprise-surface-soft);
}

.ops-shell .vm-matrix-panel .vm-wall-tile[data-status="running"] {
  border-left: 3px solid var(--enterprise-success);
}

.ops-shell .vm-matrix-panel .vm-wall-tile[data-status="stopped"] {
  border-left: 3px solid var(--enterprise-danger);
}

/* Right-side health and Cherry operator companion */
.ops-shell .assistant-resize-handle {
  width: 8px;
  border-left: 1px solid var(--enterprise-border);
  background: #e7ebf1;
}

.ops-shell .assistant-resize-handle:hover,
.ops-shell.assistant-resizing .assistant-resize-handle {
  background: #dbe6f6;
}

.ops-shell .assistant-resize-grip {
  width: 2px;
  height: 54px;
  background: #91a3ba;
  box-shadow: none;
}

.ops-shell .ops-rightbar {
  width: clamp(310px, var(--assistant-panel-width, 340px), 540px);
  gap: 10px;
  padding: 12px;
  border-left: 1px solid var(--enterprise-border);
  color: var(--enterprise-text-2);
  background: #e7ebf1;
}

.ops-shell .side-card {
  padding: 13px;
  border: 1px solid var(--enterprise-border);
  border-radius: 7px;
  color: var(--enterprise-text-2);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(23, 36, 58, 0.04);
}

.ops-shell .side-card-title {
  margin-bottom: 10px;
  color: var(--enterprise-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.ops-shell .health-summary {
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #badfce;
  border-radius: 6px;
  background: var(--enterprise-success-soft);
}

.ops-shell .health-badge {
  width: 30px;
  height: 30px;
  border: 1px solid var(--enterprise-success);
  color: var(--enterprise-success);
  background: #ffffff;
  font-size: 13px;
}

.ops-shell .health-main {
  color: var(--enterprise-success);
  font-size: 11px;
  font-weight: 700;
}

.ops-shell .health-sub {
  color: #5e806f;
  font-size: 8.5px;
}

.ops-shell .meta-list {
  gap: 0;
}

.ops-shell .meta-list div {
  min-height: 27px;
  padding: 6px 2px;
  border-bottom: 1px solid #e8ecf2;
  font-size: 9px;
}

.ops-shell .meta-list span {
  color: var(--enterprise-muted);
}

.ops-shell .meta-list strong {
  color: var(--enterprise-text-2);
  font-weight: 600;
}

.ops-shell .assistant-card {
  min-height: 570px;
  height: min(680px, calc(100vh - 260px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--enterprise-border);
  border-radius: 7px;
  color: var(--enterprise-text-2);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(23, 36, 58, 0.04);
}

.ops-shell .assistant-card::before,
.ops-shell .assistant-card::after {
  display: none;
}

.ops-shell .assistant-hero {
  padding: 0;
  border-bottom: 1px solid var(--enterprise-border);
  background: #ffffff;
}

.ops-shell .assistant-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 13px;
  border-bottom: 1px solid #e8ecf2;
}

.ops-shell .assistant-avatar-wrap {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
}

.ops-shell .assistant-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ops-shell .assistant-avatar-glow {
  display: none;
}

.ops-shell .assistant-header-copy {
  min-width: 0;
}

.ops-shell .assistant-kicker {
  color: var(--enterprise-blue);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ops-shell .assistant-title {
  margin-top: 2px;
  color: var(--enterprise-text);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}

.ops-shell .assistant-subtitle {
  margin-top: 3px;
  color: var(--enterprise-muted);
  font-size: 8px;
  line-height: 1.3;
}

.ops-shell .assistant-header-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top: 3px;
}

.ops-shell .assistant-status-pill,
.ops-shell .assistant-live-chat-btn,
.ops-shell .assistant-live-talk-btn,
.ops-shell .assistant-header-btn {
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--enterprise-border);
  border-radius: 4px;
  color: var(--enterprise-text-2);
  background: #ffffff;
  box-shadow: none;
  font-size: 8px;
  font-weight: 650;
}

.ops-shell .assistant-status-pill {
  margin-right: auto;
  color: var(--enterprise-success);
  border-color: #badfce;
  background: var(--enterprise-success-soft);
}

.ops-shell .assistant-status-dot {
  width: 6px;
  height: 6px;
  background: var(--enterprise-success);
  box-shadow: none;
  animation: none;
}

.ops-shell .assistant-live-chat-btn:hover,
.ops-shell .assistant-live-talk-btn:hover,
.ops-shell .assistant-header-btn:hover,
.ops-shell .assistant-live-chat-btn.is-active,
.ops-shell .assistant-live-talk-btn[aria-pressed="true"],
.ops-shell .assistant-header-btn[aria-pressed="true"] {
  color: #ffffff;
  border-color: var(--enterprise-blue);
  background: var(--enterprise-blue);
  box-shadow: none;
}

.ops-shell .assistant-presence {
  margin: 0;
  padding: 10px 13px;
  color: var(--enterprise-muted);
  background: var(--enterprise-surface-soft);
  font-size: 8.5px;
  line-height: 1.45;
}

.ops-shell .assistant-summary-grid {
  gap: 6px;
  margin: 0;
  padding: 10px 13px 0;
}

.ops-shell .assistant-summary-tile,
.ops-shell .assistant-summary-tile.wide {
  min-height: 48px;
  padding: 8px;
  border: 1px solid var(--enterprise-border);
  border-radius: 5px;
  background: #ffffff;
}

.ops-shell .assistant-summary-tile span {
  color: var(--enterprise-muted);
  font-size: 7px;
}

.ops-shell .assistant-summary-tile strong {
  margin-top: 3px !important;
  color: var(--enterprise-text) !important;
  font-size: 12px !important;
}

.ops-shell .assistant-summary-tile.wide strong {
  font-size: 8.5px !important;
}

.ops-shell .assistant-quick-prompts {
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 10px 13px 12px;
  overflow-x: auto;
}

.ops-shell .assistant-quick-prompt {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid #b9cce8;
  border-radius: 4px;
  color: var(--enterprise-blue-dark);
  background: #ffffff;
  box-shadow: none;
  font-size: 8px;
}

.ops-shell .assistant-quick-prompt:not(:disabled):hover {
  color: #ffffff;
  border-color: var(--enterprise-blue);
  background: var(--enterprise-blue);
  box-shadow: none;
  transform: none;
}

.ops-shell .assistant-chat-container {
  min-height: 0;
  color: var(--enterprise-text-2);
  background: #f7f9fc;
}

.ops-shell .assistant-messages {
  padding: 12px;
}

.ops-shell .assistant-card .chat-bubble {
  max-width: 92%;
  border-radius: 6px;
  box-shadow: none;
  animation: none;
  font-size: 9px;
  line-height: 1.55;
}

.ops-shell .assistant-card .chat-bubble.assistant {
  border: 1px solid var(--enterprise-border);
  color: var(--enterprise-text-2);
  background: #ffffff;
  box-shadow: none;
}

.ops-shell .assistant-card .chat-bubble.user {
  color: #ffffff;
  background: var(--enterprise-blue);
  box-shadow: none;
}

.ops-shell .assistant-input-area {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  padding: 10px;
  border-top: 1px solid var(--enterprise-border);
  background: #ffffff;
}

.ops-shell .assistant-input-area input {
  min-height: 34px;
  border: 1px solid var(--enterprise-border-strong);
  border-radius: 5px;
  color: var(--enterprise-text);
  background: #ffffff;
  font-size: 9px;
}

.ops-shell .assistant-input-area input:focus {
  border-color: var(--enterprise-blue);
  box-shadow: 0 0 0 2px rgba(23, 105, 224, 0.12);
}

.ops-shell .assistant-input-area button {
  min-width: 54px;
  min-height: 34px;
  border: 1px solid var(--enterprise-blue);
  border-radius: 5px;
  color: #ffffff;
  background: var(--enterprise-blue);
  box-shadow: none;
  font-size: 8.5px;
}

.ops-shell .assistant-input-area button:not(:disabled):hover {
  background: var(--enterprise-blue-dark);
  box-shadow: none;
  filter: none;
  transform: none;
}

.ops-shell .assistant-footer {
  min-height: 40px;
  padding: 8px 10px;
  border-top: 1px solid var(--enterprise-border);
  color: var(--enterprise-muted);
  background: #ffffff;
}

.ops-shell .assistant-time,
.ops-shell .assistant-footer-meta {
  color: var(--enterprise-muted);
  font-size: 7px;
}

.ops-shell .assistant-powered-logo {
  max-width: 82px;
  opacity: 0.62;
}

/* Other infrastructure views and forms */
.ops-shell .dashboard-detail-content,
.ops-shell .detail-stack {
  gap: 12px;
}

.ops-shell .detail-grid {
  gap: 10px;
}

.ops-shell .detail-card,
.ops-shell .host-card,
.ops-shell .vm-card,
.ops-shell .node-item,
.ops-shell .visionops-hero,
.ops-shell .visionops-screen-card,
.ops-shell .visionops-action-card,
.ops-shell .visionops-timeline-card,
.ops-shell .visionops-key-value,
.ops-shell .visionops-timeline-item {
  border: 1px solid var(--enterprise-border);
  border-radius: 7px;
  color: var(--enterprise-text-2);
  background: #ffffff;
  box-shadow: none;
}

.ops-shell .detail-card {
  min-height: 104px;
  padding: 13px;
}

.ops-shell .detail-kicker,
.ops-shell .detail-field label,
.ops-shell .settings-switch-label,
.ops-shell .visionops-screen-meta,
.ops-shell .visionops-timeline-meta,
.ops-shell .visionops-key-value span {
  color: var(--enterprise-muted);
}

.ops-shell .detail-value,
.ops-shell .host-ip,
.ops-shell .vm-name,
.ops-shell .node-name,
.ops-shell .visionops-hero-title,
.ops-shell .visionops-screen-title,
.ops-shell .visionops-action-title,
.ops-shell .visionops-timeline-title,
.ops-shell .visionops-key-value strong {
  color: var(--enterprise-text);
}

.ops-shell .detail-copy,
.ops-shell .detail-inline-copy,
.ops-shell .vm-meta,
.ops-shell .node-bar-label,
.ops-shell .node-bar-val,
.ops-shell .vm-type,
.ops-shell .visionops-hero-copy {
  color: var(--enterprise-muted);
}

.ops-shell .detail-notice {
  border: 1px solid #b9cce8;
  border-radius: 5px;
  color: #245b9f;
  background: var(--enterprise-blue-soft);
}

.ops-shell .detail-notice.is-error {
  border-color: #e4b9c0;
  color: var(--enterprise-danger);
  background: var(--enterprise-danger-soft);
}

.ops-shell .detail-action-btn,
.ops-shell .btn-console {
  min-height: 32px;
  border: 1px solid var(--enterprise-blue);
  border-radius: 5px;
  color: var(--enterprise-blue-dark);
  background: #ffffff;
  box-shadow: none;
}

.ops-shell .detail-action-btn:hover,
.ops-shell .btn-console:hover {
  color: #ffffff;
  background: var(--enterprise-blue);
  box-shadow: none;
  transform: none;
}

.ops-shell .detail-action-btn.primary {
  color: #ffffff;
  background: var(--enterprise-blue);
}

.ops-shell .detail-action-btn.success {
  border-color: var(--enterprise-success);
  color: var(--enterprise-success);
  background: #ffffff;
}

.ops-shell .detail-action-btn.danger {
  border-color: var(--enterprise-danger);
  color: var(--enterprise-danger);
  background: #ffffff;
}

.ops-shell .detail-field input,
.ops-shell .detail-field select,
.ops-shell .detail-field textarea,
.ops-shell .settings-switch-select {
  min-height: 36px;
  border: 1px solid var(--enterprise-border-strong);
  border-radius: 5px;
  color: var(--enterprise-text);
  background: #ffffff;
}

.ops-shell .detail-field input:focus,
.ops-shell .detail-field select:focus,
.ops-shell .detail-field textarea:focus,
.ops-shell .settings-switch-select:focus {
  border-color: var(--enterprise-blue);
  box-shadow: 0 0 0 2px rgba(23, 105, 224, 0.12);
}

.ops-shell .detail-empty {
  border: 1px dashed var(--enterprise-border-strong);
  border-radius: 6px;
  color: var(--enterprise-muted);
  background: var(--enterprise-surface-soft);
}

.ops-shell .detail-table-wrap {
  border: 1px solid var(--enterprise-border);
  border-radius: 7px;
  background: #ffffff;
}

.ops-shell .detail-table th,
.ops-shell .detail-table td {
  border-bottom: 1px solid var(--enterprise-border);
}

.ops-shell .detail-table th {
  color: #536279;
  background: #f0f3f7;
}

.ops-shell .detail-table td {
  color: var(--enterprise-text-2);
}

.ops-shell .detail-table tbody tr:hover {
  background: #eef5ff;
}

.ops-shell .node-bar-track {
  background: #e6ebf2;
}

.ops-shell .node-missing {
  color: var(--enterprise-muted);
}

.ops-shell .host-error {
  color: var(--enterprise-danger);
  background: var(--enterprise-danger-soft);
}

.ops-shell .visionops-status-pill {
  border-radius: 4px;
  color: var(--enterprise-blue-dark);
  border-color: #b9cce8;
  background: var(--enterprise-blue-soft);
}

.ops-shell .visionops-frame-shell {
  border: 1px solid var(--enterprise-border);
  border-radius: 7px;
  background: #e8edf3;
}

.ops-shell .visionops-frame-placeholder {
  color: var(--enterprise-muted);
}

.ops-shell .visionops-frame-placeholder strong {
  color: var(--enterprise-text);
}

/* Scrollbars */
.ops-shell .ops-sidebar,
.ops-shell .ops-main,
.ops-shell .ops-rightbar,
.ops-shell .assistant-messages {
  scrollbar-color: #9aa8ba transparent;
  scrollbar-width: thin;
}

.ops-shell .ops-sidebar::-webkit-scrollbar,
.ops-shell .ops-main::-webkit-scrollbar,
.ops-shell .ops-rightbar::-webkit-scrollbar,
.ops-shell .assistant-messages::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.ops-shell .ops-sidebar::-webkit-scrollbar-thumb,
.ops-shell .ops-main::-webkit-scrollbar-thumb,
.ops-shell .ops-rightbar::-webkit-scrollbar-thumb,
.ops-shell .assistant-messages::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #91a0b4;
  background-clip: padding-box;
}

.ops-shell button:focus-visible,
.ops-shell a:focus-visible,
.ops-shell input:focus-visible,
.ops-shell select:focus-visible,
.ops-shell textarea:focus-visible {
  outline: 2px solid #6ba4f2;
  outline-offset: 2px;
}

@media (max-width: 1500px) {
  .ops-shell .ops-topbar {
    grid-template-columns: minmax(210px, auto) minmax(170px, 210px) minmax(300px, 1fr) auto;
    gap: 10px;
  }

  .ops-shell .ops-topnav-link {
    padding: 0 11px;
    font-size: 9px;
  }

  .ops-shell .ops-brand-sub {
    display: none;
  }

  .ops-shell .ops-sidebar {
    width: 210px;
  }

  .ops-shell .ops-rightbar {
    width: clamp(300px, var(--assistant-panel-width, 320px), 500px);
  }
}

@media (max-width: 1300px) {
  .ops-shell .ops-topbar {
    grid-template-columns: minmax(190px, auto) minmax(280px, 1fr) auto;
  }

  .ops-shell .ops-search,
  .ops-shell .ops-cluster-strip,
  .ops-shell .ops-rightbar,
  .ops-shell .assistant-resize-handle {
    display: none;
  }

  .ops-shell .ops-sidebar {
    width: 220px;
  }
}

@media (max-width: 980px) {
  .ops-shell {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .ops-shell .ops-topbar {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    height: auto;
    min-height: 58px;
    padding: 9px 12px;
  }

  .ops-shell .ops-topbar-center {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow-x: auto;
  }

  .ops-shell .ops-topnav {
    width: max-content;
  }

  .ops-shell .ops-topnav-link {
    min-height: 38px;
  }

  .ops-shell .ops-topbar-right {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .ops-shell .ops-clock,
  .ops-shell .ops-user-copy {
    display: none;
  }

  .ops-shell .ops-sidebar {
    display: none;
  }

  .ops-shell .ops-body {
    overflow: visible;
  }

  .ops-shell .ops-main {
    overflow: visible;
    padding: 12px;
  }

  .ops-shell .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-shell .vm-matrix-hero {
    grid-template-columns: 1fr;
  }

  .ops-shell .vm-matrix-counter-row {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .ops-shell .ops-brand-cherry {
    font-size: 12px;
  }

  .ops-shell .ops-topnav-link {
    padding: 0 10px;
    font-size: 8px;
  }

  .ops-shell .ops-icon-btn:not(.danger),
  .ops-shell .ops-user-pill {
    display: none;
  }

  .ops-shell .ops-node-header {
    align-items: flex-start;
    min-height: 0;
    padding: 13px;
  }

  .ops-shell .ops-node-title {
    font-size: 20px;
  }

  .ops-shell .ops-node-actions {
    width: 100%;
    justify-content: space-between;
  }

  .ops-shell .metric-grid {
    grid-template-columns: 1fr;
  }

  .ops-shell .metric-card {
    min-height: 118px;
  }

  .ops-shell .vm-matrix-counter-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .ops-shell .vm-matrix-counter {
    min-width: 0;
    padding: 6px;
  }

  .ops-shell .vm-matrix-toolbar {
    flex-wrap: wrap;
  }

  .ops-shell .vm-view-mode-btn {
    flex: 1;
    min-width: 52px;
  }

  .ops-shell .vm-view-search-wrap {
    flex: 1 0 100%;
    min-width: 100%;
    margin-top: 4px;
    margin-left: 0;
  }

  .ops-shell .vm-runtime-grid.is-list-view {
    overflow: visible;
  }

  .ops-shell .vm-matrix-panel .vm-runtime-list {
    min-width: 0;
  }

  .ops-shell .vm-matrix-panel .vm-runtime-row-head {
    display: none;
  }

  .ops-shell .vm-matrix-panel .vm-runtime-row:not(.vm-runtime-row-head) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "status name"
      "meta meta"
      "cpu memory"
      "actions actions";
    gap: 9px 12px;
    align-items: center;
    min-height: 0;
    padding: 14px;
  }

  .ops-shell .vm-matrix-panel .vm-runtime-row:not(.vm-runtime-row-head) > :nth-child(n+3) {
    display: block;
  }

  .ops-shell .vm-matrix-panel .vm-runtime-status {
    grid-area: status;
  }

  .ops-shell .vm-matrix-panel .vm-runtime-list-name {
    grid-area: name;
  }

  .ops-shell .vm-matrix-panel .vm-runtime-list-meta {
    grid-area: meta;
  }

  .ops-shell .vm-matrix-panel .vm-runtime-list-stat:nth-of-type(3) {
    grid-area: cpu;
  }

  .ops-shell .vm-matrix-panel .vm-runtime-list-stat:nth-of-type(4) {
    grid-area: memory;
  }

  .ops-shell .vm-matrix-panel .vm-runtime-actions {
    display: flex !important;
    grid-area: actions;
  }

  .ops-shell .vm-matrix-panel .vm-summary-console,
  .ops-shell .vm-matrix-panel .vm-power-btn.compact {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ops-shell *,
  .ops-shell *::before,
  .ops-shell *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
