/* qm-tesla-unify.css — 内页特斯拉风格统一层（首页不加载）
 * 配合自动生成的 qm-tesla-map.css（颜色映射）使用。
 * 设计基准（参考 tesla.cn）：墨色 #171A20 / 正文 #393C41 / 辅助 #5C5E62 / 浅底 #F4F4F4 /
 * 主按钮蓝 #3E6AE1、圆角 4px、高 40px；标题字重 500、留白充足、无阴影。
 * 移除：python3 tools/tesla-unify/build.py --revert
 */
:root{--t-ink:#171A20;--t-text:#393C41;--t-mute:#5C5E62;--t-line:#E2E3E3;--t-bg2:#F4F4F4;--t-blue:#3E6AE1;--t-blue-h:#3457B1;
  --t-font:"Universal Sans Text",-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Noto Sans SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif}

/* ---------- 1. 字体与排印 ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) body{font-family:var(--t-font)!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
html:not(#qmT):not(#qmT2):not(#qmT3) body :is(h1,h2,h3,h4,p,li,a,button,input,select,textarea,small,strong,span,.elementor-heading-title){font-family:inherit}
html:not(#qmT):not(#qmT2):not(#qmT3) body :is(h1,h2,h3){font-weight:500;letter-spacing:-.01em}
html:not(#qmT):not(#qmT2):not(#qmT3) body :is(.ql-page,.svc-premium,.ci-industry,.qmi,.qi-hub,.qmi-hub) :is(h1,h2){font-weight:500!important;letter-spacing:-.015em!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body :is(.ql-eyebrow,.svc-eyebrow,.svc-step,.ql-card small,.ct-kicker,.ci-kicker,.qmi-kicker){letter-spacing:.08em!important;text-transform:uppercase;font-weight:500!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body ::selection{background:#171A20;color:#fff}

/* ---------- 2. 按钮：特斯拉主按钮（蓝）与次按钮（浅灰） ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) body :is(.ql-button,.svc-premium .svc-primary,.qi-hub .qi-load-more,.qmi-hub .qmi-arc .qmi-amore,.ci-cta .ct-button,.ci-cta a.elementor-button){
  background:var(--t-blue)!important;border:0!important;color:#fff!important;border-radius:4px!important;min-height:40px;padding:10px 28px!important;
  font-size:14px!important;font-weight:500!important;letter-spacing:.02em;display:inline-flex!important;align-items:center;justify-content:center;gap:12px;transition:background .33s cubic-bezier(.5,0,0,.75)}
html:not(#qmT):not(#qmT2):not(#qmT3) body :is(.ql-button,.svc-premium .svc-primary,.qi-hub .qi-load-more,.qmi-hub .qmi-arc .qmi-amore):hover{background:var(--t-blue-h)!important;text-decoration:none!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body :is(.ql-text-links a,.svc-premium .svc-simple){border-radius:4px}
html:not(#qmT):not(#qmT2):not(#qmT3) body .ql-text-links a{border:0!important;background:rgba(23,26,32,.06);color:var(--t-ink)!important;padding:10px 18px!important;font-weight:500}
html:not(#qmT):not(#qmT2):not(#qmT3) body .ql-text-links a:hover{background:rgba(23,26,32,.12);text-decoration:none!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body :is(.ql-tabs button,.qmi-af button){border-radius:4px!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body :is(.ql-search input,.qmi-hub input,.qmi-hub select){border-radius:4px!important;border-color:#D0D1D2!important;background:#F4F4F4!important}

/* ---------- 3. 卡片与图片：去边框、去阴影，统一小圆角 ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) body :is(.ql-card,.svc-scenario-grid article,.module,.ct-featured-project,.qmi-hub .qmi-feature){border-radius:8px!important;box-shadow:none!important;overflow:hidden}
html:not(#qmT):not(#qmT2):not(#qmT3) body .ql-card{border:0!important;background:#fff!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body .ql-card:hover{transform:none!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body .ql-card>img,html:not(#qmT):not(#qmT2):not(#qmT3) body .svc-featured-projects img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
html:not(#qmT):not(#qmT2):not(#qmT3) body .ql-card:hover>img,html:not(#qmT):not(#qmT2):not(#qmT3) body .svc-featured-projects a:hover img{transform:scale(1.03)}
html:not(#qmT):not(#qmT2):not(#qmT3) body .svc-featured-projects img{border-radius:8px}
html:not(#qmT):not(#qmT2):not(#qmT3) body .module{border-color:transparent!important;background:#fff!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body .module:hover{border-color:#D0D1D2!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body .svc-scenario-grid article{border-top:0!important}

/* ---------- 4. 内容库 / 研究文章（ql-page）：白底、大标题、留白 ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) body.ql-page,html:not(#qmT):not(#qmT2):not(#qmT3) .ql-page{background:#fff!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-hero{background:#fff!important;color:var(--t-ink)!important;padding-top:clamp(120px,14vw,180px)!important;padding-bottom:clamp(48px,6vw,80px)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-hero h1{color:var(--t-ink)!important;font-size:clamp(34px,4.4vw,64px)!important;line-height:1.2!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-hero :is(.ql-lead,.ql-crumb,.ql-hero-meta,.ql-facts span,.ql-hero-photo figcaption){color:var(--t-mute)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-hero .ql-eyebrow{color:var(--t-mute)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-hero :is(.ql-hero-meta,.ql-facts){border-top-color:var(--t-line)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-hero-photo img{border-radius:8px}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-page #lcn .lcn-bar{background:rgba(255,255,255,.92)!important;color:var(--t-ink)!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-page #lcn :is(.lcn-link,.lcn-tel,.lcn-brand-descriptor,.lcn-bar a,.lcn-bar button,.lcn-bar span){color:var(--t-ink)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-page .lcn-logo img{filter:brightness(0)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-prose{font-size:17px!important;line-height:1.85!important;color:var(--t-text)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-prose h2{font-size:clamp(24px,2vw,30px)!important;font-weight:500!important;color:var(--t-ink)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-note{border-left:0!important;background:var(--t-bg2)!important;border-radius:8px}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-related{background:var(--t-bg2)!important;padding:clamp(56px,7vw,96px) 0!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-next{padding:clamp(64px,8vw,112px) 0!important;text-align:center}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-next :is(p){margin-left:auto!important;margin-right:auto!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-next .ql-text-links{justify-content:center}
html:not(#qmT):not(#qmT2):not(#qmT3) .ql-foot{background:#000!important}

/* ---------- 5. 解决方案 / 行业 / 洞察：深色块统一为特斯拉墨黑，浅色块统一 #F4F4F4 ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) :is(.svc-hero-copy,.svc-process,.ci-modular .ci-cta,.ct-featured-project,.qmi-hub .qmi-feature,.qmi-hub .qmi-rep,.qmi-hub .qmi-subband){background:var(--t-ink)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) :is(.svc-capabilities,.svc-cooperate){background:var(--t-bg2)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .svc-hero-grid{border:0!important;border-radius:8px;overflow:hidden}
html:not(#qmT):not(#qmT2):not(#qmT3) .svc-page-nav{background:rgba(255,255,255,.92)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .svc-directory{border-radius:8px;overflow:hidden}

/* ---------- 6. 案例详情页（Elementor 文章，约 600 页） ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) body.single-post .qm-case-h1{
  margin:0!important;padding:clamp(112px,12vw,160px) 24px clamp(36px,4vw,56px)!important;text-align:center;
  font-size:clamp(30px,4vw,56px)!important;font-weight:500!important;line-height:1.15!important;letter-spacing:-.015em;color:var(--t-ink)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body.single-post #content>.ast-container{max-width:none!important;padding:0!important}
/* 导语：居中窄栏、大字号、浅色正文 */
html:not(#qmT):not(#qmT2):not(#qmT3) body.single-post .elementor>.e-con-boxed.gk_fullwidth_fix>.e-con-inner>.elementor-widget-heading:only-child{width:100%!important;max-width:none!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body.single-post .elementor>.e-con-boxed.gk_fullwidth_fix>.e-con-inner>.elementor-widget-heading:only-child .elementor-heading-title{
  max-width:860px;margin:0 auto!important;padding:clamp(56px,7vw,104px) 24px!important;
  font-size:clamp(17px,1.45vw,21px)!important;line-height:1.85!important;font-weight:400!important;color:var(--t-text)!important;text-align:left}
