/* Jembatan halaman dalam (Tailwind v4) ke dunia "Rak" beranda. Dimuat SETELAH css/app.css.
   Tailwind v4 membaca warna/radius/font dari variabel CSS, jadi memetakan ulang variabelnya menyelaraskan
   semua halaman Livewire sekaligus tanpa menyunting kelas satu per satu:
   - emerald/teal/indigo/cyan/green/violet/purple/fuchsia -> hijau Kemenag lembut (--accent #3f7a56 di 600)
   - red/rose/pink -> merah lembut, amber/orange/yellow -> pasir, blue/sky -> biru kabut (status tetap terbaca: 600/700 >= 4.5:1)
   - gray/slate/zinc/neutral/stone          -> abu hangat (--page #f4f3ef di 50, --ink #1b1b1a di 900)
   Variabel tanpa @layer sengaja: harus menang atas @layer theme milik Tailwind. */
:root{
  --color-gray-50:#f4f3ef;--color-gray-100:#ecebe6;--color-gray-200:#dcd9d0;--color-gray-300:#c4c1b7;--color-gray-400:#9a978d;--color-gray-500:#6b6962;--color-gray-600:#55544f;--color-gray-700:#3f3e3a;--color-gray-800:#2a2927;--color-gray-900:#1b1b1a;--color-gray-950:#121211;
  --color-slate-50:#f4f3ef;--color-slate-100:#ecebe6;--color-slate-200:#dcd9d0;--color-slate-300:#c4c1b7;--color-slate-400:#9a978d;--color-slate-500:#6b6962;--color-slate-600:#55544f;--color-slate-700:#3f3e3a;--color-slate-800:#2a2927;--color-slate-900:#1b1b1a;--color-slate-950:#121211;
  --color-zinc-50:#f4f3ef;--color-zinc-100:#ecebe6;--color-zinc-200:#dcd9d0;--color-zinc-300:#c4c1b7;--color-zinc-400:#9a978d;--color-zinc-500:#6b6962;--color-zinc-600:#55544f;--color-zinc-700:#3f3e3a;--color-zinc-800:#2a2927;--color-zinc-900:#1b1b1a;--color-zinc-950:#121211;
  --color-neutral-50:#f4f3ef;--color-neutral-100:#ecebe6;--color-neutral-200:#dcd9d0;--color-neutral-300:#c4c1b7;--color-neutral-400:#9a978d;--color-neutral-500:#6b6962;--color-neutral-600:#55544f;--color-neutral-700:#3f3e3a;--color-neutral-800:#2a2927;--color-neutral-900:#1b1b1a;--color-neutral-950:#121211;
  --color-stone-50:#f4f3ef;--color-stone-100:#ecebe6;--color-stone-200:#dcd9d0;--color-stone-300:#c4c1b7;--color-stone-400:#9a978d;--color-stone-500:#6b6962;--color-stone-600:#55544f;--color-stone-700:#3f3e3a;--color-stone-800:#2a2927;--color-stone-900:#1b1b1a;--color-stone-950:#121211;
  --color-emerald-50:#f2f7f4;--color-emerald-100:#e2efe7;--color-emerald-200:#c6dfcf;--color-emerald-300:#a2c9b0;--color-emerald-400:#77ad8b;--color-emerald-500:#5a956f;--color-emerald-600:#3f7a56;--color-emerald-700:#356b4c;--color-emerald-800:#2d5a40;--color-emerald-900:#264b36;--color-emerald-950:#172d21;
  --color-teal-50:#f2f7f4;--color-teal-100:#e2efe7;--color-teal-200:#c6dfcf;--color-teal-300:#a2c9b0;--color-teal-400:#77ad8b;--color-teal-500:#5a956f;--color-teal-600:#3f7a56;--color-teal-700:#356b4c;--color-teal-800:#2d5a40;--color-teal-900:#264b36;--color-teal-950:#172d21;
  --color-indigo-50:#f2f7f4;--color-indigo-100:#e2efe7;--color-indigo-200:#c6dfcf;--color-indigo-300:#a2c9b0;--color-indigo-400:#77ad8b;--color-indigo-500:#5a956f;--color-indigo-600:#3f7a56;--color-indigo-700:#356b4c;--color-indigo-800:#2d5a40;--color-indigo-900:#264b36;--color-indigo-950:#172d21;
  --color-cyan-50:#f2f7f4;--color-cyan-100:#e2efe7;--color-cyan-200:#c6dfcf;--color-cyan-300:#a2c9b0;--color-cyan-400:#77ad8b;--color-cyan-500:#5a956f;--color-cyan-600:#3f7a56;--color-cyan-700:#356b4c;--color-cyan-800:#2d5a40;--color-cyan-900:#264b36;--color-cyan-950:#172d21;
  --color-green-50:#f2f7f4;--color-green-100:#e2efe7;--color-green-200:#c6dfcf;--color-green-300:#a2c9b0;--color-green-400:#77ad8b;--color-green-500:#5a956f;--color-green-600:#3f7a56;--color-green-700:#356b4c;--color-green-800:#2d5a40;--color-green-900:#264b36;--color-green-950:#172d21;
  --color-violet-50:#f2f7f4;--color-violet-100:#e2efe7;--color-violet-200:#c6dfcf;--color-violet-300:#a2c9b0;--color-violet-400:#77ad8b;--color-violet-500:#5a956f;--color-violet-600:#3f7a56;--color-violet-700:#356b4c;--color-violet-800:#2d5a40;--color-violet-900:#264b36;--color-violet-950:#172d21;
  --color-purple-50:#f2f7f4;--color-purple-100:#e2efe7;--color-purple-200:#c6dfcf;--color-purple-300:#a2c9b0;--color-purple-400:#77ad8b;--color-purple-500:#5a956f;--color-purple-600:#3f7a56;--color-purple-700:#356b4c;--color-purple-800:#2d5a40;--color-purple-900:#264b36;--color-purple-950:#172d21;
  --color-fuchsia-50:#f2f7f4;--color-fuchsia-100:#e2efe7;--color-fuchsia-200:#c6dfcf;--color-fuchsia-300:#a2c9b0;--color-fuchsia-400:#77ad8b;--color-fuchsia-500:#5a956f;--color-fuchsia-600:#3f7a56;--color-fuchsia-700:#356b4c;--color-fuchsia-800:#2d5a40;--color-fuchsia-900:#264b36;--color-fuchsia-950:#172d21;
  --color-pink-50:#fbf1f0;--color-pink-100:#f6e0dd;--color-pink-200:#ecc3bd;--color-pink-300:#dd9d94;--color-pink-400:#c9776c;--color-pink-500:#b55d52;--color-pink-600:#a04c42;--color-pink-700:#873f37;--color-pink-800:#6f342e;--color-pink-900:#5b2c27;--color-pink-950:#33150f;
  --color-red-50:#fbf1f0;--color-red-100:#f6e0dd;--color-red-200:#ecc3bd;--color-red-300:#dd9d94;--color-red-400:#c9776c;--color-red-500:#b55d52;--color-red-600:#a04c42;--color-red-700:#873f37;--color-red-800:#6f342e;--color-red-900:#5b2c27;--color-red-950:#33150f;
  --color-rose-50:#fbf1f0;--color-rose-100:#f6e0dd;--color-rose-200:#ecc3bd;--color-rose-300:#dd9d94;--color-rose-400:#c9776c;--color-rose-500:#b55d52;--color-rose-600:#a04c42;--color-rose-700:#873f37;--color-rose-800:#6f342e;--color-rose-900:#5b2c27;--color-rose-950:#33150f;
  --color-orange-50:#fbf6ea;--color-orange-100:#f5ead0;--color-orange-200:#ead5a4;--color-orange-300:#dcbb74;--color-orange-400:#cda150;--color-orange-500:#b88a3a;--color-orange-600:#8f6a2d;--color-orange-700:#7d5b29;--color-orange-800:#654a24;--color-orange-900:#533e20;--color-orange-950:#2e210f;
  --color-amber-50:#fbf6ea;--color-amber-100:#f5ead0;--color-amber-200:#ead5a4;--color-amber-300:#dcbb74;--color-amber-400:#cda150;--color-amber-500:#b88a3a;--color-amber-600:#8f6a2d;--color-amber-700:#7d5b29;--color-amber-800:#654a24;--color-amber-900:#533e20;--color-amber-950:#2e210f;
  --color-yellow-50:#fbf6ea;--color-yellow-100:#f5ead0;--color-yellow-200:#ead5a4;--color-yellow-300:#dcbb74;--color-yellow-400:#cda150;--color-yellow-500:#b88a3a;--color-yellow-600:#8f6a2d;--color-yellow-700:#7d5b29;--color-yellow-800:#654a24;--color-yellow-900:#533e20;--color-yellow-950:#2e210f;
  --color-blue-50:#f0f5f9;--color-blue-100:#dde8f1;--color-blue-200:#bdd2e3;--color-blue-300:#93b5cf;--color-blue-400:#6893b6;--color-blue-500:#4e7a9e;--color-blue-600:#406686;--color-blue-700:#36566f;--color-blue-800:#2e485c;--color-blue-900:#283d4d;--color-blue-950:#18252f;
  --color-sky-50:#f0f5f9;--color-sky-100:#dde8f1;--color-sky-200:#bdd2e3;--color-sky-300:#93b5cf;--color-sky-400:#6893b6;--color-sky-500:#4e7a9e;--color-sky-600:#406686;--color-sky-700:#36566f;--color-sky-800:#2e485c;--color-sky-900:#283d4d;--color-sky-950:#18252f;
  --font-sans:"Poppins",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-serif:"Poppins",system-ui,sans-serif;
}

