/**
 * Motywy kolorystyczne - palety.
 * Domyślny motyw (default) — style.css (:root + html[data-color-theme=default][data-bs-theme=dark]).
 */
html[data-color-theme="forest"][data-bs-theme="light"] {
    --bg-primary: #f4f6f5;
    --bg-secondary: #e8edeb;
    --bg-tertiary: #d5deda;
    --bg-quaternary: #c2cdc8;
    --text-primary: #0b0909;
    --text-secondary: #2e4540;
    --text-muted: #5a6b66;
    --text-muted-dark: #2e4540;
    --border-color: rgba(11, 9, 9, 0.12);
    --card-shadow: 0 0.125rem 0.35rem rgba(46, 69, 64, 0.12);
    --navbar-bg: #2e4540;
    --navbar-text: #f4f6f5;
    --sidebar-bg: #e8edeb;
    --sidebar-border: #c2cdc8;
    --sidebar-text: #0b0909;
    --sidebar-text-muted: #2e4540;
    --sidebar-icon: #408175;
    --sidebar-hover: #d5deda;
    --sidebar-section-bg: rgba(255, 255, 255, 0.65);
    --sidebar-active-bg: rgba(64, 129, 117, 0.18);
    --sidebar-active-text: #2e6b5f;
    --sidebar-nested-border: #b5c4bf;
    --table-stripe: rgba(64, 129, 117, 0.06);
    --dropdown-bg: #ffffff;
    --dropdown-border: rgba(46, 69, 64, 0.15);
    --alert-info-bg: #e8edf5;
    --alert-info-border: #408175;
    --alert-purple-bg: #eceef9;
    --alert-purple-border: #b5b9f0;
    --alert-purple-text: #3d4278;
}

html[data-color-theme="forest"][data-bs-theme="dark"] {
    --bg-primary: #0b0909;
    --bg-secondary: #152220;
    --bg-tertiary: #1e3530;
    --bg-quaternary: #2e4540;
    --text-primary: #eef0ef;
    --text-secondary: #b5b9f0;
    --text-muted: #7a9e94;
    --text-muted-dark: #a8b0e8;
    --border-color: rgba(64, 129, 117, 0.28);
    --card-shadow: 0 0.125rem 0.4rem rgba(0, 0, 0, 0.45);
    --navbar-bg: #2e4540;
    --navbar-text: #f0f2f1;
    --sidebar-bg: #101816;
    --sidebar-border: rgba(64, 129, 117, 0.22);
    --sidebar-text: #eef0ef;
    --sidebar-text-muted: #b5b9f0;
    --sidebar-icon: #5cb8a8;
    --sidebar-hover: #1a2e28;
    --sidebar-section-bg: rgba(64, 129, 117, 0.1);
    --sidebar-active-bg: rgba(64, 129, 117, 0.32);
    --sidebar-active-text: #8fd4c4;
    --sidebar-nested-border: rgba(181, 185, 240, 0.2);
    --table-stripe: rgba(64, 129, 117, 0.1);
    --dropdown-bg: #152220;
    --dropdown-border: rgba(64, 129, 117, 0.25);
    --btn-close-filter: invert(1) grayscale(100%) brightness(200%);
    --alert-info-bg: #1a322c;
    --alert-info-border: #408175;
    --alert-warning-bg: #3a3020;
    --alert-warning-border: #b5b9f0;
    --alert-purple-bg: #222538;
    --alert-purple-border: #b5b9f0;
    --alert-purple-text: #d8daf7;
    --warning-bg: #3a3020;
    --warning-text: #b5b9f0;
}

