/**
 * 手机端统一样式表 mobile.css
 * 设计原则：
 * 1. 移动优先，适配 320px~480px 宽度区间，最大内容宽度 100%；
 * 2. 触控目标不小于 44x44px，底部 Tab 栏固定 56px 高度；
 * 3. 尽可能在一屏内展示更多数据：采用紧凑卡片、双列网格、可折叠区块；
 * 4. 配色沿用 PC 端品牌色 #1a3a5c / #2d6cdf，保证视觉一致性；
 * 5. 所有交互元素带 :active 反馈，适配移动端手势。
 */

/* ====== 基础重置 ====== */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: #333;
  background: #f4f6f8;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, li { list-style: none; }
input, button, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; }
:root {
  --brand: #1a3a5c;
  --brand-light: #2d6cdf;
  --brand-grad: linear-gradient(135deg, #16324f 0%, #1f4e86 52%, #2d6cdf 100%);
  --bg: #f3f5f8;
  --card-bg: #ffffff;
  --text-1: #1a2330;
  --text-2: #5b6573;
  --text-3: #8b93a0;
  --border: #e6eaef;
  --danger: #e4393c;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(22, 50, 79, .06);
  --shadow-lg: 0 8px 24px rgba(22, 50, 79, .10);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --m-tabbar-h: calc(56px + var(--safe-bottom));
}
.container { width: 100%; padding: 0 12px; }

/* ====== 顶部栏：对齐 PC 端白底顶栏，搜索图标展开，用户图标跳转登录/个人中心 ====== */
.m-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.m-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 2px 7px 10px;
  min-height: 48px;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.m-header-bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffa726, #ff7043, #ffa726);
  pointer-events: none;
}
.m-header-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1 1 auto;
  min-width: 0;
}
.m-header-logo img {
  height: 24px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.m-header-logo .logo-text {
  color: #1a3a5c;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}
.m-header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.m-header-icon {
  width: 36px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #666;
  background: transparent;
  padding: 0;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  transition: color .15s, background .15s;
}
.m-header-icon i { font-size: 22px; }
.m-header-icon:active {
  color: #0066cc;
  background: rgba(0, 102, 204, .08);
}
.m-header-icon.is-active {
  color: #0066cc;
  background: rgba(0, 102, 204, .10);
}
.m-header-text-btn {
  height: 28px;
  margin-left: 2px;
  padding: 0 10px;
  border: 1px solid #0066cc;
  border-radius: 14px;
  background: transparent;
  color: #0066cc;
  font-size: 12px;
  line-height: 26px;
  white-space: nowrap;
}
.m-header-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 201;
  background: #fff;
  border-top: 1px solid #e8eaee;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(22, 50, 79, .12);
  max-height: calc(100vh - 48px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.m-header-panel[hidden] {
  display: none !important;
}
.m-search-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 6px 16px 6px;
}
.m-search-panel[hidden] { display: none !important; }

.m-search-bar {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: #f5f6f8;
  border: 1px solid #d9dde3;
  border-radius: 8px;
  padding: 0 6px 0 12px;
  height: 42px;
  min-width: 0;
}
.m-search-bar input {
  flex: 1;
  background: transparent;
  font-size: 14px;
  height: 100%;
  min-width: 0;
  color: var(--text-1);
}
.m-search-bar input[type="search"]::-webkit-search-cancel-button,
.m-search-bar input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.m-search-bar input::placeholder { color: #9aa3af; }
.m-search-bar .m-search-clear,
.m-search-bar .m-search-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  background: transparent;
  padding: 0;
}
.m-search-bar .m-search-clear { font-size: 14px; }
.m-search-bar .m-search-btn { font-size: 18px; color: var(--brand); }
.m-search-bar .m-search-clear[hidden] { display: none !important; }

/* 搜索结果：结构与 PC 端一致，铺在下拉面板内 */
.m-search-panel .search-dropdown {
  position: static;
  margin-top: 4px;
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.m-search-panel .search-dropdown-panel {
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  max-height: none;
  overflow: visible;
  padding-bottom: 12px;
}
.search-dropdown-head {
  padding: 10px 4px 8px;
  font-size: 12px;
  color: #999;
  border-bottom: 1px solid #f0f0f0;
}
.search-dropdown-status {
  padding: 24px 8px;
  text-align: center;
  font-size: 13px;
  color: #999;
}
.search-group + .search-group { border-top: 1px solid #f0f0f0; }
.search-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  color: inherit;
  background: #f8fafc;
}
.search-group-head:active { background: #eef4fb; }
.search-group-info { flex: 1; min-width: 0; }
.search-group-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a3a5c;
  line-height: 1.4;
}
.search-group-meta {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}
.search-group-link {
  flex-shrink: 0;
  font-size: 12px;
  color: #0066cc;
  white-space: nowrap;
}
.search-group-list { padding: 4px 0; }
.search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px 10px 8px;
  color: inherit;
}
.search-item:active { background: #f5f9ff; }
.search-thumb {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  background: #f0f4f8;
  border: 1px solid #eef2f7;
}
.search-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.search-thumb.is-empty-cover {
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-thumb.is-empty-cover::after {
  content: '暂无';
  font-size: 10px;
  color: #8a94a0;
}
.search-item-info { flex: 1; min-width: 0; }
.search-item-title {
  display: block;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-item-meta {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 登录 / 注册下拉 */
.m-auth-tabs {
  display: flex;
  margin: 0 0 18px;
  border-bottom: 1px solid #eee;
}
.m-auth-tab {
  flex: 1;
  height: 42px;
  background: transparent;
  color: #666;
  font-size: 15px;
  padding: 0;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
}
.m-auth-tab.is-active {
  color: var(--brand-light);
  font-weight: 600;
}
.m-auth-tab.is-active::after {
  content: '';
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -1px;
  height: 2px;
  background: var(--brand-light);
  border-radius: 1px;
}
/* 登录 / 注册 / 找回密码（独立页面，外框对齐服务入口） */
.m-auth-page {
  margin-top: 6px;
  padding: 10px 12px;
}
.m-auth-page .m-section-head { margin-bottom: 12px; }
.m-auth-page .m-section-head h3 { font-size: 14px; }
.m-auth-page .m-section-head h3::before { height: 12px; }
.m-auth-page .m-form-item { margin-bottom: 14px; }
.m-auth-page .m-input {
  background: #fff;
  border-radius: 8px;
  height: 44px;
}
.m-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 13px;
}
.m-auth-check {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.5;
}
.m-auth-check input { margin-top: 2px; }
.m-auth-agree { margin-bottom: 16px; }
.m-auth-link { color: #0066cc; }
.m-auth-page .m-btn-primary { margin-top: 4px; }
.m-auth-ghost {
  display: block;
  width: 100%;
  height: 36px;
  line-height: 36px;
  text-align: center;
  margin-top: 10px;
  border: 1px solid #d2d2d2;
  border-radius: 2px;
  background: #fff;
  color: #5f5f5f;
  font-size: 14px;
}
.m-auth-ghost.is-danger { color: var(--danger); border-color: #f3c6c7; }
.m-auth-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
  font-size: 13px;
  color: #888;
}
.m-auth-tip {
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ====== 二级导航条（横向滚动） ====== */
.m-subnav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: #fff;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
}
.m-subnav::-webkit-scrollbar { display: none; }
.m-subnav-item {
  flex-shrink: 0;
  padding: 5px 12px;
  font-size: 13px;
  color: var(--text-2);
  border-radius: 16px;
  background: var(--bg);
  white-space: nowrap;
}
.m-subnav-item.active {
  background: var(--brand);
  color: #fff;
}

/* ====== 页面横幅 ====== */
.m-banner {
  background: var(--brand-grad);
  color: #fff;
  padding: 20px 12px 16px;
}
.m-banner h2 { font-size: 20px; font-weight: 700; }
.m-banner-desc { font-size: 12px; opacity: .85; margin-top: 8px; line-height: 1.5; }
.m-breadcrumb { font-size: 11px; opacity: .85; margin-top: 4px; }
.m-breadcrumb a { opacity: .85; }
.m-breadcrumb span { margin: 0 4px; opacity: .6; }

/* ====== 轮播图 ====== */
.m-swiper {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #ddd;
}
.m-swiper .swiper-track {
  display: flex;
  height: 100%;
  transition: transform .35s ease;
}
.m-swiper .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}
.m-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.m-swiper-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}
.m-swiper-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
}
.m-swiper-dots span.active { background: #fff; width: 14px; border-radius: 3px; }

/* ====== 通用区块 ====== */
.m-section { background: #fff; margin-top: 8px; padding: 12px; }
.m-footer-copy {
  text-align: center;
  padding: 18px 12px 72px;
  color: var(--text-3);
  font-size: 11px;
  line-height: 1.8;
}
.m-footer-copy a { color: var(--brand-light); }
.m-section.bg-gray { background: var(--bg); }
.m-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.m-section-head h3 { font-size: 16px; font-weight: 700; color: var(--text-1); position: relative; padding-left: 10px; }
.m-section-head h3::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 16px; background: var(--brand-light); border-radius: 2px;
}
.m-section-head .m-more { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 2px; }
.m-section-en { font-size: 10px; color: var(--text-3); letter-spacing: 1px; margin-bottom: 2px; }

/* ====== 双列产品卡片网格 ====== */
.m-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.m-product-card {
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.m-product-card:active { opacity: .85; }
.m-product-card .pic {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg);
  overflow: hidden;
}
.m-product-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.m-product-card .info { padding: 6px 8px 8px; }
.m-product-card .info h4 { font-size: 13px; font-weight: 600; color: var(--text-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-product-card .info p { font-size: 11px; color: var(--text-3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-product-card .cat-badge {
  position: absolute; top: 6px; left: 6px;
  background: rgba(26,58,92,.8); color: #fff;
  font-size: 10px; padding: 2px 6px; border-radius: 3px;
}

/* 产品中心：大类 / 子分类紧凑卡片，缩小封面、提高一屏信息密度 */
.m-banner-sm { padding: 10px 12px; }
.m-banner-sm h2 { font-size: 16px; }
.m-section-cat { padding: 10px; margin-top: 6px; }
.m-section-cat .m-section-head { margin-bottom: 8px; }
.m-section-cat .m-section-head h3 { font-size: 14px; }
.m-cat-intro { display: flex; gap: 8px; align-items: flex-start; }
.m-cat-intro .cover {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 6px; overflow: hidden; background: var(--bg);
}
.m-cat-intro .cover img { width: 100%; height: 100%; object-fit: cover; }
.m-cat-intro-main { flex: 1; min-width: 0; }
.m-cat-intro h3 { font-size: 14px; font-weight: 700; line-height: 1.3; }
.m-breadcrumb-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  font-size: 16px;
  opacity: 1;
  margin-top: 0;
  color: var(--text-1);
  line-height: 1.35;
  word-break: break-all;
}
.m-breadcrumb-inline a {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: rgba(45, 108, 223, .1);
  border-radius: 4px;
  opacity: 1;
}
.m-breadcrumb-inline .sep {
  margin: 0;
  font-size: 12px;
  opacity: .45;
}
.m-breadcrumb-inline strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
}
.m-cat-intro .m-rich-content {
  font-size: 12px; line-height: 1.5; margin-top: 2px;
}
.m-cat-desc:not(.is-expanded) .m-rich-content {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.m-cat-desc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
  padding: 8px 0 2px;
  min-height: 32px;
  background: none;
  color: var(--brand-light);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}
.m-cat-desc-toggle .layui-icon { font-size: 12px; }
.m-cat-desc-toggle[hidden] { display: none !important; }
.m-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.m-cat-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  min-height: 52px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.m-cat-card:active { opacity: .85; background: var(--bg); }
.m-cat-card .pic {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 4px; overflow: hidden; background: var(--bg);
  aspect-ratio: auto;
}
.m-cat-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.m-cat-card .info { flex: 1; min-width: 0; padding: 0; }
.m-cat-card .info h4 {
  font-size: 12px; font-weight: 600; color: var(--text-1);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.m-cat-card .info p { font-size: 10px; color: var(--text-3); margin-top: 1px; }

/* 单列横向产品卡 */
.m-prod-row {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.m-prod-row:last-child { border-bottom: none; }
.m-prod-row:active { background: var(--bg); }
.m-prod-row .thumb {
  width: 84px; height: 84px; flex-shrink: 0;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--bg);
}
.m-prod-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-prod-row .body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.m-prod-row .body h4 { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.m-prod-row .body .meta { font-size: 11px; color: var(--text-3); margin-top: 4px; }
.m-prod-row .body .price-tag { color: var(--brand-light); font-size: 13px; font-weight: 600; }

/* ====== 资讯列表 ====== */
.m-news-list { display: flex; flex-direction: column; }
.m-news-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.m-news-item:active { background: var(--bg); }
.m-news-item:last-child { border-bottom: none; }
.m-news-item .date-box {
  flex-shrink: 0;
  width: 44px;
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 4px 0;
  align-self: flex-start;
}
.m-news-item .date-box .day { font-size: 18px; font-weight: 700; color: var(--brand); line-height: 1.2; }
.m-news-item .date-box .month { font-size: 10px; color: var(--text-3); }
.m-news-item .news-content { flex: 1; min-width: 0; }
.m-news-item .news-tag {
  display: inline-block; font-size: 10px; color: var(--brand-light);
  background: rgba(45,108,223,.08); padding: 1px 6px; border-radius: 3px; margin-bottom: 3px;
}
.m-news-item .news-content h4 { font-size: 14px; font-weight: 600; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.m-news-item .news-content p { font-size: 12px; color: var(--text-3); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.m-news-item .news-thumb { width: 80px; height: 60px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; }
.m-news-item .news-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ====== 解决方案/企业文化卡片 ====== */
.m-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.m-solution-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  text-align: center;
}
.m-solution-card .icon { width: 40px; height: 40px; margin: 0 auto 6px; border-radius: 50%; overflow: hidden; background: #fff; }
.m-solution-card .icon img { width: 100%; height: 100%; object-fit: cover; }
.m-solution-card h4 { font-size: 12px; font-weight: 600; }
.m-solution-card p { font-size: 10px; color: var(--text-3); margin-top: 2px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.m-culture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.m-culture-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}
.m-culture-card .icon-wrap {
  width: 36px; height: 36px; margin: 0 auto 6px;
  background: var(--brand-grad); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
}
.m-culture-card h4 { font-size: 13px; font-weight: 600; }
.m-culture-card p { font-size: 11px; color: var(--text-3); margin-top: 4px; line-height: 1.4; }

/* ====== 关于我们简介 ====== */
.m-about-intro { display: flex; flex-direction: column; gap: 10px; }
.m-about-intro .intro-img { width: 100%; height: 160px; border-radius: var(--radius-sm); overflow: hidden; }
.m-about-intro .intro-img img { width: 100%; height: 100%; object-fit: cover; }
.m-about-intro h3 { font-size: 16px; font-weight: 700; }
.m-about-intro p { font-size: 13px; color: var(--text-2); line-height: 1.7; text-indent: 2em; }
.m-about-intro .highlight { color: var(--brand); font-weight: 600; }
.m-feature-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.m-feature-list li { font-size: 12px; color: var(--brand); background: rgba(45,108,223,.08); padding: 3px 8px; border-radius: 12px; }

/* ====== 时间线 ====== */
.m-timeline { position: relative; padding-left: 20px; }
.m-timeline::before { content: ''; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.m-timeline-item { position: relative; padding-bottom: 16px; }
.m-timeline-item::before { content: ''; position: absolute; left: -18px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-light); border: 2px solid #fff; }
.m-timeline-item h4 { font-size: 13px; font-weight: 700; color: var(--brand); }
.m-timeline-item p { font-size: 12px; color: var(--text-2); margin-top: 3px; line-height: 1.6; }

/* ====== CTA 联系区块 ====== */
.m-contact-cta {
  background: var(--brand-grad);
  color: #fff;
  text-align: center;
  padding: 24px 16px 28px;
  margin: 12px 12px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.m-contact-cta h3 { font-size: 18px; font-weight: 700; }
.m-contact-cta p { font-size: 12px; opacity: .9; margin-top: 4px; }
.m-contact-cta .contact-info { display: flex; justify-content: center; gap: 16px; margin: 10px 0; font-size: 12px; flex-wrap: wrap; }
.m-contact-cta .layui-btn {
  background: #fff;
  color: #1e9fff;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 0 18px;
  height: 36px;
  line-height: 36px;
  font-size: 14px;
}
.m-contact-cta .layui-btn:hover { color: #1e9fff; }

/* ====== 个人中心 ====== */
.m-uc-header {
  background: var(--brand-grad); color: #fff; padding: 16px 12px;
  display: flex; align-items: center; gap: 12px;
}
.m-uc-avatar {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0;
}
.m-uc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.m-uc-info .name { font-size: 16px; font-weight: 700; }
.m-uc-info .mobile { font-size: 12px; opacity: .85; margin-top: 2px; }
.m-uc-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; }
.m-uc-stat { text-align: center; padding: 12px 4px; border-right: 1px solid var(--border); }
.m-uc-stat:last-child { border-right: none; }
.m-uc-stat .num { font-size: 18px; font-weight: 700; color: var(--brand); }
.m-uc-stat .label { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.m-uc-menu { background: #fff; margin-top: 8px; }
.m-uc-menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 12px; border-bottom: 1px solid var(--border);
}
.m-uc-menu-item:active { background: var(--bg); }
.m-uc-menu-item .icon { width: 28px; text-align: center; color: var(--brand-light); font-size: 18px; }
.m-uc-menu-item .text { flex: 1; font-size: 14px; }
.m-uc-menu-item .arrow { color: var(--text-3); }
.m-uc-avatar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.m-uc-avatar-row .m-btn { width: auto; }
.m-uc-logout { padding: 12px; }
[data-page="404"] .m-btn { width: auto; margin-top: 20px; }

/* ====== 表单 ====== */
.m-form { background: #fff; padding: 12px; }
.m-form-item { margin-bottom: 12px; }
.m-form-label { font-size: 13px; color: var(--text-2); margin-bottom: 4px; display: block; }
.m-input, .m-textarea {
  width: 100%; height: 42px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0 12px; font-size: 14px; background: #f8fafc; color: var(--text-1);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.m-textarea { height: auto; padding: 10px 12px; min-height: 80px; resize: none; line-height: 1.5; }
.m-input:focus, .m-textarea:focus {
  border-color: var(--brand-light);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45,108,223,.12);
  outline: none;
}
/* 操作按钮：对齐产品列表搜索弹窗（.m-light-filter-footer .layui-btn） */
.m-btn,
.layui-btn:not(.layui-btn-xs) {
  height: 36px;
  line-height: 36px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 2px;
}
.m-btn {
  display: block;
  width: 100%;
  text-align: center;
  border: 1px solid transparent;
  background-color: #16baaa;
  color: #fff;
  white-space: nowrap;
  box-sizing: border-box;
}
.m-btn-primary { background: #1e9fff; color: #fff; }
.m-btn-outline {
  background: transparent;
  color: #5f5f5f;
  border-color: #d2d2d2;
}
.m-btn-danger {
  background: transparent;
  color: #ff5722;
  border-color: #ff5722;
}
.m-btn:hover { opacity: .8; color: #fff; }
.m-btn-outline:hover,
.m-btn-danger:hover { color: inherit; }
.m-btn:active { opacity: 1; }
.m-code-row { display: flex; gap: 8px; align-items: center; }
.m-code-row .m-input { flex: 1; }
.m-code-row .m-btn {
  width: auto;
  flex: 0 0 auto;
  padding: 0 18px;
  background: transparent;
  color: #5f5f5f;
  border-color: #d2d2d2;
  white-space: nowrap;
}

/* ====== 分页 ====== */
.m-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 16px 0; }
.m-pagination button {
  min-width: 36px; height: 36px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; color: var(--text-2); font-size: 13px;
}
.m-pagination button.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.m-pagination button:disabled { opacity: .4; }

/* ====== 标签页/Tab切换 ====== */
.m-tabs {
  display: flex; background: #fff; border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
}
.m-tabs::-webkit-scrollbar { display: none; }
.m-tab {
  flex-shrink: 0; padding: 10px 14px; font-size: 13px; color: var(--text-2);
  position: relative; white-space: nowrap;
}
.m-tab.active { color: var(--brand); font-weight: 600; }
.m-tab.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 20px; height: 3px; background: var(--brand); border-radius: 2px;
}

/* ====== 产品详情 ====== */
.m-detail-cover {
  width: 100%; height: 240px; background: var(--bg); overflow: hidden;
}
.m-detail-cover img { width: 100%; height: 100%; object-fit: contain; }
.m-detail-info { background: #fff; padding: 12px; }
.m-detail-info h1 { font-size: 17px; font-weight: 700; line-height: 1.4; }
.m-detail-info .model { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.m-detail-info .price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.m-detail-info .price { font-size: 20px; font-weight: 700; color: #e4393c; }
.m-param-table { width: 100%; background: #fff; }
.m-param-table th, .m-param-table td {
  padding: 8px 10px; font-size: 13px; border-bottom: 1px solid var(--border); text-align: left;
}
.m-param-table th { width: 30%; color: var(--text-2); background: var(--bg); font-weight: 500; }
.m-params-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.m-param-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 8px 10px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.m-param-label {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.3;
}
.m-param-value {
  font-size: 13px;
  color: var(--text-1);
  line-height: 1.4;
  word-break: break-all;
}
.m-param-link {
  color: var(--brand-light);
  margin-right: 6px;
  display: inline-block;
}
.m-param-plain {
  color: var(--text-3);
  margin-right: 6px;
}
.m-detail-section { background: #fff; margin-top: 8px; padding: 12px; }
.m-detail-section h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; padding-left: 8px; border-left: 3px solid var(--brand-light); }
.m-rich-content { font-size: 13px; line-height: 1.8; color: var(--text-2); word-break: break-all; }
.m-rich-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 6px 0; }
.m-doc-item { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.m-doc-item:last-child { border-bottom: none; }
.m-doc-item .icon { font-size: 18px; color: var(--brand-light); }
.m-doc-item .name { flex: 1; font-size: 13px; }

/* ====== 产品底部操作栏 ====== */
.m-action-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; background: #fff;
  border-top: 1px solid var(--border); padding: 6px 12px;
  padding-bottom: calc(6px + var(--safe-bottom));
}
.m-action-bar .m-ab-icon {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 44px; font-size: 10px; color: var(--text-2); gap: 1px;
}
.m-action-bar .m-ab-icon i { font-size: 18px; }
.m-action-bar .m-ab-btns { flex: 1; display: flex; gap: 8px; margin-left: 8px; }
.m-action-bar .m-ab-btns .m-btn { width: auto; flex: 1; }

/* ====== 底部 Tab 栏 ====== */
.m-tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100000;
  display: flex; background: #fff; border-top: 1px solid var(--border);
  height: var(--m-tabbar-h); padding-bottom: var(--safe-bottom);
}
.m-tabbar-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 10px; color: var(--text-3); gap: 2px;
}
.m-tabbar-item i { font-size: 22px; }
.m-tabbar-item.active { color: var(--brand); }
.m-tabbar-item:active { opacity: .7; }

/* 内容区：顶部与 header 之间留出灰色间隔（与服务支持页一致），底部避免被 Tab 栏遮挡 */
.m-page-body {
  padding-top: 4px;
  padding-bottom: calc(64px + var(--safe-bottom));
}
.m-page-body.has-action-bar { padding-bottom: calc(64px + 40px + var(--safe-bottom)); }
html body .m-page-body > :first-child { margin-top: 0; }

/* ====== 空状态 ====== */
.m-empty {
  text-align: center; padding: 40px 12px; color: var(--text-3); font-size: 13px;
}
.m-empty i { font-size: 40px; display: block; margin-bottom: 8px; opacity: .4; }

/* ====== 右下角悬浮按钮（横向从右至左） ====== */
.m-float-dock {
  position: fixed;
  right: 12px;
  bottom: calc(72px + var(--safe-bottom));
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}
.m-float-dock > * {
  pointer-events: auto;
}
.m-float-dock-row {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
}
.m-float-dock-row:empty {
  display: none;
}

/* ====== 支持服务卡片 ====== */
.m-service-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
.m-service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 10px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
}
.m-service-card:active { transform: scale(.98); }
.m-service-card i,
.m-service-card .icon,
.m-service-card .layui-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(45,108,223,.10);
  color: var(--brand-light);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.m-service-card h4 { font-size: 13px; font-weight: 600; color: var(--text-1); }
.m-service-card p { font-size: 11px; color: var(--text-3); line-height: 1.35; }

/* ====== 服务支持首页（紧凑） ====== */
[data-page="support"] .m-support-section {
  margin-top: 6px;
  padding: 10px 12px;
}
[data-page="support"] #optical-tools { scroll-margin-top: 52px; }
[data-page="support"] .m-support-section .m-section-head { margin-bottom: 8px; }
[data-page="support"] .m-support-section .m-section-head h3 { font-size: 14px; }
[data-page="support"] .m-support-section .m-section-head h3::before { height: 12px; }
[data-page="support"] .m-service-grid { gap: 6px; }
[data-page="support"] .m-service-card {
  padding: 10px 8px;
  gap: 6px;
  border-radius: 8px;
}
[data-page="support"] .m-service-card i,
[data-page="support"] .m-service-card .layui-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 15px;
}
[data-page="support"] .m-service-card h4 {
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}
[data-page="support"] .m-contact-cta,
[data-page="support"] .m-contact-cta--help,
[data-page="about"] .m-contact-cta,
[data-page="about"] .m-contact-cta--help {
  padding: 16px 14px 18px;
  margin: 8px 12px 0;
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 72%);
  color: var(--text-1);
  border: 1px solid #dce8f6;
  box-shadow: var(--shadow);
}
[data-page="support"] .m-contact-cta h3,
[data-page="about"] .m-contact-cta h3 { font-size: 15px; color: var(--brand); }
[data-page="support"] .m-contact-cta p,
[data-page="about"] .m-contact-cta p {
  color: var(--text-2);
  opacity: 1;
}
[data-page="support"] .m-contact-cta .contact-info,
[data-page="about"] .m-contact-cta .contact-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 12px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-light);
  background: rgba(45,108,223,.08);
  border-radius: 999px;
}
[data-page="support"] .m-contact-cta .contact-info .layui-icon,
[data-page="about"] .m-contact-cta .contact-info .layui-icon { font-size: 16px; }
[data-page="support"] .m-contact-cta .layui-btn,
[data-page="about"] .m-contact-cta .layui-btn {
  background: var(--brand-light);
  color: #fff;
  height: 36px;
  line-height: 36px;
  font-size: 14px;
  padding: 0 18px;
  border-radius: 18px;
}
[data-page="support"] .m-contact-cta .layui-btn:hover,
[data-page="support"] .m-contact-cta .layui-btn:active,
[data-page="about"] .m-contact-cta .layui-btn:hover,
[data-page="about"] .m-contact-cta .layui-btn:active {
  color: #fff;
  opacity: .92;
}

/* ====== 首页（紧凑） ====== */
[data-page="home"] .m-swiper { height: 120px; }
[data-page="home"] .m-swiper-dots { bottom: 6px; gap: 4px; }
[data-page="home"] .m-section { margin-top: 6px; padding: 8px 10px; }
[data-page="home"] .m-section-head { margin-bottom: 6px; }
[data-page="home"] .m-section-head h3 { font-size: 14px; }
[data-page="home"] .m-section-head h3::before { height: 12px; width: 3px; }
[data-page="home"] .m-section-en { font-size: 9px; margin-bottom: 0; letter-spacing: .5px; }
[data-page="home"] .m-section-head .m-more { font-size: 11px; }
[data-page="home"] .m-service-grid { gap: 6px; }
[data-page="home"] .m-service-card {
  padding: 8px 6px 8px;
  gap: 4px;
  border-radius: 8px;
}
[data-page="home"] .m-service-card i,
[data-page="home"] .m-service-card .layui-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 15px;
}
[data-page="home"] .m-service-card h4 { font-size: 12px; }
[data-page="home"] .m-service-card p { font-size: 10px; }
[data-page="home"] .m-section-cat { padding: 10px; margin-top: 6px; }
[data-page="home"] .m-solution-grid { gap: 6px; }
[data-page="home"] .m-solution-card { padding: 8px 4px; }
[data-page="home"] .m-solution-card .icon { width: 32px; height: 32px; margin-bottom: 4px; }
[data-page="home"] .m-solution-card h4 { font-size: 11px; }
[data-page="home"] .m-solution-card p { font-size: 9px; margin-top: 1px; }
[data-page="home"] .m-news-item { gap: 8px; padding: 6px 0; }
[data-page="home"] .m-news-item .date-box { width: 36px; padding: 2px 0; }
[data-page="home"] .m-news-item .date-box .day { font-size: 15px; }
[data-page="home"] .m-news-item .news-content h4 { font-size: 13px; }
[data-page="home"] .m-news-item .news-content p { font-size: 11px; margin-top: 2px; }
[data-page="home"] .m-footer-copy { padding: 10px 12px 64px; line-height: 1.6; }

/* ====== 手册列表 ====== */
.m-manual-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.m-manual-item:last-child { border-bottom: none; }
.m-manual-item .icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(45,108,223,.08);
  color: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.m-manual-item .info { flex: 1; min-width: 0; }
.m-manual-item .info h4 {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-manual-item .info p { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.m-manual-actions {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
}
.m-manual-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-light);
  background: rgba(45,108,223,.08);
  border-radius: 6px;
  white-space: nowrap;
}
.m-manual-act.is-read {
  color: #fff;
  background: var(--brand-light);
}
.m-manual-act:active { opacity: .75; }

/* ====== 协议/富文本页 ====== */
.m-agreement-box { background: #fff; padding: 16px 12px; border-radius: var(--radius); }
.m-agreement-box h1 { font-size: 18px; text-align: center; color: var(--brand); margin-bottom: 6px; }
.m-agreement-meta { text-align: center; font-size: 12px; color: var(--text-3); margin-bottom: 16px; }
.m-agreement-box h2 { font-size: 15px; color: var(--brand); margin: 14px 0 6px; }
.m-agreement-box p, .m-agreement-box li { font-size: 13px; line-height: 1.8; color: var(--text-2); margin-bottom: 6px; }

/* ====== 返回顶部 ====== */
.m-back-top {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid #7ea8ea; color: #2b6fdc;
  display: none; align-items: center; justify-content: center; padding: 0;
  appearance: none; -webkit-appearance: none;
  box-shadow: 0 2px 8px rgba(43, 111, 220, .2);
  flex-shrink: 0;
}
.m-back-top.show { display: flex; }
.m-back-top:active { opacity: .7; }
.m-back-top-icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* ====== 加载更多按钮 ====== */
.m-load-more {
  text-align: center; padding: 12px; color: var(--text-3); font-size: 13px;
}
.m-load-more:active { color: var(--brand); }

/* ====== 提示条 ====== */
.m-tip-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; background: rgba(45,108,223,.06); font-size: 12px; color: var(--brand);
}

/* ====== 通用工具类 ====== */
.text-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-ellipsis-2 { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.flex { display: flex; }
.flex-1 { flex: 1; }
.gap-8 { gap: 8px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.text-brand { color: var(--brand); }
.text-price { color: #e4393c; }
.text-muted { color: var(--text-3); }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fw-600 { font-weight: 600; }

/* ====== 通用表单补充 ====== */
.req { color: var(--danger); font-weight: 600; }
select.m-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b93a0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.m-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
.m-btn-row { display: flex; gap: 10px; }
.m-btn-row .m-btn { flex: 1; width: auto; }

/* ====== 在线询价目录 ====== */
.m-quote-dir { display: flex; flex-direction: column; }
.m-quote-dir-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
}
.m-quote-dir-item:last-child { border-bottom: none; }
.m-quote-dir-item:active { background: var(--bg); }
.m-quote-dir-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(45,108,223,.10);
  color: var(--brand-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.m-quote-dir-text { flex: 1; min-width: 0; }
.m-quote-dir-text strong {
  display: block; font-size: 15px; font-weight: 600; color: var(--text-1);
}
.m-quote-dir-text em {
  display: block; margin-top: 2px; font-style: normal;
  font-size: 12px; color: var(--text-3);
}
.m-quote-dir-arrow { color: var(--text-3); font-size: 14px; }

.m-quote-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; }
.m-quote-table { width: 100%; min-width: 420px; border-collapse: collapse; }
.m-quote-table th, .m-quote-table td {
  padding: 10px 8px; font-size: 12px; text-align: left;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.m-quote-table th { color: var(--text-3); font-weight: 600; background: #f6f8fb; }
.m-quote-table td { color: var(--text-1); }
.m-quote-note { margin-top: 12px; font-size: 12px; color: var(--text-3); line-height: 1.6; }

.m-blank-page .m-banner { padding: 14px 12px 12px; }
.m-blank-page .m-banner h2 { font-size: 18px; }
.m-blank-page .m-banner-desc { margin-top: 4px; }
.m-blank-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 12px;
}
.m-quote-block {
  background: #f6f8fb;
  border-radius: 10px;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.m-quote-block[hidden] { display: none !important; }
.m-quote-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.m-quote-block-title {
  margin: 0;
  padding-left: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
  position: relative;
}
.m-quote-block-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  border-radius: 2px;
  background: var(--brand);
}
.m-quote-block-caret {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
}
.m-quote-block-caret::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 5px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--text-3);
  border-bottom: 1.5px solid var(--text-3);
  transform: rotate(45deg);
}
.m-quote-block.is-collapsed .m-quote-block-caret::before {
  top: 6px;
  transform: rotate(-45deg);
}
.m-quote-block-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.m-quote-block.is-collapsed {
  padding-bottom: 10px;
  gap: 0;
}
.m-quote-block.is-collapsed .m-quote-block-body { display: none; }
.m-blank-form .m-f-label,
.m-blank-form .m-form-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  display: block;
  margin: 0 0 4px;
  line-height: 1.3;
}
.m-blank-form .m-input {
  height: 36px; font-size: 13px; padding: 0 10px;
}
.m-blank-form .m-input.is-invalid {
  border-color: var(--danger);
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(228, 57, 60, .12);
}
.m-blank-form .m-form-grid .m-form-item { margin-bottom: 0; }
.m-blank-form .m-btn { margin-top: 0; }
.m-shape-tabs {
  display: flex; gap: 4px; padding: 3px;
  background: #f6f8fb; border-radius: 10px;
}
.m-shape-tabs.is-quote-type,
.m-shape-tabs.is-lens-type {
  flex-wrap: wrap;
}
.m-shape-tabs.is-quote-type .m-shape-tab,
.m-shape-tabs.is-lens-type .m-shape-tab {
  flex: 1 1 calc(25% - 4px);
  min-width: 64px;
}
.m-shape-tabs.is-invalid {
  box-shadow: 0 0 0 3px rgba(228, 57, 60, .12);
}
.m-shape-tab {
  flex: 1; min-height: 32px; padding: 6px 4px;
  font-size: 12px; color: var(--text-2); font-weight: 500;
  border-radius: 8px; background: transparent;
}
.m-shape-tab.active {
  background: #fff; color: var(--brand); font-weight: 600;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .08);
}
.m-ecc-field {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 8px;
  align-items: center;
}
.m-ecc-field .m-seg { min-width: 0; }
.m-unit-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.m-seg {
  display: flex; gap: 3px; padding: 3px;
  background: #f6f8fb; border-radius: 10px;
}
.m-seg .m-opt {
  flex: 1; min-height: 30px; padding: 5px 4px; font-size: 12px;
  border-radius: 8px; background: transparent; border: 0;
  color: var(--text-2);
}
.m-seg .m-opt.active {
  background: #fff; color: var(--brand); font-weight: 600;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
  border-color: transparent;
}
.m-size-fields {
  display: grid; gap: 8px 8px; margin-top: 0;
  grid-template-columns: 1fr 1fr 1fr;
}
.m-size-fields[data-shape="cylinder"] { grid-template-columns: 1fr 1fr; }
.m-size-fields[data-shape="sphere"] { grid-template-columns: 1fr; }
.m-size-fields.is-lens,
.m-size-fields.is-lens[data-shape="cylinder"],
.m-size-fields.is-lens[data-shape="sphere"] { grid-template-columns: 1fr 1fr; }
.m-shape-tabs.is-lens-shape .m-shape-tab[data-shape="sphere"] { display: none !important; }
.m-size-fields .m-form-item { margin-bottom: 0; }
.m-size-fields .m-form-item.is-off { display: none !important; }
.m-size-limit-msg {
  margin: 6px 0 0;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--danger);
  background: #fff7f7;
  border: 1px solid rgba(228, 57, 60, .25);
  border-radius: 8px;
}
.m-size-limit-msg[hidden] { display: none !important; }
.m-chamfer-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.m-chamfer-fields.is-pair {
  grid-template-columns: 1fr 1fr;
}
.m-chamfer-fields .m-form-item { margin-bottom: 0; }
.m-blank-result-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: stretch;
}
.m-blank-result-pane {
  background: #fff;
  border-radius: 8px;
  padding: 8px 6px 10px;
}
.m-blank-result-pane-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  text-align: center;
  margin-bottom: 6px;
}
.m-blank-result-grid.is-price { grid-template-columns: 1fr 1fr; }
.m-blank-result-grid.is-price .m-blank-result-price { grid-column: auto; }
.m-figure-block.is-off,
.m-blank-result-grid [data-rate].is-off,
.m-price-bill [data-rate].is-off,
.m-price-bill-row[hidden] { display: none !important; }
.m-blank-result-grid:not(.is-rated) { grid-template-columns: 1fr 1fr; }
.m-blank-result-grid.is-rated .m-blank-result-price { grid-column: auto; }
.m-blank-result-grid:not(.is-rated) .m-blank-result-price { grid-column: auto; }
.m-option-group { display: flex; flex-wrap: wrap; gap: 8px; }
.m-opt {
  padding: 8px 13px; font-size: 13px; color: var(--text-2);
  background: #f6f8fb; border: 1px solid transparent; border-radius: 999px; min-height: 36px;
}
.m-opt.active {
  background: rgba(45,108,223,.12); color: var(--brand);
  border-color: rgba(45,108,223,.28); font-weight: 600;
}
.m-material-box { position: relative; }
.m-material-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  max-height: 240px; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.m-material-item {
  padding: 10px 12px; font-size: 13px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.m-material-item:last-child { border-bottom: none; }
.m-material-item:active { background: #f6f8fb; }
.m-material-item .mi-name { font-weight: 600; color: var(--text-1); }
.m-material-item .mi-meta { font-size: 12px; color: var(--text-3); }
.m-material-empty { padding: 14px; font-size: 13px; color: var(--text-3); text-align: center; }

.m-blank-result {
  margin-top: 0; padding: 10px 8px; background: #f6f8fb; border-radius: 10px;
}
.m-blank-result h3 { font-size: 15px; margin-bottom: 10px; color: var(--text-1); }
.m-blank-result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.m-blank-result-grid.is-ground,
.m-blank-result-grid.is-rated { grid-template-columns: 1fr 1fr; }
.m-blank-result-grid.is-ground .m-blank-result-price,
.m-blank-result-grid.is-rated .m-blank-result-price { grid-column: auto; }
.m-blank-result-grid span { display: block; font-size: 11px; color: var(--text-3); margin-bottom: 2px; }
.m-blank-result-grid strong { font-size: 15px; color: var(--text-1); }
.m-choice-opts,
.m-figure-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 3px;
  background: #f6f8fb;
  border-radius: 10px;
}
.m-choice-opts .m-opt,
.m-figure-opts .m-opt {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  background: transparent;
  border: 0;
  border-radius: 8px;
}
.m-choice-opts .m-opt.active,
.m-figure-opts .m-opt.active {
  background: #fff;
  color: var(--brand);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .08);
}
.m-choice-opts.is-invalid,
.m-figure-opts.is-invalid { box-shadow: 0 0 0 3px rgba(228, 57, 60, .12); }
.m-blank-result-grid [data-rate="inspect"] strong { font-size: 13px; word-break: break-all; }
.m-blank-result-grid [data-rate="blank-process"] strong { font-size: 13px; word-break: break-all; }

.m-blank-page {
  padding-bottom: calc(var(--m-tabbar-h) + 52px);
}
body.has-quote-price-bar .m-footer-copy {
  padding-bottom: calc(var(--m-tabbar-h) + 52px);
}
body.has-quote-price-bar .m-float-dock {
  bottom: calc(var(--m-tabbar-h) + 52px);
}
.m-price-bill-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: var(--m-tabbar-h);
  z-index: 89;
  background: rgba(15, 23, 42, .4);
}
.m-price-bill-mask[hidden] { display: none !important; }
.m-price-bill {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--m-tabbar-h);
  z-index: 90;
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - var(--m-tabbar-h) - 48px);
  background: #fff;
  border-radius: 10px 10px 0 0;
  padding: 6px 12px;
  overflow: hidden;
  box-shadow: 0 -4px 16px rgba(22, 50, 79, .1);
}
.m-price-bill.is-open {
  padding: 8px 12px 6px;
}
.m-price-bill-detail {
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.m-price-bill-head {
  font-size: 13px;
  font-weight: 700;
  color: #1f2329;
  margin: 0 0 6px;
  line-height: 1.3;
}
.m-price-group {
  border: 1px solid #eef0f4;
  border-radius: 8px;
  margin-bottom: 6px;
  overflow: hidden;
  background: #f7f8fb;
}
.m-price-group:last-child { margin-bottom: 0; }
.m-price-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  background: #fff;
  border-bottom: 1px solid #eef0f4;
}
.m-price-group-head > span {
  font-size: 12px;
  font-weight: 700;
  color: #1f2329;
}
.m-price-group-head > strong {
  font-size: 13px;
  font-weight: 700;
  color: #1f2329;
  font-variant-numeric: tabular-nums;
}
.m-price-group-body {
  padding: 2px 8px 4px;
}
.m-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
}
.m-price-row > span {
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: #8b93a0;
}
.m-price-row > strong {
  font-size: 12px;
  font-weight: 500;
  color: #5b6573;
  font-variant-numeric: tabular-nums;
}
.m-price-row.is-unit {
  margin-top: 2px;
  padding-top: 4px;
  border-top: 1px dashed #e6eaef;
}
.m-price-row.is-unit > span,
.m-price-row.is-unit > strong {
  font-size: 12px;
  font-weight: 700;
  color: #1f2329;
}
.m-price-rates {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 2px 0 3px;
}
.m-price-rate {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e6eaef;
  font-size: 11px;
  line-height: 1.3;
  color: #5b6573;
}
.m-price-rate em {
  font-style: normal;
  color: #8b93a0;
}
.m-price-rate b {
  font-weight: 700;
  color: #1a3a5c;
}
.m-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  min-height: 40px;
  padding: 0;
}
.m-price-bill.is-open .m-price-bar {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #f0d4d4;
}
.m-price-bar-info {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.m-price-bar-sum {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.m-price-bar-sum > span {
  font-size: 12px;
  color: #5b6573;
}
.m-price-bar-sum > strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--danger);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.m-price-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 0;
  font-size: 11px;
  color: #8b93a0;
}
.m-price-bar-link i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #8b93a0;
  border-bottom: 1.5px solid #8b93a0;
  transform: rotate(45deg);
  margin-top: -2px;
}
.m-price-bill.is-open .m-price-bar-link i {
  transform: rotate(-135deg);
  margin-top: 1px;
}
.m-price-bar .m-btn {
  display: inline-block;
  width: auto;
  min-width: 72px;
  height: 32px;
  line-height: 32px;
  padding: 0 12px;
  margin: 0;
  font-size: 13px;
  flex-shrink: 0;
}
.m-price-bill .is-off,
.m-price-bill [hidden] { display: none !important; }