/* Dasar: masuk ke @layer base Tailwind sehingga utilitas di halaman tetap bisa menimpanya */
@layer base{
  body{font-family:var(--sans)}
  h1,h2,h3,h4{font-family:var(--serif);text-wrap:balance}
  ::selection{background:var(--accent);color:#fff}
  :focus-visible{outline:3px solid var(--foil);outline-offset:3px}
}

/* Label kecil berhuruf kapital renggang di atas judul (pola lama) ditulis biasa, seperti beranda */
.uppercase.tracking-wider,.uppercase.tracking-widest,.uppercase[class*="tracking-[0."]{text-transform:none;letter-spacing:0}

/* Lapisan pemindai Google Translate tidak boleh menggeser header */
.site-header{z-index:40}

/* Lebar konten max-w-7xl (+px-8) = lebar kontainer beranda 1280px, agar tepi konten sejajar dengan logo header */
:root{--container-7xl:1344px}

/* ---- Tema gelap hangat untuk halaman dalam ----
   css/app.css (hasil build lama) memaksa warna biru dongker lewat "html.dark ... !important". Aturan di bawah
   memakai selektor yang sama dengan warna gelap hangat beranda (--page #161615, --paper #201f1d); karena dimuat
   sesudah app.css, aturan ini yang berlaku. Dibuat dari app.css oleh skrip sekali jalan; perbarui bila app.css dibangun ulang. */
html.dark body{color:#ecebe6!important;background-color:#161615!important}
html.dark .bg-gray-50,html.dark .bg-slate-50,html.dark .bg-gray-100,html.dark .bg-slate-100,html.dark .bg-gray-100\/50,html.dark .bg-gray-200,html.dark .bg-slate-200,html.dark section.bg-white,html.dark main.bg-white,html.dark main>div.bg-white,html.dark .from-emerald-50.via-white.to-teal-50{background-color:#161615!important;background-image:none!important}
html.dark .bg-white,html.dark .bg-emerald-50\/30,html.dark .bg-gradient-to-b,html.dark .from-emerald-50.to-teal-50{background-color:#201f1d!important;background-image:none!important}
html.dark .text-gray-900,html.dark .text-gray-800,html.dark .text-gray-700,html.dark .text-slate-900,html.dark .text-slate-800,html.dark .text-slate-700{color:#f4f3ef!important}
html.dark .text-gray-600,html.dark .text-gray-500,html.dark .text-slate-600,html.dark .text-slate-500{color:#b2b0a8!important}
html.dark .border,html.dark .border-gray-100,html.dark .border-gray-200,html.dark .border-gray-300,html.dark .border-slate-100,html.dark .border-slate-200,html.dark .border-slate-300,html.dark .border-emerald-50,html.dark .border-emerald-100,html.dark .border-emerald-200,html.dark .border-teal-50,html.dark .border-teal-100,html.dark .border-teal-200{border-color:#363531!important}
html.dark nav .bg-white,html.dark nav div.bg-white{background-color:#201f1d!important}
html.dark nav button,html.dark nav a{color:#ecebe6!important}
html.dark nav a:hover,html.dark nav button:hover{color:#9fd3b0!important}
html.dark aside,html.dark .fi-sidebar{background-color:#161615!important;border-color:#363531!important}
html.dark footer,html.dark footer .bg-white{color:#b2b0a8!important;background-color:#161615!important;border-color:#363531!important}
html.dark footer a{color:#d6d4cc!important}
html.dark footer a:hover{color:#9fd3b0!important}
html.dark input,html.dark select,html.dark textarea{color:#f4f3ef!important;background-color:#161615!important;border-color:#4a4945!important}
html.dark input::placeholder,html.dark textarea::placeholder{color:#8d8a80!important}
html.dark .bg-emerald-900{background-color:#121211!important}
html.dark .from-emerald-900{background-image:linear-gradient(90deg,#121211,#121211cc 50%,#0000)!important}
html.dark .bg-emerald-50,html.dark .bg-emerald-100{color:#9fd3b0!important;background-color:#0000!important}
/* footer bersama memakai token footernya sendiri, bukan aturan footer generik di atas */
html.dark footer.site-footer{background-color:var(--foot-bg)!important;color:var(--foot-ink)!important;border-color:var(--wood)!important}
html.dark footer.site-footer a{color:var(--foot-ink)!important}
html.dark footer.site-footer .footer-contact p,html.dark footer.site-footer .footer-bottom,html.dark footer.site-footer .brand small{color:var(--foot-muted)!important}
/* teks hijau gelap tidak terbaca di latar gelap: pakai hijau muda (mis. tombol putih bertulisan hijau) */
html.dark .text-emerald-600,html.dark .text-emerald-700,html.dark .text-emerald-800,html.dark .text-emerald-900,
html.dark .text-teal-600,html.dark .text-teal-700,html.dark .text-teal-800,html.dark .text-indigo-600,html.dark .text-indigo-700,html.dark .text-indigo-800{color:#a6d4b6!important}
