body.deep-agent-view {
  --da-ink: #1a0f2e;
  --da-accent: #f2670b;
  --da-accent-2: #ff8a3d;
  --da-line: #ece7f5;
  --da-text: #111827;
  --da-muted: #6b7280;
  --da-nav: #8b5cf6;
  --da-nav-soft: rgba(139, 92, 246, 0.14);
  --da-nav-line: rgba(139, 92, 246, 0.28);
}

body.deep-agent-view #local-mock-badge {
  display: none !important;
}

body.deep-agent-view header.tech-header {
  background: var(--da-ink) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.deep-agent-view .tech-sidebar {
  background: var(--da-ink) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- logo ---------- */

body.deep-agent-view .tech-sidebar .tech-avatar-wrapper {
  width: 88px;
  margin: 2px auto 16px;
}

body.deep-agent-view .tech-sidebar .tech-avatar {
  width: 88px;
  height: 88px;
  border-width: 1px;
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 26px rgba(139, 92, 246, 0.35);
}

body.deep-agent-view .tech-sidebar .tech-avatar-glow {
  top: -6px;
  right: -6px;
  bottom: -6px;
  left: -6px;
  opacity: 0.55;
  filter: blur(14px);
}

/* ---------- menu list ---------- */

body.deep-agent-view .tech-sidebar .menu-list {
  gap: 0;
}

body.deep-agent-view .tech-sidebar .menu-list > * + * {
  margin-top: 0 !important;
}

body.deep-agent-view .tech-sidebar .menu-text {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

body.deep-agent-view .tech-sidebar .menu-icon {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

body.deep-agent-view .tech-sidebar .menu-arrow {
  width: 16px;
  height: 16px;
  color: rgba(229, 231, 235, 0.45);
}

/* ---------- top level items ---------- */

body.deep-agent-view .tech-sidebar .menu-item.menu-item-root {
  height: 58px;
  margin: 0 0 6px !important;
  padding: 0 12px !important;
  gap: 10px;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: transparent !important;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

body.deep-agent-view .tech-sidebar .menu-item.menu-item-root:hover {
  background: rgba(139, 92, 246, 0.08) !important;
  border-color: rgba(139, 92, 246, 0.14) !important;
}

body.deep-agent-view .tech-sidebar .menu-item.menu-item-root.is-active {
  background: var(--da-nav-soft) !important;
  border-color: var(--da-nav-line) !important;
  box-shadow: none !important;
}

body.deep-agent-view .tech-sidebar .menu-item.menu-item-root.is-active .menu-item-text {
  color: #fff;
  font-weight: 500;
}

body.deep-agent-view .tech-sidebar .menu-item.menu-item-root.is-active .menu-item-icon {
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.9));
}

/* ---------- groups ---------- */

body.deep-agent-view .tech-sidebar .menu-group {
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  overflow: hidden;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

body.deep-agent-view .tech-sidebar .menu-group:hover {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

body.deep-agent-view .tech-sidebar .menu-group:last-child {
  margin-bottom: 0 !important;
}

body.deep-agent-view .tech-sidebar .menu-group-header {
  height: 46px;
  min-height: 46px;
  padding: 0 14px !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #e5e7eb !important;
  font-weight: 400;
}

body.deep-agent-view .tech-sidebar .menu-group-header:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

body.deep-agent-view .tech-sidebar .menu-group-header.is-expanded {
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px 12px 0 0 !important;
}

body.deep-agent-view .tech-sidebar .menu-group-title {
  gap: 10px;
}

/* ---------- submenu ---------- */

body.deep-agent-view .tech-sidebar .submenu-list {
  margin-top: 0 !important;
  padding: 4px 8px 8px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.deep-agent-view .tech-sidebar .menu-items {
  margin-top: 0 !important;
  padding-left: 0 !important;
}

body.deep-agent-view .tech-sidebar .menu-item {
  height: 34px;
  padding: 0 10px !important;
  margin: 2px 0 !important;
  gap: 8px;
  border-radius: 9px !important;
  transition: background-color 0.16s ease, color 0.16s ease;
}

body.deep-agent-view .tech-sidebar .menu-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
}

body.deep-agent-view .tech-sidebar .menu-item.is-active {
  background: var(--da-nav-soft) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.deep-agent-view .tech-sidebar .submenu-title {
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
}

/* ---------- scrollable menu area ---------- */

body.deep-agent-view .tech-sidebar .tech-sidebar-container > .grow.no-drag {
  min-height: 0;
  overflow: visible;
}

body.deep-agent-view .tech-sidebar .menu-list {
  position: absolute !important;
  top: 0 !important;
  right: 12px !important;
  bottom: 0 !important;
  left: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

body.deep-agent-view .tech-sidebar .menu-list > * {
  flex: 0 0 auto !important;
}

body.deep-agent-view .tech-sidebar .menu-list::-webkit-scrollbar {
  width: 6px;
}

body.deep-agent-view .tech-sidebar .menu-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

body.deep-agent-view .tech-sidebar .menu-list::-webkit-scrollbar-track {
  background: transparent;
}

/* ---------- version card ---------- */

body.deep-agent-view .tech-sidebar .version-section {
  border-top: none !important;
  margin-top: 12px;
  padding-top: 0;
}

body.deep-agent-view .tech-sidebar .version-section:before {
  display: none;
}

body.deep-agent-view .tech-sidebar .version-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

body.deep-agent-view .tech-sidebar .version-card:before {
  display: none;
}

body.deep-agent-view .tech-sidebar .version-label {
  color: rgba(229, 231, 235, 0.72) !important;
}

body.deep-agent-view .tech-sidebar .version-number {
  color: #fff !important;
  font-weight: 500;
}

/* ---------- content area ---------- */

body.deep-agent-home .tech-content {
  border-radius: 16px 16px 0 0 !important;
  box-shadow: 0 18px 48px -28px rgba(0, 0, 0, 0.55);
}

body.deep-agent-home .help-guide-button.n-button {
  background: linear-gradient(135deg, var(--da-accent-2), var(--da-accent)) !important;
  border: none !important;
  box-shadow: 0 10px 24px -8px rgba(242, 103, 11, 0.55) !important;
}

body.deep-agent-home .help-guide-button.n-button .n-button__border,
body.deep-agent-home .help-guide-button.n-button .n-button__state-border {
  border-color: transparent !important;
}

body.deep-agent-home .tech-content .max-w-xl {
  max-width: 668px !important;
}

body.deep-agent-home .tech-content .mb-4.flex.h-16.w-16 {
  background: linear-gradient(135deg, #fff2e6, #ffe0c9) !important;
  color: var(--da-accent) !important;
  border: 1px solid rgba(242, 103, 11, 0.14);
  box-shadow: 0 10px 24px -16px rgba(242, 103, 11, 0.7);
}

body.deep-agent-home .tech-content h1 {
  color: var(--da-text) !important;
  letter-spacing: -0.01em;
}

body.deep-agent-home .tech-content .mt-2.max-w-md {
  color: var(--da-muted) !important;
}

body.deep-agent-home .tech-content .mt-8.rounded-2xl {
  padding: 28px !important;
  border-radius: 20px !important;
  border-color: var(--da-line) !important;
  box-shadow:
    0 18px 48px -30px rgba(26, 15, 46, 0.32),
    0 2px 8px rgba(26, 15, 46, 0.04) !important;
}

body.deep-agent-home .tech-content .n-input .n-input__border,
body.deep-agent-home .tech-content .n-input .n-input__state-border {
  border-radius: 10px !important;
  border-color: #e6e1f0 !important;
}

body.deep-agent-home .tech-content .n-input.n-input--focus .n-input__state-border {
  border-color: rgba(242, 103, 11, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(242, 103, 11, 0.12) !important;
}

body.deep-agent-home .tech-content .mt-8 .rounded-full {
  border-radius: 999px !important;
  border-color: var(--da-line) !important;
  color: #4b5563 !important;
  background: #fff !important;
  transition: all 0.16s ease;
}

body.deep-agent-home .tech-content .mt-8 .rounded-full:hover {
  border-color: rgba(242, 103, 11, 0.45) !important;
  color: #c2410c !important;
  background: #fff7ed !important;
}

body.deep-agent-home .tech-content .n-input--textarea .n-input__textarea-el {
  min-height: 96px;
  line-height: 1.6;
}

body.deep-agent-home .tech-content .mt-8 .n-button.n-button--primary-type {
  background: linear-gradient(135deg, var(--da-accent-2), var(--da-accent)) !important;
  border: none !important;
  border-radius: 999px !important;
  color: #fff !important;
  opacity: 1 !important;
  box-shadow: 0 12px 28px -10px rgba(242, 103, 11, 0.6) !important;
}

body.deep-agent-home .tech-content .mt-8 .n-button.n-button--primary-type .n-button__border,
body.deep-agent-home .tech-content .mt-8 .n-button.n-button--primary-type .n-button__state-border {
  border-color: transparent !important;
  box-shadow: none !important;
}

body.deep-agent-home .tech-content .mt-8 .n-button.n-button--primary-type.n-button--disabled,
body.deep-agent-home .tech-content .mt-8 .n-button.n-button--primary-type.n-button--disabled .n-button__content {
  color: #fff !important;
  opacity: 1 !important;
}

body.deep-agent-home .tech-content .mt-8 .n-button.n-button--primary-type:hover {
  filter: brightness(1.04);
}