html[data-color-theme="blossom"][data-bs-theme="light"] {
    --bg-primary: #f1e9e9;
    --bg-secondary: #faf5f7;
    --bg-tertiary: #ecd9e8;
    --bg-quaternary: #e0c4dc;
    --text-primary: #15173d;
    --text-secondary: #5c3d6e;
    --text-muted: #7a6285;
    --text-muted-dark: #4a3058;
    --border-color: rgba(21, 23, 61, 0.1);
    --card-shadow: 0 0.125rem 0.35rem rgba(152, 37, 152, 0.1);
    --navbar-bg: #15173d;
    --navbar-text: #f1e9e9;
    --sidebar-bg: #faf0f4;
    --sidebar-border: #e0c4dc;
    --sidebar-text: #15173d;
    --sidebar-text-muted: #5c3d6e;
    --sidebar-icon: #982598;
    --sidebar-hover: #f5e0ef;
    --sidebar-section-bg: rgba(255, 255, 255, 0.72);
    --sidebar-active-bg: rgba(152, 37, 152, 0.14);
    --sidebar-active-text: #982598;
    --sidebar-nested-border: #e491c9;
    --table-stripe: rgba(228, 145, 201, 0.12);
    --dropdown-bg: #ffffff;
    --dropdown-border: rgba(21, 23, 61, 0.12);
    --alert-info-bg: #f5e8f3;
    --alert-info-border: #982598;
    --alert-purple-bg: #fce8f6;
    --alert-purple-border: #e491c9;
    --alert-purple-text: #5c1a5c;
}

html[data-color-theme="blossom"][data-bs-theme="dark"] {
    --bg-primary: #15173d;
    --bg-secondary: #1c1f52;
    --bg-tertiary: #2d1860;
    --bg-quaternary: #4a2068;
    --text-primary: #f1e9e9;
    --text-secondary: #e491c9;
    --text-muted: #c89fd0;
    --text-muted-dark: #e491c9;
    --border-color: rgba(228, 145, 201, 0.24);
    --card-shadow: 0 0.125rem 0.4rem rgba(152, 37, 152, 0.2);
    --navbar-bg: #982598;
    --navbar-text: #f1e9e9;
    --sidebar-bg: #12143a;
    --sidebar-border: rgba(228, 145, 201, 0.2);
    --sidebar-text: #f1e9e9;
    --sidebar-text-muted: #e491c9;
    --sidebar-icon: #e491c9;
    --sidebar-hover: #2d1860;
    --sidebar-section-bg: rgba(152, 37, 152, 0.14);
    --sidebar-active-bg: rgba(228, 145, 201, 0.22);
    --sidebar-active-text: #ffc8eb;
    --sidebar-nested-border: rgba(228, 145, 201, 0.28);
    --table-stripe: rgba(152, 37, 152, 0.12);
    --dropdown-bg: #1c1f52;
    --dropdown-border: rgba(228, 145, 201, 0.22);
    --btn-close-filter: invert(1) grayscale(100%) brightness(200%);
    --alert-info-bg: #2a1a42;
    --alert-info-border: #982598;
    --alert-warning-bg: #3a2848;
    --alert-warning-border: #e491c9;
    --alert-purple-bg: #351845;
    --alert-purple-border: #e491c9;
    --alert-purple-text: #f5c8e8;
    --warning-bg: #3a2848;
    --warning-text: #e491c9;
}

html[data-color-theme="ocean"][data-bs-theme="light"] {
    --bg-primary: #f0fbfd;
    --bg-secondary: #e3f6fa;
    --bg-tertiary: #c8eef5;
    --bg-quaternary: #a8e4ef;
    --text-primary: #0a4d68;
    --text-secondary: #088395;
    --text-muted: #4a8a96;
    --text-muted-dark: #066b7a;
    --border-color: rgba(10, 77, 104, 0.12);
    --card-shadow: 0 0.125rem 0.35rem rgba(8, 131, 149, 0.12);
    --navbar-bg: #0a4d68;
    --navbar-text: #f0fbfd;
    --sidebar-bg: #e3f6fa;
    --sidebar-border: #a8e4ef;
    --sidebar-text: #0a4d68;
    --sidebar-text-muted: #088395;
    --sidebar-icon: #088395;
    --sidebar-hover: #c8eef5;
    --sidebar-section-bg: rgba(255, 255, 255, 0.75);
    --sidebar-active-bg: rgba(5, 191, 219, 0.18);
    --sidebar-active-text: #066b7a;
    --sidebar-nested-border: #05bfdb;
    --table-stripe: rgba(5, 191, 219, 0.08);
    --dropdown-bg: #ffffff;
    --dropdown-border: rgba(10, 77, 104, 0.14);
    --alert-info-bg: #dff7fc;
    --alert-info-border: #088395;
    --alert-purple-bg: #d4f7f2;
    --alert-purple-border: #05bfdb;
    --alert-purple-text: #0a4d68;
}

