/* ═══════════════════════════════════════════════════════════════
   CHERRY BEAUTIFUL — Full UI Redesign  (Blue Tech Theme)
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   ① AUTH SHELL — LOGIN PAGE
   ═══════════════════════════════════════════════════════════════ */

[hidden] {
  display: none !important;
}

.auth-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 10% 85%, rgba(0, 80, 220, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 48% 36% at 88% 8%,  rgba(0, 180, 255, 0.20) 0%, transparent 55%),
    radial-gradient(ellipse 38% 30% at 50% 52%, rgba(60, 0, 200, 0.10) 0%, transparent 52%);
  animation: auroraDrift 22s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  0%   { opacity: 0.65; transform: scale(1)    translate(0%,    0%); }
  33%  { opacity: 1;    transform: scale(1.04) translate(-1.2%,  1%); }
  66%  { opacity: 0.78; transform: scale(0.97) translate(1.4%,  -1%); }
  100% { opacity: 1;    transform: scale(1.06) translate(-2%,    2%); }
}

.char-img {
  width: 300px;
  filter:
    drop-shadow(0 0 28px rgba(0, 207, 255, 0.82))
    drop-shadow(0 0 60px rgba(0, 100, 255, 0.36))
    drop-shadow(0 14px 28px rgba(0, 0, 0, 0.52));
  animation: cherryFloat 5.2s ease-in-out infinite;
}

@keyframes cherryFloat {
  0%,  100% { transform: translateY(0px)   rotate(0deg);    }
  28%        { transform: translateY(-11px) rotate(0.6deg);  }
  72%        { transform: translateY(-5px)  rotate(-0.5deg); }
}

.char-base {
  width: 270px; height: 52px;
  background: radial-gradient(ellipse, rgba(0, 207, 255, 0.60) 0%, rgba(0, 80, 220, 0.28) 40%, transparent 72%);
  filter: blur(14px);
  animation: baseBreath 4.5s ease-in-out infinite alternate;
}

@keyframes baseBreath {
  from { opacity: 0.5; transform: translateX(-50%) scaleX(0.80); }
  to   { opacity: 1;   transform: translateX(-50%) scaleX(1.20); }
}

.corner { border-color: rgba(0, 207, 255, 0.50); }
.char-rings .ring:nth-child(1) { width:  90px; height:  90px; border-color: rgba(0, 207, 255, 0.36); }
.char-rings .ring:nth-child(2) { width: 144px; height: 144px; border-color: rgba(0, 120, 255, 0.22); }
.char-rings .ring:nth-child(3) { width: 196px; height: 196px; border-color: rgba(0, 207, 255, 0.12); }

