/* 695 收尾视觉返修 · 网页工作台（index.html）
 * 1. 保留现有左栏结构、多模型紫蓝青渐变入口与独立「带入目标研究」；
 * 2. 折叠「怎么填写与示例」消除长页小字墙；增大左栏与主操作字号和点击区；
 * 3. prefers-reduced-motion 下完全静态。
 */

.app-shell .sidebar .entry-card {
  padding: 0.65rem 0.78rem !important;
  min-height: 48px;
}
.app-shell .sidebar .entry-card strong {
  font-size: 0.9rem !important;
}
.app-shell .sidebar .entry-card small {
  font-size: 0.78rem !important;
  line-height: 1.45;
}
.app-shell .sidebar .nav-title {
  font-size: 0.94rem !important;
}
.app-shell .sidebar .nav-description {
  font-size: 0.78rem !important;
}

/* 可按需展开的填写指南与示例，告别首屏长串小字墙 */
.mode-guide-disclosure {
  margin: 0.55rem 0 0.75rem;
  border: 1px dashed rgba(91, 66, 243, 0.28);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.85);
  overflow: hidden;
}
.mode-guide-disclosure > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #3730a3;
  cursor: pointer;
}
.mode-guide-disclosure > summary::-webkit-details-marker { display: none; }
.mode-guide-disclosure > summary::after {
  content: "展开示例 ▾";
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}
.mode-guide-disclosure[open] > summary {
  border-bottom: 1px solid rgba(91, 66, 243, 0.14);
  background: rgba(91, 66, 243, 0.06);
}
.mode-guide-disclosure[open] > summary::after { content: "收起 ▴"; }
.mode-guide-disclosure .mode-guide {
  margin: 0 !important;
  padding: 0.75rem 0.85rem !important;
  border: 0 !important;
  background: transparent !important;
}
.mode-guide-disclosure .example-button {
  min-height: 44px;
  padding: 0.55rem 0.78rem !important;
  font-size: 0.86rem !important;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.mode-guide-disclosure .example-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #5b42f3 !important;
}

/* 独立的「带入目标研究」下一步卡片：清晰、醒目、与输入框分离 */
.research-handoff {
  border: 1px solid rgba(91, 66, 243, 0.22) !important;
  border-left: 4px solid #5b42f3 !important;
  border-radius: 4px 14px 14px 14px !important;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  background: linear-gradient(110deg, #f8f9ff 0%, #eff6ff 60%, #ecfeff 100%) !important;
  padding: 0.9rem 1.05rem !important;
  box-shadow: 0 8px 22px rgba(91, 66, 243, 0.08);
}
.research-handoff-copy strong {
  font-size: 0.98rem !important;
  color: #1e1b4b !important;
}
.research-handoff-copy p {
  font-size: 0.86rem !important;
  color: #475569 !important;
}
.research-handoff-button {
  min-height: 44px !important;
  padding: 0.55rem 1rem !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #5b42f3 0%, #2563eb 65%, #0891b2 100%) !important;
  border: none !important;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.research-handoff-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(91, 66, 243, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .mode-guide-disclosure .example-button,
  .research-handoff-button { transition: none !important; transform: none !important; }
}