html[data-color-theme="ocean"][data-bs-theme="dark"] {
    --bg-primary: #0a4d68;
    --bg-secondary: #0b5872;
    --bg-tertiary: #088395;
    --bg-quaternary: #05a8c0;
    --text-primary: #e8fcff;
    --text-secondary: #05bfdb;
    --text-muted: #7ecde0;
    --text-muted-dark: #a8eef5;
    --border-color: rgba(0, 255, 202, 0.22);
    --card-shadow: 0 0.125rem 0.4rem rgba(0, 0, 0, 0.35);
    --navbar-bg: #088395;
    --navbar-text: #e8fcff;
    --sidebar-bg: #083544;
    --sidebar-border: rgba(5, 191, 219, 0.22);
    --sidebar-text: #e8fcff;
    --sidebar-text-muted: #05bfdb;
    --sidebar-icon: #00ffca;
    --sidebar-hover: #0b5872;
    --sidebar-section-bg: rgba(5, 191, 219, 0.12);
    --sidebar-active-bg: rgba(0, 255, 202, 0.2);
    --sidebar-active-text: #00ffca;
    --sidebar-nested-border: rgba(5, 191, 219, 0.32);
    --table-stripe: rgba(0, 255, 202, 0.08);
    --dropdown-bg: #0b5872;
    --dropdown-border: rgba(5, 191, 219, 0.25);
    --btn-close-filter: invert(1) grayscale(100%) brightness(200%);
    --alert-info-bg: #0c4558;
    --alert-info-border: #05bfdb;
    --alert-warning-bg: #0a5058;
    --alert-warning-border: #00ffca;
    --alert-purple-bg: #0a5258;
    --alert-purple-border: #00ffca;
    --alert-purple-text: #a8fef0;
    --warning-bg: #0a5058;
    --warning-text: #00ffca;
}

html[data-color-theme="cosmic"][data-bs-theme="light"] {
    --bg-primary: #faf8ff;
    --bg-secondary: #f0ebfa;
    --bg-tertiary: #e2d4f5;
    --bg-quaternary: #d0b8ef;
    --text-primary: #1a1a40;
    --text-secondary: #270082;
    --text-muted: #6b5a8a;
    --text-muted-dark: #4a3080;
    --border-color: rgba(26, 26, 64, 0.11);
    --card-shadow: 0 0.125rem 0.35rem rgba(122, 11, 192, 0.12);
    --navbar-bg: #1a1a40;
    --navbar-text: #faf8ff;
    --sidebar-bg: #f0ebfa;
    --sidebar-border: #d0b8ef;
    --sidebar-text: #1a1a40;
    --sidebar-text-muted: #270082;
    --sidebar-icon: #7a0bc0;
    --sidebar-hover: #e2d4f5;
    --sidebar-section-bg: rgba(255, 255, 255, 0.72);
    --sidebar-active-bg: rgba(122, 11, 192, 0.14);
    --sidebar-active-text: #7a0bc0;
    --sidebar-nested-border: #fa58b6;
    --table-stripe: rgba(250, 88, 182, 0.08);
    --dropdown-bg: #ffffff;
    --dropdown-border: rgba(26, 26, 64, 0.13);
    --alert-info-bg: #ede5fa;
    --alert-info-border: #7a0bc0;
    --alert-purple-bg: #fce4f3;
    --alert-purple-border: #fa58b6;
    --alert-purple-text: #5c0a70;
}

html[data-color-theme="cosmic"][data-bs-theme="dark"] {
    --bg-primary: #1a1a40;
    --bg-secondary: #221858;
    --bg-tertiary: #3a1588;
    --bg-quaternary: #5a18a8;
    --text-primary: #f5f0ff;
    --text-secondary: #fa58b6;
    --text-muted: #c4a8d8;
    --text-muted-dark: #e491c9;
    --border-color: rgba(250, 88, 182, 0.24);
    --card-shadow: 0 0.125rem 0.4rem rgba(122, 11, 192, 0.25);
    --navbar-bg: #7a0bc0;
    --navbar-text: #f5f0ff;
    --sidebar-bg: #151238;
    --sidebar-border: rgba(250, 88, 182, 0.2);
    --sidebar-text: #f5f0ff;
    --sidebar-text-muted: #fa58b6;
    --sidebar-icon: #fa58b6;
    --sidebar-hover: #3a1588;
    --sidebar-section-bg: rgba(122, 11, 192, 0.16);
    --sidebar-active-bg: rgba(250, 88, 182, 0.24);
    --sidebar-active-text: #ffc8e4;
    --sidebar-nested-border: rgba(122, 11, 192, 0.38);
    --table-stripe: rgba(250, 88, 182, 0.1);
    --dropdown-bg: #221858;
    --dropdown-border: rgba(250, 88, 182, 0.22);
    --btn-close-filter: invert(1) grayscale(100%) brightness(200%);
    --alert-info-bg: #2a1558;
    --alert-info-border: #7a0bc0;
    --alert-warning-bg: #381868;
    --alert-warning-border: #fa58b6;
    --alert-purple-bg: #3a1868;
    --alert-purple-border: #fa58b6;
    --alert-purple-text: #ffc8e4;
    --warning-bg: #381868;
    --warning-text: #fa58b6;
}

