/* 由 ui_enhance.css 自动生成：作用域限定到 .tools-wrap，已剔除与本站外框冲突的规则 */
.tools-wrap .ue-quick {
  max-width: none; margin: 0 auto 18px; padding: 0 16px;
}
.tools-wrap .ue-quick-block { margin-bottom: 12px; }
.tools-wrap .ue-quick-title {
  font-size: 12px; font-weight: 700; color: var(--emerald-700);
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
}
.tools-wrap .ue-quick-title .ue-ico { font-size: 14px; }
.tools-wrap .ue-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tools-wrap .ue-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--green-200);
  color: var(--emerald-700); font-size: 12.5px; font-weight: 500;
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform .12s, box-shadow .15s, background .15s;
}
.tools-wrap .ue-chip:hover { transform: translateY(-1px); box-shadow: var(--shadow); background: var(--green-50); }
.tools-wrap .ue-chip .ue-x {
  margin-left: 2px; color: var(--slate-400); font-size: 13px; line-height: 1;
  border-radius: 50%; width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center;
}
.tools-wrap .ue-chip .ue-x:hover { background: var(--red-600); color: #fff; }
.tools-wrap .ue-chip-empty { font-size: 12px; color: var(--slate-400); padding: 2px 0; }
.tools-wrap .ue-fav {
  margin-left: auto; border: none; background: transparent; cursor: pointer;
  font-size: 18px; line-height: 1; color: var(--slate-300); padding: 2px 6px; border-radius: 6px;
  transition: color .15s, background .15s, transform .12s;
}
.tools-wrap .ue-fav:hover { background: var(--green-50); transform: scale(1.12); }
.tools-wrap .ue-fav.on { color: #f59e0b; }
.tools-wrap .ue-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tools-wrap .chart-box .chart-wrap { position: relative; height: 300px; width: 100%; max-width: 100%; }
.tools-wrap #excel36-section .chart-box { height: auto; }
.tools-wrap #excel36-section .cl-svg { min-width: 0; max-width: 100%; height: auto; }
.tools-wrap #excel36-section .chart-box, .tools-wrap #excel38-section .chart-box, .tools-wrap #excel39-section .chart-box, .tools-wrap #pv-section .chart-box, .tools-wrap #storage-section .chart-box, .tools-wrap #wind-section .chart-box, .tools-wrap #hybrid-section .chart-box, .tools-wrap #excel35-section .chart-box, .tools-wrap #excel37-section .chart-box { height: auto; }
.tools-wrap #excel14-section .chart-box { height: 440px; }
.tools-wrap .grp-label { font-size: 13px; font-weight: 600; color: var(--green-700, #166534); margin: 10px 0 4px; }
.tools-wrap .calc-table .grp-subhead td {
  background: #f0fdf4; color: #166534; font-weight: 600; font-size: 12.5px;
  padding: 6px 10px; border-top: 1px solid #dcfce7;
}
.tools-wrap .calc-table tr.opt-row td { background: #fafdfa; }
.tools-wrap .calc-table .cb { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; cursor: pointer; }
.tools-wrap .calc-table .cb input[type="checkbox"] { width: 15px; height: 15px; accent-color: #16a34a; }
.tools-wrap .calc-table textarea#c14_curve { width: 100%; box-sizing: border-box; font-size: 12px; resize: vertical; }
@media (max-width: 860px) {
.tools-wrap .ue-grid-3 { grid-template-columns: 1fr; }
}
/* 工具版本号徽章：注入在每个 .tool-title 之后 */
.tools-wrap .tool-ver,
.panel .tool-ver {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72em;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--emerald-700, #047857);
  background: #e6f6ef;
  border: 1px solid #bfe6d6;
  border-radius: 999px;
  padding: 1px 8px;
  margin-left: .5em;
  vertical-align: middle;
  white-space: nowrap;
}
