/* Shared button palette. Loaded after page styles so every section uses the same states. */
:root { --action-orange:#ee812b; --action-hover:#ff7a1a; --action-purple:#67339a; }
:is(.cta,.utility-btn,.home-hero-primary,.home-outline-link,.au-text-link,.au-platforms a,.ir-button,.pipe-category,.pipe-reset,.dev-early button,.dl-year,.dl-type,.reports-nav-tab,.nl-form button) {
 color:#fff !important; background:var(--action-orange) !important; border-color:var(--action-orange) !important;
 transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease !important;
}
:is(.home-outline-link,.ir-button--purple,.ir-button--light,.pipe-category,.dl-year,.dl-type,.reports-nav-tab) { background:var(--action-purple) !important; border-color:var(--action-purple) !important; }
:is(.pipe-category.is-active,.dl-year[aria-pressed="true"],.dl-type[aria-pressed="true"],.reports-nav-tab[aria-selected="true"]) { background:var(--action-orange) !important; border-color:var(--action-orange) !important; }
:is(.cta,.utility-btn,.home-hero-primary,.home-outline-link,.au-text-link,.au-platforms a,.ir-button,.pipe-category,.pipe-reset,.dev-early button,.dl-year,.dl-type,.reports-nav-tab,.nl-form button):is(:hover,:focus-visible) {
 color:#fff !important; background:var(--action-hover) !important; border-color:var(--action-hover) !important;
 box-shadow:0 5px 14px rgb(219 100 22 / 20%) !important; transform:translateY(-2px);
}
:is(.cta,.utility-btn,.home-hero-primary,.home-outline-link,.au-text-link,.au-platforms a,.ir-button,.pipe-category,.pipe-reset,.dev-early button,.dl-year,.dl-type,.reports-nav-tab,.nl-form button):active { transform:translateY(0); box-shadow:none !important; }
:is(.cta,.utility-btn,.au-text-link,.au-platforms a,.ir-button,.pipe-category,.pipe-reset,.dev-early button,.reports-nav-tab) :is(svg,.au-round) { color:inherit !important; }
:is(.dev-toggle,.pg-member-arrow,.rnd-panel-icon,.au-priority summary i,.cr-job-toggle,.ir-round,.au-map-close,.pg-member-dialog-dismiss button,.drawer-toggle,.drawer-head button,.foot-social a,.foot-social button) {
 color:#fff !important; background:var(--action-orange) !important; border-color:var(--action-orange) !important;
 transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease !important;
}
:is(.dev-toggle,.au-map-close,.pg-member-dialog-dismiss button,.drawer-toggle,.drawer-head button,.foot-social a,.foot-social button):is(:hover,:focus-visible),
:is(.pg-member-card:hover,.pg-member-card:focus-visible) .pg-member-arrow,
:is(.rnd-panel-toggle:hover,.rnd-panel-toggle:focus-visible) .rnd-panel-icon,
.au-priority summary:is(:hover,:focus-visible) i,.cr-job summary:is(:hover,:focus-visible) .cr-job-toggle,
:is(a:hover,a:focus-visible) .ir-round {
 color:#fff !important; background:var(--action-hover) !important; border-color:var(--action-hover) !important; box-shadow:0 4px 12px rgb(219 100 22 / 18%);
}
:is(.dev-toggle,.pg-member-arrow,.rnd-panel-icon,.cr-job-toggle,.ir-round) svg { color:inherit !important; }
.pipe-reset,.dev-early button { padding:8px 12px !important; border-radius:5px; }
.au-office-tabs { gap:6px; }
.au-office-tabs button,.drawer-acc { color:#fff !important; background:var(--action-purple) !important; }
.au-office-tabs button > span { color:#fff !important; opacity:.8; }
.au-office-tabs button:is(:hover,:focus-visible),.au-office-tabs button[aria-selected="true"],.drawer-acc:is(:hover,:focus-visible) { color:#fff !important; background:var(--action-orange) !important; border-color:var(--action-orange) !important; }
.au-office-tabs button { border-radius:6px 6px 0 0; transition:background-color .2s ease; }
@media(prefers-reduced-motion:reduce) { :is(.cta,.utility-btn,.home-hero-primary,.home-outline-link,.au-text-link,.au-platforms a,.ir-button,.pipe-category,.pipe-reset,.dev-early button,.dl-year,.dl-type,.reports-nav-tab,.nl-form button) { transition:none !important; transform:none !important; } }

/* Secondary actions stay quiet until interaction; primary calls to action stay filled. */
body :is(.au-text-link,.au-platforms a,.home-outline-link,.cta-banner-secondary,.ir-button--light,.ir-button--glass,.pipe-category,.pipe-reset,.dev-early button,.dl-year,.dl-type,.reports-nav-tab) {
 color:var(--action-orange) !important; background:transparent !important; border:1px solid var(--action-orange) !important; box-shadow:none !important;
}
body :is(.au-text-link,.au-platforms a,.home-outline-link,.cta-banner-secondary,.ir-button--light,.ir-button--glass,.pipe-category,.pipe-reset,.dev-early button,.dl-year,.dl-type,.reports-nav-tab):is(:hover,:focus-visible),
body :is(.pipe-category.is-active,.dl-year[aria-pressed="true"],.dl-type[aria-pressed="true"],.reports-nav-tab[aria-selected="true"]) {
 color:#fff !important; background:var(--action-hover) !important; border-color:var(--action-hover) !important;
}
body :is(.dev-toggle,.pg-member-arrow,.rnd-panel-icon,.au-priority summary i,.cr-job-toggle,.ir-round,.au-map-close,.pg-member-dialog-dismiss button,.drawer-toggle,.drawer-head button,.foot-social a,.foot-social button,.gov-download) {
 color:var(--action-orange) !important; background:transparent !important; border:1px solid var(--action-orange) !important; box-shadow:none !important;
}
body :is(.dev-toggle,.au-map-close,.pg-member-dialog-dismiss button,.drawer-toggle,.drawer-head button,.foot-social a,.foot-social button):is(:hover,:focus-visible),
body :is(.pg-member-card:hover,.pg-member-card:focus-visible) .pg-member-arrow,
body :is(.rnd-panel-toggle:hover,.rnd-panel-toggle:focus-visible) .rnd-panel-icon,
body .au-priority summary:is(:hover,:focus-visible) i,
body .cr-job summary:is(:hover,:focus-visible) .cr-job-toggle,
body :is(a:hover,a:focus-visible) :is(.ir-round,.gov-download) {
 color:#fff !important; background:var(--action-hover) !important; border-color:var(--action-hover) !important;
}
body .au-office-tabs button,body .drawer-acc { color:var(--action-orange) !important; background:transparent !important; border:1px solid var(--action-orange) !important; }
body .au-office-tabs button>span { color:inherit !important; }
body .au-office-tabs button:is(:hover,:focus-visible),body .au-office-tabs button[aria-selected="true"],body .drawer-acc:is(:hover,:focus-visible) { color:#fff !important; background:var(--action-hover) !important; }


/* Report categories are centered tabs rather than action buttons. */
body.page-reports .reports-tablist { justify-content:center; gap:8px; padding:14px 0; }
body.page-reports .reports-page-nav { position:relative; top:auto; z-index:1; }
body.page-reports .reports-nav-tab { display:inline-flex; justify-content:center; min-height:40px; padding:10px 19px; border:0 !important; border-radius:6px; background:transparent !important; color:#806c8d !important; font-size:12px; font-weight:600; line-height:1.5; box-shadow:none !important; transform:none !important; }
body.page-reports .reports-nav-tab:is(:hover,:focus-visible) { background:#fff0e3 !important; color:#e57724 !important; box-shadow:none !important; transform:none !important; }
body.page-reports .reports-nav-tab[aria-selected="true"] { background:var(--action-orange) !important; color:#fff !important; }
@media(max-width:650px) { body.page-reports .reports-tablist { justify-content:flex-start; gap:4px; padding:11px 0; } body.page-reports .reports-nav-tab { min-height:38px; padding:9px 12px; font-size:11px; } }

/* All four About facts share the homepage purple. */
body.about-redesign .au-record > div:last-child dt { color:#5c219d !important; }

/* Shared outlined action: one frame, one arrow, consistent across sections. */
body .site-action-outline { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; gap:12px; min-height:44px; padding:10px 16px; margin-left:0; border:1px solid var(--action-orange) !important; border-radius:6px; background:transparent !important; color:var(--action-orange) !important; font-size:13px; font-weight:600; line-height:1.5; letter-spacing:0; text-decoration:none; transition:background-color .2s,color .2s,box-shadow .2s,transform .2s; }
body .site-action-outline:is(:hover,:focus-visible) { background:var(--action-hover) !important; border-color:var(--action-hover) !important; color:#fff !important; text-decoration:none; box-shadow:0 4px 12px rgb(219 100 22 / 15%); transform:translateY(-1px); }
body .site-action-outline :is(.ir-round,.au-round) { width:16px; height:16px; padding:0; border:0 !important; border-radius:0; background:transparent !important; box-shadow:none !important; color:inherit !important; }
body .site-action-outline svg { width:15px; height:15px; color:inherit !important; }
body .news-article-back.site-action-outline { margin-left:auto; min-height:34px; padding:7px 11px; font-size:12px; }
@media(max-width:650px) { body .site-action-outline { font-size:12px; padding:10px 13px; } }
@media(prefers-reduced-motion:reduce) { body .site-action-outline { transition:none; transform:none; } }

body .site-action-outline:is(:hover,:focus-visible) :is(.ir-round,.au-round) { background:transparent !important; border:0 !important; color:inherit !important; box-shadow:none !important; }

/* The mobile header menu uses a plain icon while preserving its touch area. */
body .site-header .drawer-toggle,
body .site-header .drawer-toggle:is(:hover,:focus-visible) { border:0 !important; background:transparent !important; box-shadow:none !important; color:#32253e !important; min-width:44px; min-height:44px; }

body .site-header .drawer-toggle:focus:not(:focus-visible) { outline:0 !important; }

/* Plain drawer chevrons and dismiss icon, with no visible button frame. */
body #drawer .drawer-head button,
body #drawer .drawer-acc-row>.drawer-acc,
body #drawer .drawer-head button:is(:hover,:focus-visible),
body #drawer .drawer-acc-row>.drawer-acc:is(:hover,:focus-visible,[aria-expanded="true"]) {
 border:0 !important; padding:0 !important; background:transparent !important; box-shadow:none !important; border-radius:0; color:#32253e !important;
 display:flex; align-items:center; justify-content:center; flex:none; min-width:44px; min-height:44px;
}

/* Drawer selection belongs to the complete row, including its chevron. */
body #drawer .drawer-head { padding-inline:12px; }
body #drawer .drawer-nav { padding:6px 12px max(12px,env(safe-area-inset-bottom)); }
body #drawer .drawer-acc-row { border-radius:6px; padding:0; overflow:hidden; }
body #drawer .drawer-acc-row:has(>a[aria-current]),
body #drawer .drawer-acc-row:has(>.drawer-acc[aria-expanded="true"]),
body #drawer .drawer-nav>div:has(.drawer-sub a[aria-current])>.drawer-acc-row { background:#f3eee6; }
body #drawer .drawer-acc-row>a,
body #drawer .drawer-acc-row>a:is(:hover,[aria-current]) { background:transparent !important; border-radius:0; padding:10px 8px; }
body #drawer .drawer-acc-row>.drawer-acc,
body #drawer .drawer-head button { padding:0 !important; min-width:28px; width:28px; min-height:44px; justify-content:flex-end; }
body #drawer .drawer-acc-row>.drawer-acc { padding-right:0 !important; }
body #drawer .drawer-sub { margin:0; padding:0; border:0; }
body #drawer .drawer-sub>div { padding:0; }
body #drawer .drawer-sub a { margin:0; padding:8px 12px; min-height:44px; }

/* Align the visible hamburger strokes to the shared content edge. */
body .site-header .drawer-toggle { display:flex; align-items:center; justify-content:flex-end; padding:0 !important; }
body .site-header .drawer-toggle .burger { margin:0; flex:none; }