.m-qty-trigger {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: left;
}
.m-qty-trigger-text {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-qty-trigger-text.is-placeholder { color: var(--text-3); }
.m-qty-trigger-arrow {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-right: 1.5px solid #c5ccd6;
  border-bottom: 1.5px solid #c5ccd6;
  transform: rotate(-45deg);
  margin-right: 2px;
}
.m-qty-trigger.is-invalid {
  border-color: var(--danger);
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(228, 57, 60, .12);
}
.m-qty-mask {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(15, 23, 42, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
}
.m-qty-mask[hidden] { display: none !important; }
.m-qty-sheet {
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 6px 16px 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
}
.m-qty-sheet-head {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  min-height: 48px;
}
.m-qty-sheet-head strong {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
}
.m-qty-sheet-cancel,
.m-qty-sheet-ok {
  background: none;
  font-size: 15px;
  color: var(--text-2);
  min-height: 36px;
}
.m-qty-sheet-ok {
  color: var(--brand-light);
  font-weight: 600;
  text-align: right;
}
.m-qty-sheet-cancel { text-align: left; }
.m-qty-tip {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 2px 0 12px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.4;
}
.m-qty-tip b {
  flex: 0 0 auto;
  color: var(--brand-light);
  font-size: 14px;
  font-weight: 700;
}
.m-qty-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 12px;
  -webkit-overflow-scrolling: touch;
}
.m-qty-tabs::-webkit-scrollbar { display: none; }
.m-qty-tab {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 4px 10px;
  font-size: 13px;
  color: var(--text-2);
  background: transparent;
  border-radius: 6px;
  white-space: nowrap;
}
.m-qty-tab.active {
  background: var(--brand-light);
  color: #fff;
  font-weight: 600;
}
.m-qty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.m-qty-chip {
  min-height: 40px;
  padding: 8px 4px;
  font-size: 15px;
  color: var(--text-2);
  background: #f4f6f8;
  border-radius: 8px;
}
.m-qty-chip.active {
  background: rgba(45, 108, 223, .12);
  color: var(--brand-light);
  font-weight: 600;
}
.m-qty-other {
  margin-top: 16px;
}
.m-qty-other label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-1);
}
.m-qty-other input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--text-1);
  background: #f4f6f8;
  border-radius: 8px;
}
.m-qty-other input::placeholder { color: var(--text-3); }

