/* 农资需求征集与智能备货 — 工作台模块 */
.dc-shell {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 12px 24px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
.dc-hero-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--green, #1a4d2e);
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}
.dc-hero-sub {
  font-size: 13px;
  color: #4a6354;
  line-height: 1.7;
  margin: 0;
}
.dc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}
@media (min-width: 900px) {
  .dc-kpi-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1200px) {
  .dc-kpi-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}
.dc-kpi {
  background: linear-gradient(165deg, #fff 0%, #f7fbf8 100%);
  border: 1px solid #cfe8d6;
  border-radius: 14px;
  padding: 12px 12px 10px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
  text-align: left;
  min-height: 88px;
  box-sizing: border-box;
}
.dc-kpi:hover {
  box-shadow: 0 6px 20px rgba(26, 77, 46, 0.12);
  transform: translateY(-1px);
}
.dc-kpi .dc-kpi-n {
  font-size: 20px;
  font-weight: 900;
  color: #14532d;
  line-height: 1.2;
}
.dc-kpi .dc-kpi-l {
  font-size: 11px;
  color: #6f7f74;
  margin-top: 4px;
  font-weight: 600;
}
.dc-kpi .dc-kpi-mom {
  font-size: 11px;
  margin-top: 6px;
  color: #888;
}
.dc-kpi .dc-kpi-mom.up {
  color: #1e8449;
}
.dc-kpi .dc-kpi-mom.down {
  color: #c0392b;
}
.dc-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 1024px) {
  .dc-layout {
    flex-direction: row;
    align-items: stretch;
  }
  .dc-col-main {
    flex: 1.05;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  .dc-list-fill {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 120px;
    margin-top: 14px;
    padding: 12px 12px 14px;
    border-radius: 16px;
    border: 1px dashed #c5dccf;
    background: linear-gradient(180deg, #fbfcfb 0%, #eef6f0 100%);
  }
  .dc-list-fill .dc-card-h {
    margin-top: 0;
  }
  .dc-list-fill .dc-campaign-card {
    margin-bottom: 10px;
  }
  .dc-list-fill .dc-campaign-card:last-child {
    margin-bottom: 0;
  }
  .dc-col-side {
    flex: 0.95;
    min-width: 280px;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .dc-col-side > .dc-card:last-child {
    margin-bottom: 0;
  }
}
.dc-card {
  background: #fff;
  border: 1px solid #d4e8d8;
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 2px 14px rgba(26, 77, 46, 0.06);
  margin-bottom: 12px;
}
.dc-card-h {
  font-size: 15px;
  font-weight: 800;
  color: #1a4d2e;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dc-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8f5ec;
  color: #1e6b3a;
  font-weight: 700;
}
.dc-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.dc-step-tab {
  border: 1px solid #cfe5d4;
  background: #f4faf6;
  color: #3d5a45;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.dc-step-tab.active {
  background: linear-gradient(135deg, #14532d, #1f7a4a);
  color: #fff;
  border-color: transparent;
}
.dc-step-panel {
  display: none;
  animation: dcFade 0.25s ease;
}
.dc-step-panel.active {
  display: block;
}
@keyframes dcFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.dc-lb {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #2d6e47;
  margin: 10px 0 5px;
}
.dc-lb:first-child {
  margin-top: 0;
}
.dc-fi,
.dc-card select.dc-fi {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1.5px solid #cfe5d4;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}
textarea.dc-fi {
  min-height: 72px;
  resize: vertical;
}
.dc-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 480px) {
  .dc-row2 {
    grid-template-columns: 1fr;
  }
}
.dc-prod-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.dc-mini-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 8px 0;
  max-width: 100%;
}
.dc-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  min-width: 520px;
}
.dc-mini-table th,
.dc-mini-table td {
  border: 1px solid #e0ebe3;
  padding: 6px 8px;
  text-align: left;
  vertical-align: middle;
}
.dc-mini-table th {
  background: #f0faf3;
  color: #1a4d2e;
  font-weight: 800;
  white-space: nowrap;
}
.dc-mini-table input {
  width: 100%;
  min-width: 56px;
  box-sizing: border-box;
  padding: 4px 6px;
  border: 1px solid #d4e8d8;
  border-radius: 6px;
  font-size: 12px;
}
.dc-chart {
  width: 100%;
  height: 240px;
  min-height: 200px;
}
.dc-chart-tall {
  height: 280px;
}
.dc-heat-placeholder {
  min-height: 160px;
  border: 2px dashed #cfe5d4;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: #7a8a80;
  font-size: 13px;
  line-height: 1.65;
  background: linear-gradient(180deg, #fafdfb, #f3faf5);
}
.dc-leads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.dc-leads-table th,
.dc-leads-table td {
  border-bottom: 1px solid #edf3ef;
  padding: 8px 6px;
  text-align: left;
  vertical-align: top;
}
.dc-leads-table th {
  color: #1a4d2e;
  font-weight: 800;
  white-space: nowrap;
}
.dc-campaign-card {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e0ebe3;
  background: linear-gradient(180deg, #fff 0%, #fafdfb 100%);
  margin-bottom: 10px;
}
.dc-campaign-card .dc-qr {
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid #e8ece9;
}
.dc-campaign-body {
  flex: 1;
  min-width: 0;
}
.dc-campaign-title {
  font-size: 15px;
  font-weight: 900;
  color: #1a4d2e;
}
.dc-campaign-meta {
  font-size: 12px;
  color: #6f7f74;
  margin: 6px 0;
  line-height: 1.65;
}
.dc-url {
  font-size: 11px;
  word-break: break-all;
  color: #5c6b62;
  background: #f4faf6;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px dashed #d4e5d9;
}
.dc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.dc-st {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}
.dc-st-active {
  background: #d4edda;
  color: #155724;
}
.dc-st-draft {
  background: #fff3cd;
  color: #856404;
}
.dc-st-ended {
  background: #e2e3e5;
  color: #383d41;
}
.dc-st-archived {
  background: #e7e9fc;
  color: #383d7a;
}
.dc-wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.dc-footnote {
  font-size: 11px;
  color: #888;
  margin-top: 10px;
  line-height: 1.5;
}
