/* GENERATED oleh tools/make_palettes.py -- JANGAN diedit manual; ubah PALETTES lalu jalankan ulang. */
/* Variabel palet (mode terang). Mode gelap & palet "Bawaan" tidak disentuh. */
html[data-palette="zaitun"] body.light{
  --bg:#F5EFE3; --card:#FFFCF6; --card2:#EFE6D3; --border:#D8C9A8; --text:#2F3519; --text2:#62664A;
  --accent:#4F5B2A; --accent2:#5F6D2A; --green:#3F7A3A; --red:#B23A2A; --yellow:#8C6212;
  --shadow:rgba(47,53,25,.12); --overlay:rgba(47,53,25,.55); --accent-rgb:79,91,42;
}
html[data-palette="zaitun"] body.light{background:#F5EFE3;color:#2F3519}
html[data-palette="zaitun"] body.light ::selection{background:rgba(79,91,42,.22)}
html[data-palette="persik"] body.light{
  --bg:#FFFAF3; --card:#FFFFFF; --card2:#FFF2DB; --border:#F5D3A6; --text:#3A1F14; --text2:#80604F;
  --accent:#E31B38; --accent2:#C8102E; --green:#2E7D4F; --red:#C8102E; --yellow:#9A5A0E;
  --shadow:rgba(58,31,20,.12); --overlay:rgba(58,31,20,.55); --accent-rgb:227,27,56;
}
html[data-palette="persik"] body.light{background:#FFFAF3;color:#3A1F14}
html[data-palette="persik"] body.light ::selection{background:rgba(227,27,56,.22)}

/* ── Tombol pilihan palet (js/palette.js) ── */
.palette-toggle{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 11px 0 9px;border-radius:99px;border:1px solid var(--border,#ccc);background:var(--card2,#f0f0f0);color:var(--text2,#444);font:600 12px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;flex-shrink:0;white-space:nowrap}
.palette-toggle:hover{border-color:var(--accent,#888);color:var(--text,#222)}
.palette-toggle:focus-visible{outline:2px solid var(--accent,#888);outline-offset:2px}
.palette-toggle .sw{display:inline-flex}
.palette-toggle .sw i{width:12px;height:12px;border-radius:50%;border:1px solid rgba(128,128,128,.45);margin-left:-3px}
.palette-toggle .sw i:first-child{margin-left:0}
@media(max-width:640px){.palette-toggle .pt-label{display:none}.palette-toggle{padding:0 9px}}