/* 叶子分类：PC 表格 + 手机端顶栏/底栏适配 */
.product-subcategory-page .container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}
.product-subcategory-page .m-hook-section {
  margin: 0;
  padding: 8px 10px 0;
  border-top: none;
  background: #fff;
}
.product-subcategory-page .hook-nav-row {
  gap: 8px;
}
.product-subcategory-page .hook-nav-btn {
  padding: 7px 12px;
  font-size: 13px;
}
.product-subcategory-page .hook-panels {
  margin-top: 8px;
  padding: 0 0 8px;
}
.m-cat-rich-tabs { margin-top: 8px; }
.m-cat-rich-tabs .m-tabs {
  margin: 0 -10px 8px;
  padding: 0 10px;
  background: transparent;
}
.m-cat-rich-tabs .m-tab {
  background: none;
  border: 0;
  line-height: 1.2;
}
.m-cat-rich-panel { display: none; }
.m-cat-rich-panel.is-active { display: block; }
.m-cat-rich-panel .m-rich-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 4px 0;
}
.m-common-params {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-2);
}
.m-common-params-label {
  font-weight: 600;
  color: var(--text-1);
}
.m-common-param {
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
}
.m-cat-desc-tail {
  margin-top: 8px;
  font-size: 12px;
}
.m-table-infinite {
  text-align: center;
  padding: 12px 10px 8px;
  font-size: 12px;
  color: var(--text-3);
}
.product-subcategory-page .product-table-full {
  background: #fff;
  margin-top: 6px;
}
.product-subcategory-page .product-table-toolbar {
  padding: 10px 0;
}
.product-subcategory-page .product-compare-bar {
  bottom: calc(56px + var(--safe-bottom));
  z-index: 94;
}
.product-subcategory-page.has-compare-bar .m-page-body {
  padding-bottom: calc(64px + 96px + var(--safe-bottom));
}

