Procházet zdrojové kódy

feat(desktop): refine research workspace visuals and responsive layouts

邵勃源 před 4 dny
rodič
revize
34aee04623

+ 8 - 0
packages/app/src/pages/paas/README.md

@@ -54,6 +54,14 @@ Web 端没有该桌面传输能力时显示明确提示,连接按钮禁用。
 - 隔离浏览器预览使用真实工作台组件与合成平台响应,人工操作验证连接、目录、任务列表/详情、审批材料/成果清单、资源检查通过/失败状态。
 - 浏览器预览不是 Electron IPC 端到端或真实 AgentPaaS 验收;真实平台数据和桌面打包运行仍待联调。
 
+## 工作台视觉规范(2026-11-30)
+
+- `studio.css` 统一工作台表面、间距和交互状态,`typography.css` 管理语义字号。使用暖白/石墨底色与灰绿色重点色,优先保证正文可读性,避免页面内多组高饱和配色抢占注意力。
+- 研究类图标复用 `ResearchIcon`:深色圆角描边,浅蓝、薄荷绿、暖黄填充,参照项目科研架构图的插画风格。SVG 保持清晰,不混入表情字符或不相关的品牌图案。
+- 主要导航、研究起点和欢迎图使用同一图标体系;小型操作箭头、关闭和展开等沿用现有控件,保留熟悉的交互含义。
+- 报告链接保留真实锚点、外链打开行为和键盘焦点,以浅底、低饱和文字和外链标记展示,避免浏览器默认蓝色下划线。不要通过隐藏链接、替换 URL 或改写报告内容实现美化。
+- 兼顾浅色、深色、窄窗口和减少动态效果设置;样式变化不增加连接审批或研究执行限制。
+
 ## 真实平台联调(2026-11-05)
 
 本地 LambdaAgentPaaS 位于同级 `lambdagentpaas`。现有 `.venv` 没有识别 src-layout 包,使用以下命令启动(仅在服务未运行时执行):

+ 2 - 2
packages/app/src/pages/paas/agent-edit.tsx

