/* ===== 工作台：待办区 ===== */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 4px 0 13px; }
.sec-head h2 { font-size: 16px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.sec-head h2 > span { font: 11px Arial; min-width: 20px; padding: 2px 6px; background: var(--primary-soft); border-radius: 4px; color: var(--primary); text-align: center; }
.sec-head .subtle { font-size: 12px; color: var(--muted); }

.pend-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.pend { position: relative; overflow: hidden; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 17px 20px 14px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
.pend:before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 2px; background: linear-gradient(90deg, var(--tone, #327df0), transparent 82%); opacity: .7; }
.pend:hover { transform: translateY(-3px); border-color: var(--primary-line); box-shadow: var(--shadow-hover); }
.pend .pt { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text); }
.pend .pi { width: 40px; height: 40px; border-radius: 10px; background: var(--tone-soft, #edf4ff); color: var(--tone, #327df0); display: flex; align-items: center; justify-content: center; flex: 0 0 40px; }
.pend .pv { display: flex; align-items: baseline; gap: 7px; font: 700 34px/1.2 Arial, sans-serif; color: var(--ink); letter-spacing: -1px; margin: 5px 0 11px; }
.pend .pv span { font: 12px "Microsoft YaHei", sans-serif; color: var(--muted); letter-spacing: 0; }
.pend .pb { display: flex; align-items: center; justify-content: space-between; gap: 9px; border-top: 1px solid #f0f3f8; padding-top: 10px; font-size: 11.5px; color: var(--muted); }
.pend .pb span:last-child { color: var(--primary); white-space: nowrap; }

/* 补充工具类（主体样式见 style.css） */
td.wrap, th.wrap { white-space: normal; }
.text-r { text-align: right; }
.demo-tag { font-size: 9.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; margin-left: 6px; vertical-align: 1px; }

/* 图标尺寸与行距 */
.w-sum .ic svg, .kpi .ic svg, .quick .qi svg, .pend .pi svg, .ss-ico svg { display: block; }
td .hint-tx { line-height: 1.55; }

/* 滚动条 */
.cs-body::-webkit-scrollbar, .im-list::-webkit-scrollbar, .dr-b::-webkit-scrollbar { width: 6px; height: 6px; }
.cs-body::-webkit-scrollbar-thumb, .im-list::-webkit-scrollbar-thumb, .dr-b::-webkit-scrollbar-thumb { background: #e0e7f1; border-radius: 3px; }

@media (max-width: 1240px) {
  .pend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ===== 提需求：整页宽 + 批量表格 ===== */
.submit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 322px; gap: 20px; align-items: start; }
.submit-main { min-width: 0; }
.submit-side { position: sticky; top: 104px; display: grid; gap: 14px; }

.pick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pick-card { position: relative; text-align: left; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 14px 15px; min-height: 96px; display: flex; flex-direction: column; justify-content: center; transition: .15s; }
.pick-card:hover { border-color: var(--primary-line); background: #f8fbff; box-shadow: var(--shadow); }
.pick-card .svc { font-size: 10.5px; color: var(--primary); display: block; }
.pick-card b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 3px 0 4px; }
.pick-card span { display: block; font-size: 11px; color: var(--muted); }
.pick-card .badge { position: absolute; top: 10px; right: 10px; font-size: 9.5px; color: var(--primary); background: var(--primary-soft); padding: 1px 6px; border-radius: 3px; }
.pick-card.lock { opacity: .55; background: #fafbfc; cursor: not-allowed; }
.pick-card.lock:hover { border-color: var(--line); background: #fafbfc; box-shadow: none; }

.batch-tools { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-bottom: 1px solid var(--divider); flex-wrap: wrap; }
.batch-tools .hint { margin-left: auto; font-size: 11px; color: var(--muted); }
.batch-table { width: 100%; border-collapse: collapse; }
.batch-table th { padding: 9px 10px; font-size: 11px; }
.batch-table td { padding: 7px 8px; border-bottom: 1px solid #f0f3f8; white-space: nowrap; }
.batch-table tr:last-child td { border-bottom: none; }
.batch-table .rowno { width: 38px; text-align: center; color: var(--muted); font-size: 11.5px; }
.batch-table .ipt { width: 100%; height: 32px; min-width: 104px; font-size: 12px; }
.batch-table .del { color: var(--muted); cursor: pointer; font-size: 11.5px; }
.batch-table .del:hover { color: var(--danger); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding: 18px 22px 20px; }
.fg-item label, .fg-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.fg-item label em { font-style: normal; color: #e24b4a; margin-right: 2px; }
.fg-item .ipt { width: 100%; }
.file-drop.wide { max-width: none; padding: 22px; }

.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--divider); font-size: 12.5px; }
.sum-row span { color: var(--muted); }
.sum-row b { font-weight: 600; color: var(--ink); text-align: right; }

@media (max-width: 1360px) {
  .pick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .submit-layout { grid-template-columns: 1fr; }
  .submit-side { position: static; }
  .pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
}
