/* 餐饮门店看板 · 补充样式（其余复用 app.css） */
.nav a.on { background: rgba(13,110,110,.9); color: #fff; }

.sec-h { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 12px; }
.sec-h h2 { font-size: 14px; font-weight: 600; }
.sec-h p { font-size: 12px; color: var(--sub); }
.sec-h:first-child { margin-top: 0; }

.note {
  font-size: 12px; color: var(--sub); line-height: 1.7;
  background: #FAFBFB; border: 1px dashed var(--line); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 14px;
}
.note b { color: var(--txt); font-weight: 600; }

.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g21 { grid-template-columns: 2fr 1fr; }
.g12 { grid-template-columns: 1fr 2fr; }

.kpis.k6 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 1400px) { .kpis.k6 { grid-template-columns: repeat(6, 1fr); } }
.kpi .lb { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .ft { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.kpi .val small { font-size: 12px; }
.kpis.k4 { grid-template-columns: repeat(4, 1fr); }
.kpis.k3 { grid-template-columns: repeat(3, 1fr); }

.kpi .val.neg { color: var(--down); }

/* 规格说明卡（未接入数据的页签） */
.plan { border: 1px dashed #CFDADE; border-radius: 12px; padding: 16px 18px; background: #FCFDFD; }
.plan .ph { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.plan .ph b { font-size: 13px; }
.plan .tagx { font-size: 11px; padding: 1px 7px; border-radius: 4px; background: var(--warn-bg); color: var(--warn); }
.plan ul { list-style: none; }
.plan li { font-size: 12px; color: var(--sub); line-height: 1.9; padding-left: 14px; position: relative; }
.plan li::before { content: '·'; position: absolute; left: 4px; color: #B7C4C9; }
.plan li b { color: var(--txt); font-weight: 600; }
.plan code {
  font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 11px;
  background: #EEF3F4; color: #33555F; padding: 1px 5px; border-radius: 4px;
}

.legend-inline { display: flex; gap: 14px; font-size: 11px; color: var(--sub); margin-top: 4px; }
.legend-inline i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 4px; }

tbody tr.hl { background: #FDF6E7; }
.tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl td.pos { color: var(--up); }
.tbl td.neg { color: var(--down); }