.intro-kicker { color: #00cfff; font-size: 11px; letter-spacing: 0.28em; }
.intro-hello  { font-size: 20px; color: #d2eaff; }
.intro-hello strong {
  background: linear-gradient(135deg, #00cfff, #0080ff, #a0d4ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.intro-caret { background: #00cfff; box-shadow: 0 0 14px rgba(0, 207, 255, 0.90); }

.auth-card {
  background: rgba(5, 10, 26, 0.86);
  backdrop-filter: blur(36px) saturate(1.5);
  -webkit-backdrop-filter: blur(36px) saturate(1.5);
  border: 1px solid rgba(0, 207, 255, 0.20);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 36px 88px rgba(0,0,0,0.50), 0 0 64px rgba(0,207,255,0.08);
}

.auth-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 207, 255, 0.65) 35%, rgba(0, 140, 255, 0.50) 65%, transparent 100%);
  pointer-events: none;
}

.assistant-spotlight {
  border: 1px solid rgba(0, 207, 255, 0.24);
  background:
    linear-gradient(155deg, rgba(0, 100, 220, 0.18) 0%, rgba(0, 50, 160, 0.04) 44%, rgba(0, 207, 255, 0.12) 100%),
    rgba(4, 10, 24, 0.97);
}

.assistant-spotlight-dot { width: 9px; height: 9px; background: #00cfff; animation: cyanBeat 1.6s ease-in-out infinite; }

@keyframes cyanBeat {
  0%, 100% { box-shadow: 0 0  8px rgba(0, 207, 255, 0.65); }
  50%       { box-shadow: 0 0 22px rgba(0, 207, 255, 1.0), 0 0 40px rgba(0, 207, 255, 0.40); }
}

.assistant-spotlight-title {
  font-size: 30px;
  background: linear-gradient(135deg, #f0f9ff 0%, #a8d8ff 55%, #00cfff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.assistant-prompt-chip {
  background: rgba(0, 207, 255, 0.07); border-color: rgba(0, 207, 255, 0.20); color: #9edcff;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.assistant-prompt-chip:hover {
  transform: translateY(-2px) scale(1.04);
  background: rgba(0, 207, 255, 0.16); border-color: rgba(0, 207, 255, 0.44);
  box-shadow: 0 6px 24px rgba(0, 207, 255, 0.22);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(0, 207, 255, 0.52); background: rgba(0, 207, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.10), 0 0 18px rgba(0, 207, 255, 0.07);
}

.btn-signin {
  background: linear-gradient(135deg, #003fa3, #0060cc 48%, #00a8ff);
  background-size: 200% 200%; animation: blueGrad 5s ease infinite;
  box-shadow: 0 6px 28px rgba(0, 120, 255, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  border-radius: 10px; border: none;
}
.btn-signin:hover {
  background: linear-gradient(135deg, #0050c8, #0078e8 48%, #00bfff);
  box-shadow: 0 12px 36px rgba(0, 140, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

@keyframes blueGrad {
  0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; }
}

.login-help-card {
  border: 1px solid rgba(0, 207, 255, 0.16);
  background: linear-gradient(180deg, rgba(6, 12, 26, 0.90), rgba(3, 8, 18, 0.95));
}

.login-help-avatar { background: linear-gradient(145deg, #0060cc, #00cfff); box-shadow: 0 0 22px rgba(0, 207, 255, 0.38); }

.login-help-messages .chat-bubble.assistant {
  background: linear-gradient(145deg, rgba(12, 24, 52, 0.98), rgba(7, 16, 38, 0.98));
  border: 1px solid rgba(0, 207, 255, 0.20); color: #d9ecff;
  animation: bubbleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.login-help-messages .chat-bubble.user {
  background: linear-gradient(135deg, #0060cc, #00a8ff);
  color: #fff; font-weight: 500; box-shadow: 0 8px 28px rgba(0, 140, 255, 0.44);
  animation: bubbleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.login-help-controls input:focus { border-color: rgba(0, 207, 255, 0.44); box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.09); }
.login-help-action-btn.send { background: linear-gradient(135deg, #0060cc, #00a8ff); border-color: rgba(0, 207, 255, 0.52); }
.logo-tagline { color: rgba(0, 207, 255, 0.65); }

/* CherryDeskX login redesign */
.cherrydeskx-auth-main {
  grid-template-columns: minmax(320px, 820px) !important;
  align-items: center;
  padding: 28px 18px !important;
}

.cherrydeskx-auth-main .auth-left,
.cherrydeskx-auth-main .auth-right {
  display: none !important;
}

.auth-page .auth-footer {
  display: none;
}

.cherrydeskx-login-card {
  width: min(100%, 820px) !important;
  max-height: calc(100vh - 56px);
  padding: clamp(26px, 4vw, 54px) !important;
  border-radius: 26px !important;
  border: 1px solid rgba(41, 157, 255, 0.72) !important;
  background:
    linear-gradient(180deg, rgba(7, 29, 67, 0.92), rgba(1, 10, 28, 0.96)),
    radial-gradient(circle at 78% 0%, rgba(30, 130, 255, 0.24), transparent 34%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(46, 160, 255, 0.16),
    0 0 0 1px rgba(0, 170, 255, 0.22),
    0 0 32px rgba(0, 135, 255, 0.34),
    0 30px 80px rgba(0, 0, 0, 0.54) !important;
  overflow-y: auto;
  scrollbar-width: thin;
}

.cherrydeskx-login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 26%),
    radial-gradient(circle at 92% 10%, rgba(0, 125, 255, 0.18), transparent 22%),
    radial-gradient(circle at 8% 0%, rgba(0, 200, 255, 0.12), transparent 26%);
}

.cherrydeskx-login-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 21px;
  border: 1px solid rgba(42, 139, 255, 0.10);
  pointer-events: none;
}

.cherrydeskx-card-head,
.cherrydeskx-divider,
.cherrydeskx-welcome,
.cherrydeskx-login-card #authMessage,
.cherrydeskx-login-card #loginForm,
.cherrydeskx-or,
.cherrydeskx-sso-btn,
.cherrydeskx-status-row,
.cherrydeskx-card-footer {
  position: relative;
  z-index: 1;
}

.cherrydeskx-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.cherrydeskx-brand-image {
  width: min(66vw, 465px);
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 120, 255, 0.22));
}

.cherrydeskx-avatar-image {
  width: clamp(82px, 12vw, 125px);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.32));
}

.cherrydeskx-divider {
  height: 1px;
  margin: 28px 0 22px;
  background: linear-gradient(90deg, rgba(72, 156, 255, 0.55), rgba(72, 156, 255, 0.14));
}

.cherrydeskx-welcome {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: #b5c7e2;
  font-size: 18px;
  line-height: 1.45;
}

.cherrydeskx-welcome span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(118, 170, 255, 0.42);
  color: #83b8ff;
  font-size: 16px;
}

.cherrydeskx-login-card .form-group {
  margin-bottom: 19px;
}

.cherrydeskx-login-card .form-label {
  margin-bottom: 8px;
  color: #e0edff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.cherrydeskx-login-card .input-wrap {
  position: relative;
}

.cherrydeskx-login-card .input-icon {
  left: 18px;
  color: #9ab2d5;
  font-size: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cherrydeskx-login-card .input-icon svg {
  display: block;
  flex-shrink: 0;
}

.cherrydeskx-login-card .form-input,
.cherrydeskx-login-card .form-select {
  min-height: 54px;
  padding: 0 48px 0 56px;
  border-radius: 9px;
  border: 1px solid rgba(62, 123, 205, 0.48);
  background: rgba(0, 18, 48, 0.58);
  color: #eff7ff;
  font-size: 17px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.cherrydeskx-login-card .form-input::placeholder {
  color: #91a4c5;
  font-weight: 500;
}

.cherrydeskx-login-card .form-input:focus,
.cherrydeskx-login-card .form-select:focus {
  border-color: rgba(0, 153, 255, 0.88);
  background: rgba(0, 31, 74, 0.70);
  box-shadow: 0 0 0 3px rgba(0, 140, 255, 0.16), 0 0 18px rgba(0, 140, 255, 0.16);
}

.cherrydeskx-login-card .input-toggle,
.cherrydeskx-login-card .select-arrow {
  right: 18px;
  color: #a8b8d2;
  font-size: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cherrydeskx-login-card .input-toggle svg {
  display: block;
}

.cherrydeskx-login-card .form-row {
  margin: 2px 0 22px;
  color: #8fa4c4;
  font-size: 13px;
}

.cherrydeskx-login-card .checkbox-wrap {
  color: #8fa4c4;
}

.cherrydeskx-login-card .forgot {
  color: #44a9ff;
}

.cherrydeskx-login-card .btn-signin {
  min-height: 58px;
  border-radius: 9px;
  background: linear-gradient(135deg, #006bff, #00a6ff) !important;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 14px 32px rgba(0, 126, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.cherrydeskx-login-card .btn-signin:hover {
  background: linear-gradient(135deg, #147cff, #12baff) !important;
  transform: translateY(-1px);
}

.cherrydeskx-login-card .btn-arrow {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cherrydeskx-login-card .btn-arrow svg {
  display: block;
}

.cherrydeskx-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 19px 0;
  color: #a7b6cf;
  font-size: 16px;
}

.cherrydeskx-or::before,
.cherrydeskx-or::after {
  content: "";
  height: 1px;
  background: rgba(64, 122, 195, 0.42);
}

.cherrydeskx-sso-btn {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 9px;
  border: 1px solid rgba(62, 123, 205, 0.48);
  background: rgba(0, 18, 48, 0.42);
  color: #e5efff;
  font-size: 17px;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.cherrydeskx-sso-btn:hover {
  border-color: rgba(0, 150, 255, 0.7);
  background: rgba(0, 35, 82, 0.50);
  transform: translateY(-1px);
}

.cherrydeskx-sso-btn span:first-child {
  color: #9db9df;
  font-size: 24px;
}

.cherrydeskx-sso-btn span:last-child {
  color: #d7e5fb;
  font-size: 34px;
  line-height: 1;
}

.cherrydeskx-login-card .login-help-card:not(.cherry-support-widget),
.cherrydeskx-login-card .security-line,
.cherrydeskx-login-card .card-footer {
  display: none !important;
}

.cherrydeskx-status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.cherrydeskx-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1px solid rgba(38, 102, 180, 0.42);
  background: rgba(0, 20, 52, 0.44);
  color: #b8c6dc;
  font-size: 16px;
  font-weight: 650;
}

.cherrydeskx-status-pill::before {
  content: "";
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border-radius: 7px;
  background: #57df7a;
  box-shadow: 0 0 16px rgba(87, 223, 122, 0.26);
}

.cherrydeskx-status-pill.is-secure::before {
  background: #178fff;
  box-shadow: 0 0 16px rgba(23, 143, 255, 0.28);
}

.cherrydeskx-status-pill.is-encrypted::before {
  background: #8b56ff;
  box-shadow: 0 0 16px rgba(139, 86, 255, 0.28);
}

.cherrydeskx-status-pill i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 999px;
  background: #57df7a;
  box-shadow: 0 0 10px currentColor;
}

.cherrydeskx-status-pill.is-secure i {
  background: #178fff;
}

.cherrydeskx-status-pill.is-encrypted i {
  background: #8b56ff;
}

.cherrydeskx-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 22px;
  color: #8797b4;
  font-size: 16px;
}

.cherrydeskx-card-footer strong {
  color: #00a7ff;
  font-weight: 700;
}

.cherrydeskx-card-footer > span:nth-child(2) {
  width: 1px;
  height: 28px;
  background: rgba(144, 171, 209, 0.58);
}

@media (max-width: 720px) {
  .cherrydeskx-auth-main {
    padding: 14px !important;
  }

  .cherrydeskx-login-card {
    max-height: none;
    padding: 0 !important;
    border-radius: 18px !important;
  }

  .cherrydeskx-card-head {
    align-items: center;
    gap: 12px;
  }

  .cherrydeskx-brand-image {
    width: min(68vw, 330px);
  }

  .cherrydeskx-avatar-image {
    width: 74px;
  }

  .cherrydeskx-welcome {
    font-size: 14px;
  }

  .cherrydeskx-status-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .cherrydeskx-card-footer {
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 13px;
  }

  .cherrydeskx-card-footer > span:nth-child(2) {
    height: 18px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ② OPS SHELL — DASHBOARD GLOBAL
   ═══════════════════════════════════════════════════════════════ */

.ops-shell {
  background:
    radial-gradient(ellipse 62% 42% at 0% 0%,    rgba(0, 120, 255, 0.07) 0%, transparent 52%),
    radial-gradient(ellipse 52% 42% at 100% 100%, rgba(0, 207, 255, 0.06) 0%, transparent 52%),
    #080c18;
}

.ops-brand-cherry {
  color: #00cfff;
  text-shadow: 0 0 14px rgba(0, 207, 255, 0.55), 0 0 30px rgba(0, 207, 255, 0.20);
}

/* ── Dashboard header (Datacenter Summary) ───────────────────── */
.ops-node-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 16, 34, 0.96) 0%, rgba(5, 12, 26, 0.80) 100%);
  border-bottom: 1px solid rgba(0, 207, 255, 0.10) !important;
  border-radius: 18px;
  padding: 16px 18px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.16);
}

.ops-node-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.12;
  pointer-events: none;
}

.ops-node-copy {
  position: relative;
  z-index: 1;
}

.ops-node-kicker {
  margin-bottom: 6px;
  color: #00d8ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ops-node-title {
  font-size: 28px !important;
  font-weight: 700;
  background: linear-gradient(135deg, #f0f9ff, #9edcff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -0.05em;
}

.ops-node-sub {
  color: #5f85aa !important;
  font-size: 10px !important;
  margin-top: 5px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ops-node-meta {
  color: #3a5a7a !important;
  font-size: 10.5px !important;
  max-width: 380px;
  line-height: 1.4;
}

.ops-toggle-btn {
  border-color: rgba(0, 207, 255, 0.20) !important;
  background: rgba(0, 207, 255, 0.07) !important;
  color: #7ab8d8 !important;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.ops-toggle-btn:hover {
  border-color: rgba(0, 207, 255, 0.40) !important;
  color: #00cfff !important;
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(0, 207, 255, 0.16) !important;
}

.summary-focus-grid {
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

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

.summary-focus-grid.summary-vm-only .summary-panel-vm {
  width: 100%;
}

.summary-panel {
  position: relative;
  min-height: 100%;
  padding: 18px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(0, 207, 255, 0.12) !important;
  background:
    linear-gradient(180deg, rgba(10, 20, 44, 0.98), rgba(6, 12, 28, 0.98)) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.summary-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.12;
  pointer-events: none;
}

.summary-panel::after {
  content: "";
  position: absolute;
  inset: auto -18% 66% 38%;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 207, 255, 0.16) 0%, rgba(0, 207, 255, 0.04) 48%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

.summary-panel-host::after {
  background: radial-gradient(circle, rgba(0, 230, 118, 0.14) 0%, rgba(0, 230, 118, 0.03) 46%, transparent 72%);
}

.summary-section-header {
  position: relative;
  z-index: 1;
  align-items: flex-start !important;
  margin-bottom: 4px;
}

.summary-section-copy {
  min-width: 0;
}

.summary-section-kicker {
  margin-bottom: 7px;
  color: #77d9ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.summary-section-header .section-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #e6f4ff !important;
  letter-spacing: -0.03em;
}

.summary-section-header .dash-message {
  max-width: 540px;
  margin-top: 6px;
  color: #6889a9 !important;
  font-size: 11px !important;
  line-height: 1.5;
}

.summary-section-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.summary-section-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 207, 255, 0.14);
  background: rgba(0, 207, 255, 0.06);
  color: #9fdcff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.summary-panel-host .summary-section-header {
  margin-bottom: 0;
  gap: 10px;
}

.summary-panel-host .summary-section-kicker {
  margin-bottom: 2px;
  font-size: 9px;
}

.summary-panel-host .summary-section-header .section-title {
  font-size: 15px !important;
  line-height: 1.05;
}

.summary-panel-host .summary-section-header .dash-message {
  max-width: 360px;
  margin-top: 2px;
  font-size: 10px !important;
  line-height: 1.25;
}

.summary-panel-host .summary-section-tags {
  display: none;
}

.summary-panel-host .summary-section-tag {
  min-height: 24px;
  padding: 0 8px;
  font-size: 9px;
}

.summary-panel-host .host-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
}

.ops-shell .summary-panel-host .host-card {
  padding: 10px !important;
  border-radius: 9px !important;
}

.ops-shell .summary-panel-host .host-card-header {
  margin-bottom: 6px;
}

.ops-shell .summary-panel-host .host-ip {
  font-size: 12px;
}

.summary-panel-host .host-sparkline-wrap {
  display: none;
}

.summary-panel-host .host-data-strip {
  gap: 5px;
  padding-bottom: 8px;
  margin-bottom: 0;
}

.summary-panel-host .telemetry-data-point {
  padding: 6px 8px;
  gap: 3px;
}

.summary-panel-host .telemetry-data-point span {
  font-size: 8px;
  letter-spacing: 0.1em;
}

.summary-panel-host .telemetry-data-point strong {
  font-size: 11px;
}

.ops-shell .summary-panel-host .node-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.ops-shell .summary-panel-host .node-item {
  padding: 8px;
  border-radius: 9px;
}

.summary-panel-host .node-item-compact {
  min-height: 0;
}

.summary-panel-host .node-row {
  margin-bottom: 4px;
}

.summary-panel-host .node-name {
  font-size: 11px;
}

.summary-panel-host .node-status-online,
.summary-panel-host .node-status-offline {
  font-size: 9px;
}

.summary-panel-host .node-compact-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.summary-panel-host .node-compact-pill {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #9dc0de;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.summary-panel-host .node-compact-pill.is-muted {
  color: #6f8aa6;
}

.summary-panel-host .node-sparkline-row {
  padding: 0 0 5px;
}

.summary-panel-host .node-sparkline {
  height: 16px;
}

.summary-panel-host .node-bars {
  gap: 4px;
}

.summary-panel-host .node-bar-label,
.summary-panel-host .node-bar-val {
  font-size: 8px !important;
}

.summary-panel-host .node-bar-track {
  height: 2px !important;
}

.summary-panel-host .node-bar-label {
  width: 22px !important;
}

.summary-panel-host .node-bar-val {
  width: 30px !important;
}

.ops-topbar,
.ops-topbar-center,
.ops-topnav {
  overflow: visible;
}

.ops-topbar-center {
  position: relative;
  z-index: 18;
}

.ops-topnav {
  position: relative;
  gap: 2px;
  max-width: min(100%, 940px);
  padding: 6px;
  border-radius: 18px;
  overflow: visible;
}

.ops-topnav-item {
  position: static;
  display: flex;
  align-items: center;
}

.ops-topnav-link {
  position: relative;
  z-index: 2;
  min-height: 34px;
  padding: 0 13px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #9db8d3;
}

.ops-topnav-item:hover > .ops-topnav-link,
.ops-topnav-item:focus-within > .ops-topnav-link {
  color: #f3fbff;
  background: rgba(0, 207, 255, 0.08);
}

.ops-topnav-item.is-active > .ops-topnav-link,
.ops-topnav-link.is-active {
  color: #f7fcff;
  background: linear-gradient(135deg, rgba(0, 96, 204, 0.96), rgba(0, 207, 255, 0.72));
  box-shadow: 0 0 18px rgba(0, 207, 255, 0.18);
}

.ops-topnav-panel {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  z-index: 26;
  width: min(960px, calc(100vw - 72px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 22px 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 18%),
    linear-gradient(180deg, rgba(19, 25, 39, 0.985), rgba(10, 14, 24, 0.985));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.42), 0 12px 28px rgba(0, 0, 0, 0.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
  transition: opacity 0.2s ease, transform 0.22s ease, visibility 0.2s ease;
}

.ops-topnav-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 207, 255, 0), rgba(0, 207, 255, 0.5), rgba(0, 207, 255, 0));
}

.ops-topnav-item:hover .ops-topnav-panel,
.ops-topnav-item:focus-within .ops-topnav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ops-topnav-panel.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ops-topnav-panel.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ops-topnav-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.ops-topnav-column-title {
  color: #f4fbff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-mega-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.ops-mega-link:hover,
.ops-mega-link:focus-visible {
  border-color: rgba(0, 207, 255, 0.22);
  background: rgba(0, 207, 255, 0.08);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.ops-mega-link.is-active {
  border-color: rgba(0, 207, 255, 0.28);
  background: linear-gradient(135deg, rgba(0, 207, 255, 0.12), rgba(0, 96, 204, 0.14));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(0, 207, 255, 0.08);
}

.ops-mega-link-title {
  color: #eef8ff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.ops-mega-link-copy {
  color: #6f8cab;
  font-size: 10.5px;
  line-height: 1.45;
}

.ops-mega-note {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 207, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(0, 207, 255, 0.12), rgba(0, 207, 255, 0) 60%),
    rgba(9, 18, 34, 0.72);
}

.ops-mega-note strong {
  color: #e9f6ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ops-mega-note span {
  color: #7393b4;
  font-size: 10.5px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .ops-topnav {
    gap: 4px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .ops-topnav-item {
    flex: 0 0 auto;
  }

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

  .ops-topnav-panel {
    display: none !important;
  }
}

/* ── Section titles (VM Console, Host Breakdown) ─────────────── */
.ops-shell .section-title {
  font-size: 13px !important;
  font-weight: 600;
  color: #c0d8f0 !important;
  letter-spacing: 0.02em;
}

.ops-shell .dash-message {
  color: #3a5a7a !important;
  font-size: 10.5px !important;
}

/* Sidebar */
.tree-item.is-active { border-left-color: #00cfff; color: #00cfff; background: rgba(0, 207, 255, 0.09); }
.tree-item:hover { color: #d0e8ff; background: rgba(255, 255, 255, 0.04); }

/* ═══════════════════════════════════════════════════════════════
   ③ METRIC CARDS — Full redesign
   ═══════════════════════════════════════════════════════════════ */

.ops-shell .metric-grid {
  gap: 12px !important;
}

.ops-shell .metric-card {
  padding: 16px !important;
  border-radius: 14px !important;
  background: linear-gradient(155deg, rgba(10, 20, 44, 0.97), rgba(6, 12, 28, 0.97)) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
  box-shadow: none !important;
}

/* Colored top bar */
.ops-shell .metric-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--mc, #00cfff);
  opacity: 0.55;
  border-radius: 14px 14px 0 0;
  pointer-events: none;
}

/* Corner glow blob */
.ops-shell .metric-card::after {
  content: "";
  position: absolute;
  top: -24px; right: -24px;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--mc, #00cfff);
  opacity: 0.06;
  filter: blur(18px);
  pointer-events: none;
}

.ops-shell .metric-card:hover {
  border-color: var(--mc, rgba(0, 207, 255, 0.35)) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28), 0 0 28px var(--mc-glow, rgba(0, 207, 255, 0.14)) !important;
  transform: translateY(-2px);
}

.ops-shell .metric-card.heat-cool {
  border-color: rgba(0, 230, 118, 0.16) !important;
}

.ops-shell .metric-card.heat-warm {
  border-color: rgba(255, 209, 102, 0.18) !important;
}

.ops-shell .metric-card.heat-hot {
  border-color: rgba(255, 159, 26, 0.2) !important;
}

.ops-shell .metric-card.heat-critical {
  border-color: rgba(255, 82, 82, 0.22) !important;
}

.ops-shell .metric-card.heat-idle {
  border-color: rgba(96, 122, 150, 0.14) !important;
}

.ops-shell .metric-card.is-na::before  { opacity: 0.14; background: #2e4060; }
.ops-shell .metric-card.is-na::after   { display: none; }
.ops-shell .metric-card.is-na:hover    { border-color: rgba(255,255,255,0.10) !important; box-shadow: 0 8px 24px rgba(0,0,0,0.22) !important; }

/* Header row */
.ops-shell .metric-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
}

.ops-shell .metric-label {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #4a6a8a !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

.ops-shell .metric-symbol {
  color: var(--mc, #00cfff);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.metric-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.7);
  flex-shrink: 0;
  animation: siPulse 2.2s ease-in-out infinite;
}

.metric-na-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #3d5570;
  font-size: 9px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Big value number */
.ops-shell .metric-value {
  color: var(--mc, #00cfff) !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -0.05em !important;
  margin-bottom: 12px !important;
  text-shadow: 0 0 24px var(--mc-glow, rgba(0, 207, 255, 0.30)) !important;
}

.ops-shell .metric-card.is-na .metric-value {
  color: #3d5878 !important;
  text-shadow: none !important;
  font-size: 32px !important;
  opacity: 0.8;
}

/* Progress bar */
.ops-shell .metric-bar-wrap {
  height: 3px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  margin-bottom: 10px !important;
  overflow: hidden;
  flex-shrink: 0;
}

.ops-shell .metric-bar {
  height: 100% !important;
  min-width: 3px !important;
  border-radius: 999px !important;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 0 6px currentColor;
}

.ops-shell .metric-card.is-na .metric-bar-wrap { opacity: 0.10; }
.ops-shell .metric-card.is-na .metric-bar      { width: 0 !important; }

.metric-sparkline-wrap {
  margin: 10px 0 8px;
  min-height: 30px;
}

.sparkline {
  width: 100%;
  height: 30px;
  display: block;
  overflow: visible;
}

.sparkline-line {
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px currentColor);
}

.sparkline-dot {
  filter: drop-shadow(0 0 6px currentColor);
}

/* Sub text */
.ops-shell .metric-copy, .metric-copy {
  color: #3a5a7a !important;
  font-size: 10.5px !important;
  line-height: 1.4;
  margin-top: auto;
}

/* ═══════════════════════════════════════════════════════════════
   ④ VM CARDS — Full redesign with status colors
   ═══════════════════════════════════════════════════════════════ */

.ops-shell .vm-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 12px !important;
}

.ops-shell .vm-card {
  position: relative;
  padding: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(10, 20, 44, 0.97), rgba(6, 12, 28, 0.97)) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-left: 3px solid rgba(255, 255, 255, 0.10) !important;
  overflow: hidden;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}

.ops-shell .vm-card::before,
.ops-shell .host-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.12;
  pointer-events: none;
}

/* Running VM — green left accent */
.ops-shell .vm-card[data-status="running"] {
  border-left-color: #00e676 !important;
}

.ops-shell .vm-card.heat-cool {
  box-shadow: inset 0 0 0 1px rgba(0, 230, 118, 0.04);
}

.ops-shell .vm-card.heat-warm {
  border-left-color: #ffd166 !important;
}

.ops-shell .vm-card.heat-hot {
  border-left-color: #ff9f1a !important;
  box-shadow: 0 0 0 1px rgba(255, 159, 26, 0.08);
}

.ops-shell .vm-card.heat-critical {
  border-left-color: #ff5252 !important;
  box-shadow: 0 0 0 1px rgba(255, 82, 82, 0.1), 0 0 20px rgba(255, 82, 82, 0.06);
}

.ops-shell .vm-card.heat-idle {
  border-left-color: rgba(96, 122, 150, 0.38) !important;
}

.ops-shell .vm-card[data-status="running"]:hover {
  border-color: rgba(0, 230, 118, 0.26) !important;
  border-left-color: #00e676 !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24), 0 0 20px rgba(0, 230, 118, 0.08), -4px 0 16px rgba(0, 230, 118, 0.12) !important;
  transform: translateX(2px);
}

/* Stopped VM — muted left accent */
.ops-shell .vm-card[data-status="stopped"] {
  border-left-color: rgba(255, 82, 82, 0.40) !important;
  opacity: 0.82;
}

.ops-shell .vm-card[data-status="stopped"]:hover {
  border-color: rgba(255, 82, 82, 0.20) !important;
  border-left-color: rgba(255, 82, 82, 0.55) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20) !important;
  opacity: 1;
  transform: translateX(2px);
}

/* Card top section */
.ops-shell .vm-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 13px 14px 10px !important;
}

.vm-card-info { min-width: 0; }

.telemetry-data-point {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 12, 24, 0.72);
}

.telemetry-data-point span {
  color: #456482;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.telemetry-data-point strong {
  color: #e8f5ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.host-card-copy {
  min-width: 0;
  flex: 1;
}

.host-sparkline-wrap {
  margin-top: 10px;
  max-width: 180px;
}

.host-data-strip,
.vm-data-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 12px;
}

.host-data-strip {
  padding: 0 0 14px;
  margin-bottom: 2px;
}

.node-sparkline-row,
.vm-sparkline-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 12px;
}

