@charset "utf-8";
/*
 * Parameter tables that reproduce a source workbook cell by cell: a group
 * column, an item column and the model columns with the merged ranges of the
 * original sheet. Styles only apply to tables rendered by spec-table-excel.js.
 */
.xg-wrap{--xg-group-col:104px;--xg-item-col:180px}
/* 网格线用共用变量 --spec-line（定义在 spec-tables.css，两套渲染器同一个色），
   兜底 #cdd9e5 = 比全站默认的 --sp-line(#e6eef7) 稍深一档。 */
.spec-table-wrap.xg-wrap{border-color:var(--spec-line,#cdd9e5)}
.xg-table{width:100%;min-width:1120px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:13px;color:#3f5060}
.xg-table col.xg-col-group{width:var(--xg-group-col)}
.xg-table col.xg-col-item{width:var(--xg-item-col)}
/* 只有一列标签的表（pages.json 里 labels 为 A:A，如 SPI 8-12KW）：
   标签列要够宽，长条目（如 "MPPT Range at Operating Voltage"）才能一行放下。
   原来的 104px 是"两列标签"里分组列的宽度，放长标签必定折行。 */
.xg-wrap.xg-one-label{--xg-group-col:292px}
.xg-wrap.xg-one-label th.xg-group{text-align:center;padding-left:14px;padding-right:14px}
.xg-table th,.xg-table td{margin:0;padding:9px 10px;border-right:1px solid var(--spec-line,#cdd9e5);border-bottom:1px solid var(--spec-line,#cdd9e5);font-weight:400;line-height:20px;text-align:center;vertical-align:middle;overflow-wrap:break-word;word-wrap:break-word}
.xg-table td{white-space:pre-wrap}
.xg-table thead th{position:-webkit-sticky;position:sticky;top:0;z-index:3;background:#0071be;border-right-color:#2b8bcb;border-bottom-color:#2b8bcb;font-size:12px;font-weight:700;letter-spacing:.06em;color:#fff;text-transform:uppercase}
.xg-table thead th.xg-corner{left:0;z-index:5;background:var(--sp-navy-600);text-align:center}
.xg-table tbody th{position:-webkit-sticky;position:sticky;z-index:2}
.xg-table th.xg-group{left:0;background:#eef4fa;font-size:12px;font-weight:700;letter-spacing:.02em;color:var(--sp-ink)}
.xg-table th.xg-item{left:var(--xg-group-col);background:#fff;font-weight:600;color:var(--sp-ink);text-align:left}
.xg-table tbody tr:last-child th,.xg-table tbody tr:last-child td{border-bottom:0}
/* the wrapper draws the outer border; .xg-end marks the cell that really ends
   at the last column (a rowspan above can leave that column empty, so
   :last-child would hit the wrong cell and cut a divider) */
.xg-table .xg-end{border-right:0}

/* 整行分隔（INVERTER OUTPUT / BATTERY / UTILITY/GENERATOR INPUT …）：
   按原 Excel 的样子做白底 + 加粗黑字，居中贯穿整行。
   必须放在 .xg-group / .xg-item 规则之后 —— 同为 th.xg-xxx，靠顺序决定胜负。 */
.xg-table th.xg-group.xg-section,
.xg-table th.xg-item.xg-section,
.xg-table th.xg-section{
	position:static;
	background:#fff;
	color:#000;
	font-weight:700;
	text-align:center;
	letter-spacing:.05em;
}
