/* TEST Marketplace plugin family colors.
 * Built-in = original warm AHK v1 earth shade;
 * AutoHotkey v1 = paler cyan-blue than AutoHotkey v2.
 * Loaded after unified theme so both themes respect these categories. */
body.ke-themed.page-store .store--storemain.store--plugins4
.store-collection--plugins4 .ke-p4 {
    background-color: var(--p4-tint);
    border-color: var(--p4-frame);
}
body.ke-themed.page-store .store--storemain.store--plugins4
.store-collection--plugins4 .ke-p4:is(:hover, :focus-within) {
    border-color: var(--p4-accent);
}
body.ke-themed.page-store .store--storemain.store--plugins4
.store-collection--plugins4 .ke-p4 :is(
    .ke-w2__header,
    .ke-w2__body,
    .ke-p4__offer,
    .ke-p4__footer
) {
    background-color: transparent;
    border-color: var(--p4-frame);
}
/* On dark theme use the same color relationships, with darker surfaces and
 * lighter category accents to preserve contrast with the page text. */
body.ke-themed.dark.page-store .store--storemain.store--plugins4
.store-collection--plugins4 .ke-p4--technology-builtin {
    --p4-tint: #342b22;
    --p4-frame: #846d4d;
    --p4-accent: #c9a475;
}
body.ke-themed.dark.page-store .store--storemain.store--plugins4
.store-collection--plugins4 .ke-p4--technology-ahk1 {
    --p4-tint: #193443;
    --p4-frame: #6ba9c7;
    --p4-accent: #99d9f3;
}
body.ke-themed.dark.page-store .store--storemain.store--plugins4
.store-collection--plugins4 .ke-p4--technology-ahk2 {
    --p4-tint: #202b43;
    --p4-frame: #5c82b0;
    --p4-accent: #98b9e3;
}