.node-sparkline-row {
  padding: 0 0 10px;
}

.node-sparkline-wrap,
.vm-sparkline-wrap {
  flex: 1;
  min-width: 0;
}

.node-sparkline-copy,
.vm-sparkline-copy {
  color: #4e6c8a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ops-shell .vm-name {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #c8e0f8 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ops-shell .vm-meta {
  font-size: 10px !important;
  color: #3a5a7a !important;
  margin-top: 2px !important;
  font-family: "JetBrains Mono", monospace;
}

/* Status badge */
.ops-shell .badge {
  flex-shrink: 0;
  font-size: 10px !important;
  padding: 3px 9px !important;
  letter-spacing: 0.04em !important;
}

.ops-shell .badge-green {
  background: rgba(0, 230, 118, 0.12) !important;
  color: #00e676 !important;
  border: 1px solid rgba(0, 230, 118, 0.25);
}

.ops-shell .badge-red {
  background: rgba(255, 82, 82, 0.10) !important;
  color: #ff7070 !important;
  border: 1px solid rgba(255, 82, 82, 0.22);
}

/* Progress bars area */
.ops-shell .vm-bars {
  position: relative;
  z-index: 1;
  padding: 0 14px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.ops-shell .node-bar-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.ops-shell .node-bar-label {
  font-size: 9.5px !important;
  font-weight: 600 !important;
  color: #3a5a7a !important;
  width: 28px !important;
  letter-spacing: 0.06em !important;
}

.ops-shell .node-bar-track {
  flex: 1 !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  overflow: hidden;
}

.ops-shell .node-bar-fill {
  height: 100% !important;
  border-radius: 999px !important;
  min-width: 3px !important;
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.ops-shell .node-bar-fill          { background: #00cfff !important; box-shadow: 0 0 6px rgba(0, 207, 255, 0.5); }
.ops-shell .node-bar-fill.amber    { background: #ffb31a !important; box-shadow: 0 0 6px rgba(255, 179, 26, 0.5); }
.ops-shell .node-bar-fill.red      { background: #ff5252 !important; box-shadow: 0 0 6px rgba(255, 82, 82, 0.6); }

.ops-shell .node-bar-val {
  font-size: 9.5px !important;
  font-weight: 600 !important;
  color: #5a7a9a !important;
  width: 40px !important;
  text-align: right !important;
  font-family: "JetBrains Mono", monospace;
}

/* VM Footer (type + button) */
.ops-shell .vm-footer {
  position: relative;
  z-index: 1;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 14px 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
  margin-top: 2px;
}

.ops-shell .vm-type {
  font-size: 9px !important;
  color: #2e4560 !important;
  letter-spacing: 0.12em !important;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase !important;
}

/* Console button — running */
.ops-shell .btn-console {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  padding: 6px 14px !important;
  border-radius: 7px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.ops-shell a.btn-console {
  background: rgba(0, 207, 255, 0.12) !important;
  border: 1px solid rgba(0, 207, 255, 0.28) !important;
  color: #00cfff !important;
}

.ops-shell a.btn-console:hover {
  background: rgba(0, 207, 255, 0.22) !important;
  border-color: rgba(0, 207, 255, 0.50) !important;
  transform: scale(1.04) translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 207, 255, 0.28);
}

/* Console button — offline */
.ops-shell .btn-console.is-disabled {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  color: #2e4060 !important;
  cursor: default;
}

/* VM console cards: light glass frame, matching the console preview reference */
.ops-shell .vm-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr)) !important;
  gap: 18px !important;
}

.ops-shell .vm-card,
.ops-shell .vm-card[data-status="running"],
.ops-shell .vm-card[data-status="stopped"],
.ops-shell .vm-card.heat-cool,
.ops-shell .vm-card.heat-warm,
.ops-shell .vm-card.heat-hot,
.ops-shell .vm-card.heat-critical,
.ops-shell .vm-card.heat-idle {
  position: relative;
  padding: 28px 30px 30px !important;
  border-radius: 28px !important;
  border: 1px solid rgba(178, 211, 255, 0.78) !important;
  border-left: 1px solid rgba(178, 211, 255, 0.78) !important;
  background:
    linear-gradient(135deg, rgba(239, 248, 255, 0.92) 0%, rgba(209, 233, 255, 0.80) 46%, rgba(245, 250, 255, 0.88) 100%),
    rgba(231, 244, 255, 0.86) !important;
  color: #10336a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36),
    0 20px 44px rgba(32, 99, 180, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.20) !important;
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  opacity: 1;
  overflow: hidden;
  transform: none;
}

.ops-shell .vm-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 4%, rgba(80, 173, 255, 0.24), transparent 32%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.42), transparent 34%, rgba(255, 255, 255, 0.18) 78%, transparent);
  background-size: auto;
  opacity: 1;
  pointer-events: none;
}

.ops-shell .vm-card::after {
  content: "";
  position: absolute;
  right: -54px;
  top: -54px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  border: 1px solid rgba(76, 151, 255, 0.18);
  box-shadow: inset 0 0 40px rgba(82, 168, 255, 0.12);
  pointer-events: none;
}

.ops-shell .vm-card:hover,
.ops-shell .vm-card[data-status="running"]:hover,
.ops-shell .vm-card[data-status="stopped"]:hover {
  border-color: rgba(115, 170, 255, 0.96) !important;
  border-left-color: rgba(115, 170, 255, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.90),
    0 24px 54px rgba(32, 99, 180, 0.24),
    0 0 0 1px rgba(105, 164, 255, 0.22) !important;
  transform: translateY(-2px);
}

.ops-shell .vm-console-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.ops-shell .vm-console-title {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  color: #082c66;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.ops-shell .vm-console-icon {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 48px;
  height: 42px;
  flex: 0 0 48px;
  color: #1267ee;
}

.ops-shell .vm-console-icon-screen {
  width: 38px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(180deg, #1276ff, #055de0);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.82), 0 6px 14px rgba(31, 102, 214, 0.28);
}

.ops-shell .vm-console-icon-stand {
  width: 30px;
  height: 10px;
  margin-top: 3px;
  border-bottom: 5px solid currentColor;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

.ops-shell .vm-live-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  min-width: 130px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(135, 188, 255, 0.48);
  background: rgba(235, 247, 255, 0.62);
  color: #315285;
  font-size: 21px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 18px rgba(45, 118, 210, 0.10);
}

.ops-shell .vm-live-pill.is-offline {
  color: #8a5270;
}

.ops-shell .vm-live-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #82dd72;
  box-shadow: 0 0 14px rgba(73, 211, 91, 0.42);
}

.ops-shell .vm-live-pill.is-offline .vm-live-dot {
  background: #ff7d8c;
  box-shadow: 0 0 14px rgba(255, 100, 126, 0.32);
}

.ops-shell .vm-console-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(260px, 1.05fr);
  align-items: stretch;
  gap: 30px;
}

.ops-shell .vm-console-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  border-radius: 9px;
  border: 1px solid rgba(47, 88, 132, 0.62);
  background:
    linear-gradient(180deg, rgba(15, 35, 68, 0.90), rgba(4, 13, 30, 0.96)),
    #061426;
  box-shadow: 0 10px 22px rgba(23, 67, 130, 0.28);
  overflow: hidden;
}