.m-table-meta {
  display: flex;
  align-items: center;
  padding: 8px 10px 4px;
  font-size: 12px;
  color: var(--text-3);
}
.m-table-meta .result-count em {
  color: var(--brand-light);
  font-style: normal;
  font-weight: 600;
}
.product-subcategory-page .m-table-meta {
  gap: 6px;
  padding: 6px 8px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.product-subcategory-page .m-table-meta.is-head-pinned {
  z-index: 961;
  box-shadow: 0 1px 0 var(--border);
}
.product-subcategory-page .m-table-meta .result-count {
  flex: 0 0 auto;
  white-space: nowrap;
}
.m-table-meta-sort {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 4px;
}
.m-table-sort-select {
  flex: 1;
  min-width: 0;
  height: 30px;
  padding: 0 4px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text-1);
  font-size: 12px;
}
.m-table-search-btn {
  flex: 0 0 32px;
  width: 32px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--brand-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.m-table-search-btn i { font-size: 16px; }
.m-table-search-btn.is-on {
  border-color: var(--brand-light);
  background: #f3f7fd;
}
#productFilterSheet .m-feedback-drawer-head {
  min-height: 40px;
  padding: 8px 40px;
}
#productFilterSheet .m-feedback-drawer-head h3 { font-size: 15px; }
#productFilterSheet .m-feedback-drawer-close {
  top: 2px;
  width: 32px;
  height: 32px;
}
.m-product-filter-group .m-light-filter-row {
  margin-bottom: 0;
}
.m-product-filter-group .js-m-filter-field {
  flex: 1;
  min-width: 0;
}
#productFilterSheet .is-hidden { display: none !important; }
#productFilterSheet .layui-textarea {
  min-height: 64px;
  padding: 6px 8px;
  font-size: 13px;
  line-height: 1.45;
}

