/* Final shared color layer. Existing layout, role labels and behavior are preserved. */
:root { color-scheme: dark; }
body { background-color:var(--tap-navy);color:var(--tap-ice); }
body.customer-page { background:var(--tap-navy); }
.site-header,.customer-page .header,.customer-page>header,.topbar,.sidebar {
 background:var(--tap-navy);box-shadow:none;
}
.card,.panel,.modal-card,.home-page dialog,.customer-page dialog,
.customer-page .card,.customer-page .activation-card,.customer-page .status-card,
.customer-page .product-card,.customer-page .workforce-card {
 background:var(--tap-graphite);border-color:var(--tap-border);box-shadow:none;
}
a { text-underline-offset:.2em; }
button,.button,.button-primary,.button-link.primary,.primary-button,.submit-button,
.customer-page button[type=submit],.customer-page .destination-save,
.customer-page .button-primary,.customer-page .button-link.primary,
.customer-page .primary-button,.customer-page .submit-button,.site-header .account-entry {
 background:var(--tap-blue);color:var(--tap-white);border-color:var(--tap-blue);box-shadow:none;
}
button:hover,.button:hover,.customer-page button[type=submit]:hover {
 background:var(--tap-navy);color:var(--tap-white);border-color:var(--tap-ice);
}
button.secondary,.button.secondary,.button.quiet,.text-link,
button.text-link,.customer-page .destination-button {
 background:transparent;color:var(--tap-ice);border-color:var(--tap-border);
}
:is(button,.button,input,select,textarea,a,summary):focus-visible {
 outline:3px solid var(--tap-focus);outline-offset:3px;box-shadow:none;
}
:is(button,.button,input,select,textarea):disabled {
 opacity:.65;cursor:not-allowed;box-shadow:none;
}
input:not([type=checkbox]):not([type=radio]),select,textarea,
.customer-page input:not([type=checkbox]),.customer-page select,.customer-page textarea {
 background:var(--tap-navy);color:var(--tap-white);border-color:var(--tap-border);
}
input::placeholder,textarea::placeholder { color:var(--tap-muted);opacity:1; }
.customer-page .destination-button.selected,.customer-page .destination-button.active,
.customer-page .service-tab.active,.nav a.active {
 background:var(--tap-teal);color:var(--tap-navy);border-color:var(--tap-teal);
}
.message.success,.success-message,.status.active { color:var(--tap-ice);background:var(--tap-navy);border-color:var(--tap-teal); }
.message.error,.error-message,.alert-error,.status.suspended,.status.revoked {
 color:var(--tap-error-text);background:var(--tap-error-bg);border:1px dashed var(--tap-error-border);
}
.home-page .hero-shade { background:linear-gradient(90deg,var(--tap-navy),transparent); }
.home-page .hero h1,.home-page h2,.home-page h3 {text-shadow:none;}
.home-page .feature-icon {box-shadow:none;color:var(--tap-ice);}
@media(max-width:760px){
 .home-page .hero-shade {background:linear-gradient(180deg,var(--tap-navy) 0%,var(--tap-navy-a90) 42%,transparent 100%);}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;}}

/* MV-BRAND-002 composition correction: approximately 60% Ice/white,
   25% Blue, 10% Navy, 5% Teal. Customer-facing surfaces only.
   Percentages describe visual hierarchy, not a pixel-count guarantee. */