.ops-shell .vm-preview-toolbar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 10px;
  background: rgba(8, 22, 44, 0.92);
  border-bottom: 1px solid rgba(102, 148, 194, 0.16);
}

.ops-shell .vm-preview-toolbar span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(150, 190, 230, 0.56);
}

.ops-shell .vm-console-preview-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: #050b16;
}

.ops-shell .vm-console-preview-stage canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  image-rendering: auto;
}

.ops-shell .vm-console-preview-status,
.ops-shell .vm-console-preview-off {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px;
  color: #9edcff;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1.45;
}

.ops-shell .vm-console-preview-status::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: #67f0a2;
  box-shadow: 0 0 12px rgba(103, 240, 162, 0.56);
}

.ops-shell .vm-console-preview-status.is-error {
  color: #ff9aac;
}

.ops-shell .vm-console-preview-status.is-error::before,
.ops-shell .vm-console-preview.is-off-preview .vm-preview-toolbar span {
  background: #ff7588;
  box-shadow: 0 0 12px rgba(255, 117, 136, 0.38);
}

.ops-shell .vm-console-preview-off {
  min-height: 100%;
  color: #ffb7c4;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.ops-shell .vm-console-preview.is-console-connected .vm-preview-toolbar span {
  background: #67f0a2;
  box-shadow: 0 0 10px rgba(103, 240, 162, 0.46);
}

.ops-shell .vm-console-spec {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.ops-shell .vm-console-vmname {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(65, 137, 255, 0.18);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.ops-shell .vm-console-vmname span {
  display: block;
  margin-bottom: 6px;
  color: #456c9d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.ops-shell .vm-console-vmname strong {
  display: block;
  color: #0f3f82;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ops-shell .vm-spec-grid {
  display: grid;
  grid-template-columns: minmax(84px, 0.72fr) minmax(0, 1fr);
  column-gap: 22px;
  row-gap: 14px;
  align-items: center;
}

.ops-shell .vm-spec-grid span {
  color: #345c92;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.12;
}

.ops-shell .vm-spec-grid strong {
  min-width: 0;
  color: #1d4a85;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.12;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-shell .vm-status-value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ops-shell .vm-status-dot {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border-radius: 999px;
  background: #58d762;
  box-shadow: 0 0 11px rgba(80, 216, 95, 0.44);
}

.ops-shell .vm-status-value.is-stopped .vm-status-dot {
  background: #ff7588;
  box-shadow: 0 0 11px rgba(255, 100, 126, 0.34);
}

.ops-shell .btn-console.vm-console-open,
.ops-shell a.btn-console.vm-console-open,
.ops-shell .btn-console.vm-console-open.is-disabled {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
  min-height: 68px !important;
  padding: 0 26px !important;
  border-radius: 12px !important;
  border: 3px solid rgba(65, 137, 255, 0.66) !important;
  background: rgba(242, 249, 255, 0.58) !important;
  color: #1b72ee !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 9px 18px rgba(49, 113, 205, 0.12);
}

.ops-shell a.btn-console.vm-console-open:hover {
  background: rgba(255, 255, 255, 0.78) !important;
  border-color: rgba(31, 112, 255, 0.92) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 14px 26px rgba(49, 113, 205, 0.20);
  transform: translateY(-1px);
}

.ops-shell .btn-console.vm-console-open span {
  font-size: 28px;
  line-height: 1;
}

.ops-shell .btn-console.vm-console-open.is-disabled {
  color: #7d91ad !important;
  border-color: rgba(130, 154, 190, 0.46) !important;
  cursor: default;
}

.ops-shell .vm-power-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.ops-shell .vm-power-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(65, 137, 255, 0.24);
  background: rgba(255, 255, 255, 0.52);
  color: #22528d;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 16px rgba(49, 113, 205, 0.10);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ops-shell .vm-power-btn:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 12px 22px rgba(49, 113, 205, 0.16);
}

.ops-shell .vm-power-btn.success {
  border-color: rgba(55, 198, 102, 0.42);
  background: rgba(232, 255, 239, 0.76);
  color: #148240;
}

.ops-shell .vm-power-btn.danger {
  border-color: rgba(255, 100, 126, 0.38);
  background: rgba(255, 239, 244, 0.78);
  color: #b83352;
}

.ops-shell .vm-power-btn:disabled {
  opacity: 0.58;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.ops-shell .vm-view-mode-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  align-self: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  margin: -2px 0 14px;
  padding: 5px;
  border-radius: 12px;
  border: 1px solid rgba(65, 137, 255, 0.18);
  background: rgba(229, 244, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.ops-shell .vm-view-mode-btn {
  min-height: 32px;
  padding: 0 13px;
  border-radius: 8px;
  color: #41699d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.ops-shell .vm-view-mode-btn:hover {
  color: #0f55bc;
  background: rgba(255, 255, 255, 0.54);
  transform: translateY(-1px);
}

.ops-shell .vm-view-mode-btn.is-active {
  color: #f7fbff;
  background: linear-gradient(135deg, #1666e8, #36a7ff);
  box-shadow: 0 8px 18px rgba(40, 112, 210, 0.18);
}

.ops-shell .vm-view-search {
  width: min(260px, 38vw);
  min-height: 32px;
  margin-left: 4px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid rgba(65, 137, 255, 0.20);
  background: rgba(255, 255, 255, 0.62);
  color: #174987;
  font-size: 12px;
  font-weight: 700;
  outline: none;
}

.ops-shell .vm-view-search::placeholder {
  color: rgba(65, 105, 157, 0.62);
}

.ops-shell .vm-view-search:focus {
  border-color: rgba(31, 112, 255, 0.58);
  box-shadow: 0 0 0 3px rgba(31, 112, 255, 0.12);
}

.ops-shell .vm-runtime-grid.is-card-view {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
  gap: 12px !important;
}

.ops-shell .vm-runtime-card,
.ops-shell .vm-runtime-row,
.ops-shell .vm-board-item,
.ops-shell .vm-wall-tile {
  border: 1px solid rgba(147, 185, 240, 0.42);
  background: rgba(245, 251, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 10px 24px rgba(50, 101, 178, 0.10);
}

.ops-shell .vm-runtime-card {
  display: flex;
  min-width: 0;
  min-height: 210px;
  flex-direction: column;
  gap: 10px;
  padding: 13px;
  border-radius: 14px;
}

.ops-shell .vm-runtime-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
}

.ops-shell .vm-runtime-name,
.ops-shell .vm-runtime-list-name,
.ops-shell .vm-board-name {
  min-width: 0;
  padding: 0;
  color: #0f3f82;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ops-shell .vm-runtime-name {
  font-size: 15px;
}

.ops-shell .vm-runtime-list-name,
.ops-shell .vm-board-name {
  font-size: 14px;
}

.ops-shell .vm-runtime-meta,
.ops-shell .vm-runtime-list-meta,
.ops-shell .vm-board-meta {
  color: #5679a8;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
}

.ops-shell .vm-runtime-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #486a98;
  font-size: 11px;
  font-weight: 800;
}

.ops-shell .vm-runtime-status span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff7588;
  box-shadow: 0 0 8px rgba(255, 117, 136, 0.34);
}

.ops-shell .vm-runtime-status.is-running {
  color: #148240;
}

.ops-shell .vm-runtime-status.is-running span {
  background: #58d762;
  box-shadow: 0 0 8px rgba(80, 216, 95, 0.42);
}

.ops-shell .vm-runtime-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.ops-shell .vm-runtime-stats div {
  min-width: 0;
  padding: 9px;
  border-radius: 10px;
  background: rgba(217, 238, 255, 0.58);
}

.ops-shell .vm-runtime-stats span,
.ops-shell .vm-runtime-list-stat small {
  display: block;
  color: #5d7da6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-shell .vm-runtime-stats strong,
.ops-shell .vm-runtime-list-stat {
  color: #174987;
  font-size: 13px;
  font-weight: 800;
}

.ops-shell .vm-runtime-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.ops-shell .vm-summary-console {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(65, 137, 255, 0.34);
  background: rgba(255, 255, 255, 0.58);
  color: #1b72ee;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.ops-shell .vm-summary-console.is-disabled {
  color: #8293ad;
  border-color: rgba(130, 154, 190, 0.36);
}

.ops-shell .vm-power-btn.compact {
  min-height: 36px;
  font-size: 12px;
}

.ops-shell .vm-runtime-grid.is-list-view {
  display: block !important;
}

.ops-shell .vm-runtime-list {
  display: grid;
  gap: 8px;
}

.ops-shell .vm-runtime-row {
  display: grid;
  grid-template-columns: 118px minmax(220px, 1.5fr) minmax(120px, 0.8fr) minmax(92px, 0.6fr) minmax(104px, 0.7fr) minmax(190px, 0.9fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
}

.ops-shell .vm-runtime-row-head {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #6180a6;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ops-shell .vm-runtime-list-stat small {
  margin-top: 2px;
}

.ops-shell .vm-runtime-grid.is-board-view {
  display: block !important;
}

.ops-shell .vm-runtime-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ops-shell .vm-board-column {
  min-width: 0;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(147, 185, 240, 0.36);
  background: rgba(229, 244, 255, 0.38);
}

.ops-shell .vm-board-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #173f79;
}

.ops-shell .vm-board-column-head strong {
  font-size: 14px;
  font-weight: 900;
}

.ops-shell .vm-board-column-head span {
  min-width: 28px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #41699d;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.ops-shell .vm-board-items {
  display: grid;
  gap: 8px;
}

.ops-shell .vm-board-item {
  display: grid;
  gap: 7px;
  padding: 10px;
  border-radius: 12px;
}

.ops-shell .vm-board-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ops-shell .vm-board-stats span {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(217, 238, 255, 0.70);
  color: #25578f;
  font-size: 11px;
  font-weight: 800;
}

.ops-shell .vm-board-empty {
  padding: 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.34);
  color: #7790b0;
  text-align: center;
}

.ops-shell .vm-runtime-grid.is-wall-view {
  display: block !important;
}

.ops-shell .vm-runtime-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
}

.ops-shell .vm-wall-tile {
  position: relative;
  min-width: 0;
  min-height: 62px;
  padding: 8px 7px 7px;
  border-radius: 10px;
  border-left-width: 5px;
  text-align: left;
  overflow: hidden;
}

.ops-shell .vm-wall-tile[data-status="running"] {
  border-left-color: #58d762;
}

.ops-shell .vm-wall-tile[data-status="stopped"] {
  border-left-color: #ff7588;
}

.ops-shell .vm-wall-tile span {
  display: block;
  color: #4c6f9c;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 900;
}

.ops-shell .vm-wall-tile strong {
  display: -webkit-box;
  margin-top: 4px;
  color: #123f80;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.ops-shell .vm-console-meta {
  color: rgba(52, 92, 146, 0.72);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .ops-shell .vm-card,
  .ops-shell .vm-card[data-status="running"],
  .ops-shell .vm-card[data-status="stopped"] {
    padding: 22px 18px 20px !important;
    border-radius: 22px !important;
  }

  .ops-shell .vm-console-head,
  .ops-shell .vm-console-body {
    gap: 18px;
  }

  .ops-shell .vm-console-title {
    font-size: 22px;
    gap: 12px;
  }

  .ops-shell .vm-console-icon {
    width: 40px;
    height: 36px;
    flex-basis: 40px;
  }

  .ops-shell .vm-console-icon-screen {
    width: 32px;
    height: 24px;
  }

  .ops-shell .vm-live-pill {
    min-width: 94px;
    min-height: 40px;
    padding: 0 16px;
    font-size: 16px;
  }

  .ops-shell .vm-console-body {
    grid-template-columns: 1fr;
  }

  .ops-shell .vm-console-preview {
    min-height: 170px;
  }

  .ops-shell .vm-spec-grid span,
  .ops-shell .vm-spec-grid strong {
    font-size: 16px;
  }

  .ops-shell .vm-console-vmname strong {
    font-size: 18px;
  }

  .ops-shell .btn-console.vm-console-open,
  .ops-shell a.btn-console.vm-console-open,
  .ops-shell .btn-console.vm-console-open.is-disabled {
    min-height: 56px !important;
    padding: 0 18px !important;
    border-width: 2px !important;
    font-size: 18px !important;
  }

  .ops-shell .vm-view-mode-bar {
    width: 100%;
    overflow-x: auto;
  }

  .ops-shell .vm-view-mode-btn {
    flex: 1 0 auto;
  }

  .ops-shell .vm-view-search {
    width: 100%;
    flex: 1 0 100%;
    margin-left: 0;
  }

  .ops-shell .vm-runtime-row,
  .ops-shell .vm-runtime-row-head {
    grid-template-columns: 88px minmax(150px, 1fr);
  }

  .ops-shell .vm-runtime-row > :nth-child(n+3),
  .ops-shell .vm-runtime-row-head > :nth-child(n+3) {
    display: none;
  }

  .ops-shell .vm-runtime-board {
    grid-template-columns: 1fr;
  }

  .ops-shell .vm-runtime-grid.is-card-view {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
  }
}

/* Host cards */
.ops-shell .host-card {
  position: relative;
  border-radius: 12px !important;
  background: linear-gradient(155deg, rgba(10, 20, 44, 0.97), rgba(6, 12, 28, 0.97)) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
  padding: 16px !important;
}

.ops-shell .host-card.heat-cool {
  border-color: rgba(0, 230, 118, 0.14) !important;
}

.ops-shell .host-card.heat-warm {
  border-color: rgba(255, 209, 102, 0.16) !important;
}

.ops-shell .host-card.heat-hot {
  border-color: rgba(255, 159, 26, 0.18) !important;
}

.ops-shell .host-card.heat-critical {
  border-color: rgba(255, 82, 82, 0.2) !important;
}

.ops-shell .host-card:hover {
  border-color: rgba(0, 207, 255, 0.24) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20), 0 0 16px rgba(0, 207, 255, 0.07) !important;
  transform: translateY(-2px);
}

