/* 能效与碳管理模块 */

/* 字段说明「?」：与低碳页同一套气泡，扩展页也可用 */
.carbon-body .lc-help,
.kpi-label .lc-help,
.panel-head h3 .lc-help,
.gap-box .lc-help {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0;
  vertical-align: middle;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.35);
  background: #fff;
  color: #115e59;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font);
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}
.carbon-body .lc-help:hover,
.kpi-label .lc-help:hover,
.panel-head h3 .lc-help:hover,
.gap-box .lc-help:hover {
  background: #ecfdf5;
  border-color: rgba(15, 118, 110, 0.55);
}
.carbon-body .kpi-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}
.carbon-body .panel-head h3 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.carbon-body .gap-box .kpi-label {
  color: inherit;
}

.nav-scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  margin: 0 -4px;
  padding: 0 4px 8px;
}
.nav-scroll::-webkit-scrollbar { width: 4px; }
.nav-scroll::-webkit-scrollbar-thumb { background: #c3c6d7; border-radius: 4px; }

.nav-group { margin-bottom: 16px; }
.nav-group .nav { margin-bottom: 0; }
.nav-section-label {
  margin: 4px 0 8px;
  padding: 0 12px;
}

.carbon-updated {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
  white-space: nowrap;
}

.subtabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  width: fit-content;
  max-width: 100%;
}
.subtab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.subtab:hover { color: var(--text); }
.subtab.active {
  background: var(--accent-glow);
  color: var(--accent);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--border-accent);
}

.kpi-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.kpi-grid.cols-6 .kpi-value { font-size: 22px; }
.kpi-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.kpi-card.warn::after { background: linear-gradient(90deg, var(--warning), transparent); }
.kpi-card.alert::after { background: linear-gradient(90deg, var(--danger), transparent); }
.kpi-card .kpi-value.bad { color: var(--danger); }
.kpi-card .kpi-value.warn { color: var(--warning); }

