/* 可交互原型 · 黑金组件库（对齐 jczxai.com 官网配色）
   #0A0A0F 底 / #111118 侧栏 / #14141E 卡片 / #2A2A37 描边 / 金 #D4A843→#F0C860 */
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: #0a0a0f; color: #e8e8ee; font-size: 13px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: #f0c860; text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: rgba(212,168,67,.35); }

/* ---------- 顶栏 ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; height: 70px; display: flex; z-index: 100;
  background: linear-gradient(180deg, #0d0d14, #111118); border-bottom: 1px solid rgba(212,168,67,.28); }
.brand { width: 240px; display: flex; align-items: center; gap: 9px; padding: 0 18px; background: #0a0a0f;
  border-right: 1px solid rgba(212,168,67,.28); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(135deg, #d4a843, #f0c860); color: #14100a; font-weight: 800; font-size: 15px;
  box-shadow: 0 0 12px rgba(212,168,67,.35); }
.brand img { height: 40px; width: auto; display: block; }
.brand .name { font-size: 14px; font-weight: 700; color: #f3e9cf; letter-spacing: .05em; white-space: nowrap; }
.topbar .nav { display: flex; align-items: center; padding-left: 8px; }
.topbar .tab { display: block; padding: 0 14px; height: 70px; line-height: 70px; color: #b3b4c3; font-size: 13px;
  text-decoration: none; }
.topbar .tab:hover { color: #fff; background: rgba(255,255,255,.06); text-decoration: none; }
.topbar .tab.on { color: #f0c860; font-weight: 600; }
.topbar .user { margin-left: auto; display: flex; align-items: center; }
.topbar .user > a { display: flex; align-items: center; gap: 9px; padding: 0 16px; height: 70px;
  color: #ddd8ca; font-weight: 500; text-decoration: none; }
.topbar .user > a:hover { background: rgba(255,255,255,.06); text-decoration: none; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px;
  font-weight: 600; background: linear-gradient(135deg, #d4a843, #f0c860); color: #14100a;
  box-shadow: 0 0 0 2px rgba(212,168,67,.35); }
.badge-dot { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e04040; color: #fff;
  font-size: 11px; font-weight: 600; display: grid; place-items: center; }

/* 用户下拉 */
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; right: 8px; top: 62px; min-width: 208px; padding: 6px;
  background: #16161f; border: 1px solid #2a2a37; border-radius: 11px; box-shadow: 0 14px 40px rgba(0,0,0,.6); }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu .uhead { display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border-bottom: 1px solid #23232f; margin-bottom: 4px; }
.dropdown-menu a { display: block; padding: 8px 10px; border-radius: 8px; color: #cfcfda; font-size: 13px;
  text-decoration: none; }