.ops-shell .host-card-header,
.ops-shell .node-list {
  position: relative;
  z-index: 1;
}

.ops-shell .host-card-header {
  margin-bottom: 12px;
}

.ops-shell .host-ip {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.ops-shell .node-list {
  gap: 10px;
}

.ops-shell .node-item {
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(5, 12, 24, 0.82), rgba(8, 16, 30, 0.78));
  border: 1px solid rgba(0, 207, 255, 0.08);
}

.ops-shell .node-item.heat-cool {
  border-color: rgba(0, 230, 118, 0.14);
  box-shadow: inset 0 0 0 1px rgba(0, 230, 118, 0.02);
}

.ops-shell .node-item.heat-warm {
  border-color: rgba(255, 209, 102, 0.16);
}

.ops-shell .node-item.heat-hot {
  border-color: rgba(255, 159, 26, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 159, 26, 0.04);
}

.ops-shell .node-item.heat-critical {
  border-color: rgba(255, 82, 82, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 82, 82, 0.06), 0 0 18px rgba(255, 82, 82, 0.06);
}

.ops-shell .node-item.heat-idle {
  border-color: rgba(96, 122, 150, 0.16);
}

.ops-shell .host-card.is-error {
  border-color: rgba(255, 82, 82, 0.18) !important;
}

.ops-shell .vm-empty {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px !important;
}

/* ═══════════════════════════════════════════════════════════════
   ⑤ CHERRY ASSISTANT PANEL
   ═══════════════════════════════════════════════════════════════ */

.assistant-card {
  background:
    radial-gradient(ellipse at top right, rgba(0, 150, 255, 0.16) 0%, rgba(0, 80, 200, 0.03) 32%, transparent 56%),
    linear-gradient(180deg, rgba(7, 15, 30, 0.99) 0%, rgba(4, 9, 18, 0.99) 100%);
  border: 1px solid rgba(0, 207, 255, 0.20);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.32), 0 0 44px rgba(0, 150, 255, 0.07);
  min-height: 0;
  height: min(820px, calc(100vh - 70px));
}

.assistant-hero {
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(0, 207, 255, 0.10);
  background: linear-gradient(180deg, rgba(8, 18, 40, 0.94) 0%, rgba(5, 12, 26, 0.80) 100%);
  flex-shrink: 0;
}

.assistant-header {
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 0 !important;
}

/* Avatar */
.assistant-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 74px; height: 74px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.assistant-avatar-wrap img {
  width: 74px; height: 74px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 14px rgba(0, 207, 255, 0.88))
    drop-shadow(0 0 30px rgba(0, 100, 255, 0.42));
  animation: cherryFloat 5.2s ease-in-out infinite;
  position: relative; z-index: 1;
}

.assistant-avatar-glow {
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 58px; height: 10px;
  background: radial-gradient(ellipse, rgba(0, 207, 255, 0.68) 0%, transparent 70%);
  filter: blur(6px);
  animation: baseBreath 4s ease-in-out infinite alternate;
}

.assistant-header-copy { flex: 1; min-width: 0; }

.assistant-kicker {
  color: #00cfff;
  font-weight: 700; letter-spacing: 0.16em; font-size: 9.5px;
}

