body[data-color-style="classic"] {
 --studio-teal:#8b1a2b!important; --z-accent:#8b1a2b!important; --z-accent-strong:#6e1421!important;
 --z-accent-soft:#ad3448!important; --z-accent-faint:rgba(139,26,43,.12)!important;
 --ui-button:#8b1a2b; --ui-button-hover:#6e1421; --ui-button-text:#fff;
 --link-color:#8b1a2b!important; --link-hover:#6e1421!important;
 --text-secondary:#555d68!important; --text-muted:#646b76!important;
 --bg-body:#f5f6f8!important; --bg-sidebar:#fff!important; --bg-card:#fff!important;
 --bg-input:#fff!important; --bg-hover:#f5edef!important; --border-color:#dedee2!important;
 --z-surface-page:#f5f6f8!important; --z-surface-sidebar:#fff!important; --z-surface-card:#fff!important;
 --ui-row:#fff; --ui-row-hover:#faf4f5; --ui-line:#dcdde1;
}
body[data-color-style="classic"][data-theme="dark"] {
 --bg-body:#0a0a0a!important; --bg-sidebar:#0a0a0a!important; --bg-card:#141414!important;
 --bg-input:#1e1e1e!important; --bg-hover:#232020!important; --border-color:#303030!important;
 --z-surface-page:#0a0a0a!important; --z-surface-sidebar:#0a0a0a!important; --z-surface-card:#141414!important;
 --text-primary:#faf8f5!important; --text-secondary:#bcbcbc!important; --text-muted:#aaa!important;
 --z-text:#faf8f5!important; --z-text-muted:#bcbcbc!important; --z-text-soft:#aaa!important;
 --link-color:#f2a5b1!important; --link-hover:#ffd0d8!important;
 --ui-row:#141414; --ui-row-hover:#202020; --ui-line:#363636;
 --ui-button:#8b1a2b; --ui-button-hover:#a8233a; --ui-button-text:#fff;
}
body[data-color-style="classic"] :is(.sidebar,.mobile-header,.topbar) { background:var(--bg-sidebar)!important; }
body[data-color-style="classic"] .sidebar .nav-link.active { background:rgba(139,26,43,.16)!important; color:var(--link-color)!important; border-left-color:#8b1a2b!important; }
body[data-color-style="classic"] .content .card-header.task-project-heading,
body[data-color-style="classic"] .content .project-overview-header h1,
body[data-color-style="classic"] .content .workspace-project-card .workspace-card-title :is(h2,h5) { background:#8b1a2b!important; color:#fff!important; }
body[data-color-style="classic"] .content .btn-success { background:#326b43!important; border-color:#326b43!important; color:#fff!important; }
body[data-color-style="classic"] .content .progress-bar { background:#8b1a2b!important; }
.appearance-choice { display:flex; align-items:center; gap:10px; border:1px solid var(--border-color); border-radius:10px; padding:12px 16px; cursor:pointer; }
.appearance-choice:has(input:checked) { outline:2px solid var(--link-color); outline-offset:1px; }
.appearance-swatch { width:22px; height:22px; border-radius:50%; }

html body[data-color-style="classic"][data-theme] .content .btn-primary { background:#8b1a2b!important; border-color:#8b1a2b!important; color:#fff!important; }
html body[data-color-style="classic"][data-theme] .content .btn-primary:hover { background:#6e1421!important; border-color:#6e1421!important; }
html body[data-color-style="classic"][data-theme] .content .btn-success { background:#326b43!important; border-color:#326b43!important; color:#fff!important; }

/* Override the legacy ID-based sidebar gradient for the classic palette. */
html body[data-color-style="classic"][data-theme][data-current-view] #sidebar { background:var(--bg-sidebar)!important; border-right:1px solid var(--border-color)!important; }
html body[data-color-style="classic"][data-theme][data-current-view] #sidebar :is(.brand-name,.nav-link,.nav-link i,.nav-group summary,.nav-group summary i,.dropdown-item) { color:var(--text-primary)!important; }
html body[data-color-style="classic"][data-theme][data-current-view] #sidebar :is(.nav-section,.brand-copy small) { color:var(--text-secondary)!important; }
html body[data-color-style="classic"][data-theme][data-current-view] #sidebar .brand { border-bottom-color:var(--border-color)!important; }
html body[data-color-style="classic"][data-theme][data-current-view] #sidebar :is(.nav-link.active,.nav-link:hover,.nav-group summary:hover) { background:rgba(139,26,43,.14)!important; color:var(--link-color)!important; box-shadow:inset 3px 0 #8b1a2b!important; }
html body[data-color-style="classic"][data-theme][data-current-view] #sidebar .nav-link.active i { color:var(--link-color)!important; }

body[data-color-style="blue"] {
 --studio-teal:#2457c5!important; --z-accent:#2457c5!important; --z-accent-strong:#19429b!important;
 --z-accent-soft:#4c7fe5!important; --z-accent-faint:rgba(36,87,197,.12)!important;
 --ui-button:#2457c5; --ui-button-hover:#19429b; --ui-button-text:#fff;
 --link-color:#2457c5!important; --link-hover:#19429b!important;
}
body[data-color-style="blue"][data-theme="dark"] { --link-color:#9ebfff!important; --link-hover:#c8dbff!important; }
html body[data-color-style="blue"][data-theme] .content .btn-primary { background:#2457c5!important; border-color:#2457c5!important; color:#fff!important; }
html body[data-color-style="blue"][data-theme] .content .btn-primary:hover { background:#19429b!important; border-color:#19429b!important; }
html body[data-color-style="blue"][data-theme][data-current-view] #sidebar { background:linear-gradient(180deg,#102c5a,#0b1935)!important; }
html body[data-color-style="blue"][data-theme][data-current-view] #sidebar :is(.nav-link,.nav-link i,.brand-name,.nav-group summary) { color:#dfebff!important; }
html body[data-color-style="blue"][data-theme][data-current-view] #sidebar :is(.nav-link.active,.nav-link:hover) { background:#234c8c!important; color:#fff!important; box-shadow:inset 3px 0 #8db9ff!important; }
html body[data-color-style="blue"][data-theme][data-current-view] #sidebar .nav-link.active i { color:#fff!important; }
body[data-color-style="blue"] .content .card-header.task-project-heading,
body[data-color-style="blue"] .content .project-overview-header h1,
body[data-color-style="blue"] .content .workspace-project-card .workspace-card-title :is(h2,h5) { background:#2457c5!important; color:#fff!important; }
body[data-color-style="blue"] .content .progress-bar { background:#2457c5!important; }
