/* Yourcloudweb Online 2.8.0 | Dedicated palette layer loaded after app.css.
   Palette changes never affect monitoring health semantics (green/up, red/down).
   data-theme is the resolved mode. data-theme-choice retains auto/light/dark selection. */

/* Marker Yellow: vivid highlighter yellow paired with graphite; restrained corners. */
:root[data-palette="marker"][data-theme="light"]{
 color-scheme:light;
 --brand:#657300;--brand-hover:#4e5b00;--brand-2:#ecf54e;
 --brand-action:#e5f346;--brand-action-hover:#d4e32d;--on-brand:#1d2410;
 --success:#18845b;--danger:#cd374e;--warning:#aa6900;--info:#536b76;
 --body:#f5f6ed;--sidebar:#fcfdf5;--sidebar-end:#f0f3e2;
 --panel:#ffffff;--panel2:#f7f9ed;--overlay:#ffffff;
 --text:#202820;--muted:#5c695b;--subtle:#687560;
 --line:#dce2ce;--line2:#cbd4b8;--hover:#f0f4d9;--nav-selected:#edf4be;
 --chip:#f3f6e7;--chart:#dce6bb;--input:#ffffff;--field-border:#ccd6ba;
 --shadow:0 18px 44px rgba(44,60,16,.08);--radius:15px;
 --theme-surface-top:#ffffff;--theme-surface-bottom:#f7f9ed;
 --theme-glow:rgba(173,193,31,.11);--theme-outline:rgba(156,177,17,.30);
}
:root[data-palette="marker"][data-theme="dark"]{
 color-scheme:dark;
 --brand:#e8f64b;--brand-hover:#f2fa79;--brand-2:#f2fb72;
 --brand-action:#e6f443;--brand-action-hover:#f1ff70;--on-brand:#151b14;
 --success:#4be9ab;--danger:#ff7790;--warning:#ffce6b;--info:#b4d0bc;
 --body:#101510;--sidebar:#161c16;--sidebar-end:#111711;
 --panel:#1b241a;--panel2:#222e20;--overlay:#202920;
 --text:#f1f7e7;--muted:#abbda7;--subtle:#9fb397;
 --line:#324332;--line2:#425542;--hover:#2a3825;--nav-selected:#2c3a22;
 --chip:#202c1e;--chart:#394b30;--input:#1c261c;--field-border:#455a41;
 --shadow:0 22px 52px rgba(0,0,0,.30);--radius:15px;
 --theme-surface-top:#202b1e;--theme-surface-bottom:#182218;
 --theme-glow:rgba(220,248,58,.10);--theme-outline:rgba(231,248,76,.40);
}

/* Violet Pulse: violet, lilac and deep cosmic ink; larger shapes and soft light. */
:root[data-palette="violet"][data-theme="light"]{
 color-scheme:light;
 --brand:#6944d5;--brand-hover:#5430b7;--brand-2:#bd76ef;
 --brand-action:#734ce1;--brand-action-hover:#6240d5;--on-brand:#ffffff;
 --success:#168d77;--danger:#d74672;--warning:#a5661a;--info:#8061e3;
 --body:#f5f2ff;--sidebar:#fdfcff;--sidebar-end:#f5f0ff;
 --panel:#ffffff;--panel2:#f9f6ff;--overlay:#ffffff;
 --text:#29213e;--muted:#756b88;--subtle:#867a98;
 --line:#e8e0f5;--line2:#d9cce9;--hover:#f3edff;--nav-selected:#eee5ff;
 --chip:#f4edff;--chart:#e3d7f8;--input:#fff;--field-border:#d8cae9;
 --shadow:0 20px 55px rgba(80,42,149,.10);--radius:23px;
 --theme-surface-top:#ffffff;--theme-surface-bottom:#f9f6ff;
 --theme-glow:rgba(122,72,226,.10);--theme-outline:rgba(141,90,239,.35);
}
:root[data-palette="violet"][data-theme="dark"]{
 color-scheme:dark;
 --brand:#c0a4ff;--brand-hover:#d4bfff;--brand-2:#f0a8eb;
 --brand-action:#885df0;--brand-action-hover:#9e7afa;--on-brand:#ffffff;
 --success:#40d3b0;--danger:#ff82ad;--warning:#ffc774;--info:#c1b1ff;
 --body:#0f0c1e;--sidebar:#17132a;--sidebar-end:#120e24;
 --panel:#201a35;--panel2:#2a2143;--overlay:#211a36;
 --text:#f4eeff;--muted:#ada0cb;--subtle:#b6a9cf;
 --line:#3b3057;--line2:#4b3b69;--hover:#30254d;--nav-selected:#382a59;
 --chip:#2c2247;--chart:#403358;--input:#201a35;--field-border:#534371;
 --shadow:0 24px 60px rgba(0,0,0,.35);--radius:23px;
 --theme-surface-top:#281f42;--theme-surface-bottom:#1c1731;
 --theme-glow:rgba(174,110,255,.15);--theme-outline:rgba(187,146,255,.35);
}

