/* CHERRY template integration */
:root {
  --bg-core: #030810;
  --bg-panel: #081226;
  --bg-panel-2: #0d1a30;
  --bg-panel-3: #0f1e35;
  --assistant-panel-width: 360px;
  --border-core: #152038;
  --border-soft: #1b304e;
  --text-main: #c0d8f0;
  --text-soft: #7a9abc;
  --text-muted: #4a6a8a;
  --text-faint: #2e4a68;
  --blue-accent: #00cfff;
  --blue-accent-2: #00a8ff;
  --cherry-accent: #ff5f7a;
  --cherry-accent-2: #ff9966;
  --purple-accent: #9b6dff;
  --green-accent: #00e676;
  --amber-accent: #ffb31a;
  --danger-accent: #ff5252;
  --auth-bg-focus-x: 76%;
  --auth-bg-brightness: 1.08;
  --auth-bg-saturation: 1.08;
  --auth-bg-overlay-start: rgba(6, 16, 34, 0.62);
  --auth-bg-overlay-mid: rgba(16, 34, 66, 0.36);
  --auth-bg-overlay-end: rgba(6, 16, 34, 0.68);
}

.auth-shell,
.ops-shell {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.auth-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--text-main);
}

.auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("/template-assets/assets/server-room.jpg") var(--auth-bg-focus-x) center / cover no-repeat;
  animation: bgZoom 30s ease-in-out infinite alternate;
  filter: saturate(var(--auth-bg-saturation)) brightness(var(--auth-bg-brightness));
  opacity: 1;
  transition: opacity 0.7s ease;
  transform-origin: var(--auth-bg-focus-x) center;
  will-change: transform, opacity, filter, background-image;
}

.auth-bg.is-fading {
  opacity: 0.22;
}

.auth-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, var(--auth-bg-overlay-start) 0%, var(--auth-bg-overlay-mid) 46%, var(--auth-bg-overlay-end) 100%),
    radial-gradient(circle at 74% 40%, rgba(255, 255, 255, 0.12), transparent 34%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.08), transparent 28%);
}

.auth-particles {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  background: var(--blue-accent);
  box-shadow: 0 0 6px rgba(0, 207, 255, 0.8);
  animation: particleDrift linear infinite;
  opacity: 0;
}

.auth-page {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-main {
  flex: 1;
  display: grid;
  grid-template-columns: 300px minmax(500px, 580px) 220px;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: 18px 20px 10px;
}

.auth-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.char-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: charFloat 4s ease-in-out infinite;
}

.corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-style: solid;
  border-color: rgba(0, 207, 255, 0.35);
}

.corner.tl {
  top: -10px;
  left: -10px;
  border-width: 2px 0 0 2px;
}

.corner.tr {
  top: -10px;
  right: -10px;
  border-width: 2px 2px 0 0;
}

.corner.bl {
  bottom: -10px;
  left: -10px;
  border-width: 0 0 2px 2px;
}

.corner.br {
  bottom: -10px;
  right: -10px;
  border-width: 0 2px 2px 0;
}

.char-img {
  width: 280px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 24px rgba(0, 180, 255, 0.7)) drop-shadow(0 0 50px rgba(0, 100, 200, 0.4));
}

.char-base {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 220px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(0, 200, 255, 0.5) 0%, transparent 70%);
  filter: blur(8px);
  z-index: 1;
}

.char-rings {
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0, 200, 255, 0.3);
  animation: ringExpand 3s ease-out infinite;
}

.ring:nth-child(2) {
  animation-delay: 1s;
}

.ring:nth-child(3) {
  animation-delay: 2s;
}

.intro {
  margin-top: 20px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.intro-kicker {
  color: rgba(0, 207, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.intro-hello {
  min-height: 28px;
  max-width: 280px;
  font-size: 18px;
  color: #a0c0e0;
  line-height: 1.5;
}

.intro-hello strong {
  color: var(--blue-accent);
}

.intro-body {
  min-height: 62px;
  max-width: 280px;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: #5a7a9a;
}

.intro-caret {
  display: inline-block;
  width: 7px;
  height: 1.08em;
  margin-left: 4px;
  vertical-align: -0.12em;
  border-radius: 999px;
  background: var(--blue-accent);
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.7);
  animation: caretBlink 1s steps(1, end) infinite;
}

.intro-voice-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 28px;
}

.intro-voice-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 207, 255, 0.28);
  background: rgba(0, 207, 255, 0.12);
  color: var(--blue-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.intro-voice-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 207, 255, 0.48);
  box-shadow: 0 0 16px rgba(0, 207, 255, 0.16);
}

.intro-voice-status {
  color: #6285a8;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stats-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(0, 180, 255, 0.08);
  border: 1px solid rgba(0, 180, 255, 0.2);
}

.stat-circle {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.stat-circle svg {
  transform: rotate(-90deg);
}

.stat-circle .val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue-accent);
  font-family: "JetBrains Mono", monospace;
}

.stat-info {
  font-size: 11px;
}

.stat-info .label {
  color: var(--text-faint);
}

.stat-info .value {
  color: var(--blue-accent);
  font-weight: 600;
}

.host-strip-login {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.host-strip-login .host-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 207, 255, 0.15);
  color: #8fb2d5;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.host-strip-login .host-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-accent);
  box-shadow: 0 0 6px var(--green-accent);
}

