* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; background: #f0f2f5; color: #333; }

.hidden { display: none !important; }

/* 登录 */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2563eb, #1e40af); }
.login-box { background: #fff; padding: 40px 36px; border-radius: 12px; width: 340px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.login-box h1 { font-size: 22px; text-align: center; color: #1e40af; }
.login-box .sub { text-align: center; color: #888; margin: 8px 0 8px; font-size: 13px; }
.login-box .demo-account { text-align: center; color: #1e40af; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 6px; padding: 8px 10px; margin: 0 0 18px; font-size: 13px; font-weight: 600; }
.login-box input { width: 100%; padding: 11px 12px; margin-bottom: 14px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 14px; }
.login-box input:focus { outline: none; border-color: #2563eb; }
.login-box .captcha-row { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.login-box .captcha-row input { flex: 1; margin-bottom: 0; }
.captcha-img { height: 42px; width: 130px; border: 1px solid #d9d9d9; border-radius: 6px; cursor: pointer; background: #eef2f7; flex-shrink: 0; }
.captcha-img:hover { border-color: #2563eb; }
.login-box .btn-primary { margin-top: 4px; }
.error-msg { color: #dc2626; font-size: 13px; min-height: 18px; margin-top: 8px; }

/* 布局 */
.app { display: flex; min-height: 100vh; }
.sidebar { width: 210px; background: #1e293b; color: #fff; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; }
.sidebar h2 { padding: 22px 20px; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.sidebar nav { flex: 1; padding-top: 10px; }
.nav-link { display: block; padding: 13px 20px; color: #cbd5e1; text-decoration: none; font-size: 14px; }
.nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-link.active { background: #2563eb; color: #fff; }
.sidebar-foot { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #cbd5e1; }
.sidebar-foot span { display: block; margin-bottom: 6px; }
.btn-link { background: none; border: none; color: #93c5fd; cursor: pointer; font-size: 13px; }
.btn-link:hover { text-decoration: underline; }

.content { margin-left: 210px; flex: 1; padding: 24px 28px; }
.page-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.page h2 { font-size: 20px; margin-bottom: 18px; }
.page-head h2 { margin-bottom: 0; }

/* 概览 */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; }
.card { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.08); text-align: center; }
.card .num { font-size: 30px; font-weight: 700; color: #2563eb; }
.card.warn .num { color: #dc2626; }
.card .label { color: #888; font-size: 13px; margin-top: 6px; }
.quick-action { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.quick-action h3 { margin-bottom: 14px; font-size: 16px; }

/* 概览面板（滚动区域 + 计数徽章） */
.panel-card { overflow: hidden; }
.panel-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.panel-head h3 { margin: 0; font-size: 16px; display: flex; align-items: center; }
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 7px;
  background: #2563eb; color: #fff; border-radius: 11px;
  font-size: 12px; font-weight: 600;
}
.badge-amber { background: #d97706; }
.badge-red { background: #dc2626; }
.panel-scroll {
  max-height: 280px; overflow-y: auto;
  border: 1px solid #eef1f5; border-radius: 8px;
  scrollbar-width: thin; scrollbar-color: #c3cdd8 #f1f5f9;
}
.panel-scroll-tall { max-height: 360px; }
.panel-scroll::-webkit-scrollbar { width: 8px; }
.panel-scroll::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 4px; }
.panel-scroll::-webkit-scrollbar-thumb { background: #c3cdd8; border-radius: 4px; }
.panel-scroll::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.panel-scroll table { box-shadow: none; }
.panel-scroll thead th {
  position: sticky; top: 0; z-index: 2;
  background: #f8fafc; box-shadow: 0 1px 0 #e2e8f0;
}
.panel-scroll tbody tr:last-child td { border-bottom: none; }

/* 固定高度表格（一页15行完整显示，行多时内部滚动） */
.fixed-table-wrap {
  max-height: 820px; overflow-y: auto;
  border: 1px solid #eef1f5; border-radius: 8px;
  scrollbar-width: thin; scrollbar-color: #c3cdd8 #f1f5f9;
}
.fixed-table-wrap::-webkit-scrollbar { width: 8px; }
.fixed-table-wrap::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 4px; }
.fixed-table-wrap::-webkit-scrollbar-thumb { background: #c3cdd8; border-radius: 4px; }
.fixed-table-wrap::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.fixed-table-wrap table { box-shadow: none; table-layout: fixed; }
.fixed-table-wrap thead th {
  position: sticky; top: 0; z-index: 2;
  background: linear-gradient(180deg, #fafbfc 0%, #eef2f6 100%);
  color: #1e293b; font-weight: 600; font-size: 12.5px;
  letter-spacing: .5px; white-space: nowrap;
  position: relative;
  padding: 9px 12px;
  box-shadow: 0 1px 0 #dfe5ec;
}
.fixed-table-wrap tbody tr:last-child td { border-bottom: none; }
.fixed-table-wrap td {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 8px 12px; font-size: 13px; color: #334155;
}

/* 流水/收发表：20条完整占满一页，翻页贴近表格底部 */
.fixed-table-wrap.compact { max-height: 800px; }
.fixed-table-wrap thead th .resize-handle {
  position: absolute; top: 0; right: -3px; bottom: 0; width: 7px;
  cursor: col-resize; z-index: 3;
}
.fixed-table-wrap thead th .resize-handle:hover,
.fixed-table-wrap thead th .resize-handle.active { background: #2563eb; opacity: .45; }
.fixed-table-wrap tbody tr:nth-child(even) { background: #f8fafc; }
.fixed-table-wrap tbody tr:hover { background: #e8f1ff; }

/* ID 列等宽字体，防止大ID显示不全 */
.fixed-table-wrap td.id-cell {
  font-family: 'SF Mono', Consolas, Menlo, monospace;
  color: #334155;
}

/* 物品管理表 */
.table-items th:nth-child(1), .table-items td:nth-child(1) { width: 64px; text-align: center; }
.table-items th:nth-child(2), .table-items td:nth-child(2) { width: 70px; }
.table-items td:nth-child(2) { font-family: 'SF Mono', Consolas, Menlo, monospace; color: #334155; }
.table-items th:nth-child(3), .table-items td:nth-child(3) { width: 160px; }
.table-items th:nth-child(4), .table-items td:nth-child(4) { width: 80px; }
.table-items th:nth-child(5), .table-items td:nth-child(5) { width: 60px; text-align: right; }
.table-items th:nth-child(6), .table-items td:nth-child(6) { width: 60px; text-align: right; }
.table-items th:nth-child(7), .table-items td:nth-child(7) { width: 150px; }
.table-items th:nth-child(8), .table-items td:nth-child(8) { width: 120px; }
.table-items th:nth-child(9), .table-items td:nth-child(9) { width: 120px; }
.table-items th:nth-child(10), .table-items td:nth-child(10) { width: 220px; }
.table-items td:nth-child(10) { white-space: nowrap; }
.table-items td:nth-child(10) .btn-mini,
.table-items td:nth-child(10) .btn-danger { display: inline-block; margin-right: 6px; }
.table-items td:nth-child(10) .btn-mini:last-child,
.table-items td:nth-child(10) .btn-danger:last-child { margin-right: 0; }

/* 流水记录表 */
.table-records th:nth-child(1), .table-records td:nth-child(1) { width: 70px; font-family: 'SF Mono', Consolas, Menlo, monospace; color: #334155; }
.table-records th:nth-child(2), .table-records td:nth-child(2) { width: 84px; text-align: center; }
.table-records th:nth-child(3), .table-records td:nth-child(3) { width: 120px; }
.table-records th:nth-child(4), .table-records td:nth-child(4) { width: 110px; }
.table-records th:nth-child(5), .table-records td:nth-child(5) { width: 96px; }
.table-records th:nth-child(6), .table-records td:nth-child(6) { width: 150px; }
.table-records th:nth-child(7), .table-records td:nth-child(7) { width: 70px; text-align: right; }
.table-records th:nth-child(8), .table-records td:nth-child(8) { width: 120px; }
.table-records th:nth-child(9), .table-records td:nth-child(9) { width: 150px; }
.table-records th:nth-child(10), .table-records td:nth-child(10) { width: 165px; }
.table-records th:nth-child(11), .table-records td:nth-child(11) { width: 90px; text-align: center; }

/* 收发记录表 */
.table-shipments th:nth-child(1), .table-shipments td:nth-child(1) { width: 70px; font-family: 'SF Mono', Consolas, Menlo, monospace; color: #334155; }
.table-shipments th:nth-child(2), .table-shipments td:nth-child(2) { width: 96px; text-align: center; }
.table-shipments th:nth-child(3), .table-shipments td:nth-child(3) { width: 130px; }
.table-shipments th:nth-child(4), .table-shipments td:nth-child(4) { width: 150px; }
.table-shipments th:nth-child(5), .table-shipments td:nth-child(5) { width: 110px; }
.table-shipments th:nth-child(6), .table-shipments td:nth-child(6) { width: 70px; text-align: right; }
.table-shipments th:nth-child(7), .table-shipments td:nth-child(7) { width: 72px; text-align: center; }
.table-shipments th:nth-child(8), .table-shipments td:nth-child(8) { width: 120px; text-align: center; }
.table-shipments th:nth-child(9), .table-shipments td:nth-child(9) { width: 150px; }
.table-shipments th:nth-child(10), .table-shipments td:nth-child(10) { width: 96px; }
.table-shipments th:nth-child(11), .table-shipments td:nth-child(11) { width: 165px; }

/* 工具栏 */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar input, .toolbar select { padding: 8px 10px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 13px; }
.toolbar input:focus, .toolbar select:focus { outline: none; border-color: #2563eb; }

/* 按钮 */
.btn { padding: 8px 16px; border: 1px solid #d9d9d9; background: #fff; border-radius: 6px; cursor: pointer; font-size: 13px; }
.btn:hover { border-color: #2563eb; color: #2563eb; }
.btn-primary { padding: 8px 18px; background: #2563eb; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 13px; }
.btn-primary:hover { background: #1d4ed8; }
.btn-danger { padding: 6px 12px; background: #fff; color: #dc2626; border: 1px solid #fca5a5; border-radius: 6px; cursor: pointer; font-size: 12px; }
.btn-danger:hover { background: #dc2626; color: #fff; }
.btn-mini { padding: 6px 12px; border: 1px solid #d9d9d9; background: #fff;color: #111827; border-radius: 6px; cursor: pointer; font-size: 12px; margin-right: 6px; }
.btn-mini:hover { border-color: #2563eb; color: #1356e7; }

/* 表格 */
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
th, td { padding: 10px 14px; text-align: left; font-size: 13px; border-bottom: 1px solid #f0f0f0; }
th { background: #f1f5f9; color: #334155; font-weight: 600; white-space: nowrap; }
tbody tr:nth-child(even) { background: #fafbfc; }
tbody tr:hover { background: #eef4ff; }
.empty-row { text-align: center; color: #999; padding: 30px 0; }

/* 自定义位置选择网格 */
.pos-list { display: flex; flex-wrap: wrap; gap: 8px; max-height: 300px; overflow-y: auto; padding: 4px; }
.pos-option {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid #d9d9d9; border-radius: 6px;
  font-size: 13px; cursor: pointer; user-select: none; background: #fff;
}
.pos-option:hover { border-color: #2563eb; }
.pos-option:has(input:checked) { border-color: #2563eb; background: #eef4ff; color: #1356e7; }
.pos-option input { margin: 0; }

/* 分页 */
.pager { display: flex; gap: 6px; align-items: center; justify-content: flex-end; margin-top: 10px; padding-bottom: 4px; flex-wrap: wrap; }
.pager button { padding: 6px 12px; border: 1px solid #d9d9d9; background: #fff; border-radius: 6px; cursor: pointer; font-size: 12px; color: #334155; transition: all .15s; }
.pager button:hover:not(:disabled) { border-color: #2563eb; color: #2563eb; }
.pager button:disabled { opacity: .4; cursor: not-allowed; }
.pager button.current { background: #2563eb; border-color: #2563eb; color: #fff; }
.pager .info { font-size: 12px; color: #888; margin-right: 4px; }

/* 弹窗 */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; z-index: 100; }
#itemModal { z-index: 120; }
.modal-box { background: #fff; border-radius: 12px; padding: 26px; width: 400px; max-width: 92vw; }
.modal-box h3 { margin-bottom: 18px; }
.modal-box label { display: block; margin-bottom: 12px; font-size: 13px; color: #475569; }
.modal-box input, .modal-box select { width: 100%; padding: 9px 10px; margin-top: 4px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 13px; }
.modal-box input:focus, .modal-box select:focus { outline: none; border-color: #2563eb; }
.modal-btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }

/* Toast */
.toast { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); background: #111827; color: #fff; padding: 10px 22px; border-radius: 8px; font-size: 14px; z-index: 200; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.toast.success { background: #16a34a; }
.toast.error { background: #dc2626; }

/* 物品图片 */
.item-thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; cursor: zoom-in; border: 1px solid #e2e8f0; vertical-align: middle; }
.item-img-preview { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid #e2e8f0; }
.hint { font-size: 12px; color: #94a3b8; font-weight: normal; margin-left: 8px; }

/* 收发批量行 */
.shipment-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.shipment-row .shipment-item-picker { position: relative; flex: 1; min-width: 200px; }
.shipment-row select { flex: 1; padding: 8px 10px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 13px; }
.shipment-row input { width: 90px; padding: 8px 10px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 13px; }
.shipment-item-picker .shipment-row-search { width: 100%; }
.shipment-item-picker .shipment-row-dd { max-height: 180px; }
.shipment-row input:focus, .shipment-row select:focus { outline: none; border-color: #2563eb; }
.shipment-row-scrap { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #475569; white-space: nowrap; cursor: pointer; }
.shipment-row-scrap input { width: auto; }
.shipment-row-kind { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #475569; white-space: nowrap; }
.shipment-row-kind input[type="radio"] { width: auto; margin: 0; }
.shipment-row-kind input[type="radio"]:disabled + span, .shipment-row-kind input[type="radio"]:disabled { opacity: .45; cursor: not-allowed; }

/* 搜索下拉 */
.search-dropdown { position: absolute; top: 100%; left: 0; right: 0; max-height: 240px; overflow-y: auto; background: #fff; border: 1px solid #d9d9d9; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.12); z-index: 100; }

/* 数据采集任务 */
.task-candidates { display: flex; flex-direction: column; gap: 16px; }
.task-sheet {
  border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.task-sheet.task-sheet-picked { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,.25); }
.task-sheet-head {
  padding: 16px 20px; border-bottom: 1px solid #eef1f5;
  background: #f8fafc;
}
.task-sheet-title { font-size: 20px; font-weight: 700; color: #111827; }
.task-sheet-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.task-sheet-tag {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 14px;
  background: #e0e7ff; color: #3730a3; font-size: 13px;
}
.task-sheet-tag-amber { background: #fef3c7; color: #92400e; }
.task-sheet-desc {
  margin-top: 10px; padding: 8px 12px; border-left: 3px solid #6366f1;
  background: #eef2ff; color: #3730a3; font-size: 13.5px; line-height: 1.6;
  border-radius: 0 6px 6px 0;
}
.task-sheet-desc::before { content: '任务描述 '; font-weight: 700; color: #4338ca; }
.task-sheet-body { padding: 16px 20px 20px; }
.task-sheet-steps-title { font-size: 14px; font-weight: 600; color: #475569; margin-bottom: 10px; }
.task-sheet-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.task-sheet-steps li {
  display: flex; align-items: center; gap: 12px;
  counter-increment: step; padding: 10px 12px;
  border-bottom: 1px dashed #eef1f5;
}
.task-sheet-steps li:last-child { border-bottom: none; }
.task-sheet-steps li::before {
  content: counter(step);
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: #2563eb; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}
.task-step-text { flex: 1; font-size: 14px; }
.task-step-skill {
  flex-shrink: 0; padding: 3px 10px; border-radius: 12px;
  background: #e0e7ff; color: #3730a3; font-size: 12px;
}
.task-pick-btn { margin-top: 12px; }
/* 任务结果表格（基于用户 Excel 模板样式美化：表头加粗居中、数据行浅黄、边框、动作步骤左对齐换行） */
.task-table-wrap { overflow-x: auto; margin: 14px 0; }
.task-table {
  border-collapse: collapse; width: 100%; table-layout: auto;
  font-family: "等线", "SimSun", "Microsoft YaHei", sans-serif; font-size: 13px;
  border: 1px solid #cbd5e1; border-radius: 8px;
}
.task-table th {
  border: 1px solid #cbd5e1; background: #eef4fb; color: #1e3a5f;
  font-weight: 700; padding: 9px 10px; text-align: center; white-space: nowrap;
  font-size: 13px; letter-spacing: .5px;
}
.task-table td {
  border: 1px solid #cbd5e1; background: #faf1d1; color: #111827;
  padding: 8px 10px; text-align: center; vertical-align: middle; font-size: 13px;
}
.task-table th.col-no, .task-table td.col-no { width: 52px; }
.task-table th.col-steps, .task-table td.task-td-steps { min-width: 260px; }
.task-table tr.task-sheet-picked td { background: #fde68a; box-shadow: inset 0 0 0 2px #f59e0b; }
.task-table tbody tr { cursor: pointer; transition: background .15s ease; }
.task-table tbody tr:hover td { background: #fde68a; }
.task-table .task-td-name { font-weight: 600; }
.task-table .task-td-desc, .task-table .task-td-steps { text-align: left; }
.task-table .task-td-diff { font-weight: 600; color: #b45309; }
.task-table .task-td-steps pre {
  margin: 0; white-space: pre-wrap; word-break: break-all;
  font-family: "等线", "Microsoft YaHei", sans-serif; font-size: 12px; line-height: 1.7;
}
.task-table-actions { display: flex; gap: 10px; margin-top: 8px; }
.search-dd-item { padding: 8px 12px; font-size: 13px; cursor: pointer; border-bottom: 1px solid #f0f0f0; }
.search-dd-item { padding: 8px 12px; font-size: 13px; cursor: pointer; border-bottom: 1px solid #f0f0f0; }
.search-dd-item:hover { background: #eff6ff; }
.search-dd-item:last-child { border-bottom: none; }

/* LLM 语义分类面板 */
.classify-panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.classify-panel-head h3 { margin: 0; font-size: 16px; }
.classify-log {
  max-height: 200px; overflow-y: auto; margin-bottom: 12px;
  padding: 10px 12px; border-radius: 8px;
  background: #f8fafc; border: 1px solid #eef1f5;
  font-size: 12px; line-height: 1.7; color: #334155;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  white-space: pre-wrap;
}
.classify-log .log-line { margin: 0; }
.classify-log .log-cat { color: #1d4ed8; font-weight: 600; }
.trace-block {
  border: 1px solid #eef1f5; border-radius: 8px; margin: 10px 0;
  padding: 4px 12px 10px; background: #fff;
}
.trace-block-head { font-weight: 600; color: #1e293b; padding: 6px 0 2px; font-size: 13px; }
.trace-hint { color: #64748b; font-size: 12px; padding-bottom: 2px; }
.trace-row {
  display: flex; gap: 8px; align-items: baseline;
  padding: 2px 0; font-size: 12px; line-height: 1.6;
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  white-space: pre-wrap; word-break: break-all;
}
.trace-icon { flex: 0 0 14px; text-align: center; }
.trace-phase { flex: 0 0 auto; color: #64748b; }
.trace-detail { flex: 1; }
.trace-row.trace-ok .trace-icon { color: #16a34a; }
.trace-row.trace-ok .trace-detail { color: #166534; }
.trace-row.trace-fail .trace-icon { color: #dc2626; }
.trace-row.trace-fail .trace-detail { color: #b91c1c; }
.trace-row.trace-info .trace-icon { color: #2563eb; }
.trace-row.trace-info .trace-detail { color: #334155; }
.trace-log-entry { border-bottom: 1px dashed #e2e8f0; padding-bottom: 8px; margin-bottom: 8px; }
.trace-log-entry:last-child { border-bottom: none; margin-bottom: 0; }
.classify-result { margin-top: 4px; }
.classify-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.classify-cat-chip {
  padding: 5px 14px; border-radius: 16px; cursor: pointer;
  background: #f1f5f9; border: 1px solid #e2e8f0; color: #475569;
  font-size: 13px; transition: all .15s;
}
.classify-cat-chip.active { background: #2563eb; border-color: #2563eb; color: #fff; font-weight: 600; }
.classify-items { display: flex; flex-wrap: wrap; gap: 8px; }
.classify-item-chip {
  padding: 6px 12px; border-radius: 6px; cursor: pointer;
  background: #fff; border: 1px solid #cbd5e1; color: #1e293b;
  font-size: 13px; user-select: none; transition: all .15s;
}
.classify-item-chip:hover { border-color: #2563eb; }
.classify-item-chip.checked { background: #dbeafe; border-color: #2563eb; color: #1e40af; font-weight: 600; }
.classify-actions { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