.m-float-fab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid #7ea8ea;
  border-radius: 50%;
  background: #fff;
  color: #2b6fdc;
  box-shadow: 0 2px 8px rgba(43, 111, 220, .2);
  line-height: 1;
}
.m-float-fab[hidden] { display: none !important; }
.m-float-fab i { font-size: 18px; }
.m-float-fab span { display: none; }
.m-float-fab .m-float-badge {
  display: flex;
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #e4393c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.m-float-fab .m-float-badge[hidden] { display: none !important; }
.m-float-compare.is-on {
  border-color: var(--brand-light);
  color: var(--brand-light);
  background: #f3f7fd;
}
.m-float-fab:active { transform: scale(.92); }

.m-feedback-mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: var(--m-tabbar-h);
  z-index: 2000;
  background: rgba(0, 0, 0, .45);
}
.m-feedback-mask.is-open { display: block; }
.m-feedback-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: var(--m-tabbar-h);
  z-index: 2001;
  flex-direction: column;
  background: #fff;
  box-shadow: none;
}
.m-feedback-drawer.is-open { display: flex; }
.m-feedback-drawer[hidden],
.m-feedback-mask[hidden] { display: none !important; }
.m-feedback-drawer-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 44px 10px;
  border-bottom: 1px solid var(--border);
}
.m-feedback-drawer-handle { display: none; }
.m-feedback-drawer-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
}
.m-feedback-drawer-close {
  position: absolute;
  right: 6px;
  top: calc(6px + env(safe-area-inset-top, 0px));
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  color: var(--text-3);
  font-size: 18px;
}
.m-feedback-drawer-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 12px 16px;
}
body.m-feedback-open,
body.m-consult-open,
body.m-colset-open { overflow: hidden; }