/* Shared presentation rules for the two additional styles. All status colors remain semantic. */
:root[data-palette="marker"] body,
:root[data-palette="violet"] body{
 background:radial-gradient(circle at 88% 0%,var(--theme-glow),transparent 27%),var(--body);
}
:root:is([data-palette="marker"],[data-palette="violet"]) .sidebar{
 background:linear-gradient(180deg,var(--sidebar),var(--sidebar-end));
}
:root:is([data-palette="marker"],[data-palette="violet"]) .sidebar .nav-link.active{
 background:var(--nav-selected);box-shadow:inset 3px 0 0 var(--brand);
}
:root:is([data-palette="marker"],[data-palette="violet"]) :is(.panel,.summary-card,.stats-tile,.aside,.response-panel,.section-panel,.incident-panel,.settings-card,.auth-card,.modal){
 background:linear-gradient(155deg,var(--theme-surface-top),var(--theme-surface-bottom));
 border-color:var(--line);
}
:root:is([data-palette="marker"],[data-palette="violet"]) :is(.dash-metric,.group-stat,.cert-stat,.customer-group-card,.list-card,.monitor-filter-bar,.bulk-toolbar){
 background:var(--panel);border-color:var(--line);
}
:root:is([data-palette="marker"],[data-palette="violet"]) :is(.dash-metric,.group-stat,.cert-stat,.customer-group-card,.cert-renew-kpis>div){
 border-radius:var(--radius);
}
:root:is([data-palette="marker"],[data-palette="violet"]) :is(.btn.primary,.ycw-login-submit){
 background:linear-gradient(115deg,var(--brand-action),color-mix(in srgb,var(--brand-action) 75%,var(--brand-2)));
 color:var(--on-brand);border-color:transparent;
 box-shadow:0 10px 25px color-mix(in srgb,var(--brand-action) 18%,transparent);
}
:root:is([data-palette="marker"],[data-palette="violet"]) :is(.btn.primary,.ycw-login-submit):hover{
 background:var(--brand-action-hover);color:var(--on-brand);
 box-shadow:0 15px 30px color-mix(in srgb,var(--brand-action) 23%,transparent);
}
:root:is([data-palette="marker"],[data-palette="violet"]) :is(.form-input,select,textarea,.text-input,.ycw-login-input):focus{
 border-color:var(--brand)!important;box-shadow:0 0 0 4px var(--theme-glow)!important;
}
:root:is([data-palette="marker"],[data-palette="violet"]) :is(.metric-flat-icon,.group-avatar,.cert-issuer-icon,.blank-state .big-icon){
 color:var(--brand);background:color-mix(in srgb,var(--brand) 12%,var(--panel));
 border-color:var(--theme-outline);
}
:root:is([data-palette="marker"],[data-palette="violet"]) :is(.dash-metric.green .metric-flat-icon,.dash-metric.red .metric-flat-icon){
 color:inherit;
}
:root:is([data-palette="marker"],[data-palette="violet"]) .dash-metric.green .metric-flat-icon{color:var(--success);background:color-mix(in srgb,var(--success) 11%,var(--panel))}
:root:is([data-palette="marker"],[data-palette="violet"]) .dash-metric.red .metric-flat-icon{color:var(--danger);background:color-mix(in srgb,var(--danger) 11%,var(--panel))}
:root:is([data-palette="marker"],[data-palette="violet"]) .cert-timeline-track>span{
 background:linear-gradient(180deg,var(--brand-2),var(--brand));
}
:root:is([data-palette="marker"],[data-palette="violet"]) .cert-timeline-column:first-child .cert-timeline-track>span{
 background:linear-gradient(180deg,var(--warning),var(--danger));
}
:root:is([data-palette="marker"],[data-palette="violet"]) :is(.dash-speed-track span,.incident-day .incident-fill){
 background:linear-gradient(90deg,var(--brand),var(--brand-2));
}
:root:is([data-palette="marker"],[data-palette="violet"]) :is(.metric-icon,.dash-panel-chip,.onboard){
 background:color-mix(in srgb,var(--brand) 11%,var(--panel));
 border-color:var(--theme-outline);
}
:root:is([data-palette="marker"],[data-palette="violet"]) :is(.dash-donut,.dash-donut-hole){box-shadow:inset 0 0 0 1px var(--line),0 12px 28px var(--theme-glow)}
:root:is([data-palette="marker"],[data-palette="violet"]) :is(.data-table tbody tr:hover,.dash-legend div:hover,.dash-speed-row:hover,.incident-day:hover,.analytics-line .chart-hit:hover){
 background:color-mix(in srgb,var(--brand) 7%,transparent);
}
:root:is([data-palette="marker"],[data-palette="violet"]) .analytics-line .chart-hit:hover{fill:color-mix(in srgb,var(--brand) 9%,transparent)}
:root:is([data-palette="marker"],[data-palette="violet"]) :is(.cert-renew-row:hover,.monitor-row:hover,.list-card:hover){background:var(--hover)}

