/* stable-11: left nav, mode button, reference button */

/* 顶部 + Video */
.agnes-real-mode-btn {
  height: 54px !important;
  min-height: 54px !important;
  border-radius: 13px !important;
  background: #f1f1f1 !important;
  color: #111 !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 22px !important;
  font-weight: 650 !important;
  opacity: 1 !important;
}

.agnes-real-mode-btn *,
.agnes-real-mode-btn svg {
  color: #111 !important;
  stroke: #111 !important;
  opacity: 1 !important;
}

/* 左侧导航基础 */
.agnes-real-nav-item {
  height: 50px !important;
  min-height: 50px !important;
  border-radius: 10px !important;
  padding: 0 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 17px !important;
  position: relative !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: rgba(190, 193, 205, 0.76) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
}

.agnes-real-nav-item *,
.agnes-real-nav-item svg {
  color: rgba(190, 193, 205, 0.76) !important;
  stroke: rgba(190, 193, 205, 0.76) !important;
  fill: none !important;
  opacity: 1 !important;
}

.agnes-real-nav-item svg,
.agnes-real-nav-item [class*="icon"] {
  width: 23px !important;
  height: 23px !important;
  min-width: 23px !important;
}

/* 清掉旧选中 */
.agnes-real-nav-item::before {
  content: none !important;
  display: none !important;
}

/* 当前选中项：设计稿的紫灰底 + 紫蓝图标文字 */
.agnes-real-nav-selected {
  background: rgba(64, 58, 80, 0.72) !important;
  color: #c9bfff !important;
}

.agnes-real-nav-selected *,
.agnes-real-nav-selected svg {
  color: #c9bfff !important;
  stroke: #c9bfff !important;
  fill: none !important;
  opacity: 1 !important;
}

.agnes-real-nav-selected::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 8px !important;
  bottom: 8px !important;
  width: 4px !important;
  border-radius: 999px !important;
  background: #a78bff !important;
  box-shadow: 0 0 12px rgba(167, 139, 255, 0.45) !important;
}

/* 最近作品卡片 */
.agnes-real-recent-card {
  min-height: 74px !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.038) !important;
  border: 1px solid rgba(255, 255, 255, 0.035) !important;
  box-shadow: none !important;
  padding: 15px 18px !important;
  color: rgba(235, 235, 242, 0.9) !important;
}

.agnes-real-recent-card * {
  color: rgba(235, 235, 242, 0.86) !important;
}

/* 输入面板 + 参考 */
.agnes-real-ref-btn {
  width: 74px !important;
  height: 92px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px dashed rgba(255, 255, 255, 0.08) !important;
  color: rgba(239, 236, 248, 0.88) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: none !important;
}

.agnes-real-ref-btn .agnes-ref-plus {
  font-size: 30px !important;
  line-height: 28px !important;
  font-weight: 300 !important;
  color: rgba(245, 242, 255, 0.9) !important;
}

.agnes-real-ref-btn .agnes-ref-label {
  font-size: 17px !important;
  line-height: 18px !important;
  color: rgba(196, 192, 208, 0.78) !important;
}

/* 顶部模式菜单 */
.agnes-mode-menu {
  background: #202020 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.48) !important;
}

.agnes-mode-menu * {
  font-size: 18px !important;
}


/* [CHAT-GAP-V3] */
.agnes-chat-messages>.jm-msg+.jm-msg{margin-top:60px !important}

/* [CHAT-TYPO-V3] */
html body .agnes-chat-messages .jm-msg.jm-msg-ai{font-size:17px !important;line-height:1.8 !important;color:rgb(200,203,212) !important;letter-spacing:.015em !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-p{color:rgb(200,203,212) !important;font-size:17px !important;line-height:1.8 !important;margin:0 0 12px !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-h1,html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-h2,html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-h3,html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-h4{color:#fff !important;font-weight:600 !important;line-height:1.4 !important;margin:22px 0 12px !important;padding:0 !important;border:0 !important;background:none !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-h1,html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-h2{font-size:21px !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-h3,html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-h4{font-size:18px !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai strong,html body .agnes-chat-messages .jm-msg.jm-msg-ai b{color:#fff !important;font-weight:600 !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-ul,html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-ol{margin:6px 0 14px !important;padding-left:22px !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai li{font-size:17px !important;line-height:1.7 !important;margin:6px 0 !important;color:rgb(200,203,212) !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai li::marker{color:rgb(255,200,87) !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai :not(pre)>code{color:rgb(255,204,102) !important;background:rgba(255,255,255,.06) !important;border:0 !important;border-radius:4px !important;padding:2px 6px !important;font-size:.88em !important;font-family:"JetBrains Mono",Consolas,monospace !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-cb{background:#0b0b0e !important;border:1px solid rgba(255,255,255,.08) !important;border-radius:10px !important;overflow:hidden !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-cb-hd{background:#0b0b0e !important;border-bottom:1px solid rgba(255,255,255,.06) !important;padding:8px 14px !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-cb-lang{color:rgb(212,160,23) !important;font-size:13px !important;font-family:"JetBrains Mono",Consolas,monospace !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-cb-copy{background:rgba(255,255,255,.08) !important;color:#a1a1aa !important;border:0 !important;border-radius:6px !important;font-size:13px !important;padding:3px 10px !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-cb pre{background:transparent !important;border:0 !important;margin:0 !important;padding:14px 18px !important;color:rgb(152,195,121) !important;font-size:14.5px !important;line-height:1.6 !important;font-family:"JetBrains Mono",Consolas,monospace !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai .jm-cb pre *{color:inherit !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai th,html body .agnes-chat-messages .jm-msg.jm-msg-ai td{border:1px solid rgba(255,255,255,.08) !important;padding:9px 14px !important;font-size:16px !important}
html body .agnes-chat-messages .jm-msg.jm-msg-ai th{background:rgba(255,255,255,.04) !important;color:#fff !important;font-weight:600 !important}
/* [CHAT-TYPO-V3-END] */