body.home-page,body.customer-page {
 color-scheme:light;
 --text:var(--tap-navy);--muted:var(--tap-ink-muted);
 --tap-muted:var(--tap-ink-muted);--tap-text:var(--tap-navy);
 --tap-surface:var(--tap-white);--tap-surface-raised:var(--tap-ice);
 --tap-focus:var(--tap-blue);
 background:var(--tap-ice);color:var(--tap-navy);
}
.home-page :is(h1,h2,h3,label,summary,.option-copy,.option-arrow,.eyebrow,.section-kicker),
.customer-page :is(h1,h2,h3,label,.device-code,.eyebrow,.badge,.module-label,.product-detail-value a) {color:var(--tap-navy);}
.home-page :is(p,.option-copy small),.customer-page :is(.intro,.subtitle,.helper,.hint){color:var(--tap-ink-muted);}
.home-page :is(.glass,.product-card,.plan),.home-page dialog,
.customer-page :is(.card,.activation-card,.status-card,.product-card,.workforce-card,dialog){
 background:var(--tap-white);color:var(--tap-navy);border-color:var(--tap-navy-a16);
 box-shadow:0 8px 24px var(--tap-navy-a8);
}
.home-page .text-link,.home-page .close-button,.home-page dialog :is(summary,.steps li),
.customer-page :is(.destination-button,.button.secondary,.button-link,.home-link){color:var(--tap-blue);background:transparent;}
.home-page .feature-icon,.home-page .option-arrow{color:var(--tap-blue);}
.home-page .feature-icon.circle{background:var(--tap-ice);border-color:var(--tap-navy-a16);}
.home-page .support-centre .utility-grid>*{background:var(--tap-white);border-color:var(--tap-navy-a16);box-shadow:none;}
.home-page .support-centre .utility-grid>*:hover{background:var(--tap-ice);border-color:var(--tap-blue);}
.home-page .utility-grid>*:hover .option-copy>span{color:var(--tap-blue);}
.home-page dialog :is(.steps li,details){background:var(--tap-ice);border-color:var(--tap-navy-a16);}
.home-page dialog .steps li::before{background:var(--tap-blue);color:var(--tap-white);}
.home-page .card-photo .status{background:var(--tap-blue);color:var(--tap-white);border-color:var(--tap-blue);}
.home-page .plan p.plan-subtitle{color:var(--tap-navy);}
.home-page .hero{background:var(--tap-ice);}
.home-page .hero h1{color:var(--tap-navy);}
.home-page .hero-description{color:var(--tap-ink-muted);}
.home-page .hero .text-link{color:var(--tap-blue);}
.home-page .hero-shade{background:linear-gradient(90deg,var(--tap-ice) 0%,rgba(237,244,247,.96) 30%,rgba(237,244,247,.58) 49%,rgba(237,244,247,0) 70%);}
.home-page .hero::after{background:linear-gradient(180deg,rgba(237,244,247,0),var(--tap-ice));height:120px;}
.home-page .image-note{color:var(--tap-navy);}
/* Navy supports the existing white provisional wordmark until Marketing supplies a flat master. */
.home-page .site-header,.home-page .footer,.customer-page .header,.customer-page>header{
 --tap-muted:#C0C9D0;--tap-focus:var(--tap-ice);
 background:var(--tap-navy);color:var(--tap-ice);
}
.home-page .site-header :is(a,.customer-language-visual),
.home-page .footer :is(h3,p,a,button,.feature-icon),
.customer-page :is(.header,header) :is(a,.customer-language-visual){color:var(--tap-ice);}
.home-page .site-header .customer-language-visual,
.customer-page :is(.header,header) .customer-language-visual{background:var(--tap-navy);}
.home-page .site-header .account-entry{background:var(--tap-blue);color:var(--tap-white);}
.home-page .quick-links{background:var(--tap-blue);border-color:var(--tap-blue);box-shadow:none;}
.home-page .quick-links :is(.option-copy,.option-copy small,.feature-icon,.option-arrow){color:var(--tap-white);}
.home-page .quick-links>a+a{border-color:var(--tap-ice-a32);}
.home-page .pro{background:var(--tap-blue);border-color:var(--tap-blue);}
.home-page .pro :is(h3,p,.feature-icon,.text-link){color:var(--tap-white);}
.home-page .pro .feature-icon.circle{background:transparent;border-color:var(--tap-ice-a32);}
.home-page .pro .button{background:var(--tap-white);color:var(--tap-blue);border-color:var(--tap-white);}
.customer-page input:not([type=checkbox]):not([type=radio]),.customer-page select,.customer-page textarea{
 background:var(--tap-white);color:var(--tap-navy);border-color:var(--tap-border);
}
.customer-page input:focus,.customer-page select:focus,.customer-page textarea:focus{outline:2px solid var(--tap-blue);border-color:var(--tap-blue);}
.customer-page .destination-button{background:var(--tap-white);color:var(--tap-blue);}
.customer-page .destination-button.selected,.customer-page .destination-button.active,
.customer-page .service-tab.active{background:var(--tap-teal);color:var(--tap-navy);border-color:var(--tap-teal);}
.customer-page :is(.eyebrow,.badge,.device-box,.service-switch,.product-destination){background:var(--tap-ice);border-color:var(--tap-navy-a16);}
.customer-page .customer-language-visual{background:var(--tap-white);color:var(--tap-navy);}
.customer-page .product-status,.customer-page .workforce-status{color:var(--tap-blue);background:var(--tap-ice);}
.customer-page :is(button[type=submit],.submit-button,.primary-button,.button-primary,.button-link.primary,.destination-save){background:var(--tap-blue);color:var(--tap-white);border-color:var(--tap-blue);}
.customer-page :is(button[type=submit],.submit-button,.primary-button):hover{background:var(--tap-navy);color:var(--tap-white);}
@media(max-width:760px){
 .home-page .hero-shade{background:linear-gradient(180deg,var(--tap-ice) 0%,rgba(237,244,247,.98) 38%,rgba(237,244,247,.88) 62%,rgba(237,244,247,.24) 100%);}
}
/* Contrast follow-up from deployed preview review. */
.home-page{--eyebrow-ink:var(--tap-blue);}
.home-page .quick-links>a>span:last-child{color:var(--tap-white);}
.customer-page a{color:var(--tap-blue);}
.customer-page :is(.header,header) a{color:var(--tap-ice);}