.assistant-title {
  margin-top: 4px; font-size: 18px; line-height: 1.18;
  background: linear-gradient(135deg, #f0f9ff, #a8d8ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  max-width: none;
}

.assistant-subtitle { margin-top: 5px; color: #3d5a78; font-size: 10px; line-height: 1.4; }
.assistant-presence  { margin-top: 8px; color: #3d5878; font-size: 10.5px; line-height: 1.55; }

/* Stats strip — 3 equal cols */
.assistant-summary-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px;
  margin-top: 10px;
}

.assistant-summary-tile {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(6, 14, 30, 0.80);
  border: 1px solid rgba(0, 207, 255, 0.10);
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
}

.assistant-summary-tile.wide { flex-direction: column !important; justify-content: flex-start; }

.assistant-summary-tile span {
  display: block;
  color: #3d5878; font-size: 9px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}

.assistant-summary-tile strong {
  display: block; margin-top: 4px !important;
  font-size: 16px !important; font-weight: 700; color: #eef8ff; text-align: left;
}

.assistant-summary-tile.wide strong {
  font-size: 11px !important; color: #9edcff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}

/* Quick prompts */
.assistant-quick-prompts { margin-top: 10px; gap: 6px; }

.assistant-quick-prompt {
  min-height: 28px; padding: 0 10px; font-size: 10.5px;
  background: rgba(0, 207, 255, 0.07);
  border: 1px solid rgba(0, 207, 255, 0.16);
  color: #9edcff;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.assistant-quick-prompt:not(:disabled):hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(0, 207, 255, 0.18);
  border-color: rgba(0, 207, 255, 0.42);
  box-shadow: 0 6px 24px rgba(0, 207, 255, 0.22);
}

.assistant-hologram { display: none !important; }

/* Chat */
.assistant-chat-container { background: linear-gradient(180deg, rgba(3, 8, 18, 0.30) 0%, rgba(2, 6, 14, 0.70) 100%); }

.assistant-card .chat-bubble { animation: bubbleIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

.assistant-card .chat-bubble.assistant {
  background: linear-gradient(155deg, rgba(12, 26, 56, 0.98), rgba(8, 18, 42, 0.98));
  border: 1px solid rgba(0, 207, 255, 0.18); color: #d9ecff;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
}

.assistant-card .chat-bubble.user {
  background: linear-gradient(135deg, #0060cc, #00a8ff);
  color: #fff; font-weight: 500;
  border-bottom-right-radius: 2px;
  box-shadow: 0 8px 28px rgba(0, 140, 255, 0.48);
}

.assistant-typing-dots span { background: #00cfff; box-shadow: 0 0 12px rgba(0, 207, 255, 0.65); }

.assistant-input-area { border-top: 1px solid rgba(0, 207, 255, 0.10); }

.assistant-input-area input:focus {
  border-color: rgba(0, 207, 255, 0.48);
  box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.08), 0 0 20px rgba(0, 207, 255, 0.06);
}

.assistant-input-area button {
  background: linear-gradient(135deg, #0060cc, #00a8ff);
  border: 1px solid rgba(0, 207, 255, 0.40); color: #fff;
  box-shadow: 0 6px 22px rgba(0, 140, 255, 0.44);
}
.assistant-input-area button:not(:disabled):hover {
  box-shadow: 0 10px 30px rgba(0, 180, 255, 0.58);
  filter: brightness(1.1); transform: translateY(-1px) scale(1.05);
}

.assistant-status-dot { animation: liveBeat 2.2s ease-in-out infinite; }

@keyframes liveBeat {
  0%, 100% { box-shadow: 0 0  6px rgba(0, 230, 118, 0.55); }
  50%       { box-shadow: 0 0 20px rgba(0, 230, 118, 1.0), 0 0 32px rgba(0, 230, 118, 0.38); }
}

.assistant-header-btn:hover { border-color: rgba(0, 207, 255, 0.30); color: #9edcff; box-shadow: 0 0 18px rgba(0, 207, 255, 0.15); }
.assistant-resize-grip { background: linear-gradient(180deg, #00cfff, rgba(0, 80, 220, 0.88)); box-shadow: 0 0 22px rgba(0, 207, 255, 0.30); }

/* Side card */
.side-card { border-radius: 12px; background: linear-gradient(155deg, rgba(10, 20, 44, 0.97), rgba(6, 12, 28, 0.97)); }

/* Expanded */
.ops-shell.assistant-expanded .assistant-avatar-wrap { width: 96px; height: 96px; }
.ops-shell.assistant-expanded .assistant-avatar-wrap img { width: 96px; height: 96px; }
.ops-shell.assistant-expanded .assistant-title { font-size: 22px; }

/* ═══════════════════════════════════════════════════════════════
   ⑥ GLOBAL POLISH
   ═══════════════════════════════════════════════════════════════ */

.si-dot     { animation: siPulse 2.4s ease-in-out infinite; }
.tree-dot   { animation: siPulse 2.4s ease-in-out infinite 0.4s; }
.strip-dot  { animation: siPulse 2.4s ease-in-out infinite 0.8s; }
.status-dot { animation: siPulse 2.4s ease-in-out infinite 1.2s; }

@keyframes siPulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0  6px currentColor; }
  50%       { opacity: 0.8; box-shadow: 0 0 14px currentColor; }
}

/* Scrollbars */
.assistant-messages::-webkit-scrollbar,
.login-help-messages::-webkit-scrollbar,
.ops-sidebar::-webkit-scrollbar,
.ops-rightbar::-webkit-scrollbar,
.ops-main::-webkit-scrollbar { width: 4px; }

.assistant-messages::-webkit-scrollbar-track,
.login-help-messages::-webkit-scrollbar-track,
.ops-sidebar::-webkit-scrollbar-track,
.ops-rightbar::-webkit-scrollbar-track,
.ops-main::-webkit-scrollbar-track { background: transparent; }

.assistant-messages::-webkit-scrollbar-thumb,
.login-help-messages::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0, 207, 255, 0.45), rgba(0, 80, 220, 0.32));
  border-radius: 4px;
}
.ops-sidebar::-webkit-scrollbar-thumb,
.ops-rightbar::-webkit-scrollbar-thumb,
.ops-main::-webkit-scrollbar-thumb {
  background: rgba(0, 207, 255, 0.10); border-radius: 4px;
}

/* Responsive */
@media (max-width: 960px) { .char-img { width: 230px; } }
@media (max-width: 720px) { .char-img { width: 180px; } }

@media (max-width: 1120px) {
  .summary-focus-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 820px) {
  .summary-section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .summary-section-tags {
    justify-content: flex-start;
  }

  .host-data-strip,
  .vm-data-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .node-sparkline-row,
  .vm-sparkline-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ops-shell .summary-panel-host .node-list {
    grid-template-columns: 1fr;
  }
}

/* Cherry UI Parts chatbox */
.cherry-support-widget,
.assistant-card {
  --cherry-card-bg: #031a37;
  --cherry-card-bg-2: #05102a;
  --cherry-border: rgba(0, 142, 255, 0.62);
  --cherry-blue: #1597ff;
  --cherry-cyan: #21d2ff;
  --cherry-green: #10e88a;
  --cherry-text: #eaf6ff;
  --cherry-muted: #7fa5ca;
}

.cherrydeskx-auth-main {
  grid-template-columns: minmax(700px, 1180px) !important;
  align-items: center !important;
  justify-items: center !important;
}

.cherrydeskx-login-card {
  width: min(100%, 1180px) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  padding: 0 !important;
  gap: 0 !important;
  max-height: calc(100vh - 36px);
  overflow: hidden !important;
}

.cherrydeskx-form-col {
  flex: 0 0 400px;
  min-width: 0;
  padding: clamp(24px, 3.5vw, 48px);
  overflow-y: auto;
  scrollbar-width: thin;
  display: flex;
  flex-direction: column;
}

.cherrydeskx-login-card .cherrydeskx-divider {
  margin: 18px 0 14px;
}

.cherrydeskx-login-card .cherrydeskx-welcome {
  margin-bottom: 18px;
  font-size: 15px;
}

.cherrydeskx-login-card .cherrydeskx-brand-image {
  width: min(100%, 365px);
}

.cherrydeskx-login-card .cherrydeskx-avatar-image {
  width: clamp(72px, 8vw, 96px);
}

.cherrydeskx-login-card .form-group {
  margin-bottom: 14px;
}

.cherrydeskx-login-card .form-row {
  margin: 2px 0 16px;
}

.cherrydeskx-login-card .cherrydeskx-status-row {
  gap: 9px;
  margin-top: 16px;
}

.cherrydeskx-login-card .cherrydeskx-status-pill {
  min-height: 38px;
  padding: 0 10px;
  font-size: 11px;
}

.cherrydeskx-login-card .cherrydeskx-status-pill::before {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
  border-radius: 5px;
}

.cherrydeskx-login-card .cherrydeskx-card-footer {
  margin-top: 14px;
  font-size: 12px;
}

.cherry-support-widget {
  display: flex !important;
  flex-direction: column;
  align-self: stretch;
  position: relative;
  z-index: 1;
  min-height: min(660px, calc(100vh - 130px));
  margin-top: 0;
  padding: 18px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--cherry-border);
  background:
    radial-gradient(circle at 88% 8%, rgba(13, 116, 255, 0.28), transparent 30%),
    linear-gradient(180deg, rgba(2, 25, 56, 0.97), rgba(2, 9, 28, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 48px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(13, 116, 255, 0.14);
}

.cherry-support-widget::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 118px;
  background: url("/cherry-ui-parts/14_background_dark_section.png") center top / cover no-repeat;
  opacity: 0.28;
  pointer-events: none;
}

.cherry-support-widget > * {
  position: relative;
  z-index: 1;
}

.login-help-header {
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.login-help-profile {
  align-items: center;
  gap: 13px;
}

.login-help-avatar {
  width: 62px;
  height: 62px;
  padding: 0;
  overflow: visible;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

.login-help-avatar img {
  width: 76px;
  height: 84px;
  margin: -12px 0 0 -7px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(0, 149, 255, 0.62));
}

.login-help-kicker,
.assistant-kicker {
  letter-spacing: 0.08em;
}

.login-help-title {
  margin-top: 2px;
  color: var(--cherry-text);
  font-size: clamp(18px, 3.1vw, 22px);
  line-height: 1.2;
}

.login-help-subtitle {
  margin-top: 5px;
  color: #98bce0;
  font-size: 13px;
  line-height: 1.45;
}

.login-help-actions {
  flex-shrink: 0;
  gap: 7px;
}

.login-help-chat-btn,
.login-help-live-btn,
.login-help-voice-btn,
.assistant-live-chat-btn,
.assistant-live-talk-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(33, 210, 255, 0.26);
  background: rgba(3, 18, 42, 0.78);
  color: #dcefff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.login-help-chat-btn,
.assistant-live-chat-btn {
  border-color: rgba(16, 232, 138, 0.32);
  background: rgba(16, 232, 138, 0.10);
  color: #a9f8d6;
}

.login-help-live-btn,
.assistant-live-talk-btn {
  border-color: rgba(33, 210, 255, 0.34);
  background: linear-gradient(135deg, rgba(0, 95, 255, 0.84), rgba(13, 190, 255, 0.82));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 130, 255, 0.22);
}

.login-help-chat-btn:hover,
.login-help-live-btn:hover,
.login-help-voice-btn:hover,
.assistant-live-chat-btn:hover,
.assistant-live-talk-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(33, 210, 255, 0.62);
  box-shadow: 0 10px 26px rgba(0, 120, 255, 0.18);
}

.login-help-live-btn.is-live,
.assistant-live-talk-btn.is-live {
  background: linear-gradient(135deg, rgba(6, 190, 116, 0.92), rgba(33, 210, 255, 0.82));
  color: #03111e;
}

.login-help-live-btn:disabled,
.assistant-live-talk-btn:disabled,
.login-help-action-btn:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.login-help-messages {
  flex: 1 1 auto;
  min-height: 198px;
  max-height: none;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 133, 255, 0.26);
  background:
    radial-gradient(circle at top right, rgba(20, 150, 255, 0.16), transparent 34%),
    rgba(1, 13, 33, 0.84);
}

.login-help-messages .chat-bubble {
  max-width: min(100%, 460px);
  padding: 14px 16px;
  border-radius: 17px;
  font-size: 15px;
  line-height: 1.72;
}

.login-help-messages .chat-bubble.assistant,
.assistant-card .chat-bubble.assistant {
  border-color: rgba(0, 133, 255, 0.38);
  background:
    linear-gradient(180deg, rgba(4, 30, 68, 0.96), rgba(2, 18, 43, 0.96));
  color: #eaf6ff;
}

.login-help-messages .chat-bubble.user,
.assistant-card .chat-bubble.user {
  background: linear-gradient(135deg, rgba(13, 116, 255, 0.96), rgba(33, 210, 255, 0.92));
  color: #ffffff;
}

.login-help-quick-prompts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.login-help-quick-prompt,
.assistant-quick-prompt {
  min-height: 42px;
  justify-content: space-between;
  border-radius: 13px;
  border: 1px solid rgba(0, 133, 255, 0.30);
  background:
    linear-gradient(180deg, rgba(5, 25, 58, 0.94), rgba(3, 15, 38, 0.94));
  color: #dcefff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.login-help-quick-prompt {
  position: relative;
  padding: 0 34px 0 13px;
}

.login-help-quick-prompt::after,
.assistant-quick-prompt::after {
  content: ">";
  position: absolute;
  right: 12px;
  color: var(--cherry-cyan);
  font-weight: 800;
}

.login-help-quick-prompt:hover,
.assistant-quick-prompt:not(:disabled):hover {
  background:
    linear-gradient(180deg, rgba(7, 38, 82, 0.98), rgba(4, 19, 48, 0.98));
  border-color: rgba(33, 210, 255, 0.56);
  transform: translateY(-1px);
}

.login-help-controls {
  grid-template-columns: minmax(0, 1fr) 58px 64px;
  gap: 9px;
  margin-top: 12px;
}

.login-help-controls input,
.assistant-input-area input {
  min-height: 46px;
  border-radius: 14px;
  border-color: rgba(0, 133, 255, 0.28);
  background: rgba(1, 10, 27, 0.92);
  color: var(--cherry-text);
}

.login-help-action-btn,
.assistant-input-area button {
  min-height: 46px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 800;
}

.login-help-action-btn {
  width: auto;
  border: 1px solid rgba(33, 210, 255, 0.34);
  background: rgba(3, 18, 42, 0.88);
  color: #dcefff;
}

.login-help-action-btn.is-listening {
  background: linear-gradient(135deg, rgba(6, 190, 116, 0.94), rgba(33, 210, 255, 0.86));
  color: #03111e;
}

.login-help-action-btn.send,
.assistant-input-area button {
  width: auto;
  min-width: 62px;
  background: linear-gradient(135deg, rgba(0, 95, 255, 0.96), rgba(33, 210, 255, 0.92));
  color: #ffffff;
}

.login-help-status {
  margin-top: 10px;
  color: #7fa5ca;
  font-size: 11px;
  line-height: 1.45;
}

.login-help-powered {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.login-help-powered img,
.assistant-powered-logo {
  display: block;
  width: min(170px, 52%);
  height: auto;
  opacity: 0.88;
}

.assistant-card {
  border-radius: 20px;
  border-color: var(--cherry-border);
  background:
    radial-gradient(circle at 92% 8%, rgba(13, 116, 255, 0.25), transparent 30%),
    linear-gradient(180deg, rgba(2, 22, 52, 0.99), rgba(2, 8, 25, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 22px 58px rgba(0, 0, 0, 0.34);
}

.assistant-card::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: 22px;
  width: 96px;
  height: 92px;
  background: url("/cherry-ui-parts/13_bottom_floating_avatar.png") center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

.assistant-hero {
  background:
    url("/cherry-ui-parts/14_background_dark_section.png") top right / 100% auto no-repeat,
    linear-gradient(180deg, rgba(4, 25, 58, 0.92), rgba(3, 14, 36, 0.86));
}

.assistant-header {
  align-items: center !important;
}

.assistant-avatar-wrap {
  width: 64px;
  height: 64px;
}

.assistant-avatar-wrap img {
  width: 78px;
  height: 86px;
  margin: -13px 0 0 -7px;
}

.assistant-avatar-glow {
  bottom: 1px;
  width: 54px;
}

.assistant-title {
  font-size: clamp(17px, 3vw, 21px);
  line-height: 1.18;
  color: var(--cherry-text);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.assistant-subtitle,
.assistant-presence {
  color: #94b8dc;
}

.assistant-header-meta {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  max-width: 160px;
}

.assistant-live-chat-btn,
.assistant-live-talk-btn {
  min-height: 30px;
  padding: 0 10px;
  font-size: 10px;
}

.assistant-status-pill {
  min-height: 30px;
  padding: 0 10px;
  letter-spacing: 0.06em;
}

.assistant-quick-prompts {
  display: grid;
  grid-template-columns: 1fr;
}

.assistant-quick-prompt {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 34px 0 13px;
  border-radius: 13px;
}

.assistant-chat-container {
  background:
    radial-gradient(circle at top right, rgba(0, 133, 255, 0.10), transparent 34%),
    rgba(1, 9, 25, 0.72);
}

.assistant-card .chat-bubble {
  max-width: 94%;
  padding: 12px 14px;
  border-radius: 17px;
  font-size: 13px;
  line-height: 1.62;
}

.assistant-input-area {
  gap: 9px;
  padding: 11px 12px 13px;
  background: linear-gradient(180deg, rgba(4, 18, 42, 0.94), rgba(2, 10, 28, 0.98));
}

.assistant-footer {
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  align-items: center;
  background: #020a1b;
}

  .assistant-powered-logo {
  width: 136px;
  max-width: 44%;
}

@media (max-width: 1020px) {
  .cherrydeskx-auth-main {
    grid-template-columns: minmax(320px, 760px) !important;
    align-items: flex-start;
  }

  .cherrydeskx-login-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "support"
      "divider"
      "welcome"
      "message"
      "form"
      "status"
      "footer";
    max-height: none;
    overflow-y: visible;
  }

  .cherry-support-widget {
    min-height: 520px;
    margin: 16px 0 0;
  }

  .login-help-messages {
    min-height: 170px;
  }
}

@media (max-width: 720px) {
  .login-help-header,
  .assistant-header {
    align-items: flex-start !important;
  }

  .login-help-header {
    flex-direction: column;
  }

  .login-help-actions {
    width: 100%;
    justify-content: stretch;
  }

  .login-help-chat-btn,
  .login-help-live-btn,
  .login-help-voice-btn {
    flex: 1 1 0;
  }

  .login-help-quick-prompts {
    grid-template-columns: 1fr;
  }

  .login-help-controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .login-help-action-btn,
  .login-help-action-btn.send {
    width: 100%;
  }

  .assistant-header-meta {
    max-width: 100%;
  }
}

/* Flex 2-column login card layout */
.cherrydeskx-auth-main {
  position: relative;
  width: 100% !important;
  grid-template-columns: minmax(700px, 1180px) !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0;
  overflow: visible;
}

.cherrydeskx-login-card {
  width: min(100%, 1180px) !important;
  max-height: calc(100vh - 36px) !important;
  display: flex !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.cherrydeskx-login-card .cherrydeskx-brand-image {
  width: min(100%, 300px);
}

.cherrydeskx-login-card .cherrydeskx-avatar-image {
  width: 68px;
}

.cherrydeskx-login-card .cherrydeskx-divider {
  margin: 18px 0 16px;
}

.cherrydeskx-login-card .cherrydeskx-welcome {
  display: block;
}

.cherrydeskx-login-card .form-label {
  font-size: 12px;
}

.cherrydeskx-login-card .input-wrap {
  min-height: 42px;
}

.cherrydeskx-login-card .form-group {
  margin-bottom: 14px;
}

.cherrydeskx-login-card .form-row {
  display: flex;
}

.cherrydeskx-login-card .btn-signin {
  min-height: 45px;
  margin-top: 16px;
}

.cherrydeskx-login-card .cherrydeskx-status-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.cherrydeskx-login-card .cherrydeskx-status-pill {
  justify-content: center;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  gap: 5px;
}

.cherrydeskx-login-card .cherrydeskx-status-pill::before {
  width: 8px;
  height: 8px;
  flex-basis: 8px;
  border-radius: 999px;
}

.cherrydeskx-login-card .cherrydeskx-status-pill i {
  display: none;
}

.cherrydeskx-login-card .cherrydeskx-card-footer {
  display: none;
}

.cherry-support-widget {
  position: absolute;
  left: 344px;
  top: 50%;
  z-index: 12;
  width: 360px;
  height: min(516px, calc(100vh - 120px));
  min-height: 500px;
  margin: 0;
  padding: 0;
  transform: translateY(-43%);
  border-radius: 16px;
  border: 1px solid rgba(0, 119, 210, 0.54);
  background: #020a19;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.44), 0 0 36px rgba(0, 111, 255, 0.12);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.cherry-support-widget::before {
  display: none;
}

.auth-shell.support-chat-collapsed .cherry-support-widget {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-40%) translateX(18px) scale(0.96);
}

/* When widget is a flex child inside the login card — use flex flow, not absolute */
.cherrydeskx-login-card .cherry-support-widget {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  flex: 1 1 380px !important;
  min-width: 300px !important;
  min-height: 0 !important;
  align-self: stretch;
  margin: 0 !important;
  border-radius: 0 26px 26px 0 !important;
}

.auth-shell.support-chat-collapsed .cherrydeskx-login-card .cherry-support-widget {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

.login-help-header {
  min-height: 66px;
  padding: 10px 14px;
  margin: 0;
  border-bottom: 1px solid rgba(0, 112, 205, 0.32);
  background: linear-gradient(180deg, rgba(6, 22, 55, 0.96), rgba(4, 17, 42, 0.94));
}

.login-help-profile {
  gap: 10px;
}

.login-help-avatar {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(0, 124, 255, 0.45);
  background: rgba(4, 22, 54, 0.92);
}

.login-help-avatar img {
  width: 52px;
  height: 58px;
  margin: -8px 0 0 -6px;
}

.login-help-title {
  margin: 0;
  color: #f3f8ff;
  font-size: 15px;
  font-weight: 800;
}

.login-help-subtitle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  color: #7aa4cc;
  font-size: 11px;
}

.login-help-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #00d47a;
  box-shadow: 0 0 10px rgba(0, 212, 122, 0.9);
}

.login-help-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 9px;
  border: 1px solid rgba(104, 141, 182, 0.24);
  background: rgba(22, 43, 76, 0.72);
  color: #8fb0d0;
  font-size: 20px;
  line-height: 1;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.login-help-close-btn:hover {
  background: rgba(255, 82, 82, 0.15);
  border-color: rgba(255, 82, 82, 0.3);
  color: #ff8282;
}

.login-help-close-btn svg {
  display: block;
}

.login-help-realm-strip {
  min-height: 26px;
  padding: 6px 14px;
  border-bottom: 1px solid rgba(0, 130, 82, 0.28);
  background: rgba(0, 65, 43, 0.58);
  color: #40d487;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
}

.login-help-realm-strip span {
  color: #48e092;
}

.login-help-messages {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: 38px 44px 16px;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: #020a19;
}

.login-help-messages .chat-bubble {
  position: relative;
  max-width: 205px;
  padding: 12px 13px;
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.38;
}

.login-help-messages .chat-bubble.assistant::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 35px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(0, 126, 255, 0.62);
  background: url("/cherry-ui-parts/02_header_avatar.png") center 24% / 38px auto no-repeat, rgba(4, 22, 54, 0.95);
}

.login-help-messages .chat-bubble.assistant {
  border-color: rgba(0, 104, 214, 0.68);
  background: #06224d;
  color: #edf6ff;
}

.login-help-messages .chat-bubble.user {
  max-width: 240px;
}

.login-help-quick-prompts {
  display: flex;
  gap: 8px;
  min-height: 42px;
  margin: 0;
  padding: 8px 10px;
  overflow-x: auto;
  border-top: 1px solid rgba(0, 119, 210, 0.42);
  background: #041127;
  scrollbar-width: none;
}

.login-help-quick-prompts::-webkit-scrollbar {
  display: none;
}

.login-help-quick-prompt {
  flex: 0 0 auto;
  min-height: 29px;
  padding: 0 12px;
  border-radius: 999px;
  border-color: rgba(0, 126, 255, 0.62);
  background: rgba(3, 25, 57, 0.98);
  color: #9fc7ef;
  font-size: 11px;
  white-space: nowrap;
}

.login-help-quick-prompt::after {
  display: none;
}

.login-help-controls {
  grid-template-columns: minmax(0, 1fr) 44px 44px;
  gap: 7px;
  margin: 0;
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(0, 119, 210, 0.24);
  background: #041127;
}

.login-help-controls input {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 12px;
}

.login-help-action-btn {
  min-height: 38px;
  min-width: 0;
  border-radius: 9px;
  font-size: 10px;
}

.login-help-action-btn.send {
  min-width: 0;
  font-size: 17px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-help-action-btn.send svg {
  display: block;
}

.login-help-status,
.login-help-powered {
  display: none;
}

.login-help-voice-btn {
  position: absolute;
  right: 50px;
  bottom: 58px;
  z-index: 3;
  min-height: 28px;
  padding: 0 10px;
}

.login-help-launcher {
  position: absolute;
  right: -2px;
  bottom: 4px;
  z-index: 14;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  border: 1px solid rgba(57, 125, 255, 0.82);
  background: linear-gradient(145deg, rgba(10, 47, 129, 0.96), rgba(12, 32, 88, 0.98));
  color: #bfd5f1;
  font-size: 30px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42), 0 0 26px rgba(0, 89, 255, 0.28);
}

.auth-shell.support-chat-collapsed .login-help-launcher {
  background:
    url("/cherry-ui-parts/13_bottom_floating_avatar.png") center / 56px auto no-repeat,
    linear-gradient(145deg, rgba(10, 47, 129, 0.96), rgba(12, 32, 88, 0.98));
  color: transparent;
}

/* Launcher is not needed — chat is always shown in the right panel */
.cherrydeskx-login-card .login-help-launcher {
  display: none !important;
}

@media (max-width: 740px) {
  .cherrydeskx-auth-main {
    grid-template-columns: 1fr !important;
    align-items: center !important;
    justify-items: center !important;
    padding: 16px !important;
  }

  .cherrydeskx-login-card {
    width: min(100%, 480px) !important;
    flex-direction: column !important;
    border-radius: 22px !important;
    max-height: none !important;
  }

  .cherrydeskx-form-col {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 24px 22px !important;
  }

  .cherrydeskx-login-card .cherry-support-widget {
    display: none !important;
  }

  .login-help-launcher {
    display: none !important;
  }
}

/* Side tab slide support */
.cherrydeskx-login-card {
  position: relative;
  overflow: visible !important;
}

.cherrydeskx-login-card .cherrydeskx-form-col {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
}

.cherrydeskx-login-card .login-help-dock {
  position: absolute;
  top: 50%;
  left: calc(100% - 20px);
  width: 416px;
  height: min(520px, calc(100vh - 104px));
  min-height: 500px;
  transform: translateY(-44%);
  pointer-events: auto;
  z-index: 18;
}

.cherrydeskx-login-card .login-help-launcher {
  position: absolute;
  left: 0;
  top: 22px;
  z-index: 2;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 252px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: transparent;
  box-shadow: none;
  overflow: visible;
  pointer-events: auto;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cherrydeskx-login-card .login-help-launcher:hover {
  transform: translateX(-2px);
  filter: brightness(1.08) drop-shadow(0 0 18px rgba(28, 168, 255, 0.32));
}

.cherrydeskx-login-card .login-help-launcher-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  transform: scale(1.16);
}

.cherrydeskx-login-card .login-help-launcher-avatar {
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(89, 170, 255, 0.6);
  background: rgba(6, 21, 52, 0.96);
  box-shadow: 0 0 12px rgba(28, 112, 255, 0.22);
}

.cherrydeskx-login-card .login-help-launcher-avatar img {
  width: 42px;
  height: 48px;
  margin: -7px 0 0 -5px;
}

.cherrydeskx-login-card .login-help-launcher-label,
.cherrydeskx-login-card .login-help-launcher-note {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.cherrydeskx-login-card .login-help-launcher-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.cherrydeskx-login-card .login-help-launcher-note {
  color: #86b4dc;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.cherrydeskx-login-card .cherry-support-widget {
  position: absolute !important;
  top: 0 !important;
  left: 48px !important;
  width: 368px !important;
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column;
  margin: 0 !important;
  border-radius: 0 18px 18px 18px !important;
  border: 1px solid rgba(0, 119, 210, 0.58) !important;
  background: #020a19 !important;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.44), 0 0 36px rgba(0, 111, 255, 0.12);
  overflow: hidden;
  pointer-events: auto;
  transform: translateX(0) !important;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease !important;
}

.auth-shell.support-chat-collapsed .cherrydeskx-login-card .cherry-support-widget {
  transform: translateX(calc(-100% - 56px)) !important;
  opacity: 0;
  pointer-events: none;
}

.auth-shell.support-chat-collapsed .cherrydeskx-login-card .login-help-launcher {
  border: 0;
  background: transparent;
}

.auth-shell.support-chat-collapsed .cherrydeskx-login-card .login-help-launcher:hover {
  transform: translateX(2px);
}

.auth-shell.support-chat-collapsed .cherrydeskx-login-card .login-help-launcher-label,
.auth-shell.support-chat-collapsed .cherrydeskx-login-card .login-help-launcher-note {
  writing-mode: vertical-lr;
  transform: none;
}

.cherrydeskx-login-card .login-help-close-btn {
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.cherrydeskx-login-card .login-help-status,
.cherrydeskx-login-card .login-help-powered {
  display: none !important;
}

@media (max-width: 980px) {
  .cherrydeskx-login-card .login-help-dock {
    left: calc(100% - 14px);
    width: 380px;
    height: min(500px, calc(100vh - 92px));
  }

  .cherrydeskx-login-card .cherry-support-widget {
    width: 332px !important;
  }
}

@media (max-width: 740px) {
  .cherrydeskx-login-card .login-help-dock {
    position: fixed;
    top: 18px;
    right: 12px;
    left: auto;
    width: 372px;
    height: min(500px, calc(100vh - 36px));
    transform: none;
  }

  .cherrydeskx-login-card .login-help-launcher {
    left: auto;
    right: 100%;
    top: 18px;
    height: 166px;
  }

  .cherrydeskx-login-card .cherry-support-widget {
    left: 0 !important;
    width: min(calc(100vw - 70px), 320px) !important;
    height: 100% !important;
  }

  .auth-shell.support-chat-collapsed .cherrydeskx-login-card .cherry-support-widget {
    transform: translateX(calc(-100% - 56px)) !important;
  }
}

@media (min-width: 741px) {
  .cherrydeskx-auth-main {
    grid-template-columns: minmax(0, clamp(360px, 42vw, 456px)) !important;
    justify-content: center !important;
    justify-items: center !important;
    padding-right: clamp(260px, 28vw, 364px) !important;
  }

  .cherrydeskx-login-card {
    width: clamp(360px, 42vw, 456px) !important;
    max-width: 100% !important;
    align-items: flex-start !important;
    overflow: visible !important;
    isolation: isolate;
  }

  .cherrydeskx-login-card .login-help-dock {
    z-index: 18;
  }

  .cherrydeskx-login-card .login-help-launcher {
    z-index: 4;
  }

  .cherrydeskx-login-card .cherrydeskx-form-col {
    flex: 0 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: inherit;
    background:
      linear-gradient(180deg, rgba(7, 29, 67, 0.97), rgba(1, 10, 28, 0.98)),
      radial-gradient(circle at 78% 0%, rgba(30, 130, 255, 0.22), transparent 34%);
  }

  .cherrydeskx-login-card .cherry-support-widget {
    z-index: 1;
  }

  .auth-shell.support-chat-collapsed .cherrydeskx-login-card .cherry-support-widget {
    transform: translateX(calc(-100% - 56px)) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (min-width: 981px) {
  .cherrydeskx-login-card .login-help-dock {
    width: 512px;
  }

  .cherrydeskx-login-card .cherry-support-widget {
    width: 464px !important;
  }

  .cherrydeskx-login-card .login-help-messages {
    padding-right: 36px;
  }

  .cherrydeskx-login-card .login-help-messages .chat-bubble {
    max-width: min(100%, 352px);
  }

  .cherrydeskx-login-card .login-help-messages .chat-bubble.user {
    max-width: min(100%, 340px);
  }
}

@media (min-width: 741px) and (max-width: 980px) {
  .cherrydeskx-login-card .login-help-messages .chat-bubble {
    max-width: min(100%, 280px);
  }
}

/* VM Matrix assets */
.ops-shell .vm-matrix-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.2vw, 24px) clamp(18px, 2.3vw, 26px) clamp(18px, 2vw, 24px) !important;
  border-radius: 22px !important;
  border: 1px solid rgba(16, 125, 255, 0.72) !important;
  background:
    radial-gradient(circle at top right, rgba(17, 84, 220, 0.18), transparent 32%),
    radial-gradient(circle at bottom left, rgba(0, 157, 255, 0.10), transparent 30%),
    linear-gradient(180deg, rgba(3, 10, 30, 0.98), rgba(2, 8, 22, 0.98)) !important;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(34, 156, 255, 0.10),
    0 0 38px rgba(18, 108, 255, 0.16) !important;
}

.ops-shell .vm-matrix-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 20px;
  border: 1px solid rgba(0, 188, 255, 0.08);
  pointer-events: none;
}

.ops-shell .vm-matrix-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.ops-shell .vm-matrix-hero-art {
  display: block;
  width: min(100%, 480px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.34));
}

.ops-shell .vm-matrix-title-copy {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
}

.ops-shell .vm-matrix-counter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  justify-content: end;
  gap: 6px;
  width: auto;
  margin: 0;
  align-self: start;
}

.ops-shell .vm-matrix-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 169, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(5, 18, 53, 0.96), rgba(3, 12, 37, 0.98)),
    radial-gradient(circle at 18% 18%, rgba(33, 174, 255, 0.18), transparent 34%);
  box-shadow:
    inset 0 0 0 1px rgba(121, 205, 255, 0.12),
    0 0 18px rgba(0, 117, 255, 0.14);
  color: #13c7ff !important;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.ops-shell .vm-matrix-counter-label {
  color: #16cfff;
}

.ops-shell .vm-matrix-counter strong {
  color: #a8bcf3;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 800;
}

.ops-shell .vm-matrix-toolbar {
  position: relative;
  z-index: 1;
  gap: 8px;
  width: 100%;
  margin: 0 0 16px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(0, 144, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(6, 18, 52, 0.94), rgba(4, 13, 35, 0.96)),
    radial-gradient(circle at top left, rgba(38, 147, 255, 0.12), transparent 28%);
  box-shadow:
    inset 0 0 0 1px rgba(72, 184, 255, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.22);
}

.ops-shell .vm-view-mode-btn {
  min-width: 92px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  color: #91a5d8;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.ops-shell .vm-view-mode-btn:hover {
  color: #d9e6ff;
  background: rgba(15, 45, 111, 0.72);
  transform: translateY(-1px);
}

.ops-shell .vm-view-mode-btn.is-active {
  color: #f5fbff;
  background:
    linear-gradient(180deg, #1456ef, #118dff),
    radial-gradient(circle at top, rgba(132, 224, 255, 0.36), transparent 55%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 18px rgba(12, 100, 240, 0.24);
}

.ops-shell .vm-view-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: min(100%, 344px);
  margin-left: auto;
  padding: 0 14px 0 48px;
  border-radius: 16px;
  border: 1px solid rgba(0, 144, 255, 0.44);
  background: rgba(4, 15, 44, 0.88);
  box-shadow: inset 0 0 0 1px rgba(121, 205, 255, 0.06);
}

.ops-shell .vm-view-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(242, 248, 255, 0.92);
  transform: translateY(-50%);
  pointer-events: none;
}

.ops-shell .vm-view-search {
  width: 100%;
  min-height: 42px;
  margin-left: 0;
  padding: 0 34px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #dce6ff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}

.ops-shell .vm-view-search::placeholder {
  color: rgba(154, 171, 212, 0.88);
}

.ops-shell .vm-view-search:focus {
  border: 0;
  box-shadow: none;
}

.ops-shell .vm-view-search-clear {
  position: absolute;
  top: 50%;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(184, 197, 236, 0.96);
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.16s ease, color 0.16s ease, opacity 0.16s ease;
}

.ops-shell .vm-view-search-clear:hover:not(:disabled) {
  background: rgba(27, 73, 166, 0.52);
  color: #f8fbff;
}

.ops-shell .vm-view-search-clear:disabled {
  opacity: 0.36;
  cursor: default;
}

.ops-shell .vm-runtime-grid.is-list-view {
  overflow-x: auto;
  padding-bottom: 4px;
}

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

.ops-shell .vm-matrix-panel .vm-runtime-row {
  grid-template-columns: minmax(104px, 1.05fr) minmax(220px, 2.35fr) minmax(170px, 1.6fr) minmax(110px, 1fr) minmax(120px, 1.08fr) minmax(214px, 1.7fr);
  gap: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 122, 255, 0.58);
  background:
    radial-gradient(circle at left center, rgba(15, 63, 178, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(6, 20, 58, 0.97), rgba(4, 13, 37, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(129, 203, 255, 0.05),
    0 12px 24px rgba(0, 0, 0, 0.18);
}

.ops-shell .vm-matrix-panel .vm-runtime-row:hover {
  border-color: rgba(41, 154, 255, 0.8);
  box-shadow:
    inset 0 0 0 1px rgba(129, 203, 255, 0.10),
    0 16px 28px rgba(0, 0, 0, 0.24),
    0 0 18px rgba(17, 113, 255, 0.10);
}

.ops-shell .vm-matrix-panel .vm-runtime-row-head {
  position: relative;
  min-height: 56px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.ops-shell .vm-matrix-panel .vm-runtime-row-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(6, 18, 52, 0.96), rgba(4, 13, 35, 0.98)),
    url("/cherrydeskx-vm-matrix-assets/04_table_header_columns.png") center 49% / cover no-repeat;
  pointer-events: none;
}

.ops-shell .vm-matrix-panel .vm-runtime-row-head::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(4, 12, 33, 0.82), rgba(3, 10, 28, 0.78));
  pointer-events: none;
}

.ops-shell .vm-matrix-panel .vm-runtime-row-head > * {
  position: relative;
  z-index: 1;
  color: #c6d4f7;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(34, 165, 255, 0.14);
  user-select: none;
}

.ops-shell .vm-matrix-panel .vm-runtime-status {
  min-height: 34px;
  padding: 0 16px 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(27, 168, 255, 0.34);
  background: linear-gradient(180deg, rgba(6, 31, 74, 0.96), rgba(5, 22, 53, 0.96));
  color: #eef8ff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: inset 0 0 18px rgba(47, 144, 255, 0.10);
}

.ops-shell .vm-matrix-panel .vm-runtime-status span {
  width: 12px;
  height: 12px;
  background: #ff617b;
  box-shadow: 0 0 14px rgba(255, 97, 123, 0.62);
}

.ops-shell .vm-matrix-panel .vm-runtime-status.is-running {
  border-color: rgba(31, 209, 124, 0.46);
  color: #f4fffb;
  box-shadow: inset 0 0 18px rgba(17, 231, 104, 0.10);
}

.ops-shell .vm-matrix-panel .vm-runtime-status.is-running span {
  background: #72f06b;
  box-shadow: 0 0 14px rgba(114, 240, 107, 0.72);
}

.ops-shell .vm-matrix-panel .vm-runtime-list-name {
  color: #f4f7ff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.24;
}

.ops-shell .vm-matrix-panel .vm-runtime-list-meta {
  color: rgba(155, 171, 214, 0.92);
  font-size: 11px;
  font-weight: 700;
}

.ops-shell .vm-matrix-panel .vm-runtime-list-stat {
  color: #f4f7ff;
  font-size: 16px;
  font-weight: 700;
}

.ops-shell .vm-matrix-panel .vm-runtime-list-stat small {
  margin-top: 4px;
  color: rgba(173, 187, 224, 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.ops-shell .vm-matrix-panel .vm-runtime-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ops-shell .vm-matrix-panel .vm-summary-console,
.ops-shell .vm-matrix-panel .vm-power-btn.compact {
  min-height: 44px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 800;
}

.ops-shell .vm-matrix-panel .vm-summary-console {
  border-color: rgba(24, 118, 255, 0.76);
  background: linear-gradient(180deg, rgba(10, 56, 166, 0.76), rgba(6, 44, 135, 0.82));
  color: #f7fbff;
  box-shadow: inset 0 0 0 1px rgba(122, 191, 255, 0.10);
}

.ops-shell .vm-matrix-panel .vm-summary-console:hover {
  background: linear-gradient(180deg, rgba(21, 72, 198, 0.84), rgba(9, 55, 159, 0.90));
}

.ops-shell .vm-matrix-panel .vm-summary-console.is-disabled {
  border-color: rgba(87, 111, 168, 0.34);
  background: linear-gradient(180deg, rgba(31, 49, 91, 0.88), rgba(24, 39, 74, 0.92));
  color: rgba(173, 185, 218, 0.68);
}

.ops-shell .vm-matrix-panel .vm-power-btn.compact.danger {
  border-color: rgba(255, 72, 98, 0.68);
  background: linear-gradient(180deg, rgba(76, 19, 41, 0.94), rgba(53, 13, 28, 0.98));
  color: #ffb3bf;
  box-shadow: inset 0 0 0 1px rgba(255, 148, 169, 0.08);
}

.ops-shell .vm-matrix-panel .vm-power-btn.compact.success {
  border-color: rgba(33, 215, 117, 0.68);
  background: linear-gradient(180deg, rgba(14, 83, 49, 0.94), rgba(10, 58, 35, 0.98));
  color: #d8ffea;
  box-shadow: inset 0 0 0 1px rgba(110, 255, 176, 0.08);
}

.ops-shell .vm-matrix-panel .vm-power-btn.compact:hover:not(:disabled),
.ops-shell .vm-matrix-panel .vm-summary-console:hover:not(.is-disabled) {
  transform: translateY(-1px);
}

.ops-shell .vm-runtime-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin-top: 14px;
  padding: 16px 20px;
  border-radius: 20px;
  color: #abb7e0;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
}

.ops-shell .vm-runtime-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(6, 18, 52, 0.96), rgba(4, 13, 35, 0.98)),
    url("/cherrydeskx-vm-matrix-assets/08_footer_pagination_bar.png") center 51% / cover no-repeat;
  pointer-events: none;
}