#mColsetDrawer .m-feedback-drawer-head {
  min-height: 40px;
  padding: 6px 40px;
}
#mColsetDrawer .m-feedback-drawer-head h3 { font-size: 15px; }
#mColsetDrawer .m-feedback-drawer-close {
  top: 2px;
  width: 32px;
  height: 32px;
}
#mColsetDrawer .m-feedback-drawer-body {
  padding: 6px 10px 8px;
}
#mColsetDrawer .col-setting-list {
  max-height: none;
  padding: 0;
}
#mColsetDrawer .col-setting-tip {
  padding: 0 0 6px;
  background: none;
  border-bottom: 0;
  font-size: 11px;
}
#mColsetDrawer .col-setting-item {
  gap: 4px;
  padding: 4px 6px;
  margin-bottom: 2px;
  border-radius: 4px;
}
#mColsetDrawer .col-setting-item .col-drag-handle {
  width: 16px;
  font-size: 13px;
}
#mColsetDrawer .col-setting-label {
  gap: 6px;
  font-size: 13px;
}
#mColsetDrawer .col-pin-btn {
  height: 22px;
  padding: 0 6px;
  font-size: 11px;
  line-height: 20px;
}
#mColsetDrawer .m-light-filter-footer {
  gap: 6px;
  padding-left: 8px;
  padding-right: 8px;
}
#mColsetDrawer .m-light-filter-footer .layui-btn {
  flex: 1 1 0;
  min-width: 0;
  height: 32px;
  line-height: 32px;
  padding: 0 4px;
  font-size: 12px;
  white-space: nowrap;
}

.m-consult-compose {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 14px 12px 12px;
}
.m-consult-compose-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 12px;
}
.m-consult-compose-head strong {
  font-size: 15px;
  color: var(--brand);
}
.m-consult-tip-inline {
  font-size: 12px;
  color: var(--text-3);
}
.m-consult-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  margin: 0 0 6px;
}
.m-consult-form .form-required {
  color: var(--danger);
  margin-right: 4px;
}
.m-consult-form .form-optional {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-3);
}
.m-consult-input,
.m-consult-textarea {
  width: 100%;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text-1);
  font-size: 15px;
}
.m-consult-input {
  height: 40px;
  padding: 0 10px;
}
.m-consult-textarea {
  min-height: 112px;
  padding: 10px 12px;
  line-height: 1.5;
  resize: vertical;
}
.m-consult-actions {
  display: flex;
  margin-top: 2px;
}
.m-consult-actions .layui-btn {
  width: 100%;
  margin: 0;
}

body.product-subcategory-page .col-filter-sheet-mask {
  top: 0;
  left: 0;
  right: 0;
  bottom: var(--m-tabbar-h);
}
body.product-subcategory-page .col-filter-popover.is-sheet {
  bottom: var(--m-tabbar-h);
  padding-bottom: 12px;
}

/* ====== 光学计算（手机端） ====== */
.m-tools-page .m-tools-head { margin-top: 0; }
.m-tools-lead {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
  margin-top: 2px;
}
.m-tools-page .m-tool-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 8px;
}
.m-tools-page .m-tool-card:last-child { margin-bottom: 0; }
.m-tools-page .m-tool-card-head { margin-bottom: 8px; }
.m-tools-page .m-tool-card-head h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
}
.m-tools-page .m-tool-formula,
.m-tools-detail .tool-formula {
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(45, 108, 223, .08);
  color: var(--brand-light);
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.45;
  word-break: break-all;
}
.m-tools-page .m-tool-form .m-form-item { margin-bottom: 8px; }
.m-tools-page .m-tool-form .m-btn { margin-top: 4px; }
.m-tools-page .m-tool-result,
.m-tools-detail .tool-result {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  min-height: 0;
}
.m-tools-page .m-quote-dir-text em {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.m-tools-subbar {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 10px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.m-tools-subbar-title {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.m-tools-subbar-title span {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.2;
}
.m-tools-subbar-title strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-tools-detail .m-tools-body { margin-top: 0; padding-top: 10px; }
.m-tools-detail .m-tools-lead { margin-bottom: 10px; }
.m-tools-detail .tool-panel,
.m-tools-detail .tool-panel-wide {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.m-tools-detail .tool-panel > h3 { display: none; }
.m-tools-detail .tool-row,
.m-tools-detail .tool-row-2,
.m-tools-detail .tool-row-3,
.m-tools-detail .tool-row-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.m-tools-detail .tool-field {
  margin-bottom: 0;
  min-width: 0;
}
.m-tools-detail .tool-field label {
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 4px;
}
.m-tools-detail .tool-field input,
.m-tools-detail .tool-field select,
.m-tools-detail .tool-detail-wrap .tool-field select,
.m-tools-detail .layui-input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  font-size: 14px;
  background: #f8fafc;
  color: var(--text-1);
  appearance: none;
  -webkit-appearance: none;
}
.m-tools-detail .tool-field input:focus,
.m-tools-detail .tool-field select:focus,
.m-tools-detail .layui-input:focus {
  border-color: var(--brand-light);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 108, 223, .12);
}
.m-tools-detail .tool-field input[readonly] {
  background: #eef2f6;
  color: var(--text-1);
}
.m-tools-detail .tool-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  margin: 12px 0 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}
.m-tools-detail .tool-figure {
  margin-bottom: 10px;
  padding: 8px;
  background: var(--bg);
  border-radius: 8px;
}
.m-tools-detail .tool-figure img {
  max-width: 100%;
  max-height: 180px;
  margin: 0 auto;
  object-fit: contain;
}
.m-tools-detail .tool-table-wrap,
.m-tools-detail .spline-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 8px 0;
}
.m-tools-detail .tool-table,
.m-tools-detail .spline-table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
  font-size: 12px;
}
.m-tools-detail .tool-table th,
.m-tools-detail .tool-table td,
.m-tools-detail .spline-table th,
.m-tools-detail .spline-table td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}
.m-tools-detail .tool-ref-table {
  margin-top: 8px;
  font-size: 13px;
}
.m-tools-detail .tool-ref-table summary {
  padding: 8px 0;
  color: var(--brand);
}
.m-tools-detail .tool-form .layui-btn {
  width: 100%;
  margin-top: 4px;
}
.m-tools-detail .spline-toolbar,
.m-tools-detail .digitize-toolbar,
.m-tools-detail .focal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}
.m-tools-detail .spline-file-btn,
.m-tools-detail .digitize-file-btn {
  margin: 0;
}
.m-tools-detail .spline-paste,
.m-tools-detail textarea {
  width: 100%;
  min-height: 88px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  font-size: 13px;
  line-height: 1.45;
}
.m-tools-detail .spline-chart,
.m-tools-detail .digitize-compare-chart {
  width: 100%;
  height: 220px;
}
.m-tools-detail .draw-param-groups,
.m-tools-detail .draw-param-groups.is-plano {
  grid-template-columns: 1fr;
  gap: 8px;
}
.m-tools-detail .digitize-canvas-wrap {
  width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-height: 52vh;
  border-radius: 8px;
  background: #111;
}
.m-tools-detail .digitize-canvas-stack { min-width: 100%; }
.m-tools-detail .digitize-note,
.m-tools-detail .spline-tool-intro,
.m-tools-detail .digitize-tool-intro,
.m-tools-detail .draw-tool-intro {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
  margin: 0 0 8px;
}
.m-tools-detail .tool-col h4,
.m-tools-detail .draw-param-group h4 {
  font-size: 13px;
  margin-bottom: 8px;
}
.m-tools-detail .prism-del {
  color: var(--danger);
  font-size: 12px;
}
.m-tools-page .m-quote-dir-item { align-items: flex-start; padding: 10px 4px; }
.m-tools-page .m-quote-dir-icon { margin-top: 2px; }