/* Customer light-theme review: retain logo contrast outside navigation headers. */
.customer-page main>.brand{background:var(--tap-navy);padding:12px 18px;border-radius:14px;}
.home-page dialog details[open] summary{background:var(--tap-ice);color:var(--tap-blue);border-bottom-color:var(--tap-navy-a16);}
.customer-page label>.helper{margin-inline-start:.3em;}
.customer-page .service-tab-icon{color:var(--tap-navy);background:var(--tap-teal-a16);}

/* Authenticated customer portal: readable light surfaces and quieter navigation. */
.customer-page .destination-summary,
.customer-page .product-technical-details[open] summary,
.customer-page .workforce-preview strong{color:var(--tap-navy);}
.customer-page :is(.destination-kicker,.product-detail-label,.destination-helper,.workforce-preview span){color:var(--tap-ink-muted);}
.customer-page :is(.product-technical-details,.destination-form){border-color:var(--tap-navy-a16);}
.customer-page :is(.edit-destination-button,.destination-cancel){
 background:var(--tap-white);color:var(--tap-blue);border-color:var(--tap-blue);
}
.customer-page :is(.edit-destination-button,.destination-cancel):hover{
 background:var(--tap-ice);color:var(--tap-navy);border-color:var(--tap-blue);
}
.customer-page .header-actions a[href="/claim-product.html"]{
 background:var(--tap-blue);color:var(--tap-white);border-color:var(--tap-blue);
}
.customer-page .header-actions a[href="/claim-product.html"]:hover{background:var(--tap-blue-a64);}
.customer-page .sign-out-button{background:transparent;color:var(--tap-ice);border-color:var(--tap-ice-a32);}
.customer-page .sign-out-button:hover{background:var(--tap-white-a8);border-color:var(--tap-ice);}
.customer-page .service-switch{
 background:transparent;border-color:var(--tap-navy-a16);box-shadow:none;
}
.customer-page .service-tab{
 background:transparent;color:var(--tap-ink-muted);border-color:transparent;transform:none;
}
.customer-page .service-tab:hover{background:var(--tap-white);color:var(--tap-blue);transform:none;}
.customer-page .service-tab.active{
 background:var(--tap-white);color:var(--tap-blue);border-color:var(--tap-blue);
 box-shadow:0 2px 8px var(--tap-navy-a8);
}
.customer-page .service-tab-icon{background:var(--tap-ice);color:var(--tap-ink-muted);}
.customer-page .service-tab.active .service-tab-icon{background:var(--tap-teal-a16);color:var(--tap-navy);}
.customer-page .workforce-preview{background:var(--tap-ice);border-color:var(--tap-navy-a16);}
.customer-page main :is(a,button,summary):focus-visible{outline:2px solid var(--tap-blue);outline-offset:4px;}