.auth-card {
  position: relative;
  width: min(100%, 580px);
  flex-shrink: 0;
  overflow: hidden;
  padding: 28px 34px 30px;
  border-radius: 16px;
  border: 1px solid rgba(0, 200, 255, 0.24);
  background: rgba(8, 18, 38, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 70px rgba(0, 100, 200, 0.22), 0 0 120px rgba(0, 50, 150, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auth-card::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -56px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 95, 122, 0.22) 0%, rgba(255, 95, 122, 0.08) 34%, rgba(255, 95, 122, 0) 72%);
  pointer-events: none;
}

.auth-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 22%);
  pointer-events: none;
}

.card-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 16px;
}

.card-logo-image {
  width: 250px;
  height: auto;
  max-width: 100%;
}

.logo-tagline {
  font-size: 11.5px;
  color: #7f9cbc;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.assistant-spotlight {
  position: relative;
  margin-bottom: 18px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 95, 122, 0.24);
  background:
    linear-gradient(155deg, rgba(255, 95, 122, 0.18) 0%, rgba(255, 95, 122, 0.03) 38%, rgba(0, 207, 255, 0.12) 100%),
    rgba(8, 18, 38, 0.96);
  box-shadow: 0 18px 42px rgba(255, 95, 122, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.assistant-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.assistant-spotlight-top,
.assistant-spotlight-grid,
.assistant-spotlight-prompts {
  position: relative;
  z-index: 1;
}

.assistant-spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.assistant-spotlight-badge,
.assistant-spotlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.assistant-spotlight-badge {
  color: #ffd3db;
  background: rgba(255, 95, 122, 0.14);
  border: 1px solid rgba(255, 95, 122, 0.32);
}

.assistant-spotlight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cherry-accent);
  box-shadow: 0 0 12px rgba(255, 95, 122, 0.65);
}

.assistant-spotlight-pill {
  color: #9edcff;
  background: rgba(0, 207, 255, 0.1);
  border: 1px solid rgba(0, 207, 255, 0.22);
  letter-spacing: 0.12em;
}

.assistant-spotlight-title {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  max-width: 350px;
  font-size: 29px;
  line-height: 1.08;
  font-weight: 700;
  color: #f4fbff;
}

.assistant-spotlight-body {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: #b7cadf;
  font-size: 13px;
  line-height: 1.65;
}

.assistant-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.assistant-spotlight-stat {
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(5, 14, 30, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.assistant-spotlight-stat strong {
  display: block;
  color: #f0f7ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.assistant-spotlight-stat span {
  display: block;
  margin-top: 5px;
  color: #7d98b5;
  font-size: 11px;
  line-height: 1.45;
}

.assistant-spotlight-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.assistant-prompt-chip {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 16, 32, 0.68);
  color: #d9ebff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.assistant-prompt-chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 95, 122, 0.12);
  border-color: rgba(255, 95, 122, 0.3);
  box-shadow: 0 0 18px rgba(255, 95, 122, 0.14);
}

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

.form-label {
  display: block;
  margin-bottom: 6px;
  color: #5a7a9a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.auth-card .input-wrap {
  position: relative;
}

.auth-card .input-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #3a5a7a;
  pointer-events: none;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13.5px;
  outline: none;
  transition: all 0.2s;
  appearance: none;
}

.form-textarea {
  min-height: 96px;
  padding: 11px 14px;
  resize: vertical;
}

.form-select {
  color-scheme: dark;
}

.form-select option,
.form-select optgroup {
  background: #0a1426;
  color: #c0d8f0;
}

.form-select option:checked,
.form-select option:hover,
.form-select option:focus {
  background: #1d5fc2;
  color: #f5fbff;
}

.form-select option:disabled {
  color: #527190;
}

.form-input::placeholder {
  color: #2e4a68;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(0, 207, 255, 0.5);
  background: rgba(0, 207, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.1);
}

.input-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: #3a5a7a;
  font-size: 14px;
  cursor: pointer;
}

.select-arrow {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: #3a5a7a;
  pointer-events: none;
  font-size: 12px;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 12.5px;
}

.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5a7a9a;
  cursor: pointer;
}

.checkbox-wrap input {
  width: 14px;
  height: 14px;
  accent-color: var(--blue-accent);
}

.forgot {
  color: var(--blue-accent);
  font-size: 12px;
}

.forgot:hover {
  text-decoration: underline;
}

.error-msg {
  display: none;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 82, 82, 0.3);
  background: rgba(255, 82, 82, 0.1);
  color: #ff8282;
  font-size: 12px;
}

.error-msg.visible {
  display: block;
}

.error-msg.visible.info {
  border-color: rgba(0, 207, 255, 0.25);
  background: rgba(0, 207, 255, 0.08);
  color: var(--blue-accent);
}

.btn-signin {
  width: 100%;
  padding: 13px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0060cc, #00a8ff);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 100, 220, 0.4);
  transition: all 0.2s;
}

.btn-signin:hover {
  background: linear-gradient(135deg, #0070e0, #00c0ff);
  box-shadow: 0 4px 28px rgba(0, 150, 255, 0.5);
  transform: translateY(-1px);
}

.btn-signin.loading {
  opacity: 0.8;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-arrow {
  display: inline-flex;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  animation: spin 0.7s linear infinite;
}

.login-help-card {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8, 18, 38, 0.84) 0%, rgba(4, 11, 24, 0.92) 100%);
  border: 1px solid rgba(0, 207, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 12px 24px rgba(0, 0, 0, 0.16);
}

.login-help-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.login-help-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.login-help-profile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.login-help-avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 95, 122, 0.9), rgba(0, 207, 255, 0.9));
  color: #06111f;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(255, 95, 122, 0.16);
}

