:root { --ink:#17211e; --muted:#63706b; --paper:#f7f5f0; --line:#d9ded7; --green:#176c56; --deep:#123c33; --warm:#e77d3f; --red:#a33b36; --blue:#235fa7; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:linear-gradient(135deg,#eef2eb 0%,var(--paper) 45%,#fbf4ea 100%); font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; min-height:100vh; }
.shell { width:min(1160px,calc(100% - 32px)); margin:0 auto; padding:64px 0 72px; }
header { margin-bottom:28px; } h1 { margin:4px 0 8px; font-size:42px; letter-spacing:-1.8px; } h2 { margin:3px 0 0; font-size:22px; } .subtitle,.hint,.result-meta { color:var(--muted); margin:0; line-height:1.65; }.eyebrow { color:var(--green); font-size:12px; font-weight:800; letter-spacing:1.5px; margin:0; }
.panel { background:rgba(255,255,255,.78); border:1px solid rgba(23,108,86,.14); border-radius:18px; box-shadow:0 16px 45px rgba(28,53,42,.08); }
.task-entry { padding:22px; margin-bottom:22px; }.entry-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:16px; margin-bottom:14px; }.create-inline { border-top:1px solid var(--line); padding-top:12px; }.create-inline summary { cursor:pointer; color:var(--deep); font-weight:800; list-style:none; }.create-inline summary::-webkit-details-marker { display:none; }.create-inline summary::after { content:"展开"; float:right; color:var(--muted); font-size:12px; }.create-inline[open] summary::after { content:"收起"; }.create-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px 16px; margin-top:16px; }.wide { grid-column:1/-1; }.field label { display:block; margin-bottom:7px; font-size:13px; font-weight:700; }.field input,.field textarea,.field select { width:100%; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:#fff; padding:12px 13px; font-size:15px; outline:none; font-family:inherit; }.field textarea { min-height:96px; resize:vertical; line-height:1.6; }.field input:focus,.field textarea:focus,.field select:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(23,108,86,.1); }.required { color:var(--red); font-size:12px; }.optional { color:var(--muted); font-size:12px; }.attachment-placeholder { border:1px dashed #cfd7d2; border-radius:12px; padding:13px; color:var(--muted); background:rgba(255,255,255,.45); font-size:13px; line-height:1.6; }.actions,.dev-actions,.section-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }button { font:inherit; cursor:pointer; } .actions button,.dev-actions button,.section-head button,.section-actions button,.button-like { white-space:nowrap; border:0; border-radius:10px; padding:12px 15px; font-weight:700; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; }.primary { background:var(--green); color:white; }.primary:hover { background:var(--deep); }.secondary { border:1px solid var(--line)!important; background:#fff; color:var(--deep); }.danger { border:1px solid #d77a75!important; background:#fff7f6; color:#a32620; }.danger:hover { background:#fde7e5; }.secondary.schema { border-color:#b8c8e8!important; background:#f4f7ff; color:#23427a; }.secondary.sync { border-color:#e3b95d!important; background:#fff9e8; color:#6e4d08; }.secondary.small { padding:7px 9px; font-size:12px; }.hint { grid-column:1/-1; font-size:12px; }
.recent-task-row { display:flex; gap:10px; align-items:center; }.recent-task-row select { flex:1; }.recent-task-row button { border:1px solid var(--line); border-radius:10px; padding:12px 15px; font-weight:800; background:#fff; color:var(--deep); }.recent-task-field .hint { margin:8px 0 0; }
.section-head { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:18px; }
.workspace-shell { margin-bottom:26px; }.tabs { display:flex; gap:8px; margin:0 0 10px; overflow:auto; }.tab { border:1px solid var(--line); background:rgba(255,255,255,.72); color:var(--deep); border-radius:999px; padding:10px 16px; font-weight:800; white-space:nowrap; }.tab.active { background:var(--green); color:#fff; border-color:var(--green); }.tab-panel { display:none; padding:22px; }.tab-panel.active { display:block; }.overview-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }.overview-item { border:1px solid rgba(23,108,86,.12); border-radius:14px; background:#fffdfa; padding:15px; min-height:92px; }.overview-item span { display:block; color:var(--muted); font-size:12px; margin-bottom:8px; }.overview-item strong { font-size:18px; line-height:1.35; }.empty-state { color:var(--muted); border:1px dashed #cfd7d2; border-radius:14px; padding:18px; background:rgba(255,255,255,.5); }
.upload-box { border:1px dashed #cfd7d2; border-radius:16px; padding:18px; background:#fffdfa; display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:16px; }.upload-box input { flex:1; min-width:220px; }.upload-box select { border:1px solid var(--line); border-radius:10px; padding:12px 13px; background:#fff; color:var(--ink); font:inherit; }.selected-file-list { width:100%; border:1px solid rgba(23,108,86,.12); border-radius:12px; background:#f7fbf8; padding:10px 12px; }.selected-file-list .hint { margin:0; }.selected-file-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }.selected-file-head strong { color:var(--deep); font-size:13px; }.selected-file-items { list-style:none; padding:0; margin:0; display:grid; gap:7px; }.selected-file-items li { display:flex; align-items:center; justify-content:space-between; gap:10px; border:1px solid rgba(23,108,86,.1); border-radius:10px; background:#fff; padding:8px 9px; }.selected-file-items span { color:#243832; font-size:13px; overflow-wrap:anywhere; }.selected-file-items small { color:var(--muted); margin-left:6px; }.list-box { display:grid; gap:10px; }.list-item { border:1px solid rgba(23,108,86,.13); border-radius:14px; background:#fffdfa; padding:14px; display:flex; justify-content:space-between; gap:14px; align-items:center; }.list-item.stacked { display:block; }.list-item p { margin:5px 0 0; color:var(--muted); line-height:1.6; }.knowledge-item { align-items:flex-start; }.knowledge-head { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }.item-actions { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }.tag { display:inline-flex; border-radius:999px; background:#e7f6ed; color:#0d6048; padding:4px 8px; font-size:12px; font-weight:800; }.tag.pale { background:#eef1ee; color:var(--muted); }.muted-text { color:var(--muted); font-size:12px; }.small-link { border-radius:9px; padding:7px 10px; text-decoration:none; font-size:12px; font-weight:800; }
.knowledge-version-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:12px 0; }
.knowledge-version-card { border:1px solid rgba(23,108,86,.13); border-radius:12px; background:#f8fbf9; padding:11px 12px; }
.knowledge-version-card span { display:block; color:var(--deep); font-size:12px; font-weight:800; margin-bottom:5px; }
.knowledge-version-card p { margin:0; color:var(--ink); white-space:pre-wrap; }
.knowledge-version-card.ai-version { background:#f4f7f5; }
.knowledge-version-card.ae-version { background:#eef8f2; }
.knowledge-editor-label { display:block; margin:12px 0 6px; color:var(--deep); font-weight:800; }
.knowledge-editor { width:100%; min-height:96px; box-sizing:border-box; border:1px solid var(--line); border-radius:12px; padding:12px; background:#fff; color:var(--ink); font:inherit; line-height:1.6; resize:vertical; }
.ae-knowledge-review { display:block; }
.ae-knowledge-actions { margin-top:10px; justify-content:flex-start; }
.ae-knowledge-history { display:block; }
.ae-knowledge-history .manager-version { margin:10px 0 12px; background:#fffaf0; }
.ae-knowledge-history.is-success { border-color:rgba(23,108,86,.28); }
.ae-knowledge-history.is-progress { border-color:rgba(183,125,20,.28); }
.ae-knowledge-history.is-danger { border-color:rgba(190,67,58,.32); }
.knowledge-history-empty { display:flex; flex-direction:column; gap:8px; }
.feedback-composer { border:1px solid rgba(23,108,86,.14); border-radius:18px; background:#fffdfa; padding:16px; margin-bottom:16px; display:grid; gap:12px; }
.feedback-composer-head { display:flex; justify-content:space-between; gap:14px; align-items:flex-start; }
.feedback-composer-head strong { color:var(--deep); font-size:16px; }
.feedback-composer-head p { margin:5px 0 0; color:var(--muted); line-height:1.55; font-size:13px; }
.feedback-composer textarea { min-height:100px; border:1px solid var(--line); border-radius:12px; padding:12px 13px; font:inherit; line-height:1.6; resize:vertical; }
.paste-zone { border:1px dashed #b9c9c1; border-radius:16px; background:#f4fbf6; min-height:98px; display:grid; place-items:center; text-align:center; color:var(--deep); outline:none; }
.paste-zone strong { display:block; font-size:16px; }
.paste-zone span { display:block; margin-top:5px; color:var(--muted); font-size:13px; }
.paste-zone:focus,.paste-zone.dragging { border-color:var(--green); box-shadow:0 0 0 3px rgba(23,108,86,.1); background:#eefaf2; }
.feedback-preview-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:10px; }
.feedback-preview { border:1px solid rgba(23,108,86,.13); border-radius:14px; background:#fff; padding:10px; display:flex; gap:10px; align-items:center; }
.feedback-preview img { width:72px; height:72px; object-fit:cover; border-radius:10px; border:1px solid var(--line); }
.feedback-preview p { margin:4px 0 8px; color:var(--muted); font-size:12px; }
.feedback-composer-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.feedback-package .feedback-thumbs { display:flex; gap:8px; flex-wrap:wrap; margin:10px 0; }
.feedback-thumb img { width:88px; height:88px; object-fit:cover; border-radius:12px; border:1px solid var(--line); background:#fff; }
.feedback-understanding { border:1px solid rgba(23,108,86,.1); border-radius:12px; background:#fff; padding:10px 12px; margin-top:10px; }
.legacy-feedback-detail { margin-top:16px; border:1px solid rgba(23,108,86,.12); border-radius:14px; overflow:hidden; }
.workflow { display:flex; align-items:center; gap:9px; margin:14px 0 18px; }.agent-card { flex:1; min-width:0; display:flex; align-items:center; gap:10px; text-align:left; padding:12px 13px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.7); color:var(--ink); transition:.2s transform,.2s border-color,.2s box-shadow; }.agent-card:hover { transform:translateY(-2px); border-color:var(--green); box-shadow:0 8px 20px rgba(23,108,86,.12); }.agent-card strong,.agent-card small { display:block; }.agent-card small { color:var(--muted); font-size:12px; margin-top:3px; line-height:1.35; }.step { color:var(--green); font-size:12px; font-weight:800; }.run-label { margin-left:auto; border-radius:99px; background:#eef1ee; color:var(--muted); font-size:11px; font-weight:800; padding:5px 8px; }.connector { color:#9ca9a2; }.agent-card.waiting { border-color:var(--line); }.agent-card.running { border-color:var(--warm); background:#fff8f1; }.agent-card.running .run-label { color:#8a4d21; background:#fff0e4; }.agent-card.done,.agent-card.failed { border-color:var(--line); background:rgba(255,255,255,.7); }.agent-card.done .run-label { color:#0d6048; background:#e7f6ed; }.agent-card.failed .run-label { color:#9d3030; background:#ffdfdf; }
.manual-card { cursor:default; }.manual-card:hover { transform:none; box-shadow:none; border-color:var(--line); }.manual-card .run-label { color:#0d6048; background:#e7f6ed; }
.results-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:0; align-items:start; }.output-card { overflow:hidden; background:rgba(255,255,255,.8); border:1px solid rgba(23,108,86,.14); border-radius:16px; }.output-card-head { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:15px 18px 11px; border-bottom:1px solid var(--line); }.output-card-head h3 { margin:3px 0 0; font-size:18px; }.write-status,.work-status { border-radius:99px; background:#eef1ee; color:var(--muted); font-size:12px; font-weight:800; padding:6px 9px; white-space:nowrap; }.write-status { cursor:pointer; }.write-status.neutral,.work-status.neutral { color:var(--muted)!important; background:#eef1ee!important; }.write-status.success,.work-status.success { color:#0d6048!important; background:#e7f6ed!important; }.write-status.warning,.work-status.warning { color:#7a5500!important; background:#fff0c8!important; }.write-status.blocker,.work-status.blocker { color:#9d3030!important; background:#ffdfdf!important; }.work-status { display:inline-flex; align-items:center; }.module-head-actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
.brief-template-select { padding:14px 20px; border-bottom:1px solid var(--line); background:#f4fbf6; }
.value-callout { margin:14px 20px 0; border:1px solid rgba(23,108,86,.15); border-radius:14px; background:linear-gradient(135deg,#f1f9f4,#fffdfa); padding:13px 14px; }
.value-callout strong { display:block; color:var(--deep); font-size:13px; margin-bottom:4px; }
.value-callout p { margin:0; color:#52635b; font-size:13px; line-height:1.65; }
.task-assist { margin:14px 20px; border:1px solid rgba(23,108,86,.14); border-radius:16px; background:#fffdfa; overflow:hidden; }
.task-assist.empty { background:rgba(255,255,255,.6); }
.task-assist.empty p { margin:0; padding:12px 14px; color:var(--muted); font-size:13px; line-height:1.6; }
.assist-panel-head { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 14px; border-bottom:1px solid rgba(217,222,215,.82); background:#f4fbf6; }
.assist-panel-head strong { color:var(--deep); font-size:14px; }
.assist-panel-head span { color:#52635b; font-size:12px; font-weight:800; text-align:right; line-height:1.45; }
.assist-summary { margin:0; padding:12px 14px; color:#31413b; font-size:13px; line-height:1.65; border-bottom:1px solid rgba(217,222,215,.7); }
.assist-grid { display:grid; gap:10px; padding:12px; }
.assist-card { border:1px solid rgba(23,108,86,.12); border-radius:13px; background:#fff; padding:12px; }
.assist-card.warning { border-color:#e3b95d; background:#fffaf0; }
.assist-card.blocker { border-color:#d78a85; background:#fff3f0; }
.assist-title { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.assist-title strong { color:var(--ink); font-size:14px; line-height:1.4; }
.assist-card p { margin:7px 0 0; color:#52635b; font-size:13px; line-height:1.6; }
.assist-card .assist-action { color:#254238; font-weight:800; }
.assist-card .assist-why { color:#6a5a31; }
.assist-card blockquote { margin:9px 0 0; padding:8px 10px; border-left:3px solid var(--green); background:#f4fbf6; color:#23362f; font-size:13px; line-height:1.55; }
.assist-meta { margin-top:9px; display:flex; flex-wrap:wrap; gap:6px; }
.assist-meta span { border-radius:999px; background:#eef1ee; color:var(--muted); padding:4px 8px; font-size:11px; font-weight:800; }
.assist-basis { margin-top:8px; border-top:1px dashed rgba(217,222,215,.9); padding-top:8px; }
.assist-basis summary { cursor:pointer; color:var(--deep); font-size:12px; font-weight:800; list-style:none; }
.assist-basis summary::-webkit-details-marker { display:none; }
.assist-basis summary::after { content:"展开"; float:right; color:var(--muted); font-size:12px; font-weight:700; }
.assist-basis[open] summary::after { content:"收起"; }
.assist-basis p { margin:7px 0 0; font-size:12px; color:var(--muted); }
.brain-insights { margin:14px 20px; border:1px solid rgba(23,108,86,.14); border-radius:16px; background:#fffdfa; overflow:hidden; }
.brain-insights.empty { background:rgba(255,255,255,.6); }
.brain-insights.empty p { margin:0; padding:12px 14px; color:var(--muted); font-size:13px; line-height:1.6; }
.insight-panel-head { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 14px; border-bottom:1px solid rgba(217,222,215,.82); background:#f4fbf6; }
.insight-panel-head strong { color:var(--deep); font-size:14px; }
.insight-panel-head span { color:var(--muted); font-size:12px; font-weight:800; }
.insight-grid { display:grid; gap:10px; padding:12px; }
.insight-card { border:1px solid rgba(23,108,86,.12); border-radius:13px; background:#fff; padding:12px; }
.insight-card.pending { border-color:#e3b95d; background:#fffaf0; }
.insight-title { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.insight-title strong { color:var(--ink); font-size:14px; line-height:1.4; }
.insight-card p { margin:7px 0 0; color:#52635b; font-size:13px; line-height:1.6; }
.insight-card .insight-action { color:#31413b; font-weight:700; }
.insight-meta { margin-top:9px; display:flex; flex-wrap:wrap; gap:6px; }
.insight-meta span { border-radius:999px; background:#eef1ee; color:var(--muted); padding:4px 8px; font-size:11px; font-weight:800; }
.pending-tag { background:#fff0c8!important; color:#7a5500!important; }
.brief-template-select label { display:block; margin-bottom:7px; color:var(--deep); font-size:13px; font-weight:900; }
.brief-template-select select { width:100%; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:#fff; padding:12px 13px; font-size:15px; outline:none; font-family:inherit; }
.brief-template-select select:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(23,108,86,.1); }
.brief-template-select .hint { margin:7px 0 0; }
.content-confirm-card { grid-column:1/-1; }.content-confirm-form { padding:18px 20px; background:#fffdfa; display:grid; grid-template-columns:1fr 1fr; gap:14px 16px; }.content-confirm-form .field textarea { min-height:82px; }.content-confirm-form #contentMainCopy { min-height:180px; }.content-confirm-guide { border:1px dashed #cfd7d2; border-radius:12px; background:#f7fbf8; padding:12px 14px; color:#52635b; }.content-confirm-card.saved .write-status { color:#0d6048; background:#e7f6ed; }
.brief-doc-panel { display:flex; justify-content:space-between; gap:16px; align-items:center; padding:16px 20px; border-bottom:1px solid var(--line); background:#f4fbf6; }
.brief-doc-panel strong { display:block; color:var(--deep); margin-bottom:4px; }
.brief-doc-panel p { margin:0; color:var(--muted); line-height:1.55; font-size:13px; }
.brief-doc-panel p span { color:#0d6048; font-weight:800; }
.brief-doc-panel .brief-auth-status { margin:0 0 8px; color:#9a6a16; font-weight:800; }
.brief-doc-panel .brief-auth-status.connected { color:#0d6048; }
.brief-doc-panel .brief-auth-status.failed { color:#9d3030; }
.brief-doc-panel .brief-edit-help { margin-top:8px; color:#46534e; font-weight:700; }
.brief-url { display:block; margin-top:6px; color:var(--green); font-weight:800; overflow-wrap:anywhere; }
.brief-doc-panel.empty { background:#fffdfa; }
.brief-doc-panel.waiting-link { background:#fff9e8; }
.brief-doc-panel.failed { background:#fff3f0; }
.brief-doc-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.brief-doc-actions .disabled { color:var(--muted); pointer-events:none; opacity:.55; }
.output-summary { padding:16px 18px 14px; min-height:0; line-height:1.58; font-size:14px; background:#fffdfa; }.output-summary.placeholder { color:var(--muted); min-height:88px; display:flex; align-items:center; }.summary-row { margin:0 0 11px; }.summary-row:last-child { margin-bottom:0; }.summary-row strong { display:block; margin-bottom:3px; color:var(--deep); font-size:13px; }.summary-row p { margin:0; }.summary-row ul { margin:3px 0 0; padding-left:18px; }.summary-row.highlight { border-left:3px solid var(--green); padding-left:10px; }.summary-row.attention { border-left:3px solid #d6a746; padding-left:10px; }.empty-note { color:var(--muted); margin:0; }.compact-brief { display:grid; gap:7px; }.compact-brief p { margin:0; }.checklist { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:1fr 1fr; gap:8px; }.checklist li { display:flex; align-items:center; gap:7px; border:1px solid rgba(23,108,86,.12); border-radius:10px; padding:8px 9px; background:#fff; }.checklist span { color:var(--green); font-weight:900; }.error-text { white-space:pre-wrap; color:#9d3030; margin:0; }
.output-detail { border-top:1px solid var(--line); background:#fff; }.output-detail summary { list-style:none; cursor:pointer; padding:12px 20px; color:var(--deep); font-size:13px; font-weight:800; }.output-detail summary::-webkit-details-marker { display:none; }.output-detail summary::after { content:"展开"; float:right; color:var(--muted); font-size:12px; font-weight:700; }.output-detail[open] summary::after { content:"收起"; }.output-detail pre { min-height:120px; max-height:360px; border-top:1px solid var(--line); padding:16px 20px; font-size:12px; background:#fffdfa; }.detail-content { border-top:1px solid var(--line); background:#fffdfa; padding:0 0 10px; }.detail-block { border-bottom:1px solid rgba(217,222,215,.65); padding:14px 20px; }.detail-block h4 { margin:0 0 8px; font-size:13px; color:var(--deep); }.detail-block pre { min-height:80px; max-height:280px; border:1px solid rgba(217,222,215,.8); border-radius:10px; padding:12px; background:#fff; font-size:12px; }
.insight-panel[hidden] { display:none; }
.work-actions { border-top:1px solid var(--line); background:#fff; padding:13px 18px 15px; }
.work-actions h4 { margin:0 0 9px; color:var(--deep); font-size:13px; }
.work-action-list { display:grid; gap:8px; }
.work-action { border-left:3px solid #d6a746; border-radius:8px; background:#fffaf0; padding:10px 11px; }
.work-action.blocker { border-left-color:#c45151; background:#fff3f0; }
.work-action-title { display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.work-action-title strong { color:var(--ink); font-size:13px; }
.work-action-title span { color:var(--muted); font-size:11px; font-weight:800; white-space:nowrap; }
.work-action p { margin:5px 0 0; color:#52635b; font-size:13px; line-height:1.55; }
.work-action .next-action { color:#254238; }
.work-action blockquote { margin:7px 0 0; padding:7px 9px; background:#fff; border-left:2px solid var(--green); color:#31413b; font-size:12px; }
.module-evidence { border-top:1px solid var(--line); background:#fff; }
.module-evidence > summary { list-style:none; cursor:pointer; padding:11px 18px; color:var(--deep); font-size:12px; font-weight:800; }
.module-evidence > summary::-webkit-details-marker { display:none; }
.module-evidence > summary::after { content:"展开"; float:right; color:var(--muted); font-size:11px; }
.module-evidence[open] > summary::after { content:"收起"; }
.help-dot { display:inline-grid; place-items:center; width:17px; height:17px; border-radius:50%; background:#eef1ee; color:var(--muted); font-size:11px; margin-left:4px; }
.evidence-content { border-top:1px solid var(--line); background:#fffdfa; padding:13px 18px; }
.evidence-summary { margin:0 0 9px; color:#52635b; font-size:12px; line-height:1.55; }
.evidence-list { display:grid; gap:8px; }
.evidence-item { border:1px solid rgba(23,108,86,.1); border-radius:10px; background:#fff; padding:10px; }
.evidence-item strong { font-size:12px; color:var(--deep); }
.evidence-item p { margin:4px 0 0; color:var(--muted); font-size:11px; line-height:1.5; }
.passed-summary { margin:8px 0; color:#0d6048; font-size:12px; font-weight:800; }
.passed-details { border:1px solid rgba(23,108,86,.1); border-radius:10px; padding:9px 11px; background:#f7fbf8; }
.passed-details summary { cursor:pointer; color:#0d6048; font-size:12px; font-weight:800; }
.passed-details p { margin:6px 0 0; color:#52635b; font-size:12px; }
.technical-note { margin:10px 0 0; color:var(--muted); font-size:11px; line-height:1.55; }
.compact-evidence { margin-top:10px; border:1px solid rgba(23,108,86,.1); border-radius:10px; overflow:hidden; }
.compact-evidence > summary { padding:9px 11px; }
.technical-detail { padding:10px 12px; border-top:1px solid var(--line); background:#fffdfa; }
.technical-detail p { margin:4px 0; color:var(--muted); font-size:12px; }
.technical-detail pre { min-height:80px; max-height:260px; margin-top:10px; padding:12px; border:1px solid var(--line); border-radius:10px; font-size:11px; }
.work-result-box { display:grid; gap:10px; }
.review-decision { border-left:4px solid var(--green); border-radius:12px; background:#f4fbf6; padding:14px 16px; }
.review-decision.warning { border-left-color:#d6a746; background:#fffaf0; }
.review-decision.blocker { border-left-color:#c45151; background:#fff3f0; }
.review-decision > strong { display:block; color:var(--ink); font-size:22px; }
.review-decision p { margin:5px 0 0; color:#52635b; font-size:13px; }
.review-final-decision { border-left-width:0; border:2px solid #b8ddca; padding:18px 20px; margin-bottom:14px; }
.review-final-decision.blocker { border-color:#e0aaa5; background:#fff3f0; }
.review-final-decision.warning { border-color:#e3b95d; background:#fffaf0; }
.review-final-decision small { display:block; margin-bottom:6px; color:var(--deep); font-size:12px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.review-final-decision > strong { font-size:28px; line-height:1.25; }
.review-checklist { display:grid; gap:9px; }
.review-layer { display:grid; gap:10px; margin-top:14px; }
.review-status-guide { margin:0 0 12px; border:1px solid var(--line); border-radius:10px; background:#fbfcfa; padding:9px 12px; }
.review-status-guide summary { cursor:pointer; color:var(--deep); font-size:12px; font-weight:900; }
.review-status-guide p { margin:7px 0 0; color:var(--muted); font-size:12px; line-height:1.65; }
.review-layer + .review-layer { padding-top:14px; border-top:1px solid var(--line); }
.review-layer-header { display:flex; gap:11px; align-items:flex-start; }
.review-layer-header > span { min-width:28px; color:var(--green); font-size:12px; font-weight:900; letter-spacing:.08em; }
.review-layer-header strong { display:block; color:var(--deep); font-size:17px; }
.review-layer-header p { margin:3px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }
.review-check-row { border:1px solid rgba(23,108,86,.12); border-radius:14px; background:#fffdfa; padding:13px 14px; display:grid; grid-template-columns:1fr auto; gap:14px; align-items:center; }
.review-check-row strong { display:block; color:var(--ink); font-size:15px; line-height:1.35; }
.review-check-row p { margin:5px 0 0; color:#52635b; font-size:13px; line-height:1.55; }
.review-check-row.fail { border-color:#e0aaa5; background:#fff5f3; }
.review-check-row.pass { border-color:#b8ddca; background:#f5fbf7; }
.review-check-row.not-applicable { border-color:#dfe4e0; background:#fafbf9; }
.review-check-row.unverifiable { border-color:#e3c888; background:#fffaf0; }
.review-check-row.advice { border-color:#b9d7de; background:#f4fafb; }
.review-check-detail { margin-top:9px; border-top:1px dashed rgba(82,99,91,.22); padding-top:8px; }
.review-check-detail summary { cursor:pointer; color:var(--deep); font-size:12px; font-weight:900; list-style:none; }
.review-check-detail summary::-webkit-details-marker { display:none; }
.review-check-detail summary::after { content:" ↓"; color:var(--muted); font-weight:700; }
.review-check-detail[open] summary::after { content:" ↑"; }
.review-check-detail div { margin-top:7px; color:#52635b; font-size:12px; line-height:1.65; }
.review-check-result { min-width:74px; display:flex; align-items:center; justify-content:flex-end; gap:8px; font-weight:900; }
.review-check-result span { width:32px; height:32px; border-radius:999px; display:inline-grid; place-items:center; font-size:20px; line-height:1; }
.review-check-result small { font-size:12px; white-space:nowrap; color:var(--muted); font-weight:900; }
.review-check-row.pass .review-check-result span { background:#dff4e8; color:#0d6048; }
.review-check-row.fail .review-check-result span { background:#ffdeda; color:#9d3030; }
.review-check-row.not-applicable .review-check-result span { background:#eef1ee; color:#6b766f; }
.review-check-row.unverifiable .review-check-result span { background:#fff0c8; color:#8c681c; }
.review-check-row.advice .review-check-result span { background:#dff1f4; color:#17637a; }
.review-check-row.pass .review-check-result small { color:#0d6048; }
.review-check-row.fail .review-check-result small { color:#9d3030; }
.review-check-row.not-applicable .review-check-result small { color:#6b766f; }
.review-check-row.unverifiable .review-check-result small { color:#8c681c; }
.review-check-row.advice .review-check-result small { color:#17637a; }
.review-action-group { border:1px solid rgba(23,108,86,.12); border-radius:12px; background:#fffdfa; padding:12px 14px; }
.review-action-group.warning { border-color:#e3b95d; background:#fffaf0; }
.review-action-group.blocker { border-color:#d78a85; background:#fff3f0; }
.review-action-group h3 { margin:0 0 7px; color:var(--deep); font-size:14px; }
.review-action-group ul { margin:0; padding-left:19px; color:#31413b; line-height:1.6; font-size:13px; }
#tab-review .work-result-box { margin-bottom:12px; }
#tab-feedback #feedbackPackageList { margin-bottom:14px; }
.feedback-quote { margin:9px 0 0; border-left:3px solid var(--green); background:#fff; padding:9px 11px; color:#23362f; line-height:1.6; }
.module-evidence > pre { min-height:80px; max-height:260px; padding:14px 18px; border-top:1px solid var(--line); font-size:11px; }
.timeline-note-box { margin-bottom:18px; }.timeline-list { position:relative; display:grid; gap:12px; }.timeline-event { position:relative; border:1px solid rgba(23,108,86,.13); border-radius:16px; background:#fffdfa; padding:15px 16px 13px 18px; }.timeline-event::before { content:""; position:absolute; left:-1px; top:18px; width:4px; height:36px; border-radius:999px; background:var(--green); }.timeline-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }.timeline-title { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }.timeline-title strong { font-size:16px; }.timeline-time { color:var(--muted); font-size:12px; white-space:nowrap; }.timeline-content { margin:8px 0 0; color:var(--muted); line-height:1.65; }.timeline-detail summary { margin-top:10px; cursor:pointer; color:var(--deep); font-size:12px; font-weight:800; list-style:none; }.timeline-detail summary::-webkit-details-marker { display:none; }.timeline-detail pre { min-height:auto; max-height:220px; margin-top:8px; padding:12px; border:1px solid rgba(217,222,215,.8); border-radius:12px; background:#fff; font-size:12px; }
.dev-tools { margin:-6px 0 26px; padding:0; overflow:hidden; }.dev-tools summary { list-style:none; cursor:pointer; padding:16px 20px; color:var(--deep); font-weight:800; }.dev-tools summary::-webkit-details-marker { display:none; }.dev-tools summary::after { content:"展开"; float:right; color:var(--muted); font-size:12px; font-weight:700; }.dev-tools[open] summary::after { content:"收起"; }.developer-protocol-head { border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:16px; padding:18px 20px 2px; align-items:flex-start; }.protocol-pill { border-radius:999px; color:#0d6048; background:#e7f6ed; padding:7px 10px; font-size:12px; font-weight:900; }.developer-status,.current-system-status { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; padding:16px 20px 0; }.developer-status div,.current-system-status div { border:1px solid rgba(23,108,86,.12); border-radius:14px; background:#fffdfa; padding:13px; }.developer-status span,.current-system-status span { display:block; color:var(--muted); font-size:12px; margin-bottom:6px; }.developer-status strong,.current-system-status strong,.snapshot-link { color:var(--deep); font-size:14px; font-weight:800; overflow-wrap:anywhere; }.current-system-status .wide-status { grid-column:1/-1; }.snapshot-link.disabled { color:var(--muted); pointer-events:none; text-decoration:none; }.snapshot-includes { margin:12px 20px 0; border:1px dashed #cfd7d2; border-radius:14px; background:rgba(255,255,255,.52); padding:12px 14px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }.snapshot-includes span { color:var(--muted); font-size:12px; font-weight:800; }.snapshot-includes ul { list-style:none; display:flex; gap:8px; padding:0; margin:0; flex-wrap:wrap; }.snapshot-includes li { border-radius:999px; background:#e7f6ed; color:#0d6048; padding:5px 9px; font-size:12px; font-weight:800; }.dev-actions { border-top:1px solid var(--line); margin-top:18px; padding:18px 20px 10px; }.debug-actions { border-top:1px dashed var(--line); margin-top:8px; padding-top:12px; }.dev-tools .hint { padding:0 20px 18px; margin:0; }
.result-panel { overflow:hidden; }.result-head { display:flex; justify-content:space-between; align-items:start; padding:23px 24px 12px; }.status { border-radius:99px; background:#eef1ee; color:var(--muted); font-size:12px; font-weight:700; padding:7px 10px; }.status.loading { color:#8a4d21; background:#fff0e4; }.status.success { color:#0d6048; background:#e7f6ed; }.status.error { color:#9d3030; background:#ffebeb; }.result-meta { padding:0 24px 16px; font-size:13px; }pre { margin:0; border-top:1px solid var(--line); background:#fffdfa; white-space:pre-wrap; overflow-wrap:anywhere; padding:24px; min-height:340px; max-height:620px; overflow:auto; font:14px/1.75 ui-monospace,SFMono-Regular,Menlo,monospace; }
button:disabled { opacity:.56; cursor:wait; transform:none!important; }
.role-switcher { margin:0 0 18px; padding:14px 18px; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.role-switcher > div { display:flex; align-items:center; gap:14px; }
.role-switcher span { color:var(--muted); font-size:12px; font-weight:900; }
.role-switcher p { margin:0; color:var(--muted); font-size:12px; }
.role-switch-buttons { display:flex; gap:7px; }
.role-switch-buttons button { border:1px solid var(--line); background:#fff; color:var(--deep); padding:8px 13px; border-radius:999px; font-weight:900; }
.role-switch-buttons button.active { color:#fff; background:var(--green); border-color:var(--green); }
.role-workbench { display:none; }
body.role-ae .role-workbench, body.role-copywriter .role-workbench { display:block; }
body.role-ae > main > .task-entry, body.role-copywriter > main > .task-entry,
body.role-ae .workspace-shell, body.role-copywriter .workspace-shell,
body.role-ae .dev-tools, body.role-copywriter .dev-tools,
body.role-ae .result-panel, body.role-copywriter .result-panel { display:none; }
.role-home-head { padding:22px 24px; display:flex; justify-content:space-between; gap:18px; align-items:center; }
.role-home-head h2 { margin:4px 0 5px; }
.role-new-task { margin:0 0 18px; padding:0; overflow:hidden; }
.role-new-task > summary { cursor:pointer; list-style:none; padding:16px 20px; color:var(--deep); font-weight:900; }
.role-new-task > summary::-webkit-details-marker { display:none; }
.role-new-task .create-grid { border-top:1px solid var(--line); padding:18px 20px; }
.role-task-groups { display:grid; gap:16px; }
.role-task-group { padding:0; overflow:hidden; }
.role-task-primary { border-color:rgba(23,108,86,.28); box-shadow:0 12px 34px rgba(20,52,43,.07); }
.role-group-heading { align-items:center; justify-content:flex-start; }
.role-group-heading-copy { display:block; }
.role-group-title { position:relative; display:inline-flex; align-items:center; }
.role-task-count { position:absolute; top:-9px; right:-25px; display:inline-flex; min-width:22px; height:22px; padding:0 6px; align-items:center; justify-content:center; border:2px solid #fff; border-radius:999px; background:#ef4b42; color:#fff; box-shadow:0 3px 9px rgba(135,41,35,.22); font-size:11px; line-height:1; font-weight:900; font-variant-numeric:tabular-nums; }
.role-task-count[hidden] { display:none; }
#roleWaitingGroup .role-task-count { background:#d8872d; box-shadow:0 3px 9px rgba(133,83,28,.2); }
#roleRecentGroup .role-task-count { background:var(--green); box-shadow:0 3px 9px rgba(23,108,86,.2); }
.role-task-collapsible > summary { cursor:pointer; list-style:none; }
.role-task-collapsible > summary::-webkit-details-marker { display:none; }
.role-task-collapsible > summary::after { content:"展开"; margin-left:auto; color:var(--muted); font-size:12px; font-weight:800; }
.role-task-collapsible[open] > summary::after { content:"收起"; }
.role-task-collapsible:not([open]) > .role-task-list { display:none; }
.section-head.compact { padding:17px 20px 10px; }
.section-head.compact h2 { font-size:20px; margin-top:3px; }
.role-task-list { display:grid; gap:9px; padding:0 14px 15px; }
.role-task-item { width:100%; border:1px solid rgba(23,108,86,.13); border-radius:14px; background:#fffdfa; padding:15px 16px; text-align:left; display:grid; grid-template-columns:1fr auto; grid-template-areas:"name stage" "action cta" "time cta"; gap:7px 18px; color:var(--ink); }
.role-task-primary .role-task-item { background:linear-gradient(135deg,#fffdfa,#f5fbf7); }
.role-task-item:hover { border-color:var(--green); box-shadow:0 8px 22px rgba(20,52,43,.07); transform:none; }
.role-task-item strong { grid-area:name; font-size:16px; line-height:1.4; }
.role-task-item .task-stage { grid-area:stage; justify-self:end; border-radius:999px; background:#eef1ee; color:var(--deep); padding:5px 9px; font-size:11px; font-weight:900; white-space:nowrap; }
.role-task-item .task-next { grid-area:action; color:#213d34; font-size:14px; font-weight:800; line-height:1.55; }
.role-task-item .task-next::before { content:"下一步："; color:var(--muted); font-weight:700; }
.role-task-item .task-time { grid-area:time; color:var(--muted); font-size:11px; }
.role-task-item .task-cta { grid-area:cta; align-self:center; justify-self:end; border-radius:10px; background:var(--green); color:#fff; padding:9px 12px; font-size:12px; font-weight:900; white-space:nowrap; }
.role-task-item.is-passive .task-next::before { content:"状态："; }
.role-task-item.is-passive .task-cta { background:#eef1ee; color:var(--deep); }
.role-task-item .task-stale { display:inline-block; margin-left:7px; border-radius:999px; background:#fff0e4; color:#8a4d21; padding:2px 6px; font-weight:900; }
.role-task-header { padding:18px 24px 22px; }
.role-task-header h2 { margin:5px 0 10px; }
.text-button { background:transparent; color:var(--deep); padding:0; margin:0 0 15px; border:0; box-shadow:none; }
.text-button:hover { transform:none; box-shadow:none; text-decoration:underline; }
.role-task-meta { display:flex; gap:7px; flex-wrap:wrap; }
.role-task-meta span { background:#eef1ee; color:#52635b; border-radius:999px; padding:5px 9px; font-size:11px; font-weight:800; }
.next-action-card { padding:24px; border:1px solid rgba(23,108,86,.24); background:linear-gradient(135deg,#f1f9f4,#fffdfa); }
.next-action-card h2 { margin:5px 0 8px; font-size:28px; }
.next-action-card > p:not(.eyebrow) { margin:0; color:#52635b; line-height:1.65; }
.role-action-content { margin-top:20px; display:grid; gap:14px; }
.role-action-block { border:1px solid rgba(23,108,86,.12); border-radius:14px; background:#fff; padding:15px 16px; }
.role-action-block h3 { margin:0 0 9px; color:var(--deep); font-size:15px; }
.role-action-block p { margin:0; line-height:1.7; color:#31413b; white-space:pre-wrap; }
.role-action-block textarea { width:100%; min-height:220px; margin-top:8px; }
.role-action-block.copy-editor textarea { min-height:360px; font-size:16px; line-height:1.75; }
.role-action-footer { margin-top:18px; border-top:1px solid rgba(23,108,86,.12); padding-top:16px; display:flex; align-items:center; justify-content:space-between; gap:15px; }
.role-action-footer[hidden],.role-action-footer button[hidden] { display:none!important; }
.autosave-status { color:var(--muted); font-size:12px; font-weight:800; }
.autosave-status.saving { color:#8a4d21; }
.autosave-status.saved { color:#0d6048; }
.autosave-status.failed { color:#9d3030; }
.local-draft-warning { margin:0 0 12px; border:1px solid #f0c985; border-radius:12px; background:#fff8e8; color:#72420f; padding:10px 12px; font-size:13px; font-weight:800; display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.local-draft-warning button { padding:6px 10px; border-radius:10px; box-shadow:none; font-size:12px; }
.role-other-content { margin:0 0 24px; padding:0; overflow:hidden; }
.role-other-content > summary { cursor:pointer; list-style:none; padding:16px 20px; color:var(--deep); font-weight:900; }
.role-other-content > summary::-webkit-details-marker { display:none; }
.role-other-content > summary::after { content:"展开"; float:right; color:var(--muted); font-size:12px; }
.role-other-content[open] > summary::after { content:"收起"; }
#roleOtherContent { border-top:1px solid var(--line); padding:18px 20px; display:grid; gap:12px; }
.role-other-content > .section-actions { padding:0 20px 18px; }
.role-waiting { padding:18px; border:1px dashed #cfd7d2; border-radius:14px; color:var(--muted); background:rgba(255,255,255,.6); }
.role-brief-link { display:flex; gap:9px; flex-wrap:wrap; align-items:center; }
.role-brief-link a { color:var(--green); font-weight:900; overflow-wrap:anywhere; }
@media (max-width:800px) { .shell { padding-top:36px; }.entry-grid,.create-grid,.results-grid,.overview-grid,.developer-status,.current-system-status,.knowledge-version-grid { grid-template-columns:1fr; }.developer-protocol-head { flex-direction:column; }.section-head { align-items:flex-start; flex-direction:column; }.workflow { align-items:stretch; flex-direction:column; }.agent-card { min-height:68px; }.connector { display:none; } h1 { font-size:34px; }.actions,.dev-actions,.section-actions,.module-head-actions { width:100%; }.actions button,.dev-actions button,.section-head button,.section-actions button,.button-like { width:100%; flex:1; }.list-item { flex-direction:column; align-items:flex-start; }.item-actions { width:100%; justify-content:flex-start; }.module-head-actions .work-status { width:auto; }.feedback-composer-grid { grid-template-columns:1fr; } }
@media (max-width:800px) { .role-switcher,.role-switcher > div,.role-home-head,.role-action-footer { align-items:flex-start; flex-direction:column; }.role-switch-buttons { width:100%; }.role-switch-buttons button { flex:1; }.role-task-item { grid-template-columns:1fr; grid-template-areas:"name" "stage" "action" "time" "cta"; }.role-task-item .task-stage,.role-task-item .task-cta { justify-self:start; }.next-action-card h2 { font-size:23px; } }
.review-stage { margin-top:16px; border:1px solid rgba(23,108,86,.12); border-radius:16px; background:#fffdfa; padding:16px; }
.review-stage h3 { margin:0 0 6px; font-size:17px; color:var(--deep); }
.review-stage pre { margin-top:12px; border:1px solid rgba(217,222,215,.8); border-radius:12px; min-height:180px; max-height:460px; background:#fff; }
.developer-performance { margin:16px 20px 0; border:1px solid rgba(23,108,86,.12); border-radius:16px; background:#fffdfa; overflow:hidden; }
.developer-performance .section-head { border-bottom:1px solid var(--line); }
.performance-summary { padding:12px 14px 16px; overflow:auto; }
.performance-table { width:100%; border-collapse:collapse; min-width:880px; font-size:12px; }
.performance-table th,.performance-table td { border-bottom:1px solid rgba(217,222,215,.78); padding:9px 8px; text-align:left; vertical-align:top; }
.performance-table th { color:var(--deep); font-weight:900; background:#f7fbf8; white-space:nowrap; }
.performance-table td { color:#31413b; }
.performance-table .metric { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; white-space:nowrap; }
.performance-note { margin:10px 0 0; color:var(--muted); font-size:12px; line-height:1.65; }
.performance-pill { display:inline-block; border-radius:999px; padding:3px 7px; font-weight:900; background:#eef1ee; color:#52635b; }
.performance-pill.good { background:#e7f6ed; color:#0d6048; }
.performance-pill.warn { background:#fff0d7; color:#8a4d21; }
.self-test-kpis { display:grid; grid-template-columns:repeat(4,minmax(140px,1fr)); gap:10px; margin-bottom:12px; }
.self-test-kpis > div { border:1px solid rgba(217,222,215,.9); border-radius:12px; padding:10px 12px; background:#fbfffc; }
.self-test-kpis span { display:block; font-size:12px; color:var(--muted); margin-bottom:6px; }
.self-test-kpis strong { display:block; color:var(--deep); font-size:16px; line-height:1.35; word-break:break-word; }