/* One aligned customer header, including the dynamically mounted language control. */
.customer-page .customer-header-row{
 display:flex;align-items:center;justify-content:space-between;gap:24px;
 width:100%;max-width:1280px;margin-inline:auto;min-height:88px;padding:16px 32px;
}
.customer-page header.customer-header-row{max-width:none;padding-inline:max(24px,calc((100% - 1216px)/2));}
.customer-page .customer-header-row .header-actions{
 display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-left:auto;flex-wrap:wrap;
}
.customer-page .customer-header-row .header-actions>a{
 display:inline-flex;align-items:center;justify-content:center;min-height:44px;
 padding:10px 14px;line-height:1.25;text-align:center;text-decoration:none;
}
.customer-page .customer-header-row .home-link{border-radius:12px;background:transparent;}
.customer-page .customer-header-row .home-link:hover{background:var(--tap-white-a8);}
.customer-page .customer-header-row .customer-language{margin:0;}
.home-page .site-header nav{margin-inline:auto;justify-content:center;gap:clamp(12px,1.4vw,24px);}
.home-page .site-header nav a{white-space:nowrap;}
.home-page .customer-language-visual,.customer-page .customer-language-visual{
 height:40px;border-radius:12px;border:1px solid var(--tap-blue-a32);
 box-shadow:inset 0 1px 0 var(--tap-white-a8);gap:7px;letter-spacing:.07em;
}
.home-page .customer-language-chevron,.customer-page .customer-language-chevron{display:flex;align-items:center;}
.home-page .customer-language-chevron svg,.customer-page .customer-language-chevron svg{width:12px;height:12px;}
.home-page .customer-language:hover .customer-language-visual,
.customer-page .customer-language:hover .customer-language-visual{border-color:var(--tap-teal);}
@media(max-width:600px){
 .customer-page .customer-header-row{padding:12px 16px;gap:12px;min-height:76px;}
 .customer-page header.customer-header-row{padding-inline:16px;}
 .customer-page .customer-header-row .customer-logo{width:112px;}
 .customer-page .customer-header-row .header-actions{gap:8px;flex:1;}
 .customer-page .customer-header-row .header-actions>a{font-size:12px;padding-inline:8px;}
 .customer-page .customer-header-row .customer-language{width:72px;}
}

/* Customer support: one heading rhythm and three equally weighted actions. */
.home-page .support-centre{
 padding:40px 0 12px;background:transparent;box-shadow:none;border:0;
}
.home-page .support-centre .section-heading{
 text-align:center;max-width:640px;margin:0 auto 28px;padding:0 16px;
}
.home-page .support-centre .section-heading h2{text-align:center;}
.home-page .support-centre .section-intro{margin:12px 0 0;line-height:1.6;}
.home-page .support-centre .utility-grid{
 grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;
}
.home-page .support-centre .utility-grid>*{
 grid-template-columns:48px minmax(0,1fr) 18px;gap:16px;
 width:100%;min-width:0;min-height:144px;padding:24px;
 border:1px solid var(--tap-navy-a16);border-radius:20px;
 font-family:inherit;text-align:left;cursor:pointer;
}
.home-page .support-centre .utility-grid .feature-icon.circle{
 width:48px;height:48px;flex-basis:48px;border-radius:16px;
 color:var(--tap-blue);background:var(--tap-ice);border:1px solid var(--tap-blue-a16);box-shadow:none;
}
.home-page .support-centre .utility-grid .option-copy{min-width:0;gap:7px;font-size:16px;line-height:1.35;}
.home-page .support-centre .utility-grid .option-copy small{font-size:13px;line-height:1.55;}
.home-page .support-centre .utility-grid .option-arrow{min-width:0;color:var(--tap-blue);}
.home-page .support-centre .utility-grid>*:focus-visible{outline:2px solid var(--tap-blue);outline-offset:4px;}
@media(min-width:901px) and (max-width:1100px){
 .home-page .support-centre .utility-grid>*{padding:20px 16px;gap:12px;grid-template-columns:40px minmax(0,1fr) 16px;}
 .home-page .support-centre .utility-grid .feature-icon.circle{width:40px;height:40px;}
}
@media(max-width:900px){
 .home-page .support-centre .utility-grid{grid-template-columns:1fr;gap:14px;}
 .home-page .support-centre .utility-grid>*{min-height:112px;padding:22px;}
}
@media(max-width:400px){
 .home-page .support-centre .utility-grid>*{padding:20px 16px;gap:12px;grid-template-columns:40px minmax(0,1fr) 16px;}
 .home-page .support-centre .utility-grid .feature-icon.circle{width:40px;height:40px;}
}
