/* UI_THEME_GALLERY_V22_20260728 — fourteen administrator-selectable light and dark dashboard themes */
html[data-dashboard-theme]{
  color-scheme:light!important;
  --theme-page:#f7f3fa;
  --theme-page-2:#fff9f4;
  --theme-page-3:#f4f8f5;
  --theme-surface:#ffffff;
  --theme-surface-soft:#fcf9ff;
  --theme-sidebar-1:#ffffff;
  --theme-sidebar-2:#fbf6ff;
  --theme-sidebar-3:#fff8f2;
  --theme-text:#51465f;
  --theme-heading:#463a58;
  --theme-muted:#82778f;
  --theme-line:#e7ddec;
  --theme-line-strong:#d2c2df;
  --theme-primary:#8265c7;
  --theme-primary-strong:#6c50b0;
  --theme-primary-soft:#eee7fb;
  --theme-accent:#e9786e;
  --theme-accent-soft:#ffebe6;
  --theme-success:#4f9f88;
  --theme-success-soft:#e4f4ed;
  --theme-warning:#bd8437;
  --theme-warning-soft:#fff1d9;
  --theme-danger:#cf6575;
  --theme-danger-soft:#fde9ed;
  --theme-nav-hover:#f5effc;
  --theme-nav-active-1:#eee6fb;
  --theme-nav-active-2:#fff0ea;
  --theme-icon-bg:#f0e9f8;
  --theme-code-bg:#f8f5fb;
  --theme-shadow:rgba(102,75,124,.11);
  --theme-shadow-soft:rgba(102,75,124,.08);
  --theme-focus:rgba(130,101,199,.25);
  --theme-selection:#ddcff6;
  --theme-gradient:linear-gradient(145deg,#f7f3fa 0%,#fff9f4 52%,#f4f8f5 100%);
  --theme-brand-gradient:linear-gradient(145deg,#8265c7,#a47fe0 58%,#e9786e);
  --theme-button-gradient:linear-gradient(135deg,#8265c7,#a47fe0);
  --theme-robot-face-1:#9b79d4;
  --theme-robot-face-2:#7458b2;
  --theme-robot-body-1:#f3a098;
  --theme-robot-body-2:#e9786e;
  --ui-bg:var(--theme-page)!important;
  --ui-bg-warm:var(--theme-page-2)!important;
  --ui-surface:var(--theme-surface)!important;
  --ui-surface-soft:var(--theme-surface-soft)!important;
  --ui-surface-lilac:var(--theme-primary-soft)!important;
  --ui-surface-peach:var(--theme-accent-soft)!important;
  --ui-surface-sage:var(--theme-success-soft)!important;
  --ui-text:var(--theme-text)!important;
  --ui-heading:var(--theme-heading)!important;
  --ui-muted:var(--theme-muted)!important;
  --ui-line:var(--theme-line)!important;
  --ui-line-strong:var(--theme-line-strong)!important;
  --ui-primary:var(--theme-primary)!important;
  --ui-primary-strong:var(--theme-primary-strong)!important;
  --ui-primary-soft:var(--theme-primary-soft)!important;
  --ui-coral:var(--theme-accent)!important;
  --ui-coral-soft:var(--theme-accent-soft)!important;
  --ui-sage:var(--theme-success)!important;
  --ui-sage-soft:var(--theme-success-soft)!important;
  --ui-amber:var(--theme-warning)!important;
  --ui-amber-soft:var(--theme-warning-soft)!important;
  --ui-danger:var(--theme-danger)!important;
  --ui-danger-soft:var(--theme-danger-soft)!important;
  --ui-shadow:0 18px 46px var(--theme-shadow)!important;
  --ui-shadow-soft:0 8px 24px var(--theme-shadow-soft)!important;
}

html[data-dashboard-theme="mint_breeze"]{
  --theme-page:#eef9f5;--theme-page-2:#f7fffd;--theme-page-3:#fffaf0;
  --theme-surface:#ffffff;--theme-surface-soft:#f6fcfa;
  --theme-sidebar-1:#fbfffd;--theme-sidebar-2:#eefaf6;--theme-sidebar-3:#fffaf1;
  --theme-text:#42625f;--theme-heading:#315752;--theme-muted:#718d88;
  --theme-line:#d5ebe4;--theme-line-strong:#b9dacf;
  --theme-primary:#43a995;--theme-primary-strong:#278777;--theme-primary-soft:#dff5ef;
  --theme-accent:#66bfc5;--theme-accent-soft:#e2f7f8;
  --theme-success:#5ea56f;--theme-success-soft:#e6f5e8;
  --theme-warning:#c68a45;--theme-warning-soft:#fff1dc;
  --theme-danger:#d36f7b;--theme-danger-soft:#fde9ed;
  --theme-nav-hover:#eaf8f4;--theme-nav-active-1:#dff5ef;--theme-nav-active-2:#e4f7f8;--theme-icon-bg:#e5f6f1;
  --theme-code-bg:#f1faf7;--theme-shadow:rgba(50,125,111,.11);--theme-shadow-soft:rgba(50,125,111,.08);
  --theme-focus:rgba(67,169,149,.25);--theme-selection:#c7eee4;
  --theme-gradient:linear-gradient(145deg,#eef9f5 0%,#f8fffd 52%,#fffaf1 100%);
  --theme-brand-gradient:linear-gradient(145deg,#43a995,#69c9b6 58%,#66bfc5);
  --theme-button-gradient:linear-gradient(135deg,#43a995,#66bfc5);
  --theme-robot-face-1:#5fc6b3;--theme-robot-face-2:#329987;--theme-robot-body-1:#84d6d7;--theme-robot-body-2:#55b8bd;
}

html[data-dashboard-theme="sunrise_peach"]{
  --theme-page:#fff6ee;--theme-page-2:#fffaf5;--theme-page-3:#fff3f0;
  --theme-surface:#ffffff;--theme-surface-soft:#fffaf7;
  --theme-sidebar-1:#fffdfb;--theme-sidebar-2:#fff5ed;--theme-sidebar-3:#fff1ed;
  --theme-text:#715348;--theme-heading:#65453b;--theme-muted:#9a7a6f;
  --theme-line:#f0ddd3;--theme-line-strong:#dfc2b4;
  --theme-primary:#e58a68;--theme-primary-strong:#c96b4b;--theme-primary-soft:#ffeadf;
  --theme-accent:#e76f7b;--theme-accent-soft:#fde8ec;
  --theme-success:#66a383;--theme-success-soft:#e6f3eb;
  --theme-warning:#bf843c;--theme-warning-soft:#fff0d6;
  --theme-danger:#cf5e70;--theme-danger-soft:#fde5e9;
  --theme-nav-hover:#fff0e8;--theme-nav-active-1:#ffe9dd;--theme-nav-active-2:#fde8ec;--theme-icon-bg:#ffede4;
  --theme-code-bg:#fff7f2;--theme-shadow:rgba(159,91,65,.11);--theme-shadow-soft:rgba(159,91,65,.08);
  --theme-focus:rgba(229,138,104,.25);--theme-selection:#ffd6c5;
  --theme-gradient:linear-gradient(145deg,#fff6ee 0%,#fffaf5 50%,#fff1ef 100%);
  --theme-brand-gradient:linear-gradient(145deg,#e58a68,#f2a57f 58%,#e76f7b);
  --theme-button-gradient:linear-gradient(135deg,#e58a68,#e76f7b);
  --theme-robot-face-1:#ef9b78;--theme-robot-face-2:#d97655;--theme-robot-body-1:#f28e9a;--theme-robot-body-2:#df6876;
}

html[data-dashboard-theme="sky_cloud"]{
  --theme-page:#f1f7ff;--theme-page-2:#f9fbff;--theme-page-3:#f6f3ff;
  --theme-surface:#ffffff;--theme-surface-soft:#f8fbff;
  --theme-sidebar-1:#fcfdff;--theme-sidebar-2:#eef6ff;--theme-sidebar-3:#f7f3ff;
  --theme-text:#4d5e78;--theme-heading:#3f5270;--theme-muted:#7b8ca4;
  --theme-line:#dce7f4;--theme-line-strong:#bfd0e3;
  --theme-primary:#5f93d6;--theme-primary-strong:#4779bb;--theme-primary-soft:#e3effd;
  --theme-accent:#8b7ed3;--theme-accent-soft:#eeeafd;
  --theme-success:#54a493;--theme-success-soft:#e3f4ef;
  --theme-warning:#bd873e;--theme-warning-soft:#fff1da;
  --theme-danger:#d1697b;--theme-danger-soft:#fde8ed;
  --theme-nav-hover:#eaf3fd;--theme-nav-active-1:#e1eefc;--theme-nav-active-2:#ede9fd;--theme-icon-bg:#e7f1fc;
  --theme-code-bg:#f4f8fd;--theme-shadow:rgba(70,105,151,.11);--theme-shadow-soft:rgba(70,105,151,.08);
  --theme-focus:rgba(95,147,214,.25);--theme-selection:#cfe3fb;
  --theme-gradient:linear-gradient(145deg,#f1f7ff 0%,#fbfdff 50%,#f6f2ff 100%);
  --theme-brand-gradient:linear-gradient(145deg,#5f93d6,#79afe8 58%,#8b7ed3);
  --theme-button-gradient:linear-gradient(135deg,#5f93d6,#8b7ed3);
  --theme-robot-face-1:#79afe8;--theme-robot-face-2:#5687c7;--theme-robot-body-1:#a99adf;--theme-robot-body-2:#8574c7;
}

html[data-dashboard-theme="meadow_light"]{
  --theme-page:#f4f9ef;--theme-page-2:#fbfdf7;--theme-page-3:#fffaf0;
  --theme-surface:#ffffff;--theme-surface-soft:#f9fcf5;
  --theme-sidebar-1:#fdfff9;--theme-sidebar-2:#f2f9eb;--theme-sidebar-3:#fffaf0;
  --theme-text:#566548;--theme-heading:#46583b;--theme-muted:#7d8d70;
  --theme-line:#dfead5;--theme-line-strong:#c6d8b6;
  --theme-primary:#75a75e;--theme-primary-strong:#5e8b49;--theme-primary-soft:#e7f2df;
  --theme-accent:#d3a84d;--theme-accent-soft:#fff2d3;
  --theme-success:#55a07b;--theme-success-soft:#e4f3ea;
  --theme-warning:#c58a3d;--theme-warning-soft:#fff1d8;
  --theme-danger:#cc6c76;--theme-danger-soft:#fce8eb;
  --theme-nav-hover:#edf6e7;--theme-nav-active-1:#e5f1dd;--theme-nav-active-2:#fff0cf;--theme-icon-bg:#eaf4e3;
  --theme-code-bg:#f7fbf3;--theme-shadow:rgba(91,120,67,.11);--theme-shadow-soft:rgba(91,120,67,.08);
  --theme-focus:rgba(117,167,94,.25);--theme-selection:#d8eccb;
  --theme-gradient:linear-gradient(145deg,#f4f9ef 0%,#fbfdf7 52%,#fffaf0 100%);
  --theme-brand-gradient:linear-gradient(145deg,#75a75e,#9cbe79 58%,#d3a84d);
  --theme-button-gradient:linear-gradient(135deg,#75a75e,#b6a755);
  --theme-robot-face-1:#8db777;--theme-robot-face-2:#678f52;--theme-robot-body-1:#e1bd65;--theme-robot-body-2:#c59b3f;
}

html[data-dashboard-theme="rose_quartz"]{
  --theme-page:#fff4f7;--theme-page-2:#fffaf9;--theme-page-3:#f8f3fb;
  --theme-surface:#ffffff;--theme-surface-soft:#fff9fb;
  --theme-sidebar-1:#fffdfd;--theme-sidebar-2:#fff1f5;--theme-sidebar-3:#f8f2fb;
  --theme-text:#6f5061;--theme-heading:#604455;--theme-muted:#967687;
  --theme-line:#efdce5;--theme-line-strong:#dbbfcd;
  --theme-primary:#cf7399;--theme-primary-strong:#b4557e;--theme-primary-soft:#f9e5ee;
  --theme-accent:#9b7ac1;--theme-accent-soft:#f0e8f8;
  --theme-success:#5ca085;--theme-success-soft:#e5f3ed;
  --theme-warning:#bd8642;--theme-warning-soft:#fff1da;
  --theme-danger:#cf6477;--theme-danger-soft:#fde7eb;
  --theme-nav-hover:#faeaf1;--theme-nav-active-1:#f8e3ec;--theme-nav-active-2:#eee6f7;--theme-icon-bg:#f8e7ef;
  --theme-code-bg:#fcf6f9;--theme-shadow:rgba(139,76,105,.11);--theme-shadow-soft:rgba(139,76,105,.08);
  --theme-focus:rgba(207,115,153,.25);--theme-selection:#f2cadb;
  --theme-gradient:linear-gradient(145deg,#fff4f7 0%,#fffaf9 50%,#f7f2fb 100%);
  --theme-brand-gradient:linear-gradient(145deg,#cf7399,#df8eb0 58%,#9b7ac1);
  --theme-button-gradient:linear-gradient(135deg,#cf7399,#9b7ac1);
  --theme-robot-face-1:#dc8bad;--theme-robot-face-2:#bd638a;--theme-robot-body-1:#b49ad1;--theme-robot-body-2:#9274b7;
}


html[data-dashboard-theme="citrus_pop"]{
  --theme-page:#fffbea;--theme-page-2:#f9fff2;--theme-page-3:#eef4ff;
  --theme-surface:#ffffff;--theme-surface-soft:#fffdf4;
  --theme-sidebar-1:#fffef8;--theme-sidebar-2:#f7fce9;--theme-sidebar-3:#eef4ff;
  --theme-text:#535d42;--theme-heading:#3f4b32;--theme-muted:#7f896e;
  --theme-line:#e8e4c8;--theme-line-strong:#d2cba5;
  --theme-primary:#799c32;--theme-primary-strong:#5f7d22;--theme-primary-soft:#edf5d6;
  --theme-accent:#356fd0;--theme-accent-soft:#e5eeff;
  --theme-success:#48a887;--theme-success-soft:#e2f5ee;
  --theme-warning:#c6912f;--theme-warning-soft:#fff0c8;
  --theme-danger:#d36573;--theme-danger-soft:#fde7ea;
  --theme-nav-hover:#f4f8df;--theme-nav-active-1:#edf5d6;--theme-nav-active-2:#e5eeff;--theme-icon-bg:#f0f5d9;
  --theme-code-bg:#fafbf2;--theme-shadow:rgba(92,108,49,.12);--theme-shadow-soft:rgba(92,108,49,.08);
  --theme-focus:rgba(121,156,50,.25);--theme-selection:#dceca9;
  --theme-gradient:linear-gradient(145deg,#fffbea 0%,#f9fff2 52%,#eef4ff 100%);
  --theme-brand-gradient:linear-gradient(145deg,#88ad3f,#b2c953 56%,#356fd0);
  --theme-button-gradient:linear-gradient(135deg,#799c32,#356fd0);
  --theme-robot-face-1:#9fc34f;--theme-robot-face-2:#71952e;--theme-robot-body-1:#5b8de0;--theme-robot-body-2:#356fd0;
}

html[data-dashboard-theme="lavender_mist"]{
  --theme-page:#f5f2ff;--theme-page-2:#f4f9ff;--theme-page-3:#fff7fb;
  --theme-surface:#ffffff;--theme-surface-soft:#faf8ff;
  --theme-sidebar-1:#fefeff;--theme-sidebar-2:#f2effd;--theme-sidebar-3:#f3f8ff;
  --theme-text:#58536e;--theme-heading:#46415d;--theme-muted:#817c95;
  --theme-line:#e2ddf0;--theme-line-strong:#c8c0df;
  --theme-primary:#7d69cb;--theme-primary-strong:#6552b1;--theme-primary-soft:#ece7fb;
  --theme-accent:#5e92d4;--theme-accent-soft:#e6f0fc;
  --theme-success:#57a28c;--theme-success-soft:#e4f3ee;
  --theme-warning:#bf8940;--theme-warning-soft:#fff0d6;
  --theme-danger:#d06a7d;--theme-danger-soft:#fde8ed;
  --theme-nav-hover:#f0ecfb;--theme-nav-active-1:#ebe5fb;--theme-nav-active-2:#e6f0fc;--theme-icon-bg:#ede9f8;
  --theme-code-bg:#f7f6fb;--theme-shadow:rgba(90,79,132,.12);--theme-shadow-soft:rgba(90,79,132,.08);
  --theme-focus:rgba(125,105,203,.25);--theme-selection:#d7cff4;
  --theme-gradient:linear-gradient(145deg,#f5f2ff 0%,#f5f9ff 52%,#fff7fb 100%);
  --theme-brand-gradient:linear-gradient(145deg,#7d69cb,#9a86df 58%,#5e92d4);
  --theme-button-gradient:linear-gradient(135deg,#7d69cb,#5e92d4);
  --theme-robot-face-1:#9783dc;--theme-robot-face-2:#705cc1;--theme-robot-body-1:#76a4dd;--theme-robot-body-2:#5689c9;
}

html[data-dashboard-theme="midnight_aurora"]{
  color-scheme:dark!important;
  --theme-page:#151827;--theme-page-2:#1a1e30;--theme-page-3:#20243a;
  --theme-surface:#22273b;--theme-surface-soft:#292f46;
  --theme-sidebar-1:#1d2133;--theme-sidebar-2:#20263a;--theme-sidebar-3:#28273c;
  --theme-text:#dce1f0;--theme-heading:#f7f8ff;--theme-muted:#a7afc5;
  --theme-line:#3b435f;--theme-line-strong:#505b7d;
  --theme-primary:#9b8cff;--theme-primary-strong:#b5aaff;--theme-primary-soft:#353357;
  --theme-accent:#ff8fa3;--theme-accent-soft:#4a2d3c;
  --theme-success:#65d3a7;--theme-success-soft:#23483d;
  --theme-warning:#f2bd66;--theme-warning-soft:#4c3d27;
  --theme-danger:#ff7b8c;--theme-danger-soft:#4f2934;
  --theme-nav-hover:#2c3149;--theme-nav-active-1:#343455;--theme-nav-active-2:#472f42;--theme-icon-bg:#303650;
  --theme-code-bg:#171b2a;--theme-shadow:rgba(2,5,15,.42);--theme-shadow-soft:rgba(2,5,15,.28);
  --theme-focus:rgba(155,140,255,.34);--theme-selection:#4b4776;
  --theme-gradient:linear-gradient(145deg,#151827 0%,#1a1e30 50%,#25263d 100%);
  --theme-brand-gradient:linear-gradient(145deg,#7f70ee,#a48ffb 58%,#ff7f9a);
  --theme-button-gradient:linear-gradient(135deg,#796ae3,#d36b93);
  --theme-robot-face-1:#9b8cff;--theme-robot-face-2:#7465d4;--theme-robot-body-1:#ff9aae;--theme-robot-body-2:#d86e8d;
}

html[data-dashboard-theme="ocean_depth"]{
  color-scheme:dark!important;
  --theme-page:#0f2633;--theme-page-2:#12303f;--theme-page-3:#173848;
  --theme-surface:#183746;--theme-surface-soft:#1e4253;
  --theme-sidebar-1:#14313f;--theme-sidebar-2:#163746;--theme-sidebar-3:#1b4050;
  --theme-text:#d5ecf1;--theme-heading:#f2fdff;--theme-muted:#97bcc5;
  --theme-line:#315767;--theme-line-strong:#477383;
  --theme-primary:#4fc3dc;--theme-primary-strong:#82dcee;--theme-primary-soft:#214e5d;
  --theme-accent:#82a8ff;--theme-accent-soft:#2a4165;
  --theme-success:#62d3b4;--theme-success-soft:#244d43;
  --theme-warning:#f0ba60;--theme-warning-soft:#4c3d26;
  --theme-danger:#ff7f91;--theme-danger-soft:#4c2b35;
  --theme-nav-hover:#204858;--theme-nav-active-1:#22515f;--theme-nav-active-2:#2a4266;--theme-icon-bg:#214b5a;
  --theme-code-bg:#102934;--theme-shadow:rgba(0,12,20,.42);--theme-shadow-soft:rgba(0,12,20,.28);
  --theme-focus:rgba(79,195,220,.34);--theme-selection:#2f6676;
  --theme-gradient:linear-gradient(145deg,#0f2633 0%,#12303f 50%,#183b4b 100%);
  --theme-brand-gradient:linear-gradient(145deg,#32a9c5,#58d0e3 58%,#7a9ef1);
  --theme-button-gradient:linear-gradient(135deg,#36aac5,#6b91ea);
  --theme-robot-face-1:#51c6df;--theme-robot-face-2:#3299b3;--theme-robot-body-1:#8cadf4;--theme-robot-body-2:#6889d8;
}

html[data-dashboard-theme="forest_night"]{
  color-scheme:dark!important;
  --theme-page:#14241f;--theme-page-2:#182c25;--theme-page-3:#203428;
  --theme-surface:#1e362e;--theme-surface-soft:#264239;
  --theme-sidebar-1:#193029;--theme-sidebar-2:#1c372e;--theme-sidebar-3:#263d2e;
  --theme-text:#dcecdf;--theme-heading:#f5fff6;--theme-muted:#a1bca6;
  --theme-line:#38594c;--theme-line-strong:#4e7563;
  --theme-primary:#6fd4a2;--theme-primary-strong:#9ae5bd;--theme-primary-soft:#285341;
  --theme-accent:#e0b663;--theme-accent-soft:#4b4028;
  --theme-success:#6fd4a2;--theme-success-soft:#285341;
  --theme-warning:#efbf67;--theme-warning-soft:#4c4028;
  --theme-danger:#ee7f8b;--theme-danger-soft:#4a2d34;
  --theme-nav-hover:#29483d;--theme-nav-active-1:#2a5542;--theme-nav-active-2:#4a4029;--theme-icon-bg:#29483c;
  --theme-code-bg:#142a23;--theme-shadow:rgba(2,14,9,.42);--theme-shadow-soft:rgba(2,14,9,.28);
  --theme-focus:rgba(111,212,162,.34);--theme-selection:#386c55;
  --theme-gradient:linear-gradient(145deg,#14241f 0%,#182c25 50%,#23372b 100%);
  --theme-brand-gradient:linear-gradient(145deg,#58bd8c,#7cd9aa 58%,#d6ac57);
  --theme-button-gradient:linear-gradient(135deg,#58bd8c,#c99c45);
  --theme-robot-face-1:#70d4a2;--theme-robot-face-2:#4eaa7d;--theme-robot-body-1:#e5bf70;--theme-robot-body-2:#c59743;
}

html[data-dashboard-theme="plum_noir"]{
  color-scheme:dark!important;
  --theme-page:#25192b;--theme-page-2:#2d1e34;--theme-page-3:#35243b;
  --theme-surface:#34243d;--theme-surface-soft:#402c49;
  --theme-sidebar-1:#2c1f34;--theme-sidebar-2:#34233d;--theme-sidebar-3:#40283d;
  --theme-text:#eadceb;--theme-heading:#fff3ff;--theme-muted:#c0a4c1;
  --theme-line:#5a3d61;--theme-line-strong:#735179;
  --theme-primary:#c58bd8;--theme-primary-strong:#dda9ec;--theme-primary-soft:#53355d;
  --theme-accent:#ef829d;--theme-accent-soft:#5b3245;
  --theme-success:#68c8a3;--theme-success-soft:#2c5143;
  --theme-warning:#e9b65d;--theme-warning-soft:#554227;
  --theme-danger:#fa7f92;--theme-danger-soft:#5b3040;
  --theme-nav-hover:#49314f;--theme-nav-active-1:#54365e;--theme-nav-active-2:#5a3347;--theme-icon-bg:#49314f;
  --theme-code-bg:#24192b;--theme-shadow:rgba(9,2,12,.43);--theme-shadow-soft:rgba(9,2,12,.29);
  --theme-focus:rgba(197,139,216,.34);--theme-selection:#694878;
  --theme-gradient:linear-gradient(145deg,#25192b 0%,#2d1e34 50%,#3b263e 100%);
  --theme-brand-gradient:linear-gradient(145deg,#aa70be,#ce94dd 58%,#ed7894);
  --theme-button-gradient:linear-gradient(135deg,#ac72c0,#df718f);
  --theme-robot-face-1:#c58bd8;--theme-robot-face-2:#9b64ad;--theme-robot-body-1:#ef91a7;--theme-robot-body-2:#ce647f;
}

html[data-dashboard-theme="graphite_coral"]{
  color-scheme:dark!important;
  --theme-page:#24272f;--theme-page-2:#2b2f39;--theme-page-3:#323743;
  --theme-surface:#333843;--theme-surface-soft:#3c424f;
  --theme-sidebar-1:#2c3039;--theme-sidebar-2:#333842;--theme-sidebar-3:#3c3b43;
  --theme-text:#e2e7ef;--theme-heading:#f9fbff;--theme-muted:#abb4c1;
  --theme-line:#505967;--theme-line-strong:#687382;
  --theme-primary:#79aef0;--theme-primary-strong:#a1c7f7;--theme-primary-soft:#3b4d66;
  --theme-accent:#ff8d7e;--theme-accent-soft:#5b3937;
  --theme-success:#64c7a2;--theme-success-soft:#315048;
  --theme-warning:#efbb62;--theme-warning-soft:#564529;
  --theme-danger:#ff7f8f;--theme-danger-soft:#5a343d;
  --theme-nav-hover:#414854;--theme-nav-active-1:#3e5068;--theme-nav-active-2:#5b3d3a;--theme-icon-bg:#414955;
  --theme-code-bg:#242832;--theme-shadow:rgba(4,6,10,.43);--theme-shadow-soft:rgba(4,6,10,.29);
  --theme-focus:rgba(121,174,240,.34);--theme-selection:#4f6687;
  --theme-gradient:linear-gradient(145deg,#24272f 0%,#2b2f39 50%,#383940 100%);
  --theme-brand-gradient:linear-gradient(145deg,#669cdf,#89b8f1 58%,#f37e72);
  --theme-button-gradient:linear-gradient(135deg,#669cdf,#e67469);
  --theme-robot-face-1:#7eb1ef;--theme-robot-face-2:#5788c7;--theme-robot-body-1:#f39a8e;--theme-robot-body-2:#d36f65;
}

html[data-dashboard-theme="sunset_dusk"]{
  color-scheme:dark!important;
  --theme-page:#34202d;--theme-page-2:#3c2433;--theme-page-3:#452b3a;
  --theme-surface:#452d3d;--theme-surface-soft:#513548;
  --theme-sidebar-1:#3b2735;--theme-sidebar-2:#452c3c;--theme-sidebar-3:#4e3436;
  --theme-text:#f0dfe6;--theme-heading:#fff5f8;--theme-muted:#c8a8b5;
  --theme-line:#674654;--theme-line-strong:#805c6b;
  --theme-primary:#b995e8;--theme-primary-strong:#d1b4f2;--theme-primary-soft:#5a3d66;
  --theme-accent:#f0ad56;--theme-accent-soft:#63462d;
  --theme-success:#6bc6a4;--theme-success-soft:#325348;
  --theme-warning:#f0b65a;--theme-warning-soft:#62462b;
  --theme-danger:#fa7d8d;--theme-danger-soft:#653543;
  --theme-nav-hover:#573b4b;--theme-nav-active-1:#5c4068;--theme-nav-active-2:#68482f;--theme-icon-bg:#553a4a;
  --theme-code-bg:#321f2b;--theme-shadow:rgba(14,3,9,.44);--theme-shadow-soft:rgba(14,3,9,.30);
  --theme-focus:rgba(185,149,232,.34);--theme-selection:#704f7b;
  --theme-gradient:linear-gradient(145deg,#34202d 0%,#3c2433 50%,#4b2f3d 100%);
  --theme-brand-gradient:linear-gradient(145deg,#a681d7,#c09ee7 56%,#e9a44e);
  --theme-button-gradient:linear-gradient(135deg,#a681d7,#df963f);
  --theme-robot-face-1:#b995e8;--theme-robot-face-2:#8f6cbc;--theme-robot-body-1:#efb364;--theme-robot-body-2:#cf8d38;
}

html[data-dashboard-theme] body{background:var(--theme-gradient)!important;color:var(--theme-text)!important}
html[data-dashboard-theme] ::selection{background:var(--theme-selection)!important;color:var(--theme-heading)!important}
html[data-dashboard-theme] :focus-visible{outline-color:var(--theme-focus)!important}
html[data-dashboard-theme] h1,html[data-dashboard-theme] h2,html[data-dashboard-theme] h3,html[data-dashboard-theme] h4,html[data-dashboard-theme] h5,html[data-dashboard-theme] strong{color:var(--theme-heading)}
html[data-dashboard-theme] p,html[data-dashboard-theme] small{color:var(--theme-muted)}
html[data-dashboard-theme] .sidebar{background:linear-gradient(180deg,var(--theme-sidebar-1),var(--theme-sidebar-2) 55%,var(--theme-sidebar-3))!important;border-color:var(--theme-line)!important;box-shadow:12px 0 34px var(--theme-shadow-soft)!important}
html[data-dashboard-theme] .brand__icon{background:var(--theme-brand-gradient)!important;box-shadow:0 10px 22px var(--theme-shadow)!important}
html[data-dashboard-theme] .nav__link,html[data-dashboard-theme] .nav__link--locked{color:var(--theme-muted)!important}
html[data-dashboard-theme] .nav__link:hover{background:var(--theme-nav-hover)!important;border-color:var(--theme-line)!important;color:var(--theme-primary-strong)!important}
html[data-dashboard-theme] .nav__link.is-active{background:linear-gradient(135deg,var(--theme-nav-active-1),var(--theme-nav-active-2))!important;border-color:var(--theme-line-strong)!important;color:var(--theme-primary-strong)!important;box-shadow:0 8px 18px var(--theme-shadow-soft)!important}
html[data-dashboard-theme] .nav__link.is-active::after{background:var(--theme-accent)!important;box-shadow:0 0 0 5px color-mix(in srgb,var(--theme-accent) 14%,transparent)!important}
html[data-dashboard-theme] .nav__icon{background:var(--theme-icon-bg)!important;color:var(--theme-primary)!important}
html[data-dashboard-theme] .nav__link.is-active .nav__icon{color:var(--theme-accent)!important;background:var(--theme-surface)!important}
html[data-dashboard-theme] .sidebar__footer{border-color:var(--theme-line)!important;background:color-mix(in srgb,var(--theme-surface) 78%,transparent)!important}
html[data-dashboard-theme] .sidebar__footer-dot{background:var(--theme-success)!important;box-shadow:0 0 0 5px color-mix(in srgb,var(--theme-success) 14%,transparent)!important}
html[data-dashboard-theme] .sidebar-edge-toggle{background:var(--theme-surface)!important;border-color:var(--theme-line-strong)!important;color:var(--theme-primary-strong)!important;box-shadow:0 8px 20px var(--theme-shadow-soft)!important}
html[data-dashboard-theme] .sidebar-edge-toggle:hover{background:var(--theme-primary-soft)!important;border-color:var(--theme-primary)!important}
html[data-dashboard-theme] .topbar{background:color-mix(in srgb,var(--theme-surface) 89%,transparent)!important;border-color:var(--theme-line)!important;box-shadow:0 8px 24px var(--theme-shadow-soft)!important}
html[data-dashboard-theme] .topbar__eyebrow{color:var(--theme-primary)!important}
html[data-dashboard-theme] .topbar-auth__button,html[data-dashboard-theme] .topbar-login-panel{background:var(--theme-surface)!important;border-color:var(--theme-line)!important;color:var(--theme-heading)!important;box-shadow:0 10px 28px var(--theme-shadow-soft)!important}
html[data-dashboard-theme] .topbar-auth__avatar,html[data-dashboard-theme] .topbar-login-panel__icon{background:var(--theme-brand-gradient)!important;color:#fff!important}
html[data-dashboard-theme] :is(.panel,.card,.settings-card,.admin-login-card,.admin-setting-card,.metric-card,.result-card,.mail-ai-analysis,.hex-card,.upload-card,.url-manage-item,.account-manage-item){background:var(--theme-surface)!important;border-color:var(--theme-line)!important;box-shadow:0 10px 30px var(--theme-shadow-soft)!important;color:var(--theme-text)!important}
html[data-dashboard-theme] :is(.panel__head,.panel__title-row,.dialog-head,.card__head,.mail-ai-analysis__head,.mail-ai-analysis__foot,.account-manage-toolbar){background:var(--theme-surface-soft)!important;border-color:var(--theme-line)!important}
html[data-dashboard-theme] :is(input,textarea,select){background:var(--theme-surface)!important;border-color:var(--theme-line-strong)!important;color:var(--theme-heading)!important}
html[data-dashboard-theme] :is(input,textarea,select):focus{border-color:var(--theme-primary)!important;box-shadow:0 0 0 4px var(--theme-focus)!important}
html[data-dashboard-theme] :is(.btn--primary,.admin-login-submit,.topbar-login-panel__submit,.ai-quick-send){background:var(--theme-button-gradient)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 9px 20px var(--theme-shadow)!important}
html[data-dashboard-theme] :is(.btn--ghost,.icon-button,.secret-toggle){background:var(--theme-surface-soft)!important;border-color:var(--theme-line)!important;color:var(--theme-primary-strong)!important}
html[data-dashboard-theme] :is(.btn--ghost,.icon-button,.secret-toggle):hover{background:var(--theme-primary-soft)!important;border-color:var(--theme-primary)!important}
html[data-dashboard-theme] .btn--danger{background:var(--theme-danger-soft)!important;border-color:color-mix(in srgb,var(--theme-danger) 35%,var(--theme-line))!important;color:var(--theme-danger)!important}
html[data-dashboard-theme] table{background:var(--theme-surface)!important;color:var(--theme-text)!important}
html[data-dashboard-theme] th{background:var(--theme-primary-soft)!important;color:var(--theme-heading)!important;border-color:var(--theme-line)!important}
html[data-dashboard-theme] td{border-color:var(--theme-line)!important}
html[data-dashboard-theme] tr:hover td{background:var(--theme-surface-soft)!important}
html[data-dashboard-theme] :is(pre,code,.log-view,.source-view,.hex-view,.mail-source,.hex-scroll,.mail-ai-content){background:var(--theme-code-bg)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
html[data-dashboard-theme] :is(.tab,.segmented button,.view-tab){color:var(--theme-muted)!important;border-color:var(--theme-line)!important}
html[data-dashboard-theme] :is(.tab.is-active,.segmented button.is-active,.view-tab.is-active){background:var(--theme-primary-soft)!important;color:var(--theme-primary-strong)!important;border-color:var(--theme-primary)!important}
html[data-dashboard-theme] :is(.dropzone,.upload-dropzone,.file-drop-zone,.mail-drop-zone){background:var(--theme-surface-soft)!important;border-color:var(--theme-line-strong)!important}
html[data-dashboard-theme] :is(.dropzone,.upload-dropzone,.file-drop-zone,.mail-drop-zone):hover{background:var(--theme-primary-soft)!important;border-color:var(--theme-primary)!important}
html[data-dashboard-theme] .toast{background:var(--theme-primary-strong)!important;color:#fff!important;box-shadow:0 14px 36px var(--theme-shadow)!important}
html[data-dashboard-theme] dialog::backdrop{background:color-mix(in srgb,var(--theme-heading) 24%,transparent)!important;backdrop-filter:blur(6px)!important}
html[data-dashboard-theme] .ai-quick-popover{background:var(--theme-surface)!important;border-color:var(--theme-line)!important;box-shadow:0 22px 58px var(--theme-shadow)!important}
html[data-dashboard-theme] .ai-robot__antenna{background:var(--theme-primary)!important}
html[data-dashboard-theme] .ai-robot__face{background:linear-gradient(145deg,var(--theme-robot-face-1),var(--theme-robot-face-2))!important}
html[data-dashboard-theme] .ai-robot__body{background:linear-gradient(145deg,var(--theme-robot-body-1),var(--theme-robot-body-2))!important}

/* Administrator theme studio */
.admin-setting-card--theme .admin-setting-card__icon{background:var(--theme-primary-soft)!important;color:var(--theme-primary-strong)!important}
.theme-settings-dialog{width:min(960px,calc(100vw - 30px))!important}
.theme-settings-card{width:min(920px,100%)!important;max-width:920px!important;padding:0!important;overflow:hidden!important}
.theme-dialog-head{padding:22px 24px!important}
.theme-dialog-title{display:flex!important;align-items:center!important;gap:14px!important}
.theme-dialog-title__icon{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;border-radius:16px!important;background:var(--theme-primary-soft)!important;color:var(--theme-primary-strong)!important;font-size:23px!important}
.theme-settings-body{display:grid!important;gap:18px!important;padding:22px 24px 12px!important}
.theme-selection-notice{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:16px 18px!important;border:1px solid var(--theme-line)!important;border-radius:17px!important;background:var(--theme-surface-soft)!important}
.theme-selection-notice div{display:grid!important;gap:3px!important}.theme-selection-notice strong{font-size:14px!important}.theme-selection-notice p{margin:0!important;font-size:11px!important}
.theme-selection-notice>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:116px!important;padding:8px 12px!important;border-radius:999px!important;background:var(--theme-primary-soft)!important;color:var(--theme-primary-strong)!important;font-size:11px!important;font-weight:850!important;white-space:nowrap!important}
.theme-choice-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.theme-choice-card{position:relative!important;display:grid!important;gap:12px!important;min-width:0!important;padding:12px!important;border:2px solid var(--theme-line)!important;border-radius:20px!important;background:var(--theme-surface)!important;color:var(--theme-text)!important;text-align:left!important;cursor:pointer!important;box-shadow:0 7px 20px var(--theme-shadow-soft)!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important}
.theme-choice-card:hover{transform:translateY(-3px)!important;border-color:var(--theme-primary)!important;box-shadow:0 14px 28px var(--theme-shadow)!important}
.theme-choice-card.is-selected{border-color:var(--theme-primary)!important;box-shadow:0 0 0 4px var(--theme-focus),0 14px 30px var(--theme-shadow)!important}
.theme-choice-preview{position:relative!important;display:block!important;height:116px!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.75)!important;border-radius:15px!important;background:#f7f3fa!important}
.theme-choice-preview::before{content:""!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important;width:28%!important;background:rgba(255,255,255,.84)!important;border-right:1px solid rgba(90,70,100,.10)!important}
.theme-choice-preview::after{content:""!important;position:absolute!important;left:34%!important;right:8%!important;top:12%!important;height:22%!important;border-radius:10px!important;background:rgba(255,255,255,.86)!important;box-shadow:0 5px 15px rgba(80,60,90,.08)!important}
.theme-choice-preview i{position:absolute!important;z-index:2!important;display:block!important;left:36%!important;top:44%!important;width:25%!important;height:39%!important;border-radius:10px!important;background:rgba(255,255,255,.92)!important;box-shadow:0 5px 14px rgba(80,60,90,.08)!important}
.theme-choice-preview i:nth-child(2){left:65%!important}.theme-choice-preview i:nth-child(3){left:7%!important;top:18%!important;width:14%!important;height:12%!important;border-radius:7px!important}
.theme-choice-preview b{position:absolute!important;z-index:3!important;left:36%!important;top:21%!important;width:19%!important;height:6px!important;border-radius:999px!important;background:#8265c7!important}
.theme-preview--aurora{background:linear-gradient(145deg,#f7f3fa,#fff9f4 55%,#f4f8f5)!important}.theme-preview--aurora b{background:#8265c7!important}
.theme-preview--mint{background:linear-gradient(145deg,#eef9f5,#f8fffd 55%,#fffaf1)!important}.theme-preview--mint b{background:#43a995!important}
.theme-preview--sunrise{background:linear-gradient(145deg,#fff6ee,#fffaf5 55%,#fff1ef)!important}.theme-preview--sunrise b{background:#e58a68!important}
.theme-preview--sky{background:linear-gradient(145deg,#f1f7ff,#fbfdff 55%,#f6f2ff)!important}.theme-preview--sky b{background:#5f93d6!important}
.theme-preview--meadow{background:linear-gradient(145deg,#f4f9ef,#fbfdf7 55%,#fffaf0)!important}.theme-preview--meadow b{background:#75a75e!important}
.theme-preview--rose{background:linear-gradient(145deg,#fff4f7,#fffaf9 55%,#f7f2fb)!important}.theme-preview--rose b{background:#cf7399!important}
.theme-choice-copy{display:grid!important;gap:3px!important;padding:0 3px 2px!important}.theme-choice-copy strong{font-size:13px!important}.theme-choice-copy small{font-size:10px!important}
.theme-choice-check{position:absolute!important;right:20px!important;top:20px!important;display:grid!important;place-items:center!important;width:26px!important;height:26px!important;border:2px solid rgba(255,255,255,.94)!important;border-radius:50%!important;background:var(--theme-primary)!important;color:#fff!important;font-size:13px!important;font-weight:900!important;box-shadow:0 6px 14px var(--theme-shadow)!important;opacity:0!important;transform:scale(.6)!important;transition:.18s ease!important}
.theme-choice-card.is-selected .theme-choice-check{opacity:1!important;transform:scale(1)!important}
.theme-settings-help{margin:0!important;font-size:11px!important;text-align:center!important}
.theme-dialog-actions{padding:16px 24px 22px!important}

@media(max-width:860px){.theme-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:580px){.theme-choice-grid{grid-template-columns:1fr!important}.theme-choice-preview{height:100px!important}.theme-selection-notice{align-items:flex-start!important;flex-direction:column!important}.theme-selection-notice>span{min-width:0!important}.theme-settings-body,.theme-dialog-head,.theme-dialog-actions{padding-left:16px!important;padding-right:16px!important}}
@media(prefers-reduced-motion:reduce){.theme-choice-card{transition:none!important}.theme-choice-card:hover{transform:none!important}}


/* V22 theme gallery grouping and dark preview support */
.theme-library{display:grid!important;gap:24px!important}
.theme-category{display:grid!important;gap:12px!important}
.theme-category__head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:16px!important;padding:0 2px!important}
.theme-category__head div{display:grid!important;gap:2px!important}.theme-category__head span{font-size:9px!important;font-weight:900!important;letter-spacing:.16em!important;color:var(--theme-primary)!important}.theme-category__head h3{margin:0!important;font-size:16px!important}.theme-category__head em{font-style:normal!important;font-size:10px!important;font-weight:850!important;color:var(--theme-muted)!important}
.theme-preview--citrus{background:linear-gradient(145deg,#fffbea,#f9fff2 55%,#eef4ff)!important}.theme-preview--citrus b{background:#799c32!important}
.theme-preview--lavender{background:linear-gradient(145deg,#f5f2ff,#f4f9ff 55%,#fff7fb)!important}.theme-preview--lavender b{background:#7d69cb!important}
.theme-preview--midnight{background:linear-gradient(145deg,#151827,#1a1e30 55%,#25263d)!important}.theme-preview--midnight b{background:#9b8cff!important}
.theme-preview--ocean{background:linear-gradient(145deg,#0f2633,#12303f 55%,#183b4b)!important}.theme-preview--ocean b{background:#4fc3dc!important}
.theme-preview--forest{background:linear-gradient(145deg,#14241f,#182c25 55%,#23372b)!important}.theme-preview--forest b{background:#6fd4a2!important}
.theme-preview--plum{background:linear-gradient(145deg,#25192b,#2d1e34 55%,#3b263e)!important}.theme-preview--plum b{background:#c58bd8!important}
.theme-preview--graphite{background:linear-gradient(145deg,#24272f,#2b2f39 55%,#383940)!important}.theme-preview--graphite b{background:#79aef0!important}
.theme-preview--dusk{background:linear-gradient(145deg,#34202d,#3c2433 55%,#4b2f3d)!important}.theme-preview--dusk b{background:#b995e8!important}
:is(.theme-preview--midnight,.theme-preview--ocean,.theme-preview--forest,.theme-preview--plum,.theme-preview--graphite,.theme-preview--dusk)::before{background:rgba(255,255,255,.08)!important;border-right-color:rgba(255,255,255,.10)!important}
:is(.theme-preview--midnight,.theme-preview--ocean,.theme-preview--forest,.theme-preview--plum,.theme-preview--graphite,.theme-preview--dusk)::after{background:rgba(255,255,255,.11)!important;box-shadow:0 5px 15px rgba(0,0,0,.22)!important}
:is(.theme-preview--midnight,.theme-preview--ocean,.theme-preview--forest,.theme-preview--plum,.theme-preview--graphite,.theme-preview--dusk) i{background:rgba(255,255,255,.12)!important;box-shadow:0 5px 14px rgba(0,0,0,.20)!important}
html[data-dashboard-theme="midnight_aurora"] .theme-choice-card,html[data-dashboard-theme="ocean_depth"] .theme-choice-card,html[data-dashboard-theme="forest_night"] .theme-choice-card,html[data-dashboard-theme="plum_noir"] .theme-choice-card,html[data-dashboard-theme="graphite_coral"] .theme-choice-card,html[data-dashboard-theme="sunset_dusk"] .theme-choice-card{color:var(--theme-text)!important}

/* Dark collection readability guard: override legacy fixed ink colors from older UI layers. */
html:is([data-dashboard-theme="midnight_aurora"],[data-dashboard-theme="ocean_depth"],[data-dashboard-theme="forest_night"],[data-dashboard-theme="plum_noir"],[data-dashboard-theme="graphite_coral"],[data-dashboard-theme="sunset_dusk"]) :is(h1,h2,h3,h4,h5,h6,strong,b,legend,label,dt,th,.card-title,.panel-title,.metric-value,.stat-value){color:var(--theme-heading)!important}
html:is([data-dashboard-theme="midnight_aurora"],[data-dashboard-theme="ocean_depth"],[data-dashboard-theme="forest_night"],[data-dashboard-theme="plum_noir"],[data-dashboard-theme="graphite_coral"],[data-dashboard-theme="sunset_dusk"]) :is(body,p,li,dd,td,span,code,pre,.panel,.card,.metric-card,.result-card){color:var(--theme-text)!important}
html:is([data-dashboard-theme="midnight_aurora"],[data-dashboard-theme="ocean_depth"],[data-dashboard-theme="forest_night"],[data-dashboard-theme="plum_noir"],[data-dashboard-theme="graphite_coral"],[data-dashboard-theme="sunset_dusk"]) :is(small,.muted,.help-text,.subtext,.description,.caption){color:var(--theme-muted)!important}
html:is([data-dashboard-theme="midnight_aurora"],[data-dashboard-theme="ocean_depth"],[data-dashboard-theme="forest_night"],[data-dashboard-theme="plum_noir"],[data-dashboard-theme="graphite_coral"],[data-dashboard-theme="sunset_dusk"]) :is(code,pre,.code,.log-view,.source-view,.hex-view){background:var(--theme-code-bg)!important;border-color:var(--theme-line)!important;color:var(--theme-text)!important}
