/* ============================================================
   HRIS Barokah Group — tampilan dalam aplikasi (gaya desain Figma modern)
   Sidebar hitam beraksen oranye, kartu berlapis halus, sudut membulat besar,
   bayangan lembut, dan gerak masuk. Hanya mengganti token & gaya komponen:
   tidak ada perubahan pada fungsi.
   ============================================================ */
:root {
  --sans: Inter, "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ground: #F4F4F6; --surface: #FFFFFF; --surface-2: #FAFAFB; --surface-3: #F0F0F3;
  --border: #E6E6EB; --border-strong: #D3D3DA;
  --ink: #17171A; --ink-2: #4A4A53; --ink-3: #85858F;
  --primary: #D4531A; --primary-ink: #A63E0E; --primary-soft: #FFF0E7; --primary-line: #FFD3BA;
  --amber: #8A6A06; --amber-soft: #FFF6D6; --amber-line: #EFD98A; --amber-bar: #E0A800;
  --danger: #C21F3A; --danger-soft: #FDE8EC; --danger-line: #F2B6C1;
  --info: #1C6FA8; --info-soft: #E6F1FA; --info-line: #B5D4EA;
  --violet: #5B4A9E; --violet-soft: #EEEAFA;
  --shadow-1: 0 1px 2px rgba(23, 23, 26, .05), 0 1px 1px rgba(23, 23, 26, .03);
  --shadow-2: 0 10px 28px -10px rgba(23, 23, 26, .18), 0 2px 6px rgba(23, 23, 26, .05);
  --shadow-3: 0 30px 80px -20px rgba(23, 23, 26, .35);
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --rail: 256px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #09090B; --surface: #121215; --surface-2: #17171B; --surface-3: #1F1F24;
    --border: #26262C; --border-strong: #38383F;
    --ink: #F4F4F5; --ink-2: #C4C4CC; --ink-3: #8B8B95;
    --primary: #F2733A; --primary-ink: #FFA06B; --primary-soft: #2A1910; --primary-line: #5C3015;
    --amber: #E8BC33; --amber-soft: #2A2209; --amber-line: #5B4812; --amber-bar: #E0A800;
    --danger: #F46C80; --danger-soft: #301319; --danger-line: #5F2631;
    --info: #6DB6EA; --info-soft: #0F2231; --info-line: #264A63;
    --violet: #AB9EF2; --violet-soft: #201C3A;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .5); --shadow-2: 0 14px 34px -10px rgba(0, 0, 0, .7); --shadow-3: 0 30px 80px -20px rgba(0, 0, 0, .85);
  }
}
:root[data-theme="dark"] {
  --ground: #09090B; --surface: #121215; --surface-2: #17171B; --surface-3: #1F1F24;
  --border: #26262C; --border-strong: #38383F;
  --ink: #F4F4F5; --ink-2: #C4C4CC; --ink-3: #8B8B95;
  --primary: #F2733A; --primary-ink: #FFA06B; --primary-soft: #2A1910; --primary-line: #5C3015;
  --amber: #E8BC33; --amber-soft: #2A2209; --amber-line: #5B4812; --amber-bar: #E0A800;
  --danger: #F46C80; --danger-soft: #301319; --danger-line: #5F2631;
  --info: #6DB6EA; --info-soft: #0F2231; --info-line: #264A63;
  --violet: #AB9EF2; --violet-soft: #201C3A;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .5); --shadow-2: 0 14px 34px -10px rgba(0, 0, 0, .7); --shadow-3: 0 30px 80px -20px rgba(0, 0, 0, .85);
}
body { font-family: var(--sans); letter-spacing: -0.006em; }