.compare-bars { display: flex; flex-direction: column; gap: 14px; }
.compare-row { display: grid; grid-template-columns: 88px 1fr 72px; gap: 10px; align-items: center; font-size: 12.5px; }
.compare-row .lab { color: var(--text-muted); }
.compare-row .num { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.compare-track { height: 10px; background: rgba(255,255,255,0.06); border-radius: 6px; position: relative; overflow: hidden; }
.compare-fill { height: 100%; border-radius: 6px; }
.compare-fill.now { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.compare-fill.avg { background: rgba(22,184,212,0.45); }
.compare-fill.adv { background: rgba(0,214,180,0.25); }
.compare-fill.lim { background: rgba(255,92,92,0.35); }

.sankey-wrap {
  position: relative;
  height: 520px;
  background: rgba(0,0,0,0.18);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.sankey-wrap svg { width: 100%; height: 100%; display: block; }
.sankey-node { cursor: pointer; }
.sankey-node rect { transition: filter 0.2s; }
.sankey-node:hover rect { filter: brightness(1.15); }
.sankey-label { fill: var(--text); font-size: 11px; font-weight: 600; pointer-events: none; }
.sankey-sub { fill: var(--text-muted); font-size: 10px; pointer-events: none; }
.sankey-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: var(--text-muted); }
.sankey-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }

.lifecycle {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.life-step {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
  position: relative;
  cursor: pointer;
}
.life-step:hover, .life-step.active { border-color: var(--border-accent); }
.life-step .lv { font-size: 18px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.life-step .ln { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.life-step.hot { border-color: rgba(255,176,32,0.45); }
.life-step.hot .lv { color: var(--warning); }

/* ── 产品碳足迹：足迹路径视觉 ── */
.pcf-shell {
  --pcf-ink: #0b3d38;
  --pcf-mid: #0f766e;
  --pcf-mint: #ccfbf1;
  --pcf-sand: #f3faf7;
  --pcf-line: #c5ddd6;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pcf-hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid var(--pcf-line);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(15, 118, 110, 0.14), transparent 55%),
    linear-gradient(135deg, #0b3d38 0%, #115e59 48%, #0f766e 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.pcf-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.pcf-hero-main {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.pcf-hero-mark {
  flex: 0 0 auto;
  width: 56px;
  height: 84px;
  opacity: 0.88;
}

.pcf-hero-mark .pcf-sole {
  width: 100%;
  height: 100%;
  fill: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

.pcf-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
}

.pcf-product {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #fff;
}

.pcf-meta {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 42em;
}

.pcf-hero-score {
  position: relative;
  z-index: 1;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.pcf-score-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.pcf-score-value {
  display: block;
  margin-top: 4px;
  font-size: 40px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.pcf-score-unit {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.pcf-score-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.pcf-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pcf-chip.hot {
  background: #fef3c7;
  color: #92400e;
  border-color: transparent;
}

.pcf-chip.good {
  background: #d1fae5;
  color: #065f46;
  border-color: transparent;
}

.pcf-trail-panel {
  background:
    linear-gradient(180deg, var(--pcf-sand) 0%, #fff 42%),
    #fff;
  border-color: var(--pcf-line);
}

.pcf-trail-caption {
  margin: -4px 0 14px;
  font-size: 12.5px;
  color: #64748b;
}

.pcf-trail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding: 8px 4px 6px;
  min-height: 210px;
  align-items: end;
}

.pcf-trail-path {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 48%;
  height: 0;
  border-top: 2px dashed #9ec5bb;
  pointer-events: none;
  z-index: 0;
}

.pcf-print {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: transform 0.18s ease;
}

.pcf-print:hover,
.pcf-print:focus-visible {
  transform: translateY(-4px);
  outline: none;
}

.pcf-print:focus-visible .pcf-print-sole {
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.28);
}

.pcf-print-sole {
  width: calc(42px * var(--print-scale, 1));
  height: calc(64px * var(--print-scale, 1));
  display: grid;
  place-items: center;
  border-radius: 40% 40% 36% 36%;
  margin-bottom: 4px;
  transition: filter 0.18s ease;
}

.pcf-print-sole .pcf-sole {
  width: 100%;
  height: 100%;
  fill: var(--print-fill, #0f766e);
  opacity: 0.92;
  filter: drop-shadow(0 4px 8px rgba(11, 61, 56, 0.18));
}

.pcf-print.right .pcf-print-sole .pcf-sole {
  transform: scaleX(-1);
}

.pcf-print.is-hot .pcf-print-sole .pcf-sole {
  fill: #b45309;
  filter: drop-shadow(0 6px 12px rgba(180, 83, 9, 0.28));
}

.pcf-print-idx {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.pcf-print-val {
  font-size: 15px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: var(--pcf-ink);
  line-height: 1.1;
}

.pcf-print.is-hot .pcf-print-val { color: #92400e; }

.pcf-print-unit {
  font-size: 10px;
  color: #94a3b8;
}

.pcf-print-name {
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  text-align: center;
  line-height: 1.25;
}

.pcf-print-share {
  font-size: 11px;
  font-weight: 700;
  color: var(--pcf-mid);
}

.pcf-print.is-hot .pcf-print-share { color: #b45309; }

.pcf-trail-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.pcf-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #64748b;
}

@media (max-width: 1100px) {
  .pcf-hero { grid-template-columns: 1fr; }
  .pcf-trail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 0;
    row-gap: 18px;
  }
  .pcf-trail-path { display: none; }
}

@media (max-width: 720px) {
  .pcf-trail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcf-score-value { font-size: 32px; }
}

.quad-wrap { position: relative; height: 280px; }
.quad-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 11px; color: var(--text-muted); margin-top: 8px; }
.quad-legend span { padding: 4px 8px; border-radius: 6px; background: var(--bg-hover); }

.workflow {
  display: flex;
  gap: 0;
  margin-bottom: 18px;
  overflow-x: auto;
}
.wf-step {
  flex: 1;
  min-width: 110px;
  text-align: center;
  padding: 12px 8px;
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 3px solid var(--border);
  position: relative;
}
.wf-step.done { color: var(--accent); border-bottom-color: var(--accent); }
.wf-step.now { color: var(--text); border-bottom-color: var(--accent-2); font-weight: 600; }
.wf-step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-hover); margin-bottom: 6px; font-size: 11px; font-weight: 700;
}
.wf-step.done .n { background: var(--accent-glow); color: var(--accent); }
.wf-step.now .n { background: rgba(22,184,212,0.18); color: var(--accent-2); }

.chain {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 12px 0;
}
.chain-node {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
}
.chain-node b { display: block; color: var(--text-muted); font-weight: 500; font-size: 10px; margin-bottom: 2px; }
.chain-arrow { color: var(--text-muted); opacity: 0.5; }

.suggest-list { display: flex; flex-direction: column; gap: 10px; }
.suggest-item {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
}
.suggest-item:hover { border-color: var(--border-accent); }
.suggest-item .top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.suggest-item h4 { font-size: 14px; font-weight: 600; }
.suggest-meta { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.suggest-kpis { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; }
.suggest-kpis b { color: var(--accent); font-variant-numeric: tabular-nums; }

.prio {
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px;
}
.prio.高 { background: rgba(255,92,92,0.12); color: var(--danger); }
.prio.中 { background: rgba(255,176,32,0.12); color: var(--warning); }
.prio.低 { background: var(--bg-hover); color: var(--text-muted); }

.tag {
  display: inline-flex; align-items: center;
  font-size: 10.5px; font-weight: 600;
  padding: 2px 8px; border-radius: 20px;
}
.tag.ok, .tag.已审核, .tag.已锁定, .tag.已完成, .tag.已通过, .tag.已关闭, .tag.可用 { background: var(--accent-glow); color: var(--accent); }
.tag.warn, .tag.待确认, .tag.待复核, .tag.处理中, .tag.整改中, .tag.审批中, .tag.催办中, .tag.yellow { background: rgba(255,176,32,0.12); color: var(--warning); }
.tag.bad, .tag.逾期, .tag.高风险, .tag.alert, .tag.orange { background: rgba(255,92,92,0.12); color: var(--danger); }
.tag.info, .tag.进行中, .tag.系统估算, .tag.待派发 { background: rgba(22,184,212,0.12); color: var(--accent-2); }
.tag.muted, .tag.草稿 { background: var(--bg-hover); color: var(--text-muted); }

.grade {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.grade.A { background: var(--accent-glow); color: var(--accent); }
.grade.B { background: rgba(22,184,212,0.15); color: var(--accent-2); }
.grade.C { background: rgba(255,176,32,0.15); color: var(--warning); }
.grade.D { background: rgba(255,92,92,0.15); color: var(--danger); }

.sim-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; }
.sim-control { margin-bottom: 16px; }
.sim-control label { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.sim-control input[type=range] { width: 100%; accent-color: var(--accent); }
.sim-result { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sim-box {
  background: var(--bg-hover); border-radius: var(--radius-sm); padding: 14px;
}
.sim-box .k { font-size: 11px; color: var(--text-muted); }
.sim-box .v { font-size: 20px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }

.report-doc {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  font-size: 13.5px;
  line-height: 1.7;
}
.report-doc h4 { font-size: 15px; margin: 16px 0 8px; }
.report-doc h4:first-child { margin-top: 0; }
.report-doc p { color: var(--text); }
.report-doc .muted { color: var(--text-muted); }

.asset-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.gap-box {
  background: linear-gradient(135deg, rgba(255,92,92,0.12), rgba(255,176,32,0.06));
  border: 1px solid rgba(255,92,92,0.28);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.gap-box .big { font-size: 36px; font-weight: 700; color: var(--danger); letter-spacing: -1px; }
.gap-box .sub { color: var(--text-muted); margin-top: 6px; font-size: 13px; }

.clickable { cursor: pointer; }
.clickable:hover { filter: brightness(1.04); }

.carbon-drawer-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 220;
}
.carbon-drawer-overlay.open { display: block; }
.carbon-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(520px, 92vw);
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  z-index: 221;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex; flex-direction: column;
}
.carbon-drawer.open { transform: none; }
.carbon-drawer header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 22px; border-bottom: 1px solid var(--border);
}
.carbon-drawer header h3 { font-size: 16px; }
.carbon-drawer .body { padding: 20px 22px; overflow-y: auto; flex: 1; font-size: 13.5px; line-height: 1.65; }
.carbon-drawer .kv { display: grid; grid-template-columns: 96px 1fr; gap: 8px 12px; margin: 12px 0; }
.carbon-drawer .kv span { color: var(--text-muted); }

.mini-bars { display: flex; flex-direction: column; gap: 8px; }
.mini-bar-row { display: grid; grid-template-columns: 90px 1fr 70px; gap: 8px; align-items: center; font-size: 12px; }
.mini-bar-row .t { color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-bar-row .bar { height: 7px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.mini-bar-row .fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.mini-bar-row .fill.warn { background: linear-gradient(90deg, var(--warning), #ff8a3d); }
.mini-bar-row .fill.bad { background: linear-gradient(90deg, var(--danger), #ff8a8a); }

.form-actions-inline { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

/* ── 供应商档案卷宗 ── */
.sup-dossier { display: flex; flex-direction: column; gap: 14px; }
.sup-dossier-switch { flex-wrap: wrap; }
.sup-pill-meta {
  margin-left: 6px;
  font-size: 10px;
  opacity: 0.7;
  font-weight: 600;
}
.sup-dossier-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid #c5ddd6;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(20, 184, 166, 0.16), transparent 50%),
    linear-gradient(135deg, #0b3d38, #0f766e);
  color: #fff;
}
.sup-dossier-id { display: flex; gap: 14px; align-items: flex-start; }
.sup-dossier-badge {
  flex: 0 0 auto;
  min-width: 64px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 750;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
}
.sup-dossier-id h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.sup-dossier-id p {
  margin: 6px 0 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}
.sup-dossier-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sup-dossier-tags .grade {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.sup-dossier-hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sup-dossier-hero-metrics > div {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.sup-dossier-hero-metrics span {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}
.sup-dossier-hero-metrics strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #fff;
}
.sup-dossier-hero-metrics em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.68);
}
.sup-dossier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sup-dossier-grid.three { grid-template-columns: repeat(3, 1fr); }
.sup-kv {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 10px 12px;
  font-size: 13px;
}
.sup-kv.compact { grid-template-columns: 72px 1fr; }
.sup-kv span { color: var(--text-muted); }
.sup-kv b { font-weight: 600; color: var(--text); line-height: 1.45; }
.sup-scope-bars { display: flex; flex-direction: column; gap: 10px; }
.sup-scope-row {
  display: grid;
  grid-template-columns: 52px 1fr 64px;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}
.sup-scope-row span { color: var(--text-muted); }
.sup-scope-row b { text-align: right; font-variant-numeric: tabular-nums; }
.sup-scope-track {
  height: 8px;
  border-radius: 999px;
  background: #e8f2ef;
  overflow: hidden;
}
.sup-scope-track i { display: block; height: 100%; border-radius: inherit; }
.sup-mini-note, .sup-target-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.sup-progress {
  margin-top: 12px;
  height: 10px;
  border-radius: 999px;
  background: #e8f2ef;
  overflow: hidden;
}
.sup-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #2dd4bf);
}
.sup-progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.sup-progress-meta strong { color: #0f766e; font-variant-numeric: tabular-nums; }
.sup-issue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sup-issue-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
  font-size: 12.5px;
}
.sup-issue-list li span { color: var(--text-muted); white-space: nowrap; }
.sup-empty {
  padding: 28px 12px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
.sup-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sup-timeline li {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  position: relative;
}
.sup-timeline li:last-child { border-bottom: 0; }
.sup-timeline time {
  color: #0f766e;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.sup-timeline span { color: var(--text); line-height: 1.45; }

.tag.有效, .tag.已归档 { background: var(--accent-glow); color: var(--accent); }
.tag.待续期, .tag.待核验, .tag.退回 { background: rgba(255,176,32,0.12); color: var(--warning); }
.tag.缺失, .tag.已过期 { background: rgba(255,92,92,0.12); color: var(--danger); }

@media (max-width: 1100px) {
  .sup-dossier-hero,
  .sup-dossier-grid,
  .sup-dossier-grid.three { grid-template-columns: 1fr; }
  .sup-dossier-hero-metrics { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1400px) {
  .kpi-grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
  .lifecycle { grid-template-columns: repeat(4, 1fr); }
  .sim-grid, .asset-hero { grid-template-columns: 1fr; }
}
@media (max-width: 1200px) {
  .kpi-grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
}
