/* DIHASILKAN oleh scripts/gen-palettes.js. Jangan diedit tangan. Lima palet x terang/gelap. Classic Blue = tanpa data-palette. */
html[data-palette="ocean"]:not([data-theme="dark"]){--bg:#F1FAFF;--card:#FBFEFF;--surface:#FBFEFF;--surface-2:#F4FBFF;--wash:#F4FBFF;--tint:#E3F5FF;--active-bg:#E3F5FF;--line:#9EC8E7;--line-2:#DDF2FF;--ink:#021024;--ink-2:#152D4D;--ink-3:#48729E;--field:#F4FBFF;--navy:#021024;--blue:#4172AB;--blue-light:#4172AB;--blue-dark:#2F5785;--sun:#4172AB;--ag-group:#4172AB;--s1:#4172AB;--g1:#4172AB;--deep:#021024;--deep-2:#20487E;--teal:#20487E;--teal-2:#20487E;--mint:#E3F5FF;--mint-2:#CFEDFF;--green:#146C45;--green-bg:#DDF3E8;--red:#A12A22;--red-bg:#FADDDA;--amber:#7A4A05;--amber-bg:#FBEBCB;--warn-bg:#FBEBCB;--bad-bg:#FADDDA;--top-bg:rgba(241,250,255,0.92);--scrim:rgba(2,16,36,0.5);--tip-bg:#021024;--tip-ink:#C1E8FF;--plate:rgba(251,254,255,0.78);--shadow-card:0 1px 2px rgba(2,16,36,0.08),0 10px 28px rgba(2,16,36,0.1);--accent-rgb:65,114,171;--fill-rgb:65,114,171;--pal-accent:#4172AB;--pal-on:#FFFFFF;--pal-accent-hi:#2F5785;--pal-field:#6A94BB;--pal-sel-ink:#052659;--pal-side:#FBFEFF;--pal-side-ink:#152D4D;--pal-side-hover:rgba(2,16,36,0.06);--pal-hero:linear-gradient(135deg,#E3F5FF,#A7CDEB);--pal-hero-ink:#021024;--pal-hero-ink-2:#152D4D;--nx:#4FA4D5;--nx-glow:rgba(79,164,213,0.3);--nx-edge:rgba(79,164,213,0.4);--nx-tint:rgba(79,164,213,0.07);--nx-bg:rgba(79,164,213,0.13);--nx-bg2:rgba(79,164,213,0.14);--nx-hl:rgba(255,255,255,.75);--nx-text:#4FA4D5;color-scheme:light;--hero-a:#234C82;--hero-b:#7DA0CA;--hero-c:#E0F4FF;--hero-mount:#031939;--hero-hill:#052659;--hero-sea:#265086;--hero-dawn-a:#5380B4;--hero-dawn-mount:#041D44;--hero-dawn-hill:#1D447A;--hero-dawn-sea:#2F5B92;--hero-dusk-a:#234C82;--hero-dusk-mount:#021024;--hero-dusk-hill:#052659;--hero-dusk-sea:#041B3F;--hero-night-a:#021024;--hero-night-b:#041F49;--hero-night-c:#234C82;--hero-night-mount:#010A17;--hero-night-hill:#041B3F;--hero-night-sea:#031734}
html[data-palette="ocean"][data-theme="dark"]{--bg:#031A3C;--card:#052659;--surface:#052659;--surface-2:#04204A;--wash:#04204A;--tint:#234C82;--active-bg:#35639B;--line:#29548A;--line-2:#173D72;--ink:#C1E8FF;--ink-2:#A0CAE8;--ink-3:#6A97C2;--field:#04204A;--navy:#C1E8FF;--blue:#7DA0CA;--blue-light:#7DA0CA;--blue-dark:#9CC0E2;--sun:#7DA0CA;--ag-group:#7DA0CA;--s1:#7DA0CA;--g1:#7DA0CA;--deep:#021024;--deep-2:#20487E;--teal:#7DA0CA;--teal-2:#7DA0CA;--mint:#234C82;--mint-2:#35639B;--green:#7BD8B0;--green-bg:#0F3B36;--red:#F59A94;--red-bg:#472227;--amber:#F2C46B;--amber-bg:#3A3317;--warn-bg:#3A3317;--bad-bg:#472227;--top-bg:rgba(3,26,60,0.92);--scrim:rgba(2,16,36,0.7);--tip-bg:#C1E8FF;--tip-ink:#021024;--plate:rgba(84,131,179,0.22);--shadow-card:0 1px 2px rgba(0,0,0,.28),0 10px 28px rgba(0,0,0,.24);--accent-rgb:125,160,202;--fill-rgb:125,160,202;--pal-accent:#7DA0CA;--pal-on:#021024;--pal-accent-hi:#9CC0E2;--pal-field:#507CAC;--pal-sel-ink:#C1E8FF;--pal-side:#021024;--pal-side-ink:#A0CAE8;--pal-side-hover:rgba(84,131,179,0.13);--pal-hero:radial-gradient(95% 170% at 0% 0%,rgba(125,160,202,0.34),rgba(125,160,202,0) 62%),linear-gradient(135deg,#052659,#021024 88%);--pal-hero-ink:#C1E8FF;--pal-hero-ink-2:#A0CAE8;--nx:#5CD6FF;--nx-glow:rgba(92,214,255,0.36);--nx-edge:rgba(92,214,255,0.28);--nx-tint:rgba(92,214,255,0.07);--nx-bg:rgba(92,214,255,0.11);--nx-bg2:rgba(92,214,255,0.16);--nx-hl:rgba(255,255,255,.06);--nx-text:#9DE6FF;color-scheme:dark;--hero-a:#234C82;--hero-b:#7DA0CA;--hero-c:#E0F4FF;--hero-mount:#031939;--hero-hill:#052659;--hero-sea:#265086;--hero-dawn-a:#5380B4;--hero-dawn-mount:#041D44;--hero-dawn-hill:#1D447A;--hero-dawn-sea:#2F5B92;--hero-dusk-a:#234C82;--hero-dusk-mount:#021024;--hero-dusk-hill:#052659;--hero-dusk-sea:#041B3F;--hero-night-a:#021024;--hero-night-b:#041F49;--hero-night-c:#234C82;--hero-night-mount:#010A17;--hero-night-hill:#041B3F;--hero-night-sea:#031734}
html[data-palette="sunset"]:not([data-theme="dark"]){--bg:#FDF6EE;--card:#FEFDFA;--surface:#FEFDFA;--surface-2:#FDF8F1;--wash:#FDF8F1;--tint:#FAEDDB;--active-bg:#FAEDDB;--line:#C3CFBF;--line-2:#F9E8D4;--ink:#0B132B;--ink-2:#19253E;--ink-3:#37728D;--field:#FDF8F1;--navy:#0B132B;--blue:#A65E0F;--blue-light:#D97706;--blue-dark:#E49D4C;--sun:#A65E0F;--ag-group:#A65E0F;--s1:#A65E0F;--g1:#A65E0F;--deep:#0B132B;--deep-2:#2A3854;--teal:#2A3854;--teal-2:#2A3854;--mint:#FAEDDB;--mint-2:#F6DFC1;--green:#146C45;--green-bg:#DDF3E8;--red:#A12A22;--red-bg:#FADDDA;--amber:#7A4A05;--amber-bg:#FBEBCB;--warn-bg:#FBEBCB;--bad-bg:#FADDDA;--top-bg:rgba(253,246,238,0.92);--scrim:rgba(11,19,43,0.5);--tip-bg:#0B132B;--tip-ink:#F4D6B0;--plate:rgba(254,253,250,0.78);--shadow-card:0 1px 2px rgba(11,19,43,0.08),0 10px 28px rgba(11,19,43,0.1);--accent-rgb:166,94,15;--fill-rgb:166,94,15;--pal-accent:#D97706;--pal-on:#0B132B;--pal-accent-hi:#E49D4C;--pal-field:#6F97A1;--pal-sel-ink:#1C2541;--pal-side:#FEFDFA;--pal-side-ink:#19253E;--pal-side-hover:rgba(11,19,43,0.06);--pal-hero:linear-gradient(135deg,#FAEDDB,#EAB26F);--pal-hero-ink:#0B132B;--pal-hero-ink-2:#19253E;--nx:#EC9431;--nx-glow:rgba(236,148,49,0.3);--nx-edge:rgba(236,148,49,0.4);--nx-tint:rgba(236,148,49,0.07);--nx-bg:rgba(236,148,49,0.13);--nx-bg2:rgba(236,148,49,0.14);--nx-hl:rgba(255,255,255,.75);--nx-text:#EC9431;color-scheme:light;--hero-a:#2B3B56;--hero-b:#5BC0DE;--hero-c:#FAEBD8;--hero-mount:#121A34;--hero-hill:#1C2541;--hero-sea:#2D3D58;--hero-dawn-a:#44728E;--hero-dawn-mount:#151E38;--hero-dawn-hill:#283652;--hero-dawn-sea:#31435E;--hero-dusk-a:#2B3B56;--hero-dusk-mount:#0B132B;--hero-dusk-hill:#1C2541;--hero-dusk-sea:#141C36;--hero-night-a:#0B132B;--hero-night-b:#17203A;--hero-night-c:#2B3B56;--hero-night-mount:#070C1C;--hero-night-hill:#141C36;--hero-night-sea:#101832}
html[data-palette="sunset"][data-theme="dark"]{--bg:#131B35;--card:#1C2541;--surface:#1C2541;--surface-2:#17203B;--wash:#17203B;--tint:#2B3B56;--active-bg:#344763;--line:#2E3F5A;--line-2:#25324E;--ink:#F4D6B0;--ink-2:#C6CFBE;--ink-3:#5BC0DE;--field:#17203B;--navy:#F4D6B0;--blue:#D97706;--blue-light:#D97706;--blue-dark:#E5A253;--sun:#D97706;--ag-group:#D97706;--s1:#D97706;--g1:#D97706;--deep:#0B132B;--deep-2:#2A3854;--teal:#D97706;--teal-2:#D97706;--mint:#2B3B56;--mint-2:#344763;--green:#7BD8B0;--green-bg:#0F3B36;--red:#F59A94;--red-bg:#472227;--amber:#F2C46B;--amber-bg:#3A3317;--warn-bg:#3A3317;--bad-bg:#472227;--top-bg:rgba(19,27,53,0.92);--scrim:rgba(11,19,43,0.7);--tip-bg:#F4D6B0;--tip-ink:#0B132B;--plate:rgba(91,192,222,0.22);--shadow-card:0 1px 2px rgba(0,0,0,.28),0 10px 28px rgba(0,0,0,.24);--accent-rgb:217,119,6;--fill-rgb:217,119,6;--pal-accent:#D97706;--pal-on:#0B132B;--pal-accent-hi:#E5A253;--pal-field:#498CA9;--pal-sel-ink:#F4D6B0;--pal-side:#0B132B;--pal-side-ink:#C6CFBE;--pal-side-hover:rgba(91,192,222,0.13);--pal-hero:radial-gradient(95% 170% at 0% 0%,rgba(217,119,6,0.34),rgba(217,119,6,0) 62%),radial-gradient(80% 150% at 100% 100%,rgba(91,192,222,0.24),rgba(91,192,222,0) 60%),linear-gradient(135deg,#1C2541,#0B132B 88%);--pal-hero-ink:#F4D6B0;--pal-hero-ink-2:#C6CFBE;--nx:#FFB05C;--nx-glow:rgba(255,176,92,0.36);--nx-edge:rgba(255,176,92,0.28);--nx-tint:rgba(255,176,92,0.07);--nx-bg:rgba(255,176,92,0.11);--nx-bg2:rgba(255,176,92,0.16);--nx-hl:rgba(255,255,255,.06);--nx-text:#FFD09D;color-scheme:dark;--hero-a:#2B3B56;--hero-b:#5BC0DE;--hero-c:#FAEBD8;--hero-mount:#121A34;--hero-hill:#1C2541;--hero-sea:#2D3D58;--hero-dawn-a:#44728E;--hero-dawn-mount:#151E38;--hero-dawn-hill:#283652;--hero-dawn-sea:#31435E;--hero-dusk-a:#2B3B56;--hero-dusk-mount:#0B132B;--hero-dusk-hill:#1C2541;--hero-dusk-sea:#141C36;--hero-night-a:#0B132B;--hero-night-b:#17203A;--hero-night-c:#2B3B56;--hero-night-mount:#070C1C;--hero-night-hill:#141C36;--hero-night-sea:#101832}
html[data-palette="forest"]:not([data-theme="dark"]){--bg:#F3F4EF;--card:#FCFCFB;--surface:#FCFCFB;--surface-2:#F5F6F2;--wash:#F5F6F2;--tint:#E6E8DF;--active-bg:#E6E8DF;--line:#AAB39E;--line-2:#E0E2D8;--ink:#0F1F17;--ink-2:#1D3123;--ink-3:#5D715B;--field:#F5F6F2;--navy:#0F1F17;--blue:#3E5A3F;--blue-light:#3E5A3F;--blue-dark:#314934;--sun:#3E5A3F;--ag-group:#3E5A3F;--s1:#3E5A3F;--g1:#3E5A3F;--deep:#0F1F17;--deep-2:#2C4836;--teal:#2C4836;--teal-2:#2C4836;--mint:#E6E8DF;--mint-2:#D3D6C8;--green:#146C45;--green-bg:#DDF3E8;--red:#A12A22;--red-bg:#FADDDA;--amber:#7A4A05;--amber-bg:#FBEBCB;--warn-bg:#FBEBCB;--bad-bg:#FADDDA;--top-bg:rgba(243,244,239,0.92);--scrim:rgba(15,31,23,0.5);--tip-bg:#0F1F17;--tip-ink:#C7CBB8;--plate:rgba(252,252,251,0.78);--shadow-card:0 1px 2px rgba(15,31,23,0.08),0 10px 28px rgba(15,31,23,0.1);--accent-rgb:62,90,63;--fill-rgb:62,90,63;--pal-accent:#3E5A3F;--pal-on:#FFFFFF;--pal-accent-hi:#314934;--pal-field:#7C8B76;--pal-sel-ink:#1E3A2E;--pal-side:#FCFCFB;--pal-side-ink:#1D3123;--pal-side-hover:rgba(15,31,23,0.06);--pal-hero:linear-gradient(135deg,#E6E8DF,#A4AE99);--pal-hero-ink:#0F1F17;--pal-hero-ink-2:#13241B;--nx:#5EA174;--nx-glow:rgba(94,161,116,0.3);--nx-edge:rgba(94,161,116,0.4);--nx-tint:rgba(94,161,116,0.07);--nx-bg:rgba(94,161,116,0.13);--nx-bg2:rgba(94,161,116,0.14);--nx-hl:rgba(255,255,255,.75);--nx-text:#5EA174;color-scheme:light;--hero-a:#2E4A37;--hero-b:#6B7F67;--hero-c:#E3E5DC;--hero-mount:#152A20;--hero-hill:#1E3A2E;--hero-sea:#304C37;--hero-dawn-a:#4C654B;--hero-dawn-mount:#182F25;--hero-dawn-hill:#2B4735;--hero-dawn-sea:#34503A;--hero-dusk-a:#2E4A37;--hero-dusk-mount:#0F1F17;--hero-dusk-hill:#1E3A2E;--hero-dusk-sea:#172D23;--hero-night-a:#0F1F17;--hero-night-b:#1A3227;--hero-night-c:#2E4A37;--hero-night-mount:#0A140F;--hero-night-hill:#172D23;--hero-night-sea:#14271E}
html[data-palette="forest"][data-theme="dark"]{--bg:#162B21;--card:#1E3A2E;--surface:#1E3A2E;--surface-2:#1A3228;--wash:#1A3228;--tint:#2E4A37;--active-bg:#38543C;--line:#404D40;--line-2:#2F4437;--ink:#C7CBB8;--ink-2:#ABB4A0;--ink-3:#94A18B;--field:#1A3228;--navy:#C7CBB8;--blue:#C7CBB8;--blue-light:#C7CBB8;--blue-dark:#C7CBB8;--sun:#C7CBB8;--ag-group:#C7CBB8;--s1:#C7CBB8;--g1:#C7CBB8;--deep:#0F1F17;--deep-2:#2C4836;--teal:#C7CBB8;--teal-2:#C7CBB8;--mint:#2E4A37;--mint-2:#38543C;--green:#7BD8B0;--green-bg:#0F3B36;--red:#F59A94;--red-bg:#472227;--amber:#F2C46B;--amber-bg:#3A3317;--warn-bg:#3A3317;--bad-bg:#472227;--top-bg:rgba(22,43,33,0.92);--scrim:rgba(15,31,23,0.7);--tip-bg:#C7CBB8;--tip-ink:#0F1F17;--plate:rgba(107,127,103,0.22);--shadow-card:0 1px 2px rgba(0,0,0,.28),0 10px 28px rgba(0,0,0,.24);--accent-rgb:199,203,184;--fill-rgb:199,203,184;--pal-accent:#C7CBB8;--pal-on:#0F1F17;--pal-accent-hi:#C7CBB8;--pal-field:#768371;--pal-sel-ink:#C7CBB8;--pal-side:#0F1F17;--pal-side-ink:#ABB4A0;--pal-side-hover:rgba(107,127,103,0.13);--pal-hero:radial-gradient(95% 170% at 0% 0%,rgba(199,203,184,0.34),rgba(199,203,184,0) 62%),linear-gradient(135deg,#1E3A2E,#0F1F17 88%);--pal-hero-ink:#C7CBB8;--pal-hero-ink-2:#ABB4A0;--nx:#7DE8A8;--nx-glow:rgba(125,232,168,0.36);--nx-edge:rgba(125,232,168,0.28);--nx-tint:rgba(125,232,168,0.07);--nx-bg:rgba(125,232,168,0.11);--nx-bg2:rgba(125,232,168,0.16);--nx-hl:rgba(255,255,255,.06);--nx-text:#B1F1CB;color-scheme:dark;--hero-a:#2E4A37;--hero-b:#6B7F67;--hero-c:#E3E5DC;--hero-mount:#152A20;--hero-hill:#1E3A2E;--hero-sea:#304C37;--hero-dawn-a:#4C654B;--hero-dawn-mount:#182F25;--hero-dawn-hill:#2B4735;--hero-dawn-sea:#34503A;--hero-dusk-a:#2E4A37;--hero-dusk-mount:#0F1F17;--hero-dusk-hill:#1E3A2E;--hero-dusk-sea:#172D23;--hero-night-a:#0F1F17;--hero-night-b:#1A3227;--hero-night-c:#2E4A37;--hero-night-mount:#0A140F;--hero-night-hill:#172D23;--hero-night-sea:#14271E}
html[data-palette="earth"]:not([data-theme="dark"]){--bg:#F6F2ED;--card:#FCFBFA;--surface:#FCFBFA;--surface-2:#F7F4F0;--wash:#F7F4F0;--tint:#ECE4DB;--active-bg:#ECE4DB;--line:#C7B096;--line-2:#E8DFD2;--ink:#1A120E;--ink-2:#322318;--ink-3:#85684D;--field:#F7F4F0;--navy:#1A120E;--blue:#6B4A2E;--blue-light:#6B4A2E;--blue-dark:#543A25;--sun:#6B4A2E;--ag-group:#6B4A2E;--s1:#6B4A2E;--g1:#6B4A2E;--deep:#1A120E;--deep-2:#503522;--teal:#503522;--teal-2:#503522;--mint:#ECE4DB;--mint-2:#DED1C0;--green:#146C45;--green-bg:#DDF3E8;--red:#A12A22;--red-bg:#FADDDA;--amber:#7A4A05;--amber-bg:#FBEBCB;--warn-bg:#FBEBCB;--bad-bg:#FADDDA;--top-bg:rgba(246,242,237,0.92);--scrim:rgba(26,18,14,0.5);--tip-bg:#1A120E;--tip-ink:#D5C4AE;--plate:rgba(252,251,250,0.78);--shadow-card:0 1px 2px rgba(26,18,14,0.08),0 10px 28px rgba(26,18,14,0.1);--accent-rgb:107,74,46;--fill-rgb:107,74,46;--pal-accent:#6B4A2E;--pal-on:#FFFFFF;--pal-accent-hi:#543A25;--pal-field:#9F856A;--pal-sel-ink:#3A2418;--pal-side:#FCFBFA;--pal-side-ink:#322318;--pal-side-hover:rgba(26,18,14,0.06);--pal-hero:linear-gradient(135deg,#ECE4DB,#C4AC91);--pal-hero-ink:#1A120E;--pal-hero-ink-2:#312217;--nx:#B57E54;--nx-glow:rgba(181,126,84,0.3);--nx-edge:rgba(181,126,84,0.4);--nx-tint:rgba(181,126,84,0.07);--nx-bg:rgba(181,126,84,0.13);--nx-bg2:rgba(181,126,84,0.14);--nx-hl:rgba(255,255,255,.75);--nx-text:#B57E54;color-scheme:light;--hero-a:#533723;--hero-b:#A88462;--hero-c:#EAE2D7;--hero-mount:#271912;--hero-hill:#3A2418;--hero-sea:#553924;--hero-dawn-a:#7D5B3E;--hero-dawn-mount:#2D1D14;--hero-dawn-hill:#4E3321;--hero-dawn-sea:#5C3F27;--hero-dusk-a:#533723;--hero-dusk-mount:#1A120E;--hero-dusk-hill:#3A2418;--hero-dusk-sea:#2A1B13;--hero-night-a:#1A120E;--hero-night-b:#301F15;--hero-night-c:#533723;--hero-night-mount:#110C09;--hero-night-hill:#2A1B13;--hero-night-sea:#241711}
html[data-palette="earth"][data-theme="dark"]{--bg:#281A13;--card:#3A2418;--surface:#3A2418;--surface-2:#311F15;--wash:#311F15;--tint:#533723;--active-bg:#61422A;--line:#443B34;--line-2:#3F3026;--ink:#D5C4AE;--ink-2:#C8B197;--ink-3:#AD8A6A;--field:#311F15;--navy:#D5C4AE;--blue:#AD8A6A;--blue-light:#A88462;--blue-dark:#BCA184;--sun:#AD8A6A;--ag-group:#AD8A6A;--s1:#AD8A6A;--g1:#AD8A6A;--deep:#1A120E;--deep-2:#503522;--teal:#AD8A6A;--teal-2:#AD8A6A;--mint:#533723;--mint-2:#61422A;--green:#7BD8B0;--green-bg:#0F3B36;--red:#F59A94;--red-bg:#472227;--amber:#F2C46B;--amber-bg:#3A3317;--warn-bg:#3A3317;--bad-bg:#472227;--top-bg:rgba(40,26,19,0.92);--scrim:rgba(26,18,14,0.7);--tip-bg:#D5C4AE;--tip-ink:#1A120E;--plate:rgba(168,132,98,0.22);--shadow-card:0 1px 2px rgba(0,0,0,.28),0 10px 28px rgba(0,0,0,.24);--accent-rgb:173,138,106;--fill-rgb:173,138,106;--pal-accent:#A88462;--pal-on:#1A120E;--pal-accent-hi:#BCA184;--pal-field:#876E59;--pal-sel-ink:#D5C4AE;--pal-side:#1A120E;--pal-side-ink:#C8B197;--pal-side-hover:rgba(168,132,98,0.13);--pal-hero:radial-gradient(95% 170% at 0% 0%,rgba(201,142,90,0.34),rgba(201,142,90,0) 62%),linear-gradient(135deg,#3A2418,#1A120E 88%);--pal-hero-ink:#D5C4AE;--pal-hero-ink-2:#C8B197;--nx:#FFB27A;--nx-glow:rgba(255,178,122,0.36);--nx-edge:rgba(255,178,122,0.28);--nx-tint:rgba(255,178,122,0.07);--nx-bg:rgba(255,178,122,0.11);--nx-bg2:rgba(255,178,122,0.16);--nx-hl:rgba(255,255,255,.06);--nx-text:#FFD1AF;color-scheme:dark;--hero-a:#533723;--hero-b:#A88462;--hero-c:#EAE2D7;--hero-mount:#271912;--hero-hill:#3A2418;--hero-sea:#553924;--hero-dawn-a:#7D5B3E;--hero-dawn-mount:#2D1D14;--hero-dawn-hill:#4E3321;--hero-dawn-sea:#5C3F27;--hero-dusk-a:#533723;--hero-dusk-mount:#1A120E;--hero-dusk-hill:#3A2418;--hero-dusk-sea:#2A1B13;--hero-night-a:#1A120E;--hero-night-b:#301F15;--hero-night-c:#533723;--hero-night-mount:#110C09;--hero-night-hill:#2A1B13;--hero-night-sea:#241711}
html[data-palette="midnight"]:not([data-theme="dark"]){--bg:#F3F2F9;--card:#FCFBFD;--surface:#FCFBFD;--surface-2:#F5F4FA;--wash:#F5F4FA;--tint:#E7E4F2;--active-bg:#E7E4F2;--line:#B5ACDA;--line-2:#E1DDF0;--ink:#0E0B1D;--ink-2:#25193E;--ink-3:#7265A5;--field:#F5F4FA;--navy:#0E0B1D;--blue:#5A3B8C;--blue-light:#5A3B8C;--blue-dark:#452E6D;--sun:#5A3B8C;--ag-group:#5A3B8C;--s1:#5A3B8C;--g1:#5A3B8C;--deep:#0E0B1D;--deep-2:#402B69;--teal:#402B69;--teal-2:#402B69;--mint:#E7E4F2;--mint-2:#D5CFE9;--green:#146C45;--green-bg:#DDF3E8;--red:#A12A22;--red-bg:#FADDDA;--amber:#7A4A05;--amber-bg:#FBEBCB;--warn-bg:#FBEBCB;--bad-bg:#FADDDA;--top-bg:rgba(243,242,249,0.92);--scrim:rgba(14,11,29,0.5);--tip-bg:#0E0B1D;--tip-ink:#C9C2E3;--plate:rgba(252,251,253,0.78);--shadow-card:0 1px 2px rgba(14,11,29,0.08),0 10px 28px rgba(14,11,29,0.1);--accent-rgb:90,59,140;--fill-rgb:90,59,140;--pal-accent:#5A3B8C;--pal-on:#FFFFFF;--pal-accent-hi:#452E6D;--pal-field:#8D81BA;--pal-sel-ink:#2A1E4D;--pal-side:#FCFBFD;--pal-side-ink:#25193E;--pal-side-hover:rgba(14,11,29,0.06);--pal-hero:linear-gradient(135deg,#E7E4F2,#B1A7D8);--pal-hero-ink:#0E0B1D;--pal-hero-ink-2:#25193E;--nx:#896CC6;--nx-glow:rgba(137,108,198,0.3);--nx-edge:rgba(137,108,198,0.4);--nx-tint:rgba(137,108,198,0.07);--nx-bg:rgba(137,108,198,0.13);--nx-bg2:rgba(137,108,198,0.14);--nx-hl:rgba(255,255,255,.75);--nx-text:#896CC6;color-scheme:light;--hero-a:#422D6D;--hero-b:#8B7CC7;--hero-c:#E4E1F1;--hero-mount:#191330;--hero-hill:#2A1E4D;--hero-sea:#442E70;--hero-dawn-a:#694F9E;--hero-dawn-mount:#1F163A;--hero-dawn-hill:#3D2A66;--hero-dawn-sea:#4C3279;--hero-dusk-a:#422D6D;--hero-dusk-mount:#0E0B1D;--hero-dusk-hill:#2A1E4D;--hero-dusk-sea:#1C1535;--hero-night-a:#0E0B1D;--hero-night-b:#22183F;--hero-night-c:#422D6D;--hero-night-mount:#090713;--hero-night-hill:#1C1535;--hero-night-sea:#16112B}
html[data-palette="midnight"][data-theme="dark"]{--bg:#1B1433;--card:#2A1E4D;--surface:#2A1E4D;--surface-2:#221940;--wash:#221940;--tint:#422D6D;--active-bg:#50357F;--line:#3B3657;--line-2:#332A52;--ink:#C9C2E3;--ink-2:#B6ADDB;--ink-3:#9183CA;--field:#221940;--navy:#C9C2E3;--blue:#9183CA;--blue-light:#8B7CC7;--blue-dark:#A79CD4;--sun:#9183CA;--ag-group:#9183CA;--s1:#9183CA;--g1:#9183CA;--deep:#0E0B1D;--deep-2:#402B69;--teal:#9183CA;--teal-2:#9183CA;--mint:#422D6D;--mint-2:#50357F;--green:#7BD8B0;--green-bg:#0F3B36;--red:#F59A94;--red-bg:#472227;--amber:#F2C46B;--amber-bg:#3A3317;--warn-bg:#3A3317;--bad-bg:#472227;--top-bg:rgba(27,20,51,0.92);--scrim:rgba(14,11,29,0.7);--tip-bg:#C9C2E3;--tip-ink:#0E0B1D;--plate:rgba(139,124,199,0.22);--shadow-card:0 1px 2px rgba(0,0,0,.28),0 10px 28px rgba(0,0,0,.24);--accent-rgb:145,131,202;--fill-rgb:145,131,202;--pal-accent:#8B7CC7;--pal-on:#0E0B1D;--pal-accent-hi:#A79CD4;--pal-field:#7369A0;--pal-sel-ink:#C9C2E3;--pal-side:#0E0B1D;--pal-side-ink:#B6ADDB;--pal-side-hover:rgba(139,124,199,0.13);--pal-hero:radial-gradient(95% 170% at 0% 0%,rgba(183,156,255,0.34),rgba(183,156,255,0) 62%),linear-gradient(135deg,#2A1E4D,#0E0B1D 88%);--pal-hero-ink:#C9C2E3;--pal-hero-ink-2:#B6ADDB;--nx:#B79CFF;--nx-glow:rgba(183,156,255,0.36);--nx-edge:rgba(183,156,255,0.28);--nx-tint:rgba(183,156,255,0.07);--nx-bg:rgba(183,156,255,0.11);--nx-bg2:rgba(183,156,255,0.16);--nx-hl:rgba(255,255,255,.06);--nx-text:#D4C4FF;color-scheme:dark;--hero-a:#422D6D;--hero-b:#8B7CC7;--hero-c:#E4E1F1;--hero-mount:#191330;--hero-hill:#2A1E4D;--hero-sea:#442E70;--hero-dawn-a:#694F9E;--hero-dawn-mount:#1F163A;--hero-dawn-hill:#3D2A66;--hero-dawn-sea:#4C3279;--hero-dusk-a:#422D6D;--hero-dusk-mount:#0E0B1D;--hero-dusk-hill:#2A1E4D;--hero-dusk-sea:#1C1535;--hero-night-a:#0E0B1D;--hero-night-b:#22183F;--hero-night-c:#422D6D;--hero-night-mount:#090713;--hero-night-hill:#1C1535;--hero-night-sea:#16112B}
html:not([data-palette]):not([data-theme="dark"]),html[data-palette="classic"]:not([data-theme="dark"]){--nx:#3983F5;--nx-glow:rgba(57,131,245,0.3);--nx-edge:rgba(57,131,245,0.4);--nx-tint:rgba(57,131,245,0.07);--nx-bg:rgba(57,131,245,0.13);--nx-bg2:rgba(57,131,245,0.14);--nx-hl:rgba(255,255,255,.75);--nx-text:#3983F5}
html:not([data-palette])[data-theme="dark"],html[data-palette="classic"][data-theme="dark"]{--nx:#4DA3FF;--nx-glow:rgba(77,163,255,0.36);--nx-edge:rgba(77,163,255,0.28);--nx-tint:rgba(77,163,255,0.07);--nx-bg:rgba(77,163,255,0.11);--nx-bg2:rgba(77,163,255,0.16);--nx-hl:rgba(255,255,255,.06);--nx-text:#94C8FF}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .icon-btn{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .user-btn{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .pop{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .pop-item{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .notif.unread{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .strip{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .panel{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .pill.mute{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .btn{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .field input:disabled{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .seg{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .seg button[aria-pressed=true]{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .tbl-wrap{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) th{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .drawer{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .modal{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .role-item{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .savebar{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .filters{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .line-card{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .chip-next{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .bulk-bar{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .chip{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .kv-grid.summary{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .tag.src{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .tag.src.opt{background:var(--warn-bg)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .tag.src.entry{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .inv-line{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .fmt-row.off{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) tr.ev-head td{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .ag-h{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .ag-cal,html[data-theme="dark"] .ag-day,html[data-theme="dark"] .ag-side{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .ag-cell{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .reset-confirm{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .ctile{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .cell:disabled{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .side{background:var(--surface)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .nav a[aria-current=page]{background:var(--tint)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .soon{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .field input:disabled{background:var(--surface-2)}
/* permukaan, tombol utama, sidebar, header, hero: bagian yang di tema biru tertulis dengan warna tetap */
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .side{background:var(--pal-side);border-right-color:var(--line)}
html[data-palette]:not([data-palette="classic"])[data-theme="dark"] .side{background:var(--pal-side);border-right-color:var(--line)}
html[data-palette]:not([data-palette="classic"]) .nav a[aria-current=page]{background:var(--mint-2);color:var(--pal-sel-ink)}
html[data-palette]:not([data-palette="classic"]) .nav a[aria-current=page]::before{background:var(--pal-accent)}
html[data-palette]:not([data-palette="classic"]) .nav a,html[data-palette]:not([data-palette="classic"]) .nav-parent{color:var(--pal-side-ink)}
@media (hover:hover) and (pointer:fine){html[data-palette]:not([data-palette="classic"]) .nav a:hover,html[data-palette]:not([data-palette="classic"]) .nav-parent:hover{background:var(--pal-side-hover)}}
html[data-palette]:not([data-palette="classic"]) .brand-text span,html[data-palette]:not([data-palette="classic"]) .nav-label{color:var(--ink-3)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .top{background:var(--top-bg)}
html[data-palette]:not([data-palette="classic"]) .btn.primary{background:var(--pal-accent);border-color:var(--pal-accent);color:var(--pal-on)}
@media (hover:hover) and (pointer:fine){html[data-palette]:not([data-palette="classic"]) .btn.primary:hover{background:var(--pal-accent-hi);border-color:var(--pal-accent-hi)}}
html[data-palette]:not([data-palette="classic"]):not([data-neon="off"]) .btn.primary{background:linear-gradient(90deg,var(--pal-accent),var(--pal-accent-hi));border-color:transparent}
html[data-palette]:not([data-palette="classic"]) .seg{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]) .seg button[aria-pressed=true]{background:var(--mint-2);color:var(--pal-sel-ink)}
html[data-palette]:not([data-palette="classic"]) .seg-pill{background:var(--mint-2);box-shadow:0 0 0 1px var(--line)}
html[data-palette]:not([data-palette="classic"]) .seg-plate{background:rgba(var(--accent-rgb),.1)}
html[data-palette]:not([data-palette="classic"]) .seg.sd>button[aria-pressed=true]{color:var(--pal-sel-ink)}
html[data-palette]:not([data-palette="classic"]) .avatar{background:var(--pal-accent);color:var(--pal-on)}
html[data-palette]:not([data-palette="classic"]) .toast{background:var(--tip-bg);color:var(--tip-ink)}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .soon{background:var(--surface-2)}
html[data-palette]:not([data-palette="classic"]) th{background:var(--surface-2);color:var(--ink-2)}
html[data-palette]:not([data-palette="classic"]) .field :is(input,select,textarea){background:var(--surface);border-color:var(--pal-field);color:var(--ink)}
html[data-palette]:not([data-palette="classic"]) .field :is(input,select,textarea):focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.22);outline:none}
html[data-palette]:not([data-palette="classic"]) :focus-visible{outline-color:var(--blue)}
html[data-palette]:not([data-palette="classic"]) .ag-hero{background:var(--pal-hero);color:var(--pal-hero-ink)}
html[data-palette]:not([data-palette="classic"]) .ag-hero-copy p,html[data-palette]:not([data-palette="classic"]) .ag-hero-empty span{color:var(--pal-hero-ink-2);opacity:1}
html[data-palette]:not([data-palette="classic"])[data-theme="dark"] .dock-plate{background:var(--plate)}
html[data-palette]:not([data-palette="classic"])[data-theme="dark"] .img-slot,html[data-palette]:not([data-palette="classic"])[data-theme="dark"] .img-slot .meta{color:#475569}
html[data-palette]:not([data-palette="classic"]):not([data-theme="dark"]) .empty-partners{background:var(--surface)}
html[data-palette]:not([data-palette="classic"])[data-theme="dark"] .empty-partners{border-color:var(--pal-field)}