.login-help-kicker {
  color: rgba(0, 207, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.login-help-title {
  margin-top: 3px;
  color: #dcecff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.login-help-subtitle {
  margin-top: 4px;
  color: #6f90b2;
  font-size: 12px;
  line-height: 1.6;
}

.login-help-messages {
  min-height: 172px;
  max-height: clamp(220px, 28vh, 340px);
  overflow-y: auto;
  padding: 12px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(2, 8, 18, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.login-help-messages .chat-bubble {
  max-width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.bubble-content {
  white-space: pre-wrap;
}

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

.login-help-controls input {
  min-width: 0;
  padding: 12px 13px;
  border-radius: 8px;
  background: rgba(10, 18, 32, 0.92);
  border: 1px solid rgba(27, 48, 78, 0.95);
  color: var(--text-main);
  font-size: 13px;
}

.login-help-controls input:focus {
  border-color: rgba(0, 207, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.08);
}

.login-help-action-btn,
.login-help-live-btn,
.login-help-voice-btn {
  border-radius: 8px;
  border: 1px solid rgba(0, 207, 255, 0.18);
  background: rgba(0, 207, 255, 0.08);
  color: var(--blue-accent);
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.login-help-action-btn:hover,
.login-help-live-btn:hover,
.login-help-voice-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 207, 255, 0.38);
  box-shadow: 0 0 16px rgba(0, 207, 255, 0.14);
}

.login-help-action-btn {
  width: 42px;
  flex-shrink: 0;
}

.login-help-action-btn.send {
  background: linear-gradient(135deg, rgba(0, 96, 204, 0.86), rgba(0, 168, 255, 0.86));
  color: #fff;
}

.login-help-live-btn {
  padding: 8px 12px;
  white-space: nowrap;
  background: linear-gradient(135deg, rgba(255, 95, 122, 0.2), rgba(0, 207, 255, 0.16));
  border-color: rgba(255, 95, 122, 0.24);
  color: #ffd7e0;
}

.login-help-live-btn.is-live {
  color: #06111f;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.94), rgba(0, 207, 255, 0.94));
  border-color: rgba(0, 230, 118, 0.9);
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.22);
}

.login-help-action-btn.is-listening {
  color: #07111f;
  background: rgba(0, 230, 118, 0.86);
  border-color: rgba(0, 230, 118, 0.86);
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.2);
}

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

.login-help-voice-btn {
  padding: 8px 10px;
  white-space: nowrap;
}

.login-help-status {
  margin-top: 8px;
  color: #5c7fa5;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.security-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 11.5px;
  color: #3a5a7a;
}

.sec-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #3a5a7a;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-accent);
  box-shadow: 0 0 6px var(--green-accent);
}

.status-text {
  color: var(--text-muted);
}

.status-text strong {
  color: #8aaec8;
}

.status-healthy {
  color: var(--green-accent);
  font-weight: 500;
}

.auth-right {
  width: 210px;
}

.panel-title {
  margin-bottom: 16px;
  color: var(--blue-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.panel-title span {
  color: #3a5a7a;
}

.health-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(0, 230, 118, 0.05);
  border: 1px solid rgba(0, 230, 118, 0.15);
}

.hc-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 230, 118, 0.1);
  border: 2px solid rgba(0, 230, 118, 0.4);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.2);
  font-size: 28px;
}

.hc-status {
  color: var(--green-accent);
  font-size: 18px;
  font-weight: 700;
}

.hc-sub {
  margin-top: 2px;
  color: #3a5a7a;
  font-size: 11px;
}

.status-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.si-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 207, 255, 0.1);
  border: 1px solid rgba(0, 207, 255, 0.2);
  color: var(--blue-accent);
  font-size: 14px;
}

.si-info {
  flex: 1;
  min-width: 0;
}

.si-name {
  color: #9ab8d8;
  font-size: 12px;
  font-weight: 600;
}

.si-sub {
  margin-top: 1px;
  color: #3a5a7a;
  font-size: 10px;
}

.si-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--green-accent);
  box-shadow: 0 0 5px var(--green-accent);
}

.security-notice {
  padding: 12px;
  border-radius: 10px;
  background: rgba(0, 207, 255, 0.04);
  border: 1px solid rgba(0, 207, 255, 0.15);
}

.sn-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}

.sn-icon,
.sn-title {
  color: var(--blue-accent);
}

.sn-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sn-text {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.5;
}

.auth-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 32px;
  background: rgba(4, 8, 20, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11.5px;
}

.footer-copy {
  color: #2e4a68;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--blue-accent);
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
}

.theme-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #3a5a7a;
}

.ops-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #080c18;
  color: #b8d0ed;
}

.ops-topbar {
  height: 46px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: auto minmax(180px, 220px) minmax(280px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  background: #06091a;
  border-bottom: 1px solid var(--border-core);
}

.ops-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.ops-brand-cherry {
  color: var(--blue-accent);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: 0 0 14px rgba(0, 207, 255, 0.55), 0 0 30px rgba(0, 207, 255, 0.2);
}

.ops-brand-sub {
  color: #3a5a7a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.ops-search {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #0c1628;
  border: 1px solid var(--border-soft);
  color: #2e4a68;
  font-size: 12px;
}

.ops-topbar-center {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ops-topnav {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(0, 207, 255, 0.16);
  background: linear-gradient(180deg, rgba(9, 18, 34, 0.96), rgba(6, 11, 23, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 24px rgba(0, 0, 0, 0.18);
  overflow-x: auto;
  scrollbar-width: none;
}

.ops-topnav::-webkit-scrollbar {
  display: none;
}

.ops-topnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #6f8fb0;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.ops-topnav-link:hover {
  color: #d7ebff;
  background: rgba(0, 207, 255, 0.09);
  transform: translateY(-1px);
}

.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-kbd {
  padding: 1px 5px;
  border-radius: 3px;
  background: #152038;
  color: #3a5a7a;
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
}

.ops-cluster-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  justify-content: flex-end;
  color: var(--text-muted);
  font-size: 11.5px;
  white-space: nowrap;
}

.ops-cluster-strip strong {
  color: var(--green-accent);
  font-weight: 600;
}

.strip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-accent);
  box-shadow: 0 0 5px var(--green-accent);
}