html[data-color-theme="royal"][data-bs-theme="light"] {
    --bg-primary: #faf5fc;
    --bg-secondary: #f3e8f8;
    --bg-tertiary: #e4cce8;
    --bg-quaternary: #d0a8d8;
    --text-primary: #160040;
    --text-secondary: #4c0070;
    --text-muted: #7a5088;
    --text-muted-dark: #4c0070;
    --border-color: rgba(22, 0, 64, 0.11);
    --card-shadow: 0 0.125rem 0.35rem rgba(121, 1, 140, 0.12);
    --navbar-bg: #160040;
    --navbar-text: #faf5fc;
    --sidebar-bg: #f3e8f8;
    --sidebar-border: #d0a8d8;
    --sidebar-text: #160040;
    --sidebar-text-muted: #4c0070;
    --sidebar-icon: #79018c;
    --sidebar-hover: #e4cce8;
    --sidebar-section-bg: rgba(255, 255, 255, 0.72);
    --sidebar-active-bg: rgba(154, 6, 128, 0.14);
    --sidebar-active-text: #79018c;
    --sidebar-nested-border: #9a0680;
    --table-stripe: rgba(154, 6, 128, 0.08);
    --dropdown-bg: #ffffff;
    --dropdown-border: rgba(22, 0, 64, 0.13);
    --alert-info-bg: #f0e0f5;
    --alert-info-border: #79018c;
    --alert-purple-bg: #f5dce8;
    --alert-purple-border: #9a0680;
    --alert-purple-text: #4c0070;
}

html[data-color-theme="royal"][data-bs-theme="dark"] {
    --bg-primary: #160040;
    --bg-secondary: #1e0850;
    --bg-tertiary: #3a1068;
    --bg-quaternary: #4c0070;
    --text-primary: #f8f0fc;
    --text-secondary: #d878c8;
    --text-muted: #b898c8;
    --text-muted-dark: #e491c9;
    --border-color: rgba(154, 6, 128, 0.24);
    --card-shadow: 0 0.125rem 0.4rem rgba(121, 1, 140, 0.25);
    --navbar-bg: #79018c;
    --navbar-text: #f8f0fc;
    --sidebar-bg: #180848;
    --sidebar-border: rgba(154, 6, 128, 0.22);
    --sidebar-text: #f8f0fc;
    --sidebar-text-muted: #d878c8;
    --sidebar-icon: #9a0680;
    --sidebar-hover: #3a1068;
    --sidebar-section-bg: rgba(121, 1, 140, 0.16);
    --sidebar-active-bg: rgba(154, 6, 128, 0.32);
    --sidebar-active-text: #f0a8e0;
    --sidebar-nested-border: rgba(154, 6, 128, 0.36);
    --table-stripe: rgba(154, 6, 128, 0.1);
    --dropdown-bg: #1e0850;
    --dropdown-border: rgba(154, 6, 128, 0.24);
    --btn-close-filter: invert(1) grayscale(100%) brightness(200%);
    --alert-info-bg: #2a0858;
    --alert-info-border: #79018c;
    --alert-warning-bg: #381060;
    --alert-warning-border: #9a0680;
    --alert-purple-bg: #3a1068;
    --alert-purple-border: #9a0680;
    --alert-purple-text: #f0c0e8;
    --warning-bg: #381060;
    --warning-text: #d878c8;
}