.ops-shell .vm-runtime-footer::after {
  content: "";
  position: absolute;
  inset: 14px 30%;
  z-index: 0;
  border-radius: 999px;
  background: rgba(3, 10, 29, 0.92);
  pointer-events: none;
}

.ops-shell .vm-runtime-footer-text {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .ops-shell .vm-matrix-panel .vm-runtime-row-head {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(0, 122, 255, 0.42);
    border-radius: 14px;
    background: rgba(4, 15, 43, 0.94);
  }

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

  .ops-shell .vm-matrix-panel .vm-runtime-row-head > * {
    color: rgba(173, 186, 225, 0.84);
  }
}

.ops-shell .vm-matrix-panel .vm-empty {
  padding: 24px 22px;
  border-radius: 20px;
  border: 1px solid rgba(0, 122, 255, 0.52);
  background: linear-gradient(180deg, rgba(5, 17, 47, 0.96), rgba(4, 12, 32, 0.98));
  color: #dbe5ff;
  box-shadow: inset 0 0 0 1px rgba(129, 203, 255, 0.05);
}

.ops-shell .vm-matrix-panel .vm-empty strong {
  color: #f5f8ff;
}

.ops-shell .vm-matrix-panel .vm-empty p {
  color: rgba(173, 186, 225, 0.82);
}