/* 3D 模型预览（手机端） */
.m-viewer-page .m-viewer-body {
  margin-top: 0;
  padding-top: 10px;
}
.m-viewer-stage-wrap { margin-bottom: 12px; }
.m-viewer-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.m-viewer-stage-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-viewer-stage-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.m-viewer-stage-close {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.m-viewer-tools {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
  padding: 4px 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.m-viewer-tools[hidden] { display: none !important; }
.m-viewer-tool-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex-wrap: wrap;
}
.m-viewer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  font-size: 11px;
  color: var(--text-2);
}
.m-viewer-tool-row-views {
  flex-wrap: nowrap;
}
.m-viewer-view-grid {
  display: flex;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.m-viewer-cover-btn {
  flex-shrink: 0;
  margin-left: auto;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #0066cc;
  border-radius: 4px;
  background: #0066cc;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}
.m-viewer-cover-btn[hidden] { display: none !important; }
.m-viewer-cover-btn:disabled {
  opacity: 0.55;
}
.m-viewer-view-grid button,
.m-viewer-axis button,
.m-viewer-text-btn {
  height: 24px;
  min-width: 24px;
  padding: 0 5px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #f8fafc;
  color: var(--text-2);
  font-size: 11px;
  line-height: 1;
}
.m-viewer-view-grid button.is-on,
.m-viewer-axis button.is-on {
  background: #0066cc;
  border-color: #0066cc;
  color: #fff;
  font-weight: 600;
}
.m-viewer-axis {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.m-viewer-range {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  font-size: 10px;
  color: var(--text-3);
}
.m-viewer-range input {
  flex: 1;
  min-width: 0;
  height: 18px;
}
.m-viewer-range em {
  flex-shrink: 0;
  width: 28px;
  font-style: normal;
  color: var(--text-2);
  text-align: right;
}
.m-viewer-text-btn {
  flex-shrink: 0;
  padding: 0 6px;
}
.m-viewer-stage {
  position: relative;
  min-height: 200px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #d9dfe6;
}
.m-viewer-stage.viewer-stage-empty { background: #f8fafc; }
.m-viewer-stage.is-playing {
  height: 48vh;
  min-height: 280px;
}
.m-viewer-placeholder {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  padding: 24px 16px;
  text-align: center;
}
.m-viewer-placeholder[hidden] { display: none !important; }
.m-viewer-placeholder .layui-icon {
  font-size: 40px;
  margin-bottom: 8px;
  opacity: .55;
}
.m-viewer-placeholder p { font-size: 13px; margin: 0; }
.m-viewer-placeholder-sub {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 6px !important;
  opacity: .8;
}
.m-viewer-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #d9dfe6;
}
.m-viewer-frame[hidden] { display: none !important; }
.m-viewer-upload {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.m-viewer-file-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.m-viewer-file-info .file-name {
  font-size: 13px;
  color: var(--text-1);
  word-break: break-all;
}
.m-viewer-file-info .file-status {
  font-size: 12px;
  color: var(--text-3);
}
.m-viewer-file-info .file-status.is-success { color: #16a34a; }
.m-viewer-file-info .file-status.is-error { color: #e53935; }
.m-viewer-tip {
  margin: 0;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.55;
}
.m-viewer-page .viewer-upload-progress { margin: 0; }
.m-viewer-page .viewer-upload-progress[hidden] { display: none !important; }
.m-viewer-page .viewer-upload-progress-track {
  height: 8px;
  border-radius: 999px;
  background: #e8eef5;
  overflow: hidden;
}
.m-viewer-page .viewer-upload-progress-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0066cc, #38bdf8);
}
.m-viewer-page .viewer-upload-progress-text {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-3);
}
.m-viewer-recent { margin-top: 4px; }
.m-viewer-recent-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.m-viewer-recent-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  overflow: hidden;
  color: inherit;
}
.m-viewer-recent-card.is-active { border-color: var(--brand-light); }
.m-viewer-recent-cover {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6f8;
  overflow: hidden;
}
.m-viewer-recent-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m-viewer-recent-cover .layui-icon {
  font-size: 28px;
  color: var(--text-3);
}
.m-viewer-recent-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px 8px 0;
}
.m-viewer-recent-meta strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-viewer-recent-meta em {
  font-style: normal;
  font-size: 11px;
  color: var(--text-3);
}
.m-viewer-recent-meta span {
  font-size: 11px;
  color: var(--text-3);
}
.m-viewer-recent-empty {
  margin: 0;
  font-size: 13px;
  color: var(--text-3);
}

/* ====== 光谱特性曲线（手机端独立页） ====== */
.m-light-page .m-page-body { padding-bottom: calc(80px + var(--safe-bottom)); }
.m-light-subbar {
  justify-content: space-between;
  gap: 10px;
}
.m-light-list-page .m-header,
.m-light-detail-page .m-header,
.m-light-compare-page .m-header {
  position: relative;
}
.m-light-list-page .m-tools-subbar,
.m-light-detail-page .m-tools-subbar {
  position: relative;
  top: auto;
}
.m-light-compare-subbar {
  position: relative;
  top: auto;
  justify-content: stretch;
}
.m-light-axis-switch {
  display: flex;
  flex: 1;
  padding: 3px;
  border-radius: 8px;
  background: #f3f5f8;
}
.m-light-axis-switch .m-light-kind-tab {
  flex: 1;
  height: 32px;
  line-height: 32px;
  border: 0;
  background: transparent;
}
.m-light-axis-switch .m-light-kind-tab.is-active {
  background: #fff;
  color: var(--brand-light);
  box-shadow: 0 1px 2px rgba(22, 50, 79, .08);
}
.m-light-axis-switch .m-light-kind-tab[disabled] {
  opacity: .45;
}
.m-light-subbar .m-tools-subbar-title { flex: 0 0 auto; }
.m-light-kind-switch {
  display: flex;
  flex: 1;
  max-width: 200px;
  margin-left: auto;
  padding: 3px;
  border-radius: 8px;
  background: #f3f5f8;
}
.m-light-kind-tab {
  flex: 1;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  border-radius: 6px;
}
.m-light-kind-tab.is-active {
  background: #fff;
  color: var(--brand-light);
  box-shadow: 0 1px 2px rgba(22, 50, 79, .08);
}

.m-light-list-page .m-table-meta {
  gap: 6px;
  padding: 6px 8px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.m-light-list-page .m-table-meta.is-head-pinned {
  z-index: 961;
  box-shadow: 0 1px 0 var(--border);
}
.m-light-list-page .m-table-meta .result-count {
  flex: 0 0 auto;
  white-space: nowrap;
}
.m-light-list-page .m-table-cat-btn {
  flex: 1;
  min-width: 0;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.m-light-list-page .m-table-cat-btn i {
  flex: 0 0 auto;
  font-size: 14px;
  color: var(--brand-light);
}
.m-light-list-page .m-table-cat-btn em {
  min-width: 0;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-light-list-page .m-table-cat-btn.is-on,
.m-light-list-page .m-table-search-btn.is-on {
  border-color: var(--brand-light);
  background: #f3f7fd;
  color: var(--brand);
}
.m-light-list-page .product-data-table thead th.is-filtered {
  background: #e8f1fc;
  color: #2d6cdf;
}
.m-light-list-page .product-data-table tbody td.is-filtered {
  background: #f3f7fd;
}

.m-light-filter { display: flex; flex-direction: column; gap: 6px; }
.m-light-filter-body { padding: 8px 12px 4px; }
.m-light-filter-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.m-light-filter-row .m-light-input { flex: 1; min-width: 0; }
.m-light-input-model {
  flex: 0 0 92px;
  width: 92px;
  padding: 0 6px;
}
#lightFilterSheet .m-feedback-drawer-head {
  min-height: 40px;
  padding: 8px 40px;
}
#lightFilterSheet .m-feedback-drawer-head h3 { font-size: 15px; }
#lightFilterSheet .m-feedback-drawer-close {
  top: 2px;
  width: 32px;
  height: 32px;
}
.m-light-filter-footer {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  background: #fff;
}
.m-light-filter-footer .layui-btn,
.m-light-filter-actions .layui-btn,
.col-filter-popover.is-sheet .col-filter-popover-actions .layui-btn {
  flex: 1;
  height: 36px;
  line-height: 36px;
  margin: 0;
}
.m-light-input {
  width: 100%;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0 8px;
  background: #fff;
  color: var(--text-1);
  font-size: 13px;
}
.m-light-range { display: flex; align-items: center; gap: 6px; }
.m-light-range span { color: var(--text-3); }
.m-light-band-head { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.m-light-band-head strong { font-size: 13px; }
.m-light-band-head span { font-size: 11px; color: var(--text-3); }
.m-light-band-group {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.m-light-band-value .light-band-value-op {
  flex: 0 0 52px;
  width: 52px;
  padding: 0 4px;
}
.m-light-band-group .m-light-remove {
  flex: 0 0 28px;
  margin-left: 0;
}
.m-light-link-btn {
  align-self: flex-start;
  background: none;
  color: var(--brand-light);
  font-size: 12px;
  padding: 0;
  line-height: 1.4;
}
.m-light-filter-actions { display: flex; gap: 8px; }
.m-light-tip { font-size: 12px; color: var(--text-3); line-height: 1.45; margin: 0; }
.m-light-empty { text-align: center; color: var(--text-3); font-size: 13px; padding: 20px 8px; }

.m-light-list-page .product-table-full {
  background: #fff;
  margin-top: 0;
}
.m-light-list-page .m-table-infinite {
  padding: 12px 10px 16px;
  background: #fff;
}
.m-light-list-page .product-table-scroll-wrap {
  max-height: none;
  overflow: visible;
  min-height: 0;
}
.m-light-list-page .product-data-table {
  table-layout: fixed;
  width: 100%;
  min-width: 0;
  font-size: 12px;
}
.m-light-list-page .product-data-table thead th,
.m-light-list-page .product-data-table tbody td {
  padding: 8px 6px;
  box-sizing: border-box;
  text-align: center;
  vertical-align: middle;
}
.m-light-list-page .product-data-table thead th {
  white-space: nowrap;
}
.m-light-list-page .product-data-table tbody td {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.4;
}
.m-light-list-page .product-data-table thead th.compare-select-col,
.m-light-list-page .product-data-table tbody td.compare-select-col {
  width: 36px;
  min-width: 36px;
  max-width: 36px;
  padding: 8px 0;
}
.m-light-list-page .product-data-table col.col-name {
  width: 88px;
}
.m-light-list-page .product-data-table thead th:nth-child(2),
.m-light-list-page .product-data-table tbody td.cell-name {
  width: 88px;
  max-width: 88px;
  text-align: left;
}
.m-light-list-page .product-data-table thead th:nth-child(3),
.m-light-list-page .product-data-table tbody td:nth-child(3) {
  text-align: left;
}
.m-light-list-page .product-data-table tbody tr[data-href] {
  cursor: pointer;
}
.m-light-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 12px 8px;
  background: #fff;
}
.m-light-page-btn {
  min-width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text-2);
}
.m-light-page-btn.is-active { background: var(--brand-light); border-color: var(--brand-light); color: #fff; }
.m-light-page-btn[disabled] { opacity: .4; }
.m-light-page-tip { font-size: 12px; color: var(--text-3); }

.m-light-compare-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.m-light-compare-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.m-light-compare-item strong { font-size: 13px; display: block; }
.m-light-compare-item p { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.m-light-remove {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5f7fa;
  color: var(--text-3);
}

.m-light-sheet .light-cat-tree { font-size: 14px; }
.m-light-sheet .light-cat-item > a,
.m-light-sheet .light-cat-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
  padding: 6px 4px;
  color: var(--text-1);
}
.m-light-sheet .light-cat-row { display: flex; align-items: center; }
.m-light-sheet .light-cat-row .light-cat-node { flex: 1; }
.m-light-sheet .light-cat-arrow-btn {
  width: 36px;
  height: 36px;
  background: none;
  color: var(--text-3);
}
.m-light-sheet .light-cat-children { display: none; padding-left: 12px; }
.m-light-sheet .light-cat-group.is-open > .light-cat-children { display: block; }
.m-light-sheet .light-cat-item.is-active > a,
.m-light-sheet .light-cat-group.is-active > .light-cat-row .light-cat-node { color: var(--brand-light); font-weight: 600; }
.m-light-sheet .light-side-count { font-size: 11px; color: var(--text-3); }
.m-light-sheet .light-cat-group.is-open > .light-cat-row .light-cat-arrow { transform: rotate(180deg); display: inline-block; }

.m-light-detail-meta {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 12px;
  color: var(--text-2);
}
.m-light-detail-meta a { color: var(--brand-light); }
.m-light-chart-card, .m-light-data-card, .m-light-tool-card {
  margin-top: 8px;
  background: #fff;
  border-radius: 10px;
}
.m-light-chart { width: 100%; height: 240px; }
.m-light-chart-compare { height: 280px; }
.m-light-data-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
}
.m-light-data-card .m-table-infinite {
  padding: 10px 0 4px;
}
.m-light-data-toolbar select {
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0 4px;
}
.m-light-detail-page .m-light-table-scroll,
.m-light-compare-page .m-light-table-scroll {
  overflow-x: auto;
  overflow-y: visible;
}
.m-light-detail-page .m-light-table thead th,
.m-light-compare-page .m-light-table thead th {
  position: relative;
  top: auto;
  background: #f5f7fa;
}
.mobile-table-head-pin--light {
  background: #f5f7fa;
}
.mobile-table-head-pin--light table {
  font-size: 12px;
}
.mobile-table-head-pin--light thead th {
  background: #f5f7fa;
  color: #333;
  font-weight: 600;
  padding: 8px 6px;
  box-sizing: border-box;
  border-bottom: 2px solid #e8e8e8;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}
.mobile-table-head-pin--light thead th.is-filtered {
  background: #e8f1fc;
  color: #2d6cdf;
}
.mobile-table-head-pin--light thead th:nth-child(2),
.mobile-table-head-pin--light thead th:nth-child(3) {
  text-align: left;
}
.mobile-table-head-pin--light-data table.m-light-table {
  width: auto;
  min-width: 0;
}
.mobile-table-head-pin--light-data thead th {
  padding: 6px 8px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
  color: var(--text-3);
  font-weight: 600;
  white-space: nowrap;
}
.m-light-table { width: 100%; min-width: 320px; border-collapse: collapse; font-size: 12px; }
.m-light-table th, .m-light-table td {
  border-bottom: 1px solid var(--border);
  padding: 6px 8px;
  text-align: left;
  white-space: nowrap;
}
.m-light-table th { color: var(--text-3); font-weight: 600; }
.m-light-empty-cell { text-align: center; color: var(--text-3); padding: 16px 8px !important; }

.m-light-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.m-light-section-head h4 { font-size: 14px; margin-bottom: 0; min-width: 0; flex: 1 1 100%; }
.m-light-section-actions { display: flex; align-items: center; flex: 1 1 100%; gap: 8px; }
.m-light-section-head .layui-btn {
  flex: 1;
  margin: 0;
  height: 36px;
  line-height: 36px;
  padding: 0 18px;
}
.m-light-tool-card h4 em { display: none; }
.m-light-toggle-row { display: flex; flex-direction: column; gap: 8px; }
.m-light-toggle-btn {
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text-1);
}
.m-light-toggle-btn.is-active { border-color: var(--brand-light); color: var(--brand-light); background: #f3f7fd; }
.m-light-toggle-btn[disabled] { opacity: .45; }
.m-light-calc-row {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 8px;
}
.m-light-calc-row.is-calculated { border-color: #cfe0f5; background: #f7fbff; }
.m-light-calc-name-row { display: flex; align-items: center; gap: 6px; }
.m-light-calc-name { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; flex: 1; min-width: 0; }
.m-light-calc-name span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-light-calc-name em { font-style: normal; font-size: 11px; color: var(--brand-light); flex: 0 0 auto; }
.m-light-calc-remove {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: #999;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
}
.m-light-calc-remove:active { color: #f5222d; }
.m-light-calc-ops { display: flex; align-items: center; flex-wrap: nowrap; gap: 4px; margin-top: 8px; width: 100%; box-sizing: border-box; }
.m-light-calc-ops .light-curve-overlay { flex: 0 0 auto; }
.m-light-calc-label { flex: 0 0 auto; font-size: 11px; color: var(--text-3); white-space: nowrap; }
.m-light-calc-ops .m-light-input {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  max-width: none;
  height: 28px;
  padding: 0 6px;
  font-size: 12px;
  box-sizing: border-box;
}
.m-light-input-readonly {
  background: #f5f7fa;
  color: var(--text-3);
}
.m-light-calc-ops .layui-btn {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 8px;
  height: 28px;
  line-height: 26px;
}


.m-light-page .product-feedback-panel { padding: 4px 0; }
.m-light-page .feedback-toolbar { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 13px; color: #888; }
.m-light-page .feedback-count em { color: #0066cc; font-style: normal; font-weight: 600; }
.m-light-page .feedback-loading,
.m-light-page .feedback-empty {
  text-align: center; padding: 20px 12px; color: #999; font-size: 13px;
  background: #f8fafc; border: 1px dashed #e3ebf3; border-radius: 8px;
}
.m-light-page .feedback-item {
  padding: 12px; border: 1px solid #e8edf3; border-radius: 8px; background: #fff; margin-bottom: 8px;
}
.m-light-page .feedback-item.is-admin { border-color: #cfe0f5; background: #eef5fc; }
.m-light-page .feedback-item-head { display: flex; gap: 8px; margin-bottom: 6px; }
.m-light-page .feedback-author { font-weight: 600; color: #1a3a5c; }
.m-light-page .feedback-time { font-size: 12px; color: #999; }
.m-light-page .feedback-item-content { font-size: 13px; line-height: 1.7; color: #444; word-break: break-word; }
.m-light-page .feedback-reply-btn { border: 0; background: none; color: #0066cc; font-size: 13px; padding: 6px 0; }
.m-light-page .feedback-replies { margin-top: 8px; padding-left: 12px; border-left: 2px solid #e8edf3; }
.m-light-page .feedback-compose { border-top: 1px solid #eef2f7; padding-top: 12px; margin-top: 8px; }
.m-light-page .feedback-compose-head { display: flex; gap: 8px; margin-bottom: 8px; }
.m-light-page .feedback-login-tip { font-size: 12px; color: #999; }
.m-light-page .feedback-compose-actions { margin-top: 8px; }
.m-light-page .feedback-compose-actions .layui-btn,
.m-feedback-drawer .feedback-compose-actions .layui-btn,
.m-page-body .feedback-compose-actions .layui-btn { margin: 0; }
.m-light-page .js-feedback-content { width: 100%; min-height: 88px; border: 1px solid var(--border); border-radius: 8px; padding: 8px; }

.m-product-compare-empty {
  margin: 0;
  padding: 18px 8px;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
}
.m-product-compare-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.m-product-compare-diff-btn {
  flex-shrink: 0;
  height: 36px;
  padding: 0 18px;
  border: 1px solid #d2d2d2;
  border-radius: 2px;
  background: transparent;
  color: #5f5f5f;
  font-size: 14px;
  line-height: 36px;
}
.m-product-compare-diff-btn.is-on {
  border-color: transparent;
  background: #1e9fff;
  color: #fff;
}
.m-product-compare-clear-btn {
  flex-shrink: 0;
  height: 36px;
  padding: 0 18px;
  border: 1px solid #d2d2d2;
  border-radius: 2px;
  background: transparent;
  color: #5f5f5f;
  font-size: 14px;
  line-height: 36px;
}
.m-product-compare-table-wrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-height: calc(100dvh - var(--m-tabbar-h) - 148px);
}
.product-compare-page .m-product-compare-section {
  padding-left: 0;
  padding-right: 0;
}
.product-compare-page .m-product-compare-section .m-section-head {
  padding: 0 10px;
}
.product-compare-page .compare-table-wrap {
  overflow: visible;
  max-height: none;
  width: max-content;
  min-width: 100%;
}
.product-compare-page .product-compare-table {
  width: max-content;
  min-width: 100%;
  font-size: 12px;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  border-top: 1px solid #e8edf3;
  border-left: 1px solid #e8edf3;
}
.product-compare-page .product-compare-table th,
.product-compare-page .product-compare-table td {
  padding: 6px 4px;
  line-height: 1.35;
  word-break: break-word;
  border-right: 1px solid #e8edf3;
  border-bottom: 1px solid #e8edf3;
  background-clip: padding-box;
}
.product-compare-page .product-compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f5f8fc;
  box-shadow: 0 1px 0 #e8edf3;
}
.product-compare-page .product-compare-table .compare-param-col {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 48px;
  min-width: 48px;
  max-width: 56px;
  font-size: 12px;
  background: #f7f9fc;
  box-shadow: 1px 0 0 #e8edf3;
}
.product-compare-page .product-compare-table thead .compare-param-col {
  z-index: 4;
  top: 0;
  left: 0;
  background: #eef3f9;
}
.product-compare-page .product-compare-table .compare-product-col,
.product-compare-page .product-compare-table .compare-value-col {
  width: 64px;
  min-width: 64px;
  max-width: 80px;
  font-size: 12px;
  background: #fff;
}
.product-compare-page .compare-product-head {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
}
.product-compare-page .compare-product-link {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  line-height: 1.25;
  word-break: break-all;
}
.product-compare-page .compare-product-remove {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e8edf3;
  color: #666;
  font-size: 12px;
  line-height: 16px;
}
.product-compare-page .is-only-diff .is-same-row {
  display: none;
}
.product-compare-page .cell-link {
  color: #0066cc;
  text-decoration: none;
  word-break: break-all;
}
.product-compare-page .cell-link-model {
  font-weight: 500;
}
.product-compare-page .cell-ref-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
}
.product-compare-page .cell-ref-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 1px 4px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.3;
  white-space: normal;
  word-break: break-all;
}
.product-compare-page a.cell-link-product-ref.cell-ref-chip {
  color: #0b5cad;
  background: rgba(11, 92, 173, 0.08);
  border: 1px solid rgba(11, 92, 173, 0.18);
}
.product-compare-page .cell-ref-plain {
  color: #666;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}
