/* Namespaced additions: existing page styles, content and QQ controls stay intact. */
.wx-service-icon{display:grid;place-items:center;width:20px;height:20px;color:inherit;flex:none}
.wx-service-icon svg,.wx-service-mark svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.wx-service-icon svg{width:20px;height:20px}
.wx-service-open{cursor:pointer;scroll-margin-top:20px}
.wx-service-standard{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-width:0;min-height:40px;margin:8px 0 0;padding:8px 12px;border:1px solid #cfe8d9;border-radius:8px;background:#eaf6ee;color:#26734e;font:600 13px/1.4 "Microsoft YaHei",sans-serif;box-shadow:none;white-space:nowrap}
.wx-service-standard:hover{background:#dff0e5;border-color:#b9dcc8}
.wx-service-standard:active{background:#d5eadc;transform:translateY(1px)}
.wx-service-open:focus-visible{outline:2px solid currentColor;outline-offset:3px}
/* The host only supplies native selectors such as .contact-card button. It adds no box. */
.wx-service-native-host,.strict-page .contact-card.wx-service-native-host{display:contents!important}
.wx-service-native-host::before,.wx-service-native-host::after{display:none!important}
.wx-service-native-host .wx-service-open.wx-service-theme-button,.strict-page .contact .wx-service-native-host .wx-service-open.wx-service-theme-button{display:flex;align-items:center;justify-content:center;gap:8px;grid-column:1/-1;width:100%;min-width:0;min-height:40px;height:auto;margin:0;padding:8px 12px;white-space:nowrap}
/* 4444 uses the existing 56px utility buttons and their grid, not a separate banner. */
.optimized .tool-grid .tool-button.compact-sub-action.is-wechat-service{margin:0;background:#fffefa;color:#19202b;border-color:#e9e3db}
.optimized .tool-grid .tool-button.compact-sub-action.is-wechat-service .tool-icon{background:#ecf7ef;color:#209267}
.optimized .tool-grid .tool-button.compact-sub-action.is-wechat-service::after{display:none}
@media(prefers-reduced-motion:reduce){.wx-service-open{transform:none!important}}