.ops-shell .vm-matrix-panel .vm-runtime-grid.is-card-view {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 12px !important;
}

.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 rgba(0, 122, 255, 0.46);
  background:
    radial-gradient(circle at left top, rgba(17, 72, 193, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(6, 20, 58, 0.97), rgba(4, 13, 37, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(129, 203, 255, 0.05),
    0 12px 24px rgba(0, 0, 0, 0.18);
}

.ops-shell .vm-matrix-panel .vm-runtime-card {
  min-height: 224px;
  border-radius: 18px;
}

.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 {
  color: #f4f7ff;
}

.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 {
  color: rgba(170, 183, 223, 0.88);
}

.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 {
  background: rgba(11, 30, 75, 0.72);
}

.ops-shell .vm-matrix-panel .vm-runtime-stats strong,
.ops-shell .vm-matrix-panel .vm-board-column-head,
.ops-shell .vm-matrix-panel .vm-wall-tile strong {
  color: #f4f7ff;
}

.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: rgba(170, 183, 223, 0.88);
}

.ops-shell .vm-matrix-panel .vm-board-column-head span {
  background: rgba(7, 29, 79, 0.88);
}

.ops-shell .vm-matrix-panel .vm-wall-tile[data-status="running"] {
  border-left-color: #55e06c;
}

.ops-shell .vm-matrix-panel .vm-wall-tile[data-status="stopped"] {
  border-left-color: #ff617b;
}

@media (max-width: 1200px) {
  .ops-shell .vm-matrix-hero {
    grid-template-columns: 1fr;
  }

  .ops-shell .vm-matrix-counter-row {
    width: min(100%, 430px);
    justify-content: start;
  }

  .ops-shell .vm-view-search-wrap {
    min-width: min(100%, 320px);
  }
}

@media (max-width: 900px) {
  .ops-shell .vm-matrix-panel {
    padding: 18px 16px 18px !important;
  }

  .ops-shell .vm-matrix-hero-art {
    width: 100%;
  }

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

  .ops-shell .vm-matrix-counter {
    min-height: 56px;
    padding: 0 14px;
    gap: 8px;
    font-size: 15px;
  }

  .ops-shell .vm-view-mode-bar {
    padding: 8px;
  }

  .ops-shell .vm-view-mode-btn {
    min-width: 78px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .ops-shell .vm-view-search-wrap {
    flex: 1 0 100%;
    min-width: 100%;
    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::before {
    background-size: cover;
  }

  .ops-shell .vm-runtime-footer::after {
    inset: 14px 16%;
  }
}