/* Distinct visual personalities. */
:root[data-palette="marker"] :is(.panel,.settings-card,.btn,.icon-btn,.ycw-login-card,.ycw-login-submit,.dash-metric){border-radius:14px}
:root[data-palette="marker"] :is(.section-kicker,.dash-section-label){letter-spacing:.13em;text-transform:uppercase;font-weight:850}
:root[data-palette="marker"] .dash-metric{border-left:3px solid var(--theme-outline)}
:root[data-palette="marker"] .dash-metric:hover{border-left-color:var(--brand)}
:root[data-palette="marker"] .sidebar .nav-link.active{font-weight:850}
:root[data-palette="violet"] :is(.panel,.settings-card,.ycw-login-card,.dash-metric){border-radius:24px}
:root[data-palette="violet"] .sidebar .nav-link.active{box-shadow:inset 3px 0 0 var(--brand),0 10px 28px var(--theme-glow)}
:root[data-palette="violet"] .dash-metric:hover{box-shadow:0 22px 50px var(--theme-glow)}

/* Login composition retains the user's existing photo and original logo. */
:root:is([data-palette="marker"],[data-palette="violet"]) .ycw-login-shell{
 background:radial-gradient(circle at 13% 5%,var(--theme-glow),transparent 45%),var(--body);color:var(--text);
}
:root:is([data-palette="marker"],[data-palette="violet"]) .ycw-login-container{
 background:var(--panel);border-color:var(--line);box-shadow:var(--shadow);
}
:root:is([data-palette="marker"],[data-palette="violet"]) .ycw-login-content{background:var(--panel)}
:root:is([data-palette="marker"],[data-palette="violet"]) .ycw-login-card{background:var(--panel2);border-color:var(--line)}
:root:is([data-palette="marker"],[data-palette="violet"]) :is(.ycw-login-card h1,.ycw-login-field label,.ycw-login-brandline){color:var(--text)}
:root:is([data-palette="marker"],[data-palette="violet"]) :is(.ycw-login-subtitle,.ycw-login-footnote,.ycw-login-links,.ycw-login-links a,.ycw-login-brandline>span){color:var(--muted)}
:root:is([data-palette="marker"],[data-palette="violet"]) .ycw-login-input{background:var(--input);color:var(--text);border-color:var(--field-border)}
:root:is([data-palette="marker"],[data-palette="violet"]) .ycw-login-theme{background:var(--chip);border-color:var(--line);color:var(--text)}
:root:is([data-palette="marker"],[data-palette="violet"]) .ycw-login-brandline>span{border-color:var(--line)}
:root:is([data-palette="marker"],[data-palette="violet"]) .ycw-login-visual:after{
 content:'';position:absolute;inset:0;pointer-events:none;
 background:linear-gradient(145deg,var(--theme-glow),transparent 60%);
}
:root[data-palette="marker"] .ycw-login-submit{letter-spacing:.02em}
:root[data-palette="violet"] .ycw-login-submit{border-radius:16px}