.ops-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  justify-self: end;
}

@media (max-width: 1500px) {
  .ops-topbar {
    grid-template-columns: auto minmax(160px, 200px) minmax(220px, 1fr) auto auto;
  }

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

@media (max-width: 1380px) {
  .ops-search {
    display: none;
  }

  .ops-topbar {
    grid-template-columns: auto minmax(220px, 1fr) auto auto;
  }
}

@media (max-width: 1200px) {
  .ops-cluster-strip {
    display: none;
  }

  .ops-topbar {
    grid-template-columns: auto minmax(220px, 1fr) auto;
  }
}

.ops-clock {
  color: #2e4a68;
  font-size: 11.5px;
  font-family: "JetBrains Mono", monospace;
}

.ops-icon-btn {
  width: 27px;
  height: 27px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c1628;
  border: 1px solid var(--border-soft);
  color: #3a5a7a;
  font-size: 13px;
}

.ops-icon-btn.danger {
  color: var(--danger-accent);
}

.ops-user-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px 3px 3px;
  border-radius: 20px;
  background: #0c1628;
  border: 1px solid var(--border-soft);
}

.ops-shell .user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00cfff, #0060cc);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.ops-user-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ops-shell .user-name {
  color: #c0d8f0;
  font-size: 11.5px;
  font-weight: 500;
}

.ops-shell .user-realm {
  color: #5a7a9a;
  font-size: 10px;
}

.ops-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.ops-sidebar {
  width: 192px;
  flex-shrink: 0;
  background: #080c18;
  border-right: 1px solid var(--border-core);
  overflow-y: auto;
}

.tree-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.tree-header {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  color: #98b8d8;
  font-size: 11.5px;
  font-weight: 600;
}

.tree-items {
  display: flex;
  flex-direction: column;
}

.tree-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 8px 4px 18px;
  color: #6a8aac;
  font-size: 12px;
  cursor: pointer;
  border-left: 2px solid transparent;
  text-decoration: none;
  transition: all 0.15s;
}

.tree-item:hover {
  color: #c0d8f0;
  background: rgba(255, 255, 255, 0.03);
}

.tree-item.is-active {
  color: var(--blue-accent);
  background: rgba(0, 207, 255, 0.08);
  border-left-color: var(--blue-accent);
}

.tree-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-accent);
  box-shadow: 0 0 5px var(--green-accent);
}

.tree-vm-meta {
  color: var(--text-faint);
  font-size: 10px;
  text-transform: lowercase;
}

.compact-links .tree-item {
  padding-left: 10px;
}

.ops-main {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.ops-node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-core);
  background: #090e1e;
}

.ops-node-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.ops-node-title {
  color: #c0d8f0;
  font-size: 22px;
  font-weight: 700;
}

.ops-node-sub {
  margin-top: 4px;
  color: #5a7a9a;
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
}

.ops-node-meta {
  color: #4a6a8a;
  font-size: 11px;
}

.ops-node-meta.is-error {
  color: #ff9d00;
}

.ops-toggle-btn {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 207, 255, 0.18);
  background: rgba(0, 207, 255, 0.08);
  color: var(--blue-accent);
  font-size: 11px;
  font-weight: 600;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.ops-toggle-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 207, 255, 0.34);
  box-shadow: 0 0 16px rgba(0, 207, 255, 0.12);
}

.ops-shell.cards-collapsed .metric-grid {
  display: none;
}

.ops-shell.cards-collapsed .dashboard-detail-content > .detail-stack > .detail-grid:first-child {
  display: none;
}

.ops-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 12px;
  align-items: start;
}

.summary-focus-grid {
  grid-template-columns: 1fr;
}

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

.ops-panel-wide {
  min-width: 0;
}

.assistant-resize-handle {
  width: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  touch-action: none;
  background: linear-gradient(90deg, rgba(0, 207, 255, 0.06), transparent 64%);
  transition: background 0.18s ease;
}

.assistant-resize-handle:hover,
.ops-shell.assistant-resizing .assistant-resize-handle {
  background: linear-gradient(90deg, rgba(255, 95, 122, 0.12), rgba(0, 207, 255, 0.08) 58%, transparent 100%);
}

.assistant-resize-grip {
  width: 4px;
  height: 76px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 95, 122, 0.62), rgba(0, 207, 255, 0.88));
  box-shadow: 0 0 18px rgba(0, 207, 255, 0.18);
  opacity: 0.7;
  transition: transform 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease;
}

.assistant-resize-handle:hover .assistant-resize-grip,
.ops-shell.assistant-resizing .assistant-resize-grip,
.assistant-resize-handle:focus-visible .assistant-resize-grip {
  opacity: 1;
  transform: scaleY(1.06);
  box-shadow: 0 0 22px rgba(255, 95, 122, 0.18), 0 0 22px rgba(0, 207, 255, 0.18);
}

