/* links.css · v39.6.1 · dashboard, CRM and Transactions pages: brand link styles (CSS only, no inline styles).
 * 1) .btnlink = a link that looks like the primary brand button (Merritt red #9d2e34, white text; hover #7a2328).
 *    White on #9d2e34 = 8.4:1, on #7a2328 = 10.6:1. Visited looks the same as unvisited. Keyboard focus: 2px dark-red ring.
 * 2) Fallback for any other plain link inside page content: brand red text instead of the browser's default blue/purple.
 *    :where() keeps this at the lowest weight, so every existing class-based link style still wins.
 */
a.btnlink,a.btnlink:visited{display:inline-flex;align-items:center;gap:6px;min-height:36px;background:var(--navy);color:#fff;border:0;border-radius:6px;padding:7px 14px;font-weight:600;font-size:13px;line-height:1.2;text-decoration:none;cursor:pointer}
a.btnlink:hover{background:var(--maroon-dk);color:#fff}
a.btnlink:active{background:var(--maroon-dk);color:#fff}
a.btnlink:focus-visible{outline:2px solid var(--maroon-dk);outline-offset:2px}
p.btnrow{margin:0 0 10px}
@media(max-width:700px){a.btnlink{min-height:44px;padding:10px 16px;font-size:14px}}

:where(main,aside,#app,#crm,#txState,#cdApp) a,:where(main,aside,#app,#crm,#txState,#cdApp) a:visited{color:var(--navy)}
:where(main,aside,#app,#crm,#txState,#cdApp) a:hover{color:var(--maroon-dk)}
:where(main,aside,#app,#crm,#txState,#cdApp) a:focus-visible{outline:2px solid var(--maroon-dk);outline-offset:2px;border-radius:3px}
/* the invisible cover link over the Active transactions tile carries no text; keep it neutral */
.kpi a.tx-kpi-cover,.kpi a.tx-kpi-cover:visited{color:inherit}