/* User-facing palette picker. Accessible native radio controls, distinct preview swatches. */
.theme-palette-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:4px 0 8px}
.theme-palette-option{position:relative;display:flex;flex-direction:column;gap:9px;min-width:0;padding:10px;border:2px solid var(--line);border-radius:17px;background:var(--panel2);cursor:pointer;transition:border-color .15s,transform .15s,box-shadow .15s}
.theme-palette-option:hover{transform:translateY(-2px);border-color:var(--theme-outline,var(--brand))}
.theme-palette-option.selected{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 13%,transparent)}
.theme-palette-option:focus-within{outline:3px solid var(--brand);outline-offset:3px}
.theme-palette-option input{position:absolute;opacity:0;width:1px;height:1px}
.theme-palette-preview{--pv-bg:#edf3fc;--pv-sidebar:#f9fbff;--pv-panel:#fff;--pv-accent:#3a79fa;display:flex;position:relative;min-height:70px;overflow:hidden;border-radius:11px;background:var(--pv-bg);border:1px solid rgba(40,45,60,.10);padding:8px;gap:7px}
.theme-palette-option[data-preview="marker"] .theme-palette-preview{--pv-bg:#f6f7e8;--pv-sidebar:#21291d;--pv-panel:#fff;--pv-accent:#e3f23e}
.theme-palette-option[data-preview="violet"] .theme-palette-preview{--pv-bg:#ece5ff;--pv-sidebar:#2d1e54;--pv-panel:#fff;--pv-accent:#9e69ef}
.theme-preview-side{width:22%;border-radius:5px;background:var(--pv-sidebar);box-shadow:inset 0 0 0 1px rgba(0,0,0,.07)}
.theme-preview-panel{display:flex;flex:1;flex-direction:column;gap:5px;padding:8px;border-radius:6px;background:var(--pv-panel)}
.theme-preview-panel b{display:block;height:8px;width:58%;background:var(--pv-accent);border-radius:3px}
.theme-preview-panel em{display:block;height:6px;background:var(--pv-bg);border-radius:3px;width:90%}
.theme-preview-panel em:last-child{width:65%}
.theme-preview-accent{position:absolute;bottom:10px;right:11px;width:15px;height:15px;border-radius:50%;background:var(--pv-accent);box-shadow:0 0 0 2px #fff}
.theme-palette-copy{display:flex;flex-direction:column;gap:3px;min-width:0;padding-right:10px}
.theme-palette-copy strong{font-size:11px;line-height:1.35;overflow-wrap:anywhere;color:var(--text)}
.theme-palette-copy small{font-size:10px;line-height:1.5;color:var(--muted)}
.theme-palette-check{position:absolute;bottom:9px;right:10px;font-size:14px;font-weight:900;color:var(--brand)}
.appearance-settings{grid-column:span 2}
.appearance-settings .field{margin-top:18px}
@media(max-width:920px){.appearance-settings{grid-column:span 1}.theme-palette-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:570px){.theme-palette-grid{grid-template-columns:1fr}.theme-palette-option{display:grid;grid-template-columns:90px 1fr 20px;align-items:center;gap:12px}.theme-palette-preview{min-height:60px}.theme-palette-check{position:static}.theme-palette-copy{padding-right:0}}
@media(prefers-reduced-motion:reduce){.theme-palette-option{transition:none}.theme-palette-option:hover{transform:none}}


/* v2.8.1 palette refresh: stronger contrast, unified cards and brighter accents across all three themes. */
:root[data-palette="blue"][data-theme="light"]{
 color-scheme:light;
 --brand:#2f6bff;--brand-hover:#1857f2;--brand-2:#5c8fff;
 --brand-action:#3772ff;--brand-action-hover:#215cf5;--on-brand:#ffffff;
 --success:#10b981;--danger:#f0526a;--warning:#f59e0b;--info:#3b82f6;
 --body:#eef4fb;--sidebar:#ffffff;--sidebar-end:#f7faff;
 --panel:#ffffff;--panel2:#fbfdff;--overlay:#ffffff;
 --text:#1c2940;--muted:#61738e;--subtle:#6c7f98;
 --line:#dbe5f0;--line2:#c8d7e8;--hover:#f3f7fd;--nav-selected:#eef4ff;
 --chip:#f4f7fc;--chart:#d9e7ff;--input:#ffffff;--field-border:#d7e3f1;
 --shadow:0 18px 45px rgba(38,78,146,.10);--radius:20px;
 --theme-surface-top:#ffffff;--theme-surface-bottom:#ffffff;
 --theme-glow:rgba(47,107,255,.12);--theme-outline:rgba(47,107,255,.34);
}
:root[data-palette="blue"][data-theme="dark"]{
 color-scheme:dark;
 --brand:#6ea0ff;--brand-hover:#8ab2ff;--brand-2:#3d7bff;
 --brand-action:#4d86ff;--brand-action-hover:#6897ff;--on-brand:#ffffff;
 --success:#22d39a;--danger:#ff718c;--warning:#ffcc6a;--info:#88b4ff;
 --body:#0b1220;--sidebar:#121c30;--sidebar-end:#0d1727;
 --panel:#152238;--panel2:#1a2942;--overlay:#16253b;
 --text:#eff4ff;--muted:#9fb0ca;--subtle:#a9b8cf;
 --line:#243552;--line2:#314868;--hover:#1e304c;--nav-selected:#1a2942;
 --chip:#132033;--chart:#21344e;--input:#132033;--field-border:#365277;
 --shadow:0 22px 55px rgba(0,0,0,.34);--radius:20px;
 --theme-surface-top:#1a2942;--theme-surface-bottom:#152338;
 --theme-glow:rgba(79,139,255,.13);--theme-outline:rgba(110,160,255,.42);
}
:root[data-palette="marker"][data-theme="light"]{
 color-scheme:light;
 --brand:#8da300;--brand-hover:#6e8500;--brand-2:#e9ff36;
 --brand-action:#dff233;--brand-action-hover:#d1e71d;--on-brand:#202606;
 --success:#0f9d71;--danger:#ee4967;--warning:#d48b00;--info:#6a7d00;
 --body:#f5f7e6;--sidebar:#ffffff;--sidebar-end:#fbfdf1;
 --panel:#ffffff;--panel2:#fdfff6;--overlay:#ffffff;
 --text:#20281c;--muted:#5d6a58;--subtle:#6b7966;
 --line:#dce4c9;--line2:#ced7b8;--hover:#f4f8e8;--nav-selected:#f3facf;
 --chip:#f5f8ea;--chart:#e7efbe;--input:#ffffff;--field-border:#d6dfbd;
 --shadow:0 18px 45px rgba(83,95,13,.11);--radius:19px;
 --theme-surface-top:#ffffff;--theme-surface-bottom:#ffffff;
 --theme-glow:rgba(197,223,31,.14);--theme-outline:rgba(149,173,0,.38);
}
:root[data-palette="marker"][data-theme="dark"]{
 color-scheme:dark;
 --brand:#dcf83a;--brand-hover:#e9ff73;--brand-2:#f0ff89;
 --brand-action:#d8f33b;--brand-action-hover:#e5ff67;--on-brand:#141902;
 --success:#3fe2af;--danger:#ff7d97;--warning:#ffd166;--info:#d4ee7f;
 --body:#0d1209;--sidebar:#141a11;--sidebar-end:#11170e;
 --panel:#1a2416;--panel2:#212d1d;--overlay:#1d2818;
 --text:#f1f8e7;--muted:#a7b8a1;--subtle:#b2c0ad;
 --line:#33452f;--line2:#41553d;--hover:#273422;--nav-selected:#26311f;
 --chip:#1d2919;--chart:#33462a;--input:#1c2719;--field-border:#455b41;
 --shadow:0 22px 55px rgba(0,0,0,.34);--radius:19px;
 --theme-surface-top:#202b1b;--theme-surface-bottom:#182114;
 --theme-glow:rgba(216,243,59,.12);--theme-outline:rgba(221,246,75,.42);
}
:root[data-palette="violet"][data-theme="light"]{
 color-scheme:light;
 --brand:#6d3df5;--brand-hover:#5726e0;--brand-2:#8f67ff;
 --brand-action:#6d3df5;--brand-action-hover:#592ae1;--on-brand:#ffffff;
 --success:#16b88c;--danger:#f45383;--warning:#ff9a47;--info:#7f56ff;
 --body:#f2eeff;--sidebar:#ffffff;--sidebar-end:#faf7ff;
 --panel:#ffffff;--panel2:#fcfbff;--overlay:#ffffff;
 --text:#2a2043;--muted:#75698e;--subtle:#8476a0;
 --line:#e5dcf7;--line2:#d8caf3;--hover:#f4efff;--nav-selected:#f0e9ff;
 --chip:#f4efff;--chart:#e4d9ff;--input:#ffffff;--field-border:#d9cdf0;
 --shadow:0 18px 45px rgba(96,62,198,.12);--radius:24px;
 --theme-surface-top:#ffffff;--theme-surface-bottom:#ffffff;
 --theme-glow:rgba(110,61,245,.14);--theme-outline:rgba(110,61,245,.34);
}
:root[data-palette="violet"][data-theme="dark"]{
 color-scheme:dark;
 --brand:#b89aff;--brand-hover:#cdb8ff;--brand-2:#8f67ff;
 --brand-action:#7c53ff;--brand-action-hover:#916fff;--on-brand:#ffffff;
 --success:#3edeb1;--danger:#ff83ad;--warning:#ffc36b;--info:#c4b0ff;
 --body:#0d0a18;--sidebar:#161126;--sidebar-end:#120e20;
 --panel:#1d1630;--panel2:#261d3b;--overlay:#201932;
 --text:#f5efff;--muted:#b0a4cb;--subtle:#b8abd4;
 --line:#3b3157;--line2:#4a3b6f;--hover:#2d2346;--nav-selected:#342852;
 --chip:#241b3b;--chart:#3d315c;--input:#201935;--field-border:#58467d;
 --shadow:0 22px 55px rgba(0,0,0,.36);--radius:24px;
 --theme-surface-top:#241b3b;--theme-surface-bottom:#1c152d;
 --theme-glow:rgba(143,103,255,.16);--theme-outline:rgba(184,154,255,.38);
}

:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) body{
 background:radial-gradient(circle at 100% 0%,var(--theme-glow),transparent 30%),linear-gradient(180deg,color-mix(in srgb,var(--body) 84%,#ffffff 16%),var(--body));
}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .sidebar{
 background:linear-gradient(180deg,var(--sidebar),var(--sidebar-end));
}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .brand-logo-wrap{background:color-mix(in srgb,var(--panel) 88%,transparent);border-color:var(--line);box-shadow:none}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .nav-link{border:1px solid transparent;font-weight:700}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .nav-link:hover{background:var(--hover)}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .nav-link.active{
 background:var(--nav-selected);box-shadow:inset 3px 0 0 var(--brand);color:var(--text);border-color:color-mix(in srgb,var(--brand) 14%,var(--line));
}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) :is(.panel,.summary-card,.stats-tile,.aside,.response-panel,.section-panel,.incident-panel,.settings-card,.auth-card,.modal,.dash-chart,.dash-status-panel,.dash-incident-panel,.dash-services,.dash-events,.dash-speed,.dash-maintenance){
 background:linear-gradient(180deg,var(--theme-surface-top),var(--theme-surface-bottom));
 border:1px solid var(--line); box-shadow:var(--shadow);
}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) :is(.dash-metric,.group-stat,.cert-stat,.customer-group-card,.list-card,.monitor-filter-bar,.bulk-toolbar,.monitor-row,.group-card,.table-wrap,.wide-note,.cert-dashboard-panel,.lifetime-panel,.cert-renew-panel){
 background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:var(--radius);
}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .dash-metric,
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .summary-card{position:relative;overflow:hidden}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .dash-metric:before,
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .summary-card:before{
 content:'';position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--brand),var(--brand-2));display:block;
}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .dash-metric.green:before{background:linear-gradient(90deg,var(--success),color-mix(in srgb,var(--success) 60%,#ffffff));}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .dash-metric.red:before{background:linear-gradient(90deg,var(--danger),color-mix(in srgb,var(--danger) 60%,#ffffff));}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .dash-metric.orange:before{background:linear-gradient(90deg,var(--brand),var(--brand-2));}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) :is(.btn.primary,.ycw-login-submit){
 background:linear-gradient(135deg,var(--brand-action),var(--brand-2));
 color:var(--on-brand);border-color:transparent;box-shadow:0 12px 26px color-mix(in srgb,var(--brand-action) 24%,transparent);
}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) :is(.btn.primary,.ycw-login-submit):hover{
 transform:translateY(-1px);background:linear-gradient(135deg,var(--brand-action-hover),var(--brand));
}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) :is(.icon-btn,.btn.soft,.btn.outline,.dash-panel-chip,.dash-time-pill,.tag,.code-badge){
 background:var(--chip);border-color:var(--line);color:var(--text);
}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) :is(.form-input,select,textarea,.text-input,.ycw-login-input){
 background:var(--input);border-color:var(--field-border)!important;color:var(--text);
}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) :is(.form-input,select,textarea,.text-input,.ycw-login-input):focus{border-color:var(--brand)!important;box-shadow:0 0 0 4px var(--theme-glow)!important;}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) :is(.metric-flat-icon,.metric-icon,.group-avatar,.cert-issuer-icon,.blank-state .big-icon,.dash-panel-chip,.onboard){
 color:var(--brand);background:color-mix(in srgb,var(--brand) 12%,var(--panel));border-color:var(--theme-outline);
}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .dash-metric.green .metric-flat-icon{color:var(--success);background:color-mix(in srgb,var(--success) 12%,var(--panel));}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .dash-metric.red .metric-flat-icon{color:var(--danger);background:color-mix(in srgb,var(--danger) 12%,var(--panel));}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .dash-chart,
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .dash-status-panel,
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .dash-incident-panel,
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .dash-bottom>div{border-radius:var(--radius)}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .dash-section-label,
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .section-kicker{color:var(--brand);font-weight:800;letter-spacing:.13em;text-transform:uppercase}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .dash-intro h1 .accent{color:var(--brand)}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .analytics-line .chart-line,
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .response-svg .line-path{stroke:var(--brand)}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .analytics-line .chart-area,
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .response-svg .area-path{fill:color-mix(in srgb,var(--brand) 16%,transparent)}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .analytics-line .chart-point{fill:var(--brand);stroke:#fff}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) :is(.data-table tbody tr:hover,.dash-legend div:hover,.dash-speed-row:hover,.incident-day:hover,.chart-hit:hover,.cert-renew-row:hover,.monitor-row:hover,.list-card:hover){background:color-mix(in srgb,var(--brand) 7%,var(--hover));}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .incident-day,.dash-metric,.btn,.icon-btn,.list-card,.monitor-row,.theme-palette-option{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) :is(.incident-day:hover,.dash-metric:hover,.list-card:hover,.monitor-row:hover,.theme-palette-option:hover){transform:translateY(-2px);box-shadow:0 16px 34px color-mix(in srgb,var(--theme-glow) 60%,rgba(20,30,50,.14));}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .ycw-login-shell{background:radial-gradient(circle at 14% 6%,var(--theme-glow),transparent 44%),var(--body)}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .ycw-login-card{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow)}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .ycw-login-content{background:var(--panel)}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .theme-palette-option{background:var(--panel);border-color:var(--line)}
:root:is([data-palette="blue"],[data-palette="marker"],[data-palette="violet"]) .theme-palette-option.selected{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 13%,transparent)}

.theme-palette-option[data-preview="blue"] .theme-palette-preview{--pv-bg:#edf4ff;--pv-sidebar:#0f1b31;--pv-panel:#ffffff;--pv-accent:#3a79fa}
.theme-palette-option[data-preview="marker"] .theme-palette-preview{--pv-bg:#f7fae7;--pv-sidebar:#202715;--pv-panel:#ffffff;--pv-accent:#dff233}
.theme-palette-option[data-preview="violet"] .theme-palette-preview{--pv-bg:#efe7ff;--pv-sidebar:#2a1d4e;--pv-panel:#ffffff;--pv-accent:#7b4dff}