.dropdown-menu a:hover { background: rgba(212,168,67,.12); color: #f0c860; text-decoration: none; }
.dropdown-menu a.danger { color: #ef6b6b; }
.dropdown-menu a.danger:hover { background: rgba(224,64,64,.12); color: #ef6b6b; }

/* ---------- 侧栏 ---------- */
.side { position: fixed; top: 70px; bottom: 0; left: 0; width: 240px; overflow-y: auto; background: #111118;
  border-right: 1px solid #1f1f2b; z-index: 90; }
.side::-webkit-scrollbar { width: 6px; }
.side::-webkit-scrollbar-thumb { background: #2a2a37; border-radius: 3px; }
.side .cat { display: flex; align-items: center; gap: 8px; padding: 14px 18px 6px; font-size: 13px; font-weight: 600;
  color: #a9aabb; }
.side .cat i { width: 16px; text-align: center; color: #d4a843; font-style: normal; font-size: 12px; opacity: .9; }
.side .item { display: block; padding: 7px 18px 7px 46px; color: #a6a7ba; font-size: 13px; text-decoration: none;
  border-left: 2px solid transparent; }
.side .item:hover { color: #f0e4c4; background: rgba(212,168,67,.07); text-decoration: none; }
.side .item.on { color: #f0c860; background: linear-gradient(90deg, rgba(212,168,67,.18), rgba(212,168,67,.03));
  border-left-color: #d4a843; font-weight: 600; }

/* ---------- 内容区 ---------- */
.page { margin-left: 240px; padding: 70px 0 0; min-height: 100vh;
  background: radial-gradient(ellipse 900px 320px at 50% 0%, rgba(212,168,67,.07), transparent 70%), #0a0a0f; }
.page .inner { padding: 20px 24px 60px; }
.footer { text-align: center; font-size: 12px; color: #6f7085; padding: 22px 0 10px; }

.page-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-bottom: 16px; }
.page-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 20px; font-weight: 700;
  color: #e8e8ee; }
.page-head .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #d4a843, #f0c860); color: #14100a; font-size: 16px; font-weight: 800;
  box-shadow: 0 0 14px rgba(212,168,67,.25); }
.page-head .sub { font-size: 12px; color: #8a8b9e; font-weight: 500; }
.page-head .tools { display: flex; gap: 8px; align-items: center; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 15px; border-radius: 8px;
  font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid #2b2b38; background: #1a1a25;
  color: #cfcfda; text-decoration: none; transition: .15s; font-family: inherit; }
.btn:hover { border-color: #d4a843; color: #f0c860; text-decoration: none; }
.btn.primary { background: linear-gradient(135deg, #d4a843, #f0c860); border: none; color: #14100a;
  box-shadow: 0 2px 10px rgba(212,168,67,.22); }
.btn.primary:hover { box-shadow: 0 5px 18px rgba(212,168,67,.4); color: #14100a; }
.btn.danger { color: #ef6b6b; border-color: rgba(224,64,64,.35); background: rgba(224,64,64,.08); }
.btn.danger:hover { border-color: #e04040; color: #ff8a8a; }
.btn.sm { height: 26px; padding: 0 10px; font-size: 12px; border-radius: 6px; }
.btn:active { transform: translateY(1px); }

/* 卡片 / 统计 */
.card { background: #14141e; border: 1px solid #2a2a37; border-radius: 12px; padding: 18px 20px;
  margin-bottom: 18px; }
.card > h4 { margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid #2a2a37; font-size: 14px;
  font-weight: 700; letter-spacing: .05em;
  background: linear-gradient(135deg, #d4a843, #f0c860); -webkit-background-clip: text; background-clip: text;
  color: transparent; }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 16px; }
.stat { background: #14141e; border: 1px solid #2a2a37; border-radius: 12px; padding: 14px 16px; }
.stat .l { font-size: 12px; color: #a9aabb; }
.stat .v { font-size: 24px; font-weight: 800; margin-top: 6px; color: #f0c860; }
.stat .v small { font-size: 12px; font-weight: 500; color: #8a8b9e; margin-left: 4px; }
.stat.warn { border-color: rgba(224,64,64,.3); }
.stat.warn .v { color: #ef6b6b; }

/* 筛选 */
.filter { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; background: #14141e;
  border: 1px solid #2a2a37; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.fi { display: flex; flex-direction: column; gap: 5px; }
.fi > label { font-size: 12px; color: #a9aabb; font-weight: 600; }
.input, .select { height: 34px; border: 1px solid #2b2b38; border-radius: 8px; background: #1a1a25; color: #e8e8ee;
  padding: 0 10px; font-size: 13px; font-family: inherit; outline: none; }
.input:focus, .select:focus { border-color: #d4a843; box-shadow: 0 0 0 3px rgba(212,168,67,.15); }
.input::placeholder { color: #6f7085; }
textarea.input { height: auto; padding: 10px; line-height: 1.6; resize: vertical; }
.filter .meta { margin-left: auto; font-size: 12px; color: #8a8b9e; align-self: center; }
.filter .meta b { color: #f0c860; }

/* 表格 */
.tbl-card { background: #14141e; border: 1px solid #2a2a37; border-radius: 12px; overflow: hidden; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tbl th { background: #1a1a25; color: #b6b7c8; font-weight: 600; font-size: 12px; text-align: left;
  padding: 11px 12px; border-bottom: 1px solid #2a2a37; white-space: nowrap; }
table.tbl td { padding: 11px 12px; border-bottom: 1px solid #1d1d28; color: #cfcfda; vertical-align: middle; }
table.tbl tbody tr:nth-child(even) td { background: #16161f; }
table.tbl tbody tr:hover td { background: rgba(212,168,67,.06); }
table.tbl td.muted { color: #a9aabb; font-size: 12px; }
.name { font-weight: 600; color: #e8e8ee; }
.code { font-size: 11px; color: #8a8b9e; font-family: ui-monospace, Menlo, Consolas, monospace; margin-top: 2px; }
.cover { width: 44px; height: 33px; border-radius: 6px; background: #1a1a25; border: 1px solid #2b2b38;
  display: grid; place-items: center; color: #6f7085; font-size: 13px; }
.price { font-weight: 700; color: #f0c860; }
.price small { display: block; font-size: 11px; font-weight: 500; color: #8a8b9e; }
.ops { display: flex; gap: 6px; flex-wrap: nowrap; }

/* 徽章 */
.tag { display: inline-block; padding: 3px 9px; border-radius: 10px; font-size: 11px; font-weight: 600;
  white-space: nowrap; }
.tag.online { background: rgba(64,184,128,.12); color: #4fd3a0; border: 1px solid rgba(64,184,128,.3); }
.tag.draft { background: #1a1a25; color: #a9aabb; border: 1px solid #2b2b38; }
.tag.offline { background: rgba(224,64,64,.12); color: #ef6b6b; border: 1px solid rgba(224,64,64,.3); }
.tag.info { background: rgba(64,128,224,.12); color: #6ba0ee; border: 1px solid rgba(64,128,224,.3); }
.tag.gold { background: rgba(212,168,67,.12); color: #f0c860; border: 1px solid rgba(212,168,67,.3); }

/* 分页 */
.pager { display: flex; align-items: center; gap: 6px; padding: 14px 16px; border-top: 1px solid #23232f; }
.pager a, .pager span { min-width: 30px; height: 30px; padding: 0 9px; display: grid; place-items: center;
  border-radius: 7px; border: 1px solid #2b2b38; color: #cfcfda; font-size: 12px; text-decoration: none; }
.pager a:hover { border-color: #d4a843; color: #f0c860; text-decoration: none; }
.pager .on { background: linear-gradient(135deg, #d4a843, #f0c860); color: #14100a; border-color: transparent;
  font-weight: 700; }
.pager .info { margin-left: auto; border: none; color: #8a8b9e; }

/* 表单 */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row.full { grid-column: 1 / -1; }
.form-row > label { font-size: 12px; font-weight: 600; color: #a9aabb; }
.form-row > label em { color: #ef6b6b; font-style: normal; }
.form-row .hint { font-size: 11px; color: #6f7085; }
.form-actions { display: flex; gap: 10px; padding-top: 16px; margin-top: 18px; border-top: 1px solid #23232f; }

/* toast */
.toast { position: fixed; top: 86px; right: 24px; z-index: 999; padding: 12px 18px; border-radius: 10px;
  background: #16161f; border: 1px solid rgba(64,184,128,.45); color: #e8e8ee; font-size: 13px;
  box-shadow: 0 12px 40px rgba(0,0,0,.6); display: none; }
.toast.show { display: block; }
.toast b { color: #4fd3a0; }

/* 详情 / 时间线 */
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; align-items: start; }
.kv { display: grid; grid-template-columns: 96px 1fr; gap: 10px 12px; font-size: 13px; }
.kv .k { color: #8a8b9e; }
.kv .v { color: #e8e8ee; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 1px solid #2a2a37; }
.timeline li { position: relative; padding: 0 0 18px 14px; }
.timeline li::before { content: ""; position: absolute; left: -23px; top: 4px; width: 9px; height: 9px;
  border-radius: 50%; background: #d4a843; box-shadow: 0 0 0 3px rgba(212,168,67,.15); }
.timeline .t { font-size: 12px; color: #8a8b9e; }
.timeline .d { margin-top: 3px; color: #cfcfda; line-height: 1.6; }
.empty { padding: 46px; text-align: center; color: #8a8b9e; font-size: 13px; }

/* 登录页 */
.auth { min-height: 100vh; display: grid; place-items: center;
  background: radial-gradient(ellipse 700px 400px at 50% 10%, rgba(212,168,67,.1), transparent 65%), #0a0a0f; }
.auth .panel { width: 380px; background: #14141e; border: 1px solid #2a2a37; border-radius: 16px; padding: 30px 30px 26px;
  box-shadow: 0 24px 70px rgba(0,0,0,.65); }
.auth .panel .brandline { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.auth .panel .brandline img { height: 38px; width: auto; display: block; }
.auth .panel .brandline .mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #d4a843, #f0c860); color: #14100a; font-weight: 800; font-size: 17px; }
.auth h3 { margin: 0 0 4px; font-size: 17px; color: #e8e8ee; }
.auth .tip { font-size: 12px; color: #8a8b9e; margin-bottom: 20px; }
.auth .form-row { margin-bottom: 14px; }
.auth .btn { width: 100%; justify-content: center; height: 40px; }

/* ============================================================
   主脑系统（V1.07 归档模型：agent_clients / agent_machines / agent_documents）
   ============================================================ */
.mind-banner { display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 16px;
  border: 1px solid rgba(212,168,67,.32); border-radius: 12px;
  background: linear-gradient(120deg, rgba(212,168,67,.10), rgba(212,168,67,.02) 60%, transparent); }
.mind-banner .mind-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #d4a843, #f0c860); color: #14100a; font-size: 18px; font-weight: 800;
  box-shadow: 0 0 18px rgba(212,168,67,.35); }
.mind-banner .mind-name { font-size: 15px; font-weight: 700; color: #f0e4c4; letter-spacing: .04em; }
.mind-banner .mind-sub { font-size: 12px; color: #8a8b9e; margin-top: 3px; }
.mind-banner .mind-kv { margin-left: auto; display: flex; gap: 26px; }
.mind-banner .mind-kv div { text-align: right; }
.mind-banner .mind-kv b { display: block; font-size: 18px; color: #f0c860; font-weight: 800; }
.mind-banner .mind-kv span { font-size: 11px; color: #8a8b9e; }

.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.agent-card { display: block; padding: 15px 16px 13px; border: 1px solid #2a2a37; border-radius: 12px;
  background: #1a1a25; text-decoration: none; transition: .16s; cursor: pointer; }
.agent-card:hover { border-color: #d4a843; box-shadow: 0 10px 26px rgba(212,168,67,.2); transform: translateY(-2px);
  text-decoration: none; }
.agent-card .top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.agent-card .no { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; font-weight: 700;
  color: #14100a; background: linear-gradient(135deg, #d4a843, #f0c860); padding: 2px 8px; border-radius: 6px; }
.agent-card .dot { width: 7px; height: 7px; border-radius: 50%; margin-left: auto; }
.agent-card .dot.on { background: #3ecf8e; box-shadow: 0 0 8px rgba(62,207,142,.85); }
.agent-card .dot.off { background: #e04a4a; box-shadow: 0 0 8px rgba(224,74,74,.85); }
.agent-card .dot.busy { background: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,.85); }
.agent-card .dot.unset { background: #6f7085; }
.agent-card .st { font-size: 11px; color: #8a8b9e; }
.agent-card .role { font-size: 14px; font-weight: 700; color: #e8e8ee; margin-bottom: 10px; line-height: 1.4; }
.agent-card .row { display: flex; gap: 8px; font-size: 12px; color: #a9aabb; margin-bottom: 5px; }
.agent-card .row .k { color: #6f7085; flex: 0 0 62px; }
.agent-card .row .v { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent-card .mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; }
.agent-card .foot { display: flex; gap: 12px; margin-top: 10px; padding-top: 9px; border-top: 1px solid #23232f;
  font-size: 11px; color: #8a8b9e; }
.agent-card .foot b { color: #f0c860; font-weight: 700; }

/* 抽屉 */
.drawer-mask { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 400; display: none; }
.drawer-mask.show { display: block; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 620px; max-width: 94vw; z-index: 500;
  background: #111118; border-left: 1px solid rgba(212,168,67,.35); box-shadow: -20px 0 60px rgba(0,0,0,.6);
  transform: translateX(102%); transition: transform .22s ease; display: flex; flex-direction: column; }
.drawer.show { transform: none; }
.drawer .dw-head { padding: 18px 20px 14px; border-bottom: 1px solid #23232f; }
.drawer .dw-head .l1 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.drawer .dw-head .no { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; font-weight: 700;
  color: #14100a; background: linear-gradient(135deg, #d4a843, #f0c860); padding: 2px 8px; border-radius: 6px; }
.drawer .dw-head .role { font-size: 16px; font-weight: 700; color: #e8e8ee; }
.drawer .dw-head .close { margin-left: auto; cursor: pointer; color: #8a8b9e; font-size: 20px; line-height: 1;
  padding: 4px 8px; border-radius: 6px; }
.drawer .dw-head .close:hover { color: #f0c860; background: rgba(212,168,67,.12); }
.drawer .dw-head .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; color: #8a8b9e; }
.drawer .dw-head .meta b { color: #cfcfda; font-weight: 600; }
.drawer .dw-tabs { display: flex; gap: 4px; padding: 12px 20px 0; border-bottom: 1px solid #23232f; }
.drawer .dw-tabs a { padding: 8px 14px; font-size: 13px; color: #a9aabb; text-decoration: none; border-bottom: 2px solid transparent; }
.drawer .dw-tabs a:hover { color: #f0c860; text-decoration: none; }
.drawer .dw-tabs a.on { color: #f0c860; border-bottom-color: #d4a843; font-weight: 700; }
.drawer .dw-tabs a b { font-weight: 700; color: #f0c860; }
.drawer .dw-body { flex: 1; overflow-y: auto; padding: 16px 20px 24px; }
.drawer .dw-body::-webkit-scrollbar { width: 8px; }
.drawer .dw-body::-webkit-scrollbar-thumb { background: #2a2a37; border-radius: 4px; }

.rec { padding: 12px 14px; border: 1px solid #23232f; border-radius: 10px; background: #16161f; margin-bottom: 10px; }
.rec .rh { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #e8e8ee; font-weight: 600; }
.rec .rh .when { margin-left: auto; font-size: 11px; color: #6f7085; font-weight: 400; }
.rec .rb { margin-top: 6px; font-size: 12px; color: #a9aabb; line-height: 1.7; }
.rec .rf { margin-top: 7px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-block; padding: 3px 9px; border-radius: 8px; font-size: 11px; font-weight: 600;
  background: rgba(212,168,67,.1); color: #f0c860; border: 1px solid rgba(212,168,67,.28); }
.chip.grey { background: #1a1a25; color: #a9aabb; border-color: #2b2b38; }
.dw-empty { padding: 40px; text-align: center; color: #6f7085; font-size: 13px; }
.section-t { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #d4a843; margin: 4px 0 10px; }

/* 派单 */
.dispatch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.pick { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid #23232f;
  border-radius: 10px; background: #16161f; margin-bottom: 10px; }
.pick .pi { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 13px;
  background: rgba(212,168,67,.12); color: #f0c860; border: 1px solid rgba(212,168,67,.25); }
.pick .pn { font-size: 13px; font-weight: 600; color: #e8e8ee; }
.pick .ps { font-size: 11px; color: #8a8b9e; margin-top: 2px; }
.pick .pa { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.load { width: 74px; height: 6px; border-radius: 3px; background: #23232f; overflow: hidden; }
.load i { display: block; height: 100%; background: linear-gradient(90deg, #d4a843, #f0c860); }

/* 派单：选中态 + 禁用态 */
.pick { cursor: pointer; }
.pick.sel { border-color: #d4a843; background: rgba(212,168,67,.08); }
.pick.sel .pi { background: rgba(212,168,67,.25); }
.pick .selmark { display: none; font-size: 11px; color: #14100a; background: linear-gradient(135deg,#d4a843,#f0c860);
  padding: 2px 7px; border-radius: 6px; font-weight: 700; }
.pick.sel .selmark { display: inline-block; }
.pick.agent { cursor: default; }
.btn[disabled] { opacity: .45; cursor: not-allowed; border-color: #2b2b38; color: #6f7085; }
.btn[disabled]:hover { border-color: #2b2b38; color: #6f7085; box-shadow: none; }


/* ============================================================
   工单直达 = 主脑向智能体下达任务：任务会话界面
   ============================================================ */
.agent-card.dead { opacity: .62; }
.agent-card.dead:hover { border-color: #e04a4a; box-shadow: 0 8px 24px rgba(224,74,74,.18); }
.agent-card.unset-card { opacity: .55; }
.agent-card.unset-card:hover { border-color: #6f7085; box-shadow: none; transform: none; }
.agent-card .taskline { margin-top: 9px; padding-top: 9px; border-top: 1px solid #23232f; font-size: 12px;
  color: #a9aabb; }
.agent-card .taskline b { color: #f0c860; font-weight: 600; }
.agent-card .taskline.mute b { color: #8a8b9e; }
.agent-card .hintline { margin-top: 6px; font-size: 11px; color: #6f7085; }

/* 任务面板（整屏） */
.task-ov { position: fixed; inset: 0; z-index: 600; display: none; flex-direction: column; background: #0a0a0f; }
.task-ov.show { display: flex; }
.task-top { height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 20px;
  background: #111118; border-bottom: 1px solid rgba(212,168,67,.28); }
.task-top .no { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; font-weight: 700;
  color: #14100a; background: linear-gradient(135deg, #d4a843, #f0c860); padding: 3px 9px; border-radius: 6px; }
.task-top .role { font-size: 15px; font-weight: 700; color: #e8e8ee; }
.task-top .kv { font-size: 12px; color: #8a8b9e; }
.task-top .kv b { color: #cfcfda; font-weight: 600; }
.task-top .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.task-top .dot.on { background: #3ecf8e; box-shadow: 0 0 8px rgba(62,207,142,.85); }
.task-top .dot.busy { background: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,.85); }
.task-top .close { margin-left: auto; cursor: pointer; color: #8a8b9e; font-size: 22px; line-height: 1;
  padding: 2px 10px; border-radius: 8px; }
.task-top .close:hover { color: #f0c860; background: rgba(212,168,67,.12); }

.task-body { flex: 1; display: flex; min-height: 0; }
.task-side { width: 330px; flex: 0 0 330px; border-right: 1px solid #23232f; background: #0f0f16;
  padding: 16px 16px 24px; overflow-y: auto; }
.task-side h5 { margin: 0 0 4px; font-size: 12px; letter-spacing: .08em; color: #d4a843; font-weight: 700; }
.task-side .sd { font-size: 11px; color: #6f7085; margin-bottom: 12px; line-height: 1.6; }
.arc-group { margin-bottom: 16px; }
.arc-group .gt { font-size: 12px; font-weight: 700; color: #cfcfda; margin-bottom: 7px; display: flex; align-items: center; }
.arc-group .gt span { margin-left: auto; font-size: 11px; font-weight: 400; color: #6f7085; }
.arc-item { display: flex; align-items: flex-start; gap: 8px; padding: 7px 9px; border: 1px solid #23232f;
  border-radius: 8px; background: #16161f; margin-bottom: 6px; font-size: 12px; color: #cfcfda; cursor: pointer; }
.arc-item:hover { border-color: #2f2f3f; }
.arc-item input { margin-top: 2px; accent-color: #d4a843; }
.arc-item .sub { display: block; font-size: 11px; color: #6f7085; margin-top: 2px; }
.task-side .carry { position: sticky; bottom: -24px; padding: 10px 0 0; background: #0f0f16;
  border-top: 1px solid #23232f; font-size: 12px; color: #8a8b9e; }
.task-side .carry b { color: #f0c860; }

.task-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 11px 20px; border-bottom: 1px solid #23232f; }
.chat-head .ct { font-size: 13px; font-weight: 600; color: #e8e8ee; }
.chat-head .cs { font-size: 11px; color: #6f7085; }
.chat-head .acts { margin-left: auto; display: flex; gap: 8px; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 20px; }
.chat-log::-webkit-scrollbar { width: 8px; }
.chat-log::-webkit-scrollbar-thumb { background: #2a2a37; border-radius: 4px; }
.msg { max-width: 76%; padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.75;
  margin-bottom: 12px; word-break: break-word; }
.msg .who { font-size: 11px; color: #8a8b9e; margin-bottom: 4px; }
.msg.out { margin-left: auto; background: linear-gradient(135deg, rgba(212,168,67,.18), rgba(212,168,67,.07));
  border: 1px solid rgba(212,168,67,.35); color: #f3e9cf; }
.msg.in { background: #16161f; border: 1px solid #23232f; color: #cfcfda; }
.msg.sys { margin: 0 auto 14px; background: #1a1a25; color: #8a8b9e; font-size: 12px; text-align: center;
  padding: 6px 14px; border-radius: 8px; max-width: none; }
.msg .meta { font-size: 11px; color: #6f7085; margin-top: 6px; }
.composer { border-top: 1px solid #23232f; padding: 12px 20px 16px; }
.composer textarea { width: 100%; height: 72px; border: 1px solid #2b2b38; border-radius: 10px; background: #1a1a25;
  color: #e8e8ee; padding: 10px 12px; font-size: 13px; font-family: inherit; line-height: 1.7; outline: none;
  resize: none; }
.composer textarea:focus { border-color: #d4a843; box-shadow: 0 0 0 3px rgba(212,168,67,.15); }
.composer .row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.composer .tip { font-size: 11px; color: #6f7085; }
.composer .row .btn { margin-left: auto; }

/* ============================================================
   档案分析 = ATP 大模型分析人员状态
   ============================================================ */
.ana-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 16px;
  border: 1px solid rgba(212,168,67,.3); border-radius: 12px;
  background: linear-gradient(120deg, rgba(212,168,67,.09), rgba(212,168,67,.01) 60%, transparent); }
.ana-bar .lab { font-size: 12px; color: #8a8b9e; }
.ana-bar .model { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 8px;
  background: #1a1a25; border: 1px solid #2b2b38; font-size: 12px; color: #cfcfda; }
.ana-bar .model i { width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 8px rgba(62,207,142,.8); }
.ana-bar .right { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 11px; color: #6f7085; }

.ana-load { display: none; padding: 26px 20px; border: 1px solid #2a2a37; border-radius: 12px; background: #14141e;
  margin-bottom: 16px; }
.ana-load.on { display: block; }
.ana-load .t { font-size: 13px; color: #e8e8ee; margin-bottom: 12px; }
.ana-load .bar { height: 6px; border-radius: 3px; background: #23232f; overflow: hidden; }
.ana-load .bar i { display: block; height: 100%; width: 8%; border-radius: 3px;
  background: linear-gradient(90deg, #d4a843, #f0c860); transition: width .35s ease; }
.ana-load .steps { margin-top: 12px; font-size: 12px; color: #8a8b9e; line-height: 1.9; }
.ana-load .steps span { color: #3ecf8e; }

.ana-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.pcard { border: 1px solid #2a2a37; border-radius: 12px; background: #14141e; padding: 16px 18px 14px; }
.pcard .ph { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.pcard .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 15px;
  font-weight: 700; color: #14100a; background: linear-gradient(135deg, #d4a843, #f0c860); flex: none; }
.pcard .pn { font-size: 15px; font-weight: 700; color: #e8e8ee; }
.pcard .ps { font-size: 11px; color: #8a8b9e; margin-top: 2px; }
.pcard .badge-st { margin-left: auto; padding: 5px 13px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.st-wisdom { background: linear-gradient(135deg, #d4a843, #f0c860); color: #14100a; }
.st-high { background: rgba(62,207,142,.16); color: #4fd3a0; border: 1px solid rgba(62,207,142,.4); }
.st-active { background: rgba(107,160,238,.16); color: #7fb0f5; border: 1px solid rgba(107,160,238,.4); }
.st-normal { background: #1a1a25; color: #a9aabb; border: 1px solid #2b2b38; }
.st-idle { background: rgba(180,84,63,.16); color: #d98a72; border: 1px solid rgba(180,84,63,.45); }
.st-alert { background: rgba(224,74,74,.16); color: #ef6b6b; border: 1px solid rgba(224,74,74,.45); }
.pcard .facts { display: flex; gap: 18px; padding: 10px 12px; border-radius: 9px; background: #1a1a25;
  margin-bottom: 12px; }
.pcard .facts div { font-size: 11px; color: #8a8b9e; }
.pcard .facts b { display: block; font-size: 15px; color: #f0c860; font-weight: 800; margin-bottom: 2px; }
.pcard .ana { font-size: 12.5px; line-height: 1.85; color: #cfcfda; }
.pcard .ana b { color: #f0c860; font-weight: 600; }
.pcard .ana .k { color: #8a8b9e; }
.pcard .evidence { display: none; margin-top: 10px; padding: 10px 12px; border-radius: 9px;
  background: #16161f; border: 1px solid #23232f; font-size: 12px; color: #a9aabb; line-height: 1.8; }
.pcard .evidence.open { display: block; }
.pcard .evidence li { margin-bottom: 4px; }
.pcard .pf { display: flex; gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #23232f; }
.pcard .pf .btn { height: 30px; font-size: 12px; }
.pcard .pf .when { margin-left: auto; align-self: center; font-size: 11px; color: #6f7085; }

/* ============================================================
   智能派单 = 模型分析任务 → 推荐执行人 → 确认 → 直接下达
   ============================================================ */
.dp-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 16px; align-items: start; }
.dp-side { border: 1px solid #2a2a37; border-radius: 12px; background: #14141e; padding: 14px 14px 16px; }
.dp-side h5 { margin: 0 0 8px; font-size: 12px; letter-spacing: .07em; color: #d4a843; font-weight: 700;
  display: flex; align-items: center; }
.dp-side h5 span { margin-left: auto; color: #f0c860; font-weight: 800; }
.dp-item { padding: 10px 11px; border: 1px solid #23232f; border-radius: 9px; background: #1a1a25;
  margin-bottom: 8px; cursor: pointer; transition: .15s; }
.dp-item:hover { border-color: #d4a843; background: rgba(212,168,67,.07); }
.dp-item .t { font-size: 12.5px; font-weight: 600; color: #e8e8ee; }
.dp-item .s { font-size: 11px; color: #8a8b9e; margin-top: 4px; }
.dp-side .tip { font-size: 11px; color: #6f7085; line-height: 1.6; }
.dp-avail { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: #a9aabb; padding: 5px 0;
  border-bottom: 1px solid #1d1d28; }
.dp-avail:last-child { border-bottom: none; }
.dp-avail .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dp-avail .dot.on { background: #3ecf8e; } .dp-avail .dot.busy { background: #f59e0b; }
.dp-avail .dot.off { background: #e04a4a; } .dp-avail .dot.unset { background: #6f7085; }
.dp-avail b { margin-left: auto; color: #cfcfda; font-weight: 600; }

.dp-main { border: 1px solid #2a2a37; border-radius: 12px; background: #14141e; display: flex;
  flex-direction: column; min-height: 560px; height: calc(100vh - 300px); max-height: 760px; }
.dp-head { padding: 11px 16px; border-bottom: 1px solid #23232f; display: flex; align-items: center; gap: 10px; }
.dp-head .m { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #cfcfda; }
.dp-head .m i { width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 8px rgba(62,207,142,.8); }
.dp-head .hint { margin-left: auto; font-size: 11px; color: #6f7085; }
.dp-log { flex: 1; overflow-y: auto; padding: 16px 18px; }
.dp-log::-webkit-scrollbar { width: 8px; }
.dp-log::-webkit-scrollbar-thumb { background: #2a2a37; border-radius: 4px; }
.dp-composer { border-top: 1px solid #23232f; padding: 12px 16px 14px; }
.dp-composer textarea { width: 100%; height: 68px; border: 1px solid #2b2b38; border-radius: 10px;
  background: #1a1a25; color: #e8e8ee; padding: 10px 12px; font-size: 13px; font-family: inherit;
  line-height: 1.7; outline: none; resize: none; }
.dp-composer textarea:focus { border-color: #d4a843; box-shadow: 0 0 0 3px rgba(212,168,67,.15); }
.dp-composer .row { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.dp-composer .row .tip { font-size: 11px; color: #6f7085; }
.dp-composer .row .btn { margin-left: auto; }

/* 候选表 / 推荐卡 */
.cand { width: 100%; border-collapse: collapse; font-size: 12px; margin: 10px 0; }
.cand th { text-align: left; color: #8a8b9e; font-weight: 600; font-size: 11px; padding: 6px 8px;
  border-bottom: 1px solid #2a2a37; }
.cand td { padding: 6px 8px; border-bottom: 1px solid #1d1d28; color: #cfcfda; }
.cand tr.best td { background: rgba(212,168,67,.08); }
.cand tr.x td { color: #6f7085; text-decoration: line-through; }
.cand .md { color: #f0c860; font-weight: 700; }
.rec { border: 1px solid rgba(212,168,67,.45); border-radius: 10px; padding: 12px 14px; margin-top: 10px;
  background: linear-gradient(135deg, rgba(212,168,67,.12), rgba(212,168,67,.02)); }
.rec .rh { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.rec .rh .tag2 { font-size: 11px; font-weight: 700; color: #14100a; background: linear-gradient(135deg,#d4a843,#f0c860);
  padding: 2px 9px; border-radius: 6px; }
.rec .rh b { font-size: 13.5px; color: #f0e4c4; }
.rec .rb { font-size: 12.5px; color: #cfcfda; line-height: 1.8; }
.rec .rb b { color: #f0c860; }
.rec .acts { margin-top: 11px; display: flex; gap: 8px; }
.warnline { font-size: 11.5px; color: #d98a72; margin-top: 7px; }

/* 确认弹窗 */
.dp-mask { position: fixed; inset: 0; background: rgba(0,0,0,.68); z-index: 700; display: none; }
.dp-mask.show { display: block; }
.dp-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 540px; max-width: 94vw;
  background: #14141e; border: 1px solid rgba(212,168,67,.45); border-radius: 14px; z-index: 710; padding: 20px 22px 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,.75); display: none; }
.dp-modal.show { display: block; }
.dp-modal h4 { margin: 0 0 4px; font-size: 15px; color: #e8e8ee; }
.dp-modal .sub { font-size: 11.5px; color: #8a8b9e; margin-bottom: 14px; }
.dp-modal .kv2 { display: grid; grid-template-columns: 78px 1fr; gap: 9px 12px; font-size: 12.5px;
  padding: 12px 14px; background: #1a1a25; border-radius: 10px; margin-bottom: 12px; }
.dp-modal .kv2 .k { color: #8a8b9e; }
.dp-modal .kv2 .v { color: #e8e8ee; }
.dp-modal .taskbox { font-size: 12.5px; color: #cfcfda; line-height: 1.75; padding: 11px 13px; border-radius: 10px;
  background: #16161f; border: 1px solid #23232f; max-height: 118px; overflow: auto; }
.dp-modal .acts { display: flex; gap: 10px; margin-top: 16px; }
.dp-modal .acts .btn { flex: 1; justify-content: center; }

/* ============================================================
   智能体网格：100 个框 + 空置位 + 分页 + 设置弹窗
   ============================================================ */
.agent-grid { grid-template-columns: repeat(4, 1fr); }
.agent-card.empty { border-style: dashed; border-color: #33333f; background: #12121a; opacity: .82; }
.agent-card.empty:hover { border-color: #d4a843; opacity: 1; box-shadow: 0 8px 22px rgba(212,168,67,.15); }
.agent-card.empty .no { background: #23232f; color: #8a8b9e; }
.agent-card.empty .role { color: #8a8b9e; font-weight: 600; }
.agent-card .ghost { color: #6f7085; }
.agent-card.empty .hintline { color: #a9aabb; }
.agent-card.hidden { display: none; }

.grid-pager { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 14px 2px 4px; }
.grid-pager a { min-width: 32px; height: 30px; padding: 0 10px; display: inline-grid; place-items: center;
  border-radius: 7px; border: 1px solid #2b2b38; color: #cfcfda; font-size: 12px; text-decoration: none; }
.grid-pager a:hover { border-color: #d4a843; color: #f0c860; text-decoration: none; }
.grid-pager a.on { background: linear-gradient(135deg, #d4a843, #f0c860); color: #14100a; border-color: transparent;
  font-weight: 700; }
.grid-pager a.dis { opacity: .4; pointer-events: none; }
.grid-pager .info { margin-left: auto; font-size: 12px; color: #8a8b9e; }
.grid-pager .info b { color: #f0c860; }

/* 设置智能体弹窗里的表单 */
.setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.setup-grid .full { grid-column: 1 / -1; }
.setup-grid label { display: block; font-size: 11.5px; color: #a9aabb; font-weight: 600; margin-bottom: 5px; }
.setup-grid label em { color: #ef6b6b; font-style: normal; }
.setup-grid .input, .setup-grid .select { width: 100%; }
.dp-modal .note { font-size: 11.5px; color: #6f7085; line-height: 1.7; margin-top: 10px; }

/* 日期区间日历 */
input[type="date"].input { width: 148px; color-scheme: dark; cursor: pointer; }
input[type="date"].input::-webkit-calendar-picker-indicator { filter: invert(.8); cursor: pointer; opacity: .75; }
input[type="date"].input::-webkit-calendar-picker-indicator:hover { opacity: 1; }
.ana-bar .sep { color: #6f7085; font-size: 12px; }
.ana-meta { font-size: 12px; color: #8a8b9e; padding: 0 2px 10px; }
.ana-meta b { color: #f0c860; font-weight: 600; }
.dp-head select.select { height: 28px; font-size: 12px; padding: 0 8px; }

/* ============================================================
   档案分析：逐智能体详细框（必须与集群档案「已设置」数量一致）
   ============================================================ */
.cover-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; margin-bottom: 14px;
  border: 1px solid #2a2a37; border-radius: 10px; background: #16161f; font-size: 12px; color: #a9aabb; }
.cover-bar b { color: #f0c860; font-weight: 700; }
.cover-bar .ok { color: #4fd3a0; font-weight: 600; }
.cover-bar .warn { color: #ef6b6b; font-weight: 600; }
.cover-bar .right { margin-left: auto; color: #6f7085; }

.acard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.acard { border: 1px solid #2a2a37; border-radius: 12px; background: #1a1a25; padding: 14px 15px 12px;
  display: flex; flex-direction: column; }
.acard .ah { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.acard .no { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; font-weight: 700;
  color: #14100a; background: linear-gradient(135deg, #d4a843, #f0c860); padding: 2px 8px; border-radius: 6px; }
.acard .badge-st { margin-left: auto; font-size: 11px; padding: 3px 10px; }
.acard .role { font-size: 13.5px; font-weight: 700; color: #e8e8ee; margin-bottom: 4px; line-height: 1.4; }
.acard .owner { font-size: 11.5px; color: #8a8b9e; margin-bottom: 10px; }
.acard .owner b { color: #cfcfda; font-weight: 600; }
.acard .nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 9px 0;
  border-top: 1px solid #23232f; border-bottom: 1px solid #23232f; margin-bottom: 9px; }
.acard .nums div { text-align: center; font-size: 10.5px; color: #6f7085; }
.acard .nums b { display: block; font-size: 14px; color: #f0c860; font-weight: 800; margin-bottom: 2px; }
.acard .why { font-size: 12px; color: #a9aabb; line-height: 1.7; flex: 1; }
.acard .af { margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.acard .af .btn { height: 26px; font-size: 11.5px; }
.acard .af .when { margin-left: auto; font-size: 10.5px; color: #6f7085; }

/* 详细框 5 项数据 + 无关会话高亮 */
.acard .nums.w5 { grid-template-columns: repeat(5, 1fr); }
.acard .nums b.danger { color: #ef6b6b; }
.acard .nums div:has(> b.danger) { color: #d98a72; }

/* ============================================================
   主脑 · 全部档案（档案总库）
   ============================================================ */
.arch-wrap { display: grid; grid-template-columns: 232px 1fr; gap: 16px; align-items: start; }
.arch-tree { border: 1px solid #2a2a37; border-radius: 12px; background: #14141e; padding: 12px 10px 14px; }
.arch-tree .th { font-size: 11px; letter-spacing: .08em; color: #d4a843; font-weight: 700; padding: 4px 8px 8px; }
.tnode { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 8px; cursor: pointer;
  font-size: 12.5px; color: #a9aabb; user-select: none; }
.tnode:hover { background: rgba(212,168,67,.08); color: #f0e4c4; }
.tnode.on { background: rgba(212,168,67,.14); color: #f0c860; font-weight: 700; }
.tnode .n { margin-left: auto; font-size: 11px; color: #6f7085; font-weight: 600; }
.tnode.on .n { color: #f0c860; }
.tnode.sub { padding-left: 24px; font-size: 12px; }
.tnode .ic { width: 14px; text-align: center; font-size: 11px; color: #d4a843; opacity: .8; }

.arch-main { min-width: 0; }
.qbar { border: 1px solid #2a2a37; border-radius: 12px; background: #14141e; padding: 14px 16px;
  margin-bottom: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px 12px; align-items: end; }
.qbar .fi { min-width: 0; }
.qbar .fi > label { display: block; font-size: 11px; color: #a9aabb; font-weight: 600; margin-bottom: 5px; }
.qbar .input, .qbar .select { width: 100%; height: 32px; font-size: 12.5px; }
.qbar .wide { grid-column: span 2; }
.qbar .qacts { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding-top: 4px;
  border-top: 1px solid #23232f; }
.qbar .qacts .tip { font-size: 11px; color: #6f7085; margin-left: auto; }
.arch-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #8a8b9e; margin-bottom: 10px; }
.arch-meta b { color: #f0c860; }
.arch-meta .clear { margin-left: auto; cursor: pointer; color: #f0c860; font-size: 11.5px; }
.arch-meta .clear:hover { text-decoration: underline; }

.arch-tbl th { cursor: default; }
.arch-tbl td { font-size: 12.5px; }
.arch-tbl tr { cursor: pointer; }
.arch-tbl .nm { font-weight: 600; color: #e8e8ee; }
.arch-tbl .cd { font-size: 11px; color: #6f7085; font-family: ui-monospace, Menlo, Consolas, monospace; margin-top: 2px; }
.chip-t { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.t-person { background: rgba(107,160,238,.14); color: #7fb0f5; }
.t-post { background: rgba(212,168,67,.14); color: #f0c860; }
.t-skill { background: rgba(64,184,128,.14); color: #4fd3a0; }
.t-session { background: rgba(160,140,230,.16); color: #b9a6f5; }
.t-memory { background: rgba(224,140,64,.14); color: #e8a76b; }
.t-soul { background: rgba(224,64,140,.14); color: #ef7ba8; }
.st-inuse { background: rgba(64,184,128,.14); color: #4fd3a0; border: 1px solid rgba(64,184,128,.3); }
.st-avail { background: rgba(107,160,238,.14); color: #7fb0f5; border: 1px solid rgba(107,160,238,.3); }
.st-dep { background: rgba(224,74,74,.12); color: #ef6b6b; border: 1px solid rgba(224,74,74,.3); }
.st-gone { background: #23232f; color: #a9aabb; border: 1px solid #2b2b38; }
.arch-empty { padding: 46px; text-align: center; color: #6f7085; }

/* SKILL 档案操作区 */
.skill-ops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid #23232f; }
.skill-ops .btn { height: 30px; font-size: 12px; }
.skill-ops .btn.learning { opacity: .7; pointer-events: none; }
.mind-state { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #8a8b9e; margin-top: 10px; }
.mind-state .dot { width: 7px; height: 7px; border-radius: 50%; }
.mind-state .dot.on { background: #3ecf8e; box-shadow: 0 0 8px rgba(62,207,142,.8); }
.mind-state .dot.off { background: #e04a4a; box-shadow: 0 0 8px rgba(224,74,74,.8); }
.skill-note { font-size: 11px; color: #6f7085; margin-top: 8px; line-height: 1.7; }
.skill-note b { color: #f0c860; }