/* 图片：全幅保留，图间留细缝，像特斯拉的画廊 */
html:not(#qmT):not(#qmT2):not(#qmT3) body.single-post .elementor>.e-con-full.gk_fullwidth_fix{padding:0 8px!important;margin-bottom:8px!important;--gap:8px;--row-gap:8px;--column-gap:8px;gap:8px!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body.single-post .elementor>.e-con-full.gk_fullwidth_fix .elementor-widget-image img{border-radius:6px;display:block}

/* ---------- 7. 手机端 ---------- */
@media (max-width:767px){
  html:not(#qmT):not(#qmT2):not(#qmT3) body.single-post .qm-case-h1{padding-top:96px!important;font-size:30px!important}
  html:not(#qmT):not(#qmT2):not(#qmT3) body.single-post .elementor>.e-con-full.gk_fullwidth_fix{padding:0 4px!important;margin-bottom:4px!important;gap:4px!important}
  html:not(#qmT):not(#qmT2):not(#qmT3) .ql-hero{padding-top:104px!important}
  html:not(#qmT):not(#qmT2):not(#qmT3) body :is(.ql-button,.svc-premium .svc-primary){width:100%}
}

/* ======================================================================
 * 第二轮细节修正（2026-10-20）
 * ====================================================================== */

/* ---------- 8. 顶部导航：滚动后变为白色磨砂条，内容不再透出、不再与导航文字重叠 ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) body #lcn.is-solid{--lcn-bar-ink:#171A20;--lcn-logo-filter:brightness(0)}
html:not(#qmT):not(#qmT2):not(#qmT3) body #lcn.is-solid .lcn-bar{
  background:rgba(255,255,255,.86)!important;
  -webkit-backdrop-filter:saturate(180%) blur(20px)!important;backdrop-filter:saturate(180%) blur(20px)!important;
  border-bottom:1px solid rgba(23,26,32,.06)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body #lcn.is-solid :is(.lcn-link,.lcn-tel,.lcn-brand-descriptor,.lcn-contact-mobile,.lcn-tools,.lcn-tools a,.lcn-tools button,.qm-language-control,.qm-language-control button,.lcn-burger){color:#171A20!important}
/* 导航里残留的红色悬停线、金色箭头 → 特斯拉墨色 */
html:not(#qmT):not(#qmT2):not(#qmT3) body #lcn .lcn-link:hover .lcn-lb,
html:not(#qmT):not(#qmT2):not(#qmT3) body #lcn .lcn-link[aria-expanded="true"] .lcn-lb,
html:not(#qmT):not(#qmT2):not(#qmT3) body #lcn .qmk .qmk-gh:hover,html:not(#qmT):not(#qmT2):not(#qmT3) body #lcn .qmk .qmk-fl:hover{border-bottom-color:currentColor!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body #lcn .lcn-ul:hover span{text-decoration-color:currentColor!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body #lcn .qmk .qmk-fq a:hover::after{background:currentColor!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body #lcn .lcn-brand-descriptor:hover{border-left-color:currentColor!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body #lcn .qmk .qmk-gh.is-on:hover{color:#171A20!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body #lcn .lcn-panel :is(svg,.lcn-arrow,[class*="arrow"]){color:#171A20!important;stroke:currentColor}
html:not(#qmT):not(#qmT2):not(#qmT3) body .lcn :focus-visible{outline-color:#3E6AE1!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body .qa-consulting .qac-subnav a:hover{border-bottom-color:#171A20!important}

/* ---------- 9. 案例详情页（第二轮） ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) body.single-post .elementor>.e-con-full.gk_fullwidth_fix .elementor-widget-image img{border-radius:0!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body.single-post .elementor>.e-con-boxed.gk_fullwidth_fix>.e-con-inner>.elementor-widget-heading:only-child .elementor-heading-title{padding-top:clamp(48px,5vw,80px)!important;padding-bottom:clamp(48px,5vw,80px)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body.single-post .elementor>.e-con-boxed.gk_fullwidth_fix{--padding-top:0px;--padding-bottom:0px;padding-top:0!important;padding-bottom:0!important}
/* 「查看更多」：特斯拉次级按钮 */
html:not(#qmT):not(#qmT2):not(#qmT3) body.single-post :is(.cus-more-btn,.read-more-btn,.elementor-button,.qm-more,[class*="more-btn"],[class*="load-more"]){
  border-radius:4px!important;border:0!important;background:#F4F4F4!important;color:#171A20!important;
  font-size:14px!important;font-weight:500!important;letter-spacing:.02em!important;min-height:40px;padding:10px 32px!important;box-shadow:none!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body.single-post :is(.cus-more-btn,.read-more-btn,.elementor-button,.qm-more,[class*="more-btn"],[class*="load-more"]):hover{background:#E2E3E3!important}

/* ---------- 10. 案例目录卡片（包装 / 画册 / 标志等案例列表） ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) #case-catalog .cc-card,html:not(#qmT):not(#qmT2):not(#qmT3) #case-catalog .cc-card>a{box-shadow:none!important}
html:not(#qmT):not(#qmT2):not(#qmT3) #case-catalog .cc-card{overflow:hidden;border-radius:8px!important;border:0!important;background:#fff!important}
html:not(#qmT):not(#qmT2):not(#qmT3) #case-catalog .cc-card img{border-radius:0!important}
html:not(#qmT):not(#qmT2):not(#qmT3) #case-catalog .cc-card:hover,html:not(#qmT):not(#qmT2):not(#qmT3) #case-catalog .cc-card>a:hover{transform:none!important;box-shadow:none!important}
html:not(#qmT):not(#qmT2):not(#qmT3) #case-catalog .cc-vi-action,
html:not(#qmT):not(#qmT2):not(#qmT3) #case-catalog.is-tesla-vi .cc-card:first-child .cc-vi-action{
  background:#F4F4F4!important;border:0!important;color:#171A20!important;border-radius:4px!important;box-shadow:none!important;
  min-height:40px;font-weight:500!important}
html:not(#qmT):not(#qmT2):not(#qmT3) #case-catalog .cc-card>a:is(:hover,:focus-visible) .cc-vi-action{background:#171A20!important;color:#fff!important;transform:none!important}
html:not(#qmT):not(#qmT2):not(#qmT3) #case-catalog .cc-card h3,html:not(#qmT):not(#qmT2):not(#qmT3) #case-catalog .cc-card [class*="title"]{font-weight:500!important;color:#171A20!important}

/* ---------- 11. 上一个 / 下一个案例 ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) .tpl-pn{gap:0!important;border-top:1px solid #E2E3E3;border-bottom:1px solid #E2E3E3;background:transparent!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .tpl-pn .tpl-rv{background:transparent!important;border:0!important;box-shadow:none!important;padding:32px 0!important;transition:opacity .2s}
html:not(#qmT):not(#qmT2):not(#qmT3) .tpl-pn .tpl-rv:hover{opacity:.6}
html:not(#qmT):not(#qmT2):not(#qmT3) .tpl-pn .tpl-rv span{color:#5C5E62!important;font-size:12px!important;letter-spacing:.04em}
html:not(#qmT):not(#qmT2):not(#qmT3) .tpl-pn .tpl-rv strong{display:block;margin-top:8px;color:#171A20!important;font-size:clamp(18px,1.6vw,24px)!important;font-weight:500!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .tpl-pn .tpl-rv+.tpl-rv,html:not(#qmT):not(#qmT2):not(#qmT3) .tpl-pn .tpl-pn-empty+.tpl-rv{border-left:1px solid #E2E3E3!important;padding-left:32px!important}

/* ---------- 12. 通用：卡片悬停不再上浮投影，统一用细线和轻微透明度 ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) body :is(main,#content,.site-content) :is(article,.card,[class*="-card"]):hover{box-shadow:none!important}

/* ---------- 13. 关于我们：「继续了解 / 继续探索」等卡片恢复内边距与圆角 ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) .qa-consulting .qac-chapter{border:0!important;border-radius:8px!important;overflow:hidden;background:#fff!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .qa-consulting .qac-section:not(.is-tinted) .qac-chapter{background:#F4F4F4!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .qa-consulting .qac-chapter-copy{padding:clamp(24px,2.6vw,40px)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .qa-consulting .qac-feature{border-radius:8px!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .qa-consulting .qac-feature-copy{padding:clamp(32px,4vw,64px)!important}
@media (max-width:767px){html:not(#qmT):not(#qmT2):not(#qmT3) .qa-consulting .qac-feature-copy{padding:28px 24px!important}}

/* ---------- 14. 案例目录按钮：保证所有卡片一致（覆盖自动映射的高优先级规则） ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) body #case-catalog .cc-card .cc-vi-action{
  background:#F4F4F4!important;border:0!important;color:#171A20!important;border-radius:4px!important;box-shadow:none!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body #case-catalog .cc-card>a:is(:hover,:focus-visible) .cc-vi-action{background:#171A20!important;color:#fff!important}

/* ---------- 15. 右侧悬浮「获取方案」：去掉发灰的 3D 图标，改成干净的白色胶囊 ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) body .qm-consult .qm-green-icon{display:none!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body .qm-consult .qm-pill{background:rgba(255,255,255,.92)!important;color:#171A20!important;
  border:1px solid rgba(23,26,32,.08)!important;box-shadow:0 4px 16px rgba(0,0,0,.08)!important;opacity:1}
html:not(#qmT):not(#qmT2):not(#qmT3) body .qm-consult :is(.qm-pill-text,.qm-pill-cta,.qm-pill a){color:#171A20!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body .qm-consult .qm-pill-chat,html:not(#qmT):not(#qmT2):not(#qmT3) body .qm-consult .qm-pill-chat svg{filter:none!important;color:#171A20!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body .qm-consult .qm-pill-divider{background:rgba(23,26,32,.1)!important}

/* ---------- 16. 联系页分段导航 ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) .qa-contact .qa-page-nav{border-radius:8px!important;border-color:#E2E3E3!important;background:#fff!important;max-width:100%;box-sizing:border-box;overflow:hidden}
html:not(#qmT):not(#qmT2):not(#qmT3) .qa-contact .qa-page-nav a{border-radius:4px}
html:not(#qmT):not(#qmT2):not(#qmT3) .qa-contact .qa-page-nav a:hover{background:#F4F4F4!important}

/* ---------- 17. 关于我们：数据格 / 专业方向 / 方法卡片补内边距 ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) .qa-consulting .qm-about-metric{padding:clamp(20px,2vw,32px)!important;border-radius:8px!important;box-sizing:border-box}
html:not(#qmT):not(#qmT2):not(#qmT3) .qa-consulting :is(.qac-discipline,.qac-method){padding:clamp(24px,2.4vw,36px)!important;border-radius:8px!important;box-sizing:border-box;border:0!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .qa-consulting :is(.qac-discipline,.qac-method) :is(a:last-child,.qac-link){margin-top:auto}

/* ---------- 18. 行业页能力手风琴：特斯拉式上下细线，去掉左右框线和菱形关闭钮 ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) details.ci-capability{border-left:0!important;border-right:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
html:not(#qmT):not(#qmT2):not(#qmT3) details.ci-capability>summary{padding-left:0!important;padding-right:0!important}
html:not(#qmT):not(#qmT2):not(#qmT3) details.ci-capability>summary>span[aria-hidden]{border:0!important;transform:none!important;background:transparent!important;width:auto!important;height:auto!important;font-size:22px!important;font-weight:300!important;color:#171A20!important}
html:not(#qmT):not(#qmT2):not(#qmT3) details.ci-capability>summary>span[aria-hidden]::before,html:not(#qmT):not(#qmT2):not(#qmT3) details.ci-capability>summary>span[aria-hidden]::after{border:0!important;background:transparent!important}

/* ---------- 19. 自定义 12 栅格页面：补上缺失的 span-5 / span-7 等，修复文字被挤成一列 ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) .qm .grid-12>.span-1{grid-column:span 1}html:not(#qmT):not(#qmT2):not(#qmT3) .qm .grid-12>.span-2{grid-column:span 2}
html:not(#qmT):not(#qmT2):not(#qmT3) .qm .grid-12>.span-5{grid-column:span 5}html:not(#qmT):not(#qmT2):not(#qmT3) .qm .grid-12>.span-7{grid-column:span 7}
html:not(#qmT):not(#qmT2):not(#qmT3) .qm .grid-12>.span-9{grid-column:span 9}html:not(#qmT):not(#qmT2):not(#qmT3) .qm .grid-12>.span-10{grid-column:span 10}
html:not(#qmT):not(#qmT2):not(#qmT3) .qm .grid-12>.span-11{grid-column:span 11}
@media (max-width:767px){html:not(#qmT):not(#qmT2):not(#qmT3) .qm .grid-12{grid-template-columns:minmax(0,1fr)!important}html:not(#qmT):not(#qmT2):not(#qmT3) .qm .grid-12>[class*="span-"]{grid-column:1/-1!important}}

/* ---------- 20. 手机端导航：汉堡按钮原来掉到导航条下面压住正文，收回到右上角 ---------- */
@media (max-width:921px){
  html:not(#qmT):not(#qmT2):not(#qmT3) body #lcn .lcn-bar{grid-template-columns:1fr auto auto auto!important;column-gap:12px!important;padding:0 16px!important}
  html:not(#qmT):not(#qmT2):not(#qmT3) body #lcn .lcn-burger{grid-row:1!important;grid-column:4!important;justify-self:end;align-self:center;margin:0!important;position:static!important}
  html:not(#qmT):not(#qmT2):not(#qmT3) body #lcn .lcn-logo{justify-self:start;grid-column:1!important;grid-row:1!important}
}
/* 手机端悬浮咨询移到右下角，不再压住正文 */
@media (max-width:767px){
  html:not(#qmT):not(#qmT2):not(#qmT3) body .qm-consult{display:none!important} /* 手机端导航栏已有「联系我们」，不再悬浮压住正文 */
}

/* ---------- 21. 洞察页面包屑原来被顶部导航压住，下移到导航下方 ---------- */
html:not(#qmT):not(#qmT2):not(#qmT3) .qi-breadcrumb{position:relative!important;margin-top:76px!important;margin-bottom:24px!important;font-size:12px!important;color:#5C5E62!important}
@media (max-width:921px){html:not(#qmT):not(#qmT2):not(#qmT3) .qi-breadcrumb{margin-top:68px!important}}

/* ======================================================================
 * 22. 案例详情页 · 特斯拉式重排（结构由 tools/tesla-unify/case_rebuild.py 生成）
 * ====================================================================== */
.tc{--tc-pad:clamp(20px,4vw,48px);color:#171A20;background:#fff}
.tc *{box-sizing:border-box}
/* 首屏：全屏图 + 顶部标题 + 底部按钮（首图延伸到透明导航下方） */
html:not(#qmT):not(#qmT2):not(#qmT3) body:has(.tc){padding-top:0!important}
.tc-hero{position:relative;height:100vh;height:100svh;min-height:560px;margin-top:0;overflow:hidden;background:#171A20;
  display:flex;flex-direction:column;justify-content:space-between;align-items:center;text-align:center}
.tc-hero-media,.tc-hero-media img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;display:block;margin:0}
.tc-hero::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.5) 0,rgba(0,0,0,.18) 28%,rgba(0,0,0,0) 46%,rgba(0,0,0,0) 66%,rgba(0,0,0,.38) 100%)}
.tc-hero-copy,.tc-hero-actions{position:relative;z-index:1}
.tc-hero-copy{padding:calc(64px + clamp(48px,9vh,110px)) var(--tc-pad) 0;color:#fff}
.tc-kicker{margin:0 0 10px!important;font-size:14px!important;font-weight:500;letter-spacing:.06em;color:rgba(255,255,255,.86)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body .tc .tc-title{margin:0!important;padding:0!important;font-size:clamp(34px,4.6vw,60px)!important;font-weight:500!important;
  line-height:1.15!important;letter-spacing:-.01em;color:#fff!important;text-align:center;text-shadow:0 1px 24px rgba(0,0,0,.18)}
.tc-hero-actions{display:flex;gap:24px;justify-content:center;flex-wrap:wrap;padding:0 var(--tc-pad) clamp(40px,7vh,72px);width:100%}
.tc-btn{display:inline-flex;align-items:center;justify-content:center;min-width:264px;height:40px;padding:0 24px;border-radius:4px;
  font-size:14px;font-weight:500;letter-spacing:.02em;text-decoration:none!important;transition:background-color .33s cubic-bezier(.5,0,0,.75)}
.tc-btn-primary{background:rgba(23,26,32,.82);color:#fff!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.tc-btn-primary:hover{background:rgba(23,26,32,.95)}
.tc-btn-light{background:rgba(244,244,244,.72);color:#171A20!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.tc-btn-light:hover{background:rgba(244,244,244,.92)}
/* 导语 */
.tc-intro{max-width:880px;margin:0 auto;padding:clamp(72px,10vw,136px) var(--tc-pad)}
.tc-intro p{margin:0!important;font-size:clamp(18px,1.7vw,24px);line-height:1.75;font-weight:400;color:#393C41}
.tc-intro p+p{margin-top:1.1em!important}
/* 画廊：全幅、细缝 */
.tc-gallery{display:flex;flex-direction:column;gap:6px;padding:0 6px}
.tc-row{display:grid;gap:6px}
.tc-cols-1{grid-template-columns:1fr}
.tc-cols-2,.tc-cols-3,.tc-cols-4{grid-template-columns:1fr 1fr}
.tc-cols-3>.tc-fig:first-child{grid-column:1/-1}
.tc-fig{margin:0;overflow:hidden;background:#F4F4F4}
.tc-fig img{display:block;width:100%!important;height:auto!important;max-width:none!important;margin:0}
.tc-row:not(.tc-cols-1) .tc-fig:not(:first-child) img,.tc-cols-2 .tc-fig img,.tc-cols-4 .tc-fig img{aspect-ratio:16/10;object-fit:cover;height:100%!important}
/* 项目说明：标题 | 正文 两栏 */
.tc-specs{padding:clamp(80px,10vw,144px) var(--tc-pad)}
.tc-specs-inner{max-width:1200px;margin:0 auto;border-bottom:1px solid #E2E3E3}
.tc-spec{display:grid;grid-template-columns:minmax(200px,1fr) 2fr;gap:24px clamp(32px,5vw,96px);padding:clamp(32px,4vw,56px) 0;border-top:1px solid #E2E3E3}
html:not(#qmT):not(#qmT2):not(#qmT3) body .tc .tc-spec-title{margin:0!important;font-size:clamp(18px,1.5vw,22px)!important;font-weight:500!important;line-height:1.45!important;color:#171A20!important;letter-spacing:0}
.tc-spec-body p{margin:0!important;font-size:16px;line-height:1.9;color:#393C41;white-space:pre-line}
.tc-spec-body p+p{margin-top:1em!important}
@media (max-width:921px){.tc-hero-copy{padding-top:calc(56px + 56px)}}
@media (max-width:767px){
  .tc-hero{min-height:520px}
  html:not(#qmT):not(#qmT2):not(#qmT3) body .tc .tc-title{font-size:30px!important}
  .tc-hero-actions{flex-direction:column;align-items:center;gap:12px}
  .tc-btn{width:100%;max-width:340px;min-width:0}
  .tc-gallery,.tc-row{gap:4px}.tc-gallery{padding:0 4px}
  .tc-cols-2,.tc-cols-3,.tc-cols-4{grid-template-columns:1fr}
  .tc-spec{grid-template-columns:1fr;gap:12px}
}

/* ======================================================================
 * 23. 文章页 · 特斯拉式阅读版式（结构由 tools/tesla-unify/article_rebuild.py 生成）
 * ====================================================================== */
.ta{--ta-pad:clamp(20px,4vw,48px);background:#fff;color:#171A20}
.ta *{box-sizing:border-box}
.ta-hero{max-width:1040px;margin:0 auto;padding:clamp(72px,9vw,128px) var(--ta-pad) clamp(40px,5vw,64px);text-align:center}
.ta-kicker{margin:0 0 16px!important;font-size:13px;font-weight:500;letter-spacing:.08em;color:#5C5E62}
html:not(#qmT):not(#qmT2):not(#qmT3) body .ta .ta-title{margin:0!important;padding:0!important;font-size:clamp(32px,4.2vw,56px)!important;font-weight:500!important;line-height:1.2!important;letter-spacing:-.01em;color:#171A20!important;text-align:center}
.ta-body{max-width:760px;margin:0 auto;padding:0 var(--ta-pad) clamp(80px,10vw,144px)}
.ta-lead{margin:0 0 clamp(40px,5vw,64px)!important;font-size:clamp(18px,1.6vw,22px);line-height:1.8;color:#393C41}
html:not(#qmT):not(#qmT2):not(#qmT3) body .ta .ta-h2{margin:clamp(56px,6vw,88px) 0 20px!important;font-size:clamp(22px,2vw,28px)!important;font-weight:500!important;line-height:1.4!important;color:#171A20!important}
.ta-p{margin:0 0 1.2em!important;font-size:17px;line-height:1.95;color:#393C41}
.ta-fig{margin:32px calc(-1 * min(160px,(100vw - 760px)/2)) 40px;overflow:hidden;border-radius:4px;background:#F4F4F4}
.ta-fig img{display:block;width:100%!important;height:auto!important;max-width:none!important;margin:0}
.ta-more{margin-top:56px!important;text-align:center}
.tc-btn-solid{background:#3E6AE1;color:#fff!important}.tc-btn-solid:hover{background:#3457B1}
@media (max-width:860px){.ta-fig{margin-left:0;margin-right:0}}
@media (max-width:767px){html:not(#qmT):not(#qmT2):not(#qmT3) body .ta .ta-title{font-size:28px!important}.ta-p{font-size:16px}}

/* ======================================================================
 * 24. 二级/三级子目录内页（insight/* 200 页、product-research/* 200 页、international-projects/concepts/* 20 页）
 * ====================================================================== */
html:not(#qmT):not(#qmT2):not(#qmT3) .qma.qmi.qmi-article{
  --g:#171A20!important;--ink:#171A20!important;--mute:#5C5E62!important;--line:#E2E3E3!important;--bg:#fff!important;--bg2:#F4F4F4!important;--bg3:#F4F4F4!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .qmi.qmi-article .qma-hero.qmi-ah{background:#fff!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .qmi.qmi-article :is(.qmi-take,.qmi-a){background:#F4F4F4!important;border:0!important;border-radius:8px!important}
html:not(#qmT):not(#qmT2):not(#qmT3) #product-research,html:not(#qmT):not(#qmT2):not(#qmT3) #pr-main,html:not(#qmT):not(#qmT2):not(#qmT3) #pr-footer{
  --pr-ink:#171A20!important;--pr-muted:#5C5E62!important;--pr-accent:#171A20!important;--pr-line:#E2E3E3!important}
html:not(#qmT):not(#qmT2):not(#qmT3) #pr-main .pr-primary-link,html:not(#qmT):not(#qmT3) #product-research .pr-more{
  background:#3E6AE1!important;border-color:#3E6AE1!important;color:#fff!important;border-radius:4px!important}
html:not(#qmT):not(#qmT2):not(#qmT3) #product-research .pr-card,html:not(#qmT):not(#qmT2):not(#qmT3) #pr-main .pr-process li,html:not(#qmT):not(#qmT2):not(#qmT3) #pr-main .pr-related a{
  border-radius:8px!important;border-color:#E2E3E3!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body.ic-detail,html:not(#qmT):not(#qmT2):not(#qmT3) .intl-concept-library{background:#fff!important;color:#171A20!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .ic-detail .ic-bottom-cta,html:not(#qmT):not(#qmT2):not(#qmT3) .ic-detail footer{background:#171A20!important;color:#fff!important;border-top-color:rgba(255,255,255,.12)!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .ic-detail .ic-button{background:#3E6AE1!important;border:0!important;color:#fff!important;border-radius:4px!important;min-height:40px;padding:10px 28px!important}
html:not(#qmT):not(#qmT2):not(#qmT3) .ic-disclosure,html:not(#qmT):not(#qmT2):not(#qmT3) .ic-detail .ic-deliverables li{background:#F4F4F4!important;border-left:0!important;border-radius:8px!important;color:#393C41!important}

/* 2026-10-25 案例目录深色首屏：「按业务领域了解创新项目 ↗」的箭头被写死成墨色，压在深底上看不见，改为跟随链接颜色 */
html:not(#qmT):not(#qmT2):not(#qmT3) body #case-catalog .cc-hero-default .cc-project-portal span{color:inherit!important}
/* 2026-10-25 洞察文章：幽灵按钮悬停时底色和字都变成同一个灰，字消失 → 悬停只变字色，底保持透明 */
html:not(#qmT):not(#qmT2):not(#qmT3) body.qm-al .qal-btn-ghost:hover{background-color:transparent!important}
/* 2026-10-25 AI 营销服务页：黑色区块里的蓝色链接被映射成墨色，压在黑底上看不见 → 改浅色 */
html:not(#qmT):not(#qmT2):not(#qmT3) body #am-page.service-premium :is(.am-link,.sp-more-cases>summary,a[href^="tel"]):not(.sp-button){color:#F5F5F7!important}
html:not(#qmT):not(#qmT2):not(#qmT3) body #am-page.service-premium .am-case[aria-selected="true"] .am-link{color:#171A20!important}
/* 2026-10-25 东方雨虹导视案例：深色首屏里的链接悬停变墨色看不见 → 悬停用白色 */
html:not(#qmT):not(#qmT2):not(#qmT3) body #oy-case .oy-hero a:hover{color:#FFFFFF!important}
