/* Australian Product Guide Brand System v46.8 — final legacy-colour cleanup
 * Current visual authority: blue/navy APG system across all standard UI.
 * Green is reserved for genuine semantic success states only.
 * The maintained Australian research proof band remains the sole approved yellow/gold
 * heritage exception and is applied by brand-system-v46-research-proof.css after this file.
 */

/* Mobile Decision Lab / Scout quick actions: retire historical teal gradient. */
body[data-brand-system-v46="true"] .mobile-power.apg-v325-decision-mobile,
body[data-brand-system-v46="true"] .mobile-power.apg-v324-decision-mobile,
body[data-brand-system-v46="true"] .mobile-power.apg-v26-scout-mobile,
body[data-brand-system-v46="true"] .mobile-power.apg-v325-scout-mobile,
body[data-brand-system-v46="true"] .mobile-power.apg-v324-scout-mobile{
  background:linear-gradient(135deg,#0F172A 0%,#172554 48%,#1D4ED8 100%)!important;
  border-color:#1E3A8A!important;
  color:#FFFFFF!important;
  box-shadow:0 10px 24px rgba(15,23,42,.14)!important;
}
body[data-brand-system-v46="true"] .mobile-power.apg-v325-decision-mobile:hover,
body[data-brand-system-v46="true"] .mobile-power.apg-v324-decision-mobile:hover,
body[data-brand-system-v46="true"] .mobile-power.apg-v26-scout-mobile:hover,
body[data-brand-system-v46="true"] .mobile-power.apg-v325-scout-mobile:hover,
body[data-brand-system-v46="true"] .mobile-power.apg-v324-scout-mobile:hover{
  background:linear-gradient(135deg,#172554 0%,#1D4ED8 100%)!important;
  color:#FFFFFF!important;
}

/* Homepage decision panel: replace historical gold label with blue-on-navy language. */
body[data-brand-system-v46="true"] .apg-home-panel-label-v9,
body[data-brand-system-v46="true"][data-institutional-v9="true"] .institutional-home-v9 .apg-home-decision-panel-v9 .apg-home-panel-label-v9{
  background:rgba(37,99,235,.20)!important;
  background-color:rgba(37,99,235,.20)!important;
  border-color:rgba(147,197,253,.42)!important;
  color:#DBEAFE!important;
  text-shadow:none!important;
}

/* The old v9 gold trust CTA is no longer a second yellow brand surface. */
body[data-brand-system-v46="true"] .apg-home-gold-button-v9,
body[data-brand-system-v46="true"][data-institutional-v9="true"] .institutional-home-v9 .apg-home-trust-v9 .apg-home-gold-button-v9{
  background:#2563EB!important;
  border-color:#2563EB!important;
  color:#FFFFFF!important;
  box-shadow:0 8px 20px rgba(37,99,235,.20)!important;
}
body[data-brand-system-v46="true"] .apg-home-gold-button-v9:hover,
body[data-brand-system-v46="true"] .apg-home-gold-button-v9:focus-visible,
body[data-brand-system-v46="true"][data-institutional-v9="true"] .institutional-home-v9 .apg-home-trust-v9 .apg-home-gold-button-v9:hover,
body[data-brand-system-v46="true"][data-institutional-v9="true"] .institutional-home-v9 .apg-home-trust-v9 .apg-home-gold-button-v9:focus-visible{
  background:#1D4ED8!important;
  border-color:#1D4ED8!important;
  color:#FFFFFF!important;
}

/* Homepage "What are you trying to improve?": decision-link accents use APG blue. */
body[data-brand-system-v46="true"] .apg-v12-copy b{
  color:#2563EB!important;
}
body[data-brand-system-v46="true"] .apg-v12-card:hover .apg-v12-copy b,
body[data-brand-system-v46="true"] .apg-v12-card:focus-within .apg-v12-copy b{
  color:#1D4ED8!important;
}

/* Homepage Major Australian Buying Decisions: force the resting card evidence label
 * and maintained-model CTA to the APG blue system. These selectors deliberately
 * outrank the historical national-experience teal rules. */
body[data-brand-system-v46="true"] .apg-national-v10 .apg-national-grid .apg-national-card>span,
body[data-brand-system-v46="true"] .apg-national-v10 .apg-national-grid .apg-national-card>b{
  color:#2563EB!important;
}
body[data-brand-system-v46="true"] .apg-national-v10 .apg-national-grid .apg-national-card:hover>span,
body[data-brand-system-v46="true"] .apg-national-v10 .apg-national-grid .apg-national-card:hover>b,
body[data-brand-system-v46="true"] .apg-national-v10 .apg-national-grid .apg-national-card:focus-visible>span,
body[data-brand-system-v46="true"] .apg-national-v10 .apg-national-grid .apg-national-card:focus-visible>b{
  color:#1D4ED8!important;
}

/* Search/autocomplete previews: remove residual green/teal from all search surfaces. */
body[data-brand-system-v46="true"] .search-suggestions{
  border-color:#BFDBFE!important;
}
body[data-brand-system-v46="true"] .search-suggestions .suggest-label{
  color:#1D4ED8!important;
  background:#EFF6FF!important;
}
body[data-brand-system-v46="true"] .search-suggestions .suggest-thumb,
body[data-brand-system-v46="true"] .search-suggestions .suggest-thumb[class*="type-"]{
  color:#2563EB!important;
  background:#EFF6FF!important;
  border-color:#BFDBFE!important;
}
body[data-brand-system-v46="true"] .search-suggestions .suggest-item{
  color:#0F172A!important;
  background:#FFFFFF!important;
}
body[data-brand-system-v46="true"] .search-suggestions .suggest-item:hover,
body[data-brand-system-v46="true"] .search-suggestions .suggest-item.active{
  color:#0F172A!important;
  background:#EFF6FF!important;
  box-shadow:inset 3px 0 0 #2563EB!important;
}
body[data-brand-system-v46="true"] .search-suggestions .suggest-item>span:last-child{
  color:#2563EB!important;
}
body[data-brand-system-v46="true"] .search-suggestions .suggest-item small{
  color:#64748B!important;
}

/* v46.8 interaction-state convergence.
 * Clickable/hover/focus treatments use APG blue. Green remains available only to
 * semantic success/status UI and is deliberately not targeted by these selectors. */
body[data-brand-system-v46="true"] .apg-v12-foot{
  background:#EFF6FF!important;
  border-color:#BFDBFE!important;
  color:#334155!important;
}
body[data-brand-system-v46="true"] .apg-v12-foot strong{
  color:#0F172A!important;
}
body[data-brand-system-v46="true"] .apg-v12-foot .button.secondary{
  background:#FFFFFF!important;
  border-color:#BFDBFE!important;
  color:#0F172A!important;
}
body[data-brand-system-v46="true"] .apg-v12-foot .button.secondary:hover,
body[data-brand-system-v46="true"] .apg-v12-foot .button.secondary:focus-visible{
  background:#DBEAFE!important;
  border-color:#93C5FD!important;
  color:#1D4ED8!important;
}
body[data-brand-system-v46="true"] .apg-v12-head>a{
  color:#2563EB!important;
}
body[data-brand-system-v46="true"] .apg-v12-head>a:hover,
body[data-brand-system-v46="true"] .apg-v12-head>a:focus-visible{
  color:#1D4ED8!important;
  text-decoration-color:rgba(37,99,235,.45)!important;
}
body[data-brand-system-v46="true"] .apg-v12-filter button[aria-pressed="true"]{
  background:#2563EB!important;
  border-color:#2563EB!important;
  color:#FFFFFF!important;
}
body[data-brand-system-v46="true"] .apg-v12-filter button:not([aria-pressed="true"]):hover,
body[data-brand-system-v46="true"] .apg-v12-filter button:not([aria-pressed="true"]):focus-visible{
  background:#EFF6FF!important;
  border-color:#93C5FD!important;
  color:#1D4ED8!important;
}
body[data-brand-system-v46="true"] .apg-v12-card>a:hover,
body[data-brand-system-v46="true"] .apg-v12-card>a:focus-visible{
  border-color:#93C5FD!important;
  box-shadow:0 18px 42px rgba(37,99,235,.12)!important;
}
body[data-brand-system-v46="true"] .apg-v12-catalogue>button:hover,
body[data-brand-system-v46="true"] .apg-v12-catalogue>button:focus-visible,
body[data-brand-system-v46="true"] .apg-v12-page-links a:hover,
body[data-brand-system-v46="true"] .apg-v12-page-links a:focus-visible{
  background:#EFF6FF!important;
  border-color:#93C5FD!important;
  color:#1D4ED8!important;
}

/* Legacy navigation/search shells still exist beneath the current brand layer. */
body[data-brand-system-v46="true"] .global-search:focus-within{
  border-color:#2563EB!important;
  box-shadow:0 0 0 4px rgba(37,99,235,.12),0 8px 24px rgba(15,23,42,.08)!important;
}
body[data-brand-system-v46="true"] .header-action:hover,
body[data-brand-system-v46="true"] .header-action:focus-visible,
body[data-brand-system-v46="true"] .nav-inner>a:hover,
body[data-brand-system-v46="true"] .nav-inner>a:focus-visible,
body[data-brand-system-v46="true"] .nav-trigger:hover,
body[data-brand-system-v46="true"] .nav-trigger:focus-visible,
body[data-brand-system-v46="true"] .nav-inner>a[aria-current="page"],
body[data-brand-system-v46="true"] .mega-group a:hover,
body[data-brand-system-v46="true"] .mega-group a:focus-visible{
  background:#EFF6FF!important;
  color:#1D4ED8!important;
}
body[data-brand-system-v46="true"] .mega-group:hover{
  background:#F8FAFC!important;
}

/* Common clickable cards/tiles: blue interaction cues without tinting product imagery. */
body[data-brand-system-v46="true"] :is(.category-card,.product-card,.comparison-card):hover,
body[data-brand-system-v46="true"] :is(.category-card,.product-card,.comparison-card):focus-within{
  border-color:#93C5FD!important;
}
body[data-brand-system-v46="true"] :is(.need-card,.finder-launch,.editorial-card,.apg-national-card):hover,
body[data-brand-system-v46="true"] :is(.need-card,.finder-launch,.editorial-card,.apg-national-card):focus-visible{
  background:#EFF6FF!important;
  border-color:#93C5FD!important;
}
body[data-brand-system-v46="true"] main a:not(.button):not([data-affiliate-link]):hover,
body[data-brand-system-v46="true"] main a:not(.button):not([data-affiliate-link]):focus-visible{
  color:#1D4ED8!important;
  text-decoration-color:rgba(37,99,235,.45)!important;
}
