
/* APG Premium Search v76.1 — unified input cascade correction */
html body[data-surface-v22="true"] form.global-search > input[type="search"][data-site-search][name="q"],
html body form.global-search > input[type="search"][data-site-search][name="q"]{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0 8px!important;
  border-width:0!important;
  border-style:none!important;
  border-color:transparent!important;
  border-radius:0!important;
  outline:0!important;
  outline-offset:0!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  color:var(--apg-search-navy,#0F172A)!important;
}
html body[data-surface-v22="true"] form.global-search > input[type="search"][data-site-search][name="q"]:focus,
html body[data-surface-v22="true"] form.global-search > input[type="search"][data-site-search][name="q"]:focus-visible,
html body form.global-search > input[type="search"][data-site-search][name="q"]:focus,
html body form.global-search > input[type="search"][data-site-search][name="q"]:focus-visible{
  border-width:0!important;
  border-style:none!important;
  border-color:transparent!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
}
html body form.global-search > input[type="search"][data-site-search][name="q"]::-webkit-search-decoration,
html body form.global-search > input[type="search"][data-site-search][name="q"]::-webkit-search-cancel-button,
html body form.global-search > input[type="search"][data-site-search][name="q"]::-webkit-search-results-button,
html body form.global-search > input[type="search"][data-site-search][name="q"]::-webkit-search-results-decoration{
  -webkit-appearance:none!important;
}

/* Keep the field and button balanced on narrow Australian mobile viewports. */
@media(max-width:920px){
  html body form.global-search{
    gap:0!important;
  }
  html body form.global-search > svg{
    margin-left:8px!important;
    margin-right:5px!important;
  }
  html body[data-surface-v22="true"] form.global-search > input[type="search"][data-site-search][name="q"]{
    flex:1 1 0%!important;
    width:0!important;
    min-width:0!important;
    min-height:46px!important;
    padding:0 5px!important;
    font-size:16px!important;
    line-height:1.25!important;
  }
  html body .apg-home-search-v9 > button[type="submit"],
  html body .apg-mobile-v8 .apg-mobile-search > button[type="submit"]{
    min-width:90px!important;
    min-height:46px!important;
    padding-inline:13px!important;
    margin-left:5px!important;
  }
  html body .apg-home-search-v9,
  html body .apg-mobile-v8 .apg-mobile-search{
    padding:5px!important;
    border-radius:16px!important;
    overflow:visible!important;
  }
}

@media(max-width:390px){
  html body .apg-home-search-v9 > button[type="submit"],
  html body .apg-mobile-v8 .apg-mobile-search > button[type="submit"]{
    min-width:84px!important;
    padding-inline:11px!important;
  }
  html body form.global-search > svg{
    margin-left:6px!important;
    margin-right:3px!important;
  }
}
