/* Huawei frontend contrast + typography lock v1.8.12.5 */
:root{
  --hwc-red:#e60012;
  --hwc-red-dark:#c90010;
  --hwc-red-soft:#fff3f4;
  --hwc-orange:#ff7a00;
  --hwc-navy:#0f2338;
  --hwc-ink:#101828;
  --hwc-text:#344054;
  --hwc-muted:#667085;
  --hwc-line:#e4e7ec;
  --hwc-soft:#f6f8fb;
  --hwc-white:#ffffff;
  --hwc-shadow:0 14px 40px rgba(15,35,56,.08);
  --hwc-shadow-hover:0 22px 54px rgba(15,35,56,.13);
}

/* Typography lock: safe Vietnamese system fonts, no synthetic weights */
body.huawei-site,
body.huawei-site .hw-header,
body.huawei-site .hw-footer,
body.huawei-site .hw-page,
body.huawei-site .hw-showcase-page,
body.huawei-site .hw-function-page,
body.huawei-site .hw-content-shell,
body.huawei-site .hw-system-page,
body.huawei-site .tt-px,
body.huawei-site .tt-px-page,
body.huawei-site .wc-cat-page,
body.huawei-site .hub-page{
  font-family:"Segoe UI",Tahoma,Arial,sans-serif!important;
  font-synthesis:none!important;
  text-rendering:optimizeLegibility!important;
  -webkit-font-smoothing:antialiased!important;
  color:var(--hwc-text)!important;
}
body.huawei-site :where(h1,h2,h3,h4,h5,h6,p,a,span,strong,b,small,label,button,input,select,textarea,li,summary,td,th){
  font-family:"Segoe UI",Tahoma,Arial,sans-serif!important;
  font-synthesis:none!important;
}
body.huawei-site :where(h1,h2,h3,h4,h5,h6){color:var(--hwc-ink)!important;letter-spacing:-.015em!important}
body.huawei-site :where(h1,.hw-hero-title){font-weight:700!important}
body.huawei-site :where(h2,h3,.hw-section-title h2,.hw-function-heading h2,.hw-system-heading h2){font-weight:700!important}
body.huawei-site :where(p,li,small){font-weight:400!important}
body.huawei-site :where(.hw-nav a,.hw-btn,.button,button,strong,b){font-weight:600!important}
body.huawei-site :where(p,li){color:var(--hwc-text)!important}
body.huawei-site :where(.hw-muted,.hw-content-card__meta,.hw-product-card__sku){color:var(--hwc-muted)!important}