.assistant-resize-handle:focus-visible {
  outline: none;
}

.ops-rightbar {
  width: clamp(300px, var(--assistant-panel-width, 360px), 620px);
  flex-shrink: 0;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  background: #080c18;
  border-left: 1px solid var(--border-core);
  transition: width 0.24s ease, padding 0.24s ease;
}

.side-card {
  padding: 10px;
  border-radius: 6px;
  background: #0d1a30;
  border: 1px solid var(--border-soft);
}

.side-card-title {
  margin-bottom: 8px;
  color: #8aaec8;
  font-size: 12px;
  font-weight: 600;
}

.health-summary {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  padding: 7px;
  border-radius: 6px;
  background: rgba(0, 230, 118, 0.07);
  border: 1px solid rgba(0, 230, 118, 0.2);
}

.health-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 230, 118, 0.15);
  border: 2px solid var(--green-accent);
  color: var(--green-accent);
  font-size: 15px;
}

.health-main {
  color: var(--green-accent);
  font-size: 13px;
  font-weight: 600;
}

.health-sub {
  color: #3a5a7a;
  font-size: 10.5px;
}

.meta-list {
  display: grid;
  gap: 6px;
}

.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 11px;
}

.meta-list span {
  color: #3a5a7a;
}

.meta-list strong {
  color: #8aaec8;
  font-weight: 500;
}

.assistant-card {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(255, 95, 122, 0.16) 0%, rgba(255, 95, 122, 0.02) 24%, transparent 48%),
    linear-gradient(180deg, rgba(8, 16, 30, 0.98) 0%, rgba(4, 10, 20, 0.98) 100%);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  min-height: 640px;
  height: min(700px, calc(100vh - 96px));
  border-radius: 16px;
  border-color: rgba(34, 66, 108, 0.92);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
  transition: height 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.assistant-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 22%);
  pointer-events: none;
}

.assistant-hero {
  position: relative;
  padding: 14px;
  border-bottom: 1px solid rgba(27, 48, 78, 0.9);
  background: linear-gradient(180deg, rgba(10, 20, 38, 0.9) 0%, rgba(6, 15, 30, 0.78) 100%);
}

.assistant-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
}

.assistant-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.assistant-kicker {
  color: var(--blue-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.assistant-title {
  margin-top: 6px;
  color: #f0f8ff;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 700;
  max-width: 220px;
}

.assistant-subtitle {
  margin-top: 10px;
  color: #93afcc;
  font-size: 12px;
  line-height: 1.6;
}

.assistant-presence {
  margin-top: 8px;
  color: #ffd4dd;
  font-size: 11px;
  line-height: 1.55;
}

.assistant-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 230, 118, 0.24);
  background: rgba(0, 230, 118, 0.08);
  color: #9cf5c6;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.assistant-header-btn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 18, 36, 0.8);
  color: #d7ebff;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.assistant-header-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 207, 255, 0.26);
  box-shadow: 0 0 16px rgba(0, 207, 255, 0.12);
}

.assistant-header-btn[aria-pressed="true"] {
  background: rgba(255, 95, 122, 0.16);
  border-color: rgba(255, 95, 122, 0.28);
  color: #ffd7df;
}

.assistant-status-dot {
  width: 8px;
  height: 8px;
  background: var(--green-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-accent);
}

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

.assistant-summary-tile {
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(8, 18, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.assistant-summary-tile.wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.assistant-summary-tile strong {
  display: block;
  margin-top: 5px;
  color: #eef8ff;
  font-size: 18px;
  font-weight: 700;
}

.assistant-summary-tile.wide strong {
  margin-top: 0;
  font-size: 12px;
  color: #9edcff;
  text-align: right;
}

.assistant-hologram {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  margin-top: 14px;
  padding: 24px 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(0, 207, 255, 0.16);
  background:
    radial-gradient(circle at center 25%, rgba(0, 207, 255, 0.22) 0%, rgba(0, 207, 255, 0.08) 24%, rgba(0, 207, 255, 0) 58%),
    linear-gradient(180deg, rgba(3, 8, 18, 0.98) 0%, rgba(4, 10, 22, 0.98) 100%);
  flex-shrink: 0;
  overflow: hidden;
}

.assistant-hologram::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 207, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 207, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 18px, 18px 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.assistant-hologram-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 95, 122, 0.2);
  background: rgba(255, 95, 122, 0.08);
  color: #ffc7d1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.assistant-hologram img {
  position: relative;
  z-index: 1;
  width: 142px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(0, 180, 255, 0.7)) drop-shadow(0 0 36px rgba(0, 180, 255, 0.3));
}

.assistant-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.assistant-quick-prompt {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 16, 32, 0.74);
  color: #e2f2ff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.assistant-quick-prompt:hover {
  transform: translateY(-1px);
  background: rgba(255, 95, 122, 0.12);
  border-color: rgba(255, 95, 122, 0.28);
  box-shadow: 0 0 18px rgba(255, 95, 122, 0.12);
}

.assistant-chat-container {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(3, 8, 18, 0.34) 0%, rgba(2, 6, 14, 0.72) 100%);
}

.assistant-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

.assistant-card .chat-bubble {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.5;
  word-wrap: break-word;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.assistant-card .chat-bubble.assistant {
  align-self: flex-start;
  background: linear-gradient(180deg, rgba(22, 34, 58, 0.96) 0%, rgba(12, 21, 38, 0.96) 100%);
  color: #dcecff;
  border-bottom-left-radius: 2px;
  border: 1px solid rgba(41, 74, 118, 0.9);
}

.assistant-card .chat-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.92), rgba(0, 110, 255, 0.92));
  color: #04111b;
  border-bottom-right-radius: 2px;
  font-weight: 500;
}

