/* 3.2.2 五年规划纲要专用样式 —— v3.2.2c 起内嵌数据页（无弹窗/题头），零新色、无 icon 注入 */

/* 指标卡（带框；底部 padding 给进度条下方标签留空间，不与「目标 X」行重叠） */
.pl-metric { background: var(--bg-elevated); border: 1px solid var(--separator-light); border-radius: var(--radius-sm); padding: 10px 12px 18px; margin-bottom: 8px; }
.pl-metric-top { display: flex; justify-content: space-between; align-items: center; gap: 4px 8px; flex-wrap: wrap; margin-bottom: 7px; }
.pl-metric-name { font-size: 13px; font-weight: 600; color: var(--text); }
.pl-metric-tag { font-size: 9px; padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 1px; }
.pl-tag-bind { background: var(--red-light); color: var(--red); }
.pl-tag-fore { background: var(--teal-light); color: var(--teal); }
.pl-metric-val { font-size: 11px; color: var(--text-3); }
.pl-metric-val b { color: var(--text-2); font-weight: 600; }

/* 进度条 + 双底线垂直线（线标注置于轨道下方；横向 clip 防溢出，纵向保留） */
.pl-track { position: relative; height: 8px; background: var(--separator); border-radius: 5px; overflow-x: clip; overflow-y: visible; }
.pl-fill { height: 100%; border-radius: 5px; background: var(--accent); max-width: 100%; }
.pl-fill.green { background: var(--green); }
.pl-fill.orange { background: var(--orange); }
.pl-goal-line { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--orange); }
.pl-fore-line { position: absolute; top: -3px; bottom: -3px; width: 0; border-left: 2px dashed var(--green); }
.pl-line-label { position: absolute; top: 100%; margin-top: 2px; transform: translateX(-50%); font-size: 9px; color: var(--text-3); white-space: nowrap; }
.pl-line-label.goal { color: var(--orange); }
.pl-line-label.fore { color: var(--green); }

/* 图例（置于所有进度条下方，统一说明线含义） */
.pl-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 10px; color: var(--text-3); }
.pl-legend i { display: inline-block; width: 14px; height: 2px; vertical-align: 2px; margin-right: 5px; }
.pl-legend .lg-goal { background: var(--orange); }
.pl-legend .lg-fore { background: var(--green); border-left: 2px dashed var(--green); width: 12px; }

/* 三档目标选择（制定模式，内嵌数据页） */
.pl-tiers { margin-top: 14px; }
.pl-tier-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; margin-bottom: 8px; border: 1px solid var(--separator); border-radius: var(--radius-sm); background: var(--bg-card); text-align: left; cursor: pointer; font-family: var(--font); }
.pl-tier-btn .tier-name { font-size: 13px; font-weight: 600; color: var(--text); }
.pl-tier-btn .tier-desc { font-size: 10px; color: var(--text-3); margin-top: 2px; }
.pl-tier-btn .tier-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--separator); flex-shrink: 0; }
.pl-tier-btn.sel .tier-dot { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 45%, transparent 50%); }

/* 数据页区块标题与说明 */
.stats-section .ss-hint { font-size: 10px; color: var(--text-3); margin-bottom: 8px; }

/* 注水按钮（统计数据指标行内） */
.pl-mini-fab { margin-left: 6px; padding: 2px 8px; font-size: 10px; border: 1px solid var(--separator); border-radius: var(--radius-xs); background: var(--bg); color: var(--text-2); cursor: pointer; font-family: var(--font); }
.pl-mini-fab:active { background: var(--bg-elevated); }