/* ---------- sidebar hitam ---------- */
.rail { background: linear-gradient(180deg, #0B0B0E 0%, #101013 100%); border-right: 1px solid #1B1B20; color: #D4D4D8; }
.rail-head { border-bottom: 1px solid rgba(255, 255, 255, .07); }
.rail-title { color: #fff; } .rail-sub { color: #85858F; }
.rail-logo { border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.rail-nav { padding: 12px 12px 22px; }
.nav-group-label { color: #6E6E78; letter-spacing: .09em; font-weight: 700; }
.nav-item { position: relative; color: #A1A1AA; border-radius: 12px; padding-top: 9px; padding-bottom: 9px; transition: background .2s, color .2s, transform .2s; }
.nav-item:hover { background: rgba(255, 255, 255, .06); color: #fff; transform: translateX(2px); }
.nav-item.active { color: #fff; background: linear-gradient(90deg, rgba(242, 115, 58, .26), rgba(242, 115, 58, .05)); box-shadow: inset 0 0 0 1px rgba(242, 115, 58, .22); }
.nav-item.active::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: #F2833A; box-shadow: 0 0 14px #F2833A; }
.nav-item.active .ico { color: #FFA06B; opacity: 1; }
.nav-item .pill { background: rgba(255, 255, 255, .1); color: #E4E4E7; border-color: transparent; }
.rail input { background: rgba(255, 255, 255, .06) !important; border: 1px solid rgba(255, 255, 255, .1) !important; color: #fff !important; border-radius: 12px; }
.rail input::placeholder { color: #71717A; }
.rail-foot { border-top: 1px solid rgba(255, 255, 255, .07); color: #E4E4E7; }
.rail-foot .muted, .rail-foot .small, .rail-foot [class*="sub"] { color: #85858F !important; }
.rail .avatar { background: rgba(242, 115, 58, .2); color: #FFA06B; border-color: rgba(242, 115, 58, .35); }

/* ---------- topbar & isi ---------- */
.topbar { background: color-mix(in srgb, var(--surface) 82%, transparent); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid var(--border); }
.content { padding: 28px 30px 64px; }
h1 { font-size: 30px; letter-spacing: -0.04em; } h2 { letter-spacing: -0.03em; }
.eyebrow { color: var(--primary); font-weight: 700; letter-spacing: .1em; }

/* ---------- kartu & statistik ---------- */
.card { border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-1); }
.card-head { border-bottom: 1px solid var(--border); padding: 16px 20px; }
.card-body { padding: 20px; }
.stat { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--border) !important; border-left-width: 1px !important; background: var(--surface); box-shadow: var(--shadow-1); padding: 18px 20px; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; --ac: var(--primary); }
.stat.warn { --ac: var(--amber-bar); } .stat.bad { --ac: var(--danger); } .stat.good { --ac: #16A34A; }
.stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--ac), transparent 80%); }
.stat::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ac) 18%, transparent), transparent); pointer-events: none; }
.stat .k { text-transform: uppercase; letter-spacing: .07em; font-size: 11px; font-weight: 700; }
.stat .v { font-size: 32px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.15; }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.tindakan { border-radius: 18px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-1); padding: 14px 18px; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; }
.tindakan:hover { transform: translateY(-2px) translateX(2px); box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.tindakan-ikon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--primary-soft); color: var(--primary); }
.tindakan.bad .tindakan-ikon { background: var(--danger-soft); color: var(--danger); } .tindakan.warn .tindakan-ikon { background: var(--amber-soft); color: var(--amber); }
.tindakan-n { border-radius: 999px; font-weight: 700; }

/* ---------- tombol, kolom, lencana ---------- */
.btn { border-radius: var(--r-md); padding: 9px 16px; font-weight: 600; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-1); transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, filter .2s; }
.btn:hover { background: var(--surface-3); border-color: var(--border-strong); } .btn:active { transform: scale(.97); }
.btn-primary { color: #fff; border-color: color-mix(in srgb, var(--primary) 80%, #000); background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 86%, #fff), var(--primary)); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--primary) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn-primary:hover { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 78%, #fff), color-mix(in srgb, var(--primary) 94%, #000)); border-color: var(--primary); filter: brightness(1.04); transform: translateY(-1px); }
.btn-ghost { background: transparent; box-shadow: none; border-color: transparent; } .btn-sm { border-radius: 9px; padding: 6px 12px; }
.input, .select, .textarea { border-radius: var(--r-md); background: var(--surface); border: 1.5px solid var(--border); padding: 10px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--border-strong); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); outline: none; }
.badge { border-radius: 999px; padding: 3px 11px; font-weight: 600; }
.alert { border-radius: 14px; }

/* ---------- tabel & tab ---------- */
table.tbl th { background: var(--surface-2); color: var(--ink-3); text-transform: uppercase; letter-spacing: .07em; font-size: 11px; font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--border); }
table.tbl td { padding: 13px 14px; }
table.tbl tbody tr { transition: background .15s, box-shadow .15s; }
table.tbl tbody tr:hover { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--primary); }
.tabs { border-bottom: 1px solid var(--border); }

/* ---------- laci & dialog ---------- */
.drawer { border-radius: 24px 0 0 24px; box-shadow: var(--shadow-3); }
.drawer-head { border-bottom: 1px solid var(--border); padding: 20px 22px; } .drawer-foot { border-top: 1px solid var(--border); }
.modal { border-radius: 24px; box-shadow: var(--shadow-3); }
.bottomnav { background: color-mix(in srgb, var(--surface) 86%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--border); }

/* ---------- gerak masuk: halaman, kartu, statistik, baris tindakan ---------- */
@keyframes ui-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.content > * { animation: ui-in .55s cubic-bezier(.2, .8, .2, 1) backwards; }
.content > *:nth-child(2) { animation-delay: .05s; } .content > *:nth-child(3) { animation-delay: .1s; } .content > *:nth-child(4) { animation-delay: .15s; } .content > *:nth-child(n+5) { animation-delay: .2s; }
.grid > .stat, .tindakan-list > .tindakan { animation: ui-in .55s cubic-bezier(.2, .8, .2, 1) backwards; }
.grid > *:nth-child(1), .tindakan-list > *:nth-child(1) { animation-delay: .05s; } .grid > *:nth-child(2), .tindakan-list > *:nth-child(2) { animation-delay: .1s; }
.grid > *:nth-child(3), .tindakan-list > *:nth-child(3) { animation-delay: .15s; } .grid > *:nth-child(4), .tindakan-list > *:nth-child(4) { animation-delay: .2s; }
.grid > *:nth-child(5), .tindakan-list > *:nth-child(5) { animation-delay: .25s; } .grid > *:nth-child(n+6), .tindakan-list > *:nth-child(n+6) { animation-delay: .3s; }
.drawer { animation: ui-drawer .4s cubic-bezier(.2, .8, .2, 1); } @keyframes ui-drawer { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .content > *, .grid > .stat, .tindakan-list > .tindakan, .drawer, .nav-item, .stat, .tindakan, .btn { animation: none !important; transition: none !important; } }

/* ---------- mode Padat (bawaan): tetap rapat, tetapi memakai gaya baru ---------- */
body.padat .content { padding: 22px 26px 56px; }
body.padat .page-head h1 { font-size: 26px; }
body.padat .grid { gap: 14px; }
body.padat .card { border-radius: var(--r-lg); }
body.padat .card-head { padding: 13px 18px; } body.padat .card-body { padding: 16px 18px; } body.padat .toolbar { padding: 12px 16px; } body.padat .pager { padding: 11px 16px; }
body.padat .stat { padding: 14px 16px; border-radius: var(--r-lg); gap: 2px; }
body.padat .stat .k { font-size: 10.5px; } body.padat .stat .v { font-size: 27px; font-family: var(--sans); font-weight: 800; letter-spacing: -0.045em; } body.padat .stat .d { font-size: 11.5px; }
body.padat .tindakan { padding: 12px 16px; border-radius: 16px; } body.padat .tindakan-ikon { width: 36px; height: 36px; border-radius: 11px; }
body.padat .tindakan-judul { font-size: 13.5px; } body.padat .tindakan-ket { font-size: 12.5px; }
body.padat .btn { padding: 8px 14px; border-radius: var(--r-md); } body.padat .btn-sm { padding: 5px 11px; border-radius: 9px; }
body.padat table.tbl th { padding: 9px 12px; font-size: 10.5px; } body.padat table.tbl td { padding: 9px 12px; }
body.padat .bagian { margin: 22px 0 10px; } body.padat .bagian h2 { font-size: 16px; }

/* ikon pencarian tidak boleh menimpa teks */
.search .input, .cari-inp .input { padding-left: 38px !important; }
.search .ico, .search > svg { left: 13px; }

/* ---------- ucapan sesuai jam (pojok kanan atas) ---------- */
.salam { display: flex; align-items: center; gap: 10px; margin-left: 6px; padding: 5px 16px 5px 6px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); white-space: nowrap; animation: ui-in .6s cubic-bezier(.2, .8, .2, 1) backwards; }
.salam-ikon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(160deg, #FFC94D, #F28A2E); box-shadow: 0 6px 14px -6px rgba(242, 138, 46, .8); }
.salam[data-k="siang"] .salam-ikon { background: linear-gradient(160deg, #FFD54A, #F5A300); }
.salam[data-k="sore"] .salam-ikon { background: linear-gradient(160deg, #FF9A5C, #E5484D); box-shadow: 0 6px 14px -6px rgba(229, 72, 77, .7); }
.salam[data-k="malam"] .salam-ikon { background: linear-gradient(160deg, #6D74F2, #3B3FA8); box-shadow: 0 6px 14px -6px rgba(80, 86, 200, .8); }
.salam-teks small { display: block; font-size: 11px; line-height: 1.1; color: var(--ink-3); font-weight: 600; }
.salam-teks b { display: block; max-width: 190px; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
@media (max-width: 720px) { .salam { padding: 4px 12px 4px 4px; } .salam-teks small { display: none; } .salam-teks b { max-width: 84px; font-size: 13px; } }
@media (max-width: 520px) { .salam-teks { display: none; } .salam { padding: 3px; margin-left: 2px; } }

/* ---------- tombol Kembali ---------- */
.btn-kembali { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 6px 14px 6px 10px; border-radius: 999px; font-weight: 600; color: var(--ink-2); }
.btn-kembali svg { transition: transform .2s; } .btn-kembali:hover svg { transform: translateX(-3px); }

/* ---------- bagian yang dapat disembunyikan ---------- */
.bagian { position: relative; padding-right: 46px; }
.bagian-btn { position: absolute; right: 0; top: 50%; margin-top: -16px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--ink-3); cursor: pointer; transition: transform .25s, background .2s, color .2s; }
.bagian-btn:hover { background: var(--surface-3); color: var(--ink); }
.bagian-btn svg { width: 16px; height: 16px; transition: transform .25s; }
.bagian.tutup .bagian-btn svg { transform: rotate(-90deg); }
.bagian.tutup h2::after { content: "disembunyikan"; margin-left: 10px; padding: 2px 9px; border-radius: 999px; font: 600 11px/1.6 var(--sans); color: var(--ink-3); background: var(--surface-3); vertical-align: middle; }
.bagian-sembunyi { display: none !important; }

/* ---------- Atur menu ---------- */
.nav-alat { display: flex; flex-wrap: wrap; gap: 4px; }
.atur-grup { margin: 18px 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); } .atur-grup:first-child { margin-top: 0; }
.atur-baris { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; margin-bottom: 6px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; transition: background .15s, border-color .15s; }
.atur-baris:hover { background: var(--surface-2); border-color: var(--border-strong); }
.atur-nama { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; } .atur-nama svg { width: 18px; height: 18px; color: var(--ink-3); }
.atur-sakelar { appearance: none; -webkit-appearance: none; flex: none; width: 42px; height: 24px; border-radius: 999px; background: var(--border-strong); position: relative; cursor: pointer; transition: background .2s; }
.atur-sakelar::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .22s cubic-bezier(.2, .9, .3, 1.2); }
.atur-sakelar:checked { background: var(--primary); } .atur-sakelar:checked::after { transform: translateX(18px); }
.atur-sakelar:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ============================================================
   Menu Utama — gaya mobile banking (BYOND by BSI)
   ============================================================ */
.mu { max-width: 640px; margin: 0 auto; --mu-a: #FF9A4D; --mu-b: #F26A2E; --mu-c: #B93D0B; }
.mu-head { position: relative; padding: 20px 18px 14px; border-radius: 28px; color: #fff;
  background: radial-gradient(90% 70% at 100% 0%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(160deg, var(--mu-a) 0%, var(--mu-b) 48%, var(--mu-c) 100%); }
.mu-deco { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.mu-deco::after { content: ""; position: absolute; right: -50px; top: 40px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .08); }
.mu-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.mu-user { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mu-user small { display: block; font-size: 12px; opacity: .85; } .mu-user b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52vw; }
.mu-ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: rgba(255, 255, 255, .22); border: 1.5px solid rgba(255, 255, 255, .5); flex: none; }
.mu-ib { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 0; color: #fff; background: rgba(255, 255, 255, .18); cursor: pointer; transition: background .2s, transform .15s; }
.mu-ib:hover { background: rgba(255, 255, 255, .28); } .mu-ib:active { transform: scale(.94); } .mu-ib svg { width: 20px; height: 20px; }
.mu-bd { position: absolute; right: -2px; top: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #FFC53D; color: #4a3500; font: 700 10.5px/18px var(--sans); text-align: center; display: none; }
.mu-bd.ada { display: block; }
.mu-card { position: relative; margin: 22px 0 -50px; z-index: 2; padding: 16px 18px 14px; border-radius: 22px; color: var(--ink); background: var(--surface); box-shadow: 0 22px 44px -18px rgba(185, 61, 11, .55), 0 2px 6px rgba(0, 0, 0, .06); border: 1px solid var(--border); }
.mu-card-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.mu-mata { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink-3); cursor: pointer; }
.mu-mata:hover { background: var(--surface-3); } .mu-mata.tutup::after { content: ""; position: absolute; width: 22px; height: 2px; background: currentColor; transform: rotate(45deg); border-radius: 2px; }
.mu-nilai { margin: 2px 0 10px; display: flex; align-items: baseline; gap: 8px; } .mu-nilai b { font-size: 38px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.1; color: var(--mu-c); font-variant-numeric: tabular-nums; } .mu-nilai span { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.mu-kecil { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-top: 10px; border-top: 1px dashed var(--border-strong); }
.mu-kecil > div + div { padding-left: 14px; border-left: 1px solid var(--border); } .mu-kecil small { display: block; font-size: 11.5px; color: var(--ink-3); } .mu-kecil b { font-size: 13.5px; font-weight: 700; transition: filter .2s; } .mu-kecil b.samar { filter: blur(6px); }
.mu-sheet { padding: 66px 4px 40px; }
.mu-cari { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--border); transition: border-color .2s, box-shadow .2s; }
.mu-cari:focus-within { border-color: var(--mu-b); box-shadow: 0 0 0 4px rgba(242, 106, 46, .18); } .mu-cari svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.mu-cari input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: inherit; }
.mu-grup-chip { display: flex; gap: 8px; overflow-x: auto; padding: 14px 2px 4px; scrollbar-width: none; } .mu-grup-chip::-webkit-scrollbar { display: none; }
.mu-chip { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--ink-2); font: 600 13px var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.mu-chip.on { background: var(--mu-b); color: #fff; border-color: var(--mu-b); }
.mu-judul { margin: 20px 4px 12px; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.mu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 6px; }
.mu-tile { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px 2px; border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; border-radius: 16px; transition: transform .2s cubic-bezier(.2, .8, .2, 1.2); animation: ui-in .5s cubic-bezier(.2, .8, .2, 1) backwards; }
.mu-tile:nth-child(2) { animation-delay: .04s; } .mu-tile:nth-child(3) { animation-delay: .08s; } .mu-tile:nth-child(4) { animation-delay: .12s; } .mu-tile:nth-child(n+5) { animation-delay: .16s; }
.mu-tile:hover { transform: translateY(-3px); } .mu-tile:active { transform: scale(.94); }
.mu-ik { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; transition: box-shadow .2s; } .mu-ik svg { width: 26px; height: 26px; }
.mu-tile:hover .mu-ik { box-shadow: 0 10px 20px -8px currentColor; }
.mu-lb { max-width: 100%; overflow-wrap: anywhere; font-size: 12px; line-height: 1.25; font-weight: 600; text-align: center; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mu-ik.teal { background: #DDF6F2; color: #0A8F83; } .mu-ik.biru { background: #E3F0FF; color: #1D6FD8; } .mu-ik.ungu { background: #EEE8FF; color: #6B4FD6; } .mu-ik.jingga { background: #FFEBD9; color: #D9610F; }
.mu-ik.hijau { background: #E2F6E6; color: #1E8F3E; } .mu-ik.merah { background: #FFE4E4; color: #D13438; } .mu-ik.indigo { background: #E4E9FF; color: #3A4FD0; } .mu-ik.rose { background: #FFE6F0; color: #D1337A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mu-ik.teal { background: #0E2B28; } :root:not([data-theme="light"]) .mu-ik.biru { background: #0F2238; } :root:not([data-theme="light"]) .mu-ik.ungu { background: #1D1838; } :root:not([data-theme="light"]) .mu-ik.jingga { background: #33200F; }
  :root:not([data-theme="light"]) .mu-ik.hijau { background: #10291A; } :root:not([data-theme="light"]) .mu-ik.merah { background: #34161A; } :root:not([data-theme="light"]) .mu-ik.indigo { background: #151D3D; } :root:not([data-theme="light"]) .mu-ik.rose { background: #351424; } }
:root[data-theme="dark"] .mu-ik.teal { background: #0E2B28; } :root[data-theme="dark"] .mu-ik.biru { background: #0F2238; } :root[data-theme="dark"] .mu-ik.ungu { background: #1D1838; } :root[data-theme="dark"] .mu-ik.jingga { background: #33200F; }
:root[data-theme="dark"] .mu-ik.hijau { background: #10291A; } :root[data-theme="dark"] .mu-ik.merah { background: #34161A; } :root[data-theme="dark"] .mu-ik.indigo { background: #151D3D; } :root[data-theme="dark"] .mu-ik.rose { background: #351424; }
@media (max-width: 480px) { .mu-grid { gap: 14px 2px; } .mu-ik { width: 54px; height: 54px; } }
@media (min-width: 900px) { .mu { max-width: 760px; } .mu-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .mu-tile { animation: none; transition: none; } }

/* bilah cari & filter pada halaman Pencairan Uang Cuti, Masa Kerja */
.hx-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.hx-bar .search { flex: 1 1 260px; max-width: 380px; position: relative; } .hx-bar .select { width: auto; min-width: 150px; }

/* chip shift pada Pengaturan Shift Outlet */
.sh-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.sh-chip:disabled { opacity: .45; cursor: default; }

/* ---- Menu Utama v96: oranye, gaya desain Figma ---- */
.mu-ik.kuning { background: #FFF3CC; color: #B07A00; }
:root[data-theme="dark"] .mu-ik.kuning { background: #33290A; color: #F2C230; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mu-ik.kuning { background: #33290A; color: #F2C230; } }
.mu-ik.jingga { background: #FFEBDB; color: #E2570F; }
.mu-cepat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.mu-cepat:empty { display: none; }
.mu-cp { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-1); cursor: pointer; color: inherit; font: inherit; transition: transform .2s cubic-bezier(.2, .8, .2, 1.2), box-shadow .2s; }
.mu-cp:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); } .mu-cp:active { transform: scale(.96); }
.mu-cpi { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #FF9A4D, #E8590C); box-shadow: 0 10px 20px -8px rgba(232, 89, 12, .7); } .mu-cpi svg { width: 22px; height: 22px; }
.mu-cpl { font-size: 11.5px; font-weight: 700; line-height: 1.25; text-align: center; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mu-banner { width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px 14px; border: 0; border-radius: 18px; text-align: left; cursor: pointer; color: #5B2606; font: inherit;
  background: linear-gradient(100deg, #FFE3CC, #FFD2B0); box-shadow: 0 10px 24px -14px rgba(232, 89, 12, .6); transition: transform .2s; } .mu-banner:hover { transform: translateY(-2px); }
.mu-bi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #fff; color: #E8590C; } .mu-bi svg { width: 20px; height: 20px; }
.mu-bt { flex: 1; min-width: 0; } .mu-bt b { display: block; font-size: 13.5px; } .mu-bt small { display: block; font-size: 11.5px; opacity: .8; } .mu-ba { font-size: 22px; opacity: .6; }
.mu-sheet { padding-top: 66px; }
@media (max-width: 480px) { .mu-cepat { gap: 8px; } .mu-cp { padding: 12px 4px 10px; } }
@media (prefers-reduced-motion: reduce) { .mu-cp, .mu-banner { transition: none; } }

/* foto karyawan pada Rekap Masa Kerja */
.mk-foto { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border); background: var(--surface-3); }
.mk-inisial { font-size: 13px; font-weight: 800; color: var(--primary); background: var(--primary-soft); }

/* ---- laci Seleksi & Wawancara ---- */
.sl-b { padding: 14px 0; border-top: 1px solid var(--border); } .sl-b:first-child { border-top: 0; padding-top: 0; }
.sl-j { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.sl-kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; font-size: 14px; } .sl-kv span { color: var(--ink-3); } .sl-kv b { word-break: break-word; }
.sl-f { padding: 4px 0; word-break: break-all; } .sl-konf { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; }

/* ---- Izin lokasi otomatis & panel titik outlet pada halaman Absen ---- */
.lokasi-live { margin: 0 0 14px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-1); transition: border-color .3s, background .3s; }
.lokasi-live[data-s="dalam"] { border-color: #16a34a; background: color-mix(in srgb, #16a34a 7%, var(--surface)); }
.lokasi-live[data-s="luar"], .lokasi-live[data-s="ditolak"] { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 6%, var(--surface)); }
.ll-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .ll-top b { flex: 1; font-size: 14px; }
.ll-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber-bar); box-shadow: 0 0 0 0 rgba(224, 168, 0, .5); animation: ui-ping 1.6s infinite; }
.lokasi-live[data-s="aktif"] .ll-dot, .lokasi-live[data-s="dalam"] .ll-dot { background: #16a34a; animation: none; } .lokasi-live[data-s="luar"] .ll-dot, .lokasi-live[data-s="ditolak"] .ll-dot { background: var(--danger); animation: none; }
@keyframes ui-ping { to { box-shadow: 0 0 0 9px rgba(224, 168, 0, 0); } }
.ll-kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; font-size: 13.5px; } .ll-kv > span { color: var(--ink-3); } .ll-kv b { font-weight: 600; word-break: break-word; } .ll-kv small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; margin-top: 1px; }
.ll-bantuan { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--danger-soft); border: 1px solid var(--danger-line); font-size: 13px; } .ll-bantuan ul { margin: 6px 0 0; padding-left: 18px; } .ll-bantuan[hidden] { display: none; }
.ll-pesan { display: block; margin-top: 10px; color: var(--ink-3); }
.gps-det { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
@media (max-width: 480px) { .ll-kv { grid-template-columns: 96px 1fr; } }
@media (prefers-reduced-motion: reduce) { .ll-dot { animation: none; } }
.ll-ulang[hidden] { display: none !important; }
.lokasi-live .badge.ok { background: #dcfce7; color: #166534; border-color: #86efac; } .lokasi-live .badge.bad { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