/*
 * Bootstrap 5.3 — mapowanie tokenów BS na paletę motywu (nie domyślny).
 * Bez tego data-bs-theme=dark wymusza szare tło BS niezależnie od palety.
 */
html[data-color-theme]:not([data-color-theme="default"]) {
    --bs-body-bg: var(--bg-primary);
    --bs-body-color: var(--text-primary);
    --bs-secondary-bg: var(--bg-secondary);
    --bs-tertiary-bg: var(--bg-tertiary);
    --bs-border-color: var(--border-color);
    --bs-border-color-translucent: var(--border-color);
    --bs-emphasis-color: var(--text-primary);
    --bs-secondary-color: var(--text-secondary);
    --bs-tertiary-color: var(--text-muted);
    --bs-heading-color: var(--text-primary);
    --bs-card-bg: var(--bg-primary);
    --bs-card-border-color: var(--border-color);
    --bs-card-cap-bg: var(--bg-secondary);
    --bs-modal-bg: var(--bg-primary);
    --bs-modal-border-color: var(--border-color);
    --bs-dropdown-bg: var(--dropdown-bg);
    --bs-dropdown-border-color: var(--dropdown-border);
    --bs-dropdown-link-color: var(--text-primary);
    --bs-dropdown-link-hover-bg: var(--bg-tertiary);
    --bs-table-bg: var(--bg-primary);
    --bs-table-color: var(--text-primary);
    --bs-table-striped-bg: var(--table-stripe);
    --bs-table-hover-bg: var(--bg-tertiary);
    --bs-form-control-bg: var(--bg-secondary);
    --bs-form-control-color: var(--text-primary);
    --bs-form-control-border-color: var(--border-color);
    --bs-input-bg: var(--bg-secondary);
    --bs-input-color: var(--text-primary);
    --bs-input-border-color: var(--border-color);
    --bs-list-group-bg: var(--bg-primary);
    --bs-list-group-border-color: var(--border-color);
    --bs-list-group-color: var(--text-primary);
    --bs-list-group-action-hover-bg: var(--bg-tertiary);
    --bs-primary: var(--theme-accent, var(--sidebar-active-text));
    --bs-link-color: var(--sidebar-active-text);
    --bs-link-hover-color: var(--text-primary);
    --bs-primary-bg-subtle: var(--sidebar-active-bg);
    --bs-primary-border-subtle: var(--sidebar-nested-border);
    --bs-primary-text-emphasis: var(--sidebar-active-text);
    --bs-warning-bg-subtle: var(--alert-warning-bg);
    --bs-warning-text-emphasis: var(--warning-text);
    --bs-info-bg-subtle: var(--alert-info-bg);
    --bs-info-text-emphasis: var(--sidebar-active-text);
}

html[data-color-theme]:not([data-color-theme="default"]) .text-primary {
    color: var(--sidebar-active-text) !important;
}

html[data-color-theme]:not([data-color-theme="default"]) .border-primary {
    border-color: var(--sidebar-active-text) !important;
}

html[data-color-theme]:not([data-color-theme="default"]) .spinner-border.text-primary {
    color: var(--sidebar-active-text) !important;
}

html[data-color-theme]:not([data-color-theme="default"]) .bg-primary,
html[data-color-theme]:not([data-color-theme="default"]) .badge.bg-primary {
    background-color: var(--theme-accent, var(--sidebar-active-text)) !important;
    color: #fff !important;
}

html[data-color-theme]:not([data-color-theme="default"]) .btn-outline-primary {
    --bs-btn-color: var(--sidebar-active-text);
    --bs-btn-border-color: var(--sidebar-active-text);
    --bs-btn-hover-bg: var(--sidebar-active-bg);
    --bs-btn-hover-border-color: var(--sidebar-active-text);
    --bs-btn-hover-color: var(--sidebar-active-text);
    --bs-btn-active-bg: var(--sidebar-active-text);
    --bs-btn-active-border-color: var(--sidebar-active-text);
    --bs-btn-active-color: #fff;
}

html[data-color-theme]:not([data-color-theme="default"]) .nav-link.active,
html[data-color-theme]:not([data-color-theme="default"]) .page-item.active .page-link {
    background-color: var(--theme-accent, var(--sidebar-active-text));
    border-color: var(--theme-accent, var(--sidebar-active-text));
}