.assistant-card .chat-bubble.is-typing {
  background: rgba(11, 21, 38, 0.92);
  border-style: dashed;
}

.assistant-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.assistant-typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-accent);
  box-shadow: 0 0 10px rgba(0, 207, 255, 0.28);
  animation: assistantTypingPulse 0.9s ease-in-out infinite;
}

.assistant-typing-dots span:nth-child(2) {
  animation-delay: 0.12s;
}

.assistant-typing-dots span:nth-child(3) {
  animation-delay: 0.24s;
}

.assistant-input-area {
  padding: 10px 12px 12px;
  display: flex;
  gap: 8px;
  border-top: 1px solid rgba(27, 48, 78, 0.9);
  background: linear-gradient(180deg, rgba(7, 14, 26, 0.88) 0%, rgba(5, 10, 20, 0.96) 100%);
}

.assistant-input-area input {
  flex: 1;
  min-width: 0;
  background: rgba(12, 22, 38, 0.96);
  border: 1px solid rgba(34, 58, 92, 0.95);
  border-radius: 12px;
  padding: 11px 14px;
  color: #d9ecff;
  font-size: 12px;
  outline: none;
}

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

.assistant-input-area input::placeholder {
  color: #56759a;
}

.assistant-input-area button {
  width: 40px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0, 207, 255, 0.9), rgba(0, 110, 255, 0.92));
  border: 1px solid rgba(0, 207, 255, 0.34);
  color: #04131d;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(0, 140, 255, 0.18);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.assistant-input-area button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 140, 255, 0.24);
}

.assistant-input-area button:disabled,
.assistant-quick-prompt:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.assistant-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px 10px;
  background: #050a14;
  border-top: 1px solid rgba(27, 48, 78, 0.9);
}

.assistant-time {
  font-size: 9.5px;
  color: #6d8fb4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.assistant-footer-meta {
  color: #4d6d90;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ops-shell.assistant-resizing {
  user-select: none;
}

.ops-shell.assistant-expanded .ops-rightbar {
  width: clamp(430px, var(--assistant-panel-width, 520px), 820px);
}

.ops-shell.assistant-expanded .ops-rightbar > .side-card:not(.assistant-card) {
  display: none;
}

.ops-shell.assistant-expanded .assistant-card {
  height: calc(100vh - 94px);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.28);
}

.ops-shell.assistant-expanded .assistant-hero {
  padding: 18px;
}

.ops-shell.assistant-expanded .assistant-title {
  max-width: none;
  font-size: 30px;
}

.ops-shell.assistant-expanded .assistant-subtitle,
.ops-shell.assistant-expanded .assistant-presence {
  max-width: 520px;
}

.ops-shell.assistant-expanded .assistant-hologram {
  min-height: 240px;
}

.ops-shell.assistant-expanded .assistant-hologram img {
  width: 172px;
}

.ops-shell.assistant-expanded .assistant-card .chat-bubble {
  max-width: 76%;
}

.assistant-copy {
  display: none; /* Replaced by chat */
}

.assistant-copy ul {
  margin-top: 8px;
  padding-left: 16px;
}

.assistant-copy li + li {
  margin-top: 4px;
}

@keyframes assistantTypingPulse {
  0%, 100% {
    opacity: 0.25;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

.ops-shell .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ops-shell .section-title {
  color: var(--blue-accent);
  font-size: 15px;
  font-weight: 500;
}

.ops-shell .dash-message {
  color: var(--text-muted);
  font-size: 11px;
}

.ops-shell .metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.ops-shell .metric-card {
  padding: 11px 13px;
  border-radius: 6px;
  background: #0d1a30;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: none;
}

.ops-shell .metric-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ops-shell .metric-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4a6a8a;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.metric-symbol {
  color: #3a5a7a;
  font-size: 14px;
}

.ops-shell .metric-value {
  color: var(--blue-accent);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 18px rgba(0, 207, 255, 0.2);
}

.metric-copy {
  color: #4a6a8a;
  font-size: 11px;
}

.ops-shell .metric-bar-wrap {
  height: 5px;
  margin-top: auto;
  border-radius: 999px;
  background: #13233d;
  overflow: hidden;
}

.ops-shell .metric-bar {
  height: 100%;
  min-width: 4px;
  border-radius: 999px;
}

.ops-shell .host-grid,
.ops-shell .vm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ops-shell .host-card,
.ops-shell .vm-card,
.ops-shell .vm-empty {
  padding: 12px;
  border-radius: 6px;
  background: #0d1a30;
  border: 1px solid var(--border-soft);
}

.ops-shell .host-card-header,
.ops-shell .vm-card-top,
.ops-shell .vm-footer,
.ops-shell .node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ops-shell .host-ip,
.ops-shell .vm-name,
.ops-shell .node-name {
  color: #c0d8f0;
  font-size: 12px;
  font-weight: 600;
}

.ops-shell .vm-meta,
.ops-shell .node-bar-label,
.ops-shell .node-bar-val,
.ops-shell .vm-type {
  color: #4a6a8a;
  font-size: 10px;
}

.ops-shell .badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}

.ops-shell .badge-green {
  background: rgba(0, 230, 118, 0.1);
  color: var(--green-accent);
}

.ops-shell .badge-red {
  background: rgba(255, 82, 82, 0.1);
  color: var(--danger-accent);
}

.ops-shell .badge-amber {
  background: rgba(255, 179, 26, 0.1);
  color: var(--amber-accent);
}

.ops-shell .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 5px currentColor;
}

