/* 型号选型表 —— 参考站真实实现是 vxe-table（Vue 组件，前端 AJAX 拉数据），
   这里用原生 <table> + assets/js/model-grid.js 复刻数据结构、视觉骨架和
   展开/收起交互（决策3，2026-08-27），不引入 vxe-table/Vue 这个库——
   实测过它的类名是库自己的通用命名，不是 wierpower 自定义的，没有照抄的价值。 */

.yike-model-grid {
	margin: 0 0 40px;
	border-top: 4px solid var(--yike-color-primary, #c62d50);
	box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.1);
}

.yike-model-grid__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.yike-model-grid__table th,
.yike-model-grid__table td {
	padding: 10px 12px;
	text-align: center;
	border-bottom: 1px solid #eee;
	white-space: nowrap;
}

.yike-model-grid__table thead th {
	background: #fafafa;
	font-weight: 600;
}

.yike-model-row--group {
	background: #f7f7f8;
	font-weight: 600;
}

.yike-model-row--leaf .yike-model-row__title {
	padding-left: 28px;
	font-weight: 400;
}

.yike-model-row__title {
	text-align: left;
}

.yike-model-row__toggle {
	display: inline-block;
	width: 16px;
	margin-right: 6px;
	border: 0;
	background: none;
	cursor: pointer;
	font-size: 10px;
	color: #666;
	padding: 0;
}

.yike-model-row--group.is-expanded {
	background: #f0f0f2;
}

.yike-model-row__title a {
	color: inherit;
	text-decoration: none;
}

.yike-model-row__attachments a {
	display: inline-block;
	margin: 0 2px;
	color: #0073aa;
	text-decoration: none;
}

.yike-model-grid__disclaimer {
	font-size: 12px;
	color: #666;
	text-align: right;
	padding: 8px 12px 0;
	margin: 0;
}

/* 悬浮缩略图（补做区块，2026-08-27）——真实类名 floating-thumbnail，抠自参考站
   归档第742行的内联样式（width/height/backgroundSize/backgroundImage 由 JS 现填），
   这里只补定位相关的规则（参考站原版靠 a-popover 组件库自己定位，这里用 fixed 定位
   跟随触发元素，是等价重实现，不是照抄）。 */
.floating-thumbnail {
	position: absolute;
	width: 180px;
	height: 180px;
	background-size: cover;
	background-position: center;
	background-color: #fff;
	border: 1px solid #eee;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.15 );
	pointer-events: none;
	z-index: 99999;
}

.yike-thumb-trigger {
	cursor: pointer;
}

.yike-apply-button {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 3px;
	background: var(--yike-color-primary, #c62d50);
	color: #fff;
	text-decoration: none;
	font-size: 12px;
}
