:root{
  --du-bg:#eef5ff;
  --du-ink:#0f1f3d;
  --du-muted:#667799;
  --du-border:rgba(148,163,184,.22);
  --du-card:rgba(255,255,255,.78);
  --du-white:#fff;
  --du-primary:#4f46e5;
  --du-blue:#2563eb;
  --du-cyan:#06b6d4;
  --du-emerald:#10b981;
  --du-amber:#f59e0b;
  --du-rose:#f43f5e;
  --du-violet:#7c3aed;
  --du-shadow:0 22px 55px rgba(15,23,42,.10);
  --du-shadow-2:0 30px 75px rgba(79,70,229,.17);
}
*{font-family:Poppins,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  color:var(--du-ink);
  background:
    radial-gradient(circle at 7% 12%,rgba(14,165,233,.24),transparent 24%),
    radial-gradient(circle at 85% 8%,rgba(124,58,237,.20),transparent 22%),
    radial-gradient(circle at 72% 86%,rgba(16,185,129,.16),transparent 26%),
    linear-gradient(135deg,#f8fbff 0%,#eef6ff 45%,#fff7ed 120%);
  min-height:100vh;
}
body:before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;
  background-image:linear-gradient(rgba(15,23,42,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(15,23,42,.035) 1px,transparent 1px);
  background-size:42px 42px;mask-image:linear-gradient(to bottom,black,transparent 80%);
}
.app-shell{min-height:100vh;position:relative;overflow:hidden}
.app-shell:before,.app-shell:after{content:"";position:fixed;border-radius:999px;filter:blur(2px);opacity:.55;pointer-events:none;z-index:0}
.app-shell:before{width:260px;height:260px;background:rgba(79,70,229,.14);right:-70px;top:130px}
.app-shell:after{width:220px;height:220px;background:rgba(6,182,212,.12);left:220px;bottom:20px}
.app-sidebar{
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(248,250,252,.82));
  backdrop-filter:blur(18px);
  box-shadow:18px 0 45px rgba(15,23,42,.07);
  position:relative;z-index:5;
}
.app-sidebar:after{content:"";position:absolute;inset:auto 22px 22px 22px;height:90px;border-radius:26px;background:linear-gradient(135deg,rgba(79,70,229,.10),rgba(6,182,212,.10));z-index:-1}
.brand-mark{background:linear-gradient(135deg,#4f46e5,#06b6d4);box-shadow:0 18px 42px rgba(79,70,229,.33);position:relative;overflow:hidden}
.brand-mark:after{content:"";position:absolute;inset:-40%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);transform:rotate(35deg);animation:shine 4s infinite}
@keyframes shine{0%,60%{translate:-120% 0}100%{translate:120% 0}}
.nav-link{display:flex;align-items:center;gap:.85rem;padding:.86rem 1rem;border-radius:1.15rem;color:#334155;font-weight:800;transition:.25s ease;border:1px solid transparent;position:relative;overflow:hidden}
.nav-link:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(79,70,229,.13),rgba(6,182,212,.10));opacity:0;transition:.25s ease}
.nav-link:hover{background:#fff;color:#312e81;box-shadow:0 16px 34px rgba(15,23,42,.10);transform:translateX(6px)}
.nav-link:hover:before{opacity:1}.nav-link>*{position:relative;z-index:1}
.nav-link.active{background:linear-gradient(135deg,#4f46e5,#2563eb 70%,#06b6d4);color:white;box-shadow:0 20px 40px rgba(37,99,235,.25)}
.nav-link.active span:first-child{background:rgba(255,255,255,.22)!important;color:white!important}
.topbar{background:rgba(255,255,255,.72);backdrop-filter:blur(18px);box-shadow:0 10px 35px rgba(15,23,42,.055);position:relative;z-index:4}
.topbar:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(79,70,229,.35),transparent)}
.header-pill{display:inline-flex;align-items:center;gap:.5rem;padding:.42rem .9rem;border-radius:999px;background:linear-gradient(90deg,#eef1ff,#eff6ff);color:var(--du-primary);font-size:.75rem;font-weight:900;box-shadow:0 10px 24px rgba(79,70,229,.10)}
.btn-fun{border:none;border-radius:1.1rem;padding:.76rem 1.05rem;cursor:pointer;transition:.24s ease;font-weight:900;display:inline-flex;align-items:center;gap:.55rem;box-shadow:0 12px 26px rgba(15,23,42,.08)}
.btn-fun:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(15,23,42,.14)}
.btn-primary-fun{background:linear-gradient(135deg,var(--du-primary),#2563eb 60%,var(--du-cyan));color:#fff;box-shadow:0 16px 34px rgba(79,70,229,.27)}
.btn-dark-fun{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff}.btn-white-fun{background:rgba(255,255,255,.88);color:#183257;border:1px solid var(--du-border)}
.hero-premium{position:relative;overflow:hidden;border-radius:2.2rem;background:linear-gradient(135deg,#4f46e5 0%,#2563eb 42%,#06b6d4 100%);box-shadow:var(--du-shadow-2);color:white}
.hero-premium:before{content:"";position:absolute;width:460px;height:460px;border-radius:999px;background:rgba(255,255,255,.14);right:-150px;top:-210px}
.hero-premium:after{content:"";position:absolute;width:320px;height:320px;border-radius:999px;background:rgba(255,255,255,.10);left:38%;bottom:-210px}
.hero-premium>*{position:relative;z-index:1}
.glass-card,.page-card,.module-card,.metric-card{background:var(--du-card);border:1px solid rgba(255,255,255,.62);backdrop-filter:blur(16px);box-shadow:var(--du-shadow);transition:.25s ease}
.page-card{border-radius:1.7rem}.page-card:hover{box-shadow:0 28px 70px rgba(15,23,42,.13)}
.module-card{display:block;border-radius:1.8rem;padding:1.35rem;position:relative;overflow:hidden;min-height:158px}
.module-card:hover{transform:translateY(-7px);box-shadow:0 32px 72px rgba(15,23,42,.16)}
.module-card:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.78),rgba(255,255,255,.50));z-index:0}
.module-card:after{content:"";position:absolute;right:-55px;bottom:-55px;width:150px;height:150px;border-radius:999px;background:var(--module-glow,rgba(79,70,229,.16));transition:.25s ease}
.module-card:hover:after{transform:scale(1.22)}
.module-card>*{position:relative;z-index:1}
.module-icon{width:58px;height:58px;border-radius:21px;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 18px 34px rgba(15,23,42,.16)}
.module-dashboard{--module-glow:rgba(79,70,229,.20)}.module-aset{--module-glow:rgba(6,182,212,.22)}.module-rumah{--module-glow:rgba(245,158,11,.22)}.module-wo{--module-glow:rgba(16,185,129,.22)}
.metric-card{border-radius:1.55rem;padding:1.15rem;position:relative;overflow:hidden}
.metric-card:after{content:"";position:absolute;width:130px;height:130px;border-radius:999px;background:rgba(79,70,229,.08);right:-50px;top:-50px}.metric-card:hover{transform:translateY(-6px);box-shadow:0 26px 60px rgba(15,23,42,.14)}
.quick-card{position:relative;overflow:hidden;border-radius:1.65rem;background:rgba(255,255,255,.76);border:1px solid rgba(255,255,255,.72);box-shadow:var(--du-shadow);transition:.25s ease}.quick-card:hover{transform:translateY(-5px);box-shadow:0 26px 60px rgba(15,23,42,.13)}
.quick-card:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,var(--quick-a,rgba(79,70,229,.10)),transparent 70%);opacity:.8}.quick-card>*{position:relative;z-index:1}
.timeline-dot{width:12px;height:12px;border-radius:999px;background:linear-gradient(135deg,#4f46e5,#06b6d4);box-shadow:0 0 0 6px rgba(79,70,229,.10)}
.input-soft{border:1px solid #e2e8f0;border-radius:1rem;padding:.78rem 1rem;outline:none;background:rgba(255,255,255,.88);transition:.18s ease;box-shadow:0 2px 8px rgba(15,23,42,.02)}
.input-soft:focus{border-color:#818cf8;box-shadow:0 0 0 4px rgba(99,102,241,.14);background:#fff}.label-soft{display:block;font-size:.78rem;color:#64748b;font-weight:800;margin-bottom:.45rem}
.badge{display:inline-flex;align-items:center;gap:.35rem;padding:.38rem .72rem;border-radius:999px;font-size:.75rem;font-weight:900;border:1px solid transparent;white-space:nowrap}.badge-open{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.badge-progress{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.badge-done{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.badge-cancelled,.badge-cancel{background:#fef2f2;color:#be123c;border-color:#fecdd3}.badge-med{background:#ecfeff;color:#0e7490;border-color:#a5f3fc}.badge-house{background:#fffbeb;color:#b45309;border-color:#fde68a}
.table-modern{width:100%;border-collapse:separate;border-spacing:0 .68rem}.table-modern thead th{font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;color:#64748b;text-align:left;padding:.85rem 1rem;background:rgba(248,250,252,.86);white-space:nowrap}.table-modern thead th:first-child{border-radius:1rem 0 0 1rem}.table-modern thead th:last-child{border-radius:0 1rem 1rem 0}.table-modern tbody tr{transition:.2s ease}.table-modern tbody tr:hover{transform:translateY(-3px) scale(1.002);box-shadow:0 18px 36px rgba(15,23,42,.10)}.table-modern tbody td{background:rgba(255,255,255,.90);padding:1rem;border-top:1px solid rgba(226,232,240,.9);border-bottom:1px solid rgba(226,232,240,.9);vertical-align:top}.table-modern tbody td:first-child{border-left:1px solid rgba(226,232,240,.9);border-radius:1rem 0 0 1rem}.table-modern tbody td:last-child{border-right:1px solid rgba(226,232,240,.9);border-radius:0 1rem 1rem 0}.wo-urgent td{background:#fff1f2!important;border-color:#fecdd3!important}.wo-open td{background:#fffbeb!important;border-color:#fde68a!important}.wo-progress td{background:#eff6ff!important;border-color:#bfdbfe!important}.wo-done td{background:#f0fdf4!important;border-color:#bbf7d0!important}
.toast{animation:slideIn .25s ease;background:#fff;border:1px solid #e2e8f0;box-shadow:0 18px 45px rgba(15,23,42,.16);border-radius:1.2rem;padding:1rem;min-width:18rem}.notif-dot{position:absolute;top:.2rem;right:.15rem;width:.62rem;height:.62rem;border-radius:999px;background:#f59e0b;box-shadow:0 0 0 6px rgba(245,158,11,.16);animation:pulseDot 1.8s infinite}@keyframes pulseDot{0%{transform:scale(1);opacity:1}70%{transform:scale(1.25);opacity:.55}100%{transform:scale(1);opacity:1}}@keyframes slideIn{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}
.flash-card{border-radius:1.2rem;padding:1rem;border:1px solid;font-weight:700}.flash-success{background:#ecfdf5;color:#087857;border-color:#c8f0df}.flash-error{background:#fef2f2;color:#d32f2f;border-color:#ffd3d3}
@media(max-width:1024px){.app-sidebar{position:relative;width:100%!important}.app-shell>div,.app-shell .flex.min-h-screen{flex-direction:column}.table-modern{border-spacing:0}.table-modern thead{display:none}.table-modern tbody tr{display:block;margin-bottom:1rem}.table-modern tbody td{display:block;border-left:1px solid #e2e8f0;border-right:1px solid #e2e8f0;border-radius:0!important}.table-modern tbody td:first-child{border-radius:1rem 1rem 0 0!important}.table-modern tbody td:last-child{border-radius:0 0 1rem 1rem!important}}

/* === FIX DASHBOARD HERO + CARD KANAN TANPA TAILWIND === */
.du-hero{
  position:relative;
  overflow:hidden;
  border-radius:36px;
  min-height:360px;
  padding:42px;
  margin-bottom:28px;
  color:#fff;
  background:linear-gradient(135deg,#4f46e5 0%,#2563eb 45%,#06b6d4 100%);
  box-shadow:0 35px 85px rgba(37,99,235,.22);
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);
  gap:32px;
  align-items:center;
}
.du-hero-bg{position:absolute;border-radius:999px;background:rgba(255,255,255,.14);pointer-events:none}.du-hero-bg-1{width:480px;height:480px;right:-180px;top:-220px}.du-hero-bg-2{width:320px;height:320px;left:40%;bottom:-210px;background:rgba(255,255,255,.10)}
.du-hero-left,.du-hero-right{position:relative;z-index:1}.du-hero-pill{display:inline-flex;align-items:center;gap:9px;padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.28);font-weight:900;font-size:12px;margin-bottom:18px;color:#fff;backdrop-filter:blur(10px)}
.du-hero h2{font-size:clamp(34px,4vw,58px);line-height:1.04;margin:0 0 16px;font-weight:900;letter-spacing:-.04em;color:#fff;text-shadow:0 12px 32px rgba(15,23,42,.18)}.du-hero p{margin:0;color:rgba(255,255,255,.86);font-size:16px;line-height:1.75;max-width:760px}.du-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.du-btn{border:0;border-radius:18px;padding:13px 18px;font-weight:900;display:inline-flex;align-items:center;gap:10px;transition:.22s ease;text-decoration:none;box-shadow:0 16px 36px rgba(15,23,42,.12)}.du-btn:hover{transform:translateY(-3px);box-shadow:0 24px 48px rgba(15,23,42,.18)}.du-btn-white{background:#fff;color:#4338ca}.du-btn-ghost{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.26)}.du-btn-primary{background:linear-gradient(135deg,#4f46e5,#2563eb 65%,#06b6d4);color:#fff}
.du-hero-right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.du-mini-card{min-height:150px;border-radius:28px;padding:21px;background:rgba(255,255,255,.17);border:1px solid rgba(255,255,255,.30);box-shadow:0 22px 48px rgba(15,23,42,.16), inset 0 1px 0 rgba(255,255,255,.25);backdrop-filter:blur(18px);transition:.24s ease;color:#fff}.du-mini-card:hover{transform:translateY(-6px) rotate(-1deg);background:rgba(255,255,255,.23)}.du-mini-card.is-offset{transform:translateY(24px)}.du-mini-card.is-offset:hover{transform:translateY(18px) rotate(1deg)}.du-mini-card.is-up{transform:translateY(-12px)}.du-mini-card.is-up:hover{transform:translateY(-18px) rotate(-1deg)}.du-mini-icon{width:52px;height:52px;border-radius:20px;background:rgba(255,255,255,.22);display:grid;place-items:center;margin-bottom:16px;font-size:22px}.du-mini-card strong{display:block;font-size:32px;line-height:1;font-weight:900;margin-bottom:8px;color:#fff}.du-mini-card span{display:block;font-size:13px;color:rgba(255,255,255,.78);font-weight:700}
.du-module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:28px}.du-module-card{position:relative;overflow:hidden;min-height:190px;border-radius:30px;padding:24px;background:rgba(255,255,255,.82);border:1px solid rgba(255,255,255,.76);box-shadow:0 22px 55px rgba(15,23,42,.10);backdrop-filter:blur(16px);transition:.24s ease;text-decoration:none;color:#0f1f3d}.du-module-card:hover{transform:translateY(-8px);box-shadow:0 34px 80px rgba(15,23,42,.16)}.du-module-card:before{content:"";position:absolute;left:0;right:0;top:0;height:9px;background:linear-gradient(90deg,#4f46e5,#06b6d4)}.du-module-card:after{content:"";position:absolute;width:150px;height:150px;border-radius:999px;right:-60px;bottom:-65px;background:var(--du-glow,rgba(79,70,229,.14));transition:.24s ease}.du-module-card:hover:after{transform:scale(1.25)}.module-aset{--du-glow:rgba(6,182,212,.20)}.module-aset:before{background:linear-gradient(90deg,#06b6d4,#2563eb)}.module-rumah{--du-glow:rgba(245,158,11,.20)}.module-rumah:before{background:linear-gradient(90deg,#f59e0b,#fb923c)}.module-wo{--du-glow:rgba(16,185,129,.20)}.module-wo:before{background:linear-gradient(90deg,#10b981,#14b8a6)}.du-module-icon{width:58px;height:58px;border-radius:21px;display:grid;place-items:center;margin-bottom:20px;color:#fff;font-size:21px;background:linear-gradient(135deg,#4f46e5,#06b6d4);box-shadow:0 18px 38px rgba(79,70,229,.22)}.module-aset .du-module-icon{background:linear-gradient(135deg,#06b6d4,#2563eb)}.module-rumah .du-module-icon{background:linear-gradient(135deg,#f59e0b,#fb923c)}.module-wo .du-module-icon{background:linear-gradient(135deg,#10b981,#14b8a6)}.du-module-title{font-size:20px;font-weight:900;margin-bottom:8px}.du-module-desc{color:#64748b;font-size:14px;line-height:1.6;max-width:220px}.du-module-link{margin-top:20px;display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:900;color:#475569}
.du-bottom-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:24px}.du-panel{border-radius:30px;padding:28px;background:rgba(255,255,255,.82);border:1px solid rgba(255,255,255,.76);box-shadow:0 22px 55px rgba(15,23,42,.10);backdrop-filter:blur(16px)}.du-section-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:22px}.du-section-head.compact{align-items:center}.du-section-pill{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:8px 13px;background:linear-gradient(90deg,#eef1ff,#eff6ff);color:#4f46e5;font-size:12px;font-weight:900;margin-bottom:13px}.du-panel h3{margin:0 0 8px;font-size:26px;line-height:1.15;font-weight:900}.du-panel p{margin:0;color:#64748b;line-height:1.65}.du-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.du-quick-card{border-radius:24px;padding:20px;background:rgba(255,255,255,.82);border:1px solid #eef2ff;box-shadow:0 16px 36px rgba(15,23,42,.08);transition:.22s ease}.du-quick-card:hover{transform:translateY(-5px)}.du-quick-icon{width:48px;height:48px;border-radius:18px;display:grid;place-items:center;margin-bottom:14px}.quick-indigo .du-quick-icon{background:#eef2ff;color:#4f46e5}.quick-green .du-quick-icon{background:#ecfdf5;color:#059669}.quick-orange .du-quick-icon{background:#fff7ed;color:#ea580c}.du-quick-card strong{display:block;font-weight:900;margin-bottom:5px}.du-quick-card span{color:#64748b;font-size:13px;line-height:1.55}.du-flow-icon{width:54px;height:54px;border-radius:20px;background:linear-gradient(135deg,#06b6d4,#2563eb);display:grid;place-items:center;color:#fff;box-shadow:0 18px 38px rgba(37,99,235,.22)}.du-timeline{display:grid;gap:18px}.du-step{position:relative;padding-left:28px}.du-step:before{content:"";position:absolute;left:0;top:6px;width:13px;height:13px;border-radius:999px;background:linear-gradient(135deg,#4f46e5,#06b6d4);box-shadow:0 0 0 6px rgba(79,70,229,.10)}.du-step:not(:last-child):after{content:"";position:absolute;left:6px;top:25px;width:1px;height:calc(100% + 4px);background:#dbeafe}.du-step b{display:block;font-weight:900;margin-bottom:4px}.du-step span{color:#64748b;font-size:14px;line-height:1.6}
@media(max-width:1200px){.du-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.du-hero{grid-template-columns:1fr}.du-hero-right{max-width:620px}.du-bottom-grid{grid-template-columns:1fr}}@media(max-width:768px){.du-hero{padding:28px;border-radius:28px}.du-module-grid,.du-quick-grid{grid-template-columns:1fr}.du-hero-right{grid-template-columns:1fr}.du-mini-card,.du-mini-card.is-offset,.du-mini-card.is-up{transform:none}.du-section-head{flex-direction:column}}