html[data-color-theme]:not([data-color-theme="default"]) .form-check-input:checked {
    background-color: var(--theme-accent, var(--sidebar-active-text));
    border-color: var(--theme-accent, var(--sidebar-active-text));
}

html[data-color-theme]:not([data-color-theme="default"]) .pms-export-kind-badge--products {
    background-color: var(--sidebar-active-bg) !important;
    color: var(--sidebar-active-text) !important;
}

html[data-color-theme]:not([data-color-theme="default"])[data-bs-theme="dark"] {
    color-scheme: dark;
}

/* Akcent primary Bootstrap — dopasowanie do motywu */
html[data-color-theme="forest"][data-bs-theme="light"] { --bs-primary: #408175; --bs-primary-rgb: 64, 129, 117; --bs-link-color: #2e6b5f; }
html[data-color-theme="forest"][data-bs-theme="dark"] { --bs-primary: #408175; --bs-primary-rgb: 64, 129, 117; --bs-link-color: #7ec4b4; }
html[data-color-theme="blossom"][data-bs-theme="light"] { --bs-primary: #982598; --bs-primary-rgb: 152, 37, 152; --bs-link-color: #982598; }
html[data-color-theme="blossom"][data-bs-theme="dark"] { --bs-primary: #e491c9; --bs-primary-rgb: 228, 145, 201; --bs-link-color: #e491c9; }
html[data-color-theme="ocean"][data-bs-theme="light"] { --bs-primary: #088395; --bs-primary-rgb: 8, 131, 149; --bs-link-color: #066b7a; }
html[data-color-theme="ocean"][data-bs-theme="dark"] { --bs-primary: #05bfdb; --bs-primary-rgb: 5, 191, 219; --bs-link-color: #00ffca; }
html[data-color-theme="cosmic"][data-bs-theme="light"] { --bs-primary: #7a0bc0; --bs-primary-rgb: 122, 11, 192; --bs-link-color: #270082; }
html[data-color-theme="cosmic"][data-bs-theme="dark"] { --bs-primary: #fa58b6; --bs-primary-rgb: 250, 88, 182; --bs-link-color: #fa58b6; }
html[data-color-theme="royal"][data-bs-theme="light"] { --bs-primary: #79018c; --bs-primary-rgb: 121, 1, 140; --bs-link-color: #4c0070; }
html[data-color-theme="royal"][data-bs-theme="dark"] { --bs-primary: #9a0680; --bs-primary-rgb: 154, 6, 128; --bs-link-color: #d878c8; }

html[data-color-theme="forest"] .btn-primary { --bs-btn-bg: #408175; --bs-btn-border-color: #408175; --bs-btn-hover-bg: #2e6b5f; --bs-btn-hover-border-color: #2e6b5f; }
html[data-color-theme="blossom"] .btn-primary { --bs-btn-bg: #982598; --bs-btn-border-color: #982598; --bs-btn-hover-bg: #7a1d7a; --bs-btn-hover-border-color: #7a1d7a; }
html[data-color-theme="ocean"] .btn-primary { --bs-btn-bg: #088395; --bs-btn-border-color: #088395; --bs-btn-hover-bg: #066b7a; --bs-btn-hover-border-color: #066b7a; }
html[data-color-theme="cosmic"] .btn-primary { --bs-btn-bg: #7a0bc0; --bs-btn-border-color: #7a0bc0; --bs-btn-hover-bg: #5c0890; --bs-btn-hover-border-color: #5c0890; }
html[data-color-theme="royal"] .btn-primary { --bs-btn-bg: #79018c; --bs-btn-border-color: #79018c; --bs-btn-hover-bg: #5c006a; --bs-btn-hover-border-color: #5c006a; }

/* Wybór motywu w profilu */
.theme-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}
.theme-picker-card {
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}
.theme-picker-card:hover {
    border-color: var(--sidebar-active-text, #0d6efd);
    box-shadow: var(--card-shadow);
}
.theme-picker-card.is-selected {
    border-color: var(--sidebar-active-text, #0d6efd);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}
.theme-picker-swatches {
    display: flex;
    gap: 0.25rem;
    margin: 0.5rem 0;
}
.theme-picker-swatches span {
    flex: 1;
    height: 1.25rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.theme-picker-card__title {
    font-weight: 600;
    font-size: 0.9375rem;
}
.theme-picker-card__desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}
