/* The approved palette applied across the site (2026-11-01). Loaded last. The colour values themselves live in the
   tokens at the top of internal.css; this file only makes the shared pieces use them where an earlier sheet set a
   different colour: primary actions are blue with white text, reading and account pages sit on the light page
   background with white cards, and focus rings are the action blue. Semantic success/warning/error colours and
   supplier-controlled interfaces are left alone. */

/* primary actions: blue, white text (the header's own buttons keep their on-photo / on-navy styles) */
.btn-ink,body.ah-route .btn-ink,[data-view="home"] .btn-ink{background:var(--ag-blue);border-color:var(--ag-blue);color:#fff}
.btn-ink:hover,body.ah-route .btn-ink:hover,[data-view="home"] .btn-ink:hover{background:var(--ag-blue-hover);border-color:var(--ag-blue-hover);color:#fff}
.btn-ink:disabled,.btn-ink[aria-disabled="true"]{background:#9DB3C9;border-color:#9DB3C9;color:#fff;box-shadow:none}

/* final Submit / Send / Confirm / Complete actions: one green on every page. :not(#_) only lifts the rule above the
   page-specific button colours; each button keeps its own size, shape, icon, loading text; disabled is the same green, faded. */
body .btn-submit:not(#_){background:var(--ag-submit);border-color:var(--ag-submit);color:#fff}
body .btn-submit:not(#_):hover{background:var(--ag-submit-hover);border-color:var(--ag-submit-hover);color:#fff}
body .btn-submit:not(#_):is(:disabled,[aria-disabled="true"]){background:var(--ag-submit);border-color:var(--ag-submit);color:#fff;opacity:.5;box-shadow:none;cursor:not-allowed}

/* the light neutral page behind the internal pages; cards and inputs stay white */
body[data-route]:not([data-route="home"]){background:var(--ag-page)}

/* touch targets of at least 44×44px in the search box's pop-ups (the visible controls keep their size where the
   hit area alone is enlarged) */
.agg-btn{width:44px;height:44px}
.sb-done,.agg-done{min-height:44px}
.agg-switch{position:relative}
.agg-switch::after{content:"";position:absolute;inset:-7px -2px}

/* the home page's partner band: the light neutral and soft blue surfaces instead of the earlier sand */
.hx-partner{background:linear-gradient(90deg,var(--ag-page) 0%,var(--ag-soft) 100%)}