.ops-shell .node-list,
.ops-shell .vm-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.ops-shell .node-item {
  padding: 10px;
  border-radius: 6px;
  background: rgba(4, 8, 16, 0.65);
  border: 1px solid rgba(27, 48, 78, 0.8);
}

.ops-shell .node-status-online {
  color: var(--green-accent);
  font-size: 10px;
}

.ops-shell .node-status-offline {
  color: var(--danger-accent);
  font-size: 10px;
}

.ops-shell .node-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

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

.ops-shell .node-bar-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #13233d;
  overflow: hidden;
}

.ops-shell .node-bar-fill {
  height: 100%;
  min-width: 2px;
  border-radius: 999px;
  background: var(--green-accent);
}

.ops-shell .node-bar-fill.amber {
  background: var(--amber-accent);
}

.ops-shell .node-bar-fill.red {
  background: var(--danger-accent);
}

.node-missing {
  color: #4a6a8a;
  font-size: 10px;
}

.ops-shell .host-error {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 5px;
  background: rgba(255, 82, 82, 0.08);
  color: #ff9d9d;
  font-size: 11px;
}

.ops-shell .btn-console {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 7px 10px;
  border-radius: 5px;
  background: rgba(0, 207, 255, 0.1);
  border: 1px solid rgba(0, 207, 255, 0.25);
  color: var(--blue-accent);
  font-size: 11px;
  font-weight: 600;
}

.ops-shell .btn-console.is-disabled {
  background: #0f1e35;
  border-color: var(--border-soft);
  color: #5a7a9a;
}

.ops-shell .vm-empty strong {
  display: block;
  color: #c0d8f0;
  font-size: 12px;
}

.ops-shell .vm-empty p {
  margin-top: 6px;
  color: #4a6a8a;
  font-size: 11px;
}

.dashboard-detail-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.detail-card {
  padding: 12px;
  border-radius: 6px;
  background: #0d1a30;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.detail-card-list {
  min-height: 112px;
}

.settings-switch-card {
  gap: 12px;
}

.settings-switch-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.settings-switch-value {
  font-size: 18px;
}

.settings-switch-control {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}

.settings-switch-label {
  color: #7ea6cc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.settings-switch-select {
  min-width: 200px;
}

.detail-kicker {
  color: #4a6a8a;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-value {
  color: #c0d8f0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  word-break: break-word;
}

.detail-copy {
  color: #6a8aac;
  font-size: 11px;
  line-height: 1.45;
  word-break: break-word;
}

.detail-notice {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(0, 207, 255, 0.2);
  background: rgba(0, 207, 255, 0.08);
  color: #9fdcff;
  font-size: 11px;
  line-height: 1.45;
}

.detail-notice.is-error {
  border-color: rgba(255, 82, 82, 0.25);
  background: rgba(255, 82, 82, 0.08);
  color: #ffb4b4;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.detail-action-btn {
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(0, 207, 255, 0.22);
  background: rgba(0, 207, 255, 0.08);
  color: var(--blue-accent);
  font-size: 11px;
  font-weight: 600;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.detail-action-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 207, 255, 0.38);
  box-shadow: 0 0 16px rgba(0, 207, 255, 0.12);
}

.detail-action-btn.primary {
  background: linear-gradient(135deg, rgba(0, 96, 204, 0.92), rgba(0, 168, 255, 0.92));
  color: #fff;
}

.detail-action-btn.success {
  border-color: rgba(0, 230, 118, 0.3);
  background: rgba(0, 230, 118, 0.1);
  color: var(--green-accent);
}

.detail-action-btn.danger {
  border-color: rgba(255, 82, 82, 0.28);
  background: rgba(255, 82, 82, 0.08);
  color: #ff9d9d;
}

.detail-action-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.detail-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.detail-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-field label {
  color: #6a8aac;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-field-wide {
  grid-column: 1 / -1;
}

.detail-inline-copy {
  color: #6a8aac;
  font-size: 11px;
  line-height: 1.5;
}

.detail-inline-copy-strong {
  color: #9fdcff;
}

.detail-note-stack {
  display: grid;
  gap: 6px;
}

.detail-empty {
  padding: 14px;
  border-radius: 6px;
  border: 1px dashed rgba(0, 207, 255, 0.18);
  background: rgba(9, 14, 30, 0.65);
  color: #6a8aac;
  font-size: 12px;
}

.detail-table-wrap {
  overflow-x: auto;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  background: #091122;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.detail-table th,
.detail-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(27, 48, 78, 0.7);
  font-size: 11px;
  vertical-align: top;
}

.detail-table th {
  color: #6a8aac;
  font-weight: 600;
  background: rgba(13, 26, 48, 0.92);
  position: sticky;
  top: 0;
}

.detail-table td {
  color: #c0d8f0;
}

.detail-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.visionops-shell {
  gap: 14px;
}

.visionops-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(0, 207, 255, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(9, 22, 43, 0.96), rgba(7, 17, 32, 0.98));
}

.visionops-hero-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.visionops-hero-title {
  color: #f2f7ff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}

.visionops-hero-copy {
  color: #9cb8d6;
  font-size: 12px;
  line-height: 1.55;
}

.visionops-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 207, 255, 0.22);
  background: rgba(0, 207, 255, 0.08);
  color: #9fdcff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visionops-status-pill.is-success {
  border-color: rgba(0, 230, 118, 0.3);
  background: rgba(0, 230, 118, 0.1);
  color: #86efac;
}

