/* ============================================================
   智能体工作台 Agent Workspace —— 1:1 对齐参考站智能体详情页
   ============================================================ */

/* 侧边栏：新任务 / 历史 快速行 */
.ws-v2 .sb-quick-row { display: flex; gap: 8px; padding: 8px 12px 4px; }
.ws-v2 .sb-new-task {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 32px; border-radius: 8px; font-size: 12.5px; color: #c9bfff;
  border: 1px solid rgba(139, 122, 255, .45); background: rgba(124, 108, 255, .10);
  cursor: pointer; transition: all .18s;
}
.ws-v2 .sb-new-task:hover { background: rgba(124, 108, 255, .22); border-color: rgba(139,122,255,.8); color:#fff; }
.ws-v2 .sb-history-btn {
  display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  border-radius: 8px; font-size: 12.5px; color: #b9b9c6;
  border: 1px solid #26262e; background: #141418; cursor: pointer; transition: all .18s;
}
.ws-v2 .sb-history-btn:hover { color:#fff; border-color:#3a3a44; }
.ws-v2 .sb-history-btn .caret { margin-left: 2px; font-size: 10px; opacity:.7; }

/* 智能体列表项类型标签（职能标签，多色） */
.ws-v2 .agent-item .m-tag.mt-fn { font-style: normal; }
.mt-fn { color:#cdd6ff; background: rgba(124,108,255,.16); border:1px solid rgba(124,108,255,.3); }
.mt-fn.fn-red { color:#ffb4b4; background:rgba(255,90,90,.12); border-color:rgba(255,90,90,.3); }
.mt-fn.fn-orange { color:#ffcf9e; background:rgba(255,150,60,.12); border-color:rgba(255,150,60,.3); }
.mt-fn.fn-green { color:#a9ecc9; background:rgba(60,200,140,.12); border-color:rgba(60,200,140,.3); }
.mt-fn.fn-cyan { color:#a5e8ef; background:rgba(30,190,200,.12); border-color:rgba(30,190,200,.3); }
.mt-fn.fn-blue { color:#aecbff; background:rgba(80,130,255,.12); border-color:rgba(80,130,255,.3); }
.mt-fn.fn-purple { color:#d3c4ff; background:rgba(139,122,255,.14); border-color:rgba(139,122,255,.32); }
.ws-v2 .agent-item { position: relative; }
.ws-v2 .agent-item.active { border-color: rgba(34, 209, 220, .55); background: rgba(34,209,220,.06); }
.ws-v2 .agent-item.active::before {
  content:""; position:absolute; left:0; top:8px; bottom:8px; width:3px;
  border-radius:0 3px 3px 0; background: linear-gradient(180deg,#22d1dc,#7c6cff);
}
.ws-v2 .agent-item .m-badge.ag-badge { font-size: 15px; }

/* ---------- 智能体工作台主区域 ---------- */
.agent-ws { max-width: 760px; margin: 0 auto; padding: 22px 24px 20px; width: 100%; }
.agent-ws[hidden] { display: none !important; }

/* 标题区 */
.ag-hero { text-align: center; padding: 6px 0 4px; }
.ag-hero-ico {
  width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  background: linear-gradient(135deg, rgba(124,108,255,.32), rgba(34,209,220,.18));
  border: 1px solid rgba(139,122,255,.4);
  box-shadow: 0 0 28px rgba(124,108,255,.35);
}
.ag-hero-title { display:flex; align-items:center; justify-content:center; gap:10px; }
.ag-hero-title h2 { margin:0; font-size: 30px; font-weight: 800; color:#fff; letter-spacing:1px; }
.ag-s-badge {
  font-size: 12px; font-weight: 800; font-style: italic; color:#fff;
  background: linear-gradient(135deg,#7c6cff,#9b8cff); padding: 2px 8px; border-radius: 6px;
}
.ag-slogan { margin-top: 10px; font-size: 12.5px; color: #9a8fe0; letter-spacing: 1px; }
.ag-slogan .dot { color:#5b5188; margin: 0 8px; }
.ag-sub { margin-top: 8px; font-size: 12.5px; color: #8a8a99; letter-spacing: .5px; }
.ag-sub .dot { color:#3a3a44; margin: 0 8px; }

/* 团队区 */
.ag-team { margin: 22px 0 8px; text-align:center; }
.ag-team-head { display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:16px; }
.ag-team-head .t-title { font-size: 13px; color:#b3a8f0; font-weight:600; letter-spacing:1px; }
.ag-team-head .t-online { font-size: 12px; color:#4ade80; }
.ag-team-head .t-online::before { content:"●"; color:#4ade80; margin-right:4px; animation: agPulse 1.6s infinite; }
@keyframes agPulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.ag-members { display:flex; align-items:flex-start; justify-content:center; gap:0; flex-wrap:wrap; }
.ag-member { width: 118px; text-align:center; position:relative; padding: 0 6px; }
.ag-member:not(:last-child)::after {
  content:""; position:absolute; top:22px; right:-14px; width:28px; height:1px;
  border-top: 1px dashed rgba(255,255,255,.18);
}
.ag-member .m-ava {
  width:44px; height:44px; border-radius:50%; margin:0 auto 6px;
  display:flex; align-items:center; justify-content:center; font-size:20px;
  background:#1c1c22; border:1px solid #2e2e38; color:#9a9aa8; position:relative;
}
.ag-member.lead .m-ava {
  background: linear-gradient(135deg, rgba(124,108,255,.3), rgba(124,108,255,.12));
  border-color: rgba(139,122,255,.6); color:#fff;
  box-shadow: 0 0 16px rgba(124,108,255,.3);
}
/* 科技感图片头像：铺满圆形，保留在线绿点 */
.m-ava.m-ava-img { padding:0; overflow:hidden; background:#0b0e16; box-shadow:0 0 14px rgba(34,211,238,.18); }
.m-ava.m-ava-img img { width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }
.ag-expert .m-ava.m-ava-img, .ag-expert-lead .m-ava.m-ava-img { box-shadow:0 0 12px rgba(var(--aw-rgb),.35); }
.ag-member .m-name { font-size:12.5px; color:#d6d6e0; display:flex; align-items:center; justify-content:center; gap:4px; }
.ag-member .m-host-tag { font-size:10px; color:#fff; background:linear-gradient(135deg,#7c6cff,#9b8cff); padding:0 5px; border-radius:4px; }
.ag-member .m-duty { font-size:10.5px; color:#7a7a88; line-height:1.5; margin-top:3px; }
.ag-member.lead .m-duty { color:#a9a2d0; }

/* 表单卡片 */
.ag-form-card {
  margin: 20px auto 0; max-width: 640px; background: #14141a;
  border:1px solid #26262e; border-radius: 16px; padding: 18px 20px 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.35); text-align:left;
}
.ag-form-head { display:flex; gap:10px; align-items:center; margin-bottom:4px; }
.ag-form-head .fh-ico {
  width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;
  font-size:17px;background:rgba(124,108,255,.16);border:1px solid rgba(124,108,255,.3);
}
.ag-form-head strong { font-size:14.5px; color:#ececf2; }
.ag-form-head small { display:block; font-size:11.5px; color:#7a7a88; margin-top:2px; }
.ag-field { margin-top: 14px; }
.ag-field-label { display:flex; align-items:center; gap:7px; font-size:12.5px; color:#b9b9c6; margin-bottom:8px; }
.ag-field-label .fl-ico {
  width:22px;height:22px;border-radius:6px;display:flex;align-items:center;justify-content:center;
  font-size:12px;background:#1d1d24;border:1px solid #2e2e38;
}
.ag-field-label .fl-num { color:#7c6cff; font-weight:700; }
.ag-opt-row { display:flex; flex-wrap:wrap; gap:8px; }
.ag-opt {
  padding: 6px 14px; border-radius: 8px; font-size: 12.5px; cursor:pointer;
  color:#b9b9c6; background:#1a1a20; border:1px solid #2e2e38; transition: all .15s; user-select:none;
}
.ag-opt:hover { border-color: rgba(34,209,220,.5); color:#fff; }
.ag-opt.sel {
  color:#fff; background: linear-gradient(135deg, rgba(34,209,220,.22), rgba(124,108,255,.2));
  border-color: rgba(34,209,220,.65); box-shadow: 0 0 10px rgba(34,209,220,.18);
}
.ag-input, .ag-textarea {
  width:100%; background:#101015; border:1px solid #2a2a32; border-radius:9px;
  color:#e6e6ee; font-size:12.5px; padding:9px 12px; outline:none; transition:border-color .15s;
  font-family:inherit;
}
.ag-input:focus, .ag-textarea:focus { border-color: rgba(34,209,220,.55); }
.ag-input::placeholder, .ag-textarea::placeholder { color:#5c5c6a; }
.ag-textarea { resize:none; min-height:44px; max-height:160px; line-height:1.6; }
.ag-disclaimer {
  margin-top:14px; padding-top:12px; border-top:1px dashed #26262e;
  font-size:11px; color:#6a6a78; display:flex; gap:6px; align-items:flex-start; line-height:1.5;
}

/* 智能体模式下的输入区：素材 + 玩法说明 */
.ag-material-btn {
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  min-width:64px; align-self:stretch; border:1px dashed #3a3a44; border-radius:12px;
  color:#8a8a99; font-size:11px; cursor:pointer; background:rgba(255,255,255,.02); transition:all .18s;
  padding: 8px 6px;
}
.ag-material-btn:hover { border-color:rgba(124,108,255,.6); color:#c9bfff; }
.ag-material-btn .plus { font-size:20px; line-height:1; }
.ag-playbook-btn {
  display:inline-flex; align-items:center; gap:6px; padding:6px 14px; border-radius:20px;
  font-size:12.5px; color:#22d1dc; border:1px solid rgba(34,209,220,.5); background:rgba(34,209,220,.08);
  cursor:pointer; transition:all .15s;
}
.ag-playbook-btn:hover { background:rgba(34,209,220,.18); color:#7ff3fb; }
/* 智能体模式发送按钮紫色 */
.ws-composer.agent-mode .send-btn { background: linear-gradient(135deg,#7c6cff,#9b8cff); }
.ws-composer.agent-mode .send-btn:hover { box-shadow: 0 0 16px rgba(124,108,255,.5); }

/* 玩法说明弹窗 */
.ag-pb-mask {
  position:fixed; inset:0; z-index:10000; background:rgba(0,0,0,.62); backdrop-filter:blur(3px);
  display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:opacity .2s;
}
.ag-pb-mask.show { opacity:1; pointer-events:auto; }
.ag-pb-box {
  width: min(560px, 92vw); max-height:80vh; overflow-y:auto; background:#14141a;
  border:1px solid #2e2e38; border-radius:18px; padding:24px 26px; position:relative;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
}
.ag-pb-box h3 { margin:0 0 4px; font-size:19px; color:#fff; display:flex; align-items:center; gap:9px; }
.ag-pb-box .pb-sub { font-size:12.5px; color:#8a8a99; margin-bottom:16px; }
.ag-pb-box .pb-close { position:absolute; top:16px; right:18px; width:30px;height:30px;border-radius:50%;
  border:none; background:#22222a; color:#bbb; font-size:16px; cursor:pointer; }
.ag-pb-box .pb-close:hover { background:#33333e; color:#fff; }
.ag-pb-step { display:flex; gap:12px; margin-bottom:14px; }
.ag-pb-step .pb-n {
  flex:0 0 24px; height:24px; border-radius:50%; background:linear-gradient(135deg,#7c6cff,#22d1dc);
  color:#fff; font-size:12px; display:flex;align-items:center;justify-content:center;font-weight:700;
}
.ag-pb-step .pb-c strong { display:block; font-size:13.5px; color:#e6e6ee; margin-bottom:3px; }
.ag-pb-step .pb-c p { margin:0; font-size:12.5px; color:#9a9aa8; line-height:1.65; }

/* 浅色模式适配 */
html[data-theme="light"] .ag-form-card, html[data-theme="light"] .ag-pb-box { background:#fff; border-color:#e4e6ee; box-shadow:0 10px 36px rgba(60,70,120,.12); }
html[data-theme="light"] .ag-hero-title h2 { color:#1a1a24; }
html[data-theme="light"] .ag-sub { color:#7a7a88; }
html[data-theme="light"] .ag-member .m-ava { background:#f2f3f8; border-color:#e0e2ec; color:#8a8a99; }
html[data-theme="light"] .ag-opt { background:#f5f6fa; border-color:#e2e4ee; color:#555; }
html[data-theme="light"] .ag-input, html[data-theme="light"] .ag-textarea { background:#f7f8fb; border-color:#e2e4ee; color:#222; }
html[data-theme="light"] .ag-form-head strong, html[data-theme="light"] .ag-pb-step .pb-c strong { color:#1a1a24; }
html[data-theme="light"] .ag-disclaimer { border-color:#e6e8f0; color:#999; }
html[data-theme="light"] .sb-history-btn { background:#fff; border-color:#e2e4ee; color:#555; }
html[data-theme="light"] .sb-new-task { background:#fff; border-color:#c9b8ff; color:#6d4aff; }
html[data-theme="light"] .ag-slogan { color:#7a5cff; }
html[data-theme="light"] .ag-slogan .dot { color:#c3b8f5; }
html[data-theme="light"] .ag-team-head .t-title { color:#5b4bd6; }
html[data-theme="light"] .ag-member:not(:last-child)::after { border-top-color:#d6d9e6; }
html[data-theme="light"] .ag-member .m-name { color:#2a2a38; }
html[data-theme="light"] .ag-member .m-duty { color:#8a8a99; }
html[data-theme="light"] .ag-member.lead .m-duty { color:#7a6cd6; }
html[data-theme="light"] .ag-form-head small, html[data-theme="light"] .ag-field-label { color:#666; }
html[data-theme="light"] .ag-field-label .fl-ico { background:#f2f3f8; border-color:#e2e4ee; }
html[data-theme="light"] .ag-opt:hover { color:#1a1a24; border-color:#22d1dc; }
html[data-theme="light"] .ag-opt.sel { color:#0e7490; background:linear-gradient(135deg,rgba(34,209,220,.14),rgba(124,108,255,.12)); border-color:#22d1dc; box-shadow:none; }
html[data-theme="light"] .ag-hero-ico { background:linear-gradient(135deg,rgba(124,108,255,.16),rgba(34,209,220,.1)); border-color:rgba(124,108,255,.35); box-shadow:none; }
html[data-theme="light"] .ag-playbook-btn, html[data-theme="light"] .ag-material-btn { background:#fff; border-color:#bfeaf0; color:#0e8a99; }
html[data-theme="light"] .ag-pb-box h3, html[data-theme="light"] .ag-pb-sub { color:#1a1a24; }
html[data-theme="light"] .ag-pb-box .pb-sub { color:#7a7a88; }
html[data-theme="light"] .ag-pb-step .pb-c p { color:#666; }
html[data-theme="light"] .ag-pb-box .pb-close { background:#f2f3f8; color:#555; }
/* 左侧智能体列表文字在浅色下可读 */
html[data-theme="light"] .agent-item .m-main h3 { color:#1a1a24; }
html[data-theme="light"] .agent-item .m-main p { color:#718096; }
html[data-theme="light"] .agent-item.active { background:#f0fbfd; border-color:#22d1dc; }

/* ============================================================
   灵感广场：左侧种子列表 + 中间种子卡片网格
   ============================================================ */
.insp-gallery { max-width: 1120px; margin: 0 auto; padding: 20px 24px 28px; width: 100%; }
.insp-gallery[hidden] { display:none !important; }
.insp-gallery-head { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:16px; }
.insp-gallery-head h2 { margin:0; font-size:20px; color:#fff; font-weight:800; }
.insp-gallery-head .gh-sub { font-size:12.5px; color:#8a8a99; }
.insp-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap:16px; }
.seed-card {
  text-align:left; background:#14141a; border:1px solid #26262e; border-radius:14px; overflow:hidden;
  cursor:pointer; transition: transform .18s, border-color .18s, box-shadow .18s; padding:0;
}
.seed-card:hover { transform: translateY(-4px); border-color:rgba(34,209,220,.5); box-shadow:0 12px 30px rgba(0,0,0,.4); }
.seed-cover {
  height:132px; display:flex; align-items:center; justify-content:center; font-size:52px; position:relative;
}
.seed-cover .sc-cat {
  position:absolute; top:9px; left:9px; font-size:10.5px; padding:2px 8px; border-radius:20px;
  background:rgba(124,108,255,.85); color:#fff;
}
.seed-cover .sc-price {
  position:absolute; top:9px; right:9px; font-size:11px; padding:2px 8px; border-radius:20px;
  background:rgba(0,0,0,.55); color:#ffd76a;
}
.seed-body { padding:11px 12px 12px; }
.seed-body h3 { margin:0 0 6px; font-size:13.5px; color:#ececf2; line-height:1.4; font-weight:700;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:38px; }
.seed-stats { display:flex; gap:12px; font-size:11px; color:#8a8a99; margin-bottom:7px; }
.seed-foot { display:flex; align-items:center; justify-content:space-between; font-size:11px; color:#7a7a88; }
.seed-foot .sc-creator { display:flex; align-items:center; gap:5px; }
.seed-foot .sc-creator i {
  width:18px;height:18px;border-radius:50%;background:linear-gradient(135deg,#22d1dc,#7c6cff);
  display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:10px;font-style:normal;
}
.seed-foot .sc-model { color:#22d1dc; }
.insp-empty-box { grid-column:1/-1; text-align:center; padding:60px 0; color:#7a7a88; font-size:13px; }

/* 左侧灵感种子列表项 */
.sb-seed-list .seed-row {
  display:flex; align-items:center; gap:10px; width:100%; text-align:left; padding:9px 12px;
  background:transparent; border:1px solid transparent; border-radius:10px; cursor:pointer; transition:all .15s;
}
.sb-seed-list .seed-row:hover { background:rgba(255,255,255,.04); }
.sb-seed-list .seed-row.active { background:rgba(34,209,220,.07); border-color:rgba(34,209,220,.4); }
.sb-seed-list .sr-cover {
  flex:0 0 38px; width:38px; height:38px; border-radius:9px; display:flex; align-items:center; justify-content:center;
  font-size:19px;
}
.sb-seed-list .sr-main { min-width:0; flex:1; }
.sb-seed-list .sr-main h4 { margin:0; font-size:12.5px; color:#e6e6ee; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sb-seed-list .sr-main p { margin:2px 0 0; font-size:10.5px; color:#7a7a88; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* 浅色模式 */
html[data-theme="light"] .insp-gallery-head h2 { color:#1a1a24; }
html[data-theme="light"] .seed-card { background:#fff; border-color:#e6e8f0; }
html[data-theme="light"] .seed-card:hover { box-shadow:0 12px 28px rgba(60,70,120,.14); }
html[data-theme="light"] .seed-body h3 { color:#1a1a24; }
html[data-theme="light"] .sb-seed-list .seed-row:hover { background:#f4f6fb; }
html[data-theme="light"] .sb-seed-list .sr-main h4 { color:#222; }
html[data-theme="light"] .insp-gallery-head .gh-sub, html[data-theme="light"] .seed-stats, html[data-theme="light"] .seed-foot { color:#8a94a6; }
html[data-theme="light"] .seed-foot .sc-model { color:#0e9ec0; }
html[data-theme="light"] .sb-seed-list .sr-main p { color:#98a2b3; }
html[data-theme="light"] .sb-seed-list .seed-row.active { background:#eafafc; }
html[data-theme="light"] .insp-empty-box { color:#98a2b3; }

/* ===== item12：智能体头像科技动效 + 介绍打字机光标 ===== */
.ag-hero-ico{position:relative;animation:agIcoFloat 5s ease-in-out infinite;}
.ag-hero-ico::after{content:"";position:absolute;inset:-3px;border-radius:18px;pointer-events:none;
  background:conic-gradient(from 0deg,transparent 0 72%,rgba(124,108,255,.9) 86%,transparent 100%);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1px));
          mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1px));
  animation:agIcoSpin 3.6s linear infinite;}
@keyframes agIcoSpin{to{transform:rotate(360deg);}}
@keyframes agIcoFloat{0%,100%{transform:translateY(0);}50%{transform:translateY(-4px);}}
.ag-typing::after{content:"▍";margin-left:1px;color:#7c6cff;animation:agCaret 1s steps(1) infinite;}
@keyframes agCaret{0%,50%{opacity:1;}51%,100%{opacity:0;}}
@media (prefers-reduced-motion:reduce){.ag-hero-ico,.ag-hero-ico::after{animation:none;}}

/* ===== reference-grade 1:1 视觉体系（追加层，主题色 --aw-rgb 驱动） ===== */

/* ============================================================
   全智能体全屏沉浸式布局（对标惠众AI / hz.lk888.ai）
   进入任意智能体时 .agent-ws 携带 .full 类（与 S2 引擎的 .s2-full 并存）
   仅作用于智能体工作台；普通大模型视图（chat.html 无 .agent-ws）不受影响
   ============================================================ */
.agent-ws.full {
  max-width: none !important;
  margin: 0 auto;
  padding: 18px clamp(20px, 3vw, 48px) 32px;
  width: 100%;
}
/* 标题区：图标略放大、保持居中 */
.agent-ws.full .ag-hero { padding-top: 6px; }
.agent-ws.full .ag-hero-ico { width: 76px; height: 76px; border-radius: 20px; font-size: 38px; }
.agent-ws.full .ag-hero-title h2 { font-size: 30px; }

/* 团队区：满宽铺开 */
.agent-ws.full .ag-team { margin-top: 20px; }

/* ---- 专属表单/配置面板：820px 窄卡 → 960px 宽卡，标签左 / 选项右栅格 ---- */
/* 用 #agentWorkspace 提升优先级，盖过 agent-fx.css 的 #agentWorkspace .ag-form-card{max-width:820px} */
#agentWorkspace.agent-ws.full .ag-form-card {
  max-width: 960px;
  margin: 24px auto 0;
  padding: 20px 28px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
#agentWorkspace.agent-ws.full .ag-form-card > .ag-form-head { grid-column: 1 / -1; margin-bottom: 6px; }

/* 每个字段：左 132px 标签列 + 右自适应内容列（对齐参考站"目标平台 / 交付内容 / 风格倾向"版式） */
.agent-ws.full .ag-field {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 6px 24px;
  align-items: start;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.agent-ws.full .ag-field:first-of-type { border-top: none; padding-top: 2px; margin-top: 8px; }
.agent-ws.full .ag-field-label {
  margin-bottom: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding-top: 9px;
  grid-column: 1;
}
/* 内容列显式放在第2列：即使该字段无标签（纯输入框）也对齐选项列，不挤在标签列 */
.agent-ws.full .ag-field > .ag-opt-row,
.agent-ws.full .ag-field > .ag-textarea,
.agent-ws.full .ag-field > .ag-input { grid-column: 2; }
.agent-ws.full .ag-field-label .fl-label-txt { font-weight: 600; color: #e0e0ea; font-size: 13px; }
.agent-ws.full .ag-field-label .fl-hint { font-size: 11px; color: #7a7a88; }
.agent-ws.full .ag-field-label .fl-ico,
.agent-ws.full .ag-field-label .fl-num { display: none; }
.agent-ws.full .ag-opt-row { align-items: flex-start; row-gap: 9px; }
.agent-ws.full .ag-opt { padding: 7px 15px; font-size: 12.5px; }
/* 长文本输入/输入框：占满右列整行，不拉宽成整卡 */
.agent-ws.full .ag-textarea,
.agent-ws.full .ag-input { width: 100%; }
.agent-ws.full .ag-disclaimer { grid-column: 1 / -1; margin-top: 16px; }

/* 窄屏回退：标签/内容上下堆叠，避免挤压 */
@media (max-width: 860px) {
  .agent-ws.full .ag-form-card { max-width: none; padding: 16px 16px 12px; }
  .agent-ws.full .ag-field { grid-template-columns: 1fr; gap: 4px; }
  .agent-ws.full .ag-field-label { flex-direction: row; padding-top: 0; }
}

/* ---- 底部作曲器：智能体模式下随主区放宽（普通模型视图仍为 1180px，不受影响） ---- */
.ws-composer.cp-v2.agent-mode { max-width: none; }
.ws-composer.cp-v2.agent-mode .cp-layout { max-width: 1320px; }

/* 浅色模式下分割线适配 */
html[data-theme="light"] .agent-ws.full .ag-field { border-top-color: #eceef4; }