@@ -400,11 +400,11 @@ export function PaasAgentEdit(props: {
                     </span>
                   </div>
                 </Show>
-                <div class="paas-edit-columns">
+                <div class="paas-edit-columns paas-config-columns">
                   <For each={group.fields}>
                     {(field) => (
                       <label>
-                        {field.label}
+                        <span>{field.label}</span>
                         <input
                           type={field.min === undefined ? "text" : "number"}
                           min={field.min}

+ 7 - 5
packages/app/src/pages/paas/chat.tsx

@@ -2,6 +2,7 @@ import { For, Show, createEffect, createMemo, on, onCleanup, onMount, untrack }
 import { createStore } from "solid-js/store"
 import { Portal } from "solid-js/web"
 import { ResearchReport } from "./report"
+import { ResearchIcon } from "./research-icon"
 import { PaasActivity, paasActivityItems } from "./activity"
 import { externalToolPhase, researchToolLabel } from "./tool-label"
 import { useDialog } from "@opencode-ai/ui/context/dialog"
@@ -747,7 +748,8 @@ export function PaasChat(props: {
               when={current()?.messages.length}
               fallback={
                 <div class="paas-chat-welcome">
-                  <span class="paas-welcome-kicker">λ-Scientist · 科研工作空间</span>
+                  <ResearchIcon kind="knowledge" class="paas-welcome-mark" />
+                  <span class="paas-welcome-kicker">λ-Scientist</span>
                   <h2>从一个研究问题开始</h2>
                   <p>描述你的研究目标,或添加文献与已有方案。</p>
                   <Show when={!props.agents.length}>
@@ -1138,19 +1140,19 @@ export function PaasChat(props: {
                   {
                     title: "文献梳理",
                     detail: "提炼证据,发现研究缺口",
-                    icon: "magnifying-glass",
+                    icon: "evidence",
                     prompt: "阅读这些材料,梳理证据与研究缺口",
                   },
                   {
                     title: "方案设计",
                     detail: "把研究问题转化为计划",
-                    icon: "pencil-line",
+                    icon: "plan",
                     prompt: "围绕我的研究问题,设计可检验的研究方案",
                   },
                   {
                     title: "方案审阅",
                     detail: "核查依据,完善验证路径",
-                    icon: "checklist",
+                    icon: "review",
                     prompt: "审阅现有研究方案,指出需要补证或修订的部分",
                   },
                 ] as const
@@ -1166,7 +1168,7 @@ export function PaasChat(props: {
                     elements.input?.focus()
                   }}
                 >
-                  <Icon name={example.icon} size="normal" />
+                  <ResearchIcon kind={example.icon} />
                   <span>
                     <strong>{example.title}</strong>
                     <small>{example.detail}</small>

+ 10 - 25
packages/app/src/pages/paas/index.tsx

@@ -34,15 +34,16 @@ import { PaasAgentEdit, type AgentEditDraft } from "./agent-edit"
 import { PaasPacks } from "./packs"
 import { ResearchIssue } from "./issue"
 import { PaasReadiness, resourceAdvice } from "./readiness"
+import { ResearchIcon } from "./research-icon"
 import "./paas.css"
 import "./typography.css"
 import "./studio.css"
 
 const pages = [
-  { id: "chat", icon: "speech-bubble", name: "会话" },
-  { id: "agents", icon: "brain", name: "智能体" },
-  { id: "tasks", icon: "task", name: "平台任务" },
-  { id: "connection", icon: "server", name: "平台设置" },
+  { id: "chat", icon: "chat", name: "会话" },
+  { id: "agents", icon: "agent", name: "智能体" },
+  { id: "tasks", icon: "tasks", name: "平台任务" },
+  { id: "connection", icon: "settings", name: "平台设置" },
 ] as const
 
 const agentTones = [
@@ -120,10 +121,7 @@ export default function PaasWorkspace(
   let navElement: HTMLElement | undefined
   const saveNavLayout = () => {
     try {
-      localStorage.setItem(
-        navLayoutKey(platform.windowID),
-        JSON.stringify({ width: navWidth(), rail: navRail() }),
-      )
+      localStorage.setItem(navLayoutKey(platform.windowID), JSON.stringify({ width: navWidth(), rail: navRail() }))
     } catch {
       // Storage can be unavailable in restricted webviews; the layout still works for this session.
     }
@@ -588,20 +586,12 @@ export default function PaasWorkspace(
         aria-label="AgentPaaS 导航"
       >
         <Show when={navRail()}>
-          <button
-            type="button"
-            class="paas-rail-toggle"
-            aria-label="展开导航"
-            title="展开导航"
-            onClick={expandNav}
-          >
+          <button type="button" class="paas-rail-toggle" aria-label="展开导航" title="展开导航" onClick={expandNav}>
             <Icon name="chevron-right" size="small" />
           </button>
         </Show>
         <div class="paas-brand" aria-label="AgentPaaS" title="λ-Scientist 工作空间">
-          <span aria-hidden="true">
-            λ
-          </span>
+          <span aria-hidden="true">λ</span>
           <div>
             <strong>λ-Scientist</strong>
             <small>科研工作空间</small>
@@ -635,7 +625,7 @@ export default function PaasWorkspace(
                 onClick={() => goPage(page.id)}
               >
                 <span aria-hidden="true">
-                  <Icon name={page.icon} size="small" />
+                  <ResearchIcon kind={page.icon} />
                 </span>
                 <span class="paas-nav-label" role="tooltip">
                   {page.name}
@@ -1443,12 +1433,7 @@ export default function PaasWorkspace(
             savePreviewLayout()
           }}
         />
-        <PaasPreview
-          api={platform.paas}
-          scope={state.scope}
-          file={previewFile()}
-          onClose={closePreview}
-        />
+        <PaasPreview api={platform.paas} scope={state.scope} file={previewFile()} onClose={closePreview} />
       </Show>
     </div>
   )

+ 96 - 0
packages/app/src/pages/paas/research-icon.tsx

@@ -0,0 +1,96 @@
+import { Match, Switch } from "solid-js"
+
+/** Research illustrations: ink outlines and a shared blue / mint / amber palette. */
+export function ResearchIcon(props: {
+  kind: "chat" | "agent" | "tasks" | "settings" | "evidence" | "plan" | "review" | "knowledge"
+  class?: string
+}) {
+  return (
+    <svg
+      class={`paas-research-icon ${props.class || ""}`}
+      viewBox="0 0 48 48"
+      fill="none"
+      stroke="#293b48"
+      stroke-width="1.8"
+      stroke-linecap="round"
+      stroke-linejoin="round"
+      aria-hidden="true"
+    >
+      <Switch>
+        <Match when={props.kind === "chat"}>
+          <path d="M18 35v5h12v-5" fill="#d2eaf3" />
+          <rect x="5" y="12" width="33" height="23" rx="3" fill="#bce2f4" />
+          <rect x="9" y="16" width="25" height="15" rx="1" fill="#f6fbff" />
+          <path d="m14 21 4 3-4 3m9 0h5M14 41h20" />
+          <path
+            d="M29 5h10a4 4 0 0 1 4 4v7a4 4 0 0 1-4 4h-4l-5 4v-4h-1a4 4 0 0 1-4-4V9a4 4 0 0 1 4-4Z"
+            fill="#ffd06c"
+          />
+          <path d="M30 12h.2m4 0h.2m4 0h.2" stroke-width="3" />
+        </Match>
+        <Match when={props.kind === "agent"}>
+          <path d="M24 7v5M8 21H5v10h3m32-10h3v10h-3" />
+          <circle cx="24" cy="6" r="3" fill="#ffd06c" />
+          <rect x="8" y="12" width="32" height="28" rx="8" fill="#bce2f4" />
+          <rect x="13" y="19" width="22" height="12" rx="5" fill="#f6fbff" />
+          <path d="M18 24v2m12-2v2m-10 9h8" stroke-width="2.4" />
+          <path d="M15 40v3m18-3v3" />
+          <circle cx="10" cy="35" r="3" fill="#88d8bc" />
+        </Match>
+        <Match when={props.kind === "tasks"}>
+          <path d="M5 15V9h14l5 5h18v25H5Z" fill="#ffd06c" />
+          <path d="M5 18h38l-4 23H5Z" fill="#bce2f4" />
+          <rect x="16" y="9" width="20" height="26" rx="2" fill="#f6fbff" />
+          <path d="m20 17 2 2 3-4m3 3h4m-12 8 2 2 3-4m3 3h4" />
+          <circle cx="36" cy="35" r="8" fill="#88d8bc" />
+          <path d="m32 35 3 3 5-6" />
+        </Match>
+        <Match when={props.kind === "settings"}>
+          <path
+            d="m20 5 8 0 1 5 5 3 5-2 4 7-4 4v5l4 4-4 7-5-2-5 3-1 5h-8l-1-5-5-3-5 2-4-7 4-4v-5l-4-4 4-7 5 2 5-3Z"
+            fill="#bce2f4"
+          />
+          <circle cx="24" cy="25" r="10" fill="#ffd06c" />
+          <circle cx="24" cy="25" r="4.5" fill="#f6fbff" />
+        </Match>
+        <Match when={props.kind === "evidence"}>
+          <path d="M8 4h20l8 8v30H8Z" fill="#f6fbff" />
+          <path d="M28 4v9h8" fill="#bce2f4" />
+          <path d="m12 18 2 2 3-4m3 3h8m-16 8 2 2 3-4m3 3h6m-14 7h10" />
+          <circle cx="32" cy="30" r="9" fill="#ffd06c" />
+          <circle cx="32" cy="30" r="5.7" fill="#bce2f4" />
+          <path d="m38 37 6 6" stroke-width="4" />
+          <path d="M29 28a4 4 0 0 1 4-2" stroke="#fff" />
+        </Match>
+        <Match when={props.kind === "plan"}>
+          <path d="M8 40h29v5H8Z" fill="#ffd06c" />
+          <path d="m15 39 4-9 6 1 5 8" fill="#bce2f4" />
+          <path d="m18 29-5-15 7-3 8 15Z" fill="#bce2f4" />
+          <path d="m18 11 16-5 3 6-15 9Z" fill="#bce2f4" />
+          <circle cx="20" cy="29" r="6" fill="#ffd06c" />
+          <circle cx="17" cy="15" r="5" fill="#f6fbff" />
+          <circle cx="35" cy="10" r="4" fill="#ffd06c" />
+          <path d="m38 13 4 4-4 6m4-6 4 3-1 5" stroke="#293b48" />
+          <path d="m38 20-2 3m9-2v4" stroke="#60bfa3" stroke-width="3" />
+        </Match>
+        <Match when={props.kind === "review"}>
+          <path d="M24 4c6 5 11 6 17 7v13c0 10-8 17-17 21C15 41 7 34 7 24V11c6-1 11-2 17-7Z" fill="#bce2f4" />
+          <path d="M24 9c5 3 9 4 13 5v10c0 8-6 13-13 17-7-4-13-9-13-17V14c4-1 8-2 13-5Z" fill="#f6fbff" />
+          <rect x="16" y="17" width="7" height="7" rx="1" fill="#88d8bc" />
+          <path d="m18 20 1 1 3-3m5 1h5m-5 4h5m-15 6h15m-15 5h11" />
+        </Match>
+        <Match when={props.kind === "knowledge"}>
+          <path d="m4 33 20-10 20 10-20 11Z" fill="#ffd06c" />
+          <path d="m4 23 20-10 20 10-20 11Z" fill="#88d8bc" />
+          <path d="M4 13 24 3l20 10-20 11Z" fill="#83c8ec" />
+          <path d="m15 16 2 14 17-3-4-14-13 17m13-17-15 3m2 14 7 8 10-11" />
+          <circle cx="15" cy="16" r="3" fill="#f6fbff" />
+          <circle cx="30" cy="13" r="3" fill="#ffd06c" />
+          <circle cx="17" cy="30" r="3" fill="#f6fbff" />
+          <circle cx="34" cy="27" r="3" fill="#f0a98e" />
+          <circle cx="24" cy="38" r="3" fill="#bce2f4" />
+        </Match>
+      </Switch>
+    </svg>
+  )
+}

+ 279 - 52
packages/app/src/pages/paas/studio.css

@@ -1,60 +1,88 @@
 /* Product shell: quiet navigation, a focused writing surface, and progressive detail. */
 .paas-workspace {
-  --background-base: light-dark(#fcfcfb, #191b1e);
-  --background-weak: light-dark(#f3f4f2, #24272b);
-  --border-weak-base: light-dark(#e5e7e3, #35393e);
-  --text-base: light-dark(#252b2a, #edf0ec);
-  --text-weak: light-dark(#69716c, #a7b0aa);
-  --paas-accent: light-dark(#293b36, #d7e6dc);
+  --background-base: light-dark(#fdfcf9, #1c1d1c);
+  --background-weak: light-dark(#f2f1ec, #272926);
+  --border-weak-base: light-dark(#e6e4dd, #373a35);
+  --text-base: light-dark(#292d29, #e8eae4);
+  --text-weak: light-dark(#6d726a, #a6ada1);
+  --paas-accent: light-dark(#344b3f, #d0dec9);
   --paas-accent-contrast: light-dark(#fff, #17261e);
-  --paas-selected: light-dark(#e6eae6, #2c342f);
-  --paas-surface: light-dark(#fff, #202327);
+  --paas-selected: light-dark(#e6e8df, #30372e);
+  --paas-surface: light-dark(#ffffff, #232521);
+  --paas-shadow: 0 2px 6px light-dark(#272c2003, #00000010), 0 12px 40px light-dark(#272c2006, #00000018);
 }
 .paas-workspace .paas-sidebar {
-  background: light-dark(#f3f4f1, #151719);
+  background: light-dark(#f3f2ed, #171916);
   border-right-color: transparent;
-  padding-inline: 14px;
+  padding-inline: 12px;
 }
 .paas-sidebar .paas-brand {
   gap: 11px;
-  padding: 4px 8px 26px;
+  padding: 4px 10px 24px;
 }
 .paas-sidebar .paas-brand > span {
-  flex: 0 0 32px;
-  height: 32px;
+  flex: 0 0 30px;
+  height: 30px;
   background: var(--paas-accent);
   color: var(--paas-accent-contrast);
-  border-radius: 10px;
-  font-size: 25px;
+  border-radius: 9px;
+  font-size: 24px;
   line-height: 1;
   font-weight: 500;
 }
 .paas-brand small {
   margin-top: 2px;
 }
+.paas-workspace .paas-brand strong {
+  font-size: 15px;
+  letter-spacing: -0.3px;
+}
+.paas-workspace :is(button, a, input, select, textarea) {
+  transition:
+    background-color 140ms ease,
+    border-color 140ms ease,
+    box-shadow 140ms ease;
+}
+.paas-workspace button:hover:not(:disabled) {
+  border-color: color-mix(in srgb, var(--paas-accent) 22%, var(--border-weak-base));
+  background: color-mix(in srgb, var(--paas-accent) 5%, var(--background-base));
+}
+.paas-workspace :is(input, textarea)::placeholder {
+  color: var(--text-weak);
+  opacity: 0.85;
+}
 .paas-workspace .paas-new-session {
-  min-height: 42px;
-  margin-bottom: 18px;
+  min-height: 38px;
+  margin-bottom: 20px;
   padding: 10px 12px;
   background: var(--paas-surface);
   border-color: var(--border-weak-base);
   border-radius: 10px;
 }
 .paas-sidebar nav {
-  gap: 5px;
+  gap: 3px;
 }
 .paas-sidebar nav button {
-  min-height: 40px;
+  min-height: 38px;
   padding-inline: 12px;
+  font-weight: 400;
+  color: var(--text-weak);
 }
 .paas-sidebar nav button[aria-current="page"] {
   box-shadow: none;
   color: var(--text-base);
   background: var(--paas-selected);
+  font-weight: 500;
 }
 .paas-sidebar nav button svg {
-  width: 19px;
-  height: 19px;
+  width: 22px;
+  height: 22px;
+}
+.paas-research-icon {
+  display: block;
+  flex-shrink: 0;
+  width: 32px;
+  height: 32px;
 }
 .paas-nav-history {
   border-top: 0;
@@ -72,24 +100,49 @@
 .paas-sidebar-footer > :is(button, a) {
   border-color: transparent;
   background: transparent;
+  font-weight: 400;
+  color: var(--text-weak);
+}
+.paas-sidebar-footer {
+  padding: 20px 8px 2px;
+  gap: 8px;
+}
+.paas-nav-history-panel .paas-session-heading > strong {
+  font-size: var(--paas-type-meta);
+  font-weight: 500;
+  letter-spacing: 0.4px;
+  color: var(--text-weak);
+}
+.paas-nav-history-panel .paas-chat-search {
+  font-size: var(--paas-type-caption);
+}
+.paas-workspace .paas-sidebar-status {
+  font-size: var(--paas-type-meta);
+}
+.paas-workspace .paas-topbar :is(button, .paas-topbar-chat-title) {
+  border-color: transparent;
+  background: transparent;
+  font-size: var(--paas-type-caption);
+  font-weight: 500;
 }
 .paas-workspace .paas-topbar {
-  min-height: 62px;
+  min-height: 56px;
   border-bottom-color: transparent;
-  padding-inline: 28px;
+  padding-inline: 32px;
 }
 .paas-topbar-page {
   color: var(--text-weak);
 }
 .paas-workspace .paas-content {
   max-width: 1180px;
-  padding: 30px 48px 48px;
+  padding: 36px 48px 48px;
 }
 .paas-workspace.paas-chat-mode .paas-content {
   max-width: none;
   padding: 0;
 }
 .paas-workspace[data-page="connection"] .paas-content,
+.paas-workspace[data-page="resources"] .paas-content,
 .paas-workspace[data-page="edit-agent"] .paas-content {
   max-width: 860px;
 }
@@ -126,9 +179,9 @@
 .paas-connection-page {
   max-width: none;
   padding: 28px 32px;
-  border-radius: 16px;
+  border-radius: 14px;
   background: var(--paas-surface);
-  box-shadow: 0 4px 24px #00000003;
+  box-shadow: var(--paas-shadow);
 }
 .paas-connection-page > div:first-child {
   margin-bottom: 24px;
@@ -173,6 +226,11 @@
 .paas-directory-heading {
   margin-bottom: 32px;
 }
+.paas-workspace :is(.paas-directory-heading, .paas-section-title) h1 {
+  font-size: 28px;
+  font-weight: 500;
+  letter-spacing: -0.6px;
+}
 .paas-directory-grid {
   gap: 20px;
 }
@@ -181,7 +239,16 @@
   border-radius: 16px;
   box-shadow: none;
   background: var(--paas-surface);
-  min-height: 220px;
+  min-height: 208px;
+}
+.paas-agent-card:hover,
+.paas-agent-card:focus-within {
+  border-color: color-mix(in srgb, var(--paas-accent) 24%, var(--border-weak-base));
+  box-shadow: var(--paas-shadow);
+}
+.paas-agent-card .paas-agent-monogram {
+  border-radius: 12px;
+  background: color-mix(in srgb, var(--agent-tone) 9%, var(--paas-surface));
 }
 .paas-agent-card footer {
   border-top: 0;
@@ -206,6 +273,83 @@
 .paas-edit-columns {
   gap: 20px;
 }
+.paas-config-columns > label {
+  display: grid;
+  grid-template-rows: 1fr auto;
+  align-items: end;
+}
+.paas-agent-edit form > .paas-actions {
+  margin-bottom: 16px;
+}
+.paas-resource-page .paas-toolbar {
+  gap: 12px 8px;
+}
+.paas-resource-page .paas-toolbar > label {
+  flex-basis: 100%;
+}
+.paas-readiness-grid > div {
+  background: var(--paas-surface);
+  padding: 18px 16px;
+  border-radius: 12px;
+}
+.paas-readiness-grid > div > span {
+  color: var(--text-weak);
+  font-size: var(--paas-type-caption);
+}
+.paas-task-counts {
+  display: flex;
+  flex-wrap: wrap;
+  align-items: center;
+  gap: 10px;
+  padding: 0 0 8px;
+}
+.paas-task-counts > span {
+  background: var(--background-weak);
+  border-radius: 20px;
+  padding: 5px 12px;
+  font-size: var(--paas-type-caption);
+}
+.paas-task-counts > small {
+  margin-left: auto;
+  font-variant-numeric: tabular-nums;
+}
+.paas-task-page > .paas-toolbar {
+  display: grid;
+  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
+  gap: 16px;
+  margin: 16px 0 24px;
+}
+.paas-task-page > .paas-toolbar > label {
+  min-width: 0;
+  color: var(--text-weak);
+  font-size: var(--paas-type-caption);
+}
+.paas-task-page .paas-toolbar :is(input, select) {
+  color: var(--text-base);
+}
+.paas-task-empty {
+  align-items: center;
+  justify-content: center;
+  text-align: center;
+  min-height: 260px;
+  padding: 36px 24px;
+  border: 1px solid var(--border-weak-base);
+  border-radius: 16px;
+  background: var(--paas-surface);
+  gap: 10px;
+}
+.paas-task-empty > .paas-research-icon {
+  width: 48px;
+  height: 48px;
+  margin-bottom: 8px;
+}
+.paas-task-page > .paas-muted {
+  margin-top: 16px;
+  font-size: var(--paas-type-meta);
+}
+.paas-task-page tbody tr:hover {
+  background: var(--background-weak);
+}
 .paas-edit-footer {
   padding-block: 16px;
 }
@@ -213,15 +357,15 @@
   padding: 24px 28px;
 }
 .paas-chat-messages {
-  padding-inline: max(0px, calc((100% - 840px) / 2));
+  padding-inline: max(0px, calc((100% - 800px) / 2));
 }
 .paas-conversation > .paas-composer {
-  max-width: 840px;
+  max-width: 800px;
 }
 .paas-conversation-empty {
   justify-content: safe center;
   overflow-y: auto;
-  padding-block: 36px 80px;
+  padding-block: 40px 96px;
 }
 .paas-conversation-empty .paas-chat-messages {
   flex: 0 0 auto;
@@ -229,38 +373,53 @@
   padding-block: 0;
 }
 .paas-conversation-empty .paas-chat-welcome {
-  text-align: left;
-  padding: 0 4px 26px;
+  text-align: center;
+  padding: 0 4px 30px;
 }
 .paas-welcome-kicker {
   display: block;
   color: var(--text-weak);
   font-size: var(--paas-type-caption);
-  margin-bottom: 14px;
+  margin-bottom: 16px;
+  font-weight: 500;
+  letter-spacing: 0.6px;
+}
+.paas-research-icon.paas-welcome-mark {
+  display: block;
+  width: 52px;
+  height: 52px;
+  margin: 0 auto 16px;
+  color: var(--paas-accent);
+}
+.paas-conversation-empty > :is(.paas-composer, .paas-suggestions) {
+  max-width: 760px;
 }
 .paas-workspace .paas-chat-welcome h2 {
-  font-size: clamp(26px, 2.8vw, 34px);
+  font-size: clamp(26px, 2.5vw, 32px);
   line-height: 1.4;
-  font-weight: 600;
-  letter-spacing: -0.5px;
+  font-weight: 500;
+  letter-spacing: -0.8px;
   margin: 0;
 }
 .paas-chat-welcome > p {
   max-width: none;
   margin: 10px 0 0;
   color: var(--text-weak);
+  font-size: var(--paas-type-body);
 }
 .paas-workspace .paas-composer {
-  border-radius: 20px;
-  padding: 16px 18px 14px;
-  border-color: light-dark(#dce1db, #404840);
+  border-radius: 18px;
+  padding: 18px 20px 14px;
+  border-color: light-dark(#dedfd6, #444b3f);
   background: var(--paas-surface);
-  box-shadow: 0 5px 24px light-dark(#24382a08, #00000020);
+  box-shadow: var(--paas-shadow);
   gap: 10px;
 }
 .paas-workspace .paas-composer:focus-within {
-  border-color: light-dark(#8d9e90, #809388);
-  box-shadow: 0 5px 28px light-dark(#24382a0d, #00000028);
+  border-color: light-dark(#8b9a7e, #89997a);
+  box-shadow:
+    0 0 0 3px light-dark(#344b3f08, #d0dec90a),
+    var(--paas-shadow);
 }
 .paas-workspace .paas-composer textarea {
   order: 0;
@@ -291,9 +450,9 @@
   color: var(--text-weak);
 }
 .paas-workspace .paas-composer button.paas-primary {
-  border-radius: 12px;
-  width: 36px;
-  height: 36px;
+  border-radius: 50%;
+  width: 34px;
+  height: 34px;
 }
 .paas-composer .paas-upload-row,
 .paas-composer .paas-reference,
@@ -312,21 +471,30 @@
 .paas-conversation > .paas-suggestions {
   flex: 0 0 auto;
   width: 100%;
-  max-width: 840px;
+  max-width: 800px;
   grid-template-columns: repeat(3, minmax(0, 1fr));
-  gap: 12px;
-  margin: 18px auto 0;
+  gap: 0;
+  margin: 22px auto 0;
 }
 .paas-workspace .paas-suggestions button {
   display: flex;
   align-items: flex-start;
   gap: 10px;
-  padding: 16px 14px;
-  border: 1px solid var(--border-weak-base);
-  border-radius: 12px;
+  padding: 12px 16px;
+  border: 1px solid transparent;
+  border-radius: 10px;
   background: transparent;
   line-height: 1.5;
 }
+.paas-workspace .paas-suggestions button + button {
+  border-left-color: var(--border-weak-base);
+  border-radius: 0 10px 10px 0;
+}
+.paas-workspace .paas-suggestions button:hover:not(:disabled) {
+  border-color: transparent;
+  background: var(--background-weak);
+  border-radius: 10px;
+}
 .paas-suggestions button > span {
   min-width: 0;
   flex: 1;
@@ -336,9 +504,13 @@
   color: var(--text-weak);
   flex-shrink: 0;
 }
+.paas-suggestions button > .paas-research-icon {
+  margin-top: 1px;
+}
 .paas-suggestions strong {
   display: block;
   font-size: var(--paas-type-body);
+  font-weight: 500;
   margin-bottom: 5px;
 }
 .paas-suggestions small {
@@ -354,7 +526,7 @@
 .paas-chat-message[data-role="user"] {
   background: var(--background-weak);
   color: var(--text-base);
-  border-radius: 16px;
+  border-radius: 16px 16px 4px 16px;
 }
 .paas-preview {
   background: var(--paas-surface);
@@ -369,7 +541,37 @@
 .paas-workspace th {
   background: var(--background-weak);
 }
+/* Report links remain real, keyboard-accessible anchors, with a quiet resource treatment. */
+.paas-workspace .paas-report [data-component="markdown"] a {
+  color: var(--paas-accent);
+  text-decoration: none;
+  background: var(--background-weak);
+  border-radius: 5px;
+  padding: 2px 6px;
+  box-decoration-break: clone;
+  -webkit-box-decoration-break: clone;
+  overflow-wrap: anywhere;
+  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--paas-accent) 18%, transparent);
+}
+.paas-workspace .paas-report [data-component="markdown"] a:hover {
+  background: var(--paas-selected);
+  box-shadow: inset 0 -1px 0 var(--paas-accent);
+}
+.paas-workspace .paas-report [data-component="markdown"] a[href^="http"]::after {
+  content: "";
+  display: inline-block;
+  width: 12px;
+  height: 12px;
+  margin-left: 4px;
+  vertical-align: -1px;
+  background: currentColor;
+  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 3h8v8M13 3 3 13' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
+    center / contain no-repeat;
+}
 @media (max-width: 1100px) {
+  .paas-workspace .paas-sidebar:not(.paas-nav-open) .paas-nav-label {
+    visibility: hidden;
+  }
   .paas-workspace.paas-mac-chrome .paas-topbar {
     padding-left: 84px;
   }
@@ -396,6 +598,21 @@
   }
 }
 @media (max-width: 620px) {
+  .paas-task-page > .paas-toolbar {
+    grid-template-columns: repeat(2, minmax(0, 1fr));
+    gap: 12px;
+  }
+  .paas-task-page > .paas-toolbar > label:first-child {
+    grid-column: 1 / -1;
+  }
+  .paas-task-counts > small {
+    flex-basis: 100%;
+    margin-left: 0;
+  }
+  .paas-task-empty {
+    min-height: 220px;
+    padding: 28px 16px;
+  }
   .paas-workspace .paas-content {
     padding: 20px;
   }
@@ -431,4 +648,14 @@
     justify-content: flex-start;
     padding-block: 24px;
   }
+  .paas-research-icon.paas-welcome-mark {
+    width: 36px;
+    height: 36px;
+    margin-bottom: 10px;
+  }
+}
+@media (prefers-reduced-motion: reduce) {
+  .paas-workspace :is(button, a, input, select, textarea) {
+    transition: none;
+  }
 }

+ 4 - 2
packages/app/src/pages/paas/tasks.tsx

@@ -1,5 +1,6 @@
 import { For, Show, createEffect, createMemo, on, onCleanup } from "solid-js"
 import { createStore, reconcile } from "solid-js/store"
+import { ResearchIcon } from "./research-icon"
 import {
   paasRecord,
   paasRows,
@@ -212,11 +213,11 @@ export function PaasTasks(props: {
     ...new Map(props.index.state.rows.map((row) => [paasText(row.agent_id), paasText(row.agent_name)])).entries(),
   ])
   return (
-    <section aria-label="平台任务列表">
+    <section class="paas-task-page" aria-label="平台任务列表">
       <div class="paas-section-title">
         <div>
           <h1>平台任务</h1>
-          <p>汇总活动任务与最近记录,支持加载更早历史。打开任务可查看成果或处理确认。</p>
+          <p>查看研究进展、处理待确认事项,随时回到已有成果。</p>
         </div>
         <button disabled={!props.connected || props.index.state.loading} onClick={() => void props.index.refresh()}>
           刷新任务
@@ -268,6 +269,7 @@ export function PaasTasks(props: {
         when={rows().length}
         fallback={
           <div class="paas-task-empty">
+            <ResearchIcon kind="tasks" />
             <strong>
               {!props.connected
                 ? "连接平台后加载任务"