/* Header: crisp white surface + clear active state */
body.huawei-site .hw-header{background:rgba(255,255,255,.98)!important;border-bottom:1px solid #e8eaee!important;box-shadow:0 6px 24px rgba(15,35,56,.055)!important}
body.huawei-site .hw-nav a{color:#293442!important;font-size:13px!important}
body.huawei-site .hw-nav a:hover,body.huawei-site .hw-nav a.current-menu-item,body.huawei-site .hw-nav a[aria-current="page"]{color:var(--hwc-red)!important}
body.huawei-site .hw-nav a:after{background:var(--hwc-red)!important}
body.huawei-site .hw-icon-btn{color:#1f2937!important}
body.huawei-site .hw-icon-btn:hover{background:#f3f5f7!important;color:var(--hwc-red)!important}
body.huawei-site .hw-header__cta{background:var(--hwc-red)!important;color:#fff!important;border:1px solid var(--hwc-red)!important;box-shadow:0 8px 18px rgba(230,0,18,.16)!important}
body.huawei-site .hw-header__cta:hover{background:var(--hwc-red-dark)!important;border-color:var(--hwc-red-dark)!important;color:#fff!important}

/* Buttons: strong primary / neutral secondary */
body.huawei-site .hw-btn,body.huawei-site a.hw-btn,
body.huawei-site .tt-px-btn,body.huawei-site .wc-cat-product-btn,body.huawei-site .wc-cat-cta-btn{
  min-height:40px!important;border-radius:11px!important;font-size:12.5px!important;letter-spacing:0!important;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease!important
}
body.huawei-site .hw-btn--red,body.huawei-site .tt-px-btn--primary,body.huawei-site .wc-cat-product-btn{
  background:var(--hwc-red)!important;border-color:var(--hwc-red)!important;color:#fff!important;box-shadow:0 9px 20px rgba(230,0,18,.16)!important
}
body.huawei-site .hw-btn--red:hover,body.huawei-site .tt-px-btn--primary:hover,body.huawei-site .wc-cat-product-btn:hover{
  background:var(--hwc-red-dark)!important;border-color:var(--hwc-red-dark)!important;color:#fff!important;transform:translateY(-2px)!important;box-shadow:0 14px 28px rgba(230,0,18,.22)!important
}
body.huawei-site .hw-btn--outline,body.huawei-site .tt-px-btn--ghost{
  background:#fff!important;border:1px solid #cfd5dc!important;color:#25303c!important;box-shadow:none!important
}
body.huawei-site .hw-btn--outline:hover,body.huawei-site .tt-px-btn--ghost:hover{
  border-color:var(--hwc-red)!important;color:var(--hwc-red)!important;background:var(--hwc-red-soft)!important
}
body.huawei-site .hw-btn--light{background:#fff!important;color:var(--hwc-navy)!important;border:1px solid #fff!important}

/* Functional hero surfaces: brighter, clearly separated from page body */
body.huawei-site :where(.hw-function-hero,.hw-solution-premium-hero,.hw-content-hero){
  background:radial-gradient(circle at 82% 12%,rgba(230,0,18,.08),transparent 24%),linear-gradient(135deg,#fff 0%,#f8fafc 62%,#fff1f3 100%)!important;
  border-bottom:1px solid #e9edf2!important
}
body.huawei-site :where(.hw-function-eyebrow,.hw-kicker,.hw-content-eyebrow,.hw-solution-stage__eyebrow,.hw-knowledge-head__label){color:var(--hwc-red-dark)!important}
body.huawei-site :where(.hw-function-hero p,.hw-solution-premium-heading p,.hw-content-hero p){color:#526170!important}

/* Alternate section rhythm */
body.huawei-site :where(.hw-function-section,.hw-system-section,.hw-knowledge-section,.hw-content-main,.hw-tech-showcase){background:#fff!important}
body.huawei-site :where(.hw-system-section--soft,.hw-knowledge-section--soft,.hw-product-knowledge){background:var(--hwc-soft)!important}
body.huawei-site .hw-knowledge-section{border-top:1px solid #eef1f4!important;border-bottom:1px solid #eef1f4!important}

/* Cards: clear white surfaces on soft backgrounds */
body.huawei-site :where(.hw-tech-card,.hw-support-box,.hw-info-card,.hw-contact-card,.hw-contact-form-card,.hw-knowledge-card,.hw-topic-card,.hw-content-card,.hw-product-card,.hw-check,.hw-process,.hw-checklist-panel,.hw-solution-tab){
  background:#fff!important;border-color:#dfe4ea!important;color:var(--hwc-text)!important
}
body.huawei-site :where(.hw-tech-card,.hw-support-box,.hw-info-card,.hw-contact-card,.hw-contact-form-card,.hw-knowledge-card,.hw-content-card){box-shadow:0 10px 28px rgba(15,35,56,.055)!important}
body.huawei-site :where(.hw-tech-card,.hw-support-box,.hw-info-card,.hw-knowledge-card,.hw-content-card):hover{border-color:#f2a8af!important;box-shadow:var(--hwc-shadow-hover)!important;transform:translateY(-3px)!important}
body.huawei-site :where(.hw-tech-card h3,.hw-support-box h3,.hw-info-card h3,.hw-knowledge-card h3,.hw-content-card h2,.hw-topic-card b){color:var(--hwc-ink)!important}
body.huawei-site :where(.hw-tech-card p,.hw-support-box p,.hw-info-card p,.hw-knowledge-card p,.hw-content-card p,.hw-topic-card small){color:var(--hwc-muted)!important}

/* Icon containers: visible red accent, not pale-on-pale */
body.huawei-site :where(.hw-tech-card__icon,.hw-support-box__icon,.hw-info-icon,.hw-knowledge-card__icon,.hw-empty-state__icon){
  background:#ffe8eb!important;color:var(--hwc-red)!important;border:1px solid #ffcfd4!important
}

/* Solution page */
body.huawei-site .hw-solution-tab{border:1px solid #dfe4ea!important;box-shadow:none!important;color:#344054!important}
body.huawei-site .hw-solution-tab:hover{border-color:#ef9ca4!important;background:#fff8f8!important}
body.huawei-site .hw-solution-tab.is-active{background:var(--hwc-red)!important;border-color:var(--hwc-red)!important;color:#fff!important;box-shadow:0 10px 24px rgba(230,0,18,.18)!important}
body.huawei-site .hw-solution-tab.is-active :where(.hw-solution-tab__index,.hw-solution-tab__title){color:#fff!important}
body.huawei-site .hw-solution-stage{background:#fff!important;border:1px solid #dfe4ea!important;box-shadow:var(--hwc-shadow)!important}
body.huawei-site .hw-solution-stage__copy h2{color:var(--hwc-ink)!important}
body.huawei-site .hw-solution-stage__points li{color:#475467!important}
body.huawei-site .hw-solution-stage__points li:before{background:var(--hwc-red)!important}
body.huawei-site .hw-solution-text-link{color:var(--hwc-red)!important}

/* FAQ / support */
body.huawei-site .hw-faq-clean details{background:#fff!important;border:1px solid #dfe4ea!important}
body.huawei-site .hw-faq-clean summary{color:#25303c!important;background:#fff!important}
body.huawei-site .hw-faq-clean details[open] summary{color:var(--hwc-red)!important;background:#fff7f8!important}
body.huawei-site .hw-support-cta-strip,body.huawei-site .hw-function-cta__inner{
  background:linear-gradient(135deg,var(--hwc-navy) 0%,#153a59 72%,#7d1220 130%)!important;color:#fff!important;border:0!important;box-shadow:0 16px 38px rgba(15,35,56,.16)!important
}
body.huawei-site :where(.hw-support-cta-strip h2,.hw-support-cta-strip p,.hw-function-cta__inner h2,.hw-function-cta__inner p,.hw-function-cta__inner span){color:#fff!important}

/* Forms: clear focus states */
body.huawei-site :where(.hw-help-search input,.hw-contact-form-card input,.hw-contact-form-card textarea,.hw-contact-form-card select,.tt-hwp-form input,.tt-hwp-form textarea,.tt-hwp-form select){
  background:#fff!important;border:1px solid #cfd6de!important;color:#1f2937!important;box-shadow:none!important
}
body.huawei-site :where(.hw-help-search input,.hw-contact-form-card input,.hw-contact-form-card textarea,.hw-contact-form-card select,.tt-hwp-form input,.tt-hwp-form textarea,.tt-hwp-form select):focus{
  border-color:var(--hwc-red)!important;box-shadow:0 0 0 3px rgba(230,0,18,.10)!important;outline:0!important
}

/* News: increase text hierarchy */
body.huawei-site .hw-news-page{background:var(--hwc-soft)!important}
body.huawei-site .hw-content-toolbar{background:#fff!important;border-color:#e6e9ee!important}
body.huawei-site .hw-category-nav a{background:#fff!important;border-color:#dfe4ea!important;color:#475467!important}
body.huawei-site .hw-category-nav a:hover,body.huawei-site .hw-category-nav a.is-active{background:var(--hwc-red)!important;border-color:var(--hwc-red)!important;color:#fff!important}
body.huawei-site .hw-news-featured__main,body.huawei-site .hw-news-featured__side{background:#fff!important;border-color:#dfe4ea!important;box-shadow:var(--hwc-shadow)!important}
body.huawei-site .hw-news-featured__copy small,body.huawei-site .hw-content-card__meta a,body.huawei-site .hw-content-card__read{color:var(--hwc-red-dark)!important}
body.huawei-site .hw-news-featured__copy h2{color:var(--hwc-ink)!important}
body.huawei-site .hw-news-featured__copy p{color:var(--hwc-muted)!important}

/* Home/product groups */
body.huawei-site .hw-product-group{border-color:#dfe4ea!important;box-shadow:0 10px 30px rgba(15,35,56,.055)!important}
body.huawei-site .hw-product-group__head{background-image:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.74)),var(--group-bg)!important}
body.huawei-site .hw-product-group__head h3{color:var(--hwc-ink)!important}
body.huawei-site .hw-product-group__head p{color:#526170!important}
body.huawei-site .hw-product-group__link{color:var(--hwc-red)!important;background:#fff!important;border:1px solid #f1b8be!important}
body.huawei-site .hw-product-card strong{color:#1f2937!important}
body.huawei-site .hw-product-card__price,body.huawei-site .price,body.huawei-site .amount{color:var(--hwc-red)!important}

/* Product detail */
body.huawei-site .tt-px{background:#fff!important;color:var(--hwc-text)!important}
body.huawei-site .tt-px-purchase,body.huawei-site .tt-px-feature-card,body.huawei-site .tt-px-app-card,body.huawei-site .tt-px-spec-layout,body.huawei-site .tt-px-compare-card{background:#fff!important;border-color:#dfe4ea!important;box-shadow:0 10px 30px rgba(15,35,56,.05)!important}
body.huawei-site .tt-px-kicker,body.huawei-site .tt-px-offer-label,body.huawei-site .tt-px-price{color:var(--hwc-red)!important}
body.huawei-site :where(.tt-px-heading,.tt-px-feature-card h3,.tt-px-app-card h3,.tt-px-compare-card h3){color:var(--hwc-ink)!important}

/* Woo category pages also share typography/contrast */
body.huawei-site .wc-cat-page{background:var(--hwc-soft)!important}
body.huawei-site .wc-cat-hero{background:linear-gradient(135deg,#fff,#f7f9fc 70%,#fff2f3)!important;border-bottom:1px solid #e7eaee!important}
body.huawei-site .wc-cat-badge{background:#fff!important;color:#344054!important;border:1px solid #dfe4ea!important}
body.huawei-site .wc-cat-product,body.huawei-site .wc-cat-sub-card{background:#fff!important;border-color:#dfe4ea!important;box-shadow:0 8px 24px rgba(15,35,56,.045)!important}
body.huawei-site .wc-cat-product-title,body.huawei-site .wc-cat-sub-name{color:var(--hwc-ink)!important}
body.huawei-site .wc-cat-product-price{color:var(--hwc-red)!important}
body.huawei-site .wc-cat-cta{background:linear-gradient(135deg,var(--hwc-navy),#17415f)!important;color:#fff!important}
body.huawei-site .wc-cat-cta :where(h2,p){color:#fff!important}
body.huawei-site .wc-cat-cta-btn{background:var(--hwc-red)!important;color:#fff!important;border-color:var(--hwc-red)!important}

/* Footer */
body.huawei-site .hw-footer{background:#0c1c2d!important;color:#d7dee7!important}
body.huawei-site .hw-footer :where(h3,h4,strong,b){color:#fff!important}
body.huawei-site .hw-footer :where(p,li,a,span){color:#c6d0db!important}
body.huawei-site .hw-footer a:hover{color:#fff!important}

@media(max-width:782px){
  body.huawei-site :where(.hw-function-hero,.hw-solution-premium-hero,.hw-content-hero){background:linear-gradient(180deg,#fff 0%,#f8fafc 70%,#fff3f4 100%)!important}
  body.huawei-site .hw-btn,body.huawei-site a.hw-btn{font-size:11.5px!important;min-height:38px!important}
  body.huawei-site .hw-knowledge-card{box-shadow:none!important}
}