.visionops-status-pill.is-warning {
  border-color: rgba(255, 193, 7, 0.3);
  background: rgba(255, 193, 7, 0.1);
  color: #ffd166;
}

.visionops-status-pill.is-danger {
  border-color: rgba(255, 82, 82, 0.28);
  background: rgba(255, 82, 82, 0.1);
  color: #ff9d9d;
}

.visionops-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
  gap: 12px;
  align-items: start;
}

.visionops-side-stack {
  display: grid;
  gap: 12px;
}

.visionops-screen-card {
  gap: 12px;
}

.visionops-screen-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.visionops-screen-title,
.visionops-action-title,
.visionops-timeline-title {
  color: #f2f7ff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.visionops-screen-meta,
.visionops-timeline-meta {
  color: #6a8aac;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visionops-frame-shell {
  min-height: 360px;
  border-radius: 12px;
  border: 1px solid rgba(0, 207, 255, 0.16);
  background: linear-gradient(180deg, rgba(6, 17, 33, 0.9), rgba(4, 12, 22, 0.98));
  overflow: hidden;
}

.visionops-frame-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.visionops-frame-placeholder {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: #9cb8d6;
  text-align: center;
  padding: 24px;
}

.visionops-frame-placeholder strong {
  color: #f2f7ff;
  font-size: 18px;
}

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

.visionops-key-value {
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 207, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.visionops-key-value span {
  color: #6a8aac;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visionops-key-value strong {
  color: #c0d8f0;
  font-size: 12px;
  line-height: 1.4;
}

.visionops-timeline-list {
  display: grid;
  gap: 10px;
}

.visionops-timeline-item {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 207, 255, 0.14);
  background: linear-gradient(180deg, rgba(13, 26, 48, 0.9), rgba(8, 18, 38, 0.96));
  display: grid;
  gap: 8px;
}

.visionops-timeline-item.is-success {
  border-color: rgba(0, 230, 118, 0.22);
}

.visionops-timeline-item.is-warning {
  border-color: rgba(255, 193, 7, 0.24);
}

.visionops-timeline-item.is-danger {
  border-color: rgba(255, 82, 82, 0.24);
}

.visionops-timeline-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

@media (max-width: 1120px) {
  .visionops-workspace-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .visionops-hero-top,
  .visionops-screen-top,
  .visionops-timeline-top {
    flex-direction: column;
  }

  .visionops-meta-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes bgZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes charFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes ringExpand {
  0% {
    width: 40px;
    height: 40px;
    opacity: 0.8;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

@keyframes particleDrift {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-100px) translateX(30px);
    opacity: 0;
  }
}

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

@keyframes caretBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.2; }
}

@media (max-width: 1300px) {
  :root {
    --auth-bg-focus-x: 80%;
    --auth-bg-brightness: 1.1;
  }

  .auth-main {
    grid-template-columns: 260px minmax(500px, 580px);
  }

  .assistant-resize-handle,
  .auth-right,
  .ops-rightbar {
    display: none;
  }

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

@media (max-width: 980px) {
  :root {
    --auth-bg-focus-x: 83%;
    --auth-bg-brightness: 1.12;
    --auth-bg-overlay-start: rgba(8, 18, 38, 0.56);
    --auth-bg-overlay-mid: rgba(18, 38, 72, 0.30);
    --auth-bg-overlay-end: rgba(8, 18, 38, 0.62);
  }

  .auth-main {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 24px 18px 10px;
  }

  .auth-left {
    display: none;
  }

  .auth-card {
    width: min(100%, 720px);
  }

  .auth-footer {
    flex-direction: column;
    text-align: center;
  }

  .ops-sidebar {
    display: none;
  }

  .ops-search,
  .ops-cluster-strip {
    display: none;
  }

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

@media (max-width: 640px) {
  :root {
    --auth-bg-focus-x: 86%;
    --auth-bg-brightness: 1.14;
    --auth-bg-saturation: 1.12;
  }

  .auth-card {
    padding: 20px 14px;
  }

  .login-help-card {
    padding: 14px 12px;
  }

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

  .assistant-spotlight {
    padding: 16px 14px 14px;
  }

  .assistant-spotlight-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .assistant-spotlight-title {
    font-size: 24px;
  }

  .assistant-spotlight-grid {
    grid-template-columns: 1fr;
  }

  .assistant-spotlight-prompts {
    gap: 6px;
  }

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

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

  .login-help-live-btn,
  .login-help-voice-btn {
    flex: 1 1 138px;
    min-height: 40px;
  }

  .login-help-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 16px;
  }

  .login-help-title {
    font-size: 13.5px;
  }

  .login-help-subtitle {
    font-size: 11.5px;
  }

  .login-help-messages {
    min-height: 190px;
    max-height: 42vh;
  }

  .login-help-messages .chat-bubble {
    padding: 11px 12px;
    font-size: 14px;
    line-height: 1.7;
  }

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

  .detail-form-grid {
    grid-template-columns: 1fr;
  }

  .card-footer,
  .form-row,
  .ops-node-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ops-topbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 10px;
  }

  .ops-topbar-center,
  .ops-topnav {
    width: 100%;
    justify-content: flex-start;
  }

  .ops-cluster-strip {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ops-cluster-strip::-webkit-scrollbar {
    display: none;
  }

  .ops-topbar-right {
    width: 100%;
    justify-content: space-between;
  }

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

  .ops-main {
    padding: 10px;
  }

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