/* Scoped contact/header enhancement. Existing analytics and links remain in the template. */
header.cpc-contact-header{height:auto!important;min-height:var(--cpc-header-height,134px);font-family:Arial,"PingFang TC","Microsoft JhengHei",sans-serif}
header.cpc-contact-header>menu{top:0;left:0;width:100%;padding:0!important;margin:0!important;background:#fff!important;opacity:1!important;box-sizing:border-box;box-shadow:0 1px 0 #dce4ef}
header.cpc-contact-header .cpc-desktop-row{display:grid;grid-template-columns:270px minmax(0,1fr) auto;align-items:center;gap:22px;max-width:1440px;margin:auto;padding:16px 24px;box-sizing:border-box}
header.cpc-contact-header .cpc-desktop-row>.logo{width:100%!important;height:auto!important;max-width:270px;object-fit:contain;margin:0!important}
header.cpc-contact-header .cpc-contacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}
header.cpc-contact-header a.cpc-contact{display:flex!important;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;min-height:62px;padding:9px 8px;border:1px solid #c8dfd0;border-radius:10px;background:#eff8f2;color:#17623d!important;text-decoration:none;cursor:pointer;font-family:Arial,"PingFang TC","Microsoft JhengHei",sans-serif;font-size:0!important;line-height:0!important;letter-spacing:0!important}
/* Keep the original DOM text available to existing ClickText rules. */
header.cpc-contact-header a.cpc-contact *{font-size:0!important;line-height:0!important;padding:0!important;margin:0!important;border:0!important;background:none!important;pointer-events:none!important}
header.cpc-contact-header a.cpc-contact::before{content:attr(data-cpc-label);display:block;font-size:12px;line-height:1.4;white-space:pre;pointer-events:none;text-align:center}
header.cpc-contact-header a.cpc-contact::after{content:attr(data-cpc-number);display:block;font-size:22px;line-height:1.4;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;text-align:center}
header.cpc-contact-header a.cpc-phone{background:#9e4b45!important;border-color:#9e4b45!important;color:#fff!important}
header.cpc-contact-header .cpc-tools{display:flex;gap:8px;align-items:center;margin:0;padding:0;list-style:none}
header.cpc-contact-header .cpc-tools>li.flex{display:flex;align-items:center;gap:8px;cursor:pointer;margin:0}
header.cpc-contact-header .cpc-tools .zh-en{display:flex;align-items:center;justify-content:center;min-width:53px;min-height:42px;padding:7px 8px;border:1px solid #d1dbe9;border-radius:7px;color:#192e62;white-space:nowrap;font-size:13px;line-height:1.3;box-sizing:border-box;cursor:pointer}
header.cpc-contact-header .cpc-tools .f{width:25px!important;height:25px!important;object-fit:contain;margin:0!important;cursor:pointer}
header.cpc-contact-header .cpc-tools .collaspe{display:flex;align-items:center;justify-content:center;width:42px;height:42px;cursor:pointer}
header.cpc-contact-header .cpc-tools .collaspe-icon{width:24px!important;height:22px!important;object-fit:contain;margin:0!important}
header.cpc-contact-header .cpc-utility{display:flex;justify-content:flex-end;align-items:center;gap:28px;max-width:1440px;margin:0 auto;padding:0 24px 5px;list-style:none;box-sizing:border-box;min-height:38px}
header.cpc-contact-header .cpc-utility li{display:block!important;margin:0!important}
header.cpc-contact-header .cpc-utility a{display:inline-flex;align-items:center;gap:8px;min-height:33px;font-size:15px;line-height:1.4;color:#192e62;white-space:nowrap}
header.cpc-contact-header .cpc-utility img{width:20px!important;height:20px!important;object-fit:contain;padding:0!important}
header.cpc-contact-header.cpc-is-compact .cpc-desktop-row{padding-top:10px;padding-bottom:10px}
header.cpc-contact-header.cpc-is-compact .cpc-utility{display:none!important}
header.cpc-contact-header .cpc-mobile-dock{display:none}
header.cpc-contact-header a.cpc-contact:focus-visible{outline:3px solid #82b7e5;outline-offset:3px}
@media(min-width:768px) and (max-width:1200px){
 header.cpc-contact-header .cpc-desktop-row{grid-template-columns:190px minmax(0,1fr) auto;gap:12px;padding-left:16px;padding-right:16px}
 header.cpc-contact-header .cpc-contacts{gap:7px}
 header.cpc-contact-header .cpc-tools,header.cpc-contact-header .cpc-tools>li.flex{gap:5px}
 header.cpc-contact-header a.cpc-contact::before{content:attr(data-cpc-compact-label);font-size:11px;line-height:1.25}
 header.cpc-contact-header a.cpc-contact::after{font-size:18px}
 header.cpc-contact-header .cpc-tools .f{width:22px!important;height:22px!important}
}
@media(max-width:767px){
 body.cpc-has-mobile-dock{padding-bottom:calc(104px + env(safe-area-inset-bottom))!important}
 header.cpc-contact-header{min-height:var(--cpc-header-height,72px)}
 header.cpc-contact-header .cpc-desktop{display:none!important}
 header.cpc-contact-header .mobile-menu{position:static!important;width:100%!important;padding:13px 14px!important;opacity:1!important;box-sizing:border-box;display:flex!important;align-items:center;justify-content:space-between;gap:8px}
 header.cpc-contact-header .mobile-menu>.row{margin:0!important;display:flex!important;width:auto!important}
 header.cpc-contact-header .mobile-menu>.row:first-child{min-width:0;flex:1}
 header.cpc-contact-header .mobile-menu .left{width:auto!important;min-width:0}
 header.cpc-contact-header .mobile-menu .logo{width:235px!important;max-width:100%!important;height:auto!important;object-fit:contain}
 header.cpc-contact-header .mobile-menu>.row.toggle{display:flex!important;flex:0 0 auto}
 header.cpc-contact-header .mobile-menu .flex-right{display:flex;align-items:center;gap:8px;margin:0!important}
 header.cpc-contact-header .mobile-menu .zh-en{min-height:40px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:6px;border:1px solid #d1dbe9;border-radius:7px;font-size:12px;line-height:1.3;white-space:nowrap}
 header.cpc-contact-header .mobile-menu .collaspe-icon{width:24px!important;height:22px!important;object-fit:contain;margin:0 3px!important}
 header.cpc-contact-header .cpc-mobile-dock{display:grid!important;position:fixed;left:0;right:0;bottom:0;z-index:999;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px 8px calc(12px + env(safe-area-inset-bottom));box-sizing:border-box;background:#fff;border-top:1px solid #d7e0ec;box-shadow:0 -3px 15px #192e6210}
 header.cpc-contact-header .cpc-mobile-dock a.cpc-contact{min-height:76px;padding:7px 2px;border-radius:9px}
 header.cpc-contact-header .cpc-mobile-dock a.cpc-contact::before{content:attr(data-cpc-mobile-label);font-size:12px;line-height:1.4}
 header.cpc-contact-header .cpc-mobile-dock a.cpc-contact::after{font-size:16px;line-height:1.4}
 body.cpc-has-mobile-dock .fix-right{bottom:calc(116px + env(safe-area-inset-bottom))!important}
}
